/* --- IDENTIDADE CORPORATIVA CECOTTI --- */
:root {
  --cor-primaria: #004d4d; /* Verde Institucional */
  --cor-secundaria: #ff8c00; /* Laranja Institucional */
  --cor-texto: #333;
  --cor-cinza-claro: #f4f6f8;
}

body {
  font-family: "Roboto", sans-serif;
  color: var(--cor-texto);
  background-color: #fff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  color: var(--cor-primaria);
  letter-spacing: -0.5px;
}

.bg-light-cecotti {
  background-color: var(--cor-cinza-claro);
}

/* --- NAVBAR --- */
.navbar {
  background-color: var(--cor-primaria);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.navbar-brand {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: white !important;
  text-transform: uppercase;
}

.brand-highlight {
  color: var(--cor-secundaria);
}

.nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
  font-size: 0.9rem;
  margin-left: 20px;
  transition: color 0.3s;
}

.nav-link.active,
.nav-link:hover {
  color: var(--cor-secundaria) !important;
}

/* --- BOTÕES --- */
.btn-cecotti {
  background-color: var(--cor-secundaria);
  color: white;
  border-radius: 6px;
  padding: 10px 25px;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  border: none;
  text-transform: uppercase;
  font-size: 0.85rem;
  transition: 0.3s;
}

.btn-cecotti:hover {
  background-color: #e67e00;
  color: white;
  transform: translateY(-2px);
}

/* --- HERO SECTION --- */
.hero-section {
  background:
    linear-gradient(
      135deg,
      rgba(0, 77, 77, 0.95) 0%,
      rgba(0, 77, 77, 0.7) 100%
    ),
    url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80");
  background-size: cover;
  background-position: center;
  padding: 100px 0;
  color: white;
}

.hero-section h1,
.hero-section p {
  color: white !important;
}

.hero-text {
  opacity: 0.9;
}

/* --- SEÇÃO LANÇAMENTOS --- */
.section-title {
  margin-bottom: 50px;
  text-align: center;
}

.section-title h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--cor-secundaria);
  margin: 15px auto 0;
  border-radius: 2px;
}

/* --- CARDS --- */
.card-property {
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s;
  background: white;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card-property:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-5px);
  border-color: var(--cor-secundaria);
}

.card-img-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.card-property:hover .card-img-wrapper img {
  transform: scale(1.05);
}

/* Badges */
.badge-impper {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--cor-primaria);
  color: white;
  padding: 5px 12px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.badge-lancamento {
  background-color: var(--cor-secundaria);
}

/* Card Body Content */
.card-body {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cor-primaria);
  margin-bottom: 5px;
}

.card-location {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  font-size: 0.9rem;
  color: #555;
  flex-grow: 1;
}

.features-list li {
  margin-bottom: 8px;
  display: flex;
  align-items: start;
}

.features-list i {
  color: var(--cor-secundaria);
  margin-right: 8px;
  margin-top: 3px;
}

/* Card Buttons */
.btn-outline-card {
  width: 100%;
  border: 2px solid #ddd;
  color: #555;
  font-weight: 600;
  padding: 10px;
  border-radius: 6px;
  text-transform: uppercase;
  font-size: 0.8rem;
  transition: 0.2s;
  background: transparent;
}

.btn-outline-card:hover {
  border-color: var(--cor-primaria);
  color: var(--cor-primaria);
  background-color: #f0fdfd;
}

/* --- FOOTER --- */
footer {
  background-color: var(--cor-primaria);
  color: white;
  padding: 40px 0;
  text-align: center;
  font-size: 0.9rem;
}

/* --- ESTILOS DA PÁGINA DE DETALHES --- */

.property-header {
  height: 60vh; /* Altura do banner */
  background-size: cover;
  background-position: center;
  position: relative;
  margin-top: -1px; /* Remove linha branca se houver */
}

/* Gradiente escuro para ler o texto em cima da imagem */
.overlay-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.2) 60%,
    rgba(0, 0, 0, 0.4) 100%
  );
}

.object-fit-cover {
  object-fit: cover;
}

/* --- NOVOS ESTILOS DA HOME (SOBRE & DIFERENCIAIS) --- */

/* Seção Sobre */
.about-img-wrapper {
  position: relative;
  padding-left: 30px;
  padding-bottom: 30px;
}

/* Cria aquela borda laranja deslocada atrás da foto */
.about-img-wrapper::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60%;
  height: 60%;
  border-left: 5px solid var(--cor-secundaria);
  border-bottom: 5px solid var(--cor-secundaria);
  z-index: 0;
}

.about-img-wrapper img {
  position: relative;
  z-index: 1;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Seção Números/Cidade (Faixa Escura) */
.stats-section {
  background-color: var(--cor-primaria);
  color: white;
  padding: 60px 0;
}

.stat-number {
  font-family: "Montserrat", sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--cor-secundaria);
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.8;
}

/* Ícones de Diferenciais */
.feature-box {
  text-align: center;
  padding: 30px;
  transition: transform 0.3s;
}

.feature-box:hover {
  transform: translateY(-5px);
}

.feature-icon-circle {
  width: 80px;
  height: 80px;
  background-color: rgba(255, 140, 0, 0.1); /* Laranja bem clarinho */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--cor-secundaria);
  font-size: 2rem;
}

/* --- NOVA LOGO (COM FONT AWESOME) --- */

.navbar-brand.logo-completa {
  color: var(--cor-secundaria) !important;
  display: flex;
  align-items: center;
  font-family: "Montserrat", sans-serif;
  text-decoration: none;
}

.navbar-brand.logo-completa i {
  font-size: 1.8rem;
  margin-right: 12px;
  color: var(--cor-secundaria);
}

.brand-main {
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  color: var(--cor-secundaria);
  line-height: 1;
}

/* ATUALIZADO PARA TEXTO LONGO */
.brand-sub {
  font-weight: 600;
  font-size: 0.55rem; /* Diminuí um pouco para caber "Imobiliários" */
  letter-spacing: 1px; /* Espaçamento leve para leitura */
  text-transform: uppercase;
  color: var(--cor-secundaria);
  display: block;
  margin-top: 3px;
  white-space: nowrap; /* Garante que não quebre a linha */
}

/* --- PÁGINA DE PARCEIROS --- */
.partner-hero {
  background:
    linear-gradient(rgba(0, 77, 77, 0.9), rgba(0, 77, 77, 0.8)),
    url("https://images.unsplash.com/photo-1556761175-5973dc0f32e7?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80");
  background-size: cover;
  background-position: center;
  padding: 120px 0;
}

.text-cecotti-green {
  color: var(--cor-primaria) !important;
}

.text-dark-cecotti {
  color: #1a2e2e; /* Um verde quase preto para títulos no fundo branco */
}

.bg-dark-green {
  background-color: #003333;
}

/* --- PÁGINA DE PARCEIROS (BANNER CORRIGIDO) --- */
.partner-hero {
  /* Gradiente escuro (Verde Cecotti) por cima da imagem para dar contraste */
  background:
    linear-gradient(rgba(0, 77, 77, 0.85), rgba(0, 77, 77, 0.6)),
    url("https://images.unsplash.com/photo-1556761175-5973dc0f32e7?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80");
  background-size: cover;
  background-position: center;
  padding: 120px 0;
  position: relative;
}

/* Força o texto a ficar Branco Puro e com Sombra Escura */
.partner-hero h1,
.partner-hero p,
.partner-hero span {
  color: #ffffff !important;
}

/* --- ESTILO DO CARROSSEL --- */

.carousel-img-custom {
  height: 500px; /* Altura fixa para ficar imponente */
  object-fit: cover; /* Garante que a imagem preencha o espaço sem esticar */
  object-position: center; /* Centraliza a imagem */
}

/* Ajuste para celulares (diminui a altura para caber na tela) */
@media (max-width: 768px) {
  .carousel-img-custom {
    height: 300px;
  }
}

/* Sombra nos botões de seta para destacar em fotos claras */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: drop-shadow(0px 0px 3px rgba(0, 0, 0, 0.8));
  width: 3rem; /* Setas maiores */
  height: 3rem;
}
