/*
Theme Name: Render Profissional
Theme URI: https://renderprofissional.com.br/
Author: Render Profissional
Author URI: https://renderprofissional.com.br/
Description: Landing page WordPress para apresentação imobiliária premium com renderização 3D, vídeo, tour 360°, planta humanizada e prospecto digital.
Version: 3.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: render-profissional
Tags: landing-page, portfolio, custom-logo, custom-menu, one-column
*/

:root {
  --rp-cream: #f4eee4;
  --rp-cream-deep: #ebe0d2;
  --rp-ink: #1d1915;
  --rp-ink-soft: #514a43;
  --rp-copper: #b98243;
  --rp-copper-soft: #d9b071;
  --rp-border: #d8ccb9;
  --rp-card: #fffaf3;
  --rp-whatsapp: #24d366;
  --rp-radius: 18px;
  --rp-shadow: 0 24px 70px rgba(29, 25, 21, .12);
  --rp-display: "Cormorant Garamond", Georgia, serif;
  --rp-sans: "Inter", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--rp-cream);
  color: var(--rp-ink);
  font-family: var(--rp-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, iframe { max-width: 100%; }
img { display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.rp-container {
  width: min(100% - 48px, 1200px);
  margin-inline: auto;
}
.rp-narrow {
  width: min(100% - 48px, 880px);
  margin-inline: auto;
}
.rp-section { padding-block: clamp(82px, 9vw, 128px); }
.rp-alt { background: var(--rp-cream-deep); }
.rp-eyebrow {
  display: inline-block;
  color: var(--rp-copper);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
}
h1, h2, h3 {
  margin: 0;
  color: var(--rp-ink);
  font-family: var(--rp-display);
  font-weight: 500;
  line-height: 1.06;
}
h1 { max-width: 980px; font-size: clamp(42px, 7vw, 86px); }
h2 { font-size: clamp(34px, 5vw, 58px); }
h3 { font-size: clamp(22px, 2.6vw, 30px); }
h1 em, h2 em, h3 em { color: var(--rp-copper); font-style: italic; font-weight: 500; }
p { margin: 0; color: var(--rp-ink-soft); line-height: 1.75; }

.rp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--rp-ink);
  color: var(--rp-cream);
  font-size: 15px;
  font-weight: 600;
  transition: transform .22s ease, background .22s ease, border-color .22s ease;
}
.rp-btn:hover { transform: translateY(-1px); background: #2c261f; }
.rp-btn--ghost { background: transparent; color: var(--rp-ink); border-color: rgba(29,25,21,.18); }
.rp-btn--ghost:hover { background: rgba(29,25,21,.05); border-color: rgba(29,25,21,.34); }

.rp-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 238, 228, .88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(216, 204, 185, .7);
}
.rp-header__inner {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.rp-brand { display: flex; align-items: center; gap: 12px; }
.rp-brand img { width: 46px; height: 46px; object-fit: contain; }
.rp-brand__text { display: flex; align-items: baseline; gap: 5px; font-family: var(--rp-display); font-size: 28px; line-height: 1; }
.rp-brand__text em { color: var(--rp-copper); font-style: italic; }
.rp-nav { display: flex; align-items: center; gap: 34px; color: var(--rp-ink-soft); font-size: 15px; }
.rp-nav a:hover { color: var(--rp-copper); }

.rp-hero { padding: clamp(56px, 8vw, 100px) 0 clamp(68px, 8vw, 106px); }
.rp-hero p { margin-top: 28px; max-width: 620px; font-size: clamp(17px, 2vw, 20px); }
.rp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.rp-hero__media { margin-top: 56px; overflow: hidden; border-radius: 24px; aspect-ratio: 21 / 9; box-shadow: var(--rp-shadow); }
.rp-hero__media img { width: 100%; height: 100%; object-fit: cover; }

.rp-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 70px;
  overflow: hidden;
  border: 1px solid var(--rp-border);
  border-radius: 22px;
  background: var(--rp-border);
}
.rp-stat { padding: 34px 24px; background: var(--rp-cream); text-align: center; }
.rp-stat strong { display: block; font-family: var(--rp-display); font-size: 42px; font-weight: 500; }
.rp-stat span { display: block; margin-top: 8px; color: var(--rp-ink-soft); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }

.rp-grid-2 { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(42px, 7vw, 82px); align-items: center; }
.rp-copy { margin-top: 26px; display: grid; gap: 18px; font-size: 18px; }
.rp-rounded { overflow: hidden; border-radius: 22px; }
.rp-rounded img { width: 100%; }

.rp-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 42px; margin-top: 58px; }
.rp-service { padding-top: 24px; border-top: 1px solid rgba(29,25,21,.16); }
.rp-step { color: var(--rp-copper); font-family: var(--rp-display); font-size: 19px; font-style: italic; letter-spacing: .08em; }
.rp-service p { margin-top: 12px; font-size: 15px; }

.rp-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 58px; }
.rp-gallery button { position: relative; overflow: hidden; min-height: 240px; padding: 0; border: 0; border-radius: 18px; background: var(--rp-ink); cursor: pointer; }
.rp-gallery button:first-child { grid-column: span 2; grid-row: span 2; }
.rp-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.rp-gallery button:hover img { transform: scale(1.045); }
.rp-gallery button::after { content: ""; position: absolute; inset: 0; background: rgba(29,25,21,0); transition: background .25s ease; }
.rp-gallery button:hover::after { background: rgba(29,25,21,.15); }

.rp-embed { margin-top: 48px; overflow: hidden; border-radius: 22px; aspect-ratio: 16 / 9; background: var(--rp-ink); }
.rp-embed iframe { width: 100%; height: 100%; border: 0; }

.rp-plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 48px; }
.rp-plan { overflow: hidden; padding: 0; border: 1px solid var(--rp-border); border-radius: 22px; background: #fffaf3; cursor: pointer; }
.rp-plan img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; padding: 18px; transition: transform .45s ease; }
.rp-plan:hover img { transform: scale(1.02); }

.rp-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; margin: 28px 0 0; padding: 0; list-style: none; }
.rp-list li { display: flex; gap: 10px; padding: 12px 0; border-bottom: 1px solid rgba(29,25,21,.13); color: var(--rp-ink); }
.rp-list li::before { content: "—"; color: var(--rp-copper); }

.rp-portfolio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 24px; margin-top: 58px; }
.rp-project__img { overflow: hidden; border-radius: 18px; aspect-ratio: 4 / 5; }
.rp-project__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.rp-project:hover img { transform: scale(1.045); }
.rp-project__body { display: flex; justify-content: space-between; gap: 14px; margin-top: 20px; }
.rp-project__body h3 { font-size: 22px; }
.rp-project__body p { margin-top: 4px; font-size: 14px; }
.rp-arrow { display: grid; place-items: center; flex: 0 0 38px; height: 38px; border: 1px solid var(--rp-border); border-radius: 50%; transition: all .22s ease; }
.rp-arrow:hover { background: var(--rp-ink); color: var(--rp-cream); }

.rp-testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 42px 32px; margin-top: 58px; }
.rp-testimonial { margin: 0; padding-top: 24px; border-top: 1px solid rgba(29,25,21,.16); }
.rp-testimonial blockquote { margin: 0; font-family: var(--rp-display); font-size: clamp(23px, 2.4vw, 30px); line-height: 1.16; }
.rp-testimonial blockquote span { color: var(--rp-copper); }
.rp-testimonial figcaption { margin-top: 24px; color: var(--rp-ink-soft); font-size: 14px; }
.rp-testimonial strong { display: block; color: var(--rp-ink); }

.rp-faq { margin-top: 46px; }
.rp-faq details { padding: 24px 0; border-top: 1px solid rgba(29,25,21,.16); }
.rp-faq details:last-child { border-bottom: 1px solid rgba(29,25,21,.16); }
.rp-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; cursor: pointer; list-style: none; }
.rp-faq summary::-webkit-details-marker { display: none; }
.rp-faq summary span:first-child { font-family: var(--rp-display); font-size: 24px; }
.rp-faq summary span:last-child { color: var(--rp-copper); font-size: 26px; transition: transform .2s ease; }
.rp-faq details[open] summary span:last-child { transform: rotate(45deg); }
.rp-faq p { margin-top: 16px; max-width: 720px; }

.rp-final { text-align: center; border-top: 1px solid rgba(29,25,21,.12); }
.rp-final p { margin: 28px auto 0; max-width: 650px; font-size: 18px; }

.rp-footer { background: var(--rp-ink); color: rgba(244,238,228,.72); }
.rp-footer__main { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 52px; padding-block: 64px; }
.rp-footer h3, .rp-footer .rp-brand__text { color: var(--rp-cream); }
.rp-footer .rp-brand img { width: 44px; height: 44px; }
.rp-footer p, .rp-footer li { color: rgba(244,238,228,.62); }
.rp-footer ul { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 14px; }
.rp-footer a:hover { color: var(--rp-copper-soft); }
.rp-footer__bottom { border-top: 1px solid rgba(244,238,228,.1); }
.rp-footer__bottom .rp-container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-block: 20px; color: rgba(244,238,228,.44); font-size: 12px; }

.rp-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--rp-whatsapp);
  color: #fff;
  box-shadow: 0 16px 38px rgba(36,211,102,.34);
  animation: rpPulse 2.2s ease-out infinite;
}
@keyframes rpPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(36,211,102,.38), 0 16px 38px rgba(36,211,102,.34); }
  50% { box-shadow: 0 0 0 14px rgba(36,211,102,0), 0 16px 38px rgba(36,211,102,.34); }
}

.rp-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(29,25,21,.92);
}
.rp-lightbox.is-open { display: flex; }
.rp-lightbox img { max-height: calc(100vh - 90px); max-width: min(1100px, 100%); border-radius: 12px; object-fit: contain; }
.rp-lightbox button {
  position: absolute;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #fff;
  cursor: pointer;
}
.rp-lightbox__close { top: 24px; right: 24px; width: 44px; height: 44px; font-size: 28px; }
.rp-lightbox__prev, .rp-lightbox__next { top: 50%; width: 46px; height: 46px; font-size: 34px; transform: translateY(-50%); }
.rp-lightbox__prev { left: 24px; }
.rp-lightbox__next { right: 24px; }

@media (max-width: 980px) {
  .rp-nav { display: none; }
  .rp-grid-2, .rp-footer__main { grid-template-columns: 1fr; }
  .rp-services, .rp-portfolio, .rp-testimonials { grid-template-columns: repeat(2, 1fr); }
  .rp-stats { grid-template-columns: repeat(2, 1fr); }
  .rp-hero__media { aspect-ratio: 16 / 10; }
}

@media (max-width: 680px) {
  .rp-container, .rp-narrow { width: min(100% - 32px, 1200px); }
  .rp-header__inner { height: 72px; }
  .rp-brand img { width: 38px; height: 38px; }
  .rp-brand__text { font-size: 22px; }
  .rp-header .rp-btn { display: none; }
  .rp-section { padding-block: 72px; }
  .rp-hero { padding-top: 44px; }
  .rp-hero__media { margin-top: 42px; border-radius: 18px; aspect-ratio: 4 / 3; }
  .rp-actions .rp-btn { width: 100%; }
  .rp-services, .rp-portfolio, .rp-testimonials, .rp-plans, .rp-list { grid-template-columns: 1fr; }
  .rp-gallery { grid-template-columns: 1fr; }
  .rp-gallery button:first-child { grid-column: auto; grid-row: auto; }
  .rp-gallery button { min-height: 245px; }
  .rp-stat { padding: 26px 14px; }
  .rp-stat strong { font-size: 34px; }
  .rp-footer__bottom .rp-container { display: grid; }
  .rp-lightbox__prev { left: 10px; }
  .rp-lightbox__next { right: 10px; }
}

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