/* ==========================================================================
   LUIZ UGEDA — DIREITO E GEOGRAFIA
   Design System: Minimalista Editorial / Acadêmico Contemporâneo (LIGHT MODE)
   ========================================================================== */

:root {
  /* Brand Palette institucional */
  --color-primary: #8A4143;        /* Vinho institucional */
  --color-primary-dark: #662c2e;
  --color-primary-light: #ad5456;
  --color-primary-subtle: rgba(138, 65, 67, 0.07);

  --color-navy: #112353;           /* Azul meia-noite */
  --color-navy-dark: #091433;
  --color-navy-light: #1c3882;
  --color-navy-subtle: rgba(17, 35, 83, 0.05);

  --color-gold: #b38927;           /* Dourado areia refinado */
  --color-gold-subtle: rgba(179, 137, 39, 0.1);

  /* Backgrounds & Neutrals (LIGHT MODE PRINCIPAL) */
  --bg-main: #fbfbfa;              /* Off-white editorial límpido */
  --bg-surface: #ffffff;           /* Branco puro */
  --bg-surface-elevated: #ffffff;
  --bg-surface-subtle: #f4f4f2;    /* Cinza neutro suave */
  --bg-card: #ffffff;
  --border-light: #e7e5e0;          /* Borda nítida de alto contraste */
  --border-subtle: #eeece8;
  --border-accent: rgba(138, 65, 67, 0.35);

  /* Typography Colors — ALTO CONTRASTE E LEGIBILIDADE MÁXIMA */
  --text-main: #14171f;            /* Quase preto para leitura perfeita (15:1 contrast) */
  --text-muted: #383d4a;           /* Cinza escuro balanceado (8:1 contrast) */
  --text-faint: #5a6070;           /* Cinza médio legível (5:1 contrast) */
  --text-primary: #8A4143;
  --text-navy: #112353;
  --text-on-dark: #ffffff;

  /* Fonts */
  --font-serif: 'Newsreader', 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Shadows — Sutis e elegantes */
  --shadow-sm: 0 1px 3px rgba(17, 35, 83, 0.04), 0 1px 2px rgba(17, 35, 83, 0.02);
  --shadow-md: 0 4px 16px rgba(17, 35, 83, 0.06), 0 2px 6px rgba(17, 35, 83, 0.03);
  --shadow-lg: 0 16px 36px rgba(17, 35, 83, 0.08), 0 4px 12px rgba(17, 35, 83, 0.04);
  --shadow-card: 0 2px 10px rgba(17, 35, 83, 0.04);

  /* Transitions */
  --transition-smooth: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --max-w: 1200px;
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.65;
  letter-spacing: -0.015em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

/* ==========================================================================
   HEADER / NAVBAR (LIGHT)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 251, 250, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 1px 4px rgba(17, 35, 83, 0.03);
}

.header-accent-bar {
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-navy) 100%);
  width: 100%;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 1.5rem;
}

.brand-link {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-navy);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.brand-name span {
  color: var(--color-primary);
}

.brand-tagline {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: #383d4a;
  padding: 0.48rem 0.85rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  letter-spacing: -0.01em;
  transition: var(--transition-smooth);
  position: relative;
}

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

.nav-link.active {
  color: var(--color-primary-dark);
  background: var(--color-primary-subtle);
  font-weight: 700;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.header-divider {
  width: 1px;
  height: 24px;
  background-color: var(--border-light);
  margin: 0 0.15rem;
}

.btn-geodireito-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.48rem 0.95rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  background-color: var(--color-navy);
  color: #ffffff !important;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(17, 35, 83, 0.2);
  transition: var(--transition-smooth);
}

.btn-geodireito-link:hover {
  background-color: var(--color-navy-light);
  transform: translateY(-1px);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  background: none;
}

.mobile-menu-btn span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text-main);
  transition: var(--transition-smooth);
}

/* ==========================================================================
   HERO SECTION (SLIDE 1)
   ========================================================================== */
.hero-section {
  padding: 5rem 0 5.5rem;
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-main) 100%);
  border-bottom: 1px solid var(--border-light);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4.5rem;
  align-items: center;
}

.hero-quote-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-primary);
  background-color: var(--color-primary-subtle);
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.85rem;
  border: 1px solid var(--border-accent);
}

.hero-quote {
  font-family: var(--font-serif);
  font-size: 2.15rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--color-navy);
  margin-bottom: 1.75rem;
  font-style: italic;
  position: relative;
}

.hero-quote::before {
  content: '“';
  font-size: 5rem;
  color: var(--color-primary);
  opacity: 0.18;
  position: absolute;
  top: -2.5rem;
  left: -1.75rem;
  font-family: var(--font-serif);
  pointer-events: none;
}

.hero-quote-author {
  display: flex;
  flex-direction: column;
  margin-bottom: 2.25rem;
  padding-left: 1.25rem;
  border-left: 3px solid var(--color-primary);
}

.author-name {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-navy);
}

.author-note {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-lead-text {
  font-size: 1.12rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.hero-lead-text strong {
  color: var(--text-main);
  font-weight: 700;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background-color: var(--color-primary);
  color: #ffffff !important;
  padding: 0.9rem 1.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(138, 65, 67, 0.25);
  transition: var(--transition-smooth);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(138, 65, 67, 0.35);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background-color: #ffffff;
  color: var(--color-navy);
  border: 1px solid var(--border-light);
  padding: 0.9rem 1.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.btn-outline:hover {
  border-color: var(--color-navy);
  color: var(--color-navy);
  background-color: var(--color-navy-subtle);
  transform: translateY(-2px);
}

/* ==========================================================================
   PORTRAIT WRAPPER — PERFEITAMENTE CENTRALIZADO & ENQUADRADO
   ========================================================================== */
.hero-portrait-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.portrait-frame {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1 / 1.08; /* Proporção ideal para o retrato 945x1024 */
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(17, 35, 83, 0.12), 0 2px 8px rgba(17, 35, 83, 0.04);
  border: 4px solid #ffffff;
  background-color: #f1f3f7;
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%; /* Centralização perfeita do rosto e olhar */
  transition: transform 0.5s ease;
}

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

/* Legenda sob a foto sem obstruir o peito ou a gravata */
.portrait-caption-card {
  margin-top: 1.25rem;
  width: 100%;
  max-width: 460px;
  background: #ffffff;
  padding: 1.15rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.portrait-caption-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-navy);
}

.portrait-caption-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  line-height: 1.45;
}

/* ==========================================================================
   SECTION COMMON STYLES
   ========================================================================== */
.section-wrapper {
  padding: 6.5rem 0;
  border-bottom: 1px solid var(--border-light);
}

.section-header {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 4rem;
}

.section-number {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--color-primary);
  text-transform: uppercase;
  margin-bottom: 0.65rem;
  display: block;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-navy);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.08rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   TRAJETÓRIA / TIMELINE (SLIDE 2) — MODO LIGHT
   ========================================================================== */
.timeline-intro-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  margin-bottom: 3.5rem;
  box-shadow: var(--shadow-sm);
}

.timeline-artwork-box {
  margin-top: 2rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  position: relative;
  background: #f8fafc;
}

.timeline-artwork-box img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  object-position: center;
}

.artwork-caption {
  padding: 0.95rem 1.4rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: var(--bg-surface-subtle);
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.timeline-phases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.phase-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.phase-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.phase-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.phase-year-badge {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
  background: var(--color-primary-subtle);
  padding: 0.25rem 0.8rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-accent);
}

.phase-number {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-faint);
  letter-spacing: 0.12em;
}

.phase-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 1.25rem;
}

.phase-events-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.phase-event-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.event-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  margin-top: 0.55rem;
  flex-shrink: 0;
}

.event-year {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--text-main);
  font-size: 0.9rem;
}

/* ==========================================================================
   LIVROS (SLIDE 3) — MODO LIGHT
   ========================================================================== */
.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
  gap: 3rem;
}

.book-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 2.25rem;
  align-items: start;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

.book-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-accent);
  transform: translateY(-3px);
}

.book-cover-wrap {
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(17, 35, 83, 0.12);
  border: 1px solid var(--border-light);
  background: #f4f4f2;
}

.book-cover-wrap img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.book-card:hover .book-cover-wrap img {
  transform: scale(1.04);
}

.book-details {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.book-meta {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.book-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
}

.book-authorship {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.45;
}

.book-authorship strong {
  color: var(--text-main);
}

.book-synopsis {
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.book-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn-book-action {
  font-size: 0.86rem;
  font-weight: 600;
  padding: 0.6rem 1.15rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: var(--transition-smooth);
}

.btn-book-action.primary {
  background: var(--color-primary);
  color: #ffffff !important;
}

.btn-book-action.primary:hover {
  background: var(--color-primary-dark);
}

.btn-book-action.secondary {
  border: 1px solid var(--border-light);
  color: var(--color-navy);
  background: #ffffff;
}

.btn-book-action.secondary:hover {
  border-color: var(--color-navy);
  background: var(--color-navy-subtle);
}

/* ==========================================================================
   ARTIGOS CIENTÍFICOS (SLIDE 4)
   ========================================================================== */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
  gap: 2.5rem;
}

.article-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 2rem;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

.article-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.article-cover-wrap {
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(17, 35, 83, 0.1);
  border: 1px solid var(--border-light);
}

.article-cover-wrap img {
  width: 100%;
  height: 195px;
  object-fit: cover;
}

.article-journal-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-navy);
  background: var(--color-navy-subtle);
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-xs);
  margin-bottom: 0.65rem;
  border: 1px solid rgba(17, 35, 83, 0.1);
}

.article-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
}

.article-citation {
  font-size: 0.88rem;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 0.85rem;
}

.article-desc {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.article-links {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.btn-text-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-text-link:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

/* ==========================================================================
   IMPRENSA & CLIPPING (SLIDE 5)
   ========================================================================== */
.press-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(460px, 1fr));
  gap: 2.5rem;
}

.press-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 2rem;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

.press-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}

.press-media-wrap {
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(17, 35, 83, 0.1);
  border: 1px solid var(--border-light);
}

.press-media-wrap img {
  width: 100%;
  height: 205px;
  object-fit: cover;
}

.press-source {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.4rem;
}

.press-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
}

.press-date {
  font-size: 0.84rem;
  color: var(--text-faint);
  margin-bottom: 0.85rem;
}

.press-excerpt {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

/* ==========================================================================
   VÍDEOS E ENTREVISTAS (SLIDE 6)
   ========================================================================== */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(460px, 1fr));
  gap: 2.5rem;
}

.video-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

.video-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-navy);
}

.video-thumb-wrap {
  position: relative;
  background: #000;
  height: 260px;
  overflow: hidden;
}

.video-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
  transition: transform 0.4s ease;
}

.video-card:hover .video-thumb-wrap img {
  transform: scale(1.04);
}

.video-play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(138, 65, 67, 0.95);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  transition: var(--transition-smooth);
}

.video-card:hover .video-play-overlay {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--color-primary);
}

.video-content {
  padding: 2.25rem;
}

.video-media-tag {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-navy);
  margin-bottom: 0.4rem;
}

.video-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
}

.video-desc {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.35rem;
}

/* ==========================================================================
   CONTATO & ACERVO — MODO LIGHT
   ========================================================================== */
.contact-section {
  background: #f4f4f2;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info-panel h3 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 1rem;
}

.contact-info-panel p {
  color: var(--text-muted);
  font-size: 1.08rem;
  line-height: 1.65;
  margin-bottom: 2rem;
}

.academic-links-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.academic-link-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.35rem;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.academic-link-item:hover {
  border-color: var(--color-primary);
  transform: translateX(4px);
}

.academic-link-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--color-primary-subtle);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.academic-link-text strong {
  display: block;
  font-size: 0.98rem;
  color: var(--color-navy);
}

.academic-link-text span {
  font-size: 0.84rem;
  color: var(--text-muted);
}

.contact-form-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.35rem;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
  color: var(--color-navy);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background: #fbfbfa;
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-subtle);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* ==========================================================================
   FOOTER (LIGHT MINIMALIST)
   ========================================================================== */
.site-footer {
  background: #ffffff;
  color: var(--text-main);
  padding: 4.5rem 0 2.5rem;
  border-top: 1px solid var(--border-light);
}

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

.footer-brand h4 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.65;
  max-width: 420px;
}

.footer-col h5 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 1.25rem;
}

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

.footer-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
}

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-faint);
}

/* ==========================================================================
   MODAL DIALOGS
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(17, 35, 83, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 680px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 2.75rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.modal-backdrop.open .modal-card {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface-subtle);
  color: var(--text-muted);
  font-size: 1.25rem;
  transition: var(--transition-smooth);
}

.modal-close-btn:hover {
  background: var(--color-primary);
  color: #fff;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  .portrait-frame {
    max-width: 380px;
  }
  .portrait-caption-card {
    max-width: 380px;
  }
  .books-grid,
  .articles-grid,
  .press-grid,
  .videos-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 2rem;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
  }
  .nav-menu.open {
    display: flex;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .book-card,
  .article-card,
  .press-card {
    grid-template-columns: 1fr;
  }
  .book-cover-wrap img,
  .article-cover-wrap img,
  .press-media-wrap img {
    height: 220px;
  }
  .section-title {
    font-size: 2rem;
  }
  .hero-quote {
    font-size: 1.65rem;
  }
}
