/* muesli.io — site de la société. Aucune ressource externe, aucun cookie, aucun traceur. */

@font-face { font-family: "Instrument Sans"; font-weight: 400; font-display: swap; src: url("fonts/instrument-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 500; font-display: swap; src: url("fonts/instrument-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 600; font-display: swap; src: url("fonts/instrument-sans-latin-600-normal.woff2") format("woff2"); }

:root {
  /* Couleurs du logo Muesli */
  --ink: #141C21;
  --ink-2: #26303A;
  --red: #EF5541;
  --yellow: #FDB500;
  --green: #40E285;
  --teal: #1AD8B4;
  --cyan: #23DEE2;
  --blue: #3B6DEA;
  --navy: #124E89;
  --violet: #683DF2;
  --magenta: #C14ACE;
  --oat: #F5F5F2;
  --oat-2: #E8E8E3;
  --paper: #FFFFFF;
  --muted: #5B646B;
  --honey: var(--yellow);
  --honey-deep: var(--blue);
  --line: rgba(20, 28, 33, 0.14);
  --max: 1200px;
  --serif: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 18px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-color: var(--blue); text-decoration-thickness: 2px; text-underline-offset: 4px; }
a:hover { color: var(--honey-deep); }
:focus-visible { outline: 3px solid var(--honey); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.035em; line-height: 1.04; margin: 0; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

/* ---------- En-tête ---------- */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 26px; padding-bottom: 26px; }
.logo { display: inline-block; line-height: 0; }
.logo img { width: 150px; height: auto; }
@media (max-width: 480px) { .logo img { width: 124px; } }
.nav { display: flex; align-items: center; gap: 26px; font-weight: 500; font-size: 15px; }
.nav a { text-decoration: none; }
.nav .lang { border: 1.5px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: 13px; letter-spacing: 0.04em; }
@media (max-width: 640px) { .nav .hide-sm { display: none; } .nav { gap: 16px; } }

/* ---------- Haut de page : la société ---------- */
.hero { background: var(--oat); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; padding-top: 48px; padding-bottom: 96px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 34px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--red) 0 25%, var(--yellow) 25% 50%, var(--green) 50% 75%, var(--blue) 75%); }
.hero h1 { font-size: clamp(44px, 6.2vw, 80px); }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--red), var(--yellow) 30%, var(--green) 55%, var(--blue) 80%, var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 20px; color: var(--ink-2); max-width: 36em; margin-top: 28px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 34px 0 0; padding: 0; list-style: none; font-size: 15px; font-weight: 500; }
.facts li { display: flex; align-items: center; gap: 8px; }
.facts li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--c, var(--green)); }
.facts li:nth-child(1) { --c: var(--red); } .facts li:nth-child(2) { --c: var(--yellow); } .facts li:nth-child(3) { --c: var(--teal); }

/* Le « bol » : les savoir-faire mélangés comme des flocons. */
.bowl { position: relative; aspect-ratio: 1 / 1; max-width: 460px; width: 100%; margin-left: auto; }
.bowl::before { content: ""; position: absolute; inset: 6%; border-radius: 50%; background: var(--paper); box-shadow: inset 0 -18px 0 var(--oat-2); }
.flake { position: absolute; padding: 9px 16px; border-radius: 10px; font-size: 15px; font-weight: 600; white-space: nowrap; background: var(--ink); color: var(--paper); transform: translate(-50%, -50%) rotate(var(--r, 0deg)); box-shadow: 0 6px 0 rgba(28,25,21,0.12); }
.flake.ink { background: var(--ink); }
.flake.red { background: var(--red); }
.flake.yellow { background: var(--yellow); color: var(--ink); }
.flake.green { background: var(--green); color: var(--ink); }
.flake.teal { background: var(--teal); color: var(--ink); }
.flake.blue { background: var(--blue); }
.flake.navy { background: var(--navy); }
.flake.violet { background: var(--violet); }
.flake.magenta { background: var(--magenta); }

.scroll-cue { display: inline-flex; align-items: center; gap: 10px; margin-top: 44px; font-size: 14px; font-weight: 600; text-decoration: none; }
.scroll-cue span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--ink); }

/* ---------- Bandes projets ---------- */
.projects-head { padding-top: 88px; padding-bottom: 40px; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.projects-head h2 { font-size: clamp(34px, 4.4vw, 54px); }
.projects-head p { max-width: 30em; color: var(--muted); margin: 0; }

.band { position: relative; overflow: hidden; }
.band-grid { display: grid; grid-template-columns: 1fr minmax(280px, 400px) 1fr; gap: 56px; align-items: center; padding-top: 88px; padding-bottom: 88px; min-height: 620px; }
.band .num { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.7; margin-bottom: 20px; }
.band h3 { font-size: clamp(30px, 3.4vw, 44px); margin-top: 20px; }
.band .desc p { font-size: 17px; }
.band .tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.band .tags li { font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 999px; border: 1.5px solid currentColor; opacity: 0.85; }
.btn { display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; transition: transform .15s ease; }
.btn:hover { transform: translateY(-2px); }
.visual { position: relative; display: flex; justify-content: center; align-self: stretch; align-items: center; }

/* Voco — reprend le fond et les couleurs de voco.chat */
.band-voco { background: #F4F1EA; color: #15171E; }
.band-voco .band-grid { padding-bottom: 0; align-items: end; }
.band-voco .intro, .band-voco .desc { padding-bottom: 88px; align-self: center; }
.band-voco .voco-logo { width: 190px; height: auto; }
.band-voco .baseline { font-family: var(--sans); font-weight: 600; font-size: 22px; margin-top: 18px; line-height: 1.3; }
.band-voco .baseline b { color: #FF5B23; font-weight: 600; }
.band-voco .visual { align-self: end; }
.band-voco .visual img { width: 100%; max-width: 380px; height: auto; position: relative; z-index: 1; }
.band-voco .visual::before { content: ""; position: absolute; width: 120%; aspect-ratio: 1; border-radius: 50%; background: #FF5B23; opacity: 0.12; bottom: -30%; }
.band-voco .btn { background: #15171E; color: #F4F1EA; }
.band-voco .btn:hover { color: #F4F1EA; background: #FF5B23; }
.band-voco a:not(.btn) { text-decoration-color: #FF5B23; }

/* Ristourne — fond vert profond, accent citron */
.band-ristourne { background: #0F3B2D; color: #EAF2E3; }
.band-ristourne .r-logo { font-family: var(--sans); font-weight: 600; font-size: 44px; letter-spacing: -0.04em; line-height: 1; display: inline-flex; align-items: center; gap: 10px; }
.band-ristourne .r-logo span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #D7F36A; color: #0F3B2D; font-size: 26px; }
.band-ristourne .baseline { font-size: 21px; margin-top: 18px; line-height: 1.35; color: #C8DCC4; }
.band-ristourne .baseline b { color: #D7F36A; font-weight: 600; }
.campaign { background: #FBFCF7; color: #10261E; border-radius: 22px; padding: 22px; width: 100%; max-width: 360px; box-shadow: 0 30px 60px rgba(0,0,0,0.28); transform: rotate(-2deg); font-size: 14px; }
.campaign .c-shop { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: #5E6E66; margin-bottom: 14px; }
.campaign .c-shop b { color: #10261E; }
.campaign h4 { font-family: var(--sans); font-size: 19px; margin: 0 0 4px; letter-spacing: -0.01em; }
.campaign .c-sub { color: #5E6E66; margin: 0 0 16px; }
.campaign .row { display: flex; justify-content: space-between; padding: 10px 0; border-top: 1px solid #E3E9E2; }
.campaign .row s { color: #8A968F; margin-right: 6px; }
.campaign .bar { height: 10px; border-radius: 99px; background: #E3E9E2; margin: 14px 0 6px; overflow: hidden; }
.campaign .bar i { display: block; height: 100%; width: 68%; background: #0F3B2D; border-radius: 99px; }
.campaign .c-goal { display: flex; justify-content: space-between; font-size: 12px; color: #5E6E66; }
.campaign .c-btn { margin-top: 16px; text-align: center; background: #0F3B2D; color: #D7F36A; border-radius: 12px; padding: 12px; font-weight: 600; }
.soon { position: absolute; top: -4%; right: -8%; z-index: 2; font-family: var(--sans); font-weight: 600; font-size: 64px; letter-spacing: 0.02em; line-height: 1; background: #D7F36A; color: #0F3B2D; padding: 14px 24px 12px; border-radius: 14px; transform: rotate(9deg); box-shadow: 0 14px 30px rgba(0,0,0,0.3); }
.band-ristourne .note { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; font-weight: 600; color: #D7F36A; }
.band-ristourne .note::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #D7F36A; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.25; } }

/* Services — l'atelier Muesli */
.band-services { background: var(--ink); color: var(--oat); }
.band-services h3 em { font-style: normal; color: var(--yellow); }
.band-services .lead2 { font-size: 20px; color: #B9C2C8; margin-top: 18px; }
.band-services .btn { background: var(--honey); color: var(--ink); }
.band-services .btn:hover { color: var(--ink); background: var(--green); }
.band-services .mail { display: block; margin-top: 14px; font-size: 15px; color: #B9C2C8; }
.band-services a:not(.btn) { text-decoration-color: var(--yellow); }
.band-services a:not(.btn):hover { color: var(--yellow); }
.skills { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.skills li { padding-left: 22px; border-left: 4px solid var(--c, var(--yellow)); }
.skills li:nth-child(1) { --c: var(--red); } .skills li:nth-child(2) { --c: var(--green); } .skills li:nth-child(3) { --c: var(--blue); }
.skills b { display: block; font-weight: 600; font-size: 20px; color: #fff; margin-bottom: 4px; }
.skills span { font-size: 16px; color: #B9C2C8; }
.code { width: 100%; max-width: 380px; display: grid; gap: 16px; }
.term { background: #0C1114; border: 1px solid rgba(255,255,255,0.10); border-radius: 16px; padding: 16px 18px 18px; font: 500 13.5px/1.65 ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: #DCE3E8; box-shadow: 0 24px 50px rgba(0,0,0,0.35); overflow: hidden; }
.term .dots { display: flex; gap: 6px; margin-bottom: 12px; }
.term .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--red); }
.term .dots i:nth-child(2) { background: var(--yellow); } .term .dots i:nth-child(3) { background: var(--green); }
.term .file { margin-left: auto; font-size: 11.5px; color: #7C8790; }
.term .k { color: var(--yellow); }
.term .s { color: var(--green); }
.term .c { color: #6E7A83; }
.term .n { color: var(--magenta); }
.term:nth-child(2) { transform: translateX(28px) rotate(1.5deg); }
.term pre { margin: 0; white-space: pre; }

/* ---------- Pied de page ---------- */
.foot { background: var(--paper); padding: 56px 0 44px; font-size: 15px; color: var(--muted); }
.foot-grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; align-items: start; }
.foot .logo img { width: 130px; }
.foot address { font-style: normal; margin-top: 12px; line-height: 1.7; }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; font-weight: 500; color: var(--ink); }
.foot nav a { text-decoration: none; }
.foot .copy { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; }

/* ---------- Pages légales ---------- */
.legal { padding-top: 40px; padding-bottom: 96px; max-width: 780px; }
.legal h1 { font-size: clamp(38px, 5vw, 56px); margin-bottom: 12px; }
.legal .updated { color: var(--muted); font-size: 15px; margin-bottom: 40px; }
.legal h2 { font-size: 24px; margin: 40px 0 12px; }
.legal p, .legal li { font-size: 17px; }
.legal ul { padding-left: 20px; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 22px; margin: 0; }
.legal dt { font-weight: 600; }
.legal dd { margin: 0; }
@media (max-width: 560px) { .legal dl { grid-template-columns: 1fr; } .legal dd { margin-bottom: 10px; } }

.notfound { padding: 80px 24px 140px; text-align: center; }
.notfound h1 { font-size: clamp(64px, 12vw, 140px); }

/* ---------- Mobile ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; padding-bottom: 72px; }
  .bowl { margin: 8px auto 0; max-width: 400px; }
  .band-grid { grid-template-columns: 1fr; gap: 40px; min-height: 0; padding-top: 64px; padding-bottom: 64px; }
  .band-voco .band-grid { padding-bottom: 0; }
  .band-voco .intro, .band-voco .desc { padding-bottom: 0; }
  .band-voco .visual { order: 3; }
  .band-voco .visual img { max-width: 300px; }
  .soon { font-size: 46px; right: -4px; top: -34px; }
  .band-ristourne .visual { padding-top: 20px; }
  .term:nth-child(2) { transform: translateX(14px) rotate(1.5deg); }
}
@media (max-width: 480px) {
  body { font-size: 17px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .flake { font-size: 13px; padding: 7px 12px; }
  .soon { font-size: 38px; padding: 10px 18px 9px; }
  .term { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
