/* ============================================
   LIVEMAIS - Marketing Assessoria
   Stylesheet redesenhado (direção editorial)
   Mantém todos os nomes de classe (PHP/JS)
   Fontes carregadas via <link> no HTML (não-bloqueante)

   Gerado em 17/06/2026 às 12:54 (horário de Bacabal-MA)
   Salvar em: /home1/vivamais/public_html/site/css/style.css
   ============================================ */

/* --- Tokens de design --- */
:root {
  /* Cor da marca (sobrescrita pelo Admin via JS) */
  --primary:       #2FA15A;
  --primary-dark:  #1f7e44;
  --primary-light: #5fd089;
  --primary-rgb:   47, 161, 90;

  /* Neutros tingidos para o verde da marca (não cream/warm) */
  --bg:            #F3F5F1;   /* off-white levemente verde, fresco */
  --bg-dark:       #0C110D;   /* near-black verde, rico */
  --accent:        #0F1511;   /* superfície escura alternativa */
  --surface:       #FFFFFF;   /* cards sobre o bg tingido */
  --white:         #FFFFFF;

  /* Texto: tinta profunda (alto contraste), não cinza claro */
  --text:          #13180F;
  --text-muted:    #515A4E;   /* verde-cinza legível (~6:1 no bg) */
  --text-light:    #F3F5F1;

  /* Linhas e sombras */
  --border:        rgba(19,24,15,0.10);
  --border-dark:   rgba(243,245,241,0.10);
  --shadow:        0 2px 24px rgba(19,24,15,0.06);
  --shadow-lg:     0 24px 64px rgba(19,24,15,0.14);
  --shadow-primary: 0 8px 32px rgba(var(--primary-rgb),0.30);

  /* Raio */
  --radius:        14px;
  --radius-sm:     8px;
  --radius-lg:     22px;

  /* Curvas de movimento (ease-out exponencial, sem bounce) */
  --ease-out-expo:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --transition:     0.3s cubic-bezier(0.22, 1, 0.36, 1);

  /* Tipografia */
  --font-display:  'Bricolage Grotesque', 'Syne', sans-serif;
  --font-body:     'Spline Sans', 'DM Sans', system-ui, sans-serif;

  --nav-height:    74px;

  /* Escala de z-index semântica */
  --z-grain:    1;
  --z-sticky:   1000;
  --z-modal:    2000;
  --z-toast:    9000;
}

/* --- Reset & base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
::selection { background: var(--primary); color: #fff; }

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(19,24,15,0.18); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(19,24,15,0.32); }

/* --- Grão sutil (veil), abaixo de modais/toasts --- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.025'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: var(--z-grain);
  opacity: 0.5;
  mix-blend-mode: multiply;
}

/* ============================================
   NAVEGAÇÃO
   ============================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-sticky);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  padding: 0 5%;
  transition: background 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo);
}

#navbar.scrolled {
  background: rgba(243,245,241,0.86);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: 0 1px 0 var(--border), 0 10px 40px rgba(19,24,15,0.05);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img {
  height: 38px;
  width: auto;
  transition: filter 0.4s var(--ease-out-expo);
}

.nav-links { display: flex; align-items: center; gap: 4px; }

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0;
  padding: 8px 16px;
  border-radius: 8px;
  color: var(--text);
  position: relative;
  transition: color 0.25s var(--ease-out-quint), background 0.25s var(--ease-out-quint);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: rgba(var(--primary-rgb),0.08);
}

.nav-cta {
  background: var(--primary) !important;
  color: var(--white) !important;
  padding: 10px 22px !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 20px rgba(var(--primary-rgb),0.28);
  transition: transform 0.25s var(--ease-out-quint), box-shadow 0.25s var(--ease-out-quint), background 0.25s !important;
}
.nav-cta:hover {
  background: var(--primary-dark) !important;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================
   HERO
   ============================================ */
#inicio {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
  background: var(--bg-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 65% 38%, rgba(var(--primary-rgb),0.16) 0%, transparent 62%),
    radial-gradient(ellipse 55% 70% at 8% 85%, rgba(var(--primary-rgb),0.07) 0%, transparent 60%),
    var(--bg-dark);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(243,245,241,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243,245,241,0.022) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 90% at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 40%, #000 30%, transparent 80%);
  animation: gridMove 24s linear infinite;
}

@keyframes gridMove {
  0% { transform: translateY(0); }
  100% { transform: translateY(64px); }
}

.hero-container {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 5%;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
  width: 100%;
}

.hero-content { color: var(--text-light); }

/* Badge: marcador discreto, não a pílula genérica */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 1px solid rgba(var(--primary-rgb),0.35);
  color: var(--primary-light);
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px 16px 7px 14px;
  border-radius: 50px;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.7s 0.15s var(--ease-out-expo) forwards;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--primary-light);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(var(--primary-rgb),0.9);
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(1.5); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.9rem, 5.4vw, 5rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
  margin-bottom: 26px;
  opacity: 0;
  animation: fadeUp 0.8s 0.3s var(--ease-out-expo) forwards;
}

/* Ênfase em cor sólida (sem gradient text) */
.hero-title span {
  color: var(--primary-light);
  position: relative;
}

.hero-subtitle {
  font-size: 1.12rem;
  font-weight: 400;
  color: rgba(243,245,241,0.62);
  max-width: 30rem;
  line-height: 1.7;
  margin-bottom: 38px;
  text-wrap: pretty;
  opacity: 0;
  animation: fadeUp 0.8s 0.45s var(--ease-out-expo) forwards;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 0.6s var(--ease-out-expo) forwards;
}

/* --- Botões --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 30px;
  border-radius: 50px;
  box-shadow: 0 6px 24px rgba(var(--primary-rgb),0.32);
  transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s var(--ease-out-expo), background 0.3s;
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(var(--primary-rgb),0.42);
}
.btn-primary span { transition: transform 0.3s var(--ease-out-expo); }
.btn-primary:hover span { transform: translateX(4px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--text-light);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 50px;
  border: 1px solid rgba(243,245,241,0.22);
  transition: border-color 0.3s var(--ease-out-expo), background 0.3s var(--ease-out-expo);
}
.btn-outline:hover {
  border-color: rgba(243,245,241,0.5);
  background: rgba(243,245,241,0.04);
}

.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--text);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 30px;
  border-radius: 50px;
  transition: transform 0.3s var(--ease-out-expo), background 0.3s;
}
.btn-dark:hover { transform: translateY(-2px); background: #000; }

/* --- Visual do hero --- */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-logo-wrap {
  position: relative;
  width: 380px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Um único anel sutil em vez de três (menos decoração-IA) */
.hero-logo-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(var(--primary-rgb),0.14);
}
.hero-logo-ring:nth-child(1) { width: 100%; height: 100%; animation: spin 40s linear infinite; }
.hero-logo-ring:nth-child(2) { width: 72%; height: 72%; border-color: rgba(var(--primary-rgb),0.10); }
.hero-logo-ring:nth-child(3) { display: none; }

.hero-logo-ring::before {
  content: '';
  position: absolute;
  top: -3px; left: 50%;
  width: 6px; height: 6px;
  background: var(--primary-light);
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(var(--primary-rgb),0.8);
}

@keyframes spin {
  from { transform: rotate(0); }
  to { transform: rotate(360deg); }
}

.hero-logo-img {
  width: 230px;
  height: auto;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 44px rgba(var(--primary-rgb),0.38));
  animation: float 7s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.hero-particles { position: absolute; inset: 0; pointer-events: none; }

.hero-scroll {
  position: absolute;
  bottom: 116px;
  left: 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeIn 1s 1.1s forwards;
}
.scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, rgba(var(--primary-rgb),0.6), transparent);
}

/* --- Stats: faixa editorial com divisores (não o template métrica) --- */
.hero-stats {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(8,11,9,0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(243,245,241,0.07);
  padding: 22px 5%;
}

.stats-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  gap: 0;
  justify-content: space-between;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  align-items: baseline;
  gap: 12px;
  color: rgba(243,245,241,0.7);
  flex: 1;
  min-width: 160px;
  padding: 0 28px;
  position: relative;
}
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 34px;
  background: rgba(243,245,241,0.10);
}
.stat-item:first-child { padding-left: 0; }

.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-light);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.35;
  color: rgba(243,245,241,0.55);
  max-width: 96px;
}

/* ============================================
   SEÇÕES - GERAL
   ============================================ */
.section { padding: clamp(80px, 11vw, 132px) 5%; }

.section-inner { max-width: 1280px; margin: 0 auto; }

/* Eyebrow reformulado: anotação editorial discreta
   (sem uppercase tracking, sem pílula verde flutuante) */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.section-label::before {
  content: '';
  width: 7px; height: 7px;
  background: var(--primary);
  border-radius: 2px;
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.6vw, 3.3rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: balance;
  color: var(--text);
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.06rem;
  color: var(--text-muted);
  max-width: 62ch;
  line-height: 1.75;
  text-wrap: pretty;
}

/* ============================================
   SOBRE
   ============================================ */
#sobre {
  background: var(--surface);
  position: relative;
}

.sobre-header { max-width: 720px; margin-bottom: 80px; }

/* Linha do tempo */
.timeline {
  position: relative;
  max-width: 940px;
  margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--primary) 12%, var(--primary) 88%, transparent);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  gap: 44px;
  margin-bottom: 60px;
  position: relative;
  align-items: flex-start;
}
.timeline-item:nth-child(even) { flex-direction: row-reverse; }
.timeline-item:nth-child(even) .timeline-content { text-align: right; }

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 4px;
  transform: translateX(-50%);
  width: 46px; height: 46px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 0 0 7px rgba(var(--primary-rgb),0.12), 0 6px 18px rgba(var(--primary-rgb),0.28);
  flex-shrink: 0;
}
.timeline-dot svg { width: 19px; height: 19px; color: var(--white); }

.timeline-content { flex: 1; max-width: calc(50% - 60px); }

.timeline-year {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.timeline-content h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  color: var(--text);
}

.timeline-content p {
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================
   NOSSO FOCO (escuro)
   ============================================ */
#foco {
  background: var(--bg-dark);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}
#foco::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 50% at 18% 45%, rgba(var(--primary-rgb),0.10) 0%, transparent 62%),
    radial-gradient(ellipse 45% 40% at 85% 55%, rgba(var(--primary-rgb),0.06) 0%, transparent 58%);
}

.foco-inner { position: relative; z-index: 2; }

.foco-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 56px;
}

.foco-text .section-title { color: var(--text-light); }
.foco-text .section-label { color: rgba(243,245,241,0.55); }
.foco-text .section-subtitle { color: rgba(243,245,241,0.62); }

/* Tagline: tratamento de citação editorial (sem barra lateral) */
.foco-tagline {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--primary-light);
  line-height: 1.35;
  letter-spacing: -0.01em;
  text-wrap: balance;
  margin: 34px 0 26px;
  padding: 0;
}

.foco-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 32px;
}
.foco-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.98rem;
  color: rgba(243,245,241,0.82);
}
.foco-list li::before {
  content: '';
  width: 18px; height: 18px;
  background: var(--primary);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
  flex-shrink: 0;
}

.foco-exclusao {
  background: rgba(243,245,241,0.035);
  border: 1px solid rgba(243,245,241,0.08);
  border-radius: var(--radius);
  padding: 22px 26px;
}
.foco-exclusao h4 {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(243,245,241,0.5);
  margin-bottom: 8px;
}
.foco-exclusao p {
  font-size: 0.92rem;
  color: rgba(243,245,241,0.55);
  line-height: 1.65;
}

/* Visual do foco */
.foco-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.foco-card {
  background: rgba(243,245,241,0.04);
  border: 1px solid rgba(243,245,241,0.09);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.4s var(--ease-out-expo), background 0.4s var(--ease-out-expo), border-color 0.4s;
  position: relative;
  overflow: hidden;
}
.foco-card:hover {
  background: rgba(243,245,241,0.07);
  transform: translateY(-4px);
  border-color: rgba(var(--primary-rgb),0.28);
}
.foco-card-icon {
  font-size: 1.9rem;
  margin-bottom: 14px;
  display: block;
  filter: saturate(1.1);
}
.foco-card h3 {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 7px;
}
.foco-card p {
  font-size: 0.85rem;
  color: rgba(243,245,241,0.55);
  line-height: 1.6;
}
.foco-card.featured {
  grid-column: span 2;
  background: rgba(var(--primary-rgb),0.10);
  border-color: rgba(var(--primary-rgb),0.22);
}

/* ============================================
   SERVIÇOS
   ============================================ */
#servicos { background: var(--bg); position: relative; }

.servicos-header { max-width: 640px; margin-bottom: 64px; }
.servicos-header .section-subtitle { margin: 0; }

.servicos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* Cards mais editoriais: sem chrome pesado, ligados por hairline */
.servico-card {
  background: var(--surface);
  padding: 40px 34px 36px;
  transition: background 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
  cursor: default;
}
.servico-card:hover { background: #fff; }
.servico-card:hover .servico-num { color: rgba(var(--primary-rgb),0.16); }

/* Numeral grande fantasma como elemento editorial (não scaffolding 01·) */
.servico-num {
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 700;
  color: rgba(19,24,15,0.05);
  line-height: 1;
  position: absolute;
  top: 26px; right: 30px;
  transition: color 0.4s var(--ease-out-expo);
  letter-spacing: -0.04em;
}

.servico-icon {
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  font-size: 1.7rem;
  line-height: 1;
}

.servico-card h3 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 12px;
}
.servico-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 22px;
  max-width: 40ch;
}

.servico-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.tag {
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0;
  padding: 4px 11px;
  background: rgba(var(--primary-rgb),0.07);
  border: none;
  border-radius: 50px;
  color: var(--primary-dark);
}

/* ============================================
   BLOG
   ============================================ */
#blog { background: var(--surface); position: relative; overflow: hidden; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.blog-card-img {
  aspect-ratio: 16 / 10;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.blog-card-img.has-img { background: var(--bg-dark); }
.blog-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-img .img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  opacity: 0.25;
}
.blog-card-img.has-img .img-placeholder { display: none; }
.blog-card.featured { grid-column: span 1; }

.blog-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }

.blog-card h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 10px;
}
.blog-card.featured h3 { font-size: 1.24rem; }

.blog-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-category {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--primary-dark);
  background: rgba(var(--primary-rgb),0.08);
  padding: 4px 11px;
  border-radius: 50px;
  margin-bottom: 14px;
  align-self: flex-start;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.blog-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.blog-header .section-inner,
.blog-header > div:first-child { max-width: 640px; }

/* Categoria (sem uppercase tracking, coerente com a direção) */
.blog-cat, .modal-cat {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--primary-dark);
  background: rgba(var(--primary-rgb),0.08);
  padding: 4px 11px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.modal-date { font-size: 0.82rem; color: var(--text-muted); }
.modal-text p { margin-bottom: 1em; }
.modal-text h3, .modal-text h4 {
  font-family: var(--font-display);
  margin: 1.4em 0 0.5em;
  color: var(--text);
}

/* Modal do blog */
.blog-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.blog-modal.open { display: flex; }
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(12,17,13,0.82);
  backdrop-filter: blur(8px);
  cursor: pointer;
}
.modal-content {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border-radius: var(--radius-lg);
  max-width: 720px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.4s var(--ease-out-expo);
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.modal-body { padding: 48px; }
.modal-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 38px; height: 38px;
  background: var(--bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.modal-close:hover { background: var(--primary); color: #fff; }

/* ============================================
   CONTATO (escuro)
   ============================================ */
#contato {
  background: var(--bg-dark);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}
#contato::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 65% at 82% 50%, rgba(var(--primary-rgb),0.09) 0%, transparent 62%);
}

.contato-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contato-info .section-title { color: var(--text-light); }
.contato-info .section-label { color: rgba(243,245,241,0.55); }
.contato-info .section-subtitle { color: rgba(243,245,241,0.6); }

.contact-items {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon {
  width: 46px; height: 46px;
  background: rgba(var(--primary-rgb),0.12);
  border: 1px solid rgba(var(--primary-rgb),0.22);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.contact-item h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--primary-light);
  margin-bottom: 3px;
}
.contact-item p, .contact-item a {
  font-size: 0.95rem;
  color: rgba(243,245,241,0.78);
  line-height: 1.55;
  transition: color 0.25s var(--ease-out-quint);
}
.contact-item a:hover { color: var(--primary-light); }

/* Formulário */
.contato-form {
  background: rgba(243,245,241,0.04);
  border: 1px solid rgba(243,245,241,0.08);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(243,245,241,0.6);
  margin-bottom: 9px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: rgba(243,245,241,0.05);
  border: 1px solid rgba(243,245,241,0.12);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-light);
  transition: border-color 0.25s var(--ease-out-quint), background 0.25s, box-shadow 0.25s;
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(243,245,241,0.32); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  background: rgba(var(--primary-rgb),0.05);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb),0.12);
}
.form-group textarea { height: 120px; resize: vertical; }
.form-group select option { background: var(--bg-dark); color: var(--text-light); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-submit {
  width: 100%;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 16px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s var(--ease-out-expo), background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}
.form-submit:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(var(--primary-rgb),0.36);
}

/* ============================================
   RODAPÉ
   ============================================ */
footer {
  background: #080B09;
  color: rgba(243,245,241,0.5);
  padding: 64px 5% 34px;
}
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(243,245,241,0.06);
  margin-bottom: 32px;
}
.footer-logo img {
  height: 36px;
  margin-bottom: 18px;
  filter: brightness(0) invert(1) opacity(0.85);
}
.footer-logo p { font-size: 0.88rem; line-height: 1.7; max-width: 270px; }
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(243,245,241,0.9);
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(243,245,241,0.45);
  transition: color 0.25s var(--ease-out-quint);
}
.footer-col ul li a:hover { color: var(--primary-light); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: var(--primary-light); }

/* ============================================
   ANIMAÇÕES / REVEAL
   Padrão: conteúdo VISÍVEL por padrão.
   O reveal só atua como reforço quando o JS
   marca <html class="js-loaded"> (evita seção
   em branco se o JS falhar ou aba estiver oculta).
   ============================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.reveal { opacity: 1; transform: none; }
.timeline-item { opacity: 1; transform: none; }

html.js-loaded .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}
html.js-loaded .reveal.visible { opacity: 1; transform: none; }

html.js-loaded .timeline-item {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}
html.js-loaded .timeline-item.visible { opacity: 1; transform: none; }

/* ============================================
   TOASTS
   ============================================ */
#toast-container {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px 14px 16px;
  font-size: 0.9rem;
  color: var(--text);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 11px;
  animation: slideIn 0.35s var(--ease-out-expo);
  max-width: 340px;
}
/* Indicador por ponto (sem barra lateral) */
.toast::before {
  content: '';
  width: 9px; height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--primary);
}
.toast.success::before { background: #22c55e; }
.toast.error::before { background: #ef4444; }
.toast.info::before { background: var(--primary); }

@keyframes slideIn {
  from { transform: translateX(40px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ============================================
   RESPONSIVO
   ============================================ */
@media (max-width: 1024px) {
  .hero-container { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { order: -1; }
  .hero-logo-wrap { width: 300px; height: 300px; }
  .hero-logo-img { width: 180px; }
  .servicos-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .blog-card.featured { grid-column: span 2; }
  .foco-grid { grid-template-columns: 1fr; gap: 48px; }
  .contato-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(243,245,241,0.98);
    backdrop-filter: blur(20px);
    padding: 16px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .section { padding: 72px 5%; }
  .servicos-grid { grid-template-columns: 1fr; border-radius: var(--radius); }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card.featured { grid-column: span 1; }
  .timeline::before { left: 23px; }
  .timeline-item { flex-direction: column !important; padding-left: 64px; gap: 0; }
  .timeline-item:nth-child(even) { flex-direction: column !important; }
  .timeline-item:nth-child(even) .timeline-content { text-align: left; }
  .timeline-dot { left: 23px; top: 0; }
  .timeline-content { max-width: 100%; }
  .stats-inner { gap: 0; }
  .stat-item { flex: 1 1 45%; padding: 10px 16px; min-width: 130px; }
  .stat-item:not(:last-child)::after { display: none; }
  .foco-visual { grid-template-columns: 1fr; }
  .foco-card.featured { grid-column: span 1; }
  .form-row { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 32px; }
  .hero-stats { position: relative; }
  .hero-scroll { display: none; }
  .modal-body { padding: 32px 24px; }
}

/* ============================================
   ACESSIBILIDADE - movimento reduzido
   Toda animação tem alternativa (crossfade/instantâneo)
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .timeline-item,
  html.js-loaded .reveal,
  html.js-loaded .timeline-item {
    opacity: 1 !important;
    transform: none !important;
  }
  .hero-badge, .hero-title, .hero-subtitle, .hero-actions, .hero-scroll {
    opacity: 1 !important;
    animation: none !important;
  }
  .hero-logo-img, .hero-logo-ring:nth-child(1), .hero-grid { animation: none !important; }
}

/* ============================================
   TEMA DINÂMICO - hooks atualizados via JS (Admin)
   Mantém os nomes de variáveis que o painel altera.
   ============================================ */
.btn-primary { box-shadow: 0 6px 24px rgba(var(--primary-rgb),0.32); }
.btn-primary:hover { box-shadow: 0 12px 36px rgba(var(--primary-rgb),0.42); }
.nav-cta:hover { box-shadow: 0 8px 24px rgba(var(--primary-rgb),0.30) !important; }
.hero-logo-img { filter: drop-shadow(0 0 44px rgba(var(--primary-rgb),0.38)); }
.scroll-line { background: linear-gradient(to bottom, rgba(var(--primary-rgb),0.6), transparent); }
.timeline-dot { box-shadow: 0 0 0 7px rgba(var(--primary-rgb),0.12), 0 6px 18px rgba(var(--primary-rgb),0.28); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  background: rgba(var(--primary-rgb),0.05);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb),0.12);
}

/* ============================================
   NAVBAR - estado sobre o hero escuro
   (.sobre-hero é adicionada pelo JS quando o hero
   está visível; sem ela, links escuros legíveis)
   ============================================ */
#navbar:not(.scrolled) .nav-links a,
#navbar.sobre-hero .nav-links a {
  color: rgba(243,245,241,0.82) !important;
}
#navbar:not(.scrolled) .nav-links a:hover,
#navbar:not(.scrolled) .nav-links a.active,
#navbar.sobre-hero .nav-links a:hover,
#navbar.sobre-hero .nav-links a.active {
  color: #fff !important;
  background: rgba(255,255,255,0.1) !important;
}
#navbar:not(.scrolled) .nav-cta,
#navbar.sobre-hero .nav-cta {
  background: var(--primary) !important;
  color: #fff !important;
}
#navbar:not(.scrolled) .nav-cta:hover,
#navbar.sobre-hero .nav-cta:hover { background: var(--primary-dark) !important; }
#navbar:not(.scrolled) .nav-toggle span,
#navbar.sobre-hero .nav-toggle span { background: rgba(243,245,241,0.9); }

/* Após scroll: cores do tema (fundo claro) */
#navbar.scrolled .nav-links a { color: var(--text); }