/* ==========================================================================
   SUELEN MELO CHAMPION — CORRETORA DE IMÓVEIS • CRECI 37.907/PR
   Design System Autoral: Beges Claros, Laranja Suave e Marrom Profundo
   ========================================================================== */

/* --- 1. TOKENS & VARIÁVEIS CSS --- */
:root {
  /* Paleta Cromática Autoral da Cliente */
  --bg-canvas: #FAF6F0;
  /* Bege areia claríssimo e acolhedor */
  --bg-card: #FBF8F3;
  /* Marfim linho quente e nobre para cards e superfícies (sem branco puro) */
  --bg-surface: #F3ECE2;
  /* Bege intermediário para superfícies */
  --bg-elevated: #EADFD3;
  /* Bege nobre para elevações e cards */
  --bg-overlay: rgba(35, 24, 21, 0.68);
  /* Overlay escuro aquecido com marrom */

  --text-primary: #231815;
  /* Marrom expresso profundo (quase preto, contraste AA) */
  --text-secondary: #65564E;
  /* Marrom taupe elegante para leitura fluida */
  --text-muted: #8E7D73;
  /* Marrom suave para legendas e microcopy */
  --text-inverse: #FFFFFF;
  /* Branco puro sobre botões escuros/terracota */

  --accent-terracotta: #D46E38;
  /* Laranja suave / terracota sofisticado */
  --accent-terracotta-hover: #BF5A24;
  --accent-glow: rgba(212, 110, 56, 0.28);
  --accent-soft: rgba(212, 110, 56, 0.12);

  --gold-champagne: #B88B4A;
  /* Dourado champanhe sutil de arquitetura */
  --gold-glow: rgba(184, 139, 74, 0.22);

  --border-subtle: rgba(101, 86, 78, 0.14);
  --border-focus: #D46E38;

  /* Sombras e Profundidade */
  --shadow-sm: 0 4px 12px rgba(35, 24, 21, 0.04);
  --shadow-md: 0 12px 30px -8px rgba(35, 24, 21, 0.08);
  --shadow-lg: 0 24px 48px -12px rgba(35, 24, 21, 0.12);
  --shadow-modal: 0 32px 64px -16px rgba(15, 10, 8, 0.35);

  /* Tipografia */
  --font-display: 'Cormorant Garamond', Garamond, 'Times New Roman', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Raios de Borda */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  /* Transições Suaves */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --max-width: 1320px;
  --header-height: 72px;
  --header-height-mobile: 56px;
}

/* --- 2. RESET & BASE --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Canvas de Fundo Three.js */
#bg-canvas-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.65;
}

/* Imagens e Mídia */
img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Acessibilidade de Foco */
:focus-visible {
  outline: 2px solid var(--accent-terracotta);
  outline-offset: 3px;
}

/* Utilitário de Acessibilidade: Screen Readers Only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Container Global */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(20px, 4vw, 40px);
  padding-right: clamp(20px, 4vw, 40px);
  position: relative;
  z-index: 1;
}

/* --- 3. TIPOGRAFIA --- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  font-weight: 600;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

h3 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
}

p {
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  color: var(--text-secondary);
}

.text-gradient {
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--accent-terracotta) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- 4. BOTÕES & SHINY SWEEP GLOW --- */
.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background-color: var(--accent-terracotta);
  color: var(--text-inverse);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 16px 32px;
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 24px var(--accent-glow);
  overflow: hidden;
  transition: transform var(--transition-smooth), background-color var(--transition-fast), box-shadow var(--transition-smooth);
  text-decoration: none;
  z-index: 1;
}

/* Efeito Shiny Sweep Glow */
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 80%;
  height: 100%;
  background: linear-gradient(115deg,
      transparent 0%,
      rgba(255, 255, 255, 0.45) 50%,
      transparent 100%);
  transform: skewX(-20deg);
  transition: left 0.75s ease;
  pointer-events: none;
  z-index: 2;
}

.btn-primary:hover::before {
  left: 140%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background-color: var(--accent-terracotta-hover);
  box-shadow: 0 12px 32px var(--accent-glow);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--bg-surface);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 15px 30px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.btn-secondary:hover {
  background-color: var(--bg-elevated);
  border-color: var(--accent-terracotta);
  color: var(--accent-terracotta);
  transform: translateY(-2px);
}

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

/* --- 5. NAVBAR HEADER --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(250, 246, 240, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 100;
  transition: background-color var(--transition-fast), height var(--transition-fast), box-shadow var(--transition-fast);
}

.site-header.scrolled {
  background: rgba(250, 246, 240, 0.95);
  box-shadow: var(--shadow-sm);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-name {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  white-space: nowrap;
}

.creci-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent-terracotta);
  white-space: nowrap;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-terracotta);
  transition: width var(--transition-smooth);
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link:hover::after {
  width: 100%;
}

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

/* Mobile Toggle Hamburger */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  padding: 8px;
  border-radius: var(--radius-sm);
  background: rgba(35, 24, 21, 0.04);
}

.mobile-toggle span {
  width: 22px;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition-smooth), opacity var(--transition-fast);
}

.mobile-toggle span:not(:last-child) {
  margin-bottom: 5px;
}

/* Menu Mobile Overlay */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--bg-canvas);
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 24px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: visibility 0.3s, opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.mobile-drawer.open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  margin-bottom: 40px;
}

.mobile-nav-link {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-primary);
}

.mobile-nav-link:hover {
  color: var(--accent-terracotta);
}

/* --- 6. HERO SECTION --- */
.hero-section {
  position: relative;
  padding-top: calc(var(--header-height) + clamp(40px, 6vw, 80px));
  padding-bottom: clamp(60px, 8vw, 110px);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-terracotta);
  margin-bottom: 18px;
  display: inline-block;
}

.hero-title {
  margin-bottom: 22px;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-bottom: 44px;
}

.hero-stats-strip {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: clamp(20px, 4vw, 44px);
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number,
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label,
.stat-lbl {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* Visual do Hero / Foto da Suelen */
.hero-visual-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-aura {
  position: absolute;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(212, 110, 56, 0.22) 0%, rgba(184, 139, 74, 0.12) 50%, transparent 70%);
  filter: blur(60px);
  z-index: 1;
}

.hero-portrait-frame {
  position: relative;
  z-index: 2;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  width: 100%;
  max-width: 480px;
  aspect-ratio: 9 / 11;
}

.hero-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 5%;
  transition: transform 0.6s var(--ease-out);
}

.hero-portrait-frame:hover .hero-portrait-img {
  transform: scale(1.02);
}

/* Floating Card de Confiança */
.floating-hero-card {
  position: absolute;
  bottom: 24px;
  left: -20px;
  z-index: 3;
  background: var(--bg-surface);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 14px;
  animation: floatCard 4s ease-in-out infinite alternate;
}

.hero-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-terracotta);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card-text strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.hero-card-text span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* --- 7. SEÇÃO DE EMPREENDIMENTOS (VITRINE) --- */
.section-properties {
  position: relative;
  padding: clamp(60px, 8vw, 110px) 0;
  background: linear-gradient(180deg, transparent 0%, rgba(243, 236, 226, 0.4) 50%, transparent 100%);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(36px, 5vw, 60px);
}

.section-title {
  margin-bottom: 16px;
}

/* Grid de Empreendimentos */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: clamp(24px, 3vw, 36px);
}

.property-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-fast);
}

.property-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(212, 110, 56, 0.3);
}

.card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--bg-surface);
}

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

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

.card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-developer {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-terracotta);
  margin-bottom: 6px;
}

.card-title {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.card-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.card-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 20px;
  flex-grow: 1;
}

.card-specs-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 14px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 20px;
}

.spec-mini-item {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.spec-mini-item strong {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}

.btn-card-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--bg-surface);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
}

.btn-card-open:hover {
  background: var(--accent-terracotta);
  color: #ffffff;
}

.btn-card-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-terracotta);
  transition: all var(--transition-fast);
}

.btn-card-whatsapp:hover {
  background: var(--accent-terracotta);
  color: #ffffff;
  transform: scale(1.06);
}

/* --- 8. MODAL DE DETALHES DO EMPREENDIMENTO --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--bg-overlay);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease-out), visibility 0.3s;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: var(--bg-card);
  width: 100%;
  max-width: 960px;
  max-height: 90vh;
  border-radius: var(--radius-xl);
  overflow-y: auto;
  box-shadow: var(--shadow-modal);
  border: 1px solid var(--border-subtle);
  position: relative;
  transform: scale(0.96) translateY(12px);
  transition: transform 0.35s var(--ease-out);
}

.modal-overlay.open .modal-container {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(35, 24, 21, 0.08);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--accent-terracotta);
  color: #ffffff;
  transform: rotate(90deg);
}

/* Galeria do Modal */
.modal-gallery {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0e0d0c;
  overflow: hidden;
  user-select: none;
  touch-action: pan-y pinch-zoom;
}

.gallery-slider {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.gallery-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
  background: #141311;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.gallery-slide.loading::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(110deg, #181715 8%, #242220 18%, #181715 33%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.5s linear infinite;
  z-index: 1;
}

@keyframes skeletonShimmer {
  to {
    background-position: -200% 0;
  }
}

.gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(35, 24, 21, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: all var(--transition-fast);
}

.gallery-nav-btn:hover {
  background: var(--accent-terracotta);
}

.nav-prev {
  left: 16px;
}

.nav-next {
  right: 16px;
}

.gallery-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 6;
  background: rgba(14, 13, 12, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(243, 236, 226, 0.45);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s ease;
}

.gallery-dot:hover {
  background: rgba(243, 236, 226, 0.85);
}

.gallery-dot.active {
  background: var(--accent-terracotta);
  width: 22px;
  border-radius: 4px;
}

.gallery-counter {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(35, 24, 21, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  z-index: 5;
}

/* Corpo do Modal */
.modal-content-body {
  padding: clamp(24px, 4vw, 40px);
}

.modal-header-info {
  margin-bottom: 24px;
}

.modal-dev-tag {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-terracotta);
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.modal-title {
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  margin-bottom: 8px;
}

.modal-loc {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.modal-brief {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 28px;
  color: var(--text-secondary);
}

/* Ficha Técnica */
.modal-specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  background: var(--bg-canvas);
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  margin-bottom: 28px;
}

.spec-block-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

.spec-block-val {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* Destaques Oficiais */
.modal-details-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.modal-details-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.modal-details-list li::before {
  content: '✓';
  color: var(--accent-terracotta);
  font-weight: 800;
}

/* Bloco de Ação Direta no WhatsApp */
.modal-cta-box {
  background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-elevated) 100%);
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(212, 110, 56, 0.2);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cta-box-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.ready-msg-preview {
  background: var(--bg-surface);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--text-secondary);
  border: 1px dashed var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.btn-copy-msg {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-terracotta);
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: 4px;
  background: var(--accent-soft);
  transition: all var(--transition-fast);
}

.btn-copy-msg:hover {
  background: var(--accent-terracotta);
  color: #ffffff;
}

/* --- 8b. SEÇÃO MORIALLE IMÓVEIS (PORTFÓLIO COMPLETO) --- */
.section-morialle {
  position: relative;
  padding: clamp(60px, 8vw, 100px) 0;
  background: linear-gradient(180deg, rgba(243, 236, 226, 0.45) 0%, rgba(234, 223, 211, 0.35) 100%);
}

.morialle-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: clamp(32px, 5vw, 56px);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
  position: relative;
  overflow: hidden;
}

.morialle-content {
  max-width: 680px;
}

.morialle-eyebrow {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-terracotta);
  margin-bottom: 14px;
}

.morialle-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.18;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.morialle-desc {
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.morialle-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-bottom: 28px;
}

.morialle-pill {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  padding: 0;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.morialle-pill svg {
  color: var(--accent-terracotta);
  flex-shrink: 0;
}

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

.morialle-side-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px 32px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  min-width: 220px;
}

.morialle-typo-brand {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 4px;
}

.morialle-typo-sub {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--accent-terracotta);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.morialle-side-info {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}

@media (max-width: 900px) {
  .morialle-card {
    grid-template-columns: 1fr;
    padding: 28px 20px;
  }

  .morialle-side-visual {
    width: 100%;
    margin-top: 8px;
  }

  .morialle-actions .btn-primary {
    width: 100%;
    justify-content: center;
  }
}

/* --- 9. SEÇÃO SOBRE SUELEN --- */
.section-about {
  position: relative;
  padding: clamp(60px, 8vw, 110px) 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}

.about-portrait-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
}

.about-portrait-img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.about-badge-ribbon {
  position: static;
  background: var(--bg-elevated);
  padding: 16px 22px;
  border-radius: 0;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.about-badge-ribbon strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.about-badge-ribbon span {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.about-badge-ribbon a {
  color: var(--accent-terracotta);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast);
}

.about-badge-ribbon a:hover {
  transform: scale(1.1);
}

.about-text-content {
  display: flex;
  flex-direction: column;
}

.about-lead {
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  color: var(--text-primary);
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.45;
}

.about-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.credentials-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}

.credential-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.cred-icon {
  color: var(--accent-terracotta);
}

.cred-info strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.cred-info span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* --- 10. SEÇÃO DE ATENDIMENTO 24H --- */
.section-services {
  padding: clamp(50px, 7vw, 90px) 0;
  background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-canvas) 100%);
}

.services-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.service-box {
  background: var(--bg-card);
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.service-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--accent-soft);
  color: var(--accent-terracotta);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-box h4 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.service-box p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- 11. FAQ ACCORDION --- */
.section-faq {
  padding: clamp(60px, 8vw, 100px) 0;
}

.faq-container-inner {
  max-width: 820px;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.faq-item.active {
  border-color: rgba(212, 110, 56, 0.35);
  box-shadow: var(--shadow-sm);
}

.faq-question-btn {
  width: 100%;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
}

.faq-chevron {
  width: 20px;
  height: 20px;
  color: var(--accent-terracotta);
  transition: transform 0.3s var(--ease-out);
  flex-shrink: 0;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer-collapse {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease-out);
}

.faq-item.active .faq-answer-collapse {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  overflow: hidden;
  padding: 0 24px;
}

.faq-answer-inner p {
  padding-bottom: 22px;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* --- 12. RODAPÉ INSTITUCIONAL --- */
.site-footer {
  background: #1E1512;
  color: #ffffff;
  padding: clamp(60px, 8vw, 90px) 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: clamp(32px, 5vw, 60px);
  margin-bottom: 50px;
}

.footer-brand h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: #ffffff;
  margin-bottom: 12px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 360px;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.footer-creci-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--accent-terracotta);
}

.footer-col h5 {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-terracotta);
  margin-bottom: 20px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-list a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

.footer-links-list a:hover {
  color: #ffffff;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

.footer-bottom-bar {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

/* --- 13. RESPONSIVIDADE & MOBILE-FIRST --- */
@keyframes floatCard {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-8px);
  }
}

/* Telas Médias (Tablets <= 1024px) */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-visual-wrapper {
    order: -1;
    max-width: 440px;
    margin: 0 auto;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-portrait-card {
    max-width: 460px;
    margin: 0 auto;
  }

  .services-cards-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* Telas Pequenas (Mobile <= 768px) */
@media (max-width: 768px) {
  .site-header {
    height: var(--header-height-mobile);
  }

  .nav-desktop {
    display: none !important;
  }

  .mobile-toggle {
    display: flex;
  }

  /* Recomposição Elegante da Hero no Mobile */
  .hero-section {
    padding-top: calc(var(--header-height-mobile) + 20px);
    padding-bottom: 44px;
  }

  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .hero-eyebrow {
    margin-bottom: 12px;
    font-size: 0.78rem;
  }

  .hero-title {
    font-size: clamp(1.85rem, 6.5vw, 2.35rem);
    line-height: 1.15;
    margin-bottom: 12px;
    letter-spacing: -0.015em;
  }

  .hero-subtitle {
    font-size: 0.98rem;
    line-height: 1.55;
    margin-bottom: 22px;
    max-width: 100%;
  }

  /* CTAs alcançáveis imediatamente na primeira dobra */
  .hero-cta-group {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 12px;
    margin-bottom: 24px;
  }

  .hero-cta-group .btn-primary,
  .hero-cta-group .btn-secondary {
    width: 100%;
    padding: 15px 20px;
    font-size: 0.95rem;
    text-align: center;
    justify-content: center;
  }

  /* Foto da Suelen com enquadramento perfeito (sem corte no rosto) */
  .hero-visual-wrapper {
    order: 0;
    width: 100%;
    max-width: 300px;
    margin: 0 auto 16px auto;
  }

  .hero-portrait-frame {
    width: 100%;
    aspect-ratio: 9 / 11;
    max-height: 360px;
    border-radius: 20px;
    box-shadow: 0 16px 36px rgba(35, 24, 21, 0.12);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-subtle);
    background: var(--bg-surface);
  }

  .hero-portrait-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 5%;
    /* Foco no rosto e olhar, nunca corta cabeça */
  }

  /* Limite de altura em telas baixas e celular na horizontal para não empurrar CTA */
  @media (max-height: 700px) and (orientation: landscape),
  (max-height: 640px) {
    .hero-portrait-frame {
      max-height: 240px;
    }
  }

  .floating-hero-card {
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    max-width: calc(100% - 24px);
    padding: 10px 16px;
    border-radius: 14px;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    box-shadow: 0 8px 24px rgba(35, 24, 21, 0.12);
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
  }

  /* Informação de credibilidade em 3 colunas horizontais limpas com divisores */
  .hero-stats-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 16px 10px;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(35, 24, 21, 0.04);
    text-align: center;
    width: 100%;
    border-top: none;
    margin-top: 4px;
  }

  .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 2px 4px;
  }

  .stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -4px;
    top: 15%;
    height: 70%;
    width: 1px;
    background: rgba(35, 24, 21, 0.1);
  }

  .stat-num,
  .stat-number {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--accent-terracotta);
    line-height: 1.1;
    margin-bottom: 2px;
  }

  .stat-lbl,
  .stat-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-secondary);
    line-height: 1.25;
    letter-spacing: -0.01em;
  }

  .properties-grid {
    grid-template-columns: 1fr;
  }

  .credentials-list {
    grid-template-columns: 1fr;
  }

  .card-actions {
    grid-template-columns: 1fr;
  }

  .btn-card-whatsapp {
    width: 100%;
    height: 44px;
    border-radius: var(--radius-pill);
    gap: 8px;
  }

  .btn-card-whatsapp::after {
    content: 'Falar no WhatsApp';
    font-size: 0.88rem;
    font-weight: 600;
  }

  .modal-container {
    max-height: 94vh;
    border-radius: var(--radius-lg);
  }

  .modal-specs-grid {
    grid-template-columns: 1fr;
  }
}

/* Dispositivos Ultra Compactos (<= 430px) */
@media (max-width: 430px) {
  .site-header {
    height: 56px;
  }

  .brand-name {
    font-size: 1.05rem;
  }

  .creci-tag {
    font-size: 0.65rem;
    padding: 2px 6px;
  }

  .hero-title {
    font-size: clamp(1.68rem, 6.8vw, 1.95rem);
  }

  .hero-visual-wrapper {
    max-width: 290px;
  }

  .stat-num,
  .stat-number {
    font-size: 1.3rem;
  }

  .stat-lbl,
  .stat-label {
    font-size: 0.68rem;
  }

  .btn-primary {
    width: 100%;
    padding: 14px 18px;
    font-size: 0.9rem;
  }

  .btn-secondary {
    width: 100%;
    padding: 13px 18px;
    font-size: 0.9rem;
  }
}

/* --- 14. BOTÃO FLUTUANTE DE WHATSAPP (ELEGANTE & INTEGRADO) --- */
.floating-whatsapp-btn {
  position: fixed;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  right: calc(24px + env(safe-area-inset-right, 0px));
  width: 52px;
  height: 52px;
  min-width: 48px;
  min-height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #D46E38 0%, #B85524 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(184, 85, 36, 0.28), 0 2px 5px rgba(35, 24, 21, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  z-index: 90;
  text-decoration: none;
  overflow: hidden;
  touch-action: manipulation;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, opacity 0.2s ease, visibility 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

/* Sweep de brilho discreto — CAMADA INFERIOR AO ÍCONE */
.floating-whatsapp-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 60%;
  height: 100%;
  background: linear-gradient(115deg,
      transparent 0%,
      rgba(255, 255, 255, 0.2) 50%,
      transparent 100%);
  transform: skewX(-25deg);
  pointer-events: none;
  z-index: 1;
  /* Estritamente abaixo do ícone */
  animation: waSweepGlow 6s ease-in-out infinite;
}

@keyframes waSweepGlow {

  0%,
  80% {
    left: -150%;
  }

  100% {
    left: 180%;
  }
}

/* Ícone do WhatsApp sempre na camada superior, limpo e legível */
.wa-float-icon {
  position: relative;
  z-index: 2;
  /* Estritamente acima do brilho */
  width: 26px;
  height: 26px;
  fill: #FFFFFF;
  pointer-events: none;
  transition: transform 0.2s ease;
}

/* Hover exclusivo para ponteiro fino / desktop — sem hover residual no mobile */
@media (hover: hover) and (pointer: fine) {
  .floating-whatsapp-btn:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 8px 20px rgba(184, 85, 36, 0.38), 0 3px 8px rgba(35, 24, 21, 0.16);
    color: #FFFFFF;
  }

  .floating-whatsapp-btn:hover::before {
    animation: none;
    left: 180%;
    transition: left 0.5s ease;
  }
}

/* Feedback de pressão imediato ao toque */
.floating-whatsapp-btn:active {
  transform: scale(0.94);
  box-shadow: 0 2px 8px rgba(184, 85, 36, 0.22);
  transition-duration: 0.08s;
}

/* Foco visível para navegação por teclado */
.floating-whatsapp-btn:focus-visible {
  outline: 2px solid var(--accent-terracotta);
  outline-offset: 3px;
}

/* Ocultar quando o modal ou o drawer mobile estiverem abertos */
body.modal-open .floating-whatsapp-btn,
body.drawer-open .floating-whatsapp-btn,
.floating-whatsapp-btn.hidden-by-modal {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: scale(0.8) translateY(12px) !important;
}

/* Ajuste mobile: área de toque de 50px (acima dos 48px mínimos da WCAG) e safe area */
@media (max-width: 480px) {
  .floating-whatsapp-btn {
    width: 50px;
    height: 50px;
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    right: calc(20px + env(safe-area-inset-right, 0px));
    box-shadow: 0 4px 12px rgba(184, 85, 36, 0.28), 0 2px 4px rgba(35, 24, 21, 0.1);
  }

  .wa-float-icon {
    width: 25px;
    height: 25px;
  }
}

/* Redução de Movimento */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .btn-primary::before,
  .floating-whatsapp-btn::before {
    display: none !important;
    animation: none !important;
  }

  .floating-whatsapp-btn {
    transition: none !important;
  }
}