/*
  ARKHION Advisors — global.css
  Estilos comuns a todas as páginas do site.
  Tipografia padronizada conforme revisão de junho 2026.

  LINK EM TODAS AS PÁGINAS:
  <link rel="stylesheet" href="/css/global.css">

  O QUE FICA AQUI:
  — Variáveis (tokens de cor)
  — Reset
  — Tipografia base
  — Navbar (desktop + mobile + hamburger)
  — Footer
  — Botões globais (btn-diag, btn-whatsapp, btn-outline-gold)
  — Seções (sec, sec-label, sec-title, sec-sub)
  — Animações
  — Responsivo global

  O QUE FICA NAS PÁGINAS:
  — <title>, canonical, og:tags (específicos)
  — Hero (cada página tem hero própria)
  — CSS de componentes exclusivos (tabelas, grids, cards de conteúdo)
*/


/* ═══════════════════════════════════════════════════════
   1. VARIÁVEIS (TOKENS)
═══════════════════════════════════════════════════════ */
:root {
  /* Tema escuro */
  --dark:        #080d0c;
  --dark2:       #0f1a18;
  --brand:       #033333;
  --gold:        #c8920a;
  --gold-light:  #daa830;
  --teal:        #1a3a35;
  --muted:       #7a908a;
  --white:       #ffffff;
  --text:        rgba(255,255,255,0.72);
  --text-dim:    rgba(255,255,255,0.42);

  /* Tema claro */
  --light-bg1:    #ffffff;
  --light-bg2:    #f5f3ef;
  --light-title:  #033333;
  --light-body:   #1a1a1a;
  --light-muted:  #4a5a55;
  --light-border: rgba(3,51,51,0.10);
}


/* ═══════════════════════════════════════════════════════
   2. RESET
═══════════════════════════════════════════════════════ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}


/* ═══════════════════════════════════════════════════════
   3. TIPOGRAFIA BASE
═══════════════════════════════════════════════════════ */
body {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
em {
  font-family: "IBM Plex Serif", serif;
  font-style: italic;
  font-weight: 500;
}


/* ═══════════════════════════════════════════════════════
   4. ANIMAÇÕES
═══════════════════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}


/* ═══════════════════════════════════════════════════════
   5. NAVBAR
═══════════════════════════════════════════════════════ */
/* CSS base da nav é gerado dinamicamente pelo includes/nav.php
   conforme $navStyle ('fixed' ou 'index').
   As regras abaixo são comuns a ambos os estilos. */

.logo img {
  height: 56px;
  width: auto;
}
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.90);
  text-decoration: none;
  transition: color .2s;
}
.nav-links a:hover,
.nav-links a.nav-active {
  color: var(--gold);
}

/* Hambúrguer */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 201;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,.90);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menu mobile */
.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  background: #022222;
  border-bottom: 1px solid rgba(200,146,10,.15);
  z-index: 199;
  padding-top: 80px;
  padding-bottom: 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,.35);
}
.nav-mobile-menu.open { display: block; }
.nav-mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0 24px;
}
.nav-mobile-menu ul li a {
  display: block;
  padding: 13px 0;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.80);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: color .2s;
}
.nav-mobile-menu ul li:last-child a { border-bottom: none; }
.nav-mobile-menu ul li a:hover,
.nav-mobile-menu ul li a.nav-active { color: var(--gold); }


/* ═══════════════════════════════════════════════════════
   6. SEÇÕES
═══════════════════════════════════════════════════════ */
.sec {
  padding: 64px 72px;
}
.sec-dark   { background: var(--light-bg1); color: var(--light-body); }
.sec-darker { background: var(--light-bg2); color: var(--light-body); }

.sec-label {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 40px;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sec-label::before {
  content: "";
  display: block;
  width: 36px;
  height: 1px;
  background: var(--gold);
}

/* Título de seção — TIPOGRAFIA PROPOSTA */
.sec-title {
  font-family: "IBM Plex Serif", serif;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 500;
  color: var(--light-title);
  line-height: 1.18;
  margin-bottom: 40px;
}
.sec-title em { font-style: italic; color: var(--gold); }

.sec-sub {
  font-size: 17px;
  color: var(--light-body);
  margin-bottom: 36px;
  font-weight: 400;
  opacity: .80;
}

.sec-prose {
  font-family: "IBM Plex Serif", serif;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 400;
  color: var(--light-title);
  line-height: 1.6;
}

/* Eyebrow */
.eyebrow {
  font-size: 10px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  animation: fadeUp .6s .15s ease both;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold);
  opacity: .55;
}


/* ═══════════════════════════════════════════════════════
   7. BOTÕES GLOBAIS
═══════════════════════════════════════════════════════ */

/* Primário verde escuro */
.btn-diag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--brand);
  color: #ffffff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 14px 28px;
  text-decoration: none;
  width: fit-content;
  border: none;
  cursor: pointer;
  font-family: "IBM Plex Sans", sans-serif;
  transition: background .2s, transform .2s ease, box-shadow .2s ease;
}
.btn-diag:hover {
  background: #044444;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,0,0,.12);
}
.btn-diag span {
  display: inline-block;
  transition: transform .2s ease;
}
.btn-diag:hover span { transform: translateX(4px); }

/* WhatsApp dourado */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: #0a0a0a;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 11px 20px;
  text-decoration: none;
  width: fit-content;
  transition: background .2s;
}
.btn-whatsapp:hover { background: var(--gold-light); }
.btn-whatsapp svg { fill: #0a0a0a; }

/* WhatsApp dourado grande */
.btn-whatsapp-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--gold);
  color: #000000;
  border: none;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 14px 28px;
  text-decoration: none;
  font-family: "IBM Plex Sans", sans-serif;
  transition: background .2s, transform .2s ease, box-shadow .2s ease;
}
.btn-whatsapp-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(200,146,10,.22);
}

/* Outline dourado */
.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 14px 28px;
  text-decoration: none;
  font-family: "IBM Plex Sans", sans-serif;
  transition: background .2s, color .2s, transform .2s ease, box-shadow .2s ease;
}
.btn-outline-gold:hover {
  background: rgba(200,146,10,.08);
  color: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(200,146,10,.12);
}

/* CTA secundário (texto abaixo de botão) */
.cta-secondary {
  margin-top: 14px;
  font-size: 14px;
  color: var(--light-muted);
  font-weight: 400;
  letter-spacing: 0.01em;
}
.cta-secondary a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(200,146,10,.3);
  transition: color .2s, border-color .2s;
}
.cta-secondary a:hover {
  color: var(--gold-light);
  border-bottom-color: var(--gold-light);
}


/* ═══════════════════════════════════════════════════════
   8. FOOTER
═══════════════════════════════════════════════════════ */
footer {
  background: #022222;
  border-top: 1px solid rgba(200,146,10,.12);
  padding: 48px 72px 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 36px;
}
footer .f-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
footer .f-brand-name {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  margin-bottom: 16px;
}
footer .f-mission {
  font-size: 14px;
  color: rgba(255,255,255,.75);
  line-height: 1.75;
  font-weight: 300;
  max-width: 280px;
}
footer .f-values p  { font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 5px; }
footer .f-values span { color: rgba(255,255,255,.5); }
footer .f-col-title {
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  font-weight: 600;
}
footer .f-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
footer .f-links a {
  font-size: 14px;
  color: rgba(255,255,255,.75);
  text-decoration: none;
  transition: color .2s;
}
footer .f-links a:hover    { color: var(--gold-light); }
footer .f-links a.nav-active { color: var(--gold); }
footer .f-contact {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
footer .f-ci {
  font-size: 14px;
  color: rgba(255,255,255,.75);
  line-height: 1.55;
}
footer .f-ci strong {
  display: block;
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  font-weight: 400;
  margin-bottom: 2px;
}
footer .f-bottom {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.1);
}
footer .f-tagline {
  font-size: 12px;
  letter-spacing: .04em;
  color: rgba(255,255,255,.55);
  display: flex;
  align-items: center;
  gap: 8px;
}
footer .f-dot {
  color: var(--gold);
  font-size: 14px;
  line-height: 1;
}
footer .f-copy {
  font-size: 12px;
  color: rgba(255,255,255,.35);
  margin-left: auto;
}


/* ═══════════════════════════════════════════════════════
   9. DIAGNÓSTICO / SCAN (bloco compartilhado)
═══════════════════════════════════════════════════════ */
.diag-eyebrow {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}
.diag-eyebrow::before {
  content: "";
  display: block;
  width: 22px;
  height: 1px;
  background: var(--gold);
  opacity: .55;
  flex-shrink: 0;
}
.diag-q {
  font-family: "IBM Plex Serif", serif;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  font-weight: 500;
  color: var(--light-title);
  line-height: 1.35;
  margin-bottom: 24px;
}
.diag-q em { font-style: italic; color: var(--gold); }
.diag-desc {
  font-size: 17px;
  color: var(--light-body);
  line-height: 1.7;
  font-weight: 400;
}
.diag-bullets {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.diag-bullet {
  font-size: 15px;
  color: var(--light-body);
  display: flex;
  align-items: center;
  gap: 10px;
}
.diag-bullet svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  stroke: var(--gold);
}
.scan-split-grid {
  display: grid;
  grid-template-columns: 55fr 1px 45fr;
  gap: 0 56px;
  align-items: start;
}
.scan-divider {
  width: 1px;
  background: var(--light-border);
  align-self: stretch;
  min-height: 100%;
}
.scan-right-text {
  font-size: 17px;
  color: var(--light-body);
  line-height: 1.65;
  font-weight: 400;
  margin-top: 8px;
  max-width: 400px;
}
.scan-col-left .scan-bottom-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 40px;
}


/* ═══════════════════════════════════════════════════════
   11. RESPONSIVO GLOBAL
═══════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  nav { padding: 18px 32px; }
  .sec { padding: 48px 32px; }
  footer { padding: 40px 32px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .scan-split-grid { grid-template-columns: 1fr; gap: 32px 0; }
  .scan-divider { width: 100%; height: 1px; min-height: unset; align-self: auto; }
  .scan-col-left .scan-bottom-row { flex-direction: column; gap: 24px; align-items: stretch; }
  .scan-col-left .scan-bottom-row .btn-diag { white-space: normal; width: 100%; justify-content: center; }
  .btn-outline-gold { white-space: normal; width: 100%; justify-content: center; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
}

@media (max-width: 640px) {
  nav { padding: 14px 20px; }
  .logo img { height: 44px; }
  .sec { padding: 40px 20px; }
  footer { padding: 36px 20px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  footer .f-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
  footer .f-tagline { flex-wrap: wrap; font-size: 11px; gap: 4px 6px; line-height: 1.6; }
  footer .f-copy { margin-left: 0; }
  .btn-whatsapp { width: 100%; justify-content: center; }
}


/* ═══════════════════════════════════════════════════════
   10. BLOCO ASSINATURA ARKHION — fim de análises/casos
═══════════════════════════════════════════════════════ */
.content-arkhion-close {
  margin: 48px 0 0;
  padding-top: 32px;
  border-top: 1px solid var(--light-border);
}

.arkhion-close-simple {
  font-size: 14px;
  color: var(--light-muted);
  margin-bottom: 6px;
}

.arkhion-close-complex {
  font-family: "IBM Plex Serif", serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--light-title);
  margin-bottom: 24px;
}

.arkhion-close-quote {
  border-left: none;
  margin: 0 0 24px 0;
  padding: 0 0 0 48px;
  position: relative;
}

.arkhion-close-quote::before {
  content: "\201C";
  position: absolute;
  left: 0;
  top: -8px;
  font-family: "IBM Plex Serif", serif;
  font-size: 64px;
  line-height: 1;
  color: var(--gold);
}

.arkhion-close-lead {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--light-muted);
  margin-bottom: 10px;
}

.arkhion-close-quote p:last-child {
  font-family: "IBM Plex Serif", serif;
  font-size: 17px;
  line-height: 1.75;
  color: var(--light-body);
  font-style: italic;
}

.arkhion-close-quote strong {
  font-style: italic;
  font-weight: 600;
  color: var(--light-title);
}

.arkhion-close-institutional {
  font-size: 15px;
  line-height: 1.7;
  color: var(--light-body);
  max-width: 600px;
}
