/* =============================================
   WELLNESS ACADEMIA - CSS Principal
   Versão limpa e otimizada
   ============================================= */

@font-face {
  font-family: 'Ethnocentric Rg';
  src: url('../fonts/Ethnocentric-Rg.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---- Reset & Base ---- */
.body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

/* ---- Layout ---- */
.container {
  width: 90%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.container.big { max-width: 1400px; }

/* ---- Navbar ---- */
.navbar {
  background-color: #fff;
  padding-top: 16px;
  padding-bottom: 16px;
}
.div-block {
  justify-content: space-between;
  align-items: center;
  display: flex;
}
.image {
  width: 120px;
  height: 90px;
}
.navbar__box {
  justify-content: flex-start;
  align-items: center;
  display: flex;
}
.navbar__link {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: color 0.2s;
}
.navbar__link:hover { color: #ea3335; }
.navbar__link.btn {
  text-align: center;
  background-color: #ffcc2a;
  border-radius: 100px;
  width: 147px;
  height: 48px;
  margin-left: 20px;
  padding-top: 15px;
  padding-bottom: 15px;
  font-weight: 600;
  transition: background-color 0.2s, transform 0.2s;
}
.navbar__link.btn:hover {
  background-color: #e6b800;
  transform: scale(1.03);
}
.navbar__link.active-link { color: #ea3335; font-weight: 600; }

/* ---- Banner/Hero ---- */
.banner {
  background-image: url('../images/ChatGPT-Image-3-de-abr.-de-2025-08_57_58.png');
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  flex-flow: column;
  justify-content: center;
  align-items: stretch;
  height: 700px;
  display: flex;
  position: relative;
}
.h1 {
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 128px;
  font-style: italic;
  font-weight: 700;
  line-height: 130px;
}
.text-span { color: #ffcc2a; }
.image-2 {
  width: 570px;
  position: absolute;
  inset: auto 10% 0% auto;
}

/* ---- Sections ---- */
.section { padding: 60px 0; }
.section.background { background-color: #f7f7f7; }
.section.background.red { background-color: #ea3335; }

/* ---- Typography ---- */
.h2 {
  color: #ffcc2a;
  font-family: 'Ethnocentric Rg', Arial, sans-serif;
  font-style: italic;
  font-weight: 700;
}
.h2.center { text-align: center; margin-bottom: 20px; }
.h2.center.red, .h2.red { color: #ec3237; }

.paragraph {
  font-size: 20px;
  font-weight: 300;
  line-height: 1.6;
}
.paragraph.center { text-align: center; }
.paragraph.bold { font-weight: 700; }
.paragraph.white { color: #fff; margin-bottom: 0; font-size: 18px; }
.paragraph.horario {
  border: 2px solid #ec3237;
  border-radius: 10px;
  margin-bottom: 20px;
  padding: 20px;
  font-weight: 700;
}
.paragraph.horario.ult { margin-bottom: 40px; }

/* ---- Sobre Nós ---- */
.box__sobre {
  gap: 50px;
  flex-flow: row;
  justify-content: center;
  align-items: center;
  display: flex;
}
.sobre__title { width: 100%; }

/* ---- Serviços ---- */
.servicos__box {
  justify-content: space-between;
  align-items: center;
  display: flex;
}
.servicos__title { width: 45%; }
.servicos__list {
  font-size: 20px;
  font-weight: 300;
  line-height: 26px;
}
.servios__img-img {
  width: 550px;
  height: auto;
  max-height: 640px;
  border-radius: 16px;
}

/* ---- Equipe ---- */
.equipe__box {
  grid-column-gap: 10px;
  grid-row-gap: 10px;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  display: flex;
}
.equipe__cards {
  width: 219px;
}
.equipe__professores {
  color: #fff;
  text-transform: uppercase;
  background-color: #ea3335;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
  margin-bottom: 0;
  padding: 18px;
  font-size: 14px;
  font-weight: 500;
}
.equipe__img {
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  box-shadow: 0 0 20px -6px #0003;
}

/* ---- Fotos / Galeria ---- */
.galeria__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 10px;
}
.galeria__item {
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
  transition: transform 0.3s, box-shadow 0.3s;
}
.galeria__item:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.galeria__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Lightbox */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}
.lightbox-overlay.active { display: flex; }
.lightbox-overlay img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  animation: zoomIn 0.3s ease;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  background: none;
  border: none;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
  z-index: 10001;
}
.lightbox-close:hover { transform: scale(1.2); }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  font-size: 28px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 10001;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.3); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes zoomIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }

/* ---- Método D+E+P=R ---- */
.dep__box {
  justify-content: center;
  align-items: center;
  display: flex;
}
.dep__img {
  width: 90%;
  max-width: 802px;
  height: auto;
  border-radius: 16px;
}
.dep__resultado {
  gap: 20px;
  color: #fff;
  text-transform: uppercase;
  background-color: #ec3237;
  border-radius: 10px;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  padding: 40px;
  font-family: 'Ethnocentric Rg', Arial, sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 50px;
  display: flex;
}
.text-span-2 { font-size: 40px; }
.paragraph-2 { width: 54%; }
.paragraph-2.mobile { display: none; }
.paragraph-3 {
  gap: 22px;
  justify-content: flex-start;
  align-items: center;
  font-size: 90px;
  font-style: italic;
  display: flex;
}

/* ---- Funcionamento ---- */
.funcionamento__box {
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  display: flex;
}
.funcionamento__title { width: 50%; }
.funcionamento__img-img {
  width: 569px;
  height: auto;
  border-radius: 16px;
}

/* ---- Localização ---- */
.localizacao__box {
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  margin-top: 50px;
  display: flex;
}
.localizacao__map {
  border-radius: 20px;
  width: 100%;
  max-width: 50%;
  height: 100%;
  min-height: 400px;
  overflow: hidden;
}

/* ---- Depoimentos ---- */
.depoimentos__box {
  gap: 20px;
  justify-content: space-around;
  align-items: stretch;
  margin-top: 80px;
  display: flex;
}
.depoimento__card {
  gap: 20px;
  background-color: #fff;
  border-radius: 10px;
  flex-flow: column;
  justify-content: center;
  align-items: flex-start;
  width: 313px;
  min-height: 360px;
  padding: 60px 20px 30px;
  display: flex;
  position: relative;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.depoimento__img {
  width: 100px;
  height: 100px;
  margin-left: auto;
  margin-right: auto;
  position: absolute;
  inset: -10% 0% auto;
}

/* ---- Contato ---- */
.contato__box {
  justify-content: space-between;
  display: flex;
}
.contato__title { width: 40%; }
.contato__box-links {
  gap: 20px;
  flex-flow: wrap;
  justify-content: space-between;
  align-items: center;
  display: flex;
}
.contato__link {
  color: #000;
  font-size: 16px;
  text-decoration: none;
  transition: color 0.2s;
}
.contato__link:hover { color: #ea3335; }
.contato__form {
  width: 520px;
  max-width: 600px;
}
.contato__form-label { font-weight: 400; }
.contato__input {
  border: 1px solid #ea3335;
  border-radius: 6px;
  transition: box-shadow 0.2s;
}
.contato__input:focus {
  box-shadow: 0 0 0 3px rgba(234,51,53,0.15);
  outline: none;
}
.submit-button {
  background-color: #2ecc71;
  border-radius: 6px;
  font-size: 16px;
  transition: background-color 0.2s, transform 0.2s;
}
.submit-button:hover {
  background-color: #27ae60;
  transform: translateY(-1px);
}

/* ---- Footer ---- */
.footer { background-color: #000; }
.footer__box {
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  display: flex;
}

/* ---- Floating Buttons ---- */
.div-block-8 {
  z-index: 9999;
  gap: 12px;
  flex-flow: column;
  display: flex;
  position: fixed;
  inset: auto 37px 47px auto;
}
.image-9 {
  width: 60px;
  height: 60px;
  transition: transform 0.2s;
}
.image-9:hover { transform: scale(1.1); }

/* ---- CTA Button ---- */
.link {
  color: #fff;
  background-color: #2ecc71;
  border-radius: 6px;
  margin-top: 20px;
  padding: 10px 20px;
  font-size: 18px;
  line-height: 24px;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.2s, transform 0.2s;
}
.link:hover {
  background-color: #27ae60;
  transform: translateY(-2px);
}

/* ============ RESPONSIVE ============ */

@media screen and (max-width: 991px) {
  .div-block { justify-content: space-between; align-items: center; }
  .banner { overflow: hidden; }
  .h1 { font-size: 110px; line-height: 100px; }
  .image-2 { width: 570px; inset: 13% -29% 0% auto; }
  .servicos__box { gap: 20px; flex-flow: column; }
  .servicos__title { width: auto; }
  .servios__img-img { width: 100%; max-width: 675px; }
  .equipe__box { flex-flow: wrap; }
  .equipe__cards { width: 90%; max-width: 220px; }
  .dep__resultado { flex-flow: column; }
  .text-span-2 { font-size: 48px; }
  .paragraph-2 { text-align: center; width: 260px; display: none; }
  .paragraph-2.mobile { width: auto; display: block; }
  .paragraph-3 { flex-flow: column; justify-content: center; align-items: center; }
  .funcionamento__img-img { width: 375px; }
  .contato__form { width: 100%; }
  .contato__box { gap: 20px; justify-content: space-between; align-items: center; }
  .div-block-2 { width: 60%; }
  .galeria__grid { grid-template-columns: repeat(2, 1fr); }
}

@media screen and (max-width: 767px) {
  .banner { justify-content: flex-start; }
  .h1 { margin-top: 70px; font-size: 90px; }
  .box__sobre { flex-flow: column; }
  .h2 { text-align: center; }
  .paragraph { font-size: 16px; }
  .image-2 { width: 400px; top: 43%; right: -1%; }
  .servicos__img { text-align: center; }
  .servicos__list { font-size: 16px; }
  .servios__img-img { width: 90%; max-width: 650px; }
  .funcionamento__box { flex-flow: column; }
  .funcionamento__title { width: 100%; }
  .funcionamento__img-img { width: 90%; }
  .funcionamento__img { text-align: center; }
  .localizacao__box { flex-flow: column; }
  .localizacao__map { max-width: 100%; height: 300px; min-height: 300px; }
  .depoimentos__box { flex-flow: column; align-items: center; }
  .depoimento__card { height: auto; min-height: auto; margin-top: 50px; }
  .depoimento__img { top: -17%; }
  .contato__box-links { flex-flow: wrap; }
  .contato__title { width: auto; }
  .contato__box { gap: 40px; flex-flow: column; }
  .div-block-2 { width: 100%; }
  .div-block-8 { bottom: 30px; right: 17px; }
  .galeria__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

@media screen and (max-width: 479px) {
  .banner { height: 490px; padding-top: 41px; }
  .h1 { text-align: center; margin-top: 0; font-size: 50px; line-height: 60px; }
  .box__sobre { gap: 30px; }
  .h2.center { font-size: 24px; }
  .paragraph { font-size: 18px; }
  .image-2 { width: 290px; margin: 0 auto; inset: auto 0% 0%; }
  .servicos__list { font-size: 16px; }
  .equipe__box { grid-column-gap: 20px; grid-row-gap: 20px; justify-content: space-between; align-items: center; }
  .equipe__cards { margin-left: auto; margin-right: auto; }
  .dep__img { height: auto; }
  .text-span-2 { font-size: 30px; }
  .paragraph-2.mobile { font-size: 32px; line-height: 38px; }
  .paragraph-3 { font-size: 70px; }
  .funcionamento__img-img { width: 100%; }
  .localizacao__map { height: 200px; }
  .depoimentos__box { margin-top: 40px; }
  .contato__box { gap: 30px; }
  .div-block-8 { z-index: 10; }
  .galeria__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
}
