/* ============================================
   JANETE TEODORO — CORRETORA DE IMÓVEIS
   ============================================ */

:root {
  --ink:        #100E0A;
  --ink-2:      #1C1812;
  --ivory:      #F7F4EC;
  --ivory-2:    #EFEADB;
  --white:      #FFFFFF;
  --gold:       #B9925A;
  --gold-soft:  rgba(185,146,90,.5);
  --text-soft:  #5C5548;

  --serif:  "Bodoni Moda", serif;
  --script: "Parisienne", cursive;
  --sans:   "Inter", sans-serif;

  --container: 1280px;
  --pad: clamp(24px, 5.5vw, 72px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.grain {
  position: fixed; inset: 0; z-index: 9999; pointer-events: none; opacity: .02;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ---------- shared ---------- */

.eyebrow {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.eyebrow-light { color: var(--gold); }

.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--ink);
  max-width: 15ch;
}
.section-title em { font-style: italic; color: var(--gold); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 32px;
  font-family: var(--sans); font-size: 14px; font-weight: 500;
  letter-spacing: .03em;
  cursor: pointer; border: 1px solid transparent;
  transition: transform .4s cubic-bezier(.22,1,.36,1), background .3s ease, border-color .3s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--ink); color: var(--ivory); }
.btn-primary:hover { background: var(--gold); }
.btn-full { width: 100%; }

[data-reveal] { opacity: 0; transform: translateY(26px); }
[data-split] { display: block; overflow: hidden; }
[data-split] .split-inner { display: inline-block; transform: translateY(112%); }

/* ---------- header ---------- */

.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  padding: 26px 0;
  mix-blend-mode: difference;
}
.header-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 var(--pad);
  display: flex; align-items: center; justify-content: space-between;
}

.badge-mark { position: relative; width: 74px; height: 74px; }
.badge-ring { width: 100%; height: 100%; animation: spin 26s linear infinite; }
.badge-ring-text { font-family: var(--sans); font-size: 8.6px; letter-spacing: .05em; fill: var(--ivory); }
.badge-center {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-family: var(--serif); font-size: 14px; color: var(--ivory);
}
@keyframes spin { to { transform: rotate(360deg); } }

.nav { display: flex; gap: 40px; }
.nav a {
  font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ivory); position: relative; padding: 4px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -3px; width: 0; height: 1px;
  background: var(--ivory); transition: width .3s ease;
}
.nav a:hover::after { width: 100%; }

.menu-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.menu-toggle span { width: 22px; height: 1.5px; background: var(--ivory); }

/* ---------- hero ---------- */

.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg-img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; transform: scale(1.08); }
.hero-bg-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(16,14,10,.55) 0%, rgba(16,14,10,.28) 32%, rgba(16,14,10,.42) 68%, rgba(16,14,10,.72) 100%);
}

.hero-content {
  position: relative; z-index: 2; text-align: center;
  padding: 0 24px; width: 100%; max-width: 1100px;
}

.hero-counter {
  font-family: var(--sans); font-size: 13px; letter-spacing: .1em;
  color: rgba(247,244,236,.75); margin-bottom: 18px;
}

.hero-title {
  font-family: var(--serif); font-weight: 500; color: var(--white);
  font-size: clamp(64px, 12vw, 148px);
  line-height: .96; letter-spacing: -0.01em;
}
.hero-title .line-script {
  font-family: var(--script); font-weight: 400; font-style: normal;
  font-size: clamp(48px, 9vw, 108px);
  line-height: 1.15;
  color: var(--gold);
  margin-top: -6px;
}
.hero-title .line-script em { font-style: normal; }

.hero-split {
  margin-top: 32px;
  display: flex; align-items: center; justify-content: center; gap: 22px;
  font-family: var(--sans); font-size: 13.5px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(247,244,236,.85);
  flex-wrap: wrap;
}
.hero-split-sep { width: 40px; height: 1px; background: rgba(247,244,236,.4); }

.hero-scroll-cta {
  margin-top: 56px; display: inline-flex; flex-direction: column; align-items: center; gap: 10px;
  color: rgba(247,244,236,.75); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
}
.hero-scroll-line { position: relative; width: 1px; height: 44px; background: rgba(247,244,236,.25); display: block; }
.hero-scroll-line i {
  position: absolute; top: 0; left: -2px; width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold); animation: scrollDot 2.2s ease-in-out infinite;
}
@keyframes scrollDot {
  0% { top: 0; opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { top: 38px; opacity: 0; }
}

.hero-cta-fixed {
  position: absolute; right: var(--pad); bottom: 40px; z-index: 3;
  font-family: var(--sans); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ivory);
  border-bottom: 1px solid rgba(247,244,236,.5);
  padding-bottom: 3px;
  transition: border-color .3s ease, color .3s ease;
}
.hero-cta-fixed:hover { color: var(--gold); border-color: var(--gold); }

/* ---------- intro strip ---------- */

.intro-strip {
  padding: 130px var(--pad); text-align: center; background: var(--ivory);
}
.intro-kicker {
  font-family: var(--sans); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 26px;
}
.intro-statement {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(26px, 3.6vw, 44px);
  line-height: 1.32;
  max-width: 18ch; margin: 0 auto; color: var(--ink);
}
.intro-statement em { font-style: italic; color: var(--gold); }

/* ---------- about ---------- */

.about { padding: 0 var(--pad) 140px; background: var(--ivory); }
.about-inner {
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: 0.78fr 1.22fr; gap: 84px; align-items: center;
}
.about-media { aspect-ratio: 4/5; overflow: hidden; }
.about-img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .8s cubic-bezier(.22,1,.36,1); }
.about-media:hover .about-img { transform: scale(1.06); }

.about-copy .section-title { margin-bottom: 26px; max-width: 17ch; }
.about-text { font-size: 16.5px; color: var(--text-soft); max-width: 56ch; margin-bottom: 18px; }

.about-stats {
  display: flex; gap: 48px; margin-top: 40px; padding-top: 36px;
  border-top: 1px solid rgba(16,14,10,.14); flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; }
.stat-num, .stat-symbol {
  font-family: var(--serif); font-size: 40px; font-weight: 500; color: var(--ink); line-height: 1;
}
.stat-symbol { margin-left: 2px; }
.stat-label { font-size: 12.5px; color: var(--text-soft); margin-top: 10px; letter-spacing: .02em; }

/* ---------- reasons ---------- */

.reasons { background: var(--ink); color: var(--ivory); padding: 130px 0 40px; }
.reasons-head { max-width: 680px; margin: 0 auto 90px; text-align: center; padding: 0 var(--pad); }
.reasons-head .section-title { max-width: none; margin: 0 auto; color: var(--ivory); }

.reason-panel {
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(247,244,236,.12);
}
.reason-panel:last-child { border-bottom: 1px solid rgba(247,244,236,.12); }
.reason-panel.reverse .reason-media { order: 2; }
.reason-panel.reverse .reason-copy { order: 1; }

.reason-media { aspect-ratio: 4/3; overflow: hidden; position: relative; }
.reason-media-frame { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; }
.reason-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .8s cubic-bezier(.22,1,.36,1); }
.reason-media:hover img { transform: scale(1.06); }
.reason-media.portrait { aspect-ratio: 4/5; }
.reason-media.portrait img { object-position: top center; }

.reason-copy {
  padding: 60px var(--pad); display: flex; flex-direction: column; justify-content: center;
}
.reason-num { font-family: var(--serif); font-size: 16px; color: var(--gold); margin-bottom: 20px; display: block; }
.reason-copy h3 {
  font-family: var(--serif); font-weight: 500; font-size: clamp(24px, 2.6vw, 32px);
  margin-bottom: 18px; color: var(--ivory);
}
.reason-copy p { font-size: 15.5px; color: rgba(247,244,236,.58); max-width: 40ch; }

/* ---------- services ---------- */

.services { padding: 130px var(--pad); }
.services-head { max-width: 680px; margin: 0 auto 70px; text-align: center; }
.services-head .eyebrow { text-align: center; }
.services-head .section-title { max-width: none; margin: 0 auto; }

.services-list { max-width: 920px; margin: 0 auto; }
.service-row {
  display: grid; grid-template-columns: 60px 1fr 1.4fr;
  align-items: baseline; gap: 32px;
  padding: 34px 0;
  border-bottom: 1px solid rgba(16,14,10,.14);
  transition: padding-left .4s ease;
}
.service-row:first-child { border-top: 1px solid rgba(16,14,10,.14); }
.service-row:hover { padding-left: 14px; }
.service-num { font-family: var(--serif); font-size: 15px; color: var(--gold); }
.service-row h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(22px, 2.6vw, 30px); color: var(--ink); }
.service-row p { font-size: 15px; color: var(--text-soft); max-width: 44ch; }

/* ---------- cta banner ---------- */

.cta-banner {
  position: relative; min-height: 62vh;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.cta-banner-bg { position: absolute; inset: 0; }
.cta-banner-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.cta-banner-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,14,10,.5) 0%, rgba(16,14,10,.78) 100%); }

.cta-banner-content { position: relative; text-align: center; color: var(--ivory); padding: 40px; }
.cta-banner-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(32px, 5vw, 54px); line-height: 1.16; margin-bottom: 38px;
}
.cta-banner-title em { font-style: italic; color: var(--gold); }

/* ---------- contact ---------- */

.contact { padding: 130px var(--pad) 0; }
.contact-inner {
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 84px;
}
.contact-info .section-title { max-width: 16ch; margin-bottom: 22px; }

.contact-details { margin-top: 42px; display: flex; flex-direction: column; gap: 28px; }
.contact-item { display: flex; flex-direction: column; gap: 7px; }
.contact-label { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.contact-item a, .contact-item span { font-size: 16px; color: var(--ink); }
.contact-item a { border-bottom: 1px solid transparent; transition: color .3s ease, border-color .3s ease; }
.contact-item a:hover { color: var(--gold); border-color: var(--gold); }

.contact-form {
  border: 1px solid rgba(16,14,10,.14);
  padding: 44px; display: flex; flex-direction: column; gap: 20px;
}
.form-row { display: flex; flex-direction: column; gap: 8px; }
.form-row label { font-size: 12px; letter-spacing: .04em; color: var(--text-soft); }
.form-row input, .form-row select, .form-row textarea {
  font-family: var(--sans); font-size: 15px; padding: 13px 4px;
  border: none; border-bottom: 1px solid rgba(16,14,10,.2);
  background: transparent; color: var(--ink); resize: vertical;
  transition: border-color .3s ease;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: none; border-color: var(--gold); }

.map-wrap { margin-top: 90px; height: 420px; filter: grayscale(35%) contrast(1.05); }

/* ---------- footer ---------- */

.footer { background: var(--ink); color: var(--ivory); margin-top: 90px; padding: 64px var(--pad) 34px; }
.footer-inner { max-width: var(--container); margin: 0 auto; text-align: center; }
.footer-brand { font-family: var(--serif); font-size: 24px; margin-bottom: 10px; }
.footer-brand em { font-style: italic; color: var(--gold); }
.footer-inner > p { font-size: 14px; color: rgba(247,244,236,.5); margin-bottom: 32px; }
.footer-links {
  display: flex; justify-content: center; gap: 30px; flex-wrap: wrap;
  font-size: 13px; color: rgba(247,244,236,.65);
  padding-bottom: 32px; border-bottom: 1px solid rgba(247,244,236,.12); margin-bottom: 26px;
}
.footer-links a:hover { color: var(--gold); }
.footer-copy { font-size: 11.5px; color: rgba(247,244,236,.38); }

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 980px) {
  .nav { display: none; }
  .menu-toggle { display: flex; }
  .badge-mark { width: 58px; height: 58px; }
  .badge-center { font-size: 11px; }

  .hero-cta-fixed { right: 20px; bottom: 24px; }

  .about-inner { grid-template-columns: 1fr; gap: 50px; }
  .about-media { max-width: 380px; margin: 0 auto; aspect-ratio: 4/5; }

  .reason-panel { grid-template-columns: 1fr; }
  .reason-panel.reverse .reason-media { order: 1; }
  .reason-panel.reverse .reason-copy { order: 2; }
  .reason-media { aspect-ratio: 4/3; }
  .reason-media.portrait { aspect-ratio: 4/5; }
  .reason-copy { padding: 40px var(--pad); }

  .service-row { grid-template-columns: 40px 1fr; }
  .service-row p { grid-column: 2; max-width: none; margin-top: 8px; }

  .contact-inner { grid-template-columns: 1fr; gap: 56px; }
}

@media (max-width: 560px) {
  :root { --pad: 20px; }
  .header-inner { padding: 0 20px; }
  .hero-split { flex-direction: column; gap: 8px; }
  .hero-split-sep { display: none; }
  .contact-form { padding: 30px 24px; }
  .map-wrap { height: 300px; margin-top: 60px; }
  .footer-links { flex-direction: column; gap: 10px; }
}
