/* @font-face local - Família Montserrat */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Montserrat Regular'), local('Montserrat-Regular'), url('../fonts/montserrat/montserrat-v26-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: local('Montserrat Medium'), local('Montserrat-Medium'), url('../fonts/montserrat/montserrat-v26-latin-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: local('Montserrat SemiBold'), local('Montserrat-SemiBold'), url('../fonts/montserrat/montserrat-v26-latin-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local('Montserrat Bold'), local('Montserrat-Bold'), url('../fonts/montserrat/montserrat-v26-latin-700.woff2') format('woff2');
}

:root {
  --ink: #142631;
  --navy: #101f29;
  --gold: #D9B43C;
  --muted: #5a6870;
  --paper: #f4f6f5;
  --line: #dbe1e1;
  --white: #ffffff;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 16px/1.65 Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

button, a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

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

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

svg {
  width: 32px;
  height: 32px;
}

h1, h2, h3, p {
  margin: 0;
}

h1, h2, h3 {
  line-height: 1.13;
  letter-spacing: -0.045em;
}

h2 {
  font-size: clamp(2.15rem, 4vw, 3.8rem);
  font-weight: 500;
}

h3 {
  font-size: 1.45rem;
}

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

button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 5px;
}

.wrap {
  width: min(var(--max), calc(100% - 96px));
  margin: auto;
}

.section {
  padding: 108px 0;
}

.eyebrow {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 24px;
}

.gold {
  color: var(--gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-height: 52px;
  padding: 14px 23px;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.875rem;
  font-weight: 700;
  border: 1px solid var(--gold);
  border-radius: 3px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  background: #c9a432;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.btn.secondary {
  background: transparent;
  color: inherit;
  border-color: rgba(255, 255, 255, 0.38);
}

.btn.secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

.arrow {
  font-size: 1.3rem;
  font-weight: 400;
}

.skip {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 100;
  background: #ffffff;
  padding: 12px;
}

.skip:focus {
  top: 10px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(16, 31, 41, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s ease;
}

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

.brand {
  display: block;
  width: 135px;
  height: 64px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.brand img {
  position: absolute;
  max-width: none;
  width: 163%;
  height: auto;
  left: -31%;
  top: 50%;
  transform: translateY(-50%);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.875rem;
}

.nav a:not(.btn):hover {
  color: var(--gold);
}

.menu {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 3px;
}

.hero {
  position: relative;
  background: var(--navy);
  color: #ffffff;
  isolation: isolate;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% 50%;
}

.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(8, 23, 32, 0.96) 0%, rgba(8, 23, 32, 0.84) 35%, rgba(8, 23, 32, 0.28) 100%);
}

.hero-content {
  padding: 100px 0 65px;
  max-width: 790px;
}

.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 15px;
}

.hero .eyebrow:before {
  content: "";
  height: 1px;
  width: 38px;
  background: var(--gold);
}

h1 {
  font-size: clamp(3.35rem, 6.6vw, 6.1rem);
  font-weight: 500;
  line-height: 1.01;
}

.hero h1 span {
  color: var(--gold);
}

.hero p {
  color: #d5dce0;
  max-width: 535px;
  font-size: 1.125rem;
  margin: 30px 0;
}

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

.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.19);
  padding: 24px 0;
  color: #d5dce0;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
}

.hero-bottom span {
  display: flex;
  align-items: center;
  gap: 10px;
}

.motion-button {
  font: inherit;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 3px;
  background: rgba(16, 31, 41, 0.5);
  color: #ffffff;
  padding: 8px 14px;
  cursor: pointer;
}

.hero-bottom .motion-button {
  font-size: 0.75rem;
  white-space: nowrap;
}

.trust {
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.trust .wrap {
  overflow: hidden;
}

.trust-title {
  font-size: 0.75rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  text-align: center;
  color: var(--muted);
}

.client-carousel {
  overflow: hidden !important;
  margin-top: 26px;
  width: 100%;
  mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.client-carousel::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.client-track {
  display: flex;
  width: max-content;
  animation: client-slide 28s linear infinite !important;
  will-change: transform;
}

.client-group {
  display: flex;
  align-items: center;
  gap: 52px;
  padding: 0 26px;
  flex-shrink: 0;
}

.client-group img {
  width: 130px;
  height: 68px;
  object-fit: contain;
  filter: none;
  opacity: 1;
  flex-shrink: 0;
}

.client-track.paused, .client-carousel:hover .client-track {
  animation-play-state: paused;
}

.carousel-toggle {
  display: block;
  margin: 16px auto 0;
  color: var(--ink);
  background: transparent;
  border-color: var(--line);
  font-size: 0.75rem;
  min-height: 36px;
}

@keyframes client-slide {
  to {
    transform: translateX(-50%);
  }
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 50px;
  margin-bottom: 46px;
}

.section-head h2 {
  max-width: 700px;
}

.section-head p {
  max-width: 350px;
}

.solutions {
  background: var(--paper);
}

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

.card {
  padding: 0;
  min-height: 430px;
  overflow: hidden;
  isolation: isolate;
  background: var(--navy);
  color: #ffffff;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  position: relative;
  touch-action: manipulation;
}

.card-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.65s ease;
}

.card:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(8, 23, 32, 0.08) 0%, rgba(8, 23, 32, 0.33) 30%, rgba(8, 23, 32, 0.92) 66%, rgba(8, 23, 32, 1) 100%);
}

.card-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 85px;
}

.card-top svg {
  color: var(--gold);
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.4));
}

.card h3 {
  font-size: 1.5rem;
  line-height: 1.22;
  max-width: 330px;
  margin-bottom: 16px;
}

.card p {
  color: #e0e7e9;
  font-size: 0.93rem;
  margin-bottom: 24px;
}

.text-button {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: none;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.31);
  padding: 17px 0 0;
  color: #ffffff;
  text-align: left;
  font-size: 0.85rem;
  font-weight: 700;
  min-height: 44px;
}

.text-button:hover {
  color: var(--gold);
}

.card:hover .card-image, .card:focus-within .card-image {
  transform: scale(1.06);
}

.card-details {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 30px;
}

.card-details:focus {
  outline: none;
}

.card-details h3 {
  margin-bottom: 16px;
  color: var(--ink);
}

.card-details p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 18px;
}

.card-details ul {
  margin: 0 0 24px;
  padding-left: 20px;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

.card-details li + li {
  margin-top: 7px;
}

.card-details li::marker {
  color: var(--gold);
}

.card-details .btn {
  width: 100%;
  gap: 12px;
}

.card-back {
  min-height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #ffffff;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.875rem;
}

.card-back:hover {
  background: var(--paper);
}

.card-details[hidden] {
  display: none !important;
}

.card.is-expanded {
  min-height: 0;
  height: auto;
  overflow: visible;
  background: #ffffff;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}

.card.is-expanded::after {
  display: none;
}

.card.is-expanded > .card-image, .card.is-expanded > .card-content {
  display: none;
}

.card.is-expanded .card-details {
  display: flex;
  flex-direction: column;
  padding: 25px;
}

.card-details-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}

.card-details-actions button {
  width: 100%;
  min-height: 48px;
}

.card-landing {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 48px;
  width: 100%;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}

.about-media {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.about-media img {
  width: 100%;
  aspect-ratio: 1/1.06;
  object-fit: cover;
}

.image-label {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: var(--navy);
  color: #ffffff;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-size: 0.8rem;
  border-radius: 20px;
}

.image-label strong {
  font-size: 1.5rem;
  color: var(--gold);
  font-weight: 500;
}

.about-text p {
  margin-top: 25px;
}

.about-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  margin-top: 30px;
  padding-top: 24px;
  gap: 20px;
}

.about-facts strong {
  display: block;
  font-size: 1.1rem;
}

.about-facts span {
  font-size: 0.8rem;
  color: var(--muted);
}

.technology {
  background: var(--navy);
  color: #ffffff;
  position: relative;
}

.technology p {
  color: #bfcbd0;
}

.tech-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
}

.tech-card {
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 36px;
  position: relative;
  overflow: hidden;
  min-height: 370px;
  display: flex;
  flex-direction: column;
  align-items: start;
  touch-action: manipulation;
  scroll-margin-top: 100px;
}

.tech-card:first-child {
  background: linear-gradient(100deg, rgba(28, 53, 67, 0.94), rgba(28, 53, 67, 0.88)), url("../images/services/drenagem-canal-obra.webp") center/cover;
}

.tech-card h3 {
  font-size: 2.4rem;
  font-weight: 500;
  margin: 30px 0 16px;
}

.tech-card p {
  max-width: 440px;
  margin-bottom: 28px;
}

.tech-tag {
  font-size: 0.75rem;
  letter-spacing: 0.09em;
  color: var(--gold);
}

.tech-card .btn {
  margin-top: auto;
}

.tech-card.is-expanded {
  background: #ffffff;
  color: var(--ink);
  border-color: var(--line);
  height: auto;
}

.tech-card.is-expanded > :not(.tech-details) {
  display: none;
}

.tech-details[hidden] {
  display: none !important;
}

.tech-details {
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
  min-width: 0;
}

.tech-details .tech-tag {
  color: var(--ink);
}

.tech-details h3 {
  color: var(--ink);
  margin: 20px 0 16px;
}

.tech-details p {
  color: var(--muted);
  margin-bottom: 18px;
}

.tech-details ul {
  margin: 0 0 24px;
  padding-left: 20px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.tech-details li + li {
  margin-top: 8px;
}

.tech-details li::marker {
  color: var(--gold);
}

.tech-details-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}

.tech-details-actions button {
  width: 100%;
  min-height: 48px;
}

.tech-details-actions .btn {
  margin-top: 0;
}

.tech-back {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #ffffff;
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 700;
}

.tech-back:hover {
  background: var(--paper);
}

.sectors {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  margin-top: 46px;
}

.sector {
  padding: 26px 20px 26px 0;
  border-bottom: 1px solid var(--line);
}

.sector h3 {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.projects {
  background: var(--paper);
}

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

.project {
  border: 0;
  padding: 0;
  background: transparent;
  text-align: left;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  min-width: 0;
  touch-action: manipulation;
  scroll-margin-top: 100px;
}

.project-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.project-trigger[hidden], .project-details[hidden] {
  display: none !important;
}

.project.is-expanded {
  background: #ffffff;
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px var(--line);
}

.project-details {
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
  padding: 24px;
}

.project-details .eyebrow {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.7rem;
}

.project-details h3 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 1.4rem;
}

.project-details p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.project-details-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}

.project-details-actions button {
  width: 100%;
  min-height: 48px;
}

.project-details-actions .btn {
  padding: 12px;
  gap: 10px;
}

.project-back {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #ffffff;
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 700;
}

.project-back:hover {
  background: var(--paper);
}

.project-photo {
  overflow: hidden;
  position: relative;
  background: #dbe3e4;
}

.project img {
  width: 100%;
  aspect-ratio: 3 / 3.6;
  object-fit: cover;
  transition: transform 0.5s;
}

.project:hover img {
  transform: scale(1.035);
}

.project .open {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: #ffffff;
  border-radius: 50%;
  font-size: 1.2rem;
}

.project h3 {
  font-size: 1.2rem;
  margin: 20px 0 8px;
}

.project p {
  font-size: 0.85rem;
}

.process-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 100px;
}

.step {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding: 25px 0;
}

.step:last-child {
  border-bottom: 1px solid var(--line);
}

.step h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.step p {
  font-size: 0.9rem;
}

.why-copy p {
  margin-top: 28px;
}

.why-copy .btn {
  margin-top: 32px;
}

.faq {
  background: var(--paper);
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 90px;
}

.faq h2 {
  font-size: clamp(2.2rem, 3.5vw, 3.4rem);
}

details {
  border-top: 1px solid #cdd7da;
  padding: 22px 0;
}

details:last-child {
  border-bottom: 1px solid #cdd7da;
}

summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  font-weight: 600;
  line-height: 1.4;
}

summary::-webkit-details-marker {
  display: none;
}

summary:after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--gold);
}

details[open] summary:after {
  content: "−";
}

details p {
  padding: 18px 35px 0 0;
  font-size: 0.95rem;
}

.contact {
  background: var(--navy);
  color: #ffffff;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 100px;
}

.contact-grid > * {
  min-width: 0;
}

.contact p {
  color: #becad0;
  margin-top: 25px;
}

.contact h2 {
  max-width: 480px;
}

.contact-links {
  margin-top: 42px;
  display: grid;
  gap: 16px;
}

.contact-links a {
  font-size: 1.1rem;
  overflow-wrap: anywhere;
}

.contact-links small {
  display: block;
  color: #c6ced3;
}

.contact-links a:hover {
  color: var(--gold);
}

.contact-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
}

.contact-card h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: #ffffff;
}

.contact-card p {
  color: #d5dce0;
  margin-top: 0;
  margin-bottom: 30px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-card .btn {
  width: 100%;
}

.footer {
  background: #0c1820;
  color: #bbc6cc;
  padding: 36px 0;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer .brand {
  width: 110px;
  height: 54px;
}

.footer .brand img {
  width: 163%;
}

.footer p {
  color: #bbc6cc;
  font-size: 0.8rem;
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 0.75rem;
}

.footer button {
  background: none;
  border: 0;
  color: inherit;
  padding: 0;
}

.mobile-cta {
  display: none;
}

dialog {
  width: min(740px, calc(100% - 32px));
  max-height: 85dvh;
  overflow: auto;
  border: 0;
  border-radius: 6px;
  padding: 44px;
  color: var(--ink);
  box-shadow: 0 20px 100px rgba(0, 0, 0, 0.35);
}

dialog::backdrop {
  background: rgba(7, 20, 29, 0.86);
  backdrop-filter: blur(5px);
}

.dialog-close {
  position: sticky;
  top: 0;
  float: right;
  margin: -24px -24px 8px 16px;
  background: var(--navy);
  border: 0;
  width: 44px;
  height: 44px;
  color: #ffffff;
  border-radius: 50%;
  font-size: 1.5rem;
}

.dialog-body h2 {
  font-size: 2.25rem;
  margin: 20px 0;
}

.dialog-body p {
  margin: 18px 0;
}

.dialog-body ul {
  padding-left: 20px;
  color: var(--muted);
}

.dialog-body li {
  margin: 8px 0;
}

.dialog-body img {
  width: auto;
  max-height: 52vh;
  margin: auto;
}

.dialog-body .btn {
  margin-top: 24px;
}

.reveal {
  animation: appear 0.7s ease both;
}

@keyframes appear {
  from {
    opacity: 0.1;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

#video-toggle, #carousel-toggle {
  display: none !important;
}

@media (min-width: 1600px) {
  .hero-content {
    padding-top: 130px;
    padding-bottom: 100px;
  }
}

@media (min-width: 801px) and (max-width: 1100px) {
  .header .wrap {
    width: calc(100% - 32px);
  }
  .header-inner {
    gap: 16px;
  }
  .header .brand {
    width: 110px;
  }
  .nav {
    gap: 12px;
    font-size: 0.75rem;
  }
  .nav .btn {
    font-size: 0.75rem;
    padding: 10px;
    gap: 10px;
  }
}

@media (max-width: 1100px) {
  .wrap {
    width: calc(100% - 56px);
  }
  .nav {
    gap: 18px;
  }
  .nav .btn {
    padding: 12px;
  }
  .about-grid, .contact-grid, .process-grid, .faq-grid {
    gap: 45px;
  }
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .project img {
    aspect-ratio: 1.1;
  }
}

@media (max-width: 800px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .section {
    padding: 72px 0;
  }
  .header {
    background: var(--gold);
    color: var(--navy);
    border-bottom: 2px solid rgba(16, 31, 41, 0.15);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  }
  .header-inner {
    min-height: 74px;
  }
  .header .brand {
    width: 116px;
    height: 56px;
  }
  .header .brand img {
    width: 163%;
    height: auto;
    filter: brightness(0);
  }
  .menu {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--navy);
    border: 1px solid var(--navy);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.875rem;
    padding: 8px 16px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
  }
  .menu:hover, .menu:focus {
    background: #0a141b;
  }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--gold);
    color: var(--navy);
    padding: 16px 20px 24px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25);
    border-bottom: 3px solid var(--navy);
    flex-direction: column;
    align-items: stretch;
    max-height: calc(100dvh - 74px);
    overflow-y: auto;
    gap: 4px;
  }
  .nav.open, .nav.is-open {
    display: flex;
  }
  .nav a {
    padding: 12px 14px;
    color: var(--navy);
    font-weight: 600;
    font-size: 0.98rem;
    border-bottom: 1px solid rgba(16, 31, 41, 0.12);
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
  }
  .nav a:not(.btn):hover, .nav a:not(.btn):focus {
    background: rgba(16, 31, 41, 0.08);
    color: var(--navy);
  }
  .nav .btn {
    margin-top: 12px;
    background: var(--navy);
    color: var(--gold);
    border: 1px solid var(--navy);
    font-weight: 700;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }
  .nav .btn:hover {
    background: #0a141b;
    color: #ffffff;
  }
  .hero-content {
    padding: 76px 0 56px;
  }
  .hero-image {
    object-position: 63% center;
  }
  .hero:after {
    background: linear-gradient(90deg, rgba(8, 23, 32, 0.95), rgba(8, 23, 32, 0.6));
  }
  h1 {
    font-size: clamp(3.25rem, 9vw, 5rem);
  }
  .hero p {
    font-size: 1rem;
    max-width: 450px;
  }
  .hero-bottom {
    gap: 20px;
    flex-wrap: wrap;
  }
  .hero-bottom .motion-button {
    order: 3;
  }
  .section-head {
    display: block;
  }
  .section-head p {
    margin-top: 24px;
  }
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .card {
    min-height: 420px;
    scroll-margin-top: 92px;
  }
  .card.is-expanded {
    align-self: start;
  }
  .card-content {
    padding: 25px;
  }
  .card-details {
    padding: 25px;
  }
  .about-grid, .contact-grid, .process-grid, .faq-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-media img {
    aspect-ratio: 1.3;
  }
  .about-text {
    order: -1;
  }
  .tech-grid {
    grid-template-columns: 1fr;
  }
  .tech-card {
    min-height: 330px;
    padding: 28px;
  }
  .sectors {
    grid-template-columns: repeat(3, 1fr);
  }
  .faq-grid h2 {
    max-width: 500px;
  }
  .contact-links {
    margin-top: 25px;
  }
  .footer-top {
    align-items: start;
  }
  .footer-top p {
    max-width: 220px;
  }

  .footer {
    padding-bottom: 90px;
  }
  .client-group {
    gap: 32px;
    padding: 0 16px;
  }
  .client-group img {
    width: 115px;
    height: 60px;
  }
}

@media (max-width: 600px) {
  .project.is-expanded {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .hero-content {
    padding-top: 58px;
  }
  h1 {
    font-size: clamp(2.65rem, 13.7vw, 3.35rem);
    letter-spacing: -0.055em;
  }
  .hero .eyebrow {
    font-size: 0.65rem;
    letter-spacing: 0.12em;
  }
  .hero p {
    max-width: 320px;
  }
  .hero .actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero .btn {
    justify-content: space-between;
  }
  .hero-bottom {
    font-size: 0.7rem;
  }
  .hero-bottom span {
    gap: 6px;
  }
  .trust-title {
    font-size: 0.65rem;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .card {
    min-height: 410px;
  }
  .card-top {
    margin-bottom: 90px;
  }
  .card h3 {
    font-size: 1.5rem;
  }
  .sectors {
    grid-template-columns: repeat(2, 1fr);
  }
  .project-grid {
    gap: 24px 14px;
  }
  .project img {
    aspect-ratio: 0.8;
  }
  .project h3 {
    font-size: 1.05rem;
  }
  .project p {
    font-size: 0.75rem;
  }
  .tech-card h3 {
    font-size: 2.15rem;
  }
  .footer-top, .footer-bottom {
    flex-direction: column;
  }
  .footer-top p {
    max-width: none;
  }
  dialog {
    padding: 28px;
  }
  .dialog-close {
    margin: -12px -12px 5px 12px;
  }
  .dialog-body h2 {
    font-size: 1.8rem;
  }
  .image-label {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 14px;
  }
  .image-label strong {
    font-size: 1.2rem;
  }
  .client-group {
    gap: 26px;
    padding: 0 13px;
  }
  .client-group img {
    width: 110px;
    height: 58px;
  }
}

/* --- PÁGINAS DE SERVIÇOS & LANDING PAGES (HIDROSSEMEADURA & DRENAGEM) --- */

.hero-specialized {
  position: relative;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
  text-align: center;
}

.hero-specialized .hero-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 640px;
  padding: 100px 0 80px;
}

.hero-specialized .hero-copy {
  width: 100%;
  max-width: 1120px;
}

.hero-rotating-title {
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.15;
  letter-spacing: -0.04em;
  font-weight: 700;
  min-height: 2.3em;
  margin: 0 auto;
}

.hero-title-fixed {
  display: inline;
}

.hero-word-stack {
  display: inline;
  color: var(--gold);
  white-space: nowrap;
}

.hero-type-cursor {
  display: inline-block;
  margin-left: 0.05em;
  font-weight: 300;
  animation: hero-cursor-blink 1s step-end infinite;
}

@keyframes hero-cursor-blink {
  50% {
    opacity: 0;
  }
}

.hero-specialized .hero-copy p {
  max-width: 740px;
  margin: 24px auto 32px;
  font-size: 1.15rem;
  line-height: 1.6;
  color: #d5dce0;
}

.hero-specialized .btn {
  justify-content: center;
}

.hero-specialized small {
  display: block;
  margin-top: 22px;
  color: #bac8d0;
  font-size: 0.85rem;
}

.hero-specialized .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  pointer-events: none;
}

.hero-specialized .hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(16, 31, 41, 0.82) 0%, rgba(16, 31, 41, 0.95) 100%);
  pointer-events: none;
}

.hero-specialized .wrap {
  position: relative;
  z-index: 2;
}

/* Seção de Introdução Técnica */
.intro {
  display: grid;
  grid-template-columns: 1fr 0.88fr;
  gap: 80px;
  align-items: start;
}

.intro p {
  margin-top: 20px;
  font-size: 1.05rem;
}

.points {
  margin-top: 36px;
  border-top: 1px solid var(--line);
}

.point {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 20px;
  align-items: start;
}

.point svg {
  color: var(--gold);
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.point h3 {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.point p {
  font-size: 0.92rem;
  margin-top: 6px;
}

/* Aplicações e Soluções */
.applications {
  background: var(--paper);
}

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

.app {
  background: var(--white);
  padding: 32px 28px;
  border-radius: 6px;
  border: 1px solid var(--line);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.app:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.app svg {
  color: var(--gold);
  margin-bottom: 24px;
}

.app h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.app p {
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Oreo em Campo / Prova Social */
.proof-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  align-items: center;
}

.proof-photo figure {
  margin: 0;
}

.proof-photo img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.proof-photo figcaption {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 10px;
}

.oreo-extra-photo {
  margin-top: 20px;
}

.proof-text p {
  margin-top: 20px;
  font-size: 1.05rem;
}

.proof-text ul {
  list-style: none;
  padding: 0;
  margin: 24px 0 32px;
}

.proof-text li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
  display: flex;
  gap: 12px;
  align-items: center;
}

.proof-text li:before {
  content: '✓';
  color: var(--gold);
  font-weight: bold;
}

/* Métodos e Tecnologias */
.method-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.method {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 36px;
  display: flex;
  flex-direction: column;
}

.method h3 {
  font-size: 1.5rem;
  margin-bottom: 14px;
}

.method p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.method ul {
  list-style: none;
  padding: 0;
  margin: 24px 0 32px;
  flex-grow: 1;
}

.method li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
  display: flex;
  gap: 12px;
}

.method li:before {
  content: '✓';
  color: var(--gold);
  font-weight: bold;
}

.method-note {
  margin-top: 32px;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

/* Processo em 3 Etapas */
.process {
  background: var(--navy);
  color: var(--white);
}

.process .section-head p {
  color: #bfcbd0;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 50px;
}

.process-item {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding-top: 24px;
}

.process-item svg {
  color: var(--gold);
  margin-bottom: 18px;
}

.process-item h3 {
  margin: 12px 0;
  font-size: 1.25rem;
}

.process-item p {
  color: #bfcbd0;
  font-size: 0.92rem;
  line-height: 1.6;
}

.process-foot {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: #bfcbd0;
  font-size: 0.85rem;
  text-align: center;
}

/* Galeria de Campo */
.field-gallery {
  background: var(--paper);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.field-card {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.field-photo {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--navy);
}

.field-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.field-card:hover .field-photo img {
  transform: scale(1.04);
}

.field-card figcaption {
  padding: 20px 24px;
}

.field-card figcaption h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.field-card figcaption p {
  font-size: 0.9rem;
}

/* Faixa de Orçamento Rápido */
.budget {
  background: var(--gold);
  padding: 54px 0;
  color: var(--navy);
}

.budget .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.budget h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.7rem);
  font-weight: 700;
  color: var(--navy);
}

.budget p {
  color: var(--navy);
  margin-top: 10px;
  font-size: 1.05rem;
  max-width: 650px;
}

.budget .btn {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  flex-shrink: 0;
}

.budget .btn:hover {
  background: #08131a;
  border-color: #08131a;
  color: var(--gold);
}

/* FAQ com Details/Summary */
.faq-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
}

.faq-intro p {
  margin-top: 20px;
  font-size: 1.05rem;
}

.faq-intro .btn {
  margin-top: 32px;
}

details {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}

details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
}

summary::-webkit-details-marker {
  display: none;
}

summary:after {
  content: '+';
  color: var(--gold);
  font-size: 1.6rem;
  font-weight: 400;
  transition: transform 0.2s;
}

details[open] summary:after {
  content: '−';
}

details p {
  margin-top: 16px;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--muted);
}

/* Contato e Orçamento */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: stretch;
}

.contact-info {
  background: var(--navy);
  color: var(--white);
  padding: 44px;
  border-radius: 8px;
}

.contact-info h2 {
  color: var(--white);
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 700;
}

.contact-info p {
  color: #becad0;
  margin: 18px 0 24px;
  font-size: 1.05rem;
}

.contact-line {
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.95rem;
}

.contact-line strong {
  display: block;
  color: var(--gold);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.contact-card {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  align-self: center;
}

.contact-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: var(--navy);
}

.contact-card p {
  color: var(--ink);
  margin-top: 0;
  margin-bottom: 24px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-card ul {
  padding: 0;
  list-style: none;
  margin: 20px 0 28px;
  color: var(--ink);
}

.contact-card li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.93rem;
  display: flex;
  gap: 12px;
  color: var(--ink);
  align-items: center;
}

.contact-card li:before {
  content: '✓';
  color: var(--gold);
  font-weight: bold;
  flex-shrink: 0;
}

.contact-card .btn {
  width: 100%;
}

.contact-card small {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
}

/* Mobile CTA Fixo */
.mobile-cta {
  display: none;
}

@media (max-width: 800px) {
  .mobile-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 25;
    display: flex;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: var(--gold);
    border-top: 2px solid rgba(16, 31, 41, 0.15);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.15);
  }
  .mobile-cta .btn {
    width: 100%;
    min-height: 48px;
    padding: 12px 18px;
    font-size: 0.9rem;
    font-weight: 700;
    background: var(--navy);
    color: #ffffff;
    border: 1px solid var(--navy);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  }
  .mobile-cta .btn:hover {
    background: #0a141b;
  }
  .intro, .proof-grid, .faq-grid, .contact-grid, .method-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .app-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .field-grid {
    grid-template-columns: 1fr;
  }
  .process-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .budget .wrap {
    flex-direction: column;
    text-align: center;
  }
  .budget .btn {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .app-grid {
    grid-template-columns: 1fr;
  }
  .hero-specialized .hero-grid {
    min-height: 0;
    padding: 60px 0 45px;
  }
  .hero-rotating-title {
    font-size: clamp(26px, 7vw, 36px);
  }
}

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