/* Kooly — Design tokens repris 1:1 du design system de l'app (Theme.swift). */
:root {
  --coral-100: #FFE3DC;
  --coral-light: #FF8E7A;
  --coral: #FF6F61;
  --coral-dark: #E2554A;

  --mint-50: #D8F1E7;
  --mint: #38C2A0;
  --mint-dark: #2BA589;

  --honey-50: #FFF0D6;
  --honey: #FFC24B;
  --honey-dark: #E9A93B;

  --lilac-bg: #ECE6F7;
  --lilac: #8B7BC4;
  --blue-bg: #E6EEF9;
  --blue: #6F9FD6;

  --peach-50: #FFF6EF;
  --peach-100: #FFE7D2;
  --peach-card: #FBE0D2;
  --cream: #FAF9F5;

  --ink-900: #5A3A33;  /* titres (brun chaud) */
  --ink-700: #6B5F58;  /* corps */
  --ink-500: #B3978B;  /* muted */
  --hairline: #F4E6DD;

  --fur: #C2BDB8;
  --bezel: #241712;

  /* Ombres TOUJOURS brun chaud, jamais grises (règle de marque). */
  --shadow: 0 20px 45px rgba(120, 72, 52, 0.16);
  --shadow-sm: 0 10px 24px rgba(120, 72, 52, 0.10);
  --shadow-xs: 0 4px 12px rgba(120, 72, 52, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 600;
  color: var(--ink-700);
  line-height: 1.6;
  background:
    radial-gradient(1200px 600px at 80% -10%, #FFE7D2 0%, rgba(255,231,210,0) 60%),
    radial-gradient(900px 500px at -10% 10%, #FFEAD9 0%, rgba(255,234,217,0) 55%),
    var(--peach-50);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand {
  font-family: "Fredoka", "Nunito", sans-serif;
  color: var(--ink-900);
  letter-spacing: -0.01em;
  margin: 0;
}

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

/* En-tête */
header.site {
  display: flex; align-items: center; gap: 12px;
  padding: 26px 0;
}
.logo {
  width: 40px; height: 40px; border-radius: 12px;
  background-size: cover; background-position: center;
  box-shadow: var(--shadow-xs);
}
.brand { font-weight: 700; font-size: 21px; }

/* Boutons / badges */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--coral); color: #fff;
  font-family: "Fredoka", sans-serif; font-weight: 600; font-size: 16px;
  padding: 13px 26px; border-radius: 999px;
  box-shadow: 0 12px 26px rgba(226, 85, 74, 0.40);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(226,85,74,.46); }

.store-badge { display: inline-block; transition: transform .15s ease; }
.store-badge:hover { transform: translateY(-2px); }
.store-badge svg { display: block; height: 54px; width: auto; }

.soon {
  display: inline-block; margin-left: 12px;
  font-size: 12px; font-weight: 800; color: var(--coral-dark);
  background: var(--coral-100); padding: 6px 12px; border-radius: 999px;
  vertical-align: middle;
}

/* HERO */
.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding: 30px 0 70px; }
.hero-icon {
  width: 96px; height: 96px; border-radius: 26px;
  background-size: cover; box-shadow: var(--shadow);
  margin-bottom: 22px;
}
.hero h1 { font-size: clamp(34px, 5vw, 50px); line-height: 1.08; font-weight: 700; }
.hero .lead { font-size: 19px; color: var(--ink-700); margin: 16px 0 28px; max-width: 460px; }
.hero .cta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.hero .fineprint { margin-top: 16px; font-size: 14px; color: var(--ink-500); }

/* Téléphone / mockup produit */
.phone-col { display: flex; justify-content: center; }
.phone {
  width: 300px; background: var(--bezel); border-radius: 44px;
  padding: 12px; box-shadow: var(--shadow); position: relative;
}
.phone::before {
  content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 26px; background: var(--bezel); border-radius: 999px; z-index: 2;
}
.screen {
  background: linear-gradient(180deg, var(--peach-50), #FFF);
  border-radius: 34px; padding: 46px 16px 22px; overflow: hidden;
}
.screen-eyebrow {
  display: flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  color: var(--ink-500); margin: 4px 4px 14px;
}
.task {
  display: flex; align-items: center; gap: 13px;
  background: #fff; border-radius: 18px; padding: 13px;
  box-shadow: var(--shadow-xs); margin-bottom: 11px;
}
.task .ico {
  width: 44px; height: 44px; border-radius: 13px; flex: none;
  display: grid; place-items: center; font-size: 20px;
}
.task .t-title { font-weight: 800; color: var(--ink-900); font-size: 15px; }
.task .t-sub { font-size: 12px; font-weight: 700; color: var(--mint-dark); margin-top: 1px; }
.task .spacer { flex: 1; }
.check {
  width: 26px; height: 26px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
}
.check.done { background: var(--mint); color: #fff; font-size: 14px; }
.check.todo { border: 2.5px solid var(--hairline); }
.task.is-done .t-title { color: var(--ink-500); text-decoration: line-through; }

.ico.honey { background: var(--honey-50); color: var(--honey-dark); }
.ico.blue  { background: var(--blue-bg);  color: var(--blue); }
.ico.coral { background: var(--coral-100); color: var(--coral); }
.ico.mint  { background: var(--mint-50);  color: var(--mint-dark); }
.ico.lilac { background: var(--lilac-bg); color: var(--lilac); }

/* FEATURES */
.section-head { text-align: center; max-width: 600px; margin: 0 auto 38px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 34px); font-weight: 700; }
.section-head p { font-size: 17px; color: var(--ink-700); margin-top: 10px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding-bottom: 70px; }
.feat {
  background: #fff; border: 1px solid var(--hairline); border-radius: 22px;
  padding: 26px; box-shadow: var(--shadow-sm);
}
.feat .f-ico {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  font-size: 22px; margin-bottom: 14px;
}
.feat h3 { font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.feat p { font-size: 15px; color: var(--ink-700); margin: 0; }

/* Bandeau philosophie */
.band {
  text-align: center; border-radius: 30px; padding: 54px 32px; margin-bottom: 70px;
  background: linear-gradient(135deg, #FFF3EC, #FFE7D6);
  box-shadow: var(--shadow-sm);
}
.band h2 { font-size: clamp(26px, 3.4vw, 34px); font-weight: 700; }
.band p { font-size: 18px; color: var(--ink-700); max-width: 520px; margin: 12px auto 0; }
.band .cta { margin-top: 26px; display: flex; justify-content: center; }

/* Pied de page */
footer.site {
  border-top: 1px solid var(--hairline); padding: 30px 0 50px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px;
}
footer.site .links a { color: var(--ink-700); text-decoration: none; margin-right: 20px; font-weight: 700; }
footer.site .links a:hover { color: var(--coral-dark); }
footer.site .copy { font-size: 14px; color: var(--ink-500); }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 30px; text-align: center; padding-bottom: 50px; }
  .hero-icon { margin-left: auto; margin-right: auto; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero .cta { justify-content: center; }
  .features { grid-template-columns: 1fr; }
}

/* ---- Pages légales (héritent des mêmes tokens/police) ---- */
.legal { max-width: 760px; margin: 0 auto; padding: 10px 24px 80px; }
.legal h1 { font-size: 32px; margin-bottom: 6px; }
.legal h2 { font-size: 20px; margin: 34px 0 10px; }
.legal h3 { font-size: 16px; margin: 22px 0 6px; }
.legal p, .legal li { color: var(--ink-700); }
.legal a { color: var(--coral-dark); }
.legal .muted { color: var(--ink-500); font-size: 14px; }
.legal .card {
  background: #fff; border: 1px solid var(--hairline); border-radius: 20px;
  padding: 26px 26px 8px; box-shadow: var(--shadow-sm); margin-top: 18px;
}
.legal table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 14.5px; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--hairline); vertical-align: top; }
.legal th { color: var(--ink-500); font-weight: 800; }
.legal nav.foot { margin-top: 46px; padding-top: 20px; border-top: 1px solid var(--hairline); font-size: 14px; }
.legal nav.foot a { margin-right: 18px; color: var(--coral-dark); font-weight: 700; text-decoration: none; }
