/* Le site de Comoony (COL-00024, CD-036) : les couleurs, la police et le ton de la marque (docs/marque/MARQUE.md, CD-020).
   Rien ne se charge d'ailleurs : la police et les images sont servies avec le site ; aucun traceur, aucun cookie. */
@font-face {
  font-family: "Nunito";
  src: url("/fonts/Nunito.ttf") format("truetype");
  font-weight: 200 1000;
  font-display: swap;
}
:root {
  --ink: #1d1b2c;
  --ink-soft: #3a3848;
  --sun: #ffc233;
  --sun-tint: #ffe6a6;
  --sun-pale: #fff3d1;
  --orange: #ff6a3d;
  --milk: #fffbf0;
  --white: #ffffff;
  --grey: #6e6b70;
  --line: #e7e3da;
  --radius: 28px;
  --shadow: 0 1px 2px rgba(29, 27, 44, 0.04), 0 12px 32px rgba(29, 27, 44, 0.08);
  --wide: 1160px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  background: var(--milk);
  color: var(--ink);
  font-family: "Nunito", ui-rounded, "SF Pro Rounded", -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 500;
}
main { overflow-x: clip; }
img { max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration-color: var(--sun); text-decoration-thickness: 3px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--orange); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--milk); padding: 8px 14px; border-radius: 10px; z-index: 50; }
.skip:focus { left: 8px; }

/* l'en-tête */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 251, 240, 0.92); backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 76px; }
.top .logo img { display: block; width: 168px; height: auto; }
.top nav { display: flex; gap: 22px; margin-left: auto; }
.top nav a { text-decoration: none; font-weight: 700; font-size: 16px; color: var(--ink-soft); }
.top nav a:hover { color: var(--ink); }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-btn span { display: block; width: 24px; height: 3px; border-radius: 3px; background: var(--ink); margin: 5px 0; }

/* les boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px;
  border-radius: 999px; font: inherit; font-weight: 800; font-size: 17px; text-decoration: none; cursor: pointer; border: 0;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-main { background: var(--sun); color: var(--ink); box-shadow: 0 6px 18px rgba(255, 194, 51, 0.45); }
.btn-main:hover { box-shadow: 0 10px 24px rgba(255, 194, 51, 0.55); }
.btn-quiet { background: var(--white); color: var(--ink); border: 1px solid var(--line); }
.btn-dark { background: var(--ink); color: var(--milk); }
.btn-small { min-height: 42px; padding: 0 18px; font-size: 15px; }

/* les titres et textes */
h1, h2, h3 { font-weight: 900; letter-spacing: -0.015em; margin: 0; }
h1 { font-size: clamp(40px, 5.2vw, 64px); line-height: 1.04; }
h2 { font-size: clamp(32px, 4.4vw, 48px); line-height: 1.1; }
h3 { font-size: 21px; line-height: 1.3; font-weight: 800; }
p { margin: 0 0 14px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; letter-spacing: 0.02em;
  background: var(--sun-tint); border-radius: 999px; padding: 6px 14px; margin-bottom: 20px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.lead { font-size: clamp(19px, 2vw, 22px); color: var(--ink-soft); font-weight: 600; line-height: 1.5; }
.muted { color: var(--grey); }
.small { font-size: 15px; color: var(--grey); }
.mark { background: linear-gradient(transparent 62%, var(--sun) 62%, var(--sun) 92%, transparent 92%); padding: 0 2px; }

/* les sections */
section { padding: 104px 0; }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 18px; }
.band-white { background: var(--white); }
.band-sun { background: var(--sun-pale); }
.band-ink { background: var(--ink); color: var(--milk); }
.band-ink .lead, .band-ink .muted { color: #c9c6d2; }
.band-ink a { color: var(--milk); }

/* l'accueil */
.hero { padding: 64px 0 96px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero .lead { max-width: 560px; margin-bottom: 32px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.hero .reassure { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; font-weight: 700; color: var(--ink-soft); padding: 0; margin: 0; list-style: none; }
.hero .reassure li::before { content: ""; display: inline-block; width: 18px; height: 18px; margin-right: 8px; vertical-align: -3px;
  border-radius: 6px; background: var(--sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.6 2.5L13 6.5' fill='none' stroke='%231D1B2C' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.stage { position: relative; display: flex; justify-content: center; }
.stage::before { content: ""; position: absolute; width: 460px; height: 460px; border-radius: 120px; background: var(--sun);
  transform: rotate(-8deg); top: 40px; z-index: 0; }
.stage .bubble { position: absolute; z-index: 2; background: var(--white); border-radius: 20px; box-shadow: var(--shadow); padding: 12px 16px;
  font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.stage .bubble b { font-weight: 900; }
.stage .b1 { left: -8px; top: 24px; animation: float 6s ease-in-out infinite; }
.stage .b2 { right: -12px; bottom: 120px; animation: float 6s ease-in-out -3s infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* le téléphone : une maquette de l'application, dessinée en HTML */
.phone { position: relative; z-index: 1; width: 300px; border-radius: 46px; background: var(--ink); padding: 12px; box-shadow: 0 30px 60px rgba(29, 27, 44, 0.28); }
.phone .screen { border-radius: 36px; background: var(--milk); overflow: hidden; height: 600px; display: flex; flex-direction: column; }
.phone .status { display: flex; justify-content: space-between; align-items: center; padding: 14px 24px 6px; font-size: 13px; font-weight: 800; }
.phone .island { width: 84px; height: 24px; background: var(--ink); border-radius: 999px; }
.phone .app { padding: 12px 18px 18px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.phone .hello { font-size: 25px; font-weight: 900; line-height: 1.15; margin: 6px 0 2px; }
.phone .sub { font-size: 14px; color: var(--grey); font-weight: 600; margin: 0 0 6px; }
.task { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 12px 14px; display: grid;
  grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; }
.task .ic { width: 40px; height: 40px; border-radius: 13px; background: var(--sun-pale); display: grid; place-items: center; }
.task .ic svg { width: 22px; height: 22px; }
.task .t { font-weight: 800; font-size: 15px; line-height: 1.25; }
.task .m { font-size: 13px; color: var(--grey); font-weight: 600; }
.task .ok { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line); }
.task.done { opacity: 0.75; }
.task.done .ok { background: var(--sun); border-color: var(--sun); position: relative; }
.task.done .ok::after { content: ""; position: absolute; left: 8px; top: 4px; width: 7px; height: 12px; border: solid var(--ink); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.thanks { background: var(--sun); border-radius: 20px; padding: 12px 14px; font-weight: 800; font-size: 14px; display: flex; gap: 10px; align-items: center; }
.thanks img { width: 30px; height: 30px; }
.balance { margin-top: auto; background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 12px 14px; }
.balance .l { font-size: 13px; font-weight: 800; margin-bottom: 8px; display: flex; justify-content: space-between; }
.bar { display: flex; height: 12px; border-radius: 99px; overflow: hidden; background: var(--line); }
.bar i { display: block; height: 100%; }
.bar .a { background: var(--sun); }
.bar .b { background: var(--ink); }
.legend { display: flex; gap: 14px; font-size: 12px; font-weight: 700; color: var(--grey); margin-top: 8px; }
.legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 4px; margin-right: 6px; vertical-align: -1px; background: var(--sun); }
.legend span + span::before { background: var(--ink); }

/* le problème */
.problem { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.cloud span { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 700; font-size: 16px; }
.cloud span:nth-child(3n) { background: var(--sun-tint); border-color: var(--sun-tint); }
.cloud span:nth-child(5n) { transform: rotate(-2deg); }
.cloud span:nth-child(7n) { transform: rotate(2deg); }

/* la démonstration */
.demo { display: grid; grid-template-columns: 380px 1fr; gap: 32px; align-items: start; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.panel h3 { margin-bottom: 6px; }
.panel .small { margin-bottom: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.chip { font: inherit; font-weight: 700; font-size: 15px; border-radius: 999px; padding: 9px 16px; border: 1.5px solid var(--line);
  background: var(--milk); color: var(--ink); cursor: pointer; transition: background 0.15s, border-color 0.15s; }
.chip[aria-pressed="true"] { background: var(--sun); border-color: var(--sun); }
.chip[aria-pressed="true"]::before { content: "✓ "; font-weight: 900; }
.result { min-height: 520px; }
.result .summary { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 20px; }
.stat { flex: 1 1 160px; background: var(--sun-pale); border-radius: 22px; padding: 16px 18px; }
.stat b { display: block; font-size: 34px; font-weight: 900; line-height: 1.1; }
.stat span { font-size: 14px; font-weight: 700; color: var(--ink-soft); }
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.person { background: var(--milk); border-radius: 22px; padding: 16px; }
.person .who { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-weight: 900; }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 15px; background: var(--sun-tint); }
.person .who small { margin-left: auto; font-weight: 700; color: var(--grey); font-size: 13px; }
.person ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.person li { background: var(--white); border-radius: 14px; padding: 9px 12px; font-size: 15px; font-weight: 700; line-height: 1.3;
  animation: pop 0.35s ease both; }
.person li small { display: block; font-weight: 600; color: var(--grey); font-size: 13px; }
.person .more { font-size: 14px; color: var(--grey); font-weight: 700; padding: 4px 4px 0; }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } }

/* les fonctions */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.feature .ic { width: 52px; height: 52px; border-radius: 16px; background: var(--sun); display: grid; place-items: center; margin-bottom: 18px; }
.feature .ic svg { width: 28px; height: 28px; }
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--ink-soft); margin: 0; font-size: 17px; }

/* comment ça marche */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 28px; border-radius: var(--radius); background: var(--white); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 48px; height: 48px;
  border-radius: 50%; background: var(--ink); color: var(--sun); font-weight: 900; font-size: 22px; margin-bottom: 18px; }
.step h3 { margin-bottom: 8px; }
.step p { margin: 0; color: var(--ink-soft); }
.howto { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; background: var(--white);
  border-radius: var(--radius); padding: 36px; }
.howto ol { margin: 12px 0 0; padding-left: 22px; }
.howto li { margin-bottom: 8px; }
.card-howto { background: var(--milk); border-radius: 24px; padding: 22px; }
.card-howto .tag { display: inline-block; font-size: 13px; font-weight: 800; background: var(--sun-tint); border-radius: 999px; padding: 4px 12px; margin-right: 6px; }

/* pour qui */
.who-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.who-card { border-radius: var(--radius); padding: 28px; background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; }
.who-card.first { background: var(--sun); border-color: var(--sun); }
.who-card h3 { margin: 14px 0 8px; }
.who-card p { margin: 0; font-size: 17px; color: var(--ink-soft); }
.who-card.first p { color: var(--ink); }
.who-card .soon { margin-top: auto; padding-top: 16px; font-size: 14px; font-weight: 800; color: var(--grey); }
.who-card.first .soon { color: var(--ink); }

/* les valeurs */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 12px; }
.values h3 { color: var(--sun); margin-bottom: 10px; }
.values p { color: #c9c6d2; margin: 0; }

/* les tarifs */
.prices { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 900px; margin: 0 auto; }
.price { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.price.featured { border: 2px solid var(--ink); position: relative; }
.price .tag { position: absolute; top: -14px; left: 28px; background: var(--ink); color: var(--sun); border-radius: 999px; padding: 4px 14px; font-size: 14px; font-weight: 800; }
.price .amount { font-size: 44px; font-weight: 900; line-height: 1; margin: 14px 0 6px; }
.price ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.price li { padding-left: 30px; position: relative; font-size: 17px; }
.price li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 7px; background: var(--sun-tint)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 2.8L14.5 7' fill='none' stroke='%231D1B2C' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }

/* la foire aux questions */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 4px 24px; margin-bottom: 12px; }
.faq summary { cursor: pointer; list-style: none; font-weight: 800; font-size: 19px; padding: 18px 36px 18px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 12px; width: 32px; height: 32px; border-radius: 50%; background: var(--sun-tint);
  display: grid; place-items: center; font-size: 22px; font-weight: 900; line-height: 32px; text-align: center; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-soft); }

/* l'appel final */
.cta { text-align: center; }
.cta .box { background: var(--sun); border-radius: 40px; padding: 72px 32px; position: relative; overflow: hidden; }
.cta .box img { width: 88px; height: 88px; margin-bottom: 18px; }
.cta h2 { max-width: 720px; margin: 0 auto 16px; }
.cta p { max-width: 600px; margin: 0 auto 28px; font-size: 20px; font-weight: 600; }

/* le pied de page */
.foot { padding: 56px 0 40px; border-top: 1px solid var(--line); background: var(--milk); }
.foot .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot img { width: 150px; }
.foot h4 { font-size: 15px; font-weight: 900; margin: 0 0 12px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 16px; }
.foot a { text-decoration: none; color: var(--ink-soft); }
.foot a:hover { text-decoration: underline; text-decoration-color: var(--sun); }
.foot .legal { margin-top: 40px; font-size: 14px; color: var(--grey); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }

/* les pages de texte (confidentialité, conditions, mentions, aide) */
.doc { padding: 56px 0 88px; }
.doc h1 { font-size: clamp(36px, 5vw, 52px); margin-bottom: 16px; }
.doc h2 { font-size: 26px; margin: 44px 0 10px; }
.doc h3 { margin: 24px 0 6px; }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 8px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 16px; margin: 12px 0 20px; background: var(--white); border-radius: 18px; overflow: hidden; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.doc th { font-weight: 900; background: var(--sun-pale); }
.doc .summary-box { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 22px 26px; margin: 24px 0; }
.doc .summary-box ul { margin: 8px 0 0; }

/* les écrans moyens et petits */
@media (max-width: 1040px) {
  .who-grid { grid-template-columns: 1fr 1fr; }
  .demo { grid-template-columns: 1fr; }
  .foot .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  section { padding: 76px 0; }
  .hero { padding-top: 32px; }
  .hero .wrap, .problem, .howto { grid-template-columns: 1fr; }
  .stage { margin-top: 8px; }
  .grid3, .steps, .values, .prices { grid-template-columns: 1fr; }
  .top nav { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--milk);
    border-bottom: 1px solid var(--line); padding: 8px 24px 20px; }
  .top nav.open { display: flex; }
  .top nav a { padding: 12px 0; font-size: 18px; }
  .menu-btn { display: block; }
  .top .btn { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .wrap, .narrow { padding: 0 18px; }
  .top .logo img { width: 140px; }
  .who-grid { grid-template-columns: 1fr; }
  .stage::before { width: 300px; height: 300px; border-radius: 80px; }
  .phone { width: 270px; }
  .phone .screen { height: 560px; }
  .stage .b1 { left: 0; top: 40px; }
  .stage .b2 { right: 0; bottom: -6px; }
  .panel { padding: 20px; }
  .howto { padding: 24px; }
  .cta .box { padding: 52px 22px; border-radius: 30px; }
  .foot .cols { grid-template-columns: 1fr; }
  .doc table, .doc thead, .doc tbody, .doc tr, .doc th, .doc td { display: block; }
  .doc thead { display: none; }
  .doc tr { border-bottom: 1px solid var(--line); padding: 10px 0; }
  .doc td { border: 0; padding: 4px 14px; }
  .doc td::before { content: attr(data-l); display: block; font-size: 13px; font-weight: 900; color: var(--grey); }
}
