/*
Theme Name: Visualiza Digital
Theme URI: https://visualizadigital.mkt
Author: Visualiza Digital
Author URI: https://instagram.com/visualizadigital.mkt
Description: Tema institucional one-page da agência Visualiza Digital (Goiânia/GO). Design editorial inspirado em Publicis, AKQA e Wieden+Kennedy. Tipografia DM Serif Display + Inter, paleta preto/vermelho (#FE0103) e animações sutis no scroll.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: visualiza-digital
Tags: one-page, editorial, agency, custom-colors, custom-menu, translation-ready
*/

/* =========================================================
   Reset básico
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #000;
  color: #fff;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* =========================================================
   Tokens da marca
   ========================================================= */
:root {
  --brand-red: #FE0103;
  --brand-black: #000000;
  --brand-white: #FFFFFF;
  --brand-dark: #111111;
  --brand-muted: #888888;
  --brand-body: #444444;
  --brand-hairline: #EBEBEB;
  --brand-hairline-dark: #222222;
}

.font-display { font-family: 'DM Serif Display', Georgia, serif; font-weight: 400; }

/* =========================================================
   Layout
   ========================================================= */
.vd-section {
  padding: 120px 80px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.vd-container { max-width: 1280px; margin: 0 auto; width: 100%; }
.vd-narrow    { max-width: 1100px; margin: 0 auto; width: 100%; }

@media (max-width: 768px) {
  .vd-section { padding: 80px 24px; min-height: auto; }
}

/* =========================================================
   Navegação fixa
   ========================================================= */
.vd-nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 20px 32px;
  display: flex; justify-content: space-between; align-items: center;
  transition: background-color .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.vd-nav.is-scrolled { background: rgba(0,0,0,.85); backdrop-filter: blur(12px); border-bottom-color: #1a1a1a; }
.vd-nav__brand { font-family: 'DM Serif Display', serif; font-size: 20px; color: #fff; }
.vd-nav__list { display: none; gap: 32px; list-style: none; margin: 0; padding: 0; }
.vd-nav__list a {
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #ddd;
  transition: color .2s;
}
.vd-nav__list a:hover { color: var(--brand-red); }
.vd-nav__toggle {
  background: none; border: 0; color: #fff; width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
}
@media (min-width: 768px) {
  .vd-nav__list { display: flex; }
  .vd-nav__toggle { display: none; }
}
.vd-nav__mobile {
  position: fixed; inset: 0; background: #000; z-index: 60;
  display: none; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
}
.vd-nav__mobile.is-open { display: flex; }
.vd-nav__mobile a { font-family: 'DM Serif Display', serif; color: #fff; font-size: 32px; }
.vd-nav__close { position: absolute; top: 20px; right: 24px; background: none; border: 0; color: #fff; font-size: 32px; }

/* =========================================================
   Hero
   ========================================================= */
.vd-hero { background: #000; color: #fff; text-align: center; align-items: center; }
.vd-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .4; pointer-events: none; }
.vd-hero__overlay { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(0,0,0,.55) 0%, rgba(0,0,0,.9) 70%, #000 100%);
}
.vd-hero__inner { position: relative; z-index: 10; display: flex; flex-direction: column; align-items: center; }
.vd-eyebrow { text-transform: uppercase; font-size: 13px; letter-spacing: .15em; color: var(--brand-red); margin: 0; }
.vd-hero__title { font-family: 'DM Serif Display', serif; margin: 40px 0 0; line-height: 1.02; }
.vd-hero__title span { display: block; font-size: clamp(48px, 10vw, 100px); }
.vd-hero__title .is-accent { color: var(--brand-red); font-style: italic; }
.vd-hero__lede { color: var(--brand-muted); max-width: 560px; margin: 40px auto 0; font-size: 18px; line-height: 1.6; }

.vd-btn {
  display: inline-flex; align-items: center; justify-content: center;
  text-transform: uppercase; font-size: 14px; letter-spacing: .1em;
  padding: 16px 40px; border-radius: 2px;
  border: 1px solid #fff; color: #fff; background: transparent;
  transition: background-color .3s, border-color .3s, color .3s;
  margin-top: 48px;
}
.vd-btn:hover { background: var(--brand-red); border-color: var(--brand-red); }
.vd-btn--filled { background: var(--brand-red); border-color: var(--brand-red); }
.vd-btn--filled:hover { opacity: .85; }

.vd-hero__scroll { position: absolute; left: 0; right: 0; bottom: 40px; padding: 0 32px; }
.vd-hero__scroll hr { border: 0; border-top: 1px solid #333; margin: 0; }
.vd-hero__scroll p  { text-align: center; margin: 16px 0 0; color: #444; font-size: 12px; }

/* =========================================================
   Serviços (claro)
   ========================================================= */
.vd-light { background: #fff; color: #000; }
.vd-dark  { background: #000; color: #fff; }

.vd-h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.05;
  margin: 24px 0 0;
}
.vd-light .vd-h2 { color: #000; }
.vd-dark  .vd-h2 { color: #fff; }

.vd-list { margin-top: 64px; }
.vd-row {
  display: grid; grid-template-columns: minmax(0,120px) 1fr 40px;
  align-items: center; gap: 24px;
  padding: 32px 0 32px 16px;
  border-bottom: 1px solid var(--brand-hairline);
  border-left: 2px solid transparent;
  transition: border-color .3s;
}
.vd-row:hover { border-left-color: var(--brand-red); }
.vd-row__n {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(48px, 6vw, 72px);
  line-height: 1; color: var(--brand-hairline);
  transition: color .3s;
}
.vd-row:hover .vd-row__n,
.vd-row:hover .vd-row__arrow { color: var(--brand-red); }
.vd-row__title { font-family: 'DM Serif Display', serif; font-size: clamp(22px, 3vw, 28px); margin: 0; color: #000; }
.vd-row__desc { color: #666; font-size: 15px; line-height: 1.6; margin: 8px 0 0; max-width: 480px; }
.vd-row__arrow { font-size: 24px; color: #888; text-align: right; transition: color .3s; }

/* Versão escura da lista (Método) */
.vd-dark .vd-row { border-color: #222; }
.vd-dark .vd-row__n { color: #222; }
.vd-dark .vd-row__title { color: #fff; }
.vd-dark .vd-row__desc { color: var(--brand-muted); }
.vd-tag {
  display: inline-block; white-space: nowrap;
  border: 1px solid var(--brand-red); color: var(--brand-red);
  font-size: 11px; padding: 4px 12px; border-radius: 20px;
}
@media (max-width: 768px) { .vd-tag { display: none; } }

/* =========================================================
   Case OIT8
   ========================================================= */
.vd-case__grid { display: grid; gap: 56px; margin-top: 40px; }
@media (min-width: 768px) { .vd-case__grid { grid-template-columns: 1fr 1fr; gap: 80px; } }
.vd-case__img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; margin-bottom: 40px; }
.vd-case__title { font-family: 'DM Serif Display', serif; font-size: clamp(36px, 5vw, 56px); line-height: 1.05; margin: 0; }
.vd-case__sub { font-style: italic; color: #888; margin: 8px 0 0; font-size: 16px; }
.vd-case__lede { color: var(--brand-body); font-size: 16px; line-height: 1.8; margin: 32px 0 0; max-width: 480px; }
.vd-swot { margin-top: 40px; display: grid; gap: 12px; }
.vd-swot p { margin: 0; font-size: 14px; color: #666; }
.vd-swot strong { color: var(--brand-red); margin-right: 8px; }

.vd-stats { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .vd-stats { grid-template-columns: 1fr 1fr; } }
.vd-stat { background: #111; border-radius: 4px; padding: 32px; color: #fff; }
.vd-stat__n { font-family: 'DM Serif Display', serif; font-size: clamp(36px, 5vw, 48px); line-height: 1; }
.vd-stat__l { margin: 12px 0 0; font-size: 13px; color: #666; }

.vd-case__credits { text-align: center; margin-top: 80px; font-size: 12px; color: #aaa; }

/* =========================================================
   Resultados
   ========================================================= */
.vd-results { margin-top: 80px; display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 768px) {
  .vd-results { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .vd-results > div { padding: 0 40px; }
  .vd-results > div + div { border-left: 1px solid #333; }
}
.vd-result__n { font-family: 'DM Serif Display', serif; font-size: clamp(56px, 8vw, 80px); line-height: 1; color: #fff; }
.vd-result__l { color: var(--brand-muted); margin: 16px 0 0; font-size: 14px; }
.vd-result__src { color: var(--brand-red); margin: 4px 0 0; font-size: 12px; }
.vd-clients { text-align: center; margin-top: 80px; color: #555; font-size: 14px; letter-spacing: .05em; }
.vd-clients span.sep { color: var(--brand-red); }

/* =========================================================
   Sobre
   ========================================================= */
.vd-about { display: grid; grid-template-columns: 1fr; gap: 56px; align-items: start; }
@media (min-width: 768px) { .vd-about { grid-template-columns: 1fr 1fr; gap: 80px; } }
.vd-about__giant { font-family: 'DM Serif Display', serif; color: var(--brand-hairline); font-size: clamp(48px, 8vw, 80px); line-height: 1; margin: 0; }
.vd-about__sub { font-family: 'DM Serif Display', serif; color: #000; font-size: clamp(22px, 3vw, 32px); line-height: 1.25; margin: 32px 0 0; }
.vd-about__img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; margin-bottom: 40px; }
.vd-about__p { color: var(--brand-body); font-size: 16px; line-height: 1.9; margin: 0; }
.vd-about__p + .vd-about__p { margin-top: 24px; }
.vd-about__meta { color: #aaa; font-size: 13px; line-height: 1.6; margin: 40px 0 0; }

/* =========================================================
   CTA final
   ========================================================= */
.vd-cta { background: #000; color: #fff; text-align: center; padding: 200px 24px; }
.vd-cta h2 { font-family: 'DM Serif Display', serif; font-size: clamp(40px, 8vw, 80px); line-height: 1.1; margin: 32px 0 0; }
.vd-cta p  { color: var(--brand-muted); margin: 32px auto 0; max-width: 520px; font-size: 18px; line-height: 1.6; }

/* =========================================================
   Footer
   ========================================================= */
.vd-footer { background: #000; color: #fff; padding: 64px 24px 40px; }
.vd-footer__top { max-width: 1280px; margin: 0 auto; display: flex; flex-direction: column; gap: 32px; }
@media (min-width: 768px) { .vd-footer__top { flex-direction: row; justify-content: space-between; align-items: flex-end; } }
.vd-footer__brand { font-family: 'DM Serif Display', serif; font-size: 18px; color: #fff; }
.vd-footer__tag { color: #555; font-size: 13px; margin: 12px 0 0; }
.vd-footer__ig { color: var(--brand-muted); font-size: 14px; transition: color .2s; }
.vd-footer__ig:hover { color: var(--brand-red); }
.vd-footer__bottom { max-width: 1280px; margin: 40px auto 0; padding-top: 20px; border-top: 1px solid #1a1a1a; text-align: center; color: #444; font-size: 12px; }

/* =========================================================
   Reveal on scroll + cursor + reduced motion
   ========================================================= */
.vd-reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; will-change: opacity, transform; }
.vd-reveal.is-visible { opacity: 1; transform: translateY(0); }

@keyframes vd-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.vd-rise { opacity: 0; animation: vd-rise .9s ease forwards; }

.vd-cursor {
  position: fixed; top: 0; left: 0; width: 10px; height: 10px;
  border-radius: 9999px; background: var(--brand-red);
  pointer-events: none; transform: translate3d(-100px, -100px, 0);
  z-index: 9999;
}
@media (hover: none), (pointer: coarse) { .vd-cursor { display: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .vd-reveal { opacity: 1; transform: none; transition: none; }
  .vd-rise   { opacity: 1; animation: none; }
  .vd-cursor { display: none; }
}
