/* ==========================================================================
   IELEN Engenharia — estilos do site
   Marca: laranja #FE5E00 · grafite #363C3C · preto #373435 · cinza #D8D8D6
   Estrutura de referência: armac.com.br (barra superior, header fixo, vídeo,
   faixa de números, soluções, segmentos, contato, rodapé)
   ========================================================================== */

:root {
  --orange: #FE5E00;
  --orange-600: #E85400;
  --orange-ink: #C24600;     /* laranja para texto pequeno em fundo claro (contraste AA) */
  --orange-light: #FF8A45;   /* laranja para texto pequeno em fundo escuro */
  --ink: #373435;
  --graphite: #363C3C;
  --night: #262425;
  --night-2: #1E1C1D;
  --gray: #D8D8D6;
  --band: #ECEBE8;
  --paper: #F5F4F2;
  --line: #E3E1DE;
  --muted: #5F5B5C;
  --on-dark: #D9D6D2;
  --danger: #B3261E;
  --ok: #1B7F3B;
  --green: #17803C;          /* botão "Solicitar orçamento" do topo (texto branco, contraste AA) */
  --green-dark: #116330;

  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --container: 1200px;
  --gutter: 24px;
  --radius: 3px;
  --topbar-h: 40px;
  --header-h: 84px;
  --shadow: 0 24px 48px -24px rgba(30, 28, 29, .38);
  --cut: 36px;               /* chanfro, como o canto do "I" da marca */
  --quick-overlap: 96px;     /* quanto as 3 caixas sobem sobre a base do vídeo */
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 800; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
[id] { scroll-margin-top: calc(var(--header-h) + 8px); }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding: clamp(64px, 8vw, 112px) 0; }

.skip {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  background: #fff; color: var(--ink); padding: .6rem 1rem; font-weight: 700;
}
.skip:focus { top: 16px; }

.ico {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.ico--fill { fill: currentColor; stroke: none; }

/* ---------- Tipografia de seção ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .75em;
  margin: 0 0 1rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--orange-ink);
}
.eyebrow::before {
  content: ""; width: 30px; height: 10px; flex: none;
  background: var(--orange);
  clip-path: polygon(7px 0, 100% 0, calc(100% - 7px) 100%, 0 100%);
}
.eyebrow--light { color: var(--orange-light); }
.title { font-size: clamp(1.75rem, 1.15rem + 1.9vw, 2.6rem); color: var(--ink); margin-bottom: 1.1rem; }
.hl { color: var(--orange); }
.lead { font-size: 1.08rem; font-weight: 700; line-height: 1.5; color: var(--ink); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto clamp(36px, 4vw, 56px); }
.section-head .eyebrow { justify-content: center; }
.section-head .title, .page-banner__title { text-wrap: balance; }
.section-head__lead { color: var(--muted); font-size: 1.05rem; margin: 0; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px; padding: .8em 1.6em;
  border: 2px solid transparent; border-radius: var(--radius);
  font: 700 .95rem/1.2 var(--font); letter-spacing: .02em;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn .ico { width: 1.15em; height: 1.15em; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--orange); color: var(--night-2); }
.btn--primary:hover { background: var(--orange-600); }
.btn--quote { background: var(--green); color: #fff; }
.btn--quote:hover { background: var(--green-dark); }
.btn--dark { background: var(--night); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--paper); }
.btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn--ghost:hover { border-color: var(--orange); color: var(--orange-light); }
.btn--lg { min-height: 54px; padding: .95em 2em; font-size: 1rem; }
.btn--sm { min-height: 42px; padding: .6em 1.15em; font-size: .85rem; }
.btn--block { width: 100%; }

/* ---------- Seletor de idioma ---------- */
.lang { display: inline-flex; align-items: center; gap: 2px; }
.lang a {
  padding: .25em .5em; border-radius: var(--radius);
  font-weight: 700; font-size: .78rem; letter-spacing: .06em; text-decoration: none;
}
.lang a[aria-current="page"] { background: var(--orange); color: var(--night-2); }

/* ---------- Barra superior ---------- */
.topbar { background: var(--night); color: var(--on-dark); font-size: .8rem; }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--topbar-h); }
.topbar a { display: inline-flex; align-items: center; gap: .45em; text-decoration: none; transition: color .2s; }
.topbar a:hover { color: var(--orange-light); }
.topbar__contact { display: flex; align-items: center; gap: 1.25rem; }
.topbar__wa { background: rgba(255, 255, 255, .08); padding: .3em .85em; border-radius: 99px; font-weight: 600; }
.topbar__address .ico { color: var(--orange-light); }
.topbar__links { display: flex; align-items: center; gap: 1.5rem; }
.topbar .lang { padding-left: 1.25rem; border-left: 1px solid rgba(255, 255, 255, .15); }
.topbar .lang a:hover { color: #fff; }
.topbar .lang a[aria-current="page"]:hover { color: var(--night-2); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: #fff; border-bottom: 1px solid var(--line);
  transition: box-shadow .25s;
}
.header.is-scrolled { box-shadow: 0 10px 28px -16px rgba(0, 0, 0, .35); }
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 2rem; height: var(--header-h); }
.header__logo { display: block; flex: none; }
.header__logo img { width: 166px; height: auto; }
.header__toggle { display: none; }
.nav { display: flex; align-items: center; gap: 2.25rem; }
.nav__list { display: flex; align-items: center; gap: 2.25rem; }
.nav__list > li > a, .nav__toggle {
  position: relative; display: inline-flex; align-items: center; gap: .35em; padding: .5em 0;
  font: 700 .82rem/1.2 var(--font); letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; color: var(--ink); background: none; border: 0; cursor: pointer;
}
.nav__list > li > a::after, .nav__toggle::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--orange); transition: right .25s;
}
.nav__list > li > a:hover::after, .nav__list > li > a.is-active::after, .nav__list > li > a[aria-current="page"]::after,
.nav__toggle:hover::after, .nav__group.is-open .nav__toggle::after, .nav__group.is-current .nav__toggle::after { right: 0; }
.nav__mobile, .nav__extra, .nav__label { display: none; }
.nav__cta { white-space: nowrap; }

/* Submenu "Soluções": abre ao passar o mouse (computador) ou ao clicar/tocar (main.js) */
.nav__group { position: relative; }
.nav__toggle .ico { width: 1.1em; height: 1.1em; stroke-width: 2.2; transition: transform .2s; }
.nav__group.is-open .nav__toggle .ico { transform: rotate(180deg); }
.nav__sub {
  position: absolute; z-index: 60; top: calc(100% + 28px); left: 50%; width: 380px;
  padding: .5rem; background: #fff; border-top: 4px solid var(--orange);
  box-shadow: 0 28px 56px -18px rgba(30, 28, 29, .42);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.nav__sub::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 32px; } /* ponte: o mouse não "cai" no vão */
.nav__group.is-open .nav__sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
@media (hover: hover) and (min-width: 961px) {
  .nav__group:hover .nav__sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .nav__group:hover .nav__toggle .ico { transform: rotate(180deg); }
}
.nav__sub a {
  display: flex; align-items: flex-start; gap: .9rem; padding: .8rem .85rem;
  border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: background-color .2s;
}
.nav__sub a:hover, .nav__sub a[aria-current="page"] { background: var(--paper); }
.nav__sub-icon {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 42px; height: 42px; background: var(--night); color: var(--orange);
  clip-path: polygon(11px 0, 100% 0, 100% 100%, 0 100%, 0 11px); transition: background-color .2s, color .2s;
}
.nav__sub a:hover .nav__sub-icon, .nav__sub a[aria-current="page"] .nav__sub-icon { background: var(--orange); color: var(--night-2); }
.nav__sub-icon .ico { width: 22px; height: 22px; stroke-width: 1.7; }
.nav__sub-text strong { display: block; font-size: .92rem; font-weight: 800; }
.nav__sub-text small { display: block; margin-top: .15rem; font-size: .8rem; line-height: 1.4; color: var(--muted); }
/* Telas médias (961 a 1120px): menu um pouco mais compacto para caber nos 3 idiomas */
@media (max-width: 1120px) {
  .header__in { gap: 1.25rem; }
  .header__logo img { width: 148px; }
  .nav { gap: 1.1rem; }
  .nav__list { gap: 1.25rem; }
  .nav__list > li > a, .nav__toggle { font-size: .76rem; letter-spacing: .05em; }
  .nav__cta { padding-inline: 1.15em; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .topbar { display: none; }
  .header__logo img { width: 140px; }
  .header__toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; margin-right: -8px;
    border: 0; background: transparent; color: var(--ink); cursor: pointer;
  }
  .header__toggle .ico { width: 28px; height: 28px; }
  .nav {
    position: fixed; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; align-items: stretch; gap: 1.25rem;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    padding: .5rem var(--gutter) 2rem;
    background: #fff; border-top: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .35);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .header.nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list > li > a { display: block; padding: 1rem 0; font-size: .95rem; border-bottom: 1px solid var(--line); }
  .nav__list > li > a::after { display: none; }
  .nav__toggle { display: none; }
  .nav__label {
    display: block; padding: 1.1rem 0 .3rem;
    font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
  }
  .nav__sub {
    position: static; width: auto; padding: 0 0 .6rem; border: 0; border-bottom: 1px solid var(--line);
    box-shadow: none; opacity: 1; visibility: visible; transform: none; transition: none;
  }
  .nav__sub::before { display: none; }
  .nav__sub a { padding: .65rem 0; }
  .nav__sub a:hover, .nav__sub a[aria-current="page"] { background: none; }
  .nav__mobile { display: block; }
  .nav__cta { width: 100%; }
  .nav__extra { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
  .nav__phone { display: inline-flex; align-items: center; gap: .5em; font-weight: 700; text-decoration: none; }
  .nav__extra .lang:only-child { margin-inline: auto; }
  .nav__extra .lang a { font-size: .9rem; padding: .4em .7em; }
}

/* ---------- 1. Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  display: flex; align-items: flex-end; justify-content: center;
  height: calc(100svh - var(--header-h) - var(--topbar-h));
  min-height: 520px; max-height: 980px;
  background: var(--night);
}
.hero__media { position: absolute; inset: 0; }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(30, 28, 29, 0) 55%, rgba(30, 28, 29, .55) 100%);
}
.hero__actions {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 1.4rem;
  padding-bottom: calc(var(--quick-overlap) + clamp(1.25rem, 2.5vw, 2rem));
}
.hero__pause {
  position: absolute; z-index: 2; left: clamp(16px, 3vw, 32px); bottom: calc(var(--quick-overlap) + 16px);
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .7); background: rgba(30, 28, 29, .45); color: #fff;
  cursor: pointer; transition: background-color .2s;
}
.hero__pause:hover { background: rgba(30, 28, 29, .8); }
.hero__pause .ico { width: 18px; height: 18px; }
.hero__scroll {
  display: flex; justify-content: center; padding-top: 7px;
  width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .9); border-radius: 14px;
}
.hero__scroll span { width: 4px; height: 8px; border-radius: 2px; background: #fff; animation: rolar 1.8s infinite; }
@keyframes rolar {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(12px); opacity: 0; }
  100% { opacity: 0; }
}
@media (max-width: 960px) {
  .hero { height: calc(100svh - var(--header-h)); min-height: 460px; }
}

/* ---------- 1b. Três caixas (sobre a base do vídeo) ---------- */
/* Visual de 25/11 de volta (pedido do Edu, 01/12/2026). O botão laranja de cada caixa leva
   para a página da solução, no lugar do antigo "Faça seu orçamento". */
.quick { position: relative; z-index: 3; display: flow-root; background: var(--paper); padding-bottom: clamp(40px, 5vw, 64px); }
.quick__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: calc(-1 * var(--quick-overlap)); }
.quick__card {
  display: flex; flex-direction: column; align-items: flex-start; gap: .85rem;
  padding: 1.75rem 1.75rem 1.9rem;
  background: #fff; border-top: 4px solid var(--orange);
  box-shadow: 0 24px 48px -20px rgba(30, 28, 29, .38);
  transition: transform .25s, box-shadow .25s;
}
.quick__card:hover { transform: translateY(-4px); box-shadow: 0 30px 56px -22px rgba(30, 28, 29, .45); }
.quick__head { display: flex; align-items: center; gap: 1rem; }
.quick__icon {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 52px; height: 52px; background: var(--night); color: var(--orange);
  clip-path: polygon(13px 0, 100% 0, 100% 100%, 0 100%, 0 13px);
}
.quick__icon .ico { width: 28px; height: 28px; stroke-width: 1.6; }
.quick__title { font-size: 1.3rem; }
.quick__card p { flex: 1; margin: 0; font-size: .92rem; color: var(--muted); }
.quick__btn { margin-top: .35rem; }
.quick__body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; }
.quick__card .quick__body p { flex: none; }
@media (max-width: 960px) {
  :root { --quick-overlap: 56px; }
  .quick__grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; gap: 16px; }
  .quick__card { padding: 1.4rem 1.4rem 1.5rem; }
  .quick__btn { width: 100%; }
}

/* ---------- 2. Faixa de números ---------- */
.numbers {
  position: relative; overflow: hidden; text-align: center;
  background: var(--orange); color: #fff;
  padding-top: clamp(56px, 7vw, 96px);
}
.numbers__title { font-size: clamp(1.7rem, 1.05rem + 2.3vw, 2.9rem); max-width: 28ch; margin: 0 auto 1rem; color: #fff; text-wrap: balance; }
.numbers__lead { max-width: 62ch; margin: 0 auto clamp(2.25rem, 4vw, 3.25rem); font-size: 1.05rem; font-weight: 500; color: var(--night-2); }
.numbers__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-bottom: clamp(2.25rem, 4vw, 3rem); }
.numbers__item { position: relative; display: flex; flex-direction: column; align-items: center; gap: .5rem; padding: 0 .5rem; }
.numbers__item + .numbers__item::before {
  content: ""; position: absolute; left: -1rem; top: 8%; bottom: 8%; width: 1px;
  background: rgba(30, 28, 29, .28);
}
.numbers__value { font-size: clamp(2.7rem, 1.8rem + 2.8vw, 4.2rem); font-weight: 800; line-height: 1; letter-spacing: -.03em; color: #fff; }
.numbers__prefix { margin-right: .18em; font-size: .3em; font-weight: 800; letter-spacing: .02em; color: var(--night-2); }
.numbers__label { max-width: 22ch; font-size: .95rem; font-weight: 600; line-height: 1.4; color: var(--night-2); }
.pattern-band {
  height: 64px; margin-top: clamp(48px, 6vw, 72px);
  background: url(../img/textura-ielen-clara.svg) repeat-x left top / auto 96px;
}
@media (max-width: 800px) {
  .numbers__grid { grid-template-columns: repeat(2, 1fr); row-gap: 2.25rem; }
  .numbers__item:nth-child(odd)::before { display: none; }
}

/* ---------- 3. Quem somos ---------- */
.about__grid { display: grid; grid-template-columns: 7fr 5fr; align-items: center; }
.about__media { position: relative; grid-column: 1; grid-row: 1; }
.about__media img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut));
}
.about__media::after {
  content: ""; position: absolute; left: -16px; bottom: -16px; width: 132px; height: 132px; z-index: -1;
  border-left: 5px solid var(--orange); border-bottom: 5px solid var(--orange);
}
.about__card {
  position: relative; z-index: 1; grid-column: 2; grid-row: 1;
  margin-left: -96px; padding: clamp(28px, 3.5vw, 52px);
  background: #fff; border-top: 5px solid var(--orange); box-shadow: var(--shadow);
}
.about__card p:not(.lead):not(.eyebrow) { color: var(--muted); }
.about__card .btn { margin-top: .5rem; }
@media (max-width: 960px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__media, .about__card { grid-column: 1; }
  .about__card { grid-row: 2; margin: -56px 16px 0; }
}

/* ---------- 4. Faixa de chamada ---------- */
.cta-band { position: relative; overflow: hidden; padding: clamp(72px, 9vw, 128px) 0; background: var(--night); color: #fff; text-align: center; }
.cta-band__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse at center, rgba(30, 28, 29, .9) 0%, rgba(30, 28, 29, .72) 70%);
}
.cta-band__in { position: relative; z-index: 1; }
.cta-band__title { max-width: 30ch; margin: 0 auto 2rem; font-size: clamp(1.6rem, 1rem + 2.2vw, 2.6rem); color: #fff; }
.cta-band__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }

/* ---------- 5. Soluções ---------- */
.solutions__grid { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 4vw, 64px); align-items: start; }
.solutions__intro p { color: var(--muted); }
.solutions__intro .btn { margin-top: .5rem; }
.carousel { min-width: 0; }
.carousel__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 3); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 6px 6px 26px; margin: -6px;
  scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track:focus-visible { outline-offset: -3px; }
.card {
  display: flex; flex-direction: column; scroll-snap-align: start;
  background: #fff; border: 1px solid var(--line);
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__media { aspect-ratio: 4 / 3; background: var(--paper); border-bottom: 4px solid var(--orange); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { display: flex; flex-direction: column; gap: .6rem; flex: 1; padding: 1.25rem 1.25rem 1.5rem; }
.card__title { font-size: 1.12rem; font-weight: 800; }
.card__body p { flex: 1; margin: 0; font-size: .92rem; color: var(--muted); }
.card__link { display: inline-flex; align-items: center; gap: .45em; font-size: .88rem; font-weight: 700; color: var(--orange-ink); text-decoration: none; }
.card__link .ico { transition: transform .2s; }
.card__link:hover .ico { transform: translateX(4px); }
.card--dark { background: var(--night); border-color: var(--night); color: #fff; }
.card--dark .card__body { padding: 1.75rem; }
.card--dark .card__title { color: #fff; font-size: 1.25rem; }
.card--dark p { color: var(--on-dark); flex: 0 0 auto; }
.card--dark .card__link { color: var(--orange-light); margin-top: .5rem; }
.card__icon { width: 52px; height: 52px; color: var(--orange); stroke-width: 1.5; margin-bottom: auto; padding-bottom: 1rem; box-sizing: content-box; }
.carousel__nav { display: flex; justify-content: flex-end; gap: .5rem; }
.carousel.is-static .carousel__nav { display: none; }
.carousel__btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border: 1.5px solid var(--ink); border-radius: var(--radius);
  background: #fff; color: var(--ink); cursor: pointer; transition: background .2s, color .2s, opacity .2s;
}
.carousel__btn:hover:not(:disabled) { background: var(--ink); color: #fff; }
.carousel__btn:disabled { opacity: .3; cursor: default; }
.services { margin-top: clamp(48px, 6vw, 80px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.services__title { font-size: 1.35rem; margin-bottom: 1.75rem; }
.services__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1.5rem; margin-bottom: 1.75rem; }
.services__head .services__title { margin: 0; }
.services__more { display: inline-flex; align-items: center; gap: .45em; font-size: .92rem; font-weight: 700; color: var(--orange-ink); text-decoration: none; }
.services__more .ico { transition: transform .2s; }
.services__more:hover .ico { transform: translateX(4px); }
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service { padding: 1.6rem 1.5rem; background: var(--paper); border-left: 4px solid var(--orange); }
.service__icon {
  display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; margin-bottom: 1rem;
  background: var(--night); color: var(--orange);
  clip-path: polygon(14px 0, 100% 0, 100% 100%, 0 100%, 0 14px);
}
.service__icon .ico { width: 26px; height: 26px; }
.service h4 { font-size: 1.02rem; margin-bottom: .4rem; }
.service p { margin: 0; font-size: .9rem; color: var(--muted); }
@media (max-width: 1040px) {
  .solutions__grid { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .carousel__track { grid-auto-columns: 78%; }
}
@media (max-width: 560px) {
  .services__grid { grid-template-columns: 1fr; }
}

/* ---------- 6. Segmentos ---------- */
.segments { background: var(--band); }
.segments__grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 18px; }
.segment { display: flex; flex-direction: column; align-items: center; gap: calc(.9rem + 8px); text-align: center; }
/* Placa chanfrada (o canto do "I" da marca) com uma placa laranja deslocada atrás,
   no lugar dos círculos com anel (que lembravam a Armac). left: -4px recentraliza o conjunto. */
.segment__icon {
  position: relative; z-index: 0; left: -4px;
  display: flex; align-items: center; justify-content: center;
  width: 88px; height: 88px; color: var(--orange);
  transition: transform .25s, color .25s;
}
.segment__icon::before, .segment__icon::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  clip-path: polygon(22px 0, 100% 0, 100% 100%, 0 100%, 0 22px);
  transition: transform .25s, background-color .25s;
}
.segment__icon::before { background: rgba(254, 94, 0, .32); transform: translate(8px, 8px); }
.segment__icon::after { background: var(--night); }
.segment:hover .segment__icon { transform: translate(-3px, -3px); color: var(--night); }
.segment:hover .segment__icon::before { background: var(--night); transform: translate(11px, 11px); }
.segment:hover .segment__icon::after { background: var(--orange); }
.segment__icon .ico { width: 38px; height: 38px; stroke-width: 1.6; }
.segment__name { font-size: .9rem; font-weight: 700; line-height: 1.3; }
@media (max-width: 1100px) { .segments__grid { grid-template-columns: repeat(4, 1fr); row-gap: 34px; } }
@media (max-width: 520px) {
  .segments__grid { grid-template-columns: repeat(2, 1fr); }
  .segment__icon { width: 80px; height: 80px; }
}

/* ---------- 7. Foto panorâmica ---------- */
.respiro { height: clamp(240px, 34vw, 480px); overflow: hidden; background: var(--night); }
.respiro img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }

/* ---------- 8. Diferenciais ---------- */
.why__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.why__grid--4 { grid-template-columns: repeat(4, 1fr); }
.why__item {
  position: relative; padding: 2rem 1.5rem 1.75rem;
  background: #fff; border: 1px solid var(--line);
  transition: border-color .25s, transform .25s;
}
.why__item::before { content: ""; position: absolute; left: -1px; top: -1px; width: 48px; height: 4px; background: var(--orange); }
.why__item:hover { border-color: var(--orange); transform: translateY(-4px); }
.why__icon { display: block; margin-bottom: 1.1rem; color: var(--orange); }
.why__icon .ico { width: 42px; height: 42px; stroke-width: 1.5; }
.why__item h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.why__item p { margin: 0; font-size: .9rem; color: var(--muted); }
.why--band { background: var(--band); }
@media (max-width: 1100px) { .why__grid { grid-template-columns: repeat(3, 1fr); } .why__grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .why__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .why__grid, .why__grid--4 { grid-template-columns: 1fr; } }

/* ---------- 9. Faixa Trabalhe conosco ---------- */
.careers-band {
  padding: clamp(56px, 7vw, 88px) 0; color: #fff;
  background: var(--night) url(../img/textura-ielen-clara.svg) repeat-x left bottom -18px / auto 110px;
}
.careers-band__in { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.careers-band__title { max-width: 26ch; margin-bottom: .75rem; font-size: clamp(1.5rem, 1rem + 1.6vw, 2.2rem); color: #fff; }
.careers-band p { max-width: 60ch; margin: 0; color: var(--on-dark); }
.careers-band .btn { flex: none; }
@media (max-width: 820px) { .careers-band__in { flex-direction: column; align-items: flex-start; } }

/* ---------- 9b. Depoimentos ---------- */
.quote {
  position: relative; display: flex; flex-direction: column; gap: 1rem; margin: 0;
  padding: 2rem 1.75rem 1.6rem; background: var(--paper); border-top: 4px solid var(--orange);
  scroll-snap-align: start;
}
.quote__mark { position: absolute; top: 1.25rem; right: 1.5rem; width: 46px; height: 46px; fill: rgba(254, 94, 0, .2); }
.quote__stars { display: flex; gap: 3px; color: var(--orange); }
.quote__stars .ico { width: 18px; height: 18px; }
.quote__star-empty { stroke-width: 1.6; }   /* depoimento com 4 estrelas: a 5ª só com o contorno */
.quote__text { flex: 1; margin: 0; }
.quote__text p { margin: 0; font-size: .98rem; line-height: 1.65; color: var(--ink); }
.quote__author { display: flex; align-items: center; gap: .85rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.quote__avatar {
  display: flex; align-items: center; justify-content: center; flex: none;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--night); color: var(--orange); font-size: .9rem; font-weight: 800; letter-spacing: .04em;
}
.quote__who strong { display: block; font-size: .95rem; }
.quote__who small { display: block; font-size: .8rem; color: var(--muted); }
.testimonials .carousel__nav { justify-content: center; margin-top: .25rem; }

/* ---------- 10. Contato ---------- */
.contact { background: var(--paper); }
.contact__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 4vw, 64px); align-items: start; }
.contact__info > p { color: var(--muted); }
.contact__list { display: grid; gap: 1.1rem; margin: 1.75rem 0 2rem; }
.contact__list li { display: flex; align-items: flex-start; gap: 1rem; }
.contact__icon {
  display: flex; align-items: center; justify-content: center; flex: none;
  width: 46px; height: 46px; background: var(--orange); color: var(--night-2);
  clip-path: polygon(12px 0, 100% 0, 100% 100%, 0 100%, 0 12px);
}
.contact__list strong { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact__list a, .contact__list span { font-weight: 600; text-decoration: none; color: var(--ink); overflow-wrap: anywhere; }
.contact__list a:hover { color: var(--orange-ink); }
.contact__list .contact__maplink { display: block; width: fit-content; margin-top: .2rem; font-size: .85rem; color: var(--orange-ink); text-decoration: underline; text-underline-offset: 3px; }
.contact__grid { align-items: stretch; }
.contact__info { display: flex; flex-direction: column; }
.contact__map { flex: 1; min-height: 300px; background: var(--gray); border: 1px solid var(--line); }
.contact__map iframe { display: block; width: 100%; height: 100%; border: 0; filter: grayscale(.25); }
.contact__form .form { box-shadow: var(--shadow); }
@media (max-width: 960px) { .contact__grid { grid-template-columns: 1fr; } }

/* ---------- Formulários ---------- */
.form { position: relative; padding: clamp(24px, 3.5vw, 48px); background: #fff; border-top: 5px solid var(--orange); }
.form__title { font-size: 1.4rem; margin-bottom: .35rem; }
.form__note { margin-bottom: 1.5rem; font-size: .82rem; color: var(--muted); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.25rem; }
.field { display: flex; flex-direction: column; margin-bottom: 1.1rem; }
.field label { margin-bottom: .4rem; font-size: .85rem; font-weight: 600; }
.field .opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .8em .95em;
  font: inherit; font-size: .95rem; color: var(--ink);
  background: #fff; border: 1.5px solid #CFCCC8; border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field select {
  appearance: none; padding-right: 2.6em;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23373435' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right .9em center / 16px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(254, 94, 0, .22); }
.field ::placeholder { color: #8E8A86; }
.field[hidden] { display: none; }
.field__error { display: none; margin-top: .35rem; font-size: .8rem; font-weight: 600; color: var(--danger); }
.field.is-invalid .field__error { display: block; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea, .field.is-invalid .file__ui { border-color: var(--danger); }
.field__hint { margin-top: .35rem; font-size: .78rem; color: var(--muted); }
.field--check { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: .65rem; }
.field--check input { width: 20px; height: 20px; min-height: 0; margin: 2px 0 0; padding: 0; flex: none; accent-color: var(--orange); }
.field--check label { flex: 1; margin: 0; font-size: .82rem; font-weight: 500; line-height: 1.5; color: var(--muted); }
.field--check .field__error { flex-basis: 100%; margin-top: 0; }
.file { position: relative; }
.file input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; min-height: 0; opacity: 0; cursor: pointer; }
.file__ui {
  display: flex; align-items: center; gap: .75rem; min-height: 64px; padding: .8em 1em;
  background: var(--paper); border: 1.5px dashed #BDB9B4; border-radius: var(--radius);
  font-size: .92rem; font-weight: 600; color: var(--muted); overflow-wrap: anywhere;
  transition: border-color .2s, background-color .2s;
}
.file__ui .ico { width: 24px; height: 24px; color: var(--orange-ink); }
.file input:hover + .file__ui { border-color: var(--orange); }
.file input:focus-visible + .file__ui { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(254, 94, 0, .22); }
.file.has-file .file__ui { border-style: solid; border-color: var(--orange); background: #fff; color: var(--ink); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__status { min-height: 1.4em; margin: 1rem 0 0; font-size: .92rem; font-weight: 600; }
.form__status.is-ok { color: var(--ok); }
.form__status.is-error { color: var(--danger); }
.form.is-sending [type="submit"] { opacity: .7; pointer-events: none; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }

/* ---------- Página Trabalhe conosco ---------- */
.page-banner { position: relative; overflow: hidden; padding: clamp(80px, 11vw, 150px) 0 clamp(52px, 6vw, 84px); background: var(--night); color: #fff; }
.page-banner__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 75% 50%; opacity: .6; }
.page-banner::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(30, 28, 29, .94) 0%, rgba(30, 28, 29, .6) 55%, rgba(30, 28, 29, .1) 100%);
}
.page-banner__in { position: relative; z-index: 1; }
.page-banner__title { margin-bottom: 1rem; font-size: clamp(2.1rem, 1.4rem + 2.8vw, 3.5rem); color: #fff; }
.page-banner__title::after { content: ""; display: block; width: 64px; height: 5px; margin-top: 1rem; background: var(--orange); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .6rem; font-size: .88rem; color: var(--on-dark); }
.breadcrumb a { color: #fff; text-decoration: none; }
.breadcrumb a:hover { color: var(--orange-light); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.split__text p { color: var(--muted); }
.split__text .btn { margin-top: .5rem; }
.split__media img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
}
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .85rem; max-width: 960px; margin: 0 auto; }
.chip {
  padding: .75em 1.6em; font-size: .9rem; font-weight: 700;
  background: var(--night); color: #fff;
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}
.chip:nth-child(3n + 2) { background: var(--orange); color: var(--night-2); }
.apply { background: var(--paper); }
.apply__grid { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(32px, 4vw, 64px); align-items: start; }
.apply__aside > p { color: var(--muted); }
.apply__note { display: flex; gap: 1rem; margin: 1.75rem 0; padding: 1.25rem; background: #fff; border-left: 4px solid var(--orange); }
.apply__note .ico { width: 30px; height: 30px; color: var(--orange-ink); }
.apply__note strong { display: block; margin-bottom: .25rem; }
.apply__note p { margin: 0; font-size: .9rem; color: var(--muted); }
.apply__doubts { font-size: .9rem; color: var(--muted); }
.apply__doubts a { font-weight: 700; color: var(--orange-ink); }
.apply .form { box-shadow: var(--shadow); }
@media (max-width: 960px) {
  .split, .apply__grid { grid-template-columns: 1fr; }
}

/* ---------- Páginas de soluções: Máquinas, Projetos e Sob medida ---------- */
/* Cabeçalho com trilha, título, resumo, botões e destaques */
.page-banner--solution { padding: clamp(40px, 5vw, 72px) 0 clamp(44px, 5vw, 72px); }
.page-banner--solution .breadcrumb { margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.page-banner--solution .page-banner__title { max-width: 16ch; }
/* Fundo com foto (Máquinas): a imagem já vem escura à esquerda, onde fica o texto */
.page-banner--photo .page-banner__bg { opacity: .9; object-position: 100% 50%; }
.page-banner--photo::after { background: linear-gradient(90deg, rgba(30, 28, 29, .9) 0%, rgba(30, 28, 29, .55) 45%, rgba(30, 28, 29, .05) 80%); }
/* Fundo grafite com grade de prancheta e um desenho em traço branco à direita (Projetos, Sob medida) */
.page-banner--grid {
  background-color: var(--night);
  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: 44px 44px;
  background-position: center top;
}
.page-banner--grid::after {
  background: linear-gradient(90deg, rgba(30, 28, 29, .92) 0%, rgba(30, 28, 29, .6) 42%, rgba(30, 28, 29, 0) 72%);
}
.page-banner__sketch {
  position: absolute; z-index: 0; top: 50%;
  right: max(var(--gutter), calc((100% - var(--container)) / 2 - 24px));
  width: min(50%, 700px); height: auto; transform: translateY(-50%);
  opacity: .62; pointer-events: none; user-select: none;
}
/* Desenho técnico em SVG no lugar do esboço (a trena da página Sob medida) */
.page-banner__art { width: min(42%, 560px); fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.page-banner__art .art-dim { stroke: var(--orange); stroke-width: 1.4; }
.page-banner__art .art-label { fill: #fff; stroke: none; font-family: var(--font); font-size: 9px; font-weight: 600; letter-spacing: .25em; }
.page-banner__lead { max-width: 56ch; margin: 1.4rem 0 2rem; font-size: 1.08rem; line-height: 1.6; color: var(--on-dark); }
.page-banner__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem 2.5rem;
  max-width: 720px; margin-top: clamp(2.25rem, 4vw, 3.25rem); padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .16);
}
.facts li { display: flex; flex-direction: column; gap: .35rem; }
.facts strong { font-size: clamp(1.8rem, 1.3rem + 1.4vw, 2.4rem); font-weight: 800; line-height: 1; letter-spacing: -.02em; color: var(--orange); }
.facts strong small { margin-right: .12em; font-size: .42em; font-weight: 700; letter-spacing: .01em; color: #fff; }
.facts span { font-size: .85rem; line-height: 1.4; color: var(--on-dark); }
@media (max-width: 900px) {
  .page-banner__sketch { top: auto; bottom: 8%; right: -12%; width: 92%; transform: none; opacity: .2; }
}
@media (max-width: 560px) {
  .page-banner__actions .btn { width: 100%; }
  .facts { grid-template-columns: 1fr; gap: .9rem; }
  .facts li { flex-direction: row; align-items: center; gap: 1rem; }
  .facts strong { flex: none; min-width: 2.6em; font-size: 1.8rem; }
}

/* Apresentação: lista com marcadores no formato do chanfro */
.checks { display: grid; gap: .75rem; margin: 1.6rem 0 2rem; }
.checks li { display: flex; align-items: flex-start; gap: .8rem; font-size: .95rem; font-weight: 600; line-height: 1.45; color: var(--ink); }
.checks__icon {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 24px; height: 24px; margin-top: -1px;
  background: var(--orange); color: var(--night-2);
  clip-path: polygon(6px 0, 100% 0, 100% 100%, 0 100%, 0 6px);
}
.checks__icon .ico { width: 15px; height: 15px; stroke-width: 3; }

/* Especialidades: 8 cards numerados (01 a 08) */
.specs { background: var(--band); }
.specs__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: spec; }
.specs__grid--3 { grid-template-columns: repeat(3, 1fr); }   /* Sob medida: 6 exemplos em 2 linhas de 3 */
.spec {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: .7rem;
  padding: 1.75rem 1.5rem 1.5rem; background: #fff; border: 1px solid var(--line);
  counter-increment: spec;
}
.js .spec.reveal { transition: opacity .7s ease, transform .35s ease, border-color .25s, box-shadow .25s; }
.spec::before {
  content: ""; position: absolute; left: -1px; top: -1px; width: 48px; height: 4px;
  background: var(--orange); transition: width .35s;
}
.spec:hover, .js .spec.is-visible:hover { border-color: var(--orange); transform: translateY(-4px); box-shadow: var(--shadow); }
.spec:hover::before { width: calc(100% + 2px); }
.spec__num {
  position: absolute; top: 1.2rem; right: 1.25rem;
  font-size: 2.5rem; font-weight: 800; line-height: 1; letter-spacing: -.02em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(254, 94, 0, .6);
}
.spec__num::before { content: counter(spec, decimal-leading-zero); }
.spec__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; margin-bottom: .4rem;
  background: var(--night); color: var(--orange);
  clip-path: polygon(14px 0, 100% 0, 100% 100%, 0 100%, 0 14px);
  transition: background-color .25s, color .25s;
}
.spec:hover .spec__icon { background: var(--orange); color: var(--night-2); }
.spec__icon .ico { width: 28px; height: 28px; stroke-width: 1.6; }
.spec h3 { font-size: 1.06rem; line-height: 1.3; }
.spec p { flex: 1; margin: 0; font-size: .9rem; color: var(--muted); }
.spec__link { display: inline-flex; align-items: center; gap: .45em; margin-top: .4rem; font-size: .88rem; font-weight: 700; color: var(--orange-ink); text-decoration: none; }
.spec__link .ico { transition: transform .2s; }
.spec__link:hover .ico { transform: translateX(4px); }
@media (max-width: 1100px) { .specs__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .specs__grid { grid-template-columns: 1fr; } }

/* Como trabalhamos: 5 etapas ligadas por uma linha tracejada (como uma cota) */
.process {
  color: #fff;
  background: var(--night) url(../img/textura-ielen-clara.svg) repeat-x left bottom -18px / auto 110px;
}
.process .title { color: #fff; }
/* Uma coluna por etapa (5 em Máquinas e Projetos, 4 em Sob medida) */
.process__steps { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 28px; counter-reset: step; }
.process__steps::before {
  content: ""; position: absolute; top: 27px; left: 28px; right: 28px; height: 2px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .34) 0 10px, transparent 10px 18px);
}
.step { position: relative; counter-increment: step; }
.step::before {
  content: counter(step, decimal-leading-zero);
  position: relative; z-index: 1; display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; margin-bottom: 1.35rem;
  background: var(--orange); color: var(--night-2); font-size: 1.05rem; font-weight: 800;
  clip-path: polygon(14px 0, 100% 0, 100% 100%, 0 100%, 0 14px);
}
.step h3 { margin-bottom: .45rem; font-size: 1.08rem; color: #fff; }
.step p { margin: 0; font-size: .9rem; color: var(--on-dark); }
@media (max-width: 960px) {
  .process__steps { grid-auto-flow: row; grid-template-columns: 1fr; gap: 0; max-width: 560px; margin-inline: auto; }
  .process__steps::before {
    top: 28px; bottom: 56px; left: 27px; right: auto; width: 2px; height: auto;
    background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .34) 0 10px, transparent 10px 18px);
  }
  .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 1.25rem; padding-bottom: 1.9rem; }
  .step::before { grid-row: 1 / span 2; margin: 0; }
  .step h3 { grid-column: 2; padding-top: .9rem; }
  .step p { grid-column: 2; }
}

/* ---------- Página Locação de máquinas ---------- */
/* Barra das linhas de equipamentos: fica presa abaixo do menu enquanto se rola o catálogo */
.catnav {
  position: sticky; top: var(--header-h); z-index: 40;
  background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px -20px rgba(0, 0, 0, .35);
}
.catnav__in { display: flex; gap: .6rem; overflow-x: auto; padding: .8rem 0; scrollbar-width: none; }
.catnav__in::-webkit-scrollbar { display: none; }
.catnav__link {
  display: inline-flex; align-items: center; gap: .55em; flex: none; padding: .55em 1.1em;
  border: 1.5px solid var(--line); border-radius: 99px; background: #fff;
  font-size: .85rem; font-weight: 700; text-decoration: none; color: var(--ink);
  transition: border-color .2s, background-color .2s, color .2s;
}
.catnav__link .ico { width: 1.3em; height: 1.3em; color: var(--orange-ink); }
.catnav__link:hover { border-color: var(--orange); }
.catnav__link.is-active { background: var(--night); border-color: var(--night); color: #fff; }
.catnav__link.is-active .ico { color: var(--orange); }
.catalog [id] { scroll-margin-top: calc(var(--header-h) + 72px); }

/* Cada linha: foto e texto (lado alternado) + cards dos modelos */
.mcat:nth-of-type(even) { background: var(--paper); }
.mcat__intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.mcat:nth-of-type(even) .mcat__media { order: 2; }
.mcat__media img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut));
}
.mcat__text > p:not(.eyebrow) { color: var(--muted); }
.mcat__features { display: grid; gap: 1rem; margin-top: 1.5rem; }
.mcat__features li { display: flex; align-items: flex-start; gap: .8rem; font-size: .92rem; line-height: 1.5; color: var(--muted); }
.mcat__features strong { display: block; margin-bottom: .1rem; font-size: .98rem; color: var(--ink); }
.mcat__models-title {
  display: flex; align-items: center; gap: 1rem; margin: clamp(40px, 5vw, 64px) 0 1.25rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.mcat__models-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.models { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.model {
  display: flex; flex-direction: column; gap: .85rem; padding: 1.4rem 1.3rem 1.3rem;
  background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--orange);
}
.js .model.reveal { transition: opacity .7s ease, transform .35s ease, box-shadow .25s; }
.model:hover, .js .model.is-visible:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.model__head { display: flex; align-items: center; gap: .8rem; }
.model__icon {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 44px; height: 44px; background: var(--night); color: var(--orange);
  clip-path: polygon(11px 0, 100% 0, 100% 100%, 0 100%, 0 11px);
}
.model__icon .ico { width: 24px; height: 24px; stroke-width: 1.7; }
.model__name { font-size: 1.02rem; line-height: 1.3; }
.model__specs { display: grid; gap: .35rem; padding-top: .85rem; border-top: 1px solid var(--line); }
.model__specs li { position: relative; padding-left: 1rem; font-size: .86rem; font-weight: 600; color: var(--ink); }
.model__specs li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; background: var(--orange); }
.model__use { flex: 1; margin: 0; font-size: .86rem; color: var(--muted); }
.model__use strong { color: var(--ink); }
.model__link { display: inline-flex; align-items: center; gap: .45em; font-size: .88rem; font-weight: 700; color: var(--orange-ink); text-decoration: none; }
.model__link .ico { transition: transform .2s; }
.model__link:hover .ico { transform: translateX(4px); }
@media (max-width: 960px) {
  .mcat__intro { grid-template-columns: 1fr; }
  .mcat:nth-of-type(even) .mcat__media { order: 0; }
}

/* Formulário: equipamentos em botões de marcar, agrupados por linha */
.field__label { margin: 0 0 .5rem; font-size: .85rem; font-weight: 600; }
.choices { display: grid; gap: .9rem; }
.choices__group { min-width: 0; margin: 0; padding: 0; border: 0; }
.choices__group legend { margin-bottom: .45rem; padding: 0; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.choices__list { display: flex; flex-wrap: wrap; gap: .5rem; }
.choice { position: relative; display: inline-flex; cursor: pointer; }
.field .choice input { position: absolute; width: 1px; height: 1px; min-height: 0; margin: 0; padding: 0; border: 0; opacity: 0; }
.choice span {
  display: inline-flex; align-items: center; gap: .5em; padding: .5em .9em;
  border: 1.5px solid #CFCCC8; border-radius: 99px; background: #fff;
  font-size: .85rem; font-weight: 600; color: var(--ink); transition: border-color .2s, background-color .2s, color .2s;
}
.choice span::before {
  content: ""; flex: none; width: 15px; height: 15px; border: 1.5px solid #9A958F; border-radius: 3px; background: #fff;
}
.choice:hover span { border-color: var(--orange); }
.choice input:checked + span { background: var(--night); border-color: var(--night); color: #fff; }
.choice input:checked + span::before {
  border-color: var(--orange);
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E1C1D' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / 85% no-repeat;
}
.choice input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }

/* ---------- Faixa nas cores da marca + rodapé ---------- */
.stripe { height: 6px; background: linear-gradient(90deg, var(--orange) 0 45%, var(--graphite) 45% 75%, var(--gray) 75% 100%); }
.footer { position: relative; background: var(--night); color: var(--on-dark); font-size: .9rem; }
.backtop {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: .4em; padding: .55em 1.1em;
  background: var(--night); border: 1px solid rgba(255, 255, 255, .18); border-radius: 99px;
  font-size: .78rem; font-weight: 600; color: var(--on-dark); text-decoration: none;
}
.backtop:hover { color: var(--orange-light); border-color: var(--orange); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 2.5rem; padding: clamp(64px, 7vw, 88px) 0 clamp(36px, 4vw, 56px); }
.footer__brand img { width: 190px; height: auto; margin-bottom: 1.25rem; }
.footer__brand p { max-width: 34ch; }
.footer__title { margin-bottom: 1.1rem; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #fff; }
.footer ul { display: grid; gap: .65rem; }
.footer a { color: var(--on-dark); text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--orange-light); }
.footer .btn--primary { color: var(--night-2); }
.footer .btn--primary:hover { color: var(--night-2); }
.footer__contact li { display: flex; align-items: flex-start; gap: .7rem; }
.footer__contact .ico { margin-top: .2em; color: var(--orange); }
.seal {
  display: inline-flex; align-items: center; gap: .75rem; margin-top: 1.4rem;
  padding: .7rem 1rem .7rem .85rem; line-height: 1.25;
  border: 1px solid rgba(255, 255, 255, .2); border-radius: 6px; background: rgba(255, 255, 255, .04);
  text-decoration: none; transition: border-color .2s, background-color .2s;
}
.footer .seal { color: #fff; }
.seal .ico { width: 30px; height: 30px; }
.seal strong { display: block; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.seal small { display: block; font-size: .74rem; color: var(--on-dark); }
.seal--secure .ico { color: #4CC27A; }
.seal--ra .ico { color: var(--orange-light); }
.footer a.seal:hover { color: #fff; border-color: var(--orange); background: rgba(255, 255, 255, .08); }
.footer__bottom { background: var(--night-2); font-size: .8rem; }
.footer__bottom-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; padding: 1.1rem 0; }
.footer__bottom p { margin: 0; }
.lang--footer a[aria-current="page"] { color: var(--night-2); }
.credit { display: inline-flex; align-items: center; gap: .6rem; }
.credit img { width: 110px; height: auto; }
@media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom-in { flex-direction: column; align-items: flex-start; padding-bottom: 5.5rem; }
}

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: flex; align-items: center; justify-content: center;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: #fff;
  box-shadow: 0 12px 26px -10px rgba(0, 0, 0, .5);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float .ico { width: 32px; height: 32px; }

/* ---------- Animações de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

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