* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
    
}

body {
    background: #dcdcdc;
    color: #333;
    font-family: 'Poppins', sans-serif;
    border-radius: 16px;
box-shadow: 0 10px 25px rgba(243, 0, 211, 0.15);
transition: all 0.3s ease;

    
}





/* TOPO */
.top-bar {
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 1000;
}

.menu-icon {
    width: 35px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.menu-icon:hover {
    transform: scale(1.1);
}

/* MENU LATERAL */
.side-menu {
    position: fixed;
    left: -260px;
    top: 0;
    width: 260px;
    height: 100%;
    background: #f2f2f2;
    padding: 30px 20px;
    box-shadow: 4px 0 15px rgba(0,0,0,0.2);
    transition: left 0.4s ease;
    z-index: 999;
}

.side-menu.active {
    left: 0;
}

.close-menu {
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    margin-bottom: 30px;
}

.menu-link {
    display: block;
    margin: 15px 0;
    text-decoration: none;
    color: #333;
    font-size: 18px;
    transition: transform 0.3s ease;
}

.menu-link:hover {
    transform: translateX(5px);
}

/* CONTAINER */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 20px 40px;
    text-align: center;
}

/* PERFIL */
.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-buttons img {
    width: 35px;
    transition: transform 0.3s ease;
}

.social-buttons img:hover {
    transform: scale(1.2);
}

/* TEXTO */
.welcome-text {
    margin: 30px auto;
    max-width: 600px;
    line-height: 1.6;
    font-size: 16px;
}

/* TÍTULO */
.section-title {
    margin: 40px 0 20px;
    font-size: 22px;
}

/* CARROSSEL */
.carousel-container {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

/* JANELA */
.carousel-viewport {
    overflow-x: auto;      /* permite scroll horizontal */
    overflow-y: hidden;    /* mantém layout intacto */
    width: 100%;
    max-width: 800px;
    -webkit-overflow-scrolling: touch; /* mobile */
}


/* FAIXA DESLIZANTE */
.carousel {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
    overflow: visible;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}


.carousel::-webkit-scrollbar {
  display: none;
}





/* ITEM */
.carousel-item {
    flex: 0 0 calc(50% - 10px); /* EXATAMENTE 2 */
    max-width: calc(50% - 10px);
    background: #eee;
    border-radius: 12px;
    padding: 10px;
}

/* IMAGEM */
.carousel-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
}

/* DESCRIÇÃO */
.description {
    margin-top: 10px;
    height:70px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 14px;
}

/* SETAS */
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 40px;
    cursor: pointer;
    z-index: 10;
    padding: 10px;
}

.arrow.left {
    left: -10px;
}

.arrow.right {
    right: -10px;
}

/* ===== MODAL FACEBOOK STYLE ===== */

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: #f2f2f2;
    width: 85%;
    max-width: 900px;
    border-radius: 14px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* X FECHAR */
.modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
}

/* CORPO LADO A LADO */
.modal-body {
    display: flex;
    gap: 24px;
    padding: 24px;
}

/* IMAGEM À ESQUERDA */
.modal-image {
    flex: 1;
}

.modal-image img {
    width: 100%;
    height: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 12px;
}

/* TEXTO À DIREITA */
.modal-text {
    flex: 1;
    display: flex;
    align-items: center;
    font-size: 16px;
    line-height: 1.6;
}

/* ===== AVALIAÇÕES ===== */

.reviews-title {
    margin-bottom: 20px;
    text-align: center;
}

.review {
    display: flex;
    gap: 12px;
    background: #fff;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.review-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
}

.review strong {
    display: block;
    margin-bottom: 4px;
}

.review p {
    font-size: 14px;
    line-height: 1.4;
}

/* BOTÃO GOOGLE */
.google-review-btn {
    display: block;
    margin: 20px auto 0;
    padding: 12px 20px;
    background: #e91e63;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    text-align: center;
    font-weight: bold;
    width: fit-content;
}

/* MODAL BODY PARA AVALIAÇÕES */
.reviews-wrapper {
    background: #f2f2f2;
    border-radius: 14px;
    max-width: 1000px; /* largura máxima da janela */
    width: 95%;        /* largura relativa à tela */
    height: 500px;     /* altura fixa */
    overflow-y: auto;  /* scroll interno */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    gap: 12px;
}

#reviewsOverlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    align-items: flex-start; /* muda de center para flex-start */
    justify-content: center;
    padding-top: 80px; /* afasta do topo da tela */
    z-index: 100000;
}




/* comentários centralizados de verdade */
.reviews-wrapper .review {
    width: 100%;
}

/* scroll só nas avaliações */
.reviews-wrapper {
    max-height: 60vh;
    overflow-y: auto;
}


/* Zoom suave em imagens clicáveis */
.carousel-item img,
.profile-pic,
.social-buttons img,
.review-avatar,
.google-review-btn {
    transition: transform 0.2s ease, box-shadow 0.1s ease;
    cursor: pointer;
}

.carousel-item img:hover,
.profile-pic:hover,
.social-buttons img:hover,
.review-avatar:hover,
.google-review-btn:hover {
    transform: scale(1.02); /* zoom pequeno */
    box-shadow: 0 8px 20px rgba(0,0,0,0.2); /* sombra sutil */
}

.arrow {
    transition: transform 0.3s ease, color 0.3s ease;
}

.arrow:hover {
    transform: scale(1.); /* aumenta a seta */
    color: #bdbdbd; /* muda cor sutil */
}

/* ================= RESPONSIVO MOBILE ================= */
@media (max-width: 768px) {

  /* ================= CARROSSEL ================= */
  .carousel-item {
    flex: 0 0 70%; /* cada item ocupa 80% da largura da tela */
    max-width: 80%;
  }

  .carousel-item img {
    max-height: 180px; /* limita altura da imagem para não ficar gigante */
    width: 100%;       /* garante que imagem não ultrapasse container */
    object-fit: cover; /* mantém proporção da imagem */
  }

  .description {
    font-size: 13px;       /* texto menor pra caber na tela */
    max-height: 60px;      /* altura máxima da descrição */
    overflow-y: auto;      /* cria scroll se descrição for maior */
    margin-top: 6px;       /* espaçamento da imagem */
    padding: 2px 4px;      /* deixa o texto confortável */
    text-align: center;    /* centraliza a descrição */
    word-wrap: break-word; /* evita que o texto ultrapasse container */
  }

  /* ================= MODAL DE IMAGEM ================= */
  #imageModalOverlay .modal-content {
    max-width: 95%;   /* largura máxima da janela */
    max-height: 85vh; /* altura máxima da janela */
  }

  #imageModalOverlay .modal-body {
    flex-direction: column; /* coloca imagem em cima e descrição embaixo */
    gap: 12px;
  }

  #imageModalOverlay .modal-image {
    max-height: 35vh; /* limita altura da imagem */
    width: 100%;
  }

  #imageModalOverlay .modal-text {
    max-height: 40vh; /* limita altura da descrição */
    font-size: 13px;
    overflow-y: auto; /* scroll se for maior */
    padding-right: 4px;
    text-align: left;
  }

  /* ================= MODAL DE AVALIAÇÕES ================= */
  #reviewsOverlay .modal-content {
    max-width: 90%;   /* largura da janela de avaliação */
    max-height: 80vh; /* altura máxima */
  }

  #reviewsOverlay .reviews-wrapper {
    padding: 12px;
    gap: 10px;
  }
}

/* ================= AJUSTE MOBILE REAL (SEM QUEBRAR JS) ================= */
@media (max-width: 768px) {

  /* ===== CONTAINER ===== */
  .container {
    padding: 70px 14px 30px;
  }

  /* ===== CARROSSEL ===== */
  .carousel-container {
    width: 100%;
    overflow: hidden;
  }

  .carousel-viewport {
    max-width: 110%;
  }

  .carousel {
    gap: 5px; /* mantém consistência com JS */
  }

  .carousel-item {
    flex: 0 0 85%;
    max-width: 85%;
  }

  .carousel-item img {
    height: 200px;
  }

  .description {
    font-size: 13px;
    height: auto;
    max-height: 800px;
    overflow-y: auto;
  }

  /* ===== SETAS ===== */
  .arrow {
    font-size: 32px;
    background: rgba(255,255,255,0.7);
    border-radius: 50%;
  }

  .arrow.left {
    left: 4px;
  }

  .arrow.right {
    right: 4px;
  }

  /* ===== MODAL IMAGEM ===== */
  #imageModalOverlay .modal-content {
    width: 95%;
    max-height: 90vh;
  }

  #imageModalOverlay .modal-body {
    flex-direction: column;
    padding: 16px;
  }

  #imageModalOverlay .modal-image img {
    max-height: 25vh;
  }

  #imageModalOverlay .modal-text {
    font-size: 14px;
    max-height: 35vh;
    overflow-y: auto;
  }

  /* ===== MODAL AVALIAÇÕES ===== */
  #reviewsOverlay {
    padding-top: 40px;
  }

  #reviewsOverlay .modal-content {
    width: 92%;
  }

  .reviews-wrapper {
    max-height: 70vh;
    width: 100%;
  }
}


  /* permite scroll lateral sem mexer no JS */
  @media (max-width: 768px) {
  .carousel-container {
    overflow-x: auto;
    overflow-y: hidden;
  }

  .carousel-item {
    flex-shrink: 0;
  }

  .arrow {
    display: none !important;
  }

  .carousel {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

}


/* ===== ESCONDER SCROLLBAR DO CARROSSEL ===== */

/* Chrome, Edge, Safari */
.carousel-viewport::-webkit-scrollbar {
  display: none;
}

/* Firefox */
.carousel-viewport {
  scrollbar-width: none;
}

/* IE / Edge antigo */
.carousel-viewport {
  -ms-overflow-style: none;
}

/* ================= SEÇÃO FINAL ================= */
.final-call {
  text-align: center;
  margin: 40px 0 80px; /* espaçamento do topo e base */
}

.final-call h2 {
  font-size: 24px;
  margin-bottom: 20px;
  font-weight: 600;
  color: #333;
}

.final-social-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.final-social-buttons img {
  width: 40px;       /* mesmo tamanho do topo */
  cursor: pointer;
  transition: transform 0.3s ease;
}

.final-social-buttons img:hover {
  transform: scale(1.2);
}

/* Remove highlight azul do toque no mobile */
* {
  -webkit-tap-highlight-color: transparent;
}
