/*
 * Habillage de la page légale de Ki&La.
 *
 * Reprend la charte des pages légales de jitavision-website-app : même navy, même papier, mêmes
 * polices, même carte centrée. Les deux produits doivent se ressembler pour un club qui passe de
 * l'un à l'autre.
 *
 * Les polices sont **auto-hébergées**. Charger Google Fonts enverrait l'adresse IP du visiteur à
 * Google — sur une page de politique de confidentialité, ce serait une contradiction, et c'est
 * une pratique qui a déjà été jugée contraire au RGPD.
 */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("polices/manrope-latin.woff2") format("woff2");
  unicode-range:
    u+00??, u+0131, u+0152-0153, u+02bb-02bc, u+02c6, u+02da, u+02dc, u+0304, u+0308,
    u+0329, u+2000-206f, u+20ac, u+2122, u+2191, u+2193, u+2212, u+2215, u+feff, u+fffd;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("polices/manrope-latin-ext.woff2") format("woff2");
  unicode-range:
    u+0100-02ba, u+02bd-02c5, u+02c7-02cc, u+02ce-02d7, u+02dd-02ff, u+0304, u+0308,
    u+0329, u+1d00-1dbf, u+1e00-1e9f, u+1ef2-1eff, u+2020, u+20a0-20ab, u+20ad-20c0, u+2113,
    u+2c60-2c7f, u+a720-a7ff;
}
@font-face {
  font-family: "Saira Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("polices/saira-600-latin.woff2") format("woff2");
  unicode-range:
    u+00??, u+0131, u+0152-0153, u+02bb-02bc, u+02c6, u+02da, u+02dc, u+0304, u+0308,
    u+0329, u+2000-206f, u+20ac, u+2122, u+2191, u+2193, u+2212, u+2215, u+feff, u+fffd;
}
@font-face {
  font-family: "Saira Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("polices/saira-600-latin-ext.woff2") format("woff2");
  unicode-range:
    u+0100-02ba, u+02bd-02c5, u+02c7-02cc, u+02ce-02d7, u+02dd-02ff, u+0304, u+0308,
    u+0329, u+1d00-1dbf, u+1e00-1e9f, u+1ef2-1eff, u+2020, u+20a0-20ab, u+20ad-20c0, u+2113,
    u+2c60-2c7f, u+a720-a7ff;
}
@font-face {
  font-family: "Saira Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("polices/saira-700-latin.woff2") format("woff2");
  unicode-range:
    u+00??, u+0131, u+0152-0153, u+02bb-02bc, u+02c6, u+02da, u+02dc, u+0304, u+0308,
    u+0329, u+2000-206f, u+20ac, u+2122, u+2191, u+2193, u+2212, u+2215, u+feff, u+fffd;
}
@font-face {
  font-family: "Saira Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("polices/saira-700-latin-ext.woff2") format("woff2");
  unicode-range:
    u+0100-02ba, u+02bd-02c5, u+02c7-02cc, u+02ce-02d7, u+02dd-02ff, u+0304, u+0308,
    u+0329, u+1d00-1dbf, u+1e00-1e9f, u+1ef2-1eff, u+2020, u+20a0-20ab, u+20ad-20c0, u+2113,
    u+2c60-2c7f, u+a720-a7ff;
}

:root {
  --core-blue: #0b0f58;
  --accent-coral: #ff6f56;
  --accent-beige: #decdb5;
  --ink: #0d1232;
  --paper: #f7f5f1;
  --card: #ffffff;
  --muted: #5c648e;
  --line: #e3dfd8;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 255, 255, 0.85), transparent 44%),
    radial-gradient(circle at 80% 0%, rgba(31, 71, 166, 0.1), transparent 36%),
    linear-gradient(180deg, #faf8f4 0%, var(--paper) 100%);
  background-attachment: fixed;
  font-family: "Manrope", "Segoe UI", sans-serif;
}

a {
  color: var(--core-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--accent-coral);
}

.legal-page {
  min-height: 100vh;
  padding: 24px 14px;
  display: grid;
  place-items: center;
}

.legal-shell {
  width: 100%;
  max-width: 760px;
}

.legal-card {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(13, 18, 50, 0.08);
  overflow: hidden;
}

.legal-header {
  padding: 30px 20px 20px;
  display: grid;
  justify-items: center;
  text-align: center;
  background: #fbfbfc;
}

.legal-header img {
  width: 72px;
  height: 86px;
}

.legal-header h1 {
  margin: 14px 0 0;
  max-width: 18ch;
  font-size: clamp(2rem, 5vw, 2.55rem);
  line-height: 1.04;
  color: var(--core-blue);
  font-family: "Saira Condensed", "Arial Narrow", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.legal-header .produit {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.legal-divider {
  border-top: 1px solid var(--line);
}

.legal-content {
  padding: 22px clamp(16px, 4vw, 34px) 24px;
}

.legal-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.legal-resume {
  margin: 18px 0 0;
  padding: 16px 18px;
  border-left: 3px solid var(--accent-coral);
  background: #fbf9f6;
  border-radius: 0 10px 10px 0;
  color: #1f2133;
  line-height: 1.5;
}

.legal-section {
  margin-top: 22px;
}

.legal-section h2 {
  margin: 0;
  color: var(--core-blue);
  font-family: "Saira Condensed", "Arial Narrow", sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: clamp(1.3rem, 3.4vw, 1.75rem);
}

.legal-section p {
  margin: 10px 0 0;
  color: #1f2133;
  line-height: 1.55;
}

.legal-footer {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

@media (max-width: 560px) {
  .legal-header {
    padding: 24px 14px 16px;
  }

  .legal-content {
    padding: 18px 14px;
  }

  .legal-header h1 {
    font-size: 1.95rem;
  }
}
