/* =========================================================
   Carol Biselli — Inteligência Imobiliária
   Paleta: Oliva · Bege · Terra · Creme · Dark
   Fontes: Glorify (títulos) + AlanSans (corpo)
   ========================================================= */

@font-face {
  font-family: 'Glorify';
  src: url('../../id-visual/06%20TIPOGRAFIA/GLORIFY.otf') format('opentype');
  font-weight: normal;
  font-display: swap;
}
@font-face {
  font-family: 'AlanSans';
  src: url('../../id-visual/06%20TIPOGRAFIA/AlanSans-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --oliva:     #5C6645;
  --oliva-dim: #4a5236;
  --bege:      #E8DDD0;
  --terra:     #A05C3B;
  --terra-dim: #8a4e31;
  --creme:     #F5EFE6;
  --dark:      #1c1c1a;
  --ink:       #2e2e2c;
  --mid:       #6b6b68;
  --rule:      rgba(0,0,0,.09);
  --rule-inv:  rgba(255,255,255,.1);

  --font-primary:   'Glorify', Georgia, serif;
  --font-secondary: 'AlanSans', 'Helvetica Neue', Arial, sans-serif;

  --maxw: 1180px;
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-secondary);
  color: var(--ink);
  background: var(--creme);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-primary); font-weight: 400; line-height: 1.15; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--terra);
  font-weight: 700;
  margin-bottom: 18px;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-secondary); font-weight: 700; font-size: 16px;
  padding: 15px 30px; border-radius: 100px; cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .18s ease, background .25s ease, color .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--terra); color: #fff; }
.btn-primary:hover { background: var(--terra-dim); }
.btn-light { background: var(--bege); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--bege); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(92,102,69,0);
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
  padding: 22px 0;
}
.site-header.scrolled {
  background: var(--oliva);
  box-shadow: 0 6px 30px rgba(0,0,0,.22);
  padding: 14px 0;
}
.nav { display: flex; align-items: center; justify-content: space-between; }
.nav-logo img { height: 68px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: 34px; list-style: none; }
.nav-menu a {
  color: var(--bege); font-weight: 600; font-size: 15px;
  letter-spacing: .02em; position: relative;
}
.nav-menu a::after {
  content: ""; position: absolute; left: 0; bottom: -5px;
  width: 0; height: 1.5px; background: var(--bege); transition: width .25s ease;
}
.nav-menu a:hover::after { width: 100%; }
/* Item "Contato" como botão */
.nav-cta {
  background: var(--terra); color: #fff !important;
  padding: 8px 20px; border-radius: 100px;
  transition: background .2s !important;
}
.nav-cta:hover { background: var(--terra-dim) !important; }
.nav-cta::after { display: none !important; }
/* Logo dentro do menu mobile */
.nav-logo-mobile { display: none; }
.nav-social { display: flex; gap: 16px; align-items: center; }
.nav-social a { color: var(--bege); opacity: .85; transition: opacity .2s, transform .2s; display: flex; }
.nav-social a:hover { opacity: 1; transform: translateY(-2px); }
.nav-social svg { width: 19px; height: 19px; }
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 6px;
}
.nav-toggle span { width: 26px; height: 2px; background: var(--bege); transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  color: #fff; background: var(--oliva); overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url("../assets/img/hero.jpg") center 30% / cover no-repeat;
}
/* Pattern geométrico sobre a foto */
.hero-bg::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: url("../../id-visual/04%20PATTERN/02%20PNG/PATTERN01.png") center / cover no-repeat;
  opacity: .05;
}
/* Gradiente olive */
.hero-bg::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(
    90deg,
    rgba(92,102,69,.45) 0%,
    rgba(92,102,69,.37) 45%,
    rgba(92,102,69,.15) 100%
  );
}
.hero .container { position: relative; z-index: 3; padding-top: 90px; padding-bottom: 60px; }
.hero-content { max-width: 640px; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: 24px; }
.hero p { font-size: 1.18rem; color: rgba(255,255,255,.9); margin-bottom: 36px; max-width: 540px; }
.hero .eyebrow { color: var(--bege); margin-top: 30px; margin-bottom: 0; }

/* ---------- Caminhos (comprar / vender) ---------- */
.paths { padding: 72px 0 64px; background: var(--creme); }
.paths-head { text-align: center; max-width: 620px; margin: 0 auto 36px; }
.paths-head h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
.paths-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.path-card {
  background: #fff; border-radius: var(--radius); padding: 48px 44px;
  border: 1px solid var(--rule); display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.path-card:hover { transform: translateY(-6px); box-shadow: 0 26px 54px rgba(29,30,32,.1); }
.path-card .ico {
  width: 60px; height: 60px; border-radius: 16px; background: var(--creme);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 26px; color: var(--terra);
}
.path-card .ico svg { width: 30px; height: 30px; }
.path-card h3 { font-size: 1.7rem; margin-bottom: 16px; }
.path-card p { color: var(--mid); margin-bottom: 30px; flex-grow: 1; }
.path-card .btn { align-self: flex-start; }

/* Card escuro (vender) — olive */
.path-card--alt { background: var(--oliva); border-color: var(--oliva); }
.path-card--alt .ico { background: rgba(232,221,208,.12); color: var(--bege); }
.path-card--alt h3 { color: var(--creme); }
.path-card--alt p { color: rgba(232,221,208,.8); }
.path-card--alt .btn-primary { background: var(--bege); color: var(--ink); }
.path-card--alt .btn-primary:hover { background: #fff; }

/* ---------- Sobre ---------- */
.about { padding: 72px 0; background: var(--oliva); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about-photo { position: relative; }
.about-photo img {
  border-radius: var(--radius);
  box-shadow: 0 30px 60px rgba(0,0,0,.35);
  position: relative; z-index: 2;
}
.about-photo::before {
  content: ""; position: absolute; left: -22px; top: -22px; right: 40px; bottom: 40px;
  border: 1.5px solid var(--terra); border-radius: var(--radius); z-index: 1;
}
.about .eyebrow { color: var(--bege); opacity: .7; }
.about h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 26px; color: var(--creme); }
.about p { color: rgba(232,221,208,.82); margin-bottom: 20px; }

/* ---------- Destaque +40 Milhões ---------- */
.highlight { background: var(--dark); color: #fff; padding: 64px 0; text-align: center; overflow: hidden; }
.highlight-card { position: relative; }
.highlight-eyebrow {
  font-size: 13px; letter-spacing: .32em; text-transform: uppercase;
  color: var(--bege); opacity: .8; margin-bottom: 6px;
}
.highlight-number {
  display: flex; align-items: baseline; justify-content: center; gap: 6px;
  line-height: 1; margin-bottom: 22px;
}
.highlight-number .plus {
  font-family: var(--font-primary); font-size: clamp(3rem, 8vw, 6rem);
  color: var(--terra); align-self: flex-start; margin-top: .3em;
}
.highlight-number .value {
  font-family: var(--font-primary);
  font-size: clamp(7rem, 22vw, 16rem);
  font-weight: 400; color: var(--bege);
  letter-spacing: -.02em;
  text-shadow: 0 0 60px rgba(232,221,208,.18);
}
.highlight-number .unit {
  font-family: var(--font-primary); font-size: clamp(1.6rem, 4vw, 3rem);
  color: #fff; align-self: flex-end; margin-bottom: .6em;
}
.highlight-caption {
  font-size: 1.25rem; line-height: 1.5;
  color: rgba(255,255,255,.85); max-width: 540px; margin: 0 auto;
}
.highlight-caption strong { color: var(--bege); font-weight: 700; }
/* Brilho radial terra */
.highlight-card::before {
  content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 520px; height: 520px; max-width: 90vw; max-height: 90vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(160,92,59,.22) 0%, rgba(28,28,26,0) 70%);
  z-index: 0; pointer-events: none;
}
/* Ícone CB fantasma */
.highlight-card::after {
  content: ""; position: absolute; right: -60px; bottom: -60px;
  width: 340px; height: 340px;
  background: url("../../id-visual/03%20%C3%8DCONE/02%20PNG/%C3%8DCONE01.png") center / contain no-repeat;
  opacity: .06; pointer-events: none; z-index: 0;
  filter: brightness(0) invert(1);
}
.highlight-card > * { position: relative; z-index: 1; }

/* ---------- Depoimentos ---------- */
.testimonials { padding: 72px 0; background: var(--creme); text-align: center; }
.testimonials h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 36px; }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.testi-card {
  background: #fff; border-radius: var(--radius); padding: 40px 36px; text-align: left;
  box-shadow: 0 14px 40px rgba(29,30,32,.07); position: relative;
}
.testi-card .quote {
  font-family: var(--font-primary); font-size: 3.5rem;
  color: var(--bege); line-height: .6; height: 24px;
}
.testi-card p { color: #4a4240; margin-bottom: 22px; font-style: italic; }
.testi-card .name { font-weight: 800; color: var(--ink); font-style: normal; }

/* ---------- Serviços ---------- */
.services { padding: 72px 0; background: var(--bege); }
.services-head { text-align: center; max-width: 620px; margin: 0 auto 40px; }
.services-head h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
  background: #fff; border-radius: var(--radius); padding: 44px 34px;
  border: 1px solid var(--rule); transition: transform .25s ease, box-shadow .25s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(29,30,32,.1); }
.service-card .ico {
  width: 56px; height: 56px; border-radius: 14px; background: var(--creme);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px; color: var(--terra);
}
.service-card .ico svg { width: 28px; height: 28px; }
.service-card h3 { font-size: 1.5rem; margin-bottom: 14px; }
.service-card p { color: var(--mid); font-size: 15.5px; }

/* ---------- Contato ---------- */
.contact { padding: 72px 0; background: var(--oliva); color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.contact-info .eyebrow { color: var(--bege); opacity: .75; }
.contact-info h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 22px; color: var(--creme); }
.contact-info p { color: rgba(232,221,208,.82); margin-bottom: 32px; max-width: 420px; }
.contact-info .channels { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.contact-info .channels li { display: flex; align-items: center; gap: 14px; color: rgba(255,255,255,.9); }
.contact-info .channels svg { width: 20px; height: 20px; color: var(--bege); flex-shrink: 0; }
.contact-form {
  background: rgba(255,255,255,.06); border: 1px solid rgba(232,221,208,.2);
  border-radius: var(--radius); padding: 40px;
}
.contact-form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; color: var(--bege); }
.contact-form .field { margin-bottom: 22px; }
.contact-form input,
.contact-form textarea {
  width: 100%; padding: 14px 16px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06); color: #fff;
  font-family: var(--font-secondary); font-size: 15px;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255,255,255,.4); }
.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-color: var(--bege); }
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form .btn { width: 100%; justify-content: center; }
.form-note { font-size: 13px; color: rgba(255,255,255,.5); margin-top: 16px; text-align: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: rgba(255,255,255,.7); padding: 60px 0 34px; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 30px; }
.footer-grid img { height: 50px; margin-bottom: 16px; }
.footer-col h4 {
  font-family: var(--font-secondary); font-size: 13px;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--bege); margin-bottom: 14px;
}
.footer-col p, .footer-col a { font-size: 15px; color: rgba(255,255,255,.7); }
.footer-col a:hover { color: var(--bege); }
.footer-social { display: flex; gap: 16px; margin-top: 8px; }
.footer-social a { color: var(--bege); opacity: .8; }
.footer-social a:hover { opacity: 1; }
.footer-social svg { width: 20px; height: 20px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px;
  padding-top: 22px; font-size: 13px; color: rgba(255,255,255,.45); text-align: center;
}

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.45); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; fill: #fff; }

/* CTA centralizado no final de seções */
.section-cta { text-align: center; margin-top: 52px; }

/* ---------- Responsivo ---------- */
@media (max-width: 900px) {
  .nav-menu, .nav-social { display: none; }
  .nav-toggle { display: flex; }
  .nav-menu.open {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--oliva); padding: 24px; gap: 20px; box-shadow: 0 12px 30px rgba(0,0,0,.3);
  }
  .nav-logo-mobile {
    display: flex; padding-bottom: 20px; margin-bottom: 4px;
    border-bottom: 1px solid rgba(232,221,208,.2);
  }
  .nav-logo-mobile img { height: 38px; width: auto; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-photo { order: -1; }
  .services-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .paths-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .about, .testimonials, .services, .contact, .highlight, .paths { padding: 52px 0; }
  .contact-form { padding: 28px; }
}
