/* AI Solutions · Base partilhada: fontes, tokens, reset, botões, ligações, navegação, fio de luz, cabeça de secção, botão de play, pontos, "saber mais", rodapé, widget da BIA, modal de vídeo, modal e formulário da BIA, movimento reduzido. Todas as páginas carregam este ficheiro. */
/* =========================================================
   AI Solutions · Opção 4 "O Sinal, v2" (ronda 2)
   A homepage atual com a linguagem da opção 1. Tokens em notas-design.md
   ========================================================= */
@font-face {
  font-family: "Archivo"; font-style: normal; font-weight: 600 800; font-stretch: 112.5%; font-display: swap;
  src: url(/assets/fonts/archivo-semiexp-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/assets/fonts/instrument-sans-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* D41: fontes de recurso com métricas ajustadas (antes só nas landings). Enquanto a Instrument Sans e a Archivo não
   chegam, o texto usa Arial com o mesmo tamanho aparente e as linhas não mudam quando a fonte troca (sem CLS),
   sem precisar de um segundo preload. */
@font-face { font-family: "Archivo Recurso"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Arial"); font-weight: 600 800; size-adjust: 115%; }
@font-face { font-family: "Instrument Recurso"; src: local("Arial"), local("ArialMT"); font-weight: 400 700; size-adjust: 101.5%; }
:root {
  --noite: #0A0130;
  --indigo: #110043;
  --luz: #F3F0FF;
  --halo: #6B53F9;
  --eletrico: #4125EB;
  --magenta: #F320F3;
  --verde: #3BE08A;

  --texto-2: #ABA5DA;
  --texto-3: #9A93CC;
  --traco: rgba(243, 240, 255, .12);
  --traco-forte: rgba(243, 240, 255, .22);
  --flare-in: #E4DCFF;
  --superficie: #120548;
  --superficie-2: #170A57;

  --f-display: "Archivo", "Archivo Recurso", "Arial Narrow", sans-serif;
  --f-texto: "Instrument Sans", "Instrument Recurso", "Segoe UI", system-ui, sans-serif;

  --t-h1: clamp(2.5rem, 4.6vw, 4.25rem);
  --t-h2: clamp(1.9rem, 2.9vw, 2.6rem);
  --t-h3: clamp(1.1rem, 1.35vw, 1.25rem);
  --t-lead: clamp(1.05rem, 1.25vw, 1.2rem);
  --t-corpo: 1.0625rem;

  --margem: max(16px, 5vw);
  --nav-h: 72px;
  --sec-y: clamp(56px, 8vh, 88px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--noite); color: var(--luz); -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0; background: var(--noite); color: var(--luz);
  font-family: var(--f-texto); font-size: var(--t-corpo); line-height: 1.6;
  font-kerning: normal; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-stretch: 112.5%; }
::selection { background: var(--eletrico); color: var(--luz); }
:focus-visible { outline: 2px solid var(--halo); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.saltar { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--luz); color: var(--noite); padding: 10px 14px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.saltar:focus { top: 12px; }
html { scrollbar-color: #2a1c6e var(--noite); }
/* ---------- botões e ligações ---------- */
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 0 1.35em; border-radius: 999px; border: 1px solid transparent;
  font: 600 1rem/1 var(--f-texto); letter-spacing: -.005em; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease-out);
}
.botao svg { width: 18px; height: 18px; flex: none; }
/* texto com vários nós (ex: contadores): embrulhar num <span>, senão o gap separa cada nó */
.botao:active { transform: scale(.98); }
.botao--luz { background: var(--luz); color: var(--indigo); }
.botao--luz:hover { background: #fff; }
.botao--linha { border-color: var(--traco-forte); color: var(--luz); background: rgba(243, 240, 255, .03); }
.botao--linha:hover { border-color: rgba(228, 220, 255, .55); background: rgba(243, 240, 255, .07); }
/* botão secundário com o ponto de luz (ex: "Ver demo ao vivo", "Fala com a BIA") */
.botao--demo { position: relative; background: rgba(107, 83, 249, .16); border-color: rgba(143, 125, 255, .55); color: var(--luz); padding-left: 1.1em; }
.botao--demo:hover { background: rgba(107, 83, 249, .28); border-color: #cfc6ff; }
.botao__luz { width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px 3px rgba(143, 125, 255, .95); }
.botao--demo[aria-expanded="true"] .botao__luz { background: var(--verde); box-shadow: 0 0 8px 2px rgba(59, 224, 138, .7); animation: none; }
.reduce .botao__luz { animation: none; }
.ligacao {
  font-weight: 600; text-decoration: underline; text-decoration-color: rgba(243, 240, 255, .35);
  text-underline-offset: .28em; text-decoration-thickness: 1px; transition: text-decoration-color .2s, color .2s;
}
.ligacao:hover { text-decoration-color: var(--luz); }
.ligacao--botao { background: none; border: 0; padding: 0; cursor: pointer; }
/* ---------- navegação ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 40; height: var(--nav-h);
  display: flex; align-items: center; gap: 2rem; padding: 0 var(--margem);
  border-bottom: 1px solid transparent; transition: background-color .35s, border-color .35s;
}
.nav.is-scrolled { background: rgba(10, 1, 48, .94); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); border-bottom-color: var(--traco); }
.nav__marca { display: flex; align-items: center; text-decoration: none; margin-right: auto; margin-left: -4px; }
.nav__marca img { width: auto; height: 36px; }
.nav__links { display: flex; gap: 1.7rem; }
.nav__links a { font-size: .95rem; font-weight: 500; color: var(--texto-2); text-decoration: none; transition: color .2s; }
.nav__links a:hover, .nav__links a[aria-current] { color: var(--luz); }
.nav__cta { min-height: 40px; font-size: .92rem; padding: 0 1.1em; }
.nav__menu, .menu-movel { display: none; }
@media (max-width: 960px) {
  :root { --nav-h: 64px; }
  .nav { gap: 10px; }
  .nav__links { display: none; }
  .nav__cta { min-height: 38px; font-size: .88rem; padding: 0 .95em; }
  .nav__menu {
    display: grid; place-content: center; gap: 6px; width: 44px; height: 44px; margin-right: -8px;
    background: none; border: 0; color: var(--luz); cursor: pointer; border-radius: 10px;
  }
  .nav__menu-traco { display: block; width: 22px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease-out); }
  .nav__menu[aria-expanded="true"] .nav__menu-traco:first-child { transform: translateY(3.75px) rotate(45deg); }
  .nav__menu[aria-expanded="true"] .nav__menu-traco:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }
  .menu-movel:not([hidden]) {
    position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 39; display: flex; flex-direction: column; gap: 2px;
    padding: 8px var(--margem) 22px; background: rgba(10, 1, 48, .97); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--traco);
  }
  .menu-movel a:not(.botao) { padding: 13px 0; font: 700 1.2rem/1.1 var(--f-display); font-stretch: 112.5%; text-decoration: none; border-bottom: 1px solid var(--traco); }
  .menu-movel .botao { margin-top: 16px; }
  .nav__marca img { height: 32px; }
}
@media (max-width: 380px) {
  .nav__marca img { height: 28px; }
  .nav__cta { padding: 0 .8em; }
}
main { position: relative; }
main > section, main > aside, main > .fio { position: relative; z-index: 2; }
/* linha de luz + orb em CSS (fallback, e enquanto o WebGL carrega) */
.flare { position: absolute; left: 49.787%; top: 55.95%; width: 0; height: 0; pointer-events: none; }
.flare__linha {
  position: absolute; top: -1.5px; left: 50%; width: 220vw; height: 1.5px; margin-left: -110vw;
  transform: scaleX(var(--beam, 1)); transform-origin: 50% 50%;
  background: linear-gradient(90deg, transparent 0%, rgba(107, 83, 249, 0) 20%, #8f7dff 38%, #e4dcff 48%, #fff 50%, #e4dcff 53%, #8f7dff 66%, rgba(107, 83, 249, .5) 84%, transparent 100%);
  box-shadow: 0 0 5px 1px rgba(143, 125, 255, .6), 0 0 16px 3px rgba(107, 83, 249, .25);
}
/* orb com as proporções do logótipo oficial: núcleo branco nítido (raio 4,6% da altura do "A") e brilho lavanda até ~2,2x */
.flare__orb {
  --d: calc(var(--a-h, 134px) * .2);
  position: absolute; left: calc(var(--d) / -2); top: calc(var(--d) / -2); width: var(--d); height: var(--d); border-radius: 50%;
  transform: scale(var(--orb, 1));
  background: radial-gradient(circle closest-side, #fff 0 45%, rgba(228, 220, 255, .95) 46%, rgba(168, 151, 255, .62) 56%, rgba(123, 99, 250, .26) 76%, rgba(107, 83, 249, 0) 100%);
}
/* botão de play (partilhado) */
.play {
  position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%;
  background: rgba(243, 240, 255, .94); box-shadow: 0 0 0 6px rgba(243, 240, 255, .16), 0 8px 24px rgba(0, 0, 0, .35);
  transition: transform .3s var(--ease-out);
}
.play::after { content: ""; position: absolute; left: 53%; top: 50%; transform: translate(-40%, -50%); border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent var(--indigo); }
.play--grande { width: 78px; height: 78px; margin: -39px 0 0 -39px; box-shadow: 0 0 0 10px rgba(243, 240, 255, .14), 0 0 40px 10px rgba(107, 83, 249, .55); }
.play--grande::after { border-width: 13px 0 13px 21px; }
button:hover .play { transform: scale(1.07); }
@media (max-width: 700px) {
  .play--grande { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
}
/* ---------- fio de luz entre secções ---------- */
.fio { height: 1px; margin: 0 var(--margem); background: linear-gradient(90deg, rgba(107, 83, 249, 0), rgba(107, 83, 249, .45) 12%, rgba(228, 220, 255, .55) 24%, rgba(107, 83, 249, .28) 55%, rgba(107, 83, 249, 0)); }
.fio::after { content: ""; position: absolute; left: 24%; top: -2px; width: 5px; height: 5px; border-radius: 50%; background: #fff; box-shadow: 0 0 8px 2px rgba(143, 125, 255, .9); }
/* ---------- cabeça das secções ---------- */
.cabeca { max-width: 50rem; margin-bottom: clamp(22px, 3.4vh, 34px); }
.cabeca--linha { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 32px; flex-wrap: wrap; }
.cabeca__titulo { margin: 0; font-family: var(--f-display); font-stretch: 112.5%; font-weight: 740; font-size: var(--t-h2); line-height: 1.06; letter-spacing: -.026em; text-wrap: balance; }
.cabeca__texto { margin: .6rem 0 0; color: var(--texto-2); font-size: var(--t-lead); line-height: 1.5; max-width: 40rem; text-wrap: pretty; }
.pontos { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; color: var(--texto-2); font-size: 1rem; line-height: 1.5; }
.pontos li { position: relative; padding-left: 26px; }
.pontos li::before { content: ""; position: absolute; left: 0; top: .78em; width: 14px; height: 1px; background: #cfc6ff; box-shadow: 0 0 6px rgba(143, 125, 255, .8); }
.saber {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; background: none; border: 0; cursor: pointer; color: var(--luz);
  font-weight: 600; text-decoration: underline; text-decoration-color: rgba(243, 240, 255, .35); text-underline-offset: .28em; text-decoration-thickness: 1px;
}
.saber::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .3s var(--ease-out); }
.saber[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg); }
.saber:hover { text-decoration-color: var(--luz); }
.saber__corpo { margin-top: 1.1rem; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--traco); background: rgba(243, 240, 255, .03); font-size: .95rem; color: var(--texto-2); }
.saber__corpo p { margin: 0 0 .7rem; }
.saber__corpo p:last-child { margin: 0; }
.saber__corpo b { color: var(--luz); font-weight: 600; }
.saber__corpo:not([hidden]) { animation: abre .4s var(--ease-out); }
@keyframes abre { from { opacity: 0; transform: translateY(-6px); } }
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
/* =========================================================
   Rodapé
   ========================================================= */
.rodape { position: relative; z-index: 2; padding: 0 var(--margem) 32px; background: #07011F; border-top: 1px solid var(--traco); }
.rodape__grelha { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr); gap: 32px; padding: 48px 0 40px; }
.rodape__logo { display: block; width: fit-content; margin-left: -4px; }
.rodape__logo img { width: auto; height: 44px; }
.rodape__marca p { margin: 12px 0 0; color: var(--texto-2); font-size: .95rem; }
.rodape__marca p.rodape__prova { margin-top: 4px; font-size: .86rem; color: var(--texto-3); }
.rodape__col { display: flex; flex-direction: column; gap: 2px; font-size: .95rem; }
.rodape__col a { color: var(--texto-2); text-decoration: none; padding: 4px 0; transition: color .2s; width: fit-content; }
.rodape__col a:hover { color: var(--luz); }
.rodape__col p { margin: 6px 0 0; color: var(--texto-2); line-height: 1.5; }
.rodape__redes { display: flex; gap: 18px; }
.rodape__redes a { display: inline-flex; align-items: center; gap: 7px; }
.rodape__redes svg { width: 16px; height: 16px; }
.rodape__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 20px; border-top: 1px solid var(--traco); font-size: .82rem; color: var(--texto-3); }
.rodape__legal p { margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.rodape__legal a { color: var(--texto-3); text-decoration: none; }
.rodape__legal a:hover { color: var(--luz); }
.rodape__empresa { margin: 12px 0 0; font-size: .78rem; line-height: 1.5; color: var(--texto-3); }
/* =========================================================
   BIA (WhatsApp flutuante)
   ========================================================= */
.bia { position: fixed; right: 20px; bottom: 20px; z-index: 35; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; pointer-events: none; }
.bia > * { pointer-events: auto; }
.bia__bolha { position: relative; width: 236px; padding: 12px 34px 13px 14px; border-radius: 16px 16px 4px 16px; background: var(--luz); color: var(--indigo); box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .6); font-size: .9rem; line-height: 1.35; animation: bolha .5s var(--ease-out); }
.bia__bolha[hidden] { display: none; }
.bia__bolha b { display: block; font-size: .78rem; color: var(--eletrico); margin-bottom: 2px; }
.bia__bolha p { margin: 0; font-weight: 500; }
.bia__fechar { position: absolute; right: 4px; top: 4px; width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-radius: 50%; background: none; color: #5b548f; cursor: pointer; }
.bia__fechar svg { width: 15px; height: 15px; }
.bia__fechar:hover { background: rgba(17, 0, 67, .08); color: var(--indigo); }
@keyframes bolha { from { transform: translateY(8px) scale(.97); } }
.bia__botao { position: relative; width: 60px; height: 60px; border-radius: 50%; background: #1c0a66; box-shadow: 0 0 0 2px #25D366, 0 12px 30px -8px rgba(0, 0, 0, .7), 0 0 30px -4px rgba(107, 83, 249, .6); transition: transform .25s var(--ease-out); }
.bia__botao:hover { transform: scale(1.05); }
.bia__botao img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.bia__wa { position: absolute; right: -3px; bottom: -3px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: 0 0 0 2px var(--noite); }
.bia__wa svg { width: 14px; height: 14px; }
/* =========================================================
   Modal de vídeo
   ========================================================= */
.modal { padding: 0; border: 0; background: none; max-width: none; max-height: none; overflow: visible; }
.modal::backdrop { background: rgba(5, 0, 24, .82); backdrop-filter: blur(6px); }
.modal__caixa { position: relative; width: min(380px, 92vw, calc(80vh * 9 / 16)); aspect-ratio: 9 / 16; border-radius: 18px; margin-top: 50px; background: #000; box-shadow: 0 0 0 1px var(--traco-forte), 0 40px 90px rgba(0, 0, 0, .7); }
.modal__video { width: 100%; height: 100%; border-radius: 18px; overflow: hidden; }
.modal__video iframe { width: 100%; height: 100%; border: 0; display: block; }
.modal__fechar { position: absolute; z-index: 2; right: 0; top: -50px; width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(10, 1, 48, .8); color: var(--luz); cursor: pointer; }
.modal__fechar svg { width: 18px; height: 18px; }
@media (max-width: 1100px) {
  .rodape__grelha { grid-template-columns: 1fr 1fr; }
  .rodape__marca { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  :root { --sec-y: 56px; }
  body { font-size: 1rem; }
  .pontos { gap: .5rem; font-size: .96rem; }
  .painel .pontos { order: 3; }
  .painel .saber__corpo { order: 5; margin-top: 0; }
  .bia { right: 12px; bottom: 12px; }
  .bia__bolha { width: 210px; font-size: .85rem; }
  .bia__botao { width: 54px; height: 54px; }
}
/* =========================================================
   Movimento reduzido: estado final, sem movimento
   ========================================================= */
.reduce *, .reduce *::before, .reduce *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
[data-voz-frase].is-a-trocar { opacity: 0; }
/* modal "Pede à BIA que te ligue" */
.modal-bia { width: min(520px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); padding: 0; border: 1px solid rgba(107, 83, 249, .5); border-radius: 22px; background: var(--superficie); color: var(--luz); box-shadow: 0 40px 90px rgba(0, 0, 0, .7); overflow: auto; }
.modal-bia[open] { animation: modal-entra .3s var(--ease-out); }
.modal-bia::backdrop { background: rgba(5, 0, 24, .78); backdrop-filter: blur(4px); }
@keyframes modal-entra { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.modal-bia__caixa { padding: 22px 24px 24px; }
.modal-bia__topo { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.modal-bia__titulo { margin: 0; font-family: var(--f-display); font-stretch: 112.5%; font-weight: 700; font-size: 1.25rem; line-height: 1.2; }
.modal-bia__fechar { flex: none; width: 40px; height: 40px; display: grid; place-items: center; margin: -6px -8px -6px 0; border: 0; border-radius: 50%; background: none; color: var(--texto-2); cursor: pointer; }
.modal-bia__fechar svg { width: 20px; height: 20px; }
.modal-bia__fechar:hover { background: rgba(243, 240, 255, .08); color: var(--luz); }
.modal-bia .sucesso .botao { margin-top: 6px; }
.sucesso p.sucesso__titulo { color: var(--luz); font-weight: 700; font-size: 1.3rem; }
.pedido__grelha { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.campo { display: flex; flex-direction: column; gap: 5px; font-size: .86rem; color: var(--texto-2); }
.campo--largo { grid-column: 1 / -1; }
.campo small { color: var(--texto-3); }
.campo input, .campo select { width: 100%; height: 46px; padding: 0 13px; border-radius: 12px; border: 1px solid var(--traco-forte); background: #0D0238; color: var(--luz); font: 500 1rem var(--f-texto); }
.campo select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #cfc6ff 50%), linear-gradient(135deg, #cfc6ff 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.campo input::placeholder { color: #6F68A0; }
.campo input:focus, .campo select:focus { outline: 2px solid var(--halo); outline-offset: 1px; border-color: transparent; }
.campo input[aria-invalid="true"], .campo select[aria-invalid="true"] { border-color: #FF8A9A; }
.consentimento input[aria-invalid="true"] { outline: 2px solid #FF8A9A; outline-offset: 2px; }
.escolha { margin: 16px 0 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.escolha legend { width: 100%; margin-bottom: 8px; padding: 0; font-size: .86rem; color: var(--texto-2); }
.escolha[hidden] { display: none; }
.pilula { position: relative; cursor: pointer; }
.pilula input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pilula span { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--traco-forte); background: rgba(17, 0, 67, .5); color: var(--texto-2); font-size: .92rem; font-weight: 600; transition: background-color .2s, color .2s, border-color .2s; }
.pilula input:checked + span { background: var(--luz); border-color: var(--luz); color: var(--indigo); }
.pilula input:focus-visible + span { outline: 2px solid var(--halo); outline-offset: 2px; }
.pilula:hover span { border-color: rgba(228, 220, 255, .5); color: var(--luz); }
.pilula:hover input:checked + span { color: var(--indigo); background: var(--luz); border-color: var(--luz); }
.pedido__mel { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consentimento { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; margin: 18px 0 0; font-size: .8rem; line-height: 1.45; color: var(--texto-2); cursor: pointer; }
.consentimento input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: #6B53F9; }
.consentimento b { display: block; margin-bottom: 2px; font-size: .88rem; color: var(--luz); }
.pedido__erro { margin: 14px 0 0; padding: 9px 12px; border-radius: 10px; font-size: .86rem; color: #FFD3DA; background: rgba(255, 90, 120, .12); border: 1px solid rgba(255, 138, 154, .35); }
.pedido__erro[hidden] { display: none; }
.pedido__enviar { margin-top: 18px; width: 100%; }
.sucesso { outline: none; animation: abre .45s var(--ease-out); }
.sucesso[hidden] { display: none; }
.sucesso__icone svg { width: 40px; height: 40px; color: var(--verde); margin-bottom: 10px; }
.sucesso__titulo { margin: 0 0 10px; font-family: var(--f-display); font-stretch: 112.5%; font-weight: 700; font-size: 1.3rem; }
.sucesso p { margin: 0 0 10px; color: var(--texto-2); font-size: .95rem; }
.sucesso p.sucesso__hora { color: var(--luz); font-weight: 600; }
@media (max-width: 720px) {
  /* no telemóvel o pedido abre como folha de baixo para cima */
  .modal-bia { width: 100vw; max-height: 92dvh; margin: auto 0 0; border-radius: 22px 22px 0 0; border-bottom: 0; }
  .modal-bia[open] { animation: folha-sobe .35s var(--ease-out); }
  .modal-bia__caixa { padding: 18px 16px calc(20px + env(safe-area-inset-bottom)); }
  .pedido__grelha { grid-template-columns: 1fr; }
  .pilula span { height: 38px; padding: 0 14px; font-size: .88rem; }
}
@keyframes folha-sobe { from { transform: translateY(100%); } }

/* =========================================================
   Componentes das subpáginas (novos no sistema partilhado)
   ========================================================= */
/* secção genérica e ritmo vertical */
.seccao { padding: var(--sec-y) var(--margem); }
.seccao--compacta { padding-top: calc(var(--sec-y) * .6); padding-bottom: calc(var(--sec-y) * .6); }
.seccao--superficie { background: linear-gradient(180deg, rgba(17, 0, 67, 0), rgba(17, 0, 67, .55) 18%, rgba(17, 0, 67, .55) 82%, rgba(17, 0, 67, 0)); }
.pilha > * + * { margin-top: 1rem; }
.grelha-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem clamp(28px, 5vw, 80px); align-items: start; }

/* hero de subpágina: compacto; o título assenta na linha de luz, com o orb do logótipo à esquerda (só CSS) */
.hero-sub { position: relative; padding: calc(var(--nav-h) + clamp(22px, 4vh, 44px)) var(--margem) clamp(36px, 6vh, 60px); overflow: clip; }
.hero-sub::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(40% 60% at 6% 55%, rgba(29, 8, 110, .6), rgba(29, 8, 110, 0) 70%); }
.hero-sub__titulo { max-width: 24ch; margin: 14px 0 0; font-family: var(--f-display); font-stretch: 112.5%; font-weight: 760; font-size: clamp(2.1rem, 3.8vw, 3.4rem); line-height: 1.04; letter-spacing: -.028em; text-wrap: balance; }
.hero-sub__luz { position: relative; height: 1.5px; margin: 18px calc(var(--margem) * -1) 20px; pointer-events: none;
  background: linear-gradient(90deg, rgba(107, 83, 249, 0) 0, rgba(143, 125, 255, .7) calc(var(--margem) * .5), #fff var(--margem), #e4dcff calc(var(--margem) + 8%), rgba(143, 125, 255, .55) 45%, rgba(107, 83, 249, 0) 100%);
  box-shadow: 0 0 5px 1px rgba(143, 125, 255, .55), 0 0 16px 3px rgba(107, 83, 249, .22); transform-origin: var(--margem) 50%; }
.hero-sub__luz::after { content: ""; position: absolute; left: var(--margem); top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%;
  background: radial-gradient(circle closest-side, #fff 0 45%, rgba(228, 220, 255, .95) 46%, rgba(168, 151, 255, .62) 56%, rgba(123, 99, 250, .26) 76%, rgba(107, 83, 249, 0) 100%); }
.hero-sub__resposta { max-width: 44rem; margin: 0; font-size: var(--t-lead); line-height: 1.55; color: var(--texto-2); text-wrap: pretty; }
.hero-sub__acoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5rem; }
.hero-sub--com-media { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); column-gap: clamp(28px, 4vw, 64px); align-items: end; }
.hero-sub--com-media > :not(.hero-sub__media) { grid-column: 1; }
.hero-sub--com-media .hero-sub__luz { grid-column: 1; }
.hero-sub__media { grid-column: 2; grid-row: 1 / span 5; align-self: center; }
@keyframes luz-sub { from { transform: scaleX(0); } }
@keyframes orb-sub { 0% { transform: scale(0); } 60% { transform: scale(1.5); } 100% { transform: scale(1); } }
html:not(.reduce) .hero-sub__luz { animation: luz-sub 1.1s cubic-bezier(.7, 0, .2, 1) both .15s; }
html:not(.reduce) .hero-sub__luz::after { animation: orb-sub .7s cubic-bezier(.16, 1, .3, 1) both; }

/* migalhas (breadcrumb); o JSON-LD BreadcrumbList vai no head */
.migalhas ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0; padding: 0; list-style: none; font-size: .86rem; color: var(--texto-3); }
.migalhas li { display: inline-flex; align-items: center; gap: 10px; }
.migalhas li + li::before { content: ""; width: 5px; height: 5px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); opacity: .8; }
.migalhas a { color: var(--texto-2); text-decoration: none; }
.migalhas a:hover { color: var(--luz); text-decoration: underline; text-underline-offset: .25em; }
.migalhas [aria-current] { color: var(--luz); }

@media (max-width: 900px) {
  .grelha-2 { grid-template-columns: 1fr; }
  .hero-sub--com-media { grid-template-columns: 1fr; }
  .hero-sub__media { grid-column: 1; grid-row: auto; margin-top: 24px; }
}
@media (max-width: 720px) {
  .hero-sub__titulo { font-size: clamp(1.9rem, 8.4vw, 2.4rem); }
  .hero-sub__acoes .botao { flex: 1 1 auto; }
}

/* D43: botões do hero sempre em coluna abaixo de 480 px, em todas as páginas */
@media (max-width: 480px) {
  .hero-sub__acoes, .hero__acoes { flex-direction: column; align-items: stretch; }
  .hero-sub__acoes .botao, .hero__acoes .botao { width: 100%; }
}

/* ---------- modal "Fala com a BIA" sem pedido de chamada (D38: ligar ou WhatsApp) ---------- */
.modal-bia__texto { margin: 0 0 18px; color: var(--texto-2); font-size: .98rem; line-height: 1.55; }
.modal-bia__opcoes { display: grid; gap: 12px; }
.modal-bia__opcoes .botao { width: 100%; justify-content: center; }
.modal-bia__opcoes .botao svg { width: 20px; height: 20px; flex: none; }
