:root{
  --bg:#f5f2ec;
  --paper:#fffdfa;
  --text:#1d2422;
  --muted:#66706c;
  --line:#ddd7cd;
  --accent:#234f43;
  --accent-2:#18382f;
  --max:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.65}
a{color:inherit}.wrap{width:min(calc(100% - 40px),var(--max));margin:0 auto}.narrow{max-width:820px}
.site-header{position:sticky;top:0;z-index:10;background:rgba(255,253,250,.94);border-bottom:1px solid var(--line);backdrop-filter:blur(10px)}
.header-inner{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:30px}.brand{text-decoration:none;display:flex;flex-direction:column;line-height:1.2}.brand-main{font-family:Georgia,"Times New Roman",serif;font-size:1.28rem;font-weight:700}.brand-sub{font-size:.76rem;color:var(--muted);margin-top:4px;letter-spacing:.02em}.main-nav{display:flex;gap:22px;align-items:center;flex-wrap:wrap}.main-nav a{text-decoration:none;font-size:.93rem;color:#39413e}.main-nav a:hover{color:var(--accent)}
.hero{padding:100px 0 84px}.hero-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(300px,.7fr);gap:72px;align-items:center}.eyebrow{text-transform:uppercase;letter-spacing:.13em;font-size:.76rem;font-weight:700;color:var(--accent);margin:0 0 16px}.hero h1,.page-hero h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(3rem,7vw,6.2rem);line-height:.98;letter-spacing:-.035em;margin:0;max-width:900px}.lead{font-size:1.18rem;color:#4e5854;max-width:760px;margin:28px 0 0}.hero-note{border-left:1px solid var(--line);padding-left:32px;color:#4f5955}.quote{font-family:Georgia,"Times New Roman",serif;font-size:1.7rem;color:var(--accent-2);margin-top:0}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:34px}.button{display:inline-flex;align-items:center;justify-content:center;padding:12px 18px;border-radius:999px;text-decoration:none;font-weight:650;font-size:.94rem;border:1px solid var(--accent)}.primary{background:var(--accent);color:white}.secondary{background:transparent;color:var(--accent)}
.section{padding:78px 0}.soft{background:#ebe7df}.section-heading{max-width:760px;margin-bottom:34px}.section h2{font-family:Georgia,"Times New Roman",serif;font-size:clamp(2rem,4vw,3.4rem);line-height:1.08;margin:0 0 18px}.cards{display:grid;gap:18px}.three{grid-template-columns:repeat(3,1fr)}.card{background:var(--paper);border:1px solid var(--line);border-radius:18px;padding:28px}.card h3{font-family:Georgia,"Times New Roman",serif;font-size:1.45rem;margin:0 0 12px}.card p{color:#59625f}.card a{color:var(--accent);font-weight:700;text-decoration:none}.split{display:grid;grid-template-columns:.8fr 1.2fr;gap:64px}.prose p{margin:0 0 1.25em}.article{font-size:1.08rem}.callout{display:flex;align-items:center;justify-content:space-between;gap:40px;padding:38px;background:var(--paper);border:1px solid var(--line);border-radius:20px}.callout p{max-width:760px}.page-hero{padding:92px 0 28px}.note-box{margin-top:40px;border-left:3px solid var(--accent);padding:20px 24px;background:var(--paper)}.note-box p{margin:.5rem 0 0}
.site-footer{border-top:1px solid var(--line);background:var(--paper);padding:42px 0}.footer-inner{display:flex;justify-content:space-between;gap:30px}.footer-inner p{color:var(--muted);max-width:650px;margin:.5rem 0 0}.footer-links{display:flex;gap:18px;align-items:flex-start;flex-wrap:wrap}.footer-links a{text-decoration:none;color:var(--accent)}
@media (max-width:850px){.header-inner{align-items:flex-start;flex-direction:column;padding:18px 0}.main-nav{gap:14px}.hero{padding-top:64px}.hero-grid,.split{grid-template-columns:1fr;gap:34px}.hero-note{border-left:0;border-top:1px solid var(--line);padding:26px 0 0}.three{grid-template-columns:1fr}.callout,.footer-inner{align-items:flex-start;flex-direction:column}.hero h1,.page-hero h1{font-size:clamp(2.6rem,12vw,4.8rem)}}
@media (max-width:520px){.wrap{width:min(calc(100% - 28px),var(--max))}.main-nav{font-size:.9rem}.hero{padding:52px 0}.section{padding:58px 0}.card{padding:22px}.callout{padding:26px}}

/* PATCH 02 — posição do logo e identidade no cabeçalho */
.brand{
  display:flex;
  flex-direction:row;
  align-items:center;
  gap:14px;
  text-decoration:none;
  line-height:1.2;
  min-width:0;
}
.brand-logo{
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
}
.brand-logo img{
  display:block;
  width:58px;
  height:auto;
  max-height:66px;
  object-fit:contain;
}
.brand-copy{
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-width:0;
}
.brand-main{
  display:block;
  font-family:Georgia,"Times New Roman",serif;
  font-size:1.28rem;
  font-weight:700;
  line-height:1.08;
  white-space:nowrap;
}
.brand-sub{
  display:block;
  font-size:.76rem;
  color:var(--muted);
  margin-top:5px;
  letter-spacing:.02em;
  line-height:1.25;
  white-space:nowrap;
}

@media (max-width:850px){
  .brand{
    flex-direction:row;
    align-items:center;
    gap:12px;
  }
}

@media (max-width:520px){
  .brand-logo img{
    width:48px;
    max-height:56px;
  }
  .brand-main{
    font-size:1.08rem;
    white-space:normal;
  }
  .brand-sub{
    font-size:.68rem;
    white-space:normal;
  }
}

/* PATCH 03 — ritmo vertical da página inicial */
.hero{
  padding-bottom:58px;
}
.hero + .section{
  padding-top:38px;
}
.section-heading{
  margin-bottom:28px;
}
.card{
  padding:26px;
}

@media (max-width:850px){
  .hero{
    padding-bottom:46px;
  }
  .hero + .section{
    padding-top:30px;
  }
}

@media (max-width:520px){
  .hero{
    padding-bottom:38px;
  }
  .hero + .section{
    padding-top:24px;
  }
  .card{
    padding:22px;
  }
}

/* PATCH 04 — ritmo histórico da página "Como tudo começou" */
.history-hero{
  padding-bottom:44px;
}
.history-intro{
  padding-top:34px;
  padding-bottom:64px;
}
.history-opening{
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(1.35rem,2.2vw,1.75rem);
  line-height:1.55;
  color:#2c3532;
  margin:0;
}
.history-journey{
  padding-top:74px;
  border-top:1px solid var(--line);
}
.history-wrap{
  max-width:1040px;
}
.history-heading{
  max-width:760px;
  margin-bottom:50px;
}
.history-heading h2{
  max-width:850px;
}
.timeline{
  position:relative;
  margin-left:10px;
}
.timeline::before{
  content:"";
  position:absolute;
  left:8px;
  top:10px;
  bottom:18px;
  width:1px;
  background:var(--line);
}
.timeline-item{
  position:relative;
  display:grid;
  grid-template-columns:18px 170px minmax(0,1fr);
  gap:28px;
  padding:0 0 54px;
}
.timeline-item:last-child{
  padding-bottom:8px;
}
.timeline-marker{
  position:relative;
  z-index:1;
  width:17px;
  height:17px;
  border-radius:50%;
  margin-top:8px;
  background:var(--bg);
  border:4px solid var(--accent);
}
.timeline-date{
  padding-top:3px;
  color:var(--accent);
  font-size:.78rem;
  font-weight:750;
  text-transform:uppercase;
  letter-spacing:.1em;
  line-height:1.4;
}
.timeline-content{
  max-width:700px;
  padding-bottom:6px;
}
.timeline-content h3{
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(1.55rem,2.6vw,2.05rem);
  line-height:1.15;
  margin:0 0 12px;
}
.timeline-content p{
  margin:0;
  color:#4f5955;
  font-size:1.05rem;
}
.timeline-item-current .timeline-marker{
  background:var(--accent);
  box-shadow:0 0 0 4px var(--bg);
}
.history-today{
  padding-top:72px;
}
.history-today-list{
  display:grid;
  gap:0;
  margin-top:34px;
  border-top:1px solid #d5cec2;
}
.history-today-list > div{
  display:grid;
  grid-template-columns:210px minmax(0,1fr);
  gap:30px;
  padding:24px 0;
  border-bottom:1px solid #d5cec2;
}
.history-today-list strong{
  font-family:Georgia,"Times New Roman",serif;
  font-size:1.15rem;
}
.history-today-list p{
  margin:0;
  color:#515b57;
}
.history-note{
  margin-top:46px;
}

/* Pronto para futuras imagens históricas reais. Não exibe placeholders. */
.history-media{
  margin:28px 0 0;
  border:1px solid var(--line);
  background:var(--paper);
  border-radius:14px;
  overflow:hidden;
}
.history-media img{
  display:block;
  width:100%;
  height:auto;
}
.history-media figcaption{
  padding:14px 16px;
  color:var(--muted);
  font-size:.88rem;
}

@media (max-width:760px){
  .history-intro{
    padding-bottom:52px;
  }
  .history-heading{
    margin-bottom:38px;
  }
  .timeline-item{
    grid-template-columns:18px minmax(0,1fr);
    gap:18px;
    padding-bottom:44px;
  }
  .timeline-date,
  .timeline-content{
    grid-column:2;
  }
  .timeline-date{
    margin-bottom:-12px;
  }
  .timeline-marker{
    grid-column:1;
    grid-row:1 / span 2;
  }
  .history-today-list > div{
    grid-template-columns:1fr;
    gap:8px;
  }
}

/* PATCH 05 — primeiros sites preservados (2005–2006) */
.timeline-item-sites .timeline-content{
  max-width:760px;
}
.history-site-evolution{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:22px;
  align-items:start;
  margin-top:26px;
}
.history-site-shot{
  margin:0;
  border-radius:10px;
  background:#f7f4ed;
}
.history-site-shot a{
  display:block;
  background:#dfe5ef;
  border-bottom:1px solid var(--line);
}
.history-site-shot img{
  width:100%;
  height:360px;
  object-fit:contain;
  object-position:top center;
  background:#dfe5ef;
}
.history-site-shot figcaption{
  line-height:1.5;
}
.history-site-shot figcaption strong{
  color:var(--ink);
  font-family:Georgia,"Times New Roman",serif;
  font-size:.98rem;
}
.history-media-note{
  margin-top:12px !important;
  color:var(--muted) !important;
  font-size:.86rem !important;
}

@media (max-width:900px){
  .history-site-evolution{
    grid-template-columns:1fr;
  }
  .history-site-shot img{
    height:auto;
    max-height:560px;
  }
}

/* PATCH 06 — reconhecimento documentado em 2006 */
.timeline-item-recognition .timeline-content{
  max-width:760px;
}
.history-documents{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  margin-top:24px;
}
.history-document{
  display:flex;
  flex-direction:column;
  gap:7px;
  padding:18px 18px 17px;
  border:1px solid var(--line);
  border-radius:10px;
  background:var(--paper);
  color:inherit;
  text-decoration:none;
  transition:border-color .18s ease, transform .18s ease;
}
.history-document:hover,
.history-document:focus-visible{
  border-color:#9daaa5;
  transform:translateY(-1px);
}
.history-document-type{
  color:var(--accent);
  font-size:.72rem;
  font-weight:750;
  letter-spacing:.09em;
  text-transform:uppercase;
}
.history-document strong{
  font-family:Georgia,"Times New Roman",serif;
  font-size:1.02rem;
  line-height:1.3;
}
.history-document span:last-child{
  color:var(--muted);
  font-size:.88rem;
  line-height:1.5;
}
.history-source-note{
  margin-top:13px !important;
  color:var(--muted) !important;
  font-size:.84rem !important;
}
@media (max-width:760px){
  .history-documents{
    grid-template-columns:1fr;
  }
}

/* PATCH 07 — vozes da comunidade e colaboração de Fabrício Miranda */
.timeline-item-community .timeline-content{
  max-width:780px;
}
.history-voices{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  margin-top:28px;
}
.history-voice{
  margin:0;
  padding:21px 20px 18px;
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:14px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  min-height:245px;
}
.history-voice p{
  margin:0 0 20px !important;
  color:#303a36 !important;
  font-family:Georgia,"Times New Roman",serif;
  font-size:1.05rem !important;
  line-height:1.55;
}
.history-voice footer{
  display:flex;
  flex-direction:column;
  gap:2px;
  padding-top:14px;
  border-top:1px solid var(--line);
}
.history-voice footer strong{
  font-size:.9rem;
  color:var(--accent-2);
}
.history-voice footer span{
  color:var(--muted);
  font-size:.78rem;
}
.history-preservation-quote{
  margin-top:20px;
  padding:24px 26px;
  border-left:3px solid var(--accent);
  background:#eee9e0;
}
.history-preservation-quote p{
  margin:0 0 10px !important;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(1.15rem,2vw,1.42rem) !important;
  line-height:1.55;
  color:#27322e !important;
}
.history-preservation-quote span{
  color:var(--muted);
  font-size:.84rem;
}
.history-collaborator{
  margin-top:30px;
  padding:28px 30px;
  border:1px solid #d1cbc0;
  border-radius:16px;
  background:#f8f5ef;
}
.history-collaborator-kicker{
  margin:0 0 5px !important;
  color:var(--accent) !important;
  font-size:.76rem !important;
  font-weight:750;
  text-transform:uppercase;
  letter-spacing:.1em;
}
.history-collaborator h4{
  margin:0 0 14px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:1.7rem;
  line-height:1.15;
}
.history-collaborator h4 a{
  color:var(--accent-2);
  text-decoration-thickness:1px;
  text-underline-offset:4px;
}
.history-collaborator p{
  margin:0 0 14px !important;
}
.history-collaborator blockquote{
  margin:18px 0;
  padding:2px 0 2px 20px;
  border-left:2px solid var(--accent);
  font-family:Georgia,"Times New Roman",serif;
  font-size:1.24rem;
  line-height:1.5;
  color:#27322e;
}
.history-collaborator-link{
  display:inline-block;
  margin-top:2px;
  color:var(--accent);
  font-weight:700;
  text-decoration:none;
}
.history-collaborator-link:hover,
.history-collaborator-link:focus{
  text-decoration:underline;
  text-underline-offset:3px;
}

@media (max-width:900px){
  .history-voices{
    grid-template-columns:1fr;
  }
  .history-voice{
    min-height:0;
  }
}

@media (max-width:520px){
  .history-preservation-quote,
  .history-collaborator{
    padding:21px 20px;
  }
}
