/* ============================================================
   MAKALU PARTNERS — PROPOSTA (3) · Clean, estrutura BDT & MSD
   Paleta oficial: Navy #0F172E · Laranja #D26847 · Creme #F2E4CE · Cinza-azul #8B9BB0
   Tipografia: DIN Next LT Pro → Barlow · detalhes em IBM Plex Mono
   ============================================================ */

:root {
  --navy: #0F172E;
  --navy-2: #141D3A;
  --cream: #FAF6EC;
  --cream-brand: #F2E4CE;
  --band: #EFE8DA;
  --ink: #0F172E;
  --ink-soft: #3D4560;
  --mute: #8B9BB0;
  --paper: #F5EFE1;
  --orange: #D26847;
  --glow: rgba(224, 125, 94, .85);
  --line-dark: rgba(15, 23, 46, .14);
  --line-light: rgba(245, 239, 225, .18);
  --f: 'Barlow', system-ui, sans-serif;
  --fm: 'IBM Plex Mono', ui-monospace, monospace;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: var(--f); font-weight: 300; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 1px solid var(--orange); outline-offset: 4px; }
[hidden] { display: none !important; }

/* ============ ABERTURA (logo) ============ */
.intro { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; pointer-events: none; background: var(--navy); animation: introFade .5s var(--ease) 1.5s forwards; }
.intro-logo { position: relative; z-index: 1; width: min(54vw, 150vh); /* logo grande e nítido: arquivo HD do "Logo Maka Vetor.svg" oficial */ filter: invert(1) brightness(1.8); opacity: 0; animation: introLogo 1.6s var(--ease) .15s forwards; }
@keyframes introLogo { 0% { opacity: 0; transform: scale(.97); } 30%, 80% { opacity: 1; transform: none; } 100% { opacity: 0; transform: scale(1.02); } } /* entra em ~0,5 s, fica ~0,8 s, sai */
@keyframes introFade { to { opacity: 0; } }

/* ============ PÁGINA 1 · HOME ============ */
body.home { background: var(--navy); color: var(--paper); }
.bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.bg::before { content: ""; position: absolute; inset: 0; background: url('assets/makalu-hero.jpg') center 35% / cover no-repeat; filter: grayscale(1) contrast(1.05); opacity: .07; transition: opacity 4s var(--ease); }
/* luz do dia sobre a montanha: muda com o horário de quem visita; o navy e as cores da marca não mudam */
.sky { position: fixed; inset: 0; z-index: 0; pointer-events: none; animation: skyIn 3s var(--ease) .4s both; }
.sky i { position: absolute; inset: 0; opacity: 0; transition: opacity 4s var(--ease); }
.sky i[data-l="amanhecer"] { mix-blend-mode: screen; background: radial-gradient(ellipse 50% 40% at 42% 26%, rgba(240, 168, 130, .18), transparent 70%), linear-gradient(180deg, rgba(240, 168, 130, .05), transparent 50%); }
.sky i[data-l="entardecer"] { mix-blend-mode: screen; background: radial-gradient(ellipse 75% 60% at 82% 100%, rgba(210, 104, 71, .27), transparent 70%), linear-gradient(0deg, rgba(210, 104, 71, .08), transparent 60%); }
.sky i[data-l="noite"] { background: radial-gradient(ellipse 36% 30% at 72% 10%, rgba(129, 198, 206, .06), transparent 70%), rgba(5, 9, 22, .36); }
html[data-luz="amanhecer"] .sky i[data-l="amanhecer"], html[data-luz="entardecer"] .sky i[data-l="entardecer"], html[data-luz="noite"] .sky i[data-l="noite"] { opacity: 1; }
html[data-luz="amanhecer"] .bg::before, html[data-luz="entardecer"] .bg::before { opacity: .085; }
html[data-luz="noite"] .bg::before { opacity: .05; }
@keyframes skyIn { from { opacity: 0; } }
/* montanha desconstruída (grafismo oficial, 8 peças): se abre em círculo até as bordas e fica parada; a página passa entre as peças */
.mtn { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; opacity: 0; transition: opacity 1.2s var(--ease); }
.mtn.on { opacity: 1; }
html[data-luz="noite"] .mtn.on { opacity: .75; }
.mp { position: absolute; left: 0; top: 0; max-width: none; transform-origin: 50% 50%; opacity: .13; will-change: transform; }
.mtn.azul .mp { opacity: .2; filter: drop-shadow(0 0 22px rgba(139, 155, 176, .55)); }
main { transition: opacity .8s var(--ease); }
html.abertura main { opacity: 0; animation: mostraTexto 0s 4s forwards; } /* segurança: o texto aparece de qualquer jeito */
@keyframes mostraTexto { to { opacity: 1; } }
.vignette { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 45%, transparent 35%, rgba(10, 16, 34, .55) 100%); }

body.home::before { content: ""; position: fixed; top: 0; left: 0; right: 0; height: 100px; z-index: 5; pointer-events: none; background: linear-gradient(180deg, rgba(15, 23, 46, .96) 40%, rgba(15, 23, 46, 0)); }
.logo-top { position: fixed; top: 30px; left: 50%; z-index: 10; transform: translateX(-50%); }
.logo-top img { height: 28px; width: auto; filter: invert(1) brightness(1.8); }

.screen { position: relative; z-index: 1; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; }
.copy { width: min(560px, calc(100% - 48px)); margin-left: max(24px, calc(50% - 300px)); font-size: 24px; line-height: 1.3; letter-spacing: -.02em; }
.copy p + p { margin-top: 30px; }
.glow { color: #fff; text-shadow: 0 0 10px rgba(240, 168, 130, .95), 0 0 24px rgba(210, 104, 71, .45); }
.copy .glow + p.cont { margin-top: 30px; } /* mesmo espaço do bloco 2 entre a frase de destaque e o texto */

.btn-sol { display: inline-flex; align-items: center; gap: 10px; margin-top: 40px; padding: 9px 14px; border-radius: 4px; background: var(--cream); color: var(--navy); font: 400 13px var(--fm); letter-spacing: .02em; text-transform: uppercase; transition: background .3s, color .3s; }
.btn-sol svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.6; transition: transform .3s var(--ease); }
.btn-sol:hover { background: var(--orange); color: var(--navy); }
.btn-sol:hover svg { transform: translateX(3px); }

/* horários e moedas */
/* os dois blocos com respiro entre eles; a faixa de horários vem abaixo do bloco 2 */
.screen-1 { min-height: auto; padding: max(210px, 30vh) 0 0; }
.screen-2 { --gap: clamp(300px, 42vh, 460px); min-height: auto; flex-direction: column; padding: var(--gap) 0 clamp(180px, 26vh, 300px); }
.screen-2 .copy { align-self: flex-start; }
.world { position: relative; z-index: 1; width: min(1320px, calc(100% - 80px)); margin: clamp(220px, 30vh, 340px) auto 0; display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid rgba(245, 239, 225, .12); border-bottom: 1px solid rgba(245, 239, 225, .12); }
.w-item { display: flex; flex-direction: column; gap: 6px; padding: 24px 24px 22px 0; }
.w-city { font: 400 11px var(--fm); letter-spacing: .08em; text-transform: uppercase; color: rgba(245, 239, 225, .55); }
.w-time { font-size: 28px; font-weight: 300; letter-spacing: -.01em; font-variant-numeric: tabular-nums; color: var(--paper); }
.w-fx { font: 400 12px var(--fm); color: rgba(245, 239, 225, .6); }
.w-fx b { margin-left: 8px; font-weight: 400; color: var(--paper); }
.w-fx i { margin-left: 8px; font-style: normal; }
.w-fx i[data-dir="up"] { color: #81C6CE; }
.w-fx i[data-dir="down"] { color: #E07D5E; }
.w-src { position: relative; z-index: 1; width: min(1320px, calc(100% - 80px)); margin: 12px auto 0; font: 400 10px var(--fm); letter-spacing: .04em; text-transform: uppercase; color: rgba(245, 239, 225, .38); }

/* empresas do grupo (faixa regulatória, como no BDT) */
.entities { position: relative; z-index: 1; background: var(--cream); color: var(--ink); padding: 34px 40px; }
.ent-grid { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px 44px; align-items: start; }
.ent-head { width: 100%; display: flex; align-items: center; justify-content: flex-start; gap: 12px; padding: 14px 0; font-size: 16px; font-weight: 300; letter-spacing: -.01em; text-align: left; }
.ent-head .peca { width: 28px; height: 36px; order: -1; } /* o + fica à esquerda do nome, como na página de soluções */
.ent-head:hover .peca { transform: scale(1.08); }
.ent.open > .ent-head .peca { background-image: url('assets/peca-laranja.png'); }
.ent.open > .ent-head .peca::before { transform: translate(-50%, -50%) rotate(45deg); }
.ent.open > .ent-head .peca::after { transform: translate(-50%, -50%) rotate(-45deg); }
.ent-body { padding: 0 24px 14px 40px; font-size: 12px; font-weight: 400; line-height: 1.65; color: var(--ink-soft); animation: fadeIn .4s var(--ease); }
.ent-body p + p { margin-top: 6px; }
.ent-body a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(15, 23, 46, .35); }
.ent-body a:hover { color: var(--orange); text-decoration-color: var(--orange); }

/* rodapé da home */
.foot { position: relative; z-index: 1; background: #0A1022; border-top: 1px solid rgba(245, 239, 225, .08); color: rgba(245, 239, 225, .6); font-size: 12px; font-weight: 400; line-height: 1.7; }
.foot-in { max-width: 1320px; margin: 0 auto; padding: 36px 40px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.foot-left { display: flex; align-items: center; gap: 22px; }
.foot-mark { height: 34px; width: auto; opacity: .9; flex-shrink: 0; }
.foot a { color: rgba(245, 239, 225, .85); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(245, 239, 225, .3); transition: color .25s, text-decoration-color .25s; }
.foot a:hover { color: var(--orange); text-decoration-color: var(--orange); }
.foot-right { display: flex; align-items: center; gap: 40px; }
.foot-right span { display: block; color: var(--paper); font-weight: 500; }
.foot a.foot-li { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 4px; background: var(--paper); color: var(--navy); text-decoration: none; }
.foot a.foot-li:hover { background: var(--orange); color: var(--navy); }
.foot-li svg { width: 16px; height: 16px; fill: currentColor; }

/* página de privacidade */
.legal { max-width: 720px; margin: 0 auto; padding: 180px 24px 120px; }
.legal h1 { margin: 18px 0 24px; font-size: 36px; font-weight: 300; letter-spacing: -.02em; }
.legal .tagline { text-align: left; margin-bottom: 0; color: var(--mute); }
.btn-sol.btn-dark { background: var(--navy); color: var(--paper); }
.btn-sol.btn-dark:hover { background: var(--orange); color: var(--navy); }

/* ============ PÁGINA 2 · SOLUÇÕES ============ */
body.sol { background: var(--cream); color: var(--ink); transition: background-color .6s var(--ease), color .6s var(--ease); }
body.sol.dark { background: var(--navy); color: var(--paper); }
.sol-logo { position: absolute; top: 30px; left: 40px; z-index: 10; }
.sol-logo img { height: 28px; width: auto; transition: filter .6s var(--ease); }
body.sol.dark .sol-logo img { filter: invert(1) brightness(1.8); }

.sol-top { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 120px 40px 90px; }
.tagline { text-align: center; font: 400 14px var(--fm); letter-spacing: .01em; text-transform: uppercase; margin-bottom: 70px; }

.pillars { width: 100%; max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); }
.pillar { position: relative; min-height: 440px; display: flex; flex-direction: column; justify-content: center; padding: 0 22px; border-left: 1px solid var(--line-dark); transition: border-color .6s var(--ease); }
.pillar:first-child { border-left: 0; }
body.dark .pillar { border-left-color: var(--line-light); }
body.dark .pillar:first-child { border-left: 0; }
.pillar-head { display: flex; align-items: center; gap: 16px; text-align: left; } /* o + fica perto da palavra, como no BDT */
.pillar-head h2 { font-weight: 300; font-size: clamp(19px, 1.45vw, 23px); line-height: 1.2; letter-spacing: -.02em; transition: color .5s var(--ease); }
body.dark .pillar:not(.open) .pillar-head h2 { color: rgba(245, 239, 225, .36); }
.pillar-text { max-width: 270px; max-height: 0; overflow: hidden; opacity: 0; font-size: 16px; line-height: 1.45; transition: max-height .6s var(--ease), opacity .45s var(--ease), margin .6s var(--ease); }
.pillar.open .pillar-text { max-height: 240px; opacity: 1; margin-top: 22px; }

/* botão "+" sobre a peça da montanha desconstruída */
.peca { position: relative; flex-shrink: 0; width: 34px; height: 44px; background: url('assets/peca-clara.png') center / contain no-repeat; transition: background-image .4s, transform .5s var(--ease); }
.peca::before, .peca::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: var(--navy); transform: translate(-50%, -50%); transition: transform .4s var(--ease), background .4s; }
.peca::after { transform: translate(-50%, -50%) rotate(90deg); }
.pillar-head:hover .peca, .band-head:hover .peca { transform: scale(1.08); }
.open > .pillar-head .peca, .open > .band-head .peca { background-image: url('assets/peca-laranja.png'); }
.open > .pillar-head .peca::before, .open > .band-head .peca::before { transform: translate(-50%, -50%) rotate(45deg); }
.open > .pillar-head .peca::after, .open > .band-head .peca::after { transform: translate(-50%, -50%) rotate(-45deg); }
body.dark .pillar:not(.open) .peca { background-image: url('assets/peca-escura.png'); }
body.dark .pillar:not(.open) .peca::before, body.dark .pillar:not(.open) .peca::after { background: rgba(245, 239, 225, .45); }

/* faixa final: time, regulatório, contatos */
.band { background: var(--band); color: var(--ink); padding: 60px 40px 80px; }
.band-row { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.band-item .band-head { width: 100%; display: flex; align-items: center; justify-content: flex-start; gap: 14px; padding: 18px 0; font-size: 20px; letter-spacing: -.01em; text-align: left; }
.band-head .peca { order: -1; } /* o + fica à esquerda da palavra */
.band-panel { max-width: 1320px; margin: 36px auto 0; padding-top: 40px; border-top: 1px solid var(--line-dark); animation: fadeIn .5s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.panel-k { font: 400 12px var(--fm); letter-spacing: .02em; text-transform: uppercase; color: var(--mute); margin-bottom: 18px; }

/* time */
.team { display: grid; grid-template-columns: repeat(6, 1fr); gap: 28px 20px; align-items: start; }
.tm { text-align: left; }
.tm-photo { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 2px; background: #E4DDCE; display: grid; place-items: center; font-size: 34px; color: var(--mute); }
.tm-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: transform .8s var(--ease); }
.tm:hover .tm-photo img { transform: scale(1.04); }
.tm-name { display: block; margin-top: 12px; font-size: 15px; font-weight: 400; }
.tm-role { display: block; margin-top: 3px; font: 400 11px var(--fm); text-transform: uppercase; color: var(--mute); }

/* regulatório e contatos */
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.txt { font-size: 16px; line-height: 1.6; color: var(--ink-soft); max-width: 560px; }
.txt + .txt { margin-top: 14px; }
.docs { list-style: none; }
.docs li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-dark); font-size: 15px; }
.docs li span { font: 400 11px var(--fm); text-transform: uppercase; color: var(--mute); white-space: nowrap; }
.docs li a { flex: 1; display: flex; justify-content: space-between; gap: 16px; color: inherit; transition: color .25s; }
.docs li a span { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-dark); transition: color .25s; }
.docs li a:hover, .docs li a:hover span { color: var(--orange); text-decoration-color: var(--orange); }
.lnk { border-bottom: 1px solid currentColor; }
.lnk:hover { color: var(--orange); }
.fine { margin-top: 28px; font-size: 12px; line-height: 1.6; color: var(--mute); max-width: 760px; }
.ct p, .ct a { display: block; font-size: 16px; line-height: 1.7; color: var(--ink-soft); }
.ct a:hover { color: var(--orange); }
.ct small { display: block; font: 400 11px var(--fm); text-transform: uppercase; color: var(--mute); margin-top: 14px; }
.ct small:first-child { margin-top: 0; }
.wa { display: inline-flex !important; align-items: center; gap: 7px; margin-top: 12px; padding: 6px 12px; border: 1px solid var(--line-dark); border-radius: 999px; font-size: 13px !important; line-height: 1 !important; }
.wa svg { width: 13px; height: 13px; fill: currentColor; }
.wa:hover { background: #25D366; border-color: #25D366; color: #fff !important; }

/* bio da pessoa */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 24px; background: rgba(15, 23, 46, .72); animation: fadeIn .3s var(--ease); }
.modal-box { position: relative; width: min(760px, 100%); max-height: 88vh; overflow: auto; display: grid; grid-template-columns: 260px 1fr; gap: 32px; padding: 32px; background: var(--cream); color: var(--ink); border-radius: 4px; }
.modal-box img, .modal-box .tm-photo { width: 100%; aspect-ratio: 1; object-fit: cover; filter: grayscale(1); }
.modal-name { font-size: 28px; font-weight: 300; letter-spacing: -.02em; }
.modal-role { margin-top: 6px; font: 400 12px var(--fm); text-transform: uppercase; color: var(--orange); }
.modal-bio { margin-top: 18px; font-size: 15px; line-height: 1.65; color: var(--ink-soft); }
.modal-x { position: absolute; top: 14px; right: 14px; font: 400 12px var(--fm); color: var(--mute); padding: 4px 8px; }
.modal-x:hover { color: var(--ink); }
.modal-txt { display: flex; flex-direction: column; }
.modal-nav { margin-top: auto; padding-top: 28px; display: flex; gap: 8px; }
.modal-nav button { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line-dark); border-radius: 4px; color: var(--ink); transition: color .25s, border-color .25s; }
.modal-nav button:hover { color: var(--orange); border-color: var(--orange); }
.modal-nav svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.6; transition: transform .3s var(--ease); }
#m-prev:hover svg { transform: translateX(-3px); }
#m-next:hover svg { transform: translateX(3px); }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 90; transform: translateX(-50%); padding: 10px 16px; border-radius: 999px; background: var(--navy); color: var(--paper); font-size: 13px; opacity: 0; transition: opacity .3s; pointer-events: none; }
.toast.show { opacity: 1; }

/* selo de versão (apresentação) */
.version-badge { position: fixed; right: 16px; top: 16px; z-index: 50; display: inline-flex; gap: 10px; align-items: center; padding: 6px 12px; border-radius: 999px; background: rgba(15, 23, 46, .85); color: var(--paper); font: 400 10px var(--fm); letter-spacing: .04em; text-transform: uppercase; }
.version-badge b { color: var(--orange); font-weight: 500; }
.version-badge a { color: rgba(245, 239, 225, .6); }
.version-badge a:hover { color: var(--orange); }
.luz-badge { position: fixed; left: 16px; bottom: 16px; z-index: 50; display: inline-flex; gap: 10px; align-items: center; padding: 6px 12px; border-radius: 999px; background: rgba(15, 23, 46, .85); color: var(--paper); font: 400 10px var(--fm); letter-spacing: .04em; text-transform: uppercase; }
.luz-badge button { color: rgba(245, 239, 225, .6); text-transform: uppercase; letter-spacing: .04em; }
.luz-badge button:hover, .luz-badge button.on { color: var(--orange); }
.luz-badge .sep { color: rgba(245, 239, 225, .35); }

/* ============ RESPONSIVO ============ */
@media (min-width: 1200px) {
  .pillar-head h2 { white-space: nowrap; }
}
@media (max-width: 1100px) {
  .team { grid-template-columns: repeat(4, 1fr); }
  .ent-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .intro-logo { width: 82vw; }
  .copy { font-size: 20px; }
  .screen-1 { padding: 180px 0 0; }
  .screen-2 { --gap: 250px; padding: var(--gap) 0 140px; }
  .world { width: calc(100% - 48px); margin-top: 160px; grid-template-columns: 1fr 1fr; }
  .w-src { width: calc(100% - 48px); }
  .entities { padding: 24px; }
  .ent-grid { grid-template-columns: 1fr; }
  .ent { border-bottom: 1px solid var(--line-dark); }
  .ent-body { padding-right: 0; }
  .w-item { padding: 18px 12px 16px 0; }
  .w-time { font-size: 24px; }
  .foot-in { flex-direction: column; align-items: flex-start; padding: 32px 24px 48px; }
  .foot-left { align-items: flex-start; }
  .foot-right { flex-direction: column; align-items: flex-start; gap: 18px; }
  .version-badge { top: auto; bottom: 12px; right: 12px; }
  .luz-badge { display: none; }
  .sol-logo { left: 22px; top: 24px; }
  .sol-top { padding: 110px 22px 60px; min-height: auto; }
  .tagline { font-size: 12px; margin-bottom: 36px; }
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar:first-child { min-height: auto; padding: 22px 0; border-left: 0; border-top: 1px solid var(--line-dark); }
  body.dark .pillar, body.dark .pillar:first-child { border-left: 0; border-top-color: var(--line-light); }
  .pillar-head { justify-content: space-between; }
  .pillar-text { max-width: none; }
  .band { padding: 40px 22px 70px; }
  .band-row, .cols, .cols-3 { grid-template-columns: 1fr; gap: 0; }
  .band-item { border-bottom: 1px solid var(--line-dark); }
  .cols, .cols-3 { gap: 36px; }
  .team { grid-template-columns: repeat(2, 1fr); }
  .modal-box { grid-template-columns: 1fr; }
  .modal-box img, .modal-box .tm-photo { max-width: 220px; }
}
@media (prefers-reduced-motion: reduce) {
  .intro { display: none; }
  *, *::before, *::after { transition-duration: .001ms !important; animation-duration: .001ms !important; }
}

/* (3): luz do dia na mesma regra aprovada na (4): o sol espalhado em volta do cume, mais fraco no céu, um tom abaixo,
   entardecer em azul e noite como luar. Sobre o navy a luz clareia (screen). As imagens usam o encaixe da foto (center 35% / cover). */
.sky i[data-l="amanhecer"] { mix-blend-mode: screen; background: url('assets/luz/amanhecer.png') center 35% / cover no-repeat; }
.sky i[data-l="dia"] { mix-blend-mode: screen; background: url('assets/luz/dia.png') center 35% / cover no-repeat; }
.sky i[data-l="entardecer"] { mix-blend-mode: screen; background: url('assets/luz/entardecer.png') center 35% / cover no-repeat; }
.sky i[data-l="noite"] { mix-blend-mode: normal; background: url('assets/luz/noite.png') center 35% / cover no-repeat; }
.sky i[data-l="noite-luar"] { mix-blend-mode: screen; background: url('assets/luz/noite-luar.png') center 35% / cover no-repeat; }
html[data-luz="dia"] .sky i[data-l="dia"], html[data-luz="noite"] .sky i[data-l="noite-luar"] { opacity: 1; }

/* linha de mercados (Ibovespa, etanol, açúcar e milho) logo abaixo dos horários e moedas, alinhada às mesmas colunas */
.world.world-mk { margin-top: 0; border-top: 0; }
.world-mk .w-item { padding-right: 14px; }
.w-fx i { white-space: nowrap; } /* a variação nunca se parte entre linhas */
@media (max-width: 860px) { .world-mk .w-city { min-height: 28px; } } /* no celular os nomes ocupam até 2 linhas: todos com a mesma altura, para os valores ficarem alinhados */

/* faixa de horários, moedas e mercados mais sutil (07/10/2026): letras menores e números menos brilhantes */
.w-item { gap: 4px; padding: 17px 18px 15px 0; }
.world-mk .w-item { padding-right: 12px; }
.w-city { font-size: 10px; }
.w-time { font-size: 20px; }
.w-fx { font-size: 11px; }
body.home .world .w-time { opacity: .85; }
.w-src { font-size: 9px; }
@media (max-width: 860px) {
  .w-item { padding: 14px 10px 12px 0; }
  .w-time { font-size: 18px; }
  .world-mk .w-city { min-height: 26px; }
}

/* logo da página de soluções (e da privacidade) no centro, um pouco maior (03/11/2026) */
.sol-logo { left: 50%; transform: translateX(-50%); top: 30px; }
.sol-logo img { height: 36px; }
@media (max-width: 860px) {
  .sol-logo { left: 50%; top: 30px; } /* mesma altura do logo da Home no celular */
  .sol-logo img { height: 30px; }
}
/* logo do topo da Home no mesmo tamanho do logo da página de soluções (03/11/2026) */
.logo-top img { height: 36px; }
@media (max-width: 860px) { .logo-top img { height: 30px; } }
/* logo do topo um pouco maior nas duas páginas (03/11/2026): 44 px; 34 px no celular */
.logo-top img, .sol-logo img { height: 44px; }
@media (max-width: 860px) { .logo-top img, .sol-logo img { height: 34px; } }

/* Política de Privacidade (minuta de 03/11/2026) */
.legal .pol-data { font: 400 11px var(--fm); letter-spacing: .04em; text-transform: uppercase; color: var(--mute); margin: -10px 0 32px; }
.legal h2 { margin: 34px 0 10px; font-size: 18px; font-weight: 400; letter-spacing: -.01em; color: var(--ink); }
.legal .txt, .legal li { font-size: 15px; line-height: 1.7; color: var(--ink-soft); }
.legal .txt + .txt { margin-top: 10px; }
.legal ul { margin: 8px 0 10px; padding-left: 20px; }
.legal li + li { margin-top: 4px; }
.legal li b { font-weight: 500; color: var(--ink); }
.legal mark.a-definir { background: rgba(210, 104, 71, .16); color: var(--ink); padding: 0 4px; border-radius: 2px; }
.legal .btn-sol { margin-top: 48px; }

/* seletor de idioma PT | EN no canto superior esquerdo (03/11/2026); a cor acompanha o fundo de cada página */
.lang { position: fixed; top: 44px; left: 40px; z-index: 11; display: flex; gap: 8px; align-items: center; font: 400 11px var(--fm); letter-spacing: .08em; color: inherit; }
body.sol .lang { position: absolute; }
.lang a { color: inherit; opacity: .5; transition: opacity .25s, color .25s; }
.lang a:hover { opacity: 1; color: var(--orange); }
.lang a.on { opacity: 1; pointer-events: none; }
.lang span { opacity: .35; }
@media (max-width: 860px) { .lang { top: 40px; left: 22px; } }

/* WhatsApp ao lado do LinkedIn no rodapé da Home (03/11/2026) */
.foot-social { display: flex; gap: 10px; }

/* revisão do Luiz (11/11/2026): contraste e espaçamentos; paleta e composição preservadas */
body.dark .pillar:not(.open) .pillar-head h2 { color: rgba(184, 196, 212, .72); } /* pilares recolhidos mais legíveis no azul (#B8C4D4) */
.tm-role, .panel-k, .ct small, .docs li span, .fine, .legal .pol-data, .modal-x { color: #566477; } /* secundários no fundo claro um pouco mais escuros */
.foot { color: #B8C4D4; } /* rodapé azul: texto secundário mais claro */
@media (max-width: 860px) {
  .screen-2 { --gap: 200px; } /* celular: 20% menos espaço entre o bloco 1 e "Do mesmo lado da mesa" (era 250 px) */
  .world { margin-top: 100px; } /* celular: botão "Nossas soluções" mais perto dos horários e cotações (era 160 px) */
  body.home::before { height: 112px; background: linear-gradient(180deg, var(--navy) 0, var(--navy) 76px, rgba(15, 23, 46, 0) 112px); } /* celular: cabeçalho opaco ao rolar, o texto não passa por trás do logo */
}
