/* =========================================================================
   Cadencia — landing page (www.cadencia.cloud)
   Charte reprise du frontend web : rose Material #E91E63 (primary),
   deep purple #673AB7 (accent), Roboto Condensed + Dancing Script (wordmark).
   ========================================================================= */

/* ------------------------------- Tokens -------------------------------- */
:root {
  --c-primary: #e91e63;
  --c-primary-dark: #c2185b;
  --c-primary-soft: #fce4ec;
  --c-accent: #673ab7;
  --c-accent-dark: #512da8;

  --c-ink: #2f3033;
  --c-body: #5c6068;
  --c-muted: #8b9098;
  --c-line: #e6e8ec;
  --c-bg: #ffffff;
  --c-bg-alt: #f6f7f9;
  --c-bg-soft: #f2f3f5;

  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 10px rgba(20, 20, 30, .05);
  --shadow-md: 0 4px 24px rgba(20, 20, 30, .07);
  --shadow-lg: 0 18px 50px rgba(20, 20, 30, .13);

  --header-h: 76px;
  --container: 1180px;
}

/* ------------------------------- Reset --------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--c-body);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--c-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  color: var(--c-ink);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.1rem, 4.4vw, 3.35rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.material-icons { font-size: 24px; line-height: 1; user-select: none; }

/* ------------------------------ Layout --------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.section--alt { background: var(--c-bg-alt); }
.section--tight { padding: 72px 0; }

.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head p { color: var(--c-muted); font-size: 1.05rem; }

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  background: var(--c-primary-soft);
  color: var(--c-primary-dark);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
  align-items: center;
}
.split--reverse .split__media { order: 2; }

/* ------------------------------ Buttons -------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .01em;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn .material-icons { font-size: 20px; }

.btn--primary {
  background: var(--c-primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(233, 30, 99, .28);
}
.btn--primary:hover { background: var(--c-primary-dark); color: #fff; }

.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, .65);
  color: #fff;
}
.btn--ghost:hover { background: rgba(255, 255, 255, .14); color: #fff; }

.btn--outline {
  background: #fff;
  border-color: var(--c-line);
  color: var(--c-ink);
}
.btn--outline:hover { border-color: var(--c-primary); color: var(--c-primary); }

.btn--sm { padding: 9px 20px; font-size: .95rem; }
.btn--block { display: flex; width: 100%; }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
}
.link-more .material-icons { font-size: 19px; transition: transform .18s ease; }
.link-more:hover .material-icons { transform: translateX(4px); }

/* ------------------------------ Header --------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background-color .3s ease, box-shadow .3s ease, height .3s ease;
}
.site-header .container {
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  text-decoration: none;
  flex: 0 0 auto;
}
.brand:hover { text-decoration: none; }
.brand .material-icons { font-size: 30px; }
.brand__name {
  font-family: "Dancing Script", "Segoe Script", cursive;
  font-size: 2.05rem;
  font-weight: 700;
  line-height: 1;
}

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 30px; }
.nav__list a {
  color: rgba(255, 255, 255, .92);
  font-weight: 600;
  font-size: 1rem;
  position: relative;
  padding-bottom: 3px;
}
.nav__list a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: currentColor;
  transition: width .22s ease;
}
.nav__list a:hover { text-decoration: none; }
.nav__list a:hover::after, .nav__list a.is-active::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.header-actions .login-link { color: #fff; font-weight: 600; }

/* Sticky (scrolled) state — the header turns solid white */
.site-header.is-stuck {
  background: #fff;
  box-shadow: 0 2px 16px rgba(20, 20, 30, .08);
  height: 68px;
}
.site-header.is-stuck .brand,
.site-header.is-stuck .nav__list a,
.site-header.is-stuck .header-actions .login-link { color: var(--c-ink); }
.site-header.is-stuck .brand .material-icons,
.site-header.is-stuck .brand__name { color: var(--c-primary); }
.site-header.is-stuck .nav__list a:hover { color: var(--c-primary); }

.nav-toggle {
  display: none;
  margin-left: auto;
  padding: 6px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.site-header.is-stuck .nav-toggle { color: var(--c-ink); }
.nav-toggle .material-icons { font-size: 32px; }

/* -------------------------------- Hero --------------------------------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 72px) 0 150px;
  background: linear-gradient(125deg, #ad1457 0%, var(--c-primary) 45%, var(--c-accent) 100%);
  color: #fff;
  overflow: hidden;
}
/* Portée musicale décorative */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, .14) 0 1px,
    transparent 1px 22px
  );
  opacity: .5;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  right: -180px; top: -160px;
  width: 620px; height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 65%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 56px;
  align-items: center;
}
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero__lead {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, .92);
  max-width: 34ch;
  margin-bottom: 1.6em;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 26px;
  padding: 7px 16px;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .12);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .02em;
}
.hero__badge .material-icons { font-size: 18px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; }
.hero__note {
  margin-top: 22px;
  font-size: .92rem;
  color: rgba(255, 255, 255, .8);
}

.hero__media { position: relative; }
.hero__media img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

/* Vague de séparation */
.hero__wave {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  z-index: 1;
  line-height: 0;
}
.hero__wave svg { width: 100%; height: 90px; }

/* ------------------------------ Checklist ------------------------------ */
.checklist { display: grid; gap: 16px; margin: 26px 0 30px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.checklist .material-icons {
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--c-primary);
}
.checklist strong { display: block; color: var(--c-ink); }
.checklist .text { color: var(--c-body); font-size: .97rem; }

/* ----------------------------- Feature grid ---------------------------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.card {
  padding: 34px 30px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.card h3 { margin-bottom: .5em; }
.card p { color: var(--c-body); font-size: .98rem; }

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px; height: 62px;
  margin-bottom: 20px;
  border-radius: 18px;
  background: var(--c-primary-soft);
  color: var(--c-primary);
}
.card__icon .material-icons { font-size: 30px; }
.card:nth-child(3n+2) .card__icon { background: #ede7f6; color: var(--c-accent); }

/* ------------------------------- Stats --------------------------------- */
.stats {
  background: linear-gradient(120deg, var(--c-accent-dark), var(--c-primary-dark));
  color: #fff;
  padding: 66px 0;
}
.stats .grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  text-align: center;
}
.stat__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
}
.stat__value {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
}
.stat__label { color: rgba(255, 255, 255, .85); font-size: .98rem; }

/* ----------------------------- Screenshots ----------------------------- */
.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 34px;
}
.tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-pill);
  background: #fff;
  color: var(--c-body);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s ease;
}
.tab .material-icons { font-size: 20px; }
.tab:hover { border-color: var(--c-primary); color: var(--c-primary); }
.tab.is-active {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #fff;
  box-shadow: 0 8px 18px rgba(233, 30, 99, .25);
}

.shot-panel[hidden] { display: none; }
.shot-panel { animation: fade-in .35s ease both; }
.shot-frame {
  padding: 12px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.shot-frame img { border-radius: 10px; }
.shot-caption {
  margin-top: 18px;
  text-align: center;
  color: var(--c-muted);
  font-size: .97rem;
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* ------------------------------ Pricing -------------------------------- */
.pricing {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  max-width: 880px;
  margin: 0 auto;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 38px 34px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.plan--featured {
  border-color: var(--c-primary);
  box-shadow: var(--shadow-md);
}
.plan__tag {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  padding: 5px 18px;
  border-radius: var(--radius-pill);
  background: var(--c-primary);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.plan__name { font-size: 1.35rem; margin-bottom: .2em; }
.plan__pitch { color: var(--c-muted); font-size: .97rem; min-height: 3em; }
.plan__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 14px 0 6px;
  color: var(--c-ink);
}
.plan__amount { font-size: 3rem; font-weight: 700; line-height: 1; }
.plan__period { color: var(--c-muted); font-size: 1rem; font-weight: 600; }
.plan__trial { color: var(--c-primary); font-weight: 700; font-size: .95rem; }
.plan__features {
  display: grid;
  gap: 12px;
  margin: 26px 0 30px;
  padding-top: 24px;
  border-top: 1px solid var(--c-line);
}
.plan__features li { display: flex; gap: 10px; align-items: flex-start; font-size: .98rem; }
.plan__features .material-icons { font-size: 20px; color: var(--c-primary); flex: 0 0 auto; }
.plan__features li.is-off { color: var(--c-muted); }
.plan__features li.is-off .material-icons { color: var(--c-muted); }
.plan .btn { margin-top: auto; }
.pricing-note { margin-top: 26px; text-align: center; color: var(--c-muted); font-size: .93rem; }

/* -------------------------------- FAQ ---------------------------------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq__item {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq__item.is-open { border-color: var(--c-primary); box-shadow: var(--shadow-sm); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 24px;
  border: 0;
  background: transparent;
  color: var(--c-ink);
  font-family: inherit;
  font-size: 1.08rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}
.faq__q .material-icons { color: var(--c-primary); transition: transform .25s ease; flex: 0 0 auto; }
.faq__item.is-open .faq__q .material-icons { transform: rotate(180deg); }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.faq__a > div { padding: 0 24px 22px; color: var(--c-body); }

/* -------------------------------- CTA ---------------------------------- */
.cta-band {
  padding: 78px 0;
  background: linear-gradient(120deg, var(--c-primary) 0%, var(--c-accent) 100%);
  color: #fff;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 620px; margin: 0 auto 30px; color: rgba(255, 255, 255, .9); font-size: 1.08rem; }

/* ------------------------------- Contact ------------------------------- */
.contact {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 56px;
  align-items: start;
}
.contact__info li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 22px;
}
.contact__info .material-icons { color: var(--c-primary); }
.contact__info strong { display: block; color: var(--c-ink); }

.form {
  padding: 34px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  margin-bottom: 6px;
  color: var(--c-ink);
  font-size: .92rem;
  font-weight: 600;
}
.field input, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--c-line);
  border-radius: 12px;
  background: var(--c-bg-soft);
  font-family: inherit;
  font-size: 1rem;
  color: var(--c-ink);
  transition: border-color .18s ease, background-color .18s ease;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--c-primary);
  background: #fff;
}
.field textarea { min-height: 130px; resize: vertical; }
.form__note { margin-top: 14px; font-size: .86rem; color: var(--c-muted); }

/* ------------------------------- Footer -------------------------------- */
.site-footer {
  background: #26272b;
  color: rgba(255, 255, 255, .72);
  padding: 68px 0 0;
}
.site-footer h4 {
  margin-bottom: 20px;
  color: #fff;
  font-size: 1.05rem;
  letter-spacing: .02em;
}
.site-footer a { color: rgba(255, 255, 255, .72); }
.site-footer a:hover { color: #fff; text-decoration: none; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 44px;
}
.footer__brand .brand { color: #fff; margin-bottom: 16px; }
.footer__brand .brand .material-icons,
.footer__brand .brand__name { color: var(--c-primary); }
.footer__brand p { font-size: .96rem; }
.footer__links li { margin-bottom: 11px; font-size: .97rem; }
.footer__contact li { display: flex; gap: 10px; margin-bottom: 12px; font-size: .97rem; }
.footer__contact .material-icons { font-size: 20px; color: var(--c-primary); }
.footer__bottom {
  margin-top: 54px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  text-align: center;
  font-size: .87rem;
  color: rgba(255, 255, 255, .5);
}
.footer__bottom a { color: rgba(255, 255, 255, .68); }

/* ------------------------- Reveal on scroll ---------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .shot-panel { animation: none; }
  .btn:hover, .card:hover { transform: none; }
}

/* ------------------------------ Responsive ----------------------------- */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; }
  .hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .hero__lead { max-width: 60ch; }
}

@media (max-width: 900px) {
  .section { padding: 72px 0; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split--reverse .split__media { order: 0; }
  .contact { grid-template-columns: 1fr; gap: 40px; }

  /* Le hamburger passe à droite du bouton d'essai */
  .nav-toggle { display: inline-flex; order: 3; margin-left: 4px; }
  .header-actions { order: 2; margin-left: auto; }
  .nav {
    position: absolute;
    top: var(--header-h);
    left: 12px; right: 12px;
    margin: 0;
    padding: 0 22px;
    max-height: 0;
    overflow: hidden;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: max-height .3s ease, padding .3s ease;
  }
  .nav.is-open { max-height: 460px; padding: 18px 22px; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav__list a { color: var(--c-ink); padding: 11px 0; border-bottom: 1px solid var(--c-line); }
  .nav__list li:last-child a { border-bottom: 0; }
  .nav__list a::after { display: none; }
  .header-actions .login-link { display: none; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .section { padding: 60px 0; }
  .grid-3, .grid-2, .pricing, .form__row { grid-template-columns: 1fr; }
  .stats .grid-4 { grid-template-columns: 1fr; gap: 34px; }
  .hero { padding: calc(var(--header-h) + 48px) 0 120px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .footer__grid { grid-template-columns: 1fr; }
  .form { padding: 26px 22px; }
}

/* =========================================================================
   Pages légales (conditions générales, mentions légales)
   ========================================================================= */

/* Header simplifié : toujours blanc, un seul lien de retour */
.site-header--solid {
  background: #fff;
  box-shadow: 0 2px 16px rgba(20, 20, 30, .08);
}
.site-header--solid .brand { color: var(--c-ink); }
.site-header--solid .brand .material-icons,
.site-header--solid .brand__name { color: var(--c-primary); }

.back-link {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--c-ink);
  font-weight: 600;
}
.back-link:hover { color: var(--c-primary); text-decoration: none; }
.back-link .material-icons { font-size: 20px; transition: transform .18s ease; }
.back-link:hover .material-icons { transform: translateX(-3px); }

/* Bandeau de titre */
.page-hero {
  padding: calc(var(--header-h) + 60px) 0 64px;
  background: linear-gradient(125deg, #ad1457 0%, var(--c-primary) 45%, var(--c-accent) 100%);
  color: #fff;
  text-align: center;
}
.page-hero h1 { color: #fff; margin-bottom: .3em; }
.page-hero p { color: rgba(255, 255, 255, .9); }
.page-hero__meta {
  display: inline-block;
  margin-top: 10px;
  padding: 5px 16px;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .12);
  font-size: .88rem;
  font-weight: 600;
}

/* Corps du texte */
.legal { padding: 64px 0 88px; }
.legal__inner { max-width: 860px; margin: 0 auto; }
.legal__lead { font-size: 1.08rem; }

.legal__toc {
  margin: 0 0 48px;
  padding: 26px 30px;
  background: var(--c-bg-alt);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
}
.legal__toc h2 {
  margin: 0 0 14px;
  font-size: 1.05rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.legal__toc ol {
  columns: 2;
  column-gap: 34px;
  margin: 0;
  padding-left: 18px;
  font-size: .97rem;
}
.legal__toc li { margin-bottom: 7px; break-inside: avoid; }
.legal__toc a { color: var(--c-body); }
.legal__toc a:hover { color: var(--c-primary); }

.legal article { scroll-margin-top: calc(var(--header-h) + 16px); }
.legal article + article { margin-top: 42px; }
.legal h2 {
  font-size: 1.4rem;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--c-primary-soft);
}
.legal h3 { margin: 1.8em 0 .5em; font-size: 1.08rem; }
.legal p, .legal li { color: var(--c-body); }
.legal ul.bullets, .legal ol.numbered {
  margin: 0 0 1.1em;
  padding-left: 22px;
  list-style: disc;
}
.legal ol.numbered { list-style: decimal; }
.legal ul.bullets li, .legal ol.numbered li { margin-bottom: .45em; }
.legal strong { color: var(--c-ink); }

.legal__note {
  margin: 26px 0;
  padding: 20px 24px;
  border-left: 4px solid var(--c-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: var(--c-primary-soft);
}
.legal__note p { color: #8d2a52; }

/* Bloc d'identité (mentions légales) */
.identity {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  margin: 0 0 20px;
}
.identity__card {
  padding: 28px 30px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.identity__card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-size: 1.1rem;
}
.identity__card h3 .material-icons { color: var(--c-primary); }
.identity__card dl { margin: 0; }
.identity__row {
  display: flex;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--c-line);
  font-size: .97rem;
}
.identity__row:last-child { border-bottom: 0; }
.identity__row dt { flex: 0 0 130px; color: var(--c-muted); }
.identity__row dd { margin: 0; color: var(--c-ink); font-weight: 600; }

/* Pied de page compact */
.legal-footer {
  padding: 26px 0;
  background: #26272b;
  color: rgba(255, 255, 255, .55);
  font-size: .9rem;
}
.legal-footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.legal-footer a { color: rgba(255, 255, 255, .8); }
.legal-footer nav { display: flex; flex-wrap: wrap; gap: 22px; }

@media (max-width: 900px) {
  .site-header--solid .nav-toggle { display: none; }
  .legal__toc ol { columns: 1; }
  .identity { grid-template-columns: 1fr; }
  .page-hero { padding: calc(var(--header-h) + 44px) 0 52px; }
}
