@font-face {
  font-family: Newsreader;
  src: url("/fonts/newsreader.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: Public;
  src: url("/fonts/public-sans.woff2") format("woff2");
  font-display: swap;
}
:root {
  color-scheme: dark;
  --forest: #14251c;
  --cream: #f5f0e5;
  --gold: #e6c48d;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--forest);
  color: var(--cream);
  font-family: Public, system-ui, sans-serif;
}
a {
  color: inherit;
}
a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 5px;
}
.hub-header,
main,
.hub-footer {
  max-width: 1320px;
  margin: auto;
  padding: 0 32px;
}
.hub-header {
  height: 88px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.hub-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font:
    34px Newsreader,
    Georgia,
    serif;
}
.hub-brand svg {
  width: 36px;
  height: 36px;
  color: var(--gold);
}
nav {
  display: flex;
  gap: 26px;
  align-items: center;
}
nav a {
  padding: 12px 0;
  text-decoration: none;
  font-size: 15px;
}
.hub-intro {
  text-align: center;
  padding: 34px 0 28px;
}
.eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  color: var(--gold);
}
h1 {
  font:
    clamp(36px, 4.1vw, 62px)/1.06 Newsreader,
    Georgia,
    serif;
  margin: 16px 0;
}
h1 em {
  font-style: normal;
  color: var(--gold);
}
.hub-intro > p:last-child {
  color: #d4dbd5;
  font-size: 16px;
  line-height: 1.6;
}
.universe-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.universe-card {
  min-height: 440px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid #718071;
  border-radius: 20px;
  text-decoration: none;
  display: flex;
  align-items: end;
  background: #1b3228;
}
.universe-card:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #07140d00 15%, #07140d99 50%, #07140df5 100%);
  z-index: -1;
}
.universe-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hunting img {
  object-position: right center;
}
.fishing img {
  object-position: 78% center;
}
.card-copy {
  padding: 28px;
  width: 100%;
}
.card-copy h2 {
  font:
    54px/1 Newsreader,
    Georgia,
    serif;
  margin: 12px 0;
}
.card-copy p {
  max-width: 40ch;
  line-height: 1.5;
  font-size: 15px;
  color: #f1f2ec;
}
/* Lien d'action dans une carte (page « Découvrir la pêche ») : au doigt, la zone
   à toucher fait au moins 44 px de haut, et le texte garde 15 px sur téléphone. */
.card-copy p a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  color: inherit;
}
.card-copy p:has(> a:only-child) {
  margin: 0;
}
.enter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #d9c29f88;
  padding-top: 16px;
  margin-top: 20px;
  font-weight: 600;
  color: var(--gold);
}
.universe-card:hover {
  border-color: var(--gold);
}
.shared-journey {
  margin: 48px auto 32px;
  text-align: center;
}
.shared-journey h2 {
  font:
    30px Newsreader,
    Georgia,
    serif;
}
.shared-journey ol {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.shared-journey li {
  font-size: 14px;
  padding: 20px 8px;
  border-top: 1px solid #607061;
}
.shared-journey li span {
  display: block;
  color: var(--gold);
  font-size: 12px;
  margin-bottom: 10px;
}
.shared-journey p {
  max-width: 76ch;
  margin: auto;
  line-height: 1.7;
  color: #c7d0c8;
  font-size: 14px;
}
.hub-footer {
  border-top: 1px solid #607061;
  padding-top: 22px;
  padding-bottom: 22px;
  display: flex;
  gap: 24px;
  align-items: baseline;
  justify-content: space-between;
}
.hub-footer p {
  max-width: 70ch;
  color: #bac6bc;
  font-size: 12px;
  line-height: 1.6;
}
.skip {
  position: absolute;
  top: -100px;
}
.skip:focus {
  top: 8px;
  left: 8px;
  z-index: 10;
  background: #14251c;
  padding: 12px;
}
@media (max-width: 640px) {
  .hub-header,
  main,
  .hub-footer {
    padding-left: 20px;
    padding-right: 20px;
  }
  .hub-header {
    height: auto;
    min-height: 70px;
    flex-wrap: wrap;
    row-gap: 0;
  }
  .hub-brand {
    font-size: 27px;
    gap: 6px;
  }
  .hub-brand svg {
    width: 27px;
    height: 27px;
  }
  nav {
    gap: 4px 12px;
    flex-wrap: wrap;
  }
  nav a {
    font-size: 13px;
    white-space: nowrap;
  }
  .hub-intro {
    padding: 12px 0 18px;
  }
  .hub-intro .eyebrow {
    font-size: 10px;
  }
  .hub-intro h1 {
    font-size: 35px;
    margin: 10px 0;
  }
  .hub-intro > p:last-child {
    font-size: 14px;
    margin-bottom: 0;
  }
  .universe-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .universe-card {
    min-height: 225px;
    border-radius: 14px;
  }
  .card-copy {
    padding: 20px;
  }
  .card-copy h2 {
    font-size: 38px;
    margin: 8px 0;
  }
  .card-copy p {
    font-size: 13px;
    margin: 8px 0;
    max-width: 34ch;
  }
  .enter {
    padding-top: 10px;
    margin-top: 12px;
    font-size: 14px;
  }
  .card-copy .eyebrow {
    font-size: 9px;
  }
  .shared-journey {
    margin-top: 32px;
  }
  .shared-journey ol {
    grid-template-columns: 1fr 1fr;
  }
  .hub-footer {
    display: block;
  }
  .hub-footer > a {
    display: inline-block;
    padding-top: 20px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .universe-card {
    transition: border-color 0.2s ease;
  }
}
