/* ============================================
   M2 SOLUTIONS — DESIGN TOKENS
   ============================================ */
:root {
  /* Cores */
  --m2-dark: #0B0E14;
  --m2-dark-alt: #11172A;
  --m2-dark-border: #232A3A;
  --m2-gold: #C9A24B;
  --m2-gold-light: #E0C685;
  --m2-emerald: #1D9E75;
  --m2-emerald-text: #0F6E56;
  --m2-white: #FAFAF8;
  --m2-off-white: #F0EFEA;
  --m2-ink: #0A0E17;
  --m2-muted: #5B6270;
  --m2-muted-on-dark: #9CA0AC;
  --m2-border-light: #E0DDD3;

  /* Tipografia */
  --font-heading: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Espaçamento */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;
  --space-8: 64px;
  --space-10: 80px;

  /* Layout */
  --container-max: 1280px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --header-height: 92px;

  /* Transições */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   RESET
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--m2-ink);
  background: var(--m2-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: none; }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-3);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================
   SCROLL REVEAL
   Estado inicial oculto; JS adiciona .is-visible
   quando o elemento entra no viewport.
   Sem JS ou com reduced-motion, o conteúdo
   permanece sempre visível (progressive enhancement).
   ============================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  will-change: opacity, transform;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }
[data-reveal-delay="4"] { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.no-js [data-reveal] {
  opacity: 1;
  transform: none;
}

:focus-visible {
  outline: 2px solid var(--m2-gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: var(--space-2);
  z-index: 200;
  background: var(--m2-gold);
  color: var(--m2-dark);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  transition: top 0.2s var(--ease);
}

.skip-link:focus-visible {
  top: var(--space-2);
  outline-offset: 0;
}

/* ============================================
   BOTÕES
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn--sm { padding: 10px 18px; font-size: 13px; min-height: 44px; }
.btn--lg { padding: 16px 28px; font-size: 15px; min-height: 52px; }

.btn--primary {
  background: var(--m2-gold);
  color: var(--m2-dark);
}
.btn--primary:hover {
  background: var(--m2-gold-light);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--m2-white);
  border: 1px solid var(--m2-dark-border);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn--ghost:hover {
  border-color: var(--m2-gold);
  color: var(--m2-gold-light);
  box-shadow: 0 4px 18px rgba(201, 162, 75, 0.45);
  transform: translateY(-2px);
}

.btn__icon {
  transition: transform 0.2s var(--ease);
}
.btn--primary:hover .btn__icon {
  transform: translateX(3px);
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.header.is-scrolled {
  background: rgba(11, 14, 20, 0.85);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--m2-dark-border);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo__img {
  display: block;
  height: 68px;
  width: auto;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.35));
}

.logo--footer .logo__img {
  height: 120px;
}

.nav__list {
  display: flex;
  gap: var(--space-4);
}

.nav__link {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  color: var(--m2-muted-on-dark);
  padding: 6px 4px;
  transition: color 0.2s var(--ease), text-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.nav__link:hover,
.nav__link:focus-visible {
  color: var(--m2-gold-light);
  text-shadow: 0 0 14px rgba(201, 162, 75, 0.65);
  transform: scale(1.08);
}

.header__cta { flex-shrink: 0; }

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--m2-white);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease), background-color 0.2s var(--ease);
}
.nav__toggle:hover,
.nav__toggle:focus-visible {
  box-shadow: 0 4px 18px rgba(201, 162, 75, 0.45);
  transform: scale(1.08);
}
.nav__toggle:hover span,
.nav__toggle:focus-visible span {
  background: var(--m2-gold-light);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  background: linear-gradient(180deg, var(--m2-dark) 0%, var(--m2-dark-alt) 100%);
  color: var(--m2-white);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(250, 250, 248, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(250, 250, 248, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 40%, transparent 90%);
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.18;
}
.hero__glow--1 {
  width: 520px;
  height: 520px;
  background: var(--m2-gold);
  top: -180px;
  right: -120px;
}
.hero__glow--2 {
  width: 420px;
  height: 420px;
  background: var(--m2-emerald);
  bottom: -160px;
  left: -100px;
  opacity: 0.12;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: var(--space-8);
  padding-bottom: var(--space-6);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--m2-gold-light);
  background: rgba(201, 162, 75, 0.1);
  border: 1px solid rgba(201, 162, 75, 0.25);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: var(--space-4);
}

.hero__eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--m2-gold);
  flex-shrink: 0;
}

.hero__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(34px, 5.5vw, 64px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 920px;
  margin-bottom: var(--space-3);
}

.hero__title-highlight {
  color: var(--m2-gold);
}

.hero__subtitle {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--m2-muted-on-dark);
  max-width: 560px;
  margin-bottom: var(--space-6);
}

.hero__actions {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: var(--space-8);
}

.hero__stats {
  display: flex;
  gap: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px solid var(--m2-dark-border);
}

.hero__stat { text-align: center; }

.hero__stat-value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 28px;
  color: var(--m2-gold);
  line-height: 1.2;
}

.hero__stat-label {
  font-size: 12px;
  color: var(--m2-muted-on-dark);
  margin-top: 2px;
}

.hero__scroll {
  position: absolute;
  bottom: var(--space-3);
  left: 50%;
  transform: translateX(-50%);
  color: var(--m2-muted-on-dark);
  animation: heroScrollBounce 2.2s ease-in-out infinite;
  z-index: 1;
}
.hero__scroll:hover { color: var(--m2-gold-light); }

@keyframes heroScrollBounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__scroll { animation: none; }
}

/* ============================================
   UTILITÁRIOS DE SECÇÃO (partilhados)
   ============================================ */
.section-eyebrow {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--m2-gold);
  margin-bottom: var(--space-2);
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(28px, 3.2vw, 38px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--m2-ink);
  max-width: 640px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--m2-muted);
  max-width: 540px;
  margin-top: var(--space-2);
}

/* Variantes para uso sobre fundo escuro (ex: secção Processo, CTA final) */
.section-eyebrow--light { color: var(--m2-gold-light); }
.section-title--light { color: var(--m2-white); }
.section-subtitle--light { color: var(--m2-muted-on-dark); }

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
  padding: var(--space-10) 0;
  background: var(--m2-white);
}

.services__header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: var(--space-8);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--m2-white);
  border: 1px solid var(--m2-border-light);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.service-card:hover,
.service-card:focus-visible {
  border-color: var(--m2-gold);
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -16px rgba(11, 14, 20, 0.12);
}

.service-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(201, 162, 75, 0.1);
  color: var(--m2-gold);
  margin-bottom: var(--space-3);
  flex-shrink: 0;
  transition: background-color 0.25s var(--ease);
}

.service-card:hover .service-card__icon {
  background: var(--m2-gold);
  color: var(--m2-dark);
}

.service-card__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 17px;
  color: var(--m2-ink);
  margin-bottom: 8px;
}

.service-card__desc {
  font-size: 14px;
  color: var(--m2-muted);
  line-height: 1.6;
  margin-bottom: var(--space-3);
  flex-grow: 1;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  color: var(--m2-ink);
  transition: gap 0.2s var(--ease), color 0.2s var(--ease);
}

.service-card:hover .service-card__link {
  color: var(--m2-gold);
  gap: 9px;
}

/* ============================================
   PORTFOLIO / CASOS DE ESTUDO
   ============================================ */
.portfolio {
  padding: var(--space-10) 0;
  background: var(--m2-off-white);
}

.portfolio__header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: var(--space-8);
}

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.case-card {
  display: flex;
  flex-direction: column;
  background: var(--m2-white);
  border: 1px solid var(--m2-border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.case-card:hover,
.case-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(11, 14, 20, 0.16);
}

.case-card__media {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--m2-dark) 0%, var(--m2-dark-alt) 100%);
  position: relative;
  padding: var(--space-3);
}

.case-card__media-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 18px;
  color: var(--m2-gold-light);
  letter-spacing: 0.01em;
}

.case-card__media-img {
  max-width: 70%;
  max-height: 70%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.case-card__body {
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.case-card__tag {
  font-size: 12px;
  font-weight: 500;
  color: var(--m2-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
}

.case-card__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 19px;
  color: var(--m2-ink);
  margin-bottom: 8px;
}

.case-card__desc {
  font-size: 14px;
  color: var(--m2-muted);
  line-height: 1.6;
  margin-bottom: var(--space-3);
  flex-grow: 1;
}

.case-card__metric {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  color: var(--m2-emerald-text);
  padding-top: var(--space-2);
  border-top: 1px solid var(--m2-border-light);
}

.case-card__metric-flag {
  font-family: var(--font-body);
  font-weight: 500;
  font-style: normal;
  font-size: 11px;
  color: #B45309;
  background: #FEF3C7;
  padding: 2px 7px;
  border-radius: 999px;
  margin-left: 2px;
}

.portfolio__cta {
  display: flex;
  justify-content: center;
  margin-top: var(--space-6);
}

.btn--outline-dark {
  background: transparent;
  color: var(--m2-ink);
  border: 1px solid var(--m2-border-light);
}
.btn--outline-dark:hover {
  border-color: var(--m2-ink);
  background: var(--m2-ink);
  color: var(--m2-white);
}

/* ============================================
   SOCIAL PROOF (logos de clientes)
   ============================================ */
.social-proof {
  padding: var(--space-5) 0;
  background: var(--m2-white);
  border-bottom: 1px solid var(--m2-border-light);
}

.social-proof__label {
  text-align: center;
  font-size: 11px;
  font-weight: 500;
  color: var(--m2-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-3);
}

.social-proof__list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.social-proof__item {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--m2-dark);
  border-radius: var(--radius-sm);
  padding: var(--space-2) var(--space-3);
  height: 56px;
  opacity: 0.85;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}
.social-proof__item:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.social-proof__logo {
  max-height: 32px;
  max-width: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* ============================================
   PROCESS / METODOLOGIA
   ============================================ */
.process {
  padding: var(--space-10) 0;
  background: var(--m2-dark-alt);
}

.process__header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: var(--space-8);
}

.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  list-style: none;
  counter-reset: none;
}

.process__step {
  position: relative;
  padding: var(--space-4) var(--space-3);
  background: rgba(250, 250, 248, 0.03);
  border: 1px solid var(--m2-dark-border);
  border-radius: var(--radius-md);
}

.process__number {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 28px;
  color: var(--m2-gold);
  margin-bottom: var(--space-2);
}

.process__step-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 17px;
  color: var(--m2-white);
  margin-bottom: 8px;
}

.process__step-desc {
  font-size: 14px;
  color: var(--m2-muted-on-dark);
  line-height: 1.6;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  padding: var(--space-10) 0;
  background: var(--m2-off-white);
}

.testimonials__header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: var(--space-8);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  list-style: none;
}

.testimonial-card {
  background: var(--m2-white);
  border: 1px solid var(--m2-border-light);
  border-radius: var(--radius-md);
  padding: var(--space-4);
}

.testimonial-card__quote {
  margin: 0 0 var(--space-3);
}

.testimonial-card__quote p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--m2-ink);
}

.testimonial-card__flag {
  font-family: var(--font-body);
  font-weight: 500;
  font-style: normal;
  font-size: 11px;
  color: #B45309;
  background: #FEF3C7;
  padding: 2px 7px;
  border-radius: 999px;
}

.testimonial-card__author {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  color: var(--m2-ink);
}

.testimonial-card__company {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--m2-muted);
}

/* ============================================
   FINAL CTA
   ============================================ */
.final-cta {
  position: relative;
  padding: var(--space-10) 0;
  background: linear-gradient(180deg, var(--m2-dark-alt) 0%, var(--m2-dark) 100%);
  overflow: hidden;
}

.final-cta__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.final-cta__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.final-cta__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(24px, 3vw, 32px);
  color: var(--m2-white);
  max-width: 600px;
  margin-bottom: var(--space-2);
}

.final-cta__subtitle {
  font-size: 15px;
  color: var(--m2-muted-on-dark);
  margin-bottom: var(--space-5);
}

/* ============================================
   LEGAL PAGE (Privacidade, Termos, Cookies)
   ============================================ */
.legal-page {
  padding: var(--space-10) 0;
  background: var(--m2-white);
}

.legal-page__inner {
  max-width: 720px;
}

.legal-page__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(28px, 3.5vw, 40px);
  color: var(--m2-ink);
  margin-bottom: 8px;
}

.legal-page__updated {
  font-size: 13px;
  color: var(--m2-muted);
  margin-bottom: var(--space-6);
}

.legal-page__content h2 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 19px;
  color: var(--m2-ink);
  margin-top: var(--space-5);
  margin-bottom: var(--space-2);
}

.legal-page__content h2:first-child {
  margin-top: 0;
}

.legal-page__content p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--m2-muted);
  margin-bottom: var(--space-2);
}

.legal-page__content a {
  color: var(--m2-emerald-text);
  text-decoration: underline;
  text-decoration-color: var(--m2-border-light);
  transition: color 0.2s var(--ease);
}
.legal-page__content a:hover {
  color: var(--m2-ink);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--m2-dark);
  color: var(--m2-muted-on-dark);
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-6);
  padding: var(--space-10) 0 var(--space-8);
}

.footer__brand .logo {
  display: inline-block;
  margin-bottom: var(--space-2);
}

.footer__tagline {
  font-size: 14px;
  line-height: 1.6;
  color: var(--m2-muted-on-dark);
  max-width: 320px;
  margin-bottom: var(--space-3);
}

.footer__social {
  display: flex;
  gap: 10px;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--m2-dark-border);
  color: var(--m2-muted-on-dark);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.footer__social-link:hover {
  border-color: var(--m2-gold);
  color: var(--m2-gold);
  background: rgba(201, 162, 75, 0.08);
}

.footer__col {
  display: flex;
  flex-direction: column;
}

.footer__col-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--m2-white);
  margin-bottom: var(--space-3);
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__link {
  font-size: 14px;
  color: var(--m2-muted-on-dark);
  transition: color 0.2s var(--ease);
}
.footer__link:hover {
  color: var(--m2-gold-light);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--m2-muted-on-dark);
}
.footer__contact-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--m2-gold);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-3) 0 var(--space-4);
  border-top: 1px solid var(--m2-dark-border);
  flex-wrap: wrap;
}

.footer__copy {
  font-size: 13px;
  color: var(--m2-muted-on-dark);
}

.footer__legal {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.footer__link--muted {
  font-size: 13px;
}

/* ============================================
   PAGE HERO (cabeçalho de páginas internas)
   ============================================ */
.page-hero {
  position: relative;
  padding: calc(var(--header-height) + var(--space-8)) 0 var(--space-8);
  background: linear-gradient(180deg, var(--m2-dark) 0%, var(--m2-dark-alt) 100%);
  color: var(--m2-white);
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.page-hero__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(30px, 4.5vw, 48px);
  line-height: 1.2;
  margin-bottom: var(--space-2);
}

.page-hero__subtitle {
  font-size: 16px;
  color: var(--m2-muted-on-dark);
  max-width: 560px;
}

/* ============================================
   SOBRE — about-mission, about-values
   ============================================ */
.about-mission {
  padding: var(--space-10) 0;
  background: var(--m2-white);
}

.about-mission__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-6);
  align-items: center;
}

.about-mission__text {
  display: flex;
  flex-direction: column;
}

.about-mission__stats {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  background: var(--m2-off-white);
  border-radius: var(--radius-md);
  padding: var(--space-4);
}

.about-mission__stat {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  border-bottom: 1px solid var(--m2-border-light);
  padding-bottom: var(--space-2);
}
.about-mission__stat:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.about-mission__stat-value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 28px;
  color: var(--m2-gold);
  white-space: nowrap;
}

.about-mission__stat-label {
  font-size: 13px;
  color: var(--m2-muted);
}

.about-values {
  padding: var(--space-10) 0;
  background: var(--m2-off-white);
}

.about-values__header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: var(--space-8);
}

.about-values__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}

.value-card {
  background: var(--m2-white);
  border: 1px solid var(--m2-border-light);
  border-radius: var(--radius-md);
  padding: var(--space-4);
}

.value-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(201, 162, 75, 0.1);
  color: var(--m2-gold);
  margin-bottom: var(--space-3);
}

.value-card__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  color: var(--m2-ink);
  margin-bottom: 6px;
}

.value-card__desc {
  font-size: 13px;
  color: var(--m2-muted);
  line-height: 1.6;
}

/* ============================================
   SERVIÇOS — service-detail
   ============================================ */
.service-detail {
  padding: var(--space-8) 0;
  background: var(--m2-white);
}

.service-detail--alt {
  background: var(--m2-off-white);
}

.service-detail__grid {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: var(--space-5);
  align-items: start;
}

.service-detail__grid--reverse {
  direction: rtl;
}
.service-detail__grid--reverse > * {
  direction: ltr;
}

.service-detail__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  border-radius: var(--radius-md);
  background: rgba(201, 162, 75, 0.1);
  color: var(--m2-gold);
}

.service-detail__content {
  display: flex;
  flex-direction: column;
}

.service-detail__desc {
  font-size: 15px;
  color: var(--m2-muted);
  line-height: 1.7;
  margin: var(--space-2) 0 var(--space-3);
  max-width: 640px;
}

.service-detail__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-detail__list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--m2-ink);
}
.service-detail__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--m2-gold);
}

/* ============================================
   PORTFÓLIO — case-study (página individual)
   ============================================ */
.case-study {
  padding: var(--space-8) 0;
  background: var(--m2-white);
}

.case-study--alt {
  background: var(--m2-off-white);
}

.case-study__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  align-items: center;
}

.case-study__grid--reverse {
  direction: rtl;
}
.case-study__grid--reverse > * {
  direction: ltr;
}

.case-study__media {
  height: 260px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--m2-dark) 0%, var(--m2-dark-alt) 100%);
  padding: var(--space-5);
}

.case-study__media-img {
  max-width: 70%;
  max-height: 70%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.case-study__media-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 22px;
  color: var(--m2-gold-light);
}

.case-study__content {
  display: flex;
  flex-direction: column;
}

.case-study__tag {
  font-size: 12px;
  font-weight: 500;
  color: var(--m2-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
  display: block;
}

.case-study__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 26px;
  color: var(--m2-ink);
  margin-bottom: var(--space-2);
}

.case-study__desc {
  font-size: 15px;
  color: var(--m2-muted);
  line-height: 1.7;
  margin-bottom: var(--space-3);
}

.case-study__metric {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  color: var(--m2-emerald-text);
  padding-top: var(--space-2);
  border-top: 1px solid var(--m2-border-light);
}

.case-study__metric-flag {
  font-family: var(--font-body);
  font-weight: 500;
  font-style: normal;
  font-size: 11px;
  color: #B45309;
  background: #FEF3C7;
  padding: 2px 7px;
  border-radius: 999px;
}

/* ============================================
   BLOG — blog-card
   ============================================ */
.blog-list {
  padding: var(--space-10) 0;
  background: var(--m2-white);
}

.blog-list__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--m2-white);
  border: 1px solid var(--m2-border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(11, 14, 20, 0.16);
}

.blog-card__media {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--m2-off-white);
}

.blog-card__media-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  color: var(--m2-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.blog-card__body {
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card__tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--m2-gold-light);
  background: var(--m2-dark);
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: var(--space-2);
  align-self: flex-start;
}

.blog-card__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 17px;
  color: var(--m2-ink);
  line-height: 1.4;
  margin-bottom: 8px;
}

.blog-card__excerpt {
  font-size: 14px;
  color: var(--m2-muted);
  line-height: 1.6;
  margin-bottom: var(--space-3);
  flex-grow: 1;
}

.blog-card__readmore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  color: var(--m2-ink);
}

.blog-list__note {
  text-align: center;
  font-size: 14px;
  color: var(--m2-muted);
  margin-top: var(--space-6);
}

/* ============================================
   CONTACTO — contact-info, contact-form
   ============================================ */
.contact-section {
  padding: var(--space-10) 0;
  background: var(--m2-white);
}

.contact-section__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--space-6);
}

.contact-info {
  display: flex;
  flex-direction: column;
}

.contact-info__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.contact-info__item {
  display: flex;
}

.contact-info__link,
.contact-info__item--static {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  width: 100%;
  padding: var(--space-2);
  border-radius: var(--radius-sm);
  transition: background-color 0.2s var(--ease);
}

.contact-info__link:hover {
  background: var(--m2-off-white);
}

.contact-info__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(201, 162, 75, 0.1);
  color: var(--m2-gold);
  flex-shrink: 0;
}

.contact-info__label {
  display: block;
  font-size: 12px;
  color: var(--m2-muted);
}

.contact-info__value {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: var(--m2-ink);
}

.contact-form-wrap {
  background: var(--m2-off-white);
  border-radius: var(--radius-md);
  padding: var(--space-5);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-form__label {
  font-size: 13px;
  font-weight: 500;
  color: var(--m2-ink);
}

.contact-form__input {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--m2-ink);
  background: var(--m2-white);
  border: 1px solid var(--m2-border-light);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  transition: border-color 0.2s var(--ease);
}
.contact-form__input:focus-visible {
  border-color: var(--m2-gold);
  outline: none;
}

.contact-form__textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-form__submit {
  margin-top: var(--space-1);
  justify-content: center;
}
