:root {
  --black: #FFFFFF;
  --black-2: #F7F7F5;
  --black-3: #F0EDE8;
  --black-4: #E8E4DE;
  --black-5: #E0DCD6;
  --gold: #B8922A;
  --gold-light: #C9A84C;
  --gold-dim: #8A6E2E;
  --silver: #2A2A2A;
  --silver-dim: #666666;
  --silver-faint: #DDDAD4;
  --white: #1A1A1A;
  --navy: #181512;
  --navy-mid: #1e1a14;
  --navy-light: #2a2318;
  --font-display: 'Segoe UI', 'Segoe UI Variable', system-ui, sans-serif;
  --font-body: 'Segoe UI', 'Segoe UI Variable', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: #FFFFFF;
  color: #3A3A3A;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 300;
  overflow-x: hidden;
}

/* ── NOISE TEXTURE ───────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: none;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

/* ── NAV ─────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gold);
  padding: 0 60px;
  height: 50px;
  display: flex;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
  padding: 0;
  margin: 0;
}

.nav-logo-mark {
  width: 34px;
  height: 34px;
  border: 2px solid var(--gold);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.02em;
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: #1A1A1A;
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  gap: 32px;
  margin-left: 48px;
}

.nav-links a {
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #666666;
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 400;
}

.nav-links a:hover { color: #1A1A1A; }

.nav-cta {
  margin-left: auto;
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 400;
  color: #FFFFFF;
  background: var(--gold);
  border: none;
  padding: 11px 26px;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.2s;
}

.nav-cta:hover { background: var(--gold-light); }

/* ── HERO ────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 0 60px 0;
  border-bottom: 1px solid var(--silver-faint);
  overflow: visible;
  min-height: 100vh;
  width: 100vw;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-image: url("herobg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-logo {
  position: absolute;
  top: 16px;
  left: 20px;
  width: 128px;
  height: auto;
  z-index: 3;
  pointer-events: none;
  background: rgba(255,255,255,0.60);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  padding: 8px 12px;
  border-radius: 4px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  margin-top: auto;
}

.hero-left {
  position: relative;
  z-index: 2;
  width: 880px;
  flex-shrink: 0;
  background: rgba(255,255,255,0.60);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(20px);
  padding-right: 0;
  padding-left: 20px;
  padding-top: 10px;
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
}

.hero-left .hero-stats {
  margin-top: 24px;
  border-radius: 0;
  margin-left: -20px;
  width: calc(100% + 20px);
  flex-wrap: nowrap;
}

.hero-right {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 1;
  width: 58%;
  overflow: hidden;
  perspective: 400px;
  perspective-origin: 50% 50%;
  clip-path: inset(0);
}




.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}






.hero-eyebrow-line {
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.hero-eyebrow-text {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
}

.hero-h1 {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 200;
  line-height: 1.06;
  color: #1A1A1A;
  max-width: 820px;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-h1 em {
  font-style: italic;
  font-weight: 700;
  color: #1e3a5f;
  position: relative;
  display: inline-block;
  background: linear-gradient(
    105deg,
    #1e3a5f 0%,
    #1e3a5f 38%,
    #3a6090 45%,
    #5a8abf 50%,
    #3a6090 55%,
    #1e3a5f 62%,
    #1e3a5f 100%
  );
  background-size: 300% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gold-shimmer 3.5s ease-in-out infinite;
  animation-delay: 1.2s;
}

@keyframes gold-shimmer {
  0%   { background-position: 150% 0; }
  40%  { background-position: 150% 0; }
  70%  { background-position: -50% 0; }
  100% { background-position: -50% 0; }
}

.hero-sub {
  font-size: 18px;
  color: #666666;
  line-height: 1.75;
  max-width: 100%;
  margin-bottom: 44px;
  font-weight: 300;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 72px;
}

.btn-gold {
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 400;
  color: #FFFFFF;
  background: var(--gold);
  border: none;
  padding: 14px 32px;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  display: inline-block;
}

.btn-gold:hover { background: var(--gold-light); }

.btn-outline {
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 400;
  color: #555555;
  background: transparent;
  border: 1px solid #CCCCCC;
  padding: 14px 32px;
  border-radius: 3px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  text-decoration: none;
  display: inline-block;
}

.btn-outline:hover { border-color: var(--silver-dim); color: var(--silver); }

/* ── HERO STATS ──────────────────────────────────────── */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
  background: var(--gold);
  border-radius: 0;
  margin: 0;
}

.hstat {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 14px 20px 14px 0;
  margin-right: 20px;
  border-right: 1px solid rgba(0,0,0,0.12);
  flex-shrink: 1;
  min-width: 0;
  white-space: nowrap;
}

.hstat:first-child {
  padding-left: 20px;
}

.hstat:last-child {
  border-right: none;
  margin-right: 0;
  padding-right: 20px;
}

.hstat-num {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 300;
  color: #1A1A1A;
  line-height: 1;
  letter-spacing: -0.01em;
}

.hstat-num em {
  font-style: normal;
  color: #1A1A1A;
  font-size: 17px;
}

.hstat-lbl {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(0,0,0,0.6);
  text-transform: uppercase;
  font-weight: 400;
}

/* ── EMPRESAS ────────────────────────────────────────── */
.section-empresas {
  padding: 96px 60px;
  border-bottom: 1px solid #E0DDD6;
  overflow: visible;
}

.section-header {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 56px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 200;
  color: #1A1A1A;
  letter-spacing: -0.02em;
}

.pf-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 0;
  overflow: hidden;
  flex-wrap: nowrap;
}

.pf-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border: none;
  background: #F7F7F5;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 400;
  color: #888888;
  letter-spacing: 0.02em;
  white-space: nowrap;
  border-radius: 20px 20px 0 0;
  margin-right: 4px;
  transition: background 0.2s, color 0.2s;
}

.pf-tab:hover {
  background: #EFEEE9;
  color: #1A1A1A;
}

.pf-tab.active {
  background: var(--pf-tab-color);
  color: #fff;
  font-weight: 500;
}

.pf-tab[data-tab="cial-contabilidade"] { --pf-tab-color: #C9A84C; }
.pf-tab[data-tab="ia4mei"] { --pf-tab-color: #5DBE7A; }
.pf-tab[data-tab="ideacenter"] { --pf-tab-color: #9F8EE8; }
.pf-tab[data-tab="cial-advisory"] { --pf-tab-color: #D06B4A; }

.pf-panel[data-tab-color="cial-contabilidade"] { --pf-panel-color: #C9A84C; }
.pf-panel[data-tab-color="ia4mei"] { --pf-panel-color: #5DBE7A; }
.pf-panel[data-tab-color="ideacenter"] { --pf-panel-color: #9F8EE8; }
.pf-panel[data-tab-color="cial-advisory"] { --pf-panel-color: #D06B4A; }

.pf-tab-logo {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  flex-shrink: 0;
}

.pf-tab-name {
  display: inline;
}

.pf-panels {
  padding: 0;
  overflow: visible;
}

.pf-panel {
  display: none;
  overflow: visible;
}

.pf-panel.active {
  display: block;
  animation: panel-fade 0.3s ease;
}

.pf-panel-inner {
  padding: 32px 60px;
  background: var(--pf-panel-color);
  width: 100vw;
  max-width: none;
  box-sizing: border-box;
  margin-left: calc(-50vw + 50%);
}

@keyframes panel-fade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.pf-panel-sector {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1A1A1A;
  font-weight: 700;
  margin-bottom: 12px;
}

.pf-panel-desc {
  font-size: 18px;
  color: #3A3A3A;
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 28px;
}

.pf-panel-link {
  font-size: 14px;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--pf-accent);
  font-weight: 500;
  transition: opacity 0.2s;
}

.pf-panel-link:hover {
  opacity: 0.7;
}

/* ── PALESTRAS ───────────────────────────────────────── */
.section-palestras {
  padding: 96px 60px;
  background: var(--navy);
  border-bottom: 1px solid var(--navy-light);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.pal-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.pal-eyebrow-line {
  width: 24px;
  height: 1px;
  background: var(--gold);
}

.pal-eyebrow-text {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
}

.pal-title {
  font-family: var(--font-display);
  font-size: 68px;
  font-weight: 200;
  color: #FFFFFF;
  line-height: 1.06;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.pal-title em { font-style: italic; color: var(--gold-light); }

.pal-body {
  font-size: 17px;
  color: #A8B8CC;
  line-height: 1.8;
  margin-bottom: 14px;
  font-weight: 300;
}

.pal-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  margin-top: 20px;
}

.pal-tag {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border: 1px solid var(--navy-light);
  border-radius: 2px;
  color: #A8B8CC;
  font-weight: 400;
}

.pal-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.pal-portrait {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: var(--navy-mid);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 300;
  color: var(--gold);
  letter-spacing: -0.02em;
  position: relative;
}

.pal-portrait::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid var(--navy-light);
}

.pal-name {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 300;
  color: #FFFFFF;
  text-align: center;
  letter-spacing: 0;
}

.pal-role {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
  font-weight: 400;
  margin-top: -20px;
}

.pal-quote {
  font-family: var(--font-display);
  font-size: 26px;
  font-style: italic;
  font-weight: 300;
  color: #D0DCE8;
  text-align: center;
  line-height: 1.5;
  padding: 0 12px;
  position: relative;
  letter-spacing: 0.01em;
}

.pal-quote::before {
  content: '\201C';
  font-size: 64px;
  color: var(--gold-dim);
  position: absolute;
  top: -18px;
  left: -8px;
  font-family: var(--font-display);
  line-height: 1;
}

/* ── CTA BAND ────────────────────────────────────────── */
.cta-band {
  padding: 80px 60px;
  text-align: center;
  border-bottom: 1px solid var(--navy-light);
  position: relative;
  background: var(--navy-mid);
}

.cta-band::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

.cta-title {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 200;
  color: #FFFFFF;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.cta-sub {
  font-size: 17px;
  color: #A8B8CC;
  margin-bottom: 32px;
  font-weight: 300;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.cta-email {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--gold);
  font-weight: 300;
}

/* ── FOOTER ──────────────────────────────────────────── */
footer {
  background: var(--navy);
  border-top: 1px solid var(--navy-light);
  padding: 64px 60px 36px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1.4fr;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--navy-light);
  margin-bottom: 28px;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  color: #FFFFFF;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.footer-brand-logo {
  height: 40px;
  width: auto;
  margin-bottom: 12px;
}

.footer-brand-desc {
  font-size: 15px;
  color: #A8B8CC;
  line-height: 1.7;
  max-width: 300px;
  margin-bottom: 16px;
  font-weight: 300;
}

.footer-slogan {
  font-family: var(--font-display);
  font-size: 15px;
  font-style: italic;
  color: var(--gold);
  font-weight: 300;
}

.footer-col-title {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 15px;
  color: #A8B8CC;
  text-decoration: none;
  font-weight: 300;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-links a:hover { color: #FFFFFF; }

.footer-links a span {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--navy-light);
  text-transform: uppercase;
}

.footer-links a:hover span { color: var(--gold-dim); }

.footer-contact { display: flex; flex-direction: column; gap: 14px; }

.fci {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.fci-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 2px;
  opacity: 0.6;
}

.fci-text {
  font-size: 14px;
  color: #A8B8CC;
  line-height: 1.6;
  font-weight: 300;
}

.fci-text a {
  color: #A8B8CC;
  text-decoration: none;
}

.fci-text a:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: 13px;
  color: #4A6080;
  letter-spacing: 0.04em;
  font-weight: 300;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 13px;
  color: #4A6080;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.footer-bottom-links a:hover { color: #A8B8CC; }

/* ── ANIMATIONS ──────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

@media (max-width: 900px) {
  nav { padding: 0 18px; }
  .nav-links { display: none; }
  .nav-logo img { height: 28px; }
  .nav-cta { font-size: 12px; padding: 8px 16px; }

  .hero {
    padding: 0 0 0;
    min-height: 100dvh;
    background-position: calc(100% + 150px) center;
  }
  .hero-inner { flex-direction: column; align-items: flex-start; }
  .hero-right { position: absolute; inset: 0; width: 100%; clip-path: inset(0); }
  .hero-left {
    width: 100%;
    padding-right: 20px;
    padding-left: 20px;
    background: rgba(255,255,255,0.75);
  }
  .hero-left .hero-stats {
    margin-left: -20px;
    width: 100vw;
    display: grid;
    grid-template-columns: 1fr 1fr;
    flex-wrap: unset;
  }
  .hstat {
    border-right: 1px solid rgba(0,0,0,0.12);
    border-bottom: 1px solid rgba(0,0,0,0.12);
    padding: 12px 14px;
    margin-right: 0;
    white-space: nowrap;
  }
  .hstat:nth-child(2n) { border-right: none; }
  .hstat:nth-child(3),
  .hstat:nth-child(4) { border-bottom: none; }
  .hstat:first-child { padding-left: 14px; }
  .hstat:last-child { padding-right: 14px; }
  .hstat-lbl[data-short] {
    font-size: 0;
  }
  .hstat-lbl[data-short]::before {
    content: attr(data-short);
    font-size: 9px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(0,0,0,0.6);
    font-weight: 400;
  }
  .hstat-num { font-size: 18px; }
  .hstat-lbl { font-size: 9px; }
  .hero-h1 { font-size: 28px; line-height: 1.1; }
  .hero-sub { margin-bottom: 0; font-size: 14px; }

  .section-empresas { padding: 48px 20px; }
  .section-title { font-size: 28px; }
  .pf-tabs { gap: 0; }
  .pf-tab { padding: 12px 16px; font-size: 13px; border-radius: 12px 12px 0 0; flex: 1; justify-content: center; }
  .pf-tab-logo { width: 28px; height: 28px; font-size: 10px; }
  .pf-tab-name { display: none; }
  .pf-panels { padding: 0; }
  .pf-panel-inner { padding: 24px 20px; }
  .pf-panel-desc { font-size: 16px; }

  .section-palestras { grid-template-columns: 1fr; padding: 48px 24px; gap: 36px; }
  .pal-title { font-size: 28px; line-height: 1.1; }
  .pal-body { font-size: 15px; }
  .pal-portrait { width: 120px; height: 120px; font-size: 32px; }
  .pal-name { font-size: 20px; }
  .pal-role { font-size: 11px; }
  .pal-quote { font-size: 16px; }
  .pal-tag { font-size: 10px; }

  .cta-band { padding: 48px 24px; }
  .cta-title { font-size: 24px; }
  .cta-sub { font-size: 15px; }

  footer { padding: 36px 20px 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; padding-bottom: 28px; }
  .footer-brand-name { font-size: 20px; }
  .footer-brand-desc { font-size: 13px; }
  .footer-slogan { font-size: 13px; }
  .footer-col-title { font-size: 10px; margin-bottom: 12px; }
  .footer-links a { font-size: 13px; }
  .fci-text { font-size: 12px; }
  .footer-contact { gap: 10px; }
  .footer-copy { font-size: 11px; }
  .footer-bottom-links a { font-size: 11px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
}