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

html.menu-aberto,
body.menu-aberto {
  height: auto; /* libera cálculo correto */
  overflow-x: hidden; /* evita estouro lateral */
  overflow-y: hidden; /* trava apenas o scroll vertical */
}

html {
  scroll-behavior: smooth;
}

/* Fonte base */
body {
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  background: #ffe9f0; /* ALTERADO */
  color: #ffffff; /* Texto escuro para contraste */
}

/* Container principal */
.perfil {
  position: relative;
  text-align: center;
  padding: 40px 0 10px;
  background-image: url("/assets/img/img-principal/Imagem-efeito-blur.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;

  min-height: 90vh;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
}

/* HERO TEXT */
.hero-text {
  background: rgba(124, 152, 181, 0.34);
  padding: 20px 40px;
  border-radius: 12px;
  width: 100%;
  max-width: 52rem;
  margin: 0 auto;
  text-align: center;

  /* estado inicial */
  opacity: 0;
  transform: translateY(30px);

  /* efeito premium */
  transition: opacity 1.6s cubic-bezier(0.4, 0, 0.2, 1),
    transform 1.6s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: 0.9s;

  position: relative;
  z-index: 2;
}

.hero-text.show {
  opacity: 1;
  transform: translateY(0);
}

/* Títulos */
.perfil h1 {
  font-family: "Great Vibes", cursive;
  font-weight: 400;
  font-size: 50px;
  color: #b3b529;
  text-shadow: 2px 2px 4px #00000080, 0 0 10px #af3838, 0 0 20px #fbff00;
  letter-spacing: 2px;
}

.perfil h3 {
  font-size: 1.3rem;
  color: #7c0019;
  margin-top: -5px;
}

.perfil .info h2 {
  font-family: "Arima", system-ui;
  color: #7c0019;
}
/* NAVBAR */
.navbar {
  height: 70px;
  background-color: #4b1024;
  padding: 10px 15px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Campo de busca */
.search {
  padding: 8px 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  width: 150px; /* ajuste como quiser */
  max-width: 60%;
  margin-left: 0; /* remove margens antigas */
}

.resultados-busca {
  position: absolute;
  top: 70px;
  right: 1px;
  border: 1px solid #ccc;
  background: #4b1024;
  border-radius: 0px 0px 12px 12px;
}

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

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

/* ------------- 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 !important; /* 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: 0.5rem 10px;
  display: inline-block;
}

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

/* ================= MENU LATERAL ================= */

.menu {
  display: none;
  position: fixed;
  top: 70px; /* abaixo da navbar */
  left: 0;
  width: 320px;
  height: calc(100% - 70px);
  background-color: #ffffff;
  padding: 16px;
  overflow-y: auto;
  z-index: 999;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

.menu.ativo {
  display: block;
}

/* TOPO DO MENU (Início + X) */
.menu-topo {
  display: flex;
  align-items: center;
  justify-content: space-between; /* Início à esquerda | X à direita */
  margin-bottom: 20px;
}

/* Link Início */
.menu-inicio {
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
  color: #812828;
}

.menu-inicio:hover {
  color: #e91e63;
}

/* Botão fechar */
.fechar {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.icone-fechar {
  width: 38px;
  height: 38px;
}

/* Links do menu */
.menu a {
  display: block;
  padding: 8px 0;
  text-decoration: none;
  font-weight: 600;
  font-size: 17px;
  color: #812828;
  transition: color 0.2s ease, background-color 0.2s ease;
}

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

/* Categorias */
.menu .categoria {
  margin-top: 16px;
  margin-bottom: 6px;
  font-size: 15px;
  font-weight: 700;
  color: #4b001f;
  border-bottom: 1px solid #ddd;
  padding-bottom: 4px;
}

.menu-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

/* Scroll do menu */
.menu::-webkit-scrollbar {
  width: 8px;
}

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

.menu::-webkit-scrollbar-thumb:hover {
  background-color: #622f40;
}
/* ===============================
   ÍCONE HAMBÚRGUER (SVG)
   =============================== */
.menu-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-btn svg rect {
  fill: #ffffff; /* branco igual ao print */
}

/* 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%;
  }
}

.container {
  max-width: 1200px;
  padding: 20px;
  margin-top: 1%;
  position: relative;
  margin: 0 auto;
  text-align: center;
}

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

/* =====================================================
   ================= GP CAROUSEL NOVO ==================
   ===================================================== */

.gp-carousel-box {
  width: 100%;
  display: flex;
  justify-content: center;
}

.gp-carousel-section {
  width: 100%;
  max-width: 80rem;
  margin: 40px auto;
  padding: 40px;
  border-radius: 14px;
  background: linear-gradient(135deg, #800000, #a52a4d, #4b001f);
}

.gp-carousel-container {
  display: flex;
  align-items: center;
  gap: 40px;
}

/* IMAGEM */
.gp-carousel-image {
  position: relative;
  width: 55%;
}

.gp-carousel-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 20px;
}

/* SETAS */
.gp-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 22px;
}

.gp-carousel-nav:hover {
  background: rgba(135, 51, 51, 0.6);
}

.gp-carousel-prev {
  left: 15px;
}
.gp-carousel-next {
  right: 15px;
}

/* TEXTO */
.gp-carousel-text {
  width: 45%;
  color: #fff;
}

.gp-carousel-text h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 18px;
}

.gp-carousel-text p {
  font-size: 20px;
  line-height: 1.6;
}

.gp-carousel-image {
  position: relative;
}

/* container das bolinhas */
.gp-carousel-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 30;
}

/* bolinhas */

.gp-carousel-dot.active {
  background: #ff8fb1;
  transform: scale(1.4);
}

/* ================= CARDS DAS SEÇÕES ================= */
.four-sections {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  width: 95%;
  margin: 40px auto;
}

/* ================= BOTÃO SEMPRE EMBAIXO ================= */
.four-sections section {
  position: relative;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 18px;
  padding: 30px 25px;
  display: flex;
  flex-direction: column; /* CHAVE */
  min-height: 420px; /* garante altura igual */
}

/* texto cresce normalmente */
.four-sections h2,
.four-sections p,
.four-sections ul {
  margin-bottom: 15px;
}

/* ================= BOTÃO SEMPRE EMBAIXO ================= */
.four-sections .btn {
  margin-top: auto; /* CHAVE PRINCIPAL */
  align-self: center;
}
/* Seções personalizadas */
.personalizada {
  padding: 40px 20px;
  background-color: #f9f9f9;
  border: 9px solid #000; /* borda preta */
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  flex: 1 1 250px;
  max-width: 100%;
}

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

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

#servicos::before {
  content: "";
  position: absolute;
  inset: 0; /* top:0; right:0; bottom:0; left:0 */
  background: url("/assets/img/img-principal/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,
#servicos1 {
  position: relative; /* cria contexto para ::before */
  overflow: hidden; /* evita vazamento do blur para fora */
  border: none;
}

#servicos1::before {
  content: "";
  position: absolute;
  inset: 0; /* top:0; right:0; bottom:0; left:0 */
  background: url("/assets/img/img-principal/imagem1.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;
}

section#servicos1:nth-of-type(4)::before {
  background: url("/assets/img/img-principal/imagem5.jpg") center/cover no-repeat;
}



#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);
  }
}

#sobre {
  position: relative;
  flex: 1 1 100%;
  color: #fff;
  border: none;
  border-radius: 16px;
  overflow: hidden;
  z-index: 1;
}

/* Fundo com imagem + blur */
#sobre::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/assets/img/img-principal/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);
}

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

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

/* ================= BOTÕES – PADRÃO GLOBAL ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 12px 18px;
  min-width: 9rem;

  background-color: #e91e63;
  color: #fff;

  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;

  border-radius: 8px;
  border: none;

  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn:hover {
  background-color: #ff1493;
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

/* 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;
  font-size: 50px;
}

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

/* Imagem / Carrossel */
.health-image {
  flex: 1;
  display: flex;
  justify-content: center;
  width: 100%; /* libera */
  max-width: 100%; /* garante */
  height: 340px;
}

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

.slides {
  display: flex;
  gap: 10px;
  height: 100%;
}

.slides img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* mantém proporção */
  border-radius: 14px;
  display: block;
}

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

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.5rem;
}

.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 */
}

/* =====================================================
   NOTEBOOKS PEQUENOS / DESKTOP MENOR (até 1200px)
   ===================================================== */
@media (max-width: 1200px) {
  .perfil {
    position: relative;
    text-align: center;
    padding: 40px 0;
    padding-bottom: 30px;
    background-image: url(img/Imagem-efeito-blur.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;

    min-height: 90vh;

    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* DESCE O HERO */
    align-items: center; /* CENTRALIZA */
  }

  .hero-text {
    background: rgba(124, 152, 181, 0.34);
    padding: 20px 40px;
    border-radius: 12px;
    width: 100%;
    max-width: 52rem;
    margin: 0 auto;
    transform: none;
  }

  /* ================= CONTAINER GERAL ================= */
  .container {
    left: 0; /* remove deslocamento fixo */
    padding: 0 2rem; /* respiro lateral */
  }

  /* ================= GRID PRINCIPAL ================= */
  .four-sections {
    grid-template-columns: repeat(2, 1fr); /* 2x2 organizado */
    gap: 24px;
    width: 100%;
    margin: 40px auto;
  }

  .four-sections section {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
  }

  /* ================= TEXTOS DOS CARDS ================= */
  .personalizada p,
  .personalizada ul {
    font-size: 1.2rem;
  }

  /* ================= BOTÕES DOS CARDS ================= */
  .four-sections section {
    position: relative;
  }

  .four-sections section a.btn,
  .four-sections section a.btn1,
  .four-sections section a#btn2,
  .four-sections section a#relatos,
  .four-sections section a#duvidas,
  .four-sections section#sobre > a {
    bottom: 1.5rem;
    left: 1.5rem;
    width: auto;
    height: 3rem;
    z-index: 5;
  }

  /* ================= MENU / NAV ================= */
  .menu-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
}

/* ===============================
TABLET EM PÉ (iPad vertical)
=============================== */
@media (max-width: 1024px) {
  .navbar {
    position: fixed;
    width: 100%;
    padding: 10px 12px;
    top: 0;
  }

  .perfil {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 40px 0 10px;
    background: url(img/Imagem-efeito-blur.png) center / cover no-repeat;
  }

  .hero-text {
    background: rgba(124, 152, 181, 0.34);
    padding: 20px 40px;
    border-radius: 12px;
    width: 100%;
    max-width: 52rem;
    bottom: 40px;
  }

  /* ================= NAV ================= */
  .menu-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  /* ================= MENU LATERAL ================= */
  .menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: 60%;
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    font-size: 17px;
    overflow-y: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

  /* ===== TOPO DO MENU ===== */
  .menu-topo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
  }

  .menu-inicio {
    font-size: 20px;
    font-weight: 600;
    color: #4b1024;
    text-decoration: none;
  }

  .menu-inicio:hover {
    color: #e91e63;
  }

  .menu .fechar {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
  }

  .icone-fechar {
    width: 42px;
    height: 42px;
  }

  /* ===== LINKS DO MENU ===== */
  .menu .categoria {
    font-weight: 700;
    margin: 20px 0 10px;
    color: #4b1024;
    border-bottom: 1px solid #ddd;
    font-size: 36px;
  }

  .menu a {
    display: block;
    text-decoration: none;
    font-size: 22px;
    font-weight: 700;
    color: #0c0327;
    padding: 26px 0;
    transition: color 0.2s ease;
  }
  
  .menu a:hover {
    color: #541414;
  }
  
  /* ===== REDES SOCIAIS ===== */
  
  #icons-menu a i {
    font-size: 70px;
    color: rgb(138, 11, 11);
    margin: 1rem 5px;
    transition: transform 0.2s ease, color 0.3s ease;
  }



  .redes-icons{
    position: relative;
    display: flex;
    justify-content: center;
    gap: 0.7rem;
    margin-top: 0.1rem;
    margin-bottom: 1.5rem;
  }
  .redes-sociais p {
    font-size: 28px;
  }

  .redes-sociais a {
    font-size: 18px;
    color: #631919;
  }

  .redes-sociais a:hover {
    color: #4b1024;
    transform: scale(1.15) rotate(5deg);
    text-shadow: 0 0 10px #ff4d6d, 0 0 20px #ff99aa;
  }

  /* ================= GRID ================= */
  .four-sections {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 90%;
    margin: 30px auto;
  }

  .four-sections section {
    position: relative;
  }

  .four-sections section a.btn,
  .four-sections section a.btn1,
  .four-sections section a#btn2,
  .four-sections section a#relatos,
  .four-sections section a#duvidas,
  .four-sections section#sobre > a {
    position: absolute;
    bottom: 1.2rem;
    left: 1.2rem;
    height: 3rem;
    z-index: 5;
  }

  .gp-carousel-section {
    width: 95%;
  }

  /* Esconde as setas do GP Carousel */
  .gp-carousel-prev,
  .gp-carousel-next {
    display: none !important;
  }

  /* Exibe as bolinhas */
  .gp-carousel-dots {
    display: flex !important;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
  }

  /* Estilo das bolinhas */
  .gp-carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
  }

  .gp-carousel-dot.active {
    background: #4b1024;
    transform: scale(1.3);
  }

}
/* =====================================================
   TABLETS GRANDES — HORIZONTAL (até 992px)
===================================================== */
@media (max-width: 992px) {
  /* ================= HERO ================= */
  .perfil {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 40px 0 10px;
    background: url(img/Imagem-efeito-blur.png) center / cover no-repeat;
  }

  .hero-text {
    background: rgba(124, 152, 181, 0.34);
    padding: 20px 40px;
    border-radius: 12px;
    width: 100%;
    max-width: 52rem;
    margin: 0 auto;
  }

  /* ================= GRID ================= */
  .four-sections {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .four-sections section {
    display: flex;
    position: relative;
  }

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

  /* ================= NAV ================= */
  .menu-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  /* ================= CARDS ================= */
  .health-card {
    flex-direction: column;
    padding: 15px;
  }

  .health-text h1 {
    font-size: 46px;
    line-height: 2.8rem;
    text-align: center;
    margin: 1rem auto;
  }

  .health-text p {
    text-align: center;
    margin: 1.5rem auto 2rem;
  }
}

/* =====================================================
   TABLETS EM PÉ / MOBILE HORIZONTAL (até 768px)
===================================================== */
@media (max-width: 768px) {
  /* ================= BASE ================= */
  body {
    font-size: 15px;
  }

  .perfil {
    min-height: 94vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding-bottom: 30px;
  }
  .perfil h1 {
    font-family: "Great Vibes", cursive;
    font-size: 40px;
    margin-bottom: 10px;
    color: #d4af37; /* dourado clássico */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
  }

  .hero-text {
    background: rgba(124, 152, 181, 0.34);
    padding: 20px 40px;
    border-radius: 12px;
    width: 100%;
    max-width: 40rem;
    margin: 0 auto;
    transform: none;
    margin-bottom: 40px;
  }

  /* ================= MENU LATERAL ================= */
  .menu {
    width: 100%;
    max-width: 100%;
  }

  #menu .fechar {
    position: absolute;
    top: 20px;
    right: 0;
    width: 69%;
    display: flex;
    justify-content: flex-end;
    padding-right: 20px;
  }

  .icone-fechar {
    width: 45px;
    height: 45px;
  }

  /* Links do menu (corrigido para subir o texto) */
  .menu a {
    display: flex;
    align-items: flex-start;
    line-height: 3.2;
    padding: 6px 0 10px;
    font-size: 26px;
    color: #000000;
    text-decoration: none;
  }

  .menu a:hover {
    color: #e91e63;
  }

  .menu .categoria {
    font-size: 26px;
    color: #4b001f;
    margin-top: 24px;
    margin-bottom: 10px;
  }

  /* Redes no menu */
  #icons-menu a {
    font-size: 60px;
    color: rgb(93, 23, 23);
    display: inline-block;
    transition: color 0.3s, transform 0.2s, text-shadow 0.3s;
    margin: 1rem 5px;
  }

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

  /* ================= GP-Carousel ================= */
  .gp-carousel-section {
    width: 90%;
  }

  .gp-carousel-wrapper {
    padding: 16px;
  }

  .gp-carousel-container {
    flex-direction: column;
    padding: 18px;
    gap: 18px;
    border-radius: 18px;
  }

  /* IMAGEM */
  .gp-carousel-image {
    width: 100%;
    border-radius: 14px;
    position: relative;
    overflow: visible;
  }

  .gp-carousel-dots {
    margin-top: 12px;
  }

  .gp-carousel-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 14px;
  }

  .gp-carousel-dot {
    display: flex;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(2px);
    transition: all 0.3s ease;
  }

  .gp-carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
  }

  .gp-carousel-dot.active {
    background: #4b1024;
    transform: scale(1.3);
  }

  /* SETAS */
  .gp-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
  }

  .gp-carousel-prev,
  .gp-carousel-next {
    display: none;
  }

  /* TEXTO */
  .gp-carousel-text {
    width: 100%;
    text-align: center;
  }

  .gp-carousel-text h2 {
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 12px;
  }

  .gp-carousel-text p {
    font-size: 15px;
    line-height: 1.5;
  }

  /* ================= GRID ================= */
  .four-sections {
    grid-template-columns: 1fr;
  }
  .carousel {
    width: 100%;
    height: 42vh;
    overflow: hidden;
    border-radius: 14px;
  }
  

  .slides {
    display: flex;
    height: 100%;
    gap: 16px;
    align-items: stretch;
  }

  /* ================= SAÚDE / REDES ================= */
    #icons-menu a i {
    font-size: 70px;
    color: rgb(138, 11, 11);
    margin: 1rem 5px;
    transition: transform 0.2s ease, color 0.3s ease;
  }
  
  .redes-sociais p {
    font-size: 30px;
  }

  .redes-sociais a {
    font-size: 65px;
    color: #ffffff;
    transition: transform 0.3s, color 0.3s, text-shadow 0.3s;
  }

  .redes-sociais a:hover {
    color: #4b1024;
    transform: scale(1.2) rotate(5deg);
    text-shadow: 0 0 10px #ff4d6d, 0 0 20px #ff99aa;
  }

  .health-card {
    flex-direction: column;
    padding: 15px;
  }

  .health-text h1 {
    font-size: 50px;
    line-height: 2.9rem;
    text-align: center;
    margin: 1rem auto;
  }

  .health-text p {
    text-align: center;
    margin: 2rem auto;
  }

  /* ===== MOBILE PEQUENO — até 480px ===== */
  @media (max-width: 480px) {
    body {
      font-size: 14px;
    }

    .perfil {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      align-items: center;
      padding-bottom: 30px;
    }

    .hero-text {
      background: rgba(124, 152, 181, 0.34);
      padding: 18px 26px;
      border-radius: 15px;
      width: 90%;
      max-width: 52rem;
      margin: 0px auto;
      transform: none;
    }

    .navbar {
      position: fixed;
      width: 100%;
      height: auto;
      padding: 12px;
      flex-wrap: wrap;
    }

    .search {
      width: 100%;
      margin-top: 0;
    }

    /* ================= GP-Carousel ================= */
    .gp-carousel-section {
      width: 90%;
    }

    .gp-carousel-wrapper {
      padding: 16px;
    }

    .gp-carousel-container {
      flex-direction: column;
      padding: 18px;
      gap: 18px;
      border-radius: 18px;
    }

    /* IMAGEM */
    .gp-carousel-image {
      width: 125%;
      border-radius: 14px;
      position: relative;
      overflow: visible;
    }

    .gp-carousel-dots {
      margin-top: 12px;
    }

    .gp-carousel-image img {
      width: 100%;
      height: 240px;
      object-fit: cover;
      border-radius: 14px;
    }

    .gp-carousel-dot {
      display: flex;
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.5);
      backdrop-filter: blur(2px);
      transition: all 0.3s ease;
    }

    .gp-carousel-dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.4);
      cursor: pointer;
      transition: transform 0.3s ease, background 0.3s ease;
    }

    .gp-carousel-dot.active {
      background: #4b1024;
      transform: scale(1.3);
    }

    /* SETAS */
    .gp-carousel-nav {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      z-index: 10;
    }

    .gp-carousel-prev,
    .gp-carousel-next {
      display: none;
    }

    /* TEXTO */
    .gp-carousel-text {
      width: 100%;
      text-align: center;
    }

    .gp-carousel-text h2 {
      font-size: 22px;
      line-height: 1.2;
      margin-bottom: 12px;
    }

    .gp-carousel-text p {
      font-size: 15px;
      line-height: 1.5;
    }

    /* ================= four-sections ================= */
    #sobre,
    #servicos,
    #servicos1 {
      width: 100%;
      height: auto;
      padding: 20px 10px;
      box-sizing: border-box;
      margin-bottom: 30px;
    }
  }

  /* ===== SESSÃO ===== */
  .container {
    padding: 0 10px;
    margin: 20px auto 0 auto;
    width: 100%;
    box-sizing: border-box;
  }

  .four-sections section {
    display: flex;
    width: 100%;
    min-height: 420px;
    padding: 22px 18px;
    border-radius: 18px;
  }

  /* ================= MENU ================= */
  .menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: 65%;
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 60px 20px 20px;
    font-size: 16px;
    overflow-y: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    z-index: 999;
  }

  .menu-topo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
  }

  .menu-inicio {
    font-size: 20px;
    font-weight: 600;
    color: #4b1024;
    text-decoration: none;
  }

  .menu-inicio:hover {
    color: #e91e63;
  }

  .icone-fechar {
    width: 45px;
    height: 45px;
  }

  .menu .categoria {
    margin-top: -30px;
    font-weight: bold;
    margin-bottom: 45px;
    color: #502a2a;
    border-bottom: 1px solid #ddd;
    font-size: 22px;
    text-align: left;
  }

  .menu a {
  margin-top: -30px;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 45px;
    color: #812828;
    border-bottom: 1px solid #ddd;
    font-size: 18px;
    text-align: left;  

  }

  /* REDES */
  .redes-sociais p {
    font-size: 18px;
  }

  .redes-sociais a {
    font-size: 40px;
    color: rgb(255 255 255);
    display: inline-block;
    transition: color 0.3s, transform 0.2s, text-shadow 0.3s;
    margin: 1rem 5px;
  }

  .redes-sociais a:hover {
    color: #4b1024;
    transform: scale(1.2) rotate(5deg);
    text-shadow: 0 0 10px #ff4d6d, 0 0 20px #ff99aa;
  }

  #icons-menu a {
    font-size: 40px;
    color: rgb(138, 11, 11);
    display: inline-block;
  }

    #icons-menu a i {
    font-size: 36px;
    color: rgb(138, 11, 11);
    margin: 1rem 5px;
    transition: transform 0.2s ease, color 0.3s ease;
  }

  .redes-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    width: 100%;
  }

  .redes-sociais {
    text-align: center;
    width: 100%;
    margin-top: -10px;
    padding: 13px 10px;
  }

  /* ==============================
      CARROSSEL / HEALTH
     ============================== */

  .health-image {
    width: 100%;
    height: auto;
    padding: 0 12px;
    box-sizing: border-box;
    justify-content: center;
  }
  
  .carousel {
    width: 100%;
    height: 35vh;
    overflow: hidden;
    border-radius: 14px;
  }

  /* ============================== */

  #sobre,
  #servicos,
  #servicos1 {
    width: 100%;
    height: auto;
    padding: 20px 10px;
    box-sizing: border-box;
  }

  .health-card {
    flex-direction: column;
    padding: 15px;
  }

  .health-text .blue {
    color: #ff00d4;
    font-size: 32px;
    font-weight: 600;
  }

  .health-text p {
    font-size: 26px;
    margin-top: 0.5rem;
    text-align: center;
  }

  .perfil h1 {
    font-family: "Great Vibes", cursive;
    font-size: 25px;
    margin-bottom: 10px;
    color: #b3b529;
    text-shadow: 2px 2px 4px #00000080;
    letter-spacing: 2px;
  }

  .perfil h3 {
    font-size: 1.2rem;
    color: #7c0019;
    margin-top: -5px;
    margin-bottom: 10px;
    letter-spacing: 1px;
  }

  #servicos p,
  h2 {
    font-size: 19px;
  }

  footer {
    padding: 15px 10px;
  }

  .logo-footer {
    width: 12rem;
    margin: 1rem auto;
  }

  #nathalia-gptmaker-overlay {
    width: 60px !important;
    height: 60px !important;
  }
}
