:root {
  --navy: #062a66;
  --navy-2: #073b86;
  --blue: #0787d8;
  --cyan: #31c4f3;
  --aqua: #dcf8ff;
  --white: #ffffff;
  --ink: #102238;
  --muted: #66778c;
  --line: #dceaf3;
  --soft: #f4fbff;
  --shadow: 0 22px 60px rgba(7, 59, 134, 0.14);
  --shadow-soft: 0 12px 34px rgba(12, 74, 145, 0.12);
  --radius: 24px;
  --container: min(1140px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

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

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

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

.container {
  width: var(--container);
  margin-inline: auto;
}

.section-pad {
  padding: 104px 0;
  position: relative;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: 82px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px max(20px, calc((100vw - 1140px) / 2));
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(220, 234, 243, 0.8);
  backdrop-filter: blur(18px);
  transition: box-shadow 0.25s ease, height 0.25s ease;
}

.site-header.is-scrolled {
  height: 72px;
  box-shadow: 0 12px 34px rgba(6, 42, 102, 0.1);
}

.brand {
  display: grid;
  place-items: center;
  width: 170px;
  min-width: 170px;
}

.brand img {
  width: 100%;
  max-height: 54px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
  font-size: 0.92rem;
  font-weight: 700;
  color: #274966;
}

.main-nav a {
  position: relative;
  padding: 8px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--blue);
  transition: width 0.25s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  width: 100%;
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 13px 22px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.header-cta {
  background: linear-gradient(135deg, var(--blue), var(--navy-2));
  color: var(--white);
  box-shadow: 0 14px 30px rgba(7, 135, 216, 0.24);
  white-space: nowrap;
}

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: var(--soft);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--navy);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero {
  min-height: 780px;
  padding-top: 158px;
  padding-bottom: 150px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5, 41, 98, 0.96) 0%, rgba(5, 41, 98, 0.88) 38%, rgba(5, 41, 98, 0.42) 66%, rgba(5, 41, 98, 0.18) 100%),
    radial-gradient(circle at 12% 22%, rgba(49, 196, 243, 0.36), transparent 28%),
    url("../img/hero-caminhao-pipa.png") center right / cover no-repeat,
    linear-gradient(135deg, #052962 0%, #0759a9 46%, #0db7e9 100%);
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 41, 98, 0.18) 0%, rgba(5, 41, 98, 0.04) 46%, rgba(5, 41, 98, 0.22) 100%),
    radial-gradient(circle at 88% 24%, rgba(49, 196, 243, 0.28), transparent 32%);
  opacity: 1;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  right: -180px;
  bottom: 34px;
  width: 720px;
  height: 270px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(-9deg);
  pointer-events: none;
}

.hero-grid,
.split,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 56px;
  align-items: center;
}

.hero-grid {
  position: relative;
  z-index: 2;
  grid-template-columns: minmax(0, 0.62fr) minmax(320px, 0.38fr);
}

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

.hero h1 {
  margin: 16px 0 22px;
  max-width: 760px;
  font-size: clamp(2.7rem, 6vw, 5.6rem);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: 0;
}

.hero p {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.12rem;
}

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

.hero .eyebrow {
  color: #c9f7ff;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: var(--white);
  box-shadow: 0 16px 34px rgba(49, 196, 243, 0.28);
}

.btn-secondary {
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow-soft);
}

.btn-light {
  background: var(--white);
  color: var(--navy);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.water-glow {
  position: absolute;
  border-radius: 999px 999px 42% 58%;
  pointer-events: none;
  opacity: 0.36;
  animation: floatWater 8s ease-in-out infinite;
}

.water-glow-one {
  right: -120px;
  top: 130px;
  width: 360px;
  height: 360px;
  background: rgba(255, 255, 255, 0.22);
}

.water-glow-two {
  left: 5%;
  bottom: 130px;
  width: 180px;
  height: 180px;
  background: rgba(49, 196, 243, 0.42);
  animation-delay: -2s;
}

.quick-cards {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 48px;
}

.quick-cards article {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 88px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
  color: var(--white);
  font-weight: 800;
}

.quick-cards i {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #d5fbff;
}

.wave {
  position: absolute;
  left: 0;
  width: 100%;
  line-height: 0;
  pointer-events: none;
}

.wave svg {
  width: 100%;
  height: 120px;
}

.wave-bottom {
  bottom: -1px;
}

.wave-bottom path {
  fill: var(--white);
}

.wave-top {
  top: -1px;
}

.differentials .wave-top path {
  fill: #f4fbff;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading h2,
.section-copy h2,
.contact-card h2 {
  margin: 12px 0 16px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.04;
  color: var(--navy);
  font-weight: 900;
  letter-spacing: 0;
}

.section-heading p,
.section-copy p,
.contact-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.visual-panel {
  position: relative;
  min-height: 430px;
  padding: 42px;
  border-radius: 32px;
  overflow: hidden;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.88), rgba(220, 248, 255, 0.72)),
    url("../img/hero-caminhao-pipa.png") center bottom / 92% auto no-repeat;
  box-shadow: var(--shadow);
}

.visual-panel::before {
  content: "";
  position: absolute;
  inset: auto -80px -120px auto;
  width: 260px;
  height: 260px;
  border-radius: 42% 58% 54% 46%;
  background: linear-gradient(135deg, rgba(49, 196, 243, 0.28), rgba(7, 59, 134, 0.24));
}

.visual-panel h2 {
  max-width: 340px;
  margin: 18px 0 10px;
  color: var(--navy);
  font-size: 2.1rem;
  line-height: 1.08;
}

.visual-panel p {
  max-width: 320px;
  margin: 0;
  color: #52697f;
}

.drop-mark {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border-radius: 26px 26px 26px 8px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: var(--white);
  font-size: 1.55rem;
  box-shadow: 0 18px 36px rgba(7, 135, 216, 0.22);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 34px;
}

.stat-grid div {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 10px 26px rgba(6, 42, 102, 0.06);
}

.stat-grid strong {
  display: block;
  color: var(--blue);
  font-size: 2rem;
  line-height: 1;
}

.stat-grid span {
  color: var(--muted);
  font-weight: 700;
}

.services {
  background:
    radial-gradient(circle at 85% 12%, rgba(49, 196, 243, 0.12), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f4fbff 100%);
}

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

.service-card {
  min-height: 268px;
  padding: 28px;
  border: 1px solid rgba(220, 234, 243, 0.92);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 32px rgba(7, 59, 134, 0.07);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(49, 196, 243, 0.55);
  box-shadow: var(--shadow);
}

.service-card i {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 20px;
  background: var(--aqua);
  color: var(--blue);
  font-size: 1.35rem;
}

.service-card h3,
.process-step h3 {
  margin: 18px 0 10px;
  color: var(--navy);
  font-size: 1.14rem;
  line-height: 1.22;
}

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

.differentials {
  overflow: hidden;
  background:
    linear-gradient(180deg, #eafbff 0%, #f7fcff 100%);
  padding-top: 150px;
}

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

.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 104px;
  padding: 22px;
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  font-weight: 800;
  color: #274966;
}

.feature-item i {
  color: var(--blue);
  font-size: 1.32rem;
}

.regions {
  background: var(--white);
}

.region-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.region-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid rgba(7, 135, 216, 0.18);
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff, #f4fbff);
  color: #31536c;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(7, 59, 134, 0.06);
}

.process {
  background: linear-gradient(180deg, #f9fdff, #ffffff);
}

.process-line {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  position: relative;
}

.process-step {
  min-height: 190px;
  padding: 26px;
  border-radius: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.process-step strong {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--navy-2), var(--blue));
  color: var(--white);
}

.mid-cta {
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.26), transparent 24%),
    linear-gradient(135deg, var(--navy), var(--blue));
  color: var(--white);
}

.mid-cta::before,
.mid-cta::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 150px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transform: rotate(-8deg);
}

.mid-cta::before {
  right: -120px;
  top: 38px;
}

.mid-cta::after {
  left: -150px;
  bottom: 32px;
}

.mid-cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.mid-cta h2 {
  max-width: 820px;
  margin: 0 auto 12px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
}

.mid-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.1rem;
}

.mid-cta .hero-actions {
  justify-content: center;
}

.faq-layout {
  grid-template-columns: 0.72fr 1fr;
  align-items: start;
}

.accordion {
  display: grid;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(6, 42, 102, 0.06);
}

.faq-item button {
  width: 100%;
  min-height: 68px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  border: 0;
  background: transparent;
  color: var(--navy);
  text-align: left;
  font-weight: 850;
  cursor: pointer;
}

.faq-item i {
  transition: transform 0.22s ease;
}

.faq-item div {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.24s ease;
}

.faq-item p {
  overflow: hidden;
  margin: 0;
  padding: 0 22px;
  color: var(--muted);
}

.faq-item.is-open div {
  grid-template-rows: 1fr;
}

.faq-item.is-open p {
  padding-bottom: 22px;
}

.faq-item.is-open i {
  transform: rotate(180deg);
}

.contact {
  background:
    radial-gradient(circle at 12% 20%, rgba(49, 196, 243, 0.12), transparent 24%),
    linear-gradient(180deg, #ffffff, #f4fbff);
}

.contact-grid {
  grid-template-columns: 0.82fr 1fr;
  align-items: start;
}

.contact-card,
.lead-form {
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-card {
  padding: 38px;
  position: sticky;
  top: 100px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding: 30px;
}

.form-row {
  display: grid;
  gap: 8px;
}

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

label {
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fbfdff;
  color: var(--ink);
  padding: 14px 15px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(7, 135, 216, 0.12);
}

textarea {
  resize: vertical;
}

.form-feedback {
  grid-column: 1 / -1;
  min-height: 24px;
  margin: 0;
  color: var(--blue);
  font-weight: 800;
}

.form-feedback.is-error {
  color: #b83232;
}

.site-footer {
  background: #031d48;
  color: rgba(255, 255, 255, 0.78);
  padding-top: 62px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 38px;
}

.footer-grid img {
  width: 190px;
  border-radius: 12px;
  margin-bottom: 18px;
}

.footer-grid h3 {
  margin: 0 0 16px;
  color: var(--white);
  font-size: 1rem;
}

.footer-grid p,
.footer-grid a {
  display: block;
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.72);
}

.footer-grid a:hover {
  color: var(--white);
}

.footer-bottom {
  margin-top: 44px;
  padding: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  font-size: 0.92rem;
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 999;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #22c55e;
  color: var(--white);
  font-size: 2rem;
  box-shadow: 0 18px 36px rgba(34, 197, 94, 0.34);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-whatsapp:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 22px 44px rgba(34, 197, 94, 0.42);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@keyframes floatWater {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(0, -18px, 0) rotate(7deg);
  }
}

@media (max-width: 1080px) {
  .main-nav {
    gap: 14px;
  }

  .header-cta {
    display: none;
  }

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

  .quick-cards,
  .feature-grid,
  .process-line {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  :root {
    --container: min(100% - 28px, 680px);
  }

  .site-header {
    height: 74px;
    padding-inline: 14px;
  }

  .brand {
    width: 140px;
    min-width: 140px;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .main-nav {
    position: fixed;
    top: 74px;
    left: 14px;
    right: 14px;
    display: grid;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: var(--shadow);
    transform: translateY(-18px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .main-nav a {
    padding: 14px 12px;
    border-radius: 14px;
  }

  .main-nav a:hover {
    background: var(--soft);
  }

  .site-header.is-open .main-nav {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

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

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

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

  .hero {
    min-height: auto;
    padding-top: 118px;
    background:
      linear-gradient(180deg, rgba(5, 41, 98, 0.94) 0%, rgba(5, 41, 98, 0.88) 46%, rgba(5, 41, 98, 0.72) 100%),
      radial-gradient(circle at 12% 22%, rgba(49, 196, 243, 0.28), transparent 28%),
      url("../img/hero-caminhao-pipa.png") center top / cover no-repeat,
      linear-gradient(135deg, #052962 0%, #0759a9 46%, #0db7e9 100%);
  }

  .hero::before {
    inset: 0;
    width: auto;
    height: auto;
    background:
      linear-gradient(180deg, rgba(5, 41, 98, 0.18) 0%, rgba(5, 41, 98, 0.1) 100%),
      radial-gradient(circle at 84% 20%, rgba(49, 196, 243, 0.24), transparent 34%);
    opacity: 1;
  }

  .hero-grid,
  .split,
  .faq-layout,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 13vw, 4rem);
  }

  .section-pad {
    padding: 76px 0;
  }

  .visual-panel {
    min-height: 370px;
  }

  .contact-card {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .quick-cards,
  .service-grid,
  .feature-grid,
  .process-line,
  .stat-grid,
  .lead-form,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .lead-form {
    padding: 22px;
  }

  .hero-actions,
  .contact-actions {
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .quick-cards article,
  .feature-item {
    min-height: 76px;
  }

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

  .section-heading h2,
  .section-copy h2,
  .contact-card h2 {
    font-size: clamp(2rem, 10vw, 2.7rem);
  }

  .contact-card {
    padding: 28px;
  }

  .floating-whatsapp {
    right: 16px;
    bottom: 16px;
    width: 56px;
    height: 56px;
  }
}
