:root {
  --navy: #07182f;
  --blue: #1264b8;
  --blue-soft: #1f8be5;
  --ink: #102035;
  --muted: #6b7788;
  --line: rgba(255, 255, 255, 0.18);
  --light: #f3f7fb;
  --white: #ffffff;
  --heat: #f7b955;
  --shadow: 0 24px 70px rgba(7, 24, 47, 0.18);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 10%, rgba(31, 139, 229, 0.13), transparent 28rem),
    linear-gradient(180deg, #f9fbfe 0%, #edf4fa 44%, #ffffff 100%);
  line-height: 1.55;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background-image:
    linear-gradient(rgba(18, 100, 184, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 100, 184, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(84, 165, 255, 0.9);
  outline-offset: 4px;
}

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

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 20;
  display: flex;
  width: min(1120px, calc(100% - 32px));
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  background: rgba(7, 24, 47, 0.68);
  box-shadow: 0 12px 42px rgba(7, 24, 47, 0.22);
  color: var(--white);
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  border-radius: 12px;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.96rem;
  line-height: 1.1;
}

.brand small {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
}

.main-nav {
  display: none;
  align-items: center;
  gap: 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.main-nav a:hover {
  color: var(--white);
}

.header-cta {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  border-radius: 999px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  align-items: center;
  overflow: hidden;
  padding: 124px 20px 54px;
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(90deg, rgba(5, 18, 36, 0.94), rgba(7, 24, 47, 0.76) 43%, rgba(7, 24, 47, 0.24)),
    url("assets/hero-ag-climatizacao.jpg");
  background-position: center;
  background-size: cover;
}

.technical-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(135deg, transparent 0 45%, rgba(255, 255, 255, 0.08) 45% 45.4%, transparent 45.4% 100%),
    radial-gradient(circle at 20% 72%, rgba(247, 185, 85, 0.18), transparent 18rem),
    radial-gradient(circle at 62% 24%, rgba(31, 139, 229, 0.22), transparent 20rem);
}

.hero-content,
.section,
.final-cta {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.hero-content {
  max-width: 760px;
  margin-inline: max(20px, calc((100vw - 1120px) / 2)) auto;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-soft);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  width: 28px;
  height: 2px;
  background: var(--heat);
  content: "";
}

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

h1 {
  max-width: 780px;
  margin-bottom: 20px;
  font-size: clamp(2.45rem, 7vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 1.15rem;
}

.hero-subtitle {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 2.2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 28px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 500;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.primary-button {
  background: linear-gradient(135deg, #1fb56f, #0c8f56);
  box-shadow: 0 18px 40px rgba(12, 143, 86, 0.34);
  color: var(--white);
}

.button-whatsapp-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  object-fit: contain;
}

.primary-button:hover,
.secondary-button:hover,
.header-cta:hover {
  transform: translateY(-2px);
}

.primary-button:hover {
  box-shadow: 0 22px 48px rgba(12, 143, 86, 0.44);
}

.secondary-button {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  backdrop-filter: blur(10px);
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px 26px;
  max-width: 850px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(18, 100, 184, 0.16);
  backdrop-filter: blur(12px);
}

.hero-stats span {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.82);
}

.hero-stats strong {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.25;
}

.hero-stats svg {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  fill: none;
  stroke: #54a5ff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.section {
  padding: 86px 0;
}

.split-layout,
.regions-layout {
  display: grid;
  gap: 34px;
}

.about-copy {
  color: var(--muted);
  font-size: 1.05rem;
}

.about-copy p {
  margin-bottom: 18px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.numbers-band {
  width: 100%;
  margin: 8px 0 0;
  background:
    linear-gradient(135deg, rgba(7, 24, 47, 0.98), rgba(12, 50, 91, 0.95)),
    radial-gradient(circle at 80% 20%, rgba(31, 139, 229, 0.4), transparent 22rem);
  color: var(--white);
}

.numbers-inner {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
  padding: 44px 0 46px;
  text-align: center;
}

.numbers-inner h2 {
  margin-bottom: 26px;
  color: var(--white);
  font-size: clamp(1.55rem, 2.6vw, 2.1rem);
  line-height: 1.1;
}

.numbers-grid {
  display: grid;
  gap: 24px;
}

.number-item {
  display: grid;
  gap: 6px;
  justify-items: center;
  text-align: center;
}

.number-item strong {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
}

.number-item > span {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.card-grid {
  display: grid;
  gap: 16px;
}

.service-card,
.region-cards article {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(18, 100, 184, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 50px rgba(7, 24, 47, 0.07);
  transition: transform 190ms ease, box-shadow 190ms ease, border-color 190ms ease;
}

.service-card {
  padding: 24px;
}

.service-card::after {
  position: absolute;
  inset: auto -30px -50px auto;
  width: 140px;
  height: 140px;
  border-radius: 999px;
  background: rgba(31, 139, 229, 0.1);
  content: "";
}

.service-card:hover,
.region-cards article:hover {
  border-color: rgba(31, 139, 229, 0.34);
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.icon-wrap {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(18, 100, 184, 0.13), rgba(247, 185, 85, 0.18));
  color: var(--blue);
}

.icon-wrap svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.differentials {
  width: 100%;
  padding-inline: max(20px, calc((100vw - 1120px) / 2));
  background:
    linear-gradient(135deg, rgba(7, 24, 47, 0.98), rgba(12, 50, 91, 0.95)),
    radial-gradient(circle at 80% 20%, rgba(31, 139, 229, 0.4), transparent 22rem);
  color: var(--white);
}

.differentials h2 {
  color: var(--white);
}

.feature-strip {
  display: grid;
  gap: 12px;
}

.feature-strip div {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.feature-strip strong,
.feature-strip span {
  display: block;
}

.feature-strip span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.7);
}

.gallery-carousel {
  position: relative;
  left: 50%;
  width: min(calc(100vw - 80px), 1520px);
  margin-inline: 0;
  overflow: hidden;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
  transform: translateX(-50%);
}

.gallery-carousel::before,
.gallery-carousel::after {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: min(8vw, 96px);
  pointer-events: none;
  content: "";
}

.gallery-carousel::before {
  left: 0;
  background: linear-gradient(90deg, #f3f7fb, rgba(243, 247, 251, 0));
}

.gallery-carousel::after {
  right: 0;
  background: linear-gradient(270deg, #f3f7fb, rgba(243, 247, 251, 0));
}

.gallery-carousel.is-dragging {
  cursor: grabbing;
}

.gallery-track {
  display: flex;
  gap: 18px;
  will-change: transform;
}

.gallery-slide {
  flex: 0 0 clamp(240px, 24vw, 340px);
  height: clamp(260px, 34vw, 430px);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(18, 100, 184, 0.12);
  border-radius: 8px;
  background: #dbe8f4;
  box-shadow: var(--shadow);
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.map-panel {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid rgba(18, 100, 184, 0.12);
  border-radius: 8px;
  background: #edf4fa;
  box-shadow: var(--shadow);
}

.map-panel img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: center;
}

.pin {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 9px 12px;
  background: rgba(7, 24, 47, 0.82);
  box-shadow: 0 12px 28px rgba(7, 24, 47, 0.18);
  color: var(--white);
  font-size: 0.84rem;
  font-weight: 800;
  backdrop-filter: blur(10px);
  transform: translate(-50%, -50%);
}

.pin::before {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--heat);
  box-shadow: 0 0 0 6px rgba(247, 185, 85, 0.18);
  content: "";
}

.capital {
  top: 34%;
  left: 70%;
}

.litoral {
  top: 63%;
  left: 73%;
}

.interior {
  top: 32%;
  left: 38%;
}

.vale {
  top: 74%;
  left: 45%;
}

.region-cards {
  display: grid;
  gap: 14px;
}

.region-cards article {
  padding: 22px;
}

.region-cards strong,
.region-cards span {
  display: block;
}

.region-cards span {
  margin-top: 5px;
  color: var(--muted);
}

.final-cta {
  display: grid;
  gap: 24px;
  align-items: center;
  margin-bottom: 86px;
  padding: 36px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(7, 24, 47, 0.96), rgba(18, 100, 184, 0.9)),
    radial-gradient(circle at 100% 0%, rgba(247, 185, 85, 0.22), transparent 18rem);
  box-shadow: var(--shadow);
  color: var(--white);
}

.final-cta h2 {
  color: var(--white);
}

.final-cta p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.75);
}

.primary-button.large {
  min-height: 58px;
  width: 100%;
}

.site-footer {
  border-top: 6px solid #0d2f55;
  background: #071426;
  color: #9ab1cd;
}

.footer-inner {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
  padding: 64px 0 32px;
}

.footer-main {
  display: grid;
  gap: 38px;
}

.footer-brand p {
  max-width: 310px;
  margin: 26px 0;
  color: #e8f2ff;
}

.footer-logo,
.footer-socials,
.footer-column a,
.footer-contact a,
.footer-contact address {
  display: flex;
  align-items: center;
}

.footer-logo {
  gap: 14px;
  color: var(--white);
}

.footer-logo strong {
  color: var(--white);
  font-size: 1.08rem;
}

.footer-logo strong span {
  color: #2e8cff;
}

.footer-logo-mark {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  border-radius: 10px;
  object-fit: contain;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-socials a {
  display: grid;
  justify-content: center;
  align-items: center;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(154, 177, 205, 0.28);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: #d9e9ff;
  transition: background 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.footer-socials a:hover {
  border-color: rgba(46, 140, 255, 0.56);
  background: rgba(46, 140, 255, 0.14);
  transform: translateY(-2px);
}

.footer-socials svg,
.footer-contact svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  fill: currentColor;
}

.footer-socials svg {
  margin: 0;
}

.footer-column h2,
.footer-contact h2 {
  margin: 0 0 24px;
  color: var(--white);
  font-size: 1rem;
  line-height: 1.2;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 13px;
}

.footer-column a {
  gap: 9px;
  color: #9fb8d7;
  transition: color 180ms ease, transform 180ms ease;
}

.footer-column a::before {
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  content: "";
  transform: rotate(45deg);
}

.footer-column a:hover,
.footer-contact a:hover {
  color: #e8f2ff;
  transform: translateX(2px);
}

.footer-contact {
  display: grid;
  align-content: start;
  gap: 16px;
}

.footer-contact a,
.footer-contact address {
  gap: 10px;
  color: #9fb8d7;
  font-style: normal;
}

.footer-contact address {
  align-items: flex-start;
  max-width: 260px;
}

.footer-contact address svg {
  margin-top: 3px;
}

.footer-bottom {
  display: grid;
  gap: 14px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(154, 177, 205, 0.2);
  color: #7890af;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  border-radius: 50%;
  background: #15b86a;
  box-shadow: 0 18px 42px rgba(12, 143, 86, 0.38);
  color: var(--white);
  transition: transform 180ms ease;
}

.floating-whatsapp:hover {
  transform: translateY(-4px) scale(1.03);
}

.floating-whatsapp img {
  width: 31px;
  height: 31px;
  object-fit: contain;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms ease, transform 650ms ease;
}

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

@media (min-width: 640px) {
  .hero-stats,
  .card-grid,
  .feature-strip,
  .region-cards,
  .numbers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-carousel {
    width: 100%;
  }
}

@media (min-width: 900px) {
  .main-nav {
    display: flex;
  }

  .hero {
    padding-inline: 0;
  }

  .hero-stats,
  .card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .numbers-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .split-layout,
  .regions-layout,
  .final-cta {
    grid-template-columns: 1fr 1fr;
  }

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

  .primary-button.large {
    width: auto;
    justify-self: end;
  }

  .footer-main {
    grid-template-columns: 1.4fr 0.7fr 0.9fr 1fr;
    align-items: start;
  }

  .footer-bottom {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

@media (max-width: 520px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    border-radius: 16px;
  }

  .brand small,
  .header-cta {
    display: none;
  }

  .brand strong {
    font-size: 0.86rem;
  }

  .hero-content,
  .section,
  .final-cta,
  .footer-inner,
  .numbers-inner {
    width: min(100% - 28px, 1120px);
  }

  .hero {
    padding-top: 112px;
  }

  .hero-media {
    background-image:
      linear-gradient(180deg, rgba(5, 18, 36, 0.96), rgba(7, 24, 47, 0.82) 58%, rgba(7, 24, 47, 0.62)),
      url("assets/hero-ag-climatizacao.jpg");
    background-position: 64% center;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
    padding-inline: 16px;
    text-align: center;
  }

  .final-cta {
    padding: 28px 20px;
  }
}

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