/* ========================================================================
   SPCG — São Paulo Consulting Group
   Stylesheet v3 (revisão do usuário: header em vinho, logo grande, cards compactos)
   Paleta OFICIAL da marca (não desviar):
     Vinho Escuro (Primary)   #6B1A2F
     Vinho Médio  (Secondary) #8C2F4A
     Vinho Claro  (Soft)      #B44A6A
     Dourado/Cobre (Accent)   #C9A04C
     Dourado Escuro           #A37F3F
     Azul Escuro (não preto!) #1C2B4A
     Cinza Escuro             #333333
     Cinza Médio              #555555
     Cinza Claro              #F8F8F8
     Branco                   #FFFFFF
   ======================================================================== */

:root {
  --wine-dark:  #6B1A2F;
  --wine-mid:   #8C2F4A;
  --wine-light: #B44A6A;
  --wine-glow:  rgba(107, 26, 47, 0.08);
  --gold:       #C9A04C;
  --gold-deep:  #A37F3F;
  --gold-glow:  rgba(201, 160, 76, 0.15);
  --blue-dark:  #1C2B4A;
  --blue-mid:   #2D3F65;
  --gray-dark:  #333333;
  --gray-mid:   #555555;
  --gray-soft:  #888888;
  --gray-light: #F8F8F8;
  --gray-border:#E5E5E5;
  --white:      #FFFFFF;

  --serif: 'Playfair Display', 'Times New Roman', Georgia, serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --container: 1240px;
  --gutter:    32px;

  --transition: 0.25s cubic-bezier(.4,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(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--wine-dark); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-deep); }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

/* -------------------- container -------------------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  width: 100%;
}

/* -------------------- topbar (v3: preto-vinho, contraste com header vinho abaixo) -------------------- */
.topbar {
  background: #4A0F1F;  /* vinho ainda mais escuro que o header */
  color: rgba(255,255,255,0.72);
  font-size: 11.5px;
  letter-spacing: 0.04em;
}
.topbar .container {
  display: flex; justify-content: flex-end; align-items: center;
  padding-top: 8px; padding-bottom: 8px;
  gap: 20px;
}
.lang-switch { display: flex; align-items: center; gap: 4px; font-weight: 500; }
.lang-switch a {
  color: rgba(255,255,255,0.55);
  padding: 2px 8px;
  border-radius: 2px;
}
.lang-switch a.active { color: var(--gold); }
.lang-switch a:hover { color: var(--white); }
.lang-switch span { color: rgba(255,255,255,0.25); }
.lang-switch span.disabled {
  color: rgba(255,255,255,0.32);
  padding: 2px 8px;
  cursor: not-allowed;
  font-weight: 500;
}

/* -------------------- header (v3.1: fundo vinho, logo PNG transparente, alinhamento fixo) -------------------- */
header.site {
  background: var(--wine-dark);
  border-bottom: 3px solid var(--gold);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
header.site .container {
  display: flex;
  align-items: center;      /* centra verticalmente TODOS os filhos */
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 36px;
  min-height: 108px;        /* garante altura estável do header */
}
/* Brand: logo PNG transparente + tagline lateral (alinhamento vertical exato) */
.brand {
  display: flex;
  align-items: center;      /* logo + tagline centrados entre si */
  gap: 20px;
  text-decoration: none;
  flex-shrink: 0;
  height: 76px;             /* logo maior */
}
.brand img {
  height: 76px;             /* logo aumentado */
  width: auto;
  display: block;
}
.brand .tagline {
  display: flex; flex-direction: column;
  justify-content: center;
  line-height: 1.2;
  padding-left: 20px;
  border-left: 1px solid rgba(255,255,255,0.30);
  height: 54px;             /* altura interna consistente com o logo maior */
}
.brand .tagline .top {
  color: var(--gold);
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 4px;
}
.brand .tagline .bottom {
  color: rgba(255,255,255,0.88);
  font-family: var(--serif);
  font-size: 12.5px;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.01em;
  white-space: nowrap;      /* mantém a tagline em 1 linha */
}

/* Nav: flex 1, alinha à direita, itens centrados verticalmente */
nav.primary {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 76px;             /* mesma altura do brand -> alinha ao meio do header */
}
nav.primary > ul {
  display: flex;
  list-style: none;
  align-items: center;      /* itens do menu centrados verticalmente */
  gap: 24px;
  height: 100%;
  margin: 0; padding: 0;
}
nav.primary > ul > li {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}
nav.primary > ul > li > a {
  color: rgba(255,255,255,0.88);
  font-size: 12px;
  font-weight: 500;
  padding: 0;               /* sem padding vertical -> altura pelo container */
  display: flex;
  align-items: center;
  height: 100%;
  position: relative;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
}
nav.primary > ul > li > a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 10px;             /* sublinhado dourado consistente */
  height: 2px; width: 0;
  background: var(--gold);
  transition: width var(--transition);
}
nav.primary > ul > li > a:hover,
nav.primary > ul > li.active > a {
  color: var(--gold);
}
nav.primary > ul > li > a:hover::after,
nav.primary > ul > li.active > a::after { width: 100%; }

/* dropdown */
nav.primary .has-dropdown > a::before {
  content: ''; display: inline-block;
  width: 5px; height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-right: 6px;
  vertical-align: 2px;
  opacity: 0.6;
}
.dropdown {
  position: absolute; top: 100%; left: -20px;
  background: var(--white);
  min-width: 280px;
  border: 1px solid var(--gray-border);
  border-top: 3px solid var(--gold);
  padding: 12px 0;
  box-shadow: 0 20px 40px rgba(0,0,0,0.18);
  opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition), visibility 0s .25s;
  list-style: none;
}
nav.primary li.has-dropdown:hover .dropdown,
nav.primary li.has-dropdown:focus-within .dropdown {
  opacity: 1; visibility: visible;
  transform: translateY(0);
  transition: opacity var(--transition), transform var(--transition), visibility 0s;
}
.dropdown li a {
  display: block;
  padding: 10px 22px;
  color: var(--gray-dark);
  font-size: 13.5px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}
.dropdown li a:hover {
  background: var(--gray-light);
  color: var(--wine-dark);
}
.dropdown li a small {
  display: block;
  color: var(--gray-soft);
  font-size: 11.5px;
  font-weight: 400;
  margin-top: 2px;
  letter-spacing: 0;
}

/* CTA "Fale conosco" no header vinho: dourado sólido, mesma altura visual do menu */
.btn-cta-header {
  background: var(--gold) !important;
  color: var(--blue-dark) !important;
  padding: 0 16px !important;
  height: 36px;                       /* altura fixa levemente menor */
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;  /* centraliza o texto horizontalmente */
  border-radius: 2px;
  font-weight: 700 !important;
  font-size: 11.5px !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;      /* impede quebra em duas linhas */
  transition: all var(--transition);
}
.btn-cta-header::after { display: none !important; }
.btn-cta-header:hover { background: var(--white) !important; color: var(--wine-dark) !important; }

/* mobile menu toggle */
.menu-toggle { display: none; }

/* -------------------- buttons -------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary { background: var(--wine-dark); color: var(--white); }
.btn-primary:hover { background: var(--wine-mid); color: var(--white); }
.btn-gold { background: var(--gold); color: var(--blue-dark); }
.btn-gold:hover { background: var(--gold-deep); color: var(--white); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-outline { background: transparent; color: var(--wine-dark); border-color: var(--wine-dark); }
.btn-outline:hover { background: var(--wine-dark); color: var(--white); }

/* -------------------- eyebrow (mini-label acima de títulos) -------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-deep);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ''; width: 32px; height: 1px; background: var(--gold);
}
.eyebrow.on-dark { color: var(--gold); }
.eyebrow.on-dark::before { background: var(--gold); }
.eyebrow.centered { justify-content: center; }
.eyebrow.centered::after { content: ''; width: 32px; height: 1px; background: var(--gold); }

/* -------------------- hero -------------------- */
.hero {
  background:
    linear-gradient(115deg, rgba(28,43,74,.94) 0%, rgba(107,26,47,.90) 55%, rgba(140,47,74,.85) 100%),
    radial-gradient(ellipse at top right, rgba(201,160,76,.22), transparent 60%);
  color: var(--white);
  padding: 110px 0 120px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  opacity: 0.4;
}
.hero::after {
  content: '';
  position: absolute; right: -140px; bottom: -140px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, var(--gold) 0%, transparent 65%);
  opacity: 0.12;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(38px, 5.2vw, 68px);
  line-height: 1.06;
  font-weight: 700;
  max-width: 18ch;
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}
.hero h1 em {
  font-style: italic; color: var(--gold); font-weight: 400;
}
.hero p.lead {
  font-size: 19px;
  max-width: 58ch;
  color: rgba(255,255,255,0.88);
  line-height: 1.55;
  margin-bottom: 36px;
  font-weight: 300;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* hero secundário para páginas internas */
.page-hero {
  background: var(--wine-dark);
  color: var(--white);
  padding: 70px 0 60px;
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid var(--gold);
}
.page-hero::after {
  content: '';
  position: absolute; right: -100px; top: -100px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, var(--wine-mid) 0%, transparent 70%);
  opacity: 0.6;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .breadcrumb {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.page-hero .breadcrumb a { color: rgba(255,255,255,0.75); }
.page-hero .breadcrumb a:hover { color: var(--gold); }
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.15;
  font-weight: 700;
  max-width: 22ch;
  margin-bottom: 14px;
}
.page-hero p.lead {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  max-width: 60ch;
  line-height: 1.55;
  font-weight: 300;
}

/* -------------------- stats -------------------- */
.stats-strip {
  background: var(--white);
  border-bottom: 1px solid var(--gray-border);
  padding: 44px 0;
}
.stats-strip .grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
}
.stat {
  padding-left: 18px;
  border-left: 2px solid var(--gold);
}
.stat .num {
  font-family: var(--serif);
  font-size: 42px; font-weight: 700;
  color: var(--wine-dark);
  line-height: 1; margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.stat .label {
  font-size: 13px; color: var(--gray-mid); line-height: 1.4;
}

/* -------------------- section base -------------------- */
section.block {
  padding: 90px 0;
}
section.block.compact { padding: 60px 0; }
section.block.tight   { padding: 40px 0; }
section.block.alt { background: var(--gray-light); }
section.block.wine {
  background: var(--wine-dark);
  color: var(--white);
}
section.block.wine h2, section.block.wine h3 { color: var(--white); }
section.block.wine p { color: rgba(255,255,255,0.85); }
section.block.blue {
  background: var(--blue-dark);
  color: var(--white);
}
section.block.blue h2, section.block.blue h3 { color: var(--white); }
section.block.blue p { color: rgba(255,255,255,0.85); }

.section-head { margin-bottom: 48px; max-width: 760px; }
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 44px);
  color: var(--wine-dark);
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.section-head p {
  font-size: 17px;
  color: var(--gray-mid);
  line-height: 1.6;
}

/* -------------------- pillars (3 colunas curtas) -------------------- */
.pillars {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
  margin-top: 0;
}
.pillar {
  padding: 30px 26px;
  background: var(--white);
  border-top: 3px solid var(--gold);
  border-left: 1px solid var(--gray-border);
  border-right: 1px solid var(--gray-border);
  border-bottom: 1px solid var(--gray-border);
}
.pillar h3 {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--wine-dark);
  margin-bottom: 10px;
  font-weight: 700;
}
.pillar p {
  color: var(--gray-mid);
  font-size: 14.5px;
  line-height: 1.6;
}

/* -------------------- practices grid -------------------- */
.practices {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 1px solid var(--gray-border);
  border-left: 1px solid var(--gray-border);
}
.practice {
  padding: 22px 22px 20px;
  border-right: 1px solid var(--gray-border);
  border-bottom: 1px solid var(--gray-border);
  background: var(--white);
  transition: background var(--transition), border-color var(--transition);
  cursor: pointer;
  display: flex; flex-direction: column;
  min-height: 175px;
  position: relative;
}
.practice::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--gold);
  opacity: 0; transition: opacity var(--transition);
}
.practice:hover { background: var(--gray-light); }
.practice:hover::before { opacity: 1; }
.practice .num {
  font-family: var(--serif);
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.14em;
  margin-bottom: 6px;
  font-weight: 600;
}
.practice h3 {
  font-family: var(--serif);
  font-size: 19px;
  color: var(--wine-dark);
  margin-bottom: 8px;
  font-weight: 700;
  line-height: 1.2;
}
.practice p {
  color: var(--gray-mid);
  font-size: 13.5px;
  line-height: 1.55;
  margin-bottom: 12px;
  flex: 1;
}
.practice .more {
  font-size: 11px;
  font-weight: 700;
  color: var(--wine-dark);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px;
}
.practice .more::after {
  content: '→';
  transition: transform var(--transition);
}
.practice:hover .more { color: var(--gold-deep); }
.practice:hover .more::after { transform: translateX(4px); }

/* -------------------- industries (chips) -------------------- */
.industries {
  display: flex; flex-wrap: wrap; gap: 12px;
}
.chip {
  padding: 13px 22px;
  border: 1px solid var(--gray-border);
  background: var(--white);
  border-radius: 2px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-dark);
  transition: all var(--transition);
  cursor: pointer;
}
.chip:hover {
  background: var(--wine-dark);
  color: var(--white);
  border-color: var(--wine-dark);
}
.chip.on-dark {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.2);
  color: var(--white);
}
.chip.on-dark:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--blue-dark);
}

/* -------------------- industries grid -------------------- */
.industry-cards {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.industry-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  padding: 26px 22px;
  transition: all var(--transition);
}
.industry-card:hover {
  border-color: var(--wine-dark);
  box-shadow: 0 12px 30px rgba(107,26,47,0.10);
  transform: translateY(-3px);
}
.industry-card .tag {
  display: inline-block;
  font-size: 10px;
  color: var(--gold-deep);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 10px;
}
.industry-card h3 {
  font-family: var(--serif);
  color: var(--wine-dark);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.2;
}
.industry-card p {
  color: var(--gray-mid);
  font-size: 13.5px;
  line-height: 1.5;
}

/* -------------------- mini cases (prova social) -------------------- */
.cases {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.cases.four {
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.case {
  background: var(--wine-dark);
  color: var(--white);
  padding: 32px 26px;
  position: relative;
  overflow: hidden;
}
.case::before {
  content: '';
  position: absolute; right: -40px; top: -40px;
  width: 140px; height: 140px;
  background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
  opacity: 0.15;
}
.case .tag {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 14px;
  position: relative;
}
.case .result {
  font-family: var(--serif);
  font-size: 38px;
  color: var(--gold);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 10px;
  position: relative;
}
.case .headline {
  font-family: var(--serif);
  font-size: 18px;
  margin-bottom: 12px;
  line-height: 1.3;
  color: var(--white);
  position: relative;
}
.case .desc {
  font-size: 13.5px;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
  position: relative;
}

/* -------------------- insights (cards de artigo) -------------------- */
.insights {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.insight {
  background: var(--white);
  border: 1px solid var(--gray-border);
  transition: all var(--transition);
  overflow: hidden;
  display: flex; flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.insight:hover {
  border-color: var(--wine-dark);
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(107,26,47,0.12);
  color: inherit;
}
.insight .thumb {
  height: 180px;
  position: relative;
  overflow: hidden;
}
.insight .thumb.t1 { background: linear-gradient(135deg, var(--wine-dark), var(--wine-mid)); }
.insight .thumb.t2 { background: linear-gradient(135deg, var(--blue-dark), var(--wine-dark)); }
.insight .thumb.t3 { background: linear-gradient(135deg, var(--gold-deep), var(--wine-dark)); }
.insight .thumb.t4 { background: linear-gradient(135deg, var(--wine-mid), var(--wine-light)); }
.insight .thumb.t5 { background: linear-gradient(135deg, var(--blue-dark), var(--blue-mid)); }
.insight .thumb.t6 { background: linear-gradient(135deg, var(--wine-dark), var(--gold-deep)); }
.insight .thumb::before {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.6;
}
.insight .thumb .type-tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--white);
  color: var(--wine-dark);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 5px 10px;
}
.insight .body {
  padding: 24px 24px 26px;
  flex: 1;
  display: flex; flex-direction: column;
}
.insight .meta {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
  margin-bottom: 12px;
}
.insight h3 {
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.25;
  color: var(--wine-dark);
  margin-bottom: 12px;
  font-weight: 700;
  flex: 1;
}
.insight p {
  color: var(--gray-mid);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}
.insight .read {
  font-size: 11px;
  font-weight: 700;
  color: var(--wine-dark);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* -------------------- featured report -------------------- */
.featured-report {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 60px; align-items: center;
}
.featured-report .info h2 { color: var(--white); }
.featured-report .info p { color: rgba(255,255,255,0.8); }
.report-card {
  background: var(--white);
  color: var(--gray-dark);
  padding: 34px 30px;
  border-top: 4px solid var(--gold);
  position: relative;
}
.report-card .tag {
  display: inline-block;
  background: var(--wine-dark);
  color: var(--white);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 4px 10px;
  margin-bottom: 16px;
  font-weight: 700;
}
.report-card h4 {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--wine-dark);
  line-height: 1.25;
  margin-bottom: 10px;
  font-weight: 700;
}
.report-card .info-list {
  font-size: 13px;
  color: var(--gray-mid);
  margin-bottom: 22px;
  line-height: 1.7;
}
.report-card .info-list strong { color: var(--gray-dark); }

/* -------------------- newsletter block -------------------- */
.newsletter-block {
  background: var(--wine-dark);
  color: var(--white);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(135deg, var(--wine-dark) 0%, var(--blue-dark) 100%),
    radial-gradient(circle at 80% 20%, var(--wine-mid), transparent 60%);
}
.newsletter-block::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.6;
}
.newsletter-block .container {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start;
}
.newsletter-block .info h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 42px);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 14px;
  font-weight: 700;
}
.newsletter-block .info h2 span {
  color: var(--gold); font-style: italic; font-weight: 400;
}
.newsletter-block .info p {
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
  font-size: 15.5px;
  margin-bottom: 20px;
}
.newsletter-block .info .cadence {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.newsletter-form {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  padding: 28px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.newsletter-form .row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px;
}
.newsletter-form input, .newsletter-form select {
  padding: 13px 14px;
  background: rgba(255,255,255,0.98);
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--gray-dark);
  border-radius: 2px;
  width: 100%;
  transition: border-color var(--transition);
}
.newsletter-form input:focus, .newsletter-form select:focus {
  outline: none; border-color: var(--gold);
}
.newsletter-form .full { grid-column: 1 / -1; }
.newsletter-form label.consent {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 12px;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
  margin: 14px 0 16px;
  text-align: left;
  cursor: pointer;
}
.newsletter-form label.consent input {
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px; height: 16px;
  accent-color: var(--gold);
}
.newsletter-form label.consent a { color: var(--gold); text-decoration: underline; }
.newsletter-form button {
  width: 100%;
  background: var(--gold);
  color: var(--blue-dark);
  padding: 15px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background var(--transition);
}
.newsletter-form button:hover { background: var(--white); }

/* -------------------- reports list -------------------- */
.reports-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.report-item {
  background: var(--white);
  border: 1px solid var(--gray-border);
  padding: 28px 26px;
  transition: all var(--transition);
  display: flex; flex-direction: column;
}
.report-item:hover {
  border-color: var(--wine-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(107,26,47,0.10);
}
.report-item .cover {
  height: 160px;
  background: linear-gradient(135deg, var(--wine-dark), var(--blue-dark));
  margin: -28px -26px 22px;
  position: relative;
  display: flex; align-items: flex-end;
  padding: 20px 26px;
}
.report-item .cover.v2 { background: linear-gradient(135deg, var(--blue-dark), var(--wine-mid)); }
.report-item .cover.v3 { background: linear-gradient(135deg, var(--wine-mid), var(--wine-dark)); }
.report-item .cover.v4 { background: linear-gradient(135deg, var(--gold-deep), var(--wine-dark)); }
.report-item .cover.v5 { background: linear-gradient(135deg, var(--wine-dark), var(--gold-deep)); }
.report-item .cover.v6 { background: linear-gradient(135deg, var(--blue-dark), var(--wine-dark)); }
.report-item .cover::after {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.6;
}
.report-item .cover .edition {
  font-family: var(--serif);
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.1em;
  position: relative;
}
.report-item .theme {
  font-size: 11px;
  color: var(--gold-deep);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 10px;
}
.report-item h4 {
  font-family: var(--serif);
  font-size: 19px;
  color: var(--wine-dark);
  line-height: 1.25;
  margin-bottom: 12px;
  font-weight: 700;
  flex: 1;
}
.report-item .details {
  font-size: 12.5px;
  color: var(--gray-mid);
  line-height: 1.5;
  margin-bottom: 16px;
}
.report-item .download {
  font-size: 12px;
  font-weight: 700;
  color: var(--wine-dark);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px;
}
.report-item .download::before { content: '↓'; }

/* filtros */
.filters {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-chip {
  padding: 8px 16px;
  border: 1px solid var(--gray-border);
  background: var(--white);
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-dark);
  cursor: pointer;
  transition: all var(--transition);
  border-radius: 2px;
}
.filter-chip:hover { border-color: var(--wine-dark); color: var(--wine-dark); }
.filter-chip.active { background: var(--wine-dark); color: var(--white); border-color: var(--wine-dark); }

/* -------------------- article body -------------------- */
.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 0 80px;
}
.article-body h2 {
  font-family: var(--serif);
  font-size: 30px;
  color: var(--wine-dark);
  margin: 40px 0 18px;
  line-height: 1.25;
  font-weight: 700;
}
.article-body h3 {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--blue-dark);
  margin: 32px 0 12px;
  font-weight: 700;
}
.article-body p {
  color: var(--gray-dark);
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 18px;
}
.article-body ul, .article-body ol {
  margin: 0 0 22px 24px;
  color: var(--gray-dark);
  font-size: 17px;
  line-height: 1.7;
}
.article-body ul li, .article-body ol li { margin-bottom: 8px; }
.article-body blockquote {
  border-left: 3px solid var(--gold);
  padding: 4px 0 4px 26px;
  margin: 28px 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.4;
  color: var(--wine-dark);
}
.article-body a { color: var(--wine-dark); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.article-body strong { color: var(--wine-dark); }

.article-meta {
  border-top: 1px solid var(--gray-border);
  border-bottom: 1px solid var(--gray-border);
  padding: 20px 0;
  margin: 40px 0;
  display: flex; gap: 24px; flex-wrap: wrap;
  font-size: 13px; color: var(--gray-mid);
}
.article-meta strong { color: var(--gray-dark); font-weight: 600; }

/* -------------------- careers / cta strip -------------------- */
.cta-strip {
  background: var(--blue-dark);
  color: var(--white);
  padding: 70px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, var(--wine-dark) 0%, transparent 70%);
  opacity: 0.5;
}
.cta-strip .container { position: relative; z-index: 2; }
.cta-strip h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.2vw, 40px);
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
  font-weight: 700;
}
.cta-strip p {
  color: rgba(255,255,255,0.85);
  max-width: 60ch;
  margin: 0 auto 26px;
  font-size: 16px;
  line-height: 1.6;
}

/* -------------------- contact form -------------------- */
.contact-form {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  padding: 40px;
  border: 1px solid var(--gray-border);
  border-top: 4px solid var(--wine-dark);
}
.contact-form .row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px;
}
.contact-form label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-dark);
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray-border);
  background: var(--white);
  font-family: var(--sans);
  font-size: 14.5px;
  color: var(--gray-dark);
  border-radius: 2px;
  transition: border-color var(--transition);
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--wine-dark);
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form .full { grid-column: 1 / -1; }
.contact-form label.consent {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 12.5px;
  color: var(--gray-mid);
  line-height: 1.5;
  margin: 6px 0 20px;
  text-transform: none;
  font-weight: 400;
  cursor: pointer;
}
.contact-form label.consent input { width: 16px; height: 16px; margin-top: 3px; flex-shrink: 0; accent-color: var(--wine-dark); }
.contact-form label.consent a { color: var(--wine-dark); text-decoration: underline; }
.contact-form button {
  background: var(--wine-dark);
  color: var(--white);
  padding: 15px 30px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background var(--transition);
}
.contact-form button:hover { background: var(--wine-mid); }

/* -------------------- footer -------------------- */
footer.site {
  background: var(--wine-dark);
  color: var(--white);
  padding: 70px 0 0;
  position: relative;
  overflow: hidden;
}
footer.site::before {
  content: '';
  position: absolute; top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--wine-mid) 0%, transparent 70%);
  opacity: 0.4;
}
footer.site .container { position: relative; z-index: 2; }
footer.site .grid {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr 1.1fr; gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  align-items: start;
}
/* Brand no footer: só o logo, GRANDE (sem tagline lateral) */
footer.site .brand {
  display: flex; flex-direction: column; align-items: flex-start; gap: 22px;
  height: auto;              /* sobrescreve altura fixa do header */
}
footer.site .brand img {
  height: 110px;             /* logo grande e respirando */
  width: auto;
  margin-bottom: 4px;
}
/* tagline do footer removida — não é mais renderizada */
footer.site .social {
  display: flex; gap: 10px;
}
footer.site .social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center;
  border-radius: 2px;
  color: var(--white);
  transition: all var(--transition);
}
footer.site .social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--blue-dark);
}
footer.site h5 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  font-weight: 700;
}
footer.site ul { list-style: none; }
footer.site ul li { margin-bottom: 10px; }
footer.site ul a {
  color: rgba(255,255,255,0.85);
  font-size: 14px;
}
footer.site ul a:hover { color: var(--gold); }
footer.site .contact-col p {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
  margin-bottom: 10px;
}
footer.site .contact-col p strong {
  display: block;
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 3px;
  font-weight: 600;
}
footer.site .sub {
  padding: 24px 0;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
}
footer.site .sub a { color: rgba(255,255,255,0.75); }
footer.site .sub a:hover { color: var(--gold); }
footer.site .sub .legal { display: flex; gap: 24px; flex-wrap: wrap; }

/* -------------------- cookie banner -------------------- */
.cookie-banner {
  position: fixed;
  bottom: 20px; left: 20px; right: 20px;
  max-width: 780px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--gray-border);
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  padding: 22px 26px;
  z-index: 200;
  border-radius: 2px;
  border-top: 3px solid var(--wine-dark);
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.cookie-banner p {
  flex: 1; min-width: 280px;
  font-size: 13.5px;
  color: var(--gray-dark);
  line-height: 1.5;
}
.cookie-banner p strong { color: var(--wine-dark); }
.cookie-banner p a { font-weight: 600; text-decoration: underline; }
.cookie-banner .cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-banner button {
  padding: 10px 18px;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  border-radius: 2px;
  border: 1px solid var(--gray-border);
  background: var(--white);
  color: var(--gray-dark);
  transition: all var(--transition);
}
.cookie-banner button:hover { border-color: var(--wine-dark); color: var(--wine-dark); }
.cookie-banner button.primary {
  background: var(--wine-dark);
  color: var(--white);
  border-color: var(--wine-dark);
}
.cookie-banner button.primary:hover { background: var(--wine-mid); }
.cookie-banner.hidden { display: none; }

/* -------------------- mockup ribbon (retirar em produção) -------------------- */
.ribbon {
  position: fixed; top: 16px; left: -46px;
  background: var(--gold);
  color: var(--blue-dark);
  padding: 6px 55px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transform: rotate(-45deg);
  z-index: 300;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

/* -------------------- responsive -------------------- */
@media (max-width: 1024px) {
  .stats-strip .grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .practices { grid-template-columns: repeat(2, 1fr); }
  .insights { grid-template-columns: 1fr 1fr; }
  .industry-cards { grid-template-columns: repeat(2, 1fr); }
  .featured-report { grid-template-columns: 1fr; }
  .newsletter-block .container { grid-template-columns: 1fr; }
  .reports-grid { grid-template-columns: 1fr 1fr; }
  .cases, .cases.four { grid-template-columns: 1fr 1fr; }
  footer.site .grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .brand .tagline { display: none; }
  .brand img { height: 60px; }
}
@media (max-width: 768px) {
  nav.primary { display: none; }
  nav.primary.open {
    display: block;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--wine-dark);
    z-index: 200;
    padding: 100px 24px 40px;
    overflow-y: auto;
  }
  nav.primary.open > ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
  }
  nav.primary.open > ul > li {
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.14);
  }
  nav.primary.open > ul > li > a {
    padding: 16px 0;
    display: block;
    font-size: 14px;
    color: var(--white);
  }
  nav.primary.open .dropdown {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 12px 20px;
    min-width: 0;
    background: transparent;
  }
  nav.primary.open .dropdown li a { color: rgba(255,255,255,0.75); }
  nav.primary.open .btn-cta-header {
    margin-top: 20px;
    display: inline-block;
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 30px; height: 30px;
    justify-content: center;
    z-index: 201;
    position: relative;
    margin-left: auto;
  }
  .menu-toggle span {
    display: block; width: 100%; height: 2px;
    background: var(--white);
    transition: transform var(--transition), opacity var(--transition);
  }
  .menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 640px) {
  :root { --gutter: 20px; }
  section.block { padding: 60px 0; }
  section.block.compact { padding: 40px 0; }
  .hero { padding: 70px 0 80px; }
  .stats-strip .grid { grid-template-columns: 1fr; }
  .practices { grid-template-columns: 1fr; }
  .insights { grid-template-columns: 1fr; }
  .industry-cards { grid-template-columns: 1fr; }
  .reports-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; gap: 20px; }
  .newsletter-form .row { grid-template-columns: 1fr; }
  .contact-form .row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
  footer.site .grid { grid-template-columns: 1fr; gap: 32px; }
  .brand .wordmark .full { display: none; }
  .cookie-banner { padding: 18px; }
}
