/* Hallmark · shape: Feature Stack, re-picked · genre: modern-minimal · theme: Vantage (deal 2/3, seed moderno-tecnologico-portfolio-pessoal-8691·c9059d7e·2026-11-05·r0, picked after Wayfind read too plain) · job: hire · draw: 52d5c9
 * hero: Stage · nav: three-part bar, wordmark, three links, a hairline contact pill · footer: mast · imagery: photographs, library 1, muted · signature: his rack as a live point cloud, the sweep lighting it, two callouts · vantage: object/steel
 * axes: dark/grotesk-sans/chromatic-lime · posture: restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H5 E4 S4 R4 V5 · weakest: S, a rack is generic to IT; its layers are his own areas and switch on with his words */
/* Hallmark · waive 39b · the layer switches are full rows of the ruled list, 88px tall · each row holds a layer name, its line and a 26px toggle, so the rack lights from a large target */
/* Hallmark · waive 44c · the rack is centred on the whole text column · the readout of 15 anos, N1 a N3 and 2025 belongs to the hero text and sits under the actions */
/* Hallmark · dismissed 49 · the long labels are the layer switches, rows whose second line is meant to wrap under the layer name */
/* Hallmark · dismissed F4 · the lime fill on a toggle that is on is the switch state, the e-mail pill in the hero is the one primary */
@import url("./tokens.css");
@import url("./base.css");

:root { --nav-h: 72px; }

body { font-weight: 300; font-variation-settings: "SHRP" 0; font-size: 1.0625rem; line-height: 1.6; color: var(--color-ink-2); }
h1, h2, h3 { color: var(--color-ink); font-variation-settings: "SHRP" 100; line-height: 1; }
h1 { font-size: min(var(--text-display), 5.25rem); max-width: 12ch; }
h3 { font-weight: 400; letter-spacing: -0.015em; line-height: 1.2; }
.lead { color: var(--color-ink-2); }
.num { font-variant-numeric: tabular-nums; font-weight: 400; }
.num .u { color: var(--color-muted); font-size: 0.6em; font-weight: 300; }
a { color: var(--color-ink); text-decoration-color: var(--color-rule-2); transition: color var(--dur-short) var(--ease-out), text-decoration-color var(--dur-short) var(--ease-out); }
a:hover { color: var(--color-accent); text-decoration-color: currentColor; }

.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); background: var(--color-accent); color: var(--color-accent-ink); }
.skip:focus-visible { top: var(--space-md); }

/* corner ticks */
.ticks { position: relative; }
.ticks::before { content: ""; position: absolute; inset: 0; pointer-events: none; border: var(--rule-hair) solid var(--color-rule-2); -webkit-mask: conic-gradient(at var(--tick) var(--tick), transparent 75%, var(--color-ink) 0) 0 0 / calc(100% - var(--tick)) calc(100% - var(--tick)); mask: conic-gradient(at var(--tick) var(--tick), transparent 75%, var(--color-ink) 0) 0 0 / calc(100% - var(--tick)) calc(100% - var(--tick)); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 48px; padding: 0 var(--space-lg); border: 0; border-radius: var(--radius-pill); background: var(--color-accent); color: var(--color-accent-ink); font: 400 var(--text-md)/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:hover { background: var(--color-accent-hi); color: var(--color-accent-ink); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn--line { background: transparent; color: var(--color-ink); box-shadow: inset 0 0 0 var(--rule-hair) var(--color-rule-2); }
.btn--line:hover { background: var(--color-paper-3); color: var(--color-ink); box-shadow: inset 0 0 0 var(--rule-hair) var(--color-muted); }
.btn--sm { min-height: 44px; padding: 0 var(--space-md); font-size: var(--text-sm); }
.btn--xs { min-height: 44px; padding: 0 var(--space-md); font-size: var(--text-xs); }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); }

/* nav */
.nav { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: var(--color-paper); border-bottom: var(--rule-hair) solid var(--color-rule); }
.nav__in { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: var(--space-lg); min-height: var(--nav-h); }
.nav__in > :last-child { justify-self: end; }
.wordmark { font-weight: 400; font-size: var(--text-lg); letter-spacing: -0.02em; font-variation-settings: "SHRP" 100; text-decoration: none; white-space: nowrap; }
.nav__links { display: flex; gap: var(--space-xl); margin: 0; padding: 0; list-style: none; font-size: var(--text-sm); font-weight: 400; }
.nav__links a { text-decoration: none; color: var(--color-ink-2); white-space: nowrap; }
.nav__links a:hover { color: var(--color-accent); }

/* hero */
.hero { display: grid; align-items: center; min-height: calc(100dvh - var(--nav-h)); padding-block: var(--space-xl); }
.hero__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-2xl); align-items: center; }
.hero__text { display: grid; gap: var(--space-lg); justify-items: start; }
.hero__text .actions { margin-top: var(--space-xs); }
.readout { display: grid; grid-template-columns: repeat(3, auto); gap: var(--space-xl); margin: var(--space-lg) 0 0; padding: var(--space-lg) var(--space-xl); }
.readout dt { font-size: var(--text-sm); color: var(--color-muted); }
.readout dd { margin: var(--space-2xs) 0 0; font-size: var(--text-2xl); font-weight: 300; color: var(--color-ink); white-space: nowrap; }

.cloud { position: relative; margin: 0; }
.cloud canvas { display: block; width: 100%; height: 100%; }
.cloud--hero { height: min(78dvh, 780px); min-height: 480px; }
.cloud--hero canvas { -webkit-mask: radial-gradient(closest-side, var(--color-ink) 72%, transparent); mask: radial-gradient(closest-side, var(--color-ink) 72%, transparent); }
.callout { position: absolute; display: grid; gap: var(--space-3xs); padding: var(--space-xs) var(--space-sm); background: var(--color-paper); font-size: var(--text-sm); color: var(--color-muted); white-space: nowrap; }
.callout .num { font-size: var(--text-lg); color: var(--color-ink); }
.callout[data-anchor="servers"] { left: 0; top: 58%; }
.callout[data-anchor="ai"],
.callout[data-anchor="erp"] { right: 0; top: 16%; text-align: right; }
.cloud__pause { position: absolute; right: 0; bottom: 0; }
html:not(.js) .cloud__pause { display: none; }

/* section frame */
.layers, .timeline, .bento-sec, .certs { padding-block: var(--section-gap); }
.timeline { padding-top: var(--section-gap-s); }
.head { display: grid; gap: var(--space-md); margin-bottom: var(--space-2xl); }

/* layers: visual left, switches right */
.layers__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap-columns); align-items: center; }
.layers__text { order: 2; display: grid; gap: var(--space-md); padding-left: var(--space-2xl); }
.cloud--layers { order: 1; height: 640px; background: var(--color-paper-2); border-radius: var(--radius-card); }
.cloud--layers canvas { height: calc(100% - var(--space-2xl)); }
.cloud__cap { display: flex; justify-content: space-between; gap: var(--space-md); padding: 0 var(--space-lg) var(--space-lg); font-size: var(--text-sm); color: var(--color-muted); }
.cloud__cap [data-layer-count] { color: var(--color-ink); }
.switches { margin: var(--space-xl) 0 0; padding: 0; list-style: none; border-top: var(--rule-hair) solid var(--color-rule); }
.switches li { border-bottom: var(--rule-hair) solid var(--color-rule); }
.switches button { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: var(--space-lg); row-gap: var(--space-3xs); width: 100%; min-height: 88px; padding: var(--space-md) 0; border: 0; background: transparent; color: inherit; text-align: left; cursor: pointer; }
.switches__name { grid-column: 1; font-size: var(--text-title); font-weight: 400; letter-spacing: -0.015em; color: var(--color-ink); line-height: 1.2; }
.switches__line { grid-column: 1; font-size: var(--text-sm); color: var(--color-muted); }
.toggle { grid-column: 2; grid-row: 1 / span 2; position: relative; width: 48px; height: 26px; border-radius: var(--radius-pill); background: var(--color-paper-3); box-shadow: inset 0 0 0 var(--rule-hair) var(--color-rule-2); transition: background-color var(--dur-short) var(--ease-out); }
.toggle::after { content: ""; position: absolute; left: 4px; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--color-muted); transition: transform var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.switches button[aria-checked="true"] .toggle { background: var(--color-accent); box-shadow: none; }
.switches button[aria-checked="true"] .toggle::after { transform: translateX(22px); background: var(--color-accent-ink); }
.switches button:hover .switches__name { color: var(--color-accent-hi); }
.switches button:active .toggle { transform: scale(0.96); }
.switches button:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.switches button:disabled { opacity: 0.55; cursor: not-allowed; }

/* timeline at true scale, 2011 to 2026 */
.tl { --years: 16; }
.tl__axis, .tl__row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--gap-columns); }
.tl__axis { position: relative; height: 32px; margin: 0; padding: 0; list-style: none; border-bottom: var(--rule-hair) solid var(--color-rule-2); }
.tl__axis li { position: absolute; bottom: var(--space-xs); left: calc(33.333% + var(--gap-columns) / 3 + (66.667% - var(--gap-columns) / 3 * 2 - var(--gap-columns) / 3) * var(--at) / var(--years)); font-size: var(--text-sm); color: var(--color-muted); font-variant-numeric: tabular-nums; }
.tl__rows { margin: 0; padding: 0; list-style: none; }
.tl__row { align-items: center; min-height: 104px; padding-block: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); }
.tl__label { display: grid; gap: var(--space-2xs); }
.tl__label p { font-size: var(--text-sm); color: var(--color-muted); }
.tl__track { position: relative; height: 10px; background: linear-gradient(to right, var(--color-rule) 1px, transparent 1px) 0 0 / calc(100% / var(--years)) 100%; }
.tl__bar { position: absolute; top: 2px; height: 6px; left: calc(100% * var(--s) / var(--years)); width: calc(100% * (var(--e) - var(--s)) / var(--years)); border-radius: var(--radius-pill); background: var(--color-ink-2); transform-origin: left center; }
.tl__row--live .tl__bar { background: var(--color-accent); }
.tl__row--live .tl__bar::after { content: ""; position: absolute; right: -5px; top: -3px; width: 12px; height: 12px; border-radius: 50%; background: var(--color-accent); }
.js .tl__bar { transform: scaleX(0); transition: transform 0.7s var(--ease-out); transition-delay: calc(var(--i, 0) * 60ms); }
.js .tl.is-in .tl__bar { transform: none; }

/* bento */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: minmax(320px, auto); gap: var(--gap-columns); }
.tile { display: grid; align-content: end; gap: var(--space-sm); padding: var(--space-xl); border-radius: var(--radius-card); background: var(--color-paper-2); }
.tile--photo { grid-column: span 8; margin: 0; padding: 0; background: transparent; align-content: stretch; grid-template-rows: minmax(0, 1fr) auto; }
.photo { border-radius: var(--radius-card); min-height: 380px; }
.photo > img { object-position: 50% 45%; outline: 1px solid var(--color-rule); outline-offset: -1px; }
.caption { font-size: var(--text-sm); color: var(--color-muted); }
.tile--figure { grid-column: span 4; background: transparent; }
.big { font-size: var(--text-display-s); font-weight: 200; color: var(--color-ink); line-height: 1; margin-bottom: auto; }
.tile--figure .big { margin-bottom: var(--space-xl); }
.tile p:not(.big) { font-size: var(--text-md); max-width: 44ch; }
.tile--auto { grid-column: span 4; }
.tile--tools { grid-column: span 8; align-content: space-between; }
.tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); }
.tools ul { margin: 0; padding: 0; list-style: none; }
.tools li { padding-block: var(--space-sm); border-bottom: var(--rule-hair) solid var(--color-rule-2); color: var(--color-ink); font-weight: 400; }
.chips { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin: var(--space-md) 0 0; padding: 0; list-style: none; }
.chips li { padding: var(--space-2xs) var(--space-sm); border-radius: var(--radius-pill); box-shadow: inset 0 0 0 var(--rule-hair) var(--color-rule-2); font-size: var(--text-sm); color: var(--color-ink); font-weight: 400; }

/* certificates log */
.certs__in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--gap-columns); align-items: start; }
.certs .head { position: sticky; top: calc(var(--nav-h) + var(--space-xl)); }
.log { width: 100%; border-collapse: collapse; }
.log thead th { padding-bottom: var(--space-sm); border-bottom: var(--rule-hair) solid var(--color-rule-2); text-align: left; font-size: var(--text-sm); font-weight: 400; color: var(--color-muted); }
.log .r { text-align: right; }
.log tbody th, .log tbody td { padding-block: var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-rule); vertical-align: baseline; }
.log tbody th { text-align: left; font-size: var(--text-title); font-weight: 300; color: var(--color-ink); letter-spacing: -0.015em; }
.log tbody td { padding-left: var(--space-lg); font-size: var(--text-md); color: var(--color-ink-2); white-space: nowrap; }
.log__new td { color: var(--color-accent); }

/* contact */
.contact { padding-block: var(--section-gap-s); background: var(--color-paper-2); }
.contact__in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--gap-columns); align-items: start; }
.contact__body { display: grid; gap: var(--space-2xl); padding: var(--space-2xl); }
.contact__mail { font-size: var(--text-display-s); font-weight: 200; letter-spacing: -0.03em; line-height: 1.05; font-variation-settings: "SHRP" 100; text-decoration: none; white-space: nowrap; min-width: 0; }
.contact__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-columns); margin: 0; }
.contact__facts dt { font-size: var(--text-sm); color: var(--color-muted); }
.contact__facts dd { margin: var(--space-2xs) 0 0; font-size: var(--text-title); font-weight: 300; color: var(--color-ink); }

/* footer mast */
.foot { padding-block: var(--space-3xl) var(--space-xl); border-top: var(--rule-hair) solid var(--color-rule); }
.foot__name { font-size: clamp(3rem, 10vw, 9rem); font-weight: 200; letter-spacing: -0.045em; line-height: 0.9; color: var(--color-ink); font-variation-settings: "SHRP" 100; overflow-wrap: break-word; min-width: 0; }
.foot__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: var(--space-xl); margin-top: var(--space-2xl); padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); }
.foot__links { display: flex; flex-wrap: wrap; gap: var(--space-sm) var(--space-xl); margin: 0; padding: 0; list-style: none; }
.foot__links a { white-space: nowrap; }
.foot__legal { display: grid; gap: var(--space-2xs); font-size: var(--text-sm); color: var(--color-muted); text-align: right; }
.foot__legal a { color: var(--color-ink-2); }

/* responsive */
@media (max-width: 60rem) {
  .nav__in { grid-template-columns: minmax(0, 1fr) auto; }
  .nav nav { display: none; }
  .hero { min-height: 0; }
  .hero__in, .layers__in, .certs__in, .contact__in { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-xl); }
  .layers__text { padding-left: 0; }
  .cloud--hero { height: 70svh; min-height: 420px; }
  .layers__text { order: 1; }
  .cloud--layers { order: 2; height: 520px; }
  .certs .head { position: static; }
  .tl__axis, .tl__row { grid-template-columns: minmax(0, 1fr); }
  .tl__axis { display: none; }
  .tl__row { gap: var(--space-md); }
  .bento { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; }
  .tile--photo, .tile--figure, .tile--auto, .tile--tools { grid-column: auto; }
  .photo { aspect-ratio: 4 / 3; min-height: 0; }
  .foot__legal { text-align: left; }
}
@media (max-width: 40rem) {
  .readout { grid-template-columns: minmax(0, 1fr); gap: var(--space-md); padding: var(--space-lg); }
  .callout { font-size: var(--text-xs); }
  .callout .num { font-size: var(--text-md); }
  .tools { grid-template-columns: minmax(0, 1fr); }
  .contact__body { padding: var(--space-lg); }
  .contact__mail { font-size: min(var(--text-display-s), 6.2vw); }
  .contact__facts { grid-template-columns: minmax(0, 1fr); }
  .log tbody th { font-size: var(--text-md); }
  .tile { padding: var(--space-lg); }
}

@media (prefers-reduced-motion: reduce) {
  a, .btn, .toggle, .toggle::after { transition: none; }
  .js .tl__bar { transform: none; transition: none; }
}
