/* =====================================================================
   Manuel Baptista — Portfolio stylesheet
   Style: formal and clean — charcoal header, navy accent, white page
   (inspired by his CV)
   ---------------------------------------------------------------------
   1. Colours & tokens   2. Base   3. Header & tabs   4. CV layout
   5. Sidebar   6. Content blocks & entries   7. Involvement
   8. Contact form   9. Curiosities tab   10. Footer & logos
   11. Languages (EN/PT)   12. Motion
   ===================================================================== */

/* 1. COLOURS & TOKENS — change colours here */
:root {
  --charcoal:   #2F3033;   /* header (like the CV) */
  --navy:       #2B3A55;   /* accent: lines, titles, buttons */
  --navy-soft:  #EEF1F6;
  --ink:        #1D2026;
  --ink-muted:  #585E6A;
  --bg:         #FFFFFF;
  --bg-side:    #F4F5F7;   /* sidebar (like the CV's grey column) */
  --line:       #E3E6EB;
  --shadow:     0 10px 28px rgba(29, 32, 38, .08);

  --font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
}

/* 2. BASE */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1.5rem; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { margin: 0; line-height: 1.3; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: var(--navy); text-underline-offset: 3px; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  padding: .6rem 1rem; background: var(--navy); color: #fff; border-radius: 6px;
}
.skip-link:focus { top: .75rem; }

.icon {
  width: 1.1em; height: 1.1em; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.icon--fill { fill: currentColor; stroke: none; }

.container { width: 100%; max-width: 1140px; margin-inline: auto; padding-inline: 1.25rem; }
@media (min-width: 768px) { .container { padding-inline: 2rem; } }

/* 3. HEADER & TABS */
.header { background: var(--charcoal); color: #fff; }
.header__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1rem 2rem; padding-block: 1.1rem;
}
.header__name { font-size: 1.25rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.header__title { font-size: .88rem; color: #C9CCD2; letter-spacing: .03em; }
.header__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem .75rem; }
@media (max-width: 480px) {
  .tab { padding: .45rem .75rem; font-size: .88rem; }
}

.tabs {
  display: inline-flex; padding: 4px; gap: 4px;
  background: rgba(255, 255, 255, .08); border-radius: 10px;
}
.tab {
  padding: .45rem 1.1rem; border: 0; border-radius: 7px;
  background: transparent; color: #D7DAE0;
  font-size: .92rem; font-weight: 600; cursor: pointer;
  transition: background-color .2s, color .2s;
}
.tab:hover { color: #fff; }
.tab[aria-selected="true"] { background: #fff; color: var(--charcoal); }

/* Language button: "English" / "Português" with a globe icon */
.lang-toggle {
  display: inline-flex; align-items: center; gap: .45rem;
  height: 38px; padding: 0 .9rem;
  border: 1px solid rgba(255, 255, 255, .45); border-radius: 8px;
  background: transparent; color: #fff;
  font-size: .88rem; font-weight: 600; cursor: pointer;
  transition: border-color .2s, background-color .2s, color .2s;
}
.lang-toggle:hover { border-color: #fff; background: #fff; color: var(--charcoal); }

/* 4. CV LAYOUT — sidebar left, content right (stacked on phones) */
.cv { display: grid; gap: 2.5rem; padding-block: 2.5rem 4rem; }
@media (min-width: 960px) {
  .cv { grid-template-columns: 300px 1fr; gap: 3.5rem; padding-block: 3.5rem 5rem; align-items: start; }
  .side { position: sticky; top: 1.5rem; }
}

/* 5. SIDEBAR */
.side {
  padding: 2rem 1.6rem;
  background: var(--bg-side); border-radius: 16px;
}
.photo {
  width: 150px; height: 150px; margin: 0 auto;
  border-radius: 50%; overflow: hidden;
  border: 5px solid #fff; box-shadow: var(--shadow);
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.side__name { margin-top: 1.25rem; text-align: center; font-size: 1.45rem; font-weight: 700; }
.side__role { margin-top: .3rem; text-align: center; font-size: .9rem; color: var(--ink-muted); line-height: 1.5; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 44px; padding: .6rem 1.3rem;
  border: 1.5px solid transparent; border-radius: 8px;
  font-weight: 600; font-size: .93rem; text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--charcoal); }
.btn--block { display: flex; width: 100%; margin-top: 1.5rem; }

.side__block { margin-top: 2rem; }
.side__title {
  margin-bottom: .8rem; padding-bottom: .45rem;
  border-bottom: 2px solid var(--navy);
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}

.contacts { display: grid; gap: .65rem; font-size: .93rem; }
.contacts li { display: flex; align-items: center; gap: .65rem; overflow-wrap: break-word; min-width: 0; }
.contacts li > a, .contacts li > span { min-width: 0; }
.contacts .icon { color: var(--navy); }
.contacts a { color: var(--ink); text-decoration: none; }
.contacts a:hover { color: var(--navy); text-decoration: underline; }

.list { display: grid; gap: .4rem; font-size: .95rem; }
.list li { position: relative; padding-left: 1rem; }
.list li::before {
  content: ""; position: absolute; left: 0; top: .72em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--navy);
}

.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chips li {
  padding: .25rem .65rem; border-radius: 6px;
  background: #fff; border: 1px solid var(--line);
  font-family: var(--font-mono); font-size: .8rem; font-weight: 500;
}

.langs { display: grid; gap: .5rem; font-size: .95rem; }
.langs li { display: flex; justify-content: space-between; gap: 1rem; }
.langs__lvl { color: var(--ink-muted); }

/* 6. CONTENT BLOCKS & ENTRIES */
.content { min-width: 0; }
.block + .block { margin-top: 3.75rem; }
.block__title {
  display: flex; align-items: center; gap: .9rem;
  margin-bottom: 1.5rem;
  font-size: 1rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--navy);
}
.block__title::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.lead { font-size: 1.1rem; line-height: 1.8; max-width: 70ch; }

.entry { position: relative; padding-left: 1.5rem; border-left: 2px solid var(--line); }
.entry + .entry { margin-top: 2rem; }
.entry::before {
  content: ""; position: absolute; left: -7px; top: .45rem;
  width: 12px; height: 12px; border-radius: 50%;
  background: #fff; border: 2px solid var(--navy);
}
.entry__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .25rem 1.5rem; }
.entry__title { flex: 1 1 360px; font-size: 1.1rem; font-weight: 600; }
.entry__date {
  font-family: var(--font-mono); font-size: .85rem; color: var(--navy);
  white-space: nowrap;
}
.entry__org { margin-top: .2rem; color: var(--ink-muted); font-size: .97rem; }
.entry__note { margin-top: .5rem; font-size: .95rem; }
.entry__note strong { color: var(--navy); }
.entry__list { display: grid; gap: .4rem; margin-top: .75rem; max-width: 72ch; }
.entry__list li { position: relative; padding-left: 1rem; }
.entry__list li::before {
  content: ""; position: absolute; left: 0; top: .72em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--ink-muted);
}
.tech { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .85rem; }
.tech li {
  padding: .15rem .6rem; border-radius: 999px;
  background: var(--navy-soft); color: var(--navy);
  font-size: .8rem; font-weight: 600;
}

/* 7. INVOLVEMENT */
.facts { display: grid; gap: 1rem; }
@media (min-width: 720px) { .facts { grid-template-columns: repeat(3, 1fr); } }
.facts > li {
  display: flex; gap: .9rem; align-items: flex-start;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--line); border-radius: 12px;
  transition: border-color .2s, box-shadow .2s;
}
.facts > li:hover { border-color: var(--navy); box-shadow: var(--shadow); }
.facts > li:last-child { grid-column: 1 / -1; }
.facts__icon {
  display: grid; place-items: center; flex-shrink: 0;
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--navy-soft); color: var(--navy);
}
.facts p { padding-top: .35rem; }
.places { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .6rem; }
.places li {
  padding: .2rem .7rem; border-radius: 999px;
  border: 1px solid var(--line); font-size: .88rem;
}

/* 8. CONTACT FORM */
.contact__intro { color: var(--ink-muted); margin-bottom: 1.5rem; max-width: 65ch; }
.form {
  display: grid; gap: 1rem;
  padding: 1.6rem; border: 1px solid var(--line); border-radius: 14px;
  background: var(--bg-side);
}
.form__row { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.form__field { display: grid; gap: .35rem; }
.form__label { font-size: .85rem; font-weight: 600; }
.form input, .form textarea {
  width: 100%; padding: .7rem .85rem;
  border: 1px solid #CDD2DA; border-radius: 8px; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form textarea:focus {
  outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(43, 58, 85, .15);
}
.form textarea { resize: vertical; min-height: 130px; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; }
.form__hint { font-size: .85rem; color: var(--ink-muted); }
.form__error { font-size: .9rem; color: #A12A2A; font-weight: 600; }

/* 9. RECOMMENDATIONS TAB (films + podcasts) */
.recs { padding-block: 3.5rem 5rem; }
.recs__eyebrow {
  font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--navy);
}
.recs__title { margin-top: .4rem; font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 600; }
.recs__legend { margin-top: 1.25rem; font-size: .92rem; color: var(--ink-muted); }
.recs__back { margin-top: 3rem; }

/* Quick links to each genre */
.genre-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.75rem; }
.genre-nav a {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .4rem .9rem; border-radius: 999px;
  border: 1px solid var(--line); color: var(--ink); text-decoration: none;
  font-size: .9rem; font-weight: 600;
  transition: border-color .2s, background-color .2s, color .2s;
}
.genre-nav a > span:last-child {
  min-width: 1.5em; padding: 0 .35em; border-radius: 999px;
  background: var(--navy-soft); color: var(--navy); font-size: .75rem; text-align: center;
}
.genre-nav a:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.genre-nav a:hover > span:last-child { background: #fff; }
.genre-nav__pod { border-style: dashed !important; }

/* 4 favourite films — big posters */
.favs { margin-top: 2.75rem; }
.favs__list { display: grid; gap: 1.5rem; grid-template-columns: repeat(4, 1fr); max-width: 820px; }
@media (max-width: 640px) { .favs__list { grid-template-columns: repeat(2, 1fr); gap: 1rem; } }
.fav { display: block; color: var(--ink); text-decoration: none; }
.fav__poster {
  display: block; aspect-ratio: 2 / 3; overflow: hidden;
  border-radius: 10px; background: var(--navy-soft);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
  transition: transform .25s, box-shadow .25s;
}
.fav__poster img { width: 100%; height: 100%; object-fit: cover; }
.fav:hover .fav__poster { transform: translateY(-5px); box-shadow: 0 18px 34px rgba(0, 0, 0, .28); }
.fav__title { display: block; margin-top: .75rem; font-weight: 700; }
.fav__meta { display: block; margin-top: .1rem; font-size: .82rem; color: var(--ink-muted); line-height: 1.4; }

/* Recently watched on Letterboxd — horizontal row of real posters */
.genre-nav__lb { border-color: #0B7A3B !important; }
.lb { margin-top: 2.75rem; scroll-margin-top: 1.5rem; }
.lb__head { display: flex; align-items: center; gap: 1rem; }
.lb__head .genre__title { flex: 1; margin-bottom: 0; }
.lb__arrows { display: flex; gap: .4rem; }
.lb__arrow {
  display: grid; place-items: center; width: 36px; height: 36px;
  border: 1px solid var(--line); border-radius: 50%; background: #fff; cursor: pointer;
  transition: border-color .2s, background-color .2s, color .2s;
}
.lb__arrow:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.lb__legend { margin: .75rem 0 1.1rem; }
.lb__legend a { margin-left: .35rem; font-weight: 600; white-space: nowrap; }

.lb__list {
  display: grid; grid-auto-flow: column; grid-auto-columns: 150px; gap: 1rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: .25rem .1rem 1rem;
  scrollbar-width: thin;
}
.lb__item { scroll-snap-align: start; }
.lb__card { display: block; color: var(--ink); text-decoration: none; }
.lb__poster {
  position: relative; display: block; aspect-ratio: 2 / 3; overflow: hidden;
  border-radius: 8px; background: var(--navy-soft);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .15);
  transition: transform .25s, box-shadow .25s;
}
.lb__poster img { width: 100%; height: 100%; object-fit: cover; }
.lb__card:hover .lb__poster { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(0, 0, 0, .25); }
.lb__stars { display: block; margin-top: .6rem; color: #0B7A3B; font-size: 1.05rem; letter-spacing: .05em; }
.lb__heart { color: #D6336C; margin-left: .25rem; font-size: .9rem; }
.lb__title { display: block; margin-top: .1rem; font-weight: 600; font-size: .92rem; line-height: 1.3; }
.lb__date { display: block; margin-top: .15rem; font-size: .78rem; color: var(--ink-muted); }
.lb__review { display: block; margin-top: .35rem; font-size: .8rem; font-style: italic; color: var(--ink-muted); }
.lb__status { color: var(--ink-muted); font-size: .92rem; }

/* ---------- MUSIC TAB: album sleeve + vinyl record ---------- */
.albums {
  display: grid; gap: 2rem 1.75rem;
  grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
}
@media (max-width: 420px) { .albums { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; } }

.album {
  position: relative; display: block; aspect-ratio: 1;
  color: #fff; text-decoration: none;
}
/* the record that slides out of the sleeve */
.album__disc {
  position: absolute; top: 4%; left: 4%; width: 92%; height: 92%;
  border-radius: 50%;
  background:
    radial-gradient(circle, #EDEDED 0 3%, var(--c1) 3.6% 17%, transparent 17.6%),
    repeating-radial-gradient(circle, #141414 0 2px, #222 2px 3px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, .3);
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.album:hover .album__disc,
.album:focus-visible .album__disc { transform: translateX(34%) rotate(40deg); }
.album:hover, .album:focus-visible { z-index: 2; }

/* the sleeve (cover) */
.album__sleeve {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; justify-content: flex-end; gap: .15rem;
  padding: .85rem;
  border-radius: 6px;
  background:
    radial-gradient(circle at 75% 25%, rgba(255, 255, 255, .22) 0 18%, transparent 19%),
    radial-gradient(circle at 75% 25%, transparent 0 26%, rgba(255, 255, 255, .08) 27% 28%, transparent 29%),
    linear-gradient(155deg, var(--c1), var(--c2));
  box-shadow: 0 8px 20px rgba(0, 0, 0, .22);
  transition: box-shadow .3s;
}
.album:hover .album__sleeve { box-shadow: 0 16px 32px rgba(0, 0, 0, .3); }
.album__sleeve .badge { position: absolute; top: .7rem; left: .7rem; z-index: 2; }
/* real cover from Spotify (sits on top of the drawn fallback) */
.album__img {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%; object-fit: cover; border-radius: 6px;
}
.album__year { font-family: var(--font-mono); font-size: .72rem; color: rgba(255, 255, 255, .72); }
.album__title { font-size: 1rem; font-weight: 700; line-height: 1.2; }
.album__artist { font-size: .8rem; color: rgba(255, 255, 255, .8); }
/* text under the cover */
.album__name { margin-top: .75rem; font-weight: 600; font-size: .95rem; line-height: 1.3; }
.album__by { margin-top: .1rem; font-size: .82rem; color: var(--ink-muted); }
.album__single {
  display: inline-block; vertical-align: middle; margin-left: .3rem; padding: 0 .4rem;
  border: 1px solid var(--line); border-radius: 4px;
  font-size: .65rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted);
}
.album__track { margin-top: .35rem; font-size: .8rem; color: var(--ink-muted); line-height: 1.4; }
.album__track::before { content: "♪ "; color: #1DB954; }
.music__legend { margin: -.5rem 0 1.25rem; }
.badge--cole { background: #E9E2D0; color: #1D2026; }
.badge--ye { background: #1D2026; color: #FFFFFF; }

/* Director badges */
.badge {
  display: inline-block; padding: .1rem .5rem; border-radius: 4px;
  font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.badge--qt { background: #F2C230; color: #1D2026; }   /* Tarantino: yellow */
.badge--cn { background: #D8DEE8; color: #1D2026; }   /* Nolan: steel */

/* Genre sections */
.genre, .podcasts { margin-top: 3.25rem; scroll-margin-top: 1.5rem; }
.genre__title {
  display: flex; align-items: center; gap: .9rem; margin-bottom: 1.25rem;
  font-size: 1rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--navy);
}
.genre__title::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* Poster colours per genre (two gradient colours) */
.genre--drama   { --c1: #7A5238; --c2: #24160F; }
.genre--crime   { --c1: #4A4F5C; --c2: #0F1115; }
.genre--mystery { --c1: #4F2D40; --c2: #120A0F; }
.genre--scifi   { --c1: #22597A; --c2: #081722; }
.genre--heroes  { --c1: #2F4485; --c2: #0B1128; }
.genre--action  { --c1: #8A3D1C; --c2: #250F06; }
.genre--war     { --c1: #5D5C3B; --c2: #1A1A0E; }

/* Film "posters" (drawn in CSS — no image files needed) */
.films {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}
@media (max-width: 420px) { .films { grid-template-columns: repeat(2, 1fr); } }
.film {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; gap: .2rem;
  aspect-ratio: 2 / 3; padding: .9rem .85rem;
  border-radius: 10px; text-decoration: none; color: #fff;
  background:
    radial-gradient(circle at 80% 15%, rgba(255, 255, 255, .18), transparent 45%),
    linear-gradient(160deg, var(--c1), var(--c2));
  box-shadow: 0 6px 16px rgba(0, 0, 0, .18);
  transition: transform .25s, box-shadow .25s;
}
/* big letter watermark */
.film::before {
  content: attr(data-mark);
  position: absolute; top: -.1em; right: -.05em;
  font-size: 7.5rem; font-weight: 700; line-height: 1;
  color: rgba(255, 255, 255, .09);
}
/* thin frame line, like a printed poster */
.film::after {
  content: ""; position: absolute; inset: 6px;
  border: 1px solid rgba(255, 255, 255, .14); border-radius: 6px; pointer-events: none;
}
.film:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 14px 28px rgba(0, 0, 0, .28); }
.film .badge { position: absolute; top: .75rem; left: .75rem; }
.film__year { font-family: var(--font-mono); font-size: .75rem; color: rgba(255, 255, 255, .7); }
.film__title { font-size: 1.02rem; font-weight: 700; line-height: 1.25; }
.film__dir { font-size: .75rem; color: rgba(255, 255, 255, .72); line-height: 1.35; }

/* Podcasts */
.pods {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
}
.pod {
  display: flex; flex-direction: column; gap: .65rem;
  text-decoration: none; color: var(--ink);
}
.pod__cover {
  position: relative; display: grid; place-items: center;
  aspect-ratio: 1; border-radius: 14px;
  font-size: 2.4rem; font-weight: 700; letter-spacing: .02em; color: #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .15);
  transition: transform .25s, box-shadow .25s;
}
/* small sound-wave mark on every cover */
.pod__cover::after {
  content: ""; position: absolute; left: 14px; bottom: 14px;
  width: 34px; height: 14px;
  background:
    linear-gradient(#fff, #fff) 0 50% / 3px 6px no-repeat,
    linear-gradient(#fff, #fff) 7px 50% / 3px 14px no-repeat,
    linear-gradient(#fff, #fff) 14px 50% / 3px 9px no-repeat,
    linear-gradient(#fff, #fff) 21px 50% / 3px 12px no-repeat,
    linear-gradient(#fff, #fff) 28px 50% / 3px 5px no-repeat;
  opacity: .75;
}
.pod:hover .pod__cover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(0, 0, 0, .25); }
/* real cover from Spotify (sits on top of the drawn fallback) */
.pod__cover { overflow: hidden; }
.pod__cover img {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%; object-fit: cover;
}
.pod__name { font-weight: 600; }
.pod--1 .pod__cover { background: linear-gradient(150deg, #3B2B63, #120C24); }
.pod--2 .pod__cover { background: linear-gradient(150deg, #1E7A6B, #0A2A25); }
.pod--3 .pod__cover { background: linear-gradient(150deg, #B4552B, #3A1608); }
.pod--4 .pod__cover { background: linear-gradient(150deg, #A12A4A, #2E0914); }
.pod--5 .pod__cover { background: linear-gradient(150deg, #2B3A55, #0C1220); }
.pod--6 .pod__cover { background: linear-gradient(150deg, #3F6E2A, #12220B); }
.link-btn {
  padding: 0; border: 0; background: none; cursor: pointer;
  color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: 4px;
}

/* 10. FOOTER & LOGOS */
.site-footer { padding: 2.5rem 0 1.75rem; background: var(--charcoal); color: #C9CCD2; font-size: .88rem; }
.site-footer a { color: #fff; }
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; }
/* Logos always sit on white (EU logo guidelines) */
.logo-strip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 2rem;
  width: fit-content; max-width: 100%; margin: 0 auto 2rem; padding: .9rem 1.5rem;
  background: #FFFFFF; border-radius: 12px;
}
.logo-strip img { height: 60px; width: auto; max-width: 100%; object-fit: contain; }

/* 11. LANGUAGES — hide the language that is not selected */
html[lang="en"] [data-lang="pt"],
html[lang="pt"] [data-lang="en"] { display: none !important; }

/* 12. MOTION — panels fade in when switching tabs */
.js .panel { animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
