/*
  Portal do Velho Chico — Landing Page
  Estética: clean, moderna, minimalista (inspirada em Apple)
  Paleta: branco, cinza claro, verde natural, azul suave, dourado discreto
*/

:root {
  /* Base Light Palette */
  --white: #FFFFFF;
  --gray-50: #f9fafb;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --blue-main: #2C4D7B; /* principal */
  --blue-light: #4C9ED9; /* destaques */
  --yellow: #F3A64D; /* CTAs */
  --black: #1A1A1A;
  --white: #FFFFFF;

  /* Derived tokens */
  --color-bg: linear-gradient(180deg, #2C4D7B, #1A1A1A);
  --color-surface: #FFFFFF;
  --color-muted: #F7FAFE;
  --color-border: #E3EAF4;
  --color-text: #FFFFFF;
  --color-text-muted: #dbeafe;
  --shadow-soft: 0 10px 30px rgba(0,0,0,0.06);
  --radius: 16px;
  --radius-sm: 12px;
  --radius-xs: 10px;

  --container: 1120px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  --transition-fast: 180ms cubic-bezier(.2,.6,.2,1);
  --transition-slow: 420ms cubic-bezier(.2,.6,.2,1);
}

/* Reset minimalista */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, Helvetica Neue, Arial, 'Noto Sans', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; border-radius: var(--radius); }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.section { padding: var(--space-24) 0; }
.section-title { font-size: 32px; line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 var(--space-6); font-weight: 700; }
.section-title.center { text-align: center; }
.section-title.contrast { color: #ffffff; }
.lead { font-size: 18px; color: var(--color-text-muted); margin: var(--space-4) 0 var(--space-8); }
.body-text { font-size: 16px; color: var(--color-text-muted); margin: 0 0 var(--space-6); }
.display { font-family: 'Playfair Display', Georgia, 'Times New Roman', serif; font-size: clamp(36px, 6.2vw, 64px); line-height: 1.04; letter-spacing: -0.01em; margin: 0; font-weight: 800; }

/* Header darker on gradient */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(10,15,25,0.6); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid rgba(255,255,255,0.08); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 68px; }
.brand { grid-column: 1 / 2; justify-self: start; display: flex; align-items: center; }
.site-nav { grid-column: 2 / 3; justify-self: center; }
.header-logo { height: 28px; width: auto; display: block; }
@media (max-width: 640px) { .header-logo { height: 24px; } }
.brand { display: flex; align-items: center; gap: 8px; }
.header-logo-opposite { height: 28px; width: auto; display: block; }
@media (max-width: 640px) { .header-logo-opposite { height: 24px; } }
.logo-mark { display: none; }
.brand-logo { height: 48px; width: auto; display: block; mix-blend-mode: multiply; }
@media (max-width: 640px) { .brand-logo { height: 40px; } }
.site-header .brand .brand-name { height: 28px !important; max-height: 28px; width: auto; display: block; object-fit: contain; }
@media (max-width: 640px) { .site-header .brand .brand-name { height: 24px !important; max-height: 24px; } }
.logo-mark.small { width: 22px; height: 22px; border-radius: 6px; }
.brand-text { display: none; }
.brand-badge { display: none; }
.site-nav { display: flex; align-items: center; gap: var(--space-4); }
.site-nav a { padding: 8px 12px; border-radius: 10px; color: var(--color-text); font-weight: 500; opacity: 0.9; }
.site-nav a:hover { background: var(--gray-875); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06); }
.hero.hero-light .site-nav a:hover { background: #ffffff; box-shadow: 0 6px 18px rgba(30,139,99,0.18); }
.site-nav .nav-cta { color: var(--gray-900); background: var(--white); }
.site-nav .nav-cta:hover { background: var(--white); box-shadow: 0 8px 24px rgba(0,0,0,0.35); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.08); cursor: pointer; font-weight: 600; background: var(--gray-875); color: var(--color-text); transition: transform var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast); box-shadow: 0 6px 18px rgba(0,0,0,0.35); }
.btn:active { transform: translateY(1px); }
.btn:hover { background: var(--gray-800); box-shadow: 0 12px 28px rgba(0,0,0,0.45); }
.hero.hero-light .btn:hover { background: #ffffff; box-shadow: 0 10px 24px rgba(30,139,99,0.18); }

/* Removed hero hover accent */
.btn-primary { background: var(--white); color: var(--gray-900); border-color: transparent; box-shadow: 0 8px 20px rgba(0,0,0,0.45); }
.btn-primary:hover { filter: brightness(0.98); box-shadow: 0 12px 28px rgba(0,0,0,0.55); }
.btn-white { background: var(--white); color: var(--gray-900); }
.btn-white:hover { background: #ffffff; }
.btn-darkgreen { background: var(--gray-875); color: var(--color-text); border-color: rgba(255,255,255,0.08); }
.btn-darkgreen:hover { filter: brightness(0.98); }
.btn-gold { background: var(--gray-875); color: var(--color-text); border-color: rgba(255,255,255,0.08); }
.btn-gold:hover { background: #ffffff; }

.actions { display: flex; gap: var(--space-4); }

/* Hero */
.hero { position: relative; padding-top: var(--space-20); background: linear-gradient(180deg, #2C4D7B, #1A1A1A); overflow: hidden; }
.hero.has-bg::before { content: ""; position: absolute; inset: 0; background-image: var(--banner-url); background-size: cover; background-position: center; opacity: .28; filter: saturate(115%) contrast(110%); z-index: 0; }
.hero.hero-light { background: transparent; }
.hero.hero-light .display { color: #ffffff; }
.hero.hero-light .lead { color: #dbeafe; }
.hero.hero-light .glass { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.25); }
.hero.hero-light .btn-gradient { color: #0b0b0b; }
/* Removed hero corner logo */
.hero.has-bg { background: transparent; }
.hero.has-bg::before, .hero.has-bg::after { display: none; }
/* Subtle dark overlay for readability */
.hero.has-bg::after { display: none; }
.video-bg::before { opacity: 0.16; }
/* New: stronger overlay and text contrast on video bg */
.video-bg::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.46), rgba(0,0,0,0.28) 40%, rgba(0,0,0,0.38)); }
.hero-bg-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; filter: saturate(110%) contrast(110%); }
.hero-3d { position: absolute; inset: 0; z-index: 0; }
.hero-inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: var(--space-12); align-items: center; }
.hero-inner, .hero .display, .hero .lead, .hero .actions { position: relative; z-index: 1; }
.hero-anim { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.pulse { position: absolute; left: var(--x); top: var(--y); width: 10px; height: 10px; transform: translate(-50%,-50%); border-radius: 999px; background: rgba(255,255,255,0.9); box-shadow: 0 0 0 0 rgba(255,255,255,0.6); animation: pulseAnim 2.8s ease-out infinite; animation-delay: var(--d); }
@keyframes pulseAnim {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.6); opacity: 1; }
  70% { box-shadow: 0 0 0 24px rgba(255,255,255,0); opacity: .75; }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); opacity: 0; }
}
/* Force white text on image background */
.hero.hero-light.has-bg .display { color: #ffffff; text-shadow: 0 2px 18px rgba(0,0,0,0.45); }
.hero.hero-light.has-bg .lead { color: #f3f4f6; text-shadow: 0 1px 12px rgba(0,0,0,0.4); }
.hero.hero-light.has-bg .glass { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.38); }
.hero.hero-light.has-bg .hero-glass-row { color: #ffffff; font-weight: 600; }
.media-card { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--color-border); }
.shadow { box-shadow: var(--shadow-soft); }
.media-card img { width: 100%; height: auto; border-radius: 0; }
.media-card { position: relative; }
.explore-cta { position: absolute; bottom: 12px; right: 12px; height: 40px; padding: 0 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.08); background: rgba(0,0,0,0.55); color: #fff; font-weight: 600; cursor: pointer; backdrop-filter: blur(6px); }
.explore-cta:hover { background: rgba(0,0,0,0.7); }
.explore-cta-hero { position: relative; inset: unset; margin-top: 8px; border: 1px solid rgba(255,255,255,0.12); }

/* Premium palette overrides */
:root {
  --green: #1E8B63;
  --blue: #2A9DF4;
  --gold: #CFA34B;
  --white-soft: #F5F5F5;
}

/* Glass and gradient buttons */
.btn-gradient { background: linear-gradient(135deg, var(--green), var(--gold)); color: #0a0a0a; border: none; box-shadow: 0 14px 40px rgba(207,163,75,0.25); }
.btn-gradient:hover { filter: brightness(1.02); box-shadow: 0 18px 50px rgba(207,163,75,0.35); }
.glass { background: rgba(255,255,255,0.85); border: 1px solid rgba(0,0,0,0.06); border-radius: 16px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 10px 30px rgba(0,0,0,0.06); }
.hero-glass { margin-top: 16px; padding: 12px 14px; }
.hero-glass-row { display: flex; gap: 12px; color: var(--white-soft); font-size: 13px; opacity: 0.9; }

/* Sobre: dark + subtle texture and golden icons */
.about { background: radial-gradient(1200px 400px at 50% 120%, rgba(255,255,255,0.04), transparent 60%), var(--gray-875); }
.about .icon-item svg { stroke: var(--gold); }

/* Vantagens: blue-dark gradient + luminous icons */
.benefits { background: linear-gradient(180deg, #091512, #0b1822 60%, #0a1210); }
.benefits .card-icon { background: linear-gradient(135deg, rgba(30,139,99,0.18), rgba(207,163,75,0.18)); box-shadow: 0 10px 30px rgba(0,0,0,0.35); }
.benefits .card-icon svg { stroke: var(--gold); }

/* Galeria: green->blue gradient and gold hover */
.gallery { background: linear-gradient(135deg, rgba(30,139,99,0.22), rgba(42,157,244,0.2)); }
.gallery-item:hover { border-color: rgba(207,163,75,0.6); box-shadow: 0 18px 50px rgba(207,163,75,0.25); }
.gallery-item figcaption { color: var(--gray-400); background: var(--gray-875); }

/* CTA dourado: glass button */
.material-cta { background: linear-gradient(135deg, #cfa34b, #b88933); }
.material-cta .contrast { color: #0b0b0b; }
.material-cta .btn { background: rgba(255,255,255,0.14); color: #0b0b0b; border: 1px solid rgba(0,0,0,0.1); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.material-cta .btn:hover { background: rgba(255,255,255,0.18); }

/* Depoimentos: starry background + glass cards */
.testimonials { position: relative; background: #000; }
.testimonials::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(2px 2px at 20% 30%, rgba(255,255,255,0.25), transparent 60%), radial-gradient(1.5px 1.5px at 70% 60%, rgba(255,255,255,0.15), transparent 60%), radial-gradient(1px 1px at 40% 80%, rgba(255,255,255,0.12), transparent 60%); pointer-events: none; opacity: 0.7; }
.testimonial { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.person strong { color: var(--green); }

/* Formulário: glass inputs */
.contact { background: radial-gradient(1200px 400px at 50% 120%, rgba(255,255,255,0.04), transparent 60%), var(--gray-900); }
.contact-form { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.form-field input { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); color: var(--color-text); }
.form-field input:hover { background: rgba(255,255,255,0.08); }
.form-field input:focus { box-shadow: 0 0 0 3px rgba(207,163,75,0.22); border-color: rgba(207,163,75,0.6); }

/* Footer tweaks */
.site-footer { background: #000; }
.footer-links a, .footer-contact a { color: var(--gray-200); }

/* About */
.about { background: var(--gray-875); }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-12); align-items: center; }
.about .section-title, .about .body-text { color: var(--color-text); }
.about .icon-item { color: var(--color-text); }
.about .icon-item svg { stroke: var(--color-text); }
.about .icon-item { position: relative; }
.about .icon-item::after { content: ""; position: absolute; inset: -8px -10px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.06); opacity: 1; }
.about-icons { margin-top: var(--space-8); display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--space-6); }
.icon-item { display: flex; align-items: center; gap: var(--space-3); color: var(--color-text); font-weight: 600; }
.icon-item svg { width: 24px; height: 24px; stroke: var(--color-primary); }

/* Benefits */
.benefits { background: var(--gray-900); }
.cards-grid { margin-top: var(--space-10); display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
.card { background: var(--gray-875); border: 1px solid rgba(255,255,255,0.06); border-radius: var(--radius); padding: var(--space-8); box-shadow: 0 6px 18px rgba(0,0,0,0.35); color: var(--color-text); }
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 40px rgba(0,0,0,0.55); border-color: rgba(255,255,255,0.12); }
.card-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--gray-875); display: grid; place-items: center; margin-bottom: var(--space-4); border: 1px solid rgba(255,255,255,0.06); box-shadow: none; }
.card-icon svg { width: 22px; height: 22px; stroke: var(--color-text); }
.card h3 { margin: 0 0 var(--space-2); font-size: 18px; color: var(--color-text); }
.card p { margin: 0; color: var(--color-text-muted); }

/* Gallery */
.gallery { background: var(--gray-875); }
.gallery-grid { margin-top: var(--space-10); display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
.gallery-item { border-radius: var(--radius); overflow: hidden; background: var(--gray-875); border: 1px solid rgba(255,255,255,0.06); box-shadow: 0 6px 18px rgba(0,0,0,0.35); }
.gallery-item img { display: block; width: 100%; height: 240px; object-fit: cover; transition: transform var(--transition-slow), border-color var(--transition-fast); }
.gallery-item:hover { border-color: rgba(255,255,255,0.12); box-shadow: 0 14px 40px rgba(0,0,0,0.55); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery .section-title { color: var(--color-text); }
.gallery-item figcaption { padding: var(--space-4) var(--space-5); font-size: 14px; color: var(--gray-400); background: var(--gray-875); }

/* Testimonials */
.testimonials { background: var(--gray-900); }
.testimonials-grid { margin-top: var(--space-10); display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.testimonial { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--radius); padding: var(--space-8); box-shadow: var(--shadow-soft); position: relative; color: #ffffff; }
.quote-mark { position: absolute; top: 8px; left: 16px; font-size: 56px; color: var(--gray-600); font-weight: 800; pointer-events: none; opacity: 0.6; }
.testimonials .section-title { color: #ffffff; }
.person { margin-top: var(--space-6); display: flex; align-items: center; gap: var(--space-4); }
.person img { width: 44px; height: 44px; border-radius: 999px; object-fit: cover; border: 2px solid rgba(255,255,255,0.12); }
.person strong { display: block; font-size: 14px; color: #ffffff; }
.person span { display: block; font-size: 12px; color: #d1d5db; }

.material-cta { background: var(--gray-875); border-top: 1px solid rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.06); }
.material-inner { display: grid; grid-template-columns: 1fr auto; gap: var(--space-8); align-items: center; }
.material-cta .actions { justify-content: end; }
.contrast { color: var(--color-text); }

/* Contact */
.contact { background: var(--gray-900); }
.contact .section-title, .contact .body-text { color: var(--color-text); }
.contact-inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: var(--space-12); align-items: start; }
.contact-form { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--radius); padding: var(--space-8); box-shadow: 0 6px 18px rgba(0,0,0,0.35); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-6); margin-bottom: var(--space-6); }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label { font-size: 14px; color: var(--gray-400); }
.form-field input { height: 44px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.06); padding: 0 14px; font-size: 15px; background: rgba(255,255,255,0.06); color: var(--color-text); transition: border-color var(--transition-fast), box-shadow var(--transition-fast); }
.form-field input:hover { background: rgba(255,255,255,0.08); box-shadow: none; }
.form-field input:focus { border-color: rgba(255,255,255,0.12); box-shadow: 0 0 0 3px rgba(255,255,255,0.08); }
.form-feedback { margin-top: var(--space-4); font-size: 14px; color: var(--gray-400); }

/* Footer */
.site-footer { background: #000; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-inner { display: grid; grid-template-columns: 1fr auto auto; gap: var(--space-6); align-items: center; padding: var(--space-12) 0; }
.footer-brand { display: flex; align-items: center; gap: var(--space-3); color: #ffffff; }
.logo-mark, .logo-mark.small { box-shadow: inset 0 0 0 2px rgba(255,255,255,0.15); background: linear-gradient(135deg, var(--gray-800), var(--gray-700)); }
.footer-brand-text span { display: block; font-size: 12px; color: #d9e6f3; }
.footer-links, .footer-contact { display: flex; gap: var(--space-4); }
.footer-links a, .footer-contact a { color: var(--blue-light); opacity: 0.85; }
.footer-links a:hover, .footer-contact a:hover { text-decoration: underline; }

/* Reveal animations */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Section backgrounds transparent to show site gradient */
.section, .about, .benefits, .gallery, .testimonials, .contact, .material-cta, .site-footer { background: transparent; }
.section-title { color: #ffffff; }
.lead, .body-text { color: var(--color-text-muted); }

/* Cards/buttons keep contrast on dark background */
.card, .contact-form, .gallery-item, .testimonial { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); box-shadow: 0 10px 28px rgba(0,0,0,0.35); color: #ffffff; }
.card p, .testimonial .person span { color: #d1d5db; }

/* Buttons on dark bg */
.btn { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); color: #ffffff; box-shadow: 0 6px 18px rgba(0,0,0,0.35); }
.btn:hover { background: rgba(255,255,255,0.1); box-shadow: 0 10px 24px rgba(0,0,0,0.45); }
.btn-cta-yellow { background: var(--yellow); color: #0f1b2e; border: 1px solid rgba(0,0,0,0.06); box-shadow: 0 14px 40px rgba(243,166,77,0.25); }
.btn-cta-yellow:hover { filter: brightness(1.02); box-shadow: 0 18px 50px rgba(243,166,77,0.35); }

body, .site-footer { background-image: var(--color-bg); }
.testimonial, .card, .contact-form, .gallery-item { background: #ffffff; border: 1px solid var(--color-border); box-shadow: 0 6px 18px rgba(0,0,0,0.06); }
.testimonials::before { display: none; }
.contrast { color: var(--color-text) !important; }
.person strong { color: var(--green); }
.gallery-item:hover { border-color: #b7e1d1; box-shadow: 0 14px 40px rgba(30,139,99,0.14); }
.site-footer { border-top: 1px solid var(--color-border) !important; }

/* Lot Explorer */
.lot-explorer { position: fixed; inset: 0; display: none; z-index: 120; }
.lot-explorer[aria-hidden="false"] { display: block; }
.lot-explorer-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(6px); }
.lot-explorer-dialog { position: relative; display: grid; grid-template-columns: 2fr 1fr; gap: 0; width: min(1100px, 92vw); height: min(680px, 86vh); margin: 6vh auto; background: var(--gray-875); border: 1px solid rgba(255,255,255,0.06); border-radius: 16px; overflow: hidden; box-shadow: 0 40px 100px rgba(0,0,0,0.6); }
.lot-close { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 999px; background: var(--gray-850); color: var(--white); border: 1px solid rgba(255,255,255,0.06); cursor: pointer; }
.lot-stage { position: relative; background: radial-gradient(1200px 400px at 50% 120%, rgba(255,255,255,0.06), transparent 60%), var(--gray-900); display: grid; place-items: center; perspective: 1000px; }
.lot-plane { position: relative; width: 520px; height: 320px; transform-style: preserve-3d; transform: rotateX(60deg) rotateZ(0deg) translateZ(0); transition: transform 600ms cubic-bezier(.2,.6,.2,1); }
.lot { position: absolute; width: 120px; height: 70px; background: linear-gradient(180deg, var(--gray-850), var(--gray-800)); border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.45); transform: translate3d(var(--x,0px), var(--y,0px), 0) rotateZ(0deg); transform-style: preserve-3d; cursor: pointer; }
.lot::after { content: attr(data-lot); position: absolute; bottom: 8px; right: 10px; font-size: 12px; color: var(--gray-400); }
.lot:hover { border-color: rgba(255,255,255,0.18); box-shadow: 0 18px 50px rgba(0,0,0,0.6); }
.lot.selected { outline: 2px solid #fff; }
.lot-sidebar { background: var(--gray-875); padding: 20px; border-left: 1px solid rgba(255,255,255,0.06); display: flex; flex-direction: column; gap: 12px; }
.lot-sidebar h3 { margin: 0; color: var(--white); }
.lot-sidebar .muted { color: var(--gray-400); font-size: 14px; margin: 0 0 8px; }
.lot-info { flex: 1; border: 1px dashed rgba(255,255,255,0.12); border-radius: 12px; padding: 12px; display: grid; place-items: center; color: var(--gray-400); }
.lot-actions { display: flex; gap: 10px; justify-content: flex-end; }

@media (max-width: 1000px) {
  .lot-explorer-dialog { grid-template-columns: 1fr; height: min(86vh, 760px); }
  .lot-sidebar { border-left: none; border-top: 1px solid rgba(255,255,255,0.06); }
}

/* Responsividade */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .material-inner { grid-template-columns: 1fr; }
}

@media (max-width: 920px) {
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .section { padding: var(--space-16) 0; }
  .header-inner { height: 56px; }
  /* Mostrar navegação também no mobile para manter consistência */
  .site-header .site-nav { display: flex !important; gap: 8px; flex-wrap: wrap; justify-content: center; }
  .site-header .site-nav a { font-size: 13px; padding: 6px 10px; }
  .form-grid { grid-template-columns: 1fr; }
  .gallery-item img { height: 200px; }
}

/* Mobile refinements */
@media (max-width: 640px) {
  .hero { padding-top: var(--space-12); }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .actions { justify-content: center; }
  .display { font-size: clamp(28px, 8vw, 36px); }
  .lead { font-size: 16px; }
  .header-logo-opposite { height: 24px; }
  .container { padding: 0 var(--space-4); }
  /* Garantir nav visível em retrato também */
  .site-header .site-nav { display: flex !important; }
}

/* Unificar grid de cards/galeria no mobile em qualquer orientação */
@media (max-width: 820px) {
  .cards-grid { grid-template-columns: 1fr !important; }
  .gallery-grid { grid-template-columns: 1fr !important; }
}

/* Garantir consistência também em landscape de celulares maiores */
@media (orientation: landscape) and (max-width: 920px) {
  .site-nav { display: flex; gap: 10px; justify-content: center; }
  .cards-grid { grid-template-columns: 1fr !important; }
  .gallery-grid { grid-template-columns: 1fr !important; }
}

/* Mobile anti-shift overrides */
@media (max-width: 640px) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .container { padding: 0 16px !important; }
  .section { padding: 48px 0 !important; }
  .hero { padding-top: 40px !important; }
  .header-inner { height: 56px !important; }
}

/* Final overrides for dark blue gradient sitewide */
html, body { background: linear-gradient(180deg, #2C4D7B, #1A1A1A) !important; }
.hero { background: linear-gradient(180deg, #2C4D7B, #1A1A1A) !important; }
.hero::before, .hero::after { display: none !important; }
.section, main, header, footer, .about, .benefits, .gallery, .testimonials, .material-cta, .contact, .site-footer { background: transparent !important; }
.site-header { background: rgba(10,15,25,0.6) !important; border-bottom: 1px solid rgba(255,255,255,0.08) !important; }
.section-title { color: #ffffff !important; }
.lead, .body-text { color: #dbeafe !important; }
.card, .contact-form, .gallery-item, .testimonial { background: rgba(255,255,255,0.06) !important; border: 1px solid rgba(255,255,255,0.14) !important; color: #ffffff !important; }
.footer-links a, .footer-contact a { color: #4C9ED9 !important; }

/* Spacing and static sizing overrides */
:root {
  --section-desktop: 64px;
  --section-mobile: 48px;
}
.section { padding: var(--section-desktop) 0 !important; }
@media (max-width: 640px) { .section { padding: var(--section-mobile) 0 !important; } }

/* Lock hero text sizes to avoid dynamic resizing */
.display { font-size: 44px !important; line-height: 1.14 !important; }
.lead { font-size: 18px !important; }
@media (max-width: 640px) {
  .display { font-size: 32px !important; }
  .lead { font-size: 16px !important; }
}

/* Disable interactions that can shift layout */
.btn:active { transform: none !important; }
.card:hover, .gallery-item:hover { transform: none !important; }
@media (hover: none) {
  * { transition: none !important; }
  .card:hover, .gallery-item:hover, .btn:hover { transform: none !important; box-shadow: inherit !important; border-color: inherit !important; }
}

/* Consistent container padding on mobile */
@media (max-width: 640px) { .container { padding: 0 16px !important; } }

/* Android/Mobile stability */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
@media (max-width: 640px) {
  .site-header img, .header-logo-opposite { max-height: 24px !important; height: 24px !important; }
  .site-header { background: rgba(10,15,25,0.75) !important; }
}

/* One-line top nav on mobile with horizontal scroll */
@media (max-width: 600px) {
  .site-header .site-nav { display: flex !important; flex-wrap: nowrap !important; overflow-x: auto; -webkit-overflow-scrolling: touch; gap: 6px; justify-content: flex-start; }
  .site-header .site-nav::-webkit-scrollbar { display: none; }
  .site-header .site-nav { -ms-overflow-style: none; scrollbar-width: none; }
  .site-header .site-nav a { flex: 0 0 auto; white-space: nowrap; font-size: 12px; padding: 6px 8px; }
}

/* Mobile nav fit without horizontal scroll */
@media (max-width: 600px) {
  .site-header .site-nav { display: flex !important; flex-wrap: nowrap !important; overflow: hidden !important; gap: 6px; justify-content: center; }
  .site-header .site-nav a { font-size: 12px; padding: 4px 8px; }
  .nav-social { gap: 8px; margin-left: 8px; }
  .nav-icon { width: 22px; height: 22px; }
  .nav-icon svg { width: 13px; height: 13px; }
}
@media (max-width: 480px) {
  .site-header .site-nav a { font-size: 11px; padding: 4px 6px; }
  .nav-icon { width: 20px; height: 20px; }
  .nav-icon svg { width: 12px; height: 12px; }
}
@media (max-width: 360px) {
  /* Hide social icons on extra small screens to avoid wrapping */
  .nav-social { display: none !important; }
}

/* Nav social icons sizing to match logo/letters */
.nav-social { display: inline-flex; align-items: center; gap: 10px; margin-left: 12px; }
.nav-icon { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 6px; border: 1px solid rgba(255,255,255,0.14); color: #ffffff; background: rgba(255,255,255,0.06); vertical-align: middle; }
.nav-icon svg { width: 11px; height: 11px; }
@media (max-width: 640px) {
  .nav-social { gap: 8px; margin-left: 8px; }
  .nav-icon { width: 16px; height: 16px; }
  .nav-icon svg { width: 9px; height: 9px; }
}

