/* ===================================================================
   INTERSIGNUM — Governança Humana
   Design tokens derivados do logotipo: azul-marinho + dourado + taupe,
   com o nó dourado (sinapse) do símbolo como elemento assinatura.
=================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Work+Sans:wght@300;400;500;600&display=swap');

:root {
  /* cores extraídas diretamente do logotipo */
  --navy-ink:     #0B1830;
  --navy:         #11244E;
  --navy-soft:    #1E3A63;
  --gold:         #BFA05F;
  --gold-light:   #D8C08A;
  --taupe:        #938B80;
  --taupe-light:  #C7C1B8;
  --cream:        #F7F5F1;
  --white:        #FFFFFF;
  --ink:          #23272E;
  --ink-soft:     #5B6270;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Work Sans', -apple-system, sans-serif;

  --max-width: 1180px;
  --radius: 2px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

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

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

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.15;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.4rem; }

p {
  color: var(--ink-soft);
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- Elemento assinatura: divisor sinapse ---------- */
.synapse-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 auto;
  width: 100%;
  max-width: 220px;
}
.synapse-divider::before,
.synapse-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--taupe-light));
}
.synapse-divider::after { background: linear-gradient(90deg, var(--gold-light), transparent); }
.synapse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #F3E6C4, var(--gold) 60%, #8A6E30 100%);
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(191,160,95,0.5);
}

.section-divider {
  padding: 48px 0;
}

.hero-mark-watermark {
  position: absolute;
  right: -140px;
  top: -120px;
  width: 620px;
  opacity: 0.05;
  z-index: 1;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 48px;
  align-items: center;
}
.hero-showcase {
  position: relative;
  z-index: 2;
  background: var(--white);
  border: 1px solid rgba(191,160,95,0.5);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 30px 60px rgba(0,0,0,0.28);
}
.hero-showcase img { width: 100%; max-width: 300px; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-showcase { max-width: 220px; margin: 0 auto; padding: 24px; }
  .hero-showcase img { max-width: 160px; }
  .hero-mark-watermark { width: 320px; right: -80px; top: -60px; opacity: 0.06; }
}

/* Destaque tipográfico para o termo cunhado "Governança Humana" */
.term {
  color: var(--gold);
  white-space: nowrap;
}
.term-tag {
  display: inline-block;
  font-size: 0.55em;
  font-weight: 600;
  letter-spacing: 0.04em;
  vertical-align: super;
  color: var(--taupe);
  margin-left: 2px;
}
.concept-callout {
  border-left: 3px solid var(--gold);
  background: var(--cream);
  padding: 28px 32px;
  margin: 32px 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.concept-callout .eyebrow { display:block; margin-bottom: 10px; }
.concept-callout p:last-child { margin-bottom: 0; }

/* ---------- Header / Navegação ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #ECE8E0;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.nav-logo img { height: 54px; width: auto; }
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--navy);
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width 0.25s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--gold); }

.nav-cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em;
  transition: background 0.2s ease;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--gold); color: var(--navy-ink) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--navy);
}

/* ---------- Botões ---------- */
.btn {
  display: inline-block;
  padding: 15px 34px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  transition: all 0.25s ease;
  border: 1.5px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--navy);
  color: var(--white);
}
.btn-primary:hover { background: var(--gold); color: var(--navy-ink); }
.btn-gold {
  background: var(--gold);
  color: var(--navy-ink);
}
.btn-gold:hover { background: var(--navy); color: var(--white); }
.btn-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline-light {
  background: transparent;
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
}
.btn-outline-light:hover { background: var(--white); color: var(--navy); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy-ink);
  color: var(--white);
  padding: 110px 0 90px;
}
.hero-split {
  position: absolute;
  inset: 0;
  opacity: 0.5;
}
.hero-split svg { width: 100%; height: 100%; }
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}
.hero .eyebrow { color: var(--gold-light); }
.hero h1 { color: var(--white); margin: 18px 0 24px; }
.hero p.lead {
  font-size: 1.15rem;
  color: #C9CEDA;
  max-width: 620px;
  margin-bottom: 36px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(191,160,95,0.12);
  border: 1px solid rgba(191,160,95,0.35);
  color: var(--gold-light);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 28px;
}
.hero-badge .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 6px var(--gold);
}

/* ---------- Estatísticas ---------- */
.stats-section { background: var(--cream); padding: 80px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 48px;
}
.stat-card {
  text-align: center;
  padding: 8px;
  border-left: 1px solid var(--taupe-light);
}
.stat-card:first-child { border-left: none; }
.stat-number {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.stat-label {
  margin-top: 10px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.stats-note {
  text-align: center;
  margin-top: 40px;
  font-size: 0.8rem;
  color: var(--taupe);
  font-style: italic;
}

/* ---------- Seção padrão ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--cream); }
.section-header { max-width: 680px; margin-bottom: 56px; }
.section-header .eyebrow { display: block; margin-bottom: 14px; }
.section-header p { font-size: 1.05rem; margin-top: 16px; }
.section-header.centered { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Cards de solução ---------- */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.solution-card {
  background: var(--white);
  border: 1px solid #E8E4DB;
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}
.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(17,36,78,0.09);
  border-color: var(--gold-light);
}
.solution-tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.solution-card h3 { margin-bottom: 12px; }
.solution-card p { flex: 1; font-size: 0.94rem; }
.solution-list {
  list-style: none;
  margin: 16px 0;
  font-size: 0.9rem;
}
.solution-list li {
  padding-left: 18px;
  position: relative;
  margin-bottom: 8px;
  color: var(--ink-soft);
}
.solution-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.solution-card .card-link {
  margin-top: 18px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.solution-card .card-link::after { content: '→'; transition: transform 0.2s ease; }
.solution-card:hover .card-link::after { transform: translateX(4px); }

/* ---------- Decisores ---------- */
.decision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1px;
  background: #E8E4DB;
  border: 1px solid #E8E4DB;
}
.decision-card {
  background: var(--white);
  padding: 32px 26px;
}
.decision-card h4 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.decision-card p { font-size: 0.88rem; margin: 0; }

/* ---------- CTA final ---------- */
.cta-section {
  background: var(--navy);
  color: var(--white);
  padding: 90px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section h2 { color: var(--white); }
.cta-section p { color: #C9CEDA; max-width: 560px; margin: 18px auto 32px; }

/* ---------- Rodapé ---------- */
.site-footer {
  background: var(--navy-ink);
  color: #A9B0BE;
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand img { height: 56px; margin-bottom: 20px; }
.footer-brand p { color: #8891A1; font-size: 0.88rem; max-width: 320px; }
.footer-col h5 {
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 11px; }
.footer-col a { color: #A9B0BE; font-size: 0.9rem; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  padding-top: 26px;
  font-size: 0.8rem;
  color: #6B7383;
  text-align: center;
}

/* ---------- Página Sobre ---------- */
.about-hero {
  background: var(--navy-ink);
  color: var(--white);
  padding: 90px 0 70px;
}
.about-hero .eyebrow { color: var(--gold-light); }
.about-hero h1 { color: var(--white); margin: 16px 0 0; }

.about-block { max-width: 760px; }
.about-block h3 {
  margin-top: 48px;
  margin-bottom: 18px;
  color: var(--navy);
}
.about-block p { margin-bottom: 18px; font-size: 1.02rem; }
.about-block p strong { color: var(--navy); }

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 20px;
}
.value-card {
  padding: 28px 22px;
  background: var(--cream);
  border-top: 2px solid var(--gold);
}
.value-card h4 {
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}
.value-card p { font-size: 0.88rem; margin: 0; }

/* ---------- Página Contato ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-method {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px 0;
  border-bottom: 1px solid #E8E4DB;
}
.contact-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
  font-size: 1.1rem;
}
.contact-method h4 { color: var(--navy); font-size: 1rem; margin-bottom: 4px; }
.contact-method a, .contact-method span { color: var(--ink-soft); font-size: 0.94rem; }
.contact-method a:hover { color: var(--gold); }

.form-card {
  background: var(--cream);
  padding: 40px;
  border-radius: var(--radius);
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid #D8D3C8;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.94rem;
  background: var(--white);
  color: var(--ink);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(191,160,95,0.15);
}
.form-note {
  font-size: 0.82rem;
  color: var(--taupe);
  margin-top: 14px;
}

/* ---------- Blog ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card {
  background: var(--white);
  border: 1px solid #E8E4DB;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(17,36,78,0.09); }
.blog-card-body { padding: 28px 26px; display: flex; flex-direction: column; flex: 1; }
.blog-card-meta {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}
.blog-card-meta .dot-sep { color: var(--taupe-light); }
.blog-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.blog-card p { font-size: 0.9rem; flex: 1; }
.blog-card .card-link { margin-top: 16px; font-weight: 600; font-size: 0.86rem; color: var(--navy); }
.blog-card.disabled { opacity: 0.55; }
.blog-card-soon {
  display: inline-block;
  background: var(--cream);
  color: var(--taupe);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  margin-top: 16px;
}

/* ---------- Artigo ---------- */
.article-hero {
  background: var(--navy-ink);
  color: var(--white);
  padding: 70px 0 50px;
}
.article-hero .eyebrow { color: var(--gold-light); }
.article-hero h1 { color: var(--white); margin: 16px 0 18px; max-width: 780px; }
.article-meta { color: #9AA3B5; font-size: 0.88rem; }
.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 72px 0;
}
.article-body p { font-size: 1.05rem; margin-bottom: 20px; color: var(--ink); }
.article-body h2 { font-size: 1.5rem; margin: 40px 0 16px; }
.article-body h3 { font-size: 1.2rem; margin: 32px 0 12px; }
.article-body ul { margin: 0 0 20px 22px; color: var(--ink); }
.article-body li { margin-bottom: 8px; }
.article-back {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.88rem; font-weight: 600; color: var(--navy);
  margin-bottom: 28px;
}
.article-back::before { content: '←'; }

/* ---------- Utilidades ---------- */
.text-center { text-align: center; }
.mt-lg { margin-top: 64px; }

/* ---------- Responsivo ---------- */
@media (max-width: 900px) {
  .stats-grid, .solutions-grid, .values-grid, .blog-grid { grid-template-columns: 1fr; }
  .stat-card { border-left: none; border-top: 1px solid var(--taupe-light); padding-top: 24px; }
  .stat-card:first-child { border-top: none; padding-top: 8px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    top: 78px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 32px;
    gap: 20px;
    border-bottom: 1px solid #ECE8E0;
    transform: translateY(-120%);
    transition: transform 0.3s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .decision-grid { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
