/* K-Fort Engenharia e Consultoria · identidade: azul-marinho + âmbar, Montserrat (títulos) e Inter (texto) */
:root {
  color-scheme: light;
  --navy: #0a1f33; --navy-2: #102a43; --navy-3: #173554; --line-dark: rgba(255,255,255,.14);
  --white: #ffffff; --paper: #f5f7fa; --tint: #eef3f8;
  --text: #0b1726; --text-2: #46566a; --muted: #7a8899; --border: #e1e6ed;
  --accent: #f2a33a; --accent-hi: #ffbe5c; --accent-dk: #d4831a; --on-accent: #1b1204;
  --steel: #3e5c76;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--white); color: var(--text); font: 15.5px/1.7 Inter, system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img, video { max-width: 100%; height: auto; display: block; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3, h4 { margin: 0; font-family: Montserrat, Inter, sans-serif; letter-spacing: -.02em; line-height: 1.15; }
h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; }
p { margin: 0 0 14px; color: var(--text-2); }
.ico { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.bar { display: block; width: 44px; height: 4px; border-radius: 3px; background: var(--accent); margin-bottom: 22px; }
.kicker { display: block; font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--accent-dk); margin-bottom: 14px; }
.dark .kicker, .hero .kicker { color: var(--accent-hi); }
.skip { position: absolute; left: -9999px; top: 8px; background: #fff; color: var(--navy); padding: 8px 14px; border-radius: 8px; z-index: 99; }
.skip:focus { left: 8px; }

/* botões em pílula */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 26px; border-radius: 999px; font: 700 14.5px Montserrat, sans-serif; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, color .15s, transform .15s; white-space: nowrap; }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { background: var(--accent-hi); }
.btn-line { border-color: rgba(255,255,255,.45); color: #fff; background: transparent; }
.btn-line:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-3); }
.btn-out { border-color: var(--border); color: var(--text); background: #fff; }
.btn-out:hover { border-color: var(--text); }
.btn .ico { width: 18px; height: 18px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* topo */
header.topo { position: sticky; top: 0; z-index: 30; background: var(--navy); border-bottom: 1px solid var(--line-dark); }
.nav { display: flex; align-items: center; height: 76px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: #fff; }
.brand img { width: 40px; height: 40px; }
.brand b { display: block; font: 800 23px/1 Montserrat, sans-serif; letter-spacing: .01em; }
.brand small { display: block; font-size: 9.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.62); margin-top: 4px; }
.menu { display: flex; gap: 28px; margin: 0 auto; }
.menu a { text-decoration: none; color: rgba(255,255,255,.82); font-weight: 500; font-size: 14.5px; padding: 6px 0; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s; }
.menu a:hover, .menu a.on { color: var(--accent-hi); border-bottom-color: var(--accent-hi); }
.nav .btn { padding: 10px 22px; font-size: 14px; }
.burger { display: none; margin-left: auto; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line-dark); background: transparent; color: #fff; cursor: pointer; place-items: center; }
@media (max-width: 1100px) {
  .burger { display: grid; }
  .nav > .btn { display: none; }
  .menu { display: none; position: absolute; left: 0; right: 0; top: 76px; flex-direction: column; gap: 0; background: var(--navy); border-bottom: 1px solid var(--line-dark); padding: 8px 24px 20px; }
  .menu.open { display: flex; }
  .menu a { padding: 13px 0; border-bottom: 1px solid var(--line-dark); }
  .menu a:hover, .menu a.on { border-bottom-color: var(--line-dark); }
}

/* abertura: desenho técnico animado (sem vídeo pesado) */
.hero { position: relative; min-height: calc(100vh - 76px); min-height: calc(100svh - 76px); display: flex; align-items: center; background: radial-gradient(900px 600px at 82% 30%, rgba(242,163,58,.16), transparent 60%), linear-gradient(160deg, var(--navy) 0%, #071725 100%); overflow: hidden; color: #fff; }
.hero .grade { position: absolute; inset: 0; 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: linear-gradient(90deg, transparent, #000 45%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%); }
.hero svg.ponte { position: absolute; right: -4%; bottom: 6%; width: min(820px, 70vw); height: auto; opacity: .9; }
.ponte .tr { fill: none; stroke: rgba(255,255,255,.28); stroke-width: 1.4; stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: tracar 3.2s ease forwards; }
.ponte .tr.forte { stroke: var(--accent); stroke-width: 3; animation-delay: .6s; }
.ponte .tr.d2 { animation-delay: 1s; } .ponte .tr.d3 { animation-delay: 1.4s; }
.ponte .no { fill: var(--accent); opacity: 0; animation: surgir .6s ease forwards; animation-delay: 2.6s; }
@keyframes tracar { to { stroke-dashoffset: 0; } }
@keyframes surgir { to { opacity: 1; } }
.hero .wrap { position: relative; z-index: 1; padding-top: 80px; padding-bottom: 80px; }
.hero h1 { font-size: clamp(36px, 5.2vw, 68px); font-weight: 800; line-height: 1.06; letter-spacing: -.03em; max-width: 760px; color: #fff; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p { color: rgba(255,255,255,.78); font-size: clamp(16px, 1.6vw, 19px); max-width: 580px; margin: 22px 0 0; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero .btn-line .play { width: 26px; height: 26px; border-radius: 50%; background: #fff; color: var(--navy); display: grid; place-items: center; margin-left: -10px; }
.hero .btn-line .play svg { width: 11px; height: 11px; fill: currentColor; margin-left: 2px; }
.hero .selos { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 46px; font-size: 13px; color: rgba(255,255,255,.7); }
.hero .selos span { display: flex; align-items: center; gap: 8px; }
.hero .selos span::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); transform: rotate(45deg); }
@media (max-width: 700px) { .hero { align-items: flex-end; } .hero svg.ponte { width: 120vw; right: -30%; top: 6%; bottom: auto; opacity: .45; } .hero .cta .btn { flex: 1 1 100%; } }

section { padding: 110px 0; }
@media (max-width: 700px) { section { padding: 76px 0; } }
.dark { background: var(--navy); color: #fff; }
.dark h2, .dark h3 { color: #fff; }
.dark p { color: rgba(255,255,255,.72); }
.paper { background: var(--paper); }
.tint { background: var(--tint); }
.center { text-align: center; }
.center .bar { margin-left: auto; margin-right: auto; }
.lead { max-width: 680px; margin: 0 auto 46px; }
.lead p { font-size: 15.5px; }

/* quem somos */
.about { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.about h2 { margin-bottom: 24px; }
.about p b { color: var(--text); font-weight: 600; }
.facts { display: flex; flex-wrap: wrap; margin: 30px 0 0; }
.fact { padding: 0 26px; border-left: 1px solid var(--border); }
.fact:first-child { padding-left: 0; border-left: 0; }
.fact b { display: block; font: 800 24px/1.3 Montserrat, sans-serif; color: var(--navy); letter-spacing: -.02em; }
.fact b i { font-style: normal; color: var(--accent-dk); }
.fact span { font-size: 12.5px; color: var(--muted); }
.areas { background: var(--navy); border-radius: 22px; padding: 30px; color: #fff; box-shadow: 0 30px 70px rgba(10,31,51,.25); position: relative; overflow: hidden; }
.areas::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 32px 32px; }
.areas > * { position: relative; }
.areas h3 { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-hi); margin-bottom: 18px; }
.areas a { display: grid; grid-template-columns: 44px 1fr 18px; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line-dark); text-decoration: none; transition: color .15s; }
.areas a:hover { color: var(--accent-hi); }
.areas a .n { font: 800 13px Montserrat, sans-serif; color: var(--accent); width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(242,163,58,.45); display: grid; place-items: center; }
.areas a b { font: 600 15px Montserrat, sans-serif; }
.areas a small { display: block; font-size: 12.5px; color: rgba(255,255,255,.6); font-weight: 400; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; gap: 44px; } }
@media (max-width: 520px) { .fact { padding: 0 14px; } .fact b { font-size: 19px; } .areas { padding: 22px; } }

/* serviços: abas em pílula + painel branco */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 30px; }
.tabs button { padding: 9px 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.4); background: transparent; color: #fff; font: 600 13px Montserrat, sans-serif; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.tabs button:hover { border-color: #fff; }
.tabs button[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.panel { background: #fff; color: var(--text); border-radius: 22px; padding: 46px 52px; }
.panel .ph { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.panel .ph .ic { width: 56px; height: 56px; border-radius: 16px; background: var(--tint); color: var(--navy); display: grid; place-items: center; flex: none; }
.panel .ph .ic .ico { width: 28px; height: 28px; }
.panel h3 { font-size: 24px; font-weight: 800; color: var(--navy); }
.panel .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 56px; }
.panel p { font-size: 14.5px; color: var(--text-2); }
.panel h4 { font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.check { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.check li { position: relative; padding-left: 28px; font-size: 14px; line-height: 1.5; color: var(--text-2); }
.check li::before { content: ""; position: absolute; left: 0; top: 2px; width: 17px; height: 17px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b1204' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 10px no-repeat; }
.check li b { color: var(--text); }
.panel .nota { margin: 26px 0 0; padding: 16px 20px; border-left: 4px solid var(--accent); background: var(--paper); border-radius: 0 12px 12px 0; font-size: 14px; color: var(--text); }
.panel .cta { margin-top: 26px; }
@media (max-width: 760px) { .panel { padding: 30px 22px; } .panel .cols { grid-template-columns: 1fr; } .panel h3 { font-size: 20px; } }

/* segmentos */
.segs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.seg { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 24px 22px; transition: border-color .2s, transform .2s, box-shadow .2s; }
.seg:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 16px 36px rgba(10,31,51,.08); }
.seg .ico { width: 30px; height: 30px; color: var(--accent-dk); margin-bottom: 14px; }
.seg b { display: block; font: 700 15px/1.35 Montserrat, sans-serif; color: var(--navy); }
.segs-nota { text-align: center; margin: 34px 0 0; font-weight: 600; color: var(--text); }
@media (max-width: 960px) { .segs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .seg { padding: 18px 16px; } .seg b { font-size: 14px; } }

/* diferenciais: cartões contornados */
.firm { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.firm h2 { margin-bottom: 22px; }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cardo { border: 1px solid rgba(255,255,255,.35); border-radius: 16px; padding: 22px; transition: border-color .2s, background .2s; }
.cardo:hover { border-color: var(--accent); background: rgba(242,163,58,.06); }
.cardo .ico { color: var(--accent); margin-bottom: 12px; width: 26px; height: 26px; }
.cardo h3 { font-size: 15px; font-weight: 700; color: #fff; line-height: 1.35; }
@media (max-width: 900px) { .firm { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 520px) { .cards { grid-template-columns: 1fr; } }

/* propósito + vídeo */
.prop { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.player { position: relative; border-radius: 18px; overflow: hidden; background: var(--navy); aspect-ratio: 16 / 9; box-shadow: 0 24px 60px rgba(10,31,51,.25); }
.player video { width: 100%; height: 100% !important; object-fit: cover; }
.player .cover { position: absolute; inset: 0; border: 0; padding: 0; cursor: pointer; background: linear-gradient(0deg, rgba(5,14,24,.85), transparent 55%); color: #fff; text-align: left; font: inherit; }
.player .cover .pb { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; box-shadow: 0 10px 40px rgba(242,163,58,.5); transition: transform .15s; }
.player .cover:hover .pb { transform: scale(1.06); }
.player .cover .pb svg { width: 26px; height: 26px; fill: var(--on-accent); margin-left: 4px; }
.player .cover .cap { position: absolute; left: 24px; right: 24px; bottom: 20px; }
.player .cover small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-hi); }
.player .cover b { font: 700 18px Montserrat, sans-serif; }
.prop blockquote { margin: 0 0 22px; font: 800 clamp(24px, 2.6vw, 32px)/1.25 Montserrat, sans-serif; color: var(--navy); letter-spacing: -.02em; }
.prop blockquote em { font-style: normal; color: var(--accent-dk); }
@media (max-width: 900px) { .prop { grid-template-columns: 1fr; gap: 40px; } }

/* blog (cartões usados na página inicial e na lista) */
.bhead { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.bhead p { max-width: 560px; margin: 10px 0 0; }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: 18px; overflow: hidden; text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.pcard:hover { transform: translateY(-3px); box-shadow: 0 20px 44px rgba(10,31,51,.1); border-color: transparent; }
.pcard .capa { aspect-ratio: 16 / 9; background: var(--navy); overflow: hidden; }
.pcard .capa img { width: 100%; height: 100% !important; object-fit: cover; transition: transform .4s; }
.pcard:hover .capa img { transform: scale(1.03); }
.capa-padrao { width: 100%; height: 100%; display: grid; place-items: center; background: radial-gradient(400px 220px at 80% 20%, rgba(242,163,58,.28), transparent 60%), linear-gradient(160deg, var(--navy), #071725); position: relative; }
.capa-padrao::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 28px 28px; }
.capa-padrao img, .pcard .capa .capa-padrao img { position: relative; width: 22% !important; height: auto !important; opacity: .95; transform: none !important; }
.pcard .corpo { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.pcard .meta { font-size: 12px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 10px; }
.cat { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-dk); background: #fdf1df; padding: 3px 10px; border-radius: 99px; text-decoration: none; }
.pcard h3 { font-size: 18px; font-weight: 700; line-height: 1.3; color: var(--navy); margin-bottom: 10px; }
.pcard p { font-size: 14px; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pcard .mais { margin-top: auto; padding-top: 16px; font: 700 13.5px Montserrat, sans-serif; color: var(--navy); display: flex; align-items: center; gap: 6px; }
.pcard .mais .ico { width: 16px; height: 16px; transition: transform .15s; }
.pcard:hover .mais .ico { transform: translateX(3px); }
.vazio { text-align: center; padding: 60px 20px; border: 1px dashed var(--border); border-radius: 18px; color: var(--muted); }
@media (max-width: 960px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .posts { grid-template-columns: 1fr; } .bhead { flex-direction: column; align-items: flex-start; } }

/* chamada final */
.chamada { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-3) 100%); color: #fff; position: relative; overflow: hidden; }
.chamada::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(242,163,58,.12); }
.chamada .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.4fr .6fr; gap: 40px; align-items: center; }
.chamada h2 { color: #fff; margin-bottom: 16px; }
.chamada p { color: rgba(255,255,255,.75); max-width: 640px; }
.chamada .assin { font: 700 15px Montserrat, sans-serif; color: var(--accent-hi); margin: 18px 0 0; }
.chamada .acts { display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 860px) { .chamada .wrap { grid-template-columns: 1fr; } .chamada .acts { flex-direction: row; flex-wrap: wrap; } }

/* contato */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact h2 { margin-bottom: 20px; }
.cinfo { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 16px; }
.cinfo li { display: flex; gap: 14px; font-size: 14.5px; color: var(--text-2); }
.cinfo li[hidden] { display: none; }
.cinfo .ico { color: var(--accent-dk); margin-top: 2px; }
.cinfo a { text-decoration: none; }
.cinfo a:hover { color: var(--accent-dk); }
.cinfo b { color: var(--text); font-weight: 600; word-break: break-word; }
.form { background: #fff; border-radius: 20px; padding: 34px; box-shadow: 0 20px 60px rgba(10,31,51,.1), 0 0 0 1px var(--border); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text); margin-bottom: 16px; }
.form input, .form textarea, .form select { display: block; width: 100%; margin-top: 7px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; font: 15px Inter, sans-serif; color: var(--text); background: #fff; text-transform: none; letter-spacing: 0; }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(242,163,58,.2); }
.form textarea { min-height: 110px; resize: vertical; }
.form .note { font-size: 12.5px; color: var(--muted); margin: 14px 0 0; }
.form .ok { background: #e6f5ec; color: #12663a; padding: 12px 16px; border-radius: 10px; font-size: 14px; margin: 14px 0 0; }
.form .erro { background: #fdecec; color: #a12a2a; padding: 12px 16px; border-radius: 10px; font-size: 14px; margin: 14px 0 0; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 520px) { .form { padding: 24px 20px; } .form .row { grid-template-columns: 1fr; gap: 0; } .form .btn { width: 100%; } }

/* rodapé */
footer.rodape { background: #071725; color: rgba(255,255,255,.7); font-size: 13.5px; padding: 70px 0 0; }
.fcols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 50px; }
footer h4 { margin: 4px 0 16px; color: #fff; font-size: 14px; font-weight: 700; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--accent-hi); }
footer .about-f { margin-top: 16px; max-width: 300px; color: rgba(255,255,255,.6); }
footer .lema { color: var(--accent-hi); font-weight: 600; }
.fbase { border-top: 1px solid var(--line-dark); padding: 20px 0 26px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 12px; color: rgba(255,255,255,.45); }
.fbase a { color: rgba(255,255,255,.45); }
@media (max-width: 860px) { .fcols { grid-template-columns: 1fr 1fr; } .fcols > div:first-child { grid-column: 1 / -1; } }

/* vídeo em tela cheia */
.modal { position: fixed; inset: 0; z-index: 50; background: rgba(4,10,18,.9); display: none; align-items: center; justify-content: center; padding: 20px; backdrop-filter: blur(4px); }
.modal.open { display: flex; }
.modal video { width: min(1100px, 100%); max-height: 86vh; border-radius: 14px; background: #000; }
.modal .x { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: transparent; color: #fff; font-size: 22px; cursor: pointer; }

.fab { position: fixed; right: 20px; bottom: 20px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 28px rgba(37,211,102,.4); z-index: 20; transition: transform .15s; }
.fab[hidden] { display: none; }
.fab:hover { transform: scale(1.06); }
.fab svg { width: 28px; height: 28px; fill: currentColor; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } .ponte .tr, .ponte .no { animation: none; stroke-dashoffset: 0; opacity: 1; } }

/* ---------- páginas do blog ---------- */
.bhero { background: linear-gradient(160deg, var(--navy), #071725); color: #fff; padding: 70px 0 60px; position: relative; overflow: hidden; }
.bhero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 48px 48px; }
.bhero .wrap { position: relative; }
.bhero h1 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; color: #fff; }
.bhero p { color: rgba(255,255,255,.75); max-width: 620px; margin: 14px 0 0; font-size: 16.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chips a { text-decoration: none; padding: 7px 16px; border-radius: 99px; border: 1px solid rgba(255,255,255,.35); color: #fff; font: 600 13px Montserrat, sans-serif; }
.chips a:hover { border-color: #fff; }
.chips a.on { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.blista { padding: 64px 0 100px; }
.pag { display: flex; justify-content: center; gap: 8px; margin-top: 44px; }
.pag a, .pag span { min-width: 42px; height: 42px; padding: 0 14px; display: grid; place-items: center; border-radius: 99px; border: 1px solid var(--border); text-decoration: none; font-weight: 600; font-size: 14px; }
.pag span { background: var(--navy); color: #fff; border-color: var(--navy); }

.artigo { padding: 0 0 90px; }
.ahead { background: linear-gradient(160deg, var(--navy), #071725); color: #fff; padding: 60px 0 140px; }
.ahead .wrap { max-width: 860px; }
.voltar { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,.7); text-decoration: none; font-size: 13.5px; margin-bottom: 26px; }
.voltar:hover { color: var(--accent-hi); }
.voltar .ico { width: 16px; height: 16px; }
.ahead h1 { font-size: clamp(30px, 4.2vw, 48px); font-weight: 800; line-height: 1.12; color: #fff; margin: 14px 0 18px; }
.ahead .meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13.5px; color: rgba(255,255,255,.7); }
.ahead .resumo { font-size: 18px; color: rgba(255,255,255,.82); margin: 0 0 22px; }
.acapa { max-width: 1000px; margin: -100px auto 0; padding: 0 24px; }
.acapa img, .acapa .capa-padrao { border-radius: 20px; aspect-ratio: 16 / 8; width: 100%; height: auto; object-fit: cover; box-shadow: 0 30px 70px rgba(10,31,51,.25); }
.acapa .capa-padrao img { width: 14% !important; box-shadow: none; border-radius: 0; aspect-ratio: auto; }
.rascunho { background: #fff4e0; color: #7a4b05; border: 1px solid #f5d39a; padding: 12px 18px; border-radius: 12px; font-size: 14px; margin: 0 0 20px; }
.texto { max-width: 760px; margin: 48px auto 0; padding: 0 24px; font-size: 17px; line-height: 1.8; color: #243447; }
.texto > * + * { margin-top: 1.1em; }
.texto p { margin-bottom: 0; color: #243447; }
.texto h2 { font-size: 27px; font-weight: 800; color: var(--navy); margin-top: 1.8em; }
.texto h3 { font-size: 21px; font-weight: 700; color: var(--navy); margin-top: 1.5em; }
.texto a { color: var(--accent-dk); font-weight: 600; }
.texto ul, .texto ol { padding-left: 1.3em; margin-bottom: 0; }
.texto li + li { margin-top: .4em; }
.texto li::marker { color: var(--accent-dk); font-weight: 700; }
.texto blockquote { margin-left: 0; margin-right: 0; padding: 18px 24px; border-left: 4px solid var(--accent); background: var(--paper); border-radius: 0 14px 14px 0; font-style: italic; color: var(--text); }
.texto img { border-radius: 14px; margin-left: auto; margin-right: auto; }
.texto figure { margin-left: 0; margin-right: 0; }
.texto figcaption { font-size: 13.5px; color: var(--muted); text-align: center; margin-top: 8px; }
.texto hr { border: 0; height: 1px; background: var(--border); margin: 2.2em 0; }
.texto .yt { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; }
.texto .yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.compart { max-width: 760px; margin: 50px auto 0; padding: 26px 24px 0; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.compart b { font: 700 14px Montserrat, sans-serif; margin-right: 8px; }
.compart a, .compart button { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 99px; border: 1px solid var(--border); background: #fff; font: 600 13px Inter, sans-serif; color: var(--text); text-decoration: none; cursor: pointer; }
.compart a:hover, .compart button:hover { border-color: var(--text); }
.compart svg { width: 16px; height: 16px; }
.caixa-cta { max-width: 760px; margin: 50px auto 0; padding: 0 24px; }
.caixa-cta > div { background: var(--navy); color: #fff; border-radius: 20px; padding: 30px 32px; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.caixa-cta h3 { color: #fff; font-size: 20px; margin-bottom: 6px; }
.caixa-cta p { color: rgba(255,255,255,.72); margin: 0; font-size: 14.5px; }
.outros { background: var(--paper); padding: 80px 0; }
.outros h2 { margin-bottom: 30px; }
