/* ══════════════════════════════════════
   RESET & VARIÁVEIS
══════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --parchment: #f2ead8;
  --ink:       #2c1f0e;
  --gold:      #a07830;
  --gold-lt:   #c9a45a;
  --rust:      #8b3a2a;
  --paper:     #faf5e6;
  --shadow:    rgba(0,0,0,.12);
  --dark-bg:   #1e1409;
  --dark-card: #261b0d;
  --dark-text: #e8dfc8;
}

html { scroll-behavior: smooth; }

body {
  background: var(--parchment);
  font-family: 'EB Garamond', serif;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
}

body::before {
  content: '';
  position: fixed; inset: 0;
  background-image:
    radial-gradient(ellipse at 15% 10%, rgba(180,140,80,.06) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 90%, rgba(120,80,40,.05) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}

/* ══════════════════════════════════════
   NAVBAR
══════════════════════════════════════ */
nav {
  width: 100%;
  background: var(--parchment);
  padding: 0 clamp(20px,5vw,60px);
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid rgba(160,120,48,.25);
  box-shadow: 0 2px 20px rgba(44,31,14,.06);
}
.nav-top {
  display: flex; justify-content: center; align-items: center;
  gap: 16px; padding: 9px 0 7px;
  border-bottom: 1px solid rgba(160,120,48,.13);
  font-style: italic; font-size: clamp(.65rem,1.5vw,.77rem);
  letter-spacing: .16em; color: var(--gold); flex-wrap: wrap;
}
.nav-top span { opacity: .55; font-style: normal; }
.nav-main {
  display: flex; align-items: center;
  justify-content: space-between; padding: 16px 0 0; gap: 16px;
}
.logo { display: flex; flex-direction: column; line-height: 1; flex-shrink: 0; }
.logo-main {
  font-family: 'Playfair Display', serif; font-style: italic;
  font-size: clamp(1.1rem,3vw,1.5rem); color: var(--ink);
}
.logo-sub {
  font-size: clamp(.55rem,1.2vw,.67rem); letter-spacing: .24em;
  text-transform: uppercase; color: var(--gold); margin-top: 4px;
}
.nav-toggle {
  display: none; background: none;
  border: 1px solid rgba(160,120,48,.3); color: var(--gold);
  font-size: 1.1rem; padding: 6px 10px; cursor: pointer;
  border-radius: 2px; flex-shrink: 0;
}
.nav-links {
  display: flex; align-items: center;
  gap: 0; list-style: none; flex-wrap: wrap;
}
.nav-links li a {
  display: block; padding: 6px clamp(10px,2vw,20px);
  font-size: clamp(.68rem,1.3vw,.8rem); letter-spacing: .18em;
  text-transform: uppercase; color: var(--ink);
  text-decoration: none; position: relative; transition: color .25s;
}
.nav-links li a::after {
  content: ''; position: absolute;
  left: clamp(10px,2vw,20px); right: clamp(10px,2vw,20px);
  bottom: -2px; height: 1px; background: var(--rust);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s cubic-bezier(.22,1,.36,1);
}
.nav-links li a:hover, .nav-links li a.active { color: var(--rust); }
.nav-links li a:hover::after, .nav-links li a.active::after { transform: scaleX(1); }
.nav-links li + li { border-left: 1px solid rgba(160,120,48,.2); }
.nav-rule {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0; color: var(--gold-lt); font-style: italic; font-size: .75rem;
}
.nav-rule::before, .nav-rule::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(160,120,48,.35), transparent);
}

@media (max-width: 700px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; flex-direction: column;
    align-items: stretch; width: 100%; padding: 8px 0 16px; gap: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li + li { border-left: none; border-top: 1px solid rgba(160,120,48,.12); }
  .nav-links li a { padding: 12px 4px; font-size: .8rem; }
  .nav-links li a::after { left: 4px; right: 4px; }
  .nav-top { font-size: .62rem; gap: 8px; }
  .nav-rule { display: none; }
}

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.chars-hero {
  position: relative; z-index: 1;
  text-align: center;
  padding: clamp(48px,10vh,96px) clamp(24px,6vw,80px);
  display: flex; flex-direction: column; align-items: center; gap: 20px;
}

/* decorative tape strips */
.hero-tape {
  width: 100%; height: 2px;
  background: repeating-linear-gradient(
    90deg,
    rgba(160,120,48,.22) 0px,
    rgba(160,120,48,.22) 18px,
    transparent 18px,
    transparent 28px
  );
}

.hero-eyebrow {
  font-size: clamp(.6rem,1.4vw,.7rem);
  letter-spacing: .38em; text-transform: uppercase; color: var(--gold);
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem,8vw,6rem);
  line-height: .98; color: var(--ink);
}
.hero-title em { color: var(--rust); font-style: italic; display: block; }
.hero-sub {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: clamp(.95rem,2vw,1.18rem); line-height: 1.65;
  color: rgba(44,31,14,.6); max-width: 520px;
}


/* ══════════════════════════════════════
   DOSSIER GRID
══════════════════════════════════════ */
.dossier-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr));
  gap: clamp(20px,3vw,36px);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px,4vw,48px) clamp(60px,10vh,100px);
}

/* ── Dossier card ── */
.dossier {
  position: relative;
  background: var(--paper);
  border: 1px solid rgba(160,120,48,.18);
  box-shadow: 3px 6px 28px rgba(0,0,0,.08);
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 0;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
  animation: dossierIn .55s cubic-bezier(.22,1,.36,1) both;
}
.dossier:hover {
  transform: translateY(-4px);
  box-shadow: 6px 14px 44px rgba(0,0,0,.13);
}

@keyframes dossierIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* stagger */
.dossier:nth-child(1) { animation-delay: .05s; }
.dossier:nth-child(2) { animation-delay: .12s; }
.dossier:nth-child(3) { animation-delay: .19s; }
.dossier:nth-child(4) { animation-delay: .26s; }
.dossier:nth-child(5) { animation-delay: .33s; }
.dossier:nth-child(6) { animation-delay: .40s; }

/* dark variant */
.dossier--dark {
  background: var(--dark-card);
  border-color: rgba(201,164,90,.12);
  color: var(--dark-text);
}

/* wide variant (secretárias) */
.dossier--wide {
  grid-column: 1 / -1;
  grid-template-columns: auto 1fr;
}

/* ── Stamp ── */
.dossier-stamp {
  position: absolute;
  top: 14px; right: 14px;
  font-size: .55rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--rust); border: 1px solid rgba(139,58,42,.35);
  padding: 3px 8px; font-family: 'EB Garamond', serif;
  opacity: .7;
}
.dossier-stamp--secondary { color: var(--gold); border-color: rgba(160,120,48,.35); }
.dossier-stamp--gold { color: var(--gold-lt); border-color: rgba(201,164,90,.35); }

/* ── Photo col ── */
.dossier-photo-wrap {
  display: flex; flex-direction: column;
  align-items: center;
  background: rgba(0,0,0,.06);
  border-right: 1px solid rgba(160,120,48,.12);
  padding: clamp(20px,3vw,28px) 16px;
  gap: 12px;
  flex-shrink: 0;
}
.dossier--dark .dossier-photo-wrap {
  background: rgba(0,0,0,.25);
  border-right-color: rgba(201,164,90,.08);
}

.dossier-photo {
  position: relative;
  width: 112px; height: 140px;
  border: 2px solid rgba(160,120,48,.2);
  overflow: hidden;
  flex-shrink: 0;
}
.dossier-photo img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  filter: sepia(.12) contrast(1.04);
  transition: transform .4s ease, filter .3s ease;
}
.dossier:hover .dossier-photo img {
  transform: scale(1.05);
  filter: sepia(0) contrast(1.07);
}
/* missing photo fallback */
.dossier-photo.photo-missing img { display: none; }
.dossier-photo.photo-missing .photo-missing-inner { display: flex; }
.photo-missing-inner {
  display: none;
  position: absolute; inset: 0;
  align-items: center; justify-content: center;
  background: linear-gradient(135deg, #2a1e10, #1a1208);
  font-family: 'Playfair Display', serif; font-style: italic;
  font-size: 2rem; color: rgba(201,164,90,.4);
}

.dossier-photo-meta { text-align: center; }
.actor-label {
  display: block; font-size: .54rem;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); opacity: .7; margin-bottom: 4px;
}
.actor-name {
  display: block; font-family: 'Playfair Display', serif;
  font-style: italic; font-size: clamp(.78rem,1.4vw,.9rem);
  color: var(--ink); line-height: 1.3;
}
.dossier--dark .actor-name { color: var(--dark-text); }

/* ── Group photos (secretárias) ── */
.dossier-group-photos {
  display: flex; flex-direction: column;
  gap: 8px; padding: clamp(20px,3vw,28px) 16px;
  background: rgba(0,0,0,.25);
  border-right: 1px solid rgba(201,164,90,.08);
  flex-shrink: 0;
}
.group-photo {
  position: relative; width: 96px; height: 72px;
  border: 1px solid rgba(201,164,90,.15); overflow: hidden;
}
.group-photo img {
  width: 100%; height: 100%; object-fit: cover;
  filter: sepia(.2) contrast(1.04);
  transition: filter .3s ease;
}
.dossier:hover .group-photo img { filter: sepia(0) contrast(1.07); }
.group-photo.photo-missing img { display: none; }
.group-photo.photo-missing .photo-missing-inner { display: flex; }
.group-photo .photo-missing-inner { font-size: 1.2rem; }

/* ── Dossier body ── */
.dossier-body {
  padding: clamp(20px,3vw,28px) clamp(18px,3vw,28px);
  display: flex; flex-direction: column; gap: 16px;
  min-width: 0;
}

.dossier-header { display: flex; flex-direction: column; gap: 6px; }
.dossier-eyebrow {
  font-size: .58rem; letter-spacing: .28em;
  text-transform: uppercase; color: var(--gold);
}
.dossier--dark .dossier-eyebrow { color: var(--gold-lt); opacity: .75; }

.dossier-name {
  font-family: 'Playfair Display', serif; font-style: italic;
  font-size: clamp(1.2rem,2.5vw,1.65rem);
  color: var(--ink); line-height: 1.1;
}
.dossier--dark .dossier-name { color: var(--dark-text); }

.dossier-rule {
  width: 48px; height: 1px;
  background: linear-gradient(90deg, var(--rust), transparent);
  margin-top: 2px;
}
.dossier--dark .dossier-rule { background: linear-gradient(90deg, var(--gold-lt), transparent); }

/* fields */
.dossier-fields {
  display: flex; flex-direction: column; gap: 6px;
  padding: 12px 0;
  border-top: 1px solid rgba(160,120,48,.12);
  border-bottom: 1px solid rgba(160,120,48,.12);
}
.dossier--dark .dossier-fields {
  border-color: rgba(201,164,90,.1);
}
.field {
  display: grid; grid-template-columns: 90px 1fr; gap: 8px;
  font-size: clamp(.72rem,1.3vw,.82rem);
}
.field-key {
  font-size: .6rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold);
  align-self: start; padding-top: 2px;
}
.dossier--dark .field-key { color: var(--gold-lt); opacity: .7; }
.field-val { color: var(--ink); line-height: 1.45; }
.dossier--dark .field-val { color: var(--dark-text); opacity: .85; }

/* bio */
.dossier-bio {
  font-size: clamp(.82rem,1.5vw,.96rem);
  line-height: 1.78; color: #4a3420;
}
.dossier--dark .dossier-bio { color: rgba(232,223,200,.75); }
.dossier-bio em { color: var(--rust); font-style: italic; }
.dossier--dark .dossier-bio em { color: var(--gold-lt); }

/* quote */
.dossier-quote {
  font-family: 'IM Fell English', serif; font-style: italic;
  font-size: clamp(.8rem,1.5vw,.92rem);
  line-height: 1.6;
  padding: 10px 14px;
  border-left: 2px solid rgba(139,58,42,.3);
  color: rgba(44,31,14,.55);
  quotes: none;
}
.dossier--dark .dossier-quote {
  border-left-color: rgba(201,164,90,.25);
  color: rgba(232,223,200,.5);
}

/* arc */
.dossier-arc { margin-top: auto; }
.arc-label {
  font-size: .56rem; letter-spacing: .24em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 8px;
}
.dossier--dark .arc-label { color: var(--gold-lt); opacity: .65; }

.arc-track {
  display: flex; align-items: center; gap: 0;
  flex-wrap: nowrap; overflow-x: auto;
  scrollbar-width: none;
}
.arc-track::-webkit-scrollbar { display: none; }

.arc-step {
  display: flex; align-items: center;
  flex-shrink: 0; opacity: 0;
  transition: opacity .35s ease;
}
.arc-step.visible { opacity: 1; }

.arc-step span {
  font-size: .6rem; letter-spacing: .14em;
  text-transform: uppercase; padding: 4px 10px;
  background: rgba(160,120,48,.1);
  border: 1px solid rgba(160,120,48,.2);
  color: var(--gold); white-space: nowrap;
  transition: background .25s, color .25s;
}
.arc-step.done span {
  background: rgba(139,58,42,.12);
  border-color: rgba(139,58,42,.3);
  color: var(--rust);
}
.dossier--dark .arc-step span {
  background: rgba(201,164,90,.08);
  border-color: rgba(201,164,90,.15);
  color: var(--gold-lt);
}
.dossier--dark .arc-step.done span {
  background: rgba(139,58,42,.25);
  border-color: rgba(139,58,42,.5);
  color: #d4856e;
}

/* arrow between steps */
.arc-step:not(:last-child)::after {
  content: '→';
  font-size: .6rem; color: rgba(160,120,48,.35);
  padding: 0 3px; flex-shrink: 0;
}
.dossier--dark .arc-step:not(:last-child)::after {
  color: rgba(201,164,90,.25);
}

/* secretárias tags */
.secretarias-tags {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px;
}
.tag {
  font-size: .58rem; letter-spacing: .2em; text-transform: uppercase;
  padding: 5px 12px;
  border: 1px solid rgba(201,164,90,.25);
  color: var(--gold-lt); background: rgba(201,164,90,.06);
}

/* ── Mobile: single column card ── */
@media (max-width: 580px) {
  .dossier {
    grid-template-columns: 1fr;
  }
  .dossier-photo-wrap {
    flex-direction: row; border-right: none;
    border-bottom: 1px solid rgba(160,120,48,.12);
    padding: 16px clamp(16px,4vw,24px);
    align-items: center;
  }
  .dossier-photo { width: 80px; height: 100px; }
  .dossier--dark .dossier-photo-wrap {
    border-bottom-color: rgba(201,164,90,.08);
  }
  .dossier--wide .dossier-group-photos {
    flex-direction: row; border-right: none;
    border-bottom: 1px solid rgba(201,164,90,.08);
    padding: 16px;
  }
  .group-photo { width: 72px; height: 56px; }
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.chars-footer {
  position: relative; z-index: 1;
  text-align: center;
  padding: clamp(40px,6vh,60px) 24px;
  border-top: 1px solid rgba(160,120,48,.15);
}
.footer-ornament {
  color: var(--gold-lt); letter-spacing: .5em;
  font-size: .8rem; margin-bottom: 20px;
}
.footer-tagline {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: clamp(1rem,2.2vw,1.3rem);
  color: rgba(44,31,14,.55); margin-bottom: 12px;
}
.footer-credit {
  font-size: .6rem; letter-spacing: .26em;
  text-transform: uppercase; color: rgba(160,120,48,.45);
}


.btn-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px; /* Espaçamento entre o ícone e o texto */
    background-color: #f8efd5;
    color: #333;
    text-decoration: none;
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: Arial, sans-serif;
    font-weight: bold;
    transition: background-color 0.3s, box-shadow 0.3s;
}

/* Efeito ao passar o mouse */
.btn-link:hover {
    background-color:  #f2ead8;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.icone {
    width: 24px;
    height: 24px;
    width: 30px;
    height: 30px;
    object-fit: cover; /* Garante que a imagem não fique distorcida */
    border-radius: 50%;
}