/* ============================================================
   parainvestidores.com — estilos da home.
   Deriva de ui_kits/_shared/kit.css + ui_kits/homepage/home.css
   do projeto "João Ferreira - Site Completo - v2" no Claude Design.
   ============================================================ */

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { background: none; border: 0; cursor: pointer; color: inherit; font: inherit; padding: 0; }
img { max-width: 100%; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink-on-dark); color: var(--ink-on-light);
  padding: 12px 20px; font-size: 13px;
}
.skip-link:focus { left: 0; }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center;
  height: 80px; padding: 0 40px;
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline-dark);
}
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__brand img { width: 28px; height: 28px; object-fit: contain; display: block; }
.nav__brand b {
  font-family: var(--font-display); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px;
  font-size: 17px; line-height: 1; display: block;
}
.nav__brand i {
  font-style: normal; font-weight: 300; font-size: 11px;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--muted-dark); margin-top: 3px; display: block;
}
.nav__links { display: flex; gap: 32px; margin-left: 56px; flex: 1; }
.nav__link {
  font-size: 14px; font-weight: 400; letter-spacing: 0.3px;
  color: var(--body-dark);
  position: relative; padding: 4px 0;
  transition: color var(--t-fast) var(--ease-out);
}
.nav__link:hover, .nav__link:focus-visible { color: var(--ink-on-dark); }
.nav__contact { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.nav__ico-link {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border: 1px solid var(--hairline-dark);
  border-radius: var(--r-full);
  transition: border-color var(--t-fast) var(--ease-out), transform var(--t-fast) var(--ease-out);
}
.nav__ico-link:hover { border-color: currentColor; transform: translateY(-1px); }
.nav__ico-link img { width: 18px; height: 18px; object-fit: contain; display: block; }

/* Menu mobile — checkbox puro, sem dependência de JS */
.nav__toggle { display: none; }
.nav__burger { display: none; }

/* ---------- BOTÕES ---------- */
.pill {
  height: 48px; padding: 0 22px;
  background: var(--ink-on-dark); color: var(--ink-on-light);
  border-radius: var(--r-full);
  font-family: var(--font-display); font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  font-size: 13px;
  display: inline-flex; align-items: center; gap: 10px;
  transition: transform var(--t-fast) var(--ease-out), background var(--t-fast) var(--ease-out);
  white-space: nowrap;
}
.pill:hover { background: #ebebeb; }
.pill:active { transform: scale(0.985); }
.pill--wa { background: var(--whatsapp); color: #fff; }
.pill--wa:hover { background: var(--whatsapp-press); }
.pill--wa svg { width: 16px; height: 16px; fill: #fff; flex-shrink: 0; }
.pill--lg { height: 56px; padding: 0 28px; font-size: 14px; }
.on-bone-block .pill { background: var(--canvas); color: var(--ink-on-dark); }
.on-bone-block .pill:hover { background: #1f1f1f; }
.on-bone-block .pill--wa { background: var(--whatsapp); color: #fff; }
.on-bone-block .pill--wa:hover { background: var(--whatsapp-press); }

.btn-outline {
  height: 48px; padding: 0 26px;
  background: transparent; color: var(--ink-on-dark);
  border: 1px solid var(--ink-on-dark);
  border-radius: var(--r-none);
  font-family: var(--font-display); font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  font-size: 13px;
  display: inline-flex; align-items: center; gap: 10px;
  transition: background var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out);
}
.btn-outline:hover { background: var(--ink-on-dark); color: var(--ink-on-light); }
.btn-outline--lg { height: 56px; padding: 0 32px; font-size: 14px; }

.text-link {
  font-family: var(--font-display); font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.5px;
  font-size: 13px; color: currentColor;
  display: inline-flex; align-items: center; gap: 8px;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-med) var(--ease-out);
}
.text-link:hover { border-bottom-color: currentColor; }

/* Filete — a única "decoração" do sistema */
.rule { display: block; width: 56px; height: 1px; background: currentColor; opacity: 0.55; }

.band-bone { background: var(--canvas-bone); color: var(--ink-on-light); }
.band-bone p { color: var(--body-light); }
.band-bone .eyebrow { color: var(--muted-light); }

/* ---------- HERO ---------- */
.hero { position: relative; height: 760px; overflow: hidden; background: #000; }
.hero__img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(0.68) saturate(1.05);
}
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(10,10,10,0.55) 0%,
    rgba(10,10,10,0.15) 35%,
    rgba(10,10,10,0.05) 60%,
    rgba(10,10,10,0.88) 100%);
}
.hero__content {
  position: relative; z-index: 2;
  max-width: 1440px; margin: 0 auto;
  padding: 0 40px 160px;
  height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.hero__eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.hero__eyebrow .rule { width: 64px; }
.hero h1 {
  font-size: clamp(48px, 7.5vw, 104px);
  line-height: 0.92; letter-spacing: -1px;
  max-width: 1200px; margin: 0;
}
.hero__sub {
  font-size: 19px; font-weight: 300; line-height: 1.5;
  color: var(--body-dark); max-width: 560px; margin-top: 32px;
}
.hero__actions {
  display: flex; gap: 16px; align-items: center;
  margin-top: 40px; max-width: 640px; flex-wrap: wrap;
}
.hero__spec {
  position: absolute; right: 40px; bottom: 40px; z-index: 3;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--hairline-dark);
  padding: 22px 28px;
  display: grid; grid-template-columns: auto auto auto;
  gap: 28px; align-items: center;
}
.hero__spec-block { display: flex; flex-direction: column; gap: 6px; }
.hero__spec-block .lbl {
  font-family: var(--font-display); font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.5px;
  font-size: 11px; color: var(--muted-dark);
}
.hero__spec-block .val {
  font-family: var(--font-display); font-weight: 700;
  text-transform: uppercase; font-size: 24px;
  color: var(--ink-on-dark); line-height: 1; white-space: nowrap;
}

/* ---------- EMPREENDIMENTOS (bone) ---------- */
.listing {
  display: grid; grid-template-columns: 1.1fr 1fr;
  min-height: 720px;
  background: var(--canvas-bone); color: var(--ink-on-light);
}
.listing__table { display: flex; flex-direction: column; }
.listing__header {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; padding: 56px 40px 28px;
}
.listing__header h2 { font-size: clamp(34px, 4vw, 52px); margin-top: 14px; }
.listing__row {
  display: grid; grid-template-columns: 1fr auto;
  align-items: center; gap: 16px;
  padding: 26px 40px; width: 100%; text-align: left;
  border-top: 1px solid var(--hairline-light);
  cursor: pointer;
  transition: background var(--t-fast) var(--ease-out);
}
.listing__row:last-of-type { border-bottom: 1px solid var(--hairline-light); }
.listing__row.active { background: var(--canvas); color: var(--ink-on-dark); border-color: var(--canvas); }
.listing__row.active + .listing__row { border-top-color: var(--canvas); }
.listing__info { display: block; min-width: 0; }
.listing__name {
  display: block;
  font-family: var(--font-display); font-weight: 700;
  text-transform: uppercase; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.05;
}
.listing__name span { font-weight: 300; color: var(--muted-light); }
.listing__row.active .listing__name span { color: var(--muted-dark); }
.listing__loc { display: block; font-size: 13px; font-weight: 300; color: var(--body-light); margin-top: 8px; }
.listing__row.active .listing__loc { color: var(--body-dark); }
.listing__area {
  font-family: var(--font-display); font-weight: 300;
  text-transform: uppercase; font-size: clamp(20px, 2.2vw, 28px);
  color: var(--muted-light); white-space: nowrap; padding-left: 16px;
}
.listing__row.active .listing__area { color: var(--ink-on-dark); font-weight: 700; }
.listing__foot { padding: 32px 40px 56px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.listing__hint { font-size: 13px; color: var(--muted-light); }
.listing__photos { display: grid; grid-template-rows: 1fr 1fr; min-height: 720px; }
.listing__photo { background-size: cover; background-position: center; transition: opacity var(--t-med) var(--ease-out); }
.listing__photo + .listing__photo { border-top: 1px solid var(--canvas-bone); }

/* ---------- POR QUE INVESTIR (preto) ---------- */
.invest { padding: 120px 40px; }
.invest__lead {
  max-width: 1440px; margin: 0 auto 80px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end;
}
.invest__lead h2 { font-size: clamp(40px, 6vw, 76px); line-height: 0.95; max-width: 700px; }
.invest__lead p { font-size: 18px; line-height: 1.55; color: var(--body-dark); max-width: 500px; }
.invest__lead p + p { margin-top: 18px; }
.invest__grid {
  max-width: 1440px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--hairline-dark);
}
.invest__cell { background: var(--canvas); padding: 40px 28px; }
.invest__cell .v {
  font-family: var(--font-display); font-weight: 700;
  text-transform: uppercase; font-size: clamp(34px, 4vw, 52px);
  color: var(--ink-on-dark); line-height: 1; white-space: nowrap;
}
.invest__cell .v small { font-size: 0.4em; font-weight: 400; margin-left: 4px; color: var(--body-dark); }
.invest__cell .l {
  font-family: var(--font-display); font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.5px;
  font-size: 11px; color: var(--muted-dark); margin-top: 18px;
}
.invest__cell .d { font-size: 13px; font-weight: 300; color: var(--body-dark); margin-top: 14px; line-height: 1.5; }

/* ---------- ÁREAS DE ATUAÇÃO (bone) ---------- */
.cities { padding: 96px 0; background: var(--canvas-bone); color: var(--ink-on-light); }
.cities__header {
  max-width: 1440px; margin: 0 auto;
  padding: 0 40px 48px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 40px;
}
.cities__header h2 { font-size: clamp(36px, 5vw, 68px); max-width: 600px; margin-top: 14px; }
.cities__header p { font-size: 16px; max-width: 420px; color: var(--body-light); }
.cities__grid {
  max-width: 1440px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  padding: 0 40px;
}
.city {
  position: relative; aspect-ratio: 3/4;
  background-size: cover; background-position: center;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px; color: #fff; overflow: hidden;
}
.city::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.78) 100%);
}
.city__name {
  position: relative; z-index: 2;
  font-family: var(--font-display); font-weight: 700;
  text-transform: uppercase; font-size: 28px; line-height: 1;
}
.city__note {
  position: relative; z-index: 2;
  font-size: 12px; line-height: 1.45;
  color: rgba(255,255,255,0.8); margin-top: 10px;
}

/* ---------- SOBRE JOÃO (preto) ---------- */
.about {
  padding: 120px 40px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  max-width: 1440px; margin: 0 auto; align-items: center;
}
.about__photo {
  aspect-ratio: 4/5;
  background-size: cover; background-position: center top;
  /* Colorida por pedido do João: o retrato é o rosto do negócio e some em P&B. */
  filter: contrast(1.04) saturate(1.02);
}
.about h2 { font-size: clamp(36px, 5vw, 64px); line-height: 1; margin: 18px 0 32px; }
.about p { font-size: 17px; line-height: 1.6; color: var(--body-dark); margin-bottom: 20px; }
.about__actions { display: flex; gap: 16px; align-items: center; margin-top: 36px; flex-wrap: wrap; }
.about__creci {
  font-family: var(--font-display); font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.5px;
  font-size: 11px; color: var(--muted-dark);
}

/* ---------- CTA FINAL ---------- */
.cta-band {
  position: relative; min-height: 540px;
  background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.68) 100%);
}
.cta-band__inner { position: relative; z-index: 2; text-align: center; padding: 80px 40px; max-width: 780px; }
.cta-band h2 { font-size: clamp(38px, 6vw, 72px); line-height: 0.95; margin-bottom: 24px; }
.cta-band p { font-size: 18px; color: var(--body-dark); margin-bottom: 40px; }
.cta-band__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- RODAPÉ ---------- */
.footer {
  background: var(--canvas); color: var(--body-dark);
  padding: 64px 40px 32px;
  border-top: 1px solid var(--hairline-dark);
}
.footer__top {
  display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.1fr;
  gap: 48px; max-width: 1440px; margin: 0 auto;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--hairline-dark);
}
.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer__brand img { width: 26px; height: 26px; object-fit: contain; }
.footer__brand b {
  font-family: var(--font-display); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px;
  font-size: 16px; color: #fff; display: block; line-height: 1;
}
.footer__brand span {
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--muted-dark); margin-top: 4px; display: block;
}
.footer__col h5 {
  font-family: var(--font-display); font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  font-size: 12px; color: var(--ink-on-dark); margin: 0 0 18px;
}
.footer__col a { display: block; font-size: 14px; font-weight: 300; color: var(--body-dark); padding: 6px 0; }
.footer__col a:hover { color: var(--ink-on-dark); }
.footer__bio { margin-top: 18px; font-size: 13px; color: var(--body-dark); max-width: 380px; line-height: 1.6; }
.footer__contact { display: flex !important; align-items: center; gap: 10px; }
.footer__ico { width: 14px; height: 14px; flex-shrink: 0; object-fit: contain; display: block; border-radius: 3px; }
.footer__legal {
  max-width: 1440px; margin: 32px auto 0;
  font-size: 11px; line-height: 1.6; color: var(--muted-dark);
}
.footer__bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  max-width: 1440px; margin: 24px auto 0;
  font-size: 12px; color: var(--muted-dark); letter-spacing: 0.4px;
}

/* ---------- WHATSAPP FLUTUANTE ---------- */
.wa-fab {
  position: fixed; bottom: 24px; right: 24px; z-index: 60;
  width: 60px; height: 60px; border-radius: var(--r-full);
  background: var(--whatsapp); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  transition: transform var(--t-med) var(--ease-out), background var(--t-fast) var(--ease-out);
}
.wa-fab:hover { background: var(--whatsapp-press); transform: translateY(-2px); }
.wa-fab svg { width: 30px; height: 30px; fill: #fff; }

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 1100px) {
  .listing { grid-template-columns: 1fr; }
  .listing, .listing__photos { min-height: 0; }
  .listing__photos { grid-template-rows: 1fr; aspect-ratio: 16/10; }
  .listing__photo + .listing__photo { display: none; }
  .invest__lead { grid-template-columns: 1fr; gap: 32px; margin-bottom: 56px; }
  .invest__grid { grid-template-columns: repeat(2, 1fr); }
  .cities__grid { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; gap: 48px; }
  .about__photo { aspect-ratio: 3/2; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 900px) {
  .nav { padding: 0 22px; height: 68px; }
  .nav__burger {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 40px; height: 40px; margin-left: auto; cursor: pointer;
  }
  .nav__burger span { display: block; height: 1px; background: var(--ink-on-dark); }
  .nav__links {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; gap: 0; margin: 0;
    background: rgba(10, 10, 10, 0.97);
    border-bottom: 1px solid var(--hairline-dark);
    padding: 0 22px; max-height: 0; overflow: hidden;
    transition: max-height var(--t-med) var(--ease-out);
  }
  .nav__toggle:checked ~ .nav__links { max-height: 320px; }
  .nav__link { padding: 16px 0; border-bottom: 1px solid var(--hairline-dark); font-size: 15px; }
  .nav__link:last-child { border-bottom: 0; }
  .nav__contact { margin-left: 0; order: 3; }
  .nav__contact .pill { height: 40px; padding: 0 16px; font-size: 12px; }
  .nav__ico-link { display: none; }
}

@media (max-width: 760px) {
  .hero { height: auto; min-height: 620px; }
  .hero__content { padding: 140px 22px 40px; }
  .hero__sub { font-size: 17px; margin-top: 24px; }
  .hero__spec {
    position: static; margin-top: 36px;
    grid-template-columns: 1fr 1fr; gap: 20px;
    padding: 20px 22px;
  }
  .listing__header { padding: 48px 22px 24px; flex-direction: column; align-items: flex-start; gap: 16px; }
  .listing__row { padding: 20px 22px; }
  .listing__foot { padding: 28px 22px 48px; }
  .invest { padding: 72px 22px; }
  .invest__grid { grid-template-columns: 1fr; }
  .invest__cell { padding: 32px 24px; }
  .cities { padding: 72px 0; }
  .cities__header { padding: 0 22px 32px; flex-direction: column; align-items: flex-start; gap: 20px; }
  .cities__grid { padding: 0 22px; }
  .city { aspect-ratio: 4/3; padding: 20px; }
  .about { padding: 72px 22px; }
  .cta-band__inner { padding: 72px 22px; }
  .footer { padding: 48px 22px 28px; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .wa-fab { width: 54px; height: 54px; bottom: 18px; right: 18px; }
  .wa-fab svg { width: 26px; height: 26px; }
}
