/* Tela inicial: novo diagrama, continuar e modelos. Visual "amanhecer solar":
   céu claro no topo, luz âmbar embaixo e um brilho discreto do sol. */
.start-screen{position:fixed;inset:0;z-index:300;display:grid;place-items:center;align-items:safe center;padding:20px;overflow-y:auto;
  background:
    radial-gradient(520px 420px at 88% -6%,rgba(253,186,116,.55),rgba(253,186,116,0) 70%),
    radial-gradient(700px 380px at 8% 108%,rgba(254,215,170,.55),rgba(254,215,170,0) 70%),
    linear-gradient(180deg,#dbeafe 0%,#eff6ff 30%,#fff7ed 72%,#ffedd5 100%)}
.start-screen.hidden{display:none}
.start-card{width:min(900px,100%);max-width:100%;min-width:0;background:rgba(255,255,255,.84);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);border:1px solid rgba(251,191,36,.35);border-radius:22px;box-shadow:0 18px 50px rgba(120,53,15,.12),0 2px 6px rgba(15,23,42,.05);padding:32px 38px;text-align:center}
.start-lang{display:flex;justify-content:flex-end;margin:-8px -8px 0}
.start-lang .lang-select{max-width:170px}

/* Cabeçalho */
.start-logo{display:grid;place-items:center;width:72px;height:72px;margin:0 auto;border-radius:50%;background:radial-gradient(circle at 50% 40%,#fffbeb 0%,#fef3c7 60%,#fde68a 100%);box-shadow:0 0 0 8px rgba(251,191,36,.14),0 10px 26px rgba(245,158,11,.32)}
.start-card h1{font-size:30px;line-height:1.2;margin:14px 0 4px;color:#1e293b}
.start-h1-sub{display:block;margin-top:4px;font-size:16px;font-weight:600;color:#b45309}
.start-subtitle{font-size:14.5px;color:var(--muted);margin:6px 0 0}
.start-chips{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;list-style:none;margin:16px 0 22px;padding:0}
.start-chips li{display:inline-flex;align-items:center;gap:6px;padding:5px 12px;border-radius:99px;background:#fff;border:1px solid #fde68a;color:#92400e;font-size:12.5px;font-weight:600}
.start-chips svg{width:15px;height:15px;fill:none;stroke:#d97706;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* Hero: texto + diagrama de exemplo animado (hero/<rota>.svg). Empilhado
   por padrão (texto, demo, ações); lado a lado a partir de 1000px. */
.start-hero{display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"text" "demo" "actions";gap:18px}
.start-hero-text{grid-area:text;min-width:0}
.start-hero-demo{grid-area:demo;min-width:0;margin:0;background:#fff;border:1px solid #e7e5e4;border-radius:14px;overflow:hidden;box-shadow:0 18px 40px rgba(120,53,15,.14),0 2px 6px rgba(15,23,42,.06)}
.start-hero .start-actions{grid-area:actions}
.start-hero-bar{display:flex;align-items:center;gap:6px;height:28px;padding:0 12px;background:#f8fafc;border-bottom:1px solid #eef2f7}
.start-hero-bar i{width:9px;height:9px;border-radius:50%;background:#fca5a5}
.start-hero-bar i:nth-child(2){background:#fcd34d}.start-hero-bar i:nth-child(3){background:#86efac}
.start-hero-bar span{margin-left:8px;font-size:11px;font-weight:700;letter-spacing:.02em;color:#94a3b8}
.start-hero-demo img{display:block;width:100%;height:auto;background:#fff}
.start-hero-demo figcaption{padding:6px 12px 8px;border-top:1px solid #f1f5f9;font-size:11.5px;color:var(--faint);text-align:center}
@media (min-width:1000px){
  .start-card{width:min(1180px,100%)}
  .start-hero{grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);grid-template-areas:"text demo" "actions demo";grid-template-rows:auto 1fr;column-gap:34px;row-gap:20px;align-items:start;text-align:center}
  .start-hero .start-chips{justify-content:center;margin-bottom:0}
  .start-hero .start-actions{justify-content:center;align-content:start}
  .start-hero-demo{align-self:center}
}

/* Ações */
.start-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}
.start-primary{display:inline-block;font-size:15px;font-weight:800;color:#431407;background:linear-gradient(135deg,#fcd34d 0%,#fb923c 100%);border:0;border-radius:12px;padding:13px 30px;box-shadow:0 6px 18px rgba(234,88,12,.28);transition:transform .12s,box-shadow .12s,filter .12s}
.start-primary:hover{filter:brightness(1.04);transform:translateY(-1px);box-shadow:0 9px 22px rgba(234,88,12,.34)}
.start-primary:focus-visible,.start-continue:focus-visible{outline:3px solid #2563eb;outline-offset:2px}
.start-continue{display:inline-flex;align-items:center;gap:7px;font-size:14px;font-weight:600;color:#92400e;background:#fff;border:1px solid #fcd34d;border-radius:12px;padding:12px 20px;text-decoration:none;transition:background .12s,border-color .12s}
.start-continue:hover{background:#fffbeb;border-color:#f59e0b}
.start-continue.hidden{display:none}
.start-continue svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}

/* Modelos */
.start-card h2{font-size:11.5px;text-transform:uppercase;letter-spacing:.09em;color:#b45309;margin:28px 0 12px}
.start-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;text-align:left}
.start-tpl{--tpl-color:#f59e0b;display:flex;flex-direction:column;gap:5px;background:#fff;border:1px solid #e2e8f0;border-top:3px solid var(--tpl-color);border-radius:12px;padding:12px 14px 13px;cursor:pointer;text-align:left;font:inherit;color:inherit;transition:border-color .12s,transform .12s,box-shadow .12s}
.start-tpl:hover,.start-tpl:focus-visible{border-color:#fcd34d;border-top-color:var(--tpl-color);box-shadow:0 8px 20px rgba(120,53,15,.12);transform:translateY(-2px)}
.start-tpl-flow{display:flex;align-items:center;gap:3px;margin-bottom:4px}
.start-tpl-flow i{display:grid;place-items:center;width:32px;height:32px;border-radius:8px;background:#f8fafc;border:1px solid #eef2f7}
.start-tpl-flow i svg{width:25px;height:25px}
.start-tpl-flow b{color:#cbd5e1;font-size:12px;font-weight:700}
.start-tpl strong{font-size:14px;color:#1e293b}
.start-tpl span{font-size:12.5px;color:var(--muted);line-height:1.45;flex:1}
.start-tpl em{font-style:normal;font-size:11.5px;font-weight:700;color:var(--accent-ink)}
.start-note{font-size:12px;color:var(--faint);margin-top:16px}
.start-note a{margin-left:8px;font-weight:700;color:#b45309;text-underline-offset:3px}

/* Texto público (e, no pt, seções de SEO com H2) */
.start-about{margin-top:26px;padding-top:20px;border-top:1px solid #fde68a;text-align:left}
.start-card .start-about h2{margin:0 0 12px;font-size:18px;line-height:1.35;letter-spacing:normal;text-transform:none;color:#1e293b}
.start-about p{margin:0;font-size:14px;line-height:1.65;color:var(--muted);overflow-wrap:anywhere}
.start-about p+p{margin-top:10px}
.start-seo{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.start-seo>div{background:rgba(255,255,255,.75);border:1px solid #f1f5f9;border-radius:12px;padding:16px}
.start-card .start-seo h2{font-size:15.5px;margin-bottom:8px}
.start-seo p{font-size:13.5px}
.start-seo a{color:#b45309;font-weight:600;text-underline-offset:3px}
.start-languages{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 14px;margin-top:22px;font-size:12px;line-height:1.5}
.start-languages a{color:var(--muted);text-underline-offset:3px}
.start-languages a[aria-current="page"]{font-weight:700;color:var(--ink)}
.start-languages a:hover,.start-languages a:focus-visible{color:var(--accent-ink)}

.start-privacy{display:flex;justify-content:center;gap:8px;margin:8px 0 0;font-size:12px}
.start-privacy a,.privacy-link{color:var(--muted);text-decoration:underline;text-underline-offset:3px}
.privacy-link:focus-visible,.start-privacy a:focus-visible{outline:2px solid var(--select);outline-offset:3px}
.start-privacy [data-lang-only]{display:contents}

/* Tutoriais na tela inicial (só pt-BR; gerado por build-locales.cjs) */
.start-blog{margin-top:22px;padding-top:4px;border-top:1px solid #fde68a}
.start-blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;text-align:left}
.start-blog-card{display:flex;flex-direction:column;gap:4px;background:#fff;border:1px solid #e2e8f0;border-left:4px solid var(--blue);border-radius:12px;padding:14px 15px;color:var(--ink);text-decoration:none;transition:border-color .12s,transform .12s,box-shadow .12s}
.start-blog-card:hover,.start-blog-card:focus-visible{border-color:var(--blue);box-shadow:0 8px 20px rgba(14,165,233,.14);transform:translateY(-2px)}
.start-blog-card strong{font-size:14px;line-height:1.35}
.start-blog-card span{font-size:12.5px;color:var(--muted);line-height:1.45;flex:1}
.start-blog-card em{font-style:normal;font-size:11.5px;font-weight:700;color:#075985}
.start-blog-all{display:inline-block;margin-top:14px;font-size:14px;font-weight:700;color:#075985;background:var(--blue-soft);border:1px solid #bae6fd;border-radius:10px;padding:9px 18px;text-decoration:none}
.start-blog-all:hover,.start-blog-all:focus-visible{border-color:var(--blue)}

@media (max-width:760px){
  .start-screen{padding:12px}
  .start-card{padding:22px 16px}
  .start-card h1{font-size:26px}
  .start-grid,.start-blog-grid,.start-seo{grid-template-columns:1fr}
  .start-actions>*{flex:1 1 100%;justify-content:center}
  .start-chips{gap:6px}
  .start-chips li{font-size:12px;padding:4px 10px}
}
@media (prefers-reduced-motion:reduce){
  .start-primary,.start-tpl,.start-blog-card{transition:none}
  .start-primary:hover,.start-tpl:hover,.start-blog-card:hover{transform:none}
}

/* Aviso para telas pequenas: o editor é pensado para tablet e computador */
.start-mobile-note{display:none;align-items:flex-start;gap:10px;margin:0 0 16px;padding:10px 12px;text-align:left;font-size:13px;line-height:1.45;color:#92400e;background:#fffbeb;border:1px solid #fcd34d;border-radius:10px}
.start-mobile-note svg{flex:none;width:20px;height:20px;margin-top:1px;fill:none;stroke:#d97706;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
@media (max-width:760px){.start-mobile-note{display:flex}}
@media (max-width:420px){
  .start-card h1{font-size:23px}
  .start-h1-sub{font-size:14px}
  .start-logo{width:60px;height:60px}
  .start-lang .lang-select{max-width:150px}
}
