/* =========================================================
   Standard Automation · Site institucional
   Tokens extraídos da proposta "Standard Automation · Proposta 2 · Engenharia"
   ========================================================= */

:root {
  --graphite:  #373534;   /* fundo médio */
  --black:     #212121;   /* fundo escuro */
  --light:     #ECECEC;   /* fundo claro */
  --white:     #FFFFFF;
  --teal:      #009585;
  --deep:      #013938;
  --teal-lt:   #4FD1C1;
  --line:      #C8C8C2;
  --mist:      #DADAD5;
  --mist-2:    #E4E4DF;
  --ink-2:     #4A4846;
  --gray:      #9C9C96;
  --gray-2:    #B4B4AE;
  --gray-3:    #6E6C6A;

  --font: 'Darker Grotesque', system-ui, sans-serif;

  --container: 1440px;
  --gutter: clamp(20px, 5.6vw, 80px);
  --sec-pad: clamp(56px, 7.8vw, 112px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--graphite); color: var(--white);
  font-family: var(--font); font-weight: 500; line-height: 1.35;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--teal); }
a:hover { color: var(--white); }
section[id], article[id] { scroll-margin-top: 16px; }

a:focus-visible, button:focus-visible, .f-in:focus-visible, input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--teal); outline-offset: 3px;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 12px 16px; border-radius: 10px; background: var(--teal); color: var(--white);
  font-weight: 800; font-size: 18px; text-decoration: none;
}
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.accent { color: var(--teal); }
.accent-light { color: var(--teal-lt); }
.show-mobile { display: none !important; }

/* ---------- Tipografia ---------- */
h1 { font-size: clamp(50px, 4.6vw + 20px, 86px); font-weight: 800; line-height: .92; letter-spacing: -.01em; }
h2 { font-size: clamp(36px, 2.6vw + 21px, 62px); font-weight: 800; line-height: .96; }
.h2-md { font-size: clamp(34px, 2.2vw + 21px, 56px); }
.h2-sm { font-size: clamp(34px, 1.6vw + 23px, 50px); line-height: 1; }
h3 { font-weight: 800; line-height: 1; }

.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: clamp(14px, .1vw + 13.5px, 15px); font-weight: 700;
  letter-spacing: .22em; line-height: 1.3; text-transform: uppercase; color: var(--line);
}
.eyebrow::before { content: ""; flex-shrink: 0; width: 28px; height: 6px; border-radius: 1px; background: var(--teal); }
.eyebrow-deep { color: var(--deep); }
.eyebrow-hero { color: var(--white); font-size: clamp(14px, .2vw + 13px, 16px); letter-spacing: .24em; gap: 14px; }
.eyebrow-hero::before { width: 32px; }

.body-dark { font-size: clamp(19px, .2vw + 18px, 21px); line-height: 1.4; color: var(--mist); }
.body-light { font-size: clamp(19px, .2vw + 18px, 21px); line-height: 1.4; color: var(--ink-2); }

.dash { display: block; width: 28px; height: 5px; border-radius: 1px; background: var(--teal); transition: width .4s var(--ease-out); }
.lift:hover .dash { width: 48px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 24px; border-radius: 10px; border: 1.5px solid transparent;
  font: 700 20px/1 var(--font); text-decoration: none; text-align: center; cursor: pointer;
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.btn svg { flex-shrink: 0; transition: transform .3s ease; }
.btn:hover svg { transform: translateX(4px); }
.btn-sm { height: 46px; padding: 0 20px; font-size: 19px; white-space: nowrap; }
.btn-sm:hover svg { transform: none; }
.btn-md { height: 56px; padding: 0 26px; font-size: 21px; }
.btn-lg { min-height: 60px; height: auto; padding: 8px 30px; font-size: 22px; gap: 12px; }
.btn-block { width: 100%; }
.btn-teal { background: var(--teal); color: var(--white); }
.btn-teal:hover { background: var(--deep); color: var(--white); }
.btn-ghost { border-color: rgba(255,255,255,.6); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--black); border-color: var(--white); }

.go {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  font-size: 20px; font-weight: 800; color: var(--white); text-decoration: none;
}
.go:hover { color: var(--white); }
.go span { display: inline-block; transition: transform .3s ease; }
.go:hover span, .lift:hover .go span { transform: translateX(6px); }
.go-deep, .go-deep:hover { color: var(--deep); }

.link-btn {
  align-self: flex-start; height: 44px; padding: 0; border: 0; background: transparent;
  color: var(--white); font: 700 19px var(--font); text-decoration: underline; cursor: pointer;
}

.lift { transition: transform .4s var(--ease-out), border-color .3s ease, box-shadow .4s ease; }
.lift:hover { transform: translateY(-6px); border-color: var(--teal) !important; box-shadow: 0 24px 44px -24px rgba(0,0,0,.35); }

/* =========================================================
   CABEÇALHO
   ========================================================= */
.site-header { position: absolute; inset: 0 0 auto 0; z-index: 20; border-bottom: 1px solid rgba(255,255,255,.12); }
.header-inner { height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { width: 153px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.nav-link { color: var(--mist); text-decoration: none; font-size: 18px; font-weight: 600; transition: color .2s; }
.nav-link:hover { color: var(--teal); }
.menu-toggle {
  display: none; width: 44px; height: 44px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,.35); background: transparent; color: var(--white);
  cursor: pointer; align-items: center; justify-content: center;
}
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

/* =========================================================
   HERO · CARROSSEL
   ========================================================= */
.hero { position: relative; overflow: hidden; background: var(--black); display: flex; flex-direction: column; }
.hero-media { position: absolute; left: 0; right: 0; top: 0; bottom: 112px; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(33,33,33,.9) 0%, rgba(55,53,52,.8) 50%, rgba(55,53,52,.3) 100%); }

.hero-stage { position: relative; z-index: 2; min-height: min(788px, max(calc(100svh - 112px), 640px)); padding-top: 170px; padding-bottom: 72px; }
.slide { max-width: 900px; display: flex; flex-direction: column; gap: 24px; animation: fadeUp .6s var(--ease-out); }
.slide[hidden] { display: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.slide-sub { max-width: 700px; font-size: clamp(19px, .5vw + 16px, 24px); line-height: 1.35; color: var(--mist-2); }
.slide-proof { display: flex; align-items: flex-start; gap: 12px; font-size: clamp(18px, .3vw + 16px, 21px); font-weight: 800; line-height: 1.2; }
.slide-proof svg { flex-shrink: 0; margin-top: 2px; }
.slide-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 4px; }

.hero-bar { position: relative; z-index: 3; background: var(--black); }
.hero-bar-inner { position: relative; height: 112px; }
.hero-tabs { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); height: 100%; }
.hero-tab {
  height: 112px; padding: 0 18px 0 0; border: 0; background: transparent; cursor: pointer;
  display: flex; flex-direction: column; justify-content: flex-start; gap: 12px; text-align: left;
  font-family: var(--font); color: var(--gray-2); transition: background .25s ease;
}
.hero-tab::before { content: ""; display: block; width: 100%; height: 4px; background: rgba(255,255,255,.16); }
.hero-tab:hover { background: rgba(255,255,255,.06); }
.tab-n { font-size: 15px; font-weight: 800; letter-spacing: .14em; color: #8A8884; }
.tab-l { font-size: 20px; font-weight: 800; line-height: 1; }
.hero-tab[aria-selected="true"] { color: var(--white); }
.hero-tab[aria-selected="true"]::before { background: var(--teal); }
.hero-tab[aria-selected="true"] .tab-n { color: var(--teal); }

.hero-controls { position: absolute; right: var(--gutter); bottom: calc(100% + 80px); display: flex; align-items: center; gap: 10px; }
.hero-current { display: flex; align-items: baseline; margin-right: 8px; }
.hero-counter { font-size: 20px; font-weight: 800; }
.hero-current-label { display: none; }
.ctl {
  width: 48px; height: 48px; border-radius: 10px; border: 1px solid rgba(255,255,255,.4);
  background: rgba(33,33,33,.5); color: var(--white); cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background .2s, border-color .2s;
}
.ctl:hover { background: var(--teal); border-color: var(--teal); }
.ctl .i-play { display: none; }
.ctl-pause.is-paused .i-play { display: block; }
.ctl-pause.is-paused .i-pause { display: none; }

/* =========================================================
   SEÇÕES
   ========================================================= */
.section { position: relative; padding-block: var(--sec-pad); }
.section-light { background: var(--light); color: var(--black); }
.section-mid   { background: var(--graphite); }
.section-dark  { background: var(--black); }
.section-deep  { background: var(--deep); }
.section-company { padding-block: clamp(56px, 6.7vw, 96px); }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 64px; margin-bottom: 52px; }
.head-main { max-width: 800px; display: flex; flex-direction: column; gap: 16px; }
.head-aside { max-width: 440px; font-size: clamp(19px, .2vw + 18px, 21px); line-height: 1.4; color: var(--ink-2); }
.head-aside-dark { color: var(--mist); }
.section-head .go { white-space: nowrap; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }

.card-light { background: var(--white); border: 1px solid var(--line); border-radius: 14px; color: var(--black); }
.icon-dark, .icon-teal { width: 60px; height: 60px; flex-shrink: 0; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.icon-dark { background: var(--black); }
.icon-teal { width: 56px; height: 56px; background: var(--teal); }

/* 01 · Quando chamar */
.when-card { min-height: 420px; padding: 34px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.when-body { display: flex; flex-direction: column; gap: 10px; }
.when-body h3 { font-size: clamp(28px, .5vw + 24px, 32px); }
.when-body p { font-size: clamp(18px, .2vw + 17px, 20px); line-height: 1.32; color: var(--ink-2); }
.chips { padding-top: 16px; border-top: 1px solid var(--mist); display: flex; flex-wrap: wrap; gap: 8px; }
.chip-link {
  padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line);
  color: var(--deep); font-size: 16px; font-weight: 700; text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
}
.chip-link:hover { background: var(--teal); color: var(--white); border-color: var(--teal); }
.when-close { margin-top: 52px; font-size: clamp(22px, .5vw + 19px, 26px); font-weight: 700; line-height: 1.2; color: var(--black); }
.when-close strong { color: var(--deep); font-weight: 800; }

/* 02 · Soluções */
.sol-card { min-height: 300px; padding: 30px; border-radius: 14px; background: var(--black); border: 1px solid rgba(200,200,194,.18); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.sol-top { display: flex; justify-content: space-between; align-items: flex-start; }
.sol-n { font-size: 18px; font-weight: 800; color: var(--gray); }
.sol-body { display: flex; flex-direction: column; gap: 8px; }
.sol-body h3 { font-size: clamp(26px, .5vw + 22px, 30px); }
.sol-body p { font-size: 19px; line-height: 1.3; color: var(--line); }
.sol-body .go { margin-top: 6px; font-size: 19px; }

/* 03 · Método */
.phases { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin-bottom: 56px; }
.phases li { display: flex; flex-direction: column; gap: 18px; padding-right: 20px; }
.phase-node { display: flex; align-items: center; }
.phase-n { width: 52px; height: 52px; flex-shrink: 0; border-radius: 12px; background: var(--black); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; }
.phase-last .phase-n { background: var(--teal); }
.phase-line { flex-grow: 1; height: 3px; background: var(--teal); }
.phases h3 { font-size: clamp(23px, .3vw + 21px, 26px); }
.phases p { font-size: 18px; line-height: 1.3; color: var(--ink-2); }
.phases .gate { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--deep); }
.phases .gate::before { content: ""; width: 14px; height: 8px; margin-top: -4px; border-left: 2.4px solid var(--teal); border-bottom: 2.4px solid var(--teal); transform: rotate(-45deg); flex-shrink: 0; }
.pillar { padding: 30px; border-radius: 14px; background: var(--black); color: var(--white); display: flex; flex-direction: column; gap: 10px; }
.pillar strong { font-size: clamp(24px, .4vw + 21px, 28px); font-weight: 800; line-height: 1; }
.pillar span { font-size: 19px; line-height: 1.3; color: var(--line); }
.pillar-teal { background: var(--teal); }
.pillar-teal span { color: var(--white); }

/* Destaque · Máquinas */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 72px; align-items: center; }
.feature-copy { display: flex; flex-direction: column; gap: 22px; }
.feature-copy h2 { font-size: clamp(34px, 2.2vw + 21px, 56px); }
.feature-side { display: flex; flex-direction: column; gap: 24px; }
.feature-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.feature-list li { padding: 18px; border-radius: 12px; background: var(--graphite); font-size: 20px; font-weight: 700; line-height: 1.15; }
.feature-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.feature-cta span { font-size: 18px; font-weight: 600; color: var(--line); }

/* Destaques em cartão (Engenharia, Sistemas, Robótica, Visão) */
.spot { padding: 32px; border-radius: 16px; display: flex; flex-direction: column; gap: 12px; }
.spot-n { font-size: 15px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gray); }
.spot h3 { font-size: clamp(30px, .6vw + 26px, 36px); }
.spot > p { font-size: clamp(18px, .2vw + 17px, 20px); line-height: 1.35; color: var(--ink-2); }
.spot .go { margin-top: 8px; }
.spot-glass { background: rgba(255,255,255,.06); border: 1px solid rgba(200,200,194,.22); }
.spot-glass > p { color: var(--mist); }
.dash-list { margin-top: 4px; display: flex; flex-direction: column; gap: 8px; font-size: 19px; font-weight: 700; line-height: 1.2; }
.dash-list li { display: flex; gap: 10px; align-items: baseline; }
.dash-list li::before { content: ""; width: 16px; height: 4px; flex-shrink: 0; border-radius: 1px; background: var(--teal); transform: translateY(-4px); }
.dash-list-lg { gap: 10px; font-size: 20px; }
.dash-list-lg li::before { width: 18px; height: 5px; }
.dash-list-dark { font-weight: 600; color: var(--mist); }

/* Destaque · Retrofit */
.retrofit { display: grid; grid-template-columns: minmax(0, 620px) minmax(0, 1fr); gap: 32px 72px; align-items: start; }
.retrofit-copy { display: flex; flex-direction: column; gap: 22px; }
.retrofit-copy .btn { align-self: flex-start; margin-top: 4px; }
.window-card { padding: 32px; border-radius: 16px; background: var(--black); color: var(--white); display: flex; flex-direction: column; gap: 26px; }
.window-title { font-size: 15px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--line); }
.window-bar { display: flex; height: 14px; border-radius: 4px; overflow: hidden; }
.wb-1 { width: 62%; background: var(--ink-2); }
.wb-2 { width: 24%; background: var(--teal); }
.wb-3 { width: 14%; background: var(--white); }
.window-steps { display: flex; flex-direction: column; gap: 22px; }
.window-steps li { display: flex; gap: 18px; }
.window-steps div { display: flex; flex-direction: column; gap: 2px; }
.window-steps strong { font-size: clamp(21px, .2vw + 20px, 23px); font-weight: 800; }
.window-steps div span { font-size: 18px; color: var(--line); }
.ws-dot { width: 14px; height: 14px; margin-top: 6px; flex-shrink: 0; border-radius: 3px; }
.ws-1 { background: var(--gray); }
.ws-2 { background: var(--teal); }
.ws-3 { background: var(--white); }

/* 04 · Indústrias */
#industrias .section-head { margin-bottom: 40px; }
.ind { min-height: 250px; padding: 24px; border-radius: 14px; background: var(--black); border: 1px solid rgba(200,200,194,.18); display: flex; flex-direction: column; gap: 14px; }
.ind strong { margin-top: auto; font-size: clamp(24px, .4vw + 21px, 28px); font-weight: 800; }
.ind > span:last-child { font-size: 17px; line-height: 1.25; color: var(--line); }

/* 05 · Empresa */
.company { display: grid; grid-template-columns: minmax(0, 540px) minmax(0, 1fr); gap: 32px 64px; }
.company-copy { display: flex; flex-direction: column; gap: 16px; }
.company-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-self: start; margin-top: 8px; }
.co-card { min-height: 120px; padding: 24px 26px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(200,200,194,.2); display: flex; align-items: flex-end; }
.co-card strong { font-size: clamp(21px, .4vw + 19px, 25px); font-weight: 800; line-height: 1.05; }
.co-teal { background: var(--teal); border-color: var(--teal); }

/* 06 · Reunião online */
.agenda { display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 720px); justify-content: space-between; gap: 40px 64px; align-items: start; }
.agenda-copy { display: flex; flex-direction: column; gap: 24px; }
.agenda-copy h2 { font-size: clamp(34px, 1.6vw + 23px, 50px); }
.agenda-copy h2 .accent { white-space: nowrap; }
@media (max-width: 420px) { .agenda-copy h2 .accent { white-space: normal; } }
.agenda-copy .dash-list { margin-top: 6px; gap: 12px; }

.form-card { border-radius: 16px; background: var(--graphite); border: 1px solid rgba(200,200,194,.2); overflow: hidden; }
.form-card-bar { height: 8px; background: var(--teal); }
.contact-form { padding: 30px 36px; display: flex; flex-direction: column; gap: 20px; }
.contact-form[hidden] { display: none; }
.form-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.form-head h3 { font-size: clamp(26px, .5vw + 23px, 32px); }
.badge { padding: 4px 10px; border-radius: 6px; background: var(--black); color: var(--mist); font-size: 16px; font-weight: 700; white-space: nowrap; }
.areas { padding: 0; border: 0; min-width: 0; }
.areas legend, .form-step { padding: 0; margin-bottom: 10px; font-size: 18px; font-weight: 700; color: var(--mist); }
.form-step { margin-bottom: -6px; }
.area-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.area-chip {
  min-height: 44px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--mist); border: 1px solid rgba(200,200,194,.4);
  font: 700 18px var(--font); transition: background .2s, color .2s, border-color .2s;
}
.area-chip:hover { border-color: var(--teal); }
.area-chip[aria-pressed="true"] { background: var(--teal); color: var(--white); border-color: var(--teal); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > label { font-size: 18px; font-weight: 700; color: var(--mist); }
.f-in {
  width: 100%; height: 52px; padding: 0 14px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,.22); background: var(--black); color: var(--white);
  font: 500 19px var(--font); transition: border-color .2s;
}
.f-in::placeholder { color: var(--gray); }
.f-in:focus { outline: none; border-color: var(--teal); }
select.f-in { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, #DADAD5 50%), linear-gradient(135deg, #DADAD5 50%, transparent 50%);
  background-position: calc(100% - 22px) 23px, calc(100% - 16px) 23px; background-size: 6px 6px; background-repeat: no-repeat; }
.f-in[aria-invalid="true"] { border-color: #FF8A80; }
.field-error { font-size: 16px; font-weight: 700; color: #FFB4AB; }
.field-error:empty { display: none; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 17px; font-weight: 500; line-height: 1.3; color: var(--mist); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--teal); }
.consent input[aria-invalid="true"] { outline: 2px solid #FF8A80; outline-offset: 2px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 12px 14px; border-radius: 10px; background: rgba(255,138,128,.12); border: 1px solid rgba(255,138,128,.4); font-size: 17px; line-height: 1.35; color: #FFDAD6; }
.form-submit { padding: 14px 18px; border-radius: 10px; background: var(--black); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.summary { font-size: 19px; font-weight: 700; color: var(--line); }
.summary strong { color: var(--white); font-weight: 800; }
.btn-submit { flex-shrink: 0; height: 52px; font-weight: 800; }
.btn-submit[aria-busy="true"] { opacity: .7; cursor: progress; }

.form-success { min-height: 600px; padding: 48px; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.form-success[hidden] { display: none; }
.form-success:focus { outline: none; }
.success-icon { width: 64px; height: 64px; border-radius: 14px; background: var(--teal); display: flex; align-items: center; justify-content: center; }
.form-success h3 { font-size: clamp(32px, .8vw + 26px, 42px); }
.success-text { font-size: 21px; line-height: 1.4; color: var(--mist); }

/* Rodapé */
.site-footer { background: var(--graphite); }
.footer-rule { height: 6px; background: var(--teal); }
.site-footer .container { padding-block: 52px 40px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px 48px; }
.footer-brand { max-width: 400px; display: flex; flex-direction: column; gap: 14px; }
.footer-brand img { width: 168px; height: auto; }
.footer-brand p { font-size: 18px; line-height: 1.35; color: var(--line); }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-h { font-size: 15px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gray); }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(200,200,194,.2); font-size: 17px; color: var(--gray-2); }

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 1279px) {
  .menu-toggle { display: inline-flex; }
  .main-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px var(--gutter) 28px; background: var(--black);
    border-bottom: 1px solid rgba(255,255,255,.12); box-shadow: 0 24px 40px -24px rgba(0,0,0,.6);
  }
  .main-nav.is-open { display: flex; }
  .main-nav .nav-link { min-height: 52px; display: flex; align-items: center; font-size: 22px; font-weight: 700; color: var(--white); border-bottom: 1px solid rgba(255,255,255,.1); }
  .main-nav .btn { margin-top: 20px; height: 56px; font-size: 21px; }

  .hero-tab { padding-right: 12px; }
  .tab-l { font-size: 17px; }
  .grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .phases { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 32px; }
  .phases li:nth-child(3) .phase-line { display: none; }
  .agenda { grid-template-columns: minmax(0, 1fr); }
  .agenda-copy { max-width: 720px; }
  .form-card { max-width: 760px; }
}

@media (max-width: 991px) {
  .section-head { flex-direction: column; align-items: flex-start; }
  .grid-3, .grid-2 { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .when-card, .sol-card { min-height: 0; }
  .feature, .retrofit, .company { grid-template-columns: minmax(0, 1fr); }
  .footer-top { flex-wrap: wrap; }
}

@media (max-width: 767px) {
  .hide-mobile { display: none !important; }
  .show-mobile { display: inline-flex !important; }

  .header-inner { height: 68px; }
  .brand img { width: 122px; }

  /* Hero: barra compacta com segmentos, rótulo e controles */
  .hero-media { bottom: 130px; }
  .hero-shade { background: linear-gradient(180deg, rgba(55,53,52,.5) 0%, rgba(33,33,33,.9) 55%, #212121 100%); }
  .hero-video { object-position: 60% 50%; }
  .hero-stage { min-height: 0; padding-top: 120px; padding-bottom: 40px; }
  .slide { gap: 16px; }
  .eyebrow-hero { font-size: 14px; letter-spacing: .18em; gap: 10px; }
  .eyebrow-hero::before { width: 24px; height: 5px; }
  .slide-actions { flex-direction: column; gap: 12px; margin-top: 0; }
  .slide-actions .btn { width: 100%; }
  .slide-actions .btn-teal { min-height: 56px; font-size: 21px; font-weight: 800; }
  .slide-actions .btn-teal svg { display: none; }
  .slide-actions .btn-ghost { min-height: 52px; font-size: 20px; }
  .hero-bar-inner { height: auto; padding-top: 16px; padding-bottom: 16px; display: flex; flex-direction: column; gap: 14px; }
  .hero-tabs { height: auto; gap: 4px; }
  .hero-tab { height: 20px; padding: 8px 0; gap: 0; justify-content: center; }
  .hero-tab::before { height: 4px; border-radius: 2px; }
  .hero-tab:hover { background: transparent; }
  .tab-n, .tab-l { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .hero-controls { position: static; gap: 8px; }
  .hero-current { flex-grow: 1; flex-direction: column; align-items: flex-start; margin-right: 0; }
  .hero-counter { font-size: 14px; letter-spacing: .14em; color: var(--teal); }
  .hero-current-label { display: block; font-size: 20px; font-weight: 800; line-height: 1.05; }
  .ctl { width: 44px; height: 44px; background: transparent; border-color: rgba(255,255,255,.35); }

  .eyebrow { font-size: 14px; letter-spacing: .2em; gap: 10px; }
  .eyebrow::before { width: 24px; height: 5px; }
  .section-head { margin-bottom: 24px; gap: 14px; }
  .head-main { gap: 14px; }
  .head-aside { font-size: 19px; }

  .when-card { padding: 24px; gap: 20px; }
  .icon-dark { width: 52px; height: 52px; }
  .when-close { margin-top: 28px; }
  .sol-card { padding: 22px; gap: 16px; }

  .phases { grid-template-columns: minmax(0, 1fr); row-gap: 0; margin-bottom: 28px; }
  .phases li { position: relative; padding: 0 0 22px 66px; gap: 6px; }
  .phases li .phase-node { position: absolute; left: 0; top: 0; bottom: 0; flex-direction: column; }
  .phases li .phase-line, .phases li:nth-child(3) .phase-line { display: block; width: 3px; height: auto; flex-grow: 1; }
  .phase-n { width: 46px; height: 46px; font-size: 20px; }
  .phases h3 { padding-top: 10px; }
  .pillar { padding: 22px; }

  .feature-list { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .feature-list li { padding: 14px 16px; font-size: 19px; }
  .feature-cta .btn { width: 100%; white-space: normal; height: auto; min-height: 56px; padding: 10px 20px; }
  .spot { padding: 24px 22px; }
  .dash-list { font-size: 18px; }

  .window-card { padding: 22px; gap: 16px; }

  .grid-5 { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .ind { min-height: 0; padding: 16px 18px; gap: 4px; }
  .ind .dash { display: none; }
  .ind strong { margin-top: 0; font-size: 23px; }
  .ind > span:last-child { font-size: 16px; }
  #industrias .go { margin-top: 14px; font-size: 18px; }

  .company-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 0; }
  .co-card { min-height: 0; padding: 16px 20px; }

  .contact-form { padding: 22px 20px; gap: 16px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .area-chip { font-size: 17px; padding: 0 14px; }
  .form-submit { flex-direction: column; align-items: stretch; padding: 12px 14px; }
  .btn-submit { width: 100%; height: 56px; font-size: 21px; }
  .form-success { min-height: 0; padding: 32px 20px; }

  .site-footer .container { padding-block: 36px; }
  .footer-top { flex-direction: column; gap: 22px; }
  .footer-brand img { width: 137px; }
  .footer-col .nav-link { min-height: 40px; display: flex; align-items: center; }
  .footer-bottom { margin-top: 8px; font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slide { animation: none; }
  .lift:hover { transform: none; }
  .btn:hover svg, .go:hover span, .lift:hover .go span { transform: none; }
}
