/* =========================================================
   PROJETAJ ENGENHARIA — estilos globais (v2)
   Mobile-first · paleta da marca · técnico, denso e vivo
   ========================================================= */

:root {
  --navy:       #0E2148;
  --navy-deep:  #060f27;
  --navy-800:   #0b1b3d;
  --navy-700:   #16305e;
  --navy-600:   #1d3d73;
  --red:        #D81E2C;
  --red-bright: #ff2d3c;
  --red-dark:   #b51623;
  --ink:        #16213a;
  --muted:      #5b6781;
  --muted-2:    #7a86a3;
  --line:       #e3e7ef;
  --line-2:     #eef1f7;
  --bg:         #ffffff;
  --bg-alt:     #f4f6fb;
  --white:      #ffffff;

  --grad-red:   linear-gradient(135deg, #ff3140 0%, #D81E2C 55%, #a8121e 100%);
  --grad-navy:  linear-gradient(165deg, #16305e 0%, #0E2148 45%, #060f27 100%);

  --radius:     14px;
  --radius-lg:  20px;
  --radius-xl:  26px;
  --maxw:       1180px;
  --header-h:   72px;

  --shadow-sm:  0 1px 3px rgba(14, 33, 72, 0.08);
  --shadow:     0 12px 30px -10px rgba(14, 33, 72, 0.22);
  --shadow-lg:  0 30px 70px -24px rgba(14, 33, 72, 0.38);
  --shadow-red: 0 14px 30px -12px rgba(216, 30, 44, 0.55);

  --ring:       0 0 0 3px rgba(216, 30, 44, 0.28);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }
::selection { background: rgba(216,30,44,.85); color: #fff; }

/* ===== Placeholder markers (conteúdo a confirmar) ===== */
.todo {
  background: #fff6d6;
  border-bottom: 1px dashed #c9a227;
  color: #7a5c00;
  font-style: italic;
  padding: 0 3px;
  border-radius: 3px;
}
.ph-img {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(14,33,72,.03), rgba(14,33,72,.06)),
    repeating-linear-gradient(45deg, #eef1f7 0 12px, #e7ebf4 12px 24px);
  border: 1.5px dashed #b3bdd4;
  border-radius: var(--radius-lg);
  color: var(--muted);
  font-size: 13px; font-weight: 600;
  letter-spacing: .02em;
  min-height: 200px;
  padding: 20px;
  overflow: hidden;
}
.ph-img::before {
  content: "";
  position: absolute; top: 12px; left: 12px;
  width: 26px; height: 26px;
  border-top: 2px solid rgba(14,33,72,.25);
  border-left: 2px solid rgba(14,33,72,.25);
  border-radius: 4px 0 0 0;
}
.ph-img::after {
  content: "";
  position: absolute; bottom: 12px; right: 12px;
  width: 26px; height: 26px;
  border-bottom: 2px solid rgba(14,33,72,.25);
  border-right: 2px solid rgba(14,33,72,.25);
  border-radius: 0 0 4px 0;
}
.ph-img span { max-width: 260px; position: relative; z-index: 1; }

/* ===================== Layout ===================== */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: 22px;
  padding-right: 22px;
}

.section { padding: 64px 0; position: relative; }
.section--alt { background: var(--bg-alt); }
.section--navy { background: var(--grad-navy); color: #eef2fb; }

/* hairline divider on top of alt sections */
.section--alt::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; background: var(--red); border-radius: 2px;
}
.section--navy .eyebrow, .hero .eyebrow { color: #ff8d97; }
.section--navy .eyebrow::before, .hero .eyebrow::before { background: #ff8d97; }

h1, h2, h3 { color: var(--navy); line-height: 1.12; letter-spacing: -0.02em; font-weight: 800; }
.section--navy h1, .section--navy h2, .section--navy h3, .hero h1, .hero h2 { color: #fff; }

h1 { font-size: clamp(34px, 8vw, 60px); }
h2 { font-size: clamp(27px, 5.2vw, 40px); }
h3 { font-size: clamp(19px, 3.5vw, 23px); }

.lead { font-size: clamp(16px, 2.4vw, 18.5px); color: var(--muted); line-height: 1.7; }
.section--navy .lead, .hero .lead { color: #c3cde4; }

/* ===================== Buttons ===================== */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 700; font-size: 15px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s var(--ease), background .2s ease, box-shadow .25s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
  overflow: hidden;
}
.btn svg { width: 17px; height: 17px; }
.btn:active { transform: translateY(1px) scale(.99); }

.btn--primary { background: var(--grad-red); color: #fff; box-shadow: var(--shadow-red); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -12px rgba(216,30,44,.65); }
.btn--primary::after {
  content: ""; position: absolute; top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-18deg);
  transition: left .6s var(--ease);
}
.btn--primary:hover::after { left: 130%; }

.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy); background: var(--bg-alt); }
.btn--light { background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--outline-light { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.28); backdrop-filter: blur(4px); }
.btn--outline-light:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.55); }
.btn--block { width: 100%; justify-content: center; }

/* ===================== Header ===================== */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease, background .3s ease;
}
.site-header.is-scrolled {
  background: rgba(255,255,255,0.92);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -14px rgba(14,33,72,.3);
}
.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.brand { display: flex; align-items: center; }
.brand img { height: 38px; width: auto; transition: transform .2s ease; }
.brand:hover img { transform: scale(1.04); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-list > li > a,
.nav-list > li > button {
  position: relative;
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: 15px; color: var(--navy);
  padding: 10px 15px; border-radius: 9px;
  background: none; border: none; cursor: pointer; font-family: inherit;
  transition: background .2s ease, color .2s ease;
}
.nav-list > li > a::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 6px;
  height: 2px; background: var(--red); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav-list > li > a:hover { color: var(--red); }
.nav-list > li > a:hover::after { transform: scaleX(1); }
.nav-list > li > button:hover { background: var(--bg-alt); color: var(--red); }
.nav-list > li > a.is-active { color: var(--red); }
.nav-list > li > a.is-active::after { transform: scaleX(1); }

.has-dropdown { position: relative; }
.dropdown-toggle .caret { transition: transform .25s var(--ease); font-size: 10px; }
.has-dropdown.open .caret { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 268px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s ease, transform .2s var(--ease), visibility .2s;
}
.has-dropdown.open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: block; padding: 11px 13px; border-radius: 10px;
  font-weight: 600; color: var(--navy);
  border-left: 2px solid transparent;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.dropdown a small { display: block; font-weight: 400; font-size: 12.5px; color: var(--muted); margin-top: 1px; }
.dropdown a:hover { background: var(--bg-alt); color: var(--red); border-left-color: var(--red); }

.header-cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line); border-radius: 12px;
  background: #fff; cursor: pointer;
  align-items: center; justify-content: center;
  transition: border-color .2s ease;
}
.nav-toggle:hover { border-color: var(--navy); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--navy);
  border-radius: 2px; transition: transform .25s var(--ease), opacity .2s ease;
}
.nav-toggle span { position: relative; }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ===================== Hero ===================== */
.hero {
  position: relative;
  background: var(--grad-navy);
  color: #eef2fb;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; z-index: -2; inset: 0;
  background:
    radial-gradient(90% 80% at 88% -10%, rgba(216,30,44,.28), transparent 55%),
    radial-gradient(70% 60% at 0% 110%, rgba(29,61,115,.55), transparent 60%);
}
.hero::after {
  content: ""; position: absolute; z-index: -1; inset: 0; opacity: .55; pointer-events: none;
  background-image:
    linear-gradient(rgba(120,170,255,.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120,170,255,.10) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(120% 100% at 75% 18%, #000 30%, transparent 82%);
  mask-image: radial-gradient(120% 100% at 75% 18%, #000 30%, transparent 82%);
}
.hero .container { position: relative; z-index: 1; padding-top: 96px; padding-bottom: 104px; }
.hero h1 { color: #fff; max-width: 18ch; }
.hero .lead { color: #c3cde4; max-width: 54ch; margin-top: 20px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero h1 .hl { color: var(--red-bright); }

/* ===================== Grid / Cards ===================== */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: 1fr; }

.section-head { max-width: 66ch; margin-bottom: 38px; }

.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .28s var(--ease), box-shadow .28s ease, border-color .28s ease;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-red);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card .card-ico {
  width: 54px; height: 54px; border-radius: 15px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(216,30,44,.14), rgba(216,30,44,.06));
  color: var(--red);
  margin-bottom: 18px;
  transition: transform .28s var(--ease), background .28s ease, color .28s ease;
}
.card:hover .card-ico { background: var(--grad-red); color: #fff; transform: rotate(-4deg) scale(1.05); }
.card .card-ico svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 9px; }
.card p { color: var(--muted); font-size: 15px; }
.card .card-link {
  margin-top: 18px; font-weight: 700; color: var(--red);
  display: inline-flex; align-items: center; gap: 7px;
}
.card .card-link svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.card:hover .card-link svg { transform: translateX(4px); }

/* ===================== Service page flow ===================== */
.flow-steps {
  display: flex; flex-wrap: wrap; gap: 10px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em;
  color: var(--muted-2); text-transform: uppercase; margin-bottom: 14px;
}
.flow-steps li { display: inline-flex; align-items: center; gap: 10px; }
.flow-steps li:not(:last-child)::after { content: "→"; color: var(--red); font-weight: 700; }

.feature-list { display: grid; gap: 13px; margin-top: 10px; }
.feature-list li {
  display: flex; gap: 13px; align-items: flex-start;
  font-size: 15.5px;
}
.feature-list .tick {
  flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(34,160,80,.18), rgba(34,160,80,.08));
  color: #1d8a47;
  display: grid; place-items: center; font-size: 13px; margin-top: 2px; font-weight: 800;
}

.split { display: grid; gap: 32px; align-items: center; }

.steps { display: grid; gap: 16px; counter-reset: step; }
.step {
  position: relative;
  display: flex; gap: 18px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px;
  transition: transform .22s var(--ease), box-shadow .22s ease, border-color .22s ease;
}
.step:hover { transform: translateX(4px); box-shadow: var(--shadow); border-color: #cfd6e6; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 13px;
  background: var(--grad-navy); color: #fff; font-weight: 800; font-size: 15px;
  display: grid; place-items: center; font-family: var(--mono);
  box-shadow: var(--shadow-sm);
}
.step h4 { color: var(--navy); font-size: 16.5px; margin-bottom: 3px; }
.step p { color: var(--muted); font-size: 14.5px; }

.cta-band {
  position: relative;
  background: var(--grad-navy);
  color: #fff; border-radius: var(--radius-xl);
  padding: 48px 30px; text-align: center;
  overflow: hidden;
  isolation: isolate;
  box-shadow: var(--shadow-lg);
}
.cta-band::before {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background: radial-gradient(90% 130% at 88% 8%, rgba(216,30,44,.32), transparent 58%);
}
.cta-band::after {
  content: ""; position: absolute; z-index: -1; inset: 0; opacity: .5;
  background-image:
    linear-gradient(rgba(120,170,255,.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120,170,255,.10) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(90% 100% at 20% 100%, #000, transparent 75%);
  mask-image: radial-gradient(90% 100% at 20% 100%, #000, transparent 75%);
}
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: #c3cde4; max-width: 54ch; margin: 0 auto 26px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat {
  position: relative;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px;
  overflow: hidden;
  transition: transform .22s var(--ease), box-shadow .22s ease;
}
.stat:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.stat::before {
  content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px;
  background: var(--grad-red); border-radius: 0 3px 3px 0;
}
.stat .num {
  font-family: var(--mono); font-size: clamp(28px,6vw,38px); font-weight: 700;
  color: var(--navy); line-height: 1.1;
}
.stat .lbl { font-size: 13.5px; color: var(--muted); margin-top: 4px; }

/* ===================== Contact ===================== */
.contact-grid { display: grid; gap: 30px; }
.info-list { display: grid; gap: 16px; }
.info-item {
  display: flex; gap: 15px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px;
  transition: transform .2s var(--ease), box-shadow .2s ease, border-color .2s ease;
}
.info-item:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: #cfd6e6; }
.info-item .ico {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(14,33,72,.10), rgba(14,33,72,.04));
  display: grid; place-items: center; color: var(--navy);
}
.info-item .ico svg { width: 21px; height: 21px; }
.info-item .k { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.info-item .v { font-weight: 600; color: var(--navy); }
.info-item a.v:hover { color: var(--red); }

/* ===================== Footer ===================== */
.site-footer {
  position: relative;
  background: var(--navy-deep); color: #b9c4dc;
  padding: 56px 0 26px;
  font-size: 14.5px;
}
.site-footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-red);
}
.footer-grid { display: grid; gap: 32px; }
.site-footer .f-brand img { height: 38px; filter: brightness(0) invert(1); opacity: .96; margin-bottom: 16px; }
.site-footer h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.site-footer a { transition: color .18s ease, padding .18s ease; }
.site-footer a:hover { color: #fff; }
.f-links { display: grid; gap: 10px; }
.f-links a:hover { padding-left: 5px; color: #fff; }
.f-contact { display: grid; gap: 11px; }
.f-contact strong { color: #fff; font-weight: 600; }
.footer-bottom {
  margin-top: 38px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.10);
  display: flex; flex-direction: column; gap: 8px;
  font-size: 12.5px; color: #8493b4;
}
.footer-bottom .cnpj { font-family: var(--mono); }

/* ===================== WhatsApp fixo ===================== */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 200;
  display: inline-flex; align-items: center; gap: 10px;
  background: #25D366; color: #073b22;
  padding: 14px 17px; border-radius: 999px;
  font-weight: 800; font-size: 15px;
  box-shadow: 0 14px 34px -8px rgba(7, 59, 34, .55);
  transition: transform .2s var(--ease), box-shadow .25s ease;
}
.wa-float::after {
  content: ""; position: absolute; inset: -4px; border-radius: 999px;
  border: 2px solid rgba(37,211,102,.5);
  animation: wa-pulse 2.4s ease-out infinite;
}
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: .7; }
  70%,100% { transform: scale(1.25); opacity: 0; }
}
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 18px 38px -10px rgba(7,59,34,.6); }
.wa-float svg { width: 24px; height: 24px; flex: 0 0 auto; position: relative; z-index: 1; }
.wa-float .wa-label { display: none; position: relative; z-index: 1; }

/* ===================== Scroll reveal ===================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

/* ===================== Utils ===================== */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.muted { color: var(--muted); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ===================== Responsive ===================== */
@media (min-width: 560px) {
  .wa-float .wa-label { display: inline; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 760px) {
  .section { padding: 88px 0; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr 1fr; gap: 52px; }
  .split--media-first > :first-child { order: 2; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1.2fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
  .cta-band { padding: 64px 44px; }
}

@media (max-width: 859px) {
  .nav-toggle { display: inline-flex; }
  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0;
    z-index: 150;
    background: #fff;
    flex-direction: column; align-items: stretch;
    padding: 18px 22px 30px;
    transform: translateX(100%);
    transition: transform .3s var(--ease);
    overflow-y: auto;
    border-top: 1px solid var(--line);
  }
  .nav-open .nav { transform: translateX(0); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-list > li > a,
  .nav-list > li > button { width: 100%; justify-content: space-between; padding: 15px 12px; font-size: 17px; border-radius: 11px; }
  .nav-list > li > a::after { display: none; }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; border-left: 2px solid var(--line);
    border-radius: 0; margin: 2px 0 8px 12px; padding: 0;
    max-height: 0; overflow: hidden; transition: max-height .3s var(--ease);
  }
  .has-dropdown.open .dropdown { max-height: 360px; }
  .header-cta .btn--header { display: none; }
}

@media (min-width: 860px) {
  .nav { display: flex !important; }
}

/* ===================== Faixa de números (dark) ===================== */
.metrics-band { background: var(--navy-deep); color: #fff; position: relative; }
.metrics-band::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad-red);
}
.metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.metrics .m { padding: 26px 6px; border-top: 1px solid rgba(255,255,255,.12); }
.metrics .m:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.12); }
.metrics .m .n {
  font-family: var(--mono); font-size: clamp(30px, 6vw, 44px); font-weight: 700; color: #fff; line-height: 1;
}
.metrics .m .n .u { color: var(--red-bright); }
.metrics .m .l { font-size: 13px; color: #9fb0d4; margin-top: 6px; }

/* ===================== Card com topo "foto" ===================== */
.card--media { padding: 0; }
.card--media::before { display: none; }
.card--media .card-media {
  position: relative; height: 128px; overflow: hidden;
  background: var(--grad-navy);
  display: flex; align-items: flex-end; padding: 16px 20px;
}
.card--media .card-media::after {
  content: ""; position: absolute; inset: 0; opacity: .22;
  background-image:
    linear-gradient(rgba(120,170,255,.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120,170,255,.6) 1px, transparent 1px);
  background-size: 22px 22px;
  transition: opacity .35s var(--ease);
}
.card--media:hover .card-media::after { opacity: .34; }
.card--media .card-media .m-ico { position: absolute; top: 14px; right: 16px; color: rgba(255,255,255,.22); }
.card--media .card-media .m-ico svg { width: 40px; height: 40px; }
.card--media .card-media .m-num {
  position: relative; font-family: var(--mono); font-size: 13px; letter-spacing: .12em; color: #c3cde4;
}
.card--media .card-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card--media .card-body .card-link { margin-top: auto; }

@media (min-width: 560px) {
  .metrics { grid-template-columns: repeat(4, 1fr); }
  .metrics .m { border-top: none; border-left: 1px solid rgba(255,255,255,.12); }
  .metrics .m:nth-child(odd) { border-right: none; }
  .metrics .m:first-child { border-left: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .card:hover, .step:hover, .stat:hover, .info-item:hover, .btn:hover { transform: none; }
}
