/*
Theme Name: Parceiro Imóvel
Theme URI: https://carrijocorretor.online/
Author: Carrijo Engenharia
Description: Landing page de imóveis — Parceiro Imóvel / Carrijo Engenharia e Construções.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: parceiro-imoveis
Tags: custom-menu, featured-images, one-column, custom-colors
*/

:root {
  --brand-gold: #c5a059;
  --brand-dark: #0f172a;
  --brand-accent: #1e293b;
  --whatsapp: #25d366;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --max: 80rem;
  --radius: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.15);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.parceiro-landing {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  background: var(--slate-50);
  color: var(--slate-900);
  line-height: 1.6;
  overflow-x: hidden;
}

.parceiro-landing-root img {
  max-width: 100%;
  height: auto;
  display: block;
}

.parceiro-landing-root a {
  color: var(--brand-dark);
  text-decoration: none;
}

.parceiro-landing-root a:hover {
  text-decoration: underline;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
  background-color: rgba(15, 23, 42, 0.85);
  border-bottom: 1px solid rgba(51, 65, 85, 0.5);
  color: #fff;
}

body.admin-bar .site-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1rem;
  min-height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.brand strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--brand-gold);
  text-transform: uppercase;
}

.brand span {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  margin: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  border-radius: 0.5rem;
}

.mobile-menu-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.mobile-menu-btn__icon--close {
  display: none;
}

.site-header.menu-open .mobile-menu-btn__icon--open {
  display: none;
}

.site-header.menu-open .mobile-menu-btn__icon--close {
  display: block;
}

.mobile-nav {
  padding: 0.5rem 1rem 1.5rem;
  border-top: 1px solid rgba(51, 65, 85, 0.6);
  background: var(--brand-dark);
}

.mobile-nav[hidden] {
  display: none !important;
}

.mobile-nav:not([hidden]) {
  display: block;
}

.mobile-nav__link {
  display: block;
  padding: 0.75rem 0;
  font-size: 1.125rem;
  border-bottom: 1px solid rgba(51, 65, 85, 0.5);
}

.parceiro-landing-root .mobile-nav .mobile-nav__link {
  color: #fff;
}

.parceiro-landing-root .mobile-nav .mobile-nav__link:hover {
  color: var(--brand-gold);
  text-decoration: none;
}

.mobile-nav__cta {
  display: block;
  margin-top: 1rem;
  text-align: center;
  width: 100%;
}

.site-header--scrolled {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none !important;
  }

  .mobile-nav {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .header-actions {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
  text-decoration: none;
}

.btn:active {
  transform: scale(0.98);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  filter: brightness(1.06);
  text-decoration: none;
}

.btn-gold {
  background: var(--brand-gold);
  color: var(--brand-dark);
  font-weight: 700;
  padding: 1rem 2rem;
}

.btn-gold:hover {
  background: #fff;
  color: var(--brand-dark);
  text-decoration: none;
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
  font-weight: 700;
  padding: 1rem 2rem;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.2);
  text-decoration: none;
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid transparent;
  font-weight: 500;
}

.btn-ghost:hover {
  color: var(--brand-gold);
  text-decoration: none;
}

.btn-accent {
  background: linear-gradient(135deg, var(--brand-gold), #a68419);
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.btn-accent:hover {
  filter: brightness(1.05);
  text-decoration: none;
}

.parceiro-landing-root .btn-whatsapp,
.parceiro-landing-root a.btn-whatsapp,
.parceiro-landing-root .btn-ghost,
.parceiro-landing-root a.btn-ghost,
.parceiro-landing-root .btn-outline-light,
.parceiro-landing-root a.btn-outline-light,
.parceiro-landing-root .btn-accent,
.parceiro-landing-root a.btn-accent {
  color: #fff;
}

.parceiro-landing-root .btn-gold,
.parceiro-landing-root a.btn-gold {
  color: var(--brand-dark);
}

.parceiro-landing-root a.btn:hover,
.parceiro-landing-root a.btn:focus {
  text-decoration: none;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 1.25rem 4rem;
  color: #fff;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.82));
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 48rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.hero-copy {
  width: 100%;
}

.section-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 600;
  color: var(--brand-gold);
  margin-bottom: 0.5rem;
}

.section-label-pill {
  display: inline-block;
  padding: 0.35rem 1rem;
  border: 1px solid var(--brand-gold);
  border-radius: 999px;
  margin-bottom: 1rem;
}

.hero-copy h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.75rem);
  line-height: 1.1;
  margin: 0 0 1rem;
  font-weight: 700;
}

.hero-copy .lead {
  color: var(--slate-300);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 300;
  max-width: 42rem;
  margin: 0 auto 1.5rem;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  max-width: 28rem;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .hero-ctas {
    flex-direction: row;
    flex-wrap: wrap;
    max-width: none;
    width: auto;
  }

  .hero-ctas .btn {
    width: auto;
    min-width: 12rem;
  }
}

.parceiro-landing-root section {
  padding: 5rem 1.25rem;
  scroll-margin-top: 5.5rem;
}

.parceiro-landing-root .section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.parceiro-landing-root h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 1rem;
  font-weight: 700;
  color: var(--slate-900);
}

#sobre {
  background: #fff;
}

#sobre .section-label {
  color: var(--brand-gold);
}

.split {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }
}

.img-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.img-card img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.prose {
  color: var(--slate-600);
}

.prose p {
  margin: 0 0 1rem;
}

.band {
  background: var(--brand-dark);
  color: #fff;
  border-block: 1px solid rgba(197, 160, 89, 0.2);
}

.stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .stat {
    border-right: 1px solid rgba(51, 65, 85, 0.8);
    padding-right: 1rem;
  }

  .stat:last-child {
    border-right: none;
    padding-right: 0;
  }
}

.stat strong {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.75rem;
  color: var(--brand-gold);
}

.stat span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--slate-400);
}

#imoveis {
  background: var(--slate-100);
}

#imoveis .section-label {
  color: var(--brand-gold);
}

.property-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .property-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.property-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--slate-200);
  box-shadow: 0 4px 6px rgba(15, 23, 42, 0.06);
  transition: transform 0.3s ease;
}

.property-card:hover {
  transform: translateY(-4px);
}

.property-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.property-card__body {
  padding: 1.25rem;
}

.property-card__body h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  color: var(--slate-900);
}

.property-card__body p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--slate-600);
}

.property-card__tag {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-gold);
}

.section-surface {
  background: #fff;
}

.section-surface .section-label {
  color: var(--brand-gold);
}

.cards {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--slate-50);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--slate-200);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: var(--slate-900);
}

.card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--slate-600);
}

#contato {
  background: var(--slate-100);
}

#contato .section-label {
  color: var(--brand-gold);
}

.form-wrap {
  max-width: 48rem;
  margin: 0 auto;
  background: #fff;
  padding: 2rem;
  border-radius: 1.5rem;
  border: 1px solid var(--slate-200);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

@media (min-width: 768px) {
  .form-wrap {
    padding: 3rem;
  }
}

.form-wrap label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-700);
  margin-bottom: 0.5rem;
}

.form-wrap input,
.form-wrap textarea {
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  background: #fff;
  color: var(--slate-900);
  font-family: inherit;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.form-wrap input:focus,
.form-wrap textarea:focus {
  outline: none;
  border-color: var(--brand-gold);
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.25);
}

.form-wrap textarea {
  min-height: 8rem;
  resize: vertical;
}

.form-note {
  font-size: 0.875rem;
  color: var(--slate-500);
  margin-top: 1rem;
}

.site-footer {
  background: var(--brand-dark);
  color: #fff;
  padding: 4rem 1.25rem 2rem;
  border-top: 1px solid var(--slate-800);
}

.site-footer a {
  color: var(--slate-400);
}

.site-footer a:hover {
  color: #fff;
}

.footer-legal {
  margin: 1.25rem auto;
  max-width: 36rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.875rem;
  line-height: 1.55;
  text-align: center;
  color: var(--slate-400);
}

.footer-legal strong {
  color: #fff;
}

.site-footer > p:last-of-type {
  text-align: center;
  font-size: 0.75rem;
  color: var(--slate-500);
  margin: 0;
}

.parceiro-toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 100;
  max-width: 20rem;
  width: calc(100% - 2rem);
  background: var(--brand-dark);
  color: #fff;
  padding: 1.25rem 1.5rem;
  border-radius: 1rem;
  border-left: 4px solid var(--brand-gold);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
  transform: translateY(160%);
  opacity: 0;
  transition: transform 0.45s ease, opacity 0.45s ease;
  pointer-events: none;
}

.parceiro-toast--visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.parceiro-toast__title {
  font-weight: 700;
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.parceiro-toast__text {
  margin: 0;
  font-size: 0.875rem;
  color: var(--slate-300);
  line-height: 1.45;
}
