@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800;900&family=Inter:wght@400;500;600;700;800;900&display=swap");

:root {
  --black: #07080b;
  --black-2: #101319;
  --graphite: #171b22;
  --graphite-2: #202631;
  --white: #ffffff;
  --text: #f6f7fb;
  --muted: #aab1bd;
  --line: rgba(255,255,255,.12);

  --red: #e30613;
  --red-dark: #9d0610;
  --gold: #d9a514;
  --gold-2: #f3c43f;
  --blue: #0d4f9c;

  --container: 1180px;
  --shadow: 0 34px 90px rgba(0,0,0,.38);
  --clip: polygon(0 0, 100% 0, 94% 100%, 0% 100%);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, system-ui, sans-serif;
  color: var(--text);
  background: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
}

body.is-loading {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 110px 0;
}

.kicker,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.kicker::before,
.section-label::before {
  content: "";
  width: 42px;
  height: 3px;
  background: var(--red);
  display: inline-block;
}


/* AQUI muda algumas configurações dos textos títulos, como a fonte e o espaço entre as letras -----*/
h1,
h2,
h3 {
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.015em;
  line-height: .94;
}


/* AQUI muda o tamanho da fonte h1 dos titulos de alguns lugares do site -----*/
h1 {
  font-size: clamp(56px, 9vw, 116px);
  max-width: 980px;
}


/* AQUI muda o tamanho da fonte h2 dos titulos de alguns lugares do site -----*/
h2 {
  font-size: clamp(40px, 5.8vw, 56px);
}

p {
  color: var(--muted);
}

.btn {
  position: relative;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .08em;
  transition: .25s ease;
  border: 0;
  cursor: pointer;
  overflow: hidden;
  clip-path: polygon(13px 0, 100% 0, calc(100% - 13px) 100%, 0 100%);
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.18);
  transform: translateX(-100%) skewX(-18deg);
  transition: .35s ease;
}

.btn:hover::after {
  transform: translateX(120%) skewX(-18deg);
}

.btn:hover {
  transform: translateY(-2px);
}


/* BOTÃO PADRÃO --*/
.btn--primary {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--white);
  box-shadow: 0 18px 34px rgba(227,6,19,.25);
}

/* BOTÃO VERMELHO --*/
.btn--vermelho {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--white);
  box-shadow: 0 18px 34px rgba(227,6,19,.25);
}

/* BOTÃO AMARELO --*/
.btn--amarelo {
  background: linear-gradient(135deg, #e0aa00, #c28c00);
  color: #000000;
  box-shadow: 0 18px 34px rgba(224, 170, 0, 0.25);
}


.btn--gold {
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #19130a;
  box-shadow: 0 18px 34px rgba(217,165,20,.22);
}

.btn--outline {
  color: var(--white);
  border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.04);
}

.btn--outline-dark {
  color: var(--white);
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(0,0,0,.12);
}

/* Preloader */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: var(--black);
  transition: opacity .45s ease, visibility .45s ease;
}

.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader strong {
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(42px, 7vw, 88px);
  letter-spacing: -.04em;
  color: var(--white);
  z-index: 2;
}



/* PRELOADER -- aqui muda a cor da 'faixa que corre' do preloader da página do GRUPO DETROIT ----*/
.preloader__bar {
  position: absolute;
  left: 0;
  top: 50%;
  height: 6px;
  width: 0;
  background: var(--red);
  animation: loadbar 1.15s ease forwards;
}

/* PRELOADER -- aqui muda a cor da 'faixa que corre' do preloader da página da DETROIT INJECT ----*/
.preloader__bar_inject {
  position: absolute;
  left: 0;
  top: 50%;
  height: 6px;
  width: 0;
  background: #f6ac14;
  animation: loadbar 1.15s ease forwards;
}

/* PRELOADER -- aqui muda a cor da 'faixa que corre' do preloader da página da RETÍFICA DETROIT ----*/
.preloader__bar_retifica {
  position: absolute;
  left: 0;
  top: 50%;
  height: 6px;
  width: 0;
  background: #FF1826;
  animation: loadbar 1.15s ease forwards;
}



@keyframes loadbar {
  to { width: 100%; }
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  transition: .25s ease;
}

.site-header.is-scrolled {
  background: rgba(7,8,11,.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.top-strip {
  background: var(--red);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.top-strip__inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.navbar {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: max-content;
}

.brand__mark {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--red), var(--red-dark) 65%, var(--gold));
  display: grid;
  place-items: center;
  font-family: "Barlow Condensed";
  font-weight: 900;
  font-size: 34px;
  clip-path: polygon(13px 0, 100% 0, calc(100% - 13px) 100%, 0 100%);
  box-shadow: 0 18px 40px rgba(227,6,19,.28);
}

.brand strong {
  font-family: "Barlow Condensed";
  display: block;
  font-size: 28px;
  line-height: .85;
  text-transform: uppercase;
  letter-spacing: -.03em;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .14em;
  margin-top: 6px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.82);
}

.nav-menu a {
  transition: .2s ease;
}

.nav-menu a:hover {
  color: var(--gold-2);
}

.nav-menu__mobile-home {
  display: none;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.05);
  color: var(--white);
  font-size: 22px;
}

/* Hero */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding: 180px 0 130px;
  overflow: hidden;
  isolation: isolate;
}

.hero__slider,
.hero__image,
.hero__grid,
.hero__diagonal {
  position: absolute;
  inset: 0;
}

.hero__slider {
  z-index: -4;
}

.hero__image {
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1s ease, transform 7s linear;
}

.hero__image.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(7,8,11,.97) 0%, rgba(7,8,11,.78) 48%, rgba(7,8,11,.52) 100%),
    radial-gradient(circle at 80% 40%, rgba(227,6,19,.30), transparent 30%);
}

.hero__grid {
  z-index: -2;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
}

.hero__diagonal {
  z-index: -1;
  pointer-events: none;
}

.hero__diagonal::before {
  content: "";
  position: absolute;
  right: -12%;
  top: 0;
  height: 100%;
  width: 42%;
  background: linear-gradient(180deg, rgba(227,6,19,.92), rgba(157,6,16,.82));
  clip-path: polygon(28% 0, 100% 0, 72% 100%, 0 100%);
  opacity: .92;
}

.hero__diagonal::after {
  content: "";
  position: absolute;
  right: 25%;
  bottom: -12%;
  height: 64%;
  width: 18px;
  background: var(--gold);
  transform: skewX(-18deg);
}

.hero__content {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 60px;
  align-items: end;
  padding-left: clamp(44px, 4.2vw, 78px);
  padding-right: clamp(24px, 3vw, 56px);
}

.hero__copy p {
  font-size: clamp(18px, 2.1vw, 23px);
  max-width: 760px;
  color: rgba(255,255,255,.80);
  margin: 28px 0 36px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-card {
  background: rgba(16,19,25,.78);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(14px);
  padding: 20px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 34px), calc(100% - 34px) 100%, 0 100%);
  box-shadow: var(--shadow);
}

.hero-card__label {
  display: inline-block;
  background: var(--gold);
  color: #181006;
  padding: 6px 11px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 18px;
}

.hero-card strong {
  display: block;
  font-family: "Barlow Condensed";
  font-size: 38px;
  line-height: .95;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero-card p {
  font-size: 14px;
}

.hero-card__meter {
  height: 7px;
  background: rgba(255,255,255,.12);
  margin-top: 24px;
  overflow: hidden;
}

.hero-card__meter span {
  display: block;
  height: 100%;
  width: 86%;
  background: linear-gradient(90deg, var(--red), var(--gold));
}

.hero__facts {
  position: relative;
  left: auto;
  bottom: auto;
  transform: none;
  width: min(100% - 40px, var(--container));
  margin: 56px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--black-2);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  z-index: 2;
  overflow: hidden;
}

.hero__facts > div {
  min-width: 0;
  padding: 26px 28px;
  border-right: 1px solid var(--line);
}

.hero__facts > div:last-child {
  border-right: 0;
}

.hero__facts strong {
  display: block;
  font-family: "Barlow Condensed";
  font-size: 44px;
  line-height: .9;
  color: var(--white);
}

.hero__facts span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 8px;
}

/* About */

/* GRUPO - FOTO DA FACHADA -- aqui muda a cor de fundo dessa parte da página inicial do site -----*/
.about {
	background-color: #E4E4E4;
	
	/*
  background: linear-gradient(180deg, var(--black), var(--black-2));
	*/
  padding-top: 110px;
}

.about__grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 70px;
}

.about__content h2 {
  max-width: 900px;
  margin-bottom: 24px;
}

.about__content > p {
  max-width: 780px;
  font-size: 18px;
}


/* QUEM SOMOS INDEX -- 3 BOX -- aqui muda a configuração das 'caixinhas dos 3 box' que tem abaixo do texto do quem somos ---*/
.about__highlights {
  display: grid;
  grid-template-columns: repeat(3, 2fr);
  gap: 5px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 16px;
}

.about__highlights > div {
  background: var(--graphite);
  padding: 10px;
  min-height: 110px;
}

.about__highlights span {
  display: block;
  color: var(--red);
  font-family: "Barlow Condensed";
  font-size: 30px;
  font-weight: 900;
  margin-bottom: 10px;
}

.about__highlights strong {
  display: block;
  font-size: 20px;
  margin-bottom: 8px;
}

/* Companies */

/* EMPRESAS DO GRUPO - INDEX -- aqui muda o BG desse item da página inicial ----*/
.companies {
	background-image: url("../assets/images/bg/bg_footer_inject.jpg");
	
	/*
  background: var(--black);
	*/
}


/* TEXTO TITULO -- POSIÇÃO --- aqui muda a posição e tamanho máximo de largura do texto titulo dos itens do site ----*/
.section-heading {
  max-width: 820px;
  margin-bottom: 54px;
}

.section-heading--center {
  text-align: center;
  margin-inline: auto;
}

.section-heading--center .kicker {
  justify-content: center;
}

/* TEXTO TITULO 02 -- POSIÇÃO --- aqui muda a posição e tamanho máximo de largura do texto titulo dos itens do site ----*/
.section-esquerda {
  max-width: 100%;
  margin-bottom: 54px;
}


.company-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.company-panel {
  min-height: 470px;
  position: relative;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  background: var(--graphite);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.company-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 52px 52px;
  opacity: .55;
  pointer-events: none;
}

.company-panel::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 9px;
  background: var(--red);
}

.company-panel--inject::after {
  background: var(--gold);
}


/* EMPRESAS -- aqui muda a imagem de fundo aonde tem a logo da DETROIT INJECT ----*/
.company-panel__media {
  position: relative;
  display: grid;
  place-items: center;
  padding: 44px;
  background:
    linear-gradient(135deg, rgba(0,0,0,.18), rgba(0,0,0,.72)),
    url("../assets/images/empresas/inject_capa.jpg") center/cover no-repeat;
}



/* EMPRESAS -- aqui muda a imagem de fundo aonde tem a logo da RETÍFICA DETROIT ----*/
.company-panel--retifica .company-panel__media {
  background:
    linear-gradient(135deg, rgba(0,0,0,.20), rgba(0,0,0,.75)),
    url("../assets/images/empresas/retifica_capa.jpg") center/cover no-repeat;
}



.company-logo {
  position: relative;
  z-index: 2;
  max-width: min(100%, 420px);
  filter: drop-shadow(0 24px 34px rgba(0,0,0,.52));
}

.company-logo--inject {
  max-height: 150px;
}

.company-logo--retifica {
  max-height: 130px;
}

.company-panel__body {
  position: relative;
  z-index: 1;
  padding: clamp(34px, 5vw, 66px);
}

.company-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 8px 12px;
  background: rgba(255,255,255,.08);
  border: 1px solid var(--line);
  color: var(--gold-2);
  margin-bottom: 22px;
}

.company-panel h3 {
  font-size: clamp(44px, 7vw, 82px);
  margin-bottom: 16px;
}

.company-panel p {
  font-size: 17px;
  max-width: 620px;
  margin-bottom: 24px;
}

.company-panel ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(190px, 1fr));
  gap: 10px;
  margin-bottom: 30px;
}

.company-panel li {
  color: rgba(255,255,255,.86);
  font-size: 14px;
  font-weight: 700;
}

.company-panel li::before {
  content: "▸";
  color: var(--red);
  margin-right: 8px;
}

.company-panel--inject li::before {
  color: var(--gold);
}

/* Structure */

/* ESTRUTURA E TECNOLOGIA - INDEX -- aqui muda o BG de fundo desse item ----*/
.structure {
	/*
  background: #f4f5f7;
	*/
	background-image: url("../assets/images/bg/bg_marcas_inject.jpg");
  color: #101319;
  overflow: hidden;
}

.structure p {
  color: #57606d;
}

.structure .kicker {
  color: var(--red);
}

.structure__bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(16,19,25,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16,19,25,.06) 1px, transparent 1px);
  background-size: 70px 70px;
  pointer-events: none;
}

.structure__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 70px;
  align-items: center;
}

.image-stack {
  position: relative;
  min-height: 610px;
}


/* ESTRUTURA E TECNOLOGIA -- aqui muda o fundo da imagem menor ---*/
.image-stack__main,
.image-stack__float {
  position: absolute;
  overflow: hidden;
	/*
  box-shadow: var(--shadow);	
  background: #ddd;
	*/
}

/* ESTRUTURA E TECNOLOGIA -- aqui muda o posicionamento da imagem maior ---*/
.image-stack__main {
  inset: 0 10px 80px 0;
  clip-path: polygon(0 0, 100% 0, 78% 100%, 0 100%);
}

/* ESTRUTURA E TECNOLOGIA -- aqui muda a cor e tamanho da borda da imagem menor ---*/
.image-stack__float {
  right: 0;
  bottom: 0;
  width: 48%;
  height: 270px;
  border: 0px solid #f4f5f7;
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
}

.image-stack img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ESTRUTURA E TECNOLOGIA -- aqui muda as configurações do selo ---*/
.experience-badge {
  position: absolute;
  left: 25px;
  bottom: 50px;
  width: 150px;
  height: 120px;
  background: var(--red);
  color: var(--white);
  display: grid;
  place-items: center;
  text-align: center;
  clip-path: polygon(15% 0, 100% 0, 85% 100%, 0 100%);
}

.experience-badge strong {
  display: block;
  font-family: "Barlow Condensed";
  font-size: 76px;
  line-height: .8;
}

.experience-badge span {
  display: block;
  font-size: 13px;
  line-height: 1.15;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.progress-list {
  display: grid;
  gap: 22px;
  margin: 36px 0 34px;
}

.progress-item div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 14px;
  margin-bottom: 8px;
}

.progress-item span {
  color: var(--red);
  font-weight: 900;
}

.progress-item i {
  display: block;
  height: 8px;
  background: #d7dbe2;
  position: relative;
  overflow: hidden;
}

.progress-item i::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--value);
  background: linear-gradient(90deg, var(--red), var(--gold));
}

/* Segments */
.segments {
  background:
    linear-gradient(180deg, rgba(7,8,11,.96), rgba(7,8,11,.92)),
    url("https://images.unsplash.com/photo-1513828583688-c52646db42da?auto=format&fit=crop&w=1920&q=85") center/cover fixed no-repeat;
}

.segment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.segment-card {
  min-height: 245px;
  background: rgba(16,19,25,.88);
  padding: 34px;
  position: relative;
  overflow: hidden;
  transition: .25s ease;
}

.segment-card::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 150px;
  height: 150px;
  background: rgba(227,6,19,.2);
  transform: rotate(45deg);
  transition: .25s ease;
}

.segment-card:hover {
  background: rgba(227,6,19,.88);
  transform: translateY(-4px);
  z-index: 2;
}

.segment-card:hover p,
.segment-card:hover span {
  color: rgba(255,255,255,.84);
}

.segment-card span {
  display: block;
  color: var(--gold-2);
  font-family: "Barlow Condensed";
  font-size: 42px;
  font-weight: 900;
  line-height: .9;
  margin-bottom: 42px;
}

.segment-card strong {
  display: block;
  font-family: "Barlow Condensed";
  font-size: 32px;
  line-height: .95;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* Direction */ /* DIRECIONAMENTO EMPRESAS -- aqui muda as configurações desse item ---*/
.direction {
	/*
  background: var(--black-2);
	*/
	background-image: url("../assets/images/bg/bg_footer_inject.jpg");
}

.direction__box {
  display: grid;
  grid-template-columns: 1fr .95fr;
  gap: 50px;
  align-items: center;
  padding: clamp(34px, 6vw, 70px);
  background:
    linear-gradient(135deg, rgba(227,6,19,.14), rgba(217,165,20,.10)),
    var(--graphite);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  clip-path: polygon(0 0, 100% 0, 96% 100%, 0 100%);
}

.direction__actions {
  display: grid;
  gap: 18px;
}

.direction-link {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 22px 26px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--line);
  transition: .25s ease;
}

.direction-link:hover {
  transform: translateX(8px);
  background: rgba(255,255,255,.1);
}

.direction-link img {
  max-width: 260px;
  max-height: 72px;
  object-fit: contain;
}

.direction-link span {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
  color: var(--muted);
}

/* Contact */
.contact {
	
/* CONTATO - INDEX -- aqui muda o BG do item 'contato' na indez, aonde tem as logos e o mapa ----*/
	/*
  background: #f4f5f7;
	*/
	background-image: url("../assets/images/bg/bg_marcas_inject.jpg");
	color: #101319;
}

.contact p {
  color: #596371;
}

.contact .kicker {
  color: var(--red);
}

.contact__grid {
  display: grid;
  grid-template-columns: .9fr 1fr;
  gap: 50px;
  align-items: start;
}

.contact__content h2 {
  margin-bottom: 18px;
}

.contact-cards {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.contact-card {
  padding: 22px;
  background: var(--white);
  border-left: 6px solid var(--red);
  box-shadow: 0 20px 50px rgba(16,19,25,.08);
}

.contact-card--inject {
  border-left-color: var(--gold);
}

.contact-card strong {
  display: block;
  color: #101319;
  margin-bottom: 4px;
}

.contact-card span {
  color: #596371;
  font-size: 14px;
}

.quote-form {
  background: var(--white);
  padding: clamp(28px, 5vw, 48px);
  box-shadow: 0 30px 80px rgba(16,19,25,.13);
  display: grid;
  gap: 18px;
}

.quote-form label {
  display: grid;
  gap: 8px;
  color: #101319;
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.quote-form input,
.quote-form textarea,
.quote-form select {
  border: 1px solid #d7dbe2;
  min-height: 52px;
  padding: 0 15px;
  background: #f7f8fa;
  color: #101319;
  outline: none;
}

.quote-form textarea {
  min-height: 130px;
  padding-top: 14px;
  resize: vertical;
}

.quote-form input:focus,
.quote-form textarea:focus,
.quote-form select:focus {
  border-color: var(--red);
}

/* Footer */ /* AQUI muda as configurações do BG do FOOTER ----*/
.site-footer {
	/*
  background: var(--black);
	*/
  background-image: url("../assets/images/bg/bg_footer.jpg"); 
  background-repeat: repeat-x;
  border-top: 1px solid var(--line);
  padding: 50px 0 28px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
}

.brand--footer {
  margin-bottom: 18px;
}

/* FOOTER - AQUI muda as configurações dos TITULOS das colunas ----*/
.site-footer h3 {
  font-size: 24px;
  margin-bottom: 18px;
  color: #bd000b;
}

/* FOOTER - AQUI muda as configurações dos LINKS das colunas ----*/
.site-footer a {
  display: block;
  color: var(--muted);
  margin-bottom: 10px;
  font-size: 14px;
  text-transform: uppercase;
}

.site-footer p {
  max-width: 250px;
}

.footer__bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 46px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 13px;
  flex-wrap: wrap;
}

.float-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  background: #25d366;
  color: #061006;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
  padding: 17px 22px;
  box-shadow: 0 18px 42px rgba(37,211,102,.30);
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s ease, transform .75s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */

/* Top banner slider */
.top-banner {
  position: relative;
  z-index: 3;
  margin-top: 118px;
  background: var(--black);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.top-slider {
  min-height: calc(100vh - 118px);
}

.top-slider__track {
  position: relative;
  min-height: calc(100vh - 118px);
}

.top-slider__slide {
  position: absolute;
  inset: 0;
  min-height: calc(100vh - 118px);
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.03);
  transition: opacity .85s ease, visibility .85s ease, transform 1.2s ease;
  background: var(--slide-image) center/cover no-repeat;
  isolation: isolate;
}

.top-slider__slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(7,8,11,.92) 0%, rgba(7,8,11,.72) 44%, rgba(7,8,11,.26) 100%),
    radial-gradient(circle at 75% 50%, rgba(227,6,19,.34), transparent 34%);
}

.top-slider__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: linear-gradient(90deg, rgba(0,0,0,.85), transparent 82%);
}

.top-slider__slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  position: relative;
}

.top-slider__content {
  position: relative;
  z-index: 2;
  padding: 72px 0;
  max-width: var(--container);
}

.top-slider__content h2 {
  max-width: 860px;
  font-size: clamp(48px, 7.5vw, 112px);
  margin-bottom: 22px;
}

.top-slider__content p {
  max-width: 620px;
  color: rgba(255,255,255,.78);
  font-size: clamp(18px, 2vw, 24px);
  margin-bottom: 34px;
}

.top-slider__arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 58px;
  height: 78px;
  transform: translateY(-50%);
  border: 1px solid rgba(255,255,255,.26);
  background: rgba(7,8,11,.58);
  color: var(--white);
  font-size: 48px;
  line-height: 1;
  cursor: pointer;
  transition: .25s ease;
  backdrop-filter: blur(10px);
}

.top-slider__arrow:hover {
  background: var(--red);
  border-color: var(--red);
}

.top-slider__arrow--prev {
  left: 22px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
}

.top-slider__arrow--next {
  right: 22px;
  clip-path: polygon(14px 0, 100% 0, 100% 100%, 0 100%);
}

.top-slider__dots {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 6;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.top-slider__dots button {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  cursor: pointer;
  transition: .25s ease;
}

.top-slider__dots button.is-active {
  width: 38px;
  border-radius: 999px;
  background: var(--red);
}

/* Internal company pages */
.company-page-hero {
  min-height: 82vh;
}

.company-page-logo {
  max-width: min(520px, 100%);
  margin-bottom: 30px;
  filter: drop-shadow(0 22px 30px rgba(0,0,0,.5));
}

.company-page-logo--inject {
  max-width: min(440px, 100%);
}

.company-intro {
  background: linear-gradient(180deg, var(--black), var(--black-2));
}

.company-intro__grid,
.solution-grid,
.quality-grid {
  display: grid;
  gap: 28px;
}

.company-intro__grid {
  grid-template-columns: .9fr 1.1fr;
  align-items: start;
}

.company-lead {
  font-size: 20px;
  color: rgba(255,255,255,.78);
  margin-bottom: 26px;
}

.info-panel {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  padding: 28px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%);
}

.info-panel strong {
  display: block;
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-size: 34px;
  line-height: .95;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.info-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  list-style: none;
}

.info-list li {
  display: flex;
  gap: 12px;
  color: var(--muted);
}

.info-list li::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-top: 9px;
  flex: 0 0 auto;
  background: var(--red);
  transform: skewX(-18deg);
}

.solution-section {
  background:
    radial-gradient(circle at 15% 5%, rgba(227,6,19,.17), transparent 30%),
    var(--black-2);
}

.solution-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 46px;
}

.solution-card {
  min-height: 290px;
  padding: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.025));
  position: relative;
  overflow: hidden;
}

.solution-card::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 160px;
  height: 160px;
  background: rgba(227,6,19,.18);
  transform: rotate(35deg);
}

.solution-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 36px;
  padding: 0 12px;
  background: var(--red);
  color: var(--white);
  font-family: "Barlow Condensed";
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 24px;
}

.solution-card h3 {
  font-size: 34px;
  margin-bottom: 12px;
}

.solution-card p {
  font-size: 15px;
}

.quality-section {
  background: var(--black);
}

.quality-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 46px;
}

.quality-card {
  border: 1px solid var(--line);
  padding: 24px;
  min-height: 210px;
  background: rgba(255,255,255,.035);
}

.quality-card b {
  display: block;
  color: var(--gold-2);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.quality-card strong {
  display: block;
  font-family: "Barlow Condensed";
  font-size: 30px;
  line-height: .95;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.company-cta {
  background:
    linear-gradient(90deg, rgba(7,8,11,.95), rgba(7,8,11,.72)),
    url('https://images.unsplash.com/photo-1565043666747-69f6646db940?auto=format&fit=crop&w=1800&q=85') center/cover no-repeat;
}

.company-cta__box {
  border: 1px solid var(--line);
  background: rgba(16,19,25,.82);
  padding: clamp(28px, 5vw, 58px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  box-shadow: var(--shadow);
}

.company-cta__box h2 {
  max-width: 780px;
}

.company-cta__box p {
  max-width: 720px;
  margin-top: 16px;
}


@media (max-width: 1080px) {
  .header-cta,
  .top-strip {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 92px;
    left: 20px;
    right: 20px;
    display: grid;
    gap: 0;
    padding: 12px;
    background: rgba(7,8,11,.96);
    border: 1px solid var(--line);
    backdrop-filter: blur(18px);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: .25s ease;
  }

  .nav-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-menu a {
    padding: 16px;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }

  .hero__content,
  .about__grid,
  .company-panel,
  .structure__grid,
  .direction__box,
  .contact__grid,
  .company-intro__grid,
  .company-cta__box {
    grid-template-columns: 1fr;
  }

  .top-banner {
    padding-top: 92px;
  }

  .top-banner__grid,
  .solution-grid,
  .quality-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-card {
    max-width: 470px;
  }

  .hero__facts {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    margin-top: 60px;
    grid-template-columns: repeat(2, 1fr);
  }

  .about {
    padding-top: 110px;
  }

  .segment-grid,
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .image-stack {
    min-height: 520px;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .navbar {
    min-height: 76px;
  }

  .brand__mark {
    width: 44px;
    height: 44px;
    font-size: 30px;
  }

  .brand strong {
    font-size: 23px;
  }

  .hero {
    padding: 132px 0 70px;
  }

  h1 {
    font-size: clamp(50px, 15vw, 74px);
  }

  .hero__content {
    gap: 34px;
  }

  .hero__diagonal::before {
    width: 52%;
    opacity: .38;
  }

  .hero__facts,
  .about__highlights,
  .company-panel ul,
  .segment-grid,
  .footer__grid,
  .top-banner__grid,
  .solution-grid,
  .quality-grid {
    grid-template-columns: 1fr;
  }

  .top-banner {
    padding-top: 78px;
  }

  .top-banner__item {
    min-height: 150px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }

  .hero__facts > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero__facts > div:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 78px 0;
  }

  .company-panel__media {
    min-height: 260px;
    padding: 30px;
  }

  .company-logo {
    max-width: 300px;
  }

  .image-stack {
    min-height: 420px;
  }

  .image-stack__main {
    inset: 0 0 80px 0;
  }

  .image-stack__float {
    width: 72%;
    height: 190px;
  }

  .experience-badge {
    width: 130px;
    height: 130px;
    bottom: 96px;
  }

  .experience-badge strong {
    font-size: 58px;
  }

  .direction__box {
    clip-path: none;
  }

  .direction-link {
    display: grid;
    justify-items: start;
  }

  .direction-link img {
    max-width: 240px;
  }

  .float-whatsapp {
    left: 14px;
    right: 14px;
    text-align: center;
  }
}


/* Slider responsive refinements */
@media (max-width: 1080px) {
  .top-banner {
    margin-top: 76px;
    padding-top: 0;
  }

  .top-slider,
  .top-slider__track,
  .top-slider__slide {
    min-height: calc(100vh - 76px);
  }

  .top-slider__content {
    padding: 70px 42px;
  }

  .top-slider__arrow {
    width: 48px;
    height: 64px;
    font-size: 40px;
  }

  .top-slider__arrow--prev {
    left: 10px;
  }

  .top-slider__arrow--next {
    right: 10px;
  }

  .hero__facts {
    width: min(100% - 40px, var(--container));
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
  }
}

@media (max-width: 680px) {
  .top-banner {
    margin-top: 76px;
    padding-top: 0;
  }

  .top-slider,
  .top-slider__track,
  .top-slider__slide {
    min-height: calc(100vh - 76px);
  }

  .top-slider__content {
    padding: 58px 22px 86px;
  }

  .top-slider__content h2 {
    font-size: clamp(44px, 15vw, 70px);
  }

  .top-slider__content p {
    font-size: 17px;
  }

  .top-slider__arrow {
    top: auto;
    bottom: 20px;
    transform: none;
    width: 46px;
    height: 46px;
    font-size: 34px;
  }

  .top-slider__arrow--prev {
    left: 16px;
  }

  .top-slider__arrow--next {
    right: 16px;
  }

  .top-slider__dots {
    bottom: 36px;
  }

  .hero__facts {
    grid-template-columns: 1fr;
    width: min(100% - 28px, var(--container));
  }
}


/* Ajustes v6 solicitados */
@media (min-width: 1081px) {
  .top-strip__inner {
    min-height: 38px;
  }

  .navbar {
    min-height: 110px;
  }

  .brand__mark {
    width: 70px;
    height: 70px;
    font-size: 44px;
  }

  .brand strong {
    font-size: 36px;
  }

  .brand small {
    font-size: 12px;
  }

  .nav-menu {
    font-size: 15px;
    gap: 30px;
  }

  .top-banner {
    margin-top: 148px;
  }

  .top-slider,
  .top-slider__track,
  .top-slider__slide {
    min-height: calc(100vh - 148px);
  }
}

/* Slider com imagem responsiva */
.top-slider__slide {
  background-image: var(--slide-image);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

@media (max-width: 680px) {
  .top-slider__slide {
    background-image: var(--slide-image-mobile, var(--slide-image));
    background-position: center center;
  }

  .top-slider,
  .top-slider__track,
  .top-slider__slide {
    min-height: calc(100vh - 86px);
  }

  .top-banner {
    margin-top: 86px;
  }
}

/* Mais respiro lateral nos textos e seções abaixo do banner */
main .container,
.footer .container {
  width: min(100% - 88px, var(--container));
}

@media (max-width: 1080px) {
  main .container,
  .footer .container {
    width: min(100% - 58px, var(--container));
  }
}

@media (max-width: 680px) {
  main .container,
  .footer .container {
    width: min(100% - 34px, var(--container));
  }
}

/* Imagem placeholder no bloco institucional do Grupo Detroit */
.about__grid {
  grid-template-columns: minmax(300px, 420px) 1fr;
  align-items: start;
}

.about__image {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 80% 100%, 0 100%);
}

.about__image::after {
  content: "";
  position: absolute;
  inset: 0;
	/*
  background:
    linear-gradient(180deg, rgba(7,8,11,.08), rgba(7,8,11,.68)),
    linear-gradient(90deg, rgba(227,6,19,.32), transparent 46%);
	*/
}

.about__image img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.about__image figcaption {
  position: absolute;
  left: 28px;
  bottom: 28px;
  z-index: 2;
  max-width: 220px;
  color: var(--white);
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-size: 34px;
  font-weight: 900;
  line-height: .95;
  text-transform: uppercase;
}

.about__image figcaption::before {
  content: "";
  display: block;
  width: 58px;
  height: 5px;
  margin-bottom: 16px;
  background: var(--red);
}

@media (max-width: 1080px) {
  .about__grid {
    grid-template-columns: 1fr;
  }

  .about__image {
    min-height: 360px;
    clip-path: polygon(0 0, 100% 0, 94% 100%, 0 100%);
  }

  .about__image img {
    min-height: 360px;
  }
}

/* Topo maior também no mobile/tablet, sem quebrar o layout */
@media (max-width: 1080px) {
  .navbar {
    min-height: 86px;
  }

  .brand__mark {
    width: 56px;
    height: 56px;
    font-size: 36px;
  }

  .brand strong {
    font-size: 29px;
  }

  .nav-menu {
    top: 96px;
    font-size: 15px;
  }
}

@media (max-width: 680px) {
  .navbar {
    min-height: 86px;
  }

  .brand {
    gap: 10px;
  }

  .brand__mark {
    width: 52px;
    height: 52px;
    font-size: 34px;
  }

  .brand strong {
    font-size: 25px;
  }

  .brand small {
    font-size: 9px;
    letter-spacing: .08em;
  }

  .nav-toggle {
    width: 50px;
    height: 50px;
  }
}


/* === Ajustes v7 solicitados === */

/* Topo: evita que itens do menu e CTA quebrem linha */
.navbar {
  min-height: 98px;
  gap: clamp(18px, 2vw, 30px);
}

.brand__mark {
  width: 62px;
  height: 62px;
  font-size: 40px;
}

.brand strong {
  font-size: 32px;
}

.brand small {
  font-size: 12px;
}

.nav-menu {
  gap: clamp(20px, 2vw, 30px);
  font-size: 15px;
  flex: 1 1 auto;
  justify-content: center;
}

.nav-menu a,
.header-cta {
  white-space: nowrap;
}

.header-cta {
  flex: 0 0 auto;
  min-width: 235px;
  padding-inline: 32px;
  font-size: 13px;
  line-height: 1;
}

/* Banner/slider: mais respiro lateral para o texto */
.top-banner {
  margin-top: 132px;
}

.top-slider,
.top-slider__track,
.top-slider__slide {
  min-height: calc(100vh - 132px);
}

.top-slider__content {
  padding-top: 72px;
  padding-bottom: 72px;
  padding-left: clamp(64px, 8vw, 128px);
  padding-right: clamp(36px, 6vw, 96px);
  width: min(100%, calc(var(--container) + 220px));
  margin-inline: auto;
}

.top-slider__content h2 {
  max-width: 980px;
  font-size: clamp(46px, 6.8vw, 104px);
}

/* Conteúdos abaixo do banner: mais distância das laterais */
.container.hero__content {
  width: min(100% - clamp(96px, 10vw, 180px), var(--container));
}

.section > .container,
.stats .container,
.footer .container {
  width: min(100% - clamp(72px, 8vw, 150px), var(--container));
}

.hero__facts.container {
  width: min(100% - clamp(72px, 8vw, 150px), var(--container));
}

/* Ícone flutuante do WhatsApp */
.float-whatsapp {
  width: 66px;
  height: 66px;
  right: 28px;
  bottom: 28px;
  padding: 0;
  border-radius: 999px;
  clip-path: none;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #061006;
  box-shadow: 0 18px 42px rgba(37,211,102,.34);
}

.float-whatsapp svg {
  width: 34px;
  height: 34px;
  display: block;
}

/* Responsivo do topo e slider */
@media (max-width: 1180px) {
  .navbar {
    gap: 16px;
  }

  .nav-menu {
    gap: 18px;
    font-size: 14px;
  }

  .header-cta {
    min-width: 210px;
    padding-inline: 24px;
    font-size: 12px;
  }
}

@media (max-width: 980px) {
  .navbar {
    min-height: 88px;
  }

  .top-banner {
    margin-top: 88px;
  }

  .top-slider,
  .top-slider__track,
  .top-slider__slide {
    min-height: calc(100vh - 88px);
  }

  .top-slider__slide {
    background-image: var(--slide-image-mobile) !important;
    background-position: center center;
  }

  .top-slider__content {
    padding-left: clamp(38px, 8vw, 74px);
    padding-right: clamp(28px, 6vw, 56px);
  }

  .container.hero__content,
  .section > .container,
  .stats .container,
  .footer .container,
  .hero__facts.container {
    width: min(100% - 48px, var(--container));
  }
}

@media (max-width: 680px) {
  .navbar {
    min-height: 82px;
  }

  .brand__mark {
    width: 50px;
    height: 50px;
    font-size: 34px;
  }

  .brand strong {
    font-size: 25px;
  }

  .brand small {
    font-size: 10px;
  }

  .top-banner {
    margin-top: 82px;
  }

  .top-slider,
  .top-slider__track,
  .top-slider__slide {
    min-height: calc(100svh - 82px);
  }

  .top-slider__slide {
    background-size: cover;
    background-position: center top;
  }

  .top-slider__slide::before {
    background:
      linear-gradient(90deg, rgba(7,8,11,.95) 0%, rgba(7,8,11,.78) 66%, rgba(7,8,11,.45) 100%),
      radial-gradient(circle at 72% 36%, rgba(227,6,19,.26), transparent 38%);
  }

  .top-slider__content {
    padding-left: 28px;
    padding-right: 28px;
    padding-top: 46px;
    padding-bottom: 86px;
  }

  .top-slider__content h2 {
    font-size: clamp(42px, 14vw, 68px);
    max-width: 100%;
  }

  .top-slider__content p {
    font-size: 17px;
  }

  .top-slider__arrow {
    width: 44px;
    height: 58px;
    font-size: 38px;
  }

  .top-slider__arrow--prev {
    left: 8px;
  }

  .top-slider__arrow--next {
    right: 8px;
  }

  .container.hero__content,
  .section > .container,
  .stats .container,
  .footer .container,
  .hero__facts.container {
    width: min(100% - 34px, var(--container));
  }

  .float-whatsapp {
    width: 58px;
    height: 58px;
    right: 16px;
    bottom: 16px;
  }

  .float-whatsapp svg {
    width: 30px;
    height: 30px;
  }
}


/* Ajuste v8: respiro lateral no texto do banner/hero */
.hero__content,
.top-slider__content {
  padding-left: clamp(44px, 4.2vw, 78px);
  padding-right: clamp(24px, 3vw, 56px);
}

@media (max-width: 760px) {
  .hero__content,
  .top-slider__content {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 480px) {
  .hero__content,
  .top-slider__content {
    padding-left: 20px;
    padding-right: 20px;
  }
}


/* === Ajustes v9 === */

/* Slider: no mobile a imagem usa contain para aparecer inteira.
   Como o slide é background, fica uma área escura sobrando quando a proporção
   da imagem não encaixa perfeitamente na tela. */
@media (max-width: 680px) {
  .top-slider__slide {
    background-image: var(--slide-image-mobile, var(--slide-image)) !important;
    background-size: contain !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
    background-color: var(--black);
  }

  .top-slider__slide::before {
    /* mantém leitura do texto sem esconder totalmente a imagem */
    background:
      linear-gradient(180deg, rgba(7,8,11,.32) 0%, rgba(7,8,11,.78) 58%, rgba(7,8,11,.96) 100%),
      radial-gradient(circle at 76% 24%, rgba(227,6,19,.22), transparent 36%);
  }

  .top-slider__content {
    align-self: end;
    padding-top: 42vh;
  }
}

@media (max-width: 480px) {
  .top-slider__content {
    padding-top: 38vh;
  }
}

/* WhatsApp: botão circular verde com símbolo branco */
.float-whatsapp {
  left: auto !important;
  right: 28px;
  bottom: 28px;
  width: 66px;
  height: 66px;
  padding: 0;
  border-radius: 50%;
  clip-path: none;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #fff;
  font-size: 0;
  line-height: 0;
  box-shadow: 0 18px 42px rgba(37,211,102,.34);
}

.float-whatsapp svg {
  width: 34px;
  height: 34px;
  display: block;
  fill: currentColor;
}

.float-whatsapp:hover {
  transform: translateY(-3px);
}

@media (max-width: 680px) {
  .float-whatsapp {
    left: auto !important;
    right: 16px;
    bottom: 16px;
    width: 58px;
    height: 58px;
  }

  .float-whatsapp svg {
    width: 30px;
    height: 30px;
  }
}


/* === Ajustes v10: correção fina do hero na versão mobile ===
   Mantém o visual desktop intacto e reduz apenas os elementos que
   estavam estourando/cortando no mobile. */
@media (max-width: 680px) {
  .hero {
    min-height: auto;
    padding: 108px 0 54px;
    overflow: hidden;
  }

  .hero__content {
    display: grid;
    grid-template-columns: 1fr;
    width: min(100% - 34px, var(--container)) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    gap: 28px;
  }

  .hero__copy {
    min-width: 0;
    max-width: 100%;
  }

  .hero__copy h1 {
    font-size: clamp(34px, 10.4vw, 42px) !important;
    line-height: .96;
    max-width: 100%;
    overflow-wrap: normal;
    word-break: normal;
  }

  .hero__copy p {
    font-size: 16px;
    line-height: 1.55;
    max-width: 100%;
    margin: 22px 0 26px;
  }

  .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 270px;
  }

  .hero__actions .btn {
    width: 100%;
    min-height: 54px;
    padding-inline: 18px;
    font-size: 12px;
    white-space: nowrap;
  }

  .hero-card {
    width: 100%;
    max-width: 100%;
    padding: 26px 24px;
    clip-path: none;
  }

  .hero-card strong {
    display: block;
    font-size: clamp(29px, 9.2vw, 38px);
    line-height: .98;
    max-width: 100%;
    overflow-wrap: normal;
    word-break: normal;
  }

  .hero-card p {
    font-size: 15px;
    line-height: 1.45;
  }

  .hero__facts {
    width: min(100% - 34px, var(--container)) !important;
    margin-top: 32px;
    grid-template-columns: 1fr 1fr !important;
  }

  .hero__facts > div {
    padding: 22px 18px;
    min-width: 0;
  }

  .hero__facts strong {
    font-size: 34px;
    line-height: .95;
    white-space: normal;
  }

  .hero__facts span {
    font-size: 12px;
    line-height: 1.35;
  }
}

@media (max-width: 420px) {
  .hero__copy h1 {
    font-size: clamp(31px, 9.8vw, 38px) !important;
  }

  .hero__facts {
    grid-template-columns: 1fr !important;
  }

  .hero__actions {
    max-width: 100%;
  }
}

/* Ajuste opcional do slider principal no mobile:
   deixa texto do slider mais seguro em telas estreitas sem alterar desktop. */
@media (max-width: 680px) {
  .top-slider__content h2 {
    font-size: clamp(34px, 10.5vw, 46px) !important;
    line-height: .98;
    max-width: 100%;
  }

  .top-slider__content p {
    max-width: 100%;
  }
}


/* === Ajuste topo contatos v2 ===
   Desktop: contatos alinhados à direita.
   Mobile: contatos alinhados à esquerda. */
.top-strip__inner {
  justify-content: flex-start;
  gap: 22px;
}

.top-strip__slogan {
  flex: 0 0 auto;
}

.top-strip__contacts {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  flex-wrap: wrap;
}

.top-strip__contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  white-space: nowrap;
}

.top-strip__contact svg {
  width: 15px;
  height: 15px;
  display: block;
  fill: currentColor;
  flex: 0 0 auto;
}

@media (max-width: 1080px) {
  .top-strip {
    display: block !important;
  }

  .top-strip__inner {
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
    min-height: auto;
    padding-top: 9px;
    padding-bottom: 9px;
  }

  .top-strip__contacts {
    width: 100%;
    margin-left: 0;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 8px 16px;
    font-size: 11px;
  }

  .top-strip__contact {
    white-space: normal;
  }

  .nav-menu {
    top: 138px;
  }

  .top-banner {
    margin-top: 138px;
  }
}

@media (max-width: 680px) {
  .top-strip {
    font-size: 10px;
    letter-spacing: .06em;
  }

  .top-strip__inner {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .top-strip__contacts {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .top-strip__contact svg {
    width: 13px;
    height: 13px;
  }

  .nav-menu {
    top: 144px;
  }

  .top-banner {
    margin-top: 144px;
  }

  .top-slider,
  .top-slider__track,
  .top-slider__slide {
    min-height: calc(100vh - 144px);
  }
}


/* Correção definitiva do slider com imagens locais
   Agora o banner usa <picture><img> em vez de background-image.
   Isso evita falhas com variáveis CSS e facilita usar arquivos locais. */
.top-slider__slide {
  background: var(--black) !important;
}

.top-slider__picture {
  position: absolute;
  inset: 0;
  z-index: -3;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.top-slider__picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

@media (max-width: 680px) {
  .top-slider__picture {
    top: 34px;
    bottom: auto;
    height: calc(100% - 24px);
  }

  .top-slider__picture img {
    object-fit: contain;
    object-position: center top;
  }
}

/* === Correção menu mobile + âncoras === */
:root {
  --site-header-height: 148px;
  --anchor-offset: calc(var(--site-header-height) + 14px);
}

html {
  scroll-padding-top: var(--anchor-offset);
}

[id] {
  scroll-margin-top: var(--anchor-offset);
}

.nav-toggle {
  position: relative;
  flex: 0 0 auto;
  place-items: center;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
  z-index: 1002;
}

.nav-toggle.is-open {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  font-size: 34px;
}

@media (max-width: 1080px) {
  .nav-toggle {
    display: grid;
  }

  .nav-menu__mobile-home {
    display: block;
  }

  .nav-menu {
    top: calc(var(--site-header-height) + 12px) !important;
    z-index: 1001;
    max-height: calc(100svh - var(--site-header-height) - 24px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .nav-menu a:last-child {
    border-bottom: 0;
  }

  body.nav-open .site-header {
    background: rgba(7,8,11,.96);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 680px) {
  .nav-menu {
    left: 14px;
    right: 14px;
    padding: 10px;
  }

  .nav-menu a {
    padding: 15px 14px;
  }
}

/* === Ajuste responsivo: métricas do hero sem compressão ===
   A caixa .hero__facts é irmã do .hero__content. Como o .hero usa flex,
   é necessário empilhar os blocos em coluna para a área de métricas não
   ficar espremida na lateral em notebooks/monitores menores. */
.hero {
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  height: auto;
}

.hero__content {
  flex: 0 0 auto;
}

.hero__facts.container,
.hero__facts {
  flex: 0 0 auto;
  width: min(100% - clamp(40px, 8vw, 150px), var(--container)) !important;
  margin: clamp(34px, 4vw, 56px) auto 0 !important;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)) !important;
  gap: 1px;
  background: var(--line);
  overflow: hidden !important;
}

.hero__facts > div {
  min-width: 0;
  padding: clamp(22px, 2.4vw, 30px) clamp(18px, 2.2vw, 28px);
  background: var(--black-2);
  border-right: 0 !important;
  border-bottom: 0 !important;
}

.hero__facts strong {
  font-size: clamp(34px, 3.4vw, 44px);
  line-height: .95;
  white-space: normal;
  overflow-wrap: anywhere;
}

.hero__facts span {
  font-size: clamp(12px, 1.05vw, 14px);
  line-height: 1.35;
  max-width: 22ch;
}

/* Tablets: mantém leitura sem a caixa invadir o conteúdo principal */
@media (max-width: 1080px) {
  .hero {
    min-height: auto;
  }

  .hero__facts.container,
  .hero__facts {
    width: min(100% - 48px, var(--container)) !important;
  }
}

/* Celular: mantém respiro lateral e deixa a área ocupar o fluxo normal */
@media (max-width: 680px) {
  .hero__facts.container,
  .hero__facts {
    width: min(100% - 34px, var(--container)) !important;
    margin-top: 32px !important;
  }

  .hero__facts strong {
    font-size: clamp(32px, 9vw, 38px);
  }
}

/* === Acesso rápido às empresas na home ===
   Faixa posicionada logo abaixo do menu fixo para dar destaque imediato
   aos links principais solicitados pelo cliente. */
:root {
  --quick-header-offset: 132px;
  --quick-company-height: 88px;
}

.quick-company-section {
  position: relative;
  z-index: 8;
  margin-top: var(--quick-header-offset);
  background:
    linear-gradient(135deg, rgba(227,6,19,.18), rgba(217,165,20,.13)),
    linear-gradient(180deg, rgba(16,19,25,.98), rgba(7,8,11,.98));
  border-top: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 18px 45px rgba(0,0,0,.34);
  overflow: hidden;
}

.quick-company-section::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 8px;
  background: linear-gradient(180deg, var(--gold-2), var(--red));
}

.quick-company-section::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-2), var(--red));
  opacity: .9;
}

.quick-company-section__inner {
  min-height: var(--quick-company-height);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 34px);
  padding-top: 14px;
  padding-bottom: 14px;
}

.quick-company-section__label {
  color: rgba(255,255,255,.72);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  line-height: 1.25;
  text-transform: uppercase;
  white-space: nowrap;
}

.quick-company-section__actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.quick-company-btn {
  position: relative;
  min-height: 58px;
  min-width: min(100%, 280px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 34px;
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.16);
  clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
  box-shadow: 0 18px 34px rgba(0,0,0,.22);
  overflow: hidden;
  transition: transform .25s ease, filter .25s ease, box-shadow .25s ease;
}

.quick-company-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.20);
  transform: translateX(-105%) skewX(-18deg);
  transition: transform .35s ease;
}

.quick-company-btn:hover {
  transform: translateY(-3px);
  filter: brightness(1.06);
}

.quick-company-btn:hover::after {
  transform: translateX(120%) skewX(-18deg);
}

.quick-company-btn--inject {
  color: #19130a;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  box-shadow: 0 18px 34px rgba(217,165,20,.22);
}

.quick-company-btn--retifica {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  box-shadow: 0 18px 34px rgba(227,6,19,.25);
}

/* O banner vem logo depois da faixa, então não precisa repetir o recuo do header fixo. */
.quick-company-section + .top-banner {
  margin-top: 0 !important;
}

.quick-company-section + .top-banner .top-slider,
.quick-company-section + .top-banner .top-slider__track,
.quick-company-section + .top-banner .top-slider__slide {
  min-height: max(520px, calc(100svh - var(--quick-header-offset) - var(--quick-company-height)));
}

@media (max-width: 1080px) {
  :root {
    --quick-header-offset: 138px;
    --quick-company-height: 110px;
  }

  .quick-company-section__inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .quick-company-section__label {
    white-space: normal;
  }

  .quick-company-section__actions {
    width: 100%;
  }
}

@media (max-width: 680px) {
  :root {
    --quick-header-offset: 144px;
    --quick-company-height: 158px;
  }

  .quick-company-section::before {
    width: 5px;
  }

  .quick-company-section__inner {
    padding-top: 16px;
    padding-bottom: 18px;
  }

  .quick-company-section__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .quick-company-btn {
    width: 100%;
    min-height: 52px;
    min-width: 0;
    padding: 0 20px;
    font-size: 12px;
    clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  }

  .quick-company-section + .top-banner .top-slider,
  .quick-company-section + .top-banner .top-slider__track,
  .quick-company-section + .top-banner .top-slider__slide {
    min-height: max(430px, calc(100svh - var(--quick-header-offset) - var(--quick-company-height)));
  }
}
