/* Panorama des orgas produit. Charte Buildr.pm « L'humain » : contenu/marque/design.md */
:root {
  --creme: #FFFDF5;
  --encre: #111111;
  --vert: #1BD368;
  --jaune: #FFE45C;
  --bleu: #8EC9FF;
  --rose: #FF9EC4;
  --gris-chaud: #55524A;
  --blanc-casse: #E5E2D8;
  --display: 'Unbounded', system-ui, sans-serif;
  --text: 'Rethink Sans', system-ui, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--text); font-weight: 500;
  background: var(--creme); color: var(--encre);
  -webkit-font-smoothing: antialiased; line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--display); font-weight: 900; letter-spacing: -0.03em; line-height: 1.08; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--encre); outline-offset: 3px; }
.container { max-width: 52rem; margin: 0 auto; padding: 0 1.5rem; }
@media (max-width: 600px) { .container { padding: 0 16px; } }

/* Topbar */
.topbar { border-bottom: 3px solid var(--encre); padding: 1.1rem 0; }
.topbar .container { display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap; }
.topbar .brand { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 44px; font-family: var(--display); font-weight: 900; font-size: 1.1rem; letter-spacing: -0.02em; text-decoration: none; }
.topbar .brand::before { content: ""; width: 1.5rem; height: 1.5rem; border-radius: 999px; background: var(--vert); border: 3px solid var(--encre); flex-shrink: 0; }
.topbar .by { font-size: 0.9rem; font-weight: 700; color: var(--gris-chaud); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.topbar .by:hover { color: var(--encre); text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--vert); }

/* Hero */
.hero { padding: 4.5rem 0 4rem; }
.kicker {
  display: inline-block; font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em;
  border: 2px solid var(--encre); border-radius: 999px; padding: 0.35rem 1rem;
  background: var(--bleu); margin-bottom: 1.75rem;
}
.hero h1 { font-size: clamp(2.3rem, 7vw, 4.4rem); margin-bottom: 2rem; }
.hi { display: inline-block; background: var(--jaune); border: 3px solid var(--encre); border-radius: 14px; padding: 0 0.25em; transform: rotate(-1.5deg); margin-top: 0.15em; }
.intro { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: start; }
@media (min-width: 720px) { .intro { grid-template-columns: 9rem 1fr; } }
.intro .pic { display: block; width: 9rem; height: 9rem; border-radius: 999px; overflow: hidden; }
.intro .pic img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.09); }
.intro p { font-size: 1.15rem; margin-bottom: 1rem; max-width: 38rem; }
.intro p:last-child { margin-bottom: 0; }
.signature { display: inline-block; background: var(--encre); color: var(--creme); border-radius: 999px; padding: 0.3rem 1rem; font-size: 0.9rem; font-weight: 700; margin-top: 1rem; }

/* Sections : une couleur de fond par bloc, en alternance */
section { padding: 4.5rem 0; border-top: 3px solid var(--encre); }
.s-jaune { background: var(--jaune); }
.s-bleu { background: var(--bleu); }
.s-rose { background: var(--rose); }
.s-encre { background: var(--encre); color: var(--creme); }
.section-label { font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.9rem; }
h2 { font-size: clamp(1.8rem, 4.6vw, 2.8rem); margin-bottom: 2.25rem; max-width: 40rem; }

/* En 30 secondes : post-its */
.postits { display: grid; grid-template-columns: 1fr; gap: 1.5rem; list-style: none; }
@media (min-width: 720px) { .postits { grid-template-columns: repeat(3, 1fr); } }
.postit { background: var(--creme); border: 3px solid var(--encre); border-radius: 12px; padding: 1.4rem; }
.postit:nth-child(1) { transform: rotate(-1.5deg); }
.postit:nth-child(2) { transform: rotate(1deg); }
.postit:nth-child(3) { transform: rotate(-0.5deg); }
.postit .big { display: block; font-family: var(--display); font-weight: 900; font-size: 2.2rem; letter-spacing: -0.03em; line-height: 1; }
.postit .ctx { display: block; font-size: 0.85rem; font-weight: 700; color: var(--gris-chaud); margin: 0.35rem 0 0.9rem; }
.postit p { font-weight: 800; font-size: 1.05rem; line-height: 1.4; }

/* Tendances */
.trends { display: grid; gap: 1.75rem; }
.trend { border: 3px solid var(--encre); border-radius: 20px; padding: 1.75rem; background: var(--creme); }
.weight {
  display: inline-block; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em;
  border: 2px solid var(--encre); border-radius: 999px; padding: 0.2rem 0.75rem; background: var(--bleu); margin-bottom: 1rem;
}
.trend h3 { font-size: clamp(1.2rem, 2.6vw, 1.5rem); font-weight: 800; margin-bottom: 0.9rem; }
.trend p { font-size: 1.05rem; margin-bottom: 0.9rem; }
blockquote { border-left: 6px solid var(--jaune); padding: 0.2rem 0 0.2rem 1rem; margin: 0 0 1rem; font-weight: 700; font-size: 1.05rem; }
.avis { border: 3px solid var(--encre); border-radius: 14px; background: var(--jaune); padding: 1rem 1.2rem; margin-top: 1.25rem; }
.avis .lbl { display: block; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.35rem; }
.avis p { margin: 0; font-weight: 700; }
.items li .weight { margin-bottom: 0.6rem; }
.s-bleu .items .weight, .s-jaune .items .weight { background: var(--creme); }
.trend p:last-of-type { margin-bottom: 1.1rem; }

/* Mon avis */
.avis-intro { font-size: 1.1rem; max-width: 40rem; margin-bottom: 1.75rem; }
.avis-list { display: grid; gap: 1.25rem; max-width: 44rem; }
.avis-list .avis { margin-top: 0; }
.avis-list .lbl { font-size: 0.8rem; }

/* Marqueurs de relecture : à retirer avant mise en ligne */
.todo { display: inline-block; font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; background: var(--rose); border: 2px solid var(--encre); border-radius: 999px; padding: 0.1rem 0.6rem; margin-left: 0.4rem; vertical-align: middle; }
.avis.vide { background: var(--creme); border-style: dashed; }

/* Listes simples (questions, ce qui marche) */
.items { list-style: none; display: grid; gap: 1.5rem; max-width: 44rem; }
.items li h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 0.4rem; line-height: 1.3; }
.items li p { font-size: 1.05rem; }
.s-encre .items li p { color: var(--blanc-casse); }
.s-encre .section-label { color: var(--blanc-casse); }

/* Inscription */
.signup { max-width: 40rem; }
.signup p.lead { font-size: 1.1rem; margin-bottom: 1.75rem; }
.form { display: flex; flex-wrap: wrap; gap: 1rem; }
.form input[type=email] {
  flex: 1 1 16rem; min-height: 56px; padding: 0 1.1rem; border: 3px solid var(--encre); border-radius: 14px;
  font-family: var(--text); font-size: 1.05rem; font-weight: 500; background: #fff; color: var(--encre);
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: 56px; padding: 0.8rem 1.6rem;
  background: var(--vert); color: var(--encre); border: 3px solid var(--encre); border-radius: 14px;
  font-family: var(--text); font-size: 1.05rem; font-weight: 800; line-height: 1.25; text-align: center; text-decoration: none; cursor: pointer; max-width: 100%;
  box-shadow: 6px 6px 0 var(--encre); transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn::after { content: '→'; }
.btn:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--encre); }
.btn[disabled] { opacity: 0.6; cursor: wait; }
.s-encre .btn { box-shadow: 6px 6px 0 var(--vert); }
.s-encre .btn:hover { box-shadow: 9px 9px 0 var(--vert); }
.form-msg { width: 100%; font-weight: 700; min-height: 1.5rem; }
.form-msg.ok { color: var(--vert); }
.form-msg.err { color: var(--rose); }
.signup .small { font-size: 0.9rem; margin-top: 1rem; color: var(--blanc-casse); }

/* La Cantine */
.cantine p { font-size: 1.1rem; max-width: 40rem; margin-bottom: 1.5rem; }
.link { font-weight: 800; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 4px; display: inline-flex; align-items: center; min-height: 44px; }

/* Archive */
.editions { list-style: none; display: grid; gap: 1.25rem; max-width: 44rem; }
.edition {
  display: block; text-decoration: none; border: 3px solid var(--encre); border-radius: 18px; padding: 1.4rem 1.6rem; background: var(--creme);
  box-shadow: 6px 6px 0 var(--encre); transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.edition:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--encre); }
.edition .date { display: block; font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.4rem; }
.edition .t { display: block; font-family: var(--display); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 0.5rem; }
.edition .d { display: block; color: var(--gris-chaud); }

/* Footer */
footer { border-top: 3px solid var(--encre); padding: 2rem 0; text-align: center; font-size: 0.9rem; color: var(--gris-chaud); }
footer a { color: var(--encre); font-weight: 700; text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--vert); text-underline-offset: 3px; }

@media (max-width: 600px) {
  section { padding: 3.5rem 0; }
  .hero { padding: 3rem 0 3rem; }
  .intro p { font-size: 1.05rem; }
  .intro .pic { width: 6rem; height: 6rem; }
  .trend { padding: 1.3rem; }
  .form .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .edition { transition: none; }
  .btn:hover, .edition:hover { transform: none; }
}
