/* Seja embaixadora no visual CE·2 (item 9, Fase 4).
   SPEC_SITE_HOME_EMBAIXADORA.md, seção 6.2. Usa as peças do home.css
   (topo, faixas, vidro, botões) e acrescenta as desta página. */

.e-centro { justify-content: center; }
.e-rotulo { font-size: .85rem; font-weight: 500; color: var(--accent-texto); }

/* ---------- topo ---------- */
.e-topo__titulo { font-size: clamp(2.1rem, 4.4vw, 4rem); line-height: 1.08; }
.h-topo__sub + .h-topo__sub { margin-top: 12px; }

/* ---------- para quem ---------- */
.e-pq { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.e-frase {
  font-family: var(--font-head); font-weight: 300; color: #f6f0e4;
  font-size: clamp(1.8rem, 3.4vw, 2.8rem); line-height: 1.18; text-wrap: balance;
}
.e-pq__titulo { font-size: 1.5rem; font-weight: 400; }
.e-lista { list-style: none; margin: 18px 0 0; padding: 0; }
.e-lista li {
  display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 6px;
  padding: 16px 0; border-top: 1px solid rgba(201,168,76,.22);
  color: rgba(239,233,221,.84); line-height: 1.6;
}
.e-lista li::before { content: ""; width: 14px; height: 1px; margin-top: .8em; background: var(--accent); }
@media (max-width: 760px) { .e-pq { grid-template-columns: 1fr; } }

/* ---------- prova: só os vídeos (Pamela, 25/Nov/26) ---------- */
.e-prova { background: #0d0d0c; color: #efe9dd; --accent-texto: var(--accent); }
.e-prova__titulo {
  font-family: var(--font-head); font-weight: 300; color: #f6f0e4; text-align: center;
  font-size: clamp(1.9rem, 3.8vw, 3rem); line-height: 1.15; max-width: 26ch; margin: 0 auto; text-wrap: balance;
}
/* Centrados enquanto cabem; com mais vídeos, a fila rola de lado (stories.css). */
.e-videos { margin-top: 48px; }
.e-videos .stories-cartoes { margin-top: 0; justify-content: safe center; }
.e-videos .story { width: clamp(180px, 17vw, 240px); }
.e-videos .story:focus-visible { outline-color: var(--accent); }
@media (max-width: 860px) { .e-videos .story { width: min(240px, calc(50% - 8px)); } }

/* ---------- conversas: prints em seção própria (Pamela, 25/Nov/26) ----------
   Computador: mural em colunas, cada print na altura dele. Celular: fila que
   corre de lado. Conversa longa fica cortada com um esmaecido e abre inteira
   ao tocar (site.js). */
.e-conversas { background: #0d0d0c; color: #efe9dd; --accent-texto: var(--accent); }
.e-conversas__titulo { text-align: center; margin: 0 auto; max-width: 22ch; }
.e-prints { margin-top: 44px; columns: 4 200px; column-gap: 16px; }
.e-print {
  display: block; width: 100%; margin: 0 0 16px; padding: 0; font: inherit; color: inherit; cursor: zoom-in;
  position: relative; max-height: 260px; border-radius: 18px; overflow: hidden; break-inside: avoid;
  /* Vidro (Miguel, 02/Nov/26): o print vem só com os balões, em fundo
     transparente, e o cartão faz o fundo, igual em todos. */
  background: linear-gradient(160deg, rgba(255,255,255,.1), rgba(255,255,255,.03));
  -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 22px 40px -24px rgba(0,0,0,.85);
  transition: transform .3s ease, box-shadow .3s ease;
}
.e-print img { display: block; width: 100%; height: auto; }
.e-print::after {
  content: ""; position: absolute; inset: auto 0 0; height: 40px; pointer-events: none;
  background: linear-gradient(180deg, rgba(13,13,12,0), rgba(13,13,12,.6));
}
.e-print:hover, .e-print:focus-visible { transform: translateY(-3px); box-shadow: 0 28px 50px -22px rgba(0,0,0,.95); }
.e-print:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (max-width: 860px) {
  .e-prints {
    columns: auto; display: flex; align-items: flex-start; gap: 12px; padding-bottom: 6px;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  }
  .e-prints::-webkit-scrollbar { display: none; }
  .e-print { flex: 0 0 auto; width: 62%; max-width: 240px; margin: 0; scroll-snap-align: start; }
}

.e-textos { margin-top: 48px; columns: auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.e-textos .h-depo { flex: 0 1 340px; margin: 0; }
@media (max-width: 640px) {
  .e-textos { flex-wrap: nowrap; justify-content: flex-start; gap: 14px; }
  .e-textos .h-depo { flex: 0 0 86%; }
}
.e-textos .h-depo { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.e-textos .h-depo blockquote, .e-textos .h-depo strong { color: #f6f0e4; }
.e-textos .h-depo figcaption { color: rgba(239,233,221,.7); border-top-color: rgba(255,255,255,.12); }
.e-textos .h-depo__aspas, .e-textos .h-depo__inicial { color: var(--accent); border-color: var(--accent); }
.e-prova__frase { margin-top: 56px; }

/* ---------- passos ---------- */
.e-passos__titulo { max-width: 24ch; }
.e-passos {
  list-style: none; margin: 44px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
}
.e-passo { padding: 24px; }
.e-passo__n { display: block; font-size: .8rem; font-weight: 600; letter-spacing: .06em; color: var(--accent); }
.e-passo h3 { margin-top: 10px; font-size: 1.45rem; font-weight: 400; line-height: 1.2; }
.e-passo p { margin-top: 10px; font-size: .95rem; line-height: 1.6; color: rgba(239,233,221,.8); }
@media (max-width: 900px) { .e-passos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .e-passos { grid-template-columns: 1fr; } }

/* ---------- portal da embaixadora (telas reais: notebook e celular) ---------- */
.e-portal {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 64px); align-items: center;
  margin-top: 56px; padding: clamp(24px, 4vw, 44px); border-radius: 24px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
}
.e-portal h3 { margin-top: 8px; font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 300; line-height: 1.12; color: #f6f0e4; text-wrap: balance; }
.e-portal__texto p:not(.e-rotulo) { margin-top: 14px; max-width: 46ch; line-height: 1.7; color: rgba(239,233,221,.8); }
/* As três promessas do texto (25/Nov/26): a da vez fica dourada e o
   sublinhado enche no tempo da tela (5 s, o mesmo do site.js). */
.e-portal__frase {
  padding-bottom: 2px; color: inherit; cursor: pointer; border-radius: 2px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  background: linear-gradient(var(--accent), var(--accent)) no-repeat 0 100% / 0 1px;
  transition: color .4s ease;
}
.e-portal__frase:hover { color: #f6f0e4; }
.e-portal__frase:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.e-portal__frase--on {
  color: #ecd184; background-size: 100% 1px;
  transition: color .4s ease, background-size 5s linear;
}
.e-dupla { position: relative; width: 100%; max-width: 540px; justify-self: center; padding: 0 7% 10% 0; }
.e-note__tela {
  position: relative; aspect-ratio: 1200 / 750; overflow: hidden;
  border: clamp(6px, 1.3vw, 11px) solid #050505; border-bottom-width: clamp(8px, 1.6vw, 14px);
  border-radius: 14px 14px 0 0; background: #050505; box-shadow: 0 0 0 1px rgba(201,168,76,.3);
}
.e-note__base {
  height: 12px; margin: 0 -6%; border-radius: 0 0 14px 14px;
  background: linear-gradient(#2a2925, #141412); box-shadow: 0 24px 44px -20px rgba(0,0,0,.95);
}
.e-note__base::after { content: ""; display: block; width: 16%; height: 4px; margin: 0 auto; border-radius: 0 0 6px 6px; background: #0b0b0a; }
.e-cel {
  position: absolute; right: 0; bottom: 0; z-index: 2; width: 25%;
  border: clamp(4px, .8vw, 6px) solid #050505; border-radius: 18px; background: #050505;
  box-shadow: 0 0 0 1px rgba(201,168,76,.35), 0 28px 50px -24px rgba(0,0,0,.95);
}
.e-cel__tela { position: relative; aspect-ratio: 300 / 650; border-radius: 13px; overflow: hidden; background: #000; }
.e-troca { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.e-troca { opacity: 0; transition: opacity .7s ease; }
.e-troca--on { opacity: 1; }
@media (max-width: 760px) {
  .e-portal { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .e-portal__texto p:not(.e-rotulo) { margin-left: auto; margin-right: auto; }
}
@media (prefers-reduced-motion: reduce) { .e-troca, .e-portal__frase { transition: none; } }

/* ---------- Pamela (pausa clara) ---------- */
.e-pamela__in { max-width: 760px; }
.e-pamela__in .h-titulo { margin-top: 8px; max-width: none; }
.e-pamela__cargo { margin-top: 6px; font-weight: 500; color: var(--accent-texto); }
.e-pamela__texto { margin-top: 24px; }
.e-pamela__texto p { margin-top: 1em; line-height: 1.75; color: var(--text); }
.e-pamela__texto p:first-child { margin-top: 0; }
.e-pamela--recolhida .e-pamela__mais { display: none; }
.e-pamela__ler { margin-top: 18px; border: 0; background-color: transparent; font: inherit; cursor: pointer; min-height: 44px; }
.e-pamela__ler::after { content: ""; }
.e-pamela__insta { margin-top: 20px; }
.e-pamela__insta a { color: var(--accent-texto); text-decoration: underline; text-underline-offset: 3px; }
.e-pamela__ler { padding: 0; font-weight: 500; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 5px; }

/* ---------- formulário em etapas ---------- */
.e-form-faixa { padding-top: 24px; scroll-margin-top: 64px; }
.e-form-in { max-width: 760px; }
.e-form-topo .h-titulo { margin-top: 8px; max-width: 20ch; }
.e-requisitos { margin-top: 12px; font-size: .9rem; line-height: 1.6; color: var(--text-muted); }
.e-requisitos strong { color: var(--text); }
.e-erros {
  margin-top: 28px; padding: 18px 20px; border-radius: 12px;
  background: #fbefec; border-left: 3px solid #b3261e; color: #5c1410;
}
.e-erros p { font-weight: 600; }
.e-erros ul { margin: 8px 0 0; padding-left: 18px; }
.e-erros li { margin-top: 4px; }
.e-form { margin-top: 32px; }
.e-progresso {
  list-style: none; margin: 0 0 28px; padding: 0; counter-reset: etapa;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px;
}
.e-progresso li {
  counter-increment: etapa; padding-top: 10px; border-top: 3px solid #d9d2c5;
  font-size: .8rem; color: var(--text-muted); transition: border-color .3s ease, color .3s ease;
}
.e-progresso li::before { content: counter(etapa) ". "; }
.e-progresso li.feita, .e-progresso li[aria-current] { border-top-color: var(--accent); color: var(--text); }
.e-progresso li[aria-current] { font-weight: 600; }
.e-etapa { border: 0; margin: 0; padding: 0; min-width: 0; }
.e-etapa + .e-etapa { margin-top: 36px; }
.e-etapa legend { padding: 0; font-family: var(--font-head); font-size: 1.7rem; font-weight: 400; color: var(--text); }
.e-form--etapas .e-etapa + .e-etapa { margin-top: 0; }
.e-form--etapas .e-etapa:not(.e-etapa--ativa) { display: none; }
.e-campos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; margin-top: 16px; }
.e-campos--um { grid-template-columns: 1fr; }
.e-campo--largo { grid-column: 1 / -1; }
.e-campo { display: grid; gap: 6px; align-content: start; }
.e-campo label { font-size: .88rem; color: var(--text); }
.e-campo input, .e-campo select, .e-campo textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 10px;
  border: 1px solid #cfc7b9; background: #fffefb; color: var(--text); font: inherit; font-size: 1rem;
}
.e-campo textarea { min-height: 120px; resize: vertical; }
.e-campo input:focus-visible, .e-campo select:focus-visible, .e-campo textarea:focus-visible {
  outline: 2px solid var(--accent-texto); outline-offset: 1px; border-color: var(--accent-texto);
}
.e-campo [aria-invalid="true"], .e-aceite [aria-invalid="true"] { border-color: #b3261e; }
.e-campo__erro { font-size: .82rem; color: #b3261e; }
@media (max-width: 640px) { .e-campos { grid-template-columns: 1fr; } }
.e-aceites { display: grid; gap: 12px; margin-top: 16px; }
.e-aceite {
  display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; cursor: pointer;
  padding: 16px; border: 1px solid #ddd5c8; border-radius: 12px; background: #fffefb;
  font-size: .9rem; line-height: 1.55; color: var(--text-muted);
}
.e-aceite input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent-texto); }
.e-aceite strong { display: block; color: var(--text); margin-bottom: 4px; }
.e-aceite:has(input[aria-invalid="true"]) { border-color: #b3261e; }
.e-nav { display: flex; gap: 12px; justify-content: flex-end; margin-top: 28px; flex-wrap: wrap; }
.e-nav[hidden] { display: none; }
.e-nav--fim .e-enviar { flex: 1 1 240px; }
@media (max-width: 640px) { .e-nav .h-bt { flex: 1 1 0; } }
.e-bt-voltar { color: var(--text); border-color: #cfc7b9; background: transparent; }
.e-bt-voltar:hover { background: #ece6da; }
.e-form__nota { margin-top: 12px; font-size: .8rem; color: var(--text-muted); text-align: center; }
.e-form__nota a { text-decoration: underline; }

/* ---------- perguntas ---------- */
.e-perguntas { padding-top: 0; }
.e-perguntas__in { max-width: 760px; }
.e-perguntas__lista { margin-top: 28px; border-top: 1px solid #ddd5c8; }
.e-pergunta { border-bottom: 1px solid #ddd5c8; }
.e-pergunta summary {
  list-style: none; cursor: pointer; min-height: 56px; padding: 16px 40px 16px 0; position: relative;
  font-size: 1.02rem; font-weight: 500; color: var(--text);
}
.e-pergunta summary::-webkit-details-marker { display: none; }
.e-pergunta summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; font-weight: 300; color: var(--accent-texto); transition: transform .25s ease;
}
.e-pergunta[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.e-pergunta summary:focus-visible { outline: 2px solid var(--accent-texto); outline-offset: 2px; }
.e-pergunta p { padding: 0 0 18px; line-height: 1.7; color: var(--text-muted); }

@media (prefers-reduced-motion: reduce) {
  .e-print, .e-progresso li, .e-pergunta summary::after { transition: none; }
  .e-print:hover, .e-print:focus-visible { transform: none; }
}
