/* =========================================================================
   Matheus Da Mata — Identidade refinada (v2)
   Base: minimal/Vercel · fundo sólido quente (Minimal Pro) · chrome nítido
   Line art / pixel contidos e intencionais.
   Variantes por classe no <body>:
     .v-minimal  → títulos Geist limpos, keyword só com acento
     .v-illo     → títulos marker (Shantell), keyword sublinhada, ilustração-herói
   ========================================================================= */

:root {
  /* light (default) — paleta Minimal Pro, fundo sólido único */
  --bg: #f8f7f4;
  --bg-2: #f3f1ec;
  --surface: #ffffff;
  --surface-2: #f3f1ea;
  --line: #e9e7e0;
  --line-strong: #dcd9cf;
  --ink: #16150f;
  --ink-2: #57544a;
  --ink-3: #969184;

  --accent: #0070f3;
  --accent-soft: color-mix(in srgb, var(--accent) 10%, transparent);

  --dot: rgba(22,21,15,0.05);

  --font-display: "Geist", system-ui, -apple-system, sans-serif;
  --font-body: "Geist", system-ui, -apple-system, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --font-head: "Shantell Sans", "Geist", sans-serif;

  --maxw: 1080px;
  --pad: clamp(20px, 5vw, 56px);
  --radius: 8px;
  --reveal-dur: 0.6s;
}

.theme-dark {
  --bg: #0c0b09;
  --bg-2: #121110;
  --surface: #131211;
  --surface-2: #191815;
  --line: #262421;
  --line-strong: #383531;
  --ink: #f7f5f0;
  --ink-2: #a6a299;
  --ink-3: #6f6b62;
  --dot: rgba(255,255,255,0.06);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background .3s, color .3s;
}

.no-motion *, .no-motion *::before, .no-motion *::after { animation: none !important; transition: none !important; }
::selection { background: var(--ink); color: var(--bg); }
a { color: inherit; text-decoration: none; }

#bgLayer { position: fixed; inset: 0; z-index: -1; background: var(--bg); transition: background .3s; }

/* dot grid — off by default (solid bg); toggleable via Tweaks */
.grid-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; display: none;
  background-image: radial-gradient(var(--dot) 1px, transparent 1.4px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, #000 0%, transparent 70%);
}

/* ---- Layout ----------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }
.section { position: relative; z-index: 1; padding-block: clamp(64px, 9vw, 124px); border-top: 1px solid var(--line); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-3); display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; background: var(--accent); }

.section-head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head h2 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(26px, 3.6vw, 40px); line-height: 1.1;
  letter-spacing: -0.03em; margin-top: 18px; text-wrap: balance;
}
.section-head p { color: var(--ink-2); margin-top: 16px; font-size: clamp(15px, 1.4vw, 17px); max-width: 60ch; text-wrap: pretty; }

/* ---- Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-size: 14px; font-weight: 500;
  padding: 11px 18px; border-radius: var(--radius);
  border: 1px solid transparent; cursor: pointer;
  transition: background .2s, border-color .2s, color .2s, transform .2s; white-space: nowrap;
}
/* primary = botão preto + texto branco (sempre, em qualquer tema) */
.btn-primary { background: #0a0a0a; color: #ffffff; border-color: #0a0a0a; }
.btn-primary:hover { transform: translateY(-1px); opacity: .9; }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: var(--surface); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-1px); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translate(2px, -2px); }

/* ---- Pixel art (SVG squares — assinatura contida) --------------------- */
.mark { width: 28px; height: 28px; border-radius: 7px; background: var(--ink); color: var(--bg); flex-shrink: 0; display: grid; place-items: center; }
.mark svg { width: 15px; height: 15px; display: block; }
.pixel-arrow { width: 50px; height: 50px; color: var(--ink); display: block; }

/* ---- Line-art icons (traço limpo, consistente) ----------------------- */
.ico { color: var(--ink); }
.ico svg { display: block; width: 100%; height: 100%; }

/* ---- Nav -------------------------------------------------------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s, background .3s;
}
.nav-inner { max-width: var(--maxw); margin: 0 auto; padding: 13px var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.nav.scrolled { border-bottom-color: var(--line); }
.brand { font-family: var(--font-display); font-weight: 600; font-size: 15px; letter-spacing: -0.01em; display: flex; align-items: center; gap: 10px; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a { font-family: var(--font-body); font-size: 14px; color: var(--ink-2); padding: 7px 12px; border-radius: var(--radius); white-space: nowrap; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--ink); background: var(--surface-2); }
.nav-cta { margin-left: 6px; padding: 9px 16px; }
.nav-links a.btn-primary, .nav-links a.btn-primary:hover { color: #fff; }
@media (max-width: 860px) { .nav-links a:not(.nav-cta) { display: none; } }

/* ---- Hero ------------------------------------------------------------- */
.hero { position: relative; z-index: 1; padding-top: clamp(120px, 16vh, 180px); padding-bottom: clamp(48px, 7vw, 84px); }
.hero-grid { display: grid; grid-template-columns: 1.5fr 0.8fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(34px, 5.4vw, 60px); line-height: 1.05;
  letter-spacing: -0.04em; margin-top: 24px; text-wrap: balance;
}
.hero h1 .hl { color: var(--accent); position: relative; white-space: nowrap; }
.hero h1 .hl .uline { display: none; position: absolute; left: -8px; right: -8px; width: calc(100% + 16px); bottom: -8px; height: 12px; overflow: visible; color: var(--accent); }
.hero-sub { color: var(--ink-2); font-size: clamp(16px, 1.7vw, 19px); margin-top: 22px; max-width: 52ch; text-wrap: pretty; }
.hero-sub strong { color: var(--ink); font-weight: 600; }
.hero-status { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 100px; background: var(--surface); font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-2); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #1aa860; flex-shrink: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* hero centralizado (só texto, sem foto) */
.hero-centered .hero-center { max-width: 920px; margin: 0 auto; text-align: center; }
.hero-centered .hero-actions { justify-content: center; }
.hero-centered .hero-sub { margin-left: auto; margin-right: auto; }
.hero-centered h1 { font-size: clamp(36px, 5.6vw, 64px); }

/* hero portrait — foto limpa + seta pixel como assinatura */
.portrait { position: relative; }
.portrait image-slot { display: block; width: 100%; aspect-ratio: 4 / 5; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface-2); overflow: hidden; }
.portrait .frame-tag { position: absolute; bottom: 10px; left: 10px; font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-3); background: var(--bg); border: 1px solid var(--line); padding: 4px 8px; border-radius: 5px; }
.portrait .corner { display: none; }
.portrait .pixel-arrow { position: absolute; top: -24px; right: -14px; }
@media (max-width: 900px) { .portrait .pixel-arrow { top: -18px; right: 0; } }

/* ---- Hero illustration band (somente .v-illo) ------------------------ */
.illo-band { display: none; }
.v-illo .illo-band {
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: clamp(28px, 4vw, 52px);
  margin-top: clamp(40px, 5vw, 64px);
  border: 1px solid var(--line); border-radius: 16px; background: var(--surface);
  padding: clamp(26px, 3.5vw, 40px) clamp(28px, 4vw, 48px);
}
.illo-band .hero-illo { width: clamp(280px, 32vw, 380px); height: auto; color: var(--ink); }
.illo-band .hero-illo .acc { stroke: var(--accent); }
.illo-band .hero-illo .acc-fill { fill: var(--accent); stroke: none; }
.illo-band .illo-copy h3 { font-family: var(--font-head); font-weight: 600; font-size: clamp(20px, 2.4vw, 27px); letter-spacing: -0.01em; line-height: 1.12; }
.illo-band .illo-copy p { color: var(--ink-2); font-size: clamp(14px, 1.4vw, 16px); margin-top: 12px; max-width: 44ch; text-wrap: pretty; }
@media (max-width: 760px) { .v-illo .illo-band { grid-template-columns: 1fr; } .illo-band .hero-illo { width: 280px; } }

/* ---- Stats ------------------------------------------------------------ */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin-top: clamp(40px, 5vw, 64px); background: var(--surface); }
.stat { padding: 26px clamp(18px, 3vw, 32px); border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat .n { font-family: var(--font-display); font-weight: 600; font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.04em; line-height: 1; }
.stat .n .unit { color: var(--accent); }
.stat .l { font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); margin-top: 12px; }
@media (max-width: 640px) { .stats { grid-template-columns: 1fr; } .stat { border-right: 0; border-bottom: 1px solid var(--line); } .stat:last-child { border-bottom: 0; } }

/* ---- Two-col / Sobre -------------------------------------------------- */
.split { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.lead-para { font-size: clamp(17px, 1.9vw, 20px); line-height: 1.5; color: var(--ink); text-wrap: pretty; letter-spacing: -0.01em; }
.lead-para + .lead-para { margin-top: 20px; }
.body-para { color: var(--ink-2); margin-top: 16px; text-wrap: pretty; }
.body-para strong { color: var(--ink); font-weight: 600; }

.aside-card { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 26px; }
.aside-card h4 { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 20px; }
.aside-list { list-style: none; display: flex; flex-direction: column; gap: 22px; }
.aside-list li { display: flex; gap: 16px; align-items: flex-start; }
.aside-list .y { font-family: var(--font-mono); font-size: 12.5px; color: var(--accent); min-width: 42px; line-height: 1.5; padding-top: 1px; }
.aside-list .t { display: flex; flex-direction: column; flex: 1; font-size: 15px; color: var(--ink); line-height: 1.4; font-weight: 500; }
.aside-list .t span { color: var(--ink-3); font-size: 13.5px; margin-top: 4px; font-weight: 400; }

/* ---- Objections ------------------------------------------------------- */
.obj-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface); }
@media (max-width: 760px) { .obj-grid { grid-template-columns: 1fr; } }
.obj { padding: 32px; position: relative; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .25s; }
.obj:nth-child(2n) { border-right: 0; }
.obj:nth-last-child(-n+2) { border-bottom: 0; }
@media (max-width: 760px) { .obj { border-right: 0; } .obj:last-child { border-bottom: 0; } }
.obj:hover { background: var(--surface-2); }
.obj .q { font-family: var(--font-display); font-size: clamp(18px, 2vw, 21px); font-weight: 500; letter-spacing: -0.02em; color: var(--ink); line-height: 1.3; display: flex; gap: 10px; }
.obj .q .quote { color: var(--accent); font-family: var(--font-mono); font-weight: 500; }
.obj .a { color: var(--ink-2); margin-top: 16px; font-size: 15px; text-wrap: pretty; }
.obj .a strong { color: var(--ink); font-weight: 600; }
.obj .idx { position: absolute; top: 26px; right: 30px; font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-3); }

/* ---- Method (com ícones line-art) ------------------------------------ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface); }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 30px 26px; border-right: 1px solid var(--line); }
.step:last-child { border-right: 0; }
@media (max-width: 880px) { .step:nth-child(2n) { border-right: 0; } .step:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 480px) { .step { border-right: 0; border-bottom: 1px solid var(--line); } .step:last-child { border-bottom: 0; } }
.step .ico { width: 38px; height: 38px; margin-bottom: 18px; }
.step .num { font-family: var(--font-mono); font-size: 12px; color: var(--accent); }
.step h3 { font-family: var(--font-display); font-weight: 600; font-size: 18px; margin-top: 8px; letter-spacing: -0.02em; }
.step p { color: var(--ink-2); font-size: 14px; margin-top: 10px; text-wrap: pretty; }

/* ---- Stack / domains (com ícones) ------------------------------------ */
.stack-cat { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 28px; }
.stack-cat .ico { width: 36px; height: 36px; margin-bottom: 18px; }
.stack-cat h4 { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink); margin-bottom: 12px; display: flex; align-items: center; gap: 10px; font-weight: 500; }
.stack-cat h4 .k { color: var(--accent); }
.domain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 760px) { .domain-grid { grid-template-columns: 1fr; } }
.domain-grid .stack-cat p { color: var(--ink-2); font-size: 14.5px; text-wrap: pretty; margin: 0; }
.stack-foot { margin-top: 22px; font-family: var(--font-mono); font-size: 13px; line-height: 1.7; color: var(--ink-3); text-align: center; text-wrap: balance; }
.stack-foot b { color: var(--ink-2); font-weight: 500; }

/* ---- Projects --------------------------------------------------------- */
.proj-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 820px) { .proj-grid { grid-template-columns: 1fr; } }
.proj { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); overflow: hidden; display: flex; flex-direction: column; transition: border-color .25s, transform .25s; }
.proj:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.proj.featured { grid-column: span 2; }
@media (max-width: 820px) { .proj.featured { grid-column: span 1; } }
.proj .shot { aspect-ratio: 16 / 9; background: repeating-linear-gradient(45deg, var(--surface-2) 0 10px, var(--bg-2) 10px 20px); border-bottom: 1px solid var(--line); display: grid; place-items: center; }
.proj.featured .shot { aspect-ratio: 24 / 7; }
.proj .shot image-slot { display: block; width: 100%; height: 100%; }
.proj .meta { padding: 22px 24px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.proj .tags { display: flex; gap: 7px; flex-wrap: wrap; }
.proj .tag { font-family: var(--font-mono); font-size: 11px; color: var(--ink-2); border: 1px solid var(--line); padding: 3px 9px; border-radius: 100px; }
.proj h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(18px, 2.2vw, 23px); letter-spacing: -0.02em; }
.proj p { color: var(--ink-2); font-size: 14.5px; text-wrap: pretty; }
.proj .status { margin-top: auto; font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-3); display: flex; align-items: center; gap: 7px; }
.proj .status .live { width: 6px; height: 6px; border-radius: 50%; background: #1aa860; }

/* ---- Testimonials ----------------------------------------------------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 880px) { .quotes { grid-template-columns: 1fr; } }
.quote-card { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 28px 26px; display: flex; flex-direction: column; }
.quote-card .qm { font-family: var(--font-head); font-size: 34px; line-height: 0.6; color: var(--accent); height: 18px; }
.quote-card blockquote { color: var(--ink); font-size: 15px; line-height: 1.55; flex: 1; text-wrap: pretty; }
.quote-card .who { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.quote-card .av { width: 38px; height: 38px; border-radius: 100px; background: var(--surface-2); border: 1px solid var(--line); display: grid; place-items: center; font-family: var(--font-mono); font-size: 13px; color: var(--ink-2); flex-shrink: 0; }
.quote-card .who .nm { font-size: 14px; font-weight: 600; }
.quote-card .who .rl { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-3); margin-top: 2px; }

/* ---- Content / Blog --------------------------------------------------- */
.content-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 880px) { .content-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .content-grid { grid-template-columns: 1fr; } }
.content-card { display: flex; flex-direction: column; gap: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 24px 22px; transition: border-color .25s, transform .25s; }
.content-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.content-card .plat { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent); }
.content-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 17px; letter-spacing: -0.02em; }
.content-card p { color: var(--ink-2); font-size: 13.5px; text-wrap: pretty; flex: 1; }
.content-card .go { font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); display: flex; align-items: center; gap: 6px; transition: color .2s; }
.content-card:hover .go { color: var(--ink); }
.content-card .go .arrow { transition: transform .2s; }
.content-card:hover .go .arrow { transform: translate(2px, -2px); }

.blog-banner { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2); padding: 30px clamp(24px, 4vw, 38px); transition: border-color .25s; }
.blog-banner:hover { border-color: var(--line-strong); }
.blog-banner .bb-txt { display: flex; flex-direction: column; gap: 7px; max-width: 62ch; }
.blog-banner .bb-tag { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.blog-banner .bb-txt h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(19px, 2.2vw, 25px); letter-spacing: -0.02em; line-height: 1.15; }
.blog-banner .bb-txt p { color: var(--ink-2); font-size: 14.5px; text-wrap: pretty; }
.blog-banner .btn { flex-shrink: 0; }

/* ---- CTA -------------------------------------------------------------- */
.cta { position: relative; z-index: 1; text-align: center; padding-block: clamp(20px, 4vw, 48px); }
.cta h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(28px, 4.2vw, 48px); letter-spacing: -0.04em; line-height: 1.05; text-wrap: balance; max-width: 16ch; margin: 0 auto; }
.cta p { color: var(--ink-2); margin: 18px auto 0; max-width: 48ch; font-size: clamp(15px, 1.5vw, 17px); text-wrap: pretty; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 32px; }

/* ---- Footer ----------------------------------------------------------- */
.footer { position: relative; z-index: 1; border-top: 1px solid var(--line); padding-block: 44px; }
.footer-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.footer .brand { font-size: 15px; }
.footer-meta { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-3); line-height: 1.7; margin-top: 14px; }
.footer-links { display: flex; gap: 4px; flex-wrap: wrap; }
.footer-links a { font-family: var(--font-body); font-size: 13.5px; color: var(--ink-2); padding: 7px 13px; border: 1px solid var(--line); border-radius: var(--radius); white-space: nowrap; transition: border-color .2s, color .2s; }
.footer-links a:hover { color: var(--ink); border-color: var(--line-strong); }

/* ---- Reveal ----------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity var(--reveal-dur) cubic-bezier(.2,.7,.2,1), transform var(--reveal-dur) cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.shown { opacity: 1 !important; transform: none !important; transition: none !important; }
.reveal.d1 { transition-delay: .06s; }
.reveal.d2 { transition-delay: .12s; }
.reveal.d3 { transition-delay: .18s; }
.reveal.d4 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* =========================================================================
   VARIANTE .v-illo — títulos marker (Shantell) nos grandes momentos
   ========================================================================= */
.v-illo .hero h1,
.v-illo .section-head h2,
.v-illo .cta h2,
.v-illo .blog-banner .bb-txt h3 { font-family: var(--font-head); font-weight: 700; letter-spacing: -0.005em; }
.v-illo #sobre h2 { font-family: var(--font-head) !important; font-weight: 700 !important; letter-spacing: -0.005em !important; }
.v-illo .hero h1 { line-height: 1.08; }
.v-illo .hero h1 .hl .uline { display: block; }

/* =========================================================================
   OTIMIZAÇÃO MOBILE — completa, a partir de 320px
   ========================================================================= */

/* alvos de toque confortáveis (≥44px) em telas touch */
@media (max-width: 760px) {
  .btn { padding: 13px 18px; }
  .nav-cta { padding: 11px 16px; }
  .footer-links a { padding: 9px 13px; }
}

/* tablets estreitos / phablets */
@media (max-width: 600px) {
  .section { padding-block: clamp(52px, 13vw, 76px); }
  .section-head { margin-bottom: 32px; }

  /* projeto em destaque: a tira 24:7 fica fina demais empilhada */
  .proj.featured .shot { aspect-ratio: 16 / 10; }

  /* botões do hero e do CTA preenchem a linha, empilhamento limpo */
  .hero-actions, .cta-actions { gap: 10px; }
  .hero-actions .btn, .cta-actions .btn { flex: 1 1 auto; justify-content: center; min-width: 46%; }

  /* banner do blog: botão em largura cheia, abaixo do texto */
  .blog-banner { gap: 18px; padding: 26px clamp(20px, 5vw, 30px); }
  .blog-banner .btn { width: 100%; justify-content: center; }
}

/* smartphones */
@media (max-width: 480px) {
  /* enxuga paddings de card para preservar largura útil a 320px */
  .obj { padding: 24px 22px; }
  .obj .idx { top: 22px; right: 22px; }
  .step { padding: 26px 22px; }
  .stack-cat { padding: 24px 22px; }
  .quote-card { padding: 24px 22px; }
  .content-card { padding: 22px 20px; }
  .proj .meta { padding: 20px 20px; }
  .aside-card { padding: 22px 20px; }

  /* eyebrow do hero é longa — centraliza e quebra de forma limpa */
  .hero .eyebrow { font-size: 11px; letter-spacing: 0.03em; justify-content: center; flex-wrap: wrap; row-gap: 4px; text-align: center; }

  .hero { padding-top: 104px; }
}

/* telas muito pequenas — 320 a 360 */
@media (max-width: 360px) {
  :root { --pad: 16px; }
  .nav-inner { gap: 10px; }
  .brand { font-size: 14px; gap: 8px; }
  .hero-centered h1 { font-size: 31px; }
  .section-head h2, .cta h2 { font-size: 25px; }
  /* um botão por linha, em largura cheia */
  .hero-actions .btn, .cta-actions .btn { min-width: 100%; }
}
