/* ==========================
   RESET
========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: #f5f5f5;
  color: #333;
}

/* ==========================
   HEADER
========================== */
header {
  background: #b30000;
  color: white;
  padding: 8px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  height: 120px;
  margin-left: 10px;
}

nav {
  display: flex;
  gap: 50px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
}

/* ==========================
   TÍTULO DO IMÓVEL
========================== */
.topo {
  background: #e40f0f;
  padding: 20px;
  color: white;
  text-align: center;
  font-size: 26px;
  font-weight: bold;
}

/* ==========================
   CONTAINER
========================== */
.container {
  width: 90%;
  max-width: 1100px;
  margin: 30px auto;
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* ==========================
   SLIDER INTERNO
========================== */
.slider {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 25px;
}

.slides {
  display: flex;
  transition: transform 0.4s ease-in-out;
}

.slides img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  flex-shrink: 0;
}

.btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  padding: 14px;
  cursor: pointer;
  font-size: 22px;
  border-radius: 50%;
}

#prev { left: 15px; }
#next { right: 15px; }

/* ==========================
   INFORMAÇÕES DO IMÓVEL
========================== */
.info h2 {
  font-size: 28px;
  color: #b30000;
  margin-bottom: 15px;
}

.dados {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 20px 0;
}

.dados div {
  background: #eef6ff;
  padding: 12px;
  border-radius: 8px;
  font-size: 16px;
}

.descricao {
  margin-top: 20px;
  line-height: 1.6;
  font-size: 17px;
  background: #f7faff;
  padding: 20px;
  border-radius: 10px;
}

/* ==========================
   FILTROS (SE USADOS)
========================== */
.filtros {
  background: #e40f0f;
  color: #000;
  padding: 15px 20px;
  margin: 0;
  width: 100%;
  border-radius: 0;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.filtros label {
  font-weight: bold;
}

.filtros select {
  padding: 8px;
  border-radius: 5px;
  border: 1px solid #000;
  background: #fff;
  color: #000;
}

/* ==========================
   FOOTER
========================== */
.footer {
  background: #b30000;
  color: white;
  padding: 40px 20px 10px;
  margin-top: 40px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: auto;
}

.footer-col {
  width: 30%;
  min-width: 250px;
  margin-bottom: 20px;
}

.footer-col h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
  border-bottom: 2px solid white;
  display: inline-block;
  padding-bottom: 5px;
}

.footer-col p,
.footer-col a {
  font-size: 1rem;
  margin: 5px 0;
}

.footer-col a {
  color: white;
  text-decoration: none;
}

.footer-col a:hover {
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.4);
  font-size: 0.9rem;
}
