body {
  color: var(--ink);
  background: var(--surface);
  font-family: var(--font-sans);
  line-height: 1.58;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(2.45rem, 5vw, 4.7rem);
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3.15rem);
}

h3 {
  font-size: 1.12rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(217, 228, 242, 0.86);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo {
  width: 202px;
  flex: 0 0 auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  position: relative;
  padding: 10px 0;
  color: #293b5e;
  font-size: 0.92rem;
  font-weight: 680;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 3px;
  height: 2px;
  background: var(--blue-700);
  transition: right 180ms ease;
}

.nav-link:hover::after,
.nav-link.is-active::after {
  right: 0;
}

.header-cta {
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  border: 0;
  padding: 8px;
  color: var(--blue-900);
  background: transparent;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  padding: 0 20px 20px;
  border-top: 1px solid var(--border);
  background: #fff;
}

.mobile-nav.is-open {
  display: grid;
}

.mobile-nav a {
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  font-weight: 720;
}

.hero {
  position: relative;
  min-height: 590px;
  display: grid;
  align-items: center;
  color: #fff;
  background: var(--blue-950);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 27, 78, 0.98) 0%, rgba(4, 44, 111, 0.93) 42%, rgba(4, 44, 111, 0.58) 68%, rgba(3, 27, 78, 0.45) 100%);
  z-index: 1;
}

.hero-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: 48px;
  padding-block: 76px;
}

.hero-copy {
  max-width: 680px;
}

.hero-copy .eyebrow {
  color: #9ed7ff;
}

.hero-copy h1 strong {
  color: #8bc9ff;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 645px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.87);
  font-size: clamp(1rem, 1.6vw, 1.23rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: 54px;
}

.about-image {
  width: 100%;
  min-height: 350px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.about-copy h2 {
  margin-bottom: 20px;
  color: var(--blue-900);
}

.about-copy p + p {
  margin-top: 14px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 42px;
}

.stat-card {
  min-height: 105px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--blue-50);
}

.stat-card img {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  padding: 10px;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.stat-card strong,
.stat-card span {
  display: block;
}

.stat-card strong {
  font-size: 0.98rem;
}

.stat-card span {
  color: var(--muted);
  font-size: 0.83rem;
}

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

.service-card {
  position: relative;
  min-height: 260px;
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #fff;
  text-align: center;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--blue-700);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.service-card:hover {
  transform: translateY(-7px);
  border-color: rgba(7, 87, 201, 0.4);
  box-shadow: var(--shadow-md);
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-icon {
  display: grid;
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  place-items: center;
  border-radius: 22px;
  background: var(--blue-100);
}

.service-icon img {
  width: 40px;
  height: 40px;
}

.service-card h3 {
  margin-bottom: 12px;
  color: var(--blue-950);
}

.service-card p {
  color: var(--muted);
  font-size: 0.94rem;
}

.differentials-box {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, #f8fbff, #edf5ff);
  overflow: hidden;
}

.differentials-intro,
.differential {
  padding: 34px 30px;
}

.differentials-intro h2 {
  font-size: clamp(1.65rem, 2.5vw, 2.35rem);
}

.differentials-intro .lead {
  margin-top: 12px;
}

.differential {
  border-left: 1px solid var(--border);
  text-align: center;
}

.differential img {
  width: 39px;
  height: 39px;
  margin: 0 auto 16px;
}

.differential p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.88rem;
}

.logo-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.brands {
  background: var(--surface-soft);
}

.intelbras-partner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(170px, 220px) minmax(0, 1fr);
  align-items: center;
  gap: 36px;
  margin-bottom: 36px;
  padding: 30px 38px;
  border: 1px solid rgba(0, 154, 74, 0.28);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #ffffff 0%, #f0fff6 100%);
  box-shadow: 0 20px 52px rgba(0, 122, 58, 0.14);
  overflow: hidden;
}

.intelbras-partner::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 7px;
  background: #00a94f;
}

.intelbras-partner__badge {
  display: grid;
  place-items: center;
}

.intelbras-partner__badge img {
  width: min(100%, 190px);
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 20px;
  box-shadow: 0 16px 34px rgba(0, 122, 58, 0.2);
}

.intelbras-partner__content {
  max-width: 720px;
}

.intelbras-partner__content .eyebrow {
  color: #008a42;
}

.intelbras-partner__content h3 {
  margin-bottom: 12px;
  color: var(--blue-950);
  font-size: clamp(1.7rem, 3vw, 2.45rem);
}

.intelbras-partner__content > p:not(.eyebrow) {
  max-width: 680px;
  margin-bottom: 22px;
  color: var(--muted);
}

.btn--intelbras {
  color: #fff;
  background: #009a4a;
  box-shadow: 0 12px 30px rgba(0, 154, 74, 0.24);
}

.btn--intelbras:hover {
  background: #007f3d;
}

.btn--intelbras .icon-inline {
  filter: brightness(0) invert(1);
}

.service-gallery {
  background: #fff;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.project-card {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(7, 87, 201, 0.28);
  box-shadow: var(--shadow-md);
}

.project-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.project-card__category {
  display: block;
  margin-bottom: 7px;
  color: var(--blue-700);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-card__header h3 {
  color: var(--blue-950);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
}

.before-after {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.project-photo {
  min-width: 0;
}

.project-photo__image {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #eef4fb;
  overflow: hidden;
}

.project-photo__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 300ms ease;
}

.project-card:hover .project-photo__image img {
  transform: scale(1.015);
}

.before-after .project-photo__image {
  aspect-ratio: 8 / 9;
}

.project-photo--single .project-photo__image,
.project-photo--portrait .project-photo__image {
  aspect-ratio: 4 / 3;
}

.project-photo__label {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  color: #fff;
  background: rgba(3, 27, 78, 0.88);
  backdrop-filter: blur(6px);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.project-photo__label--after {
  background: var(--blue-700);
}

.project-photo--single .project-photo__image {
  aspect-ratio: 16 / 9;
}

.project-card__description {
  color: var(--muted);
  font-size: 0.94rem;
}

@media (max-width: 1020px) {
  .project-gallery {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .project-card {
    padding: 18px;
  }

  .before-after {
    grid-template-columns: 1fr;
  }

  .before-after .project-photo__image,
  .project-photo--single .project-photo__image,
  .project-photo--portrait .project-photo__image {
    aspect-ratio: 4 / 3;
  }
}

#projetos {
  padding-bottom: 52px;
}

#equipamentos {
  margin-top: 52px;
}

.cta-band {
  position: relative;
  padding: 42px 0;
  color: #fff;
  background: radial-gradient(circle at 90% 20%, rgba(70, 178, 255, 0.38), transparent 22%), linear-gradient(90deg, #063b92, #031b4e);
  overflow: hidden;
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: 0 0 0 55%;
  background-image: linear-gradient(45deg, transparent 48%, rgba(255, 255, 255, 0.1) 49% 51%, transparent 52%);
  background-size: 65px 65px;
  opacity: 0.6;
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-inner h2 {
  font-size: clamp(1.65rem, 3vw, 2.55rem);
}

.cta-inner p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 60px;
}

.contact-details h2 {
  margin-bottom: 18px;
  color: var(--blue-900);
}

.contact-details > p:not(.eyebrow) {
  color: var(--muted);
}

.contact-list {
  display: grid;
  gap: 15px;
  margin-top: 30px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #314260;
}

.contact-item img {
  width: 22px;
  height: 22px;
}

.socials {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}

.social-link {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-100);
  transition: transform 180ms ease, background-color 180ms ease;
}

.social-link:hover {
  transform: translateY(-3px);
  background: #d9eaff;
}

.social-link img {
  width: 21px;
  height: 21px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-md);
}

.field {
  display: grid;
  gap: 7px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  color: #324564;
  font-size: 0.82rem;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #cbd8e9;
  border-radius: 11px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfdff;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue-600);
  box-shadow: 0 0 0 4px rgba(11, 109, 240, 0.12);
}

.form-footer {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 4px;
}

.privacy-note {
  max-width: 400px;
  color: var(--muted);
  font-size: 0.78rem;
}

.form-status {
  grid-column: 1 / -1;
  display: none;
  padding: 12px 14px;
  border-radius: 10px;
  color: var(--success);
  background: #eaf8ef;
  font-size: 0.9rem;
  font-weight: 720;
}

.form-status.is-visible {
  display: block;
}

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: var(--blue-950);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 60px;
  padding: 52px 0;
}

.footer-logo {
  width: 210px;
  height: auto;
  object-fit: contain;
}

.footer-brand p {
  max-width: 360px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.68);
}

.footer-col h3 {
  margin-bottom: 16px;
  color: #fff;
}

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

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
}

.footer-bottom-links {
  display: flex;
  gap: 18px;
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--whatsapp);
  box-shadow: 0 14px 32px rgba(31, 191, 96, 0.35);
  transition: transform 180ms ease;
}

.floating-whatsapp:hover {
  transform: scale(1.06);
}

.floating-whatsapp img {
  width: 27px;
  height: 27px;
  filter: brightness(0) invert(1);
}

.privacy-page {
  min-height: calc(100vh - var(--header-height));
  padding: 70px 0 90px;
  background: var(--surface-soft);
}

.privacy-content {
  max-width: 900px;
  padding: 46px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-md);
}

.privacy-content h1 {
  color: var(--blue-900);
  font-size: clamp(2.2rem, 4vw, 3.3rem);
}

.privacy-content h2 {
  margin-top: 34px;
  color: var(--blue-900);
  font-size: 1.45rem;
}

.privacy-content p,
.privacy-content li {
  color: var(--text);
}

.privacy-content p {
  margin-top: 14px;
}

.privacy-content ul {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding-left: 22px;
  list-style: disc;
}

.back-link {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--blue-700);
  font-weight: 750;
}

@media (max-width: 1020px) {
  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

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

  .differentials-intro {
    grid-column: 1 / -1;
  }

  .differential:nth-child(2),
  .differential:nth-child(4) {
    border-left: 0;
  }

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

  .intelbras-partner {
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 28px;
    padding: 28px 30px;
  }
}

@media (max-width: 680px) {
  #projetos {
    padding-bottom: 40px;
  }

  #equipamentos {
    padding-top: 40px;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 64px 0;
  }

  .site-logo {
    width: 176px;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding-block: 58px;
  }

  .hero-actions,
  .cta-inner,
  .form-footer,
  .footer-bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .btn,
  .cta-inner .btn,
  .form-footer .btn {
    width: 100%;
  }

  .btn--light-outline {
    min-width: 0;
    white-space: normal;
  }

  .stats-grid,
  .services-grid,
  .differentials-box,
  .contact-form,
  .footer-main {
    grid-template-columns: 1fr;
  }

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

  .intelbras-partner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px 22px;
    text-align: center;
  }

  .intelbras-partner__badge img {
    width: min(100%, 170px);
  }

  .intelbras-partner__content {
    margin-inline: auto;
  }

  .intelbras-partner__content > p:not(.eyebrow) {
    margin-inline: auto;
  }

  .intelbras-partner .btn {
    width: 100%;
  }

  .differential {
    border-left: 0;
    border-top: 1px solid var(--border);
  }

  .differential:nth-child(2) {
    border-top: 0;
  }

  .field--full,
  .form-footer,
  .form-status {
    grid-column: auto;
  }

  .cta-inner {
    text-align: center;
  }

  .footer-main {
    gap: 32px;
  }

  .footer-bottom-links {
    flex-direction: column;
    gap: 6px;
  }

  .privacy-content {
    padding: 28px 22px;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
  }
}

@media (max-width: 420px) {
  .logo-strip {
    grid-template-columns: 1fr;
  }
}