
:root {
  --black: #111318;
  --black-soft: #1c1f25;
  --yellow: #f1dc00;
  --yellow-soft: #fff35b;
  --red: #d9281e;
  --white: #ffffff;
  --paper: #f4f4f1;
  --line: #deded8;
  --text: #25282e;
  --muted: #676b72;
  --container: 1180px;
  --shadow: 0 22px 60px rgba(17, 19, 24, 0.15);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
.skip-link {
  position: fixed; top: -100px; left: 16px; z-index: 9999;
  padding: 11px 15px; background: var(--yellow); color: var(--black); font-weight: 800;
}
.skip-link:focus { top: 16px; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 1000;
  background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(17,19,24,.08);
  backdrop-filter: blur(15px); transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: 0 12px 32px rgba(17,19,24,.1); }
.header-inner { min-height: 88px; display: flex; align-items: center; gap: 26px; }
.brand-lockup { display: flex; align-items: center; gap: 14px; min-width: 310px; }
.brand-logo { object-fit: contain; }
.carrera-logo { width: 116px; max-height: 58px; }
.engetop-logo { width: 165px; max-height: 48px; }
.brand-divider { width: 1px; height: 42px; background: var(--line); }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 23px; }
.main-nav a { position: relative; font-size: .89rem; font-weight: 700; color: var(--black); }
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -8px; width: 0; height: 3px;
  background: var(--red); transition: width .22s ease;
}
.main-nav a:hover::after, .main-nav a:focus-visible::after { width: 100%; }
.menu-toggle { display: none; margin-left: auto; width: 46px; height: 46px; padding: 10px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 100%; height: 2px; margin: 6px 0; background: var(--black); transition: .25s ease; }

.button {
  min-height: 49px; padding: 13px 22px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid transparent; border-radius: 3px; font-size: .82rem; font-weight: 850;
  letter-spacing: .055em; text-transform: uppercase; transition: transform .2s ease, background .2s ease, color .2s ease;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-header { white-space: nowrap; color: var(--white); background: var(--black); }
.button-header:hover { background: var(--red); }
.button-primary { color: var(--black); background: var(--yellow); }
.button-primary:hover { background: var(--yellow-soft); }
.button-outline { color: var(--white); border-color: rgba(255,255,255,.62); background: transparent; }
.button-outline:hover { color: var(--black); background: var(--white); }

.hero {
  position: relative; min-height: 830px; display: flex; align-items: center; overflow: hidden;
  background: url("img/hero.webp") center / cover no-repeat, var(--black);
}
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(17,19,24,.94) 0%, rgba(17,19,24,.77) 50%, rgba(17,19,24,.25) 100%),
    linear-gradient(0deg, rgba(17,19,24,.6), transparent 55%);
}
.hero::after {
  content: ""; position: absolute; right: -90px; top: 95px; width: 330px; height: 330px;
  border: 36px solid rgba(241,220,0,.17); transform: rotate(35deg);
}
.hero-content { position: relative; z-index: 2; padding-top: 150px; padding-bottom: 80px; color: var(--white); }
.eyebrow { margin: 0 0 18px; color: var(--yellow); font-size: .77rem; font-weight: 850; letter-spacing: .16em; }
.eyebrow-dark { color: var(--red); }
h1, h2, h3 { margin-top: 0; font-weight: 850; line-height: 1.08; letter-spacing: -.03em; }
h1 { max-width: 850px; margin-bottom: 26px; font-size: clamp(3rem, 6.6vw, 5.5rem); color: var(--white); }
h2 { margin-bottom: 22px; font-size: clamp(2.1rem, 4.3vw, 3.7rem); color: var(--black); }
h3 { margin-bottom: 13px; font-size: 1.22rem; color: var(--black); }
.hero-lead { max-width: 720px; margin: 0 0 34px; color: rgba(255,255,255,.82); font-size: clamp(1rem, 1.8vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; }
.hero-metrics {
  max-width: 890px; margin-top: 76px; padding-top: 25px; display: grid; grid-template-columns: repeat(3,1fr);
  border-top: 1px solid rgba(255,255,255,.28);
}
.hero-metrics div { padding-right: 28px; }
.hero-metrics strong, .hero-metrics span { display: block; }
.hero-metrics strong { color: var(--yellow); font-size: 1.1rem; }
.hero-metrics span { margin-top: 4px; color: rgba(255,255,255,.67); font-size: .87rem; }

.section { padding: 110px 0; }
.section-intro { background: var(--paper); }
.section-heading { max-width: 790px; margin: 0 auto 54px; text-align: center; }
.section-heading > p:not(.eyebrow) { color: var(--muted); font-size: 1.02rem; }
.section-heading-light h2 { color: var(--white); }
.section-heading-light > p:not(.eyebrow) { color: rgba(255,255,255,.67); }

.company-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.company-card {
  position: relative; min-height: 430px; padding: 42px; overflow: hidden; background: var(--white); box-shadow: var(--shadow);
}
.company-card::after {
  content: ""; position: absolute; right: -85px; bottom: -100px; width: 220px; height: 220px;
  border: 24px solid; transform: rotate(35deg); opacity: .13;
}
.company-card-yellow::after { border-color: var(--yellow); }
.company-card-red::after { border-color: var(--red); }
.company-logo-wrap { height: 95px; display: flex; align-items: center; margin-bottom: 38px; }
.company-logo-wrap img { width: 190px; max-height: 90px; object-fit: contain; object-position: left center; }
.company-logo-wide img { width: 300px; }
.company-since { margin: 0 0 8px; color: var(--red); font-size: .73rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.company-card p:last-child { color: var(--muted); }

.areas-section { background: var(--black); }
.areas-grid { display: grid; grid-template-columns: repeat(5,1fr); border: 1px solid rgba(255,255,255,.15); }
.area-card { min-height: 330px; padding: 32px 25px; border-right: 1px solid rgba(255,255,255,.15); transition: background .25s ease, transform .25s ease; }
.area-card:last-child { border-right: 0; }
.area-card:hover { background: rgba(255,255,255,.055); transform: translateY(-5px); }
.area-card span { display: block; margin-bottom: 66px; color: var(--yellow); font-weight: 850; }
.area-card h3 { color: var(--white); }
.area-card p { color: rgba(255,255,255,.64); font-size: .92rem; }

.history-section { background: var(--white); }
.history-layout { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 78px; }
.history-visual { position: relative; min-height: 620px; }
.history-visual img { width: 100%; height: 620px; object-fit: cover; }
.history-badge {
  position: absolute; right: -24px; bottom: 34px; width: 260px; padding: 26px; background: var(--yellow); color: var(--black); box-shadow: var(--shadow);
}
.history-badge strong, .history-badge span { display: block; }
.history-badge strong { font-size: 1.3rem; }
.history-badge span { margin-top: 3px; font-size: .88rem; }
.history-copy > p:not(.eyebrow) { color: var(--muted); }
.timeline { margin-top: 34px; border-top: 1px solid var(--line); }
.timeline div { display: grid; grid-template-columns: 115px 1fr; gap: 18px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.timeline time { color: var(--red); font-weight: 850; }
.timeline p { margin: 0; }

.featured-projects { background: var(--paper); }
.project-list { border-top: 1px solid var(--line); }
.project-row {
  display: grid; grid-template-columns: 140px 1fr auto; align-items: start; gap: 30px; padding: 30px 0; border-bottom: 1px solid var(--line);
}
.project-year { font-weight: 850; color: var(--red); }
.project-row h3 { margin-bottom: 6px; }
.project-row p { margin: 0; color: var(--muted); }
.project-tag { padding: 7px 10px; border: 1px solid var(--black); font-size: .7rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }

.gallery-section { background: var(--white); }
.gallery-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.obra-card { margin: 0; background: var(--paper); overflow: hidden; }
.obra-image-button { display: block; width: 100%; height: 245px; padding: 0; border: 0; background: var(--black); cursor: zoom-in; overflow: hidden; }
.obra-card:nth-child(7n + 1) { grid-column: span 2; }
.obra-card:nth-child(7n + 1) .obra-image-button { height: 330px; }
.obra-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease, opacity .3s ease; }
.obra-card:hover img { transform: scale(1.045); opacity: .9; }
.obra-card figcaption { min-height: 74px; padding: 19px 20px; font-weight: 750; color: var(--black); }

.clients-section { background: var(--paper); }
.client-logos { display: grid; grid-template-columns: repeat(6,1fr); gap: 14px; align-items: stretch; }
.client-logos img { width: 100%; height: 105px; padding: 17px; object-fit: contain; background: var(--white); border: 1px solid var(--line); filter: grayscale(1); transition: filter .25s ease, transform .25s ease; }
.client-logos img:hover { filter: grayscale(0); transform: translateY(-3px); }

.contact-section { position: relative; padding: 110px 0; color: var(--white); background: var(--black); overflow: hidden; }
.contact-section::after {
  content: ""; position: absolute; right: -120px; top: -150px; width: 390px; height: 390px;
  border: 40px solid rgba(217,40,30,.22); transform: rotate(35deg);
}
.contact-layout { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr .86fr; align-items: center; gap: 85px; }
.contact-copy h2 { color: var(--white); }
.contact-copy > p:not(.eyebrow) { max-width: 610px; color: rgba(255,255,255,.67); }
.contact-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.contact-card { margin: 0; padding: 18px 38px; background: var(--white); color: var(--black); font-style: normal; box-shadow: var(--shadow); }
.contact-card div { padding: 19px 0; border-bottom: 1px solid var(--line); }
.contact-card div:last-child { border-bottom: 0; }
.contact-card span { display: block; margin-bottom: 5px; color: var(--red); font-size: .7rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.contact-card a, .contact-card p { display: block; margin: 0; overflow-wrap: anywhere; }
.contact-card a:hover { color: var(--red); }

.site-footer { padding: 44px 0; background: #090a0d; color: rgba(255,255,255,.62); }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 35px; font-size: .8rem; }
.footer-brands { display: flex; align-items: center; gap: 15px; }
.footer-brands img { width: 100px; height: 42px; padding: 6px; object-fit: contain; background: var(--white); }
.site-footer p { margin: 0; text-align: center; }
.site-footer > a:hover, .footer-inner > a:hover { color: var(--yellow); }

.lightbox {
  width: min(1100px, calc(100% - 30px)); max-height: 92vh; padding: 16px; border: 0; border-radius: 4px;
  background: var(--black); color: var(--white); box-shadow: var(--shadow);
}
.lightbox::backdrop { background: rgba(0,0,0,.82); backdrop-filter: blur(4px); }
.lightbox img { width: 100%; max-height: 76vh; object-fit: contain; }
.lightbox p { margin: 13px 45px 3px 2px; }
.lightbox-close {
  position: absolute; right: 14px; top: 10px; width: 40px; height: 40px; border: 0;
  border-radius: 50%; color: var(--black); background: var(--yellow); font-size: 1.7rem; line-height: 1; cursor: pointer;
}

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }


/* Experiência de rolagem inspirada no vídeo de referência */
.scroll-experience {
  position: relative;
  padding: 108px 0 0;
  overflow: clip;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 12%, rgba(241,220,0,.11), transparent 27%),
    linear-gradient(180deg, #111318 0%, #171a20 100%);
}
.scroll-experience::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .16;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
}
.scroll-experience-head {
  position: relative;
  z-index: 2;
  max-width: 850px;
  padding-bottom: 38px;
}
.scroll-experience-head h2 {
  max-width: 760px;
  color: var(--white);
}
.scroll-experience-head > p:not(.eyebrow) {
  max-width: 680px;
  color: rgba(255,255,255,.63);
}
.scroll-experience-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(480px, 1.18fr);
  gap: 70px;
}
.scroll-steps {
  position: relative;
}
.scroll-step {
  min-height: 92vh;
  display: flex;
  align-items: center;
  opacity: .28;
  transform: translateX(-24px);
  transition: opacity .45s ease, transform .45s ease;
}
.scroll-step.is-active {
  opacity: 1;
  transform: none;
}
.scroll-step-inner {
  max-width: 480px;
  padding: 34px 0;
}
.scroll-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 32px;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 50%;
  color: var(--yellow);
  font-size: .8rem;
  font-weight: 900;
}
.scroll-step .eyebrow {
  margin-bottom: 12px;
}
.scroll-step h3 {
  margin-bottom: 18px;
  color: var(--white);
  font-size: clamp(2rem, 3.4vw, 3.15rem);
}
.scroll-step-inner > p:last-child {
  color: rgba(255,255,255,.65);
  font-size: 1rem;
}
.scroll-visual-column {
  position: relative;
}
.scroll-visual {
  position: sticky;
  top: 108px;
  height: calc(100vh - 132px);
  min-height: 590px;
  display: flex;
  align-items: center;
}
.scroll-visual-frame {
  position: relative;
  width: 100%;
  height: min(70vh, 660px);
  min-height: 500px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 4px;
  background: #0b0d11;
  box-shadow: 0 34px 95px rgba(0,0,0,.42);
}
.scroll-visual-frame::before {
  content: "";
  position: absolute;
  z-index: 5;
  inset: 0;
  border: 12px solid rgba(255,255,255,.035);
  pointer-events: none;
}
.scroll-scene {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: translateY(12%) scale(1.08);
  transition: opacity .7s ease, transform .9s cubic-bezier(.2,.8,.2,1);
}
.scroll-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(11,13,17,.86) 0%, rgba(11,13,17,.12) 50%, rgba(11,13,17,.1) 100%),
    linear-gradient(90deg, rgba(11,13,17,.25), transparent 55%);
}
.scroll-scene.is-active {
  z-index: 2;
  opacity: 1;
  transform: translateY(0) scale(1);
}
.scroll-scene.is-before {
  opacity: 0;
  transform: translateY(-12%) scale(.94);
}
.scroll-scene img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.scroll-scene figcaption {
  position: absolute;
  z-index: 3;
  left: 34px;
  right: 90px;
  bottom: 29px;
  color: var(--white);
  font-size: .94rem;
  font-weight: 760;
}
.scroll-scene figcaption span {
  margin-right: 12px;
  color: var(--yellow);
}
.scroll-visual-lines {
  position: absolute;
  z-index: 7;
  right: 23px;
  top: 22px;
  width: 82px;
  height: 82px;
  border-top: 2px solid var(--yellow);
  border-right: 2px solid var(--yellow);
  pointer-events: none;
}
.scroll-progress {
  position: absolute;
  z-index: 8;
  right: 28px;
  top: 122px;
  bottom: 86px;
  width: 3px;
  background: rgba(255,255,255,.2);
}
.scroll-progress-fill {
  position: absolute;
  inset: 0 0 auto;
  height: 0%;
  background: var(--yellow);
  box-shadow: 0 0 18px rgba(241,220,0,.5);
  transition: height .4s ease;
}
.scroll-counter {
  position: absolute;
  z-index: 8;
  right: 23px;
  bottom: 28px;
  display: flex;
  align-items: baseline;
  gap: 5px;
  color: var(--white);
}
.scroll-counter strong {
  color: var(--yellow);
  font-size: 1.7rem;
}
.scroll-counter span {
  color: rgba(255,255,255,.5);
  font-size: .78rem;
}


@media (max-width: 1100px) {
  .main-nav { gap: 15px; }
  .button-header { display: none; }
  .areas-grid { grid-template-columns: repeat(3,1fr); }
  .area-card { border-bottom: 1px solid rgba(255,255,255,.15); }
  .client-logos { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 850px) {
  .header-inner { min-height: 76px; }
  .brand-lockup { min-width: 0; }
  .carrera-logo { width: 90px; }
  .engetop-logo { width: 128px; }
  .brand-divider { height: 35px; }
  .menu-toggle { display: block; }
  .main-nav {
    position: fixed; inset: 76px 0 auto; margin: 0; display: grid; gap: 0; max-height: 0; overflow: hidden;
    background: var(--white); box-shadow: 0 18px 35px rgba(17,19,24,.13); transition: max-height .3s ease;
  }
  .main-nav.open { max-height: 470px; }
  .main-nav a { padding: 18px 22px; border-bottom: 1px solid var(--line); }
  .main-nav a::after { display: none; }
  .menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle.active span:nth-child(2) { opacity: 0; }
  .menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .hero { min-height: 780px; }
  .hero-content { padding-top: 125px; }
  .hero-metrics { grid-template-columns: 1fr; gap: 15px; }
  .hero-metrics div { padding-right: 0; }
  .company-grid, .history-layout, .contact-layout { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: 1fr 1fr; }
  .history-visual, .history-visual img { min-height: 480px; height: 480px; }
  .history-badge { right: 14px; }
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .obra-card:nth-child(7n + 1) { grid-column: span 1; }
  .obra-card:nth-child(7n + 1) .obra-image-button { height: 245px; }
  .footer-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
}
@media (max-width: 560px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .brand-lockup { gap: 8px; }
  .carrera-logo { width: 75px; }
  .engetop-logo { width: 105px; }
  .brand-divider { height: 30px; }
  h1 { font-size: 2.65rem; }
  .hero { min-height: 735px; }
  .hero-actions, .contact-actions { display: grid; }
  .button { width: 100%; }
  .section { padding: 78px 0; }
  .company-card { min-height: 0; padding: 30px 24px; }
  .company-logo-wide img { width: 245px; }
  .areas-grid { grid-template-columns: 1fr; }
  .area-card { min-height: 250px; border-right: 0; }
  .area-card span { margin-bottom: 38px; }
  .history-visual, .history-visual img { min-height: 360px; height: 360px; }
  .history-badge { width: calc(100% - 28px); right: 14px; bottom: 14px; }
  .timeline div { grid-template-columns: 1fr; gap: 4px; }
  .project-row { grid-template-columns: 1fr; gap: 10px; }
  .project-tag { justify-self: start; }
  .gallery-grid { grid-template-columns: 1fr; }
  .obra-image-button, .obra-card:nth-child(7n + 1) .obra-image-button { height: 260px; }
  .client-logos { grid-template-columns: repeat(2,1fr); }
  .contact-card { padding: 12px 24px; }
}

@media (max-width: 1050px) {
  .scroll-experience-grid {
    grid-template-columns: minmax(0, .78fr) minmax(430px, 1.22fr);
    gap: 38px;
  }
}
@media (max-width: 850px) {
  .scroll-experience {
    padding-top: 82px;
  }
  .scroll-experience-grid {
    display: block;
  }
  .scroll-visual-column {
    display: none;
  }
  .scroll-step {
    min-height: auto;
    display: block;
    margin-bottom: 24px;
    padding: 0;
    opacity: 1;
    transform: none;
    border: 1px solid rgba(255,255,255,.16);
    background-size: cover;
    background-position: center;
  }
  .scroll-step:nth-child(1) {
    background-image: linear-gradient(rgba(11,13,17,.76), rgba(11,13,17,.9)), url("img/projetos/rodovias-02.webp");
  }
  .scroll-step:nth-child(2) {
    background-image: linear-gradient(rgba(11,13,17,.76), rgba(11,13,17,.9)), url("img/projetos/terraplenagem-rodovias-01.webp");
  }
  .scroll-step:nth-child(3) {
    background-image: linear-gradient(rgba(11,13,17,.76), rgba(11,13,17,.9)), url("img/projetos/drenagens-01.webp");
  }
  .scroll-step:nth-child(4) {
    background-image: linear-gradient(rgba(11,13,17,.76), rgba(11,13,17,.9)), url("img/projetos/raposo-tavares.webp");
  }
  .scroll-step-inner {
    max-width: 100%;
    min-height: 450px;
    padding: 56px 32px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }
}
@media (max-width: 560px) {
  .scroll-experience-head {
    padding-bottom: 24px;
  }
  .scroll-step-inner {
    min-height: 410px;
    padding: 36px 24px;
  }
  .scroll-step h3 {
    font-size: 2rem;
  }
}


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

/* ==================================================
   ANIMAÇÃO DE ENTRADA DO BANNER
================================================== */

.hero-content > .eyebrow,
.hero-content > h1,
.hero-content > .hero-lead,
.hero-content > .hero-actions,
.hero-content > .hero-metrics {
  opacity: 0;
  transform: translateY(30px);
}

.hero-content.visible > .eyebrow {
  animation: heroEntrada 0.7s ease forwards;
}

.hero-content.visible > h1 {
  animation: heroEntrada 0.85s 0.12s ease forwards;
}

.hero-content.visible > .hero-lead {
  animation: heroEntrada 0.85s 0.25s ease forwards;
}

.hero-content.visible > .hero-actions {
  animation: heroEntrada 0.85s 0.38s ease forwards;
}

.hero-content.visible > .hero-metrics {
  animation: heroEntrada 0.85s 0.52s ease forwards;
}

@keyframes heroEntrada {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==================================================
   PARALLAX DO BANNER
================================================== */

.hero {
  background-position:
    center calc(50% + var(--hero-shift, 0px));
}

/* ==================================================
   ENTRADA SEQUENCIAL DOS ELEMENTOS
================================================== */

.stagger-animate {
  opacity: 0;
  transform: translateY(32px) scale(0.98);
  transition:
    opacity 0.65s ease,
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);

  transition-delay: var(--stagger-delay, 0ms);
}

.stagger-animate.stagger-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
/* ==================================================
   EFEITO 3D NOS CARTÕES
================================================== */

.tilt-card {
  transform-style: preserve-3d;
  will-change: transform;
  transition:
    transform 0.18s ease,
    box-shadow 0.25s ease;
}

.tilt-card:hover {
  box-shadow: 0 30px 75px rgba(17, 19, 24, 0.2);
}

.tilt-card > * {
  transform: translateZ(18px);
}

/* ==================================================
   LINHA ANIMADA NOS TÍTULOS
================================================== */

.section-heading::after {
  content: "";
  display: block;
  width: 90px;
  height: 4px;
  margin: 27px auto 0;

  background: linear-gradient(
    90deg,
    var(--yellow),
    var(--red)
  );

  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.85s ease 0.25s;
}

.section-heading.visible::after {
  transform: scaleX(1);
}

/* ==================================================
   ZOOM SUAVE DA IMAGEM DA HISTÓRIA
================================================== */

.history-visual {
  overflow: hidden;
}

.history-visual img {
  transform: scale(1.1);
  transition: transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.history-visual.visible img {
  transform: scale(1);
}

/* ==================================================
   ACESSIBILIDADE
================================================== */

@media (prefers-reduced-motion: reduce) {
  .hero-content > .eyebrow,
  .hero-content > h1,
  .hero-content > .hero-lead,
  .hero-content > .hero-actions,
  .hero-content > .hero-metrics,
  .stagger-animate {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }

  .section-heading::after {
    transform: scaleX(1);
    transition: none;
  }

  .history-visual img {
    transform: none;
    transition: none;
  }
}

/* ==========================================
   HERO MAIS VIVO / MODERNO
========================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: none !important;
}

/* Imagem de fundo + sobreposição escura */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;

  background:
    linear-gradient(
      90deg,
      rgba(7, 12, 20, 0.88) 0%,
      rgba(7, 12, 20, 0.76) 35%,
      rgba(7, 12, 20, 0.45) 65%,
      rgba(7, 12, 20, 0.25) 100%
    ),
    url("img/hero.webp")
    center calc(50% + var(--hero-shift, 0px)) / cover no-repeat;

  filter:
    brightness(0.82)
    contrast(1.1)
    saturate(1.12);

  transform: scale(1.05);
  animation: heroZoom 18s ease-in-out infinite alternate;
}

/* Iluminação sutil sobre o banner */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;

  background:
    radial-gradient(
      circle at 18% 25%,
      rgba(255, 214, 10, 0.14),
      transparent 32%
    ),
    radial-gradient(
      circle at 85% 20%,
      rgba(255, 214, 10, 0.08),
      transparent 25%
    );

  pointer-events: none;
}

@keyframes heroZoom {
  from {
    transform: scale(1.05) translateY(0px);
  }
  to {
    transform: scale(1.12) translateY(-10px);
  }
}

/* conteúdo */
.hero-content {
  position: relative;
  z-index: 2;
}

.hero-tag,
.hero-title,
.hero-text,
.hero-buttons,
.hero-stats {
  opacity: 0;
  transform: translateY(32px);
  transition: all 0.9s ease;
}

.hero.is-visible .hero-tag {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

.hero.is-visible .hero-title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.25s;
}

.hero.is-visible .hero-text {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

.hero.is-visible .hero-buttons {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.55s;
}

.hero.is-visible .hero-stats {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.7s;
}

/* shape flutuante da direita */
.hero-shape {
  position: absolute;
  right: 6%;
  top: 18%;
  width: 260px;
  height: 260px;
  border: 18px solid rgba(201, 163, 61, 0.32);
  transform: rotate(45deg);
  z-index: 1;
  animation: floatShape 6s ease-in-out infinite;
}

@keyframes floatShape {
  0% {
    transform: rotate(45deg) translateY(0px);
  }
  50% {
    transform: rotate(45deg) translateY(-14px);
  }
  100% {
    transform: rotate(45deg) translateY(0px);
  }
}

/* botão hover mais vivo */
.hero-buttons .btn,
.hero-buttons a {
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.hero-buttons .btn:hover,
.hero-buttons a:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

/* stats com leve destaque */
.hero-stats .stat-item {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hero-stats .stat-item:hover {
  transform: translateY(-4px);
}

/* indicador de scroll */
.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #ffffff;
  z-index: 3;
  opacity: 0.85;
}

.scroll-indicator .mouse {
  width: 28px;
  height: 46px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 18px;
  position: relative;
}

.scroll-indicator .mouse::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 9px;
  background: #f5d90a;
  border-radius: 999px;
  transform: translateX(-50%);
  animation: scrollMouse 1.4s infinite;
}

.scroll-indicator small {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@keyframes scrollMouse {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(12px);
  }
}

/* responsivo */
@media (max-width: 992px) {
  .hero-shape {
    width: 180px;
    height: 180px;
    right: -10px;
    top: 14%;
    border-width: 12px;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 120px 0 90px;
  }

  .hero-shape {
    display: none;
  }

  .scroll-indicator {
    bottom: 14px;
  }
}

/* ==================================================
   NOVA APARÊNCIA DO TEXTO PRINCIPAL
================================================== */

.hero-content {
  max-width: 1050px;
}

/* Etiqueta superior */
.hero-tag-premium {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 12px;

  margin-bottom: 28px;
  padding: 9px 15px;

  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;

  color: #ffffff;
  background: rgba(17, 19, 24, 0.32);
  backdrop-filter: blur(8px);

  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

/* Bolinha animada */
.hero-tag-dot {
  width: 8px;
  height: 8px;
  flex-shrink: 0;

  border-radius: 50%;
  background: var(--yellow);

  box-shadow:
    0 0 0 0 rgba(241, 220, 0, 0.55);

  animation: heroDotPulse 2s infinite;
}

@keyframes heroDotPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(241, 220, 0, 0.55);
  }

  70% {
    box-shadow: 0 0 0 11px rgba(241, 220, 0, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(241, 220, 0, 0);
  }
}

/* Título principal */
.hero-title-premium {
  max-width: 1050px;
  margin: 0 0 30px;

  font-size: clamp(3.2rem, 6.4vw, 6.4rem);
  line-height: 0.96;
  letter-spacing: -0.055em;

  text-wrap: balance;
}

/* Cada frase ocupa uma linha */
.hero-title-line {
  display: block;
  width: fit-content;
}

/* Segunda linha amarela */
.hero-title-highlight {
  position: relative;
  margin-top: 12px;

  color: var(--yellow);
  text-shadow: 0 12px 40px rgba(241, 220, 0, 0.16);
}

/* Linha decorativa abaixo do destaque */
.hero-title-highlight::after {
  content: "";

  position: absolute;
  left: 4px;
  bottom: -15px;

  width: 135px;
  height: 6px;

  background:
    linear-gradient(
      90deg,
      var(--yellow) 0%,
      var(--red) 100%
    );

  transform: scaleX(0);
  transform-origin: left;
}

/* Texto explicativo */
.hero-text-premium {
  max-width: 760px;
  margin-top: 42px;

  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.75;

  color: rgba(255, 255, 255, 0.78);
  text-wrap: balance;
}

/* ==================================================
   ANIMAÇÃO DE ENTRADA DO NOVO TÍTULO
================================================== */

.hero-tag-premium,
.hero-title-line,
.hero-text-premium {
  opacity: 0;
}

.hero-tag-premium {
  transform: translateY(20px);
}

.hero-title-line {
  transform: translateY(55px);
}

.hero-text-premium {
  transform: translateY(28px);
}

/* Primeira entrada */
.hero.is-visible .hero-tag-premium {
  animation: heroTextReveal 0.7s 0.1s forwards;
}

/* Primeira linha */
.hero.is-visible .hero-title-line:nth-child(1) {
  animation: heroTitleReveal 0.9s 0.22s forwards;
}

/* Linha destacada */
.hero.is-visible .hero-title-line:nth-child(2) {
  animation: heroTitleReveal 0.9s 0.38s forwards;
}

/* Parágrafo */
.hero.is-visible .hero-text-premium {
  animation: heroTextReveal 0.8s 0.56s forwards;
}

/* Linha amarela e vermelha */
.hero.is-visible .hero-title-highlight::after {
  animation: heroLineGrow 0.8s 0.85s forwards;
}

@keyframes heroTitleReveal {
  from {
    opacity: 0;
    transform: translateY(55px);
    filter: blur(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes heroTextReveal {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroLineGrow {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

/* ==================================================
   NOVO TÍTULO NO CELULAR
================================================== */

@media (max-width: 768px) {
  .hero-tag-premium {
    max-width: 100%;
    padding: 8px 12px;

    font-size: 9px;
    line-height: 1.5;
    letter-spacing: 0.1em;
  }

  .hero-title-premium {
    font-size: clamp(2.7rem, 13vw, 4.3rem);
    line-height: 0.98;
    letter-spacing: -0.045em;
  }

  .hero-title-highlight {
    margin-top: 9px;
  }

  .hero-title-highlight::after {
    bottom: -11px;
    width: 95px;
    height: 4px;
  }

  .hero-text-premium {
    margin-top: 35px;
    font-size: 1rem;
    line-height: 1.65;
  }
}
/* ==================================================
   REFINAMENTO FINAL DO HERO
================================================== */

.hero-content {
  display: grid;

  grid-template-columns:
    minmax(0, 1.2fr)
    minmax(340px, 0.8fr);

  grid-template-areas:
    "tag vazio"
    "title text";

  align-items: center;
  column-gap: 75px;

  max-width: 1180px;
}

/* Etiqueta acima do título */
.hero-tag-premium {
  grid-area: tag;

  position: relative;
  left: auto;
  right: auto;

  justify-self: start;

  margin: 0 0 26px;
  margin-left: 0 !important;
}

/* Título do lado esquerdo */
.hero-title-premium {
  grid-area: title;

  max-width: 790px;
  margin: 0;
}

/* Texto do lado direito */
.hero-text-premium {
  grid-area: text;

  max-width: 500px;
  margin: 0;

  padding:
    28px
    20px
    28px
    34px;

  border-left: 3px solid var(--yellow);

  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.06),
      transparent
    );

  font-size: 1.08rem;
  line-height: 1.8;

  color: rgba(255, 255, 255, 0.82);
}

.hero-title-highlight {
  color: transparent;

  background:
    linear-gradient(
      90deg,
      #fff200 0%,
      #f1dc00 55%,
      #e4bd00 100%
    );

  background-clip: text;
  -webkit-background-clip: text;

  filter:
    drop-shadow(
      0 13px 30px
      rgba(241, 220, 0, 0.16)
    );
}
.hero-shape {
  opacity: 0.45;

  filter:
    drop-shadow(
      0 15px 30px
      rgba(0, 0, 0, 0.16)
    );
}

/* Forma decorativa criada diretamente no hero */
.hero::after {
  opacity: 0.55;
}

@media (max-width: 850px) {
  .hero-content {
    display: grid;

    grid-template-columns: 1fr;

    grid-template-areas:
      "tag"
      "title"
      "text";

    row-gap: 24px;
  }

  .hero-tag-premium {
    margin-bottom: 4px;
  }

  .hero-title-premium {
    max-width: 100%;
  }

  .hero-text-premium {
    max-width: 100%;

    padding:
      23px
      0
      0;

    border-left: 0;
    border-top: 3px solid var(--yellow);

    background: transparent;
  }
}

/* Diminuir a etiqueta e criar distância do título */
.hero-tag-premium {
  width: max-content;
  max-width: 310px;

  padding: 7px 12px;

  font-size: 10px;
  letter-spacing: 0.1em;

  white-space: nowrap;

  /* Afasta a etiqueta do título */
  margin-right: 45px !important;
}
/* ==================================================
   GALERIA DE OBRAS — FUNDO E MOVIMENTO
================================================== */

.gallery-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  background:
    linear-gradient(
      180deg,
      #f8f9fa 0%,
      #eef1f3 50%,
      #f8f9fa 100%
    );
}

/* Textura discreta de fundo */
.gallery-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;

  background-image:
    linear-gradient(
      rgba(17, 19, 24, 0.035) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(17, 19, 24, 0.035) 1px,
      transparent 1px
    );

  background-size: 48px 48px;

  opacity: 0.45;

  transform:
    translateY(
      var(--gallery-background-shift, 0px)
    );
}

/* Luzes decorativas animadas */
.gallery-section::after {
  content: "";
  position: absolute;
  z-index: -2;

  width: 680px;
  height: 680px;

  top: 120px;
  right: -290px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(241, 220, 0, 0.22) 0%,
      rgba(241, 220, 0, 0.08) 35%,
      transparent 70%
    );

  filter: blur(8px);

  animation:
    galleryLightMove 10s ease-in-out infinite alternate;
}

@keyframes galleryLightMove {
  from {
    transform:
      translate3d(0, 0, 0)
      scale(1);
  }

  to {
    transform:
      translate3d(-90px, 100px, 0)
      scale(1.16);
  }
}

/* Elemento amarelo decorativo à esquerda */
.gallery-section .container::before {
  content: "";

  position: absolute;
  z-index: -1;

  width: 360px;
  height: 360px;

  left: -230px;
  top: 420px;

  border: 42px solid rgba(241, 220, 0, 0.08);

  transform: rotate(35deg);

  animation:
    galleryShapeFloat 8s ease-in-out infinite alternate;
}

@keyframes galleryShapeFloat {
  from {
    transform:
      rotate(35deg)
      translateY(0);
  }

  to {
    transform:
      rotate(42deg)
      translateY(-45px);
  }
}

.gallery-section .container {
  position: relative;
  z-index: 2;
}

/* ==================================================
   CABEÇALHO DA GALERIA
================================================== */

.gallery-section .section-heading {
  position: relative;

  max-width: 830px;

  margin-bottom: 68px;

  padding: 46px 55px;

  border: 1px solid rgba(17, 19, 24, 0.08);
  border-radius: 22px;

  background:
    rgba(255, 255, 255, 0.72);

  box-shadow:
    0 24px 70px rgba(17, 19, 24, 0.08);

  backdrop-filter: blur(13px);
}

/* Brilho que atravessa o título */
.gallery-section .section-heading::before {
  content: "";

  position: absolute;
  inset: 0;

  border-radius: inherit;

  background:
    linear-gradient(
      115deg,
      transparent 15%,
      rgba(255, 255, 255, 0.75) 42%,
      transparent 65%
    );

  transform: translateX(-130%);

  animation:
    galleryHeadingShine 7s ease-in-out infinite;

  pointer-events: none;
}

@keyframes galleryHeadingShine {
  0%,
  60% {
    transform: translateX(-130%);
  }

  100% {
    transform: translateX(130%);
  }
}

.gallery-section .section-heading h2 {
  position: relative;
  z-index: 2;

  text-shadow:
    0 12px 35px rgba(17, 19, 24, 0.09);
}

.gallery-section .section-heading p {
  position: relative;
  z-index: 2;
}

/* ==================================================
   CARTÕES DAS OBRAS
================================================== */

.gallery-grid {
  gap: 25px;
  perspective: 1200px;
}

.obra-card {
  position: relative;

  border-radius: 18px;

  background: rgba(255, 255, 255, 0.88);

  box-shadow:
    0 18px 45px rgba(17, 19, 24, 0.11);

  overflow: hidden;

  transform:
    translateY(
      var(--obra-card-offset, 0px)
    );

  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease;
}

/* Cria alturas ligeiramente alternadas */
.obra-card:nth-child(3n + 2) {
  --obra-card-offset: 22px;
}

.obra-card:nth-child(3n + 3) {
  --obra-card-offset: 8px;
}

.obra-card:hover {
  transform:
    translateY(
      calc(var(--obra-card-offset, 0px) - 12px)
    )
    scale(1.015);

  box-shadow:
    0 32px 75px rgba(17, 19, 24, 0.19);
}

/* Brilho passando sobre a imagem */
.obra-card::before {
  content: "";

  position: absolute;
  z-index: 4;

  top: 0;
  left: -130%;

  width: 70%;
  height: 100%;

  background:
    linear-gradient(
      105deg,
      transparent,
      rgba(255, 255, 255, 0.24),
      transparent
    );

  transform: skewX(-18deg);

  transition: left 0.8s ease;

  pointer-events: none;
}

.obra-card:hover::before {
  left: 150%;
}

.obra-image-button {
  position: relative;
}

/* Gradiente na parte inferior da imagem */
.obra-image-button::after {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      180deg,
      transparent 45%,
      rgba(17, 19, 24, 0.25) 100%
    );

  opacity: 0;

  transition: opacity 0.35s ease;

  pointer-events: none;
}

.obra-card:hover .obra-image-button::after {
  opacity: 1;
}

.obra-card img {
  transition:
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.5s ease;
}

.obra-card:hover img {
  transform: scale(1.075);

  filter:
    contrast(1.06)
    saturate(1.12);
}

/* Legenda */
.obra-card figcaption {
  position: relative;

  min-height: 82px;

  padding: 22px 24px;

  background:
    linear-gradient(
      135deg,
      #ffffff,
      #f2f3f4
    );

  font-size: 0.92rem;
  line-height: 1.45;

  transition:
    color 0.3s ease,
    padding-left 0.3s ease;
}

.obra-card figcaption::before {
  content: "";

  position: absolute;

  left: 0;
  top: 0;
  bottom: 0;

  width: 4px;

  background:
    linear-gradient(
      180deg,
      var(--yellow),
      var(--red)
    );

  transform: scaleY(0);
  transform-origin: bottom;

  transition: transform 0.35s ease;
}

.obra-card:hover figcaption {
  padding-left: 32px;
  color: var(--red);
}

.obra-card:hover figcaption::before {
  transform: scaleY(1);
}
/* ==================================================
   GALERIA RESPONSIVA
================================================== */

@media (max-width: 768px) {
  .gallery-section .section-heading {
    padding: 34px 22px;
    margin-bottom: 45px;
  }

  .obra-card,
  .obra-card:nth-child(3n + 2),
  .obra-card:nth-child(3n + 3) {
    --obra-card-offset: 0px;
  }

  .obra-card:hover {
    transform: translateY(-6px);
  }

  .gallery-section::after {
    width: 420px;
    height: 420px;
    right: -250px;
  }

  .gallery-section .container::before {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-section::after,
  .gallery-section .container::before,
  .gallery-section .section-heading::before {
    animation: none;
  }

  .obra-card {
    transform: none;
  }
}

/* ==================================================
   SEÇÃO DAS EMPRESAS — FUNDO E PROFUNDIDADE
================================================== */

.section-intro {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  background:
    radial-gradient(
      circle at 15% 25%,
      rgba(241, 220, 0, 0.12),
      transparent 28%
    ),
    radial-gradient(
      circle at 88% 70%,
      rgba(217, 40, 30, 0.09),
      transparent 30%
    ),
    linear-gradient(
      180deg,
      #f6f6f3 0%,
      #eceeeb 52%,
      #f6f6f3 100%
    );
}

/* Grade técnica discreta */
.section-intro::before {
  content: "";

  position: absolute;
  inset: 0;
  z-index: -3;

  background-image:
    linear-gradient(
      rgba(17, 19, 24, 0.035) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(17, 19, 24, 0.035) 1px,
      transparent 1px
    );

  background-size: 52px 52px;
  opacity: 0.32;

  animation: empresasGridMove 18s linear infinite;
}

@keyframes empresasGridMove {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 52px 52px;
  }
}

/* Forma decorativa de fundo */
.section-intro::after {
  content: "";

  position: absolute;
  z-index: -2;

  width: 430px;
  height: 430px;

  left: -260px;
  top: 220px;

  border: 48px solid rgba(241, 220, 0, 0.08);

  transform: rotate(35deg);

  animation: empresasFormaMove 9s ease-in-out infinite alternate;
}

@keyframes empresasFormaMove {
  from {
    transform:
      rotate(35deg)
      translateY(0);
  }

  to {
    transform:
      rotate(42deg)
      translateY(-45px);
  }
}
/* ==================================================
   CABEÇALHO DA SEÇÃO DAS EMPRESAS
================================================== */

.section-intro .section-heading {
  position: relative;
  z-index: 2;

  max-width: 900px;
  margin-bottom: 72px;
}

.section-intro .section-heading h2 {
  text-shadow:
    0 14px 38px rgba(17, 19, 24, 0.09);
}

.section-intro .section-heading > p:not(.eyebrow) {
  max-width: 760px;
  margin-inline: auto;

  font-size: 1.05rem;
  line-height: 1.8;
}

/* Linha decorativa mais viva */
.section-intro .section-heading::after {
  height: 5px;
  width: 105px;

  background:
    linear-gradient(
      90deg,
      var(--yellow) 0%,
      var(--red) 100%
    );

  box-shadow:
    0 7px 18px rgba(217, 40, 30, 0.16);
}
/* ==================================================
   CONEXÃO ENTRE AS DUAS EMPRESAS
================================================== */

.company-grid {
  position: relative;
  z-index: 2;

  gap: 34px;
}

/* Linha entre os cartões */
.company-grid::before {
  content: "";

  position: absolute;
  z-index: 5;

  left: 50%;
  top: 50%;

  width: 64px;
  height: 2px;

  background:
    linear-gradient(
      90deg,
      var(--yellow),
      var(--red)
    );

  transform: translate(-50%, -50%);
}

/* Ponto que percorre a linha */
.company-grid::after {
  content: "";

  position: absolute;
  z-index: 6;

  top: 50%;
  left: calc(50% - 29px);

  width: 10px;
  height: 10px;

  border-radius: 50%;

  background: #ffffff;
  border: 3px solid var(--yellow);

  box-shadow:
    0 0 0 6px rgba(241, 220, 0, 0.13);

  transform: translateY(-50%);

  animation: empresasConexao 2.8s ease-in-out infinite alternate;
}

@keyframes empresasConexao {
  from {
    left: calc(50% - 29px);
    border-color: var(--yellow);
  }

  to {
    left: calc(50% + 19px);
    border-color: var(--red);
  }
}

/* ==================================================
   CARTÕES DAS EMPRESAS
================================================== */

.company-card {
  position: relative;

  border: 1px solid rgba(17, 19, 24, 0.07);
  border-radius: 7px;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.98),
      rgba(249, 249, 247, 0.94)
    );

  box-shadow:
    0 22px 55px rgba(17, 19, 24, 0.11);

  transform-style: preserve-3d;

  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.5s ease,
    border-color 0.4s ease;
}

/* Linha superior da Carrera Miguel */
.company-card-yellow {
  border-top: 5px solid var(--yellow);
}

/* Linha superior da ENGETOP */
.company-card-red {
  border-top: 5px solid var(--red);
}

.company-card:hover {
  transform:
    translateY(-13px)
    scale(1.012);

  box-shadow:
    0 38px 85px rgba(17, 19, 24, 0.18);
}

.company-card-yellow:hover {
  border-color: rgba(241, 220, 0, 0.55);
}

.company-card-red:hover {
  border-color: rgba(217, 40, 30, 0.45);
}

/* Luz passando pelos cartões */
.company-card::before {
  content: "";

  position: absolute;
  z-index: 4;

  top: 0;
  left: -130%;

  width: 65%;
  height: 100%;

  background:
    linear-gradient(
      105deg,
      transparent,
      rgba(255, 255, 255, 0.72),
      transparent
    );

  transform: skewX(-18deg);

  transition: left 0.9s ease;

  pointer-events: none;
}

.company-card:hover::before {
  left: 150%;
}

/* ==================================================
   LOGOS DOS CARTÕES
================================================== */

.company-logo-wrap {
  position: relative;

  padding-bottom: 24px;

  border-bottom:
    1px solid rgba(17, 19, 24, 0.08);

  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.company-logo-wrap img {
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.4s ease;
}

.company-card:hover .company-logo-wrap {
  transform: translateY(-4px);
}

.company-card:hover .company-logo-wrap img {
  transform: scale(1.055);

  filter:
    drop-shadow(
      0 12px 18px
      rgba(17, 19, 24, 0.12)
    );
}

/* Pequeno marcador antes da data */
.company-since {
  display: flex;
  align-items: center;
  gap: 10px;
}

.company-since::before {
  content: "";

  width: 24px;
  height: 3px;

  background: currentColor;

  transition: width 0.35s ease;
}

.company-card:hover .company-since::before {
  width: 42px;
}
/* ==================================================
   ENTRADA ALTERNADA DOS CARTÕES
================================================== */

.company-card-yellow.reveal {
  opacity: 0;
  transform: translateX(-55px);
}

.company-card-red.reveal {
  opacity: 0;
  transform: translateX(55px);
}

.company-card-yellow.reveal.visible,
.company-card-red.reveal.visible {
  opacity: 1;
  transform: translateX(0);

  transition:
    opacity 0.85s ease,
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.5s ease,
    border-color 0.4s ease;
}

.company-card-yellow.reveal.visible {
  transition-delay: 0.08s;
}

.company-card-red.reveal.visible {
  transition-delay: 0.22s;
}

.company-card-yellow.reveal.visible:hover,
.company-card-red.reveal.visible:hover {
  transform:
    translateY(-13px)
    scale(1.012);
}
/* ==================================================
   EMPRESAS — RESPONSIVO
================================================== */

@media (max-width: 850px) {
  .section-intro .section-heading {
    margin-bottom: 48px;
  }

  .company-grid {
    gap: 25px;
  }

  .company-grid::before,
  .company-grid::after {
    display: none;
  }

  .company-card-yellow.reveal,
  .company-card-red.reveal {
    transform: translateY(35px);
  }

  .company-card-yellow.reveal.visible,
  .company-card-red.reveal.visible {
    transform: translateY(0);
  }

  .company-card-yellow.reveal.visible:hover,
  .company-card-red.reveal.visible:hover {
    transform: translateY(-6px);
  }

  .section-intro::after {
    width: 270px;
    height: 270px;

    left: -190px;

    border-width: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .section-intro::before,
  .section-intro::after,
  .company-grid::after {
    animation: none;
  }

  .company-card-yellow.reveal,
  .company-card-red.reveal {
    opacity: 1;
    transform: none;
  }
}

/* ==================================================
   SEÇÃO NOSSA HISTÓRIA — FUNDO E AMBIENTE
================================================== */

.history-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  background:
    radial-gradient(
      circle at 12% 25%,
      rgba(241, 220, 0, 0.12),
      transparent 27%
    ),
    radial-gradient(
      circle at 92% 76%,
      rgba(217, 40, 30, 0.08),
      transparent 28%
    ),
    linear-gradient(
      180deg,
      #ffffff 0%,
      #f3f4f2 52%,
      #ffffff 100%
    );
}

/* Grade técnica discreta */
.history-section::before {
  content: "";

  position: absolute;
  inset: 0;
  z-index: -3;

  background-image:
    linear-gradient(
      rgba(17, 19, 24, 0.028) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(17, 19, 24, 0.028) 1px,
      transparent 1px
    );

  background-size: 54px 54px;
  opacity: 0.5;

  animation: historyGridMove 20s linear infinite;
}

@keyframes historyGridMove {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 54px 54px;
  }
}

/* Forma decorativa no canto */
.history-section::after {
  content: "";

  position: absolute;
  z-index: -2;

  width: 460px;
  height: 460px;

  right: -285px;
  top: 140px;

  border: 50px solid rgba(217, 40, 30, 0.055);

  transform: rotate(35deg);

  animation: historyShapeMove 10s ease-in-out infinite alternate;
}

@keyframes historyShapeMove {
  from {
    transform:
      rotate(35deg)
      translateY(0);
  }

  to {
    transform:
      rotate(42deg)
      translateY(55px);
  }
}
/* ==================================================
   IMAGEM DA HISTÓRIA
================================================== */

.history-visual {
  position: relative;
  overflow: visible;

  border-radius: 5px;

  box-shadow:
    0 28px 75px rgba(17, 19, 24, 0.17);

  transform:
    translateY(
      var(--history-visual-shift, 0px)
    );

  transition:
    box-shadow 0.45s ease,
    transform 0.2s linear;
}

/* Moldura deslocada atrás da imagem */
.history-visual::before {
  content: "";

  position: absolute;
  z-index: -1;

  inset: 28px -24px -28px 24px;

  border: 2px solid rgba(241, 220, 0, 0.5);
  border-radius: 5px;

  transition:
    transform 0.45s ease,
    border-color 0.45s ease;
}

/* Gradiente sobre a foto */
.history-visual::after {
  content: "";

  position: absolute;
  inset: 0;
  z-index: 2;

  border-radius: inherit;

  background:
    linear-gradient(
      180deg,
      transparent 45%,
      rgba(17, 19, 24, 0.26) 100%
    );

  opacity: 0.5;

  transition: opacity 0.45s ease;

  pointer-events: none;
}

.history-visual:hover {
  box-shadow:
    0 38px 95px rgba(17, 19, 24, 0.23);
}

.history-visual:hover::before {
  transform:
    translate(-10px, -10px);

  border-color:
    rgba(241, 220, 0, 0.85);
}

.history-visual:hover::after {
  opacity: 0.2;
}

.history-visual img {
  width: 100%;
  height: 620px;

  object-fit: cover;

  border-radius: inherit;

  transform:
    scale(1.06)
    translateY(
      var(--history-image-shift, 0px)
    );

  transition:
    transform 0.25s linear,
    filter 0.5s ease;
}

.history-visual:hover img {
  filter:
    contrast(1.07)
    saturate(1.1);
}

/* ==================================================
   SELO 1986—2026
================================================== */

.history-badge {
  z-index: 4;

  border-radius: 4px;

  background:
    linear-gradient(
      135deg,
      #fff200,
      #f1dc00
    );

  box-shadow:
    0 24px 55px rgba(17, 19, 24, 0.23);

  animation:
    historyBadgeFloat 4.5s ease-in-out infinite;

  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.history-badge::before {
  content: "";

  position: absolute;
  inset: 7px;

  border:
    1px solid rgba(17, 19, 24, 0.15);

  pointer-events: none;
}

.history-badge:hover {
  transform:
    translateY(-8px)
    rotate(-1deg);

  box-shadow:
    0 35px 70px rgba(17, 19, 24, 0.28);
}

@keyframes historyBadgeFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}
/* ==================================================
   TEXTO DA HISTÓRIA
================================================== */

.history-copy {
  position: relative;

  padding:
    20px
    0
    20px
    28px;

  border-left:
    1px solid rgba(17, 19, 24, 0.08);
}

.history-copy .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.history-copy .eyebrow::before {
  content: "";

  width: 28px;
  height: 3px;

  background:
    linear-gradient(
      90deg,
      var(--yellow),
      var(--red)
    );
}

.history-copy h2 {
  position: relative;

  text-shadow:
    0 14px 38px rgba(17, 19, 24, 0.09);
}

.history-copy h2::after {
  content: "";

  display: block;

  width: 95px;
  height: 5px;

  margin-top: 25px;

  background:
    linear-gradient(
      90deg,
      var(--yellow),
      var(--red)
    );

  transform: scaleX(0);
  transform-origin: left;

  transition:
    transform 0.9s
    cubic-bezier(0.22, 1, 0.36, 1);
}

.history-copy.visible h2::after {
  transform: scaleX(1);
}

.history-copy > p:not(.eyebrow) {
  max-width: 650px;

  font-size: 1rem;
  line-height: 1.85;

  color: #626871;
}
/* ==================================================
   LINHA DO TEMPO
================================================== */

.timeline {
  position: relative;

  margin-top: 38px;
  padding-left: 26px;

  border-top: 0;
}

/* Linha vertical da trajetória */
.timeline::before {
  content: "";

  position: absolute;

  left: 5px;
  top: 6px;
  bottom: 6px;

  width: 2px;

  background:
    rgba(17, 19, 24, 0.11);
}

/* Linha colorida animada */
.timeline::after {
  content: "";

  position: absolute;

  left: 5px;
  top: 6px;

  width: 2px;
  height: 0;

  background:
    linear-gradient(
      180deg,
      var(--yellow),
      var(--red)
    );

  transition:
    height 1.4s
    cubic-bezier(0.22, 1, 0.36, 1);
}

.history-copy.visible .timeline::after {
  height: calc(100% - 12px);
}

.timeline div {
  position: relative;

  grid-template-columns: 105px 1fr;

  padding:
    19px
    16px
    19px
    22px;

  border-bottom:
    1px solid rgba(17, 19, 24, 0.1);

  transition:
    transform 0.35s ease,
    background 0.35s ease,
    box-shadow 0.35s ease;
}

/* Pontos da linha do tempo */
.timeline div::before {
  content: "";

  position: absolute;

  left: -26px;
  top: 27px;

  width: 11px;
  height: 11px;

  border-radius: 50%;

  background: #ffffff;
  border: 3px solid var(--red);

  box-shadow:
    0 0 0 5px rgba(217, 40, 30, 0.09);

  transition:
    transform 0.35s ease,
    background 0.35s ease,
    border-color 0.35s ease;
}

.timeline div:hover {
  transform: translateX(9px);

  background:
    linear-gradient(
      90deg,
      rgba(241, 220, 0, 0.09),
      transparent
    );

  box-shadow:
    -4px 0 0 var(--yellow);
}

.timeline div:hover::before {
  transform: scale(1.3);

  background: var(--yellow);
  border-color: var(--yellow);
}

.timeline time {
  color: var(--red);

  font-size: 0.92rem;
  font-weight: 900;

  transition:
    color 0.3s ease,
    transform 0.3s ease;
}

.timeline div:hover time {
  color: var(--black);

  transform: translateX(3px);
}

.timeline p {
  color: var(--text);
}

/* ==================================================
   HISTÓRIA — RESPONSIVO
================================================== */

@media (max-width: 850px) {
  .history-copy {
    padding-left: 0;
    border-left: 0;
  }

  .history-visual::before {
    inset:
      18px
      -10px
      -18px
      10px;
  }

  .history-visual img {
    transform: scale(1.02);
  }

  .timeline {
    padding-left: 25px;
  }

  .timeline div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .history-section::after {
    width: 280px;
    height: 280px;

    right: -190px;

    border-width: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .history-section::before,
  .history-section::after,
  .history-badge {
    animation: none;
  }

  .history-visual,
  .history-visual img {
    transform: none;
  }

  .history-copy h2::after {
    transform: scaleX(1);
  }

  .timeline::after {
    height: calc(100% - 12px);
  }
}

/* ==================================================
   CLIENTES E PARCEIROS — FUNDO E AMBIENTE
================================================== */

.clients-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  background:
    radial-gradient(
      circle at 10% 30%,
      rgba(241, 220, 0, 0.12),
      transparent 27%
    ),
    radial-gradient(
      circle at 92% 75%,
      rgba(217, 40, 30, 0.08),
      transparent 30%
    ),
    linear-gradient(
      180deg,
      #f6f6f3 0%,
      #eceeeb 52%,
      #f6f6f3 100%
    );
}

/* Grade técnica discreta */
.clients-section::before {
  content: "";

  position: absolute;
  inset: 0;
  z-index: -3;

  background-image:
    linear-gradient(
      rgba(17, 19, 24, 0.03) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(17, 19, 24, 0.03) 1px,
      transparent 1px
    );

  background-size: 55px 55px;
  opacity: 0.42;

  animation: clientsGridMove 20s linear infinite;
}

@keyframes clientsGridMove {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 55px 55px;
  }
}

/* Forma decorativa amarela */
.clients-section::after {
  content: "";

  position: absolute;
  z-index: -2;

  width: 420px;
  height: 420px;

  left: -265px;
  bottom: -130px;

  border: 46px solid rgba(241, 220, 0, 0.08);

  transform: rotate(35deg);

  animation: clientsShapeMove 9s ease-in-out infinite alternate;
}

@keyframes clientsShapeMove {
  from {
    transform:
      rotate(35deg)
      translateY(0);
  }

  to {
    transform:
      rotate(42deg)
      translateY(-45px);
  }
}
/* ==================================================
   TÍTULO DA SEÇÃO DE CLIENTES
================================================== */

.clients-section .section-heading {
  position: relative;
  z-index: 2;

  max-width: 900px;
  margin-bottom: 68px;
}

.clients-section .section-heading h2 {
  text-shadow:
    0 15px 38px rgba(17, 19, 24, 0.09);
}

.clients-section .section-heading::after {
  width: 105px;
  height: 5px;

  background:
    linear-gradient(
      90deg,
      var(--yellow),
      var(--red)
    );

  box-shadow:
    0 8px 18px rgba(217, 40, 30, 0.16);
}
/* ==================================================
   CARROSSEL CONTÍNUO DE CLIENTES
================================================== */

.client-carousel-viewport {
  position: relative;
  z-index: 2;

  width: 100%;
  overflow: hidden;

  padding:
    24px
    0
    34px;

  /* Suaviza as laterais da faixa */
  mask-image:
    linear-gradient(
      90deg,
      transparent 0%,
      #000 7%,
      #000 93%,
      transparent 100%
    );

  -webkit-mask-image:
    linear-gradient(
      90deg,
      transparent 0%,
      #000 7%,
      #000 93%,
      transparent 100%
    );
}

.client-logos {
  display: flex;
  grid-template-columns: none;

  width: max-content;
  gap: 22px;

  align-items: center;

  animation:
    clientsRailMove 28s linear infinite;

  will-change: transform;
}

/* Pausa o movimento ao colocar o mouse */
.client-carousel-viewport:hover .client-logos {
  animation-play-state: paused;
}

@keyframes clientsRailMove {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ==================================================
   CARTÕES DOS LOGOTIPOS
================================================== */

.client-logos img {
  flex: 0 0 210px;

  width: 210px;
  height: 125px;

  padding: 24px;

  object-fit: contain;

  border: 1px solid rgba(17, 19, 24, 0.09);
  border-radius: 12px;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.98),
      rgba(245, 246, 244, 0.94)
    );

  box-shadow:
    0 14px 35px rgba(17, 19, 24, 0.08);

  filter:
    grayscale(1)
    contrast(0.9);

  opacity: 0.73;

  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.4s ease,
    opacity 0.4s ease,
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}

.client-logos img:hover {
  transform:
    translateY(-10px)
    scale(1.045);

  filter:
    grayscale(0)
    contrast(1)
    saturate(1.08);

  opacity: 1;

  border-color:
    rgba(241, 220, 0, 0.65);

  box-shadow:
    0 28px 65px rgba(17, 19, 24, 0.17);
}
/* ==================================================
   CLIENTES — RESPONSIVO
================================================== */

@media (max-width: 768px) {
  .clients-section .section-heading {
    margin-bottom: 42px;
  }

  .client-carousel-viewport {
    mask-image:
      linear-gradient(
        90deg,
        transparent 0%,
        #000 3%,
        #000 97%,
        transparent 100%
      );

    -webkit-mask-image:
      linear-gradient(
        90deg,
        transparent 0%,
        #000 3%,
        #000 97%,
        transparent 100%
      );
  }

  .client-logos {
    gap: 14px;

    animation-duration: 22s;
  }

  .client-logos img {
    flex-basis: 165px;

    width: 165px;
    height: 105px;

    padding: 18px;
  }

  .clients-section::after {
    width: 270px;
    height: 270px;

    left: -190px;

    border-width: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .clients-section::before,
  .clients-section::after,
  .client-logos {
    animation: none;
  }

  .client-carousel-viewport {
    overflow-x: auto;
    mask-image: none;
    -webkit-mask-image: none;
  }
}
/* ==================================================
   CORREÇÃO DEFINITIVA DO HERO NO CELULAR
================================================== */

@media (max-width: 768px) {

  /* Estrutura geral do banner */
  .hero {
    min-height: calc(100svh - 76px) !important;
    height: auto !important;

    display: flex !important;
    align-items: center !important;

    padding: 0 !important;
    overflow: hidden !important;
  }

  /* Melhor enquadramento da imagem */
  .hero::before {
    background-position: 58% center !important;

    transform: scale(1.03) !important;
    animation: none !important;

    filter:
      brightness(0.68)
      contrast(1.08)
      saturate(1.05) !important;
  }

  /* Remove os losangos grandes somente no celular */
  .hero-shape {
    display: none !important;
  }

  /* Impede o pseudo-elemento antigo de criar outro losango */
  .hero::after {
    width: auto !important;
    height: auto !important;
    border: 0 !important;
    transform: none !important;
  }

  /* Remove completamente o layout de duas colunas */
  .hero-content {
    width: 100% !important;
    max-width: none !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;

    grid-template-columns: none !important;
    grid-template-areas: none !important;

    margin: 0 auto !important;

    padding:
      108px
      20px
      95px !important;
  }

  /* Etiqueta superior */
  .hero-tag-premium {
    position: relative !important;

    width: fit-content !important;
    max-width: 100% !important;

    margin:
      0
      0
      26px !important;

    padding: 8px 11px !important;

    font-size: 8.5px !important;
    line-height: 1.35 !important;
    letter-spacing: 0.08em !important;

    white-space: normal !important;
  }

  .hero-tag-dot {
    width: 7px !important;
    height: 7px !important;
  }

  /* Título principal */
  .hero-title-premium {
    width: 100% !important;
    max-width: 100% !important;

    margin: 0 !important;

    font-size: clamp(
      2.55rem,
      11.5vw,
      4rem
    ) !important;

    line-height: 0.97 !important;
    letter-spacing: -0.05em !important;

    text-align: left !important;

    overflow: visible !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
  }

  .hero-title-line {
    display: block !important;

    width: 100% !important;
    max-width: 100% !important;

    margin-left: 0 !important;
    transform-origin: left center !important;
  }

  .hero-title-highlight {
    margin-top: 9px !important;
  }

  .hero-title-highlight::after {
    left: 0 !important;
    bottom: -11px !important;

    width: 90px !important;
    height: 4px !important;
  }

  /* Texto explicativo */
  .hero-text-premium {
    width: 100% !important;
    max-width: 100% !important;

    margin:
      34px
      0
      0 !important;

    padding:
      21px
      0
      0 !important;

    border-left: 0 !important;
    border-top: 2px solid var(--yellow) !important;

    background: transparent !important;

    font-size: 0.96rem !important;
    line-height: 1.65 !important;

    text-align: left !important;
  }

  /* Botões */
  .hero-actions,
  .hero-buttons {
    width: 100% !important;

    display: grid !important;
    grid-template-columns: 1fr !important;

    margin-top: 27px !important;
    gap: 11px !important;
  }

  .hero-actions .button,
  .hero-buttons .button,
  .hero-buttons a {
    width: 100% !important;
  }

  /* Indicadores de experiência */
  .hero-metrics,
  .hero-stats {
    width: 100% !important;

    display: grid !important;
    grid-template-columns: 1fr !important;

    margin-top: 38px !important;
    padding-top: 19px !important;

    gap: 17px !important;
  }

  /* Indicador para descer */
  .scroll-indicator {
    bottom: 14px !important;
  }

  .scroll-indicator small {
    font-size: 9px !important;
  }
}

/* ==================================================
   TEXTO MOBILE ACIMA DO INDICADOR DE ROLAGEM
================================================== */

/* Escondido no computador */
.hero-text-mobile {
  display: none;
}

@media (max-width: 768px) {

  /* Esconde o texto lateral original somente no celular */
  .hero .hero-text-premium {
    display: none !important;
  }

  /* Reserva espaço inferior para o novo texto */
  .hero {
    position: relative !important;
    min-height: calc(100svh - 76px) !important;
  }

  /* Novo texto acima do mouse */
  .hero-text-mobile {
    position: absolute;

    left: 50%;
    bottom: 96px;
    z-index: 5;

    display: block;

    width: calc(100% - 38px);
    max-width: 430px;

    margin: 0;
    padding: 14px 17px 14px 20px;

    transform: translateX(-50%);

    border-left: 3px solid var(--yellow);
    border-radius: 3px;

    background:
      linear-gradient(
        90deg,
        rgba(9, 12, 17, 0.88),
        rgba(9, 12, 17, 0.55)
      );

    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);

    color: rgba(255, 255, 255, 0.88);

    font-size: 0.82rem;
    line-height: 1.55;
    text-align: left;

    box-shadow:
      0 15px 35px rgba(0, 0, 0, 0.22);
  }

  /* Mantém o indicador abaixo do texto */
  .hero .scroll-indicator {
    left: 50% !important;
    bottom: 14px !important;

    transform: translateX(-50%) !important;
  }

  .hero .scroll-indicator small {
    font-size: 8px !important;
  }
}

/* ==================================================
   PERÍODOS E ATIVIDADES — ALTERAÇÃO DA CLIENTE
================================================== */

.project-list-client .project-row {
  grid-template-columns: 175px minmax(0, 1fr);
  align-items: center;
  gap: 28px;
}

.project-list-client .project-year {
  color: var(--red);
  font-weight: 900;
}

.project-list-client .project-client-text {
  margin: 0;

  color: var(--black);

  font-size: 1rem;
  line-height: 1.55;
  font-weight: 850;
}

/* Celular */
@media (max-width: 650px) {
  .project-list-client .project-row {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .project-list-client .project-client-text {
    font-size: 0.95rem;
  }
}

/* ==================================================
   CRÉDITO VTS E BOTÃO VOLTAR AO TOPO
================================================== */

.footer-copyright {
  margin: 0;
  text-align: center;
  line-height: 1.7;
}

.footer-divider {
  margin: 0 8px;
  color: rgba(255, 255, 255, 0.28);
}

.vts-credit {
  color: var(--yellow);
  font-weight: 850;
  white-space: nowrap;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;

  padding: 11px 15px;

  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 3px;

  color: rgba(255, 255, 255, 0.76);
  background: transparent;

  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;

  cursor: pointer;

  transition:
    color 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.back-to-top span {
  color: var(--yellow);
  font-size: 1rem;

  transition: transform 0.25s ease;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  color: var(--black);
  background: var(--yellow);
  border-color: var(--yellow);
  transform: translateY(-3px);
}

.back-to-top:hover span,
.back-to-top:focus-visible span {
  color: var(--black);
  transform: translateY(-3px);
}

/* Celular */
@media (max-width: 850px) {
  .footer-divider {
    display: block;
    height: 4px;
    visibility: hidden;
  }

  .back-to-top {
    width: 100%;
    max-width: 230px;
  }
}

/* ==================================================
   CONTATO — MODELO ORIGINAL
================================================== */

.contact-section {
  position: relative;
  overflow: hidden;

  padding: 110px 0;

  background:
    linear-gradient(
      135deg,
      #111319 0%,
      #0d0f14 100%
    );
}

.contact-section::before {
  content: "";

  position: absolute;
  left: -170px;
  bottom: -230px;

  width: 430px;
  height: 430px;

  border: 42px solid rgba(241, 220, 0, 0.07);

  transform: rotate(40deg);
  pointer-events: none;
}

.contact-section::after {
  content: "";

  position: absolute;
  right: -170px;
  top: -250px;

  width: 430px;
  height: 430px;

  border: 42px solid rgba(217, 40, 30, 0.15);

  transform: rotate(35deg);
  pointer-events: none;
}

.contact-grid {
  position: relative;
  z-index: 2;

  display: grid;
  grid-template-columns:
    minmax(0, 1.1fr)
    minmax(390px, 0.9fr);

  align-items: center;
  gap: 80px;
}

.contact-copy .eyebrow {
  margin-bottom: 25px;
  color: var(--yellow);
}

.contact-copy h2 {
  max-width: 680px;
  margin: 0;

  color: #ffffff;

  font-size: clamp(3.2rem, 5vw, 5.4rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 630px;

  margin: 28px 0 0;

  color: rgba(255, 255, 255, 0.68);

  font-size: 1.05rem;
  line-height: 1.75;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;

  margin-top: 34px;
}

.contact-actions .button {
  min-height: 55px;
  padding: 0 25px;
}

.button-light {
  color: #51545a;
  background: #dedede;
  border-color: #dedede;
}

.button-light:hover {
  color: #111319;
  background: #ffffff;
  border-color: #ffffff;
}

.contact-card {
  padding: 38px;

  background: #ffffff;

  box-shadow:
    0 30px 75px rgba(0, 0, 0, 0.22);
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  padding: 22px 0;

  border-bottom: 1px solid #d8d8d8;
}

.contact-item:first-child {
  padding-top: 0;
}

.contact-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-item span {
  margin-bottom: 9px;

  color: var(--red);

  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.11em;
}

.contact-item a,
.contact-item address {
  color: #343840;

  font-size: 1rem;
  font-style: normal;
  line-height: 1.7;
  text-decoration: none;
}

.contact-item a:hover {
  color: var(--red);
}

/* Celular */
@media (max-width: 850px) {
  .contact-section {
    padding: 78px 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-copy h2 {
    font-size: clamp(2.8rem, 12vw, 4.2rem);
  }

  .contact-card {
    padding: 28px 23px;
  }
}

@media (max-width: 520px) {
  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .contact-actions .button {
    width: 100%;
  }

  .contact-item a,
  .contact-item address {
    font-size: 0.92rem;
    overflow-wrap: anywhere;
  }
}

/* ==========================================
   BLOCO EQUIPE TÉCNICA
========================================== */
.technical-team-block {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 34px;

  margin-top: 48px;
  padding: 28px;

  background: #ffffff;
  border: 1px solid rgba(10, 18, 35, 0.08);
  border-radius: 26px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);

  position: relative;
  overflow: hidden;
}

.technical-team-block::before {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(235, 194, 49, 0.10), transparent 68%);
  pointer-events: none;
}

.technical-team-media {
  position: relative;
  z-index: 1;
}

.technical-team-media img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;

  display: block;
  border-radius: 20px;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.12);
}

.technical-team-content {
  position: relative;
  z-index: 1;
}

.technical-team-content .eyebrow {
  margin-bottom: 14px;
}

.technical-team-content h3 {
  margin: 0 0 16px;
  color: #0b1220;
  font-size: clamp(2rem, 2.4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.technical-team-content p:last-child {
  margin: 0;
  color: #5b6472;
  font-size: 1rem;
  line-height: 1.8;
  max-width: 500px;
}

/* animação leve */
.technical-team-block:hover {
  transform: translateY(-3px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
}

.technical-team-media img:hover {
  transform: scale(1.015);
  transition: transform 0.35s ease;
}

/* responsivo */
@media (max-width: 980px) {
  .technical-team-block {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 22px;
  }

  .technical-team-media img {
    min-height: 280px;
  }

  .technical-team-content {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .technical-team-block {
    margin-top: 32px;
    padding: 18px;
    border-radius: 20px;
  }

  .technical-team-media img {
    min-height: 220px;
    border-radius: 16px;
  }

  .technical-team-content h3 {
    font-size: 1.8rem;
  }

  .technical-team-content p:last-child {
    font-size: 0.95rem;
    line-height: 1.7;
  }
}

.header-cta {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;

  background: #0c0c0c !important;
  color: #ffffff !important;

  padding: 16px 28px !important;

  border: 2px solid #111318 !important;
  border-radius: 5px !important;

  font-weight: 800 !important;
  font-size: 14px !important;
  text-transform: uppercase;
  text-decoration: none !important;

  cursor: pointer;

  transition:
    transform 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.header-cta:hover {
  background: #c91d18 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}