/* kissou.app : les couleurs de l'app (Shared/Theme.swift), boutons et tuiles en relief. */
:root {
  color-scheme: light;
  --bg: #fff4e8;
  --ink: #4a2c2a;
  --muted: #8a6a64;
  --paper: #ffffff;
  --paper-depth: #ead7c3;
  --pink: #ff6b98;
  --pink-depth: #d9467a;
  --sunny: #ffc94a;
  --mint: #4fd1a5;
  --sky: #5bbcf7;
  --lilac: #a98bff;
  --coral: #ff8a65;
  --radius: 24px;
  font-family: ui-rounded, 'SF Pro Rounded', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.55;
}

a {
  color: var(--pink-depth);
  font-weight: 700;
}

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 16px;
}

/* En-tête */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-size: 22px;
  font-weight: 900;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  box-shadow: 0 3px 0 var(--paper-depth);
}

.lang {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--paper);
  box-shadow: 0 3px 0 var(--paper-depth);
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}

/* Accueil */
.hero {
  padding: 28px 0 8px;
  text-align: center;
}

.hero .icon {
  width: 132px;
  height: 132px;
  border-radius: 30px;
  box-shadow: 0 6px 0 var(--paper-depth);
}

.hero h1 {
  margin: 22px 0 8px;
  font-size: clamp(34px, 8vw, 52px);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.hero p {
  max-width: 520px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 19px;
  font-weight: 600;
}

.button {
  display: inline-block;
  margin-top: 26px;
  padding: 15px 28px;
  border-radius: 999px;
  background: var(--pink);
  box-shadow: 0 5px 0 var(--pink-depth);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  text-decoration: none;
}

.button.soon {
  background: var(--paper);
  box-shadow: 0 5px 0 var(--paper-depth);
  color: var(--ink);
}

.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 44px 0 20px;
}

.tile {
  padding: 18px;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 5px 0 var(--paper-depth);
}

.tile .sticker {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  font-size: 28px;
}

.tile h2 {
  margin: 12px 0 4px;
  font-size: 18px;
  font-weight: 900;
}

.tile p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

.pink {
  background: #ffd6e2;
  box-shadow: 0 3px 0 var(--pink);
}

.sunny {
  background: #fff0c4;
  box-shadow: 0 3px 0 var(--sunny);
}

.mint {
  background: #d3f5e9;
  box-shadow: 0 3px 0 var(--mint);
}

.sky {
  background: #d6efff;
  box-shadow: 0 3px 0 var(--sky);
}

.lilac {
  background: #e9e1ff;
  box-shadow: 0 3px 0 var(--lilac);
}

.coral {
  background: #ffe1d6;
  box-shadow: 0 3px 0 var(--coral);
}

/* Pages de texte (confidentialité, assistance) */
.doc {
  margin: 12px 0 28px;
  padding: 26px 22px;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 5px 0 var(--paper-depth);
}

.doc h1 {
  margin: 0 0 4px;
  font-size: clamp(28px, 6vw, 38px);
  line-height: 1.15;
  font-weight: 900;
}

.doc .updated {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.doc h2 {
  margin: 28px 0 8px;
  font-size: 20px;
  font-weight: 900;
}

.doc h3 {
  margin: 20px 0 4px;
  font-size: 17px;
  font-weight: 900;
}

.doc p,
.doc li {
  overflow-wrap: anywhere;
}

.doc ul {
  padding-left: 22px;
}

.doc li {
  margin: 6px 0;
}

.summary {
  margin: 0;
  padding: 16px 18px;
  border-radius: 18px;
  background: #fff8ef;
  border: 2px solid var(--paper-depth);
  font-weight: 600;
}

.contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border-radius: 18px;
  background: #ffd6e2;
}

.contact .button {
  margin: 0;
}

/* Pied de page */
.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  padding: 24px 0 40px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.foot a {
  color: var(--muted);
}
