* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
:root {
  --azul: #20377f;
  --azul-escuro: #172b68;
  --azul-claro: #edf2ff;
  --amarelo: #f5a623;
  --amarelo-escuro: #e28c00;
  --texto: #1a2540;
  --texto-suave: #5a6786;
  --sombra: 0 16px 42px rgba(23, 43, 104, 0.14);
  --radius: 22px;
}
body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--texto);
  background:
    radial-gradient(
      circle at 15% 10%,
      rgba(32, 55, 127, 0.08),
      transparent 20%
    ),
    radial-gradient(
      circle at 90% 30%,
      rgba(245, 166, 35, 0.08),
      transparent 18%
    ),
    linear-gradient(180deg, #fcfdff 0%, #f4f7ff 45%, #edf1f8 100%);
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(1220px, 92%);
  margin: 0 auto;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 16px;
  border: none;
  font-weight: 700;
  cursor: pointer;
  transition: 0.28s ease;
  text-align: center;
}
.btn-primary {
  background: linear-gradient(135deg, var(--amarelo), var(--amarelo-escuro));
  color: #fff;
  font-size: 0.88rem;
  line-height: 1.05;
  min-width: 170px;
}
.btn-primary:hover {
  transform: translateY(-2px);
}
.btn-light {
  background: #fff;
  color: var(--azul-escuro);
  border: 1px solid rgba(32, 55, 127, 0.12);
}
.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 99;
  background: #25d366;
  color: #fff;
  padding: 14px 18px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.18);
}

.hero {
  position: relative;
  padding: 84px 0 56px;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 10% 20%,
      rgba(245, 166, 35, 0.18),
      transparent 16%
    ),
    radial-gradient(
      circle at 88% 18%,
      rgba(255, 255, 255, 0.12),
      transparent 20%
    ),
    linear-gradient(90deg, #20377f 0%, #2f49a4 42%, #b1bcd7 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0)),
    linear-gradient(
      135deg,
      transparent 0%,
      rgba(255, 255, 255, 0.05) 55%,
      transparent 100%
    );
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 24px;
  align-items: start;
  max-width: 1120px;
  margin: 0 auto;
}
.hero-left {
  padding-top: 10px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(245, 166, 35, 0.45);
  color: #ffd27b;
  font-weight: 700;
  margin-bottom: 18px;
}
.hero-brand img {
  height: 88px;
  width: auto;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.18));
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1.02;
  color: #fff;
  letter-spacing: -1px;
  margin-bottom: 18px;
  max-width: 780px;
}
.hero h1 span {
  color: var(--amarelo);
}
.hero p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.08rem;
  max-width: 640px;
  margin-bottom: 24px;
}
.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}
.pill {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  border-radius: 999px;
  padding: 12px 16px;
  font-size: 0.92rem;
  font-weight: 700;
}
.hero-card {
  background: #fff;
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.14);
}
.hero-card h3 {
  color: var(--texto);
  font-size: 1.35rem;
  margin-bottom: 8px;
}
.hero-card p {
  color: var(--texto-suave);
  margin-bottom: 18px;
  font-size: 0.96rem;
}
.form-grid {
  display: grid;
  gap: 14px;
}
.field {
  display: grid;
  gap: 7px;
}
.field label {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--azul-escuro);
}
.field input,
.field select {
  width: 100%;
  border-radius: 14px;
  border: 1px solid #d7e3f0;
  background: #fff;
  padding: 14px 15px;
  font-size: 0.98rem;
  outline: none;
  transition: 0.22s;
}
.field input:focus,
.field select:focus {
  border-color: var(--azul-escuro);
  box-shadow: 0 0 0 4px rgba(32, 55, 127, 0.1);
}
.small {
  font-size: 0.84rem;
  color: var(--texto-suave);
}

section {
  padding: 82px 0;
}
.section-title {
  text-align: center;
  margin-bottom: 42px;
}
.section-title .mini {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--azul-claro);
  color: var(--azul-escuro);
  border: 1px solid rgba(32, 55, 127, 0.08);
  box-shadow: var(--sombra);
  font-weight: 700;
  font-size: 0.86rem;
  margin-bottom: 14px;
}
.section-title h2 {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  color: var(--azul-escuro);
  margin-bottom: 10px;
  letter-spacing: -0.6px;
}
.section-title p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--texto-suave);
}
.cards-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.card,
.unit-card,
.info-item,
.gallery-item,
.about-box {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(32, 55, 127, 0.08);
  box-shadow: var(--sombra);
}
.card {
  border-radius: 22px;
  padding: 28px 22px;
  transition: 0.28s ease;
}
.card:hover {
  transform: translateY(-7px);
}
.icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: linear-gradient(135deg, #fff3da, #ffe7b1);
  color: var(--amarelo-escuro);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card h3 {
  color: var(--azul-escuro);
  margin-bottom: 10px;
  font-size: 1.12rem;
}
.card p {
  color: var(--texto-suave);
  font-size: 0.96rem;
}
.features {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.35),
    rgba(238, 242, 248, 0.75)
  );
}
.info-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 30px;
}
.info-item {
  border-radius: 18px;
  padding: 20px;
  text-align: center;
}
.info-item strong {
  display: block;
  color: var(--azul-escuro);
  font-size: 1.45rem;
  margin-bottom: 6px;
}
.info-item span {
  color: var(--texto-suave);
  font-size: 0.92rem;
  font-weight: 700;
}

.services {
  background: linear-gradient(
    180deg,
    rgba(255, 248, 235, 0.35),
    rgba(245, 248, 252, 0.84)
  );
}

.cta {
  border-radius: 30px;
  padding: 48px 34px;
  background: linear-gradient(135deg, #20377f, #172b68);
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(23, 43, 104, 0.18);
}
.cta::before {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  top: -160px;
  right: -100px;
}
.cta-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 22px;
  flex-wrap: wrap;
}
.cta h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 10px;
}
.cta p {
  max-width: 760px;
  opacity: 0.96;
}
.benefits {
  margin-top: 18px;
  display: grid;
  gap: 10px;
  color: #fff;
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 {
  transition-delay: 0.08s;
}
.delay-2 {
  transition-delay: 0.16s;
}
.delay-3 {
  transition-delay: 0.24s;
}

@media (max-width: 1100px) {
  .hero-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }
  .cards-4,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .units-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .info-band {
    grid-template-columns: repeat(2, 1fr);
  }
  .header-wrap {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  nav {
    flex-wrap: wrap;
    justify-content: center;
  }
}
@media (max-width: 760px) {
  nav {
    display: none;
  }
  .cards-4,
  .gallery-grid,
  .units-grid,
  .info-band {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 52px;
  }
  .header-wrap {
    gap: 14px;
  }
  .logo img {
    height: 50px;
  }
  .logo-text span {
    display: none;
  }
  .hero-brand img {
    height: 68px;
  }
}

.about-image {
  width: 100%;
  height: 100%;
  min-height: 420px;
  overflow: hidden;
  border-radius: 26px;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mobile-drawer {
  display: none;
}

.trabalhe-text {
  font-size: 1rem;
  line-height: 1.6;
  max-width: 720px;
  margin-top: 10px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.form-group label {
  font-weight: 700;
  color: #0f2d74;
}
.form-group input,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #cfd8ea;
  border-radius: 16px;
  background: #fff;
  font-size: 1rem;
  outline: none;
}

.file-upload {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 2px solid #ccc;
  padding: 12px 16px;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
}

.file-upload:hover {
  border-color: #20377f;
  background: #f8f9ff;
}

.file-upload input {
  display: none;
}

.file-btn {
  background: #20377f;
  color: white;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 14px;
  white-space: nowrap;
}

.file-name {
  font-size: 14px;
  color: #555;
}

.rh-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  transition: all 0.3s ease;
}

.rh-modal-content {
  background: #ffffff;
  padding: 30px 24px;
  border-radius: 16px;
  max-width: 440px;
  width: 90%;
  text-align: center;
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  animation: rhModalEntrada 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275)
    forwards;
}

.rh-modal-content h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.rh-modal-content p {
  margin: 0 0 28px 0;
  color: #64748b;
  font-size: 15px;
  line-height: 1.6;
}

#rh-close-modal-btn {
  background: #20377f;
  color: #ffffff;
  border: none;
  padding: 12px 32px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  transition: all 0.2s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

#rh-close-modal-btn:hover {
  background: #182a61;
  transform: translateY(-1px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

#rh-close-modal-btn:active {
  transform: translateY(0);
}

@keyframes rhModalEntrada {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 760px) {
  .file-upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
}

.btn-loading {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid #fff;
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-left: 8px;
}

.btn.loading .btn-text {
  opacity: 0.7;
}

.btn.loading .btn-loading {
  display: inline-block;
}

.btn.loading {
  pointer-events: none;
  opacity: 0.8;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

input:-webkit-autofill,
input:-webkit-autofill:focus,
input:-webkit-autofill:hover,
select:-webkit-autofill {
  -webkit-box-shadow: 0 0 0px 1000px #fff inset !important;
  -webkit-text-fill-color: #000 !important;
  transition: background-color 5000s ease-in-out 0s;
}

#rh-form {
  width: 100%;
  max-width: 540px;
}
.cta-inf-vagas {
  max-width: 520px;
}

@media (min-width: 700px) and (max-width: 1025px) {
  #rh-form {
    max-width: 100% !important;
    width: 100%;
  }
  .cta-inf-vagas {
    max-width: 100% !important;
    width: 100% !important;
  }
}
