/* Arandu · paleta e tipografia do manual de identidade v1.0 */
:root {
  --carvao: #16140F; --areia: #EDE6D6; --terra: #C2531B;
  --grafite: #2B2822; --pedra: #5A5446; --duna: #DFD7C4; --apoio: #9A9282;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --borda: clamp(24px, 6vw, 96px);
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body { background: var(--carvao); color: var(--areia); font: 400 17px/1.55 'Space Grotesk', system-ui, sans-serif; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
.mono { font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--apoio); }
.h2 { font-size: clamp(34px, 5vw, 68px); line-height: 1.08; font-weight: 700; letter-spacing: -.01em; }
.botao { display: inline-block; white-space: nowrap; padding: 12px 22px; background: var(--terra); color: var(--areia); font: 500 12px var(--mono); letter-spacing: .2em; text-transform: uppercase; transition: background .2s, color .2s; }
.botao:hover, .botao:focus-visible { background: var(--areia); color: var(--carvao); }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; }

/* revelação na rolagem (só com JS ativo) */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity .8s, transform .8s cubic-bezier(.2,.7,.2,1); }
.js .rv.in { opacity: 1; transform: none; }
.desenha { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s .2s ease-out; }
.in .desenha, html:not(.js) .desenha { stroke-dashoffset: 0; }

/* cabeçalho */
.topo { position: fixed; inset: 0 0 auto 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px var(--borda); background: rgba(22,20,15,.92); border-bottom: 1px solid var(--grafite); }
.marca { display: flex; align-items: center; gap: 14px; font-weight: 700; letter-spacing: .24em; }
.marca svg { width: 42px; height: 30px; }
.topo nav { display: flex; align-items: center; gap: 32px; font-size: 15px; }
.topo nav a:not(.botao) { position: relative; }
.topo nav a:not(.botao)::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--terra); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.topo nav a:hover::after { transform: scaleX(1); }

/* hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; padding: 120px var(--borda) 72px; overflow: hidden; }
.hero-simbolo .longe { fill: none; stroke: var(--grafite); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; animation: traco 2.4s .1s ease-out forwards; }
.hero-simbolo { position: absolute; right: 4vw; top: 50%; width: min(46vw, 78vh); transform: translateY(-50%); overflow: visible; }
.hero-simbolo .guia { fill: none; stroke: var(--pedra); stroke-width: .25; stroke-dasharray: 1; stroke-dashoffset: 1; animation: traco 1.6s .3s ease-out forwards; }
.hero-simbolo .guia.t { stroke: var(--terra); animation-delay: .6s; }
.hero-simbolo .corpo { fill: var(--areia); stroke: var(--areia); stroke-width: .3; fill-opacity: 0; stroke-dasharray: 1; stroke-dashoffset: 1; animation: traco 1.4s 1s ease-out forwards, enche .7s 2.1s ease-out forwards; }
.hero-simbolo .olhos { fill: var(--terra); opacity: 0; animation: surge .5s 2.7s ease-out forwards; }
.hero-texto { position: relative; display: flex; flex-direction: column; gap: 22px; }
.hero h1 { font-size: clamp(44px, 9.5vw, 132px); line-height: 1; font-weight: 700; letter-spacing: .24em; display: flex; }
.hero h1 span { display: inline-block; opacity: 0; transform: translateY(.5em); animation: sobe .8s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(.9s + var(--i) * .08s); }
.hero .descritor { font-size: clamp(11px, 1.7vw, 22px); letter-spacing: .32em; color: #A69E8C; opacity: 0; animation: surge .8s 1.7s forwards; }
.hero .frase { max-width: 30em; font-size: clamp(16px, 1.5vw, 20px); color: var(--duna); opacity: 0; animation: surge .8s 2s forwards; }
.rolar { position: absolute; right: var(--borda); bottom: 72px; display: flex; align-items: center; gap: 12px; opacity: 0; animation: surge .8s 2.6s forwards; }
.rolar i { width: 1px; height: 44px; background: var(--apoio); transform-origin: top; animation: pulso 2s infinite; }
@keyframes traco { to { stroke-dashoffset: 0; } }
@keyframes enche { to { fill-opacity: 1; stroke-opacity: 0; } }
@keyframes surge { to { opacity: 1; } }
@keyframes sobe { to { opacity: 1; transform: none; } }
@keyframes pulso { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* projetos: três blocos, texto e modelo alternando de lado */
.projeto { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); align-items: center; gap: clamp(24px, 5vw, 80px); padding: clamp(48px, 7vw, 96px) var(--borda); border-top: 1px solid var(--grafite); }
.projeto:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); }
.projeto:nth-child(even) .ficha { order: 2; }
.cena { width: 100%; height: min(78vh, 720px);
  background: center / 72px 72px linear-gradient(var(--grafite) 1px, transparent 1px), center / 72px 72px linear-gradient(90deg, var(--grafite) 1px, transparent 1px);
  -webkit-mask-image: radial-gradient(closest-side, #000 60%, transparent); mask-image: radial-gradient(closest-side, #000 60%, transparent); }
.sem3d .projeto { grid-template-columns: minmax(0, 460px); } .sem3d .cena { display: none; }
.ficha h2 { margin: 14px 0 16px; font-size: clamp(46px, 7vw, 104px); line-height: 1; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.ficha p.txt { color: var(--duna); max-width: 26em; }
.ficha dl { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--grafite); }
.ficha dl div { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--grafite); }
.ficha dt { font: 500 10px var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--apoio); }
.ficha dd { margin-top: 4px; font-size: 19px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ficha dd small { font: 500 12px var(--mono); color: var(--apoio); margin-left: 4px; }

/* faixa */
.faixa { overflow: hidden; border-block: 1px solid var(--grafite); padding: 18px 0; white-space: nowrap; }
.faixa div { display: inline-block; will-change: transform; animation: corre 40s linear infinite; }
.faixa span { margin-right: 3em; }
.faixa span b { color: var(--terra); font-weight: 500; }
@keyframes corre { to { transform: translateX(-50%); } }

/* seções */
.secao { position: relative; padding: clamp(88px, 12vw, 168px) var(--borda); overflow: hidden; }
.clara { background: var(--areia); color: var(--carvao); }
.clara .mono { color: var(--pedra); }
.clara p { color: var(--pedra); }
.cabeca { display: flex; flex-direction: column; gap: 18px; max-width: 760px; position: relative; }
.cabeca p:not(.mono) { font-size: clamp(17px, 1.6vw, 21px); }
/* bússola estática (imagem rasterizada uma vez); só o ponteiro de 1px gira, para não pesar */
.bussola { position: absolute; right: -14vw; top: 50%; width: 62vw; max-width: 900px; aspect-ratio: 1; translate: 0 -50%; contain: strict;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%23CBC2AD'%3E%3Ccircle cx='100' cy='100' r='99' stroke-width='.3'/%3E%3Ccircle cx='100' cy='100' r='93' stroke-width='6' stroke-dasharray='.4 7.716'/%3E%3Ccircle cx='100' cy='100' r='60' stroke-width='.3'/%3E%3Cpath stroke-width='.3' d='M100 0V200M0 100H200M29.3 29.3L170.7 170.7M170.7 29.3L29.3 170.7'/%3E%3C/svg%3E"); }
.bussola::after { content: ''; position: absolute; left: 50%; top: 0; width: 1px; height: 50%; background: var(--terra); transform-origin: bottom; animation: gira 30s linear infinite; will-change: transform; }
@keyframes gira { to { transform: rotate(360deg); } }
.pilares { position: relative; margin-top: 72px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.pilares article { border-top: 1px solid var(--carvao); padding-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.pilares svg { width: 64px; height: 64px; color: var(--carvao); margin-bottom: 8px; }
.pilares h3 { font-size: 24px; color: var(--carvao); }
.pilares article:nth-child(2) { transition-delay: .12s; } .pilares article:nth-child(3) { transition-delay: .24s; }
.fatos { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 16px 56px; }
.fatos div { display: flex; flex-direction: column; gap: 6px; }
.fatos b { font-size: 26px; }
.equipe { margin-top: 72px; display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); gap: 32px; }
.pessoa { border-top: 1px solid var(--grafite); padding-top: 20px; display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: start; }
.pessoa img { width: 120px; height: 150px; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.pessoa h3 { font-size: 21px; }
.pessoa .mono { margin: 6px 0 10px; font-size: 10px; }
.pessoa p:last-child { font-size: 15px; color: var(--duna); }
.pessoa:nth-child(2) { transition-delay: .12s; }
.contato { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 28px; border-top: 1px solid var(--grafite); }
.contato .h2 { font-size: clamp(40px, 8vw, 112px); }
.contato .botao { padding: 18px 36px; font-size: 14px; }
.rodape { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 28px var(--borda); border-top: 1px solid var(--grafite); }
.rodape .marca svg { width: 34px; height: 24px; }

@media (max-width: 820px) {
  .topo nav a:not(.botao) { display: none; }
  .hero-simbolo { right: 50%; top: 36%; width: 82vw; transform: translate(50%, -50%); }
  .rolar { display: none; }
  .projeto, .projeto:nth-child(even) { grid-template-columns: minmax(0, 1fr); }
  .projeto .ficha { order: 2; }
  .cena { height: 92vw; }
  .pilares, .equipe { grid-template-columns: 1fr; }
  .bussola { width: 120vw; right: -50vw; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .faixa div, .bussola::after { animation: none; }
}
