/* ==========================================================================
   Portfólio — André da Silva Ribeiro
   Paleta oficial do EPCVIEW:
     Verde profundo   #092C1B   (estrutura, texto)
     Verde floresta   #103C26
     Verde médio      #245C30   (links, destaques)
     Verde-lima       #83B83E   (acento)
     Lima do botão    #C9DB3B   (botão primário, como no site do EPCVIEW)
     Grafite          #4B5A51
   ========================================================================== */

:root {
  --verde-noite: #061F12;
  --verde-profundo: #092C1B;
  --verde-floresta: #103C26;
  --verde-medio: #245C30;
  --verde-lima: #83B83E;
  --lima-claro: #A9D13B;
  --lima-botao: #C9DB3B;
  --lima-botao-hover: #B6C92C;
  --grafite: #4B5A51;
  --texto-claro: #E3EEDF;
  --primary-soft: #EEF6E6;
  --surface-soft: #F7F9FB;
  --border: rgba(9, 44, 27, .09);
  --border-strong: rgba(9, 44, 27, .18);
  --shadow-md: 0 8px 28px rgba(9, 44, 27, .09);
  --shadow-lg: 0 20px 60px rgba(9, 44, 27, .14);

  --font: "Inter", system-ui, -apple-system, sans-serif;
  --font-marca: "Montserrat", "Inter", system-ui, sans-serif;
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --transition: .3s cubic-bezier(.4, 0, .2, 1);
  --cabecalho: 72px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--cabecalho); }

body {
  margin: 0;
  background: #fff;
  color: var(--verde-profundo);
  font: 15px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--verde-medio); }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }

.pular {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  padding: 10px 16px; background: var(--lima-botao); color: var(--verde-profundo);
  font-weight: 600; border-radius: var(--radius-xs);
}
.pular:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--verde-lima); outline-offset: 3px; }

/* ---------- Tipografia comum ---------- */

.sobretitulo {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 0 0 18px;
  font-size: 11px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase;
  color: var(--verde-medio);
}
.sobretitulo::before { content: ''; width: 22px; height: 2px; background: currentColor; }

h1, h2, h3 { margin: 0; color: inherit; }

h2 {
  font-size: clamp(28px, 3.6vw, 42px); font-weight: 300; line-height: 1.14; letter-spacing: -.025em;
  max-width: 22ch;
}
h2 strong { font-weight: 600; color: var(--verde-medio); }

h3 { font-size: 18px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }

/* ---------- Botões ---------- */

.botao {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px;
  border: 1px solid transparent; border-radius: var(--radius-xs);
  font: 600 14px var(--font); letter-spacing: .01em; text-decoration: none;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.botao:hover { transform: translateY(-1px); }
.botao-primario { background: var(--lima-botao); color: var(--verde-profundo); box-shadow: 0 6px 20px rgba(201, 219, 59, .25); }
.botao-primario:hover { background: var(--lima-botao-hover); }
.botao-fantasma { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .28); }
.botao-fantasma:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .5); }

/* ---------- Cabeçalho ---------- */

.cabecalho {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--cabecalho);
  transition: background var(--transition), box-shadow var(--transition);
}
.cabecalho.rolado {
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--border);
}
.cabecalho-linha { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }

.marca { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; transition: color var(--transition); }
.cabecalho.rolado .marca { color: var(--verde-profundo); }
.marca-sigla {
  display: grid; place-items: center; width: 40px; height: 40px;
  background: var(--verde-profundo); color: var(--verde-lima);
  border: 1px solid rgba(131, 184, 62, .45); border-radius: var(--radius-xs);
  font: 800 15px var(--font-marca); letter-spacing: .02em;
}
.marca-nome { display: flex; flex-direction: column; font: 700 15px/1.15 var(--font-marca); }
.marca-nome small { font: 600 9.5px var(--font); letter-spacing: .2em; text-transform: uppercase; opacity: .65; margin-top: 3px; }

.menu { display: flex; align-items: center; gap: 26px; }
.menu a {
  position: relative; padding: 6px 0;
  color: rgba(255, 255, 255, .82); font-size: 14px; font-weight: 500; text-decoration: none;
  transition: color var(--transition);
}
.menu a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--verde-lima); transform: scaleX(0); transform-origin: left; transition: transform var(--transition);
}
.menu a:hover, .menu a.ativo { color: #fff; }
.menu a:hover::after, .menu a.ativo::after { transform: scaleX(1); }
.cabecalho.rolado .menu a { color: var(--grafite); }
.cabecalho.rolado .menu a:hover, .cabecalho.rolado .menu a.ativo { color: var(--verde-profundo); }

.menu a.menu-destaque {
  padding: 9px 18px; border-radius: var(--radius-xs);
  background: var(--lima-botao); color: var(--verde-profundo) !important; font-weight: 600;
}
.menu a.menu-destaque::after { display: none; }
.menu a.menu-destaque:hover { background: var(--lima-botao-hover); }

.menu-botao {
  display: none; width: 42px; height: 42px; padding: 0 10px;
  flex-direction: column; justify-content: center; gap: 5px;
  background: transparent; border: 1px solid rgba(255, 255, 255, .28); border-radius: var(--radius-xs); cursor: pointer;
}
.menu-botao span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform var(--transition), opacity var(--transition); }
.cabecalho.rolado .menu-botao { border-color: var(--border-strong); }
.cabecalho.rolado .menu-botao span { background: var(--verde-profundo); }
.menu-botao[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-botao[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-botao[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--cabecalho) + 64px) 0 56px;
  background:
    radial-gradient(ellipse 60% 60% at 85% 30%, rgba(131, 184, 62, .16), transparent 70%),
    linear-gradient(160deg, var(--verde-noite) 0%, var(--verde-profundo) 55%, var(--verde-floresta) 100%);
  color: #fff;
}

/* Malha de "prancheta de engenharia" ao fundo */
.hero-grade {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 20%, transparent 80%);
}

.hero-linha {
  position: relative;
  display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: 64px;
}
.hero .sobretitulo { color: var(--verde-lima); }

.hero h1 {
  font-size: clamp(40px, 5.6vw, 68px); font-weight: 300; line-height: 1.04; letter-spacing: -.035em;
}

.hero-areas { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; }
.hero-areas span {
  padding: 6px 12px;
  border: 1px solid rgba(131, 184, 62, .35); border-radius: var(--radius-xs);
  background: rgba(131, 184, 62, .08);
  color: var(--texto-claro); font-size: 12.5px; font-weight: 500;
}

.hero-sub { margin: 26px 0 36px; max-width: 34rem; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.55; color: rgba(255, 255, 255, .82); }
.hero-sub em { font-style: normal; font-weight: 600; color: var(--lima-claro); }

.hero-acoes { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-foto { position: relative; margin: 0; justify-self: end; width: min(100%, 380px); }
.hero-foto::before {
  content: ''; position: absolute; inset: 18px -18px -18px 18px;
  border: 1px solid rgba(131, 184, 62, .5); border-radius: var(--radius-md);
}
.hero-foto img {
  position: relative; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 12%;
  border-radius: var(--radius-md);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}
.hero-foto figcaption {
  position: absolute; left: -28px; bottom: 28px;
  display: flex; flex-direction: column;
  padding: 14px 18px;
  background: var(--verde-profundo); border-left: 3px solid var(--verde-lima); border-radius: var(--radius-xs);
  box-shadow: var(--shadow-lg);
  font-size: 13px; line-height: 1.4;
}
.hero-foto figcaption strong { color: #fff; font-weight: 600; }
.hero-foto figcaption span { color: var(--lima-claro); }

.numeros {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin: 72px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.numeros > div { padding: 26px 24px 0 0; }
.numeros > div + div { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .08); }
.numeros dt { font: 700 clamp(28px, 3vw, 38px)/1 var(--font-marca); color: var(--verde-lima); letter-spacing: -.02em; }
.numeros dd { margin: 10px 0 0; font-size: 13.5px; color: rgba(227, 238, 223, .75); line-height: 1.45; }

/* ---------- Seções ---------- */

.secao { position: relative; padding: clamp(72px, 9vw, 112px) 0; }
.secao-suave { background: var(--surface-soft); }
.secao-escura {
  overflow: hidden;
  background: linear-gradient(160deg, var(--verde-noite) 0%, var(--verde-profundo) 60%, var(--verde-floresta) 100%);
  color: #fff;
}
.secao-escura .sobretitulo { color: var(--verde-lima); }
.secao-escura p { color: rgba(227, 238, 223, .82); }

.cabeca-secao { max-width: 760px; margin-bottom: 48px; }
.cabeca-secao > p:not(.sobretitulo) { margin: 20px 0 0; color: var(--grafite); font-size: 16px; }

/* Sobre */
.sobre-linha { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.sobre-texto p { margin: 0 0 18px; color: var(--grafite); font-size: 16px; }
.sobre-texto p:first-child { color: var(--verde-profundo); font-size: 18px; line-height: 1.6; }

.destaque-posicao {
  margin: 36px 0 0; padding: 18px 22px;
  border-left: 3px solid var(--verde-lima);
  background: var(--primary-soft); border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
  font: 600 15px/1.6 var(--font); color: var(--grafite);
}
.destaque-posicao span { color: var(--verde-medio); }

/* Áreas */
.areas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.area { padding: 32px 26px; background: #fff; transition: background var(--transition); }
.area:hover { background: var(--primary-soft); }
.area svg {
  width: 38px; height: 38px; margin-bottom: 20px; padding: 8px;
  fill: none; stroke: var(--verde-medio); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  background: var(--primary-soft); border-radius: var(--radius-xs);
  transition: transform var(--transition);
}
.area:hover svg { transform: translateY(-2px); background: #fff; }
.area h3 { margin-bottom: 10px; }
.area p { margin: 0; color: var(--grafite); font-size: 14px; }

/* Linha do tempo */
.linha-tempo { list-style: none; margin: 0; padding: 0; }
.marco {
  display: grid; grid-template-columns: 200px 1fr; gap: 40px;
  padding: 40px 0; border-top: 1px solid var(--border);
}
.marco:first-child { border-top: 0; padding-top: 0; }
.marco-local { font: 700 15px var(--font-marca); color: var(--verde-profundo); }
.selo {
  display: table; margin-bottom: 10px; padding: 3px 10px;
  border-radius: var(--radius-xs);
  background: var(--lima-botao); color: var(--verde-profundo);
  font: 700 10px var(--font); letter-spacing: .14em; text-transform: uppercase;
}
.selo-internacional { background: var(--verde-profundo); color: var(--verde-lima); }
.marco-corpo h3 { font-size: 22px; }
.marco-funcao { margin: 4px 0 14px; color: var(--verde-medio); font-weight: 600; font-size: 14px; }
.marco-corpo > p { margin: 0 0 16px; color: var(--grafite); }
.marco-resultado {
  margin-top: 18px !important; padding: 14px 18px;
  background: var(--surface-soft); border-left: 3px solid var(--verde-lima); border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
  color: var(--verde-profundo) !important; font-weight: 500;
}

.lista-colunas { columns: 2; column-gap: 32px; margin: 0; padding: 0; list-style: none; }
.lista-colunas li {
  position: relative; break-inside: avoid;
  padding: 5px 0 5px 20px; color: var(--grafite); font-size: 14px; line-height: 1.5;
}
.lista-colunas li::before {
  content: ''; position: absolute; left: 0; top: 12px;
  width: 8px; height: 8px; border-radius: 2px; background: var(--verde-lima);
}

.trajetoria {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  margin-top: 24px; padding: 36px; background: var(--surface-soft); border-radius: var(--radius-md);
}
.trajetoria h3 { margin-bottom: 16px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--grafite); }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li {
  padding: 7px 13px;
  background: #fff; border: 1px solid var(--border-strong); border-radius: var(--radius-xs);
  font-size: 13px; font-weight: 500; color: var(--verde-profundo);
}
.chips-escuro li { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); color: var(--texto-claro); }

/* Abas de especialidades */
.abas {
  display: grid; grid-template-columns: 280px 1fr;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden;
  box-shadow: var(--shadow-md);
}
.abas-lista { display: flex; flex-direction: column; padding: 12px; background: var(--verde-profundo); }
.abas-lista button {
  padding: 13px 16px; text-align: left;
  background: transparent; border: 0; border-radius: var(--radius-xs);
  color: rgba(227, 238, 223, .7); font: 500 14px var(--font); cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.abas-lista button:hover { color: #fff; background: rgba(255, 255, 255, .05); }
.abas-lista button[aria-selected="true"] {
  color: #fff; background: rgba(131, 184, 62, .35);
  box-shadow: inset 3px 0 0 var(--verde-lima);
}
.abas-paineis { padding: 40px; }
[role="tabpanel"] h3 { font-size: 24px; font-weight: 300; letter-spacing: -.02em; margin-bottom: 10px; }
[role="tabpanel"] > p { margin: 0 0 22px; color: var(--grafite); font-size: 16px; }
[role="tabpanel"] .chips li { background: var(--surface-soft); }
[role="tabpanel"]:not([hidden]) { animation: surgir .35s ease; }
.nota {
  margin: 26px 0 0 !important; padding-top: 20px; border-top: 1px solid var(--border);
  color: var(--verde-medio) !important; font-size: 15px !important; font-weight: 500;
}

.fluxo-etapas { counter-reset: etapa; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.fluxo-etapas li {
  counter-increment: etapa;
  display: flex; align-items: center; gap: 8px;
  padding: 7px 13px 7px 7px;
  background: var(--surface-soft); border: 1px solid var(--border-strong); border-radius: var(--radius-xs);
  font-size: 13px; font-weight: 500;
}
.fluxo-etapas li::before {
  content: counter(etapa);
  display: grid; place-items: center; width: 22px; height: 22px;
  background: var(--verde-profundo); color: var(--verde-lima); border-radius: 3px;
  font-size: 11px; font-weight: 700;
}

/* Dados / BI */
.dados-linha { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.dados-linha > div > p:not(.sobretitulo) { margin: 22px 0 0; color: var(--grafite); font-size: 16px; }

.cadeia { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.cadeia span {
  padding: 12px 20px; border: 1px solid var(--border-strong); border-radius: var(--radius-xs);
  font: 700 15px var(--font-marca); color: var(--verde-profundo);
}
.cadeia i { font-style: normal; color: var(--verde-lima); font-size: 22px; font-weight: 700; }
.cadeia .cadeia-fim { background: var(--verde-profundo); border-color: var(--verde-profundo); color: var(--verde-lima); }

.bi { padding: 36px; background: var(--surface-soft); border: 1px solid var(--border); border-radius: var(--radius-md); }
.bi-lema { margin: 8px 0 22px; color: var(--verde-medio); font-weight: 500; }
.passos { counter-reset: passo; margin: 0; padding: 0; list-style: none; }
.passos li {
  counter-increment: passo;
  display: flex; align-items: center; gap: 14px;
  padding: 11px 0; border-top: 1px solid var(--border);
  font-size: 15px; font-weight: 500;
}
.passos li::before {
  content: counter(passo, decimal-leading-zero);
  font: 700 13px var(--font-marca); color: var(--verde-lima); min-width: 24px;
}
.passos li:last-child { color: var(--verde-medio); font-weight: 700; }

/* EPCVIEW */
.epc-cabeca { position: relative; max-width: 760px; }
.epc-marca { font: 800 clamp(40px, 6vw, 64px)/1 var(--font-marca); letter-spacing: .02em; max-width: none; }
.epc-sub { margin: 10px 0 22px; color: var(--verde-lima) !important; font-weight: 600; font-size: 17px; }
.epc-cabeca > p:last-child { font-size: 16px; }

.epc-fluxo {
  position: relative;
  display: grid; grid-template-columns: repeat(5, 1fr);
  margin: 48px 0 32px; padding: 0; list-style: none;
}
.epc-fluxo li {
  position: relative;
  padding: 20px 16px;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1);
  font: 700 14px var(--font-marca); text-align: center; color: #fff;
}
.epc-fluxo li + li { border-left: 0; }
.epc-fluxo li:first-child { border-radius: var(--radius-xs) 0 0 var(--radius-xs); }
.epc-fluxo li:last-child {
  border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
  background: rgba(131, 184, 62, .3); border-color: rgba(131, 184, 62, .5);
}
.epc-fluxo li:not(:last-child)::after {
  content: ''; position: absolute; right: -11px; top: 50%; z-index: 1; transform: translateY(-50%);
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--verde-lima)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23092C1B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center / 13px no-repeat;
}

.epc-lema {
  position: relative;
  margin: 48px 0 0; padding-top: 36px; border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: clamp(22px, 2.6vw, 30px); font-weight: 300; letter-spacing: -.02em; color: #fff !important;
}
.epc-lema em { font-style: normal; font-weight: 600; color: var(--lima-claro); }

/* Competências */
.competencias { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.competencia { padding: 32px 28px; border: 1px solid var(--border); border-radius: var(--radius-md); background: #fff; }
.competencia h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; font-size: 16px; }
.competencia h3::before { content: ''; width: 10px; height: 10px; border-radius: 2px; flex-shrink: 0; }
.nivel-1 { border-top: 3px solid var(--verde-profundo); }
.nivel-1 h3::before { background: var(--verde-profundo); }
.nivel-2 { border-top: 3px solid var(--verde-medio); }
.nivel-2 h3::before { background: var(--verde-medio); }
.nivel-3 { border-top: 3px solid var(--verde-lima); }
.nivel-3 h3::before { background: var(--verde-lima); }
.competencia ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.competencia li {
  padding: 6px 12px; background: var(--surface-soft); border-radius: var(--radius-xs);
  font-size: 13.5px; font-weight: 500;
}

/* Diferenciais */
.diferenciais-linha { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.diferenciais-linha > div > p:not(.sobretitulo) { margin: 22px 0 0; color: var(--grafite); font-size: 16px; }
.diferenciais { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; padding: 0; list-style: none; }
.diferenciais li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 18px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-size: 14.5px; font-weight: 500; line-height: 1.45;
}
.diferenciais li::before {
  content: ''; flex-shrink: 0; width: 20px; height: 20px; margin-top: 1px;
  border-radius: 50%; background: var(--verde-lima)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23092C1B' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Princípio */
.principio { text-align: center; }
.principio .sobretitulo { justify-content: center; }
.principios { display: grid; gap: 10px; }
.principios p {
  margin: 0; font-size: clamp(22px, 3vw, 36px); font-weight: 300; letter-spacing: -.025em; line-height: 1.3;
}
.principios strong { font-weight: 600; color: var(--verde-medio); }
.principios p:last-child strong { color: var(--verde-profundo); background: linear-gradient(transparent 62%, rgba(201, 219, 59, .55) 62%); }

/* Contato */
.contato-linha { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 64px; align-items: center; }
.contato-cargos { margin: 22px 0 14px; font-size: 15px; }
.contato-local { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 500; }
.contato-local svg { width: 18px; height: 18px; fill: none; stroke: var(--verde-lima); stroke-width: 2; }

.contato-cartao {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 36px 28px;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius-md);
}
.contato-cartao img {
  width: 96px; height: 96px; object-fit: cover; object-position: center 15%;
  border-radius: 50%; border: 3px solid var(--verde-lima); margin-bottom: 16px;
}
.contato-cartao strong { font-size: 18px; font-weight: 600; }
.contato-cartao > span { margin-top: 2px; color: var(--verde-lima); font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.contato-links { display: flex; flex-direction: column; gap: 10px; width: 100%; margin-top: 24px; }
.contato-links:empty { display: none; }
.contato-links a { width: 100%; }

/* Rodapé */
.rodape { padding: 26px 0; background: var(--verde-noite); color: rgba(227, 238, 223, .6); font-size: 13px; }
.rodape-linha { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.credito a { color: var(--lima-claro); font-weight: 600; text-decoration: none; transition: color var(--transition); }
.credito a:hover { color: #fff; }

/* ==========================================================================
   Animações
   Tudo é desligado em "reduzir movimento" (bloco no fim desta seção).
   ========================================================================== */

:root { --suave: cubic-bezier(.22, 1, .36, 1); }

@keyframes surgir { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes subir { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes revelar-foto { from { clip-path: inset(100% 0 0 0 round 8px); } to { clip-path: inset(0 0 0 0 round 8px); } }
@keyframes moldura { from { opacity: 0; inset: 0; } to { opacity: 1; inset: 18px -18px -18px 18px; } }
@keyframes legenda { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
@keyframes flutuar { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes malha { to { background-position: 48px 48px, 48px 48px; } }
@keyframes brilho-fundo { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes acender {
  0% { background: rgba(255, 255, 255, .04); box-shadow: none; }
  40% { background: rgba(131, 184, 62, .45); box-shadow: 0 0 24px rgba(131, 184, 62, .45); }
  100% { background: rgba(255, 255, 255, .04); box-shadow: none; }
}
@keyframes acender-final {
  0% { background: rgba(255, 255, 255, .04); }
  100% { background: rgba(131, 184, 62, .3); box-shadow: 0 0 32px rgba(131, 184, 62, .3); }
}
@keyframes seta { from { opacity: 0; scale: .2; } to { opacity: 1; scale: 1; } }

/* Barra de progresso de leitura */
.progresso {
  position: absolute; left: 0; top: 0; z-index: 2;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--verde-medio), var(--verde-lima), var(--lima-botao));
  transform: scaleX(var(--progresso, 0)); transform-origin: left;
}

/* Hero: entrada em sequência no carregamento */
.js .hero-texto > * { animation: subir .9s var(--suave) both; }
.js .hero-texto > :nth-child(1) { animation-delay: .1s; }
.js .hero-texto > :nth-child(2) { animation-delay: .22s; }
.js .hero-texto > :nth-child(3) { animation-delay: .36s; }
.js .hero-texto > :nth-child(4) { animation-delay: .5s; }
.js .hero-texto > :nth-child(5) { animation-delay: .64s; }
.js .hero-areas span { animation: surgir .5s var(--suave) both; animation-delay: calc(.45s + var(--i, 0) * 70ms); }
.js .hero-foto img { animation: revelar-foto 1.2s var(--suave) .3s both; }
.js .hero-foto::before { animation: moldura 1s var(--suave) 1s both; }
.js .hero-foto figcaption { animation: legenda .8s var(--suave) 1.3s both, flutuar 6s ease-in-out 2.2s infinite; }

/* Malha de fundo em movimento lento e brilho "respirando" */
.hero-grade { animation: malha 14s linear infinite; }
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 40% 45% at 80% 35%, rgba(169, 209, 59, .14), transparent 70%);
  animation: brilho-fundo 7s ease-in-out infinite;
}

/* Revelar ao rolar */
.js .revelar { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--suave), transform .8s var(--suave); }
.js .revelar.visivel { opacity: 1; transform: none; }

/* Revelar em cascata: cada filho entra com um pequeno atraso (--i vem do script) */
/* Usa "translate" (e não "transform") para não brigar com o transform do hover */
.js .escalonar > * {
  opacity: 0; translate: 0 18px;
  transition: opacity .7s var(--suave), translate .7s var(--suave);
  transition-delay: calc(var(--i, 0) * var(--passo, 80ms));
}
.js .escalonar.visivel > * { opacity: 1; translate: none; }
.js .escalonar.pronto > * { transition: transform .3s var(--suave), box-shadow .3s var(--suave), background .3s ease; }
.lista-colunas, .chips-escuro, .passos { --passo: 45ms; }
.numeros { --passo: 120ms; }

/* Chips das abas entram em cascata a cada troca */
[role="tabpanel"]:not([hidden]) .chips li,
[role="tabpanel"]:not([hidden]) .fluxo-etapas li { animation: surgir .45s var(--suave) both; animation-delay: calc(var(--i, 0) * 35ms); }

/* Fluxo do EPCVIEW acendendo etapa por etapa */
.js .epc-fluxo { --passo: 0ms; }
.js .epc-fluxo.visivel li { animation: acender 1.2s ease both; animation-delay: calc(.2s + var(--i) * 280ms); }
.js .epc-fluxo.visivel li:last-child { animation: acender-final .8s ease both; animation-delay: calc(.2s + var(--i) * 280ms); }
.js .epc-fluxo li:not(:last-child)::after { opacity: 0; }
.js .epc-fluxo.visivel li:not(:last-child)::after { animation: seta .4s var(--suave) both; animation-delay: calc(.45s + var(--i) * 280ms); }

/* Dados → Informação → Decisão em sequência */
.cadeia { --passo: 220ms; }

/* Sublinhado lima que se desenha nos princípios */
.principios strong {
  background-image: linear-gradient(var(--lima-botao), var(--lima-botao));
  background-repeat: no-repeat; background-position: 0 92%; background-size: 0% 3px;
  transition: background-size 1s var(--suave) .45s;
}
.principios .visivel strong { background-size: 100% 3px; }
.principios p:last-child strong { background: linear-gradient(transparent 62%, rgba(201, 219, 59, .55) 62%) no-repeat 0 0 / 0% 100%; }
.principios p.visivel:last-child strong { background-size: 100% 100%; }

/* Hover: brilho no botão principal */
.botao { position: relative; overflow: hidden; isolation: isolate; }
.botao-primario::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
  transform: translateX(-120%);
}
.botao-primario:hover::after { transform: translateX(120%); transition: transform .7s ease; }

/* Hover: linha lima no topo dos cards */
.area, .competencia, .diferenciais li { position: relative; }
.area::before, .diferenciais li::after {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: var(--verde-lima); transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--suave);
}
.area:hover::before, .diferenciais li:hover::after { transform: scaleX(1); }
.diferenciais li { overflow: hidden; transition: transform .3s var(--suave), box-shadow .3s var(--suave); }
.diferenciais li:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.competencia { transition: transform .3s var(--suave), box-shadow .3s var(--suave); }
.competencia:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.competencia li, .chips li { transition: background .2s ease, border-color .2s ease, color .2s ease; }
.competencia li:hover, .chips li:hover { background: var(--primary-soft); border-color: var(--verde-lima); }
.chips-escuro li:hover { background: rgba(131, 184, 62, .2); color: #fff; }

/* Foto do contato com anel pulsando */
@keyframes anel { 0% { box-shadow: 0 0 0 0 rgba(131, 184, 62, .5); } 100% { box-shadow: 0 0 0 14px rgba(131, 184, 62, 0); } }
.contato-cartao img { animation: anel 2.6s ease-out infinite; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .revelar, .js .escalonar > * { opacity: 1; transform: none; translate: none; }
  .principios strong { background-size: 100% 3px; }
  .principios p:last-child strong { background-size: 100% 100%; }
  .js .epc-fluxo li:not(:last-child)::after { opacity: 1; }
}

/* ---------- Responsivo ---------- */

@media (max-width: 1080px) {
  .areas { grid-template-columns: repeat(2, 1fr); }
  .competencias { grid-template-columns: 1fr 1fr; }
  .competencias .nivel-3 { grid-column: span 2; }
}

@media (max-width: 920px) {
  .menu-botao { display: flex; }
  .menu {
    position: absolute; top: var(--cabecalho); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 16px 20px; background: #fff; box-shadow: var(--shadow-lg);
    display: none;
  }
  .menu.aberto { display: flex; }
  .menu a, .cabecalho.rolado .menu a { padding: 13px 4px; color: var(--verde-profundo); border-bottom: 1px solid var(--border); }
  .menu a::after { display: none; }
  .menu a.menu-destaque { margin-top: 12px; text-align: center; border-bottom: 0; }
  .cabecalho:has(.menu.aberto) { background: #fff; }
  .cabecalho:has(.menu.aberto) .marca { color: var(--verde-profundo); }
  .cabecalho:has(.menu.aberto) .menu-botao span { background: var(--verde-profundo); }

  .hero-linha, .sobre-linha, .dados-linha, .diferenciais-linha, .contato-linha { grid-template-columns: 1fr; gap: 40px; }
  .hero-foto { justify-self: start; width: min(100%, 320px); margin-left: 18px; }
  .numeros { grid-template-columns: 1fr 1fr; }
  .numeros > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .abas { grid-template-columns: 1fr; }
  .abas-lista { flex-direction: row; overflow-x: auto; gap: 4px; }
  .abas-lista button { white-space: nowrap; }
  .abas-lista button[aria-selected="true"] { box-shadow: inset 0 -3px 0 var(--verde-lima); }
  .epc-fluxo { grid-template-columns: 1fr; }
  .epc-fluxo li + li { border-left: 1px solid rgba(255, 255, 255, .1); border-top: 0; }
  .epc-fluxo li:first-child { border-radius: var(--radius-xs) var(--radius-xs) 0 0; }
  .epc-fluxo li:last-child { border-radius: 0 0 var(--radius-xs) var(--radius-xs); }
  .epc-fluxo li:not(:last-child)::after { right: 50%; top: auto; bottom: -11px; transform: translateX(50%) rotate(90deg); }
}

@media (max-width: 640px) {
  .marco { grid-template-columns: 1fr; gap: 12px; }
  .lista-colunas { columns: 1; }
  .trajetoria { grid-template-columns: 1fr; padding: 24px; gap: 28px; }
  .areas, .competencias, .diferenciais { grid-template-columns: 1fr; }
  .competencias .nivel-3 { grid-column: auto; }
  .abas-paineis, .bi { padding: 24px; }
  .hero-foto figcaption { left: -12px; }
  .cadeia { gap: 6px; flex-wrap: nowrap; }
  .cadeia span { padding: 10px 12px; font-size: 13px; }
  .cadeia i { font-size: 16px; }
  .numeros > div { padding-right: 12px; }
  .numeros > div + div { padding-left: 12px; }
  .marca-nome small { display: none; }
}
