/* Pages d'atterrissage (référencement) : HTML statique sans JS, couleurs et polices du thème Groovy. */
@font-face { font-family: "Shrikhand"; src: url("/fonts/shrikhand.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Cabin"; src: url("/fonts/cabin.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Righteous"; src: url("/fonts/righteous.woff2") format("woff2"); font-display: swap; }

:root {
  --bg: #F3D9B1;
  --surface: #FFF4E3;
  --surface-2: #FBEBD2;
  --line: #E5C79C;
  --line-strong: #8A4B1F;
  --ink: #3B1F0E;
  --muted: #7A5235;
  --red: #C2481A;
  --red-deep: #9C3912;
  --green: #5E7A1F;
  --kraft: #E8A33D;
  --gold: #9A6A00;
  --shadow: 4px 4px 0 rgb(138 75 31 / .3);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg) repeating-radial-gradient(circle at 100% 100%, rgb(194 72 26 / .1) 0 26px, rgb(232 163 61 / .14) 26px 52px, rgb(94 122 31 / .09) 52px 78px, transparent 78px 104px) fixed;
  color: var(--ink);
  font: 17px/1.6 "Cabin", system-ui, sans-serif;
}

a { color: var(--red-deep); text-underline-offset: 2px; }
a:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: 980px; margin: 0 auto; padding: 0 16px; }

.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--gold); text-decoration: none; font: 26px/1 "Righteous", system-ui, sans-serif; }
.brand img { width: 40px; height: 40px; border-radius: 10px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px;
  border: 2px solid var(--line-strong); border-radius: 12px; background: var(--surface); color: var(--ink);
  font: 600 17px/1.2 "Cabin", system-ui, sans-serif; text-decoration: none; box-shadow: var(--shadow);
}
.btn--seal { background: var(--red); border-color: var(--red-deep); color: #FFF4E3; }
.btn:hover { transform: translate(-1px, -1px); box-shadow: 6px 6px 0 rgb(138 75 31 / .4); }
.btn--small { min-height: 40px; padding: 8px 14px; font-size: 15px; white-space: nowrap; }

h1, h2, h3 { font-family: "Shrikhand", Georgia, serif; font-weight: 400; line-height: 1.15; color: var(--ink); }
h1 { margin: 0 0 16px; font-size: clamp(34px, 6vw, 56px); }
h2 { margin: 0 0 12px; font-size: clamp(24px, 3.6vw, 32px); }
h3 { margin: 0 0 6px; font-size: 20px; }

.hero { display: grid; gap: 32px; align-items: center; padding: 24px 0 48px; }
.kicker { display: inline-block; margin-bottom: 12px; color: var(--green); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 14px; }
.lead { margin: 0 0 24px; font-size: 19px; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.note { margin: 12px 0 0; font-size: 14px; color: var(--muted); }

/* Grille décorative : 24 cases, quelques-unes ouvertes. */
.grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; padding: 16px; border: 2px solid var(--line-strong); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); }
.grid span { display: grid; place-items: center; aspect-ratio: 1; border-radius: 10px; background: linear-gradient(150deg, var(--kraft), var(--red)); color: #FFF4E3; font: 22px/1 "Shrikhand", Georgia, serif; }
.grid span:nth-child(3n+2) { background: linear-gradient(150deg, #A9BB5C, var(--green)); }
.grid span:nth-child(3n) { background: linear-gradient(150deg, #F2C36B, var(--kraft)); color: var(--ink); }
.grid span.open { background: var(--surface-2); border: 2px dashed var(--line); color: var(--line-strong); font-size: 26px; }

section.block { margin: 0 0 24px; padding: 28px; border: 2px solid var(--line-strong); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); }
section.block > :last-child { margin-bottom: 0; }
section.block p, section.block ul, section.block ol { margin: 0 0 12px; }
section.block li { margin-bottom: 6px; }

.cols { display: grid; gap: 16px; margin: 16px 0 0; padding: 0; list-style: none; }
.cols > li { margin: 0; padding: 16px; border: 2px solid var(--line); border-radius: 12px; background: var(--surface-2); }
.cols p { margin: 0; }

.steps { counter-reset: step; padding: 0; list-style: none; }
.steps li { position: relative; padding-left: 48px; margin-bottom: 14px; }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--red); color: #FFF4E3; font: 18px/1 "Shrikhand", Georgia, serif; }

details { padding: 12px 0; border-top: 2px solid var(--line); }
details:first-of-type { border-top: 0; }
summary { cursor: pointer; font-weight: 700; }
details p { margin: 8px 0 0; }

.cta { text-align: center; }
.cta p { color: var(--muted); }

.more { display: grid; gap: 12px; margin: 0 0 32px; padding: 0; list-style: none; }
.more a { display: block; padding: 16px; border: 2px solid var(--line-strong); border-radius: 12px; background: var(--surface); color: var(--ink); font-weight: 700; text-decoration: none; box-shadow: var(--shadow); }
.more a span { display: block; font-weight: 400; color: var(--muted); }

.foot { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; padding: 24px 0 40px; font-size: 14px; color: var(--muted); }
.foot a { color: var(--muted); }

@media (min-width: 760px) {
  .hero { grid-template-columns: 1.15fr .85fr; padding: 40px 0 64px; }
  .cols { grid-template-columns: repeat(2, 1fr); }
  .cols--3 { grid-template-columns: repeat(3, 1fr); }
  .more { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: no-preference) {
  .btn { transition: transform .15s, box-shadow .15s; }
}
