/* Fontes alojadas no próprio site (sem pedidos à Google). */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(../fonts/bricolage-grotesque-latin-ext-opsz-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(../fonts/bricolage-grotesque-latin-opsz-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-display: swap;
  font-weight: 300 900;
  src: url(../fonts/figtree-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-display: swap;
  font-weight: 300 900;
  src: url(../fonts/figtree-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Figtree';
  font-style: italic;
  font-display: swap;
  font-weight: 300 900;
  src: url(../fonts/figtree-latin-ext-wght-italic.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Figtree';
  font-style: italic;
  font-display: swap;
  font-weight: 300 900;
  src: url(../fonts/figtree-latin-wght-italic.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url(../fonts/caveat-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url(../fonts/caveat-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --paper: #fbf7ee;
  --kraft: #efe3c8;
  --ink: #1d2b36;
  --ink-soft: #4a5a66;
  --tomato: #ef5b3b;
  --tomato-ink: #b93c1d;
  --mustard: #ffd25e;
  --mustard-deep: #e8a92a;
  --board: #24493d;
  --wood: #b07a45;
  --grid-line: rgba(61, 120, 170, .12);
  --rule-line: rgba(61, 120, 170, .24);
  --margin-line: rgba(239, 91, 59, .4);

  --shadow-paper: 0 1px 0 rgba(29, 43, 54, .04), 0 16px 28px -14px rgba(29, 43, 54, .35);
  --font-head: 'Bricolage Grotesque', 'Figtree', system-ui, sans-serif;
  --font-body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-hand: 'Caveat', 'Segoe Print', 'Bradley Hand', cursive;
  --ease: cubic-bezier(.2, .7, .3, 1);
}

/* Tons dos post-its e ícones */
.tone-butter { --tone: #fff0b0; --tone-ink: #7d5900; }
.tone-mint { --tone: #d6efd9; --tone-ink: #2a6e3f; }
.tone-lilac { --tone: #e6defa; --tone-ink: #5a3ca0; }
.tone-peach { --tone: #ffdcc9; --tone-ink: #a83c18; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
main { flex: 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--tomato-ink); text-underline-offset: 3px; text-decoration-thickness: 2px; }
a:hover { color: var(--ink); }
h1, h2, h3 { font-family: var(--font-head); font-weight: 800; line-height: 1.08; color: var(--ink); letter-spacing: -.02em; text-wrap: balance; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--tomato); outline-offset: 3px; border-radius: 6px; }
.icon { flex-shrink: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; position: relative; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 46ch; }
.pre { white-space: pre-line; margin: 0; }

.hand { font-family: var(--font-hand); font-weight: 700; letter-spacing: 0; }
.kicker { display: inline-block; font-family: var(--font-hand); font-weight: 700; font-size: 1.65rem; line-height: 1; color: var(--tomato-ink); margin: 0 0 10px; transform: rotate(-2deg); }
.marker {
  background: linear-gradient(transparent 60%, rgba(255, 210, 94, .9) 60%, rgba(255, 210, 94, .9) 92%, transparent 92%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  padding: 0 .06em;
}

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

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 12px;
  border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink);
  font: 700 1.02rem var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .15s var(--ease), box-shadow .15s var(--ease), background-color .15s var(--ease);
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.btn .icon { transition: transform .2s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: .95rem; box-shadow: 3px 3px 0 var(--ink); }
.btn-primary, .btn-primary:hover { background: var(--mustard); color: var(--ink); }
.btn-ghost, .btn-ghost:hover { background: #fff; color: var(--ink); }

.link-arrow, .link-back { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
.link-arrow .icon, .link-back .icon { transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }
.link-back:hover .icon { transform: translateX(-3px); }

/* ---------- Texturas de papel ---------- */
.paper-grid {
  position: relative;
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 28px 28px;
}
.paper-grid::before {
  content: ''; position: absolute; top: 0; bottom: 0; width: 2px;
  left: max(10px, calc((100% - 1180px) / 2 - 18px));
  background: var(--margin-line);
}
@media (max-width: 640px) { .paper-grid::before { display: none; } }

/* Régua usada como divisória */
.ruler {
  height: 24px; background-color: var(--mustard);
  border-block: 2px solid var(--ink);
  background-image:
    repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 60px),
    repeating-linear-gradient(90deg, var(--ink) 0 1.5px, transparent 1.5px 12px);
  background-size: 100% 12px, 100% 6px;
  background-repeat: no-repeat;
  background-position: 0 0, 0 0;
}

/* Fita-cola */
.tape {
  position: absolute; top: -14px; left: 50%; z-index: 2;
  width: 104px; height: 28px; transform: translateX(-50%) rotate(-3deg);
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .35) 0 6px, transparent 6px 12px),
    rgba(239, 91, 59, .55);
  clip-path: polygon(0 12%, 5% 0, 50% 6%, 95% 0, 100% 14%, 97% 50%, 100% 88%, 94% 100%, 50% 94%, 4% 100%, 0 86%, 3% 50%);
  pointer-events: none;
}

.decor { display: block; pointer-events: none; }

/* ---------- Cabeçalho ---------- */
.site-header { background: rgba(251, 247, 238, .96); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 50; border-bottom: 2px solid var(--ink); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand:hover { color: var(--ink); }
.logo { flex-shrink: 0; height: auto; }
.brand:hover .logo { transform: rotate(-6deg); }
.logo { transition: transform .25s var(--ease); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-text strong { font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; }
.brand-text small { color: var(--ink-soft); font-size: .9rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.site-nav { display: flex; gap: 4px; }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
  color: var(--ink); text-decoration: none; font-weight: 600;
  background: no-repeat center bottom 4px / calc(100% - 24px) 10px;
}
.site-nav a:hover { color: var(--ink); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 10' preserveAspectRatio='none'%3E%3Cpath d='M2 6c18-4 38-5 58-2s28 3 38-1' fill='none' stroke='%23FFD25E' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E"); }
.site-nav a[aria-current="page"] { font-weight: 700; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 10' preserveAspectRatio='none'%3E%3Cpath d='M2 6c18-4 38-5 58-2s28 3 38-1' fill='none' stroke='%23EF5B3B' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E"); }

.nav-toggle { display: none; background: none; border: 0; color: var(--ink); width: 48px; height: 48px; border-radius: 10px; cursor: pointer; place-items: center; }
.nav-toggle:hover { background: rgba(29, 43, 54, .06); }

@media (max-width: 760px) {
  .header-inner { min-height: 66px; }
  .brand .logo { width: auto; height: 40px; }
  .brand-text strong { font-size: 1.08rem; }
  .nav-toggle { display: grid; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 2px; padding: 10px 20px 18px;
    background: var(--paper); border-bottom: 2px solid var(--ink);
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a { min-height: 48px; padding: 0 4px; background-position: left bottom 6px; background-size: 120px 10px; }
}

/* ---------- Destaque ---------- */
.hero { padding: 72px 0 84px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.hero-text { position: relative; z-index: 3; }
.hero h1 { margin-bottom: 20px; }
.hero .lead { margin-bottom: 32px; }
.hero-art { position: relative; display: grid; place-items: center; min-height: 380px; }

.polaroid { position: relative; margin: 0; background: #fff; padding: 14px 14px 18px; box-shadow: var(--shadow-paper); }
.hero-polaroid { width: min(100%, 420px); transform: rotate(2.5deg); z-index: 1; }
.hero-polaroid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero-polaroid figcaption { font-size: 1.75rem; line-height: 1.1; text-align: center; margin-top: 12px; }
.note-lines {
  position: relative; aspect-ratio: 4 / 3.3; display: flex; flex-direction: column; justify-content: center;
  padding: 24px 22px 20px 46px;
  background: repeating-linear-gradient(to bottom, transparent 0 34px, var(--rule-line) 34px 36px);
}
.note-lines::before { content: ''; position: absolute; top: 0; bottom: 0; left: 30px; width: 2px; background: var(--margin-line); }
.note-lines p { font-size: clamp(2rem, 3.6vw, 2.7rem); line-height: 1.12; margin: 0; }
.note-heart { width: 54px; color: var(--tomato); align-self: flex-end; margin-top: 10px; transform: rotate(10deg); }
.hero-plane { position: absolute; width: 230px; top: -10px; left: -48px; color: var(--tomato); z-index: 2; }
.hero-star { position: absolute; width: 54px; right: 2%; bottom: 6px; color: var(--mustard-deep); transform: rotate(14deg); z-index: 2; }

@media (max-width: 900px) {
  .hero { padding: 40px 0 48px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { min-height: 0; padding-top: 36px; }
  .hero-polaroid { width: min(88%, 360px); }
  .hero-plane { width: 150px; top: -14px; left: 0; }
  .hero-star { width: 42px; right: 4%; bottom: -10px; }
}

/* ---------- Secções ---------- */
.section { position: relative; padding: 72px 0; }
.section-top-0 { padding-top: 0; }
.section-title { margin-bottom: 8px; }
.section-sub { color: var(--ink-soft); margin: 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px 24px; margin-bottom: 40px; }
@media (max-width: 640px) { .section { padding: 52px 0; } }

.prose { font-size: 1.1rem; }
.prose h2 { margin-top: 1.4em; font-size: 1.7rem; }
.prose h3 { margin-top: 1.3em; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--tomato); }
.prose blockquote { margin: 1.5em 0; padding: 14px 22px; border-left: 4px solid var(--tomato); background: #fff; box-shadow: var(--shadow-paper); }

/* ---------- Atividades (post-its) ---------- */
.features { padding-top: 64px; }
.notes-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px 28px; }
.sticky {
  position: relative; padding: 30px 22px 24px;
  background: var(--tone, #fff0b0);
  border-radius: 2px 2px 20px 2px / 2px 2px 10px 2px;
  box-shadow: 0 12px 18px -10px rgba(29, 43, 54, .35);
  transform: rotate(var(--tilt, -1.5deg));
  transition: transform .25s var(--ease);
}
.notes-grid .sticky:nth-child(4n + 2) { --tilt: 1.2deg; }
.notes-grid .sticky:nth-child(4n + 3) { --tilt: -.7deg; }
.notes-grid .sticky:nth-child(4n + 4) { --tilt: 1.8deg; }
.notes-grid .sticky:hover { transform: rotate(0) translateY(-4px); }
.sticky .tape { width: 84px; height: 24px; top: -12px; }
.sticky-head { display: flex; align-items: center; justify-content: space-between; color: var(--tone-ink); }
.sticky-num { font-size: 2.1rem; line-height: 1; }
.sticky h3 { margin: 12px 0 6px; }
.sticky p { color: var(--ink-soft); margin: 0; font-size: 1rem; }

/* ---------- Quem somos + direção ---------- */
.about { padding-bottom: 96px; }
.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: start; }
.about-single { grid-template-columns: minmax(0, 780px); justify-content: center; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }

/* Folha pautada com furos de argolas */
.ruled-sheet { position: relative; background: #fff; padding: 26px 26px 22px 70px; box-shadow: var(--shadow-paper); transform: rotate(-1deg); }
.ruled-sheet::before { content: ''; position: absolute; top: 0; bottom: 0; left: 50px; width: 2px; background: var(--margin-line); }
.ruled-sheet::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: 14px; width: 18px;
  background: radial-gradient(circle, var(--paper) 7px, rgba(29, 43, 54, .12) 8px, transparent 9px) center / 18px 33.333% repeat-y;
}
.ruled-sheet h3 { font-family: var(--font-hand); font-size: 2.2rem; color: var(--tomato-ink); margin: 0 0 8px; letter-spacing: 0; }
.members { list-style: none; padding: 0; margin: 0; }
.member { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 2px solid var(--rule-line); }
.member strong { display: block; color: var(--ink); line-height: 1.3; }
.member small { color: var(--ink-soft); font-size: .95rem; }
.stamp {
  display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0;
  border: 2px dashed currentColor; border-radius: 8px;
  font-family: var(--font-head); font-weight: 800; font-size: 1rem;
}
.stamp-0 { color: #a83c18; background: #ffdcc9; transform: rotate(-4deg); }
.stamp-1 { color: #2a6e3f; background: #d6efd9; transform: rotate(3deg); }
.stamp-2 { color: #5a3ca0; background: #e6defa; transform: rotate(-2deg); }
.stamp-3 { color: #7d5900; background: #fff0b0; transform: rotate(4deg); }

/* ---------- Notícias (mural de polaroids) ---------- */
.board {
  background-color: var(--kraft);
  background-image: radial-gradient(rgba(120, 90, 40, .14) 1px, transparent 1.4px);
  background-size: 14px 14px;
  border-top: 2px solid var(--ink);
  padding-bottom: 88px;
}
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 44px 32px; padding-top: 12px; }
@media (max-width: 380px) { .news-grid { grid-template-columns: 1fr; } }
.news-card { background: #fff; padding: 12px 12px 20px; box-shadow: var(--shadow-paper); transform: rotate(var(--tilt, -1deg)); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.news-grid .news-card:nth-child(3n + 2) { --tilt: 1.2deg; }
.news-grid .news-card:nth-child(3n + 3) { --tilt: -.5deg; }
.news-card:hover { transform: rotate(0) translateY(-4px); box-shadow: 0 1px 0 rgba(29, 43, 54, .04), 0 22px 34px -14px rgba(29, 43, 54, .45); }
.news-card-link { position: relative; display: block; color: inherit; text-decoration: none; }
.news-card-link:hover { color: inherit; }
.pin {
  position: absolute; top: -22px; left: 50%; z-index: 2; width: 20px; height: 20px; margin-left: -10px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ff9c84, var(--tomato) 45%, var(--tomato-ink) 80%);
  box-shadow: 0 3px 4px rgba(0, 0, 0, .28);
}
.news-card-media { aspect-ratio: 4 / 3; background: #e6defa; overflow: hidden; }
.news-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.news-card:hover .news-card-media img { transform: scale(1.04); }
.news-card-placeholder { display: grid; place-items: center; height: 100%; color: #5a3ca0; opacity: .55; }
.date-stamp {
  position: absolute; top: 10px; right: 10px;
  font-family: var(--font-hand); font-weight: 700; font-size: 1.35rem; line-height: 1.3;
  color: var(--tomato-ink); background: rgba(255, 255, 255, .92);
  border: 2px solid currentColor; border-radius: 6px; padding: 0 8px;
  transform: rotate(6deg);
}
.news-card-body { padding: 16px 6px 0; }
.news-card-body h3 { margin-bottom: 6px; font-size: 1.25rem; }
.news-card-body p { color: var(--ink-soft); margin: 0; font-size: 1rem; }

.empty { text-align: center; padding: 56px 20px; color: var(--ink-soft); background: #fff; border: 2px dashed rgba(29, 43, 54, .3); border-radius: 14px; }
.empty .icon { display: block; margin: 0 auto 12px; opacity: .6; }

/* ---------- Cabeçalho das páginas internas ---------- */
.page-head { padding: 56px 0; overflow: hidden; }
.page-head-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.page-head h1 { margin-bottom: 12px; }
.page-head .lead { margin: 0; }
.page-head-art { width: 120px; flex-shrink: 0; margin-right: 24px; color: var(--tomato); }
@media (max-width: 640px) { .page-head { padding: 36px 0; } .page-head-art { width: 72px; margin-right: 0; } }
.ruler + .section-top-0 { padding-top: 56px; }

/* ---------- Artigo ---------- */
.article { padding: 40px 0 72px; }
.link-back { display: flex; width: fit-content; margin-bottom: 24px; }
.article-date { display: block; font-size: 1.6rem; line-height: 1.2; color: var(--tomato-ink); margin-bottom: 6px; }
.article-cover { max-width: 1000px; margin: 40px auto 44px; }
.article-cover img { width: 100%; max-height: 600px; object-fit: cover; border: 12px solid #fff; box-shadow: var(--shadow-paper); transform: rotate(-.6deg); }
.article-cover .tape-left { left: 40px; transform: rotate(-8deg); }
.article-cover .tape-right { left: auto; right: 40px; transform: rotate(7deg); }
.gallery-title { margin-top: 48px; }
.gallery { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 18px; }
.gallery li { background: #fff; padding: 8px 8px 14px; box-shadow: var(--shadow-paper); transform: rotate(-1deg); transition: transform .2s var(--ease); }
.gallery li:nth-child(even) { transform: rotate(1.2deg); }
.gallery li:hover { transform: rotate(0) scale(1.03); }
.gallery a { display: block; overflow: hidden; cursor: zoom-in; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(20, 28, 34, .9); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: calc(100vw - 32px); max-height: calc(100vh - 120px); border: 8px solid #fff; }
.lightbox button { position: fixed; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; border: 2px solid var(--ink); background: var(--mustard); color: var(--ink); cursor: pointer; }
.lightbox button:hover { background: #fff; }
.lightbox button[hidden] { display: none; }
.lightbox-close { top: 16px; right: 16px; }
.lightbox-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lightbox-prev, .lightbox-next { top: auto; bottom: 20px; transform: none; } }

/* ---------- Contactos (fichas) ---------- */
.contact-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: start; padding-bottom: 24px; }
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.contact-item { display: flex; gap: 16px; background: #fff; padding: 22px; border: 2px solid var(--ink); border-radius: 14px; box-shadow: 4px 4px 0 var(--ink); min-width: 0; }
.contact-item h2 { font-size: 1.2rem; margin-bottom: 2px; }
.contact-item a { overflow-wrap: anywhere; font-weight: 600; }
.feature-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; flex-shrink: 0; background: var(--tone); color: var(--tone-ink); transform: rotate(-4deg); }
.social-box { padding: 32px 26px 28px; }
.social-box h2 { font-size: 1.6rem; }
.social-box p { color: var(--ink-soft); }
.social-links { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Faixa de contacto (quadro de ardósia) ---------- */
.chalkboard {
  position: relative; overflow: hidden; padding: 64px 0;
  background-color: var(--board);
  background-image:
    radial-gradient(ellipse at 18% 30%, rgba(255, 255, 255, .07), transparent 50%),
    radial-gradient(ellipse at 82% 75%, rgba(255, 255, 255, .06), transparent 45%);
  border-top: 2px solid var(--ink);
  border-bottom: 14px solid var(--wood);
  color: rgba(255, 255, 255, .86);
}
.cta-inner { text-align: center; z-index: 1; max-width: 560px; }
.chalk { font-family: var(--font-hand); font-weight: 700; font-size: clamp(2.3rem, 4.6vw, 3.2rem); color: #fff; letter-spacing: 0; line-height: 1.05; margin-bottom: 8px; }
.cta-inner p { margin-bottom: 26px; }
.cta-plane { position: absolute; left: 3%; bottom: 20px; width: 220px; color: rgba(255, 255, 255, .7); }
.cta-star { position: absolute; right: 7%; top: 30px; width: 60px; color: var(--mustard); transform: rotate(12deg); }
@media (max-width: 1000px) { .cta-plane { width: 150px; left: -30px; opacity: .55; } }
@media (max-width: 700px) { .cta-plane { display: none; } .cta-star { width: 40px; top: 16px; right: 16px; } }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--ink); color: #d6dde3; padding: 40px 0 24px; }
.site-footer .brand, .site-footer .brand:hover { color: #fff; }
.site-footer .brand-text small { color: #b8c4cd; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 24px; }
.footer-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #fff; text-decoration: none; font-weight: 600; }
.footer-links a:hover { color: var(--mustard); }
.footer-bottom { color: #a9b6c0; font-size: .9rem; margin-top: 24px; padding-top: 20px; border-top: 1px dashed rgba(255, 255, 255, .2); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}
