/* MOVVA 360 — sistema visual v3 (tokens + peças compartilhadas)
 * Carrega antes dos blocos. Cada bloco usa as variáveis --s-* da própria seção. */

:root {
  --mv-orange: #ff3600;
  --mv-orange-soft: #ff5a2b;
  --mv-green: #78a57b;
  --mv-green-deep: #5d8a61;
  --mv-ink: #0e130f;
  --mv-ink-2: #151c17;
  --mv-ink-3: #1d261f;
  --mv-cream: #f4efe7;
  --mv-paper: #faf7f2;
  --mv-sand: #e9e2d6;
  --mv-display: "Bricolage Grotesque", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mv-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mv-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --mv-ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --mv-gutter: clamp(20px, 4vw, 48px);
  --mv-section-y: clamp(72px, 8vw, 112px);
  --mv-max: 1200px;
  --mv-radius: 20px;
  --mv-radius-sm: 12px;
}

/* ---------- temas de seção ---------- */
.mv-theme-dark,
.movva-solutions,
.movva-gallery,
.movva-process,
.movva-footer {
  --s-bg: var(--mv-ink);
  --s-bg-2: var(--mv-ink-2);
  --s-card: rgba(255, 255, 255, 0.045);
  --s-fg: #f6f2ea;
  --s-mut: rgba(246, 242, 234, 0.62);
  --s-faint: rgba(246, 242, 234, 0.38);
  --s-line: rgba(246, 242, 234, 0.13);
  --s-accent: var(--mv-orange);
}

.movva-about,
.movva-projects,
.movva-founder,
.movva-instagram-feed {
  --s-bg: var(--mv-cream);
  --s-bg-2: var(--mv-paper);
  --s-card: #fff;
  --s-fg: var(--mv-ink);
  --s-mut: rgba(14, 19, 15, 0.64);
  --s-faint: rgba(14, 19, 15, 0.4);
  --s-line: rgba(14, 19, 15, 0.13);
  --s-accent: var(--mv-orange);
}

/* ---------- base de seção ---------- */
.movva-about,
.movva-solutions,
.movva-projects,
.movva-gallery,
.movva-founder,
.movva-process,
.movva-final,
.movva-instagram-feed,
.movva-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--s-bg);
  color: var(--s-fg);
  font-family: var(--mv-body);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.movva-about *, .movva-solutions *, .movva-projects *, .movva-gallery *,
.movva-founder *, .movva-process *, .movva-final *, .movva-instagram-feed *,
.movva-footer *, .movva-hero *, .movva-site-header * {
  box-sizing: border-box;
}

/* grão sutil sobre as seções, para tirar a cara de "chapado" */
.movva-about::after,
.movva-solutions::after,
.movva-projects::after,
.movva-gallery::after,
.movva-founder::after,
.movva-process::after,
.movva-instagram-feed::after,
.movva-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.3;
  background-image: radial-gradient(currentColor 0.6px, transparent 0.7px);
  background-size: 22px 22px;
  color: var(--s-line);
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
}

/* ---------- escala tipográfica ----------
 * h1 capa  : 40–76px   h2 seção : 30–48px   h3 card : 22–30px
 * corpo    : 16–17px   rótulo   : 12px      */

/* ---------- kicker (02 — Rótulo) ---------- */
.movva-about-kicker,
.movva-solutions-kicker,
.movva-projects-kicker,
.movva-gallery-kicker,
.movva-founder-kicker,
.movva-process-kicker,
.movva-final-kicker,
.movva-instagram-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  font: 700 12px / 1 var(--mv-body);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--s-mut);
}

.movva-about-kicker span,
.movva-solutions-kicker span,
.movva-projects-kicker span,
.movva-gallery-kicker span,
.movva-founder-kicker span,
.movva-process-kicker span,
.movva-final-kicker span {
  color: var(--mv-orange);
}

.movva-about-kicker i,
.movva-solutions-kicker i,
.movva-projects-kicker i,
.movva-gallery-kicker i,
.movva-founder-kicker i,
.movva-process-kicker i,
.movva-final-kicker i {
  width: 32px;
  height: 1px;
  background: var(--s-line);
}

.movva-instagram-kicker span:first-child {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mv-orange);
}

.movva-about-kicker strong,
.movva-solutions-kicker strong,
.movva-projects-kicker strong,
.movva-gallery-kicker strong,
.movva-founder-kicker strong,
.movva-process-kicker strong,
.movva-final-kicker strong,
.movva-instagram-kicker strong { font-weight: 700; }

/* ---------- títulos de seção (h2) ---------- */
.movva-about h2,
.movva-solutions h2,
.movva-projects h2,
.movva-gallery h2,
.movva-founder h2,
.movva-process h2,
.movva-instagram-feed h2 {
  margin: 0;
  max-width: 20ch;
  font-family: var(--mv-display);
  font-weight: 700;
  font-size: clamp(30px, 3.5vw, 50px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--s-fg);
  text-wrap: balance;
}

.movva-about h2 em,
.movva-solutions h2 em,
.movva-projects h2 strong,
.movva-gallery h2 strong,
.movva-founder h2 em,
.movva-process h2 span,
.movva-final h2 em {
  font-style: normal;
  color: var(--mv-orange);
}

/* ---------- botão principal ---------- */
.movva-hero-cta,
.movva-final-button,
.movva-project-button,
.movva-project-secondary-button,
.movva-contact-link,
.movva-mobile-contact {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: var(--mv-orange);
  color: #fff;
  font: 700 14px / 1 var(--mv-body);
  letter-spacing: 0.02em;
  text-decoration: none !important;
  transition: transform 0.35s var(--mv-ease), background 0.25s ease, box-shadow 0.35s var(--mv-ease);
}

.movva-hero-cta:hover,
.movva-final-button:hover,
.movva-project-button:hover,
.movva-project-secondary-button:hover,
.movva-contact-link:hover {
  background: var(--mv-orange-soft);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 54, 0, 0.3);
}

/* seta (sem círculo) */
.movva-hero-cta b,
.movva-final-button b,
.movva-project-button b,
.movva-project-secondary-button b,
.movva-contact-link b,
.movva-mobile-contact b,
.movva-solution-link b,
.movva-instagram-profile-link b,
.movva-footer-social a b,
.movva-project-card-content em b {
  position: relative;
  flex: none;
  display: inline-block;
  width: 16px;
  height: 16px;
  background: none;
  transition: transform 0.35s var(--mv-ease);
}

.movva-hero-cta b::before,
.movva-final-button b::before,
.movva-project-button b::before,
.movva-project-secondary-button b::before,
.movva-contact-link b::before,
.movva-mobile-contact b::before,
.movva-solution-link b::before,
.movva-instagram-profile-link b::before,
.movva-footer-social a b::before,
.movva-project-card-content em b::before {
  content: "";
  position: absolute;
  inset: 0;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 100% no-repeat;
}

.movva-hero-cta:hover b,
.movva-final-button:hover b,
.movva-project-button:hover b,
.movva-project-secondary-button:hover b,
.movva-contact-link:hover b,
.movva-solution-link:hover b,
.movva-instagram-profile-link:hover b,
.movva-footer-social a:hover b { transform: translateX(4px); }

.movva-hero-cta:focus-visible,
.movva-final-button:focus-visible,
.movva-project-button:focus-visible,
.movva-project-secondary-button:focus-visible,
.movva-contact-link:focus-visible,
.movva-mobile-contact:focus-visible,
.movva-solution-link:focus-visible,
.movva-instagram-profile-link:focus-visible,
.movva-footer-social a:focus-visible,
.movva-nav-link:focus-visible,
.movva-work-button:focus-visible,
.movva-instagram-card:focus-visible,
.movva-gallery-filters button:focus-visible {
  outline: 2px solid var(--mv-green);
  outline-offset: 3px;
}

/* ---------- revelação ao rolar ---------- */
@keyframes mv-fade-up {
  from { opacity: 0; transform: translateY(34px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .movva-about *, .movva-solutions *, .movva-projects *, .movva-gallery *,
  .movva-founder *, .movva-process *, .movva-final *, .movva-instagram-feed *,
  .movva-footer *, .movva-hero *, .movva-site-header * {
    animation-duration: 0.001ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0ms !important;
  }
}
