/* Tema 20: clone do Tema 19 — paleta lilás (#7B1E7A, #A162A1, #C195C1, #E1D1E1, #F9F4F9) */
:root{
  --t20-bg:#ebe3f0;
  --t20-paper:#f9f4f9;
  --t20-ink:#2d1f34;
  --t20-muted:rgba(45,31,52,.72);
  --t20-sage:#a162a1;
  --t20-terra:#7b1e7a;
  --t20-cream:#e1d1e1;
  --t20-line:rgba(123,30,122,.16);
  --t20-radius:20px;
  --t20-shadow:0 18px 55px rgba(45,31,52,.10);
  --t20-serif:"Cormorant Garamond", ui-serif, Georgia, serif;
  --t20-sans:"Source Sans 3", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*{box-sizing:border-box}
html,body{height:100%}
body.theme--20{
  margin:0;
  font-family:var(--t20-sans);
  color:var(--t20-ink);
  background-color:#e8dcf0;
  background-image:linear-gradient(
    180deg,
    #faf7fc 0%,
    #f3eaf8 18%,
    #ebe3f0 38%,
    #dfd0ea 58%,
    #d2c0e0 78%,
    #c4aed6 100%
  );
  background-repeat:no-repeat;
  background-size:100% 100%;
  min-height:100%;
}

.t20-container{width:min(1120px, calc(100% - 40px)); margin-inline:auto}
.t20-main{padding:0 0 56px}

/* header/nav */
.t20-header{
  position:sticky; top:0; z-index:30;
  backdrop-filter:saturate(140%) blur(10px);
  background:rgba(237,230,242,.78);
  border-bottom:1px solid rgba(45,31,52,.08);
}
.t20-nav{display:flex; align-items:center; justify-content:space-between; gap:14px; padding:14px 0}
.t20-brand{display:flex; align-items:center; gap:10px; text-decoration:none; color:inherit}
.t20-brand__mark{
  width:14px; height:14px; border-radius:4px;
  background:linear-gradient(180deg, rgba(123,30,122,.95), rgba(161,98,161,.85));
  box-shadow:0 10px 25px rgba(45,31,52,.10);
}
.t20-brand__name{font-weight:900; letter-spacing:.10em; text-transform:uppercase; font-size:12px; color:rgba(45,31,52,.75)}
.t20-links{display:none; gap:12px; align-items:center}
.t20-link{font-size:14px; color:rgba(45,31,52,.70); padding:8px 10px; border-radius:12px; transition:background .15s ease}
.t20-link:hover{background:rgba(161,98,161,.12)}
.t20-cta{
  display:inline-flex; align-items:center; justify-content:center;
  height:40px; padding:0 14px; border-radius:14px; text-decoration:none;
  background:var(--t20-ink); color:var(--t20-paper);
  font-weight:900; font-size:14px;
}
.t20-cta:hover{filter:brightness(.97)}
@media (min-width: 980px){ .t20-links{display:flex} }

/* hero */
.t20-hero{position:relative}
.t20-hero__cover{
  position:relative;
  height:min(100vh, 845px);
  overflow:hidden;
  border-bottom:1px solid rgba(45,31,52,.12);
  background:#0a0a0a;
}
.t20-hero__img{width:100%; height:100%; object-fit:cover; object-position: top center; display:block; transform:scale(1)}
.t20-hero__shade{
  position:absolute; inset:0;
  /* Só leve vinheta neutra (sem lilás) para dar profundidade à foto */
  background:linear-gradient(180deg, rgba(0,0,0,.06), transparent 42%, rgba(0,0,0,.22));
  pointer-events:none;
}
.t20-hero__inner{position:relative}
.t20-card{
  width:min(720px, 100%);
  margin-top:-92px;
  border-radius:calc(var(--t20-radius) + 10px);
  background:linear-gradient(180deg, rgba(249,244,249,.92), rgba(249,244,249,.70));
  border:1px solid rgba(45,31,52,.12);
  box-shadow:var(--t20-shadow);
  padding:18px;
}
.t20-hero .t20-card{
  background:#fff;
  border:1px solid rgba(123,30,122,.48);
  box-shadow:
    0 22px 64px rgba(123,30,122,.28),
    0 0 0 1px rgba(193,149,193,.35) inset;
}
.t20-card__kicker{
  display:inline-flex; align-items:center; height:30px; padding:0 12px;
  border-radius:999px;
  border:1px solid rgba(123,30,122,.40);
  background:rgba(123,30,122,.10);
  color:rgba(45,31,52,.78);
  font-weight:950; font-size:12px; letter-spacing:.14em; text-transform:uppercase;
}
.t20-hero .t20-card__kicker{
  border-color:rgba(123,30,122,.55);
  background:rgba(123,30,122,.24);
  color:#4a0f4d;
}
.t20-card__title{
  margin:12px 0 0;
  font-family:var(--t20-serif);
  font-weight:700;
  font-size:44px;
  line-height:1.05;
  letter-spacing:-.01em;
}
.t20-hero .t20-card__title{
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  gap:.08em .14em;
}
.t20-card__namePart{color:var(--t20-ink);}
.t20-hero .t20-card__amp{
  font-family:var(--t20-serif);
  font-weight:800;
  color:#6a0f6e;
  font-size:1.12em;
  line-height:0.9;
  padding:0 .02em .04em;
  text-shadow:
    0 0 22px rgba(193,149,193,.95),
    0 0 42px rgba(123,30,122,.55),
    0 2px 0 rgba(91,20,94,.25);
  filter:drop-shadow(0 3px 12px rgba(123,30,122,.4));
}
.t20-card__meta{margin-top:10px; color:rgba(45,31,52,.72); font-weight:800}
.t20-card__meta2{margin-top:6px; color:rgba(45,31,52,.88); font-weight:900}
.t20-card__actions{display:flex; gap:10px; flex-wrap:wrap; margin-top:16px}
.t20-btn{
  display:inline-flex; align-items:center; justify-content:center;
  height:44px; padding:0 16px; border-radius:16px;
  text-decoration:none; font-weight:950; font-size:14px;
  border:1px solid transparent;
  transition:transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.t20-btn:hover{transform:translateY(-1px); box-shadow:0 16px 30px rgba(45,31,52,.12)}
.t20-btn--primary{background:var(--t20-terra); color:var(--t20-paper)}
.t20-btn--primary:hover{background:#651864}
.t20-btn--ghost{background:rgba(249,244,249,.70); border-color:rgba(45,31,52,.14); color:var(--t20-ink)}
.t20-btn--ghost:hover{background:rgba(249,244,249,.92)}

@media (min-width: 980px){
  .t20-card{padding:22px; margin-top:-110px}
  .t20-card__title{font-size:62px}
}

/* footer */
.t20-footer{
  padding:28px 0 34px;
  border-top:1px solid rgba(45,31,52,.10);
  background:rgba(237,230,242,.62);
}
.t20-footer__inner{display:flex; flex-direction:column; gap:16px}
.t20-footer__title{font-family:var(--t20-serif); font-weight:700; font-size:20px}
.t20-footer__subtitle{margin-top:6px; color:rgba(45,31,52,.72)}
.t20-footer__themes{display:grid; gap:10px; min-width:min(520px, 100%)}
.t20-footer__themesTitle{font-size:12px; letter-spacing:.18em; text-transform:uppercase; font-weight:950; color:rgba(123,30,122,.95)}
.t20-footer__themesRow{display:flex; flex-wrap:wrap; gap:8px}
.t20-theme-pill{
  display:inline-flex; align-items:center; justify-content:center;
  height:34px; min-width:34px; padding:0 10px;
  border-radius:999px;
  border:1px solid rgba(45,31,52,.12);
  background:rgba(249,244,249,.70);
  font-weight:950; font-size:12px;
  color:rgba(45,31,52,.78);
  text-decoration:none;
}
.t20-theme-pill:hover{border-color:rgba(123,30,122,.40); background:rgba(123,30,122,.10)}
.t20-theme-pill.is-active{border-color:rgba(123,30,122,.55); background:rgba(123,30,122,.14); color:rgba(45,31,52,.92)}
.t20-footer__right{display:flex; align-items:center; justify-content:space-between; gap:10px}
.t20-footer__link{font-weight:950; color:rgba(161,98,161,.95); text-decoration:none}
.t20-footer__fineprint{font-size:12px; color:rgba(45,31,52,.55); font-weight:700}
@media (min-width: 900px){
  .t20-footer__inner{flex-direction:row; align-items:flex-end; justify-content:space-between}
  .t20-footer__right{justify-content:flex-end}
}

.theme--20 .t-section{scroll-margin-top:84px}
.theme--20 .t-section{padding:18px 0}
@media (min-width: 900px){.theme--20 .t-section{padding:26px 0}}
.theme--20 .t-section__head{display:grid;gap:8px;margin-bottom:12px}
.theme--20 .t-eyebrow{
  font-size:16px;
  letter-spacing:.18em;
  text-transform:uppercase;
  font-weight:950;
  color:rgba(123,30,122,.95);
}
.theme--20 .t-h2{
  margin:0;
  font-family:var(--t20-serif);
  font-weight:700;
  font-size:30px;
  letter-spacing:.01em;
}
.theme--20 .t-subtitle{margin:0;color:rgba(45,31,52,.72);max-width:72ch;font-weight:600}
.theme--20 .t-card{
  border-radius:22px;
  background:linear-gradient(180deg, rgba(249,244,249,.92), rgba(249,244,249,.70));
  border:1px solid rgba(45,31,52,.12);
  box-shadow:0 16px 40px rgba(45,31,52,.08);
  padding:16px;
}
@media (min-width: 900px){.theme--20 .t-card{padding:18px}}
.theme--20 .t-help{color:rgba(45,31,52,.66);font-weight:600;line-height:1.5}
.theme--20 .t-label{color:rgba(45,31,52,.70)}
.theme--20 .t-input{border-color:rgba(45,31,52,.16);background:rgba(249,244,249,.72)}
.theme--20 .t-btn--primary{background:var(--t20-terra);color:var(--t20-paper)}
.theme--20 .t-btn--primary:hover{filter:brightness(.97)}
.theme--20 .t-btn--ghost{background:rgba(249,244,249,.70);border-color:rgba(45,31,52,.14);color:var(--t20-ink)}
.theme--20 .t-btn--ghost:hover{background:rgba(249,244,249,.92)}

/* timeline (chapters) */
.t20-timeline{
  position:relative;
  display:grid;
  gap:0; /* o espaçamento fica no item (para a linha não “quebrar”) */
}
.t20-tl__item{
  position:relative;
  display:grid;
  grid-template-columns:28px 1fr;
  gap:12px;
  align-items:start;
  padding-bottom:0;
}
.t20-timeline .t20-tl__item:last-child{padding-bottom:0}
.t20-tl__rail{
  position:relative;
  width:28px;
  display:flex;
  justify-content:center;
  align-self:stretch; /* garante altura do item para a linha conectar */
  --t20-dot-size:14px;
  --t20-dot-top:16px;
  --t20-dot-center: calc(var(--t20-dot-top) + (var(--t20-dot-size) / 2));
}
.t20-tl__dot{
  position:relative;
  width:var(--t20-dot-size);
  height:var(--t20-dot-size);
  border-radius:999px;
  margin-top:var(--t20-dot-top);
  align-self:start; /* mantém o ponto no topo do trilho */
  background:linear-gradient(180deg, rgba(123,30,122,.92), rgba(161,98,161,.82));
  box-shadow:0 0 0 6px rgba(161,98,161,.12);
  border:1px solid rgba(45,31,52,.10);
}
/* Linha por item (evita passar do último ponto) */
.t20-tl__rail::before,
.t20-tl__rail::after{
  content:"";
  position:absolute;
  left:50%;
  width:2px;
  transform:translateX(-1px);
  background:rgba(161,98,161,.35);
}
/* acima do ponto (até o centro do dot) */
.t20-tl__rail::before{
  top:0;
  height:var(--t20-dot-center);
}
/* abaixo do ponto (do centro do dot até o fim do item) */
.t20-tl__rail::after{
  top:var(--t20-dot-center);
  bottom:0;
}
/* não desenhar acima no primeiro */
.t20-timeline .t20-tl__item:first-child .t20-tl__rail::before{display:none}
/* não desenhar abaixo no último */
.t20-timeline .t20-tl__item:last-child .t20-tl__rail::after{display:none}

/* Futuro (tracejado) — último capítulo antes do casamento */
.t20-tl__item.is-future .t20-tl__dot{
  background:rgba(249,244,249,.85);
  border:2px dashed rgba(161,98,161,.55);
  box-shadow:0 0 0 6px rgba(161,98,161,.10);
}
/* trecho acima do último ponto futuro (tracejado) */
.t20-tl__item.is-future .t20-tl__rail::before{
  background:transparent;
  border-left:2px dashed rgba(161,98,161,.55);
  width:0;
  transform:none;
  left:50%;
}
/* trecho entre o penúltimo e o último (futuro) também tracejado */
.t20-tl__item.is-before-future .t20-tl__rail::after{
  background:transparent;
  border-left:2px dashed rgba(161,98,161,.55);
  width:0;
  transform:none;
  left:50%;
}

/* Hoje (destaque) */
.t20-tl__item.is-today .t20-tl__dot{
  box-shadow:0 0 0 6px rgba(123,30,122,.14), 0 0 0 14px rgba(123,30,122,.06);
}
.t20-tl__card{position:relative;margin-bottom:14px}
.t20-timeline .t20-tl__item:last-child .t20-tl__card{margin-bottom:0}
.t20-tl__card::before{
  content:"";
  position:absolute;
  left:-8px;
  top:22px;
  width:14px;
  height:14px;
  transform:rotate(45deg);
  background:linear-gradient(180deg, rgba(249,244,249,.92), rgba(249,244,249,.70));
  border-left:1px solid rgba(45,31,52,.12);
  border-bottom:1px solid rgba(45,31,52,.12);
}
@media (min-width: 980px){
  .t20-timeline{gap:0}
  .t20-tl__item{grid-template-columns:34px 1fr; gap:14px}
  .t20-tl__item{padding-bottom:0}
  .t20-timeline .t20-tl__item:last-child{padding-bottom:0}
  .t20-tl__rail{--t20-dot-top:18px}
}
.t20-chapter__kicker{
  display:inline-flex; align-items:center; height:28px; padding:0 10px;
  border-radius:999px;
  border:1px solid rgba(161,98,161,.30);
  background:rgba(161,98,161,.10);
  color:rgba(45,31,52,.78);
  font-weight:950; font-size:12px; letter-spacing:.12em; text-transform:uppercase;
}
.t20-chapter__text{
  margin-top:10px;
  font-family:var(--t20-serif);
  font-weight:700;
  font-size:22px;
  line-height:1.18;
  color:rgba(45,31,52,.92);
}
.t20-chapter__p{
  margin-top:10px;
  color:rgba(45,31,52,.74);
  font-weight:600;
  line-height:1.55;
}
.t20-chapter__p strong{color:rgba(45,31,52,.92);font-weight:900}

