html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  margin: 0;
  background: #f5f7fb;
  display: flex;
  justify-content: center;
  touch-action: manipulation;
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

img,
video {
  max-width: 100%;
}

/* APP CENTRAL */
.app {
  width: 100%;
  max-width: 1100px; /* ESSENCIAL */
  margin: 0 auto; /* centraliza */
  background: #fff8f0;
  min-height: 100vh;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.15);
  position: relative;
}
h1,
h2,
h3 {
  color: #0d3b66;
}
/* NAVBAR FIXA */
.navbar {
  position: sticky;
  top: 0;
  backdrop-filter: blur(12px);
  background: rgba(13, 59, 102, 0.85);
  padding: 12px max(12px, env(safe-area-inset-left)) 12px
    max(12px, env(safe-area-inset-right));
  display: flex;
  justify-content: center;
  gap: clamp(10px, 3vw, 30px);
  flex-wrap: wrap;
  z-index: 1000;
}

.navbar a {
  color: white;
  text-decoration: none;
  font-size: clamp(12px, 2.8vw, 14px);
  font-weight: 500;
  position: relative;
  transition: 0.3s;
  white-space: nowrap;
}

/* underline animado */
.navbar a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  background: #ffcc00;
  left: 0;
  bottom: -6px;
  transition: 0.3s;
}

.navbar a:hover::after {
  width: 100%;
}

.navbar a:hover {
  color: #ffcc00;
}

/* HEADER */
header {
  background: linear-gradient(135deg, #0d3b66, #1e5fa8);
  color: white;
  padding: clamp(42px, 9vw, 80px) 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* bolhas decorativas */
header::before {
  content: "";
  position: absolute;
  width: 350px;
  height: 350px;
  background: rgba(255, 204, 0, 0.15);
  border-radius: 50%;
  top: -120px;
  left: -120px;
}

header::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  bottom: -120px;
  right: -120px;
}

/* garante que conteúdo fica na frente */
header * {
  position: relative;
  z-index: 2;
}

.logo {
  width: 130px;
  height: 130px;
  object-fit: contain;
  margin-bottom: 15px;
  border-radius: 20px;
  background: white;
  padding: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

header h1 {
  font-size: clamp(28px, 7vw, 42px);
  margin: 10px 0;
}

header p {
  font-size: clamp(15px, 3.5vw, 18px);
  opacity: 0.9;
  max-width: 680px;
  margin: 0 auto;
}
/* SEÇÕES */
.section {
  padding: 25px 15px;
  text-align: center;
}

/* BOTÃO */
 .btn {
  display: inline-block;
  margin-top: 25px;
  padding: 14px clamp(18px, 5vw, 30px);
  background: #ffcc00;
  color: #0d3b66;
  text-decoration: none;
  border-radius: 12px;
  font-weight: bold;
  transition: 0.3s;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  max-width: 100%;
  text-align: center;
}

header .btn:hover {
  background: #e6b800;
  transform: translateY(-3px) scale(1.03);
}
/* GALERIA */
.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
}

.gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
}

/* DEPOIMENTOS */
.testimonial {
  background: white;
  padding: 15px;
  margin: 10px auto;
  border-radius: 10px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}
.chat-btn {
  border: 0;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  color: white;
  font-size: 24px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: 0.3s;
  z-index: 999;
  cursor: pointer;
}

.chat-btn:hover {
  transform: scale(1.1);
  background: #1ebe5d;
}

.chatbot {
  position: fixed;
  inset: 0;
  display: none;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 20px;
  background: rgba(8, 34, 58, 0.35);
  z-index: 1200;
}

.chatbot.show {
  display: flex;
}

.chatbot-window {
  width: min(100%, 430px);
  max-height: calc(100vh - 40px);
  overflow: hidden;
  border-radius: 16px;
  background: white;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

.chatbot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 16px 18px;
  background: #0d3b66;
  color: white;
}

.chatbot-header strong,
.chatbot-header span {
  display: block;
}

.chatbot-header span {
  margin-top: 3px;
  font-size: 12px;
  opacity: 0.85;
}

.chatbot-header button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: white;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.chatbot-form {
  display: grid;
  gap: 14px;
  max-height: calc(100vh - 112px);
  overflow-y: auto;
  padding: 18px;
}

.chatbot-form label,
.chatbot-form legend {
  font-size: 13px;
  font-weight: 600;
  color: #0d3b66;
}

.chatbot-form select,
.chatbot-form input[type="date"],
.chatbot-form input[type="time"],
.chatbot-form input[type="number"],
.chatbot-form input[name="nome"],
.chatbot-form input[name="localizacao"],
.chatbot-form textarea {
  width: 100%;
  margin-top: 6px;
  border: 1px solid #d8dee8;
  border-radius: 8px;
  padding: 11px 12px;
  font: inherit;
  color: #08223a;
  background: #fff;
}

.faq-section {
  max-width: 860px;
}

.faq-list {
  display: grid;
  gap: 10px;
  margin: 20px auto 0;
  text-align: left;
}

.faq-list details {
  background: white;
  border: 1px solid rgba(13, 59, 102, 0.1);
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(13, 59, 102, 0.07);
  overflow: hidden;
}

.faq-list summary {
  cursor: pointer;
  color: #0d3b66;
  font-weight: 700;
  padding: 15px 16px;
}

.faq-list p {
  margin: 0;
  padding: 0 16px 16px;
}

.chatbot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.chatbot-form fieldset {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
  margin: 0;
  border: 1px solid #e1e6ef;
  border-radius: 10px;
  padding: 12px;
}

.chatbot-form fieldset label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #34495e;
  font-weight: 500;
}

.chatbot-form input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: #0d3b66;
}

.chatbot-submit {
  width: 100%;
  border: 0;
  border-radius: 10px;
  padding: 13px 16px;
  background: #25d366;
  color: white;
  font-weight: 700;
  font: inherit;
  cursor: pointer;
  transition: 0.3s;
}

.chatbot-submit:hover {
  background: #1ebe5d;
  transform: translateY(-1px);
}
.footer {
  background: linear-gradient(135deg, #0d3b66, #08223a);
  color: white;
  padding-top: 40px;
}

.footer-container {
  display: grid;
  grid-template-columns: 1fr; /* mobile */
  gap: 25px;
  padding: 0 20px;
}

.footer-col h2,
.footer-col h3 {
  color: #ffcc00;
  margin-bottom: 10px;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.5;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin: 8px 0;
}

.footer-col ul li a {
  text-decoration: none;
  color: white;
  font-size: 14px;
  transition: 0.3s;
}

.footer-col ul li a:hover {
  color: #ffcc00;
  padding-left: 5px;
}

.footer-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 15px;
  background: #ffcc00;
  color: #0d3b66;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: 0.3s;
}

.footer-btn:hover {
  background: #e6b800;
  transform: scale(1.05);
}

/* LINHA FINAL */
.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 30px;
  padding: 15px;
  font-size: 12px;
  color: #ccc;
}
.lightbox {
  display: none;
  position: fixed;
  z-index: 2000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
}

.close {
  position: absolute;
  top: 15px;
  right: 25px;
  color: white;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
}

/* cursor nas imagens */
.gallery img {
  cursor: pointer;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-top: 20px;
  align-items: stretch;
}
.section h2 {
  margin-bottom: 10px;
}

.section p {
  color: #666;
  font-size: 14px;
}
/* CARD */
.service-card {
  min-height: 190px;
  padding: 20px 15px;
  border-radius: 16px;
  text-align: center;
  transition: 0.3s;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #ffffff, #fff6df);
  display: flex;
  align-items: stretch;
  border: 1px solid rgba(13, 59, 102, 0.08);
  box-shadow: 0 8px 20px rgba(13, 59, 102, 0.08);
}

/* linha superior premium */
.service-card::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 4px;
  background: #ffcc00;
  top: 0;
  left: 0;
  z-index: 3;
}
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(255, 204, 0, 0.08),
    rgba(13, 59, 102, 0.04)
  );
}
/* ÍCONE */
.service-card .icon {
  font-size: 28px;
  margin-bottom: 10px;
}

/* TÍTULO */
.service-card h3 {
  margin: 8px 0 5px;
  font-size: 16px;
}

/* TEXTO */
.service-card p {
  font-size: 13px;
  color: #555;
}

/* HOVER PROFISSIONAL */
.service-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
}
.service-card:hover::after {
  background: linear-gradient(
    to top,
    rgba(13, 59, 102, 0.12),
    rgba(255, 204, 0, 0.18)
  );
}
.service-card:hover p {
  color: #3f5263;
}
.service-card .card-overlay {
  position: relative;
  z-index: 2;
  color: #0d3b66;
  display: flex;
  min-height: 100%;
  width: 100%;
  flex-direction: column;
  justify-content: center;
}

.video-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2 colunas */
  gap: 10px;
  margin-top: 15px;
}

.video-gallery video {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 12px;
}
/* VÍDEOS */
.depoimentos-video {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

.depoimentos-video video {
  width: 100%;
  border-radius: 12px;
}

/* PRINTS */
.depoimentos-print {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

.depoimentos-print img {
  width: 100%;
  border-radius: 10px;
  cursor: pointer;
}

@media (min-width: 768px) {
  .app {
    max-width: 100%;
    margin: 0;
    border-radius: 0;
  }

  .section {
    max-width: 1100px;
    margin: 0 auto;
  }

  header {
    padding: 60px 20px;
  }

  .video-gallery {
    grid-template-columns: repeat(3, 1fr);
    max-width: 900px;
    margin: 20px auto;
  }

  .video-gallery video {
    aspect-ratio: 9 / 16;
    object-fit: cover;
  }

  .depoimentos-video {
    max-width: 700px;
    margin: 0 auto;
  }

  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-container {
    grid-template-columns: repeat(4, 1fr); /* 🔥 4 colunas no desktop */
    max-width: 1100px;
    margin: 0 auto;
  }

  .footer {
    padding-top: 60px;
  }
}
.footer-col {
  text-align: left;
}

@media (max-width: 767px) {
  .footer-col {
    text-align: center;
  }
}

.footer-col h2 {
  font-size: 22px;
}

.footer-col h3 {
  font-size: 16px;
}

.footer-col p,
.footer-col a {
  opacity: 0.9;
}

.footer-col a:hover {
  opacity: 1;
}
@media (max-width: 768px) {
  .navbar {
    gap: 15px;
    font-size: 12px;
  }

  header {
    padding: 50px 20px;
  }

  header h1 {
    font-size: 26px;
  }
}

.parallax {
  min-height: 360px;
  background-image: url("../imgs/20.png"); 
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

/* camada escura pra dar contraste */
.parallax::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45); /* 🔥 equilíbrio ideal */
}
/* conteúdo */
.parallax-overlay {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 600px;
  padding: 20px;
}

.parallax-overlay h2 {
  font-size: 28px;
  margin-bottom: 10px;
    color: rgb(255, 255, 255);
}

.parallax-overlay p {
  font-size: 16px;
  margin-bottom: 20px;
  opacity: 0.9;
    color: rgb(255, 255, 255);
}
@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.modal.show {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.modal-content {
  background: white;
  padding: 25px;
  border-radius: 16px;
  width: 90%;
  max-width: 400px;
  transform: scale(0.8);
  opacity: 0;
  animation: scaleIn 0.3s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* BOTÕES FILTRO */
.filter-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.filter-buttons button {
  padding: 8px 14px;
  border: none;
  border-radius: 8px;
  background: #eee;
  cursor: pointer;
  transition: 0.3s;
  min-height: 40px;
}

.filter-buttons button:hover {
  background: #0d3b66;
  color: white;
}

@media (max-width: 767px) {
  .app {
    box-shadow: none;
  }

  .section {
    padding: 28px 14px;
  }

  .logo {
    width: 112px;
    height: 112px;
  }

  .services-grid {
    gap: 12px;
  }

  .service-card {
    min-height: 176px;
    padding: 18px 12px;
  }

  .service-card h3 {
    font-size: 15px;
  }

  .service-card p {
    font-size: 12px;
  }

  .video-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .videosSwiper {
    width: min(100%, 360px);
  }

  .videosSwiper .swiper-slide {
    width: 76vw;
    max-width: 310px;
    height: auto;
    aspect-ratio: 9 / 16;
  }

  .swiper-slide {
    width: min(72vw, 260px);
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .parallax {
    min-height: 330px;
    background-attachment: scroll;
  }

  .parallax-overlay h2 {
    font-size: 23px;
  }

  .chat-btn {
    width: 54px;
    height: 54px;
    right: 14px;
    bottom: 14px;
  }

  .chatbot {
    align-items: flex-end;
    padding: 10px;
  }

  .chatbot-window {
    width: 100%;
    max-height: calc(100vh - 20px);
    border-radius: 14px;
  }

  .chatbot-form {
    max-height: calc(100vh - 92px);
  }

  .modal-content {
    max-height: calc(100vh - 32px);
    overflow-y: auto;
  }
}

@media (max-width: 520px) {
  .navbar {
    justify-content: space-around;
  }

  .gallery,
  .services-grid,
  .video-gallery {
    grid-template-columns: 1fr;
  }

  .gallery img {
    aspect-ratio: 4 / 3;
  }

  .service-card {
    min-height: 170px;
  }

  .filter-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-buttons button {
    width: 100%;
  }

  .footer {
    padding-bottom: 72px;
  }

  .chatbot-grid,
  .chatbot-form fieldset {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 380px) {
  .navbar {
    gap: 8px;
  }

  .navbar a {
    font-size: 11px;
  }

  .filter-buttons {
    grid-template-columns: 1fr;
  }
}
