@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* ─── Reset & Variáveis ─────────────────────────────────────── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

:root {
  --gold: #c9a84c;
  --gold-light: #e8cc80;
  --dark: #1a1a2e;
  --dark2: #16213e;
  --green: #2d5a27;
  --green2: #3d7a35;
  --gray: #f8f8f8;
  --text: #444;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: #fff;
}

/* ─── Navbar ─────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  background: rgba(26,26,46,0.97);
  backdrop-filter: blur(10px);
  padding: 18px 6%;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: #fff;
  letter-spacing: 1px;
  text-decoration: none;
}

.logo span { color: var(--gold); }

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: #ccc;
  text-decoration: none;
  font-size: .88rem;
  font-weight: 500;
  letter-spacing: .5px;
  transition: .3s;
}

.nav-links a:hover { color: var(--gold); }

.nav-cta {
  background: var(--gold);
  color: var(--dark);
  padding: 10px 22px;
  border-radius: 30px;
  font-weight: 600;
  font-size: .85rem;
  text-decoration: none;
  transition: .3s;
}

.nav-cta:hover { background: var(--gold-light); }

/* ─── Seções base ────────────────────────────────────────────── */
section { padding: 90px 6%; }

.section-label {
  color: var(--gold);
  font-size: .78rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.3rem;
  color: var(--dark);
  margin-bottom: 16px;
  line-height: 1.3;
}

.section-sub {
  color: #777;
  line-height: 1.8;
  max-width: 520px;
}

/* ─── Botões ─────────────────────────────────────────────────── */
.btn-primary {
  background: var(--gold);
  color: var(--dark);
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
  font-size: .9rem;
  transition: .3s;
  display: inline-block;
}

.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }

.btn-outline {
  border: 2px solid var(--gold);
  color: var(--gold);
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  font-size: .9rem;
  transition: .3s;
  display: inline-block;
}

.btn-outline:hover { background: var(--gold); color: var(--dark); transform: translateY(-2px); }

/* ─── Hero ───────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg,#1a2e1a 0%,#162e16 40%,#0f3020 70%,#1a2e1a 100%);
  display: flex;
  align-items: center;
  padding: 0 6%;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,.15), transparent 70%);
}

.hero-content { max-width: 620px; z-index: 2; }

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3.3rem;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero h1 span { color: var(--gold); }

.hero p {
  color: #aaa;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats { display: flex; gap: 40px; margin-top: 52px; z-index: 2; }

.stat h3 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--gold);
}

.stat p { color: #888; font-size: .8rem; margin-top: 2px; }

/* ─── Sobre ──────────────────────────────────────────────────── */
.sobre { background: var(--gray); }

.sobre-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.sobre-img-wrap { position: relative; }

.sobre-img-box {
  width: 100%;
  height: 480px;
  background: linear-gradient(135deg, var(--green), var(--dark));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.sobre-img-box img { width: 100%; height: 100%; object-fit: cover; }
.sobre-img-box .placeholder-svg { opacity: .3; }

.sobre-badge {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--gold);
  padding: 22px 26px;
  border-radius: 16px;
  text-align: center;
}

.sobre-badge h4 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--dark);
  line-height: 1;
}

.sobre-badge p { font-size: .72rem; color: var(--dark); font-weight: 600; margin-top: 4px; }

.sobre-text .section-sub { max-width: 100%; }

.sobre-list { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }

.sobre-item { display: flex; align-items: flex-start; gap: 12px; }

.sobre-icon {
  width: 38px; height: 38px;
  background: rgba(201,168,76,.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.sobre-item p { font-size: .9rem; color: #555; line-height: 1.6; }

.link-invisivel { color: inherit; text-decoration: none; }
.link-invisivel:hover { text-decoration: underline; }

/* ─── Ademicon Banner ────────────────────────────────────────── */
.ademicon-banner {
  background: linear-gradient(135deg, var(--dark), #0f2010);
  padding: 60px 6%;
}

.ademicon-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: nowrap;
  max-width: 960px;
  margin: 0 auto;
}

.ademicon-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: #fff;
  margin-bottom: 12px;
}

.ademicon-text h2 span { color: var(--gold); }
.ademicon-text p { color: #aaa; font-size: .95rem; line-height: 1.8; max-width: 480px; }

.ademicon-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }

.pill {
  background: rgba(201,168,76,.1);
  border: 1px solid rgba(201,168,76,.25);
  color: var(--gold-light);
  padding: 7px 18px;
  border-radius: 30px;
  font-size: .78rem;
  font-weight: 500;
}

.ademicon-logo {
  height: 200px;
  background: #fff;
  padding: 20px 28px;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,.3);
  flex-shrink: 0;
  align-self: center;
}

/* ─── Serviços ───────────────────────────────────────────────── */
.servicos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 50px;
}

.card {
  background: #fff;
  border-radius: 18px;
  padding: 36px 28px;
  box-shadow: 0 4px 30px rgba(0,0,0,.06);
  border: 1px solid #eee;
  transition: .3s;
  cursor: default;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 50px rgba(201,168,76,.15);
  border-color: var(--gold);
}

.card-icon { font-size: 2.2rem; margin-bottom: 20px; }

.card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--dark);
  margin-bottom: 12px;
}

.card p { font-size: .88rem; color: #777; line-height: 1.7; }

/* ─── Imóveis ────────────────────────────────────────────────── */
.imoveis {
  background: linear-gradient(135deg, #1a2e1a, #0d1f0d);
}

.imoveis .section-title { color: #fff; }
.imoveis .section-sub   { color: #aaa; }

.imoveis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 20px;
}

.imovel-card {
  background: #1e2e1e;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.05);
  transition: transform .3s, border-color .3s;
}

.imovel-card:hover {
  transform: translateY(-5px);
  border-color: rgba(201,168,76,.3);
}

.imovel-thumb {
  height: 200px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1a3a1a, #2d5a1a);
}

.imovel-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.thumb-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  background: linear-gradient(135deg, #1a3a1a, #2d5a2a);
}

.imovel-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--gold);
  color: #1a1a2e;
  font-size: .7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  z-index: 2;
}

.imovel-body { padding: 22px; }

.imovel-body h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 6px;
}

.imovel-loc   { font-size: .8rem; color: #888; margin-bottom: 14px; }

.imovel-info  {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-bottom: 16px;
  font-size: .78rem; color: #aaa;
}

.imovel-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gold);
}

/* ─── Depoimentos ────────────────────────────────────────────── */
.depoimentos { background: var(--gray); }

.depo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.depo-card {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
}

.stars { color: var(--gold); font-size: 1rem; margin-bottom: 14px; }

.depo-card p {
  font-size: .88rem; color: #666;
  line-height: 1.8; font-style: italic;
  margin-bottom: 20px;
}

.depo-author { display: flex; align-items: center; gap: 12px; }

.depo-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex; align-items: center; justify-content: center;
  color: var(--dark); font-weight: 700; font-size: .9rem;
  flex-shrink: 0;
}

.depo-name { font-weight: 600; font-size: .88rem; color: var(--dark); }
.depo-role { font-size: .75rem; color: #999; }

/* ─── Contato ────────────────────────────────────────────────── */
.contato { background: linear-gradient(135deg, var(--dark), var(--dark2)); }
.contato .section-title { color: #fff; }
.contato .section-sub   { color: #aaa; }

.contato-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
  margin-top: 50px;
}

.contato-info { display: flex; flex-direction: column; gap: 24px; }

.contato-item { display: flex; gap: 16px; align-items: flex-start; }

.c-icon {
  width: 48px; height: 48px;
  background: rgba(201,168,76,.15);
  border: 1px solid rgba(201,168,76,.3);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}

.c-text h4  { color: #fff; font-size: .9rem; font-weight: 600; margin-bottom: 4px; }
.c-text p   { color: #888; font-size: .85rem; }
.c-text a   { color: var(--gold); text-decoration: none; font-size: .85rem; }

.contato-form .form-group { margin-bottom: 18px; }

.contato-form label {
  display: block; color: #ccc;
  font-size: .82rem; margin-bottom: 8px; font-weight: 500;
}

.contato-form input,
.contato-form select,
.contato-form textarea {
  width: 100%;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  padding: 13px 16px;
  color: #fff;
  font-size: .88rem;
  font-family: 'Inter', sans-serif;
  transition: .3s;
  outline: none;
}

.contato-form input:focus,
.contato-form select:focus,
.contato-form textarea:focus { border-color: var(--gold); }

.contato-form select option { background: var(--dark2); color: #fff; }
.contato-form textarea { resize: vertical; min-height: 120px; }

.btn-submit {
  width: 100%;
  background: var(--gold);
  color: var(--dark);
  padding: 15px;
  border-radius: 10px;
  font-weight: 700;
  font-size: .95rem;
  border: none;
  cursor: pointer;
  transition: .3s;
  font-family: 'Inter', sans-serif;
}

.btn-submit:hover { background: var(--gold-light); transform: translateY(-2px); }

/* ─── Footer ─────────────────────────────────────────────────── */
footer {
  background: #0d0d1a;
  padding: 30px 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

footer p { color: #555; font-size: .8rem; }

.footer-creci { color: var(--gold); font-size: .75rem; font-weight: 600; }

/* ─── WhatsApp FAB ───────────────────────────────────────────── */
.wpp {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 9999;
  background: #25d366;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: .3s;
  animation: pulse 2s infinite;
}

.wpp:hover { transform: scale(1.1); }

.wpp svg { width: 28px; height: 28px; fill: #fff; }

@keyframes pulse {
  0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,.4); }
  50%      { box-shadow: 0 4px 40px rgba(37,211,102,.7); }
}

/* ─── Responsivo ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero h1             { font-size: 2.4rem; }
  .sobre-inner,
  .contato-inner       { grid-template-columns: 1fr; }
  .servicos-grid,
  .imoveis-grid,
  .depo-grid           { grid-template-columns: 1fr 1fr; }
  .sobre-img-wrap      { display: none; }
  .hero-stats          { gap: 24px; }
  .ademicon-inner      { flex-wrap: wrap; }
}

@media (max-width: 600px) {
  nav                  { padding: 14px 5%; }
  .nav-links           { display: none; }
  .hero                { padding: 80px 5% 0; }
  .hero h1             { font-size: 1.9rem; }
  section              { padding: 60px 5%; }
  .servicos-grid,
  .imoveis-grid,
  .depo-grid           { grid-template-columns: 1fr; }
  .hero-stats          { flex-wrap: wrap; gap: 20px; }
  footer               { flex-direction: column; text-align: center; }
  .details-row         { grid-template-columns: 1fr; }
}

/* ─── Efeitos de Fade de Imagem (Hero e Ademicon) ──────────────── */

/* Ajustes Hero */
.hero {
  position: relative;
  /* O background original linear-gradient continua aqui no .hero */
}

.hero-bg-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 88%; /* Aumentamos a largura para ela "entrar" mais sob o texto */
  height: 100%;
  background: url('img/Fazenda.jpg') center/cover no-repeat; /* Ajuste o caminho */
  z-index: 1;
  
  /* O segredo está aqui: 
     0% (totalmente transparente na esquerda) até 
     80% (totalmente visível na direita) 
  */
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 80%);
  mask-image: linear-gradient(to left, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 80%);
}

.hero-content {
  position: relative;
  z-index: 2; /* Garante que o texto fique acima da imagem */
}

/* Ajustes Ademicon */
.ademicon-banner {
  position: relative;
  overflow: hidden; /* Evita que a imagem vase da seção */
}

.ademicon-bg-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: url('img/Fazenda2.jpg') center/cover no-repeat;
  z-index: 1;
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(to left, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 100%);
}

.ademicon-inner {
  position: relative;
  z-index: 2; /* Garante que o texto fique acima da imagem */
}

/* Responsividade para esconder ou diminuir o fade no celular */
@media (max-width: 900px) {
  .hero-bg-image, .ademicon-bg-image {
    width: 100%;
    -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0) 10%, rgba(0,0,0,0.3) 100%);
    mask-image: linear-gradient(to top, rgba(0,0,0,0) 10%, rgba(0,0,0,0.3) 100%);
  }
}