/* ===================== RESET & BASE ===================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

:root {
  --cream: #F5F0E8;
  --cream-dark: #EDE5D4;
  --charcoal: #1A1814;
  --charcoal-soft: #2E2B26;
  --gold: #B8965A;
  --gold-light: #D4AF7A;
  --gold-pale: #F0E4CC;
  --warm-white: #FDFAF5;
  --text-muted: #7A7267;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'DM Sans', sans-serif;
}

body {
  font-family: var(--font-sans);
  background: var(--warm-white);
  color: var(--charcoal);
  overflow-x: hidden;
  cursor: default;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none !important;
  color: inherit;
}

/* ===================== SCROLLBAR ===================== */
::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: var(--cream);
}

::-webkit-scrollbar-thumb {
  background: var(--gold);
}

/* ===================== UTILITY ===================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.gold-line {
  display: block;
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 20px;
}

.section-label {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 16px;
}

/* ===================== NAV ===================== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 24px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.4s ease;
}

body.admin-bar nav {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar nav {
    top: 46px;
  }
}

@media screen and (max-width: 600px) {
  body.admin-bar nav {
    position: absolute;
    top: 46px;
  }

  body.admin-bar nav.scrolled {
    position: fixed;
    top: 0;
  }
}

nav.scrolled {
  background: rgba(26, 24, 20, 0.96);
  backdrop-filter: blur(20px);
  padding: 16px 60px;
  border-bottom: 1px solid rgba(184, 150, 90, 0.2);
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--warm-white);
  letter-spacing: 1px;
  line-height: 1.2;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.nav-logo span {
  display: block;
  font-size: 10px;
  font-family: var(--font-sans);
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
  margin-top: 2px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.nav-links {
  transform: translateY(2px);

  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--gold-light);
}

.nav-cta {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold) !important;
  padding: 10px 24px;
  font-size: 11px !important;
  letter-spacing: 2px !important;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-sans);
  font-weight: 400;
  transform: translateY(2px);
}

.nav-cta:hover {
  background: var(--gold);
  color: var(--charcoal) !important;
}

/* ===================== HERO ===================== */
#hero {
  min-height: 100vh;
  position: relative;
  background: var(--charcoal);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.hero-image-side {
  position: relative;
  overflow: hidden;
}

.hero-image-side::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 50%, var(--charcoal) 100%),
    linear-gradient(to top, var(--charcoal) 0%, transparent 30%),
    linear-gradient(to bottom, rgba(26, 24, 20, 0.8) 0%, transparent 25%);
}

/* Placeholder for hero image — in production replace src */
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: sepia(20%) contrast(1.05);
}

.hero-photo-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #2a2520 0%, #3d3428 50%, #1a1814 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-photo-placeholder svg {
  opacity: 0.15;
  width: 180px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 80px 80px 60px;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  animation: fadeUp 0.8s ease 0.2s both;
}

.hero-eyebrow span {
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
}

.hero-eyebrow-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--gold), transparent);
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(52px, 5vw, 80px);
  font-weight: 300;
  line-height: 1.05;
  color: var(--warm-white);
  margin-bottom: 28px;
  animation: fadeUp 0.8s ease 0.35s both;
}

.hero-headline em {
  font-style: italic;
  color: var(--gold-light);
  display: block;
}

.hero-sub {
  font-size: 15px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  max-width: 380px;
  margin-bottom: 48px;
  animation: fadeUp 0.8s ease 0.5s both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp 0.8s ease 0.65s both;
}

.btn-primary {
  background: var(--gold);
  color: var(--charcoal);
  padding: 16px 36px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(184, 150, 90, 0.35);
}

.btn-ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  padding: 16px 36px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* Hero form inline horizontal grid */
.hero-form-card {
  position: relative;
  width: 100%;
  background: var(--cream);
  padding: 32px 40px;
  margin-top: 50px;
  z-index: 10;
  animation: fadeUp 0.8s ease 0.8s both;
  border-radius: 4px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hero-form-card h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 6px;
}

.hero-form-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.hero-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  margin-bottom: 0;
}

.form-field input,
.form-field select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(26, 24, 20, 0.15);
  background: var(--warm-white);
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--charcoal);
  outline: none;
  transition: border-color 0.3s;
  appearance: none;
}

.form-field input:focus,
.form-field select:focus {
  border-color: var(--gold);
}

.form-field input::placeholder {
  color: var(--text-muted);
}

.form-submit {
  width: 100%;
  background: var(--charcoal);
  color: var(--warm-white);
  padding: 14px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 6px;
}

.form-submit:hover {
  background: var(--gold);
  color: var(--charcoal);
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 10;
  animation: fadeIn 1s ease 1.5s both;
}

.hero-scroll span {
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.scroll-mouse {
  width: 22px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-dot {
  width: 3px;
  height: 8px;
  background: var(--gold);
  border-radius: 2px;
  animation: scrollDot 2s ease infinite;
}

/* ===================== STATS BAR ===================== */
#stats {
  background: var(--charcoal-soft);
  padding: 48px 0;
  border-top: 1px solid rgba(184, 150, 90, 0.2);
  border-bottom: 1px solid rgba(184, 150, 90, 0.2);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 0 40px;
  border-right: 1px solid rgba(184, 150, 90, 0.15);
  position: relative;
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 52px;
  font-weight: 300;
  color: var(--warm-white);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-number sup {
  font-size: 24px;
  color: var(--gold);
  vertical-align: super;
}

.stat-label {
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ===================== SECTION: DOR ===================== */
#dor {
  padding: 120px 0;
  background: var(--warm-white);
  position: relative;
}

#dor::before {
  content: '"';
  font-family: var(--font-serif);
  font-size: 400px;
  color: var(--cream-dark);
  position: absolute;
  top: -40px;
  left: -20px;
  line-height: 1;
  pointer-events: none;
  z-index: 0;
}

.dor-header {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
  z-index: 1;
}

.dor-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 300;
  line-height: 1.2;
  color: var(--charcoal);
  max-width: 700px;
  margin: 0 auto;
}

.dor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--cream-dark);
  position: relative;
  z-index: 1;
}

.dor-card {
  background: var(--warm-white);
  padding: 56px;
  position: relative;
  overflow: hidden;
  transition: background 0.4s;
}

.dor-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--gold);
  transition: height 0.4s ease;
}

.dor-card:hover::before {
  height: 100%;
}

.dor-card:hover {
  background: var(--cream);
}

.dor-card-tag {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: block;
}

.dor-card h3 {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  margin-bottom: 20px;
  color: var(--charcoal);
}

.dor-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dor-card li {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  padding-left: 20px;
  position: relative;
}

.dor-card li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 12px;
}

/* ===================== SECTION: BIO ===================== */
#bio {
  padding: 120px 0;
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}

.bio-bg-text {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-serif);
  font-size: 280px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.03);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: -10px;
}

.bio-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.bio-image-wrap {
  position: relative;
}

.bio-image-wrap::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: 20px;
  bottom: 20px;
  border: 1px solid rgba(184, 150, 90, 0.3);
  z-index: 0;
}

.bio-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  position: relative;
  z-index: 1;
  filter: grayscale(20%);
}

.bio-photo-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, #2a2520 0%, #3d3428 60%, #1a1814 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.bio-award-badge {
  position: absolute;
  bottom: 30px;
  right: -20px;
  background: var(--gold);
  padding: 20px 24px;
  z-index: 2;
  text-align: center;
}

.bio-award-badge .award-num {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 300;
  color: var(--charcoal);
  line-height: 1;
  display: block;
}

.bio-award-badge .award-text {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--charcoal);
  display: block;
  margin-top: 4px;
}

.bio-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(42px, 4vw, 62px);
  font-weight: 300;
  color: var(--warm-white);
  line-height: 1.1;
  margin-bottom: 12px;
}

.bio-content h2 em {
  font-style: italic;
  color: var(--gold-light);
}

.bio-credentials {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.bio-cred-tag {
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(184, 150, 90, 0.4);
  padding: 6px 14px;
}

.bio-text {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.85;
  margin-bottom: 20px;
}

.bio-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
}

.bio-highlight {
  border-left: 2px solid var(--gold);
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.3s ease;
}

.bio-highlight:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 15px rgba(184, 150, 90, 0.15);
  background: rgba(255, 255, 255, 0.06);
}

.bio-highlight strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--gold-light);
  margin-bottom: 4px;
}

.bio-highlight span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.5px;
}

/* ===================== SECTION: MÍDIA ===================== */
#midia {
  padding: 120px 0;
  background: var(--cream);
}

.section-header {
  text-align: center;
  margin-bottom: 70px;
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 300;
  color: var(--charcoal);
  line-height: 1.15;
}

.section-header p {
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-muted);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.midia-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--cream-dark);
  margin-bottom: 60px;
}

.midia-card {
  background: var(--warm-white);
  aspect-ratio: 4/3;
  display: flex;
  align-items: flex-end;
  padding: 30px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s;
  cursor: pointer;
}

@media (max-width: 768px) {
  .midia-card-info {
    padding-bottom: 10px;
    /* Space out text from bottom */
  }
}

.midia-card-bg {
  position: absolute;
  inset: 0;
  background: #e8e0d0;
  transition: transform 0.5s ease;
}

.midia-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(10%);
}

.midia-card:hover .midia-card-bg {
  transform: scale(1.05);
}

.midia-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 24, 20, 0.9) 0%, transparent 70%);
  z-index: 1;
}

.midia-card-info {
  position: relative;
  z-index: 2;
}

.midia-card-type {
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 6px;
}

.midia-card-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 400;
  color: var(--warm-white);
  line-height: 1.3;
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 24, 20, 0.95);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  padding: 40px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: var(--cream);
  width: 100%;
  max-width: 700px;
  max-height: 80vh;
  position: relative;
  padding: 60px;
  overflow-y: auto;
  transform: translateY(30px);
  transition: all 0.4s ease;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
}

.modal-overlay.active .modal-container {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 30px;
  right: 30px;
  background: none;
  border: none;
  color: var(--charcoal);
  font-size: 24px;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.3s;
}

.modal-close:hover {
  opacity: 1;
}

.modal-body {
  color: var(--charcoal);
}

.modal-body .modal-label {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: block;
}

.modal-body h3 {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 30px;
}

.modal-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
  white-space: pre-line;
}

.modal-text p {
  margin-bottom: 1.5em;
}

/* Livro destaque */
.livro-section {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px;
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}

.livro-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.livro-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--gold), transparent);
}

.livro-cover {
  width: 160px;
  height: 220px;
  background: linear-gradient(135deg, #4a3f30, #2e2520);
  border: 1px solid rgba(184, 150, 90, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-serif);
  font-size: 14px;
  color: var(--gold);
  text-align: center;
  padding: 20px;
  line-height: 1.4;
  position: relative;
}

.livro-cover::after {
  content: '';
  position: absolute;
  left: 0;
  top: 10%;
  bottom: 10%;
  width: 4px;
  background: var(--gold);
}

.livro-content h3 {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 300;
  color: var(--warm-white);
  margin-bottom: 8px;
  text-align: center;
}

.livro-content p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  max-width: 500px;
  text-align: center;
  margin: 0 auto;
}

.livro-tag {
  display: inline-block;
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(184, 150, 90, 0.4);
  padding: 5px 12px;
  margin-top: 20px;
}

/* ===================== SECTION: VIDEO ===================== */
#video {
  padding: 120px 0;
  background: var(--charcoal-soft);
  text-align: center;
}

.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 60px;
}

.video-embed {
  aspect-ratio: 16/9;
  background: #111;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  transition: opacity 0.3s;
}

.video-thumb-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1e1c18 0%, #2a2520 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-embed:hover .video-thumb {
  opacity: 0.8;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  background: rgba(184, 150, 90, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.video-embed:hover .video-play-btn {
  background: var(--gold);
  transform: translate(-50%, -50%) scale(1.1);
}

.video-play-btn svg {
  margin-left: 4px;
}

.video-label {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  text-align: left;
}

.video-label-type {
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 4px;
}

.video-label-title {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--warm-white);
  font-weight: 400;
  line-height: 1.3;
  /* Smaller line-height for mobile/thumb labels */
}

@media (max-width: 768px) {
  .video-label {
    padding-bottom: 10px;
    /* Lower text as requested */
  }
}

/* Video Modal Specifics */
.video-modal-container {
  max-width: 1000px;
  padding: 0;
  background: #000;
  aspect-ratio: 16/9;
}

.video-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ===================== SECTION: REMAX ===================== */
#remax {
  padding: 120px 0;
  background: var(--warm-white);
}

.remax-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.remax-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(36px, 3.5vw, 52px);
  font-weight: 300;
  line-height: 1.15;
  color: var(--charcoal);
  /* Reverted from gold-light to charcoal for light bg */
  margin-bottom: 24px;
}

.remax-content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.remax-logo-area {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 40px 0;
  padding: 28px 32px;
  border: 1px solid var(--cream-dark);
  background: var(--cream);
}

.remax-balloon {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
}

.remax-logo-text {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 4px;
  color: var(--charcoal);
}

.remax-logo-text span {
  display: block;
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 400;
}

.imoveis-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.imovel-card {
  background: var(--cream);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.imovel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.imovel-thumb {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #d4c9b0, #e8e0d0);
  position: relative;
}

.imovel-thumb-label {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gold);
  color: var(--charcoal);
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 10px;
}

.imovel-info {
  padding: 20px;
}

.imovel-info h4 {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 4px;
  color: var(--charcoal);
}

.imovel-info .price {
  font-size: 13px;
  color: var(--gold);
  font-weight: 500;
}

.imovel-info .location {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ===================== SECTION: TEAM ===================== */
#team {
  padding: 120px 0;
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}

.team-bg-line {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 100%;
  background: rgba(184, 150, 90, 0.1);
}

.team-header {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
  z-index: 1;
}

.team-header::before {
  content: '';
  position: absolute;
  top: -60px;
  /* Adjust positioning as needed */
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 60px;
  /* Same as the preview */
  background: var(--gold);
}

.team-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(40px, 4vw, 60px);
  font-weight: 300;
  color: var(--warm-white);
  line-height: 1.1;
}

.team-header p {
  margin-top: 16px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  /* Subtle line effect on desktop */
  background: rgba(184, 150, 90, 0.1);
  /* Gold-tinted lines */
  position: relative;
  z-index: 1;
}

.team-card {
  background: var(--charcoal);
  padding: 40px 30px;
  text-align: center;
  transition: background 0.3s;
  cursor: default;
}

.team-card:hover {
  background: var(--charcoal-soft);
}

.team-avatar {
  width: 150px;
  /* Increased to 150px */
  height: 150px;
  /* Increased to 150px */
  border-radius: 50%;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #2a2520, #3d3428);
  border: 2px solid rgba(184, 150, 90, 0.3);
  overflow: hidden;
  transition: border-color 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--gold);
  font-weight: 400;
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card:hover .team-avatar {
  border-color: var(--gold);
}

.team-card h4 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--warm-white);
  margin-bottom: 6px;
}

.team-card .role {
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 12px;
}

.team-card .creci {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
}

#remax {
  background: var(--warm-white);
  /* Restored to warm-white */
}

#team {
  background: #1a1814;
}

#team-collective {
  grid-column: span 3;
  margin-bottom: 120px;
  background: #1a1814;
  position: relative;
  overflow: visible;
  padding: 60px 0;
  margin-top: -30px;
  /* Moved higher as requested */
}

.collective-layout {
  display: flex;
  align-items: center;
  position: relative;
  gap: 0;
}

.photo-side {
  width: 65%;
  position: relative;
  z-index: 1;
}

.photo-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(184, 150, 90, 0.4);
  padding: 12px;
  box-sizing: border-box;
  background: #1a1814;
  /* Changed from #2a2520 to #1a1814 to fix artifact */
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  /* Show upper portion as requested */
  display: block;
  filter: sepia(10%) contrast(1.05);
}

.content-side {
  width: 65%;
  position: absolute;
  right: 0;
  bottom: -120px;
  /* Lowered further as requested in Phase 2 */
  z-index: 2;
}

@media (max-width: 1300px) {
  .content-side {
    bottom: -220px;
    /* Even lower from screenshot 2 */
  }
}

.text-card {
  background: var(--cream);
  padding: 56px 48px;
  border-left: 3px solid var(--gold);
  box-shadow: 30px 30px 80px rgba(0, 0, 0, 0.4);
}

.text-card h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--charcoal);
  margin-bottom: 24px;
  text-align: left;
}

.text-card h2 em {
  font-style: italic;
  color: var(--gold);
}

.text-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
  text-align: left;
}

.deco-line {
  position: absolute;
  top: -12px;
  left: -12px;
  width: 80px;
  height: 80px;
  border-top: 1px solid var(--gold);
  border-left: 1px solid var(--gold);
  opacity: 0.6;
}

@media (max-width: 1024px) {
  .content-side {
    width: 70%;
  }
}

@media (max-width: 768px) {
  #team {
    padding-top: 40px;
    /* Reduced top space */
  }

  /* Remove background line on mobile */
  .team-bg-line {
    display: none;
  }

  #team-collective {
    padding: 20px 0 120px;
    /* Reduced top padding further */
  }

  #dor {
    padding: 80px 0 90px;
    /* Reduced bottom padding from 120px to 90px */
  }

  .collective-layout {
    flex-direction: column;
    align-items: flex-start;
  }

  .photo-side {
    width: 100%;
    margin-bottom: 40px;
  }

  .photo-frame {
    aspect-ratio: 1400 / 788;
  }

  .content-side {
    width: 82% !important;
    /* Increased width */
    margin-left: auto !important;
    margin-top: -25% !important;
    /* Move 10px down relative to -30% */
    padding: 30px 20px !important;
    box-shadow: -10px 10px 30px rgba(0, 0, 0, 0.3) !important;
  }

  .text-card {
    padding: 30px 24px;
  }

  .text-card h2 {
    font-size: clamp(28px, 3vw, 36px);
    /* 2px smaller approx */
  }

  .text-card p {
    font-size: 13px;
    /* 2px smaller approx */
  }
}

.team-card-leader {
  grid-column: span 3;
  display: flex;
  /* Changed from grid to flex for better centering control */
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 40px;
  margin-bottom: 2px;
  background: #302c24;
  /* Exact color requested */
  border-top: 1px solid rgba(184, 150, 90, 0.2);
}

.team-avatar-leader {
  width: 200px;
  /* Increased to 200px */
  height: 200px;
  /* Increased to 200px */
  border-radius: 50%;
  background: linear-gradient(135deg, #3d3428, #2a2520);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 36px;
  color: var(--gold);
  flex-shrink: 0;
}

.team-leader-info h4 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  color: var(--warm-white);
  margin-bottom: 6px;
}

.team-leader-info .role {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 12px;
}

.team-leader-info p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  max-width: 600px;
  /* Increased slightly for center balance */
  margin: 0 auto;
}

/* ===================== SECTION: CONTATO ===================== */
#contato {
  padding: 0;
  background: var(--cream);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 700px;
}

.contato-image {
  position: relative;
  overflow: hidden;
}

.contato-image-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #2a2520 0%, #1a1814 100%);
}

.contato-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(184, 150, 90, 0.15), transparent);
}

.contato-image-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 70px;
}

.contato-image-content .big-quote {
  font-family: var(--font-serif);
  font-size: clamp(36px, 3.5vw, 52px);
  font-weight: 300;
  font-style: italic;
  color: var(--warm-white);
  line-height: 1.3;
  margin-bottom: 24px;
}

.contato-image-content .big-quote em {
  color: var(--gold-light);
}

.contato-image-content cite {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  font-style: normal;
}

.contato-form-side {
  padding: 80px 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contato-form-side h2 {
  font-family: var(--font-serif);
  font-size: clamp(36px, 3.5vw, 50px);
  font-weight: 300;
  line-height: 1.15;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.contato-form-side p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.6;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.form-field-full {
  margin-bottom: 14px;
}

.form-field-full textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(26, 24, 20, 0.15);
  background: var(--warm-white);
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--charcoal);
  outline: none;
  resize: none;
  height: 110px;
  transition: border-color 0.3s;
}

.form-field-full textarea:focus {
  border-color: var(--gold);
}

.form-field-full textarea::placeholder {
  color: var(--text-muted);
}

.form-cta-row {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 6px;
}

.btn-whatsapp {
  background: transparent;
  border: 1px solid #25D366;
  color: #25D366;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-whatsapp:hover {
  background: #25D366;
  color: white;
}

/* ===================== FOOTER ===================== */
footer {
  background: var(--charcoal);
  padding: 60px 0 30px;
  border-top: 1px solid rgba(184, 150, 90, 0.15);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 50px;
}

.footer-brand p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
}

.footer-col h5 {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col li,
.footer-col li a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.3s;
}

.footer-col li a:hover {
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.2);
  letter-spacing: 0.5px;
}

.footer-bottom p a {
  color: rgba(184, 150, 90, 0.6);
}

/* --- Staux Dev Credit --- */
.staux-dev-credit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-family: 'Cascadia Mono', monospace;
  font-weight: 700;
}

.staux-dev-icon {
  color: rgba(167, 235, 54, 0.5);
  font-size: 11px;
  transition: color 0.3s ease;
}

.staux-dev-text {
  color: rgba(255, 255, 255, 0.2);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.5px;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.staux-logo-svg {
  position: relative;
  top: 0.5px;
}

.logo-text-light-ftr {
  font-family: 'Cascadia Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  fill: rgba(167, 235, 54, 0.5);
  letter-spacing: 1px;
  transition: fill 0.3s ease;
}

.underscore-light-ftr {
  animation: blink-light-ftr 1.2s infinite;
}

@keyframes blink-light-ftr {
  0%   { opacity: 1; }
  50%  { opacity: 0; }
  100% { opacity: 1; }
}

.staux-dev-credit:hover .staux-dev-text {
  color: rgba(255, 255, 255, 0.5);
}

.staux-dev-credit:hover .staux-dev-icon {
  color: #1c5fff;
}

.staux-dev-credit:hover .logo-text-light-ftr {
  fill: #1c5fff;
}

/* ===================== ANIMATIONS ===================== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes scrollDot {

  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }

  80% {
    transform: translateY(12px);
    opacity: 0;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  nav {
    padding: 20px 30px;
  }

  nav.scrolled {
    padding: 14px 30px;
  }

  .container,
  .container-wide {
    padding: 0 24px;
  }

  #hero {
    grid-template-columns: 1fr;
    height: auto;
    min-height: auto;
  }

  .hero-image-side {
    height: 450px;
  }

  .hero-content {
    padding: 80px 40px 40px 40px;
  }

  .hero-form-card {
    padding: 24px;
    margin-top: 40px;
  }

  .hero-form-grid {
    grid-template-columns: 1fr;
  }

  .bio-inner,
  .remax-inner {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    background: rgba(184, 150, 90, 0.1);
  }

  .stat-item {
    border-right: none;
    padding: 30px;
    border-bottom: 1px solid rgba(184, 150, 90, 0.1);
  }

  .stat-item:last-child .stat-number {
    font-size: 34px;
  }
}

@media (max-width: 768px) {
  #hero {
    grid-template-columns: 1fr;
  }

  .hero-image-side {
    height: 400px;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .dor-grid,
  .midia-grid,
  .video-grid,
  .photo-side {
    width: 100%;
    grid-template-columns: 1fr !important;
    /* Forces stacking */
  }

  .photo-frame {
    aspect-ratio: 1400 / 788;
  }

  .content-side {
    width: 82% !important;
    /* Increased width */
    margin-left: auto !important;
    margin-top: -25% !important;
    /* Move 10px down relative to -30% */
    padding: 30px 20px !important;
    box-shadow: -10px 10px 30px rgba(0, 0, 0, 0.3) !important;
  }

  #team-collective,
  .team-card-leader {
    grid-column: span 2;
    display: block;
    /* Ensure solo block behavior */
    width: 100%;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    display: grid;
  }

  /* Reset layout for members to ensure they start below Cris */
  .team-grid>*:not(#team-collective):not(.team-card-leader) {
    grid-column: span 1;
    border-bottom: 1px solid rgba(184, 150, 90, 0.1);
    /* Horizontal line on mobile */
  }

  /* Vertical line for mobile 2-column grid between column 1 and 2 */
  .team-grid>.team-card:nth-of-type(odd) {
    border-right: 1px solid rgba(184, 150, 90, 0.1);
  }

  .team-grid {
    gap: 0;
    /* Use border instead of gap for mobile to control lines better */
    background: transparent;
    /* Remove gap background artifact */
  }

  .team-avatar-leader {
    width: 110px;
    height: 110px;
    margin: 0 auto;
  }

  .team-card {
    padding: 30px 10px;
    min-width: 0;
  }

  .team-avatar {
    width: 80px;
    height: 80px;
  }

  #contato {
    grid-template-columns: 1fr;
  }

  .contato-form-side {
    padding: 50px 24px;
  }

  /* REMOVED: .team-card-leader span 1 override that was breaking the grid */


  .livro-section {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 60px 20px;
  }

  .livro-cover {
    margin: 0 auto 30px;
    /* Centered with bottom margin */
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .imoveis-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    /* Slightly smaller gap for mobile 2x2 */
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}