/* Reset e Fonte */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
}

body {
  background-color: #f5f8fb;
  color: #1b2a3d;
}

/* Header e Navegação */
header {
  background-color: #1b396a;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo {
  height: 50px;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

nav {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 4px;
  transition: background 0.3s ease;
}

nav a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.btn-divulgue {
  background: #5dd141;
  color: white;
  padding: 8px 16px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn-divulgue:hover {
  background: #4cbf36;
}

/* Banner */
.banner {
  width: 100%;
  height: 300px;
  background: url('https://images.unsplash.com/photo-1603398938378-b53d089c8c6b') no-repeat center;
  background-size: cover;
}

/* Seletor de Cliente */
.client-select {
  background: #1b396a;
  padding: 20px;
  text-align: center;
}

.client-select select {
  padding: 10px;
  width: 80%;
  max-width: 500px;
}

/* Container Geral */
.container {
  max-width: 1000px;
  margin: 30px auto;
  padding: 0 20px;
}

/* Cabeçalho de Caso */
.case-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.case-header .tag {
  background: #1b396a;
  color: white;
  padding: 6px 12px;
  border-radius: 5px;
  margin-bottom: 10px;
}

/* Títulos e Seções */
h1 {
  margin: 20px 0;
  font-size: 26px;
  color: #1b2a3d;
}

.section {
  background: white;
  padding: 20px;
  margin: 20px 0;
  border-radius: 8px;
}

.section h2 {
  color: #1b2a3d;
  margin-bottom: 10px;
}

.section p {
  margin-bottom: 16px;
}

/* Citação */
.quote {
  background: #e9f1fa;
  font-weight: bold;
  padding: 15px;
  font-style: italic;
  border-left: 5px solid #1b396a;
  margin: 20px 0;
}

/* Materiais */
.materiais {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 20px 0;
}

.materiais img,
.materiais video {
  width: 100%;
  max-width: 48%;
  border-radius: 8px;
}

/* Rodapé */
footer {
  background: #1b396a;
  height: 60px;
  margin-top: 40px;
}

/* Carrossel */
.carousel {
  position: relative;
  width: 100%;
  height: 400px;
  margin: 0px auto;
  overflow: hidden;
  border-radius: 0px;
  background-color: #000;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: #fff;
  font-size: 1.2rem;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 8px 12px;
  border-radius: 5px;
}
.materiais-carousel {
  position: relative;
  max-width: 100%;
  overflow: hidden;
  margin: 30px 0;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-item {
  min-width: 100%;
  box-sizing: border-box;
  padding: 10px;
  text-align: center;
}

.carousel-item img,
.carousel-item video {
  max-width: 100%;
  border-radius: 8px;
  cursor: pointer;
}

.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(27, 57, 106, 0.7);
  color: white;
  border: none;
  font-size: 24px;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.modal img,
.modal video {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}
