/* OpenSieve Guardian — página de destino (aonde a cobertura leva). Sempre escura, calma, com destaque turquesa. */
:root {
  --fundo: #070B10; --painel: #0F161F; --painel-2: #141D28; --linha: #24303F; --linha-suave: #1A2330;
  --texto: #E6EDF3; --texto-2: #9AA8B6; --texto-3: #6B7A8A; --acento: #4FD1C5; --acento-2: #6FE0D5; --perigo: #F56565;
  color-scheme: dark;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { background: var(--fundo); }
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color: var(--texto); line-height: 1.55;
  background: radial-gradient(1200px 600px at 50% -10%, rgba(79, 209, 197, .10), transparent 60%), var(--fundo);
  min-height: 100vh; -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input { font: inherit; color: inherit; }
img { display: block; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--acento); outline-offset: 2px; }

.d { max-width: 860px; margin: 0 auto; padding: 18px 20px calc(48px + env(safe-area-inset-bottom)); }
.d-topo { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 36px; }
.d-marca { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 15px; }
.d-marca img { border-radius: 8px; }
.d-marca span { color: var(--acento); font-weight: 600; }
.d-pill { white-space: nowrap; border: 1px solid var(--linha); background: var(--painel); border-radius: 999px; padding: 8px 16px; font-size: 13px; font-weight: 600; cursor: pointer; }
.d-pill[aria-pressed="true"] { background: var(--acento); color: #062421; border-color: var(--acento); }

.d-hero { text-align: center; padding: 28px 0 40px; }
.d-de, .d-foco { display: inline-block; font-size: 13px; color: var(--texto-2); background: var(--painel); border: 1px solid var(--linha-suave); padding: 6px 14px; border-radius: 999px; margin: 0 4px 18px; }
.d-foco { color: #C4B5FD; border-color: rgba(124, 58, 237, .4); font-variant-numeric: tabular-nums; }
.d-hero h1 { font-size: clamp(30px, 6vw, 52px); font-weight: 800; letter-spacing: -.035em; line-height: 1.08; max-width: 680px; margin: 0 auto 22px; }
.d-motivo { font-size: clamp(19px, 3.2vw, 26px); font-weight: 600; color: var(--acento); max-width: 640px; margin: 0 auto 18px; line-height: 1.35; overflow-wrap: anywhere; }
.d-motivo::before { content: "“"; } .d-motivo::after { content: "”"; }
.d-voltas { font-size: 14px; color: var(--texto-2); margin-bottom: 26px; min-height: 1.5em; }
.d-acoes { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.d-btn { border: 1px solid var(--linha); background: var(--painel); color: var(--texto); padding: 13px 22px; border-radius: 14px; font-size: 14.5px; font-weight: 600; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.d-btn:hover { border-color: var(--texto-3); }
.d-btn.forte { background: var(--acento); border-color: var(--acento); color: #062421; }
.d-btn.forte:hover { background: var(--acento-2); }

.d-bloco { background: var(--painel); border: 1px solid var(--linha-suave); border-radius: 24px; padding: 24px; margin-bottom: 18px; }
.d-cab { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.d-bloco h2 { font-size: 21px; font-weight: 700; letter-spacing: -.015em; }
.d-conta { font-size: 12px; color: var(--texto-3); }
.d-vazio { font-size: 14px; color: var(--texto-2); grid-column: 1 / -1; }
.d-vazio button { background: none; border: 0; color: var(--acento); font-weight: 600; cursor: pointer; text-decoration: underline; }

.d-pessoas { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.d-pessoa { position: relative; background: var(--painel-2); border-radius: 18px; padding: 14px; text-align: center; }
.d-pessoa .foto { width: 96px; height: 96px; border-radius: 50%; margin: 4px auto 10px; object-fit: cover; background: var(--linha); display: grid; place-items: center; font-size: 34px; font-weight: 700; color: var(--acento); }
.d-pessoa b { display: block; font-size: 15px; overflow-wrap: anywhere; }
.d-pessoa small { display: block; font-size: 12.5px; color: var(--texto-2); overflow-wrap: anywhere; }
.d-x { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(245, 101, 101, .16); color: var(--perigo); cursor: pointer; font-size: 16px; line-height: 1; display: none; }
.editando .d-x { display: grid; place-items: center; }

.d-sonhos { list-style: none; display: grid; gap: 10px; }
.d-sonhos li { position: relative; background: var(--painel-2); border-radius: 14px; padding: 14px 44px 14px 44px; font-size: 15px; overflow-wrap: anywhere; }
.d-sonhos li::before { content: "★"; position: absolute; left: 16px; top: 13px; color: var(--acento); }
.d-sonhos .d-x { top: 50%; transform: translateY(-50%); }

.d-frases { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.d-frase { position: relative; background: linear-gradient(160deg, rgba(79, 209, 197, .10), rgba(79, 209, 197, .02)); border: 1px solid rgba(79, 209, 197, .18); border-radius: 16px; padding: 18px 18px 18px; font-size: 15px; font-weight: 500; overflow-wrap: anywhere; }

.d-form { display: grid; gap: 10px; margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--linha); }
.d-form.linha { grid-template-columns: 1fr auto; }
.d-form input[type="text"] { width: 100%; min-width: 0; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--linha); background: var(--fundo); font-size: 15px; }
.d-form input[type="text"]:focus { outline: none; border-color: var(--acento); }
.d-foto-btn { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; border: 1px dashed var(--linha); cursor: pointer; font-size: 14px; color: var(--texto-2); }
.d-foto-btn img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.d-msg { font-size: 13px; color: var(--perigo); }

.d-reflexao p { color: var(--texto-2); font-size: 15px; margin-top: 8px; }
.d-reflexao .d-pergunta { color: var(--texto); font-weight: 600; margin-top: 16px; }
.d-sugestoes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.d-sugestoes span { font-size: 13px; padding: 7px 13px; border-radius: 999px; background: var(--painel-2); color: var(--texto-2); }

.d-rodape { text-align: center; font-size: 12px; color: var(--texto-3); margin-top: 26px; }
.d-rodape a { color: var(--texto-2); }

@media (max-width: 520px) {
  .d { padding: 14px 16px calc(40px + env(safe-area-inset-bottom)); }
  .d-topo { margin-bottom: 22px; }
  .d-bloco { padding: 18px; border-radius: 20px; }
  .d-pessoas { grid-template-columns: 1fr 1fr; }
  .d-pessoa .foto { width: 76px; height: 76px; }
  .d-form.linha { grid-template-columns: 1fr; }
  .d-acoes .d-btn { width: 100%; }
}
@media (prefers-reduced-motion: no-preference) {
  .d-hero h1, .d-motivo { animation: surgir .6s ease both; }
  .d-motivo { animation-delay: .15s; }
  @keyframes surgir { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}
.d-sonhos li.d-vazio { background: none; padding: 0; }
.d-sonhos li.d-vazio::before { content: none; }
