/* ============================================================
   shared.css — Nova Harmo 2026 · Design System
   Anuário Reputation Awards 2026
   Fonte: Manrope · Paleta oficial brandbook Labof_
   ============================================================ */

:root {
  --primary:        #3448F8;
  --primary-dark:   #1A1D9F;
  --accent:         #00B1FF;
  --accent-light:   #C2EFFF;
  --dark:           #040C22;
  --bg:             #F4F6FA;
  --surface:        #FFFFFF;
  --text:           #0D1117;
  --text-muted:     #6B7280;
  --text-light:     #9CA3AF;
  --border:         #E5E7EB;
  --st-green:       #16A34A;
  --st-red:         #DC2626;
  --st-blue:        #2563EB;
  --gold:           #D4A63A;
  --silver:         #8C94A3;
  --bronze:         #B26E3D;
  --gradient-hero:  linear-gradient(135deg, #040C22 0%, #1A1D9F 50%, #3448F8 100%);
  --gradient-card:  linear-gradient(135deg, #3448F8 0%, #1A1D9F 100%);
  --radius-sm:      8px;
  --radius-md:      12px;
  --radius-lg:      18px;
  --radius-xl:      24px;
  --radius-pill:    999px;
  --shadow-sm:      0 1px 3px rgba(4,12,34,0.06);
  --shadow-md:      0 4px 16px rgba(4,12,34,0.08);
  --shadow-lg:      0 12px 40px rgba(4,12,34,0.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', -apple-system, sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 2px; }

/* ── NAV ─────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 15px 40px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
.nav.scrolled { box-shadow: var(--shadow-sm); }
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img { height: 22px; width: auto; display: block; }
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a {
  font-size: 12px; font-weight: 600; color: var(--text-muted);
  padding: 6px 12px; border-radius: var(--radius-sm);
  transition: background .15s, color .15s; white-space: nowrap;
  text-decoration: none;
}
.nav-links a:hover { background: var(--bg); color: var(--text); }
.nav-links a.active {
  background: rgba(52,72,248,.08); color: var(--primary);
  font-weight: 700;
}
.nav-right { display: flex; align-items: center; gap: 14px; }
.lang-switch {
  display: flex; gap: 3px; padding: 3px;
  border-radius: var(--radius-pill);
  background: var(--bg); border: 1px solid var(--border);
}
.lang-btn {
  padding: 5px 10px; border-radius: var(--radius-pill);
  font-size: 11px; font-weight: 700; cursor: pointer;
  border: none; background: transparent; color: var(--text-muted);
  transition: all .2s; font-family: 'Manrope', sans-serif; letter-spacing: 0.06em;
}
.lang-btn.active { background: var(--primary); color: #fff; box-shadow: 0 2px 8px rgba(52,72,248,.3); }
@media (max-width: 900px) { .nav { padding: 12px 18px; } .nav-links { display: none; } }

/* ── SEÇÕES BASE ─────────────────────────────────────────── */
section, .section { padding: 90px 40px; background: var(--surface); }
section.alt-bg, .section.alt-bg { background: var(--bg); }
section.dark-bg, .section.dark-bg { background: var(--dark); color: var(--surface); }
@media (max-width: 900px) { section, .section { padding: 64px 18px; } }
.wrap { max-width: 1200px; margin: 0 auto; }
.wrap-narrow { max-width: 860px; margin: 0 auto; }

.section-label {
  display: inline-flex; padding: 6px 13px; border-radius: var(--radius-pill);
  border: 1px solid var(--primary); color: var(--primary);
  font-size: 10px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase;
  margin-bottom: 22px;
}
.dark-bg .section-label { border-color: rgba(255,255,255,0.2); color: var(--accent); }
h2.section-title {
  font-size: clamp(30px, 4.5vw, 58px);
  font-weight: 700; line-height: 1.04; letter-spacing: -0.03em;
  margin-bottom: 18px; color: var(--text);
}
.dark-bg h2.section-title { color: var(--surface); }
h2.section-title em { font-style: normal; color: var(--primary); }
.dark-bg h2.section-title em { color: var(--accent); }
.section-intro { font-size: 17px; font-weight: 300; color: var(--text-muted); max-width: 740px; line-height: 1.65; }
.dark-bg .section-intro { color: rgba(255,255,255,0.68); }

/* ── PÓDIO ───────────────────────────────────────────────── */
.podium {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); overflow: hidden;
  margin-bottom: 44px; box-shadow: var(--shadow-sm);
}
.podium-row {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr 1fr 1fr 1fr 1fr;
  gap: 14px; padding: 18px 22px;
  align-items: center; font-size: 13px;
  border-bottom: 1px solid var(--border);
}
.podium-row:last-child { border-bottom: none; }
.podium-row.header {
  background: var(--dark); color: var(--surface);
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em;
}
.podium-pos { font-weight: 700; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; display: flex; align-items: center; gap: 6px; }
.podium-pos.gold  { color: var(--gold); }
.podium-pos.silver{ color: var(--silver); }
.podium-pos.bronze{ color: var(--bronze); }
.podium-brand { font-weight: 700; font-size: 13px; display: flex; align-items: center; gap: 10px; }
.brand-logo-slot {
  width: 32px; height: 32px; flex-shrink: 0;
  border-radius: 6px; background: var(--bg); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 8px; color: var(--text-muted); font-weight: 700;
  overflow: hidden;
}
.brand-logo-slot img {
  max-width: 100%; max-height: 100%;
  width: auto; height: auto;
  object-fit: contain; padding: 3px; box-sizing: border-box;
  display: block;
}
.podium-score { font-weight: 700; font-size: 13px; font-variant-numeric: tabular-nums; }
.podium-num { font-variant-numeric: tabular-nums; color: var(--text-muted); }
.podium-routes { font-weight: 700; color: var(--st-green); font-variant-numeric: tabular-nums; }
.podium-routes.neg { color: var(--st-red); }
@media (max-width: 900px) {
  .podium-row { grid-template-columns: 1fr; gap: 4px; padding: 16px 18px; }
  .podium-row.header { display: none; }
  .podium-row > div::before { content: attr(data-label) ':'; font-size: 9px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; display: block; margin-bottom: 2px; font-weight: 600; }
  .podium-row > div:first-child::before { display: none; }
}

/* ── ANÁLISE DE MARCA ────────────────────────────────────── */
.brand-analysis { margin-bottom: 52px; }
.brand-analysis-header { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.brand-analysis-medal { font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; padding: 4px 10px; border-radius: var(--radius-pill); }
.brand-analysis-medal.gold   { background: rgba(212,166,58,0.1); color: var(--gold); }
.brand-analysis-medal.silver { background: rgba(140,148,163,0.1); color: var(--silver); }
.brand-analysis-medal.bronze { background: rgba(178,110,61,0.1); color: var(--bronze); }
.brand-analysis h3 { font-size: clamp(22px, 3vw, 32px); font-weight: 700; letter-spacing: -0.02em; }
.brand-analysis p.analysis { font-size: 15px; color: var(--text-muted); line-height: 1.8; margin-bottom: 26px; max-width: 860px; }

.indicator-tables { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
@media (max-width: 900px) { .indicator-tables { grid-template-columns: 1fr; } }
.ind-table { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.ind-table-header { padding: 18px 20px 10px; border-bottom: 1px solid var(--border); }
.ind-table-header h5 { font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--primary); margin-bottom: 3px; }
.ind-table-header small { font-size: 11px; color: var(--text-muted); }
.ind-row { display: grid; grid-template-columns: 2fr 1fr 1fr; padding: 11px 20px; gap: 10px; font-size: 12px; align-items: center; border-bottom: 1px solid var(--border); }
.ind-row:last-child { border-bottom: none; }
.ind-row.th { background: var(--bg); font-weight: 700; font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); }
.ind-row .indicator-name { font-weight: 500; line-height: 1.3; }
.ind-row .indicator-name small { display: block; color: var(--text-muted); font-size: 9px; font-weight: 400; letter-spacing: 0.04em; margin-top: 1px; }
.ind-row .val { font-weight: 700; font-variant-numeric: tabular-nums; }
.ind-row .avg { color: var(--text-muted); font-variant-numeric: tabular-nums; }
.ind-row .val.hi { color: var(--st-green); }

.score-display {
  background: var(--gradient-card); color: var(--surface);
  padding: 16px 22px; border-radius: var(--radius-md);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.score-display-left { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; display: flex; align-items: baseline; gap: 12px; }
.score-display-num { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.score-display-right { font-size: 11px; opacity: 0.85; display: flex; gap: 18px; }
.score-display-right strong { font-weight: 700; font-variant-numeric: tabular-nums; }

/* ── PEARSON ─────────────────────────────────────────────── */
.pearson {
  margin-top: 32px; background: var(--dark); color: var(--surface);
  border-radius: var(--radius-md); padding: 26px 30px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 18px; flex-wrap: wrap;
}
.pearson-label { font-size: 10px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.55; }
.pearson-title { font-size: 17px; font-weight: 700; margin-top: 4px; }
.pearson-right { display: flex; align-items: center; gap: 12px; }
.pearson-val { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; color: var(--accent); font-variant-numeric: tabular-nums; }
.pearson-tag { padding: 4px 11px; border-radius: var(--radius-pill); background: rgba(0,177,255,0.12); font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }

/* ── FOTO/VIDEO PLACEHOLDERS ─────────────────────────────── */
.cat-photo-placeholder {
  width: 100%; aspect-ratio: 16/6;
  background: var(--gradient-card); border-radius: var(--radius-md);
  margin-bottom: 36px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.75); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600;
}
.cat-photo-placeholder-inner {
  background: rgba(255,255,255,0.1); backdrop-filter: blur(8px);
  padding: 11px 18px; border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.18);
  display: flex; align-items: center; gap: 8px;
}
.cat-photo-placeholder-inner::before { content: '📷'; font-size: 13px; }

.video-placeholder {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--dark), var(--primary-dark, #1A1D9F));
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; cursor: pointer;
  transition: transform .3s; border: 1px solid rgba(255,255,255,0.07);
}
.video-placeholder:hover { transform: translateY(-3px); }
.video-placeholder-inner { position: relative; z-index: 2; text-align: center; }
.play-btn {
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--surface); margin: 0 auto 13px;
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s;
}
.video-placeholder:hover .play-btn { transform: scale(1.1); }
.play-btn::before { content: ''; width: 0; height: 0; border-left: 13px solid var(--dark); border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 4px; }
.video-placeholder-label { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; color: var(--surface); text-transform: uppercase; }
.video-placeholder-sub { font-size: 10px; opacity: 0.6; margin-top: 4px; color: var(--surface); }
.slot-instruction { position: absolute; bottom: 9px; left: 9px; right: 9px; font-size: 9px; padding: 6px 10px; background: rgba(0,0,0,0.5); border: 1px dashed rgba(255,255,255,0.2); border-radius: 6px; color: rgba(255,255,255,0.6); font-weight: 600; text-align: center; z-index: 3; }

.photo-placeholder {
  aspect-ratio: 4/3; background: var(--gradient-card);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600;
  border: 1px solid rgba(255,255,255,0.07);
}

/* ── BOTÕES ──────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; background: var(--primary); color: var(--surface);
  border-radius: var(--radius-pill); font-size: 13px; font-weight: 700;
  font-family: 'Manrope', sans-serif; transition: all .2s;
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(52,72,248,.3); }
.btn-primary::after { content: '→'; font-size: 14px; }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; background: transparent; color: var(--primary);
  border: 1px solid var(--primary); border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 700;
  font-family: 'Manrope', sans-serif; margin-top: 10px; transition: all .2s;
}
.btn-secondary:hover { background: var(--primary); color: var(--surface); }

/* ── CABEÇALHO DE CATEGORIA ─────────────────────────────── */
.cat-header {
  margin-bottom: 44px; padding-bottom: 26px;
  border-bottom: 3px solid var(--primary);
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 28px; flex-wrap: wrap;
}
.cat-eyebrow { font-size: 10px; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; color: var(--primary); margin-bottom: 9px; }
.cat-title { font-size: clamp(26px, 4vw, 46px); font-weight: 700; letter-spacing: -0.03em; line-height: 1; color: var(--text); }
.cat-tagline { font-size: 14px; color: var(--text-muted); max-width: 420px; text-align: right; font-style: italic; }
@media (max-width: 900px) { .cat-tagline { text-align: left; max-width: none; } }

/* ── SCROLL REVEAL ──────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ── FOOTER ──────────────────────────────────────────────── */
footer { background: var(--dark); color: var(--surface); padding: 64px 40px 32px; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 900px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-brand { font-size: 20px; font-weight: 800; letter-spacing: 0.22em; margin-bottom: 12px; }
.footer-tag { font-size: 13px; color: rgba(255,255,255,0.5); max-width: 320px; line-height: 1.6; }
.footer-col h5 { font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; font-size: 13px; }
.footer-col ul li a { color: rgba(255,255,255,0.7); transition: color .2s; }
.footer-col ul li a:hover { color: var(--surface); }
.footer-bottom { max-width: 1200px; margin: 44px auto 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.09); display: flex; justify-content: space-between; font-size: 11px; color: rgba(255,255,255,0.35); flex-wrap: wrap; gap: 12px; }

@media print {
  .nav, .scroll-hint, footer { display: none; }
  body { background: white; }
  section, .section { page-break-inside: avoid; padding: 36px; }
}

/* ── NAV CTA (item Concorra destacado) ───────────────────── */
.nav-links a.nav-cta {
  background: var(--accent);
  color: var(--dark);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  margin-left: 6px;
  transition: all .2s ease;
}
.nav-links a.nav-cta:hover {
  background: var(--accent-light, #00d4ff);
  color: var(--dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,177,255,0.35);
}
.nav-links a.nav-cta.active {
  background: var(--primary);
  color: #fff;
}

/* ── PÁGINA CONCORRA (layout centralizado) ───────────────── */
.concorra-section { padding: 100px 40px 80px; }
@media (max-width: 900px) { .concorra-section { padding: 72px 18px 56px; } }
.concorra-wrap { max-width: 760px; margin: 0 auto; text-align: center; }
.concorra-eyebrow {
  display: inline-block;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--primary);
  padding: 6px 14px; border-radius: var(--radius-pill);
  background: rgba(52,72,248,0.08);
  margin-bottom: 28px;
}
.concorra-wrap h1 {
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 700; line-height: 1.05; letter-spacing: -0.03em;
  color: var(--text); margin-bottom: 24px;
}
.concorra-wrap h1 em { font-style: normal; color: var(--primary); font-weight: 300; }
.concorra-lead {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--text-muted);
  line-height: 1.65; font-weight: 400;
  max-width: 640px; margin: 0 auto 18px;
}
.concorra-lead strong { color: var(--text); font-weight: 600; }
.concorra-form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  margin-top: 56px;
  box-shadow: var(--shadow-md);
  text-align: left;
}
@media (max-width: 700px) { .concorra-form-card { padding: 32px 22px; } }
.concorra-form-card h3 {
  font-size: 18px; font-weight: 700;
  letter-spacing: -0.01em; color: var(--text);
  margin-bottom: 6px; text-align: center;
}
.concorra-form-card .form-sub {
  font-size: 13px; color: var(--text-muted);
  text-align: center; margin-bottom: 28px;
  line-height: 1.55;
}
.concorra-form-card .hbspt-form,
.concorra-form-card form { max-width: 580px; margin: 0 auto; }
.concorra-trust {
  margin-top: 36px; padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: center; gap: 28px;
  flex-wrap: wrap;
}
.concorra-trust-item {
  text-align: center;
}
.concorra-trust-num {
  font-size: 22px; font-weight: 800;
  color: var(--primary); letter-spacing: -0.02em;
  line-height: 1;
}
.concorra-trust-label {
  font-size: 11px; font-weight: 600;
  color: var(--text-muted); letter-spacing: 0.06em;
  text-transform: uppercase; margin-top: 6px;
}
