/* ========================= */
/* INÍCIO - VARIÁVEIS GERAIS */
/* ========================= */
:root {
  --azul-principal: #123e63;
  --azul-secundario: #215b88;
  --dourado: #c8a85a;
  --dourado-claro: #e4c980;
  --fundo: #f8fafc;
  --fundo-section: #ffffff;
  --fundo-suave: #f1f5f9;
  --cinza-claro: #dbe3ea;
  --texto: #1f2937;
  --texto-suave: #6b7280;
  --branco: #ffffff;
  --sombra: 0 10px 30px rgba(18, 62, 99, 0.08);
  --borda-radius: 16px;
}
/* ====================== */
/* FIM - VARIÁVEIS GERAIS */
/* ====================== */

/* ========================= */
/* INÍCIO - RESET E BASE */
/* ========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  background: var(--fundo);
  color: var(--texto);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 90px 0;
}

.section-title {
  margin-bottom: 50px;
}

.section-title.center {
  text-align: center;
}

.section-title span {
  display: inline-block;
  color: var(--dourado);
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  font-size: 14px;
}

.section-title h2 {
  color: var(--azul-principal);
  font-size: 38px;
  line-height: 1.2;
  margin-bottom: 15px;
  max-width: 700px;
}

.section-title.center h2 {
  margin-left: auto;
  margin-right: auto;
}

.section-title p {
  color: var(--texto-suave);
  max-width: 700px;
  margin: 0;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: bold;
  transition: 0.3s ease;
}

.btn-primary {
  background: var(--dourado);
  color: var(--branco);
}

.btn-primary:hover {
  background: var(--azul-principal);
}

.btn-outline {
  border: 2px solid var(--azul-principal);
  color: var(--azul-principal);
  background: transparent;
}

.btn-outline:hover {
  background: var(--azul-principal);
  color: var(--branco);
}
/* ====================== */
/* FIM - RESET E BASE */
/* ====================== */

/* ========================= */
/* INÍCIO - HEADER / MENU */
/* ========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(18, 62, 107, 0.08);
  box-shadow: 0 8px 24px rgba(18, 62, 107, 0.04);
}

.header-container {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo img {
  width: 72px;
  height: auto;
  display: block;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text strong {
  font-size: 1rem;
  font-weight: 800;
  color: var(--azul-principal);
}

.logo-text span {
  font-size: 0.78rem;
  color: var(--texto-suave);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.nav-link,
.nav-dropdown-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  padding: 0;
  text-decoration: none;
  color: var(--azul-principal);
  font-weight: 700;
  font-size: 0.96rem;
  cursor: pointer;
  transition: color 0.25s ease;
}

.nav-link::after,
.nav-dropdown-toggle::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #123e6b 0%, #c9a96e 100%);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.nav-link:hover,
.nav-link.active,
.nav-dropdown-toggle:hover {
  color: var(--azul-principal);
}

.nav-link:hover::after,
.nav-link.active::after,
.nav-dropdown:hover .nav-dropdown-toggle::after {
  transform: scaleX(1);
}

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

/* área invisível para o mouse não perder o menu */
.nav-dropdown::after {
  content: '';
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  height: 24px;
}

.dropdown-arrow {
  transition: transform 0.25s ease;
}

.nav-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 320px;
  background: #ffffff;
  border: 1px solid rgba(18, 62, 107, 0.08);
  border-radius: 18px;
  box-shadow: 0 22px 48px rgba(18, 62, 107, 0.12);
  padding: 14px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    visibility 0.22s ease;
  z-index: 999;
}

/* ponte invisível entre botão e menu */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -18px;
  left: 0;
  width: 100%;
  height: 18px;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--azul-principal);
  font-weight: 600;
  font-size: 0.93rem;
  transition:
    background 0.22s ease,
    color 0.22s ease,
    transform 0.22s ease;
}

.dropdown-menu a:hover {
  background: #f4f8fb;
  color: var(--azul-principal);
  transform: translateX(4px);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 12px;
  text-decoration: none;
  background: linear-gradient(90deg, #c9a96e 0%, #d7b87b 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.92rem;
  white-space: nowrap;
  box-shadow: 0 10px 22px rgba(201, 169, 110, 0.2);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(201, 169, 110, 0.28);
}

/* BOTÃO MOBILE */
.mobile-menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(18, 62, 107, 0.08);
  border-radius: 12px;
  background: #ffffff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0;
}

.mobile-menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--azul-principal);
  border-radius: 999px;
  transition: 0.25s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* MENU MOBILE */
.mobile-menu {
  display: none;
  border-top: 1px solid rgba(18, 62, 107, 0.06);
  background: rgba(255, 255, 255, 0.98);
}

.mobile-menu.open {
  display: block;
}

.mobile-nav {
  padding: 18px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-link,
.mobile-dropdown-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: var(--azul-principal);
  font-weight: 700;
  font-size: 1rem;
  background: #f8fbfd;
  border: 1px solid #e4ebf2;
  border-radius: 14px;
  padding: 14px 16px;
}

.mobile-link.active {
  border-color: rgba(201, 169, 110, 0.45);
}

.mobile-dropdown-toggle {
  cursor: pointer;
}

.mobile-dropdown-toggle .dropdown-arrow {
  transition: transform 0.25s ease;
}

.mobile-dropdown.open .mobile-dropdown-toggle .dropdown-arrow {
  transform: rotate(180deg);
}

.mobile-dropdown-menu {
  display: none;
  padding-top: 10px;
  padding-left: 10px;
  flex-direction: column;
  gap: 8px;
}

.mobile-dropdown.open .mobile-dropdown-menu {
  display: flex;
}

.mobile-dropdown-menu a {
  text-decoration: none;
  color: var(--texto-suave);
  font-weight: 600;
  font-size: 0.95rem;
  background: #ffffff;
  border: 1px solid #e8eef4;
  border-radius: 12px;
  padding: 12px 14px;
}

.mobile-cta {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: linear-gradient(90deg, #c9a96e 0%, #d7b87b 100%);
  color: #ffffff;
  border-radius: 14px;
  padding: 14px 18px;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(201, 169, 110, 0.2);
}

/* ========================= */
/* SWEET ALERT ANIMAÇÃO      */
/* ========================= */

.reveal-up-swal {
  animation: revealUpSwal 0.6s ease forwards;
}

.reveal-down-swal {
  animation: revealDownSwal 0.4s ease forwards;
}

@keyframes revealUpSwal {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes revealDownSwal {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
}
.swal2-backdrop-show {
  backdrop-filter: blur(4px);
  background: rgba(18, 62, 99, 0.28) !important;
}

.swal-custom-popup {
  background: var(--branco) !important;
  border-radius: var(--borda-radius);
  box-shadow: var(--sombra);
}

.swal-custom-title {
  color: var(--azul-principal);
}

.swal-custom-button {
  background: var(--dourado) !important;
  color: var(--branco) !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  padding: 12px 26px !important;
  box-shadow: 0 8px 18px rgba(200, 168, 90, 0.22);
}

.swal-custom-button:hover {
  background: var(--dourado-claro) !important;
  transform: translateY(-1px);
}

.swal2-html-container {
  line-height: 1.5;
  color: var(--texto);
}

/* RESPONSIVO */
@media (max-width: 1100px) {
  .logo-text {
    display: none;
  }

  .main-nav {
    gap: 22px;
  }

  .dropdown-menu {
    min-width: 290px;
  }
}

@media (max-width: 900px) {
  .main-nav,
  .header-cta {
    display: none;
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }

  .header-container {
    min-height: 76px;
  }

  .logo img {
    width: 60px;
  }
}

/* ========================= */
/* FIM - HEADER / MENU */
/* ========================= */

/* =========================
WHATSAPP PROFISSIONAL
========================= */
#whatsapp-container {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: flex-end;
}

#whatsapp-box {
  background: #ffffff;
  padding: 12px 16px;
  border-radius: 14px;
  margin-bottom: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  position: relative;
  animation: fadeUp 0.6s ease;
}

#whatsapp-box p {
  margin: 0;
  font-weight: 700;
  color: #0f4c8a;
  font-size: 0.95rem;
}

#whatsapp-box span {
  font-size: 0.8rem;
  color: #6b7c93;
}

#close-whatsapp {
  position: absolute;
  top: 6px;
  right: 8px;
  border: none;
  background: transparent;
  font-size: 16px;
  cursor: pointer;
}

.whatsapp-button {
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: 0.3s;
}

.whatsapp-button:hover {
  transform: scale(1.05);
}

/* animação */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ========================= */
/* INÍCIO - FOOTER */
/* ========================= */

.footer {
  background: #0f2742;
  color: #ffffff;
  padding: 60px 0 25px;
}

.footer-content {
  display: flex;
  justify-content: flex-start;
}

.footer-brand {
  max-width: 420px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  margin-bottom: 20px;
}

.footer-logo img {
  width: 52px;
  height: auto;
  object-fit: contain;
}

.footer-logo span {
  font-size: 1.45rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.footer-description {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 22px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-contact a {
  color: #c9a96e;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-contact a:hover {
  opacity: 0.8;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 35px;
  padding-top: 20px;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.68);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.85);
  transition: all 0.3s ease;
}

.footer-contact a:hover {
  color: #c9a96e;
  transform: translateX(3px);
}

.footer-contact i {
  width: 18px;
  height: 18px;
  color: #c9a96e;
  flex-shrink: 0;
}

/* ========================= */
/* FIM - FOOTER */
/* ========================= */
