/*
Theme Name: ONZE22 — Vila Madalena
Theme URI: https://onze22-vila-madalena.estudioarnold.chatgpt.site/
Author: Estúdio Arnold
Description: Tema institucional do empreendimento ONZE22, da Idea!Zarvos.
Version: 2.3.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: onze22
*/

:root { --ink: #0b0b0b; --paper: #fff; --green: #0e2517; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 400; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { color: inherit; }
.shell { width: min(1400px, calc(100% - 7.4vw)); margin-inline: auto; }
.hero { min-height: 930px; color: #fff; position: relative; background: linear-gradient(90deg, rgba(0,0,0,.66) 0%, rgba(0,0,0,.34) 48%, rgba(0,0,0,.46) 100%), url('assets/hero-onze22.jpg') center/cover no-repeat; }
.nav { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 28px; position: relative; z-index: 3; }
.brand { width: 102px; height: 22px; object-fit: contain; display: block; }
.navLinks { display: flex; gap: 40px; margin-left: auto; margin-right: clamp(15px, 12vw, 190px); font-size: 16px; }
.navLinks a { transition: opacity .2s ease; }
.navLinks a:hover { opacity: .65; }
.menuToggle { display: none; border: 0; background: none; padding: 8px; }
.menuToggle span { display: block; width: 24px; height: 1px; margin: 5px; background: currentColor; }
.pill { display: inline-flex; align-items: center; justify-content: center; border: 1.2px solid currentColor; border-radius: 999px; padding: 8px 15px 9px; font-size: 16px; line-height: 18px; background: transparent; cursor: pointer; transition: background .2s, color .2s; }
.pillLight:hover { background: #fff; color: #000; }
.pillDark:hover { background: #000; color: #fff; }
.heroContent { min-height: 842px; padding: 70px 0 58px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(330px, 390px); align-items: end; gap: clamp(50px, 10vw, 170px); }
.heroCopy { align-self: end; padding-bottom: 6px; }
.heroCopy h1 { max-width: 800px; font-family: "Helvetica Now Display Light", "Helvetica Now Display", "Helvetica Now", "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: clamp(56px, 4.95vw, 66px); line-height: .98; font-weight: 300; margin: 0 0 18px; }
.heroCopy p { max-width: 580px; font-size: 18px; line-height: 1.15; margin: 0 0 14px; }
.heroCopy span { display: block; font-size: 12px; line-height: 1.35; letter-spacing: .02em; }
.heroFormPanel { padding: 28px 30px 24px; border: 0; border-radius: 22px; background: rgba(8,8,8,.34); box-shadow: 0 18px 55px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.1); backdrop-filter: blur(16px) saturate(115%); -webkit-backdrop-filter: blur(16px) saturate(115%); }
.heroFormPanel h2 { margin: 0 0 7px; font-size: 30px; line-height: 1.05; font-weight: 300; }
.heroFormPanel > p { margin: 0 0 24px; font-size: 15px; }
.intro { padding: 76px 0 98px; text-align: center; }
.intro h2, .sectionHeading h2, .contact h2 { font-size: clamp(32px, 3vw, 40px); line-height: 1.1; font-weight: 300; }
.intro h2 { max-width: 630px; margin: 0 auto 34px; }
.lead { max-width: 640px; margin: 0 auto 42px; font-size: 18px; line-height: 1.2; }
.featureGrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; text-align: left; }
.featureGrid img { width: 100%; height: 274px; object-fit: cover; display: block; }
.featureGrid h3 { font-size: 20px; font-weight: 400; margin: 28px 0 12px; }
.featureGrid p { font-size: 16px; line-height: 1.15; max-width: 395px; margin: 0; }
.sectionCta { margin-top: 44px; }
.gallerySection, .plantsSection, .location { text-align: center; padding-top: 72px; }
.sectionHeading { width: min(650px, calc(100% - 36px)); margin: 0 auto 42px; }
.sectionHeading h2 { margin: 0 0 28px; }
.sectionHeading p { font-size: 18px; line-height: 1.2; margin: 0 auto; max-width: 560px; }
.panorama { position: relative; width: 100%; height: min(59.4vw, 898px); min-height: 430px; overflow-x: auto; overflow-y: hidden; cursor: grab; scroll-behavior: auto; scrollbar-width: none; background: #111; overscroll-behavior-x: contain; touch-action: pan-x; }
.panorama::-webkit-scrollbar { display: none; }
.panorama > img { height: 100%; width: auto; max-width: none; display: block; }
.panoramaControls { position: sticky; left: 50%; bottom: 30px; width: max-content; transform: translate(-50%, -78px); display: flex; align-items: center; gap: 15px; padding: 7px; border: 1px solid rgba(255,255,255,.55); border-radius: 999px; color: #fff; background: rgba(0,0,0,.48); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.panoramaControls span { padding: 0 5px; font-size: 14px; white-space: nowrap; }
.panoramaControls button { width: 42px; height: 42px; padding: 0; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; color: #fff; background: transparent; cursor: pointer; font-size: 21px; transition: background .2s, color .2s, opacity .2s; }
.panoramaControls button:hover:not(:disabled) { background: #fff; color: #000; }
.panoramaControls button:disabled { opacity: .3; cursor: default; }
.plantsSection { padding-bottom: 78px; }
.plantViewer { min-height: 630px; display: grid; grid-template-columns: 45px 1fr 45px; align-items: center; gap: 20px; }
.plantSlides { min-width: 0; }
.plantSlides figure { display: none; }
.plantSlides figure.active { display: block; }
.plantViewer figure { margin: 0; min-width: 0; position: relative; }
.plantViewer img { width: 100%; height: min(50vw, 630px); object-fit: contain; mix-blend-mode: multiply; animation: reveal .35s ease; }
@keyframes reveal { from { opacity: .2; transform: translateX(8px); } }
.plantViewer figcaption { display: flex; align-items: baseline; justify-content: center; gap: 12px; font-size: 16px; }
.plantViewer figcaption strong { font-weight: 400; color: #666; }
.arrow { width: 42px; height: 42px; padding: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid #aaa; background: #fff; font-family: Arial, sans-serif; font-size: 22px; line-height: 1; cursor: pointer; transition: .2s; }
.arrow:hover { background: #000; color: #fff; border-color: #000; }
.dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.dots button { width: 34px; height: 2px; padding: 0; border: 0; background: #bbb; cursor: pointer; }
.dots button[aria-current="true"] { background: #000; }
.location { padding-bottom: 72px; background: #fafafa; }
.map { height: 500px; background: #ddd; }
.map iframe { width: 100%; height: 100%; border: 0; }
.contact { min-height: 816px; color: #fff; display: flex; align-items: center; background: linear-gradient(90deg, rgba(0,0,0,.45), rgba(0,0,0,.18)), url('assets/cta.jpg') center 55%/cover no-repeat; }
.contactInner { display: grid; grid-template-columns: minmax(320px, 1fr) 390px; align-items: center; gap: 9vw; }
.contact h2 { max-width: 450px; margin: 0 0 20px; }
.contactInner > div > p { max-width: 390px; font-size: 18px; line-height: 1.3; }
.leadForm { display: flex; flex-direction: column; gap: 24px; }
.leadForm label { display: flex; flex-direction: column; gap: 6px; font-size: 20px; }
.leadForm input, .leadForm select { width: 100%; border: 0; border-bottom: 1px solid #fff; border-radius: 0; background: transparent; color: #fff; outline: none; height: 36px; }
.leadForm select { cursor: pointer; }
.leadForm select option { color: #000; background: #fff; }
.leadForm input:focus, .leadForm select:focus { border-bottom-width: 2px; }
.leadForm .consent { flex-direction: row; align-items: flex-start; gap: 10px; font-size: 13px; }
.leadForm .consent input { width: 16px; min-width: 16px; height: 16px; accent-color: #fff; }
.leadForm.compact { gap: 14px; }
.leadForm.compact label { font-size: 16px; gap: 2px; }
.leadForm.compact input, .leadForm.compact select { height: 28px; }
.leadForm.compact .consent { font-size: 11px; line-height: 1.25; gap: 8px; }
.leadForm.compact .submit { margin-top: 2px; }
.leadForm .honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.submit { align-self: flex-start; min-width: 92px; }
.submit:disabled { opacity: .5; cursor: wait; }
.formMessage { min-height: 22px; font-size: 14px; margin: -12px 0 0; }
footer { background: #000; color: #fff; padding: 50px 0 28px; }
.footerTop { min-height: 145px; display: flex; justify-content: space-between; align-items: flex-start; }
.footerTop img { width: 74px; height: 45px; object-fit: contain; }
.footerTop p { margin: 0; font-size: 16px; line-height: 1.25; min-width: 330px; }
.copyright { border-top: 1px solid #444; padding-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 30px; font-size: 13px; }
.footerSocial { display: flex; align-items: center; gap: 24px; }
.footerSocial a { position: relative; transition: opacity .2s ease; }
.footerSocial a::after { content: "↗"; margin-left: 5px; font-size: 10px; }
.footerSocial a:hover { opacity: .62; }
.footerSocial a:focus-visible { outline: 1px solid #fff; outline-offset: 5px; }
@media (max-width: 800px) {
  .shell { width: calc(100% - 36px); }
  .hero { min-height: auto; background-position: 47% center; }
  .nav { height: 74px; }
  .menuToggle { display: block; margin-left: auto; }
  .navLinks { display: none; position: absolute; top: 66px; left: 0; right: 0; margin: 0; padding: 24px; flex-direction: column; gap: 24px; background: rgba(0,0,0,.88); backdrop-filter: blur(12px); }
  .navLinks.open { display: flex; }
  .navCta { display: none; }
  .heroContent { min-height: 0; padding: 165px 0 38px; grid-template-columns: 1fr; align-items: stretch; gap: 34px; }
  .heroCopy { padding: 0; }
  .heroCopy h1 { font-size: 56px; }
  .heroCopy p { max-width: 95%; }
  .heroFormPanel { padding: 24px 22px 20px; border-radius: 18px; background: rgba(8,8,8,.5); }
  .heroFormPanel h2 { font-size: 28px; }
  .intro { padding: 64px 0 76px; }
  .featureGrid { grid-template-columns: 1fr; gap: 42px; }
  .featureGrid img { height: min(72vw, 360px); }
  .gallerySection, .plantsSection, .location { padding-top: 58px; }
  .panorama { height: 72vh; min-height: 480px; }
  .panoramaControls { bottom: 18px; transform: translate(-50%, -66px); gap: 7px; }
  .panoramaControls span { font-size: 12px; }
  .panoramaControls button { width: 38px; height: 38px; }
  .plantViewer { min-height: 410px; grid-template-columns: 36px 1fr 36px; gap: 4px; }
  .plantViewer img { height: 56vw; min-height: 270px; }
  .arrow { width: 34px; height: 34px; }
  .map { height: 430px; }
  .contact { min-height: 760px; padding: 70px 0; background-position: 62% center; }
  .contactInner { grid-template-columns: 1fr; gap: 44px; }
  .contact .leadForm { max-width: 390px; }
  .footerTop { flex-direction: column; gap: 44px; }
  .footerTop p { min-width: 0; }
  .copyright { margin-top: 30px; align-items: flex-start; flex-direction: column-reverse; gap: 18px; }
  .footerSocial { gap: 20px; }
}
@media (max-width: 420px) {
  .heroContent { padding-top: 125px; }
  .heroCopy h1 { font-size: 52px; }
  .heroCopy p { font-size: 16px; }
  .heroFormPanel { padding-inline: 18px; }
  .panoramaControls span { display: none; }
  .panoramaControls { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; } }
