* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #f8fafc;
  color: #111827;
  line-height: 1.6;
}

/* CONTAINER */
.container {
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
}

/* SKIP LINK (acessibilidade) */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #2563eb;
  color: white;
  padding: 8px 16px;
  z-index: 1001;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
}
.skip-link:focus {
  top: 10px;
  left: 10px;
}

/* HEADER */
.header {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(10px);
}

.navbar {
  max-width: 1100px;
  margin: auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.logo {
  font-size: 2.3rem;
  font-weight: 900;
  color: #111827;
  text-transform: uppercase;
  letter-spacing: -2px;
}

.logo span {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 6px;
  margin-top: -8px;
  color: #2563eb;
}

/* MENU */
.menu {
  list-style: none;
  display: flex;
  gap: 20px;
}

.menu li a {
  text-decoration: none;
  font-weight: 600;
  color: #111827;
  font-size: 0.95rem;
  transition: 0.2s;
  padding-bottom: 5px;
}

.menu li a:hover {
  color: #2563eb;
}

.menu li a.active {
  color: #2563eb;
  border-bottom: 2px solid #2563eb;
}

/* BOTÃO MENU */
.btn-menu {
  text-decoration: none;
  background: #25d366;
  color: white;
  padding: 10px 16px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-menu:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
}

/* MOBILE MENU BTN */
.menu-mobile {
  display: none;
  border: none;
  background: transparent;
  font-size: 1.7rem;
  color: #111827;
  cursor: pointer;
}

/* MENU MOBILE */
.menu-mobile-box {
  display: none;
  flex-direction: column;
  gap: 15px;
  padding: 20px;
  background: white;
  border-top: 1px solid #e5e7eb;
}

.menu-mobile-box a {
  text-decoration: none;
  color: #111827;
  font-weight: 600;
  padding: 10px 12px;
  transition: 0.2s;
  border-radius: 10px;
}

.menu-mobile-box a:hover {
  color: #2563eb;
  background: rgba(37, 99, 235, 0.08);
  padding-left: 20px;
}

.mobile-wpp {
  background: #25d366;
  padding: 12px;
  border-radius: 12px;
  text-align: center;
  margin-top: 10px;
  color: white !important;
}

.mobile-wpp:hover {
  background: #1ebe5d;
  color: white !important;
}

/* HERO */
.hero {
  height: 92vh;
  background: linear-gradient(
      rgba(15, 23, 42, 0.65),
      rgba(15, 23, 42, 0.75)
    ),
    url("fundo-jrc.jpeg");
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 30px;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 140px;
  background: linear-gradient(to top, #f8fafc, transparent);
}

.hero-content {
  max-width: 900px;
  color: white;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 900;
  margin-bottom: 18px;
  line-height: 1.2;
  text-shadow: 0px 10px 30px rgba(0, 0, 0, 0.45);
}

.hero p {
  font-size: 1.15rem;
  opacity: 0.95;
  color: #e5e7eb;
  max-width: 700px;
  margin: auto;
}

.hero-buttons {
  margin-top: 35px;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

/* BUTTONS */
.btn-whatsapp {
  text-decoration: none;
  background: #25d366;
  color: white;
  padding: 14px 32px;
  border-radius: 40px;
  font-weight: 800;
  font-size: 1rem;
  transition: 0.25s;
  box-shadow: 0px 12px 30px rgba(0, 0, 0, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-whatsapp:hover {
  background: #1ebe5d;
  transform: translateY(-4px);
}

.btn-outline {
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.75);
  color: white;
  padding: 13px 28px;
  border-radius: 40px;
  font-weight: 800;
  transition: 0.25s;
  backdrop-filter: blur(6px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: white;
  transform: translateY(-3px);
}

/* SECTIONS */
section {
  padding: 80px 0;
}

section h2 {
  font-size: 2.3rem;
  font-weight: 900;
  margin-bottom: 10px;
  text-align: center;
}

.subtitle {
  color: #6b7280;
  margin-bottom: 35px;
  font-size: 1.05rem;
  text-align: center;
}

/* SERVIÇOS */
.servicos {
  background: white;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.card {
  background: white;
  border-radius: 15px;
  padding: 30px 25px;
  border: 1px solid #e5e7eb;
  transition: 0.25s;
  box-shadow: 0px 8px 18px rgba(17, 24, 39, 0.06);
  text-align: center;
}

.card:hover {
  transform: translateY(-7px);
  border-color: #2563eb;
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  font-weight: 900;
}

.card p {
  color: #6b7280;
  font-size: 1rem;
}

.icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #2563eb;
}

/* PREÇOS */
.precos {
  background: #f8fafc;
}

.tabela-container {
  max-width: 850px;
  margin: 30px auto;
  overflow-x: auto;
  border-radius: 12px;
}

.tabela-precos {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0px 10px 25px rgba(17, 24, 39, 0.08);
  border: 1px solid #e5e7eb;
}

.tabela-precos th {
  background: #111827;
  color: white;
  padding: 18px;
  font-size: 1.05rem;
  text-transform: uppercase;
}

.tabela-precos td {
  padding: 18px;
  border-bottom: 1px solid #e5e7eb;
  font-weight: 600;
}

.tabela-precos tbody tr:hover {
  background: rgba(37, 99, 235, 0.06);
  transition: 0.2s;
}

.destaque {
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.10), #ffffff);
  position: relative;
}

.badge {
  display: inline-block;
  background: #f59e0b;
  color: #111827;
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 20px;
  margin-left: 8px;
  font-weight: bold;
}

.obs {
  font-size: 0.95rem;
  color: #6b7280;
  margin-top: 15px;
  font-style: italic;
  text-align: center;
}

/* GALERIA */
.galeria {
  background: white;
}

.grid-galeria {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.foto img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0px 8px 20px rgba(17, 24, 39, 0.12);
}

.foto img:hover {
  transform: scale(1.05);
}

/* MODAL GALERIA */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(17, 24, 39, 0.85);
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.modal-img {
  max-width: 95%;
  max-height: 85%;
  border-radius: 15px;
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.45);
  animation: zoom 0.3s ease;
}

@keyframes zoom {
  from { transform: scale(0.7); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 3rem;
  font-weight: bold;
  color: white;
  cursor: pointer;
  transition: 0.2s;
}

.modal-close:hover {
  color: #f59e0b;
}

/* FORMULÁRIO */
.formulario {
  background: #f8fafc;
}

/* FORMULÁRIO PREMIUM */
.formulario {
  background: #f8fafc;
}

.form-box {
  max-width: 680px;
  margin: auto;
  background: white;
  padding: 45px;
  border-radius: 18px;
  border: 1px solid #e5e7eb;
  box-shadow: 0px 18px 40px rgba(17, 24, 39, 0.10);
}

.input-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.input-group label {
  font-weight: 800;
  margin-bottom: 8px;
  color: #111827;
  font-size: 0.95rem;
}

.input-group input,
.input-group textarea,
.input-group select {
  padding: 15px 16px;
  border-radius: 12px;
  border: 1px solid #d1d5db;
  outline: none;
  font-size: 1rem;
  transition: 0.25s;
  background: #f9fafb;
  color: #111827;
}

.input-group input::placeholder,
.input-group textarea::placeholder {
  color: #9ca3af;
  font-weight: 500;
}

.input-group input:focus,
.input-group textarea:focus,
.input-group select:focus {
  border-color: #2563eb;
  background: white;
  box-shadow: 0px 0px 0px 4px rgba(37, 99, 235, 0.18);
}

.input-group textarea {
  resize: none;
  line-height: 1.5;
}

/* BOTÃO PREMIUM */
.btn-form {
  width: 100%;
  background: linear-gradient(90deg, #25d366, #1ebe5d);
  border: none;
  padding: 16px;
  border-radius: 14px;
  font-size: 1.1rem;
  font-weight: 900;
  color: white;
  cursor: pointer;
  transition: 0.25s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0px 14px 30px rgba(37, 211, 102, 0.25);
}

.btn-form:hover {
  transform: translateY(-3px);
  filter: brightness(1.05);
}

.btn-form:active {
  transform: translateY(0px);
}

/* LOCALIZAÇÃO */
.localizacao {
  background: white;
}

.mapa-container {
  max-width: 1100px;
  margin: 30px auto;
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  box-shadow: 0px 10px 25px rgba(17, 24, 39, 0.12);
}

/* FOOTER */
footer {
  background: #111827;
  color: white;
  text-align: center;
  padding: 25px;
  font-size: 0.95rem;
  border-top: 3px solid #2563eb;
}

.footer-content {
  max-width: 1100px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.social-icons {
  display: flex;
  gap: 20px;
}

.social-icons a {
  color: white;
  font-size: 1.3rem;
  transition: 0.2s;
}

.social-icons a:hover {
  color: #f59e0b;
  transform: translateY(-3px);
}

/* WHATSAPP FIXO */
.whatsapp-fixo {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 62px;
  height: 62px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: white;
  text-decoration: none;
  box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.30);
  transition: 0.25s;
  z-index: 999;
}

.whatsapp-fixo:hover {
  transform: scale(1.12);
}

/* PULSE ANIMATION */
.pulse {
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0px 0px 0px 0px rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0px 0px 0px 18px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0px 0px 0px 0px rgba(37, 211, 102, 0);
  }
}

/* TOAST NOTIFICATION */
#toastContainer {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  pointer-events: none;
}

.toast {
  background: #2563eb;
  color: white;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: bold;
  box-shadow: 0px 4px 15px rgba(0,0,0,0.2);
  animation: fadeInOut 3s ease forwards;
  white-space: nowrap;
}

@keyframes fadeInOut {
  0% { opacity: 0; transform: translateY(20px); }
  15% { opacity: 1; transform: translateY(0); }
  85% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-20px); }
}

/* ANIMAÇÃO SCROLL */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVO */
@media (max-width: 900px) {
  .menu {
    display: none;
  }

  .btn-menu {
    display: none;
  }

  .menu-mobile {
    display: block;
  }

  .logo {
    font-size: 2rem;
  }

  .logo span {
    font-size: 1.1rem;
    letter-spacing: 5px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .form-box {
    padding: 25px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .tabela-precos th,
  .tabela-precos td {
    padding: 12px;
    font-size: 0.9rem;
  }

  .badge {
    display: block;
    margin-top: 5px;
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  section {
    padding: 50px 0;
  }
  
  section h2 {
    font-size: 1.8rem;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .btn-whatsapp, .btn-outline {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

/* ==================== FLATPICKR (CALENDÁRIO) ==================== */
.flatpickr-calendar {
  border-radius: 12px !important;
  box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.15) !important;
  font-family: 'Montserrat', sans-serif !important;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
  background: #2563eb !important;
  border-color: #2563eb !important;
  color: white !important;
  font-weight: 700;
}

.flatpickr-day.today {
  border-color: #25d366 !important;
}

.flatpickr-day:hover {
  background: rgba(37, 99, 235, 0.15) !important;
  border-color: rgba(37, 99, 235, 0.15) !important;
}