:root {
  --primary: #1b4b5a;
  --accent: #ff5531;

  --bg: #ffffff;
  --bg-soft: #f8fafb;

  --text: #1b4b5a;
  --text-light: #5f7480;

  --border: #e6ecef;
}

/* * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: Arial, sans-serif;
    } */

body {
  background: var(--bg-soft);
  color: var(--text);
}

/* HERO BANNER */

.hero {
  height: 400px;
  /* background:linear-gradient(rgba(27, 75, 90, .65),  #1b4b5aa6),url('https://placehold.co/1920x400') center center/cover no-repeat; */
  background: url("https://cultura.uol.com.br/culturamarcas/produtos/banner-cultura-marcas.png")
    center center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  /* border-radius: 0 0 24px 24px; */
  overflow: hidden;
}

.hero-content {
  max-width: 800px;
  padding: 20px;
}

.hero h1 {
  color: #fff;
  font-size: 56px;
  font-weight: 700;
  margin-bottom: 16px;
}

.hero p {
  color: #fff;
  font-size: 18px;
  line-height: 1.7;
}

/* LAYOUT */

.container {
  max-width: 1600px;
  margin: 40px auto;
  padding: 0 20px;

  display: flex;
  gap: 30px;
}

/* SIDEBAR */

.sidebar {
  width: 260px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  height: fit-content;
}

.sidebar h3 {
  color: var(--primary);
  margin-bottom: 20px;
}

.sidebar ul {
  list-style: none;
}

.sidebar li {
  margin-bottom: 10px;
}

.sidebar a {
  color: var(--text);
  text-decoration: none;
  display: block;
  padding: 12px;
  border-radius: 10px;
  transition: 0.3s;
}

.sidebar a:hover {
  background: #fff1ed;
  color: var(--accent);
}

.sidebar a.active {
  background: var(--primary);
  color: #fff;
}

/* PRODUTOS */
.products-area {
  flex: 1;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* CARD */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(27, 75, 90, 0.08);
}

.card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.card-content {
  padding: 22px;
}

.card h3 {
  color: var(--primary);
  font-size: 18px;
  margin-bottom: 8px;
  font-weight: 800;
}

.partner {
  color: var(--text-light);
  margin-bottom: 18px;
  line-height: 1.4rem;
}

.card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 10px;
  text-decoration: none;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  transition: 0.3s;
}

.card a:hover {
  background: #46403f;
}

/* PAGINAÇÃO */

.pagination {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.pagination a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--primary);
  transition: 0.3s;
}

.pagination a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.pagination a.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.info-text {
  max-width: 1500px;
  color: #555;
  margin: 20px auto;
  padding: 0 20px;
  line-height: 1.3rem;
  font-size: 12px;
}

/* RESPONSIVO */
@media (max-width: 1100px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .container {
    flex-direction: column;
  }

  .sidebar {
    width: initial;
  }
}

@media (max-width: 700px) {
  .products-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    height: 280px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero p {
    font-size: 16px;
  }
}

.cta-container {
  max-width: 260px;
  margin: 0 auto;
  /* text-align: center; */
  background: #ff5531;
  padding: 30px 20px;
  border-radius: 12px;
  /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08); */
  margin-bottom: 20px;
  border: 1px solid var(--border);
}

.cta-title {
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 5px;
  line-height: 1.4;
  font-weight: 600;
}

.cta-button {
  display: block;
  padding: 16px 14px;
  background-color: var(--primary);
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: bold;
  border-radius: 10px;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #46403f;
}

.products-intro-mobile {
  display: none;
}

.products-intro {
  max-width: 100%;
  margin: 0 auto 20px;
  padding-left: 24px;
  background-color: var(--primary);
  padding: 20px;
  border-radius: 10px;
}

.products-intro p {
  margin: 0 0 18px;
  font-size: 1; /* 18px */
  line-height: 1.5;
  color: white;
  font-weight: 400;
}

.products-intro h2 {
  line-height: 1.8;
  color: white;
  font-weight: 600;
}

@media (max-width: 480px) {
  .cta-container {
    max-width: 100%;
  }

  .cta-title {
    font-size: 1.2rem;
  }

  .cta-button {
    width: 100%;
    box-sizing: border-box;
  }
}

@media (max-width: 768px) {
  .container {
    margin: 20px auto;
  }
  .products-intro {
    display: none;
  }

  .products-intro-mobile {
    display: block;
    max-width: 100%;
    margin: 20px;
    padding-left: 24px;
    background-color: var(--primary);
    padding: 20px;
    border-radius: 10px;
  }
  .products-intro-mobile p {
    margin: 0 0 18px;
    font-size: 1; /* 18px */
    line-height: 1.5;
    color: white;
    font-weight: 400;
  }

  .products-intro-mobile h2 {
    line-height: 1.8;
    color: white;
    font-weight: 600;
  }
}
