:root {
  --navy: #002e62;
  --navy-2: #0a3f7d;
  --yellow: #ffcc00;
  --red: #c40008;
  --ink: #1d2433;
  --muted: #5d6677;
  --line: #e3e7ee;
  --bg: #f6f8fb;
  --card: #ffffff;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 4px 16px rgba(16, 24, 40, .06);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-2); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Top bar + header */
.topbar { background: var(--navy); color: #dfe8f5; font-size: 14px; }
.topbar .wrap { display: flex; gap: 18px; flex-wrap: wrap; justify-content: flex-end; padding-top: 6px; padding-bottom: 6px; }
.topbar a { color: #fff; text-decoration: none; }
.toplinks { display: flex; gap: 14px; margin-right: auto; }
@media (max-width: 860px) { .toplinks { display: none; } }
.header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header .wrap { display: flex; align-items: center; gap: 16px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-weight: 800; font-size: 20px; flex-shrink: 0; }
.brand img { height: 44px; width: auto; }
.search { flex: 1; display: flex; max-width: 460px; margin-left: auto; }
.search input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 999px 0 0 999px; padding: 10px 14px; font: inherit; }
.search button { border: 0; background: var(--navy); color: #fff; border-radius: 0 999px 999px 0; padding: 0 16px; cursor: pointer; font: inherit; }
.cart-link { display: flex; align-items: center; gap: 8px; text-decoration: none; background: var(--yellow); color: var(--navy); font-weight: 700; padding: 9px 14px; border-radius: 999px; white-space: nowrap; }
.cart-count { background: var(--navy); color: #fff; border-radius: 999px; min-width: 22px; height: 22px; display: inline-grid; place-items: center; font-size: 13px; padding: 0 6px; }
.nav { background: #fff; border-bottom: 1px solid var(--line); }
.nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.nav a { display: block; padding: 10px 12px; text-decoration: none; color: var(--ink); white-space: nowrap; font-size: 15px; border-bottom: 3px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--yellow); }

/* Hero */
.hero { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; padding-top: 48px; padding-bottom: 48px; }
.hero h1 { font-size: clamp(28px, 4vw, 44px); }
.hero p { color: #d6e2f3; font-size: 18px; max-width: 46ch; }
.hero-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hero-imgs img { background: #fff; border-radius: var(--radius); aspect-ratio: 1; object-fit: contain; padding: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 12px 22px; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.btn-yellow { background: var(--yellow); color: var(--navy); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); border: 1px solid var(--line); }
.btn-green { background: #1fa855; color: #fff; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.hero .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .4); }

/* Sections */
.section { padding: 40px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.section-head h2 { font-size: 24px; margin: 0; }
.crumbs { font-size: 14px; color: var(--muted); padding: 16px 0 0; }
.crumbs a { color: var(--muted); }

.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.cat { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.cat img { aspect-ratio: 4/3; object-fit: contain; width: 100%; }
.cat span { font-weight: 600; }
.cat small { color: var(--muted); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); transition: transform .15s; }
.card:hover { transform: translateY(-2px); }
.card .ph { background: #fff; aspect-ratio: 1; display: grid; place-items: center; padding: 12px; border-bottom: 1px solid var(--line); }
.card .ph img { max-height: 100%; object-fit: contain; }
.card .body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card .ref { font-size: 13px; color: var(--muted); }
.card .name { font-weight: 600; }
.noimg { color: var(--muted); font-size: 14px; }

/* Product */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding: 24px 0 48px; }
.gallery .main { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 1; display: grid; place-items: center; padding: 20px; }
.gallery .main img { max-height: 100%; object-fit: contain; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.thumbs button { border: 2px solid var(--line); background: #fff; border-radius: 10px; padding: 4px; width: 72px; height: 72px; cursor: pointer; }
.thumbs button[aria-pressed="true"] { border-color: var(--navy); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.info h1 { font-size: 30px; }
.info .ref { color: var(--muted); margin-bottom: 12px; }
.info .desc { white-space: pre-line; margin-bottom: 20px; }
.field { margin-bottom: 16px; }
.field label, .field .label { display: block; font-weight: 600; margin-bottom: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips label { font-weight: 400; margin: 0; }
.chips input { position: absolute; opacity: 0; }
.chips span { display: inline-block; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; cursor: pointer; background: #fff; font-size: 14px; }
.chips input:checked + span { background: var(--navy); color: #fff; border-color: var(--navy); }
.chips input:focus-visible + span { outline: 2px solid var(--yellow); outline-offset: 2px; }
input[type="number"], input[type="text"], input[type="email"], input[type="tel"], textarea {
  border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font: inherit; width: 100%; background: #fff;
}
input[type="number"] { width: 120px; }
.notice { background: #eef6ee; border: 1px solid #cfe6cf; color: #1d5b22; border-radius: 10px; padding: 10px 14px; margin-top: 12px; display: none; }
.notice.show { display: block; }

/* Quote */
.quote { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; padding: 24px 0 48px; align-items: start; }
.panel { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.qitem { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.qitem:last-child { border-bottom: 0; }
.qitem img { width: 72px; height: 72px; object-fit: contain; background: #fff; border-radius: 8px; border: 1px solid var(--line); }
.qitem small { color: var(--muted); display: block; }
.qitem input { width: 80px; }
.link-btn { background: none; border: 0; color: var(--red); cursor: pointer; font: inherit; padding: 4px; }
.form-grid { display: grid; gap: 12px; }
.send { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }

/* Content pages */
.page { padding: 24px 0 48px; max-width: 760px; }
.page p { margin: 0 0 1em; }
.page h2 { margin-top: 1.4em; font-size: 22px; }
.materials { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin: 20px 0; }
.materials > div { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px; display: flex; flex-direction: column; gap: 6px; }
.materials img { width: 100%; height: 130px; object-fit: cover; border-radius: 8px; }
.materials span { color: var(--muted); font-size: 14px; }
.clients { columns: 3 180px; padding-left: 1.2em; }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

/* Footer */
.footer { background: var(--navy); color: #c9d6ea; margin-top: 24px; }
.footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; padding-top: 32px; padding-bottom: 32px; }
.footer h3 { color: #fff; font-size: 16px; }
.footer a { color: #fff; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.copy { border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; padding: 12px 0; text-align: center; }

@media (max-width: 860px) {
  .hero .wrap, .product, .quote { grid-template-columns: 1fr; }
  .hero-imgs { display: none; }
  .footer .wrap { grid-template-columns: 1fr; }
  .header .wrap { flex-wrap: wrap; }
  .search { order: 3; max-width: none; flex-basis: 100%; }
  .cart-link { margin-left: auto; }
  .cart-link .txt { display: none; }
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
}

/* ===== Round 2: modern refresh ===== */
:root { --wa: #1fa855; --wa-2: #178a45; --radius-lg: 20px; --shadow-lg: 0 10px 40px rgba(0, 30, 70, .14); }
body { font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; letter-spacing: -.005em; }
h1, h2, h3 { letter-spacing: -.02em; }
.muted { color: var(--muted); }
@media (max-width: 860px) { .hide-sm { display: none; } }

.preview-bar { background: var(--yellow); color: var(--navy); font-size: 13px; font-weight: 600; text-align: center; padding: 6px 16px; }

.header { backdrop-filter: saturate(1.4) blur(8px); background: rgba(255, 255, 255, .92); transition: box-shadow .2s; }
.header.scrolled { box-shadow: 0 6px 24px rgba(0, 30, 70, .08); }
.search { position: relative; }
.search button { display: grid; place-items: center; }
.suggest { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; z-index: 40; }
.suggest a { display: flex; align-items: center; gap: 10px; padding: 8px 12px; text-decoration: none; color: var(--ink); font-size: 14px; }
.suggest a:hover, .suggest a.active { background: var(--bg); }
.suggest img { width: 40px; height: 40px; object-fit: contain; background: #fff; border-radius: 8px; border: 1px solid var(--line); }
.suggest small { color: var(--muted); display: block; }
.suggest .all { justify-content: center; font-weight: 600; color: var(--navy); border-top: 1px solid var(--line); }
.cart-link.bump { animation: bump .5s ease; }
@keyframes bump { 30% { transform: scale(1.12); } 60% { transform: scale(.96); } }

.eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 6px; }
.hero .eyebrow { color: var(--yellow); }

/* Hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 500px at 85% -10%, #1b5aa6 0%, transparent 60%), linear-gradient(120deg, #00244d 0%, var(--navy) 50%, var(--navy-2) 100%); }
.hero::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; background: var(--yellow); opacity: .08; }
.hero .wrap { position: relative; z-index: 1; padding-top: 64px; padding-bottom: 64px; }
.hero h1 { font-size: clamp(30px, 4.4vw, 50px); font-weight: 800; }
.hero-stats { list-style: none; display: flex; gap: 28px; padding: 0; margin: 28px 0 0; color: #b9cbe4; font-size: 14px; }
.hero-stats b { display: block; color: #fff; font-size: 26px; font-weight: 800; }
.hero-imgs .hi { display: block; background: #fff; border-radius: var(--radius-lg); padding: 12px; box-shadow: 0 12px 30px rgba(0, 0, 0, .25); transition: transform .3s; }
.hero-imgs .hi:hover { transform: translateY(-4px) rotate(-1deg); }
.hero-imgs img { padding: 0; border-radius: 12px; }

.btn { transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0, 30, 70, .18); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-2); }
.btn-lg { padding: 14px 24px; font-size: 16px; }

/* Perks */
.perks { background: #fff; border-bottom: 1px solid var(--line); }
.perks .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.perk { display: flex; gap: 12px; align-items: flex-start; }
.perk-ic { flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: #fff7d1; color: var(--navy); }
.perk b { display: block; font-size: 15px; }
.perk small { color: var(--muted); font-size: 13px; line-height: 1.4; display: block; }

/* Categories & cards */
.more { font-weight: 600; text-decoration: none; color: var(--navy); white-space: nowrap; }
.section-alt { background: #fff; }
.section-head.center { justify-content: center; text-align: center; }
.cat { padding: 14px; transition: transform .2s, box-shadow .2s; border: 1px solid transparent; }
.cat:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #ffe27a; }
.cat-ph { background: #fff; border-radius: 10px; overflow: hidden; }
.cat-ph img { transition: transform .35s; }
.cat:hover .cat-ph img { transform: scale(1.06); }
.card { transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card .ph { overflow: hidden; }
.card .ph img { transition: transform .35s; }
.card:hover .ph img { transform: scale(1.06); }
.card .name { line-height: 1.35; }
.card .body::after { content: "Ver detalhes →"; margin-top: auto; padding-top: 6px; font-size: 13px; font-weight: 600; color: var(--navy-2); opacity: 0; transition: opacity .2s; }
.card:hover .body::after { opacity: 1; }
.filter { border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; font: inherit; min-width: 240px; background: #fff; }
.section-head h1 { margin: 0; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 8px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps li { background: var(--card); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 24px; }
.steps li span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--yellow); font-weight: 800; margin-bottom: 12px; }
.steps li b { font-size: 18px; }
.steps li p { color: var(--muted); margin: 6px 0 0; }

/* Clients marquee */
.clients-band { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 0; text-align: center; }
.clients-band p { color: var(--muted); font-weight: 600; margin: 0 0 14px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); margin-bottom: 14px; }
.marquee-track { display: flex; gap: 44px; width: max-content; animation: marquee 60s linear infinite; }
.marquee-track span { font-size: 20px; font-weight: 800; color: #9aa6b8; white-space: nowrap; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* CTA */
.cta { padding: 0 0 48px; }
.cta .wrap { background: linear-gradient(120deg, var(--navy), var(--navy-2)); color: #fff; border-radius: var(--radius-lg); padding: 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 40px; }
.cta h2 { margin: 0 0 6px; }
.cta p { margin: 0; color: #c9d6ea; }
.cta .actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Product */
.gallery .main { padding: 0; overflow: hidden; }
.zoom { border: 0; background: #fff; padding: 20px; width: 100%; height: 100%; cursor: zoom-in; display: grid; place-items: center; }
.zoom img { max-height: 100%; object-fit: contain; transition: transform .3s; }
.zoom:hover img { transform: scale(1.04); }
.info h1 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; }
.info .ref { display: inline-block; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px; font-size: 14px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: #fff; overflow: hidden; }
.qty button { border: 0; background: transparent; width: 42px; height: 42px; font-size: 20px; cursor: pointer; color: var(--navy); }
.qty button:hover { background: var(--bg); }
.qty input[type="number"] { border: 0; border-radius: 0; width: 90px; text-align: center; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; }
.buy { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.assure { list-style: none; padding: 16px 0 0; margin: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 6px; color: var(--muted); font-size: 14px; }
.assure li::before { content: "✓"; color: var(--wa); font-weight: 800; margin-right: 8px; }
.sticky-buy { display: none; }
.lightbox { border: 0; padding: 0; background: #fff; border-radius: var(--radius-lg); max-width: min(92vw, 900px); max-height: 92vh; box-shadow: var(--shadow-lg); }
.lightbox::backdrop { background: rgba(0, 20, 45, .75); backdrop-filter: blur(3px); }
.lightbox img { max-height: 88vh; width: auto; margin: 0 auto; padding: 20px; }
.lb-close { position: absolute; top: 8px; right: 10px; border: 0; background: var(--bg); width: 40px; height: 40px; border-radius: 50%; font-size: 24px; cursor: pointer; }

/* WhatsApp float + toast */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 50; display: flex; align-items: center; gap: 8px; background: var(--wa); color: #fff; text-decoration: none; font-weight: 700; padding: 12px 18px 12px 14px; border-radius: 999px; box-shadow: 0 10px 30px rgba(31, 168, 85, .4); transition: transform .2s; }
.wa-float:hover { transform: translateY(-2px) scale(1.03); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(31, 168, 85, .5); } 70% { box-shadow: 0 0 0 14px rgba(31, 168, 85, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 168, 85, 0); } }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 200%); z-index: 60; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 14px; box-shadow: var(--shadow-lg); display: flex; gap: 14px; align-items: center; font-size: 15px; transition: transform .3s cubic-bezier(.2, .9, .3, 1.2); max-width: calc(100vw - 32px); }
.toast { visibility: hidden; opacity: 0; }
.toast.show { transform: translate(-50%, 0); visibility: visible; opacity: 1; }
@media (max-width: 860px) { .topbar .wrap { justify-content: center; } .preview-bar { font-size: 12px; } }
.toast a { color: var(--yellow); font-weight: 700; white-space: nowrap; }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.js .reveal.in { opacity: 1; transform: none; }

.footer { margin-top: 0; background: linear-gradient(180deg, var(--navy) 0%, #00224a 100%); }

@media (max-width: 860px) {
  .hero .wrap { padding-top: 40px; padding-bottom: 40px; }
  .hero-stats { gap: 18px; }
  .perks .wrap { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .filter { min-width: 0; width: 100%; }
  .section-head { flex-wrap: wrap; }
  .card .body::after { display: none; }
  .wa-float span { display: none; }
  .wa-float { padding: 14px; right: 16px; bottom: 16px; }
  .has-sticky .wa-float { bottom: 84px; }
  .sticky-buy { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0, 30, 70, .08); padding: 10px 16px; gap: 12px; align-items: center; justify-content: space-between; }
  .sticky-buy b { display: block; font-size: 14px; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 52vw; }
  .sticky-buy small { color: var(--muted); }
  .has-sticky .footer { padding-bottom: 70px; }
  .has-sticky .toast { bottom: 84px; }
  .cta .wrap { padding: 24px; margin-left: 16px; margin-right: 16px; }
}

/* ===== Round 3: navigation, a11y, self-hosted font ===== */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/inter-latin.woff2") format("woff2");
}
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.brand img { height: 44px; width: auto; }

/* Category bar: "Todas as categorias" + quick links that never overflow */
.nav { position: relative; z-index: 15; }
.nav-row { display: flex; align-items: center; gap: 8px; }
.all-btn { flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; border: 0; background: var(--navy); color: #fff; font: inherit; font-weight: 700; font-size: 15px; padding: 8px 14px; border-radius: 999px; cursor: pointer; margin: 6px 0; }
.all-btn:hover, .all-btn[aria-expanded="true"] { background: var(--navy-2); }
.all-btn[aria-expanded="true"] { box-shadow: 0 0 0 3px #ffe27a; }
.nav .quick { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; height: 46px; overflow: hidden; gap: 0 2px; }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 24px 48px rgba(0, 30, 70, .16); max-height: min(70vh, 640px); overflow-y: auto; }
.mega-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 28px; padding-top: 20px; padding-bottom: 24px; }
.mega-col h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--red); margin: 8px 0 4px; }
.nav .mega ul { display: block; overflow: visible; }
.nav .mega a { display: flex; justify-content: space-between; gap: 8px; padding: 7px 10px; margin: 0 -10px; border-radius: 8px; border: 0; white-space: normal; }
.nav .mega a:hover, .nav .mega a[aria-current="page"] { background: #fff7d1; color: var(--navy); }
.nav .mega small { color: var(--muted); font-size: 13px; }
.mega-head { display: none; }

.card .sub { font-size: 13px; color: var(--muted); line-height: 1.35; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.btn-block { width: 100%; }
.send { flex-direction: column; align-items: stretch; }
.alt-send { font-size: 14px; color: var(--muted); text-align: center; }
.link { background: none; border: 0; padding: 0; font: inherit; color: var(--navy-2); text-decoration: underline; cursor: pointer; }
.link:disabled { opacity: .5; cursor: not-allowed; }
.empty { color: var(--muted); padding: 24px 0; }

@media (max-width: 860px) {
  .all-btn { font-size: 14px; }
  .nav .quick { height: 44px; }
  .mega { position: fixed; top: auto; bottom: 0; max-height: 78vh; border-radius: 20px 20px 0 0; z-index: 70; }
  .mega-grid { grid-template-columns: 1fr 1fr; gap: 4px 16px; }
  body.mega-open::after { content: ""; position: fixed; inset: 0; background: rgba(0, 20, 45, .5); z-index: 65; }
  body.mega-open .nav { z-index: 80; }
  body.mega-open .wa-float { display: none; }
  .mega-head { display: flex !important; align-items: center; justify-content: space-between; position: sticky; top: 0; background: #fff; padding-top: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
  .mega-head .lb-close { position: static; }
}
@media (max-width: 480px) {
  .nav .quick { display: none; }
  .all-btn { width: 100%; justify-content: center; }
  .mega-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
