:root {
  --navy: #2c3764;
  --navy-700: #1f2849;
  --peri: #5a69a6;
  --peri-700: #44518a;
  --lilac: #d6daea;
  --soft: #eaecf4;
  --cream: #f5f6fa;
  --taupe: #b49a8b;
  --text: #2c3764;
  --muted: #5b6482;
  --line: #e0e3ee;
  --zap: #1fa855;
  --zap-700: #168a44;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(44, 55, 100, 0.12);
  --font-title: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-title); line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.pular { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.pular:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--peri); outline-offset: 3px; border-radius: 6px; }

/* Topo */
.topo { position: sticky; top: 0; z-index: 50; background: rgba(245, 246, 250, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.topo-in { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 16px; }
.marca { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-title); font-size: 1.1rem; font-weight: 400; letter-spacing: 0.01em; }
.marca strong { font-weight: 600; }
.menu { display: flex; align-items: center; gap: 6px; }
.menu a { text-decoration: none; padding: 8px 12px; border-radius: 999px; font-size: 0.95rem; font-weight: 500; color: var(--navy); }
.menu a:hover { background: var(--soft); }
.menu .menu-cta { background: var(--navy); color: #fff; padding: 9px 18px; margin-left: 6px; }
.menu .menu-cta:hover { background: var(--navy-700); }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 10px; cursor: pointer; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.menu-btn span { width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 26px; border-radius: 999px; font-family: var(--font-title); font-weight: 500; font-size: 0.98rem; text-decoration: none; border: 2px solid transparent; transition: transform 0.15s, background 0.15s, box-shadow 0.15s; min-height: 48px; }
.btn:hover { transform: translateY(-2px); }
.btn-zap { background: var(--zap); color: #fff; box-shadow: 0 8px 20px rgba(31, 168, 85, 0.3); }
.btn-zap:hover { background: var(--zap-700); }
.btn-line { border-color: var(--navy); color: var(--navy); }
.btn-line:hover { background: var(--navy); color: #fff; }
.btn-azul { background: var(--navy); color: #fff; }
.btn-azul:hover { background: var(--navy-700); }
.btn-claro { background: #fff; color: var(--navy); }
.btn-claro:hover { background: var(--soft); }
.acoes { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero */
.hero { background: linear-gradient(160deg, var(--soft) 0%, var(--cream) 60%); overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; padding-block: 64px 72px; }
.selo { display: inline-block; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--peri-700); background: #fff; border: 1px solid var(--lilac); padding: 7px 14px; border-radius: 999px; margin-bottom: 20px; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 600; }
.hero h1 em { font-style: normal; color: var(--peri); font-weight: 500; }
.lead { margin-top: 20px; font-size: 1.12rem; color: var(--muted); max-width: 54ch; }
.hero .acoes { margin-top: 30px; }
.fatos { list-style: none; padding: 0; margin: 38px 0 0; display: flex; flex-wrap: wrap; gap: 14px 32px; }
.fatos li { display: flex; flex-direction: column; }
.fatos strong { font-family: var(--font-title); font-size: 1.15rem; }
.fatos span { font-size: 0.85rem; color: var(--muted); }
.hero-foto { margin: 0; position: relative; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); background: #8a8480; }
.hero-foto > img { width: 100%; aspect-ratio: 628 / 590; object-fit: cover; }
.hero-foto figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 56px 24px 20px; background: linear-gradient(transparent, rgba(31, 40, 73, 0.9)); color: #fff; font-family: var(--font-title); font-weight: 500; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.hero-foto figcaption small { flex-basis: 100%; font-family: var(--font-body); font-weight: 400; font-size: 0.82rem; opacity: 0.85; }

/* Seções */
.secao { padding-block: 84px; }
.secao-alt { background: #fff; }
.cab { max-width: 720px; margin-bottom: 44px; }
.cab h2, .formacao-txt h2, .contato h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 600; }
.cab p:not(.eyebrow) { margin-top: 14px; color: var(--muted); font-size: 1.05rem; }
.eyebrow { font-family: var(--font-title); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--peri); margin-bottom: 10px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; transition: transform 0.2s, box-shadow 0.2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--soft); margin-bottom: 18px; }
.ico svg { width: 26px; height: 26px; fill: none; stroke: var(--navy); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 1.12rem; font-weight: 600; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.96rem; }

.campanhas { margin-top: 48px; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 28px; box-shadow: var(--shadow); }
.campanhas figure { margin: 0; }
.campanhas img { border-radius: 18px; width: 100%; }
.campanhas-txt h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 600; margin-bottom: 14px; }
.campanhas-txt p:not(.eyebrow) { color: var(--muted); margin-bottom: 24px; }

/* Trajetória */
.sobre { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.fotos { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 14px; position: sticky; top: 92px; }
.fotos img { border-radius: 18px; width: 100%; object-fit: cover; box-shadow: var(--shadow); }
.fotos .f1 { grid-row: span 2; height: 100%; }
.fotos .f2 { aspect-ratio: 313 / 208; }
.fotos .f3 { aspect-ratio: 266 / 354; }
.linha { list-style: none; margin: 0; padding: 0; counter-reset: x; }
.linha li { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding-block: 22px; border-bottom: 1px solid var(--line); }
.linha li:first-child { padding-top: 0; }
.linha li:last-child { border-bottom: 0; }
.linha li > span { font-family: var(--font-title); font-size: 3.4rem; font-weight: 300; line-height: 1; color: var(--taupe); text-align: center; }
.linha h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 6px; }
.linha p { color: var(--muted); }

/* Formação */
.formacao { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.lista { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.lista li { position: relative; padding: 16px 18px 16px 52px; background: #fff; border: 1px solid var(--line); border-radius: 14px; color: var(--muted); }
.lista li::before { content: ""; position: absolute; left: 18px; top: 19px; width: 22px; height: 22px; border-radius: 50%; background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat; }
.lista strong { color: var(--navy); }
.nota { margin-top: 18px; font-size: 0.9rem; color: var(--muted); }
.formacao-img { margin: 0; }
.formacao-img img { width: 100%; border-radius: 22px; box-shadow: var(--shadow); }

/* Pesquisa */
.secao-azul { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-700) 100%); color: #fff; }
.cab-claro .eyebrow { color: var(--lilac); }
.cab-claro p:not(.eyebrow) { color: rgba(255, 255, 255, 0.78); }
.painel { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 24px; padding: 28px; margin-bottom: 28px; }
.painel-msg { color: rgba(255, 255, 255, 0.8); text-align: center; padding: 14px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; }
.kpi { background: #fff; color: var(--navy); border-radius: 16px; padding: 18px 16px; text-align: center; }
.kpi strong { display: block; font-family: var(--font-title); font-size: 2.1rem; font-weight: 600; line-height: 1.1; }
.kpi span { font-size: 0.84rem; color: var(--muted); }
.criterios { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 36px; }
.crit { display: grid; gap: 6px; }
.crit-top { display: flex; justify-content: space-between; gap: 10px; font-size: 0.92rem; }
.crit-top b { font-weight: 600; }
.barra { height: 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.16); overflow: hidden; }
.barra i { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--lilac), #fff); transition: width 1s ease; }
.painel-foot { margin-top: 20px; font-size: 0.82rem; color: rgba(255, 255, 255, 0.62); text-align: center; }
.form-pesquisa { background: #fff; color: var(--navy); border-radius: 24px; padding: 24px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25); }
.form-cab { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.form-cab h3 { font-size: 1.3rem; font-weight: 600; }
.form-cab p { color: var(--muted); font-size: 0.95rem; }
.form-cab .btn-claro { background: var(--soft); }
#quadro { width: 100%; height: 760px; border: 1px solid var(--line); border-radius: 16px; background: var(--cream); }

/* Contato */
.contato { background: var(--soft); }
.contato-in { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: center; }
.contato-logo { width: 100%; max-width: 380px; margin-inline: auto; }
.contato h2 { margin-bottom: 14px; }
.contato p:not(.eyebrow) { color: var(--muted); margin-bottom: 26px; }

/* Rodapé */
.rodape { background: var(--navy-700); color: rgba(255, 255, 255, 0.82); padding-block: 36px; font-size: 0.9rem; }
.rodape-in { display: grid; grid-template-columns: 1.2fr 1.2fr auto; gap: 28px; align-items: center; }
.rodape-marca { display: flex; align-items: center; gap: 14px; }
.rodape-marca img { border-radius: 50%; background: #fff; }
.rodape-links a { color: #fff; opacity: 0.7; }
.rodape-links a:hover { opacity: 1; }

.zap-fixo { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: var(--zap); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(31, 168, 85, 0.45); transition: transform 0.15s; }
.zap-fixo:hover { transform: scale(1.08); }

/* Revelar ao rolar */
.rev { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.rev.on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rev { opacity: 1; transform: none; transition: none; }
  .barra i { transition: none; }
  .btn, .card, .zap-fixo { transition: none; }
}

/* Responsivo */
@media (max-width: 960px) {
  .hero-in, .sobre, .formacao, .contato-in, .campanhas { grid-template-columns: 1fr; gap: 36px; }
  .hero-in { padding-block: 40px 56px; }
  .hero-foto { order: -1; max-width: 520px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .fotos { position: static; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .criterios { grid-template-columns: 1fr; }
  .rodape-in { grid-template-columns: 1fr; }
  .secao { padding-block: 60px; }
}
@media (max-width: 760px) {
  .menu-btn { display: flex; }
  .menu { position: absolute; top: 66px; left: 0; right: 0; background: var(--cream); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 12px 16px 18px; gap: 4px; display: none; }
  .menu.aberto { display: flex; }
  .menu a { padding: 13px 14px; }
  .menu .menu-cta { margin: 8px 0 0; text-align: center; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .linha li { grid-template-columns: 48px 1fr; gap: 14px; }
  .linha li > span { font-size: 2.6rem; }
  .btn { width: 100%; }
  .form-pesquisa { padding: 16px; }
  #quadro { height: 700px; }
  .painel { padding: 18px; }
}

.rodape-credito { display: flex; justify-content: center; margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.rodape-credito a { display: inline-flex; align-items: center; gap: 12px; font-size: 0.78rem; letter-spacing: 0.04em; color: #fff; opacity: 0.7; transition: opacity 0.25s; }
.rodape-credito a:hover { opacity: 1; }
.rodape-credito img { height: 24px; width: auto; display: block; }
.rodape-credito strong { font-weight: 700; }
