/* Mindoria — DA finale (Figma CONCEPTS › Mindoria › Mini-charte) */
:root {
  --creme: #f8f2e8;
  --surface: #fffdf9;
  --vert: #234a35;
  --sauge: #8fa98a;
  --sauge-clair: #e4ecdd;
  --encre: #1e2a22;
  --texte-2: #61655d;
  --bordure: #d9cdb8;

  --matin-bg: #fbe8d5;  --matin: #ad5f1c;
  --midi-bg: #f7eecb;   --midi: #806410;
  --soir-bg: #f5e0e6;   --soir: #9c4763;
  --nuit-bg: #e3e7f2;   --nuit: #44518a;

  --radius: 20px;
  --ombre: 0 1px 3px rgba(30, 42, 34, .06), 0 4px 16px rgba(30, 42, 34, .04);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--creme);
  color: var(--encre);
  font-family: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 22px;
}

a { color: var(--vert); font-weight: 600; }
a:hover { text-decoration-thickness: 2px; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* En-tête */
.top { padding: 18px 0; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--encre); font-weight: 700; font-size: 20px; }
.brand img { width: 40px; height: 40px; }
.top nav { display: flex; gap: 20px; flex-wrap: wrap; }
.top nav a { text-decoration: none; font-size: 15px; }

/* Héro */
.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; padding: 32px 0 64px; }
.pill { display: inline-block; background: var(--surface); color: var(--vert); font-size: 12px; font-weight: 500; line-height: 16px; padding: 7px 12px; border-radius: 999px; }
h1 { font-size: 44px; line-height: 50px; letter-spacing: -.5px; margin: 18px 0 16px; }
.lead { font-size: 18px; line-height: 26px; color: var(--texte-2); margin: 0 0 28px; max-width: 34em; }
.hero-visual { position: relative; border-radius: 32px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--ombre); }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.hero-visual::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; background: linear-gradient(to bottom, rgba(248, 242, 232, 0), var(--creme)); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 15px 24px; border-radius: 999px; background: var(--vert); color: #fff; font-weight: 600; text-decoration: none; }
.btn.secondary { background: var(--surface); color: var(--vert); box-shadow: inset 0 0 0 1px var(--bordure); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.soon { font-size: 13px; color: var(--texte-2); margin-top: 12px; }

/* Moments */
.section-title { font-size: 24px; line-height: 30px; margin: 0 0 8px; }
.section-sub { color: var(--texte-2); margin: 0 0 24px; }
.moments { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-bottom: 64px; }
.moment { border-radius: var(--radius); padding: 20px; }
.moment h3 { font-size: 18px; line-height: 24px; font-weight: 600; margin: 0 0 6px; display: flex; align-items: center; gap: 8px; }
.moment h3::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.moment p { margin: 0; color: var(--texte-2); font-size: 15px; }
.matin { background: var(--matin-bg); } .matin h3 { color: var(--matin); }
.midi  { background: var(--midi-bg); }  .midi h3  { color: var(--midi); }
.soir  { background: var(--soir-bg); }  .soir h3  { color: var(--soir); }
.nuit  { background: var(--nuit-bg); }  .nuit h3  { color: var(--nuit); }

/* Pages légales / support */
.doc { background: var(--surface); border-radius: var(--radius); box-shadow: var(--ombre); padding: 40px; margin: 16px auto 64px; max-width: 780px; }
.doc h1 { font-size: 32px; line-height: 38px; margin-top: 0; }
.doc h2 { font-size: 20px; line-height: 26px; margin: 32px 0 8px; }
.doc p, .doc li { color: #3a443d; }
.doc .maj { font-size: 13px; color: var(--texte-2); margin-top: -8px; }
.card { background: var(--sauge-clair); border-radius: 16px; padding: 20px; margin: 16px 0; }
.card p { margin: 4px 0; }
.todo { background: #fff3c4; padding: 0 4px; border-radius: 4px; font-weight: 600; }
ol.steps li { margin-bottom: 8px; }
details { border-top: 1px solid var(--bordure); padding: 14px 0; }
details summary { cursor: pointer; font-weight: 600; }
details p { margin: 8px 0 0; }

/* Pied de page */
footer { border-top: 1px solid var(--bordure); padding: 28px 0 40px; font-size: 14px; color: var(--texte-2); }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer nav { display: flex; gap: 16px; flex-wrap: wrap; }
footer a { font-weight: 500; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 32px; padding-top: 8px; }
  .hero-visual { aspect-ratio: 4 / 3; order: -1; }
  h1 { font-size: 34px; line-height: 40px; }
  .moments { grid-template-columns: 1fr 1fr; }
  .top nav { display: none; }
  .doc { padding: 24px 20px; margin-top: 0; }
}
@media (max-width: 480px) {
  .moments { grid-template-columns: 1fr; }
}
