/* Styles partagés des pages légales — Technisio */
:root {
  --navy: #1e2761;
  --navy-deep: #161d4d;
  --gold: #fbbf24;
  --gold-deep: #855a00;
  --ice-soft: #e7eefc;
  --charcoal: #2d3748;
  --ink-soft: #4a5568;
  --bg: #f7fafc;
  --line: #e2e8f0;
  --maxw: 820px;
  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
p,
li {
  text-wrap: pretty;
}
a {
  color: var(--gold-deep);
}

.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2rem);
}

/* En-tête */
.legal-nav {
  background: var(--navy-deep);
}
.legal-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}
.brand .dot {
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: var(--gold);
}
.legal-nav .back {
  color: #c6cef0;
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 500;
}
.legal-nav .back:hover {
  color: #fff;
}

/* Corps */
main {
  padding-block: clamp(2.4rem, 6vw, 4rem) clamp(3rem, 7vw, 5rem);
}
h1 {
  font-size: clamp(1.9rem, 4.4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 0.7rem;
}
.updated {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin-bottom: 2.4rem;
}

h2 {
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  font-weight: 700;
  color: var(--navy);
  margin-top: 2.6rem;
  margin-bottom: 0.8rem;
}
h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  margin-top: 1.6rem;
  margin-bottom: 0.4rem;
}
p + p {
  margin-top: 0.9rem;
}
ul {
  padding-left: 1.2rem;
  margin: 0.7rem 0;
}
li + li {
  margin-top: 0.4rem;
}
strong {
  color: var(--charcoal);
  font-weight: 600;
}

.callout {
  background: var(--ice-soft);
  border-radius: 12px;
  padding: 1.1rem 1.3rem;
  margin: 1.6rem 0;
  font-size: 0.96rem;
}
.callout p {
  margin: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2rem 0;
  font-size: 0.92rem;
}
.table-scroll {
  overflow-x: auto;
}
th,
td {
  text-align: left;
  padding: 0.7rem 0.8rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy);
  background: #fff;
}

/* Pied */
footer {
  background: var(--navy-deep);
  color: #c6cef0;
  padding-block: 2rem;
  font-size: 0.9rem;
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.6rem;
  align-items: center;
  justify-content: space-between;
}
footer a {
  color: #c6cef0;
  text-decoration: none;
}
footer a:hover {
  color: #fff;
}
footer .fl {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}
