/* PW7 — Design system das páginas do ecossistema
   Fonte da verdade: pw7os/01_Projetos/PW7/branding/idv-extraida.md */
:root {
  --black: #0A0A0A;
  --white: #FFFFFF;
  --blue: #0951C7;
  --blue-hover: #073FA0;
  --blue-light: rgba(9, 81, 199, 0.12);
  --blue-glow: rgba(9, 81, 199, 0.25);
  --gray-900: #1A1A1A;
  --gray-800: #2A2A2A;
  --gray-700: #3A3A3A;
  --gray-400: #8A8A8A;
  --gray-200: #CCCCCC;
  --gray-100: #F0F0F0;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--white);
  font-family: 'Sora', sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
/* Grid sutil — grafismo oficial da marca (Manual de Marca 2.4) */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 88px 88px;
}
header.site, main, footer { position: relative; z-index: 1; }

/* Tag de seção numerada (template institucional PW7) */
.num {
  display: block; font-size: 11px; font-weight: 500;
  letter-spacing: 0.1em; color: var(--blue); margin-bottom: 14px;
}
.wrap { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* Header */
header.site { padding: 36px 0 0; }
header.site .bar { display: flex; align-items: center; justify-content: space-between; }
header.site img.logo { height: 22px; display: block; }
.crumb {
  font-size: 11px; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gray-400);
}
.crumb a { color: var(--gray-400); text-decoration: none; }
.crumb a:hover { color: var(--white); }
.crumb .sep { margin: 0 8px; color: var(--gray-700); }
.crumb .atual { color: var(--blue); }

/* Tipografia — headings UPPERCASE, tracking -0.03em, peso 500 */
h1, h2, h3, h4 {
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 1.12;
}
h1 { font-size: clamp(32px, 6vw, 56px); line-height: 1.04; }
h2 { font-size: clamp(24px, 4vw, 36px); margin-bottom: 28px; }
h3 { font-size: clamp(17px, 2.5vw, 21px); margin-bottom: 8px; }
p { font-size: 16px; line-height: 1.6; color: var(--gray-400); max-width: 58ch; }
p strong, li strong { color: var(--white); font-weight: 500; }
.destaque { color: var(--blue); }

/* Seções */
section { padding: 72px 0; border-bottom: 1px solid var(--gray-900); }
section:last-of-type { border-bottom: none; }
.hero { padding: 88px 0 80px; }
.hero .tag {
  display: inline-block; font-size: 11px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue);
  border: 1px solid var(--blue); padding: 6px 12px; margin-bottom: 28px;
}
.hero h1 { max-width: 20ch; margin-bottom: 24px; }
.hero .sub {
  font-size: clamp(16px, 2.3vw, 19px); margin-bottom: 40px; max-width: 52ch;
}

/* Botões — sem border-radius (IDV) */
.btn {
  display: inline-block;
  background: var(--blue); color: var(--white);
  font-family: 'Sora', sans-serif;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 16px 32px; border: none; cursor: pointer;
  text-decoration: none;
  transition: all 0.4s var(--ease);
}
.btn:hover { background: var(--blue-hover); box-shadow: 0 8px 32px rgba(9, 81, 199, 0.35); }
.btn-ghost {
  background: transparent; border: 1px solid var(--gray-700); color: var(--white);
}
.btn-ghost:hover { background: var(--gray-900); border-color: var(--gray-400); box-shadow: none; }
.cta-note { display: block; margin-top: 14px; font-size: 12px; color: var(--gray-400); }

/* Lista de frentes / itens (holding e blocos) */
nav.frentes { border-top: 1px solid var(--gray-900); }
nav.frentes a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
  padding: 24px 0; border-bottom: 1px solid var(--gray-900);
  text-decoration: none; color: var(--white);
  transition: all 0.4s var(--ease);
}
nav.frentes a:hover { padding-left: 8px; }
nav.frentes a:hover .nome { color: var(--blue); }
nav.frentes .nome {
  font-size: clamp(20px, 3vw, 26px); font-weight: 500;
  text-transform: uppercase; letter-spacing: -0.03em; white-space: nowrap;
  transition: color 0.4s var(--ease);
}
nav.frentes .desc { font-size: 14px; color: var(--gray-400); text-align: right; flex: 1; line-height: 1.45; }
nav.frentes .arrow { color: var(--gray-400); font-size: 18px; }

/* Blocos de serviço */
.blocos { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--gray-900); border: 1px solid var(--gray-900); }
.blocos .bloco { background: var(--black); padding: 32px 28px; }
.blocos .bloco:hover { background: var(--gray-900); }
.bloco ul { list-style: none; margin-top: 14px; }
.bloco li { font-size: 14px; color: var(--gray-400); line-height: 1.5; padding: 5px 0 5px 18px; position: relative; }
.bloco li::before { content: ""; position: absolute; left: 0; top: 13px; width: 8px; height: 1px; background: var(--blue); }

/* Passos numerados */
ol.passos { counter-reset: p; list-style: none; }
ol.passos li {
  counter-increment: p; display: flex; gap: 24px; align-items: baseline;
  padding: 24px 0; border-bottom: 1px solid var(--gray-900);
}
ol.passos li:last-child { border-bottom: none; }
ol.passos li::before {
  content: "0" counter(p);
  font-size: 12px; color: var(--blue); letter-spacing: 0.1em; flex-shrink: 0;
}
ol.passos b { display: block; font-size: 16px; font-weight: 500; text-transform: uppercase; letter-spacing: -0.01em; margin-bottom: 6px; }
ol.passos span { font-size: 15px; color: var(--gray-400); line-height: 1.55; }

/* Fit (é / não é) */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.fit h3 { font-size: 12px; letter-spacing: 0.1em; margin-bottom: 18px; }
.fit h3.sim { color: var(--blue); }
.fit h3.nao { color: var(--gray-400); }
.fit ul { list-style: none; }
.fit li { font-size: 15px; color: var(--gray-400); line-height: 1.5; padding: 9px 0; border-bottom: 1px solid var(--gray-900); }
.fit li:last-child { border-bottom: none; }

/* Métricas */
.metricas { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px; background: var(--gray-900); border: 1px solid var(--gray-900); }
.metricas div { background: var(--black); padding: 24px 20px; }
.metricas b { display: block; font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; color: var(--blue); margin-bottom: 6px; }
.metricas span { font-size: 13px; color: var(--gray-400); line-height: 1.5; }

/* FAQ */
details { border-bottom: 1px solid var(--gray-900); padding: 20px 0; }
details summary {
  font-size: 15px; font-weight: 500; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; gap: 16px;
  text-transform: uppercase; letter-spacing: -0.01em;
}
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--blue); }
details[open] summary::after { content: "–"; }
details p { margin-top: 14px; font-size: 15px; }

/* Footer */
footer {
  max-width: 760px; margin: 0 auto; padding: 28px 24px;
  font-size: 12px; color: var(--gray-400);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
footer a { color: var(--gray-400); text-decoration: none; }
footer a:hover { color: var(--white); }

@media (max-width: 600px) {
  .blocos, .fit { grid-template-columns: 1fr; }
  nav.frentes a { flex-direction: column; align-items: flex-start; gap: 8px; }
  nav.frentes .desc { text-align: left; }
  nav.frentes .arrow { display: none; }
  .hero { padding-top: 64px; }
}
