/* =========================================================================
   AUDITMED — Folha de estilo unificada (style.css)
   Consultoria em Auditoria Médica e Ciclo de Receitas
   --------------------------------------------------------------------------
   Organização do arquivo:
     1.  Variáveis de marca (cores, tipografia, espaçamento)
     2.  Reset / normalização
     3.  Base tipográfica e utilitários
     4.  Cabeçalho global (header) + navegação responsiva
     5.  Botões / CTA
     6.  Seção Hero (Home)
     7.  Seção Diferenciais — Método. Pessoas. Tecnologia. (Home)
     8.  Rodapé global (footer)
     9.  Responsividade (breakpoints)
     10. Acessibilidade / preferências de movimento
   ========================================================================= */


/* =========================================================================
   1. VARIÁVEIS DE MARCA
   Paleta oficial Auditmed. Centralizar aqui garante consistência entre todas
   as páginas (index, sobre, servicos, contato) sem repetir valores.
   ========================================================================= */
:root {
  /* --- Cores base --- */
  --navy:        #0e2247;  /* Fundo principal / seções escuras  */
  --navy-deep:   #0a1a38;  /* Camada mais profunda para profundidade visual */
  --ivory:       #f7f7f7;  /* Texto de destaque / títulos sobre fundo escuro */
  --gold:        #c5a059;  /* Dourado fosco — destaque, linhas, ícones  */
  --gold-bright: #d4af37;  /* Dourado vivo — usado apenas em hover/foco */
  --gray:        #6b7280;  /* Texto secundário em fundo claro */
  --paper:       #ffffff;  /* Fundo de seções claras */
  --paper-soft:  #f5f3ee;  /* Fundo claro alternativo (leve calor marfim) */
  --line-soft:   rgba(197, 160, 89, 0.25); /* Filete dourado translúcido */

  /* --- Tipografia --- */
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body:    "Inter", "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;

  /* --- Escala de espaçamento (ritmo vertical consistente) --- */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;

  /* --- Estrutura --- */
  --container: 1200px;          /* Largura máxima do conteúdo */
  --radius: 4px;                /* Cantos discretos, tom institucional */
  --header-h: 84px;             /* Altura do cabeçalho fixo */
  --transition: 0.25s ease;
}


/* =========================================================================
   2. RESET / NORMALIZAÇÃO
   Remove inconsistências entre navegadores e estabelece base previsível.
   ========================================================================= */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--navy);
  background-color: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}


/* =========================================================================
   3. BASE TIPOGRÁFICA E UTILITÁRIOS
   ========================================================================= */

/* Títulos sempre na serifada de marca */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy);
}

/* Container central reutilizável */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-md);
}

/* Espaçamento padrão de seções */
.section {
  padding-block: var(--space-xl);
}

/* "Eyebrow": rótulo pequeno em maiúsculas que antecede títulos de seção */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-sm);
}

/* Assinatura da marca: o ponto dourado.
   Reutilizado em títulos para ecoar o logotipo "Auditmed." */
.dot {
  color: var(--gold);
}


/* =========================================================================
   4. CABEÇALHO GLOBAL + NAVEGAÇÃO RESPONSIVA
   Menu sem JavaScript: usa o "checkbox hack" para abrir/fechar no mobile.
   ========================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background-color: var(--navy);
  border-bottom: 1px solid var(--line-soft);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logotipo em texto — "Auditmed" marfim + ponto dourado */
.brand {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--ivory);
}
.brand .dot {
  color: var(--gold);
}

/* Lista de navegação */
.nav-list {
  display: flex;
  gap: var(--space-md);
  align-items: center;
}

.nav-list a {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ivory);
  padding-block: var(--space-xs);
  transition: color var(--transition);
}

/* Filete dourado animado sob o link em hover / página ativa */
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--gold);
  transition: width var(--transition);
}
.nav-list a:hover,
.nav-list a:focus-visible,
.nav-list a.active {
  color: var(--gold);
}
.nav-list a:hover::after,
.nav-list a:focus-visible::after,
.nav-list a.active::after {
  width: 100%;
}

/* Checkbox e botão hamburger (ocultos no desktop) */
.nav-toggle {
  display: none; /* checkbox invisível, controla o menu via CSS */
}

.nav-hamburger {
  display: none; /* aparece só no mobile (ver breakpoint) */
  flex-direction: column;
  gap: 5px;
  padding: var(--space-xs);
}
.nav-hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background-color: var(--ivory);
  transition: var(--transition);
}


/* =========================================================================
   5. BOTÕES / CTA
   ========================================================================= */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.9rem 1.8rem;
  border-radius: var(--radius);
  transition: transform var(--transition), background-color var(--transition), color var(--transition);
}

/* CTA principal: fundo dourado, texto marinho escuro */
.btn-primary {
  background-color: var(--gold);
  color: var(--navy-deep);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: var(--gold-bright);
  transform: translateY(-2px);
}

/* CTA secundário: contorno dourado sobre fundo escuro */
.btn-ghost {
  border: 1px solid var(--gold);
  color: var(--gold);
}
.btn-ghost:hover,
.btn-ghost:focus-visible {
  background-color: var(--gold);
  color: var(--navy-deep);
}


/* =========================================================================
   6. SEÇÃO HERO (Home) — layout em duas colunas
   Esquerda: mensagem + slogan + CTAs. Direita: painel de indicadores.
   ========================================================================= */
.hero {
  position: relative;
  background-color: var(--navy);
  color: var(--ivory);
  padding-block: clamp(3.5rem, 7vw, 6rem);
  overflow: hidden;
}

/* Filete dourado vertical decorativo à esquerda — eco do "underline" da marca */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--gold), transparent);
}

/* Grade de duas colunas: conteúdo (mais largo) + painel visual */
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.hero-content {
  max-width: 600px;
}

.hero h1 {
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  color: var(--ivory);
  margin-bottom: var(--space-md);
}
.hero h1 .accent {
  color: var(--gold);
  font-style: italic;
}

.hero p.lead {
  font-size: 1.1rem;
  color: rgba(247, 247, 247, 0.82);
  margin-bottom: var(--space-md);
}

/* Slogan oficial — dourado, com os pontos de marca, espaçamento contido */
.hero-slogan {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 1.6vw, 1.1rem);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  padding-block: var(--space-md);
  border-top: 1px solid var(--line-soft);
  margin-top: var(--space-md);
}

/* Grupo de botões do hero */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

/* --- Painel de indicadores (coluna direita) --- */
.hero-visual {
  background-color: rgba(247, 247, 247, 0.04);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: clamp(1.5rem, 3vw, 2.4rem);
}
.hero-visual .panel-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-sm);
}

/* Linha de indicador: número grande + descrição */
.stat-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-md);
  padding-block: var(--space-md);
  border-bottom: 1px solid rgba(247, 247, 247, 0.10);
}
.stat-row:last-of-type {
  border-bottom: none;
}
.stat-row .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--gold);
  line-height: 1;
  white-space: nowrap;
}
.stat-row .desc {
  font-size: 0.92rem;
  color: rgba(247, 247, 247, 0.78);
  text-align: right;
}

/* Nota de rodapé do painel — reforça "diagnóstico antes de prescrição" */
.hero-visual .panel-note {
  margin-top: var(--space-md);
  padding-top: var(--space-sm);
  border-top: 1px solid rgba(247, 247, 247, 0.10);
  font-size: 0.78rem;
  color: rgba(247, 247, 247, 0.55);
  line-height: 1.5;
}

/* --- Responsividade do hero --- */
@media (max-width: 880px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  .hero-content {
    max-width: none;
  }
}


/* =========================================================================
   7. SEÇÃO DIFERENCIAIS — Método. Pessoas. Tecnologia. (Home)
   Três blocos limpos, cada um carregando uma palavra do slogan.
   ========================================================================= */
.pillars {
  background-color: var(--paper);
}

.pillars-head {
  max-width: 640px;
  margin-bottom: var(--space-lg);
}
.pillars-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
}
.pillars-head p {
  color: var(--gray);
  margin-top: var(--space-sm);
}

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

/* Cartão de pilar */
.pillar {
  background-color: var(--paper-soft);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: var(--space-md);
  transition: transform var(--transition), box-shadow var(--transition);
}
.pillar:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(14, 34, 71, 0.10);
}

/* Palavra-chave do pilar com o ponto dourado da marca */
.pillar h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
}
.pillar h3 .dot {
  color: var(--gold);
}

.pillar p {
  color: var(--gray);
  font-size: 0.98rem;
}

/* Numeração discreta — a tríade do slogan é uma sequência real (01 / 02 / 03) */
.pillar .index {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: var(--space-sm);
  letter-spacing: 0.05em;
}


/* =========================================================================
   8. RODAPÉ GLOBAL (footer)
   ========================================================================= */
.site-footer {
  background-color: var(--navy-deep);
  color: rgba(247, 247, 247, 0.8);
  padding-block: var(--space-lg) var(--space-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(247, 247, 247, 0.12);
}

.footer-brand .brand {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
  display: inline-block;
}
.footer-brand p {
  font-size: 0.92rem;
  max-width: 320px;
}

/* Cabeçalho de coluna no rodapé */
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-sm);
}
.footer-col ul li {
  margin-bottom: 0.6rem;
}
.footer-col a {
  font-size: 0.95rem;
  transition: color var(--transition);
}
.footer-col a:hover,
.footer-col a:focus-visible {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-sm);
  padding-top: var(--space-md);
  font-size: 0.85rem;
  color: rgba(247, 247, 247, 0.6);
}


/* =========================================================================
   9. RESPONSIVIDADE
   ========================================================================= */

/* --- Tablet / abaixo: ativa o menu hamburger --- */
@media (max-width: 860px) {

  /* Mostra o botão hamburger */
  .nav-hamburger {
    display: flex;
    z-index: 110;
  }

  /* Menu vira painel deslizante vindo da direita */
  .nav-list {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-xl) var(--space-lg);
    background-color: var(--navy-deep);
    border-left: 1px solid var(--line-soft);
    transform: translateX(100%);          /* fechado por padrão */
    transition: transform var(--transition);
  }

  .nav-list a {
    font-size: 1.2rem;
  }

  /* Checkbox marcado => menu visível */
  .nav-toggle:checked ~ .nav-list {
    transform: translateX(0);
  }

  /* Hamburger vira "X" quando o menu está aberto */
  .nav-toggle:checked ~ .nav-hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle:checked ~ .nav-hamburger span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle:checked ~ .nav-hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* --- Mobile: pilares e rodapé empilham --- */
@media (max-width: 720px) {
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}


/* =========================================================================
   10. ACESSIBILIDADE / PREFERÊNCIAS DE MOVIMENTO
   ========================================================================= */

/* Foco visível por teclado em toda a navegação */
a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

/* Respeita usuários que reduzem animações */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}


/* =========================================================================
   11. PÁGINAS INTERNAS (sobre / serviços / contato)
   Componentes reutilizáveis: sub-hero, cartões de módulo e faixa de CTA.
   Bloco autocontido, com sua própria responsividade ao final.
   ========================================================================= */

/* --- Sub-hero: cabeçalho escuro mais curto que o hero da home --- */
.page-hero {
  background-color: var(--navy);
  color: var(--ivory);
  padding-block: clamp(3rem, 7vw, 5.5rem);
  border-bottom: 1px solid var(--line-soft);
}
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--ivory);
  margin-bottom: var(--space-sm);
}
.page-hero p {
  color: rgba(247, 247, 247, 0.82);
  max-width: 640px;
  font-size: 1.1rem;
}

/* --- Bloco de "frente" de trabalho (agrupa módulos) --- */
.frente {
  padding-block: var(--space-xl);
}
.frente:nth-of-type(even) {
  background-color: var(--paper-soft);
}
.frente-head {
  max-width: 680px;
  margin-bottom: var(--space-lg);
}
.frente-head h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}
.frente-head p {
  color: var(--gray);
  margin-top: var(--space-sm);
}

/* --- Grade de módulos --- */
.module-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

/* Cartão de módulo (M0, M1, ... / P1, P2, ...) */
.module-card {
  position: relative;
  background-color: var(--paper);
  border: 1px solid rgba(14, 34, 71, 0.08);
  border-radius: var(--radius);
  padding: var(--space-md);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.module-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-soft);
  box-shadow: 0 14px 34px rgba(14, 34, 71, 0.10);
}

/* Selo com o código do módulo */
.module-card .code {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--navy);
  background-color: var(--line-soft);
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  margin-bottom: var(--space-sm);
}
.module-card h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-xs);
}
.module-card p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* Quando o cartão aparece sobre a faixa marfim, garante fundo branco e contraste */
.frente:nth-of-type(even) .module-card .code {
  background-color: #ece6d8;
}

/* --- Faixa de CTA escura antes do rodapé --- */
.cta-band {
  background-color: var(--navy-deep);
  color: var(--ivory);
  padding-block: var(--space-xl);
  text-align: center;
}
.cta-band h2 {
  color: var(--ivory);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: var(--space-sm);
}
.cta-band p {
  color: rgba(247, 247, 247, 0.8);
  max-width: 560px;
  margin: 0 auto var(--space-md);
}

/* --- Responsividade das páginas internas --- */
@media (max-width: 960px) {
  .module-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 620px) {
  .module-grid {
    grid-template-columns: 1fr;
  }
}


/* =========================================================================
   12. SOBRE — manifesto e nota da fundadora
   ========================================================================= */

/* Declaração editorial em serifada, usada como tese da página */
.statement {
  max-width: 860px;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--navy);
}
.statement .accent {
  color: var(--gold);
  font-style: italic;
}

/* Cartão de princípio (reaproveita a grade de módulos, sem selo de código) */
.principle-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}
.principle {
  background-color: var(--paper);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: var(--space-md);
}
.principle h3 {
  font-size: 1.2rem;
  margin-bottom: var(--space-xs);
}
.principle p {
  color: var(--gray);
  font-size: 0.96rem;
}

/* Nota da fundadora */
.founder {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-lg);
  align-items: start;
}
.founder .label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.founder blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  line-height: 1.45;
  color: var(--navy);
  margin-bottom: var(--space-md);
}
.founder .signature {
  font-weight: 600;
  color: var(--navy);
}
.founder .signature span {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--gray);
}


/* =========================================================================
   13. CONTATO — informações e formulário
   ========================================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--space-lg);
  align-items: start;
}

/* Coluna de informações de contato */
.contact-info h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin-bottom: var(--space-sm);
}
.contact-info p {
  color: var(--gray);
  margin-bottom: var(--space-md);
}
.contact-info .info-item {
  margin-bottom: var(--space-md);
}
.contact-info .info-item .label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.25rem;
}
.contact-info .info-item a,
.contact-info .info-item span {
  color: var(--navy);
  font-size: 1.05rem;
}

/* Formulário */
.contact-form {
  background-color: var(--paper-soft);
  border-radius: var(--radius);
  padding: var(--space-lg);
}
.form-field {
  margin-bottom: var(--space-md);
}
.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--navy);
  background-color: var(--paper);
  border: 1px solid rgba(14, 34, 71, 0.18);
  border-radius: var(--radius);
  padding: 0.8rem 0.9rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-field textarea {
  resize: vertical;
  min-height: 130px;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.18);
}
.contact-form .btn-primary {
  width: 100%;
  text-align: center;
  border: none;
}

/* --- Responsividade de sobre/contato --- */
@media (max-width: 820px) {
  .principle-grid,
  .founder,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .founder {
    gap: var(--space-md);
  }
}


/* =========================================================================
   14. HOME — Missão, Visão e Valores
   Seção marfim para contraste com os pilares (fundo branco) acima.
   ========================================================================= */
.vmv {
  background-color: var(--paper-soft);
}

/* Missão e Visão lado a lado, como declarações */
.vmv-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--line-soft);
}
.vmv-block .label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-sm);
}
.vmv-block p.declaracao {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.3vw, 1.55rem);
  font-weight: 500;
  line-height: 1.45;
  color: var(--navy);
}

/* Valores em grade, com o ponto dourado da marca como marcador */
.values-head {
  margin-bottom: var(--space-md);
}
.values-head h3 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
}
.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md) var(--space-lg);
}
.value {
  position: relative;
  padding-left: 1.6rem;
}
.value::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--gold);
}
.value strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
}
.value span {
  color: var(--gray);
  font-size: 0.98rem;
}

/* Responsividade da seção */
@media (max-width: 720px) {
  .vmv-top,
  .values-grid {
    grid-template-columns: 1fr;
  }
}


/* =========================================================================
   15. HOME — A jornada completa (linha do tempo de etapas)
   Sequência real do agendamento à recuperação de receita.
   ========================================================================= */
.journey {
  background-color: var(--paper-soft);
}
.journey-head {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
  margin-bottom: var(--space-lg);
}
.journey-head .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 0;
}
.journey-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
}
.journey-head h2 .accent {
  color: var(--gold);
}
.journey-head p {
  color: var(--gray);
}
@media (max-width: 820px) {
  .journey-head {
    grid-template-columns: 1fr;
    gap: var(--space-md);
    align-items: start;
  }
}
.journey-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-md);
}
.journey-flow::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 22px;
  right: 22px;
  height: 2px;
  background: var(--line-soft);
  z-index: 0;
}
.journey-step {
  position: relative;
  z-index: 1;
}
.journey-step .step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--navy);
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
}
.journey-step h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}
.journey-step p {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.5;
}
@media (max-width: 900px) {
  .journey-flow {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg) var(--space-md);
  }
  .journey-flow::before {
    display: none;
  }
}
@media (max-width: 560px) {
  .journey-flow {
    grid-template-columns: 1fr;
  }
}


/* Destaque da etapa de maior representatividade (jornada cirúrgica) */
.journey-step.is-key .step-num {
  background-color: var(--gold);
  color: var(--navy-deep);
}
.journey-step .step-badge {
  display: inline-block;
  margin-top: 0.55rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--navy);
  background-color: var(--line-soft);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}


/* =========================================================================
   16. HOME — Manifesto: pessoas e processos antes de tecnologia
   Faixa marinho de alto impacto, tipografia grande (inspiração editorial).
   ========================================================================= */
.manifesto {
  position: relative;
  background-color: var(--navy);
  color: var(--ivory);
  padding-block: clamp(4rem, 8vw, 7rem);
  overflow: hidden;
}
.manifesto::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--gold), transparent);
}
.manifesto .container {
  max-width: var(--container);
}
.manifesto .eyebrow {
  color: var(--gold);
}
.manifesto h2 {
  color: var(--ivory);
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.12;
  max-width: 17ch;
}
.manifesto h2 .accent {
  color: var(--gold);
}
.manifesto p.big {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: rgba(247, 247, 247, 0.82);
  max-width: 62ch;
  margin-top: var(--space-md);
}

/* Sequência: do básico ao avançado */
.sequence {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}
.seq-chip {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  color: var(--ivory);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 0.5rem 1.2rem;
}
.seq-chip.is-last {
  background-color: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
}
.seq-arrow {
  color: var(--gold);
  font-size: 1.2rem;
}
.seq-note {
  margin-top: var(--space-sm);
  font-size: 0.9rem;
  color: rgba(247, 247, 247, 0.6);
}
@media (max-width: 560px) {
  .sequence { gap: 0.5rem; }
  .seq-chip { padding: 0.4rem 0.9rem; }
}


/* =========================================================================
   17. Ajustes: manifesto como hero + estatísticas em fundo claro
   ========================================================================= */
.manifesto h1 {
  color: var(--ivory);
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  line-height: 1.1;
  max-width: 17ch;
}
.manifesto h1 .accent {
  color: var(--gold);
}
.manifesto .hero-actions {
  margin-top: var(--space-lg);
}

/* Estatísticas de perda (versão para fundo claro) */
.escape-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-block: var(--space-lg) var(--space-sm);
  padding-block: var(--space-md);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.escape-stat .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--gold);
  line-height: 1;
}
.escape-stat .desc {
  color: var(--gray);
  font-size: 0.9rem;
  margin-top: 0.4rem;
}
.escape-note {
  font-size: 0.82rem;
  color: var(--gray);
  margin-bottom: var(--space-lg);
}
.journey-subhead {
  font-size: 1.2rem;
  margin-bottom: var(--space-md);
}
@media (max-width: 640px) {
  .escape-stats { grid-template-columns: 1fr; gap: var(--space-sm); }
}


/* =========================================================================
   18. HERO em duas colunas (padrão de consultoria global)
   Esquerda: convicção + CTA. Direita: painel de vidro com o fluxo de trabalho.
   ========================================================================= */

/* Formas geométricas decorativas (azul e dourado) atrás do painel */
.manifesto-deco {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.manifesto-deco .deco {
  position: absolute;
  border-radius: 50%;
  filter: blur(45px);
}
.manifesto-deco .deco-gold {
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.45), transparent 70%);
  top: -50px;
  right: 4%;
}
.manifesto-deco .deco-soft {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(125, 150, 205, 0.30), transparent 70%);
  bottom: -90px;
  right: 26%;
}
.manifesto .container {
  position: relative;
  z-index: 1;
}

/* Grade de duas colunas equilibradas */
.manifesto-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
.manifesto-content {
  max-width: 620px;
}

/* Painel de vidro (glassmorphism) */
.hero-panel {
  position: relative;
  border-radius: 16px;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  background: rgba(247, 247, 247, 0.06);
  border: 1px solid var(--line-soft);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}
.hero-panel .panel-label {
  display: block;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-xs);
}
.hero-panel .panel-title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 600;
  color: var(--ivory);
  line-height: 1.3;
  margin-bottom: var(--space-md);
}

/* Fluxo de trabalho como cards interativos */
.flow-cards {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.flow-card {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.85rem 1rem;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}
.flow-card:hover {
  transform: translateX(5px);
  background: rgba(197, 160, 89, 0.12);
  border-color: var(--gold);
}
.flow-card .fc-num {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy-deep);
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
}
.flow-card .fc-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.flow-card .fc-text strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ivory);
}
.flow-card .fc-text em {
  font-style: normal;
  font-size: 0.82rem;
  color: rgba(247, 247, 247, 0.65);
}
.flow-card.is-last {
  background: rgba(197, 160, 89, 0.15);
  border-color: var(--gold);
}
.flow-card.is-last .fc-num {
  background: var(--gold);
  color: var(--navy-deep);
}
.flow-arrow {
  align-self: center;
  color: var(--gold);
  font-size: 1rem;
  line-height: 1;
}

/* Empilha em telas menores */
@media (max-width: 880px) {
  .manifesto-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  .manifesto-content {
    max-width: none;
  }
}


/* =========================================================================
   19. Refino executivo — Métricas de mercado + esteira de governança
   ========================================================================= */

/* Rótulo de seção */
.metrics-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-sm);
}

/* Métricas — cards limpos com topo dourado e sombra suave */
.escape-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-block: var(--space-sm) var(--space-sm);
  padding: 0;
  border: none;
}
.escape-stat {
  background: var(--paper);
  border: 1px solid rgba(14, 34, 71, 0.08);
  border-top: 3px solid var(--gold);
  border-radius: 10px;
  padding: var(--space-md);
  box-shadow: 0 10px 30px rgba(14, 34, 71, 0.05);
}
.escape-stat .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  color: var(--gold);
  line-height: 1;
}
.escape-stat .stat-term {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy);
  margin: 0.6rem 0 0.3rem;
}
.escape-stat .desc {
  color: var(--gray);
  font-size: 0.9rem;
  margin: 0;
}

/* Nota de fontes */
.escape-note {
  font-size: 0.78rem;
  color: var(--gray);
  line-height: 1.55;
  margin-bottom: var(--space-lg);
  max-width: 70ch;
}

/* Esteira de governança — cards flutuantes (sem linha rígida) */
.journey-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-md);
}
.journey-flow::before {
  display: none;
}
.journey-step {
  background: var(--paper);
  border: 1px solid rgba(14, 34, 71, 0.08);
  border-radius: 12px;
  padding: var(--space-md);
  box-shadow: 0 12px 30px rgba(14, 34, 71, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.journey-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 44px rgba(14, 34, 71, 0.13);
  border-color: var(--line-soft);
}
.journey-step .step-num {
  width: 40px;
  height: 40px;
  background: var(--navy);
  color: var(--gold);
}
.journey-step h3 {
  font-size: 1rem;
  line-height: 1.25;
  margin-bottom: 0.4rem;
}
.journey-step p {
  font-size: 0.85rem;
}
.journey-step.is-key {
  border-top: 3px solid var(--gold);
}
.journey-step.is-key .step-num {
  background: var(--gold);
  color: var(--navy-deep);
}

@media (max-width: 980px) {
  .journey-flow { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .journey-flow { grid-template-columns: 1fr; }
}


/* Quatro métricas na esteira (sobrescreve o grid de 3 colunas) */
.escape-stats { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .escape-stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { .escape-stats { grid-template-columns: 1fr; } }


/* =========================================================================
   20. Diferencial — entrega completa (diagnóstico → implementação)
   ========================================================================= */
.differential {
  position: relative;
  background-color: var(--navy);
  color: var(--ivory);
  padding-block: clamp(3.5rem, 7vw, 6rem);
  overflow: hidden;
}
.differential::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--gold), transparent);
}
.diff-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
.diff-text { max-width: 600px; }
.diff-text .eyebrow { color: var(--gold); }
.diff-text h2 {
  color: var(--ivory);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1.15;
}
.diff-text h2 .accent { color: var(--gold); }
.diff-text p {
  color: rgba(247, 247, 247, 0.82);
  margin: var(--space-md) 0 var(--space-lg);
}

/* Escada de entrega */
.diff-scope {
  position: relative;
  display: flex;
  flex-direction: column;
}
.diff-scope::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 26px;
  bottom: 26px;
  width: 2px;
  background: var(--line-soft);
  z-index: 0;
}
.scope-step {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.7rem 0;
  position: relative;
  z-index: 1;
}
.scope-step .sc-num {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  background: var(--navy-deep);
  color: rgba(247, 247, 247, 0.55);
  border: 1px solid var(--line-soft);
}
.scope-step .sc-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: rgba(247, 247, 247, 0.85);
}
.scope-step .sc-tag {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.8rem;
  color: rgba(247, 247, 247, 0.45);
}
.scope-step.is-ours .sc-num {
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
}
.scope-step.is-ours .sc-label { color: var(--gold); }

@media (max-width: 880px) {
  .diff-grid { grid-template-columns: 1fr; gap: var(--space-lg); }
  .diff-text { max-width: none; }
}


/* =========================================================================
   21. Página de Soluções — faixa do método PRISMA (carro-chefe)
   ========================================================================= */
.frente.is-method {
  background-color: var(--navy);
  color: var(--ivory);
}
.frente.is-method .eyebrow { color: var(--gold); }
.frente.is-method .frente-head h2 { color: var(--ivory); }
.frente.is-method .frente-head p { color: rgba(247, 247, 247, 0.82); }


/* =========================================================================
   22. Dimensões do PRISMA (acrônimo) na faixa do método
   ========================================================================= */
.is-method .dims {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: var(--space-md);
}
.is-method .dim {
  font-size: 0.85rem;
  color: rgba(247, 247, 247, 0.85);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
}
.is-method .dim b {
  color: var(--gold);
  font-weight: 700;
}


/* =========================================================================
   23. Declaração institucional (posicionamento C-level na Home)
   ========================================================================= */
.statement {
  background-color: var(--paper);
}
.statement .container {
  max-width: 920px;
}
.statement-lead {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.4rem, 2.8vw, 2.05rem);
  line-height: 1.32;
  color: var(--navy);
  margin: var(--space-sm) 0 var(--space-md);
}
.statement-lead strong {
  font-weight: 700;
}
.statement-body {
  font-size: 1.075rem;
  line-height: 1.75;
  color: var(--gray);
  max-width: 780px;
}
