/* =====================================================================
   TURN · IDENTIDADE 2027 · LAYOUT (prévia 30/11/2026)
   Camada de layout sobre a v8.css já recolorida (aplicar-identidade.mjs).
   Referência: landing_pages/01 (hero escuro, título em 2 linhas com a 2ª em azul luz,
   CTA cobalto, grade de módulos/cartões de vidro com mini-gráficos e uma foto real
   em moldura de canto-assinatura; faixa de 3 pilares com ícones de linha).
   Vidro = só decorativo (12–24%), nunca sob texto de leitura nem sobre rosto.
   Cartões com texto = superfície sólida (azul profundo no escuro, branco no claro).
   ===================================================================== */
:root{--t27-card:var(--tinta-2);--t27-card-borda:rgba(116,180,255,.18);--t27-vidro:rgba(116,180,255,.16);--t27-vidro-borda:rgba(116,180,255,.45)}
.tinta-2{--t27-card:var(--tinta-3)}
.papel,.papel-2{--t27-card:#fff;--t27-card-borda:rgba(6,19,52,.1)}
.ouro{--t27-card:rgba(255,255,255,.1);--t27-card-borda:rgba(255,255,255,.3)}

/* ---------- HERO da home ---------- */
.sec.t27-topo{background:
  radial-gradient(60% 70% at 84% 34%,rgba(20,84,232,.42),rgba(20,84,232,0) 70%),
  radial-gradient(40% 55% at -6% 104%,rgba(20,84,232,.5),rgba(20,84,232,0) 70%),
  var(--tinta);padding-bottom:var(--e-5)}
.t27-topo .grade{align-items:center}
.t27-topo .tit-1{font-size:clamp(2.35rem,8.6vw,4.15rem);line-height:1;max-width:none}
.t27-topo .tit-1 em{display:block}
.t27-topo .guia{max-width:46ch}
.t27-mosaico{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:12px;width:100%;max-width:560px;margin-inline:auto}
.t27-col{display:flex;flex-direction:column;gap:12px;min-width:0}
.t27-m{position:relative;overflow:hidden;border-radius:var(--canto)}
.t27-vd{background:linear-gradient(160deg,rgba(116,180,255,.24),rgba(116,180,255,.06) 70%);border:1.5px solid var(--t27-vidro-borda)}
.t27-barras{flex:1 1 0;min-height:96px;display:flex;align-items:flex-end;gap:9%;padding:14% 12% 0}
.t27-barras i{flex:1;height:var(--h);border-radius:3px 3px 0 0;background:linear-gradient(to top,rgba(116,180,255,.12),#74B4FF);transform-origin:bottom}
.t27-linha{flex:1.25 1 0;min-height:110px}
.t27-linha svg{position:absolute;inset:0;width:100%;height:100%}
.t27-linha b{position:absolute;right:11%;top:21%;width:10px;height:10px;border-radius:50%;background:#fff;box-shadow:0 0 0 5px rgba(116,180,255,.28)}
.t27-foto{margin:0;aspect-ratio:4/5;overflow:hidden;border-radius:4px 24% 4px 4px/4px 19.2% 4px 4px;border:1.5px solid var(--t27-vidro-borda);background:var(--tinta-3)}
.t27-foto img{width:100%;height:100%;object-fit:cover;display:block}
.t27-mini{display:grid;grid-template-columns:1fr 1.45fr;gap:12px;height:clamp(56px,16vw,96px)}
.t27-quarto{border-radius:100% 4px 4px 4px;background:linear-gradient(160deg,#2A66F0,#1454E8 60%,#0F43BF)}
.t27-vidro{border-radius:4px}
@media (prefers-reduced-motion:no-preference){
  .t27-barras i{animation:t27-sobe .9s var(--curva) both}
  .t27-barras i:nth-child(2){animation-delay:.08s}.t27-barras i:nth-child(3){animation-delay:.16s}.t27-barras i:nth-child(4){animation-delay:.24s}.t27-barras i:nth-child(5){animation-delay:.32s}
  .t27-linha .t27-traco{stroke-dasharray:420;stroke-dashoffset:420;animation:t27-traca 1.4s .2s var(--curva) forwards}
}
@keyframes t27-sobe{from{transform:scaleY(0)}}
@keyframes t27-traca{to{stroke-dashoffset:0}}
@media (min-width:1024px){
  .t27-topo .topo-txt{grid-column:1/8}
  .t27-mosaico{grid-column:8/-1;max-width:none;margin:0}
}
/* faixa de 3 pilares */
.t27-pilares{display:grid;gap:var(--e-3);margin-top:var(--e-6);padding-top:var(--e-4);border-top:1px solid rgba(116,180,255,.22)}
.t27-pilares li{display:grid;grid-template-columns:44px 1fr;gap:16px;align-items:start}
.t27-pilares svg{width:40px;height:40px;stroke:var(--ouro);fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.t27-pilares b{display:block;font-family:var(--fonte-titulo);font-weight:700;font-size:var(--t-4);line-height:1.1;letter-spacing:-.01em}
.t27-pilares span{display:block;margin-top:6px;color:var(--cor-apoio);font-size:.98rem;line-height:1.5;max-width:34ch}
@media (min-width:768px){
  .t27-pilares{grid-template-columns:repeat(3,minmax(0,1fr));gap:0}
  .t27-pilares li{padding-inline:var(--e-3);border-left:1px solid rgba(116,180,255,.22)}
  .t27-pilares li:first-child{padding-left:0;border-left:0}
}

/* ---------- "Como começar": escada + exemplo do Raio-X lado a lado ---------- */
.t27-escada .cabeca{margin-bottom:0}
.t27-escada .topo-ex{margin:0}
@media (min-width:1024px){
  .t27-escada .t27-esc-l{grid-column:1/8}
  .t27-escada .topo-ex{grid-column:8/-1;align-self:start;margin-top:8px}
  .t27-escada .degraus a{margin-left:calc(var(--i,0)*3.5%)}
}

/* ---------- cartões-módulo (vocabulário comum a todas as páginas) ---------- */
.ciclo{border-top:0;gap:12px}
.ciclo li{padding:var(--e-3);background:var(--t27-card);border:1px solid var(--t27-card-borda);border-radius:var(--canto)}
@media (min-width:1024px){
  .ciclo{gap:16px}
  .ciclo::before{display:none}
  .ciclo li,.ciclo li:last-child{padding:var(--e-4) var(--e-3) var(--e-3)}
  .ciclo li::after{left:var(--e-3);top:var(--e-3);border-radius:4px 0 0 0}
  .ciclo li::before{padding:20px 0 12px}
}
.livro{border-top:0;display:grid;gap:12px}
.livro>div{display:flex;flex-direction:column;gap:8px;padding:var(--e-3);background:var(--t27-card);border:1px solid var(--t27-card-borda);border-radius:var(--canto)}
.livro dd.q{margin-top:auto;padding-top:8px;text-align:left}
@media (min-width:640px){.livro{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:1024px){.livro{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}}
@media (min-width:768px){.livro>div{display:flex}.livro dd.q{text-align:left}}
.ia>div,.cabe .sim,.cabe .nao{padding:var(--e-3);background:var(--t27-card);border:1px solid var(--t27-card-borda);border-radius:var(--canto)}
.ia li:last-child,.cabe li:last-child{border-bottom:0}
.gente a{background:var(--t27-card);border-color:var(--t27-card-borda)}
.gente img{border-radius:16px 4px 4px 4px}
.rotina{background:var(--t27-card);border-color:var(--t27-card-borda)}
.faq details{padding-inline:4px}
.trilha li{padding:14px 14px 14px 16px;border-left:0;background:var(--t27-card);border:1px solid var(--t27-card-borda);border-radius:16px 4px 4px 4px}
.trilha li::before{content:"";display:block;width:10px;height:10px;margin-bottom:10px;background:var(--cobalto);border-radius:4px 0 0 0}

/* ---------- topos das páginas internas: mesmo fundo do hero + módulos decorativos ---------- */
.sec.pag,.sec.pessoa{background:
  radial-gradient(55% 75% at 88% 18%,rgba(20,84,232,.36),rgba(20,84,232,0) 70%),
  radial-gradient(35% 60% at -8% 110%,rgba(20,84,232,.38),rgba(20,84,232,0) 70%),
  var(--tinta)}
@media (min-width:1024px){
  .pag:not(.pessoa):not(.art)>.caixa{position:relative}
  .pag:not(.pessoa):not(.art)>.caixa::after{content:"";position:absolute;right:var(--margem);top:8px;width:248px;height:232px;pointer-events:none;
    background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 248 232'%3E%3Cdefs%3E%3ClinearGradient id='v' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%2374B4FF' stop-opacity='.26'/%3E%3Cstop offset='1' stop-color='%2374B4FF' stop-opacity='.06'/%3E%3C/linearGradient%3E%3ClinearGradient id='b' x1='0' y1='1' x2='0' y2='0'%3E%3Cstop offset='0' stop-color='%2374B4FF' stop-opacity='.12'/%3E%3Cstop offset='1' stop-color='%2374B4FF'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M1 25A24 24 0 0 1 25 1H131a3 3 0 0 1 3 3V141a3 3 0 0 1-3 3H4a3 3 0 0 1-3-3Z' fill='url(%23v)' stroke='%2374B4FF' stroke-opacity='.45' stroke-width='1.5'/%3E%3Cg fill='url(%23b)'%3E%3Crect x='20' y='104' width='14' height='40' rx='2'/%3E%3Crect x='44' y='86' width='14' height='58' rx='2'/%3E%3Crect x='68' y='68' width='14' height='76' rx='2'/%3E%3Crect x='92' y='46' width='14' height='98' rx='2'/%3E%3C/g%3E%3Cpath d='M146 232A86 86 0 0 1 232 146h12a3 3 0 0 1 3 3v80a3 3 0 0 1-3 3Z' fill='%231454E8'/%3E%3Crect x='146' y='24' width='101' height='108' rx='3' fill='url(%23v)' stroke='%2374B4FF' stroke-opacity='.45' stroke-width='1.5'/%3E%3Cpath d='M154 112C172 104 180 110 192 100S214 70 238 52' fill='none' stroke='%2374B4FF' stroke-width='2.5' stroke-linecap='round'/%3E%3Ccircle cx='238' cy='52' r='4.5' fill='%23fff'/%3E%3Crect x='1' y='156' width='133' height='76' rx='3' fill='url(%23v)' stroke='%2374B4FF' stroke-opacity='.45' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat center/contain}
}
/* retrato da página da pessoa: moldura com canto-assinatura */
.pessoa-f img{border-radius:4px 24% 4px 4px/4px 19.2% 4px 4px;border:1.5px solid var(--t27-vidro-borda)}

/* ---------- quizzes (Raio-X e "Qual é o seu caso?"): mesmo fundo ---------- */
html:has(main.qz) body{background:
  radial-gradient(60% 50% at 92% 0%,rgba(20,84,232,.34),rgba(20,84,232,0) 70%),
  radial-gradient(45% 45% at -10% 100%,rgba(20,84,232,.34),rgba(20,84,232,0) 70%),
  var(--tinta) fixed}

/* ---------- chamada final (cobalto) com luz ---------- */
.sec.ouro.final{background:radial-gradient(60% 90% at 92% 0%,#2A66F0,rgba(42,102,240,0) 70%),var(--cobalto)}
