:root {
  --navy: #1A365D;
  --gold: #D4AF37;
  --slate: #1E293B;
  --white: #FFFFFF;
  --gray-light: #F4F6FA;
  --gray: #6B7A99;
  --transition: 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  color: var(--slate);
  background: var(--white);
  overflow-x: hidden;
}

/* ── NAVBAR ── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 12px 0;
  background: var(--white);
  box-shadow: 0 2px 20px rgba(26,54,93,0.10);
  transition: box-shadow var(--transition), padding var(--transition);
}

#navbar.scrolled {
  box-shadow: 0 2px 28px rgba(26,54,93,0.16);
  padding: 8px 0;
}

#navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img { height: 64px; transition: height var(--transition); }
#navbar.scrolled .nav-logo img { height: 54px; }

.nav-links {
  display: flex;
  list-style: none;
  gap: 6px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 8px 16px;
  border-radius: 6px;
  transition: background var(--transition), color var(--transition);
  letter-spacing: 0.02em;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(26,54,93,0.07);
  color: var(--navy) !important;
}

.nav-links .nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  font-weight: 700;
  padding: 9px 20px;
}

.nav-links .nav-cta:hover { background: #b8942e; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--navy);
  margin: 6px 0;
  transition: var(--transition);
  border-radius: 2px;
}

/* ── HERO ── */
#hero {
  min-height: 100vh;
  padding-top: 72px;
  background: linear-gradient(135deg, var(--navy) 0%, #0f2244 60%, #1E293B 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}


.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212,175,55,0.15);
  border: 1px solid rgba(212,175,55,0.4);
  color: var(--gold);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  color: var(--gold);
}

.hero-title span { color: var(--gold); }

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 40px;
}

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

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--navy);
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition);
  border: none;
  cursor: pointer;
}

.btn-gold:hover { background: #b8942e; transform: translateY(-2px); color: var(--navy); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.35);
  transition: border-color var(--transition), background var(--transition);
}

.btn-outline:hover { border-color: var(--gold); background: rgba(212,175,55,0.1); color: var(--white); }

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-shield-bg {
  width: 380px;
  max-width: 100%;
  opacity: 0.12;
  position: absolute;
  animation: float 6s ease-in-out infinite;
}

.hero-shield-main {
  width: 280px;
  max-width: 90%;
  position: relative;
  z-index: 2;
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.4));
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.hero-stat { text-align: center; }
.hero-stat .num { font-size: 2rem; font-weight: 800; color: var(--gold); line-height: 1; }
.hero-stat .label { font-size: 0.78rem; color: rgba(255,255,255,0.6); letter-spacing: 0.05em; text-transform: uppercase; margin-top: 4px; }

/* ── DIAGONAL DIVIDER ── */
.divider-down {
  width: 100%;
  height: 80px;
  background: var(--white);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  margin-top: -1px;
}

.divider-down-gray {
  width: 100%;
  height: 80px;
  background: var(--gray-light);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  margin-top: -1px;
}

/* ── SECTIONS ── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-tag::before, .section-tag::after {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background: var(--gold);
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-title span { color: var(--gold); }

.section-subtitle {
  color: var(--gray);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 580px;
}

/* ── QUEM SOMOS ── */
#quem-somos {
  padding: 96px 0;
  background: var(--white);
}

.qs-content p {
  color: var(--gray);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.qs-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.qs-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--gray-light);
  border-radius: 10px;
  border-left: 3px solid var(--gold);
}

.qs-feature svg { color: var(--navy); flex-shrink: 0; margin-top: 2px; }
.qs-feature-text strong { display: block; font-size: 0.9rem; color: var(--navy); font-weight: 700; }
.qs-feature-text span { font-size: 0.82rem; color: var(--gray); }

.qs-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.qs-card-main {
  background: var(--navy);
  border-radius: 20px;
  padding: 40px 36px;
  text-align: center;
  color: var(--white);
  position: relative;
  width: 320px;
  box-shadow: 0 30px 80px rgba(26,54,93,0.25);
}

.qs-card-main img { width: 100px; margin-bottom: 20px; filter: brightness(0) invert(1); }
.qs-card-custom-img { width: 140px; filter: brightness(0) invert(1) !important; margin: 10px auto 16px; display: block; }
.qs-card-main h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 10px; }
.qs-card-main p { font-size: 0.88rem; color: rgba(255,255,255,0.7); line-height: 1.6; }

.qs-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 12px;
  padding: 14px 18px;
  text-align: center;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(212,175,55,0.35);
}

.qs-badge .num { font-size: 1.6rem; line-height: 1; }
.qs-badge .txt { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; }

.qs-video-outer {
  width: 320px;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(26,54,93,0.25);
}
.qs-video-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 177.78%; /* 16/9 → retrato vertical */
  height: 0;
  overflow: hidden;
}
.qs-video-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

/* ── SERVIÇOS ── */
#servicos {
  padding: 96px 0;
  background: var(--gray-light);
}

.servicos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 56px;
}

.servico-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 16px rgba(26,54,93,0.07);
}

.servico-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(26,54,93,0.15);
}

.servico-card-img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--navy), #0f2244);
  display: flex;
  align-items: center;
  justify-content: center;
}

.servico-card-img img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.servico-card-img-placeholder {
  width: 100%;
  height: 190px;
  background: linear-gradient(135deg, var(--navy) 0%, #1E293B 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  gap: 10px;
}

.servico-card-img-placeholder svg { width: 48px; height: 48px; color: var(--gold); }

.servico-card-body { padding: 28px 24px; }

.servico-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(212,175,55,0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.servico-card-icon svg { color: var(--gold); width: 24px; height: 24px; }

.servico-card-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.servico-card-body p {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.65;
}

/* Texto serviço vindo do CKEditor */
.servico-desc {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.65;
}
.servico-desc p { margin: 0 0 8px; }
.servico-desc p:last-child { margin-bottom: 0; }
.servico-desc ul, .servico-desc ol { padding-left: 18px; margin: 6px 0; }
.servico-desc strong { color: var(--slate); }

/* ── PARCEIROS ── */
#parceiros {
  padding: 80px 0;
  background: var(--white);
  overflow: hidden;
}

.parceiros-track-wrapper {
  overflow: hidden;
  position: relative;
  margin-top: 48px;
}

.parceiros-track-wrapper::before,
.parceiros-track-wrapper::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
}

.parceiros-track-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--white), transparent);
}

.parceiros-track-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--white), transparent);
}

.parceiros-track {
  display: flex;
  gap: 40px;
  animation: scrollLeft 30s linear infinite;
  width: max-content;
}

.parceiros-track:hover { animation-play-state: paused; }

@keyframes scrollLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.parceiro-item {
  flex-shrink: 0;
  width: 160px;
  height: 90px;
  background: var(--gray-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  transition: box-shadow var(--transition), background var(--transition);
  border: 2px solid transparent;
}

.parceiro-item:hover {
  background: var(--white);
  border-color: var(--gold);
  box-shadow: 0 8px 24px rgba(26,54,93,0.12);
}

.parceiro-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: none;
  opacity: 1;
  transition: transform var(--transition), box-shadow var(--transition);
}

.parceiro-item:hover img { transform: scale(1.05); }

.parceiro-item-placeholder {
  text-align: center;
  color: var(--gray);
  font-size: 0.78rem;
  font-weight: 600;
}

/* ── CONTATO ── */
#contato {
  padding: 96px 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}


#contato .section-title { color: var(--white); }
#contato .section-subtitle { color: rgba(255,255,255,0.65); }

.contato-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  z-index: 2;
}

.contato-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  color: var(--white);
}

.contato-info-icon {
  width: 46px;
  height: 46px;
  background: rgba(212,175,55,0.15);
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contato-info-icon svg { color: var(--gold); }
.contato-info-text strong { display: block; font-size: 0.8rem; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 4px; }
.contato-info-text span { font-size: 0.97rem; font-weight: 500; }

.contato-socials {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.social-btn {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  transition: background var(--transition), border-color var(--transition);
}

.social-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }

.contato-form-card {
  background: var(--white);
  border-radius: 20px;
  padding: 40px;
  position: relative;
  z-index: 2;
  box-shadow: 0 30px 80px rgba(0,0,0,0.25);
}

.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  letter-spacing: 0.03em;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e8ecf4;
  border-radius: 8px;
  font-size: 0.92rem;
  color: var(--slate);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  font-family: inherit;
}

.form-control:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(26,54,93,0.1);
}

textarea.form-control { resize: vertical; min-height: 120px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.btn-submit {
  width: 100%;
  padding: 14px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-size: 0.97rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-submit:hover { background: var(--gold); color: var(--navy); transform: translateY(-2px); }

.alert {
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.alert-success { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; }
.alert-error { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }

/* ── FOOTER ── */
footer {
  background: var(--slate);
  color: rgba(255,255,255,0.6);
  padding: 40px 0 24px;
  font-size: 0.88rem;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 20px;
}

footer img.footer-logo { height: 40px; filter: brightness(0) invert(1); opacity: 0.85; }

.footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-nav a:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom a { color: var(--gold); text-decoration: none; }

/* ── UTILS ── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.row { display: flex; gap: 48px; align-items: center; }
.col-6 { flex: 0 0 calc(50% - 24px); }
.col-5 { flex: 0 0 calc(41.666% - 24px); }
.col-7 { flex: 0 0 calc(58.333% - 24px); }
.col-4 { flex: 0 0 calc(33.333% - 32px); }

.text-center { text-align: center; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mb-0 { margin-bottom: 0; }

.section-header { margin-bottom: 56px; }
.section-header.text-center .section-subtitle { margin: 0 auto; }

[data-aos] { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-aos].aos-animate { opacity: 1; transform: translateY(0); }
[data-aos="fade-right"] { transform: translateX(-30px); }
[data-aos="fade-right"].aos-animate { transform: translateX(0); }
[data-aos="fade-left"] { transform: translateX(30px); }
[data-aos="fade-left"].aos-animate { transform: translateX(0); }

/* ── WHATSAPP BTN ── */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  z-index: 999;
  text-decoration: none;
  transition: transform var(--transition);
  animation: pulse-wa 2.5s ease-in-out infinite;
}

.whatsapp-float:hover { transform: scale(1.1); }

@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.45); }
  50% { box-shadow: 0 4px 40px rgba(37,211,102,0.7); }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .row { flex-direction: column; gap: 40px; }
  .col-5, .col-6, .col-7, .col-4 { flex: 0 0 100%; width: 100%; max-width: 100%; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 20px 24px;
    gap: 4px;
  }

  .nav-links.open { display: flex; }
  .nav-links a { color: var(--white) !important; width: 100%; padding: 12px 16px; }

  .nav-toggle { display: block; }

  .hero-image { display: none; }

  .qs-features { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }

  .hero-stats { gap: 20px; }

  /* ── Contato mobile ── */
  #contato { padding: 60px 0; }
  #contato .row { gap: 32px; }

  .contato-form-card {
    padding: 24px 16px;
    width: 100%;
    box-sizing: border-box;
    border-radius: 14px;
  }

  .contato-form-card .form-control { font-size: 1rem; }

  .recaptcha-wrap { overflow-x: auto; }
  .recaptcha-wrap .g-recaptcha { transform-origin: left top; }
}

@media (max-width: 600px) {
  .section-title { font-size: 1.7rem; }
  .hero-title { font-size: 2rem; }
  .hero-actions { flex-direction: column; }
  .servicos-grid { grid-template-columns: 1fr; }

  /* reCAPTCHA responsivo em telas muito pequenas */
  .recaptcha-wrap .g-recaptcha {
    transform: scale(0.88);
  }
}
