/* ==========================================================================
   RODRIGUES MORIÁ — Empreendimentos Imobiliários
   Design system: azul-marinho + dourado, editorial/corporativo
   ========================================================================== */

:root {
  /* Cores */
  --navy: #0A1628;
  --navy-secondary: #132040;
  --navy-deep: #071221;
  --gold: #C9A55A;
  --gold-dark: #9E7B35;
  --beige: #F5F0E8;
  --white: #FFFFFF;

  --navy-rgb: 10, 22, 40;
  --gold-rgb: 201, 165, 90;

  /* Tipografia */
  --font-title: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Montserrat", Arial, Helvetica, sans-serif;

  /* Layout */
  --container-max: 1180px;
  --section-pad-y: 100px;
  --section-pad-y-mobile: 72px;
  --radius-sm: 4px;
  --radius-md: 6px;

  /* Transições */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --transition-fast: 0.25s var(--ease);
  --transition-med: 0.45s var(--ease);
}

/* ==========================================================================
   Reset
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

body, h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd {
  margin: 0;
}

ul, ol { padding: 0; list-style: none; }

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

button { font: inherit; cursor: pointer; }

input, select, textarea { font: inherit; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--navy);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--gold);
  z-index: 300;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .scroll-progress { display: none; }
}

/* Foco visível para acessibilidade / navegação por teclado */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ==========================================================================
   Utilitários
   ========================================================================== */

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-pad-y) 0;
}

@media (max-width: 768px) {
  .section { padding: var(--section-pad-y-mobile) 0; }
}

.section--navy { background: var(--navy); color: var(--white); }
.section--navy-secondary { background: var(--navy-secondary); color: var(--white); }
.section--beige { background: var(--beige); color: var(--navy); }
.section--gold { background: var(--gold); color: var(--navy); }

.section-head {
  max-width: 640px;
  margin: 0 0 56px;
}

.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: clamp(30px, 3.6vw, 50px);
  line-height: 1.15;
  margin: 0 0 18px;
}

.section-title em {
  font-style: normal;
  color: var(--gold);
}

.section-desc {
  font-size: 16px;
  line-height: 1.75;
  opacity: 0.85;
  max-width: 560px;
}

.gold-rule {
  width: 64px;
  height: 2px;
  background: var(--gold);
  border: none;
  margin: 0 0 24px;
}

.gold-rule--center { margin-left: auto; margin-right: auto; }

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--navy);
  padding: 12px 20px;
  z-index: 1000;
  font-weight: 600;
  border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus {
  left: 0;
}

/* Botões
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 34px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: background var(--transition-fast), color var(--transition-fast),
    border-color var(--transition-fast), transform var(--transition-fast);
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  border-color: var(--gold);
  color: var(--white);
}

.btn-secondary:hover {
  background: rgba(var(--gold-rgb), 0.12);
}

.btn-secondary--on-light {
  color: var(--navy);
  border-color: var(--gold-dark);
}

.btn-secondary--on-light:hover {
  background: rgba(var(--gold-rgb), 0.14);
}

.btn-block { width: 100%; }

.btn-sm {
  padding: 10px 20px;
  font-size: 11px;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  background: transparent;
  transition: background var(--transition-med), padding var(--transition-med),
    box-shadow var(--transition-med);
}

.site-header.is-scrolled {
  background: rgba(var(--navy-rgb), 0.94);
  padding: 12px 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  backdrop-filter: blur(6px);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand img {
  height: 44px;
  width: auto;
  border-radius: var(--radius-sm);
  transition: height var(--transition-med);
}

.site-header.is-scrolled .brand img { height: 38px; }

.brand-text {
  display: none;
}

.main-nav {
  display: flex;
  gap: 40px;
}

.main-nav a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white);
  position: relative;
  padding: 6px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--transition-fast);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 16px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid rgba(var(--gold-rgb), 0.5);
  border-radius: var(--radius-sm);
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--gold);
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 160px 0 100px;
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg-video {
  position: absolute;
  top: -10%;
  left: 0;
  width: 100%;
  height: 120%;
  object-fit: cover;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7,18,33,0.72) 0%, rgba(10,22,40,0.82) 55%, rgba(7,18,33,0.94) 100%);
  z-index: 1;
}

.hero-corner {
  position: absolute;
  width: 90px;
  height: 90px;
  border: 1px solid rgba(var(--gold-rgb), 0.55);
  z-index: 2;
  opacity: 0.8;
}

.hero-corner--tl { top: 40px; left: 40px; border-right: 0; border-bottom: 0; }
.hero-corner--br { bottom: 40px; right: 40px; border-left: 0; border-top: 0; }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.hero-kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: clamp(38px, 6.2vw, 72px);
  line-height: 1.12;
  margin-bottom: 26px;
  text-wrap: balance;
}

.hero-title .accent { color: var(--gold); }

.hero-desc {
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255,255,255,0.88);
  max-width: 560px;
  margin: 0 auto 40px;
}

.hero-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================================================
   Indicadores de autoridade
   ========================================================================== */

.stats-bar {
  background: var(--navy);
  border-top: 1px solid rgba(var(--gold-rgb), 0.18);
}

.stats-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  text-align: center;
  padding: 40px 20px;
  position: relative;
}

.stat-item + .stat-item::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 40px;
  background: rgba(var(--gold-rgb), 0.3);
}

.stat-number {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(30px, 3vw, 42px);
  color: var(--gold);
  margin-bottom: 6px;
}

.stat-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}

@media (max-width: 768px) {
  .stats-bar .container { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(3)::before { display: none; }
}

/* ==========================================================================
   Sobre nós / Liderança (layout imagem + texto)
   ========================================================================== */

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  align-items: center;
}

.split--reverse { grid-template-columns: 1.15fr 0.85fr; }
.split--reverse .split-media { order: 2; }
.split--reverse .split-text { order: 1; }

.split-media {
  position: relative;
}

.split-media-frame {
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 2px solid var(--gold);
  border-radius: var(--radius-md);
  z-index: 0;
}

.split-media img {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-md);
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.media-tag {
  position: absolute;
  z-index: 2;
  bottom: -16px;
  left: 32px;
  background: var(--gold);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.split-text p {
  margin-bottom: 18px;
  line-height: 1.8;
}

.split-text p:last-of-type { margin-bottom: 28px; }

.quote-block {
  border-left: 2px solid var(--gold);
  padding-left: 24px;
  margin: 28px 0;
  font-family: var(--font-title);
  font-style: normal;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .split, .split--reverse {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .split--reverse .split-media, .split--reverse .split-text { order: initial; }
  .split-media { max-width: 420px; margin: 0 auto; }
}

/* ==========================================================================
   Diferenciais
   ========================================================================== */

.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.diff-card {
  border: 1px solid rgba(var(--gold-rgb), 0.35);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.diff-card:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
}

.diff-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  color: var(--gold);
}

.diff-icon svg { width: 100%; height: 100%; }

.diff-card h3 {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 24px;
  margin-bottom: 12px;
}

.diff-card p {
  font-size: 14.5px;
  line-height: 1.75;
  color: rgba(255,255,255,0.78);
}

@media (max-width: 900px) {
  .diff-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Serviços
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(var(--gold-rgb), 0.22);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
}

.service-index {
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: 18px;
}

.service-card h3 {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 21px;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.78);
}

@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Imóveis em destaque
   ========================================================================== */

.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.property-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(10,22,40,0.08);
  box-shadow: 0 12px 30px rgba(10,22,40,0.06);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.property-card.is-hidden { display: none; }

.property-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(10,22,40,0.12);
}

.property-media {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.property-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.property-card:hover .property-media img { transform: scale(1.06); }

.property-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--gold);
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
}

.property-body {
  padding: 26px 26px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.property-location {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 8px;
}

.property-name {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 24px;
  margin-bottom: 16px;
}

.property-specs {
  display: flex;
  gap: 18px;
  font-size: 13px;
  color: rgba(10,22,40,0.65);
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.property-specs span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.property-price {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 26px;
  color: var(--navy);
  margin-bottom: 22px;
}

.property-body .btn { margin-top: auto; }

.properties-footer {
  text-align: center;
  margin-top: 48px;
}

@media (max-width: 1024px) {
  .properties-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .properties-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Tela de detalhes do imóvel (modal)
   ========================================================================== */

.property-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.property-modal.is-open {
  display: flex;
}

.property-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 18, 33, 0.72);
  backdrop-filter: blur(3px);
}

.property-modal-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 620px;
  max-height: min(88vh, 780px);
  overflow-y: auto;
  background: var(--white);
  color: var(--navy);
  border-radius: var(--radius-md);
  box-shadow: 0 30px 70px rgba(7, 18, 33, 0.4);
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  transition: opacity var(--transition-med), transform var(--transition-med);
}

.property-modal.is-open .property-modal-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .property-modal-panel { transition: none; }
}

.property-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 22, 40, 0.55);
  color: var(--white);
  border: none;
  border-radius: 50%;
  transition: background var(--transition-fast);
}

.property-modal-close:hover { background: rgba(10, 22, 40, 0.8); }
.property-modal-close svg { width: 18px; height: 18px; }

.property-modal-media {
  position: relative;
  aspect-ratio: 16 / 10;
}

.property-modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-modal-thumbs {
  display: none;
  gap: 8px;
  padding: 12px 16px;
  overflow-x: auto;
  background: var(--navy-deep);
}

.property-modal-thumb {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  overflow: hidden;
  opacity: 0.55;
  transition: opacity var(--transition-fast), border-color var(--transition-fast);
}

.property-modal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.property-modal-thumb:hover { opacity: 0.85; }

.property-modal-thumb.is-active {
  opacity: 1;
  border-color: var(--gold);
}

.property-modal-body {
  padding: 32px 36px 36px;
}

.property-modal-name {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 30px;
  margin-bottom: 18px;
}

.property-modal-body .property-specs {
  border-top: 1px solid rgba(10, 22, 40, 0.1);
  border-bottom: 1px solid rgba(10, 22, 40, 0.1);
  padding: 16px 0;
  margin-bottom: 22px;
}

.property-modal-price {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 28px;
  margin-bottom: 22px;
}

.property-modal-desc {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(10, 22, 40, 0.78);
  margin-bottom: 30px;
  white-space: pre-line;
}

.property-modal-cta-block {
  background: var(--beige);
  border-radius: var(--radius-md);
  padding: 22px;
  text-align: center;
}

.property-modal-cta-label {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
  color: rgba(10, 22, 40, 0.75);
}

@media (max-width: 560px) {
  .property-modal { padding: 0; }
  .property-modal-panel {
    max-height: 100vh;
    height: 100%;
    border-radius: 0;
  }
  .property-modal-body { padding: 26px 22px 30px; }
  .property-modal-name { font-size: 24px; }
}

/* ==========================================================================
   Equipe (botões de contato usados dentro dos blocos de Liderança)
   ========================================================================== */

.team-contacts {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.team-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
  border: 1px solid rgba(var(--gold-rgb), 0.4);
  border-radius: var(--radius-sm);
  padding: 9px 16px;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.team-contact-btn:hover {
  border-color: var(--gold);
  background: rgba(var(--gold-rgb), 0.1);
}

.team-contact-btn svg { width: 15px; height: 15px; }

/* Variante pra quando os botões ficam sobre fundo claro (bege), como nos
   blocos de Liderança — texto branco ficaria ilegível ali. */
.team-contact-btn--on-light {
  color: var(--navy);
  border-color: var(--gold-dark);
}

.team-contact-btn--on-light:hover {
  background: rgba(var(--gold-rgb), 0.14);
}

/* ==========================================================================
   Quiz de qualificação
   ========================================================================== */

.quiz-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  color: var(--navy);
  border-radius: var(--radius-md);
  padding: 48px;
  box-shadow: 0 24px 60px rgba(7,18,33,0.18);
}

.quiz-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.quiz-progress-track {
  width: 100%;
  height: 4px;
  background: rgba(10,22,40,0.1);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 36px;
}

.quiz-progress-fill {
  height: 100%;
  background: var(--gold);
  width: 20%;
  transition: width var(--transition-med);
}

.quiz-question {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 26px;
  margin-bottom: 28px;
}

.quiz-options {
  display: grid;
  gap: 12px;
  margin-bottom: 36px;
}

.quiz-option {
  display: block;
  width: 100%;
  text-align: left;
  padding: 16px 20px;
  border: 1.5px solid rgba(10,22,40,0.14);
  border-radius: var(--radius-sm);
  background: transparent;
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.quiz-option:hover { border-color: var(--gold); }

.quiz-option.is-selected {
  border-color: var(--gold);
  background: rgba(var(--gold-rgb), 0.1);
  font-weight: 600;
}

.quiz-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.quiz-nav .btn:disabled {
  opacity: 0.35;
  pointer-events: none;
}

@media (max-width: 560px) {
  .quiz-card { padding: 32px 22px; }
  .quiz-question { font-size: 21px; }
}

/* ==========================================================================
   Formulário de contato
   ========================================================================== */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(var(--gold-rgb), 0.22);
  border-radius: var(--radius-md);
  padding: 40px;
}

.form-row { margin-bottom: 22px; }

.form-row label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 14.5px;
}

.form-row select option { color: var(--navy); }

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: rgba(255,255,255,0.4);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--gold);
  outline: none;
}

.form-row .field-error {
  display: none;
  color: #E7B4B4;
  font-size: 12px;
  margin-top: 6px;
}

.form-row.has-error input,
.form-row.has-error select {
  border-color: #E7B4B4;
}

.form-row.has-error .field-error { display: block; }

.form-note {
  font-size: 12px;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  margin-top: 18px;
}

.form-note strong { color: rgba(255,255,255,0.8); }

.contact-side h3 {
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 16px;
}

.contact-side p { color: rgba(255,255,255,0.78); margin-bottom: 28px; line-height: 1.75; }

.contact-info-list { display: grid; gap: 18px; }

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14.5px;
}

.contact-info-item svg {
  width: 20px; height: 20px;
  color: var(--gold);
  flex-shrink: 0;
}

.contact-map {
  margin-top: 28px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(var(--gold-rgb), 0.25);
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 260px;
  border: 0;
}

@media (max-width: 480px) {
  .contact-map iframe { height: 220px; }
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.form-success.is-visible { display: block; }
.contact-form.is-hidden { display: none; }

.form-success svg {
  width: 48px; height: 48px;
  color: var(--gold);
  margin: 0 auto 20px;
}

@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
}

/* ==========================================================================
   Depoimentos
   ========================================================================== */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(var(--gold-rgb), 0.2);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  position: relative;
}

.testimonial-quote-mark {
  font-family: var(--font-title);
  font-size: 64px;
  line-height: 1;
  color: var(--gold);
  opacity: 0.35;
  margin-bottom: 8px;
  display: block;
}

.testimonial-text {
  font-size: 14.5px;
  line-height: 1.8;
  color: rgba(255,255,255,0.85);
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-author img {
  width: 46px; height: 46px;
  border-radius: 50%;
}

.testimonial-author-name { font-weight: 600; font-size: 14px; }
.testimonial-author-role { font-size: 12px; color: rgba(255,255,255,0.6); }

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

/* ==========================================================================
   Chamada final
   ========================================================================== */

.final-cta {
  text-align: center;
}

.final-cta .section-title { color: var(--navy); }

.final-cta .section-desc {
  color: rgba(10,22,40,0.75);
  margin: 0 auto 36px;
}

.final-cta-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.final-cta-note {
  font-size: 13px;
  font-weight: 600;
  color: rgba(10,22,40,0.65);
}

/* ==========================================================================
   Rodapé
   ========================================================================== */

.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.75);
  padding: 80px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand img {
  height: 42px;
  margin-bottom: 18px;
  border-radius: var(--radius-sm);
}

.footer-brand p {
  font-size: 13.5px;
  line-height: 1.75;
  max-width: 260px;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer-col ul { display: grid; gap: 12px; }

.footer-col a, .footer-col li {
  font-size: 14px;
}

.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.5);
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ==========================================================================
   Botão flutuante do WhatsApp
   ========================================================================== */

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(0,0,0,0.28);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 32px rgba(0,0,0,0.32);
}

.whatsapp-float svg { width: 30px; height: 30px; color: var(--white); }

@media (max-width: 480px) {
  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
  }
}

/* ==========================================================================
   Navegação mobile
   ========================================================================== */

@media (max-width: 900px) {
  .nav-toggle { display: flex; }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(320px, 82vw);
    background: rgba(var(--navy-rgb), 0.98);
    backdrop-filter: blur(6px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 28px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform var(--transition-med);
    border-left: 1px solid rgba(var(--gold-rgb), 0.2);
  }

  .main-nav.is-open { transform: translateX(0); }

  .main-nav a { font-size: 16px; }

  .header-actions .btn-secondary.btn-header-cta {
    display: none;
  }
}

/* ==========================================================================
   Animações de entrada
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Fotos de imóveis e equipe: entram com um leve "zoom assentando" em vez
   de só aparecer — reforça a sensação editorial/premium do portfólio. */
.img-reveal {
  opacity: 0;
  transform: scale(1.12);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.img-reveal.is-visible {
  opacity: 1;
  transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .img-reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Responsivo — telas maiores (SOBRE/LIDERANÇA/ETC já cobertos acima)
   ========================================================================== */

@media (max-width: 1024px) {
  :root { --section-pad-y: 84px; }
}

@media (max-width: 480px) {
  .hero { min-height: 640px; padding-top: 130px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .final-cta-actions { flex-direction: column; align-items: stretch; }
  .final-cta-actions .btn { width: 100%; }
}
