/* Reset global para remover margens padrão */
html,
body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

/* =========================
   HERO HOME
========================= */

.hero-section {
  position: relative;
  isolation: isolate; /* mantém a imagem de fundo e a sobreposição dentro do hero */
  min-height: 68vh;
  min-height: 68svh;
  padding: 130px 0 4.5rem; /* espaço para o header fixo */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible; /* permite aos dropdowns saírem do hero */
}

/* Imagem do hero: <img> com prioridade alta (melhor LCP) e sem "background-attachment: fixed" (dava solavancos) */
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 90%;
  max-width: 900px;
  text-align: center;
  gap: 2rem;
}

.hero-text {
  max-width: 700px;
  margin-bottom: 1rem;
}

.hero-text h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 1rem 0;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-text p {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
  font-weight: 400;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

/* Animação de entrada do hero (só transform + opacity) */
.hero-text h1,
.hero-text p,
.hero-search {
  animation: fade-up 0.8s var(--ease, ease) both;
}

.hero-text p {
  animation-delay: 0.12s;
}

.hero-search {
  animation-delay: 0.25s;
}

/* BARRA DE PESQUISA NOVA */
.hero-search {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 0;
  width: 100%;
  max-width: 900px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  overflow: visible; /* IMPORTANTE: permite dropdowns saírem */
  margin: 1rem 0 0;
  padding: 0.4rem;
  z-index: 100; /* Garante que a barra fica por cima */
}

/* Dropdown Tipo de Imóvel */
.hero-search-dropdown {
  position: relative;
  min-width: 200px;
  border-right: 1px solid #e5e7eb;
}

.hero-search-dropdown-button {
  width: 100%;
  padding: 1rem 1.3rem;
  background: transparent;
  border: none;
  font-size: 0.95rem;
  font-weight: 600;
  color: #111827;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.2s ease;
  border-radius: 4px;
  text-align: left;
}

.hero-search-dropdown-button:hover {
  background: #f9fafb;
}

.hero-search-dropdown-button::after {
  content: "▼";
  font-size: 0.65rem;
  margin-left: 0.5rem;
  color: #6b7280;
}

.hero-search-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  min-width: 240px;
  margin-top: 5px;
  padding: 10px;
  max-height: 250px;
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 99999;
}

.hero-search-dropdown.active .hero-search-dropdown-menu {
  display: block;
}

.hero-search-dropdown-menu label {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.65rem 0.9rem;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.2s ease;
  font-size: 0.9rem;
  color: #374151;
  font-weight: 500;
}

.hero-search-dropdown-menu label:hover {
  background: #f3f4f6;
}

.hero-search-dropdown-menu input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-right: 0.7rem;
  cursor: pointer;
  accent-color: #0052cc;
}

/* Dropdown Nº de Quartos */
.hero-search-rooms {
  position: relative;
  min-width: 180px;
  border-right: 1px solid #e5e7eb;
}

.hero-search-rooms-button {
  width: 100%;
  padding: 1rem 1.3rem;
  background: transparent;
  border: none;
  font-size: 0.95rem;
  font-weight: 600;
  color: #111827;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.2s ease;
  border-radius: 4px;
  text-align: left;
}

.hero-search-rooms-button:hover {
  background: #f9fafb;
}

.hero-search-rooms-button::after {
  content: "▼";
  font-size: 0.65rem;
  margin-left: 0.5rem;
  color: #6b7280;
}

.hero-search-rooms-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  min-width: 180px;
  margin-top: 5px;
  padding: 10px;
  max-height: 250px;
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 99999;
}

.hero-search-rooms.active .hero-search-rooms-menu {
  display: block;
}

.hero-search-rooms-menu button {
  width: 100%;
  min-height: 44px;
  padding: 0.7rem 1rem;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.2s ease;
  font-size: 0.9rem;
  color: #374151;
  font-weight: 500;
}

.hero-search-rooms-menu button:hover {
  background: #f3f4f6;
}

.hero-search-rooms-menu button.active {
  background: #0052cc;
  color: #ffffff;
  font-weight: 600;
}

.hero-search-rooms-menu button.active:hover {
  background: #003d99;
}

/* Input de Localização */
.hero-search-input {
  flex: 1;
  padding: 1rem 1.3rem;
  font-size: 0.95rem;
  border: none;
  outline: none;
  background: transparent;
  color: #111827;
  font-weight: 500;
}

.hero-search-input::placeholder {
  color: #6b7280;
  font-weight: 400;
}

/* Botão Pesquisar */
.hero-search-button {
  padding: 1rem 2.2rem;
  background: #0052cc;
  color: #ffffff;
  border: none;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  border-radius: 6px;
  transition: background 0.3s ease, transform 0.2s ease;
}

.hero-search-button:hover {
  background: #0043a8;
  transform: translateY(-1px);
}

/* Responsivo - Tablet */
@media (max-width: 900px) {
  .hero-content {
    gap: 1.5rem;
    padding: 0 1.5rem;
  }
  
  .hero-text h1 {
    font-size: clamp(2rem, 4vw, 3rem);
  }
  
  .hero-search {
    padding: 0.4rem;
  }
  
  .hero-search-dropdown,
  .hero-search-rooms {
    min-width: 170px;
  }
}

/* Responsivo - Mobile */
@media (max-width: 768px) {
  .hero-section {
    min-height: 78vh;
    min-height: 78svh;
    padding: 100px 0 3rem;
  }

  .hero-content {
    gap: 1.5rem;
    padding: 0 1rem;
    width: 95%;
  }
  
  .hero-text {
    margin-bottom: 1rem;
  }
  
  .hero-text h1 {
    font-size: clamp(1.5rem, 5vw, 2rem);
    margin-bottom: 0.8rem;
  }
  
  .hero-text p {
    font-size: clamp(1rem, 3vw, 1.2rem);
  }
  
  .hero-search {
    flex-direction: column;
    margin-top: 0;
    gap: 0;
    padding: 0.4rem;
    max-width: 100%;
  }
  
  .hero-search-dropdown,
  .hero-search-rooms {
    width: 100%;
    min-width: 100%;
    border-right: none;
    border-bottom: 1px solid #e5e7eb;
  }
  
  .hero-search-dropdown:last-of-type,
  .hero-search-rooms:last-of-type {
    border-bottom: 1px solid #e5e7eb;
  }
  
  .hero-search-dropdown-button,
  .hero-search-rooms-button {
    padding: 1rem 1.2rem;
    font-size: 0.9rem;
  }
  
  .hero-search-dropdown-menu {
    left: 0;
    right: 0;
    min-width: 100%;
    max-height: 320px;
  }
  
  .hero-search-rooms-menu {
    left: 0;
    right: 0;
    min-width: 100%;
  }
  
  .hero-search-input {
    padding: 1.2rem 1.3rem;
    text-align: left;
    font-size: 0.9rem;
    border-bottom: 1px solid #e5e7eb;
  }
  
  .hero-search-button {
    width: 100%;
    padding: 1.2rem;
    border-radius: 6px;
    font-size: 1rem;
    margin-top: 0.2rem;
  }
}

/* Responsivo - Mobile Pequeno */
@media (max-width: 480px) {
  .hero-section {
    min-height: 0;
    padding: 90px 0 2.5rem;
  }

  .hero-content {
    padding: 0 0.75rem;
  }
  
  .hero-text h1 {
    font-size: 1.5rem;
  }
  
  .hero-text p {
    font-size: 1rem;
  }
  
  .hero-search {
    padding: 0.3rem;
  }
  
  .hero-search-dropdown-button,
  .hero-search-rooms-button {
    padding: 0.9rem 1rem;
    font-size: 0.85rem;
  }
  
  .hero-search-input {
    padding: 1rem 1.2rem;
    font-size: 0.85rem;
  }
  
  .hero-search-button {
    padding: 1rem;
    font-size: 0.95rem;
  }
  
  .hero-search-dropdown-menu label {
    padding: 0.6rem 0.8rem;
    font-size: 0.85rem;
  }
  
  .hero-search-rooms-menu button {
    padding: 0.65rem 0.9rem;
    font-size: 0.85rem;
  }
}

/* =========================
   IMÓVEIS EM DESTAQUE
========================= */

.featured-blue {
  padding: 4rem 0 4.5rem;
  background-color: #f3f4f6;
}

.featured-blue-header {
  text-align: center;
  margin-bottom: 3rem;
}

.featured-blue-header h2 {
  font-size: 2.2rem;
  color: #111827;
  margin-bottom: 0.9rem;
  font-weight: 700;
}

.featured-blue-header h2::after {
  content: "";
  display: block;
  width: 70px;
  height: 3px;
  background-color: #facc15;
  margin: 0.75rem auto 0;
  border-radius: 999px;
}

.featured-blue-header p {
  font-size: 0.98rem;
  color: #4b5563;
}

.featured-blue-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2rem;
  color: #6b7280;
}

.featured-blue-state--error {
  color: #e74c3c;
}

.featured-blue-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.featured-blue-card {
  display: block;
  color: inherit;
  text-decoration: none;
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.1);
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.featured-blue-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.18);
}

.featured-blue-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #facc15;
  color: #1f2933;
  font-size: 0.75rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-weight: 600;
  z-index: 1;
}

.featured-blue-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #e5e7eb;
}

.featured-blue-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.featured-blue-card:hover .featured-blue-image img,
.featured-blue-card:focus-visible .featured-blue-image img {
  transform: scale(1.05);
}

.featured-blue-body {
  padding: 1.25rem 1.25rem 1.3rem;
}

.featured-blue-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.55rem;
}

.featured-blue-title {
  font-size: 1rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.4rem;
}

.featured-blue-location {
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 0.95rem;
}

.featured-blue-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  font-size: 0.8rem;
  color: #4b5563;
}

.featured-blue-meta span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.featured-blue-footer {
  text-align: center;
  margin-top: 2.8rem;
}

.featured-blue-button {
  display: inline-block;
  padding: 0.95rem 2.4rem;
  border-radius: 20px;
  background-color: #0f172a;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.featured-blue-button:hover {
  background-color: #1e293b;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.2);
}

/* Featured Blue Responsive */
@media (max-width: 1100px) {
  .featured-blue-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .featured-blue {
    padding: 3rem 0 3rem;
  }
  
  .featured-blue-header {
    padding: 0 1rem;
    margin-bottom: 2rem;
  }
  
  .featured-blue-header h2 {
    font-size: 1.8rem;
  }
  
  .featured-blue-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    padding: 0 1rem;
  }
  
  .featured-blue-image {
    height: 160px;
  }
  
  .featured-blue-body {
    padding: 1rem;
  }
  
  .featured-blue-price {
    font-size: 1.15rem;
  }
  
  .featured-blue-title {
    font-size: 0.9rem;
  }
  
  .featured-blue-location {
    font-size: 0.8rem;
  }
  
  .featured-blue-meta {
    font-size: 0.75rem;
    gap: 0.5rem;
  }
  
  .featured-blue-footer {
    margin-top: 2rem;
  }
  
  .featured-blue-button {
    padding: 0.85rem 2rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 640px) {
  .featured-blue {
    padding: 2.5rem 0 2.5rem;
  }
  
  .featured-blue-header h2 {
    font-size: 1.6rem;
  }
  
  .featured-blue-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    max-width: 400px;
  }
  
  .featured-blue-image {
    height: 200px;
  }
  
  .featured-blue-body {
    padding: 1.1rem;
  }
  
  .featured-blue-price {
    font-size: 1.25rem;
  }
  
  .featured-blue-title {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .featured-blue-header h2 {
    font-size: 1.4rem;
  }
  
  .featured-blue-header p {
    font-size: 0.9rem;
  }
  
  .featured-blue-grid {
    padding: 0 0.75rem;
  }
  
  .featured-blue-tag {
    font-size: 0.7rem;
    padding: 0.3rem 0.7rem;
  }
  
  .featured-blue-image {
    height: 180px;
  }
  
  .featured-blue-body {
    padding: 1rem;
  }
  
  .featured-blue-price {
    font-size: 1.15rem;
  }
  
  .featured-blue-title {
    font-size: 0.9rem;
  }
  
  .featured-blue-location {
    font-size: 0.75rem;
    margin-bottom: 0.7rem;
  }
  
  .featured-blue-meta {
    font-size: 0.7rem;
  }
  
  .featured-blue-button {
    padding: 0.8rem 1.8rem;
    font-size: 0.85rem;
  }
}

/* =========================
   SERVIÇOS
========================= */

.services-section {
  padding: 4.5rem 0 4.5rem;
  background-color: #ffffff;
}

.services-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.services-header h2 {
  font-size: 2.2rem;
  color: #111827;
  margin-bottom: 0.9rem;
  font-weight: 700;
}

.services-header h2::after {
  content: "";
  display: block;
  width: 70px;
  height: 3px;
  background-color: #facc15;
  margin: 0.75rem auto 0;
  border-radius: 999px;
}

.services-header p {
  font-size: 0.98rem;
  color: #6b7280;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.service-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 2.2rem 1.8rem 1.8rem;
  text-align: center;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.14);
}

.service-icon-wrap {
  width: 85px;
  height: 85px;
  background-color: #e0f2fe;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.4rem;
}

.service-icon-wrap img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.service-card h3 {
  font-size: 1.2rem;
  color: #111827;
  margin-bottom: 0.7rem;
  font-weight: 700;
}

.service-card p {
  font-size: 0.9rem;
  color: #6b7280;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.service-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px; /* área de toque confortável */
  padding: 0.5rem 0.25rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  color: #0052cc;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.service-link:hover {
  color: #003d99;
}

/* Services Responsive */
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 0 1.5rem;
  }
}

@media (max-width: 768px) {
  .services-section {
    padding: 3.5rem 0 3.5rem;
  }
  
  .services-header {
    padding: 0 1rem;
    margin-bottom: 2.5rem;
  }
  
  .services-header h2 {
    font-size: 1.8rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    padding: 0 1rem;
  }
  
  .service-card {
    padding: 1.8rem 1.5rem 1.5rem;
  }
  
  .service-icon-wrap {
    width: 70px;
    height: 70px;
    margin-bottom: 1.2rem;
  }
  
  .service-icon-wrap img {
    width: 32px;
    height: 32px;
  }
  
  .service-card h3 {
    font-size: 1.1rem;
  }
  
  .service-card p {
    font-size: 0.9rem;
  }
}

@media (max-width: 640px) {
  .services-section {
    padding: 3rem 0 3rem;
  }
  
  .services-header h2 {
    font-size: 1.6rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  
  .service-card {
    padding: 2rem 1.5rem 1.8rem;
  }
}

@media (max-width: 480px) {
  .services-header h2 {
    font-size: 1.4rem;
  }
  
  .services-header p {
    font-size: 0.9rem;
  }
  
  .service-card {
    padding: 1.8rem 1.3rem 1.5rem;
  }
  
  .service-card h3 {
    font-size: 1.05rem;
  }
  
  .service-card p {
    font-size: 0.85rem;
    margin-bottom: 1.3rem;
  }
}

/* =========================
   CTA – VALOR DO SEU IMÓVEL
========================= */

.cta-valor-imovel {
  position: relative;
  min-height: 260px;
  background-image: url("../imagens/fundo2.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
}

.cta-valor-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.6));
}

.cta-valor-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 3rem 2rem;
}

.cta-valor-content h2 {
  font-size: 2.1rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-valor-content p {
  font-size: 1rem;
  margin-bottom: 1.8rem;
}

.cta-valor-button {
  display: inline-block;
  padding: 0.95rem 2.6rem;
  border-radius: 20px;
  background-color: #facc15;
  color: #1f2933;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-valor-button:hover {
  background-color: #eab308;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

@media (max-width: 768px) {
  .cta-valor-imovel {
    min-height: 240px;
  }

  .cta-valor-content {
    padding: 2.5rem 1.5rem;
  }

  .cta-valor-content h2 {
    font-size: 1.8rem;
  }

  .cta-valor-content p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }
  
  .cta-valor-button {
    padding: 0.85rem 2.2rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 640px) {
  .cta-valor-imovel {
    min-height: 280px;
  }
  
  .cta-valor-content {
    padding: 2rem 1.2rem;
  }
  
  .cta-valor-content h2 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
  }
  
  .cta-valor-content p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .cta-valor-content h2 {
    font-size: 1.4rem;
  }
  
  .cta-valor-content p {
    font-size: 0.85rem;
    margin-bottom: 1.3rem;
  }
  
  .cta-valor-button {
    padding: 0.8rem 2rem;
    font-size: 0.85rem;
  }
}

/* =========================
   TESTEMUNHOS
========================= */

.testimonials {
  padding: 3.5rem 0 3.5rem;
  background-color: #ffffff;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 3rem;
}

.testimonials-header h2 {
  font-size: 2.2rem;
  color: #111827;
  margin-bottom: 0.9rem;
  font-weight: 700;
}

.testimonials-header h2::after {
  content: "";
  display: block;
  width: 70px;
  height: 3px;
  background-color: #facc15;
  margin: 0.75rem auto 0;
  border-radius: 999px;
}

.testimonials-header p {
  font-size: 0.98rem;
  color: #6b7280;
}

.testimonials-slider {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  display: grid;
  padding: 0 1rem 1.5rem;
  touch-action: pan-y;
}

.testimonial {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 12px, 0);
  transition: opacity 0.6s ease, transform 0.6s ease, visibility 0.6s;
}

.testimonial.active {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.testimonial-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 2.2rem 2.4rem 2rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  text-align: center;
}

.testimonial-quote-icon {
  font-size: 2.4rem;
  color: #d4af37;
  margin-bottom: 0.6rem;
}

.testimonial-text {
  font-size: 1rem;
  color: #4b5563;
  margin-bottom: 1.6rem;
}

.testimonial-author {
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.3rem;
}

.testimonial-stars {
  color: #facc15;
  letter-spacing: 1.2px;
}

.testimonial-dots {
  margin-top: 0.8rem;
  display: flex;
  justify-content: center;
  gap: 0.6rem;
}

.testimonial-dots .dot {
  position: relative;
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 999px;
  border: none;
  background-color: #d1d5db;
  cursor: pointer;
  transition: background-color 0.2s ease, width 0.2s ease;
}

/* área de toque de 44px sem alterar o aspeto do ponto */
.testimonial-dots .dot::after {
  content: '';
  position: absolute;
  inset: -17px -8px;
}

.testimonial-dots .dot.active {
  background-color: #facc15;
  width: 22px;
}

@media (max-width: 768px) {
  .testimonials {
    padding: 3rem 0 3rem;
  }
  
  .testimonials-header {
    padding: 0 1rem;
    margin-bottom: 2.5rem;
  }
  
  .testimonials-header h2 {
    font-size: 1.8rem;
  }
  
  .testimonial-card {
    padding: 2.2rem 1.8rem 2rem;
    max-width: 90%;
    margin: 0 auto;
  }
  
  .testimonial-text {
    font-size: 0.95rem;
  }
}

@media (max-width: 640px) {
  .testimonials {
    padding: 2.5rem 0 2.5rem;
  }
  
  .testimonials-header h2 {
    font-size: 1.6rem;
  }

  .testimonial-card {
    padding: 2rem 1.5rem 1.8rem;
    max-width: 95%;
  }
  
  .testimonial-quote-icon {
    font-size: 3rem;
    margin-bottom: 0.8rem;
  }
  
  .testimonial-text {
    font-size: 0.9rem;
    margin-bottom: 1.3rem;
  }
}

@media (max-width: 480px) {
  .testimonials-header h2 {
    font-size: 1.4rem;
  }
  
  .testimonial-card {
    padding: 1.8rem 1.3rem 1.5rem;
  }
  
  .testimonial-quote-icon {
    font-size: 2.5rem;
  }
  
  .testimonial-text {
    font-size: 0.85rem;
  }
  
  .testimonial-author {
    font-size: 0.9rem;
  }
}
