:root {
  --navy: #2B4E7C;
  --navy-deep: #1A2740;
  --ink: #1A2740;
  --slate: #5E6E86;
  --line: #E2E6EC;
  --white: #FFFFFF;
  --familia: #EE8A72;
  --familia-tint: #FDE9E3;
  --familia-text: #9A3E28;
  --empresa: #68B4E5;
  --empresa-tint: #E3F1FB;
  --empresa-text: #1F5F8B;
  --patrimonio: #1B998B;
  --patrimonio-tint: #DDF1EE;
  --patrimonio-text: #0E6157;
  --bg: #F7F6F3;
  --bg-alt: #FFFFFF;
  --card: #FFFFFF;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --radius: 14px;
  --max: 1120px;
  --gutter: 20px;
}
html[data-tema="c"] { --bg: #FFFFFF; --bg-alt: #F5F5F7; --card: #F5F5F7; --line: #E5E5EA; }
html[data-fonte="geist"] { --font: 'Geist', system-ui, sans-serif; }
html[data-fonte="instrument"] { --font: 'Instrument Sans', system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--navy); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2rem, 7vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 4.6vw, 2.5rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); font-weight: 600; margin-bottom: .9rem; }
.lead { font-size: 1.15rem; color: var(--slate); max-width: 40rem; }
.muted { color: var(--slate); }
.small { font-size: .85rem; }
section { padding: 64px 0; }
section.alt { background: var(--bg-alt); }
@media (min-width: 900px) { section { padding: 104px 0; } }

.btn { display: inline-flex; align-items: center; gap: .5rem; min-height: 48px; padding: 0 22px; border-radius: 999px; font: inherit; font-weight: 600; font-size: 1rem; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-deep); }
.btn-ghost { border-color: currentColor; color: var(--navy); background: transparent; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5rem; }

.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: block; width: 168px; height: 50px; background: var(--navy); -webkit-mask: url(../img/logo-preto-t.png) left center / contain no-repeat; mask: url(../img/logo-preto-t.png) left center / contain no-repeat; }
.logo span { position: absolute; left: -9999px; }
.nav-desk { display: none; gap: 28px; align-items: center; }
.nav-desk a { color: var(--ink); text-decoration: none; font-size: .95rem; }
.nav-desk a:hover { color: var(--navy); }
.nav-desk .btn { min-height: 40px; padding: 0 18px; font-size: .92rem; color: #fff; }
.nav-mob summary { list-style: none; cursor: pointer; padding: 10px; margin-right: -10px; font-size: .95rem; font-weight: 600; color: var(--navy); }
.nav-mob summary::-webkit-details-marker { display: none; }
.nav-mob[open] .nav-mob-panel { display: flex; }
.nav-mob-panel { display: none; position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; }
.nav-mob-panel a { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 1.05rem; }
.nav-mob-panel .btn { margin-top: 16px; justify-content: center; color: #fff; border: 0; }
@media (min-width: 900px) { .nav-desk { display: flex; } .nav-mob { display: none; } }

.hero { position: relative; color: #fff; background: var(--navy-deep); padding: 0; overflow: hidden; }
.hero-img { position: absolute; inset: 0; background: url(../img/deck-0.jpg) 65% center / cover no-repeat; opacity: .55; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,39,64,.35) 0%, rgba(26,39,64,.92) 70%); }
@media (min-width: 900px) { .hero-shade { background: linear-gradient(90deg, rgba(26,39,64,.97) 0%, rgba(26,39,64,.75) 45%, rgba(26,39,64,.15) 100%); } }
.hero .wrap { position: relative; padding-top: 30vh; padding-bottom: 64px; }
@media (min-width: 900px) { .hero .wrap { padding-top: 140px; padding-bottom: 140px; } .hero-text { max-width: 600px; } }
.hero .eyebrow { color: #A9C6E6; }
.hero .lead { color: #D6DFEB; }
.hero .btn-primary { background: #fff; color: var(--navy-deep); }
.hero .btn-ghost { color: #fff; }
html[data-tema="c"] .hero { background: var(--bg); color: var(--ink); }
html[data-tema="c"] .hero-img, html[data-tema="c"] .hero-shade { display: none; }
html[data-tema="c"] .hero .wrap { padding-top: 72px; padding-bottom: 32px; text-align: center; }
html[data-tema="c"] .hero-text { max-width: 760px; margin: 0 auto; }
html[data-tema="c"] .hero .lead { color: var(--slate); margin: 0 auto; }
html[data-tema="c"] .hero .eyebrow { color: var(--slate); }
html[data-tema="c"] .hero .btns { justify-content: center; }
html[data-tema="c"] .hero .btn-primary { background: var(--navy); color: #fff; }
html[data-tema="c"] .hero .btn-ghost { color: var(--navy); }
.hero-foto-c { display: none; }
html[data-tema="c"] .hero-foto-c { display: block; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) 24px; }
html[data-tema="c"] .hero-foto-c img { border-radius: 22px; aspect-ratio: 4/5; object-fit: cover; width: 100%; }
@media (min-width: 700px) { html[data-tema="c"] .hero-foto-c img { aspect-ratio: 16/9; } }

.grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
html[data-tema="c"] .card { border-color: transparent; }
.card h3 { margin-bottom: .4rem; }
.card p:last-child { margin-bottom: 0; }
.tag { display: inline-block; font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; }
.familia { --c: var(--familia); --t: var(--familia-tint); --tx: var(--familia-text); }
.empresa { --c: var(--empresa); --t: var(--empresa-tint); --tx: var(--empresa-text); }
.patrimonio { --c: var(--patrimonio); --t: var(--patrimonio-tint); --tx: var(--patrimonio-text); }
.familia .tag, .empresa .tag, .patrimonio .tag { background: var(--t); color: var(--tx); }
.card.familia, .card.empresa, .card.patrimonio { border-top: 4px solid var(--c); }
.forca { border-left: 4px solid var(--navy); border-radius: 0; background: transparent; border-top: 0; border-right: 0; border-bottom: 0; padding: 4px 0 4px 20px; }
html[data-tema="c"] .forca { border-left-color: var(--navy); }
.forca .seta { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); font-weight: 600; }

.circulos { max-width: 320px; margin: 0 auto 8px; }
.split { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; } }

ul.check { list-style: none; padding: 0; margin: 0; }
ul.check li { padding: 10px 0 10px 30px; border-bottom: 1px solid var(--line); position: relative; }
ul.check li::before { content: ""; position: absolute; left: 4px; top: 19px; width: 12px; height: 7px; border-left: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(-45deg); }

.lados { display: flex; flex-wrap: wrap; gap: 8px; margin: 1.2rem 0; }
.lados span { border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 6px 14px; font-size: .92rem; font-weight: 500; }
.foto-pedro { border-radius: 22px; aspect-ratio: 1; object-fit: cover; width: 100%; max-width: 440px; }

.sinais { counter-reset: s; display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .sinais { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sinal { counter-increment: s; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px 18px 60px; position: relative; }
html[data-tema="c"] .sinal { border-color: transparent; }
.sinal::before { content: counter(s); position: absolute; left: 18px; top: 16px; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; font-size: .85rem; font-weight: 600; display: grid; place-items: center; }
.sinal strong { display: block; line-height: 1.35; }
.sinal .dado { display: block; font-size: .85rem; color: var(--slate); margin-top: 4px; }
.fonte { font-size: .8rem; color: var(--slate); margin-top: 1rem; }

details.faq { border-bottom: 1px solid var(--line); }
details.faq summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; font-weight: 600; font-size: 1.05rem; position: relative; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 1.5rem; font-weight: 400; color: var(--navy); }
details.faq[open] summary::after { content: "\2212"; }
details.faq div { padding: 0 0 20px; color: var(--slate); }

.cta-final { background: var(--navy-deep); color: #fff; text-align: center; }
.cta-final .lead { color: #D6DFEB; margin: 0 auto; }
.cta-final .btns { justify-content: center; }
.cta-final .btn-primary { background: #fff; color: var(--navy-deep); }
html[data-tema="c"] .cta-final { background: var(--bg-alt); color: var(--ink); }
html[data-tema="c"] .cta-final .lead { color: var(--slate); }
html[data-tema="c"] .cta-final .btn-primary { background: var(--navy); color: #fff; }

.site-footer { padding: 48px 0 96px; border-top: 1px solid var(--line); font-size: .92rem; color: var(--slate); }
.site-footer .logo { margin-bottom: 1rem; }
.site-footer a { color: var(--slate); }
.foot-grid { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 2fr 1fr 1fr; } }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin-bottom: 8px; }

.page-head { padding: 56px 0 24px; }
@media (min-width: 900px) { .page-head { padding: 96px 0 32px; } }

form.triagem fieldset { border: 0; padding: 0; margin: 0 0 28px; }
form.triagem legend { font-weight: 600; font-size: 1.1rem; margin-bottom: 12px; padding: 0; }
.opcao { display: flex; gap: 14px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-bottom: 10px; cursor: pointer; }
.opcao input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--navy); flex: none; }
.opcao:has(input:checked) { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.campo { margin-bottom: 16px; }
.campo label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.campo input, .campo select, .campo textarea { width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; font-size: 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: var(--ink); }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: 2px solid var(--navy); outline-offset: 1px; }
.erro { color: #A3261B; font-size: .9rem; margin-top: 6px; }
.resultado { border-radius: var(--radius); padding: 24px; background: var(--card); border: 1px solid var(--line); margin-top: 24px; }
.resultado h3 { margin-bottom: .3rem; }
.medidor { display: flex; gap: 4px; margin: 12px 0 16px; }
.medidor i { flex: 1; height: 8px; border-radius: 4px; background: var(--line); }
.medidor i.on { background: var(--navy); }

.proto { position: fixed; z-index: 50; left: 12px; right: 12px; bottom: 12px; background: #111827; color: #fff; border-radius: 14px; padding: 10px 12px; font: 13px/1.3 system-ui, sans-serif; display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; box-shadow: 0 8px 30px rgba(0,0,0,.25); }
@media (min-width: 760px) { .proto { left: auto; max-width: 560px; } }
.proto b { font-weight: 600; opacity: .7; }
.proto button { font: inherit; border: 1px solid #4B5563; background: transparent; color: #fff; border-radius: 999px; padding: 5px 11px; cursor: pointer; }
.proto button[aria-pressed="true"] { background: #fff; color: #111827; border-color: #fff; }
.proto .x { margin-left: auto; border: 0; opacity: .7; }
.pendente::after { content: " (confirmar no PDF oficial do IBGC)"; color: #A3261B; font-size: .78rem; }

/* Fotos reais (11/11/2026) */
.foto-pedro { object-position: 50% 30%; }
.faixa-foto { margin: 2rem 0 0; max-width: 560px; }
.faixa-foto img { width: 100%; border-radius: 22px; aspect-ratio: 960/816; object-fit: cover; }
