/* ============================================================================
   JC ESCAPAMENTOS — heavy industrial / forged-steel + exhaust-heat aesthetic
   Tokens → global → components, top to bottom.
   ========================================================================== */

:root {
  /* Surfaces — gunmetal / forged steel */
  --ink:        #16181d;
  --ink-2:      #0f1115;
  --surface:    #1c1f26;
  --surface-2:  #23272f;
  --surface-3:  #2b303a;

  /* Text */
  --paper:      #f1efe9;
  --muted:      #9aa1aa;
  --muted-2:    #6e757e;

  /* Accents — exhaust / welding heat */
  --ember:        #e0231c;
  --ember-bright: #ff5247;
  --ember-deep:   #9c0f10;
  --steel:        #cfd4da;   /* chrome */
  --steel-bright: #eef1f4;   /* polished highlight */
  --steel-dim:    #868d96;
  --steel-grad:   linear-gradient(135deg, #f4f6f8 0%, #c5cbd2 44%, #7e858e 100%); /* brushed chrome */
  --steel-glow:   rgba(207,212,218,.26);
  --hazard:       #f4b223;

  /* Lines & glass */
  --line:       rgba(255,255,255,.08);
  --line-soft:  rgba(255,255,255,.045);

  /* Type */
  --font-display: 'Anton', 'Arial Narrow', sans-serif;
  --font-body:    'Saira', system-ui, sans-serif;
  --font-mono:    'Space Mono', ui-monospace, monospace;

  /* Geometry */
  --maxw: 1180px;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 30px 70px rgba(0,0,0,.55);
  --shadow-sm: 0 16px 36px rgba(0,0,0,.45);
  --ember-grad: linear-gradient(135deg, var(--ember-bright) 0%, var(--ember) 48%, var(--ember-deep) 100%);
  --section-pad: clamp(4.5rem, 9vw, 8rem);

  /* hazard stripe */
  --hazard-stripe: repeating-linear-gradient(45deg, var(--hazard) 0 14px, #14161a 14px 28px);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }

body {
  font-family: var(--font-body);
  color: var(--paper);
  background: var(--ink);
  line-height: 1.65;
  font-size: 1.04rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* fine grain overlay across the whole page */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9000;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.04'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: .98;
  letter-spacing: .01em;
  text-transform: uppercase;
}

.mono { font-family: var(--font-mono); }

.wrap { width: min(100% - 2.4rem, var(--maxw)); margin-inline: auto; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 10000;
  background: var(--steel); color: #16181d; padding: .6rem 1rem; font-weight: 700;
}
.skip-link:focus { left: .6rem; top: .6rem; }

:focus-visible { outline: 2px solid var(--steel-bright); outline-offset: 3px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-body); font-weight: 700; font-size: .98rem;
  letter-spacing: .02em;
  padding: .92rem 1.4rem; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .25s ease, background .25s ease, color .2s ease;
  white-space: nowrap;
}
.btn svg { flex: none; }
.btn--primary { background: var(--ember-grad); color: #fff; box-shadow: 0 12px 28px rgba(224,35,28,.32); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(224,35,28,.46); }
.btn--whats { background: #1f2a24; color: #b8f0cf; border-color: rgba(120,230,170,.3); }
.btn--whats:hover { transform: translateY(-2px); background: #25382e; color: #d3ffe7; }
.btn--ghost { background: transparent; color: var(--paper); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--steel); color: var(--steel-bright); transform: translateY(-2px); }

/* ---------- shared section bits ---------- */
.section { padding-block: var(--section-pad); position: relative; }
.section__head { max-width: 640px; margin-bottom: clamp(2.4rem, 5vw, 3.6rem); }
.section__title {
  font-size: clamp(2.3rem, 5.6vw, 4rem);
  margin: .5rem 0 1rem;
}
.section__sub { color: var(--muted); font-size: 1.08rem; max-width: 52ch; }
.eyebrow, .kicker {
  font-family: var(--font-mono); font-size: .8rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--steel);
}
.eyebrow .mono { color: var(--steel-dim); margin-right: .4rem; }
.hl {
  background: var(--steel-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ===================== NAV ===================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(18,20,25,.82); backdrop-filter: blur(12px) saturate(1.2);
  border-bottom-color: var(--line);
}
.nav__inner {
  width: min(100% - 2.4rem, var(--maxw)); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--paper); }
.brand__logo { height: 46px; width: auto; display: block; }

.nav__links { display: flex; align-items: center; gap: 1.7rem; }
.nav__links a { font-weight: 600; font-size: .96rem; color: var(--paper); position: relative; transition: color .2s; }
.nav__links a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--steel); transition: width .25s ease;
}
.nav__links a:not(.nav__cta):hover { color: var(--steel-bright); }
.nav__links a:not(.nav__cta):hover::after { width: 100%; }
.nav__ig {
  display: inline-flex; align-items: center; gap: .4rem; color: var(--steel) !important;
  transition: color .2s ease;
}
.nav__ig:hover { color: var(--steel-bright) !important; }
.nav__ig svg { flex: none; }
.nav__ig-txt { display: none; }

.nav__cta {
  background: var(--ember-grad); color: #fff !important; padding: .58rem 1.1rem;
  border-radius: 999px; font-weight: 700;
}
.nav__cta:hover { box-shadow: 0 8px 20px rgba(224,35,28,.4); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 40px; height: 40px; padding: 8px; }
.nav-toggle span { display: block; height: 2.4px; background: var(--paper); border-radius: 2px; margin: 5px 0; transition: transform .3s ease, opacity .25s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.4px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.4px) rotate(-45deg); }

/* ===================== HERO ===================== */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img,
.hero__media video { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.05) contrast(1.05); }

/* ===================== TICKER STRIP ===================== */
.ticker { overflow: hidden; background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; padding-block: .72rem; }
.ticker::before, .ticker::after { content: ""; position: absolute; top: 0; bottom: 0; width: 70px; z-index: 2; pointer-events: none; }
.ticker::before { left: 0; background: linear-gradient(to right, var(--surface-2), transparent); }
.ticker::after  { right: 0; background: linear-gradient(to left, var(--surface-2), transparent); }
.ticker__track { display: flex; width: max-content; animation: ticker-scroll 32s linear infinite; }
.ticker__track:hover { animation-play-state: paused; }
.ticker__set { display: flex; align-items: center; flex-shrink: 0; }
.ticker__item {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: 0 2rem; border-right: 1px solid var(--line);
  font-family: var(--font-mono); font-size: .78rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--steel); white-space: nowrap;
}
.ticker__item svg { width: 14px; height: 14px; color: var(--ember); flex: none; }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(120% 90% at 80% 110%, rgba(207,212,218,.12), transparent 55%),
    linear-gradient(90deg, rgba(14,16,20,.82) 0%, rgba(14,16,20,.55) 42%, rgba(14,16,20,.18) 100%),
    linear-gradient(0deg, rgba(14,16,20,.88) 0%, rgba(14,16,20,.05) 55%);
}
.hero__inner { position: relative; z-index: 2; width: min(100% - 2.4rem, var(--maxw)); margin-inline: auto; padding-top: 80px; padding-bottom: clamp(2.8rem, 6vw, 5rem); }
.kicker { display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 1rem; }
.kicker__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 0 4px rgba(224,35,28,.22); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 4px rgba(224,35,28,.22); } 50% { box-shadow: 0 0 0 9px rgba(224,35,28,0); } }
.hero__title { font-size: clamp(2rem, 4.8vw, 3.8rem); letter-spacing: 0; margin-bottom: 1rem; text-shadow: 0 4px 24px rgba(0,0,0,.55); }
.hero__lead { color: #d8dce1; font-size: clamp(.95rem, 1.4vw, 1.1rem); max-width: 52ch; margin-bottom: 1.8rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ===================== SERVICES ===================== */
.services { background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%); }

.srv {
  display: grid;
  grid-template-columns: 340px 1fr;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 2.6rem;
  min-height: 420px;
}

/* left nav */
.srv__nav { border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.srv__item {
  position: relative; display: flex; align-items: center; gap: .9rem;
  padding: 1.35rem 1.5rem; background: none; border: none;
  border-bottom: 1px solid var(--line); color: var(--muted-2);
  cursor: pointer; text-align: left; transition: background .18s, color .18s;
}
.srv__item:last-child { border-bottom: none; flex: 1; align-items: flex-start; padding-top: 1.35rem; }
.srv__item::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--ember); transform: scaleY(0); transform-origin: top;
  transition: transform .28s cubic-bezier(.4,0,.2,1);
}
.srv__item:hover { background: rgba(255,255,255,.025); color: var(--steel); }
.srv__item.active { background: rgba(224,35,28,.05); color: var(--paper); }
.srv__item.active::before { transform: scaleY(1); }
.srv__num { font-size: .72rem; letter-spacing: .16em; color: var(--steel-dim); flex: none; transition: color .18s; }
.srv__item.active .srv__num { color: var(--ember); }
.srv__name { font-size: .94rem; font-weight: 600; font-family: var(--font-body); line-height: 1.3; }

/* right panel */
.srv__panel { display: flex; flex-direction: column; background: var(--surface); }
.srv__media { flex: 1; overflow: hidden; position: relative; min-height: 260px; }
.srv__media img,
.srv__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.srv__body { padding: 1.4rem 1.8rem 1.6rem; border-top: 1px solid var(--line); }
.srv__title { font-size: clamp(1.1rem, 2vw, 1.4rem); margin-bottom: .55rem; }
.srv__desc { color: var(--muted); font-size: .93rem; line-height: 1.7; }

/* ===================== LIGHTBOX ===================== */
.lightbox { display: none; position: fixed; inset: 0; z-index: 9000; background: rgba(8,10,13,.94); backdrop-filter: blur(6px); align-items: center; justify-content: center; cursor: zoom-out; padding: 1rem; }
.lightbox--open { display: flex; }
.lightbox__figure { display: flex; flex-direction: column; align-items: center; gap: .7rem; max-width: 100%; }
.lightbox__img { max-width: min(92vw, 1200px); max-height: 82vh; object-fit: contain; border-radius: var(--radius); box-shadow: 0 32px 80px rgba(0,0,0,.7); cursor: default; }
.lightbox__cap { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--steel); }
.lightbox__close { position: fixed; top: 1.2rem; right: 1.4rem; background: rgba(22,24,29,.8); border: 1px solid var(--line); border-radius: 50%; width: 42px; height: 42px; font-size: 1.1rem; color: var(--paper); cursor: pointer; transition: color .2s, border-color .2s; display: grid; place-items: center; }

/* ===================== DIFERENCIAIS ===================== */
.diff { background: var(--ink-2); }
.diff__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.diff__media { position: relative; }
.diff__media img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); }
.diff__badge {
  position: absolute; left: -14px; bottom: 26px; background: var(--ink); border: 1px solid var(--line);
  border-left: 4px solid var(--steel); padding: .9rem 1.2rem; border-radius: 8px; box-shadow: var(--shadow-sm);
}
.diff__badge .mono { display: block; color: var(--steel-bright); font-size: .72rem; letter-spacing: .15em; margin-bottom: .25rem; }
.diff__badge strong { font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; line-height: 1; text-transform: uppercase; }
.diff__list { margin-top: 1.6rem; display: grid; gap: 1.1rem; }
.diff__list li { display: flex; gap: 1rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--line-soft); }
.diff__list li:last-child { border-bottom: 0; padding-bottom: 0; }
.diff__num { color: var(--steel); font-size: 1rem; font-weight: 700; flex: none; padding-top: .2rem; }
.diff__list strong { display: block; font-size: 1.12rem; font-weight: 700; margin-bottom: .2rem; }
.diff__list p { color: var(--muted); font-size: .96rem; }

/* ===================== GALLERY ===================== */
.gallery { background: linear-gradient(180deg, var(--ink-2), var(--ink)); }
.gallery__grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr 1.25fr 1fr;
  grid-template-rows: 290px 220px 265px;
  gap: .85rem;
  grid-template-areas:
    "solda      caminhao    caminhao    silenc"
    "solda      ponteiras   ponteiras   silenc"
    "estoque    filtro      drone       drone";
}
.ga { position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); cursor: zoom-in; }
.ga img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.25,.46,.45,.94), filter .4s ease; filter: saturate(.92); }
.ga figcaption {
  position: absolute; left: 0; bottom: 0; width: 100%; padding: 2rem 1.1rem .85rem;
  font-family: var(--font-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--paper); background: linear-gradient(transparent, rgba(8,10,13,.9));
  transform: translateY(6px); opacity: 0; transition: opacity .28s ease, transform .28s ease;
}
.ga:hover img { transform: scale(1.06); filter: saturate(1.2) brightness(1.05); }
.ga:hover figcaption { opacity: 1; transform: translateY(0); }
.ga--solda     { grid-area: solda; }
.ga--caminhao  { grid-area: caminhao; }
.ga--silenc    { grid-area: silenc; }
.ga--ponteiras { grid-area: ponteiras; }
.ga--estoque   { grid-area: estoque; }
.ga--filtro    { grid-area: filtro; }
.ga--drone     { grid-area: drone; }

/* ===================== ABOUT ===================== */
.about { background: var(--ink); }
.about__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about__body p { color: var(--muted); margin-top: 1rem; font-size: 1.05rem; }
.about__body p strong { color: var(--paper); }
.about__tags { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.7rem; }
.about__tags span { font-family: var(--font-mono); font-size: .8rem; padding: .4rem .8rem; border: 1px solid var(--line); border-radius: 999px; color: var(--steel); background: var(--surface); }
.about__media img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }

/* ===================== FAQ ===================== */
.faq { background: var(--ink-2); }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.faq__list { display: grid; gap: .8rem; }
.faq details {
  background: linear-gradient(165deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 1.3rem;
  transition: border-color .2s ease;
}
.faq details[open] { border-color: rgba(207,212,218,.4); }
.faq summary {
  list-style: none; cursor: pointer; font-weight: 700; font-size: 1.06rem;
  padding: 1.15rem 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); color: var(--steel); font-size: 1.5rem; transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 1.2rem; max-width: 60ch; }

/* ===================== CONTACT ===================== */
.contact { background: linear-gradient(180deg, var(--ink-2), var(--ink)); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: stretch; }
.contact__lead { color: var(--muted); margin: 1rem 0 1.8rem; max-width: 46ch; }
.contact__list { display: grid; gap: 1.1rem; margin-bottom: 1.8rem; }
.contact__list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact__ico { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; background: rgba(207,212,218,.10); border: 1px solid rgba(207,212,218,.24); color: var(--steel-bright); flex: none; }
.contact__ico svg { width: 22px; height: 22px; }
.contact__list .mono { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--steel-dim); margin-bottom: .15rem; }
.contact__list a { font-weight: 600; transition: color .2s; }
.contact__list a:hover { color: var(--steel-bright); }
.contact__hours { font-weight: 600; line-height: 1.5; }
.contact__actions { display: flex; gap: .7rem; flex-wrap: wrap; }
.contact__map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 380px; box-shadow: var(--shadow); }
.contact__map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; filter: grayscale(.25) contrast(1.05); }

/* ===================== FOOTER ===================== */
.footer { background: var(--ink-2); border-top: 1px solid var(--line); padding-top: clamp(3rem, 6vw, 4.5rem); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1.4fr; gap: 2.2rem; padding-bottom: 2.5rem; }
.brand--footer { font-family: var(--font-display); font-size: 1.5rem; text-transform: uppercase; color: var(--paper); }
.brand--footer strong { color: var(--ember); font-weight: 400; }
.footer__brand p { color: var(--muted); margin-top: .9rem; max-width: 38ch; font-size: .96rem; }
.footer h4 { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .14em; color: var(--steel-dim); margin-bottom: 1rem; font-weight: 700; }
.footer__nav { display: flex; flex-direction: column; gap: .55rem; }
.footer__nav a, .footer__contact a { color: var(--muted); font-weight: 600; transition: color .2s; width: fit-content; }
.footer__nav a:hover, .footer__contact a:hover { color: var(--steel-bright); }
.footer__contact { display: flex; flex-direction: column; gap: .5rem; }
.footer__contact p { color: var(--muted); font-size: .92rem; margin-top: .3rem; }
.footer__bar {
  border-top: 1px solid var(--line); padding-block: 1.3rem; display: flex; flex-wrap: wrap; gap: .6rem;
  justify-content: space-between; align-items: center; width: min(100% - 2.4rem, var(--maxw)); margin-inline: auto;
  color: var(--muted-2); font-size: .85rem;
}
.footer__bar .mono { font-size: .78rem; }
.footer__bar a { color: var(--steel); }

/* ===================== FLOATING WHATSAPP ===================== */
.fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 800;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #1faf54; color: #fff; box-shadow: 0 12px 30px rgba(31,175,84,.45);
  transition: transform .2s ease, box-shadow .25s ease;
}
.fab:hover { transform: scale(1.08) translateY(-2px); box-shadow: 0 16px 38px rgba(31,175,84,.6); }

/* ===================== REVEAL ===================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.visible { opacity: 1; transform: none; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 980px) {
  .srv { grid-template-columns: 260px 1fr; }
  .diff__grid, .about__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .diff__media { order: -1; }
  .about__media { order: -1; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .gallery__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(5, 210px);
    grid-template-areas:
      "caminhao  caminhao"
      "solda     silenc"
      "ponteiras estoque"
      "filtro    filtro"
      "drone     drone";
  }
}

@media (max-width: 760px) {
  body.menu-open { overflow: hidden; }            /* lock background scroll behind the menu */

  .nav-toggle { display: block; }
  .nav__links {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(16,18,22,.98); backdrop-filter: blur(14px); padding: .4rem 1.2rem 1.5rem;
    border-bottom: 1px solid var(--line); box-shadow: 0 26px 44px rgba(0,0,0,.5);
    max-height: calc(100svh - 72px); overflow-y: auto; -webkit-overflow-scrolling: touch;
    transform: translateY(-130%); transition: transform .35s cubic-bezier(.4,0,.2,1); pointer-events: none;
  }
  .nav__links.open { transform: translateY(0); pointer-events: auto; }
  .nav__links a { padding: 1.05rem .2rem; border-bottom: 1px solid var(--line-soft); font-size: 1.05rem; }
  .nav__links a:not(.nav__cta)::after { display: none; }
  .nav__ig { gap: .6rem; }
  .nav__ig-txt { display: inline; }
  .nav__cta { text-align: center; margin-top: .9rem; padding: .95rem 1.1rem; border-bottom: 0; }

  .section { padding-block: clamp(3.2rem, 9vw, 4.6rem); }
  .hero { min-height: 92svh; }
  .hero__actions { gap: .65rem; }
  .hero__actions .btn { flex: 1 1 100%; justify-content: center; }
  .hero__overlay {
    background:
      radial-gradient(120% 90% at 80% 110%, rgba(207,212,218,.08), transparent 55%),
      linear-gradient(90deg, rgba(14,16,20,.92) 0%, rgba(14,16,20,.82) 50%, rgba(14,16,20,.72) 100%),
      linear-gradient(0deg, rgba(14,16,20,.95) 0%, rgba(14,16,20,.25) 60%);
  }
  .diff__badge { left: 12px; bottom: 14px; }
  .srv { grid-template-columns: 1fr; }
  .srv__nav { flex-direction: row; overflow-x: auto; border-right: none; border-bottom: 1px solid var(--line); -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .srv__nav::-webkit-scrollbar { display: none; }
  .srv__item { flex-direction: column; align-items: flex-start; min-width: 160px; border-bottom: none; border-right: 1px solid var(--line); flex: 1; }
  .srv__item:last-child { flex: 1; align-items: flex-start; padding-top: 1.35rem; }
  .srv__item::before { top: auto; bottom: 0; left: 0; right: 0; width: auto; height: 3px; transform: scaleX(0); transform-origin: left; }
  .srv__item.active::before { transform: scaleX(1); }
  .footer__grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .gallery__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(5, 190px);
    grid-template-areas:
      "caminhao  caminhao"
      "solda     silenc"
      "ponteiras estoque"
      "filtro    filtro"
      "drone     drone";
  }
}

@media (max-width: 460px) {
  .brand__logo { height: 42px; }
  .cards { grid-template-columns: 1fr; }
  .gallery__grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(7, 210px);
    grid-template-areas: "caminhao" "solda" "silenc" "ponteiras" "estoque" "filtro" "drone";
  }
  .section__title { font-size: clamp(2rem, 9vw, 2.6rem); }
  .hero__lead { font-size: 1.02rem; }
  .contact__actions .btn { flex: 1 1 100%; justify-content: center; }
}

/* short landscape phones: don't force a full-height hero or content overflows */
@media (max-height: 560px) and (orientation: landscape) {
  .hero { min-height: auto; padding-bottom: 56px; }
  .hero__inner { padding-top: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
