@font-face {
  font-family: Manrope;
  src: url("/assets/manrope.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/instrument-serif.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/instrument-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f6f1e8;
  --ink: #25201c;
  --muted: #5f564d;
  --orange: #a73620;
  --line: #dcd1c2;
  --body: Manrope, system-ui, sans-serif;
  --display: "Instrument Serif", Georgia, serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 1rem/1.6 var(--body); }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }
::selection { background: #ebc3ae; color: var(--ink); }
.wrap { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.skip { position: absolute; z-index: 2; left: 1rem; top: 1rem; padding: 8px 14px; background: white; transform: translateY(-200%); }
.skip:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .footer { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.wordmark { display: inline-flex; gap: .55em; align-items: center; font-size: .96rem; font-weight: 700; letter-spacing: -.035em; text-decoration: none; white-space: nowrap; }
.wordmark strong { font-weight: 800; }
.mark { font-family: system-ui, sans-serif; font-size: 1.67em; line-height: 1; color: var(--orange); }
nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 36px); }
nav a { font-size: .9rem; font-weight: 650; text-decoration: none; }
nav a:hover, .card-link:hover, .share button:hover { text-decoration: underline; text-underline-offset: 4px; }

.hero { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr); gap: clamp(28px, 5.2vw, 86px); align-items: center; padding-block: 56px 62px; }
.hero h1 { font: 400 clamp(3.8rem, 6.6vw, 6rem)/.92 var(--display); letter-spacing: -.027em; text-wrap: balance; }
.hero h1 em { color: var(--orange); }
.hero p { max-width: 37ch; color: var(--muted); margin-top: 24px; font-size: clamp(1rem, 1.5vw, 1.08rem); line-height: 1.65; }
.button { display: inline-flex; align-items: center; min-height: 48px; background: var(--ink); color: #fff9ef; border-radius: 7px; padding: 9px 17px; font-weight: 750; font-size: .9rem; text-decoration: none; }
.button:hover { background: var(--orange); }
.hero .button { margin-top: 24px; }
.hero-image { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 9px; background: #e3d0b4; }

.catalogue { border-top: 1px solid var(--line); padding-block: 39px 66px; scroll-margin-top: 16px; }
.catalogue-head { display: flex; gap: 20px; align-items: baseline; justify-content: space-between; flex-wrap: wrap; margin-bottom: 22px; }
.catalogue h2, .about h2 { font: 400 clamp(2.7rem, 5vw, 4.45rem)/1 var(--display); letter-spacing: -.02em; }
.filters { display: flex; gap: 7px; flex-wrap: wrap; }
.filters button { color: var(--muted); background: transparent; padding: 5px 11px; min-height: 39px; border: 1px solid var(--line); border-radius: 6px; font-size: .85rem; font-weight: 700; }
.filters button:hover { border-color: var(--muted); }
.filters button[aria-pressed="true"] { color: #fff9ef; border-color: var(--ink); background: var(--ink); }
.app-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.app-card { position: relative; display: flex; flex-direction: column; gap: 9px; min-height: 254px; border-radius: 9px; padding: 21px; border: 1px solid #25201c1c; background: var(--card); transition: border-color .18s, box-shadow .18s; scroll-margin-top: 16px; }
.app-card:hover, .app-card:focus-within { border-color: #25201c70; box-shadow: 0 3px 14px #3b272410; }
.app-card:target { border-color: var(--orange); }
.pacer { --card: #ebe6f8; }
.vestiaire { --card: #f5e7d9; }
.saisonnier { --card: #e6eddb; }
.gardeflow { --card: #e2edf3; }
.visio { --card: #f7e3dd; }
.equilibre { --card: #eee9dc; }
.card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.card-top span { color: #514941; font-size: .85rem; font-weight: 750; }
.card-top img { display: block; border-radius: 12px; }
.app-card h3 { font: 400 clamp(2rem, 3.3vw, 2.75rem)/1 var(--display); margin-top: 3px; }
.app-card p { color: #443b33; line-height: 1.5; font-size: 1rem; }
.card-link { margin-top: auto; align-self: start; padding-block: 6px 2px; font-size: .86rem; font-weight: 800; text-decoration: none; border-bottom: 1px solid currentColor; }
.card-link::after { position: absolute; inset: 0; content: ""; border-radius: 9px; }
.card-link:focus-visible { outline: none; }
.card-link:focus-visible::after { outline: 2px solid var(--orange); outline-offset: 3px; }
.about { display: grid; grid-template-columns: minmax(100px, 1fr) minmax(0, 3fr); align-items: center; gap: 28px; padding: 35px clamp(20px, 6vw, 70px); border-radius: 9px; background: #28231f; color: #fff7eb; }
.about-mark { color: #f48760; text-align: center; font: 400 clamp(3.6rem, 12vw, 8rem)/1 system-ui, sans-serif; }
.about h2 { font-size: clamp(2.45rem, 4.6vw, 3.6rem); }
.about p { color: #ebdccb; margin-top: 10px; max-width: 62ch; }
.footer { min-height: 98px; }
.share { text-align: right; }
.share button { background: none; border: 0; padding: 8px 0; color: var(--muted); font-size: .9rem; font-weight: 750; }
.share p { font-size: .86rem; color: var(--muted); }
.share input { width: min(240px, 100%); border: 1px solid var(--line); background: white; padding: 4px 8px; color: var(--ink); }

@media (max-width: 900px) {
  .wrap { width: calc(100% - 48px); }
  .app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 32px); }
  .header-inner { min-height: 66px; }
  .hero { grid-template-columns: 1fr; padding-block: 32px 37px; gap: 22px; }
  .hero h1 { font-size: clamp(3.55rem, 11.1vw, 5.6rem); max-width: 11ch; }
  .hero p { margin-top: 15px; }
  .hero .button { margin-top: 15px; }
  .hero-image { aspect-ratio: 1.4; object-position: 50% 46%; }
  .catalogue { padding-block: 29px 40px; }
}
@media (max-width: 480px) {
  .wordmark { font-size: .83rem; }
  nav { gap: 0; }
  nav a:first-child { font-size: .81rem; }
  nav a:last-child { display: none; }
  .app-grid { grid-template-columns: 1fr; gap: 11px; }
  .app-card { min-height: 216px; padding: 18px; }
  .about { grid-template-columns: 1fr; gap: 8px; padding: 22px 18px; }
  .about-mark { text-align: left; }
  .footer { align-items: flex-start; flex-direction: column; gap: 6px; padding-block: 20px; }
  .share { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .app-card { transition: none; }
}
