/* Shared CSS for legal pages (mentions-legales + confidentialite) */
@font-face {
  font-family: "Lovelo Black";
  src: url("/assets/fonts/Lovelo-Black.woff2") format("woff2"),
       url("/assets/fonts/Lovelo-Black.otf") format("opentype");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --navy: #1E2A5E;
  --navy-deep: #151E45;
  --gold: #E8B923;
  --gold-soft: #F2D46A;
  --cream: #FBF7EF;
  --cream-warm: #F4EDDC;
  --ink: #0F1626;
  --text: #2A3344;
  --muted: #5A6478;
  --border: #E8DFC9;
  --radius-md: 14px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 6px rgba(15, 22, 38, 0.06);
  --container: 820px;
  --font-serif: "Fraunces", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-display: "Lovelo Black", "Archivo Black", "Arial Black", sans-serif;
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--navy); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color 0.2s; }
a:hover { color: var(--gold); }
::selection { background: var(--gold); color: var(--navy); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: #11194A;
  border-bottom: none;
  padding: 14px 0;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}
.header-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: 17px; color: var(--cream); font-weight: 400; text-transform: uppercase; letter-spacing: 0.005em; text-decoration: none; }
.logo img { width: 36px; height: 36px; }
.back-link { font-size: 14px; color: var(--cream); opacity: 0.78; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; transition: opacity 0.2s, color 0.2s; }
.back-link:hover { color: var(--gold); opacity: 1; }

/* Content */
main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 56px 24px 96px;
}
@media (min-width: 768px) { main { padding: 80px 40px 120px; } }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  padding: 6px 14px;
  background: rgba(232, 185, 35, 0.2);
  border-radius: 100px;
  margin-bottom: 20px;
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.6vw + 0.6rem, 2.8rem);
  font-weight: 400;
  color: var(--navy);
  letter-spacing: -0.01em;
  line-height: 1.0;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.last-update {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.4vw + 0.5rem, 1.6rem);
  font-weight: 400;
  color: var(--navy);
  letter-spacing: 0;
  text-transform: uppercase;
  margin: 48px 0 16px;
  padding-top: 12px;
}

h3 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  margin: 28px 0 10px;
}

p { margin: 0 0 16px; }
ul, ol { padding-left: 22px; margin: 0 0 16px; }
li { margin-bottom: 6px; }
li::marker { color: var(--gold); }

.info-card {
  background: var(--cream-warm);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin: 24px 0;
  border-left: 3px solid var(--gold);
}
.info-card p:last-child { margin-bottom: 0; }
.info-card strong { color: var(--navy); }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}
th, td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
th { background: var(--cream-warm); font-weight: 600; color: var(--navy); }

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: var(--cream);
  padding: 40px 0 28px;
  font-size: 14px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  opacity: 0.9;
}
.site-footer a { color: var(--cream); text-decoration: none; opacity: 0.8; }
.site-footer a:hover { color: var(--gold); opacity: 1; }
.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; }

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

/* Trustindex widget : masque les logos cassés */
.trustindex-wrapper img.broken-img,
.trustindex-wrapper .ti-widget img[src=""],
.trustindex-wrapper .ti-name img,
.trustindex-wrapper .ti-header img.ti-logo,
.trustindex-wrapper .ti-widget-header > img {
  display: none !important;
}
