/* =========================================================================
   DoCEIS 2027 — variantes de paleta da proposta CfP (escrito à mão).
   A paleta ativa vem de <html data-paleta="...">, posto por js/paletas.js
   (?paleta=nome no URL, ou a última escolhida no seletor).
   Sem atributo = a proposta original (Noite & Ouro).
   ========================================================================= */

/* 2. Atlântico — petróleo profundo + coral da areia ao sol */
html[data-paleta="atlantico"] {
  --night: #041e25; --navy: #0a3a45; --indigo: #0e4b57; --royal: #12606e; --violet: #0b4250;
  --ink: #04212a; --panel-solid: #072f38; --panel: rgba(3, 26, 32, 0.72);
  --gold: #ff8a6b; --gold-deep: #f2704f; --on-accent: #04212a;
  --magenta: #2bb3a3; --magenta-deep: #1d8c80; --rgb-accent2: 43, 179, 163;
  --rgb-accent: 255, 138, 107;
  --rgb-deep: 1, 14, 18; --rgb-base: 6, 40, 49; --rgb-panel: 3, 26, 32; --rgb-tint: 8, 58, 69;
  --glow1: rgba(29, 140, 128, 0.45); --glow2: rgba(255, 138, 107, 0.16);
  --bg-1: #062a33; --bg-2: #0a3a45; --bg-3: #0e4b57;
  --accent-hover: #ffa48a; --link-hover: #ffb8a3; --ink-hover: #0a3a45;
  --ink-soft: #2d4b52; --ink-mute: #3f5f66; --ink-faint: #56757b; --rule-light: #d3e2e5; --photo-bg: #e3eef0;
}

/* 3. Crepúsculo — ameixa + pêssego do céu ao pôr do sol */
html[data-paleta="crepusculo"] {
  --night: #1d0b28; --navy: #3a1a4a; --indigo: #4f2560; --royal: #64307a; --violet: #5a2b6c;
  --ink: #1d0b28; --panel-solid: #2c1339; --panel: rgba(30, 10, 40, 0.7);
  --gold: #ffb48f; --gold-deep: #f2946a; --on-accent: #1d0b28;
  --magenta: #e0559a; --magenta-deep: #b83c7c; --rgb-accent2: 224, 85, 154;
  --rgb-accent: 255, 180, 143;
  --rgb-deep: 18, 6, 26; --rgb-base: 42, 18, 56; --rgb-panel: 30, 10, 40; --rgb-tint: 79, 37, 96;
  --glow1: rgba(224, 85, 154, 0.32); --glow2: rgba(255, 150, 120, 0.2);
  --bg-1: #2a1238; --bg-2: #3a1a4a; --bg-3: #4f2560;
  --accent-hover: #ffc7a8; --link-hover: #ffd3bb; --ink-hover: #3a1a4a;
  --ink-soft: #4a3356; --ink-mute: #5c4668; --ink-faint: #725d7d; --rule-light: #e6dbe9; --photo-bg: #f1e9f2;
}

/* 4. Âmbar — castanho-noite + laranja da hora dourada */
html[data-paleta="ambar"] {
  --night: #120a06; --navy: #24150d; --indigo: #33200f; --royal: #452b14; --violet: #3a2212;
  --ink: #1a0f0a; --panel-solid: #241509; --panel: rgba(20, 12, 7, 0.7);
  --gold: #ffa630; --gold-deep: #e88a12; --on-accent: #1a0f0a;
  --magenta: #e2542f; --magenta-deep: #b83e1e; --rgb-accent2: 226, 84, 47;
  --rgb-accent: 255, 166, 48;
  --rgb-deep: 8, 4, 2; --rgb-base: 32, 19, 11; --rgb-panel: 20, 12, 7; --rgb-tint: 60, 35, 15;
  --glow1: rgba(226, 120, 40, 0.3); --glow2: rgba(180, 70, 30, 0.25);
  --bg-1: #1a0f0a; --bg-2: #24150d; --bg-3: #33200f;
  --accent-hover: #ffbb5c; --link-hover: #ffc97a; --ink-hover: #33200f;
  --ink-soft: #4d3a2c; --ink-mute: #5f4a3a; --ink-faint: #76604e; --rule-light: #e8ddd2; --photo-bg: #f3ece4;
}

/* 5. Calçada — claro: calcário/marfim + tinta azul-noite + terracota */
html[data-paleta="calcada"] {
  --fg: #14213d; --rgb-fg: 20, 33, 61;
  --night: #14213d; --navy: #f3ecdf; --indigo: #e8dfcd; --royal: #d9ccb4; --violet: #e3d6c3;
  --ink: #14213d; --panel-solid: #fffdf8; --panel: rgba(255, 255, 255, 0.78);
  --gold: #b0482a; --gold-deep: #8f3a20; --on-accent: #ffffff;
  --magenta: #1f4fa0; --magenta-deep: #163b7a; --rgb-accent2: 31, 79, 160;
  --rgb-accent: 176, 72, 42;
  --rgb-deep: 70, 52, 30; --rgb-base: 247, 242, 232; --rgb-panel: 255, 255, 255; --rgb-tint: 247, 242, 232;
  --glow1: rgba(31, 79, 160, 0.08); --glow2: rgba(176, 72, 42, 0.08);
  --bg-1: #f7f2e8; --bg-2: #f3ecdf; --bg-3: #efe6d4;
  --accent-hover: #c4532f; --link-hover: #8f3a20; --ink-hover: #22335a;
  --pill: rgba(176, 72, 42, 0.6);
}
/* Regras comuns aos temas claros (js/paletas.js põe <html data-claro> nas paletas claras) */
html[data-claro] .site-footer,
html[data-claro] .theme-banner__place {
  --fg: #ffffff; --rgb-fg: 255, 255, 255;
  --muted: rgba(255, 255, 255, 0.82); --soft: rgba(255, 255, 255, 0.66); --line: rgba(255, 255, 255, 0.18);
  --gold: var(--accent-on-dark);
}
html[data-claro] .card,
html[data-claro] .person,
html[data-claro] .hof-year,
html[data-claro] .edition a { border-color: rgba(var(--rgb-fg), 0.1); }
html[data-claro] .brand { box-shadow: 0 10px 30px rgba(var(--rgb-deep), 0.14); }
html[data-claro] .sponsors { border-bottom: 1px solid rgba(var(--rgb-fg), 0.1); }
html[data-claro] .display { text-shadow: none; }
html[data-claro] .hero-photo::after { background: linear-gradient(180deg, rgba(var(--rgb-tint), 0), rgba(var(--rgb-tint), .12)); }
html[data-claro] .date.is-past .tile { color: rgba(var(--rgb-fg), .55); }
html[data-claro] .search { background: #fff; }
html[data-paleta="calcada"] { --accent-on-dark: #f0a07f; }
html[data-paleta="calcada"] .brand { background: #fffdf8; }

/* 6. Sinal — grafite + verde-menta digital (ligação ao tema IA) */
html[data-paleta="sinal"] {
  --night: #05090b; --navy: #0b1418; --indigo: #0f1c22; --royal: #15272f; --violet: #121f2a;
  --ink: #061013; --panel-solid: #0d191e; --panel: rgba(6, 12, 15, 0.72);
  --gold: #3ee6c1; --gold-deep: #22c2a0; --on-accent: #061013;
  --magenta: #8b7cff; --magenta-deep: #6a5ae0; --rgb-accent2: 139, 124, 255;
  --rgb-accent: 62, 230, 193;
  --rgb-deep: 0, 0, 0; --rgb-base: 9, 17, 21; --rgb-panel: 6, 12, 15; --rgb-tint: 10, 30, 36;
  --glow1: rgba(62, 230, 193, 0.1); --glow2: rgba(139, 124, 255, 0.14);
  --bg-1: #070d10; --bg-2: #0b1418; --bg-3: #0f1c22;
  --accent-hover: #6ff0d3; --link-hover: #9af5e1; --ink-hover: #15272f;
  --ink-soft: #2e3d42; --ink-mute: #44555a; --ink-faint: #5b6d72; --rule-light: #d5e0e0; --photo-bg: #e6eeee;
}
html[data-paleta="sinal"] .dots::after { background-image: radial-gradient(rgba(62, 230, 193, .35) 1.4px, transparent 1.6px); }


/* =========================================================================
   Paletas com o azul do logótipo (#03589d; cianos dos arcos #6dcfee / #9eddf4)
   ========================================================================= */

/* 7. Institucional — claro: branco-azulado, azul do logótipo como cor principal, dourado do "2027" */
html[data-paleta="institucional"] {
  --fg: #0b2540; --rgb-fg: 11, 37, 64;
  --night: #03325c; --navy: #eef3f9; --indigo: #e3ebf5; --royal: #d3e0ef; --violet: #e3ebf5;
  --ink: #0b2540; --panel-solid: #ffffff; --panel: rgba(255, 255, 255, 0.85);
  --gold: #03589d; --gold-deep: #02467d; --on-accent: #ffffff;
  --magenta: #0b2540; --magenta-deep: #03325c; --rgb-accent2: 241, 169, 38;
  --rgb-accent: 3, 88, 157;
  --rgb-deep: 10, 40, 75; --rgb-base: 245, 248, 252; --rgb-panel: 255, 255, 255; --rgb-tint: 245, 248, 252;
  --glow1: rgba(109, 207, 238, 0.16); --glow2: rgba(241, 169, 38, 0.08);
  --bg-1: #f5f8fc; --bg-2: #eef3f9; --bg-3: #e6eef7;
  --accent-hover: #0a6bb8; --link-hover: #02467d; --ink-hover: #03325c;
  --pill: rgba(3, 88, 157, 0.55); --accent-on-dark: #f1a926;
}
html[data-paleta="institucional"] .dash-title::before,
html[data-paleta="institucional"] .pc-list li::before,
html[data-paleta="institucional"] .draft-tag::before { background: #f1a926; }
html[data-paleta="institucional"] .person__photo,
html[data-paleta="institucional"] .sponsors { border-color: #f1a926; }

/* 8. Profundo — escuro: azul do logótipo em profundidade + ciano dos arcos + dourado */
html[data-paleta="profundo"] {
  --night: #011628; --navy: #03284d; --indigo: #043a6e; --royal: #03589d; --violet: #034a85;
  --ink: #021a33; --panel-solid: #032a52; --panel: rgba(1, 22, 44, 0.66);
  --gold: #6dcfee; --gold-deep: #3dbbe6; --on-accent: #021a33;
  --magenta: #f1a926; --magenta-deep: #d98e0c; --rgb-accent2: 241, 169, 38;
  --rgb-accent: 109, 207, 238;
  --rgb-deep: 0, 10, 22; --rgb-base: 2, 30, 58; --rgb-panel: 1, 22, 44; --rgb-tint: 3, 60, 110;
  --glow1: rgba(3, 88, 157, 0.6); --glow2: rgba(109, 207, 238, 0.14);
  --bg-1: #021a33; --bg-2: #03284d; --bg-3: #043a6e;
  --accent-hover: #9eddf4; --link-hover: #c4ecfa; --ink-hover: #03325c;
}
html[data-paleta="profundo"] .tile--event,
html[data-paleta="profundo"] .date.is-now .date-state { color: #021a33; }

/* 9. Céu & Sol — o azul do logótipo como fundo, com amarelo-sol (Praça do Comércio) */
html[data-paleta="ceu"] {
  --night: #023a69; --navy: #03589d; --indigo: #0a6bb8; --royal: #1a7cc8; --violet: #04508f;
  --ink: #022a4d; --panel-solid: #034a85; --panel: rgba(2, 42, 77, 0.5);
  --gold: #ffd23f; --gold-deep: #f5bd00; --on-accent: #022a4d;
  --magenta: #ff8c42; --magenta-deep: #e8701f; --rgb-accent2: 255, 140, 66;
  --rgb-accent: 255, 210, 63;
  --rgb-deep: 1, 25, 48; --rgb-base: 3, 76, 136; --rgb-panel: 2, 42, 77; --rgb-tint: 3, 88, 157;
  --glow1: rgba(109, 207, 238, 0.28); --glow2: rgba(255, 210, 63, 0.12);
  --bg-1: #034d8a; --bg-2: #03589d; --bg-3: #0a68b2;
  --accent-hover: #ffe07a; --link-hover: #ffe58f; --ink-hover: #023a69;
}
html[data-paleta="ceu"] .tile--event,
html[data-paleta="ceu"] .date.is-now .date-state { color: #022a4d; }

/* 10. Ria — claro: branco, azul do logótipo (rodapé e congresso) + coral da ponte vermelha */
html[data-paleta="ria"] {
  --fg: #0b2540; --rgb-fg: 11, 37, 64;
  --night: #03589d; --navy: #f7f9fb; --indigo: #edf2f7; --royal: #dde6ef; --violet: #edf2f7;
  --ink: #0b2540; --panel-solid: #ffffff; --panel: rgba(255, 255, 255, 0.9);
  --gold: #c93f25; --gold-deep: #a8331d; --on-accent: #ffffff;
  --magenta: #03589d; --magenta-deep: #02467d; --rgb-accent2: 3, 88, 157;
  --rgb-accent: 201, 63, 37;
  --rgb-deep: 10, 40, 75; --rgb-base: 255, 255, 255; --rgb-panel: 255, 255, 255; --rgb-tint: 255, 255, 255;
  --glow1: rgba(3, 88, 157, 0.07); --glow2: rgba(201, 63, 37, 0.06);
  --bg-1: #ffffff; --bg-2: #f7f9fb; --bg-3: #eef3f8;
  --accent-hover: #d9533a; --link-hover: #a8331d; --ink-hover: #03325c;
  --pill: rgba(3, 88, 157, 0.45); --accent-on-dark: #ffc2b3;
}
html[data-paleta="ria"] .person__photo,
html[data-paleta="ria"] .keynote img { border-color: #03589d; }

/* ---------- Logótipo sem caixa (data-logo="cor" | "binario" | "tonal"), diretamente sobre o fundo; "caixa" = caixa branca original (sem atributo) ---------- */
html[data-logo] .brand,
html[data-logo] .site-header.is-scrolled .brand { background: transparent; box-shadow: none; }
html[data-logo] .brand { padding-left: 0; padding-right: 0; }
html[data-logo] .site-header.is-scrolled .brand { padding: 12px 0 14px; }

/* ---------- Foto do topo a toda a largura (data-foto="total"), só no portátil ---------- */
/* Sem a transição vertical à esquerda: a foto vai de uma ponta à outra, como no telemóvel.
   Um véu na cor do fundo, mais forte à esquerda, mantém o texto legível. */
@media (min-width: 901px) {
  html[data-foto="total"] .hero-photo,
  html[data-foto="total"] .hero--page .hero-photo {
    width: 100%; opacity: 1;
    -webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 30%); mask-image: linear-gradient(0deg, transparent 0%, #000 30%);
  }
  html[data-foto="total"] .hero-photo::after {
    background:
      linear-gradient(90deg, rgba(var(--rgb-tint), .92) 0%, rgba(var(--rgb-tint), .7) 38%, rgba(var(--rgb-tint), .15) 75%, rgba(var(--rgb-tint), 0) 100%),
      linear-gradient(180deg, rgba(var(--rgb-tint), .35) 0%, transparent 30%);
  }
  html[data-foto="total"][data-claro] .hero-photo::after {
    background:
      linear-gradient(90deg, rgba(var(--rgb-tint), .94) 0%, rgba(var(--rgb-tint), .75) 40%, rgba(var(--rgb-tint), .1) 78%, rgba(var(--rgb-tint), 0) 100%),
      linear-gradient(180deg, rgba(var(--rgb-tint), .4) 0%, transparent 30%);
  }
  html[data-foto="total"] .hero--page .hero-photo { opacity: .85; }
}

/* ---------- Logótipos dos patrocinadores: cinzento ou mono (data-sponsors) ---------- */
html[data-sponsors] .logos img { transition: opacity .2s ease, filter .2s ease; }
/* Cinzento: os logótipos originais sem cor; ao passar o rato voltam à cor */
html[data-sponsors="cinzento"] .logos img { filter: grayscale(1) contrast(1.1); opacity: .85; mix-blend-mode: multiply; }
html[data-sponsors="cinzento"] .logos a:hover img,
html[data-sponsors="cinzento"] .logos a:focus-visible img { filter: none; opacity: 1; }
/* Mono: silhueta numa só cor, a partir das máscaras em images/sponsors-mono/ */
html[data-sponsors="mono"] .logos a { position: relative; }
html[data-sponsors="mono"] .logos a::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; background: var(--ink);
  -webkit-mask: var(--mono) center / contain no-repeat; mask: var(--mono) center / contain no-repeat;
  transition: opacity .2s ease;
}
html[data-sponsors="mono"] .logos img { opacity: 0; }
/* Mono: sem a faixa branca — os logótipos ficam sobre o fundo do site, na cor do texto da paleta
   (claros nas paletas escuras, escuros nas claras); ao passar o rato ficam na cor de destaque */
html[data-sponsors="mono"] .sponsors { background: transparent; color: var(--fg); border-top-color: var(--line); }
html[data-sponsors="mono"] .sponsors h2 { color: var(--fg); }
html[data-sponsors="mono"] .sponsors h2 small { color: var(--soft); }
html[data-sponsors="mono"] .sponsors .group + .group { border-color: var(--line); }
html[data-sponsors="mono"] .logos a::before { background: var(--fg); opacity: .9; transition: background-color .2s ease, opacity .2s ease; }
html[data-sponsors="mono"] .logos a:hover::before,
html[data-sponsors="mono"] .logos a:focus-visible::before { background: var(--gold); opacity: 1; }
html[data-sponsors="mono"] .sponsors :focus-visible { outline-color: var(--gold); }

/* ---------- Disposição dos patrocinadores (data-splayout="destaque"), opção provisória ----------
   Home: faixa de patrocinadores maior. Outras páginas: logótipos pequenos dentro do rodapé
   (js/paletas.js move os grupos para .footer-sponsors e esconde a faixa). */
html[data-splayout="destaque"][data-pagina="index"] .sponsors { padding: clamp(40px, 6vw, 64px) 0; }
html[data-splayout="destaque"][data-pagina="index"] .sponsors h2 { font-size: .9rem; margin-bottom: 22px; }
html[data-splayout="destaque"][data-pagina="index"] .sponsors .logos { gap: 24px 44px; }
html[data-splayout="destaque"][data-pagina="index"] .sponsors .logos img { height: 72px; max-width: 230px; }
@media (max-width: 680px) {
  html[data-splayout="destaque"][data-pagina="index"] .sponsors .logos { gap: 20px 28px; }
  html[data-splayout="destaque"][data-pagina="index"] .sponsors .logos img { height: 54px; max-width: 160px; }
}

.footer-sponsors {
  grid-column: 1 / -1; display: grid; grid-template-columns: 1.35fr 1fr; gap: 18px 32px; align-items: start;
  padding-bottom: 26px; margin-bottom: 4px; border-bottom: 1px solid var(--line);
}
.footer-sponsors .group + .group { border-left: 1px solid var(--line); padding-left: 32px; }
.footer-sponsors h2 small { font-size: .68rem; font-weight: 600; letter-spacing: .02em; text-transform: none; font-style: italic; color: var(--soft); }
.footer-sponsors .logos { gap: 10px 12px; }
.footer-sponsors .logos a { background: #fff; border-radius: 8px; padding: 6px 10px; }
.footer-sponsors .logos img { height: 26px; max-width: 96px; }
html[data-sponsors="mono"] .footer-sponsors .logos { gap: 12px 22px; }
html[data-sponsors="mono"] .footer-sponsors .logos a { background: none; padding: 0; }
html[data-sponsors="mono"] .footer-sponsors .logos a::before { opacity: .75; }
@media (max-width: 900px) { .footer-sponsors { grid-template-columns: 1fr; } .footer-sponsors .group + .group { border-left: 0; padding-left: 0; } }

/* ---------- Ondas do logótipo como motivo (data-ondas="sim"), opção para comparar ----------
   Os arcos concêntricos "((( )))" do logótipo, redesenhados em SVG à semelhança dos do logótipo: 3 faixas de espessura
   quase constante, pontas redondas e esbatidas, e cada faixa mais escura no bordo exterior (máscara CSS, pintada na cor
   de destaque). Não altera o logótipo. (2026-11-09; 3.ª versão: geometria medida no logótipo — centro, raios, espessuras, aberturas — e afinada por 3 auditores
   Haiku até consenso (8/10 cada). Gerador e parâmetros em _ferramentas/ondas/.) */
html { --ondas-dir: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -280 280 559'%3E%3Cdefs%3E%3CradialGradient id='g0' cx='0' cy='0' r='275.5' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0.866' stop-opacity='0.65'/%3E%3Cstop offset='1' stop-opacity='1'/%3E%3C/radialGradient%3E%3ClinearGradient id='t0' x1='0' y1='-200.2' x2='0' y2='200.2' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%23fff' stop-opacity='0'/%3E%3Cstop offset='0.15' stop-color='%23fff' stop-opacity='0.35'/%3E%3Cstop offset='0.35' stop-color='%23fff' stop-opacity='1'/%3E%3Cstop offset='0.65' stop-color='%23fff' stop-opacity='1'/%3E%3Cstop offset='0.85' stop-color='%23fff' stop-opacity='0.35'/%3E%3Cstop offset='1' stop-color='%23fff' stop-opacity='0'/%3E%3C/linearGradient%3E%3Cmask id='k0'%3E%3Crect x='-400' y='-205.2' width='800' height='410.5' fill='url(%23t0)'/%3E%3C/mask%3E%3CradialGradient id='g1' cx='0' cy='0' r='211.0' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0.820' stop-opacity='0.65'/%3E%3Cstop offset='1' stop-opacity='1'/%3E%3C/radialGradient%3E%3ClinearGradient id='t1' x1='0' y1='-163.9' x2='0' y2='163.9' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%23fff' stop-opacity='0'/%3E%3Cstop offset='0.15' stop-color='%23fff' stop-opacity='0.35'/%3E%3Cstop offset='0.35' stop-color='%23fff' stop-opacity='1'/%3E%3Cstop offset='0.65' stop-color='%23fff' stop-opacity='1'/%3E%3Cstop offset='0.85' stop-color='%23fff' stop-opacity='0.35'/%3E%3Cstop offset='1' stop-color='%23fff' stop-opacity='0'/%3E%3C/linearGradient%3E%3Cmask id='k1'%3E%3Crect x='-400' y='-168.9' width='800' height='337.8' fill='url(%23t1)'/%3E%3C/mask%3E%3CradialGradient id='g2' cx='0' cy='0' r='133.5' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0.813' stop-opacity='0.65'/%3E%3Cstop offset='1' stop-opacity='1'/%3E%3C/radialGradient%3E%3ClinearGradient id='t2' x1='0' y1='-102.4' x2='0' y2='102.4' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%23fff' stop-opacity='0'/%3E%3Cstop offset='0.15' stop-color='%23fff' stop-opacity='0.35'/%3E%3Cstop offset='0.35' stop-color='%23fff' stop-opacity='1'/%3E%3Cstop offset='0.65' stop-color='%23fff' stop-opacity='1'/%3E%3Cstop offset='0.85' stop-color='%23fff' stop-opacity='0.35'/%3E%3Cstop offset='1' stop-color='%23fff' stop-opacity='0'/%3E%3C/linearGradient%3E%3Cmask id='k2'%3E%3Crect x='-400' y='-107.4' width='800' height='214.8' fill='url(%23t2)'/%3E%3C/mask%3E%3ClinearGradient id='v' x1='0' y1='-280' x2='0' y2='280' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%23fff' stop-opacity='1'/%3E%3Cstop offset='1' stop-color='%23fff' stop-opacity='1'/%3E%3C/linearGradient%3E%3Cmask id='m'%3E%3Crect x='-290' y='-290' width='579' height='579' fill='url(%23v)'/%3E%3C/mask%3E%3C/defs%3E%3Cg%3E%3Cpath d='M188.3 -188.3 L194.3 -184.4 L199.6 -179.8 L204.8 -174.9 L209.7 -169.8 L214.5 -164.6 L219.1 -159.2 L223.5 -153.6 L227.8 -147.9 L231.9 -142.1 L235.9 -136.2 L239.6 -130.1 L243.2 -123.9 L246.6 -117.6 L249.9 -111.3 L252.9 -104.8 L255.8 -98.2 L258.5 -91.5 L261.0 -84.8 L263.3 -78.0 L265.4 -71.1 L267.3 -64.2 L269.0 -57.2 L270.5 -50.1 L271.8 -43.1 L273.0 -35.9 L273.9 -28.8 L274.6 -21.6 L275.1 -14.4 L275.4 -7.2 L275.5 0.0 L275.4 7.2 L275.1 14.4 L274.6 21.6 L273.9 28.8 L273.0 35.9 L271.8 43.1 L270.5 50.1 L269.0 57.2 L267.3 64.2 L265.4 71.1 L263.3 78.0 L261.0 84.8 L258.5 91.5 L255.8 98.2 L252.9 104.8 L249.9 111.3 L246.6 117.6 L243.2 123.9 L239.6 130.1 L235.9 136.2 L231.9 142.1 L227.8 147.9 L223.5 153.6 L219.1 159.2 L214.5 164.6 L209.7 169.8 L204.8 174.9 L199.6 179.8 L194.3 184.4 L188.3 188.3 A9.2 9.2 0 0 1 175.2 175.2 L175.2 175.2 L178.6 169.5 L182.3 164.2 L186.1 158.9 L189.7 153.6 L193.3 148.3 L196.7 142.9 L200.1 137.5 L203.3 132.0 L206.3 126.4 L209.3 120.8 L212.1 115.2 L214.8 109.4 L217.3 103.6 L219.7 97.8 L221.9 91.9 L224.1 86.0 L226.0 80.0 L227.9 74.0 L229.6 68.0 L231.1 61.9 L232.5 55.8 L233.8 49.7 L234.9 43.5 L235.8 37.4 L236.6 31.2 L237.3 24.9 L237.8 18.7 L238.2 12.5 L238.4 6.2 L238.5 0.0 L238.4 -6.2 L238.2 -12.5 L237.8 -18.7 L237.3 -24.9 L236.6 -31.2 L235.8 -37.4 L234.9 -43.5 L233.8 -49.7 L232.5 -55.8 L231.1 -61.9 L229.6 -68.0 L227.9 -74.0 L226.0 -80.0 L224.1 -86.0 L221.9 -91.9 L219.7 -97.8 L217.3 -103.6 L214.8 -109.4 L212.1 -115.2 L209.3 -120.8 L206.3 -126.4 L203.3 -132.0 L200.1 -137.5 L196.7 -142.9 L193.3 -148.3 L189.7 -153.6 L186.1 -158.9 L182.3 -164.2 L178.6 -169.5 L175.2 -175.2 A9.2 9.2 0 0 1 188.3 -188.3Z' fill='url(%23g0)' mask='url(%23k0)'/%3E%3Cpath d='M132.2 -152.1 L137.6 -149.4 L142.4 -146.0 L146.9 -142.4 L151.4 -138.5 L155.7 -134.5 L159.8 -130.3 L163.8 -126.0 L167.6 -121.5 L171.3 -116.9 L174.9 -112.1 L178.3 -107.3 L181.6 -102.3 L184.7 -97.2 L187.6 -92.0 L190.4 -86.8 L193.0 -81.4 L195.4 -75.9 L197.7 -70.4 L199.8 -64.8 L201.7 -59.1 L203.5 -53.4 L205.0 -47.6 L206.4 -41.7 L207.6 -35.9 L208.7 -29.9 L209.5 -24.0 L210.2 -18.0 L210.6 -12.0 L210.9 -6.0 L211.0 0.0 L210.9 6.0 L210.6 12.0 L210.2 18.0 L209.5 24.0 L208.7 29.9 L207.6 35.9 L206.4 41.7 L205.0 47.6 L203.5 53.4 L201.7 59.1 L199.8 64.8 L197.7 70.4 L195.4 75.9 L193.0 81.4 L190.4 86.8 L187.6 92.0 L184.7 97.2 L181.6 102.3 L178.3 107.3 L174.9 112.1 L171.3 116.9 L167.6 121.5 L163.8 126.0 L159.8 130.3 L155.7 134.5 L151.4 138.5 L146.9 142.4 L142.4 146.0 L137.6 149.4 L132.2 152.1 A9.5 9.5 0 0 1 119.7 137.7 L119.7 137.7 L122.5 133.1 L125.7 128.9 L128.8 124.8 L131.9 120.7 L134.9 116.6 L137.8 112.4 L140.6 108.1 L143.3 103.8 L145.9 99.5 L148.4 95.1 L150.7 90.7 L153.0 86.2 L155.1 81.7 L157.1 77.1 L159.0 72.5 L160.8 67.8 L162.5 63.1 L164.0 58.4 L165.5 53.7 L166.8 48.9 L168.0 44.1 L169.0 39.2 L169.9 34.4 L170.8 29.5 L171.4 24.6 L172.0 19.7 L172.4 14.8 L172.8 9.9 L172.9 4.9 L173.0 0.0 L172.9 -4.9 L172.8 -9.9 L172.4 -14.8 L172.0 -19.7 L171.4 -24.6 L170.8 -29.5 L169.9 -34.4 L169.0 -39.2 L168.0 -44.1 L166.8 -48.9 L165.5 -53.7 L164.0 -58.4 L162.5 -63.1 L160.8 -67.8 L159.0 -72.5 L157.1 -77.1 L155.1 -81.7 L153.0 -86.2 L150.7 -90.7 L148.4 -95.1 L145.9 -99.5 L143.3 -103.8 L140.6 -108.1 L137.8 -112.4 L134.9 -116.6 L131.9 -120.7 L128.8 -124.8 L125.7 -128.9 L122.5 -133.1 L119.7 -137.7 A9.5 9.5 0 0 1 132.2 -152.1Z' fill='url(%23g1)' mask='url(%23k1)'/%3E%3Cpath d='M85.1 -94.6 L88.5 -92.9 L91.4 -90.8 L94.3 -88.5 L97.0 -86.1 L99.6 -83.6 L102.1 -81.0 L104.6 -78.2 L107.0 -75.5 L109.2 -72.6 L111.4 -69.6 L113.5 -66.6 L115.5 -63.5 L117.4 -60.3 L119.2 -57.1 L120.9 -53.8 L122.5 -50.5 L124.0 -47.1 L125.4 -43.7 L126.7 -40.2 L127.8 -36.7 L128.9 -33.1 L129.9 -29.5 L130.7 -25.9 L131.4 -22.2 L132.1 -18.6 L132.6 -14.9 L133.0 -11.2 L133.3 -7.5 L133.4 -3.7 L133.5 0.0 L133.4 3.7 L133.3 7.5 L133.0 11.2 L132.6 14.9 L132.1 18.6 L131.4 22.2 L130.7 25.9 L129.9 29.5 L128.9 33.1 L127.8 36.7 L126.7 40.2 L125.4 43.7 L124.0 47.1 L122.5 50.5 L120.9 53.8 L119.2 57.1 L117.4 60.3 L115.5 63.5 L113.5 66.6 L111.4 69.6 L109.2 72.6 L107.0 75.5 L104.6 78.2 L102.1 81.0 L99.6 83.6 L97.0 86.1 L94.3 88.5 L91.4 90.8 L88.5 92.9 L85.1 94.6 A6.2 6.2 0 0 1 76.8 85.3 L76.8 85.3 L78.4 82.3 L80.3 79.7 L82.2 77.1 L84.0 74.6 L85.8 72.0 L87.5 69.4 L89.2 66.7 L90.8 64.0 L92.3 61.3 L93.8 58.6 L95.2 55.9 L96.6 53.1 L97.9 50.3 L99.1 47.5 L100.2 44.6 L101.3 41.7 L102.2 38.8 L103.2 35.9 L104.0 33.0 L104.8 30.0 L105.5 27.1 L106.1 24.1 L106.7 21.1 L107.2 18.1 L107.6 15.1 L107.9 12.1 L108.2 9.1 L108.4 6.1 L108.5 3.0 L108.5 0.0 L108.5 -3.0 L108.4 -6.1 L108.2 -9.1 L107.9 -12.1 L107.6 -15.1 L107.2 -18.1 L106.7 -21.1 L106.1 -24.1 L105.5 -27.1 L104.8 -30.0 L104.0 -33.0 L103.2 -35.9 L102.2 -38.8 L101.3 -41.7 L100.2 -44.6 L99.1 -47.5 L97.9 -50.3 L96.6 -53.1 L95.2 -55.9 L93.8 -58.6 L92.3 -61.3 L90.8 -64.0 L89.2 -66.7 L87.5 -69.4 L85.8 -72.0 L84.0 -74.6 L82.2 -77.1 L80.3 -79.7 L78.4 -82.3 L76.8 -85.3 A6.2 6.2 0 0 1 85.1 -94.6Z' fill='url(%23g2)' mask='url(%23k2)'/%3E%3C/g%3E%3C/svg%3E"); --ondas-esq: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-280 -280 280 559'%3E%3Cdefs%3E%3CradialGradient id='g0' cx='0' cy='0' r='275.5' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0.866' stop-opacity='0.65'/%3E%3Cstop offset='1' stop-opacity='1'/%3E%3C/radialGradient%3E%3ClinearGradient id='t0' x1='0' y1='-200.2' x2='0' y2='200.2' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%23fff' stop-opacity='0'/%3E%3Cstop offset='0.15' stop-color='%23fff' stop-opacity='0.35'/%3E%3Cstop offset='0.35' stop-color='%23fff' stop-opacity='1'/%3E%3Cstop offset='0.65' stop-color='%23fff' stop-opacity='1'/%3E%3Cstop offset='0.85' stop-color='%23fff' stop-opacity='0.35'/%3E%3Cstop offset='1' stop-color='%23fff' stop-opacity='0'/%3E%3C/linearGradient%3E%3Cmask id='k0'%3E%3Crect x='-400' y='-205.2' width='800' height='410.5' fill='url(%23t0)'/%3E%3C/mask%3E%3CradialGradient id='g1' cx='0' cy='0' r='196.0' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0.806' stop-opacity='0.65'/%3E%3Cstop offset='1' stop-opacity='1'/%3E%3C/radialGradient%3E%3ClinearGradient id='t1' x1='0' y1='-152.6' x2='0' y2='152.6' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%23fff' stop-opacity='0'/%3E%3Cstop offset='0.15' stop-color='%23fff' stop-opacity='0.35'/%3E%3Cstop offset='0.35' stop-color='%23fff' stop-opacity='1'/%3E%3Cstop offset='0.65' stop-color='%23fff' stop-opacity='1'/%3E%3Cstop offset='0.85' stop-color='%23fff' stop-opacity='0.35'/%3E%3Cstop offset='1' stop-color='%23fff' stop-opacity='0'/%3E%3C/linearGradient%3E%3Cmask id='k1'%3E%3Crect x='-400' y='-157.6' width='800' height='315.2' fill='url(%23t1)'/%3E%3C/mask%3E%3CradialGradient id='g2' cx='0' cy='0' r='130.5' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0.808' stop-opacity='0.65'/%3E%3Cstop offset='1' stop-opacity='1'/%3E%3C/radialGradient%3E%3ClinearGradient id='t2' x1='0' y1='-100.2' x2='0' y2='100.2' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%23fff' stop-opacity='0'/%3E%3Cstop offset='0.15' stop-color='%23fff' stop-opacity='0.35'/%3E%3Cstop offset='0.35' stop-color='%23fff' stop-opacity='1'/%3E%3Cstop offset='0.65' stop-color='%23fff' stop-opacity='1'/%3E%3Cstop offset='0.85' stop-color='%23fff' stop-opacity='0.35'/%3E%3Cstop offset='1' stop-color='%23fff' stop-opacity='0'/%3E%3C/linearGradient%3E%3Cmask id='k2'%3E%3Crect x='-400' y='-105.2' width='800' height='210.4' fill='url(%23t2)'/%3E%3C/mask%3E%3ClinearGradient id='v' x1='0' y1='-280' x2='0' y2='280' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%23fff' stop-opacity='1'/%3E%3Cstop offset='1' stop-color='%23fff' stop-opacity='1'/%3E%3C/linearGradient%3E%3Cmask id='m'%3E%3Crect x='-290' y='-290' width='579' height='579' fill='url(%23v)'/%3E%3C/mask%3E%3C/defs%3E%3Cg%3E%3Cpath d='M-188.3 -188.3 L-194.3 -184.4 L-199.6 -179.8 L-204.8 -174.9 L-209.7 -169.8 L-214.5 -164.6 L-219.1 -159.2 L-223.5 -153.6 L-227.8 -147.9 L-231.9 -142.1 L-235.9 -136.2 L-239.6 -130.1 L-243.2 -123.9 L-246.6 -117.6 L-249.9 -111.3 L-252.9 -104.8 L-255.8 -98.2 L-258.5 -91.5 L-261.0 -84.8 L-263.3 -78.0 L-265.4 -71.1 L-267.3 -64.2 L-269.0 -57.2 L-270.5 -50.1 L-271.8 -43.1 L-273.0 -35.9 L-273.9 -28.8 L-274.6 -21.6 L-275.1 -14.4 L-275.4 -7.2 L-275.5 0.0 L-275.4 7.2 L-275.1 14.4 L-274.6 21.6 L-273.9 28.8 L-273.0 35.9 L-271.8 43.1 L-270.5 50.1 L-269.0 57.2 L-267.3 64.2 L-265.4 71.1 L-263.3 78.0 L-261.0 84.8 L-258.5 91.5 L-255.8 98.2 L-252.9 104.8 L-249.9 111.3 L-246.6 117.6 L-243.2 123.9 L-239.6 130.1 L-235.9 136.2 L-231.9 142.1 L-227.8 147.9 L-223.5 153.6 L-219.1 159.2 L-214.5 164.6 L-209.7 169.8 L-204.8 174.9 L-199.6 179.8 L-194.3 184.4 L-188.3 188.3 A9.2 9.2 0 0 0 -175.2 175.2 L-175.2 175.2 L-178.6 169.5 L-182.3 164.2 L-186.1 158.9 L-189.7 153.6 L-193.3 148.3 L-196.7 142.9 L-200.1 137.5 L-203.3 132.0 L-206.3 126.4 L-209.3 120.8 L-212.1 115.2 L-214.8 109.4 L-217.3 103.6 L-219.7 97.8 L-221.9 91.9 L-224.1 86.0 L-226.0 80.0 L-227.9 74.0 L-229.6 68.0 L-231.1 61.9 L-232.5 55.8 L-233.8 49.7 L-234.9 43.5 L-235.8 37.4 L-236.6 31.2 L-237.3 24.9 L-237.8 18.7 L-238.2 12.5 L-238.4 6.2 L-238.5 0.0 L-238.4 -6.2 L-238.2 -12.5 L-237.8 -18.7 L-237.3 -24.9 L-236.6 -31.2 L-235.8 -37.4 L-234.9 -43.5 L-233.8 -49.7 L-232.5 -55.8 L-231.1 -61.9 L-229.6 -68.0 L-227.9 -74.0 L-226.0 -80.0 L-224.1 -86.0 L-221.9 -91.9 L-219.7 -97.8 L-217.3 -103.6 L-214.8 -109.4 L-212.1 -115.2 L-209.3 -120.8 L-206.3 -126.4 L-203.3 -132.0 L-200.1 -137.5 L-196.7 -142.9 L-193.3 -148.3 L-189.7 -153.6 L-186.1 -158.9 L-182.3 -164.2 L-178.6 -169.5 L-175.2 -175.2 A9.2 9.2 0 0 0 -188.3 -188.3Z' fill='url(%23g0)' mask='url(%23k0)'/%3E%3Cpath d='M-122.4 -140.8 L-127.4 -138.4 L-131.9 -135.3 L-136.2 -132.0 L-140.3 -128.4 L-144.3 -124.7 L-148.2 -120.8 L-151.9 -116.8 L-155.5 -112.7 L-159.0 -108.4 L-162.3 -104.0 L-165.5 -99.5 L-168.5 -94.9 L-171.4 -90.2 L-174.1 -85.4 L-176.7 -80.5 L-179.2 -75.6 L-181.5 -70.5 L-183.6 -65.4 L-185.5 -60.2 L-187.3 -54.9 L-189.0 -49.6 L-190.4 -44.2 L-191.7 -38.8 L-192.9 -33.3 L-193.8 -27.8 L-194.6 -22.3 L-195.2 -16.7 L-195.7 -11.2 L-195.9 -5.6 L-196.0 0.0 L-195.9 5.6 L-195.7 11.2 L-195.2 16.7 L-194.6 22.3 L-193.8 27.8 L-192.9 33.3 L-191.7 38.8 L-190.4 44.2 L-189.0 49.6 L-187.3 54.9 L-185.5 60.2 L-183.6 65.4 L-181.5 70.5 L-179.2 75.6 L-176.7 80.5 L-174.1 85.4 L-171.4 90.2 L-168.5 94.9 L-165.5 99.5 L-162.3 104.0 L-159.0 108.4 L-155.5 112.7 L-151.9 116.8 L-148.2 120.8 L-144.3 124.7 L-140.3 128.4 L-136.2 132.0 L-131.9 135.3 L-127.4 138.4 L-122.4 140.8 A9.5 9.5 0 0 0 -109.9 126.4 L-109.9 126.4 L-112.4 122.0 L-115.2 118.2 L-118.0 114.4 L-120.8 110.6 L-123.5 106.8 L-126.2 102.9 L-128.7 99.0 L-131.1 95.0 L-133.5 91.1 L-135.7 87.0 L-137.9 83.0 L-139.9 78.8 L-141.8 74.7 L-143.7 70.5 L-145.4 66.3 L-147.0 62.0 L-148.5 57.7 L-149.9 53.4 L-151.2 49.0 L-152.4 44.7 L-153.4 40.3 L-154.4 35.8 L-155.2 31.4 L-156.0 26.9 L-156.6 22.5 L-157.1 18.0 L-157.5 13.5 L-157.8 9.0 L-157.9 4.5 L-158.0 0.0 L-157.9 -4.5 L-157.8 -9.0 L-157.5 -13.5 L-157.1 -18.0 L-156.6 -22.5 L-156.0 -26.9 L-155.2 -31.4 L-154.4 -35.8 L-153.4 -40.3 L-152.4 -44.7 L-151.2 -49.0 L-149.9 -53.4 L-148.5 -57.7 L-147.0 -62.0 L-145.4 -66.3 L-143.7 -70.5 L-141.8 -74.7 L-139.9 -78.8 L-137.9 -83.0 L-135.7 -87.0 L-133.5 -91.1 L-131.1 -95.0 L-128.7 -99.0 L-126.2 -102.9 L-123.5 -106.8 L-120.8 -110.6 L-118.0 -114.4 L-115.2 -118.2 L-112.4 -122.0 L-109.9 -126.4 A9.5 9.5 0 0 0 -122.4 -140.8Z' fill='url(%23g1)' mask='url(%23k1)'/%3E%3Cpath d='M-83.1 -92.3 L-86.4 -90.7 L-89.3 -88.7 L-92.1 -86.5 L-94.7 -84.1 L-97.3 -81.7 L-99.8 -79.1 L-102.2 -76.5 L-104.5 -73.7 L-106.7 -70.9 L-108.9 -68.0 L-110.9 -65.1 L-112.9 -62.0 L-114.7 -59.0 L-116.5 -55.8 L-118.1 -52.6 L-119.7 -49.3 L-121.2 -46.0 L-122.5 -42.7 L-123.8 -39.3 L-124.9 -35.8 L-126.0 -32.4 L-126.9 -28.8 L-127.8 -25.3 L-128.5 -21.7 L-129.1 -18.1 L-129.6 -14.5 L-130.0 -10.9 L-130.3 -7.3 L-130.4 -3.6 L-130.5 0.0 L-130.4 3.6 L-130.3 7.3 L-130.0 10.9 L-129.6 14.5 L-129.1 18.1 L-128.5 21.7 L-127.8 25.3 L-126.9 28.8 L-126.0 32.4 L-124.9 35.8 L-123.8 39.3 L-122.5 42.7 L-121.2 46.0 L-119.7 49.3 L-118.1 52.6 L-116.5 55.8 L-114.7 59.0 L-112.9 62.0 L-110.9 65.1 L-108.9 68.0 L-106.7 70.9 L-104.5 73.7 L-102.2 76.5 L-99.8 79.1 L-97.3 81.7 L-94.7 84.1 L-92.1 86.5 L-89.3 88.7 L-86.4 90.7 L-83.1 92.3 A6.2 6.2 0 0 0 -74.8 83.0 L-74.8 83.0 L-76.3 80.2 L-78.2 77.6 L-80.0 75.1 L-81.7 72.6 L-83.5 70.0 L-85.2 67.5 L-86.8 64.9 L-88.3 62.3 L-89.8 59.7 L-91.3 57.0 L-92.6 54.4 L-93.9 51.6 L-95.2 48.9 L-96.4 46.2 L-97.5 43.4 L-98.5 40.6 L-99.4 37.8 L-100.3 34.9 L-101.2 32.1 L-101.9 29.2 L-102.6 26.3 L-103.2 23.4 L-103.7 20.5 L-104.2 17.6 L-104.6 14.7 L-104.9 11.8 L-105.2 8.8 L-105.4 5.9 L-105.5 2.9 L-105.5 0.0 L-105.5 -2.9 L-105.4 -5.9 L-105.2 -8.8 L-104.9 -11.8 L-104.6 -14.7 L-104.2 -17.6 L-103.7 -20.5 L-103.2 -23.4 L-102.6 -26.3 L-101.9 -29.2 L-101.2 -32.1 L-100.3 -34.9 L-99.4 -37.8 L-98.5 -40.6 L-97.5 -43.4 L-96.4 -46.2 L-95.2 -48.9 L-93.9 -51.6 L-92.6 -54.4 L-91.3 -57.0 L-89.8 -59.7 L-88.3 -62.3 L-86.8 -64.9 L-85.2 -67.5 L-83.5 -70.0 L-81.7 -72.6 L-80.0 -75.1 L-78.2 -77.6 L-76.3 -80.2 L-74.8 -83.0 A6.2 6.2 0 0 0 -83.1 -92.3Z' fill='url(%23g2)' mask='url(%23k2)'/%3E%3C/g%3E%3C/svg%3E"); }
/* 1. topo da página: arcos grandes "(((" à esquerda, por trás do texto */
html[data-ondas="sim"] .hero { overflow: hidden; }
html[data-ondas="sim"] .hero > .wrap { position: relative; z-index: 1; }
html[data-ondas="sim"] .hero::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  left: calc(-1 * clamp(70px, 8vw, 150px)); top: 50%; transform: translateY(-50%);
  width: clamp(260px, 30vw, 520px); height: clamp(460px, 54vw, 930px);
  background: var(--gold);
  -webkit-mask: var(--ondas-esq) right center / contain no-repeat; mask: var(--ondas-esq) right center / contain no-repeat;
  opacity: .3;
}
/* 2. títulos de secção: ")))" pequeno no lugar do traço */
html[data-ondas="sim"] .dash-title::before {
  width: 18px; height: 36px; border-radius: 0;
  background: var(--gold);
  -webkit-mask: var(--ondas-dir) left center / contain no-repeat; mask: var(--ondas-dir) left center / contain no-repeat;
}
html[data-ondas="sim"] .dash-title--ink::before { background: var(--ink); }
/* 3. rodapé: ")))" grande à direita, muito suave */
html[data-ondas="sim"] .site-footer { position: relative; overflow: hidden; }
html[data-ondas="sim"] .site-footer > .wrap { position: relative; z-index: 1; }
html[data-ondas="sim"] .site-footer::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  right: calc(-1 * clamp(60px, 8vw, 140px)); bottom: -40px; width: clamp(180px, 22vw, 380px); height: clamp(320px, 40vw, 680px);
  background: var(--gold);
  -webkit-mask: var(--ondas-dir) left center / contain no-repeat; mask: var(--ondas-dir) left center / contain no-repeat;
  opacity: .1;
}
/* (as ondas a sair da contagem decrescente foram retiradas a pedido do utilizador, 2026-11-09) */

/* ---------- Seletor de paleta (só para comparar; não faz parte do site) ---------- */
.pal-picker {
  position: fixed; z-index: 300; left: 14px; bottom: 14px;
  display: flex; align-items: center; gap: 6px; padding: 6px 8px 6px 12px;
  background: rgba(17, 17, 17, 0.88); color: #fff; border-radius: 999px;
  font: 600 12px/1 system-ui, -apple-system, "Segoe UI", sans-serif;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35); backdrop-filter: blur(8px);
  max-width: calc(100vw - 28px); flex-wrap: wrap; row-gap: 6px; border-radius: 22px; /* muitas opções: passa para 2 linhas */
}
.pal-picker__label { margin-right: 4px; white-space: nowrap; }
.pal-picker button {
  width: 26px; height: 26px; padding: 0; border-radius: 50%; cursor: pointer;
  border: 2px solid transparent; background: none; display: grid; place-items: center;
}
.pal-picker button span { width: 18px; height: 18px; border-radius: 50%; display: block; }
.pal-picker button[aria-pressed="true"] { border-color: #fff; }
.pal-picker button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.pal-picker a { color: #fff; text-decoration: underline; margin-left: 6px; white-space: nowrap; }
/* botão de minimizar: na barra aberta é um "–" redondo; minimizada fica só "Opções" */
.pal-picker .pal-min {
  width: auto; height: 26px; min-width: 26px; padding: 0 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,.35);
  background: #222; color: #fff; font: inherit; font-size: 14px; line-height: 1; cursor: pointer; order: -1;
}
.pal-picker .pal-min:hover { background: #333; }
.pal-picker.is-min { padding: 6px; gap: 0; }
.pal-picker.is-min > :not(.pal-min) { display: none !important; }
.pal-picker.is-min .pal-min { font-size: 12px; font-weight: 700; padding: 0 14px; }
@media (max-width: 560px) { .pal-picker.is-min { left: auto; right: 8px; } }
@media (max-width: 560px) {
  .pal-picker { left: 8px; right: 8px; bottom: 8px; justify-content: center; flex-wrap: wrap; }
  .pal-picker__label { display: none; }
}
.pal-picker select {
  margin-left: 6px; padding: 5px 8px; border-radius: 999px; border: 1px solid rgba(255,255,255,.35);
  background: #222; color: #fff; font: inherit; cursor: pointer;
}
.pal-credit { flex: 1 1 100%; font-size: .75rem; line-height: 1.5; }
.site-footer { padding-bottom: 72px; } /* espaço para o seletor não tapar os créditos */

/* ---------- Disposição dos professores no Organizing Committee (data-profs="grelha"), opção para comparar ----------
   Por omissão: filas centradas 1 / 3 / 4 (Conference Chair sozinho em cima). "grelha" = a grelha 4 × 2 anterior
   (mesma ordem; colunas iguais às de .people em cada largura). */
html[data-profs="grelha"] .people-rows { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
html[data-profs="grelha"] .people--row { display: contents; }
html[data-profs="grelha"] .people--row > .person { width: auto; }
@media (max-width: 1080px) { html[data-profs="grelha"] .people-rows { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { html[data-profs="grelha"] .people-rows { grid-template-columns: 1fr 1fr; gap: 14px; } }
@media (max-width: 400px) { html[data-profs="grelha"] .people-rows { grid-template-columns: 1fr; } }


/* ---------- Hall of Fame em timeline horizontal (js/hof-timeline.js), 2026-11-12, revisto após 4 auditorias ----------
   Por omissão: barra (resumo, pesquisa, ver todos) + linha do tempo + um ano de cada vez.
   html[data-hof="lista"] = a lista original com todos os anos (e o botão para voltar). */
html[data-hof="lista"] .hof-tl { display: none; }
html:not([data-hof="lista"]) .has-hof-tl .hof-year { display: none; }
.hof-back { display: none; }
html[data-hof="lista"] .has-hof-tl .hof-back { display: inline-flex; }

.hof-tl { --hof-h: clamp(380px, 40vw, 440px); display: flex; flex-direction: column; gap: 8px; }
.hof-bar { margin-bottom: 10px; }

/* barra de cima */
.hof-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.hof-summary { margin: 0; line-height: 40px; font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.hof-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.hof-search {
  width: 220px; height: 40px; padding: 0 14px; border-radius: 999px; font: inherit; font-size: .9rem;
  background: rgba(var(--rgb-panel), .5); color: var(--fg); border: 1px solid rgba(var(--rgb-fg), .25);
}
.hof-search::placeholder { color: var(--muted); }
.hof-search:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(var(--rgb-accent), .25); }
.hof-search:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.hof-search[aria-invalid="true"] { border-color: #e2554f; }
.hof-msg { flex-basis: 100%; margin: 0; font-size: .82rem; color: var(--muted); text-align: right; min-height: 1.2em; }
.hof-alt { background: none; border: 0; padding: 0; font: inherit; color: var(--gold); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.hof-alt:hover { color: var(--fg); }
.hof-search.is-miss { animation: hof-miss .35s ease; }
@keyframes hof-miss { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.hof-all, .hof-back {
  height: 40px; padding: 0 16px; border-radius: 999px; font: inherit; font-size: .88rem; font-weight: 700; cursor: pointer;
  background: none; color: var(--fg); border: 1px solid rgba(var(--rgb-fg), .35); transition: border-color .2s ease, color .2s ease;
}
.hof-all:hover, .hof-back:hover { border-color: var(--gold); color: var(--gold); }
.hof-back { align-items: center; margin-bottom: 20px; }
/* DoCEIS 2027 (2026-11-13): "Show all editions" com a cor de destaque da paleta, para se notar mais */
.hof-all {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: var(--on-accent); border-color: var(--gold);
  box-shadow: 0 6px 18px rgba(var(--rgb-accent), .28);
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.hof-all::before {
  content: ""; width: 14px; height: 14px; flex-shrink: 0; background: currentColor;
  -webkit-mask: linear-gradient(#000 0 0) 0 0 / 6px 6px no-repeat, linear-gradient(#000 0 0) 100% 0 / 6px 6px no-repeat, linear-gradient(#000 0 0) 0 100% / 6px 6px no-repeat, linear-gradient(#000 0 0) 100% 100% / 6px 6px no-repeat;
          mask: linear-gradient(#000 0 0) 0 0 / 6px 6px no-repeat, linear-gradient(#000 0 0) 100% 0 / 6px 6px no-repeat, linear-gradient(#000 0 0) 0 100% / 6px 6px no-repeat, linear-gradient(#000 0 0) 100% 100% / 6px 6px no-repeat;
}
.hof-all:hover { background: var(--gold-deep, var(--gold)); border-color: var(--gold-deep, var(--gold)); color: var(--on-accent); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(var(--rgb-accent), .38); }
.hof-all:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .hof-all, .hof-all:hover { transition: none; transform: none; } }

/* linha do tempo */
.hof-rail { overflow-x: auto; scrollbar-width: none; padding: 4px 0 2px; }
.hof-rail::-webkit-scrollbar { display: none; }
.hof-rail.is-overflow:not(.at-start):not(.at-end) { -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); }
.hof-rail.is-overflow.at-start:not(.at-end) { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); }
.hof-rail.is-overflow.at-end:not(.at-start) { -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px); mask-image: linear-gradient(90deg, transparent, #000 40px); }
.hof-track { position: relative; display: flex; min-width: 100%; width: max-content; padding: 0 16px; }
.hof-track::before { /* linha tracejada, do 1.º ao último ponto */
  content: ""; position: absolute; left: var(--x0, 48px); right: var(--xN, 48px); top: 15.5px; height: 3px;
  background: repeating-linear-gradient(90deg, rgba(var(--rgb-fg), .28) 0 8px, transparent 8px 14px);
}
.hof-fill { position: absolute; left: var(--x0, 48px); top: 15.5px; height: 3px; width: 0; background: var(--gold); border-radius: 2px; transition: width .45s cubic-bezier(.2,.7,.2,1); }
.hof-tab {
  position: relative; flex: 1 0 52px; display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 10px 2px 8px; min-height: 48px; background: none; border: 0; cursor: pointer; color: var(--muted); font: inherit;
}
.hof-dot { box-sizing: border-box; width: 14px; height: 14px; border-radius: 50%; background: var(--bg-2); border: 3px solid rgba(var(--rgb-fg), .45); transition: transform .25s ease, background-color .25s ease, border-color .25s ease, box-shadow .25s ease; }
.hof-tab.is-past .hof-dot { border-color: var(--gold); background: var(--gold); }
.hof-tab__y { font-size: .86rem; font-weight: 700; letter-spacing: .02em; transition: color .2s ease, transform .2s ease; }
.hof-tab:hover .hof-tab__y { color: var(--fg); }
.hof-tab:hover .hof-dot { border-color: var(--gold); }
.hof-tab[aria-selected="true"] .hof-dot { transform: scale(1.45); border-color: var(--gold); background: var(--bg-1); box-shadow: 0 0 0 5px rgba(var(--rgb-accent), .22); }
.hof-tab[aria-selected="true"] .hof-tab__y { color: var(--gold); font-weight: 800; transform: scale(1.12); }

/* palco */
.hof-stage {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: var(--hof-h); padding: clamp(28px, 3vw, 40px) clamp(64px, 8vw, 104px);
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-lg); background: var(--panel);
  border: 1px solid rgba(var(--rgb-fg), .12);
  box-shadow: 0 18px 40px rgba(var(--rgb-deep), .25);
  touch-action: pan-y;
}
.hof-stage::after { content: ""; position: absolute; top: 0; left: 28px; right: 28px; height: 3px; background: var(--gold); border-radius: 0 0 3px 3px; z-index: 1; }
/* fundo: uma foto do ano (quando houver), com véu radial na cor da paleta */
.hof-bg { position: absolute; inset: 0; z-index: -2; }
.hof-bg__foto { position: absolute; inset: 0; background: center / cover no-repeat; animation: hof-foto 900ms ease both; }
html[data-claro] .hof-bg__foto { filter: grayscale(.3); }
.hof-stage.has-fotos::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse at center, rgba(var(--rgb-panel), .92) 35%, rgba(var(--rgb-panel), .6) 100%);
}
@keyframes hof-foto { from { opacity: 0; } }
/* sem fotos: o ano em grande, só em contorno, cortado em baixo (não cruza o texto) */
.hof-ghost {
  position: absolute; z-index: -1; left: 50%; bottom: -.38em; transform: translateX(-50%);
  font-size: clamp(8rem, 20vw, 17rem); font-weight: 800; line-height: 1; letter-spacing: -0.04em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(var(--rgb-accent), .10); pointer-events: none; white-space: nowrap;
  user-select: none; -webkit-user-select: none;
}
.hof-stage.has-fotos .hof-ghost { display: none; }

.hof-panel { width: 100%; display: flex; flex-direction: column; align-items: center; gap: clamp(22px, 3vw, 32px); border-radius: 12px; }
.hof-panel:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; }
.hof-head { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.hof-head .year-tile { display: block; width: 120px; padding: 12px 8px; justify-self: auto; }
.hof-head .year-tile .m, .hof-head .year-tile .d { display: block; }
.hof-head .year-tile .d { font-size: 2.2rem; }
.hof-head__n { font-size: .9rem; color: var(--muted); }
.hof-head__tema { margin: 0; max-width: 24ch; font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 700; line-height: 1.25; color: var(--fg); text-align: left; padding-left: 22px; border-left: 3px solid var(--gold); text-wrap: balance; } /* tema da edição (título das atas Springer), ao lado da caixa do ano */
.hof-head:has(.hof-head__tema) { flex-direction: row; justify-content: center; gap: 22px; text-align: left; }
.hof-people { list-style: none; margin: 0; padding: 0; width: 100%; display: flex; flex-wrap: wrap; justify-content: center; gap: 28px clamp(20px, 4vw, 48px); }
.hof-person { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; width: 170px; border-radius: 16px; }
.hof-person img { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; border: 4px solid var(--gold); background: var(--photo-bg); box-shadow: 0 12px 28px rgba(var(--rgb-deep), .35); -webkit-user-drag: none; }
.hof-person span { font-weight: 700; font-size: 1.05rem; line-height: 1.3; color: var(--fg); min-height: 2.6em; } /* 2 linhas: altura estável entre anos */
.hof-person.is-hit img { animation: hof-hit 1.6s ease; outline: 3px solid var(--gold); outline-offset: 4px; }
@keyframes hof-hit { 0%, 100% { box-shadow: 0 12px 28px rgba(var(--rgb-deep), .35); } 20%, 60% { box-shadow: 0 0 0 8px rgba(var(--rgb-accent), .45), 0 12px 28px rgba(var(--rgb-deep), .35); } }
@media (prefers-reduced-motion: no-preference) {
  .hof-person { animation: hof-in .45s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(60ms + var(--i) * 60ms); }
}
@keyframes hof-in { from { opacity: 0; transform: translateX(calc(var(--dir, 0) * 18px)) scale(.97); } }
/* anos com 4 oradores: cabem numa linha também a 1024 */
@media (max-width: 1180px) and (min-width: 681px) {
  .hof-people[data-n="4"] { gap: 24px 20px; }
  .hof-people[data-n="4"] .hof-person { width: 150px; }
  .hof-people[data-n="4"] .hof-person img { width: 128px; height: 128px; }
}

/* setas nos lados do palco */
.hof-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: rgba(var(--rgb-panel), .6); color: var(--fg); border: 1px solid rgba(var(--rgb-fg), .2);
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, opacity .2s ease;
}
.hof-nav svg { width: 22px; height: 22px; }
.hof-nav--prev { left: clamp(10px, 2vw, 24px); }
.hof-nav--next { right: clamp(10px, 2vw, 24px); }
.hof-nav:hover:not(:disabled) { background: var(--gold); color: var(--on-accent); border-color: var(--gold); }
.hof-nav:disabled { opacity: .35; border-style: dashed; cursor: default; }

@media (max-width: 680px) {
  .hof-tl { --hof-h: 0px; }
  .hof-bar { flex-direction: column; align-items: stretch; }
  .hof-tools { display: grid; grid-template-columns: 1fr auto; }
  .hof-search { width: 100%; }
  .hof-search, .hof-all { font-size: 16px; min-height: 44px; }
  .hof-search { min-width: 0; padding: 0 12px; }
  .hof-all { padding: 0 12px; }
  .hof-summary { line-height: 1.4; }
  .hof-summary { font-size: .74rem; letter-spacing: .05em; }
  .hof-msg { text-align: left; }
  .hof-head .year-tile { width: 104px; }
  .hof-head .year-tile .d { font-size: 1.9rem; }
  .hof-head:has(.hof-head__tema) { flex-direction: column; gap: 12px; text-align: center; }
  .hof-head__tema { font-size: 1.05rem; text-align: center; padding: 0; border: 0; max-width: 28ch; }
  .hof-stage { padding: 26px 14px 84px; }
  .hof-nav { top: auto; bottom: 20px; transform: none; width: 44px; height: 44px; }
  .hof-nav--prev { left: calc(50% - 54px); }
  .hof-nav--next { right: calc(50% - 54px); }
  .hof-people { gap: 22px 14px; }
  .hof-person { width: calc(50% - 8px); gap: 10px; }
  .hof-person img { width: 112px; height: 112px; }
  .hof-person span { font-size: .95rem; min-height: 2.6em; }   /* altura estável: as setas não saltam entre anos */
  .hof-ghost { font-size: 6.5rem; bottom: -.3em; }
}
@media (prefers-reduced-motion: reduce) { .hof-fill, .hof-dot, .hof-tab__y { transition: none; } .hof-bg__foto, .hof-person, .hof-search.is-miss, .hof-person.is-hit img { animation: none; } }

/* ---------- Hall of Fame: timeline VERTICAL (html[data-hof="vertical"]), só em ecrãs largos ----------
   Anos numa linha vertical à esquerda (do mais antigo, em cima, ao mais recente) e o palco à direita.
   No telemóvel (≤ 680 px) fica igual à horizontal. js/hof-timeline.js deteta a orientação pelo CSS. */
@media (min-width: 681px) {
  html[data-hof="vertical"] .hof-tl { display: grid; grid-template-columns: 108px 1fr; column-gap: 28px; row-gap: 0; }
  html[data-hof="vertical"] .hof-bar { grid-column: 1 / -1; }
  html[data-hof="vertical"] .hof-railwrap { position: relative; grid-column: 1; grid-row: 2; }
  html[data-hof="vertical"] .hof-stage { grid-column: 2; grid-row: 2; }
  html[data-hof="vertical"] .hof-rail { position: absolute; inset: 0; overflow-x: hidden; overflow-y: auto; padding: 0; }
  html[data-hof="vertical"] .hof-rail.is-overflow:not(.at-start):not(.at-end) { -webkit-mask-image: linear-gradient(180deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(180deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); }
  html[data-hof="vertical"] .hof-rail.is-overflow.at-start:not(.at-end) { -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(180deg, #000 calc(100% - 40px), transparent); }
  html[data-hof="vertical"] .hof-rail.is-overflow.at-end:not(.at-start) { -webkit-mask-image: linear-gradient(180deg, transparent, #000 40px); mask-image: linear-gradient(180deg, transparent, #000 40px); }
  html[data-hof="vertical"] .hof-track { flex-direction: column; width: auto; min-width: 0; padding: 6px 0; }
  html[data-hof="vertical"] .hof-track::before { left: 22.5px; right: auto; width: 3px; height: auto; top: var(--x0, 24px); bottom: var(--xN, 24px);
    background: repeating-linear-gradient(180deg, rgba(var(--rgb-fg), .28) 0 8px, transparent 8px 14px); }
  html[data-hof="vertical"] .hof-fill { left: 22.5px; top: var(--x0, 24px); width: 3px; height: 0; transition: height .45s cubic-bezier(.2,.7,.2,1); }
  html[data-hof="vertical"] .hof-tab { flex: 0 0 30px; height: 30px; min-height: 0; flex-direction: row; justify-content: flex-start; gap: 14px; padding: 0 6px 0 17px; }
  html[data-hof="vertical"] .hof-tab__y { font-size: .82rem; }
  html[data-hof="vertical"] .hof-tab__y { transform-origin: left center; }
  html[data-hof="vertical"] .hof-stage { min-height: 540px; padding: 36px 48px 84px; }
  /* setas em baixo à direita, a apontar para cima (ano anterior) e para baixo (seguinte), como a linha */
  html[data-hof="vertical"] .hof-nav { top: auto; bottom: 18px; transform: none; }
  html[data-hof="vertical"] .hof-nav--prev { left: auto; right: 74px; }
  html[data-hof="vertical"] .hof-nav--next { right: 18px; }
  html[data-hof="vertical"] .hof-nav svg { transform: rotate(90deg); }
  /* palco mais estreito: os anos com 4 oradores ficam numa linha */
  html[data-hof="vertical"] .hof-people[data-n="4"] { gap: 24px 16px; }
  html[data-hof="vertical"] .hof-people[data-n="4"] .hof-person { width: 140px; }
  html[data-hof="vertical"] .hof-people[data-n="4"] .hof-person img { width: 120px; height: 120px; }
}
@media (min-width: 681px) and (max-width: 1180px) {
  html[data-hof="vertical"] .hof-people[data-n="4"] .hof-person { width: 128px; }
  html[data-hof="vertical"] .hof-people[data-n="4"] .hof-person img { width: 108px; height: 108px; }
}
@media (min-width: 681px) and (prefers-reduced-motion: reduce) { html[data-hof="vertical"] .hof-fill { transition: none; } }
@media (min-width: 681px) and (pointer: coarse) { html[data-hof="vertical"] .hof-tab { flex-basis: 44px; height: 44px; } } /* tablets: alvos de toque de 44 px (a linha passa a deslizar) */

/* ---------- Institucional: variações da cor de destaque (data-acento), 2026-11-13 ----------
   Substituem o amarelo (#f1a926): traços dos títulos, marcadores, linha dos patrocinadores, moldura das fotos,
   títulos do rodapé (--accent-on-dark) e o "2027" do logótipo (images/logo/doceis-logo-2027-inst-*.png). */
html[data-paleta="institucional"][data-acento="vermelho"],
html[data-paleta="institucional"][data-acento="vermelho-titulo"] { --acento: #b8323a; --accent-on-dark: #f2867d; --rgb-accent2: 184, 50, 58; --glow2: rgba(184, 50, 58, 0.07); }
html[data-paleta="institucional"][data-acento="laranja"] { --acento: #e2582a; --accent-on-dark: #ffa27a; --rgb-accent2: 226, 88, 42; --glow2: rgba(226, 88, 42, 0.07); }
html[data-paleta="institucional"][data-acento="coral"] { --acento: #ec6a5a; --accent-on-dark: #ffa497; --rgb-accent2: 236, 106, 90; --glow2: rgba(236, 106, 90, 0.08); }
html[data-paleta="institucional"][data-acento="ciano"] { --acento: #2a9fd6; --accent-on-dark: #7fd0f5; --rgb-accent2: 42, 159, 214; --glow2: rgba(42, 159, 214, 0.08); }
html[data-paleta="institucional"][data-acento="verde"] { --acento: #14937f; --accent-on-dark: #6fdcc6; --rgb-accent2: 20, 147, 127; --glow2: rgba(20, 147, 127, 0.07); }
/* cores extra, só na versão com opções fixas (proposta_institucional, via js/fixo.js) */
html[data-paleta="institucional"][data-acento="bordeaux"] { --acento: #8c2433; --accent-on-dark: #f08a96; --rgb-accent2: 140, 36, 51; --glow2: rgba(140, 36, 51, 0.07); }
html[data-paleta="institucional"][data-acento="dourado"] { --acento: #c8952b; --accent-on-dark: #e8b960; --rgb-accent2: 200, 149, 43; --glow2: rgba(200, 149, 43, 0.08); }
html[data-paleta="institucional"][data-acento="ardosia"] { --acento: #5d7085; --accent-on-dark: #a9bccf; --rgb-accent2: 93, 112, 133; --glow2: rgba(93, 112, 133, 0.07); }
html[data-paleta="institucional"][data-acento] .dash-title::before,
html[data-paleta="institucional"][data-acento] .pc-list li::before,
html[data-paleta="institucional"][data-acento] .draft-tag::before { background: var(--acento); }
html[data-paleta="institucional"][data-acento] .person__photo,
html[data-paleta="institucional"][data-acento] .sponsors { border-color: var(--acento); }
/* "também no título": a parte "AI-reshaped Life" do título da Home fica no vermelho da ponte */
html[data-paleta="institucional"][data-acento="vermelho-titulo"] .display--theme .gold { --gold: var(--acento); --accent-hover: #d64a48; color: var(--acento); } /* --gold também, para o degradê das animações "rica" */
.pal-picker [hidden] { display: none !important; }
/* Destaque também no título (data-acento-titulo, 2026-11-13): "AI-reshaped Life" na cor de destaque escolhida, qualquer que seja.
   --gold e --accent-hover também, para o degradê das animações "rica". */
html[data-paleta="institucional"] { --acento: #f1a926; }
html[data-paleta="institucional"][data-acento-titulo] .display--theme .gold {
  --gold: var(--acento); --accent-hover: color-mix(in srgb, var(--acento) 78%, #fff); color: var(--acento);
}
