/* ===== SABACK IMÓVEIS — SISTEMA DE DESIGN ===== */
/* Paleta: Azul-noite #0D1B2A, Marfim #F5F0E8, Ouro #C9A96E, Cinza #6B7280 */
/* Tipografia: Cormorant Garamond (display) + Inter (corpo) */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Inter:wght@300;400;500;600&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #0D1B2A;
  --navy-mid: #162236;
  --navy-light: #1E3050;
  --ivory: #F5F0E8;
  --ivory-dark: #EDE6D8;
  --gold: #C9A96E;
  --gold-light: #DFC08A;
  --white: #FFFFFF;
  --gray: #6B7280;
  --gray-light: #D1D5DB;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --max-w: 1160px;
  --radius: 2px;
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--navy);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ===== TIPOGRAFIA ===== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: 1.25rem; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ===== LAYOUT ===== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section--dark {
  background: var(--navy);
  color: var(--ivory);
}

.section--ivory {
  background: var(--ivory);
}

/* ===== NAVEGAÇÃO ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(201,169,110,0.2);
}

.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav__logo img {
  height: 64px;
  width: auto;
}


.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__links a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.75);
  transition: color var(--transition);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.nav__social {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav__social a {
  color: rgba(245,240,232,0.6);
  transition: color var(--transition);
  display: flex;
  align-items: center;
}
.nav__social a:hover { color: var(--gold); }

/* Mobile menu */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ivory);
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 5rem;
  overflow: hidden;
  background: var(--navy);
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,27,42,0.85) 0%, rgba(13,27,42,0.2) 60%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

.hero__content .eyebrow {
  margin-bottom: 1rem;
}

.hero__content h1 {
  color: var(--ivory);
  max-width: 600px;
  font-style: italic;
  font-weight: 300;
  margin-bottom: 1rem;
}

.hero__content p {
  color: rgba(245,240,232,0.75);
  font-size: 1rem;
  max-width: 420px;
  margin-bottom: 2rem;
}

/* ===== BOTÕES ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn--gold {
  background: var(--gold);
  color: var(--navy);
}
.btn--gold:hover {
  background: var(--gold-light);
}

.btn--outline {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
}
.btn--outline:hover {
  background: var(--gold);
  color: var(--navy);
}

.btn--outline-light {
  background: transparent;
  border: 1px solid rgba(245,240,232,0.4);
  color: var(--ivory);
}
.btn--outline-light:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn--whatsapp {
  background: #25D366;
  color: #fff;
  gap: 0.6rem;
}
.btn--whatsapp:hover {
  background: #1ebe5a;
}

/* ===== DIVISOR ===== */
.divider {
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin: 1.25rem 0;
}
.divider--center { margin: 1.25rem auto; }

/* ===== SEÇÃO INTRO SOBRE ===== */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.intro-grid__text .eyebrow { margin-bottom: 0.75rem; }
.intro-grid__text h2 { margin-bottom: 1.25rem; }
.intro-grid__text p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.intro-grid__img {
  position: relative;
}
.intro-grid__img img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

/* ===== NÚMEROS ===== */
.stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2rem;
}
.stat__number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--navy);
  line-height: 1;
}
.stat__number--light { color: var(--ivory); }
.stat__label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 0.25rem;
}
.stat__label--light { color: rgba(245,240,232,0.6); }

/* ===== HISTÓRIA ===== */
.historia-section {
  background: var(--navy);
  color: var(--ivory);
}
.historia-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.historia-grid__img img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  filter: grayscale(20%) sepia(10%);
}
.historia-grid__text .eyebrow { margin-bottom: 0.75rem; }
.historia-grid__text h2 {
  color: var(--ivory);
  margin-bottom: 1.5rem;
  font-style: italic;
}
.historia-grid__text p {
  color: rgba(245,240,232,0.75);
  font-size: 0.95rem;
  line-height: 1.85;
  margin-bottom: 1rem;
}

/* ===== SERVIÇOS ===== */
.servicos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.servico-card {
  position: relative;
  overflow: hidden;
  height: 460px;
}
.servico-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.servico-card:hover img { transform: scale(1.03); }

.servico-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,27,42,0.92) 0%, rgba(13,27,42,0.2) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem;
}
.servico-card__overlay h3 {
  color: var(--ivory);
  font-style: italic;
  margin-bottom: 0.75rem;
}
.servico-card__overlay p {
  color: rgba(245,240,232,0.75);
  font-size: 0.875rem;
  line-height: 1.7;
}

/* ===== PATRIMÔNIO ===== */
.patrimonio-section {
  background: var(--ivory);
}
.patrimonio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.patrimonio-grid img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}
.patrimonio-grid__text .eyebrow { margin-bottom: 0.75rem; }
.patrimonio-grid__text h2 { margin-bottom: 1.25rem; }
.patrimonio-grid__text p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* ===== INSTAGRAM ===== */
.instagram-section { background: var(--navy); text-align: center; }
.instagram-section h2 {
  color: var(--ivory);
  font-style: italic;
  margin-bottom: 0.25rem;
}
.instagram-section .eyebrow { margin-bottom: 1.5rem; }
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  margin-top: 2rem;
}
.instagram-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  opacity: 0.85;
  transition: opacity var(--transition);
}
.instagram-grid img:hover { opacity: 1; }

/* ===== DEPOIMENTO ===== */
.depoimento-section {
  background: var(--navy-mid);
}
.depoimento-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 380px;
}
.depoimento-img {
  position: relative;
  overflow: hidden;
}
.depoimento-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.depoimento-content {
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.depoimento-stars { color: var(--gold); font-size: 1.25rem; margin-bottom: 1.5rem; }
.depoimento-content blockquote {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-style: italic;
  font-weight: 300;
  color: var(--ivory);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}
.depoimento-author {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}
.depoimento-local {
  font-size: 0.75rem;
  color: rgba(245,240,232,0.5);
  margin-top: 0.2rem;
}

/* ===== IMÓVEIS GRID ===== */
.imoveis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.imovel-card {
  background: var(--white);
  border: 1px solid var(--ivory-dark);
  transition: box-shadow var(--transition), transform var(--transition);
  overflow: hidden;
}
.imovel-card:hover {
  box-shadow: 0 8px 32px rgba(13,27,42,0.12);
  transform: translateY(-2px);
}

.imovel-card__img {
  position: relative;
  overflow: hidden;
  height: 220px;
}
.imovel-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.imovel-card:hover .imovel-card__img img { transform: scale(1.04); }

.imovel-card__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
}

.imovel-card__body {
  padding: 1.5rem;
}
.imovel-card__body h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 0.4rem;
}
.imovel-card__loc {
  font-size: 0.75rem;
  color: var(--gray);
  letter-spacing: 0.04em;
  margin-bottom: 0.6rem;
}
.imovel-card__specs {
  display: flex;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--gray);
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.imovel-card__specs span { display: flex; align-items: center; gap: 0.25rem; }
.imovel-card__price {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--navy);
  border-top: 1px solid var(--ivory-dark);
  padding-top: 1rem;
  margin-bottom: 1rem;
}
.imovel-card__body .btn { width: 100%; justify-content: center; }

/* ===== PÁGINA SOBRE ===== */
.sobre-hero {
  padding-top: 88px;
  background: var(--navy);
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 3.5rem;
}
.sobre-hero h1 {
  color: var(--ivory);
  font-style: italic;
  font-weight: 300;
}
.sobre-hero p {
  color: rgba(245,240,232,0.65);
  font-size: 0.95rem;
  max-width: 500px;
  margin-top: 1rem;
}

/* ===== FAQ ===== */
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--ivory-dark);
  padding: 1.5rem 0;
}
.faq-q {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-q::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.75;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.open .faq-a {
  max-height: 300px;
  padding-top: 1rem;
}

/* ===== REVIEWS ===== */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.review-card {
  background: var(--white);
  border: 1px solid var(--ivory-dark);
  padding: 2rem;
}
.review-stars { color: var(--gold); margin-bottom: 1rem; }
.review-text {
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: var(--navy);
}
.review-author {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.review-local {
  font-size: 0.75rem;
  color: var(--gray);
  margin-top: 0.2rem;
}

/* ===== CONTATO ===== */
.contato-hero {
  padding-top: 88px;
  background: var(--navy);
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 3rem;
}
.contato-hero h1 {
  color: var(--ivory);
  font-style: italic;
  font-weight: 300;
}

.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contato-info h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}
.contato-info p {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.contato-detail {
  margin-bottom: 1.25rem;
}
.contato-detail strong {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.25rem;
}
.contato-detail span {
  font-size: 0.95rem;
  color: var(--navy);
}

.contato-ctas {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.map-wrapper {
  border: 1px solid var(--ivory-dark);
  overflow: hidden;
}
.map-wrapper iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: none;
}

/* ===== PÁGINA BLOG ===== */
.blog-hero {
  padding-top: 88px;
  background: var(--navy);
  min-height: 260px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 3rem;
}
.blog-hero h1 {
  color: var(--ivory);
  font-style: italic;
  font-weight: 300;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.blog-card {
  border: 1px solid var(--ivory-dark);
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.blog-card:hover { box-shadow: 0 8px 24px rgba(13,27,42,0.1); }

.blog-card__img {
  height: 220px;
  overflow: hidden;
}
.blog-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-card__img img { transform: scale(1.03); }

.blog-card__body { padding: 1.75rem; }
.blog-card__meta {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.blog-card__body h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}
.blog-card__body p {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.7;
}

/* ===== RODAPÉ ===== */
.footer {
  background: var(--navy);
  color: var(--ivory);
  padding: 3.5rem 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(201,169,110,0.15);
}

.footer__col h5 {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.footer__logo img { height: 32px; margin-bottom: 1rem; }
.footer__col p {
  font-size: 0.85rem;
  color: rgba(245,240,232,0.6);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.footer__social {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.footer__social a {
  color: rgba(245,240,232,0.5);
  transition: color var(--transition);
  display: flex;
  align-items: center;
}
.footer__social a:hover { color: var(--gold); }

.footer__links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer__links a {
  font-size: 0.85rem;
  color: rgba(245,240,232,0.6);
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--gold); }

.footer__contact { display: flex; flex-direction: column; gap: 0.75rem; }
.footer__contact-item strong {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.2rem;
}
.footer__contact-item span {
  font-size: 0.85rem;
  color: rgba(245,240,232,0.6);
}

.footer__bottom {
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  color: rgba(245,240,232,0.35);
}

/* ===== HEADER INTERNO (páginas sem hero full) ===== */
.page-header {
  padding-top: 80px;
}

.sobre-hero,
.contato-hero,
.blog-hero {
  padding-top: 80px;
}

/* ===== SVG ICONS ===== */
.icon { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; }
.icon-lg { width: 20px; height: 20px; }

/* ===== MOBILE ===== */
@media (max-width: 900px) {
  .nav__links, .nav__social { display: none; }
  .nav__toggle { display: flex; }

  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 2rem 1.5rem;
    gap: 1.5rem;
    border-bottom: 1px solid rgba(201,169,110,0.2);
  }

  .intro-grid, .historia-grid, .patrimonio-grid,
  .depoimento-inner, .contato-grid { grid-template-columns: 1fr; }

  .intro-grid__img img, .historia-grid__img img,
  .patrimonio-grid img { height: 300px; }

  .depoimento-img { height: 260px; }
  .depoimento-content { padding: 2rem 1.5rem; }

  .servicos-grid { grid-template-columns: 1fr; }
  .servico-card { height: 340px; }

  .imoveis-grid { grid-template-columns: 1fr; }

  .reviews-grid { grid-template-columns: 1fr; }

  .instagram-grid { grid-template-columns: repeat(3, 1fr); }

  .blog-grid { grid-template-columns: 1fr; }

  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; text-align: center; }

  .stats { flex-wrap: wrap; gap: 1.5rem; }

  h1 { font-size: 2.2rem; }
}

@media (max-width: 600px) {
  .section { padding: 3.5rem 0; }
  .instagram-grid { grid-template-columns: repeat(2, 1fr); }
}
