/*
Theme Name: Adriana Bernardes - Corretora de Imoveis
Theme URI: https://saocarlosimoveis.online/
Author: Proverbios System
Description: Landing page premium para Adriana Bernardes. Layout editorial slim — Inter + Playfair Display.
Version: 1.1.1
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: adriana-bernardes
Tags: custom-menu, featured-images, one-column, custom-colors
*/

:root {
  --gold: #b8954a;
  --gold-light: #d4b87a;
  --gold-muted: rgba(184, 149, 74, 0.15);
  --dark: #0a1628;
  --dark-soft: #112942;
  --dark-mid: #1a3a5c;
  --cream: #f7f5f0;
  --paper: #faf9f7;
  --white: #ffffff;
  --muted: #64748b;
  --muted-light: #94a3b8;
  --line: #e8e4dc;
  --line-dark: rgba(255, 255, 255, 0.08);
  --whatsapp: #25d366;
  --max: 72rem;
  --radius: 0.5rem;
  --radius-lg: 0.75rem;
  --shadow-soft: 0 20px 50px -20px rgba(10, 22, 40, 0.18);
  --shadow-deep: 0 30px 60px -24px rgba(10, 22, 40, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body.adriana-landing {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 400;
  background: var(--paper);
  color: var(--dark);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.adriana-root img { max-width: 100%; height: auto; display: block; }
.adriana-root a { text-decoration: none; transition: color 0.25s var(--ease), opacity 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease); }
.adriana-root h1, .adriana-root h2, .adriana-root h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 0.85rem;
  letter-spacing: -0.01em;
}
.adriana-root h1 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 600; }
.adriana-root h2 { font-size: clamp(1.65rem, 3.5vw, 2.25rem); }
.adriana-root h3 { font-size: clamp(1.35rem, 2.5vw, 1.75rem); }
.adriana-root em { font-style: italic; color: var(--gold); }
.adriana-root p { margin: 0 0 1rem; }

.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;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal-delay { transition-delay: 0.12s; }
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Header — slim */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10, 22, 40, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-dark);
  color: #fff;
  transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.scrolled {
  background: rgba(10, 22, 40, 0.96);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }

.header-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { color: #fff; display: flex; flex-direction: column; gap: 0.05rem; }
.brand strong {
  font-family: "Playfair Display", serif;
  font-size: 1.05rem; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--gold-light);
}
.brand span {
  font-size: 0.6rem; text-transform: uppercase;
  letter-spacing: 0.2em; font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
}
.brand:hover { opacity: 0.92; }

.header-nav { display: none; align-items: center; gap: 2rem; }
.header-nav a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.1em;
}
.header-nav a:not(.btn):hover { color: var(--gold-light); }
@media (min-width: 900px) {
  .header-nav { display: flex; }
  .mobile-menu-btn { display: none !important; }
}

.mobile-menu-btn {
  background: none; border: none; color: rgba(255,255,255,0.85);
  cursor: pointer; padding: 0.35rem;
}
.mobile-nav {
  display: flex; flex-direction: column; gap: 0.25rem;
  padding: 0 1.5rem 1rem;
  background: var(--dark);
  border-top: 1px solid var(--line-dark);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav a {
  color: rgba(255,255,255,0.85); padding: 0.6rem 0;
  font-size: 0.9rem; border-bottom: 1px solid var(--line-dark);
}
.mobile-nav .btn { margin-top: 0.75rem; text-align: center; }

/* Buttons — slim */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.65rem 1.35rem; border-radius: 2px;
  font-size: 0.78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  border: 1px solid transparent; cursor: pointer;
}
.btn-gold { background: var(--gold); color: var(--dark); }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-dark { background: var(--dark); color: #fff; border: none; width: 100%; }
.btn-dark:hover { background: var(--dark-soft); }
.btn-outline {
  border-color: rgba(255,255,255,0.25); color: rgba(255,255,255,0.9);
  background: transparent;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold-light); }
.btn-whatsapp { background: var(--whatsapp); color: #fff !important; }
.btn-whatsapp:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn-nav { padding: 0.5rem 1rem; font-size: 0.72rem; }

/* Hero — editorial */
.hero {
  padding: 6.5rem 1.5rem 0;
  background: var(--dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(184, 149, 74, 0.08) 0%, transparent 60%),
    linear-gradient(180deg, var(--dark) 0%, var(--dark-soft) 100%);
  pointer-events: none;
}
.hero-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; gap: 2.5rem; align-items: end;
  position: relative; z-index: 1;
  padding-bottom: 0;
}
@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr 340px;
    gap: 4rem;
    min-height: 78vh;
    align-items: center;
    padding-bottom: 3rem;
  }
}
.eyebrow {
  font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.22em;
  color: var(--gold-light); margin-bottom: 1.25rem; font-weight: 500;
}
.hero .lead {
  font-size: 0.98rem; font-weight: 300;
  color: rgba(255,255,255,0.72);
  max-width: 30rem; line-height: 1.75;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; margin: 1.75rem 0 1.25rem; }
.hero-meta {
  font-size: 0.78rem; color: rgba(255,255,255,0.45);
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.65rem;
  margin: 0; letter-spacing: 0.04em;
}
.hero-meta a { color: rgba(255,255,255,0.7); }
.hero-meta a:hover { color: var(--gold-light); }
.meta-sep {
  width: 1px; height: 12px; background: rgba(255,255,255,0.2);
}
.hero-photo {
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  box-shadow: var(--shadow-deep);
  border: 1px solid rgba(184, 149, 74, 0.2);
  border-bottom: none;
}
@media (min-width: 900px) {
  .hero-photo { border-radius: var(--radius-lg); border-bottom: 1px solid rgba(184, 149, 74, 0.2); }
}
.hero-photo img {
  width: 100%; aspect-ratio: 3/4;
  object-fit: cover; object-position: top center;
}

/* Trust strip — slim */
.trust-strip {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.trust-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}
.trust-item {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.78rem; color: var(--muted);
  letter-spacing: 0.02em;
}
.trust-num {
  font-family: "Playfair Display", serif;
  font-size: 0.85rem; color: var(--gold);
  font-weight: 600; flex-shrink: 0;
}

/* Sections */
.section-inner { max-width: var(--max); margin: 0 auto; padding: 5rem 1.5rem; }
.section-intro {
  max-width: var(--max); margin: 0 auto;
  padding: 5rem 1.5rem 2.5rem;
  text-align: center; max-width: 36rem;
}
.section-intro p:last-child { color: var(--muted); font-size: 0.95rem; }

.split {
  display: grid; gap: 3rem; align-items: center;
}
@media (min-width: 768px) { .split { grid-template-columns: 1.05fr 1fr; } }
.about-photo {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.about-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.prose p { color: var(--muted); font-size: 0.95rem; line-height: 1.8; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-top: 1.5rem; font-size: 0.78rem;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--dark); font-weight: 600;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
}
.link-arrow:hover { color: var(--gold); }

/* Property pages — one empreendimento per section */
.section-intro-block {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.section-intro-block .section-intro {
  padding: 4rem 1.5rem 3rem;
}

.property-page {
  background: var(--dark);
  color: #fff;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  scroll-margin-top: 72px;
}
.property-page--light {
  background: var(--dark-soft);
}
.property-page--sold {
  background: var(--paper);
  color: var(--dark);
  min-height: auto;
  padding: 4rem 0 5rem;
}

.property-page-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4rem 1.5rem;
  width: 100%;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 900px) {
  .property-page-inner {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    padding: 5rem 1.5rem;
  }
}

/* Left column — photo + video */
.property-media {
  display: grid;
  gap: 1rem;
  order: 1;
}
.property-photo {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-deep);
  border: 1px solid var(--line-dark);
}
.property-photo img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: center;
}
.property-video video {
  width: 100%;
  border-radius: var(--radius);
  background: #000;
  aspect-ratio: 16/9;
  object-fit: cover;
  border: 1px solid var(--line-dark);
}
.video-label {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.4);
}

/* Right column — text */
.property-copy {
  order: 2;
}
.property-tag {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold-light);
  margin-bottom: 0.85rem;
  font-weight: 500;
}
.property-lead {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.property-features {
  list-style: none;
  padding: 0 0 0 1.25rem;
  margin: 0 0 2rem;
  border-left: 1px solid rgba(184, 149, 74, 0.35);
}
.property-features li {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  position: relative;
}
.property-features li::before {
  content: "—";
  position: absolute;
  left: -1.25rem;
  color: var(--gold);
  font-size: 0.75rem;
}

/* Sold property page */
.property-page--sold .property-tag--sold { color: var(--gold); }
.property-page--sold .property-lead { color: var(--muted); }
.property-page--sold .property-note {
  font-size: 0.88rem;
  color: var(--muted-light);
  font-style: italic;
  margin: 0;
}
.property-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}
.property-gallery figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.property-gallery img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

/* Testimonials */
.section-testimonials { background: var(--cream); }
.section-testimonials .section-inner { padding-top: 0; }

.carousel {
  position: relative; display: flex; align-items: center; gap: 0.75rem;
}
.carousel-track-wrap {
  overflow: hidden; flex: 1;
  border-radius: var(--radius-lg);
}
.carousel-track {
  display: flex; transition: transform 0.55s var(--ease);
}
.testimonial-slide {
  min-width: 100%; display: grid; gap: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
@media (min-width: 640px) {
  .testimonial-slide { grid-template-columns: 240px 1fr; }
}
.testimonial-photo img {
  width: 100%; height: 100%;
  min-height: 200px; object-fit: cover;
}
.testimonial-body {
  padding: 2rem 2rem 2rem 1.75rem;
  display: flex; flex-direction: column; justify-content: center;
}
.stars {
  color: var(--gold); font-size: 0.75rem;
  letter-spacing: 0.15em; margin-bottom: 0.85rem;
}
.testimonial-body blockquote {
  margin: 0 0 1rem; font-size: 0.95rem;
  color: var(--dark-soft); font-style: italic;
  line-height: 1.75; font-weight: 300;
}
.testimonial-body cite {
  font-size: 0.75rem; color: var(--muted);
  font-style: normal; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
}

.carousel-btn {
  flex-shrink: 0; width: 2.25rem; height: 2.25rem;
  border-radius: 50%; border: 1px solid var(--line);
  background: var(--white); color: var(--dark);
  cursor: pointer; font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
}
.carousel-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--dark); }
.carousel-dots {
  display: flex; justify-content: center; gap: 0.4rem; margin-top: 1.25rem;
}
.carousel-dot {
  width: 6px; height: 6px; border-radius: 50%;
  border: none; background: var(--line); cursor: pointer; padding: 0;
  transition: background 0.25s, transform 0.25s;
}
.carousel-dot.active { background: var(--gold); transform: scale(1.4); }

/* Contact */
.section-contact { background: var(--white); }
.contact-wrap {
  display: grid; gap: 3rem;
}
@media (min-width: 768px) {
  .contact-wrap { grid-template-columns: 1fr 1fr; align-items: start; }
}
.contact-list {
  list-style: none; padding: 0; margin: 1.5rem 0;
  display: grid; gap: 0.75rem;
}
.contact-list li {
  display: flex; flex-direction: column; gap: 0.15rem;
}
.contact-list span {
  font-size: 0.68rem; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--muted-light);
}
.contact-list a { color: var(--dark); font-weight: 500; font-size: 0.95rem; }
.contact-list a:hover { color: var(--gold); }
.contact-card {
  background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 2rem;
}
.contact-card form { display: grid; gap: 1rem; }
.contact-card label {
  display: block; font-size: 0.68rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 0.35rem; color: var(--muted);
}
.contact-card input, .contact-card textarea {
  width: 100%; padding: 0.7rem 0.85rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  font-family: inherit; font-size: 0.9rem;
  background: var(--white); color: var(--dark);
  transition: border-color 0.2s;
}
.contact-card input:focus, .contact-card textarea:focus {
  outline: none; border-color: var(--gold);
}
.contact-card textarea { min-height: 110px; resize: vertical; }

/* Footer — slim */
.site-footer {
  background: var(--dark); color: rgba(255,255,255,0.5);
  text-align: center; padding: 2.75rem 1.5rem;
  border-top: 1px solid var(--line-dark);
}
.brand-footer {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem; color: var(--gold-light);
  margin-bottom: 0.65rem; letter-spacing: 0.06em;
}
.legal { font-size: 0.78rem; line-height: 1.7; }
.copy { font-size: 0.68rem; margin-top: 1.25rem; opacity: 0.5; letter-spacing: 0.04em; }

/* Toast */
.adriana-toast {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 200;
  background: var(--dark); color: #fff;
  padding: 1rem 1.25rem; border-radius: var(--radius);
  box-shadow: var(--shadow-deep);
  border: 1px solid var(--line-dark);
  transform: translateY(120%); opacity: 0;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
  max-width: 280px;
}
.adriana-toast.visible { transform: translateY(0); opacity: 1; }
.adriana-toast strong { display: block; margin-bottom: 0.25rem; color: var(--gold-light); font-size: 0.85rem; }
.adriana-toast span { font-size: 0.8rem; opacity: 0.75; display: block; margin-top: 0.25rem; }
.adriana-toast-email {
  display: block; margin-top: 0.5rem;
  color: var(--gold-light); font-weight: 600; font-size: 0.88rem;
  word-break: break-all;
}
.adriana-toast-email:hover { color: var(--gold); }
