/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;
}

/* ================= CORES BASE ================= */
body {
  background: linear-gradient(135deg, #5a1a2a 0%, #7d2e40 25%, #9d5a6a 50%, #c9a68a 75%, #f3e9dc 100%);
  background-attachment: fixed;
  color: #f3e9dc;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../img/fundo.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.4;
  z-index: 0;
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 50%, rgba(125, 46, 64, 0.3) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(157, 90, 106, 0.2) 0%, transparent 50%);
  z-index: 0;
  pointer-events: none;
}

/* ================= HEADER ================= */
header {
  background: linear-gradient(135deg, #3e121c 0%, #591f2a 50%, #7d2e40 70%);
  color: #f3e9dc;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid rgba(243, 233, 220, 0.15);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  position: relative;
  z-index: 10;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 60px;
  width: auto;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.05);
}

.logo-text {
  font-size: 1.6em;
  font-weight: bold;
  color: #f3e9dc;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* ================= MENU ================= */
.menu {
  list-style: none;
  display: flex;
  gap: 25px;
  position: relative;
  z-index: 10;
}

.menu li a {
  color: #f3e9dc;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  padding: 8px 16px;
  border-radius: 8px;
  position: relative;
}

.menu li a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #e2cdb0, #f3e9dc);
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.menu li a:hover::before {
  width: 80%;
}

.menu li a:hover {
  color: #e2cdb0;
  background: rgba(255, 255, 255, 0.05);
}

/* ================= DROPDOWN ================= */
.dropdown {
  position: relative;
}

.child {
  display: none;
  position: absolute;
  background: linear-gradient(135deg, rgba(89, 31, 42, 0.98) 0%, rgba(125, 46, 64, 0.98) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  list-style: none;
  padding: 10px;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(243, 233, 220, 0.1);
  min-width: 180px;
}

.dropdown:hover .child {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.child li a {
  display: block;
  padding: 10px 16px;
  color: #f3e9dc;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.child li a:hover {
  background: rgba(243, 233, 220, 0.15);
  transform: translateX(5px);
}

/* ================= MAIN ================= */
main {
  flex: 1 0 auto;
  position: relative;
  z-index: 1;
}

/* ================= HERO ================= */
.hero {
  position: relative;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(62, 18, 28, 0.8) 0%, rgba(89, 31, 42, 0.6) 50%, rgba(157, 90, 106, 0.4) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, transparent 0%, rgba(62, 18, 28, 0.4) 100%);
  z-index: 1;
}

.carousel-video {
  width: 100%;
  height: 80vh;
  object-fit: cover;
  opacity: 0.5;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #f3e9dc;
  text-align: center;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  z-index: 10;
  background: rgba(62, 18, 28, 0.3);
  backdrop-filter: blur(10px);
  padding: 40px 60px;
  border-radius: 20px;
  border: 1px solid rgba(243, 233, 220, 0.2);
}

.hero-text h1 {
  font-size: 3em;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #f3e9dc, #e2cdb0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text p {
  font-size: 1.2em;
}

/* ================= FOOTER ================= */
footer {
  background: linear-gradient(135deg, #3e121c 0%, #591f2a 50%, #7d2e40 70%);
  color: #f3e9dc;
  padding: 50px 20px 20px 20px;
  text-align: center;
  font-family: 'Arial', sans-serif;
  margin-top: auto;
  width: 100%;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 5;
  border-top: 1px solid rgba(243, 233, 220, 0.15);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px;
  margin-bottom: 40px;
}

.footer-column {
  text-align: left;
  min-width: 200px;
}

.footer-column h6 {
  font-size: 1.1em;
  font-weight: bold;
  color: #e2cdb0;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-column a {
  color: #f3e9dc;
  text-decoration: none;
  display: block;
  margin-bottom: 6px;
  font-size: 0.95em;
  transition: all 0.3s ease;
  padding-left: 0;
}

.footer-column a:hover {
  color: #e2cdb0;
  padding-left: 8px;
}

.footer-separator {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(243, 233, 220, 0.3), transparent);
  margin: 25px auto;
  width: 80%;
}

.footer-text {
  max-width: 700px;
  margin: 0 auto 30px auto;
  font-size: 0.95em;
  line-height: 1.6;
  color: rgba(243, 233, 220, 0.9);
}

.footer-social {
  margin-bottom: 25px;
}

.footer-social a {
  color: #f3e9dc;
  margin: 0 10px;
  font-size: 1.5em;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-social a:hover {
  transform: scale(1.2) rotate(5deg);
  color: #e2cdb0;
}

.footer-copyright {
  background: rgba(0, 0, 0, 0.3);
  padding: 12px 0;
  font-size: 0.9em;
  color: rgba(243, 233, 220, 0.85);
  letter-spacing: 0.5px;
}

/* ================= BOTÕES FLUTUANTES ================= */
.float-whatsapp,
.float-instagram {
  position: fixed;
  bottom: 20px;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
  z-index: 1000;
}

.float-whatsapp {
  right: 90px;
  background: linear-gradient(135deg, #25D366, #128C7E);
}

.float-instagram {
  right: 20px;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.float-whatsapp img,
.float-instagram img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.float-whatsapp:hover,
.float-instagram:hover {
  transform: scale(1.15) translateY(-5px);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.6);
}

/* ================= CARROSSEL ================= */
.visuallyhidden {
  position: absolute;
  z-index: -1;
  right: 0;
  opacity: 0;
}

h1 {
  color: #f3e9dc;
  text-align: center;
  margin-top: 1em;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.container {
  overflow: hidden;
  padding: 20px;
  margin-top: 2em;
  background: transparent;
  backdrop-filter: none;
  border-radius: 20px;
}

.card-carousel {
  --card-width: 80%;
  --card-max-width: 280px;
  --card-height: 350px;
  --carousel-min-width: 600px;
  z-index: 1;
  position: relative;
  margin: 0 auto;
  width: 100%;
  height: var(--card-height);
  min-width: var(--carousel-min-width);
  transition: filter .3s ease;
  font-size: 20px;
}

@media screen and (max-width: 640px) {
  .card-carousel {
    margin-left: calc((100vw - var(--carousel-min-width) - 40px) / 2);
  }
}

.card-carousel.smooth-return {
  transition: all .2s ease;
}

.card-carousel .card {
  background: linear-gradient(135deg, #f3e9dc 0%, #e2cdb0 100%);
  width: var(--card-width);
  max-width: var(--card-max-width);
  text-align: center;
  padding: 1em;
  min-width: 250px;
  height: var(--card-height);
  position: absolute;
  margin: 0 auto;
  color: #3e121c;
  transition: inherit;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  border-radius: 1em;
  filter: brightness(.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.card.highlight {
  filter: brightness(1);
  transform: scale(1.05);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.image-container {
  width: 8em;
  height: 8em;
  position: relative;
  background-size: cover;
  margin-bottom: 2em;
  border-radius: 100%;
  padding: 1em;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.3);
  border: 3px solid rgba(62, 18, 28, 0.2);
}

.image-container::after {
  content: "";
  display: block;
  width: 120%;
  height: 120%;
  border: solid 3px rgba(62, 18, 28, 0.15);
  border-radius: 100%;
  position: absolute;
  top: calc(-10% - 3px);
  left: calc(-10% - 3px);
}

/* ===== cards ===== */
.stats-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 25px;
        max-width: 1000px;
        margin: 0 auto;
        padding: 0 20px;
      }

      .stat-card {
        background: linear-gradient(135deg, #f3e9dc 0%, #e2cdb0 100%);
        border-radius: 20px;
        padding: 35px 25px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        transition: all 0.3s ease;
        cursor: pointer;
        border: 1px solid rgba(255, 255, 255, 0.5);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
      }

      .stat-card:hover {
        transform: translateY(-8px) scale(1.02);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
        background: linear-gradient(135deg, #f3e9dc 0%, #d4b89e 100%);
      }

      .stat-icon {
        font-size: 3.5rem;
        margin-bottom: 15px;
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
      }

      .stat-number {
        font-size: 2.5rem;
        font-weight: 700;
        color: #5a1a2a;
        margin-bottom: 8px;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
      }

      .stat-label {
        font-size: 1rem;
        color: #7d2e40;
        font-weight: 600;
        text-align: center;
      }

/* ================= GALERIA DE VÍDEOS ================= */
.video-gallery {
  margin: 40px 20px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.video-gallery h2 {
  color: #f3e9dc;
  margin-bottom: 20px;
  font-size: 2em;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.videos-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.video-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 200px;
  transition: transform 0.3s ease;
}

.video-item:hover {
  transform: translateY(-8px);
}

.video-item video {
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(243, 233, 220, 0.2);
}

.video-item p {
  color: #f3e9dc;
  margin-top: 8px;
  font-size: 0.9em;
}

/* ================= SEÇÃO TEXTO BEM-VINDO ================= */
.texo-bem-vindo {
  max-width: 900px;
  margin: 80px auto;
  padding: 40px 25px;
  background: linear-gradient(135deg, rgba(62, 18, 28, 0.6) 0%, rgba(89, 31, 42, 0.4) 100%);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  text-align: center;
  color: #f3e9dc;
  font-family: 'Montserrat', sans-serif;
  border: 1px solid rgba(243, 233, 220, 0.2);
  position: relative;
  z-index: 1;
}

.texo-bem-vindo h1 {
  font-size: 2.8em;
  font-weight: 700;
  margin-bottom: 25px;
  line-height: 1.2;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #f3e9dc, #e2cdb0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.texo-bem-vindo p {
  font-size: 1.2em;
  line-height: 1.8;
  margin-bottom: 20px;
}

.texo-bem-vindo ul {
  list-style: none;
  padding: 0;
  margin: 30px auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 650px;
}

.texo-bem-vindo ul li {
  background: rgba(243, 233, 220, 0.15);
  backdrop-filter: blur(5px);
  padding: 12px 20px 12px 50px;
  border-radius: 12px;
  font-size: 1.1em;
  font-weight: 500;
  position: relative;
  transition: all 0.3s ease;
  border: 1px solid rgba(243, 233, 220, 0.1);
}

.texo-bem-vindo ul li::before {
  content: "✔";
  position: absolute;
  left: 20px;
  color: #e2cdb0;
  font-weight: bold;
  font-size: 1.2em;
}

.texo-bem-vindo ul li:hover {
  transform: translateX(10px);
  background: rgba(243, 233, 220, 0.25);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* ================= MENU MOBILE ================= */
.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 24px;
  color: #f3e9dc;
  right: 0;
  position: relative;
  transition: transform 0.3s ease;
}

.menu-toggle:hover {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .menu {
    display: none;
    flex-direction: column;
    background: linear-gradient(135deg, rgba(89, 31, 42, 0.98) 0%, rgba(125, 46, 64, 0.98) 100%);
    backdrop-filter: blur(15px);
    position: absolute;
    top: 70px;
    right: -250px;
    width: 250px;
    height: 30vh;
    transition: right 0.3s ease;
    border-radius: 0 0 0 20px;
    text-align: center;
    padding-top: 50px;
    box-shadow: -4px 4px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(243, 233, 220, 0.1);
  }

  .menu.show {
    display: flex;
    right: 0;
  }

  .menu-toggle {
    display: block;
  }
}

/* ================= RESPONSIVIDADE ================= */
@media screen and (max-width: 480px) {
  .servico-section {
    padding: 20px;
    margin: 40px 15px;
  }
  .galeria img {
    width: 100%;
    height: auto;
  }
  
  .hero-text {
    padding: 30px 40px;
  }
  
  .hero-text h1 {
    font-size: 2em;
  }
  
  .texo-bem-vindo {
    margin: 40px 15px;
    padding: 30px 20px;
  }
  
  .texo-bem-vindo h1 {
    font-size: 2em;
  }
}