/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html.menu-aberto,
body.menu-aberto {
  height: 100%;
  overflow: hidden;
}

/* Fonte base */
body {
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  background-image: #0026ff;
  background-size: cover;
  background-position: center;
  color: #ffffff;
}

/* NAVBAR */
.navbar {
  height: 70px;
  background-color: #4b1024;
  padding: 10px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(255, 255, 255, 0.1);
  border: none;
}

nav {
  display: flex;
  justify-content: space-between; /* separa as duas áreas */
  align-items: center;
}

.menu-btn svg rect {
  fill: #ffffff; /* coloca a cor que você quiser */
}

/* typing dots */
.nathalia-typing {
  display: inline-block;
  margin: 6px 0;
}
.nathalia-typing .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #aaa;
  margin: 0 3px;
  opacity: 0.3;
  animation: n-dot 1s infinite;
}
.nathalia-typing .dot:nth-child(2) {
  animation-delay: 0.12s;
}
.nathalia-typing .dot:nth-child(3) {
  animation-delay: 0.24s;
}
@keyframes n-dot {
  0% {
    opacity: 0.3;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-4px);
  }
  100% {
    opacity: 0.3;
    transform: translateY(0);
  }
}

.menu {
  display: none;
}
.menu.ativo {
  display: block;
}

/* Opcional: posicionar o X */
.menu .fechar {
  position: absolute;
  top: 8px;
  right: 22px;
  background: transparent;
  border: 0;
  font-size: 20px;
  cursor: pointer;
}

.resultados-busca {
  position: absolute;
  top: 70px; /* ajusta conforme sua navbar */
  right: 20px;
  background: transparent;
  color: #000;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  padding: 10px;
  width: 250px;
  max-height: 300px;
  overflow-y: auto;
  display: none; /* escondido por padrão */
  z-index: 9999;
}

.resultados-busca p {
  margin: 5px 0;
  padding: 5px;
  cursor: pointer;
}

.resultados-busca p:hover {
  background: #f0f0f0;
}

/* redes-sociais*/
.redes-sociais,
.redes-icons {
  text-align: center;
  margin-top: 20px;
  padding: 15px 10px;
  border-top: none;
}

.redes-sociais p {
  position: relative;
  font-size: 18px;
  font-weight: 600;
  color: #ff0a52;
  top: -4px;
}

/* garante ícones lado a lado */
.redes-sociais-icons,
.redes-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.redes-sociais a {
  font-size: 40px; /* um pouco maior para destacar */
  color: #ffffff; /* tom vibrante que contrasta com marsala */
  transition: color 0.3s ease, transform 0.2s ease, text-shadow 0.3s ease;
  margin: 1rem 10px;
  display: inline-block;
}

.redes-sociais a:hover {
  color: #ffffff; /* fica branco no hover */
  transform: scale(1.2) rotate(5deg);
  text-shadow: 0 0 10px #ff4d6d, 0 0 20px #ff99aa; /* brilho suave */
}

.search {
  padding: 8px;
  border-radius: 5px;
  border: 1px solid #ccc;
  margin-left: 70rem;
}

.menu-wrapper {
  display: flex;
  align-items: center;
  gap: 15px; /* espaço entre o botão e os links */
}

.menu-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

/* Menu */
.menu {
  display: none;
  position: fixed; /* melhor que absolute pra menu lateral */
  top: 70px;
  left: 0;
  width: 280px;
  height: calc(100% - 70px); /* ocupa o resto da tela abaixo da navbar */
  background-color: #fff;
  border: 1px solid #ddd;
  padding: 19px;
  font-size: 17px;

  overflow-y: auto; /* ativa rolagem se o conteúdo for maior */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 999;
}

#menu .fechar {
  position: absolute;
  top: 27px;
  left: 14rem;
  font-size: 15px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 2001;
}

/* menu aberto */
.menu.ativo {
  display: block;
}

.menu::-webkit-scrollbar {
  width: 6px;
}

.menu::-webkit-scrollbar-track {
  background: transparent;
}

.menu::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 4px;
}

.menu::-webkit-scrollbar-thumb:hover {
  background-color: #999;
}

.menu a {
  display: block;
  text-decoration: none;
  color: #812828;
  transition: background 0.2s;
}

.menu a:hover {
  background-color: #f0f0f0;
}

.menu .categoria {
  font-weight: bold;
  margin-top: 10px;
  margin-bottom: 5px;
  color: #555;
  border-bottom: 1px solid #ddd;
  font-size: 15px;
}

/* Campo de busca */

/* Keyframes */
@keyframes aparecer {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.keyframes {
  position: relative;
  min-height: 75vh; /* ou a altura que quiser */
  background: linear-gradient(-45deg, #e3f2fd, #fce4ec, #fffde7, #e8f5e9);
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
  z-index: 0;
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.resultados-busca {
  position: absolute;
  top: 70px;
  right: 100px;
  background: #ffa0c0;
}

.container {
  max-width: 1200px;
  padding: 20px;
  margin-top: 1%;
  position: relative;
  left: 7rem;
}

.hero-text {
  background: rgb(124 152 181 / 34%);
  padding: 0px 30px;
  border-radius: 12px;
  top: 24rem;
  left: 2rem;
  position: relative;
}

/* Perfil */
.perfil {
  text-align: center;
  padding: 40px 20px;
  background-image: url(img/Imagem-efeito-blur.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  height: 40rem;
}

.perfil h1 {
  font-family: "Great Vibes", cursive;
  font-weight: 400;
  font-size: 50px;
  color: #b3b529;

  /* Sombra mais marcante */
  text-shadow: 2px 2px 4px #00000080, 0 0 10px #af3838, 0 0 20px #fbff00;

  /* Deixa o texto em destaque */
  letter-spacing: 2px; /* espaço entre letras */
  position: relative;
}

.perfil h3 {
  font-size: 1.3rem;
  color: #7c0019;
  top: -0.5rem;
  position: relative;
}

.perfil img.logo {
  max-width: 370px;
  height: 345px;
  border-radius: 50%;
  margin: 20px 0;
  position: relative;
}

.perfil .info h2 {
  font-family: "Arima", system-ui;
  color: #7c0019;
}

form button {
  background-color: #a85d7b;
  color: white;
  padding: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

/* Carrossel Swiper */

.sessao-carrossel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #800000, #a52a4d, #4b001f);
  border-radius: 20px;
  padding: 46px;
  width: 100%;
  max-width: 80rem;

  margin: 40px auto;
  gap: 161px;
  color: white;
  height: 583px;
}

.sessao-carrossel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px; /* dá um respiro entre imagem e texto */
}

/* Caixa da imagem do carrossel */
.container-carrossel-custom {
  width: 59%; /* imagem ocupa mais espaço */
  height: 460px;
  position: relative;
  overflow: hidden;
  left: -2rem;
  left: 0.5rem;
  border-radius: 12px;
}

/* Contêiner dos slides */
.slides-carrossel {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Cada slide */
.slide-item {
  position: absolute; /* todos ocupam o mesmo lugar */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0; /* invisível por padrão */
  transition: opacity 0.5s ease-in-out;
}

.slide-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

/* Slide ativo */
.slide-item.ativo-slide {
  opacity: 1;
  z-index: 1;
}

/* ✨ Texto lateral com contraste ajustado para fundo escuro */
.descricao-carrossel {
  flex: 1;
  max-width: 480px;
  padding: 20px 40px;
  color: #f5f5f5; /* texto principal claro */
}

.descricao-carrossel h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #ffb3c6; /* rosa suave, combina com o tom vinho do fundo */
  margin-bottom: 15px;
  line-height: 1.3;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.descricao-carrossel p {
  font-size: 1.1rem;
  color: #f1f1f1; /* texto claro */
  opacity: 0.9;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 380px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

.descricao-carrossel .btn {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(90deg, #ff4081, #ff79b0);
  color: #fff;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(255, 64, 129, 0.4);
}

.descricao-carrossel .btn:hover {
  background: linear-gradient(90deg, #ff79b0, #ff4081);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 64, 129, 0.6);
}

/* Navegação */
.nav-carrossel {
  display: flex;
  gap: 15px;
  margin-top: 25px;
  justify-content: flex-start; /* mantém no canto esquerdo */
}

.btn-nav {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  transition: 0.3s;
}

.btn-nav:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Texto lateral */
.bloco3 .texto {
  flex: 1;
  max-width: 400px;
}

.bloco3 .texto h2 {
  font-size: 22px;
  margin-bottom: 15px;
}

.bloco3 .texto p {
  margin-bottom: 20px;
  font-size: 16px;
  color: #ddd;
}

.bloco3 .texto .btn {
  display: inline-block;
  padding: 12px 20px;
  background: #00ff99;
  color: #000;
  font-weight: bold;
  text-decoration: none;
  border-radius: 10px;
  transition: 0.3s;
}

.bloco3 .texto .btn:hover {
  background: #00cc77;
}

/* Navegação */
.navigation {
  display: flex;
  gap: 15px;
  margin-top: 25px;
  justify-content: flex-start; /* mantém no canto esquerdo */
}

.nav-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  transition: 0.3s;
}

.nav-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* ===== RESPONSIVO ===== */
@media (max-width: 768px) {
  .bloco3 {
    flex-direction: column;
    padding: 20px;
    text-align: center;
  }

  .caixinha-carrossel-box {
    width: 100%;
    height: 250px; /* menor altura no mobile */
    margin-bottom: 20px;
  }

  .slideBox img {
    object-fit: cover;
  }

  .navigation {
    justify-content: center;
  }

  .nav-btn {
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
  }
}

/* Seções personalizadas */
.personalizada {
  padding: 40px 20px;
  background-color: #f9f9f9;
  border: 2px solid #000; /* borda preta */
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  flex: 1 1 250px;
  max-width: 325px;
}

.personalizada h2 {
  margin-bottom: 15px;
  color: #ff78ae;
}

.personalizada p,
.personalizada ul {
  margin-bottom: 20px;
  font-size: 1.3rem;
}

#servicos,
#servicos1,
#servicos2 {
  position: relative; /* cria contexto para ::before */
  overflow: hidden; /* evita vazamento do blur para fora */
  border: none;
}

#duvidas {
  position: relative; /* cria contexto para o ::before */
  display: block; /* ocupa toda a largura */
  padding: 40px 20px; /* mais espaço interno */
  border-radius: 8px;
  overflow: hidden; /* esconde o ::before que passa */
  color: white;
  font-size: 0.95rem;
  margin: 6.98rem 0 0 0.7rem;
  z-index: 0;

  /* animação */
  opacity: 0;
  transform: translateY(20px);
  animation: aparecer 0.6s forwards;
  animation-delay: 2.3s;
  top: 4.3rem;
}

#duvidas.btn1:hover {
  background: rgb(240, 66, 159);
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

#servicos2 {
  width: 20.8rem;
  height: 29rem;
  border-radius: 10px;
  align-content: center;
  align-items: center;
  position: relative;
  display: block;
}
#servicos2 .btn1 {
  display: inline-block;
  padding: 12px 10px;
  background-color: #e91e63;
  color: rgb(255, 255, 255);
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s, transform 0.3s;

  /* animação diferenciada */
  animation-delay: 2.5s;
}

#servicos2 p {
    font-size: 1.3rem;
    text-align: inherit;
    color: #ffffff;
    position: relative;
    line-height: 1.4;
    margin: 0 auto;
    max-width: 90%;
    backdrop-filter: blur(1px);
    top: 1.5rem;
}


#servicos2 h2 {
  top: 1rem;
  position: relative;
}

#servicos2 .btn1 {
  left: 1rem;
  top: -0.4rem;
}

#servicos2::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/img/imagem7.jpg") center/cover no-repeat;
  filter: blur(4px) brightness(0.6);
  z-index: -1; /* fica atrás do conteúdo */
  transition: transform 0.3s ease;
}

#servicos1::before {
  content: "";
  position: absolute;
  inset: 0; /* top:0; right:0; bottom:0; left:0 */
  background: url("/img/imagem5.jpg") center/cover no-repeat;
  filter: blur(4px) brightness(0.6);
  z-index: -1; /* atrás do conteúdo, mas dentro do contexto do container */
  transition: background 0.1s ease, transform 0.1s ease;
}

#servicos::before {
  content: "";
  position: absolute;
  inset: 0; /* top:0; right:0; bottom:0; left:0 */
  background: url("/img/imagem2.jpg") center/cover no-repeat;
  filter: blur(4px) brightness(0.6);
  z-index: 0; /* atrás do conteúdo, mas dentro do contexto do container */
  transition: background 0.3s ease, transform 0.3s ease;
}

#servicos p,
h2 {
  font-size: 1.3rem;
  font-weight: bold;
  text-align: center;
  margin-top: 0.2rem;
  margin-bottom: 15px;
  color: #ff78ae;
}

#servicos h2,
#servicos p,
#servicos .btn,
#servicos-lista,
#relatos {
  opacity: 0;
  transform: translateY(20px);
  animation: aparecer 0.8s ease forwards;
}

#servicos1 h2 {
  animation-delay: 0.3s;
}

#servicos1 p {
  animation-delay: 0.8s;
}

#servicos h2 {
  animation-delay: 0.3s;
}

#servicos p {
  animation-delay: 0.8s;
}

#servicos-lista {
  animation-delay: 1.1s;
  list-style-type: none;
  padding: 0;
}

#servicos .btn {
  animation-delay: 1.3s;
}

#relatos h2 {
  animation-delay: 0.3s;
}

#relatos p {
  animation-delay: 0.8s;
}

@keyframes aparecer {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.caixinha {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin: 0px auto;
  padding: 20px;
  background-color: #ffe9f0;
  border-radius: 0px;
  border: none;
  gap: 2.5rem;
}
#sobre {
  position: relative;
  flex: 1 1 100%;
  color: #fff;
  border: none;
  border-radius: 16px;
  overflow: hidden;
  z-index: 1;
  height: 29rem;
}

/* Fundo com imagem + blur */
#sobre::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/img/Imagem-efeito-blur.png") center/cover no-repeat;
  filter: blur(4px) brightness(0.6);
  z-index: -1;
}

/* Animação chamativa nos textos */
#sobre h2,
#sobre p,
#sobre a {
  opacity: 0;
  transform: translateY(30px);
  animation: aparecer 1s ease-out forwards;
}

#sobre h2 {
  animation-delay: 0.3s;
  font-weight: bold;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
}

#sobre p {
  animation-delay: 0.6s;
  font-size: 1.3rem;
  margin-top: 10px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

#sobre a {
  animation-delay: 0.9s;
  display: inline-block;
  margin-top: 0.5rem;
  padding: 12px 10px;
  background: #e91e63;
  color: rgb(255, 255, 255);
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95rem;
  transition: background 0.3s, transform 0.3s;
}

#sobre a:hover {
  background: #ff1493;
  transform: scale(1.05);
}

#relatos {
  font-size: 0.95rem;
  display: inline-block;
  background-color: #e91e63;
  color: white;
  border: none;
  padding: 12px 10px;
  border-radius: 8px;
  text-decoration: none;
  top: 2.3rem;
  left: 0.7rem;
  position: relative;
  transition: background 0.3s, transform 0.3s;
  opacity: 0;
  transform: translateY(20px);
  animation: aparecer 0.6s forwards;
  animation-delay: 2.3s;
}

#relatos.btn:hover {
  background: #ff1493;
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

#servicos1 h2,
#servicos2 h2 {
  opacity: 0;
  transform: translateY(20px);
  animation: aparecer 0.6s forwards;
  animation-delay: 1.3s;
}

#servicos1 p,
#servicos2 p {
  opacity: 0;
  transform: translateY(20px);
  animation: aparecer 0.6s forwards;
  animation-delay: 1.8s;
}

/* Botão */
.btn {
  font-size: 0.95rem;
  display: inline-block;
  background-color: #e91e63;
  color: white;
  border: none;
  padding: 12px 10px;
  border-radius: 8px;
  text-decoration: none;
  top: 4.3rem;
  left: 0.7rem;
  position: relative;
}

.btn:hover {
  background-color: #ff1493;
}

/* Container principal */
.health-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffe9f0;
  border-radius: 0px;
  padding: 50px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  gap: 40px;
  margin-bottom: 0px;
}

/* Texto */
.health-text {
  flex: 1;
}

.health-text h1 {
  font-family: "Great Vibes", cursive;
  font-weight: 500;
  font-size: 59px;
  line-height: 2.9rem;
  color: #fb10c8;
  text-shadow: 0 0 10px rgba(255, 78, 80, 0.7), 0 0 20px rgba(255, 78, 80, 0.5),
    0 0 30px rgba(255, 78, 80, 0.3);
  animation: glowPulse 2s infinite alternate;
}

@keyframes glowPulse {
  from {
    text-shadow: 0 0 5px rgba(255, 78, 80, 0.5);
  }
  to {
    text-shadow: 0 0 20px rgba(255, 78, 80, 1);
  }
}

.health-text .blue {
  color: #ff00d4;
}

.health-text p {
  font-family: "Great Vibes", cursive;
  font-size: 2.7rem;
  line-height: 1.6;
  color: #000000;
  margin-bottom: 25px;
  font-weight: 600;
  margin-top: 4rem;
}

/* Imagem / Carrossel */
.health-image {
  flex: 1;
  display: flex;
  justify-content: center;
  width: 433px; /* largura do carrossel */
  height: 400px; /* altura do carrossel */
}

.carousel {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  border-radius: 14px;
}

.slides {
  display: flex;
  gap: 10px;
}

.slides img {
  width: 70%; /* ocupa todo o container do carrossel */
  height: auto; /* ocupa toda altura do carrossel */
  object-fit: cover; /* mantém proporção e recorta se necessário */
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  position: relative;
}

form button {
  background-color: #ab5779;
  color: white;
  padding: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

form button:hover {
  background-color: #8c4a64;
}

/* Footer */
footer {
  position: relative;
  padding: 35px;
  text-align: center;
  z-index: 1;
  overflow: hidden;
  background-image: url(/img/marsala.png);
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--cor-primaria);
  color: var(--cor-texto-claro);
  background-size: cover;
  background-position: center;
  filter: blur(8px);
  z-index: -1;
}

footer .redes-sociais p {
  font-size: 19px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: -20px;
  top: 3px;
}

.redes-icons {
  margin-bottom: 0.5rem;
  margin-top: -0.5rem;
  gap: 0.4rem;
}

.redes-sociais-icons {
  margin-bottom: 1.8rem;
  margin-top: 1.8rem;
  gap: 1.8rem;
}

.logo-footer {
  width: 15rem;
  border-radius: 20px 5px 20px 5px;
  box-shadow: 0 0 40px 10px rgba(255, 77, 109, 0.6); /* luz atrás */
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}

/* Efeito ao passar o mouse */
.logo-footer:hover {
  transform: scale(1.05);
  box-shadow: 0 0 60px 20px rgba(255, 77, 109, 0.9); /* brilho mais forte */
}

/* ==================================
   💻 TABLET — HORIZONTAL (LANDSCAPE)
   De 900px até 1366px
================================== */
@media (min-width: 900px) and (max-width: 1366px) and (orientation: landscape) {
  .container {
    max-width: 90%;
    padding: 20px;
    margin-top: 1%;
    position: relative;
    left: 8rem;
  }
  /* Seu CSS aqui */
  .search {
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #ccc;
    margin-left: 50rem;
  }

  .hero-text {
    background: rgb(124 152 181 / 34%);
    padding: 0px 30px;
    border-radius: 12px;
    top: 24rem;
    left: -7.5rem;
    position: relative;
  }
}

/* =================================================================
   📱📖 RESPONSIVO PARA TABLETS (Galaxy Tab A7 Lite)
   — Viewport real: 800px × 1340px (DPR 2)
   — Faixa ideal: 768px até 1024px
==================================================================== */
@media (min-width: 768px) and (max-width: 1024px) {
  .container {
    max-width: 70%;
    margin: 0 auto;
    padding: 18px;
  }
  /* HERO */
  .hero-text {
    margin-top: 1rem;
  }

  /* NAVBAR */
  .navbar {
    height: auto;
    padding: 12px 22px;
  }

  .menu-wrapper {
    gap: 2.5rem;
  }
  #campoBusca {
    width: 20rem;
    margin-top: 8px;
    left: 0rem;
    position: relative;
    top: 0rem;
  }

/* botão de busca */
    #relatos {
        margin-top: 4%;
        left: 0.7rem;
    }

#servicos2 .btn1 {
        margin-top: 24%;
        position: relative;
    }

    #sobre a {
    margin-top: 6rem;
  }

  /* LOGO */
  .perfil img.logo {
    width: 240px; /* suavizado para tablets médios */
  }

  /* SEÇÕES GRANDES */
  #sobre,
  #servicos,
  #servicos1,
  #servicos2 {
    width: 30rem; /* antes 32rem — ficava grande demais no Tab A7 */
    height: auto;
  }
  
  .menu {
    width: 330px; /* ajustado para ficar proporcional */
    height: calc(100% - 70px);
  }

  .health-text .blue {
    color: #cc0808;
    font-weight: 700;
    font-size: 35px;
    top: 1rem;
    position: relative;
  }

  .health-text p {
    font-family: "Great Vibes", cursive;
    font-size: 2rem;
    line-height: 1.6;
    color: #000000;
    margin-bottom: 25px;
    font-weight: 600;
    top: 0rem;
    position: relative;
}

.slides img {
    width: 90%;
    height: 25rem;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    position: relative;
  }
  /* CARROSSEL */
  .sessao-carrossel {
    padding: 1.2rem;
    gap: 1.4rem;
  }
  
  .container-carrossel-custom {
    width: 78%;
    max-width: 620px;
  }
  
  .descricao-carrossel h2 {
    font-size: 1.5rem;
  }
  
  .descricao-carrossel p {
    font-size: 1.05rem;
    line-height: 1.45;
  }
  
  /* SETAS SWIPER */
  .swiper-button-next,
  .swiper-button-prev {
    font-size: 34px !important;
  }

     #logordp {
       width: 331px;
        max-width: 250rem;
        height: 250px;
        position: relative;
        left: 0rem;
        top: 0rem;
     }
}

  


/* =================== Responsivo para mobile==============================================
   📱📖 */

@media (max-width: 768px) {
  .menu .categoria {
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 5px;
    color: #555;
    border-bottom: 1px solid #ddd;
    font-size: 15px;
    left: 1rem;
    position: relative;
  }

  .container {
    max-width: 100%;
    width: 100%;
    padding: 15px;
    margin: 0 auto;
    position: relative;
    left: 0; /* remove deslocamento lateral */
    top: 0;
  }

  .hero-text {
    left: 0;
    top: 23rem;
    padding: 0px 0px;
    text-align: center;
  }

  .keyframes {
    position: relative;
    min-height: 1rem;
    background: linear-gradient(-45deg, #e3f2fd, #fce4ec, #fffde7, #e8f5e9);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    z-index: 0;
  }

  .navbar {
    height: auto;
    padding: 8px 16px;
  }

  nav {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .menu-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 4rem;
  }

  .search {
    flex: 1;
    width: 100%;
    min-width: 120px;
    margin: 10px 0;
  }

  .menu a {
    display: block;
    text-decoration: none;
    color: #812828;
    transition: background 0.2s;
    left: 0.5rem;
    position: relative;
    padding: 12px;
  }

  .personalizada {
    padding: 20px;
    background-color: #f9f9f9;
    border: 2px solid #000;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    flex: 1 1 100%;
    max-width: 100%;
    height: auto;
  }

  .personalizada ul {
    font-size: 1.2rem;
    font-weight: 400;
    top: 1rem;
    position: relative;
  }

  #sobre,
  #servicos,
  #servicos1 {
    width: 25.8rem;
    height: 22rem;
  }

  #servicos2 {
    width: 45.8rem;
    height: 22rem;
    border-radius: 10px;
    align-content: center;
    align-items: center;
    position: relative;
  }

  #servicos1 p,
  #servicos2 p {
    font-size: 1.2rem;
    font-weight: 400;
    text-align: center;
    margin-top: 0.9rem;
  }

  #servicos2 h2 {
    font-size: 1.4rem;
    font-weight: 900;
    text-align: center;
  }

  #servicos2 .btn1 {
    left: 1rem;
    top: -4.86rem;
  }

  #relatos {
    top: 1.5rem;
    left: 0.7rem;
  }

  .btn {
    top: 2rem;
    left: 0.7rem;
  }

  .perfil {
    background-size: cover;
    background-attachment: scroll;
    padding: 80px 20px;
    text-align: center;
  }

  .perfil img.logo {
    width: 220px;
    height: auto;
  }

  .perfil h1 {
    font-size: 1.8rem;
    margin: 1rem 0;
  }

  .perfil h3 {
    font-size: 1.4rem;
    margin: -0.8rem 0;
  }

  .info h2 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0.5rem 0;
    color: #7c0019;
  }

  .redes-sociais p {
    position: relative;
    font-size: 20px;
    font-weight: 600;
    color: #ff0a52;
    top: -1rem;
  }

  .menu {
    display: none;
    position: fixed;
    top: 71px;
    left: 0;
    width: 280px;
    height: calc(100% - 70px);
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 19px;
    font-size: 19px;
    overflow-y: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

  .contact form {
    width: 100%;
    max-width: 400px;
    height: auto;
    padding: 35px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px auto;
    position: relative;
    left: 0rem;
  }

  .slide-item {
    width: 100%;
    height: 100%;
  }

  .slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* preenche sem distorcer */
    border-radius: 12px;
    display: block;
  }

  /* Texto do carrossel */
  .descricao-carrossel {
    max-width: 100%;
    text-align: left;
    padding: 0 20px;
  }

  .descricao-carrossel h2 {
    font-size: 1.3rem;
    text-align: left;
    margin-bottom: 8px;
  }

  .descricao-carrossel p {
    font-size: 0.95rem;
    color: #f1f1f1;
    opacity: 0.95;
    line-height: 1.5;
    margin-bottom: 20px;
    max-width: 100%;
    text-align: left; /* trocado para alinhar à esquerda */
    letter-spacing: 0.2px; /* mais sutil */
    word-spacing: 0; /* remove o espaçamento extra */
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  }
}

/* Ajusta botões do carrossel */
.nav-carrossel {
  justify-content: flex-start;
}

/* ===== Fix para as setas do Swiper ===== */
.swiper-button-next,
.swiper-button-prev {
  color: #ff0a52 !important; /* garante cor visível */
  font-size: 40px !important; /* garante tamanho */
  z-index: 20 !important; /* fica por cima das imagens */
}

.swiper-button-prev {
  left: -35px !important; /* mantém afastada da esquerda */
}

.swiper-button-next {
  right: -35px !important; /* mantém afastada da direita */
}

/* ===== icons-redes-sociais ===== */
.redes-sociais-icons {
  margin-bottom: 1.8rem;
  margin-top: 1.8rem;
  gap: 1.8rem;
}

.redes-icons {
  margin-bottom: 0.5rem;
  margin-top: -1.5rem;
  gap: 0.4rem;
}

.logo-footer {
  max-width: 180px;
}

/* =================================================================
   📱 RESPONSIVO - até 430px
==================================================================== */

@media (max-width: 430px) {
  .sessao-carrossel {
    flex-direction: column; /* imagem em cima */
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    padding: 1rem;
    gap: 1.2rem;
  }

  .container-carrossel-custom {
    width: 92%;
    max-width: 400px;
    border-radius: 14px;
    overflow: hidden;
    top: 1rem;
  }

  .container-carrossel-custom img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 14px;
    top: 2rem;
    position: relative;
  }

  .descricao-carrossel {
    width: 90%;
    text-align: center;
    color: #fff;
    margin-top: 0.5rem;
  }

  .descricao-carrossel h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffe6ec;
    margin-bottom: 0.5rem;
  }

  .descricao-carrossel p {
    font-size: 1.1rem;
    line-height: 1.5;
    color: #fbeff2;
  }

  .botoes-swiper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
  }

  .swiper-button-prev,
  .swiper-button-next {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
  }

  .swiper-button-prev:hover,
  .swiper-button-next:hover {
    background: rgba(255, 255, 255, 0.3);
  }

  .menu {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 60%;
    padding: 13px 0px 24px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    z-index: 2000;
    background: #fff;
    border: 0;
    box-shadow: none;
    margin-top: 0rem;
  }

  #menu {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 100%;
    height: 65%;
    background: #fff;
    transition: right 0.3s ease;
    z-index: 2000;
  }

  #menu.ativo {
    right: 0;
  }

  #menu .fechar {
    position: fixed;
    top: 89px;
    left: 21rem;
    font-size: 19px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 2001;
  }

  .perfil img.logo {
    width: 280px;
  }

  .perfil h1 {
    font-size: 1.8rem;
    font-weight: 800;
  }

  .swiper-slide img {
    max-height: 100rem;
  }

  .contact .health-card {
    flex-direction: column; /* vira coluna */
    text-align: center; /* centraliza o texto */
    padding: 20px;
  }

  .health-text h1 {
    font-size: 2.4rem;
    margin-bottom: -2rem;
  }

  .health-text p {
    font-size: 1.7rem;
  }

  .health-image {
    margin-top: 20px;
    width: 100%;
  }

  .slides img {
    width: 150px; /* reduz imagens no mobile */
    height: auto;
  }
  /* ajustes dos links das seções */
  #sobre p {
    font-size: 1.2em;
  }

  #sobre a {
    margin-top: 0.3rem;
  }

  #servicos2 p {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.6;
    color: #fff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    margin: 0 auto;
    max-width: 320px;
    top: 2rem;
  }

  #servicos2 p strong {
    color: #ff66a3;
    font-weight: 800;
  }

  #servicos2 .btn1 {
    left: 1rem;
    top: -1.5rem;
  }
}
