/* Regras exclusivas da página Digitaly.html (a index.html da Human não carrega este arquivo).
   O CSS compilado do site (assets/index.css) só tem as classes Tailwind que a home original usa;
   tudo que a Digitaly precisa além disso vive aqui. */

/* Hero: "Transformação de Negócios" tem 25 caracteres (as frases da Human tinham até 22) */
@media (max-width: 639px) { #hero h1 { font-size: clamp(1.5rem, 7.2vw, 6.75rem); } }

/* Módulos Aline: os dois últimos cards fecham a linha com metade da largura cada */
@media (min-width: 1024px) { .oq-span6 { grid-column: span 6 / span 6; } }

/* Ciclo Cognitivo de Transformação: 4 fases ocupam a faixa inteira, até o limite direito do conteúdo */
@media (min-width: 1024px) {
  #prof-track > button[aria-pressed="true"] { width: clamp(330px, 34%, 460px) !important; }
  #prof-track > button[aria-pressed="false"] { width: calc((100% - clamp(330px, 34%, 460px) - 36px) / 3) !important; }
}

/* Dock "Fale com a Aline": quadrado com vídeo à esquerda */
.dock-aline { background: #0b1216; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }

/* ---------- Formulário em vídeo (video flow) ---------- */
.vflow { position: fixed; inset: 0; z-index: 80; background: #06080a; color: #fff; animation: vflow-in 320ms ease; }
.vflow.is-closing { animation: vflow-out 200ms ease forwards; }
@keyframes vflow-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes vflow-out { to { opacity: 0; } }
.vflow__stage { position: absolute; inset: 0; }
.vflow__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vflow__veil { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(6, 8, 10, 0.45) 0%, rgba(6, 8, 10, 0.08) 38%, rgba(6, 8, 10, 0.55) 62%, rgba(6, 8, 10, 0.94) 100%); }
.vflow__hud { position: absolute; top: 18px; left: 20px; right: 72px; display: flex; align-items: center; gap: 12px; }
.vflow__dot { width: 8px; height: 8px; border-radius: 999px; background: #8fd3c6; box-shadow: 0 0 0 4px rgba(143, 211, 198, 0.18); }
.vflow__dot.is-paused { background: #ffffff; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.14); }
.vflow__close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: rgba(0, 0, 0, 0.35); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.14); transition: background 160ms ease; }
.vflow__close:hover { background: rgba(0, 0, 0, 0.6); }
.vflow__panel { position: absolute; left: 0; right: 0; bottom: 0; margin: 0 auto; max-width: 760px; padding: 24px 20px calc(28px + env(safe-area-inset-bottom, 0px)); transition: opacity 320ms ease, transform 320ms cubic-bezier(0.23, 1, 0.32, 1); }
.vflow__panel[hidden] { display: block; opacity: 0; transform: translateY(18px); pointer-events: none; }
.vflow__q { font-size: clamp(1.35rem, 2.6vw, 1.9rem); }
.vflow__card { border-radius: 22px; padding: 22px 22px 20px; background: rgba(10, 14, 18, 0.62); backdrop-filter: blur(22px) saturate(1.3); -webkit-backdrop-filter: blur(22px) saturate(1.3); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 30px 80px rgba(0, 0, 0, 0.55); }
.vflow__form { display: flex; gap: 10px; margin-top: 16px; }
.vflow__input { flex: 1 1 auto; min-width: 0; height: 52px; border-radius: 14px; padding: 0 16px; color: #fff; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.16); outline: none; font-size: 16px; transition: border-color 160ms ease, background 160ms ease; }
.vflow__input::placeholder { color: rgba(255, 255, 255, 0.4); }
.vflow__input:focus { border-color: rgba(185, 223, 231, 0.7); background: rgba(255, 255, 255, 0.1); }
.vflow__btn { height: 52px; padding: 0 20px; border-radius: 14px; white-space: nowrap; }
.vflow__skip { position: absolute; right: 20px; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); height: 40px; padding: 0 16px; border-radius: 999px; color: rgba(255, 255, 255, 0.75); background: rgba(0, 0, 0, 0.35); border: 1px solid rgba(255, 255, 255, 0.14); backdrop-filter: blur(10px); transition: opacity 200ms ease; }
.vflow__skip[hidden] { display: none; }
@media (max-width: 639px) { .vflow__form { flex-direction: column; } .vflow__hud { right: 64px; } }
@media (prefers-reduced-motion: reduce) { .vflow, .vflow.is-closing { animation: none; } .vflow__panel { transition: none; } }

/* Rodapé: escritórios em duas colunas a partir de 640px */
.footer-offices { display: grid; grid-template-columns: 1fr; gap: 18px 32px; max-width: 520px; }
@media (min-width: 640px) { .footer-offices { grid-template-columns: 1fr 1fr; } }

/* Logotipo do header: o main.js reescreve a className de [data-logo] a cada troca de tema (brightness-0 no claro,
   brightness-0 invert no escuro), então os seletores usam o atributo; o filtro é anulado para preservar o azul
   e a classe .invert escolhe a versão com texto branco. */
header [data-logo] { display: inline-flex; align-items: center; height: 26px; filter: none !important; opacity: 1 !important; }
header [data-logo] img { height: 26px; width: auto; display: block; }
header [data-logo] .site-logo__dark { display: none; }
header [data-logo].invert .site-logo__dark { display: block; }
header [data-logo].invert .site-logo__light { display: none; }

/* Módulos Aline: "Aline" em 400 e o nome do módulo em 600 */
#o-que-tem-dentro article h3 { font-family: Satoshi, "Helvetica Neue", Helvetica, sans-serif; font-weight: 400; } /* Satoshi tem 400/700 (o 600 cai no 700); no Windows, "Helvetica" vira Arial, que só tem 400/700 */
#o-que-tem-dentro article h3 strong { font-weight: 600; }

/* Fundadores (#fundadores): mesmos cards da aline-finance.html */
.af-founders { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 1024px) { .af-founders { grid-template-columns: 1fr 1fr; gap: 20px; } }
.af-founder { display: grid; grid-template-columns: 1fr; overflow: hidden; box-shadow: rgba(17, 19, 24, 0.08) 0px 18px 50px -24px; }
@media (min-width: 640px) { .af-founder { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); } }
.af-founder__photo { position: relative; aspect-ratio: 4 / 5; background: #e6edf2; }
@media (min-width: 640px) { .af-founder__photo { aspect-ratio: auto; min-height: 100%; } }
.af-founder__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.af-founder__badge { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; font-size: 14px; letter-spacing: -0.01em; color: #1a63c8; background: #e8f1fb; }
.af-founder blockquote { position: relative; padding-left: 18px; }
.af-founder blockquote::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 2px; border-radius: 2px; background: #1a63c8; opacity: 0.7; }

/* Faixa de clientes (#experience): botão "Falar com a Aline" em glassmorphism, abaixo do centro do vídeo */
.band-cta { top: 55%; z-index: 2; }
@media (min-width: 640px) { .band-cta { top: 60%; } }
@media (min-width: 1024px) { .band-cta { top: 62%; } }
.band-cta__btn { height: 56px; padding: 0 30px; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.3); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 -1px 0 rgba(255, 255, 255, 0.06), 0 18px 50px rgba(0, 0, 0, 0.35); text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25); transition: background 200ms ease, transform 200ms cubic-bezier(0.23, 1, 0.32, 1), box-shadow 200ms ease; }
.band-cta__btn:hover { background: rgba(255, 255, 255, 0.2); transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 22px 60px rgba(0, 0, 0, 0.4); }
.band-cta__btn:active { transform: scale(0.97); }
