/* Page de présentation du Socle. */
:root {
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "URW Palladio L", P022, "Book Antiqua", Georgia, serif;
  --font-sans: "Source Sans 3", "Source Sans Pro", Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ink: #1a1412;
  --paper: #f7f3ec;
  --paper-2: #fffdf8;
  --primary: #6c2163;
  --primary-foreground: #fffdf8;
  --muted: #efe8dc;
  --muted-foreground: #5c534c;
  --rule: color-mix(in oklab, var(--ink) 12%, transparent);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.5;
  font-feature-settings: "kern" 1, "liga" 1;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); }
a:hover { color: color-mix(in oklab, var(--primary) 70%, var(--ink)); }
h1, h2, h3, .wordmark {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 100; background: white; padding: .4rem .6rem; }
.wrap { width: min(72rem, calc(100% - 2rem)); margin-inline: auto; }
.site-head {
  position: sticky; top: 0; z-index: 40;
  border-bottom: 1px solid var(--rule);
  background: color-mix(in oklab, var(--paper) 88%, transparent);
  backdrop-filter: blur(12px);
}
.site-head__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4rem; }
.wordmark { display: flex; align-items: center; gap: .6rem; color: inherit; text-decoration: none; font-size: 1.35rem; }
/* Logo du Socle : Twemoji « brique » (CC BY 4.0) sur le carreau du Radar. */
.wordmark__logo { display: block; flex: none; width: 2.25rem; height: 2.25rem; }
.wordmark__nom { display: flex; align-items: baseline; gap: .7rem; }
.wordmark small { font-family: var(--font-sans); font-size: .7rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-foreground); }
.nav-main { display: flex; align-items: center; gap: .25rem; }
.nav-main a:not(.btn) { display: none; padding: .45rem .75rem; border-radius: .4rem; color: var(--muted-foreground); text-decoration: none; font-size: .9rem; font-weight: 500; }
.nav-main a:not(.btn):hover { background: var(--muted); color: var(--ink); }
@media (min-width: 800px) { .nav-main a:not(.btn) { display: inline-flex; } }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .55rem 1rem; border-radius: .5rem; border: 1px solid transparent;
  background: var(--primary); color: var(--primary-foreground);
  font: inherit; font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer;
}
.btn:hover { color: var(--primary-foreground); filter: brightness(1.08); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn--outline:hover { background: var(--muted); color: var(--ink); filter: none; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--lg { padding: .7rem 1.15rem; }
.kicker { margin: 0; font-size: .8rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--primary); }
.hero { padding: 3.5rem 0 2rem; text-align: center; }
.hero h1 { margin: .8rem auto 0; max-width: 18ch; font-size: clamp(2.3rem, 6.5vw, 4rem); line-height: 1.08; }
.hero h1 em { font-style: italic; color: var(--primary); }
.hero .sigle {
  margin: 0.9rem auto 0;
  max-width: 36rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.08rem;
  line-height: 1.4;
  color: var(--ink);
  font-weight: 400;
}
.lede { margin: 1.2rem auto 0; max-width: 38rem; font-size: 1.15rem; line-height: 1.55; color: var(--muted-foreground); }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; margin-top: 1.7rem; }
.note { margin-top: 1rem; font-size: .85rem; color: var(--muted-foreground); }
.frame, .shot { margin: 0; overflow: hidden; border-radius: 1rem; background: var(--paper-2); border: 1px solid var(--rule); }
.frame { margin-top: 2.5rem; box-shadow: 0 1.5rem 3rem color-mix(in oklab, var(--ink) 16%, transparent); }
.frame-bar { display: flex; align-items: center; gap: .4rem; padding: .6rem 1rem; border-bottom: 1px solid var(--rule); background: color-mix(in oklab, var(--muted) 70%, transparent); }
.frame-bar i { width: .65rem; height: .65rem; border-radius: 50%; background: color-mix(in oklab, var(--ink) 18%, transparent); }
.frame figcaption, .shot figcaption { margin: 0; padding: .7rem 1rem; border-top: 1px solid var(--rule); font-size: .8rem; color: var(--muted-foreground); }
.shot--tall img { max-height: 32rem; object-fit: cover; object-position: top; width: 100%; }
.block { padding: 3.5rem 0; border-top: 1px solid var(--rule); }
.block h2 { margin: .35rem 0 0; max-width: 22ch; font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.15; }
.intro { margin: 1rem 0 0; max-width: 40rem; color: var(--muted-foreground); font-size: 1.05rem; line-height: 1.6; }
.features, .gallery { display: grid; gap: 1rem; margin-top: 2rem; }
@media (min-width: 720px) { .features, .gallery { grid-template-columns: 1fr 1fr; } }
.features article { padding: 1.15rem 1.2rem 1.25rem; border: 1px solid var(--rule); border-radius: .9rem; background: var(--paper-2); }
.features h3 { margin: 0; font-size: 1.1rem; }
.features p { margin: .4rem 0 0; color: var(--muted-foreground); }
.legal { margin-top: 1.5rem; font-size: .95rem; color: var(--muted-foreground); max-width: 44rem; line-height: 1.6; }
.band { margin-top: 0; padding: 2rem 1.5rem; border-radius: 1rem; background: var(--primary); color: var(--primary-foreground); display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: center; justify-content: space-between; }
.band h2 { margin: .2rem 0 0; color: inherit; font-size: 2rem; }
.band p { margin: .6rem 0 0; max-width: 36rem; opacity: .9; }
.band .btn { background: var(--paper-2); color: var(--ink); }
.site-foot { border-top: 1px solid var(--rule); padding: 2rem 0 2.5rem; font-size: .9rem; color: var(--muted-foreground); }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between; }
.site-foot strong { color: var(--ink); font-family: var(--font-serif); }
.site-foot a { color: inherit; }

.nav-toggle { display: none; }
.nav-toggle summary { list-style: none; cursor: pointer; }
.nav-toggle summary::-webkit-details-marker { display: none; }
.nav-toggle .nav-panel {
  display: none;
}
.nav-toggle[open] .nav-panel {
  display: flex;
  flex-direction: column;
  position: absolute;
  right: 1rem;
  top: 3.6rem;
  min-width: 14rem;
  padding: 0.5rem;
  border: 1px solid var(--rule);
  border-radius: 0.75rem;
  background: var(--paper-2);
  box-shadow: 0 1rem 2rem color-mix(in oklab, var(--ink) 12%, transparent);
  z-index: 50;
}
.nav-toggle .nav-panel a {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: 0.4rem;
  color: inherit;
  text-decoration: none;
}
.nav-toggle .nav-panel a:hover { background: var(--muted); }
@media (max-width: 799px) {
  .wordmark small { display: none; }
  .wordmark { white-space: nowrap; }
  .nav-main > a:not(.nav-toggle) { display: none !important; }
  .nav-toggle { display: block; position: static; }
}
.band .btn--outline { background: var(--paper-2); color: var(--ink); border-color: transparent; }
