/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  color: #222;
  background: #fffdf5; /* amarelo pastel bem claro */
  line-height: 1.6;
}

/* Centralização e containers */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

section {
  margin-bottom: 40px;
  background: #fffef9;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 5px rgba(0,0,0,0.05);
}

/* Topbar */
.topbar {
  background: #f7f7f7;
  padding: 8px 15px;
  font-size: 14px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.topbar form {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 5px;
  margin: 0;
}

.topbar input {
  font-size: 12px;
  padding: 4px 6px;
  width: 100px;
  border: 1px solid #ccc;
  border-radius: 3px;
}

.topbar button {
  background: #f7b500;
  border: none;
  padding: 5px 12px;
  cursor: pointer;
  font-weight: bold;
  border-radius: 3px;
}

.topbar button:hover {
  background: #d9a300;
}

/* Header */
.header-area {
  background: #f7b500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  gap: 30px;
}

.header-area .logo img {
  height: 45px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav li a {
  text-decoration: none;
  color: #000;
  font-weight: bold;
  padding: 10px 15px;
  border-radius: 4px;
  transition: background 0.3s ease;
}

nav li a:hover {
  background: #fff3c2;
}

/* Blog-like sections */
.boas-vindas {
  text-align: center;
  margin-bottom: 30px;
}

.boas-vindas h1 {
  font-size: 2em;
  margin-bottom: 10px;
}

.boas-vindas p {
  font-size: 1.1em;
  color: #444;
  max-width: 800px;
  margin: 0 auto;
}

.destaques {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.coluna {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  background: #fffefc;
  border: 2px solid #f7b500;
  border-radius: 8px;
  padding: 15px;
}

.coluna h2 {
  border-bottom: 2px solid #f7b500;
  margin-bottom: 15px;
}

.item {
  margin-bottom: 20px;
}

.item img {
  max-width: 100%;
  border-radius: 4px;
  margin-bottom: 10px;
}

.item h3 {
  font-size: 1.2em;
  margin-bottom: 5px;
}

.item p {
  font-size: 0.95em;
  color: #555;
}

/* Forms */
form input, form textarea, form select {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 100%;
  margin-bottom: 10px;
}

form button {
  background: #f7b500;
  border: none;
  padding: 8px 15px;
  cursor: pointer;
  border-radius: 4px;
  font-weight: bold;
}

form button:hover {
  background: #d9a300;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

table th, table td {
  padding: 10px;
  border: 1px solid #eee;
  text-align: left;
}

table th {
  background: #fff8d5;
}

table tr:nth-child(even) {
  background: #fffef8;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  font-size: 0.9em;
  color: #555;
  background: #f7f7f7;
  border-top: 2px solid #f7b500;
  margin-top: 40px;
}

footer a {
  color: #f7b500;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Responsivo */
@media (max-width: 768px) {
  .header-area {
    flex-wrap: wrap;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  .destaques {
    flex-direction: column;
  }
}

.banner-destaque {
  margin: 30px 0;
}

.banner-destaque .swiper {
  width: 100%;
  height: 300px;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

.banner-destaque .swiper-slide {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.banner-destaque .swiper-slide img {
  width: auto;
  height: 100%;
  object-fit: contain;
}

.banner-destaque .legenda {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.5);
  color: #fff;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.9em;
}

.carousel-item img {
    border-radius: 10px;
}
.carousel-caption {
    background-color: rgba(0,0,0,0.5);
    border-radius: 5px;
}
.carousel-img-frame {
    position: relative;
    width: 200px;  /* largura fixa */
    height: 200px; /* altura fixa */
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    margin: 0 auto 10px auto;
    background-color: rgba(0,0,0,0.05);
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;  /* preenche mantendo proporção */
    z-index: 2;
}

.carousel-img-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.2);
    z-index: 1;
}

