/* =========================================================
   PRIMER SOLUÇÕES — VedaPrimer Landing Page
   Sistema visual:
   --petroleo    : azul petróleo institucional (header/footer/faixas)
   --petroleo-2  : variação mais escura para gradientes/fundo final
   --laranja     : cor de ação principal (CTAs)
   --verde       : verde/turquesa de confiança (selo, detalhes, CTA secundário)
   --azul-selo   : azul do gradiente do escudo/logo
   --cinza-claro : fundo alternado das seções
   ========================================================= */

:root {
  --petroleo: #123244;
  --petroleo-2: #0b232f;
  --laranja: #f2790c;
  --laranja-escuro: #d9640a;
  --verde: #17b37e;
  --azul-selo: #1ba0c9;
  --cinza-claro: #f4f7f8;
  --cinza-borda: #e3e9ec;
  --texto: #1c2b33;
  --texto-suave: #55686f;
  --branco: #ffffff;

  --fonte-display: 'Poppins', sans-serif;
  --fonte-corpo: 'Inter', sans-serif;

  --raio: 14px;
  --sombra: 0 10px 30px rgba(18, 50, 68, 0.08);
  --sombra-forte: 0 18px 40px rgba(18, 50, 68, 0.16);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--fonte-corpo);
  color: var(--texto);
  background: var(--branco);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--fonte-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--petroleo);
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--fonte-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--verde);
  margin-bottom: 10px;
}

.eyebrow-light { color: #6fe3c2; }

.section { padding: 88px 0; }
.section-white { background: var(--branco); }
.section-gray { background: var(--cinza-claro); }
.section-dark {
  background: linear-gradient(160deg, var(--petroleo) 0%, var(--petroleo-2) 100%);
}
.text-white { color: var(--branco); }

.section h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.35rem);
  margin-bottom: 18px;
  max-width: 720px;
}

.section-note {
  max-width: 680px;
  color: var(--texto-suave);
  margin-top: 28px;
  font-size: 1.02rem;
}

.center-cta { margin-top: 40px; }

/* ---------------- BUTTONS ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  font-family: var(--fonte-display);
  font-weight: 600;
  font-size: 0.98rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-orange {
  background: var(--laranja);
  color: var(--branco);
  box-shadow: 0 10px 24px rgba(242, 121, 12, 0.35);
}
.btn-orange:hover { background: var(--laranja-escuro); }

.btn-green {
  background: var(--verde);
  color: var(--branco);
  box-shadow: 0 10px 24px rgba(23, 179, 126, 0.3);
}

.btn-teal {
  background: transparent;
  color: var(--petroleo);
  border: 2px solid var(--petroleo);
}
.btn-teal:hover { background: var(--petroleo); color: var(--branco); }

.btn-outline-white {
  background: transparent;
  color: var(--branco);
  border: 2px solid rgba(255,255,255,0.55);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.12); border-color: var(--branco); }

.btn-large { padding: 19px 42px; font-size: 1.08rem; }

/* ---------------- HEADER ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--branco);
  border-bottom: 1px solid var(--cinza-borda);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 72px;
}

.brand-logo { height: 30px; width: auto; flex-shrink: 0; }

.main-nav {
  display: flex;
  gap: 18px;
  margin-left: 8px;
  flex: 1;
  min-width: 0;
}

.main-nav a {
  font-family: var(--fonte-display);
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--texto);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
  flex-shrink: 0;
}
.main-nav a:hover { color: var(--petroleo); }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 2px; width: 0;
  background: var(--laranja);
  transition: width 0.2s ease;
}
.main-nav a:hover::after { width: 100%; }

.header-cta {
  flex-shrink: 0;
  padding: 11px 20px;
  font-size: 0.86rem;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--petroleo);
  border-radius: 2px;
}

/* ---------------- HERO ---------------- */
.hero {
  position: relative;
  background: linear-gradient(150deg, var(--petroleo) 0%, var(--petroleo-2) 65%, #082029 100%);
  overflow: hidden;
  padding: 90px 0 70px;
}

.rain { position: absolute; inset: 0; overflow: hidden; pointer-events: none; opacity: 0.5; }

.rain-drops {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(115deg, transparent 0 38px, rgba(255,255,255,0.16) 38px 39px, transparent 39px 90px);
  animation: fall 1.4s linear infinite;
}
@keyframes fall {
  from { background-position: 0 -60px; }
  to   { background-position: 0 60px; }
}

.shield-line {
  position: absolute;
  left: 0; right: 0;
  bottom: 38%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(23,179,126,0.55), rgba(27,160,201,0.55), transparent);
  box-shadow: 0 0 24px rgba(23,179,126,0.4);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: center;
}

.tag-badge {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  color: #d8f3ea;
  font-family: var(--fonte-display);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero-text h1 {
  color: var(--branco);
  font-size: clamp(2rem, 4vw, 3.1rem);
  margin-bottom: 20px;
}

.hero-sub {
  color: #c8d8dd;
  font-size: 1.08rem;
  max-width: 540px;
  margin-bottom: 32px;
}

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

.hero-media { position: relative; display: flex; justify-content: center; }

.hero-bucket {
  max-width: 380px;
  filter: drop-shadow(0 30px 40px rgba(0,0,0,0.35));
  animation: floatY 5s ease-in-out infinite;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-icons {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-icon {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--branco);
  font-family: var(--fonte-display);
  font-size: 0.72rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 10px 12px;
  border-radius: 12px;
  backdrop-filter: blur(4px);
}
.hero-icon svg { width: 22px; height: 22px; fill: #6fe3c2; }
.hero-icon:nth-child(1) { top: 6%; left: 0%; }
.hero-icon:nth-child(2) { top: 62%; left: -4%; }
.hero-icon:nth-child(3) { top: 10%; right: 0%; }
.hero-icon:nth-child(4) { top: 66%; right: -2%; }

/* ---------------- PAIN CARDS ---------------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.pain-card {
  background: var(--branco);
  border-radius: var(--raio);
  padding: 26px 20px;
  box-shadow: var(--sombra);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pain-card:hover { transform: translateY(-4px); box-shadow: var(--sombra-forte); }

.pain-card svg {
  width: 30px; height: 30px;
  fill: var(--laranja);
  stroke: var(--laranja);
}

.pain-card p {
  font-family: var(--fonte-display);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--petroleo);
}

/* ---------------- PRODUCT SECTION ---------------- */
.product-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: center;
}

.product-media { position: relative; }
.product-media img:first-child { max-width: 340px; margin: 0 auto; }
.product-selo {
  position: absolute;
  bottom: -10px;
  right: 6%;
  width: 92px;
  filter: drop-shadow(0 8px 14px rgba(0,0,0,0.18));
}

.product-subtitle {
  font-family: var(--fonte-display);
  font-weight: 600;
  color: var(--verde);
  margin-bottom: 14px;
  font-size: 1.05rem;
}

.product-text p { color: var(--texto-suave); margin-bottom: 22px; }

.benefits-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
  margin-bottom: 30px;
}
.benefits-list li {
  position: relative;
  padding-left: 26px;
  font-weight: 500;
  color: var(--texto);
  font-size: 0.96rem;
}
.benefits-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--verde);
}
.benefits-list li::after {
  content: "";
  position: absolute;
  left: 5px; top: 7px;
  width: 6px; height: 3px;
  border-left: 2px solid var(--branco);
  border-bottom: 2px solid var(--branco);
  transform: rotate(-45deg);
}

/* ---------------- APLICAÇÕES ---------------- */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 36px;
}
.app-card {
  background: var(--branco);
  border: 1px solid var(--cinza-borda);
  border-radius: var(--raio);
  padding: 22px 16px;
  text-align: center;
  font-family: var(--fonte-display);
  font-weight: 600;
  color: var(--petroleo);
  font-size: 0.94rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.app-card:hover { border-color: var(--verde); transform: translateY(-3px); }

/* ---------------- COMO FUNCIONA ---------------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.step-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--raio);
  padding: 30px 22px;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--verde), var(--azul-selo));
  color: var(--branco);
  font-family: var(--fonte-display);
  font-weight: 700;
  margin-bottom: 16px;
}
.step-card h3 { color: var(--branco); font-size: 1.08rem; margin-bottom: 10px; }
.step-card p { color: #b9cbd1; font-size: 0.94rem; }

/* ---------------- LOCALIZAÇÃO ---------------- */
.local-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.local-text p { color: var(--texto-suave); margin-bottom: 24px; max-width: 520px; }

.check-list { margin-bottom: 26px; }
.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  font-weight: 500;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  color: var(--branco);
  background: var(--verde);
  width: 18px; height: 18px;
  border-radius: 50%;
  font-size: 0.7rem;
  display: flex; align-items: center; justify-content: center;
}

.address-box {
  background: var(--cinza-claro);
  border-left: 4px solid var(--laranja);
  padding: 16px 20px;
  border-radius: 8px;
  margin-bottom: 26px;
  font-size: 0.96rem;
}

.local-media img {
  border-radius: var(--raio);
  box-shadow: var(--sombra-forte);
}

/* ---------------- COMPARAÇÃO ---------------- */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 36px;
}
.compare-card {
  border-radius: var(--raio);
  padding: 34px 30px;
}
.compare-card h3 { margin-bottom: 20px; font-size: 1.2rem; }
.compare-card li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-weight: 500;
}
.compare-bad {
  background: var(--branco);
  border: 1px solid var(--cinza-borda);
}
.compare-bad h3 { color: #b3411f; }
.compare-bad li::before { content: "✕  "; color: #c94b28; font-weight: 700; }

.compare-good {
  background: var(--petroleo);
  color: var(--branco);
}
.compare-good h3 { color: #6fe3c2; }
.compare-good li { border-bottom: 1px solid rgba(255,255,255,0.12); }
.compare-good li::before { content: "✓  "; color: var(--verde); font-weight: 700; }

/* ---------------- FAQ ---------------- */
.faq-list { margin-top: 32px; max-width: 780px; }
.faq-item {
  border-bottom: 1px solid var(--cinza-borda);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 22px 4px;
  font-family: var(--fonte-display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--petroleo);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.faq-question span {
  font-size: 1.4rem;
  color: var(--laranja);
  transition: transform 0.25s ease;
  flex-shrink: 0;
  margin-left: 14px;
}
.faq-item.active .faq-question span { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer p {
  color: var(--texto-suave);
  padding: 0 4px 22px;
  max-width: 680px;
}

/* ---------------- CTA FINAL ---------------- */
.section-final {
  background: linear-gradient(150deg, var(--petroleo) 0%, var(--petroleo-2) 100%);
  padding: 100px 0;
  text-align: center;
}
.final-inner h2 { color: var(--branco); margin: 0 auto 18px; max-width: 700px; }
.final-inner > p { color: #c8d8dd; max-width: 560px; margin: 0 auto 36px; font-size: 1.05rem; }
.final-info {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  color: #9fb7bd;
  font-size: 0.92rem;
}

/* ---------------- FOOTER ---------------- */
.site-footer { background: var(--petroleo-2); color: #b9cbd1; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr;
  gap: 40px;
  padding: 64px 0 40px;
}
.footer-logo { height: 30px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; max-width: 320px; }
.footer-col h4 {
  color: var(--branco);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
  margin-top: 20px;
}
.footer-col h4:first-child { margin-top: 0; }
.footer-col a, .footer-col p { display: block; font-size: 0.92rem; margin-bottom: 10px; }
.footer-col a:hover { color: var(--branco); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 22px 0;
  text-align: center;
  font-size: 0.82rem;
}

/* ---------------- WHATSAPP FLOAT ---------------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px; height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45);
  z-index: 200;
  animation: pulse 2.4s ease-in-out infinite;
}
.whatsapp-float svg { width: 30px; height: 30px; fill: var(--branco); }
@keyframes pulse {
  0%, 100% { box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45); }
  50% { box-shadow: 0 10px 30px rgba(37, 211, 102, 0.75), 0 0 0 8px rgba(37,211,102,0.12); }
}

/* ---------------- SCROLL REVEAL ---------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bucket, .whatsapp-float, .rain-drops { animation: none; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .hero-inner, .product-layout, .local-layout { grid-template-columns: 1fr; }
  .hero-media { order: -1; margin-bottom: 20px; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .apps-grid { grid-template-columns: repeat(3, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 1080px) {
  .main-nav {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--branco);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-bottom: 1px solid var(--cinza-borda);
  }
  .main-nav.open { max-height: 420px; }
  .main-nav a { padding: 16px 24px; border-bottom: 1px solid var(--cinza-borda); white-space: normal; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 760px) {
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .apps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; }
  .compare-grid { grid-template-columns: 1fr; }
  .benefits-list { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .hero { padding: 64px 0 50px; }
  .hero-icon { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
}


/* =========================================================
   HERO BACKGROUND CUSTOM
   ========================================================= */
.hero {
  position: relative;
  min-height: 760px;
  padding: 110px 0 88px;
  display: flex;
  align-items: center;
  background: #081b25;
  overflow: hidden;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  animation: heroDrift 16s ease-in-out infinite alternate;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 17, 25, 0.92) 0%, rgba(4, 20, 29, 0.82) 28%, rgba(5, 25, 36, 0.42) 56%, rgba(5, 25, 36, 0.24) 100%),
    linear-gradient(180deg, rgba(5, 22, 31, 0.2) 0%, rgba(5, 22, 31, 0.06) 100%);
  z-index: 1;
}

.hero-rain {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.32;
  background-image:
    repeating-linear-gradient(115deg,
      transparent 0 26px,
      rgba(255,255,255,0.18) 26px 28px,
      transparent 28px 54px);
  background-size: 240px 180px;
  animation: heroRain 0.95s linear infinite;
  mix-blend-mode: screen;
}

.rain-left {
  clip-path: polygon(0 0, 63% 0, 56% 100%, 0 100%);
}

.rain-top {
  clip-path: polygon(63% 0, 100% 0, 100% 25%, 92% 22%, 88% 14%, 76% 9%, 66% 14%, 63% 20%);
  opacity: 0.26;
}

.rain-right {
  clip-path: polygon(91% 12%, 100% 10%, 100% 100%, 84% 100%, 84% 70%, 88% 42%);
  opacity: 0.26;
}

.rain-bottom {
  clip-path: polygon(0 88%, 58% 86%, 57% 100%, 0 100%);
  opacity: 0.18;
}

.hero-shield-window {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  clip-path: polygon(62% 14%, 76.5% 8%, 89.2% 13%, 87.2% 26%, 86.3% 45%, 84.5% 63%, 76.5% 80%, 63.6% 70%, 59.6% 44%, 60.6% 23%);
}

.hero-bg-copy {
  animation: heroDrift 16s ease-in-out infinite alternate;
}

.hero-glow-line {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 72px;
  height: 2px;
  z-index: 4;
  background: linear-gradient(90deg, rgba(44, 196, 255, 0.04), rgba(44, 196, 255, 0.85), rgba(44, 196, 255, 0.04));
  box-shadow: 0 0 20px rgba(44, 196, 255, 0.45);
  opacity: 0.7;
}

.hero-inner {
  position: relative;
  z-index: 5;
  display: block;
}

.hero-text {
  max-width: 620px;
}

.hero-sub {
  color: #d7e3e7;
  text-shadow: 0 2px 14px rgba(0,0,0,0.3);
}

.hero-text h1,
.tag-badge,
.hero-actions,
.hero-sub {
  position: relative;
  z-index: 6;
}

.hero-media,
.hero-icons {
  display: none !important;
}

@keyframes heroRain {
  from { background-position: 0 -80px; }
  to { background-position: 0 80px; }
}

@keyframes heroDrift {
  0% { transform: scale(1.02) translate3d(0, 0, 0); }
  100% { transform: scale(1.08) translate3d(-8px, -6px, 0); }
}

@media (max-width: 1024px) {
  .hero {
    min-height: 700px;
    padding: 96px 0 70px;
  }

  .hero-bg-overlay {
    background: linear-gradient(90deg, rgba(3, 17, 25, 0.9) 0%, rgba(4, 20, 29, 0.78) 46%, rgba(5, 25, 36, 0.36) 100%);
  }

  .hero-text {
    max-width: 560px;
  }
}

@media (max-width: 760px) {
  .hero {
    min-height: 680px;
    padding: 88px 0 56px;
  }

  .hero-bg-image {
    object-position: 72% center;
  }

  .hero-bg-overlay {
    background: linear-gradient(90deg, rgba(3, 17, 25, 0.9) 0%, rgba(3, 17, 25, 0.82) 58%, rgba(4, 20, 29, 0.48) 100%);
  }

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

  .hero-glow-line {
    bottom: 46px;
  }

  .hero-shield-window,
  .rain-top,
  .rain-right {
    display: none;
  }

  .rain-left {
    clip-path: polygon(0 0, 100% 0, 86% 100%, 0 100%);
  }

  .rain-bottom {
    clip-path: polygon(0 90%, 100% 86%, 100% 100%, 0 100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg-image,
  .hero-bg-copy,
  .hero-rain {
    animation: none;
  }
}


/* =========================================================
   HERO BACKGROUND UPDATE
   - usa assets/hero-bg.png na primeira dobra
   - remove efeito antigo de chuva/ícones/balde flutuante
   - aplica movimento suave no background
   ========================================================= */
.hero.hero-bg {
  position: relative;
  background: #071d28;
  min-height: 720px;
  display: flex;
  align-items: center;
  padding: 110px 0 92px;
}

.hero.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('assets/hero-bg.png');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  transform: scale(1.045);
  animation: heroPanSoft 20s ease-in-out infinite alternate;
  will-change: transform, background-position;
}

.hero.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 18, 28, 0.88) 0%, rgba(4, 18, 28, 0.76) 28%, rgba(4, 18, 28, 0.32) 54%, rgba(4, 18, 28, 0.10) 100%),
    linear-gradient(180deg, rgba(2, 10, 16, 0.18) 0%, rgba(2, 10, 16, 0.36) 100%);
}

@keyframes heroPanSoft {
  0% { transform: scale(1.045) translate3d(0, 0, 0); }
  50% { transform: scale(1.06) translate3d(-10px, -6px, 0); }
  100% { transform: scale(1.045) translate3d(0, 6px, 0); }
}

.hero.hero-bg .container,
.hero.hero-bg .hero-inner,
.hero.hero-bg .hero-text {
  position: relative;
  z-index: 2;
}

.hero.hero-bg .hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 620px);
  gap: 0;
  align-items: center;
  min-height: 520px;
}

.hero.hero-bg .hero-text {
  max-width: 620px;
}

.hero.hero-bg .hero-sub {
  max-width: 600px;
}

.hero.hero-bg .rain,
.hero.hero-bg .hero-media,
.hero.hero-bg .hero-icons,
.hero.hero-bg .shield-line {
  display: none !important;
}

@media (max-width: 1024px) {
  .hero.hero-bg {
    min-height: 640px;
    padding: 96px 0 78px;
  }

  .hero.hero-bg::before {
    background-position: 64% center;
  }

  .hero.hero-bg::after {
    background:
      linear-gradient(90deg, rgba(4, 18, 28, 0.90) 0%, rgba(4, 18, 28, 0.78) 40%, rgba(4, 18, 28, 0.42) 68%, rgba(4, 18, 28, 0.18) 100%),
      linear-gradient(180deg, rgba(2, 10, 16, 0.18) 0%, rgba(2, 10, 16, 0.40) 100%);
  }
}

@media (max-width: 760px) {
  .hero.hero-bg {
    min-height: 620px;
    padding: 82px 0 54px;
  }

  .hero.hero-bg::before {
    background-position: 70% center;
    transform: scale(1.08);
  }

  .hero.hero-bg::after {
    background:
      linear-gradient(180deg, rgba(4, 18, 28, 0.74) 0%, rgba(4, 18, 28, 0.52) 34%, rgba(4, 18, 28, 0.68) 100%),
      linear-gradient(90deg, rgba(4, 18, 28, 0.78) 0%, rgba(4, 18, 28, 0.34) 100%);
  }

  .hero.hero-bg .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero.hero-bg::before {
    animation: none;
    transform: none;
  }
}
