:root {
  --orange: #f7931d;
  --orange-soft: #fac78b;
  --ink: #373b4d;
  --text: #595959;
  --muted: #8c8c8c;
  --line: #eeeeee;
  --dark: #282828;
  --white: #ffffff;
  --shadow: 0 14px 34px rgba(20, 20, 20, 0.12);
  --container: 980px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: "Nunito Sans", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

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

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

button {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.section {
  padding: 82px 0;
}

.section-heading {
  max-width: 960px;
  margin: 0 auto;
}

.section-heading.centered {
  text-align: center;
}

.section h2,
.section h3,
.footer h2 {
  margin: 0;
  color: var(--ink);
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0;
}

.section-heading h2,
.portfolio-head h2,
.blog-head h2 {
  color: var(--orange);
  font-size: 40px;
  font-weight: 700;
}

.section-heading p,
.portfolio-head p,
.blog-head p {
  max-width: 930px;
  margin: 18px auto 0;
  color: var(--text);
  font-size: 17px;
}

/* Header */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.72), rgba(18, 18, 18, 0.18));
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: none;
  backdrop-filter: blur(8px);
}

.header-content {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: 132px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.25s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.active {
  color: var(--orange);
}

.nav-mobile-contact {
  display: none;
}

.header-contact {
  display: grid;
  gap: 2px;
  min-width: 150px;
  padding-left: 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  text-align: left;
}

.header-contact span {
  color: rgba(255, 255, 255, 0.56);
  font-size: 12px;
  line-height: 1.1;
}

.header-contact strong {
  color: var(--white);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  transition: color 0.25s ease;
}

.header-contact:hover strong,
.header-contact:focus-visible strong {
  color: var(--orange);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: clamp(600px, 82vh, 720px);
  display: block;
  overflow: hidden;
  background: #171717;
  isolation: isolate;
}

.hero .container {
  width: min(1160px, calc(100% - 72px));
}

.hero-slides,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  display: grid;
  opacity: 0;
  visibility: hidden;
  background: #171717;
  transition: opacity 0.9s ease, visibility 0.9s ease;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--slide-bg) center center / cover no-repeat;
  opacity: 0.92;
  transition: opacity 0.9s ease, transform 7s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-slide.is-active::before {
  transform: scale(1.03);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(16, 16, 16, 0.88) 0%, rgba(16, 16, 16, 0.70) 42%, rgba(16, 16, 16, 0.30) 70%, rgba(16, 16, 16, 0.06) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.38));
}

.hero-layout {
  position: relative;
  z-index: 2;
  min-height: clamp(600px, 82vh, 720px);
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  padding: 128px 0 118px;
}

.hero-content {
  position: relative;
  max-width: 620px;
  padding: 0;
}

.hero-slide-construction::before {
  background-position: center center;
  opacity: 0.84;
}

.hero-slide-construction .hero-overlay {
  background:
    linear-gradient(90deg, rgba(16, 16, 16, 0.90) 0%, rgba(16, 16, 16, 0.70) 42%, rgba(16, 16, 16, 0.18) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.38));
}

.hero h1 {
  max-width: 620px;
  margin: 0 0 24px;
  color: var(--white);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 56px;
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: 0;
}

.hero-content > p {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 17px;
  font-weight: 500;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  color: var(--orange-soft);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
}

.hero-kicker::before {
  content: "";
  width: 44px;
  height: 2px;
  flex: 0 0 auto;
  background: var(--orange);
}

.hero strong {
  color: var(--orange-soft);
  font-weight: 800;
}

.hero-actions-clean {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
  margin-top: 32px;
}

.hero-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 24px;
  border: 1px solid rgba(247, 147, 29, 0.85);
  border-radius: 4px;
  background: rgba(247, 147, 29, 0.92);
  color: var(--white);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.hero-primary:hover,
.hero-primary:focus-visible {
  background: #db7f0f;
  border-color: #db7f0f;
  transform: translateY(-2px);
}

.hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 38px;
  color: rgba(255, 255, 255, 0.92);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  transition: color 0.25s ease, gap 0.25s ease;
}

.hero-secondary::after {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
  opacity: 0.70;
}

.hero-secondary:hover,
.hero-secondary:focus-visible {
  color: var(--orange);
  gap: 16px;
}

.hero-ui {
  position: relative;
  z-index: 4;
  min-height: clamp(600px, 82vh, 720px);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding-bottom: 38px;
  pointer-events: none;
}

.hero-dots {
  display: flex;
  gap: 10px;
  pointer-events: auto;
}

.hero-dots button {
  width: 42px;
  height: 3px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dots button.is-active {
  width: 72px;
  background: var(--orange);
}

.btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  text-align: center;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(20, 20, 20, 0.18);
}

.btn-primary,
.btn-wide {
  background: var(--orange);
}

.btn-primary:hover,
.btn-wide:hover {
  background: #db7f0f;
}

.btn-dark {
  background: #2f2f2f;
}

.btn-wide {
  width: min(946px, 100%);
  min-height: 52px;
  margin: 52px auto 0;
  font-size: 20px;
  font-weight: 500;
}

/* Serviços */
.services {
  padding-top: 76px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 26px;
  margin-top: 44px;
}

.service-card {
  position: relative;
  min-height: 290px;
  aspect-ratio: 300 / 290;
  overflow: hidden;
  background: #dddddd;
  isolation: isolate;
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 34%;
  background: linear-gradient(90deg, rgba(30, 30, 30, 0.66), rgba(30, 30, 30, 0.30));
}

.service-card::after {
  content: "\2197";
  position: absolute;
  right: 28px;
  bottom: 22px;
  z-index: 2;
  color: var(--white);
  font-family: Arial, sans-serif;
  font-size: 34px;
  line-height: 1;
}

.service-card span {
  position: absolute;
  left: 28px;
  bottom: 24px;
  z-index: 2;
  color: var(--white);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0;
}

.service-card:hover img,
.service-card:focus-visible img {
  transform: scale(1.06);
}

/* Sobre */
.story {
  padding-top: 28px;
}

.story-grid {
  display: grid;
  grid-template-columns: 1.16fr 1fr;
  gap: 58px;
  align-items: center;
}

.story-gallery {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  min-height: 459px;
}

.story-shape {
  position: absolute;
  left: -48px;
  bottom: -40px;
  width: 300px;
  height: 462px;
  background: var(--orange-soft);
}

.story-gallery img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 459px;
  object-fit: cover;
}

.story-copy .eyebrow {
  margin: 0;
  color: var(--orange);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 34px;
  font-weight: 700;
}

.story-copy h2 {
  margin: -6px 0 20px;
  color: #8b8b8b;
  font-size: 42px;
  font-weight: 300;
}

.story-copy p {
  margin: 0 0 22px;
  color: var(--text);
  text-align: justify;
}

.intro-line {
  max-width: 840px;
  margin: 0 auto 34px;
  text-align: center;
  color: var(--text);
  font-size: 17px;
}

.intro-line strong {
  color: var(--text);
}

/* Vídeos */
.history-videos {
  padding-top: 0;
}

.video-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 254px));
  justify-content: center;
  gap: 18px;
}

.video-card {
  position: relative;
  width: 100%;
  aspect-ratio: 254 / 453;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #111111;
  box-shadow: 0 8px 16px rgba(35, 35, 35, 0.18);
  cursor: pointer;
}

.video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease, opacity 0.25s ease;
}

.video-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.22);
  transition: background 0.25s ease;
}

.play-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 58px;
  height: 58px;
  border: 4px solid var(--white);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.play-icon::after {
  content: "";
  position: absolute;
  left: 21px;
  top: 15px;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid var(--white);
}

.video-card:hover img,
.video-card:focus-visible img {
  transform: scale(1.04);
}

.video-card:hover::before,
.video-card:focus-visible::before {
  background: rgba(0, 0, 0, 0.10);
}

/* Portfólio */
.portfolio {
  position: relative;
  padding-top: 40px;
}

.accent-bar {
  width: min(44vw, 560px);
  height: 45px;
  margin-bottom: -45px;
  background: var(--orange-soft);
}

.portfolio-head {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: start;
  gap: 54px;
  margin-bottom: 48px;
}

.portfolio-head h2 {
  grid-column: 2;
  color: #8b8b8b;
  font-size: 42px;
  font-weight: 300;
}

.portfolio-head p {
  grid-column: 2;
  margin: 8px 0 0;
  max-width: 520px;
  text-align: justify;
}

.portfolio-list {
  display: grid;
  gap: 70px;
}

.portfolio-item,
.project-row {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 64px;
  align-items: center;
}

.portfolio-text h3,
.project-copy h2 {
  color: var(--orange-soft);
  font-size: 30px;
  font-weight: 800;
}

.portfolio-text h3 span,
.project-copy h2 {
  color: var(--ink);
}

.project-copy h2 span,
.portfolio-text h3 span {
  display: block;
}

.project-copy h2 span,
.portfolio-text h3 {
  color: var(--orange-soft);
}

.portfolio-text h3 span {
  color: var(--ink);
}

.portfolio-text p,
.project-copy p {
  margin: 18px 0 22px;
  color: var(--text);
  text-align: justify;
}

.portfolio-text a {
  color: var(--orange-soft);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 25px;
  font-weight: 800;
  transition: color 0.25s ease;
}

.portfolio-text a:hover,
.portfolio-text a:focus-visible {
  color: var(--orange);
}

.mosaic {
  display: grid;
  grid-template-columns: 100px 1fr 1.24fr;
  grid-template-rows: 96px 96px;
  gap: 10px;
  min-height: 202px;
}

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

.mosaic img:nth-child(1) {
  grid-column: 1;
  grid-row: 1;
}

.mosaic img:nth-child(2) {
  grid-column: 2;
  grid-row: 1 / 3;
}

.mosaic img:nth-child(3) {
  grid-column: 3;
  grid-row: 1;
}

.mosaic img:nth-child(4) {
  grid-column: 1;
  grid-row: 2;
}

.mosaic img:nth-child(5) {
  grid-column: 3;
  grid-row: 2;
}

.mosaic.no-five img:nth-child(3) {
  grid-row: 1 / 3;
}

.project-videos {
  position: relative;
  padding-top: 74px;
  padding-bottom: 34px;
}

.accent-band {
  position: absolute;
  left: 0;
  right: 0;
  top: 86px;
  height: 45px;
  background: var(--orange-soft);
}

.project-videos .video-strip {
  position: relative;
  z-index: 1;
}

/* Projetos */
.projects {
  padding-top: 64px;
}

.project-list {
  display: grid;
  gap: 74px;
}

.project-copy h2 {
  font-size: 30px;
  line-height: 1.18;
}

.project-copy h2 span {
  color: var(--orange-soft);
}

.project-mosaic {
  grid-template-columns: 100px 1fr 1.2fr;
  grid-template-rows: 100px 100px;
  min-height: 210px;
}

/* Blog */
.blog {
  position: relative;
  background: #ffffff;
}

.blog-head {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 54px;
  margin-bottom: 34px;
}

.blog-head h2,
.blog-head p {
  grid-column: 2;
  margin-left: 0;
}

.blog-head h2 {
  color: #8b8b8b;
  font-size: 42px;
  font-weight: 300;
}

.blog-head p {
  max-width: 620px;
  margin-top: 8px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.blog-card {
  background: var(--white);
}

.blog-card img {
  width: 100%;
  aspect-ratio: 292 / 219;
  object-fit: cover;
  margin-bottom: 26px;
}

.blog-card h3 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.25;
}

.blog-card p {
  margin: 0;
  color: var(--text);
}

/* Engenheiro */
.engineer {
  padding-top: 58px;
}

.engineer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 269px;
  gap: 76px;
  align-items: center;
  max-width: 760px;
}

.engineer-copy h2 {
  margin-bottom: 22px;
  color: var(--orange-soft);
  font-size: 34px;
  font-weight: 800;
}

.engineer-copy h2 span {
  display: block;
  color: var(--ink);
}

.credential {
  margin: 0 0 24px;
  color: var(--ink);
  font-weight: 700;
}

.engineer-copy p {
  margin: 0 0 22px;
  text-align: justify;
}

.engineer-video {
  width: 269px;
  aspect-ratio: 269 / 475;
}

/* Atuação */
.atuacao {
  padding-top: 10px;
  padding-bottom: 62px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
}

.feature-card {
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
}

.feature-card h3 {
  color: var(--text);
  font-size: 19px;
  font-weight: 400;
}

.feature-icon {
  position: relative;
  display: block;
  width: 86px;
  height: 86px;
  color: var(--orange);
  border-bottom: 1px solid var(--orange-soft);
}

.chart-icon::before {
  content: "";
  position: absolute;
  left: 16px;
  bottom: 22px;
  width: 50px;
  height: 58px;
  border: 3px solid var(--orange);
}

.chart-icon::after {
  content: "";
  position: absolute;
  left: 26px;
  bottom: 32px;
  width: 30px;
  height: 32px;
  background: linear-gradient(90deg, transparent 0 7px, var(--orange) 7px 10px, transparent 10px 18px, var(--orange) 18px 21px, transparent 21px);
  border-bottom: 3px solid var(--orange);
}

.idea-icon::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 10px;
  width: 42px;
  height: 58px;
  border: 3px solid var(--orange);
}

.idea-icon::after {
  content: "";
  position: absolute;
  left: 34px;
  top: 28px;
  width: 20px;
  height: 20px;
  border: 3px solid var(--orange);
  border-radius: 50%;
  box-shadow: 0 19px 0 -7px var(--orange);
}

.report-icon::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 30px;
  width: 66px;
  height: 34px;
  border: 3px solid var(--orange);
  border-top: 0;
}

.report-icon::after {
  content: "";
  position: absolute;
  left: 28px;
  top: 18px;
  width: 30px;
  height: 44px;
  border: 3px solid var(--orange);
  border-bottom: 0;
}

.helmet-icon::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 23px;
  width: 48px;
  height: 36px;
  border: 3px solid var(--orange);
  border-radius: 34px 34px 4px 4px;
}

.helmet-icon::after {
  content: "";
  position: absolute;
  left: 14px;
  top: 58px;
  width: 58px;
  height: 6px;
  background: var(--orange);
}

/* Rodapé */
.footer {
  background: #242424;
  color: var(--white);
  padding: 0;
}

.footer-cta {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 58px;
  align-items: start;
  padding: 74px 0 54px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-kicker {
  grid-column: 1 / -1;
  margin: 0 0 13px;
  color: var(--orange-soft);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.footer-cta h2 {
  grid-column: 1;
  grid-row: 2 / span 2;
  max-width: 430px;
  color: var(--white);
  font-size: 42px;
  font-weight: 700;
}

.footer-cta p:not(.footer-kicker) {
  grid-column: 2;
  grid-row: 2;
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 17px;
}

.footer-links {
  grid-column: 2;
  grid-row: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 30px;
  margin-top: 24px;
}

.footer-links a {
  color: var(--white);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 14px;
  font-weight: 800;
  border-bottom: 1px solid rgba(250, 199, 139, 0.66);
  padding-bottom: 5px;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.footer-links a:first-child {
  color: var(--orange-soft);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--orange);
  border-color: var(--orange);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.16fr 0.92fr 1fr;
  gap: 64px;
  align-items: start;
  padding: 46px 0;
}

.footer-brand img {
  width: 190px;
  filter: brightness(0) invert(1);
  opacity: 0.88;
}

.footer-brand p {
  max-width: 300px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.70);
}

.footer-contact,
.footer-services {
  display: grid;
  gap: 12px;
}

.footer-contact {
  font-style: normal;
}

.footer-title {
  margin-bottom: 6px;
  color: var(--orange-soft);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.footer-contact span:not(.footer-title),
.footer-contact a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  transition: color 0.25s ease;
}

.footer-contact a:hover,
.footer-contact a:focus-visible {
  color: var(--orange-soft);
}

.footer-services ul {
  margin: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  list-style: none;
}

.footer-services li {
  padding: 0 0 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  color: var(--orange-soft);
  font-weight: 700;
  transition: color 0.25s ease;
}

.footer-bottom a:hover,
.footer-bottom a:focus-visible {
  color: var(--orange);
}

/* Botão flutuante de WhatsApp */
.float-whatsapp {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 90;
  width: 70px;
  height: 70px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: transform 0.25s ease;
  animation: floatPulse 2.8s ease-in-out infinite;
}

.float-whatsapp:hover,
.float-whatsapp:focus-visible {
  transform: scale(1.06);
}

.float-whatsapp img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

/* Modal de vídeos */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.video-modal.is-open {
  display: flex;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
}

.video-modal-content {
  position: relative;
  z-index: 1;
  width: min(420px, 92vw);
  max-height: 88vh;
  background: #000000;
}

.video-modal-content video {
  width: 100%;
  max-height: 88vh;
  object-fit: contain;
}

.video-close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.10);
  color: var(--white);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

/* Animações */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@keyframes floatPulse {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1024px) {
  .container {
    width: min(920px, calc(100% - 40px));
  }

  .site-nav {
    gap: 34px;
  }

  .hero h1 {
    font-size: 50px;
  }

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

  .footer-cta {
    gap: 42px;
  }

  .footer-cta h2 {
    font-size: 38px;
  }

  .story-grid,
  .portfolio-item,
  .project-row,
  .engineer-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-head,
  .blog-head {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .portfolio-head h2,
  .portfolio-head p,
  .blog-head h2,
  .blog-head p {
    grid-column: 1;
  }

  .engineer-grid {
    max-width: 760px;
  }

  .engineer-video {
    justify-self: center;
  }
}

@media (max-width: 820px) {
  .section {
    padding: 64px 0;
  }

  .header-content {
    min-height: 76px;
  }

  .brand img {
    width: 124px;
  }

  .menu-toggle {
    display: block;
  }

  .header-contact {
    display: none;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 76px;
    max-height: 0;
    overflow: hidden;
    display: grid;
    gap: 0;
    background: rgba(25, 25, 25, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 18px 28px rgba(20, 20, 20, 0.22);
    transition: max-height 0.28s ease;
  }

  .nav-open .site-nav {
    max-height: 360px;
  }

  .site-nav a {
    padding: 17px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.86);
    font-size: 16px;
  }

  .nav-mobile-contact {
    display: block;
    color: var(--orange-soft) !important;
    font-weight: 800 !important;
  }

  .hero,
  .hero-layout,
  .hero-ui {
    min-height: 640px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(16, 16, 16, 0.88), rgba(16, 16, 16, 0.54)),
      linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.50));
  }

  .hero-layout {
    grid-template-columns: 1fr;
    padding: 116px 0 112px;
  }

  .hero h1 {
    font-size: 46px;
  }

  .hero-content > p {
    font-size: 16px;
  }

  .service-grid,
  .blog-grid,
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .video-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 40px 0;
  }

  .footer-cta {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 62px 0 42px;
  }

  .footer-cta h2 {
    grid-column: auto;
    grid-row: auto;
    max-width: 620px;
    font-size: 36px;
  }

  .footer-cta p:not(.footer-kicker) {
    grid-column: auto;
    grid-row: auto;
    max-width: 620px;
  }

  .footer-links {
    grid-column: auto;
    grid-row: auto;
  }
}

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

  .section {
    padding: 54px 0;
  }

  .section-heading h2,
  .portfolio-head h2,
  .blog-head h2 {
    font-size: 34px;
  }

  .section-heading p,
  .portfolio-head p,
  .blog-head p {
    font-size: 16px;
    text-align: left;
  }

  .hero,
  .hero-layout,
  .hero-ui {
    min-height: 625px;
  }

  .hero-layout {
    align-items: center;
    padding: 106px 0 106px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero h1 {
    font-size: 36px;
    line-height: 1.09;
  }

  .hero-kicker {
    font-size: 12px;
  }

  .hero-kicker::before {
    width: 32px;
  }

  .hero-content > p {
    font-size: 15.5px;
  }

  .hero-actions-clean {
    display: grid;
    gap: 14px;
    justify-items: start;
    margin-top: 26px;
  }

  .hero-primary {
    min-height: 42px;
    padding: 0 18px;
    font-size: 13px;
  }

  .hero-secondary {
    font-size: 13px;
  }

  .hero-ui {
    padding-bottom: 24px;
  }

  .hero-dots button {
    width: 32px;
  }

  .hero-dots button.is-active {
    width: 52px;
  }

  .btn {
    width: 100%;
    min-height: 48px;
    padding: 12px 18px;
  }

  .btn-wide {
    font-size: 16px;
  }

  .service-grid,
  .blog-grid,
  .feature-grid,
  .video-strip {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 260px;
    aspect-ratio: 4 / 3;
  }

  .service-card span {
    font-size: 22px;
  }

  .story-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    min-height: 330px;
  }

  .story-gallery img {
    height: 330px;
  }

  .story-shape {
    left: -14px;
    bottom: -20px;
    width: 52%;
    height: 320px;
  }

  .story-copy .eyebrow {
    font-size: 28px;
  }

  .story-copy h2 {
    font-size: 36px;
  }

  .video-strip {
    width: min(280px, 100%);
    margin: 0 auto;
  }

  .portfolio-item,
  .project-row {
    gap: 26px;
  }

  .mosaic,
  .project-mosaic {
    grid-template-columns: 0.62fr 1.18fr 1.28fr;
    grid-template-rows: 88px 88px;
    gap: 8px;
    min-height: 184px;
  }

  .portfolio-text h3,
  .project-copy h2 {
    font-size: 27px;
  }

  .blog-card h3 {
    font-size: 22px;
  }

  .engineer-video {
    width: min(269px, 100%);
  }

  .footer-cta {
    padding: 52px 0 36px;
  }

  .footer-cta h2 {
    font-size: 31px;
  }

  .footer-links {
    display: grid;
    gap: 13px;
  }

  .footer-brand img {
    width: 176px;
  }

  .footer-contact span:not(.footer-title),
  .footer-contact a,
  .footer-services ul {
    font-size: 16px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

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

  .float-whatsapp img {
    width: 54px;
    height: 54px;
  }
}
