/* ==========================================================================
   RIVIERA INSIDE — FABIO FERREIRA
   Design System & Luxury Stylesheet (Updated with Compact Spacing & Blur Effects)
   Palette: #0A1E25 (Dark Luxury Oceanic) | #F0BD84 (Warm Champagne Gold)
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-primary: #0A1E25;
  --bg-secondary: #0E262F;
  --bg-card: rgba(14, 38, 47, 0.72);
  --bg-glass: rgba(14, 38, 47, 0.6);
  --bg-glass-heavy: rgba(10, 30, 37, 0.9);
  --bg-glass-light: rgba(255, 255, 255, 0.05);
  
  /* Brand Accents */
  --gold-primary: #F0BD84;
  --gold-light: #F7D4AB;
  --gold-dark: #C6945B;
  --gold-glow: rgba(240, 189, 132, 0.3);
  --gold-border: rgba(240, 189, 132, 0.2);
  --gold-border-focus: rgba(240, 189, 132, 0.6);

  /* Neutrals & Texts */
  --text-white: #FFFFFF;
  --text-muted: rgba(255, 255, 255, 0.76);
  --text-dim: rgba(255, 255, 255, 0.5);
  --border-light: rgba(255, 255, 255, 0.08);

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Shadows & Glass */
  --glass-border: 1px solid rgba(240, 189, 132, 0.16);
  --glass-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.6);
  --glass-shadow-hover: 0 24px 50px -8px rgba(0, 0, 0, 0.75), 0 0 25px rgba(240, 189, 132, 0.15);
  
  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-white);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-primary);
  background-image: 
    radial-gradient(circle at 15% 10%, rgba(240, 189, 132, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 85% 25%, rgba(26, 68, 83, 0.45) 0%, transparent 50%),
    radial-gradient(circle at 20% 65%, rgba(240, 189, 132, 0.06) 0%, transparent 45%),
    radial-gradient(circle at 80% 85%, rgba(18, 52, 64, 0.55) 0%, transparent 50%);
  background-attachment: fixed;
  overflow-x: hidden;
  line-height: 1.6;
  position: relative;
}

/* Ambient Floating Blur Glows */
.ambient-glow-orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
  opacity: 0.35;
  transition: transform 0.6s ease-out;
}

.orb-1 {
  top: 15%;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(240, 189, 132, 0.25) 0%, transparent 70%);
}

.orb-2 {
  top: 60%;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(14, 62, 77, 0.6) 0%, transparent 70%);
}

/* Top Scroll Progress Bar */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #C6945B, #F0BD84, #FFF);
  width: 0%;
  z-index: 9999;
  transition: width 0.1s ease-out;
  box-shadow: 0 0 10px rgba(240, 189, 132, 0.8);
}

::selection {
  background-color: var(--gold-primary);
  color: var(--bg-primary);
}

/* Container */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}

/* Typography Helpers */
.text-gold {
  color: var(--gold-primary);
}

.gold-gradient-text {
  background: linear-gradient(135deg, #FFFFFF 20%, var(--gold-primary) 70%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.font-serif {
  font-family: var(--font-serif);
}

/* Glassmorphic Surfaces with Scroll Blur Depth */
.glass-card {
  background: var(--bg-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 16px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240, 189, 132, 0.4), transparent);
  pointer-events: none;
}

.glass-card:hover {
  border-color: rgba(240, 189, 132, 0.38);
  box-shadow: var(--glass-shadow-hover);
  transform: translateY(-4px);
}

.glass-pill {
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  color: var(--gold-primary);
  padding: 0 !important;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Luxury Images & Simulated Real Estate Cards */
.img-wrap-luxury {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #07161c;
}

.img-wrap-luxury img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
  filter: brightness(0.92) contrast(1.05);
}

.glass-card:hover .img-wrap-luxury img {
  transform: scale(1.05);
  filter: brightness(1) contrast(1.1);
}

.img-overlay-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 30, 37, 0.85) 100%);
  pointer-events: none;
}

.img-badge-top {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 3;
}

/* Fabio Ferreira Simulated Portrait Card */
.fabio-portrait-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  padding: 1.75rem;
  border-radius: 20px;
  margin-bottom: 2rem;
  align-items: center;
  background: linear-gradient(135deg, rgba(16, 46, 56, 0.75), rgba(9, 27, 33, 0.85));
}

.fabio-photo-frame {
  position: relative;
  border: none !important;
  background: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: visible;
}

.fabio-photo-frame::before {
  display: none !important;
}

.fabio-photo-frame img {
  width: 100%;
  max-width: 440px;
  height: auto;
  object-fit: contain;
  position: relative;
  z-index: 2;
  transform: scaleX(-1);
  transition: none !important;
  animation: none !important;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.65));
}

.fabio-badges-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.fabio-badge-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.6rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(240, 189, 132, 0.15);
  font-size: 0.88rem;
  color: var(--text-white);
}

.fabio-badge-item svg {
  color: var(--gold-primary);
  flex-shrink: 0;
}

/* Buttons */
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #F0BD84 0%, #E2A664 100%);
  color: #07161C;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.95rem 2.2rem;
  border-radius: 12px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: var(--transition-smooth);
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
}

.btn-gold::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.5) 50%, transparent 60%);
  transform: rotate(30deg) translate(-100%, -100%);
  transition: transform 0.8s ease;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  color: #050F13;
}

.btn-gold:hover::after {
  transform: rotate(30deg) translate(100%, 100%);
}

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

.btn-gold-sm {
  padding: 0.6rem 1.3rem;
  font-size: 0.85rem;
  border-radius: 8px;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-white);
  border: 1px solid rgba(240, 189, 132, 0.3);
  backdrop-filter: blur(10px);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.8rem 1.6rem;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-outline:hover {
  background: rgba(240, 189, 132, 0.12);
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  transform: translateY(-2px);
}

/* Green WhatsApp Button (sem brilho externo - fonte preta) */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #25D366 0%, #1ebe57 100%);
  color: #000000 !important;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 1rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: var(--transition-smooth);
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
}

.btn-whatsapp::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.4) 50%, transparent 60%);
  transform: rotate(30deg) translate(-100%, -100%);
  transition: transform 0.8s ease;
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  color: #000000 !important;
  background: linear-gradient(135deg, #2ae06d 0%, #20c55d 100%);
}

.btn-whatsapp:hover::after {
  transform: rotate(30deg) translate(100%, 100%);
}

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

.btn-whatsapp svg {
  flex-shrink: 0;
  fill: #FFFFFF !important;
  color: #FFFFFF !important;
}

/* Microtext under CTA */
.cta-microtext {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cta-microtext svg {
  color: var(--gold-primary);
  flex-shrink: 0;
}

/* Navigation Bar (Glassmorphism) */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0.85rem 0;
  transition: var(--transition-smooth);
  background: rgba(10, 30, 37, 0.65);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
}

.navbar.scrolled {
  padding: 0.65rem 0;
  background: rgba(7, 21, 26, 0.82);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border-bottom: 1px solid rgba(240, 189, 132, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.nav-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
}

.nav-brand-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-white);
  line-height: 1.2;
}

.nav-brand-sub {
  font-size: 0.72rem;
  color: var(--gold-primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Section Header Styles - Compact */
.section-tag {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold-primary);
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  line-height: 1.2;
  font-weight: 600;
  margin-bottom: 0.95rem;
  color: var(--text-white);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 720px;
}

/* ==========================================================================
   COMPACT SECTIONS (Reduced Spacing)
   ========================================================================== */

/* 1 — Hero / Abertura */
/* 1 — Hero / Abertura */
.hero-section {
  min-height: auto;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  padding-bottom: 2.2rem;
  position: relative;
  overflow: hidden;
}

/* Background Imóvel 10% Opacidade com Máscara à Esquerda */
.hero-bg-property {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../img/fundo-5transparente.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.10;
  pointer-events: none;
  z-index: 1;
}

.hero-bg-mask {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(10, 30, 37, 0.98) 0%, rgba(10, 30, 37, 0.88) 45%, rgba(10, 30, 37, 0.15) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1.05fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

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

.hero-badge-wrap {
  margin-bottom: 1.2rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.14;
  font-weight: 600;
  margin-bottom: 1.2rem;
}

.hero-title em {
  font-style: normal;
  color: var(--gold-primary);
  position: relative;
}

.hero-subheadline {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  max-width: 620px;
}

.hero-cta-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

/* Hero Visual / Expert & Illumination */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}

/* Hero Image with strong ambient illumination */
.hero-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  z-index: 2;
}

.hero-image-wrap::before {
  content: '';
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 110%;
  height: 110%;
  background: radial-gradient(circle, rgba(240, 189, 132, 0.22) 0%, rgba(20, 75, 92, 0.25) 50%, transparent 70%);
  filter: blur(40px);
  z-index: 1;
  pointer-events: none;
}

.hero-image {
  width: 108%;
  max-width: 108%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.75));
  position: relative;
  z-index: 2;
  transform: translateY(-65px);
  margin-bottom: -65px;
  transition: none;
}

.hero-image-wrap:hover .hero-image {
  transform: translateY(-65px);
}

/* Retângulo de Autoridade sobrepondo à frente da base da foto do expert */
.hero-expert-card {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 100%;
  max-width: 100%;
  padding: 0.9rem 1.4rem;
  background: rgba(14, 38, 47, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(240, 189, 132, 0.28);
  border-radius: 14px;
  position: relative;
  z-index: 5;
  margin-top: -3.8rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55);
}

.hero-expert-item {
  text-align: center;
  flex: 1;
}

.hero-expert-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold-primary);
  line-height: 1.2;
}

.hero-expert-txt {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 0.15rem;
}

.hero-expert-sep {
  width: 1px;
  height: 28px;
  background: rgba(240, 189, 132, 0.2);
  flex-shrink: 0;
}

.hero-preview-card {
  padding: 1.75rem;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(16, 46, 56, 0.82), rgba(9, 27, 33, 0.92));
  border: 1px solid rgba(240, 189, 132, 0.25);
  box-shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.7);
  position: relative;
}

.hero-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(240, 189, 132, 0.12);
}

.hero-preview-title {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-primary);
  box-shadow: 0 0 10px var(--gold-primary);
  animation: pulseAnim 2s infinite;
}

@keyframes pulseAnim {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.4; }
}

.map-modules-visual {
  position: relative;
  background: rgba(5, 17, 21, 0.6);
  border-radius: 12px;
  padding: 1.25rem;
  border: 1px dashed rgba(240, 189, 132, 0.2);
  margin-bottom: 1.25rem;
}

.modules-grid-mini {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.module-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 0.45rem 0.2rem;
  text-align: center;
  border-radius: 6px;
  font-size: 0.7rem;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.module-chip.active {
  background: rgba(240, 189, 132, 0.16);
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  font-weight: 700;
  box-shadow: 0 0 10px rgba(240, 189, 132, 0.2);
}

.hero-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  text-align: center;
}

.hero-stat-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.75rem 0.4rem;
  border-radius: 8px;
}

.hero-stat-num {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--gold-primary);
  font-weight: 700;
  display: block;
}

.hero-stat-label {
  font-size: 0.68rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* 2 — Quem é Fabio Ferreira (Compact: 3.25rem) */
.section-about {
  padding: 3.25rem 0;
  position: relative;
}

.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.25rem;
  align-items: flex-start;
}

.about-lead-p {
  font-size: 1.12rem;
  color: var(--text-white);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.about-sub-p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.about-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.about-card {
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.about-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(240, 189, 132, 0.12);
  border: 1px solid rgba(240, 189, 132, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  margin-bottom: 1.2rem;
}

.about-card-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--text-white);
  margin-bottom: 0.7rem;
  font-weight: 600;
}

.about-card-desc {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.62;
}

/* 3 — O que trava a busca (Compact: 3.25rem) */
.section-friction {
  padding: 3.25rem 0;
  background: linear-gradient(180deg, transparent 0%, rgba(7, 21, 26, 0.5) 50%, transparent 100%);
}

.friction-box {
  padding: 2.5rem;
  border-radius: 20px;
}

.friction-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
  margin: 1.75rem 0 2rem;
}

.friction-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.95rem 1.1rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-smooth);
}

.friction-item:hover {
  background: rgba(240, 189, 132, 0.06);
  border-color: rgba(240, 189, 132, 0.25);
}

.friction-icon {
  color: var(--gold-primary);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.friction-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.friction-conclusion {
  text-align: center;
  padding: 1.5rem;
  background: rgba(240, 189, 132, 0.06);
  border: 1px solid rgba(240, 189, 132, 0.25);
  border-radius: 14px;
  margin-top: 1rem;
}

.friction-conclusion-text {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--gold-primary);
  font-weight: 600;
  font-style: italic;
}

/* 4 — Por onde Fabio começa (Compact: 3.25rem) */
.section-order {
  padding: 3.25rem 0;
}

.sequence-container {
  margin: 2.25rem 0;
}

.stepper-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  position: relative;
}

.step-card {
  flex: 1;
  padding: 1.5rem 1rem;
  text-align: center;
  position: relative;
}

.step-number {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--gold-primary);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 0.5rem;
  display: block;
  text-shadow: 0 0 12px rgba(240, 189, 132, 0.45);
}

.step-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.3;
}

.step-arrow {
  color: var(--gold-primary);
  opacity: 1;
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(240, 189, 132, 0.6));
  transform: scale(1.2);
}

.order-fecho-card {
  padding: 1.6rem 2rem;
  text-align: center;
  background: rgba(14, 38, 47, 0.8);
  border-radius: 14px;
  border: 1px solid rgba(240, 189, 132, 0.2);
}

.order-fecho-text {
  font-size: 1.08rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 800px;
  margin: 0 auto;
}

/* 5 — Como Fabio conduz a busca (Compact: 3.25rem) */
.section-conduct {
  padding: 3.25rem 0;
  background: radial-gradient(circle at center, rgba(14, 46, 56, 0.4) 0%, transparent 70%);
}

.conduct-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.conduct-card {
  padding: 2rem;
}

.conduct-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--gold-primary);
  line-height: 1;
  margin-bottom: 0.85rem;
  opacity: 0.9;
}

.conduct-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--text-white);
  margin-bottom: 0.75rem;
}

.conduct-desc {
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* 6 — Como começa a conversa (Compact: 3.25rem) */
.section-conversation {
  padding: 3.25rem 0;
}

.conversation-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.convo-card {
  padding: 1.85rem;
  position: relative;
}

.convo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold-primary);
  color: var(--bg-primary);
  font-weight: 800;
  font-size: 0.98rem;
  margin-bottom: 1rem;
}

.convo-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--text-white);
  margin-bottom: 0.65rem;
}

.convo-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.convo-fecho {
  padding: 1.6rem;
  background: rgba(255, 255, 255, 0.02);
  border-left: 3px solid var(--gold-primary);
  border-radius: 0 12px 12px 0;
}

.convo-fecho-p1 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 0.4rem;
}

.convo-fecho-p2 {
  font-size: 0.94rem;
  color: var(--text-muted);
}

/* 7 — O que dá para comprar (Compact & Visual com Imagens) */
.section-inventory {
  padding: 3.5rem 0;
  background: linear-gradient(180deg, rgba(7, 21, 26, 0.5) 0%, transparent 100%);
}

.inventory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.inventory-card {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.inventory-img-box {
  height: 190px;
  margin-bottom: 1.25rem;
}

.inventory-badge {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-primary);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.inventory-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--text-white);
  margin-bottom: 0.75rem;
}

.inventory-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex-grow: 1;
}

.inventory-action {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(240, 189, 132, 0.12);
}

.inventory-cta-wrap {
  text-align: center;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 8 — A Riviera de São Lourenço (Compact: 3.5rem) */
.section-riviera {
  padding: 3.5rem 0;
}

/* Banner Panorâmico da Riviera */
.riviera-banner-card {
  position: relative;
  height: 240px;
  border-radius: 18px;
  overflow: hidden;
  margin: 1.75rem 0;
  border: 1px solid rgba(240, 189, 132, 0.25);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.riviera-banner-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7) contrast(1.1);
}

.riviera-banner-caption {
  position: absolute;
  bottom: 1.5rem;
  left: 2rem;
  right: 2rem;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.riviera-banner-text {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--text-white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

/* Mini Galeria da Riviera (3 Fotos) */
.riviera-mini-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 1.5rem 0 2rem;
}

.gallery-item {
  height: 220px;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(240, 189, 132, 0.25);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
  transition: var(--transition-smooth);
}

.gallery-item:hover {
  transform: translateY(-4px);
  border-color: rgba(240, 189, 132, 0.45);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.6);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.riviera-pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.35rem;
  margin: 2rem 0;
}

.riviera-pillar-card {
  padding: 1.75rem;
}

.pillar-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.pillar-icon {
  color: var(--gold-primary);
}

.pillar-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--text-white);
}

.pillar-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.62;
}

.riviera-quote-box {
  text-align: center;
  padding: 1.75rem;
  background: rgba(240, 189, 132, 0.06);
  border: 1px solid rgba(240, 189, 132, 0.2);
  border-radius: 14px;
}

.riviera-quote-text {
  font-family: var(--font-serif);
  font-size: 1.28rem;
  color: var(--gold-primary);
  font-weight: 500;
}

/* 9 — Para quem o atendimento faz sentido (Compact: 3.25rem) */
.section-target {
  padding: 3.25rem 0;
  background: linear-gradient(180deg, transparent 0%, rgba(7, 21, 26, 0.5) 100%);
}

.target-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.target-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 12px;
}

.target-check {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(240, 189, 132, 0.15);
  border: 1px solid var(--gold-primary);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.target-text {
  font-size: 1rem;
  color: var(--text-white);
  line-height: 1.5;
  font-weight: 500;
}

/* 10 — O que o anúncio não mostra (Compact: 3.25rem) */
.section-unseen {
  padding: 3.25rem 0;
}

.unseen-wrapper {
  padding: 2.75rem;
  border-radius: 24px;
}

.unseen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  margin: 2rem 0;
}

.unseen-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(240, 189, 132, 0.18);
  border-radius: 12px;
  padding: 1.25rem;
  text-align: center;
  transition: var(--transition-smooth);
}

.unseen-item:hover {
  background: rgba(240, 189, 132, 0.08);
  border-color: var(--gold-primary);
  transform: translateY(-3px);
}

.unseen-item-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--gold-primary);
  font-weight: 600;
}

.unseen-fecho {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* 11 — Chamada Final (Compact: 4rem) */
.section-final-cta {
  padding: 4.5rem 0 3.5rem;
  position: relative;
  text-align: center;
}

.final-cta-card {
  padding: 3.5rem 2.5rem;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(16, 44, 54, 0.95), rgba(8, 24, 30, 0.98));
  border: 1px solid rgba(240, 189, 132, 0.35);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.7);
  position: relative;
  overflow: hidden;
}

.final-cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(240, 189, 132, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(240, 189, 132, 0.06) 1px, transparent 1px);
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.95) 20%, rgba(0, 0, 0, 0.25) 65%, transparent 88%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.95) 20%, rgba(0, 0, 0, 0.25) 65%, transparent 88%);
}

.final-cta-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 30%, rgba(8, 24, 30, 0.92) 85%);
  pointer-events: none;
  z-index: 0;
}

.final-cta-card > * {
  position: relative;
  z-index: 1;
}

.final-cta-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  line-height: 1.15;
  margin-bottom: 1.2rem;
}

.final-cta-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.final-cta-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

/* 12 — Rodapé (Compact: 3rem) */
.site-footer {
  padding: 3rem 0 2rem;
  background: rgba(5, 15, 19, 0.96);
  border-top: 1px solid rgba(240, 189, 132, 0.12);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--text-white);
  margin-bottom: 0.4rem;
}

.footer-creci {
  color: var(--gold-primary);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 0.65rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.55rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-contact-item:hover {
  color: var(--gold-primary);
}

.footer-contact-item svg {
  color: var(--gold-primary);
  flex-shrink: 0;
}

.footer-legal-notice {
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.55;
}

.footer-bottom {
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer-bottom a {
  color: var(--text-dim);
  text-decoration: none;
  transition: var(--transition-smooth);
}

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

/* ==========================================================================
   13 — MODAL & WHATSAPP
   ========================================================================== */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(4, 12, 16, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

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

.modal-container {
  background: linear-gradient(150deg, rgba(16, 46, 56, 0.96), rgba(8, 23, 29, 0.98));
  border: 1px solid rgba(240, 189, 132, 0.3);
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.8), 0 0 30px rgba(240, 189, 132, 0.15);
  border-radius: 24px;
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 2.25rem;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.modal-close-btn:hover {
  background: rgba(240, 189, 132, 0.15);
  color: var(--gold-primary);
  border-color: var(--gold-primary);
}

.modal-header {
  margin-bottom: 1.75rem;
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  color: var(--text-white);
  line-height: 1.25;
  margin-bottom: 0.5rem;
}

.modal-intro {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Form Styles */
.lead-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 580px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.form-label span.req {
  color: var(--gold-primary);
  font-size: 0.76rem;
  font-weight: normal;
}

.form-input {
  width: 100%;
  background: rgba(6, 18, 22, 0.7);
  border: 1px solid rgba(240, 189, 132, 0.2);
  border-radius: 10px;
  padding: 0.8rem 1.05rem;
  color: var(--text-white);
  font-size: 0.95rem;
  font-family: var(--font-sans);
  transition: var(--transition-smooth);
}

.form-input:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 15px rgba(240, 189, 132, 0.25);
  background: rgba(8, 24, 30, 0.9);
}

.options-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.option-chip {
  cursor: pointer;
  position: relative;
}

.option-chip input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.option-chip span {
  display: inline-block;
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-size: 0.8rem;
  transition: var(--transition-smooth);
  user-select: none;
}

.option-chip:hover span {
  border-color: rgba(240, 189, 132, 0.3);
  color: var(--text-white);
}

.option-chip input[type="radio"]:checked + span {
  background: rgba(240, 189, 132, 0.18);
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  font-weight: 600;
  box-shadow: 0 0 10px rgba(240, 189, 132, 0.2);
}

/* Success Screen inside Modal */
.modal-success-screen {
  display: none;
  text-align: center;
  padding: 2rem 0;
}

.modal-success-screen.active {
  display: block;
}

.success-icon-wrap {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: rgba(240, 189, 132, 0.15);
  border: 2px solid var(--gold-primary);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  animation: pulseAnim 2s infinite;
}

.success-title {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  color: var(--text-white);
  margin-bottom: 0.65rem;
}

.success-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

/* Floating Action Button (WhatsApp Verde com Ícone e Fonte Preta) */
.floating-cta {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 95;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #25D366;
  color: #000000 !important;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.65rem 1.25rem 0.65rem 0.75rem;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.floating-cta:hover {
  transform: translateY(-3px) scale(1.03);
  background: #20BA5A;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

.floating-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.14);
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.floating-icon-wrap svg {
  fill: #FFFFFF !important;
  color: #FFFFFF !important;
  width: 20px;
  height: 20px;
}

.floating-cta-text {
  font-size: 0.92rem;
  font-weight: 700;
  color: #000000 !important;
  letter-spacing: 0.02em;
}

/* Faixa Infinita e Animada entre Sessões (Ticker Ribbon) */
.ticker-ribbon {
  width: 100%;
  overflow: hidden;
  background: rgba(14, 38, 47, 0.92);
  border-top: 1px solid rgba(240, 189, 132, 0.22);
  border-bottom: 1px solid rgba(240, 189, 132, 0.22);
  padding: 1.15rem 0;
  position: relative;
  z-index: 10;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: tickerSlide 50s linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused;
}

.ticker-group {
  display: flex;
  align-items: center;
  gap: 2.8rem;
  padding-right: 2.8rem;
}

.ticker-group span {
  font-family: var(--font-serif);
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.ticker-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
  vertical-align: middle;
}

@keyframes tickerSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Efeito Quadriculado em Linhas com Vinheta Bem Opaca & Bordas Bege */
.section-grid-pattern {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(240, 189, 132, 0.35);
  border-bottom: 1px solid rgba(240, 189, 132, 0.35);
}

.section-grid-pattern::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: 42px 42px;
  background-image: 
    linear-gradient(to right, rgba(240, 189, 132, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(240, 189, 132, 0.05) 1px, transparent 1px);
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.95) 20%, rgba(0, 0, 0, 0.3) 65%, transparent 88%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.95) 20%, rgba(0, 0, 0, 0.3) 65%, transparent 88%);
}

.section-grid-pattern::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 35%, rgba(10, 30, 37, 0.9) 88%);
  pointer-events: none;
  z-index: 0;
}

.section-grid-pattern > .container {
  position: relative;
  z-index: 2;
}

/* Privacy Modal */
.privacy-content {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.privacy-content h4 {
  color: var(--gold-primary);
  margin: 1.1rem 0 0.45rem;
  font-family: var(--font-serif);
}

/* ==========================================================================
   DEPTH OF FIELD / BLUR SCROLL ANIMATION STATES
   ========================================================================== */

.scroll-reveal {
  opacity: 0;
  filter: blur(6px);
  transform: translateY(-28px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, filter, transform;
}

.scroll-reveal.in-view {
  opacity: 1;
  filter: blur(0px);
  transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE DESIGN (Mobile First & Tablet)
   ========================================================================== */

@media (max-width: 992px) {
  .hero-section {
    padding-top: 6.2rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .fabio-portrait-card {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .about-intro-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .about-cards-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .friction-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .stepper-flow {
    flex-direction: column;
    align-items: stretch;
  }

  .step-arrow {
    transform: rotate(90deg);
    margin: 0.35rem auto;
  }

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

  .conversation-steps {
    grid-template-columns: 1fr;
  }

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

  .riviera-pillars-grid {
    grid-template-columns: 1fr;
  }

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

  .unseen-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .hero-section {
    padding-top: 7rem;
    padding-bottom: 1.5rem;
  }

  .hero-badge-wrap {
    margin-top: 0.5rem;
    margin-bottom: 1.25rem;
  }

  .hero-bg-mask {
    background: linear-gradient(180deg, rgba(10, 30, 37, 0.96) 0%, rgba(10, 30, 37, 0.9) 60%, rgba(10, 30, 37, 0.4) 100%);
  }

  .hero-expert-card {
    padding: 0.75rem 0.65rem;
    gap: 0.25rem;
  }

  .hero-expert-num {
    font-size: 1rem;
  }

  .hero-expert-txt {
    font-size: 0.64rem;
  }

  .friction-box {
    padding: 1.75rem 1.15rem;
  }

  .unseen-wrapper {
    padding: 2rem 1.15rem;
  }

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

  .riviera-mini-gallery {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .gallery-item {
    height: 180px;
  }

  .final-cta-card {
    padding: 2.5rem 1.25rem;
  }

  /* Mobile-first Popup Optimization */
  .modal-overlay {
    padding: 0.75rem;
    align-items: center;
  }

  .modal-container {
    padding: 1.5rem 1.15rem;
    max-height: 92vh;
    border-radius: 16px;
  }

  .modal-title {
    font-size: 1.35rem;
  }

  .form-input {
    font-size: 16px !important; /* Prevents auto-zoom in iOS Safari */
    padding: 0.75rem 0.95rem;
  }

  .floating-cta-text {
    display: none;
  }

  .floating-cta {
    padding: 0.5rem;
    bottom: 1.25rem;
    right: 1.25rem;
  }
}

/* Sub-rodapé Vexar Assessoria */
.sub-footer-vexar {
  background-color: #000000;
  padding: 1.1rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 2;
}

.sub-footer-vexar .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.vexar-subfooter-logo {
  height: 15px;
  width: auto;
  filter: grayscale(100%) opacity(0.65);
  transition: var(--transition-smooth);
}

.vexar-subfooter-logo:hover {
  filter: grayscale(0%) opacity(1);
}

.sub-footer-vexar a {
  color: #EF4444 !important;
  text-decoration: none;
  font-weight: 700;
  transition: var(--transition-smooth);
}

.sub-footer-vexar a:hover {
  color: #DC2626 !important;
  text-decoration: underline;
}
