/* HEADER MELHORADO */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  background: rgba(10, 10, 10, 0.92);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.18);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 40px;
  backdrop-filter: blur(4px);
}

.logo img {
  height: 54px;
  filter: drop-shadow(0 2px 8px #222);
}

.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: #ffff00;
}

/* HERO MELHORADO */
.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
}
.hero-bg {
  width: 100vw;
  min-height: 420px;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("img/foto_povoa.jpg") center/cover no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  padding: 60px 20px 50px 20px;
  padding-top: 0px;
  padding-bottom: 130px;
}
.hero h1 {
  color: #fff;
  font-size: 2.8rem;
  font-family: "Bebas Neue", sans-serif;
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 2px 2px 10px #000;
}
.hero button {
  background: #ffff00;
  color: #181818;
  border: none;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: bold;
  padding: 16px 44px;
  box-shadow: 0 2px 12px rgba(255, 255, 0, 0.1);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.hero button:hover {
  background: #ffe600;
  color: #181818;
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(255, 255, 0, 0.18);
}

/* SEÇÕES MELHORADAS */
section {
  background: rgba(20, 20, 20, 0.96);
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  padding: 32px 24px 24px 24px;
  margin: 0 auto 60px auto;
  max-width: 1100px;
  animation: fadeInUp 1s ease forwards;
  opacity: 0;
  scroll-margin-top: 110px;
}
section h2 {
  color: #ffff00;
  font-family: "Bebas Neue", sans-serif;
  font-size: 2.1rem;
  margin-bottom: 24px;
  text-align: center;
}

/* GALERIA MELHORADA */
.galeria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  justify-items: center;
}
.galeria-img {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 12px;
  background: #222;
  border: 2px solid transparent;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
  transition: border 0.18s, box-shadow 0.18s, opacity 0.4s;
  opacity: 0;
  animation: fadeInImg 0.7s forwards;
}
.galeria-img:hover {
  border: 2px solid #ffff00;
  box-shadow: 0 2px 12px rgba(255, 255, 0, 0.1);
  z-index: 2;
}
@keyframes fadeInImg {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* LIGHTBOX MELHORADO */
.lightbox {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 10, 10, 0.96);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  animation: fadeInUp 0.4s;
}
.lightbox.active {
  display: flex;
}
.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 14px;
  box-shadow: 0 8px 40px rgba(255, 255, 0, 0.1);
  margin-bottom: 20px;
  background: #222;
  object-fit: contain;
  transition: box-shadow 0.2s;
}
.lightbox-img.zoomed {
  cursor: zoom-out;
  transform: scale(1.7);
  z-index: 2200;
}
.lightbox-close {
  position: absolute;
  top: 32px;
  right: 48px;
  color: #ffff00;
  font-size: 2.8rem;
  font-weight: bold;
  cursor: pointer;
  z-index: 2100;
  transition: color 0.2s;
}
.lightbox-close:hover {
  color: #fff;
}
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: #ffff00;
  border: none;
  border-radius: 50%;
  width: 54px;
  height: 54px;
  font-size: 2rem;
  cursor: pointer;
  z-index: 2100;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-prev:hover,
.lightbox-next:hover {
  background: #222;
}
.lightbox-prev {
  left: 40px;
}
.lightbox-next {
  right: 40px;
}

@media (max-width: 700px) {
  .lightbox-next,
  .lightbox-prev {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }
  .lightbox-next {
    right: 12px;
    left: auto;
  }
  .lightbox-prev {
    left: 12px;
    right: auto;
  }
}

/* --- GALERIA E LIGHTBOX MOBILE --- */
@media (max-width: 700px) {
  .galeria-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 0 2vw;
  }
  .galeria-img {
    max-width: 100vw;
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(255, 255, 0, 0.1);
    margin: 0 auto;
  }
  #galeria {
    padding: 10px 0 10px 0;
    border-radius: 12px;
    margin-bottom: 40px;
    max-width: 99vw;
  }
  .lightbox {
    padding: 0;
    align-items: center;
    justify-content: center;
  }
  .lightbox-img {
    max-width: 98vw;
    max-height: 65vh;
    border-radius: 12px;
    margin-bottom: 10px;
  }
  .lightbox-prev,
  .lightbox-next {
    width: 38px;
    height: 38px;
    font-size: 1.3rem;
    top: 55%;
    left: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.85);
  }
  .lightbox-prev {
    left: 8px;
    right: auto;
  }
  .lightbox-next {
    right: 8px;
    left: auto;
  }
  .lightbox-close {
    top: 10px;
    right: 14px;
    font-size: 2.1rem;
    background: none;
    color: #ffff00;
  }
}

/* Melhorias gerais para toque */
.galeria-img {
  cursor: pointer;
  touch-action: manipulation;
}
.lightbox-img {
  touch-action: pan-x pan-y;
}
.lightbox-prev,
.lightbox-next,
.lightbox-close {
  touch-action: manipulation;
}

/* --- FIM MELHORIAS MOBILE --- */

/* BOTÃO DE TOPO */
#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #ffff00;
  color: #181818;
  box-shadow: 0 4px 12px rgba(252, 255, 25, 0.2);
  border: none;
  padding: 14px 16px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1000;
  font-size: 1.7rem;
  display: none;
  transition: background 0.3s, color 0.3s;
}
#scrollTopBtn:hover i {
  color: #ffff00;
}

#scrollTopBtn:hover {
  background-color: #181818;
  color: #ffff00;
}

/* RODAPÉ MELHORADO */
footer {
  background: #111;
  padding: 24px 0 16px 0;
  text-align: center;
  font-size: 1rem;
  color: #aaa;
  border-top: 1px solid #222;
  margin-top: 40px;
}
/* RESET & BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: #fff;
  background-color: #000;
}

/* ANIMAÇÕES */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* HEADER */
header {
  background: #000;
  padding: 15px 30px;
  position: fixed;
  top: 0;
  width: 100%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}

.logo {
  height: 60px;
}
.logo img {
  height: 100%;
  object-fit: contain;
}

nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

nav a {
  font-size: 1.3rem;
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  transition: color 0.3s;
}

nav a:hover {
  color: #ffff00;
}

/* HERO */
.hero {
  position: relative; /* necessário para posicionamento do fundo */
  width: 100vw;
  max-width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding: 10px 20px;
  overflow: hidden;
}

.hero-bg {
  position: relative;
  top: 50px;
  bottom: 10px;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("img/foto_povoa.jpg") center/cover no-repeat;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
  transition: background-image 1s ease-in-out;
}

.hero h1 {
  margin-top: 250px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
  font-size: 4.5rem;
  font-family: "Bebas Neue", sans-serif;
  color: #fff;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
  animation: fadeInUp 1.2s ease forwards;
  opacity: 0;
}

.hero button {
  margin-top: 20px;
  padding: 18px 48px;
  background: #ffc300;
  color: #000;
  border: none;
  cursor: pointer;
  font-size: 1.3rem;
  font-weight: bold;
  border-radius: 6px;
  transition: background 0.3s;
  animation: fadeInUp 1.6s ease forwards;
  opacity: 0;
  box-shadow: 0 2px 8px rgba(255, 195, 0, 0.4);
}

.hero button:hover {
  background: #ffff00;
}

/* SECTIONS */

section {
  padding: 20px 20px 10px;
  max-width: 1100px;
  margin: 0 auto 60px auto;
  background: rgba(20, 20, 20, 0.92);
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  animation: fadeInUp 1s ease forwards;
  opacity: 0;
  scroll-margin-top: 100px;
}

.servico {
  margin-bottom: 40px;
  background-color: #181818;
  padding: 28px 32px;
  border-left: 6px solid #ffff00;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(255, 255, 0, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}
.servico:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 8px 32px rgba(255, 255, 0, 0.18);
}
.servico h3 {
  font-size: 1.8rem;
  margin-bottom: 12px;
  color: #ffff00;
  font-family: "Bebas Neue", "Poppins", sans-serif;
  letter-spacing: 1px;
}
.servico ul {
  list-style: disc inside;
  padding-left: 10px;
}
.servico ul li {
  margin-bottom: 7px;
  font-size: 1.2rem;
  color: #eee;
}

section h2 {
  margin-bottom: 20px;
  font-size: 2rem;
  color: #ffff00;
}

/* HORÁRIO */
#horario {
  padding: 20px 20px;
  max-width: 1100px;
  margin: 0 auto 60px auto;
  background: rgba(20, 20, 20, 0.92);
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  animation: fadeInUp 1s ease forwards;
  opacity: 0;
  scroll-margin-top: 100px;
}

#horario h2 {
  margin-bottom: 40px;
  font-size: 2.4rem;
  color: #ffff00;
  font-family: "Bebas Neue", sans-serif;
  text-align: center;
}

.horario-grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.horario-card {
  background-color: #181818;
  padding: 30px;
  border-left: 6px solid #ffff00;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(255, 255, 0, 0.1);
  transition: transform 0.2s ease;
  min-width: 250px;
  max-width: 300px;
  text-align: center;
}

.horario-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(252, 255, 25, 0.2);
}

.horario-card h3 {
  font-family: "Bebas Neue", sans-serif;
  color: #ffff00;
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.horario-card ul {
  list-style: none;
  padding: 0;
}

.horario-card li {
  font-size: 1.1rem;
  color: #eee;
}

.obs {
  font-size: 0.9rem;
  color: #bbb;
}

#espaco {
  padding: 20px 20px;
  max-width: 1100px;
  margin: 0 auto 60px auto;
  background: rgba(20, 20, 20, 0.92);
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  animation: fadeInUp 1s ease forwards;
  opacity: 0;
  scroll-margin-top: 100px;
  text-align: center;
}

#espaco h2 {
  margin-bottom: 20px;
  font-size: 2rem;
  color: #fcff19;
}

.espaco-video {
  position: relative;
  padding-top: 56.25%; /* 16:9 ratio */
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

.espaco-video video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#sobre h2 {
  text-align: center;
}

.sobre-nos-container {
  text-align: center;
}

.morada {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.mapa-container iframe {
  width: 100%;
  border: 2px solid #ffff00;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(255, 255, 0, 0.15);
}

#contacto {
  background: rgba(20, 20, 20, 0.92);
  border-radius: 18px;
  padding: 20px 30px;
  margin: 60px auto;
  max-width: 1100px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

#contacto h2 {
  text-align: center;
  color: #ffff00;
  font-size: 2.2rem;
  margin-bottom: 40px;
}

.contacto-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
}

.contacto-info {
  flex: 1;
  min-width: 260px;
  margin-right: 8px;
  color: #ffff00;
}

.contacto-info p {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #fff;
}

.contacto-info a {
  color: #fcff19;
  text-decoration: none;
}

.contacto-info a:hover {
  text-decoration: underline;
}

.contacto-cta {
  flex: 1;
  min-width: 260px;
  text-align: center;
}

.contacto-cta p {
  margin-bottom: 15px;
  font-size: 1.2rem;
  font-weight: 500;
}

.botao-contacto {
  display: inline-block;
  background-color: #fcff19;
  color: #000;
  font-weight: bold;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(252, 255, 25, 0.15);
  transition: background 0.3s ease;
}

.botao-contacto:hover {
  background-color: #ffe600;
  box-shadow: 0 6px 24px rgba(255, 255, 0, 0.18);
}

/* Ícone do Instagram */
.botao-contacto i {
  margin-right: 8px;
}

/* FOOTER */
footer {
  background: #111;
  padding: 20px;
  text-align: center;
  font-size: 0.9rem;
  color: #aaa;
}

#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #fcff19;
  color: #181818;
  box-shadow: 0 4px 12px rgba(252, 255, 25, 0.2);
  border: none;
  padding: 14px 16px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1000;
  font-size: 1.7rem;
  display: none;
  transition: background 0.3s, color 0.3s;
}

#scrollTopBtn i {
  color: #181818;
  font-size: 1.7rem;
  font-weight: bold;
  vertical-align: middle;
  transition: color 0.2s;
}

#scrollTopBtn:hover i {
  color: #ffff00;
}

#scrollTopBtn:hover {
  background-color: #181818;
  color: #ffff00;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  background-color: #fcff19;
  height: 3px;
  border-radius: 2px;
  width: 100%;
}

/* Menu mobile por padrão escondido */
.nav-links {
  display: flex;
  gap: 30px;
}

#overlay {
  display: none;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    flex-direction: column;
    background: #000;
    height: 100%;
    width: 250px;
    padding: 80px 30px;
    gap: 24px;
    transition: right 0.3s ease;
    z-index: 1000;
  }

  .nav-links.open {
    right: 0;
  }

  #overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
  }

  #overlay.active {
    display: block;
  }

  .hero {
    margin-top: 10px; /* ajuste este valor conforme a altura do seu header */
    height: auto;
    min-height: unset;
    padding: 0 0 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    background: none;
  }
  .hero-bg {
    position: relative;
    width: 98vw;
    max-width: 500px;
    height: 515px;
    margin: 30px auto 0 auto;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .hero h1,
  .hero button {
    position: center;
    font-size: 2.5rem;
    width: 80%;
    max-width: 90vw;
    margin: 0 auto;
    left: unset;
    top: unset;
    transform: none;
    z-index: 2;
    text-align: center;
  }
  .hero h1 {
    font-size: 2.1rem;
    margin-top: 60px;
    margin-bottom: 25px;
    color: #fff;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
    line-height: 1.2;
    align-items: center;
  }
  .hero button {
    margin: 0 auto;
    font-size: 1.1rem;
    padding: 14px 30px;
    z-index: 2;
    position: static;
    display: block;
  }
}

/* GALLERY */
#galeria {
  padding: 20px 20px 10px;
  max-width: 1100px;
  margin: 0 auto 60px auto;
  background: rgba(20, 20, 20, 0.92);
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  animation: fadeInUp 1s ease forwards;
  opacity: 0;
  scroll-margin-top: 100px;
}

#galeria h2 {
  margin-bottom: 20px;
  font-size: 2rem;
  color: #ffff00;
  text-align: center;
}

.galeria-bloco {
  margin-bottom: 30px;
}

.galeria-bloco h3 {
  color: #fff;
  margin-bottom: 10px;
  font-size: 1.3rem;
  text-align: left;
}

.galeria-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.galeria-grid img {
  width: 220px;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(255, 255, 0, 0.08);
  transition: transform 0.2s;
}

.galeria-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(255, 255, 0, 0.18);
}

/* INTERIOR PREMIUM */
#interior-premium {
  padding: 30px 20px 30px;
  max-width: 1200px;
  margin: 0 auto 60px auto;
  background: linear-gradient(120deg, #181818 80%, #222 100%);
  border-radius: 22px;
  box-shadow: 0 12px 40px rgba(255, 255, 0, 0.07);
  animation: fadeInUp 1s ease forwards;
  opacity: 0;
  scroll-margin-top: 100px;
}

#interior-premium h2 {
  color: #ffff00;
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 28px;
  font-family: "Bebas Neue", "Poppins", sans-serif;
  letter-spacing: 1px;
}

.carousel-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 6px 32px rgba(255, 255, 0, 0.1);
  background: #111;
  /* remove qualquer altura fixa */
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.18, 1);
}

.carousel-img {
  width: 100%;
  height: auto;
  max-height: 600px; /* opcional: limita a altura máxima para não ficar gigante em ecrãs grandes */
  object-fit: contain; /* mostra a imagem inteira, sem cortar */
  opacity: 0;
  transition: opacity 0.5s;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(255, 255, 0, 0.08);
  display: none;
}

.carousel-img.active {
  opacity: 1;
  display: block;
  margin: 0 auto;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: #ffff00;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  background: #222;
}

.carousel-btn.prev {
  left: 16px;
}
.carousel-btn.next {
  right: 16px;
}

/* Secção Treino Experimental */
.treino-experimental {
  padding: 20px 20px;
  margin: 0 auto 60px auto;
  background: #181818;
  text-align: center;
  border-radius: 18px;
  max-width: 1100px;
  box-shadow: 0 4px 24px rgba(255, 255, 9, 0.8);
}
@media (max-width: 700px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    flex-direction: column;
    background: rgba(20, 20, 20, 0.97);
    height: 100vh;
    width: 80vw;
    max-width: 320px;
    padding: 100px 0 0 0;
    gap: 0;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
    border-radius: 0 0 18px 18px;
    transition: right 0.3s cubic-bezier(0.77, 0, 0.18, 1);
    z-index: 1000;
    text-align: center;
    animation: fadeInUp 0.5s;
  }
  .nav-links.open {
    right: 0;
  }
  .nav-links a {
    background: transparent;
    color: #fff;
    display: block;
    padding: 22px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
    margin: 0;
    width: 100%;
    transition: background 0.2s, color 0.2s;
  }
  .nav-links a:hover {
    background: #222;
    color: #ffff00;
  }
  .nav-links a:last-child {
    border-bottom: none;
  }
  #overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 999;
    transition: opacity 0.3s;
  }
  #overlay.active {
    display: block;
  }
}

.treino-experimental h2 {
  color: #ffff00;
  font-size: 2rem;
  margin-bottom: 18px;
  @media (max-width: 700px) {
    .nav-links {
      background: transparent;
      box-shadow: none;
      border-radius: 0;
    }
    .nav-links a {
      background: transparent;
      color: #fff;
      display: block;
      padding: 18px 24px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      margin: 0;
      width: 100%;
      text-align: left;
    }
    .nav-links a:last-child {
      border-bottom: none;
    }
  }
  @media (max-width: 700px) {
    .nav-links {
      position: fixed;
      top: 0;
      right: -100%;
      flex-direction: column;
      background: rgba(20, 20, 20, 0.97);
      height: 100vh;
      width: 80vw;
      max-width: 320px;
      padding: 100px 0 0 0;
      gap: 0;
      box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
      border-radius: 0 0 18px 18px;
      transition: right 0.3s cubic-bezier(0.77, 0, 0.18, 1);
      z-index: 1000;
      text-align: center;
      animation: fadeInUp 0.5s;
    }
    .nav-links.open {
      right: 0;
    }
    .nav-links a {
      background: transparent;
      color: #fff;
      display: block;
      padding: 22px 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      font-size: 1.3rem;
      font-weight: 600;
      text-align: center;
      margin: 0;
      width: 100%;
      transition: background 0.2s, color 0.2s;
    }
    .nav-links a:hover {
      background: #222;
      color: #ffff00;
    }
    .nav-links a:last-child {
      border-bottom: none;
    }
    #overlay {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.55);
      z-index: 999;
      transition: opacity 0.3s;
    }
    #overlay.active {
      display: block;
    }
  }
}

.treino-experimental p {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 28px;
}

.btn-treino-experimental {
  background: #ffff00;
  color: #181818; /* Mantém o texto preto */
  font-weight: bold;
  padding: 16px 38px;
  border-radius: 15px;
  font-size: 1.2rem;
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(255, 255, 0, 0.1);
  transition: background 0.2s, transform 0.2s;
  display: inline-block;
}

.btn-treino-experimental:hover {
  background: #ffe600;
  color: #181818; /* Garante que no hover o texto continua preto */
  box-shadow: 0 8px 32px rgba(255, 255, 0, 0.25);
  transform: scale(1.08);
}

@media (max-width: 900px) {
  .carousel-img {
    height: 240px;
  }
  .carousel-container {
    max-width: 98vw;
  }
}
