/* Engetec Manutenção Industrial — sistema visual */
:root {
  --ink: #080a0c;
  --ink-soft: #15181c;
  --steel: #5f666d;
  --fog: #f4f4f0;
  --paper: #ffffff;
  --yellow: #ffd400;
  --yellow-deep: #e8b900;
  --line: rgba(8, 10, 12, .14);
  --shadow: 0 22px 60px rgba(0, 0, 0, .13);
  --radius: 2px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", "Trebuchet MS", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: inherit; }
img { max-width: 100%; }
section { position: relative; }
.section-pad { padding: clamp(74px, 9vw, 124px) 0; }
.bg-fog { background: var(--fog); }
.bg-ink { background: var(--ink); color: white; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--steel);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 36px; height: 3px; background: var(--yellow); }
.bg-ink .eyebrow { color: rgba(255,255,255,.56); }
.display-title {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(3.15rem, 6.3vw, 6.5rem);
  line-height: .9;
  letter-spacing: .015em;
  text-transform: uppercase;
  margin: 0;
}
.section-title {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(2.7rem, 5vw, 5rem);
  line-height: .95;
  letter-spacing: .015em;
  text-transform: uppercase;
  margin: 0 0 24px;
}
.text-yellow { color: var(--yellow) !important; }

/* Cabeçalho */
.topbar { background: var(--yellow); color: var(--ink); font-size: .76rem; font-weight: 800; }
.topbar .container { min-height: 34px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.topbar a { text-decoration: none; }
.navbar {
  min-height: 76px;
  background: rgba(8,10,12,.97);
  border-bottom: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(14px);
  transition: .25s ease;
}
.navbar-brand img { width: 210px; height: auto; filter: drop-shadow(0 0 0 rgba(0,0,0,0)); }
.navbar .nav-link { color: rgba(255,255,255,.76); font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 28px 15px !important; }
.navbar .nav-link:hover, .navbar .nav-link.active { color: var(--yellow); }
.dropdown-menu { background: #101316; border: 1px solid rgba(255,255,255,.1); border-radius: 0; padding: 8px; }
.dropdown-item { color: rgba(255,255,255,.75); font-size: .78rem; padding: 10px 13px; }
.dropdown-item:hover { background: var(--yellow); color: var(--ink); }
.navbar-toggler { border: 0; box-shadow: none !important; }
.navbar-toggler-icon { filter: invert(1); }

.btn-engetec {
  --bs-btn-padding-x: 1.45rem;
  --bs-btn-padding-y: .83rem;
  --bs-btn-font-size: .72rem;
  --bs-btn-font-weight: 900;
  --bs-btn-border-radius: 0;
  --bs-btn-color: var(--ink);
  --bs-btn-bg: var(--yellow);
  --bs-btn-border-color: var(--yellow);
  --bs-btn-hover-color: white;
  --bs-btn-hover-bg: var(--ink);
  --bs-btn-hover-border-color: var(--ink);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.btn-outline-light { border-radius: 0; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; font-size: .72rem; padding: .83rem 1.45rem; }

/* Hero */
.hero-carousel, .hero-carousel .carousel-item { min-height: min(820px, calc(100vh - 110px)); }
.hero-carousel .carousel-item {
  isolation: isolate;
  background: #0a0d10;
  overflow: hidden;
}
.hero-carousel .carousel-item::before {
  content: "";
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(90deg, rgba(5,7,9,.98) 0%, rgba(5,7,9,.87) 42%, rgba(5,7,9,.25) 100%),
    var(--hero-image) center/cover no-repeat;
}
.hero-carousel .carousel-item::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .2;
  background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to right, transparent, black);
}
.hero-content { min-height: min(820px, calc(100vh - 110px)); display: flex; align-items: center; color: white; padding: 86px 0; }
.hero-copy { max-width: 790px; }
.hero-copy p { max-width: 640px; margin: 28px 0 34px; color: rgba(255,255,255,.7); font-size: clamp(1rem, 1.5vw, 1.15rem); }
.hero-number { position: absolute; right: 5vw; bottom: 7vh; font: 8rem/1 "Bebas Neue", sans-serif; color: rgba(255,255,255,.09); }
.carousel-indicators { justify-content: flex-start; margin-left: max(calc((100vw - 1320px)/2), 4vw); margin-bottom: 32px; }
.carousel-indicators [data-bs-target] { width: 52px; height: 3px; border: 0; background-color: white; }
.carousel-indicators .active { background-color: var(--yellow); }

/* Faixa de credenciais */
.trust-strip { background: var(--yellow); }
.trust-strip .item { display: flex; align-items: center; gap: 13px; min-height: 94px; font-size: .75rem; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.trust-strip i { font-size: 1.65rem; }

/* Serviços */
.service-card {
  position: relative; height: 100%; min-height: 340px; padding: 34px;
  color: var(--ink); background: white; border: 1px solid var(--line);
  text-decoration: none; display: flex; flex-direction: column; overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease, color .35s ease;
}
.service-card > * { position: relative; z-index: 2; }
.service-card::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 6px;
  z-index: 3; background: var(--yellow); transform: scaleX(.18); transform-origin: left; transition: transform .35s ease;
}
.service-card:hover { color: var(--ink); transform: translateY(-8px); box-shadow: var(--shadow); }
.service-card:hover::after { transform: scaleX(1); }
.service-card.bg-ink { background: var(--ink); color: white; }
.service-card.bg-ink:hover { color: white; }
.service-photo-card { color: white; background: var(--ink); border-color: transparent; }
.service-photo-card::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, rgba(4,6,8,.2), rgba(4,6,8,.94) 78%), var(--card-image) center/cover no-repeat;
  transition: transform .55s ease, filter .55s ease;
}
.service-photo-card:hover { color: white; }
.service-photo-card:hover::before { transform: scale(1.055); filter: saturate(1.12); }
.service-photo-card p { color: rgba(255,255,255,.7); }
.service-icon { width: 62px; height: 62px; display: grid; place-items: center; background: var(--yellow); font-size: 1.8rem; margin-bottom: 45px; }
.service-card h3 { font-family: "Bebas Neue", sans-serif; font-size: 2rem; line-height: 1; text-transform: uppercase; }
.service-card p { color: var(--steel); font-size: .9rem; margin: 12px 0 28px; }
.service-link { margin-top: auto; font-size: .68rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.service-link i { transition: transform .2s; }
.service-card:hover .service-link i { transform: translateX(8px); }

/* Sobre e números */
.about-visual { min-height: 610px; position: relative; overflow: hidden; background: #111; }
.about-visual::before { content: ""; position: absolute; inset: 0; background: linear-gradient(145deg, rgba(0,0,0,.08), rgba(0,0,0,.68)), url("hero-1.jpg") center/cover no-repeat; }
.about-stamp { position: absolute; right: 0; bottom: 0; width: 205px; padding: 28px; background: var(--yellow); }
.about-stamp strong { display: block; font: 4.4rem/.8 "Bebas Neue", sans-serif; }
.about-stamp span { display: block; margin-top: 10px; font-size: .7rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin: 32px 0; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 10px; font-size: .88rem; font-weight: 700; }
.check-list i { color: var(--yellow-deep); }
.metric {
  min-height: 128px;
  padding: 28px clamp(18px, 2.4vw, 38px);
  display: flex;
  align-items: center;
  gap: 22px;
  border-left: 1px solid rgba(255,255,255,.16);
}
.metric:first-child { border-left: 0; }
.metric > i {
  flex: 0 0 auto;
  color: var(--yellow);
  font-size: clamp(2.15rem, 3vw, 2.8rem);
  line-height: 1;
}
.metric strong {
  display: block;
  color: white;
  font: clamp(2rem, 3.3vw, 3rem)/.88 "Bebas Neue", sans-serif;
  letter-spacing: .02em;
}
.metric span {
  display: block;
  margin-top: 7px;
  color: rgba(255,255,255,.58);
  font-size: .66rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Portfólio */
.project-card { position: relative; height: 470px; overflow: hidden; background: #111; }
.project-card img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); transition: transform .55s ease, filter .55s ease; }
.project-card::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.94)); }
.project-info { position: absolute; z-index: 2; inset: auto 28px 28px; color: white; }
.project-info span { color: var(--yellow); font-size: .65rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.project-info h3 { font-family: "Bebas Neue", sans-serif; font-size: 2rem; margin: 8px 0 0; }
.project-card:hover img { transform: scale(1.06); filter: grayscale(0); }

/* Formulário e contato */
.quote-wrap { box-shadow: var(--shadow); }
.quote-panel { background: var(--yellow); padding: clamp(34px, 5vw, 72px); }
.quote-form { background: white; padding: clamp(30px, 5vw, 64px); }
.form-control, .form-select {
  border: 0; border-bottom: 1px solid #c9c9c5; border-radius: 0; padding: 12px 0; background: transparent;
  font-size: .9rem; box-shadow: none !important;
}
.form-control:focus, .form-select:focus { border-color: var(--yellow-deep); }
.form-label { margin: 0; font-size: .66rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.form-note { color: var(--steel); font-size: .72rem; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.contact-item { display: flex; gap: 20px; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.contact-item i { flex: 0 0 44px; width: 44px; height: 44px; display: grid; place-items: center; background: var(--yellow); color: var(--ink); font-size: 1.2rem; }
.contact-item small { color: rgba(255,255,255,.48); display: block; font-size: .65rem; letter-spacing: .11em; text-transform: uppercase; }
.contact-item a, .contact-item p { color: white; margin: 4px 0 0; text-decoration: none; }
.map-frame { width: 100%; height: 520px; border: 0; display: block; filter: grayscale(1) contrast(1.05); }

/* Página interna */
.page-hero { min-height: 520px; display: flex; align-items: end; padding: 120px 0 74px; color: white; background: linear-gradient(90deg, rgba(5,7,9,.97), rgba(5,7,9,.52)), var(--page-image, url("industrial-02.svg")) center/cover; }
.breadcrumb { --bs-breadcrumb-divider-color: rgba(255,255,255,.4); --bs-breadcrumb-item-active-color: var(--yellow); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.breadcrumb a { color: rgba(255,255,255,.65); text-decoration: none; }
.service-aside { position: sticky; top: 110px; }
.service-menu { padding: 0; margin: 0; list-style: none; border-top: 1px solid var(--line); }
.service-menu a { display: flex; justify-content: space-between; gap: 15px; padding: 15px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: .8rem; font-weight: 800; }
.service-menu a:hover, .service-menu a.active { color: #aa8500; }
.content-block h2 { font-family: "Bebas Neue", sans-serif; font-size: clamp(2.4rem, 4vw, 4rem); text-transform: uppercase; line-height: 1; }
.content-block h3 { font-family: "Bebas Neue", sans-serif; font-size: 1.8rem; text-transform: uppercase; margin-top: 32px; }
.process-step { border-top: 4px solid var(--yellow); background: var(--fog); padding: 25px; height: 100%; }
.process-step strong { color: #a07e00; font: 2.3rem/1 "Bebas Neue", sans-serif; }
.process-step h3 { font: 1.4rem/1 "Bebas Neue", sans-serif; margin: 12px 0; }

/* Rodapé e utilidades */
footer { background: #050607; color: white; padding: 78px 0 26px; }
.footer-logo { width: 220px; margin-bottom: 24px; }
footer p, footer a { color: rgba(255,255,255,.58); font-size: .82rem; text-decoration: none; }
footer a:hover { color: var(--yellow); }
footer h4 { color: white; font: 1.35rem/1 "Bebas Neue", sans-serif; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 22px; }
.footer-links { list-style: none; padding: 0; display: grid; gap: 8px; }
.social-links { display: flex; gap: 9px; }
.social-links a { width: 39px; height: 39px; display: grid; place-items: center; color: white; border: 1px solid rgba(255,255,255,.18); }
.social-links a:hover { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 52px; padding-top: 23px; }
.whatsapp-float { position: fixed; z-index: 1035; right: 22px; bottom: 22px; width: 61px; height: 61px; display: grid; place-items: center; color: white; background: #25d366; border-radius: 50%; font-size: 1.8rem; box-shadow: 0 10px 30px rgba(0,0,0,.28); text-decoration: none; transition: transform .2s; }
.whatsapp-float:hover { color: white; transform: scale(1.08); }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 991.98px) {
  .topbar .hide-mobile { display: none; }
  .navbar-brand img { width: 175px; }
  .navbar .nav-link { padding: 11px 4px !important; }
  .navbar-collapse { padding: 15px 0 24px; }
  .hero-carousel, .hero-carousel .carousel-item, .hero-content { min-height: 690px; }
  .hero-carousel .carousel-item::before { background: linear-gradient(90deg, rgba(5,7,9,.96), rgba(5,7,9,.7)), var(--hero-image) center/cover no-repeat; }
  .about-visual { min-height: 480px; margin-bottom: 45px; }
  .service-aside { position: static; margin-bottom: 45px; }
}
@media (max-width: 767.98px) {
  .section-pad { padding: 68px 0; }
  .display-title { font-size: clamp(3.6rem, 17vw, 5.4rem); }
  .hero-copy p { font-size: .98rem; }
  .hero-number { display: none; }
  .trust-strip .item { min-height: 70px; }
  .service-card { min-height: 295px; }
  .check-list { grid-template-columns: 1fr; }
  .project-card { height: 380px; }
  .metric { min-height: 112px; gap: 14px; padding: 22px 14px; border-left: 0; border-top: 1px solid rgba(255,255,255,.16); }
  .metric:nth-child(-n+2) { border-top: 0; }
  .metric:nth-child(even) { border-left: 1px solid rgba(255,255,255,.16); }
  .metric > i { font-size: 2rem; }
  .metric strong { font-size: 2rem; }
  .metric span { font-size: .58rem; letter-spacing: .06em; }
  .quote-panel, .quote-form { padding: 34px 24px; }
  .map-frame { height: 380px; }
  .page-hero { min-height: 430px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
