:root {
  --rgs-navy: #0b2748;
  --rgs-blue: #164f89;
  --rgs-green: #72b844;
  --rgs-ink: #172033;
  --rgs-surface: #f5f8fb;
}

html { scroll-behavior: smooth; }

body {
  color: var(--rgs-ink);
  background: var(--rgs-surface);
  -webkit-font-smoothing: antialiased;
}

.top-bar {
  background: var(--rgs-navy) !important;
  box-shadow: none !important;
}

body .menu.menu {
  min-height: 76px !important;
  padding: 8px clamp(18px, 4vw, 56px) !important;
  background: linear-gradient(135deg, #0d4771 0%, #176a99 100%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 30px rgba(7, 38, 66, 0.24) !important;
  z-index: 100;
}

body .menu .logo,
body .menu .logo-container {
  width: 82px !important;
  height: 68px !important;
}

body .menu .logo .logo-img-redonda {
  width: 76px !important;
  height: 64px !important;
  box-shadow: none !important;
}

body .menu > ul > li > a { color: #fff !important; }
body .menu > ul > li > a:hover,
body .menu > ul > li > a:focus-visible {
  color: #d6f2bd !important;
  background: rgba(255, 255, 255, 0.1) !important;
}

.menu .btn-orcamento-logo,
.btn,
.btn-quote,
.btn-orcamento,
.contact-form button[type="submit"],
.form-section button[type="submit"] {
  background: linear-gradient(135deg, #79bd4b, #5f9e35) !important;
  box-shadow: 0 8px 22px rgba(95, 158, 53, 0.26) !important;
}

.menu .btn-orcamento-logo:hover,
.btn:hover,
.btn-quote:hover,
.btn-orcamento:hover,
.contact-form button[type="submit"]:hover,
.form-section button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 11px 28px rgba(95, 158, 53, 0.34) !important;
}

.carousel-section { position: relative; isolation: isolate; }
.carousel-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 25, 48, 0.82) 0%, rgba(5, 25, 48, 0.46) 48%, rgba(5, 25, 48, 0.06) 78%);
  pointer-events: none;
  z-index: 3;
}

.carousel-copy {
  position: absolute;
  z-index: 7;
  left: clamp(24px, 8vw, 110px);
  top: 50%;
  width: min(610px, calc(100% - 48px));
  transform: translateY(-50%);
  color: #fff;
  text-align: left;
}

.carousel-copy .eyebrow {
  margin: 0 0 12px;
  color: #bce394;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.carousel-copy h1 {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(2.1rem, 5vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -.035em;
}

.carousel-copy p {
  max-width: 550px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, .9);
  font-size: clamp(1rem, 1.7vw, 1.25rem);
  line-height: 1.6;
}

.carousel-copy .hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--rgs-green);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .22);
}

.carousel-section .watermark { display: none !important; }

.card,
.servico,
.step,
.step-card,
.contact-form,
.form-section form {
  border: 1px solid rgba(13, 44, 84, .08);
  box-shadow: 0 14px 40px rgba(13, 44, 84, .11) !important;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(114, 184, 68, .55) !important;
  outline-offset: 3px;
}

.form-status {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  font-weight: 700;
}
.form-status.success { color: #185b28; background: #e7f6e9; }
.form-status.error { color: #8b1e2d; background: #fdebed; }

@media (max-width: 992px) {
  .menu .mobile-menu-toggle span { background: #fff !important; }
  body .menu > ul { background: #0d4771 !important; }
  .carousel-copy { left: 24px; }
}

@media (max-width: 680px) {
  .top-bar .top-info { gap: 8px 18px !important; font-size: 12px !important; }
  .carousel-section { min-height: 570px; }
  .carousel-section .carousel-container,
  .carousel-section .carousel-slide,
  .carousel-section .carousel-slide img { min-height: 570px; }
  .carousel-copy { top: 48%; }
  .carousel-copy p { max-width: 34ch; }
  .carousel-section::after { background: rgba(5, 25, 48, .7); }
}

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