:root {
  color-scheme: light;
  /* Off-white levemente rosado, turquesa como cor principal e rosé só em detalhes */
  --ink: #1d2a33;
  --muted: #66707a;
  --line: #e9e4e2;
  --bg: #fcfaf9;
  --bg-soft: #f2f8f7;
  --surface: #ffffff;
  --accent: #0b7f80;        /* texto, links e botões (contraste AA) */
  --accent-dark: #0a6a6b;
  --accent-soft: #e2f4f3;
  --turquoise: #0f9b9a;     /* números grandes e decoração */
  --rose: #a85d6b;
  --rose-soft: #f8eaec;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(29, 42, 51, 0.04), 0 12px 32px -18px rgba(11, 127, 128, 0.28);
  --serif: 'Outfit', system-ui, -apple-system, sans-serif; /* títulos e números */
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); margin-bottom: 2rem; }
.mono { font-family: var(--mono); }
.small { font-size: 0.85rem; }

.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--ink); color: #fff; padding: 0.5rem 1rem; border-radius: 8px; }
.skip:focus { top: 12px; }

.container { width: min(1080px, 100% - 32px); margin-inline: auto; }
.container.narrow { width: min(680px, 100% - 32px); }
.section {
  --section-pad: clamp(4.5rem, 10vw, 7rem);
  position: relative; padding: var(--section-pad) 0;
  /* ao navegar pelo menu, o título fica logo abaixo da barra fixa, sem o respiro de cima */
  scroll-margin-top: calc(1.75rem - var(--section-pad));
}
.section.alt { background: var(--bg-soft); }
.kicker {
  display: flex; align-items: center; gap: 0.75rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin: 0 0 1rem;
}
.kicker span { color: var(--rose); }

.monogram {
  display: inline-grid; place-items: center; flex: none;
  width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--accent); color: var(--bg);
  font-family: var(--serif); font-weight: 600; font-size: 1.05rem; line-height: 1;
}
.monogram-lg { width: 3rem; height: 3rem; font-size: 1.7rem; }
/* capelo de formatura inclinado sobre o "J" */
.monogram { position: relative; }
.monogram-cap {
  position: absolute; left: 52%; top: -0.68em; width: 1.95em; height: auto;
  transform: translateX(-50%) rotate(-12deg); overflow: visible; pointer-events: none;
}
.cap-board, .cap-body { fill: var(--ink); }
.cap-board { stroke: var(--bg); stroke-width: 1.2; stroke-linejoin: round; }
.cap-tassel { stroke: var(--rose); stroke-width: 1.3; stroke-linecap: round; }
.cap-tassel-end { fill: var(--rose); }
.nav-brand { padding-top: 0.35rem; }

/* ---------- NAV ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.75rem clamp(16px, 4vw, 40px);
  background: rgba(250, 248, 243, 0.88); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-brand { display: flex; align-items: center; gap: 0.6rem; color: var(--ink); text-decoration: none; }
.nav-brand-text { font-family: var(--serif); font-size: 1.1rem; font-weight: 600; letter-spacing: -0.02em; }
.nav-brand-text em { font-family: var(--mono); font-style: normal; font-size: 0.75rem; font-weight: 400; color: var(--muted); margin-left: 0.25rem; }
.nav nav { display: flex; gap: 0.25rem; align-items: center; }
.nav nav a { color: var(--muted); text-decoration: none; font-size: 0.9rem; font-weight: 500; padding: 0.45rem 0.7rem; border-radius: 999px; transition: color 0.15s, background 0.15s; }
.nav nav a:hover { color: var(--ink); }
.nav nav a[aria-current] { color: var(--ink); background: var(--bg-soft); }
.nav .nav-cta { margin-left: 0.5rem; background: var(--accent); color: #fff !important; padding: 0.5rem 1rem; }
.nav .nav-cta:hover, .nav .nav-cta[aria-current] { background: var(--accent-dark); }
@media (max-width: 1000px) {
  .nav nav a:not(.nav-cta) { display: none; }
}
@media (max-width: 420px) {
  .nav-brand-text em { display: none; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
  padding: clamp(6rem, 12vw, 7.5rem) 0 clamp(5rem, 10vw, 6.5rem);
}
.hero > .container { width: min(1080px, 100% - 32px); }
/* brilho turquesa suave atrás do topo */
.hero::before {
  content: ''; position: absolute; z-index: -1; pointer-events: none;
  width: min(720px, 120vw); aspect-ratio: 1; top: -22%; right: -12%;
  background: radial-gradient(circle, rgba(15, 155, 154, 0.16), rgba(248, 234, 236, 0.5) 45%, transparent 70%);
  filter: blur(10px);
}
.hero > .container { position: relative; }
.countdown { margin-top: clamp(1.25rem, 3vw, 1.75rem); padding-top: clamp(1.25rem, 3vw, 1.75rem); border-top: 1px solid var(--line); }
.countdown p { margin: 0; }
.countdown-days { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 clamp(0.6rem, 1.6vw, 0.9rem); font-family: var(--serif); line-height: 0.85; }
.countdown-days strong {
  font-family: var(--serif); font-size: clamp(3.75rem, 12vw, 6.5rem); font-weight: 300; color: var(--turquoise);
  letter-spacing: -0.06em; font-variant-numeric: tabular-nums;
}
.countdown-days span { font-size: clamp(1.25rem, 3.5vw, 1.9rem); font-weight: 500; color: var(--ink); letter-spacing: -0.02em; }
.countdown-rest { margin-top: 0.75rem !important; color: var(--muted); font-size: clamp(0.92rem, 2vw, 1.05rem); }
.countdown-rest .mono { color: var(--ink); font-variant-numeric: tabular-nums; margin-right: 0.35rem; }
.countdown.done { font-family: var(--serif); font-size: clamp(2.5rem, 8vw, 4.5rem); font-weight: 500; color: var(--accent); }

.hero h1 { font-size: clamp(2.1rem, 6.5vw, 3.75rem); font-weight: 600; }
.hero-id { display: flex; align-items: center; gap: clamp(1.25rem, 4vw, 2.5rem); }

.scroll-hint {
  position: absolute; left: 50%; bottom: clamp(1.25rem, 4vh, 2.25rem); transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.2rem;
  font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); text-decoration: none;
}
.scroll-hint:hover { color: var(--accent); }
.scroll-arrow { font-size: 1rem; animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(4px); } }
@media (prefers-reduced-motion: reduce) { .scroll-arrow { animation: none; } }
@media (max-height: 560px) { .scroll-hint { display: none; } }

.events-section { border-top: 1px solid var(--line); }
.hero-text { min-width: 0; flex: 1; }
.avatar { flex: none; width: clamp(6rem, 18vw, 11rem); height: auto; aspect-ratio: 1; border-radius: 50%; object-fit: cover; background: var(--bg-soft); border: 3px solid var(--surface); box-shadow: 0 0 0 1px var(--line), 0 0 0 5px var(--bg), 0 0 0 6px var(--accent); }
.avatar-sm { width: 3.5rem; border-width: 2px; box-shadow: 0 0 0 1px var(--line); }
@media (max-width: 560px) { .hero-id { flex-direction: column; align-items: flex-start; } }
/* capelo sobre a foto redonda (escala junto com a foto) */
.avatar-wrap { position: relative; display: inline-block; flex: none; line-height: 0; margin-top: 1.5rem; }
.avatar-wrap-sm { margin-top: 1rem; }
.avatar-cap {
  position: absolute; left: 54%; top: -34%; width: 78%; height: auto;
  transform: translateX(-50%) rotate(-12deg); overflow: visible; pointer-events: none;
  filter: drop-shadow(0 2px 3px rgba(29, 42, 51, 0.18));
}
.hero-sub { font-size: clamp(1rem, 2.2vw, 1.2rem); color: var(--muted); margin: 0.5rem 0 0; }
.hero-year { font-family: var(--mono); font-size: 0.9em; color: var(--rose); }

/* ---------- EVENTOS ---------- */
.events { display: grid; gap: 1rem; }
.event {
  display: grid; grid-template-columns: 12.5rem 1fr; gap: clamp(1.25rem, 4vw, 2.5rem);
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.event p { margin: 0; }
.event-date { display: flex; flex-direction: column; gap: 0.3rem; padding-right: clamp(1.25rem, 4vw, 2.5rem); border-right: 1px solid var(--line); }
.event-tag { font-family: var(--mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--rose); font-weight: 500; margin-bottom: 0.4rem !important; }
.event-day { font-family: var(--serif); font-size: clamp(3.5rem, 8.5vw, 4.75rem); font-weight: 300; color: var(--turquoise); line-height: 0.9; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.event-month { display: flex; flex-direction: column; line-height: 1.35; }
.event-month strong { font-size: 1.05rem; font-weight: 600; }
.event-month span { color: var(--muted); }
.event-body { display: flex; flex-direction: column; gap: 1.1rem; min-width: 0; }
.event-info { margin: 0; display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 1rem 1.5rem; }
.event-row dt { font-size: 0.8rem; color: var(--muted); margin-bottom: 0.15rem; }
.event-row dd { margin: 0; }
.event-row dd strong { display: block; font-size: 1.1rem; font-weight: 600; }
.event-row dd span { display: block; font-size: 0.88rem; color: var(--muted); }
.event-note { font-size: 0.92rem; color: var(--ink); line-height: 1.5; padding: 0.75rem 0.9rem; background: var(--bg); border-radius: 8px; border-left: 2px solid var(--rose); }
.event-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; margin-top: auto; padding-top: 0.25rem; }
.event-links { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.9rem; font-size: 0.9rem; }
.event-links-label { color: var(--muted); }
.event-links a, .event-map, .rsvp-done-actions a { font-weight: 500; text-decoration: none; font-size: 0.9rem; }
.event-links a:hover, .event-map:hover, .rsvp-done-actions a:hover { text-decoration: underline; }
.event-map::after { content: ' →'; }
@media (max-width: 760px) {
  .event { grid-template-columns: 1fr; }
  .event-date { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 0.25rem 1rem; padding: 0 0 1.1rem; border-right: 0; border-bottom: 1px solid var(--line); }
  .event-tag { flex-basis: 100%; }
  .event-info { grid-template-columns: 1fr 1fr; }
  .event-info .event-row:nth-child(2) { grid-column: 1 / -1; grid-row: 1; }
  .event-actions .btn { width: 100%; }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  font: 600 0.95rem var(--sans);
  min-height: 46px; padding: 0.75rem 1.4rem; border-radius: 999px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.btn:disabled { opacity: 0.6; cursor: wait; }
.btn-block { width: 100%; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); min-height: 40px; padding: 0.55rem 1.1rem; font-size: 0.9rem; }
.btn-outline:hover { border-color: var(--ink); }
.link-btn { background: none; border: 0; padding: 0; font: 500 0.9rem var(--sans); color: var(--muted); text-decoration: underline; cursor: pointer; }
.link-btn:hover { color: var(--ink); }

/* ---------- WELCOME ---------- */
.lead p { font-size: clamp(1.05rem, 2vw, 1.15rem); line-height: 1.8; margin: 0 0 1.25rem; }
.lead p:first-child { font-family: var(--serif); font-size: clamp(1.25rem, 2.6vw, 1.5rem); line-height: 1.5; font-weight: 500; letter-spacing: -0.015em; }
.lead p:last-child { margin-bottom: 0; }
.lead strong { font-weight: 600; color: var(--ink); }
.lead h3 { font-size: clamp(1.25rem, 2.6vw, 1.5rem); margin: clamp(2.5rem, 5vw, 3.25rem) 0 1.25rem; padding-top: clamp(2rem, 4vw, 2.5rem); border-top: 1px solid var(--line); }

/* ---------- GALLERY ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 0.75rem; }
.gallery figure {
  margin: 0; aspect-ratio: 1;
  border-radius: 12px; overflow: hidden; position: relative; cursor: zoom-in;
  background: var(--line);
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.gallery figure:hover img { transform: scale(1.02); }
.gallery figcaption {
  position: absolute; inset: auto 0 0 0; padding: 2rem 1rem 0.8rem;
  color: #fff; font-size: 0.88rem;
  background: linear-gradient(transparent, rgba(22, 26, 46, 0.75));
  opacity: 0; transition: opacity 0.25s;
}
.gallery figure:hover figcaption, .gallery figure:focus-visible figcaption { opacity: 1; }
@media (hover: none) { .gallery figcaption { opacity: 1; } }
.gallery .placeholder {
  cursor: default; display: grid; place-items: center; text-align: center;
  color: var(--muted); font-size: 0.85rem; padding: 1rem;
  background: var(--bg); border: 1px dashed var(--line);
}
.gallery-empty-note { text-align: center; color: var(--muted); margin-top: 1rem; font-size: 0.9rem; }

.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(22, 26, 46, 0.95);
  display: grid; place-items: center; padding: 16px;
}
.lightbox figure { margin: 0; text-align: center; }
.lightbox img { max-width: 92vw; max-height: 82vh; border-radius: 8px; margin: auto; }
.lightbox figcaption { color: rgba(255,255,255,0.85); margin-top: 0.75rem; }
.lightbox button {
  position: absolute; background: rgba(255,255,255,0.1); color: #fff; border: 0;
  width: 44px; height: 44px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; line-height: 1;
}
.lightbox button:hover { background: rgba(255,255,255,0.2); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ---------- FORMS ---------- */
.card { background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form { padding: clamp(1.25rem, 4vw, 1.75rem); display: grid; gap: 1.1rem; }
.form label { display: grid; gap: 0.35rem; font-weight: 500; font-size: 0.9rem; }
.form label > span { display: flex; justify-content: space-between; gap: 0.5rem; }
.form small { color: var(--muted); font-weight: 400; }
.form input:not([type=checkbox]):not([type=radio]), .form select, .form textarea {
  font: inherit; font-size: 1rem; font-weight: 400; color: var(--ink);
  min-height: 46px; padding: 0.7rem 0.85rem; border: 1px solid var(--line); border-radius: 12px;
  background: var(--bg); width: 100%;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); background: var(--surface); box-shadow: 0 0 0 3px var(--accent-soft); }
.form textarea { resize: vertical; }
.form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 0.35rem; min-width: 0; }
.form legend { font-weight: 500; font-size: 0.9rem; padding: 0; margin-bottom: 0.35rem; }
.form .check {
  display: flex; align-items: center; gap: 0.6rem; font-weight: 500;
  padding: 0.7rem 0.9rem; border: 1px solid var(--line); border-radius: 12px; cursor: pointer;
}
.form .check:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.form .check input { width: 18px; height: 18px; accent-color: var(--accent); }
.form .check small { margin-left: auto; font-size: 0.8rem; }
.form-msg { margin: 0; min-height: 1.2em; font-size: 0.9rem; text-align: center; }
.form-msg:empty { display: none; }
.form-msg.ok { color: #1f7a4a; }
.form-msg.err { color: #b42318; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.field-err { color: #b42318; font-size: 0.85rem; font-weight: 500; }
.field-err:empty { display: none; }
.form [aria-invalid="true"] { border-color: #b42318 !important; background: #fdf3f2 !important; }
.contador { font-family: var(--mono); font-size: 0.75rem; }

/* Escolha em botões (acompanhantes) */
.segmented { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.segmented label { position: relative; display: block; }
.segmented input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.form .segmented label > span {
  display: grid; place-items: center; justify-content: center; min-height: 46px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--bg); font-weight: 500; transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.segmented input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-dark); }
.segmented input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- RSVP ---------- */
.rsvp-section { background: var(--bg-soft); }
.rsvp-section h2 { margin-bottom: 1rem; }
.rsvp-wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.rsvp-intro > p { color: var(--muted); font-size: 1.08rem; margin: 0 0 0.75rem; }
.rsvp-intro strong { color: var(--ink); }
.rsvp-intro .rsvp-hint { font-size: 0.9rem; }
.rsvp-done { padding: clamp(1.5rem, 5vw, 2.5rem); text-align: center; display: grid; justify-items: center; gap: 0.6rem; }
.rsvp-done:focus { outline: none; }
.rsvp-check { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 1.5rem; font-weight: 700; margin-bottom: 0.25rem; }
.rsvp-done h3 { font-size: clamp(1.5rem, 3.5vw, 1.9rem); }
.rsvp-done p { margin: 0; color: var(--muted); max-width: 34ch; }
.rsvp-done-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.25rem 0.9rem; font-size: 0.9rem; margin: 0.75rem 0 0.5rem; padding-top: 1rem; border-top: 1px solid var(--line); width: 100%; }
@media (max-width: 860px) { .rsvp-wrap { grid-template-columns: 1fr; } }

/* ---------- MURAL ---------- */
.mural-wrap { display: grid; grid-template-columns: minmax(280px, 360px) 1fr; gap: 2rem; align-items: start; }
.mural-wrap > form { position: sticky; top: 90px; }
.mural { columns: 2 240px; column-gap: 1rem; }
.recado {
  break-inside: avoid; margin: 0 0 1rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.1rem 1.25rem 1rem;
  box-shadow: var(--shadow);
}
.recado p { margin: 0 0 0.9rem; white-space: pre-line; overflow-wrap: anywhere; }
.recado footer { display: flex; justify-content: space-between; gap: 0.5rem; font-size: 0.85rem; }
.recado footer strong { font-family: var(--serif); font-weight: 600; font-size: 0.95rem; }
.recado footer time { color: var(--muted); }
.recado.novo { animation: pop 0.4s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } }
.mural-empty { column-span: all; break-inside: avoid; margin: 0; color: var(--muted); text-align: center; padding: 3rem 1rem; border: 1px dashed var(--line); border-radius: var(--radius); }
@media (max-width: 860px) {
  .mural-wrap { grid-template-columns: 1fr; }
  .mural-wrap > form { position: static; }
}

/* ---------- FOOTER ---------- */
.footer { display: grid; justify-items: center; gap: 0.75rem; text-align: center; color: var(--muted); padding: 4rem 16px 3rem; border-top: 1px solid var(--line); }
.footer p { margin: 0; }
.footer-thanks { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; font-size: clamp(1.2rem, 2.8vw, 1.5rem); color: var(--ink); max-width: 40ch; }
.footer-top { font-size: 0.85rem; text-decoration: none; margin-top: 0.5rem; }

/* ---------- REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .gallery img { transition: none; }
}

/* ---------- TCC ---------- */
.tcc-card {
  display: grid; grid-template-columns: minmax(160px, 200px) 1fr; gap: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.25rem, 4vw, 2rem); margin-bottom: 2.5rem;
  box-shadow: var(--shadow);
}
.tcc-cover {
  aspect-ratio: 1 / 1.414; border-radius: 3px; text-decoration: none; color: var(--ink);
  display: flex; flex-direction: column; justify-content: space-between; padding: 1.1rem 1rem;
  background: var(--bg); border: 1px solid var(--line);
  box-shadow: 4px 4px 0 var(--bg-soft), 4px 4px 0 1px var(--line);
  transition: transform 0.2s;
}
.tcc-cover:hover { transform: translateY(-2px); }
.tcc-cover-tag, .tcc-cover-pdf { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.06em; color: var(--muted); }
.tcc-cover-title { font-family: var(--serif); font-weight: 500; font-size: 1.15rem; line-height: 1.25; border-top: 2px solid var(--rose); padding-top: 0.75rem; }
.tcc-body { display: flex; flex-direction: column; gap: 0.6rem; min-width: 0; }
.tcc-body .kicker { margin: 0; }
.tcc-body h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); line-height: 1.25; }
.tcc-sub { margin: 0; color: var(--accent); font-weight: 500; }
.tcc-meta { margin: 0; color: var(--muted); font-size: 0.9rem; }
.tcc-resumo { margin: 0.25rem 0 0; }
.tcc-body .actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.75rem; }
@media (max-width: 640px) {
  .tcc-card { grid-template-columns: 1fr; }
  .tcc-cover { max-width: 170px; }
}

/* ---------- INSPIRAÇÕES ---------- */
.section-intro { color: var(--muted); font-size: 1.05rem; max-width: 600px; margin: -1.25rem 0 2.5rem; }
.inspiracoes { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.inspiracao {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--shadow);
}
.insp-foto { position: relative; aspect-ratio: 4 / 4.4; overflow: hidden; background: var(--bg-soft); }
.insp-foto img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 20%;
  filter: grayscale(1) sepia(0.15);
}
.insp-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: 0.4rem; }
.insp-body h3 { font-size: 1.3rem; }
.insp-meta { margin: 0; font-family: var(--mono); font-size: 0.72rem; line-height: 1.5; color: var(--rose); }
.insp-body p { margin: 0; color: var(--muted); font-size: 0.93rem; }
.insp-body blockquote {
  margin: 0.4rem 0 0; padding-left: 0.8rem; border-left: 2px solid var(--rose);
  font-size: 0.9rem; line-height: 1.5;
}
.credits { margin: 1.5rem 0 0; font-size: 0.78rem; color: var(--muted); text-align: right; }

@media (max-width: 600px) {
  .inspiracao { flex-direction: row; align-items: stretch; }
  .insp-foto { flex: 0 0 104px; aspect-ratio: auto; min-height: 150px; }
  .insp-foto img { position: absolute; inset: 0; }
  .insp-body { padding: 0.9rem 1rem; }
  .insp-body h3 { font-size: 1.15rem; }
}

/* ---------- TOQUES DE SI ---------- */
::selection { background: var(--accent-soft); color: var(--accent-dark); }
.gh-icon { width: 1em; height: 1em; flex: none; }

.prompt { margin: 0 0 clamp(1.75rem, 4vw, 2.5rem); font-size: clamp(0.8rem, 1.8vw, 0.92rem); color: var(--muted); overflow-wrap: anywhere; }
.prompt-user { color: var(--accent); font-weight: 500; }
.prompt-path { color: var(--rose); }
.cursor { color: var(--accent); margin-left: 0.15em; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }


.nav .nav-gh { display: inline-grid; place-items: center; padding: 0.45rem; font-size: 1.15rem; }
@media (max-width: 860px) { .nav .nav-gh { display: inline-grid !important; } }

.gallery code, .lightbox code { font-family: var(--mono); font-size: 0.85em; color: var(--rose); }
.gallery .placeholder code { color: var(--rose); }
.lightbox code { color: #f1b8c1; }

.footer-gh { display: inline-flex; align-items: center; gap: 0.4rem; font-family: var(--mono); font-size: 0.85rem; color: var(--ink); text-decoration: none; }
.footer-gh:hover { color: var(--accent); }
.footer-code { font-size: 0.78rem; }

@media (prefers-reduced-motion: reduce) { .cursor { animation: none; } }
