:root {
  --primary-color: #eab207;
  --secondary-color: #f0f0f0;
  --text-dark: #4d4e4e;
  --text-light: #fff;
  --cta-hover: #d49f00;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Roboto", sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--text-light);
}

section {
  padding: 80px 0;
}

p {
  margin-bottom: 15px;
}

/* Botões CTA */
.cta-primary {
  display: inline-block;
  padding: 15px 30px;
  background-color: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.cta-primary:hover {
  background-color: var(--cta-hover);
}

.cta-secondary {
  display: inline-block;
  padding: 15px 30px;
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.cta-secondary:hover {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.cta-secondary-inverse {
  display: inline-block;
  padding: 15px 30px;
  background-color: var(--text-light);
  color: var(--primary-color);
  border: 2px solid var(--text-light);
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.cta-secondary-inverse:hover {
  background-color: var(--primary-color);
  color: var(--text-light);
}

/* Header */
.header {
  background: url("https://img.globaldata.pt/lp/2025/end-gamegear/end-game-gear-360/homepage+3280x1084.png")
    no-repeat center center/cover;
  color: var(--text-light);
  text-align: center;
  padding: 150px 0;
  position: relative;
}

.header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.header .container {
  position: relative;
  z-index: 2;
}

.header-title {
  font-size: 4em;
  color: var(--text-light);
  margin-bottom: 20px;
}

.header-subtitle {
  font-size: 1.5em;
  margin-bottom: 40px;
}

.header-ctas a {
  margin: 0 10px;
}

#main-content a:hover {
  color: var(--text-light);
  text-decoration: none !important;
}

/* KSPs */
.ksps {
  background-color: var(--secondary-color);
  text-align: center;
}

.ksps .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.ksp-item {
  padding: 30px;
  background-color: var(--text-light);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.ksp-icon {
  font-size: 3em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.ksp-item h3 {
  margin-bottom: 5px;
}

/* About Us */
.about-us .reviews {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.review-logo img {
  max-height: 50px;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.review-logo img:hover {
  opacity: 1;
  filter: none;
}

/* Challenge */
.challenge {
  background-color: var(--secondary-color);
  text-align: center;
}

/* Product Details */
.product-details .product-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.product-card {
  background-color: var(--text-light);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 30%;
  overflow: hidden;
  text-align: center;
}

.product-card img {
  width: 100%;
  height: auto;
  display: block;
}

.product-info {
  padding: 20px;
}

.specs-table {
  width: 100%;
  margin: 20px 0;
  border-collapse: collapse;
}

.specs-table td {
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
  text-align: left;
}

.specs-table td:first-child {
  font-weight: bold;
  color: var(--primary-color);
}

.price {
  font-weight: bold;
  font-size: 1.5em;
  color: var(--primary-color);
}

/* Testimonials */
.testimonials .testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  text-align: center;
}

.testimonial-card {
  background-color: var(--secondary-color);
  padding: 30px;
  border-left: 5px solid var(--primary-color);
  border-radius: 5px;
}

.quote {
  font-style: italic;
  font-size: 1.1em;
  margin-bottom: 15px;
}

.author {
  color: var(--primary-color);
}

/* Final CTA */
.final-cta {
  background-color: var(--primary-color);
  color: var(--text-light);
  text-align: center;
}

.final-cta h2 {
  color: var(--text-light);
  margin-bottom: 40px;
}

.final-cta .cta-buttons a {
  margin: 0 10px;
}

.review-logo {
  max-height: 240px; /* Ajusta a altura máxima dos logos */
  width: auto; /* Garante que a largura se ajusta proporcionalmente */
  filter: grayscale(100%);
  opacity: 0.6;
  transition: opacity 0.3s ease, filter 0.3s ease;
  display: block; /* Para centrar no slide, se necessário */
  margin: 0 auto; /* Para centrar no slide */
}

.review-logo:hover {
  opacity: 1;
  filter: none;
}

/* Regras específicas para o Swiper, se necessário */
.review-swiper {
  width: 100%;
  padding: 20px 0; /* Adiciona algum padding vertical para os slides, se quiseres */
}

.review-swiper .swiper-slide {
  display: flex; /* Garante que o conteúdo do slide esteja centrado */
  justify-content: center;
  align-items: center;
}
