/* ============================================================
   ORACULOS — Colors & Type · TINTA SECA (palette 07, approved)
   ============================================================
   Brand DNA: hand-stamped Y2K + sertão street.
   PALETTE LAW:
     • Product surfaces (tee, hangtag in fabric):      INK + PAPER. No purple.
     • Digital / white-paper surfaces (site, deck,
       Instagram, sticker, avatar, link):                INK + PAPER as field,
                                                         PURPLE as destaque only
                                                         (logo “stamp”, coord stamp,
                                                         link hover, single highlight word).
     • Logo defaults to logo-mark-ink.svg.
       logo-mark-purple.svg = destaque variant only.
   ============================================================

   Import order: this file BEFORE any component styles.
   Fonts: served from fonts/ (self-hosted) with Google fallback.
   ============================================================ */

/* ---------- FONTS (Google substitutions — see README) ---------- */
@import url('https://fonts.googleapis.com/css2?family=Rubik+Puddles&family=Rubik+Wet+Paint&family=Pixelify+Sans:wght@400;500;600;700&family=VT323&family=Space+Grotesk:wght@400;500;600;700&family=Bungee&display=swap');

:root {
  /* ============================================================
     COLOR PRIMITIVES — extracted directly from the silkscreen
     stamp (PSD). Hex values are the bucketed dominant colors.
     ============================================================ */

  /* Oraculo Purple — reserved DESTAQUE color (TINTA SECA palette).
     Use ONLY on white/paper backgrounds, in small “stamp” moments:
     logo carimbado, coord stamp, link hover, one highlight word.
     NEVER as a field color, NEVER on a fabric product. */
  --oraculo-900: #1f0f3f;   /* deepest, manifesto-spray void */
  --oraculo-800: #2c1956;   /* hover/pressed */
  --oraculo-700: #3a1f6e;   /* PRIMARY — logo, headlines, links */
  --oraculo-600: #483078;   /* exact dominant pixel from stamp  */
  --oraculo-500: #5e44a0;   /* lifted, hover bg */
  --oraculo-400: #8a72c8;   /* faded screen-print */
  --oraculo-300: #b8a8de;   /* tinted backgrounds */
  --oraculo-200: #e0d6f0;   /* lavender wash */
  --oraculo-100: #f1ecf9;   /* page tint */

  /* Y2K CRT system grays — the Windows-9x dialog palette.
     These are NOT neutrals; they ARE the brand. */
  --crt-bone:    #f0f0f0;   /* dialog interior */
  --crt-beige:   #c0c0a8;   /* iconic warm window chrome */
  --crt-beige-2: #d8d8c0;   /* lighter beige */
  --crt-shadow:  #909078;   /* bevel shadow */
  --crt-deep:    #606048;   /* deep bevel */

  /* Ink scale — PRIMARY brand color (TINTA SECA).
     Replaces purple in every “campo” use. */
  --ink:         #1a1a1a;   /* primary outline / text / fills */
  --ink-soft:    #303030;
  --ink-mute:    #606060;
  --carvao:      #2a2a2a;   /* blusa preta, hero inverse */
  --fumaca:      #4a4a46;   /* sombras de carimbo, secondary text on dark */
  --cinza-papel: #c8c5ba;   /* hairline borders, divisores, soft surfaces */

  /* Comic accents — LEGACY (from original silkscreen).
     With TINTA SECA, laurel/peach do NOT appear in product UI.
     Kept here only because the illustrated mascot may still use them. */
  --laurel:      #f0d830;
  --laurel-deep: #d8a848;
  --peach:       #f0c090;
  --peach-deep:  #c08868;

  /* Paper — the white substrate of the T-shirt */
  --paper:       #fafaf6;   /* warm off-white */
  --paper-pure:  #ffffff;   /* sterile white (rare) */

  /* ============================================================
     SEMANTIC TOKENS — use these in components, not primitives.
     ============================================================ */

  /* Surfaces */
  --bg:           var(--paper);
  --bg-dim:       #ececea;            /* warm gray wash (was lavender) */
  --bg-inverse:   var(--ink);          /* hero inverse blocks (was oraculo-900) */
  --surface:      var(--paper-pure);
  --surface-crt:  var(--crt-beige);   /* for "window" components */
  --surface-bone: var(--crt-bone);    /* dialog interior */

  /* Foreground */
  --fg:           var(--ink);
  --fg-mute:      var(--ink-mute);
  --fg-on-dark:   var(--paper);
  --fg-on-purple: var(--paper);       /* legacy alias */
  --fg-accent:    var(--ink);          /* PRIMARY accent is INK now */
  --fg-link:      var(--ink);
  --fg-link-hov:  var(--oraculo-700);  /* purple appears on hover */
  --fg-highlight: var(--oraculo-700);  /* DESTAQUE only — logo stamp, coord, 1 word */

  /* Borders */
  --border:       var(--ink);          /* heavy comic outline */
  --border-soft:  var(--cinza-papel);  /* hairline dividers (was oraculo-300) */
  --border-crt:   var(--crt-deep);     /* window chrome edge */

  /* Borders */
  --border:       var(--ink);          /* heavy comic outline */
  --border-soft:  var(--oraculo-300);
  --border-crt:   var(--crt-deep);     /* window chrome edge */

  /* Status (rare — brand prefers manifesto language) */
  --signal-ok:    #2d8a4e;
  --signal-warn:  var(--laurel-deep);
  --signal-err:   #b8341c;

  /* ============================================================
     TYPE — four families, each with a job.
     ============================================================ */
  /* The spray-tag display. Rubik Puddles = legible strokes with ink that drips
     off the bottom of each letter (vs. Rubik Wet Paint, which read too heavy /
     letters merged). Letter spacing stays readable at hero scale. */
  --font-graffiti: "Rubik Puddles", "Rubik Wet Paint", "Permanent Marker", system-ui, sans-serif;
  --font-pixel:    "Pixelify Sans", "Courier New", "Lucida Console", monospace;
  --font-mono:     "VT323", "IBM Plex Mono", "Courier New", monospace;
  --font-sans:     "Space Grotesk", -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display:  "Bungee", "Arial Black", "Impact", sans-serif;  /* secondary display */

  /* Type scale — modular, base 16px → 1.25 ratio (major third) */
  --fs-xs:    12px;
  --fs-sm:    14px;
  --fs-base:  16px;
  --fs-md:    20px;
  --fs-lg:    24px;
  --fs-xl:    32px;
  --fs-2xl:   44px;
  --fs-3xl:   60px;
  --fs-4xl:   84px;
  --fs-hero:  120px;

  /* Line-heights */
  --lh-tight:  1.05;
  --lh-snug:   1.2;
  --lh-normal: 1.45;
  --lh-loose:  1.7;

  /* Letter-spacing */
  --tracking-tight: -0.02em;
  --tracking-normal: 0;
  --tracking-wide: 0.08em;
  --tracking-shout: 0.16em;  /* small caps manifesto */

  /* ============================================================
     SPACING & RADII & SHADOWS
     ============================================================ */
  --space-0:  0;
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  24px;
  --space-6:  32px;
  --space-7:  48px;
  --space-8:  64px;
  --space-9:  96px;
  --space-10: 128px;

  /* Radii — brand favors HARD edges on Y2K windows, soft on chips */
  --radius-0:    0;       /* default — windows, cards, posters */
  --radius-xs:   2px;     /* dialog buttons */
  --radius-sm:   4px;     /* inputs */
  --radius-md:   8px;     /* mild rounding */
  --radius-pill: 999px;   /* pills, tags */
  --radius-blob: 50%;     /* circular */

  /* Shadows — TWO systems:
     1) Y2K bevel (used on .crt-window components)
     2) Hard offset (comic-book "drop shadow", no blur) */
  --bevel-out: inset -2px -2px 0 var(--crt-deep),
               inset 2px 2px 0 var(--crt-bone),
               inset -3px -3px 0 var(--crt-shadow),
               inset 3px 3px 0 #ffffff;
  --bevel-in:  inset 2px 2px 0 var(--crt-deep),
               inset -2px -2px 0 var(--crt-bone),
               inset 3px 3px 0 var(--crt-shadow),
               inset -3px -3px 0 #ffffff;

  --shadow-pop-sm: 3px 3px 0 var(--ink);
  --shadow-pop:    6px 6px 0 var(--ink);
  --shadow-pop-lg: 10px 10px 0 var(--ink);
  --shadow-pop-purple: 6px 6px 0 var(--ink);  /* aliased to ink under TINTA SECA */

  /* Z-index */
  --z-base:    1;
  --z-raised:  10;
  --z-overlay: 100;
  --z-modal:   1000;

  /* Motion */
  --ease-snap: cubic-bezier(0.2, 0.9, 0.2, 1);
  --ease-stomp: cubic-bezier(0.7, 0, 0.3, 1);
  --dur-fast: 120ms;
  --dur-base: 220ms;
  --dur-slow: 420ms;
}

/* ============================================================
   SEMANTIC TYPE STYLES
   ============================================================ */

.t-shout {
  /* The big manifesto / graffiti spray. "SEM PEDIR LICENÇA!" */
  font-family: var(--font-graffiti);
  font-weight: 400;
  font-size: var(--fs-hero);
  line-height: var(--lh-tight);
  color: var(--ink);  /* TINTA SECA: ink, not purple */
  text-transform: uppercase;
  letter-spacing: var(--tracking-normal);
}

.t-shout--destaque {
  /* Variant: use sparingly, only on paper backgrounds where you need
     the purple destaque punctuation. */
  color: var(--oraculo-700);
}

.t-hero {
  font-family: var(--font-pixel);
  font-weight: 700;
  font-size: var(--fs-4xl);
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--fg);
}

.t-h1 {
  font-family: var(--font-pixel);
  font-weight: 700;
  font-size: var(--fs-3xl);
  line-height: var(--lh-tight);
  color: var(--fg);
}

.t-h2 {
  font-family: var(--font-pixel);
  font-weight: 700;
  font-size: var(--fs-2xl);
  line-height: var(--lh-snug);
  color: var(--fg);
}

.t-h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: var(--fs-xl);
  line-height: var(--lh-snug);
  color: var(--fg);
}

.t-h4 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: var(--fs-lg);
  line-height: var(--lh-snug);
  color: var(--fg);
}

.t-body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--fg);
}

.t-body-lg {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--fs-md);
  line-height: var(--lh-normal);
  color: var(--fg);
}

.t-small {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--fs-sm);
  line-height: var(--lh-normal);
  color: var(--fg-mute);
}

.t-caption {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: var(--fs-xs);
  line-height: var(--lh-normal);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--fg-mute);
}

.t-mono {
  font-family: var(--font-mono);
  font-size: var(--fs-md);
  line-height: var(--lh-snug);
  color: var(--fg);
}

.t-coord {
  /* For coordinate stamps: 04°56'S, 37°58'W
     Default: ink. Variant `.t-coord--destaque` for purple stamp. */
  font-family: var(--font-mono);
  font-size: var(--fs-md);
  letter-spacing: var(--tracking-wide);
  color: var(--ink);
}
.t-coord--destaque { color: var(--oraculo-700); }

.t-pixel {
  /* For Y2K window titles */
  font-family: var(--font-pixel);
  font-weight: 500;
  font-size: var(--fs-base);
  color: var(--fg);
}

.t-tag {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: var(--fs-xs);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--ink);
}
.t-tag--destaque { color: var(--oraculo-700); }

/* ============================================================
   BASE
   ============================================================ */
html, body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--fg-link);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  text-decoration-color: var(--oraculo-700);  /* purple underline = destaque on ink link */
  transition: color var(--dur-fast) var(--ease-snap);
}
a:hover { color: var(--fg-link-hov); }

::selection {
  background: var(--ink);
  color: var(--paper);
}


/* ============================================================
   ORACULOS — Website kit styles
   Loads AFTER ../../colors_and_type.css (tokens + base type).
   All component styles here; JSX stays markup-only.
   ============================================================ */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-sans); overflow-x: hidden; }
#root { min-height: 100vh; }
button { font-family: inherit; cursor: pointer; }
img { display: block; }

/* shared container */
.wrap { max-width: 1180px; margin: 0 auto; padding-inline: 32px; }

/* ---------- buttons (stamp-landing press) ---------- */
.btn {
  font-family: var(--font-sans); font-weight: 700; font-size: 16px;
  border: 2px solid var(--ink); padding: 14px 26px; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform var(--dur-fast) var(--ease-snap), box-shadow var(--dur-fast) var(--ease-snap), background var(--dur-fast);
  background: var(--paper); color: var(--ink); border-radius: var(--radius-0);
}
.btn:hover { transform: translate(2px,2px); box-shadow: 3px 3px 0 var(--ink); }
.btn:active { transform: translate(5px,5px); box-shadow: 0 0 0 var(--ink); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--sm { font-size: 13px; padding: 9px 16px; box-shadow: 3px 3px 0 var(--ink); }
.btn--sm:hover { transform: translate(2px,2px); box-shadow: 1px 1px 0 var(--ink); }

/* ---------- coord stamp ---------- */
.coord-stamp {
  font-family: var(--font-mono); font-size: 13px; color: var(--oraculo-700);
  border: 1.5px dashed var(--oraculo-700); padding: 4px 10px;
  letter-spacing: 0.06em; display: inline-block; white-space: nowrap;
}

/* ---------- Y2K window ---------- */
.crt {
  background: var(--crt-beige); border: 1px solid var(--ink);
  box-shadow: inset -2px -2px 0 var(--crt-deep), inset 2px 2px 0 #fff, 4px 4px 0 var(--ink);
  padding: 2px; font-family: var(--font-pixel);
}
.crt__tb { background: var(--ink); color: var(--paper); padding: 4px 6px 4px 10px; font-size: 13px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.crt__tb-btns { display: flex; gap: 3px; }
.crt__x { background: var(--crt-beige); color: var(--ink); border: 1px solid var(--ink); width: 16px; height: 14px; display: grid; place-items: center; font-family: var(--font-sans); font-weight: 700; font-size: 10px; padding: 0; line-height: 1; }
.crt__body { padding: 12px 14px; font-size: 13px; line-height: 1.4; color: var(--ink); background: var(--crt-beige); }

/* ============ HEADER ============ */
.hdr { position: sticky; top: 0; z-index: 100; background: var(--paper); border-bottom: 2px solid var(--ink); }
.hdr__in { display: flex; align-items: center; justify-content: space-between; padding-block: 13px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); background: none; border: none; padding: 0; }
.brand img { height: 34px; width: auto; }
.brand .wm { font-family: var(--font-pixel); font-weight: 700; font-size: 22px; letter-spacing: 0.04em; color: var(--ink); }
.nav { display: flex; gap: 26px; align-items: center; }
.nav a, .nav button.link { font-family: var(--font-sans); font-weight: 500; font-size: 14px; color: var(--ink); text-decoration: none; letter-spacing: 0.01em; background: none; border: none; padding: 0; position: relative; }
.nav a:hover, .nav button.link:hover { color: var(--oraculo-700); }
.nav button.link.active { color: var(--oraculo-700); }
.nav button.link.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--oraculo-700); }
.lang { display: inline-flex; border: 1.5px solid var(--ink); font-family: var(--font-mono); font-size: 12px; overflow: hidden; }
.lang button { background: var(--paper); color: var(--ink-mute); border: none; padding: 3px 9px; font-family: inherit; font-size: 12px; }
.lang button.on { background: var(--ink); color: var(--paper); }
.hdr-cta { font-family: var(--font-sans); font-weight: 700; font-size: 13px; background: var(--ink); color: var(--paper); border: 2px solid var(--ink); padding: 8px 14px; text-decoration: none; box-shadow: 3px 3px 0 var(--ink); transition: transform var(--dur-fast) var(--ease-snap), box-shadow var(--dur-fast); }
.hdr-cta:hover { transform: translate(2px,2px); box-shadow: 1px 1px 0 var(--ink); color: var(--paper); }

/* ============ HERO ============ */
.hero { position: relative; padding-block: 76px 96px; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; }
.hero__coord { position: absolute; top: 28px; right: 32px; transform: rotate(2.5deg); z-index: 3; }
.hero__eyebrow { display: inline-block; font-family: var(--font-mono); font-size: 14px; color: var(--oraculo-700); letter-spacing: 0.04em; border-left: 3px solid var(--oraculo-700); padding-left: 10px; margin-bottom: 22px; }
.shout { font-family: var(--font-graffiti); font-size: clamp(58px, 7.2vw, 104px); line-height: 1.26; color: var(--ink); margin: 0; transform: rotate(-2.5deg); transform-origin: left center; letter-spacing: 0.06em; word-spacing: 0.14em; padding-bottom: 0.12em; }
.shout .destaque { color: var(--oraculo-700); }
.hero__lede { font-size: 18px; line-height: 1.56; margin: 30px 0 28px; max-width: 520px; color: var(--ink-soft); }
.hero__actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 28px; }
.hero__stats span { font-family: var(--font-mono); font-size: 13px; color: var(--ink-soft); letter-spacing: 0.02em; }
.hero__stats b { color: var(--oraculo-700); }
.mono-mini { font-family: var(--font-mono); font-size: 11px; margin-top: 6px; color: var(--ink); }

/* floating dialogs cluster */
.hero__stack { position: relative; height: 440px; }
.float { position: absolute; }
.float--1 { top: 0; left: 30px; width: 230px; transform: rotate(-4deg); }
.float--2 { top: 122px; right: 0; width: 250px; transform: rotate(4deg); z-index: 2; }
.float--3 { top: 250px; left: 0; width: 210px; transform: rotate(-2.5deg); }
.float--4 { top: 300px; right: 40px; width: 180px; transform: rotate(3deg); }
.seal-row { display: flex; gap: 10px; align-items: center; }
.seal-row img { width: 34px; height: 34px; }
.loadbar { border: 1.5px solid var(--ink); height: 20px; background: var(--crt-bone); padding: 2px; display: flex; gap: 2px; }
.loadbar i { background: var(--ink); width: 13px; display: block; }
.loadbar i.off { opacity: 0.25; }
.media { background: var(--ink); aspect-ratio: 16/10; display: grid; place-items: center; border: 1.5px solid var(--ink); }
.media svg { width: 70%; }

/* ============ MARQUEE ============ */
.marquee { background: var(--ink); color: var(--paper); border-block: 3px solid var(--ink); padding: 14px 0; overflow: hidden; }
.marquee__track { display: inline-flex; gap: 30px; white-space: nowrap; font-family: var(--font-pixel); font-size: 22px; letter-spacing: 0.06em; will-change: transform; animation: scroll-x 26s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track .dot { width: 7px; height: 7px; background: var(--oraculo-400); border-radius: 50%; display: inline-block; align-self: center; }
.marquee__seg { display: inline-flex; gap: 30px; align-items: center; }
@keyframes scroll-x { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============ SECTION SCAFFOLD ============ */
.sec { padding-block: 92px; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 44px; }
.kicker { font-family: var(--font-mono); font-size: 13px; color: var(--ink); letter-spacing: 0.1em; text-transform: uppercase; display: block; margin-bottom: 8px; }
.sec-head h2 { font-family: var(--font-pixel); font-weight: 700; font-size: 52px; margin: 0; line-height: 1; color: var(--ink); }
.sec-head p { font-size: 17px; line-height: 1.5; color: var(--ink-soft); max-width: 360px; margin: 0; }

/* ============ PRODUCTS ============ */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.prod {
  background: var(--paper); border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--ink);
  padding: 24px; display: flex; flex-direction: column; gap: 14px; position: relative;
  text-align: left; color: inherit; cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-snap), box-shadow var(--dur-fast) var(--ease-snap);
}
.prod:hover { transform: translate(3px,3px); box-shadow: 3px 3px 0 var(--ink); }
.prod__icon { width: 60px; height: 60px; border: 2px solid var(--ink); background: var(--surface-bone); display: grid; place-items: center; }
.prod__icon img { width: 36px; height: 36px; }
.prod__tag { font-family: var(--font-mono); font-size: 12px; color: var(--ink); text-transform: uppercase; letter-spacing: 0.05em; }
.prod h3 { font-family: var(--font-pixel); font-weight: 700; font-size: 26px; margin: 0; color: var(--ink); }
.prod p { font-size: 15px; line-height: 1.5; margin: 0; color: var(--ink-soft); }
.prod__go { margin-top: auto; font-family: var(--font-mono); font-size: 12px; color: var(--oraculo-700); }
.prod__stamp { position: absolute; top: -11px; right: 16px; background: var(--paper); border: 2px solid var(--ink); font-family: var(--font-pixel); font-size: 11px; padding: 2px 8px; transform: rotate(6deg); color: var(--ink); }

/* ============ STACK / PIPELINE ============ */
.pipe { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.pipe__node { position: relative; }
.pipe__node .crt__body { min-height: 96px; }
.pipe__node::after { content: "→"; position: absolute; right: -16px; top: 50%; transform: translateY(-50%); font-family: var(--font-pixel); font-size: 22px; color: var(--ink); z-index: 2; }
.pipe__node:last-child::after { display: none; }
.pipe__k { font-family: var(--font-mono); font-size: 11px; color: var(--ink-mute); text-transform: uppercase; letter-spacing: 0.08em; }
.pipe__t { font-family: var(--font-pixel); font-weight: 700; font-size: 17px; color: var(--ink); margin: 4px 0 6px; }
.pipe__d { font-family: var(--font-sans); font-size: 13px; line-height: 1.4; color: var(--ink-soft); }

/* ============ ESTAMPA / IDENTITY SHOWCASE ============ */
.estampa { background: var(--bg-dim); border-block: 3px solid var(--ink); padding-block: 84px; }
.estampa__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.estampa__poster { background: var(--paper); border: 3px solid var(--ink); box-shadow: var(--shadow-pop-lg); padding: 24px; transform: rotate(-2deg); }
.estampa__poster img { width: 100%; height: auto; }
.estampa h2 { font-family: var(--font-graffiti); font-size: 56px; line-height: 1.22; color: var(--ink); margin: 0 0 18px; transform: rotate(-2deg); transform-origin: left; letter-spacing: 0.04em; }
.estampa p { font-size: 17px; line-height: 1.6; color: var(--ink-soft); margin: 0 0 14px; max-width: 440px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chip { font-family: var(--font-mono); font-size: 12px; border: 1.5px solid var(--ink); border-radius: var(--radius-pill); padding: 5px 12px; color: var(--ink); background: var(--paper); text-transform: uppercase; letter-spacing: 0.04em; }

/* ============ MANIFESTO (inverse) ============ */
.manifesto { background: var(--oraculo-900); color: var(--paper); border-block: 3px solid var(--ink); padding-block: 92px; position: relative; overflow: hidden; }
.manifesto__in { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: center; position: relative; z-index: 2; }
.manifesto h2 { font-family: var(--font-graffiti); font-size: clamp(48px, 6vw, 82px); line-height: 1.24; color: var(--paper); margin: 0; transform: rotate(-2deg); transform-origin: left; letter-spacing: 0.04em; }
.manifesto h2 u { text-decoration: underline; text-decoration-color: var(--oraculo-400); text-decoration-thickness: 6px; text-underline-offset: 8px; }
.manifesto p { font-size: 17px; line-height: 1.62; color: var(--oraculo-200); margin: 0 0 12px; }
.manifesto .sig { margin-top: 22px; font-family: var(--font-mono); font-size: 13px; color: var(--oraculo-300); letter-spacing: 0.06em; }
.manifesto__ghost { position: absolute; right: -60px; bottom: -80px; width: 420px; opacity: 0.08; z-index: 1; }

/* ============ NUMBERS ============ */
.numbers { background: var(--crt-beige); border-bottom: 3px solid var(--ink); padding-block: 60px; }
.numbers__in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.num .big { font-family: var(--font-pixel); font-weight: 700; font-size: 74px; color: var(--ink); line-height: 0.95; }
.num .lbl { font-size: 14px; color: var(--ink); margin-top: 6px; line-height: 1.3; max-width: 180px; }

/* ============ GIT LOG / DIARIO ============ */
.gitlog { background: var(--ink); color: var(--paper); padding: 22px 24px; font-family: var(--font-mono); font-size: 15px; line-height: 1.7; border: 2px solid var(--ink); box-shadow: var(--shadow-pop); }
.gitlog .prompt { color: var(--oraculo-400); }
.gitlog .hash { color: var(--oraculo-300); }
.gitlog .row { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gitlog .when { color: var(--crt-beige-2); }

/* ============ TEAM ============ */
.team-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.avatar { width: 56px; height: 56px; border: 2px solid var(--ink); border-radius: 50%; display: grid; place-items: center; font-family: var(--font-pixel); font-weight: 700; font-size: 18px; background: var(--surface-bone); color: var(--ink); }

/* ============ FOOTER ============ */
.ftr { background: var(--paper); border-top: 3px solid var(--ink); padding: 56px 0 28px; }
.ftr__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 44px; }
.ftr h4 { font-family: var(--font-pixel); font-weight: 700; font-size: 15px; margin: 0 0 14px; color: var(--ink); text-transform: uppercase; letter-spacing: 0.04em; }
.ftr ul { list-style: none; padding: 0; margin: 0; }
.ftr a { font-size: 14px; color: var(--ink-soft); text-decoration: none; display: block; padding: 3px 0; background: none; border: none; font-family: var(--font-sans); text-align: left; }
.ftr a:hover { color: var(--oraculo-700); }
.ftr__about { font-size: 14px; color: var(--ink-soft); line-height: 1.55; margin: 8px 0 0; max-width: 280px; }
.ftr__bot { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--cinza-papel); display: flex; justify-content: space-between; align-items: center; font-family: var(--font-mono); font-size: 12px; color: var(--ink-mute); }

/* ============ CONTACT MODAL ============ */
.overlay { position: fixed; inset: 0; background: rgba(26,26,26,0.55); z-index: 1000; display: grid; place-items: center; padding: 24px; }
.modal { width: 420px; max-width: 100%; transform: rotate(-1deg); }
.modal .crt__body { background: var(--crt-bone); padding: 20px; }
.field { display: block; margin-bottom: 12px; }
.field span { font-family: var(--font-sans); font-weight: 600; font-size: 13px; color: var(--ink); display: block; margin-bottom: 5px; }
.field input, .field textarea { width: 100%; font-family: var(--font-sans); font-size: 14px; padding: 8px 10px; border: 1.5px solid var(--ink); background: var(--paper); color: var(--ink); box-shadow: inset 2px 2px 0 rgba(96,96,72,0.18); border-radius: 0; }
.field textarea { resize: vertical; min-height: 72px; }
.modal__actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 6px; }
.modal__sent { font-family: var(--font-pixel); font-size: 16px; color: var(--ink); text-align: center; padding: 18px 0; }
.modal__sub { font-family: var(--font-sans); font-size: 13px; color: var(--ink-soft); margin: 0 0 14px; line-height: 1.45; }

/* ============ PRODUCT DETAIL ============ */
.pd-hero { padding-block: 56px 40px; }
.back { font-family: var(--font-mono); font-size: 13px; color: var(--ink); text-decoration: none; background: none; border: none; padding: 0; display: inline-flex; gap: 6px; align-items: center; }
.back:hover { color: var(--oraculo-700); }
.pd-hero h1 { font-family: var(--font-pixel); font-weight: 700; font-size: 64px; margin: 18px 0 8px; color: var(--ink); line-height: 1; }
.pd-hero .tag { font-family: var(--font-mono); font-size: 14px; color: var(--oraculo-700); text-transform: uppercase; letter-spacing: 0.06em; }
.pd-hero .lede { font-size: 19px; line-height: 1.55; color: var(--ink-soft); max-width: 600px; margin: 18px 0 26px; }
.pd-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; padding-bottom: 80px; }
.feat { border-top: 2px solid var(--ink); padding: 16px 0; }
.feat h4 { font-family: var(--font-pixel); font-weight: 700; font-size: 19px; margin: 0 0 6px; color: var(--ink); }
.feat p { font-size: 15px; line-height: 1.5; color: var(--ink-soft); margin: 0; }
.spec .crt__body { background: var(--crt-bone); font-family: var(--font-mono); font-size: 13px; line-height: 1.9; color: var(--ink); }
.spec .k { color: var(--ink-mute); }

/* ============ FLAGSHIP / DELPHOS ============ */
.flag { padding-block: 96px; background: var(--paper); border-top: 3px solid var(--ink); }
.flag__top { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 48px; }
.flag__name { font-family: var(--font-pixel); font-weight: 700; font-size: 60px; line-height: 0.95; margin: 0; color: var(--ink); display: flex; flex-direction: column; }
.flag__tag { font-family: var(--font-mono); font-size: 15px; color: var(--oraculo-700); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 10px; }
.flag__desc { font-size: 18px; line-height: 1.6; color: var(--ink-soft); margin: 0; }
.flag__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.flag__bullets { display: flex; flex-direction: column; gap: 22px; }
.bullet { display: flex; gap: 16px; border-top: 2px solid var(--ink); padding-top: 16px; }
.bullet__n { font-family: var(--font-mono); font-size: 13px; color: var(--oraculo-700); font-weight: 700; padding-top: 3px; }
.bullet h4 { font-family: var(--font-pixel); font-weight: 700; font-size: 20px; margin: 0 0 5px; color: var(--ink); }
.bullet p { font-size: 15px; line-height: 1.5; margin: 0; color: var(--ink-soft); }
.flag__dash { position: sticky; top: 80px; }
.dash { font-family: var(--font-mono); font-size: 13px; color: var(--ink); }
.dash__row { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 5px 0; border-bottom: 1px dashed var(--crt-deep); }
.dash__k { font-weight: 700; }
.dash__pill { font-family: var(--font-sans); font-size: 11px; font-weight: 600; padding: 1px 7px; border: 1px solid var(--ink); }
.dash__pill.ok { background: var(--signal-ok); color: var(--paper); border-color: var(--ink); }
.dash__pill.warn { background: var(--signal-err); color: var(--paper); }
.dash__bar { height: 16px; background: var(--crt-bone); border: 1.5px solid var(--ink); margin: 14px 0 6px; padding: 2px; }
.dash__bar span { display: block; height: 100%; background: var(--ink); }
.dash__legend { display: flex; justify-content: space-between; }
.dash__alert { margin-top: 12px; background: var(--ink); color: var(--paper); padding: 6px 9px; font-size: 12px; }
.pipe-flow { display: flex; align-items: center; gap: 8px; justify-content: center; margin-top: 18px; flex-wrap: wrap; }
.pipe-flow__n { font-family: var(--font-pixel); font-weight: 700; font-size: 14px; border: 2px solid var(--ink); padding: 5px 11px; background: var(--surface-bone); box-shadow: 2px 2px 0 var(--ink); }
.pipe-flow__a { font-family: var(--font-pixel); font-size: 18px; color: var(--ink); }
.flag__foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 48px; flex-wrap: wrap; }
.stackbadges { display: flex; flex-wrap: wrap; gap: 8px; }
.stackbadge { font-family: var(--font-mono); font-size: 12px; border: 1.5px solid var(--ink); border-radius: var(--radius-pill); padding: 4px 12px; color: var(--ink); background: var(--paper); }

/* ============ SELINKA ============ */
.selinka { background: var(--bg-dim); border-block: 3px solid var(--ink); padding-block: 88px; }
.selinka__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; }
.selinka__h { font-family: var(--font-pixel); font-weight: 700; font-size: 64px; margin: 0; color: var(--ink); line-height: 1; }
.selinka__sub { font-family: var(--font-sans); font-weight: 700; font-size: 24px; line-height: 1.25; color: var(--ink); margin: 14px 0 18px; max-width: 480px; }
.selinka__p { font-size: 16px; line-height: 1.6; color: var(--ink-soft); margin: 0 0 12px; max-width: 520px; }
.selinka__link { display: inline-block; margin-top: 8px; font-family: var(--font-mono); font-size: 14px; color: var(--oraculo-700); font-weight: 700; }
.selinka__badges { display: flex; flex-direction: column; gap: 12px; }
.sbadge { display: flex; align-items: center; gap: 12px; background: var(--paper); border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); padding: 12px 16px; font-family: var(--font-sans); font-weight: 600; font-size: 14px; color: var(--ink); }
.sbadge--credit { font-family: var(--font-mono); font-weight: 400; font-size: 12px; color: var(--ink-mute); box-shadow: none; border-style: dashed; }

/* ============ CONQUISTAS ============ */
.conq-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.conq { border: 2px solid var(--ink); background: var(--paper); box-shadow: var(--shadow-pop-sm); padding: 22px 18px; display: flex; flex-direction: column; gap: 8px; min-height: 120px; justify-content: center; align-items: flex-start; transition: transform var(--dur-fast) var(--ease-snap), box-shadow var(--dur-fast); }
.conq:hover { transform: translate(2px,2px) rotate(0deg) !important; box-shadow: 1px 1px 0 var(--ink); }
.conq__name { font-family: var(--font-pixel); font-weight: 700; font-size: 22px; color: var(--ink); line-height: 1.05; }
.conq__tag { font-family: var(--font-mono); font-size: 12px; color: var(--oraculo-700); text-transform: uppercase; letter-spacing: 0.04em; }
.conq__logo { height: 26px; width: auto; }

/* ============ PROVADOR / LOJA ============ */
.loja { padding-block: 96px; background: var(--paper); border-top: 3px solid var(--ink); }
.prov { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.prov__viewer { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.prov-stage { perspective: 1600px; width: 100%; max-width: 460px; }
.prov-card { position: relative; width: 100%; aspect-ratio: 1 / 0.98; transform-style: preserve-3d; transition: transform 0.7s var(--ease-snap); }
.prov-card.flip { transform: rotateY(180deg); }
.prov-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border: 3px solid var(--ink); box-shadow: var(--shadow-pop); background: var(--surface-bone); overflow: hidden; }
.prov-face img { width: 100%; height: 100%; object-fit: cover; }
.prov-face--back { transform: rotateY(180deg); }
.prov-flip { font-family: var(--font-pixel); font-weight: 700; font-size: 14px; background: var(--ink); color: var(--paper); border: 2px solid var(--ink); padding: 9px 18px; box-shadow: 3px 3px 0 var(--ink); transition: transform var(--dur-fast) var(--ease-snap), box-shadow var(--dur-fast); }
.prov-flip:hover { transform: translate(2px,2px); box-shadow: 1px 1px 0 var(--ink); }
.prov__panel .crt__body { background: var(--crt-bone); padding: 20px; }
.prov__models { display: flex; gap: 8px; margin-bottom: 16px; }
.prov__model { display: flex; align-items: center; gap: 7px; font-family: var(--font-sans); font-weight: 700; font-size: 13px; border: 1.5px solid var(--ink); background: var(--paper); color: var(--ink); padding: 7px 12px; }
.prov__model.on { background: var(--ink); color: var(--paper); }
.prov__sw { width: 14px; height: 14px; border: 1.5px solid var(--ink); display: inline-block; }
.prov__model.on .prov__sw { border-color: var(--paper); }
.prov__name { font-family: var(--font-pixel); font-weight: 700; font-size: 34px; color: var(--ink); line-height: 1; }
.prov__meta { font-family: var(--font-mono); font-size: 14px; color: var(--oraculo-700); margin: 4px 0 18px; }
.prov__label { font-family: var(--font-sans); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-mute); margin-bottom: 8px; }
.prov__sizes { display: flex; gap: 8px; margin-bottom: 20px; }
.prov__size { font-family: var(--font-mono); font-size: 14px; width: 42px; height: 42px; border: 1.5px solid var(--ink); background: var(--paper); color: var(--ink); }
.prov__size.on { background: var(--oraculo-700); color: var(--paper); border-color: var(--ink); }
.prov__reserve { width: 100%; justify-content: center; }
.prov__done { font-family: var(--font-pixel); font-size: 15px; color: var(--ink); text-align: center; border: 2px solid var(--ink); padding: 12px; background: var(--paper); }
.prov__hint { font-family: var(--font-mono); font-size: 11px; color: var(--ink-mute); text-align: center; margin-top: 12px; }

/* ============ CLIENTES ============ */
.cli-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cli { border: 3px solid var(--ink); background: var(--paper); box-shadow: 6px 6px 0 var(--ink); padding: 28px 30px; display: flex; flex-direction: column; gap: 6px; text-decoration: none; transition: transform var(--dur-fast) var(--ease-snap), box-shadow var(--dur-fast); }
.cli:hover { transform: translate(3px,3px); box-shadow: 3px 3px 0 var(--ink); }
.cli__name { font-family: var(--font-pixel); font-weight: 700; font-size: 30px; color: var(--ink); }
.cli__tag { font-size: 15px; color: var(--ink-soft); }
.cli__go { font-family: var(--font-mono); font-size: 13px; color: var(--oraculo-700); margin-top: 8px; }

/* ============ TEAM (members) ============ */
.team-grid { display: flex; flex-wrap: wrap; gap: 20px; }
.member { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 84px; }
.member__name { font-family: var(--font-mono); font-size: 12px; color: var(--ink); text-align: center; }
.avatar { width: 64px; height: 64px; border: 2px solid var(--ink); border-radius: 50%; display: grid; place-items: center; font-family: var(--font-pixel); font-weight: 700; font-size: 19px; background: var(--surface-bone); color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.avatar--more { background: var(--oraculo-700); color: var(--paper); }

/* ============ responsive ============ */
@media (max-width: 900px) {
  .flag__top, .flag__grid, .selinka__grid, .prov, .cli-grid { grid-template-columns: 1fr; }
  .flag__dash { position: static; }
  .conq-grid { grid-template-columns: 1fr 1fr; }
  .flag__name { font-size: 48px; }
  .hero__grid, .estampa__grid, .manifesto__in, .pd-grid { grid-template-columns: 1fr; }
  .hero__stack { display: none; }
  .prod-grid { grid-template-columns: 1fr; }
  .pipe { grid-template-columns: 1fr 1fr; }
  .pipe__node::after { display: none; }
  .numbers__in { grid-template-columns: 1fr 1fr; gap: 32px; }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
}

/* ============================================================
   LANDING OVERRIDES — hero purple, manto avatar, gallery, reel
   ============================================================ */

/* hero graffiti: Rubik Puddles (legible strokes, ink drips off the bottom) with
   purple fill + thin black stroke. Lighter drip stack so letters stay readable
   instead of merging into a blob. */
.shout {
  font-family: "Rubik Puddles", var(--font-graffiti);
  color: var(--oraculo-700);
  -webkit-text-stroke: 1px var(--ink);
  paint-order: stroke fill;
  letter-spacing: 0.08em;
  word-spacing: 0.18em;
  text-shadow:
    0 0.03em 0 rgba(58,31,110,0.85),
    0 0.06em 0.01em rgba(58,31,110,0.62),
    0 0.10em 0.02em rgba(58,31,110,0.40),
    0 0.16em 0.03em rgba(58,31,110,0.22),
    0 0.24em 0.05em rgba(58,31,110,0.10);
}

/* client logo as circular profile icon (Manto Fut Store) — pre-cropped square badge fills the disc */
.cli__head { display: flex; align-items: center; gap: 14px; }
.cli__logo { width: 56px; height: 56px; min-width: 56px; border-radius: 50%; overflow: hidden; border: 2px solid var(--ink); background: var(--ink); box-shadow: 3px 3px 0 var(--ink); display: block; }
.cli__logo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

/* ============ GALLERY ============ */
.gallery { background: var(--bg-dim); border-block: 3px solid var(--ink); padding-block: 88px; }
.gal-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.gal { position: relative; overflow: hidden; border: 3px solid var(--ink); box-shadow: var(--shadow-pop); background: var(--ink); }
.gal img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform var(--dur-base) var(--ease-snap); }
.gal:hover img { transform: scale(1.05); }
.gal__cap { position: absolute; left: 0; bottom: 0; right: 0; background: var(--ink); color: var(--paper); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.03em; padding: 6px 10px; }
.gal--wide { grid-column: span 6; aspect-ratio: 16 / 10; }
.gal--tall { grid-column: span 3; aspect-ratio: 3 / 4; }
.gal--sq { grid-column: span 3; aspect-ratio: 1 / 1; }

/* ============ REELS ============ */
.reel-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 32px; }
.reel-h { font-family: var(--font-pixel); font-weight: 700; font-size: 44px; line-height: 1; color: var(--ink); margin: 8px 0 0; }
.reel-head p { font-size: 17px; line-height: 1.6; color: var(--ink-soft); max-width: 400px; margin: 0; }
.reels-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; justify-items: center; }
.reel-card { display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 420px; }
.reel-frame { border: 3px solid var(--ink); box-shadow: var(--shadow-pop-lg); background: var(--ink); width: 100%; height: 760px; overflow: hidden; transform: rotate(-1deg); }
.reel-card:nth-child(2) .reel-frame { transform: rotate(1deg); }
.reel-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.reel-vid { width: 100%; height: 100%; object-fit: cover; display: block; background: var(--ink); }
.reel-cap { font-family: var(--font-mono); font-size: 13px; color: var(--ink); letter-spacing: 0.02em; text-align: center; }

/* footer social row */
.ftr__social { display: flex; flex-wrap: wrap; gap: 16px; margin: 14px 0 16px; }
.ftr__social a { font-family: var(--font-mono); font-size: 13px; color: var(--ink); }
.ftr__social a:hover { color: var(--oraculo-700); }

@media (max-width: 900px) {
  .reel-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .reels-grid { grid-template-columns: 1fr; }
  .reel-frame { height: 720px; }
  .gal-grid { grid-template-columns: repeat(6, 1fr); }
  .gal--wide, .gal--tall, .gal--sq { grid-column: span 3; aspect-ratio: 1 / 1; }
}
