/* ══════════════════════════════════════════
   FashionStockPro – Shared Styles
   Used by: cgu.html, mentions-legales.html,
            confidentialite.html
   ══════════════════════════════════════════ */

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

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

body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  color: #2c3e50;
  background-color: #ffffff;
  line-height: 1.6;
}

a { color: #45668e; }
a:hover { color: #3a567a; }

/* ── Skip link ── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 9999;
  background: white;
  color: #2c3e50;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

/* ── Container ── */
.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}
@media (min-width: 1024px) {
  .container { padding-left: 48px; padding-right: 48px; }
}

/* ── Navbar ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 60px;
  background-color: #2c3e50;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: box-shadow 0.2s ease;
}
.navbar--scrolled {
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.navbar__logo {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: white;
  text-decoration: none;
}
.navbar__logo:hover { color: white; opacity: 0.9; }

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
  border: 1px solid transparent;
  line-height: 1;
}
.btn--ghost {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.3);
  opacity: 0.85;
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.1);
  color: white;
  opacity: 1;
}
.btn--white {
  background: white;
  color: #45668e;
  border-color: white;
}
.btn--white:hover {
  background: #f9fafb;
  color: #45668e;
}

/* ── Main content spacing ── */
main {
  min-height: calc(100vh - 60px - 120px);
}

/* ── Legal pages ── */
.legal-page {
  max-width: 720px;
  margin: 48px auto 64px;
}
.back-link {
  display: inline-block;
  margin-bottom: 28px;
  font-size: 14px;
  color: #5d6d7e;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}
.back-link:hover { color: #45668e; }

.legal-page h1 {
  font-size: 32px;
  font-weight: 800;
  color: #2c3e50;
  line-height: 1.2;
  margin: 0 0 12px;
}
.legal-page > p:first-of-type {
  font-size: 14px;
  color: #85929e;
  margin: 0 0 36px;
}
.legal-page h2 {
  font-size: 19px;
  font-weight: 700;
  color: #2c3e50;
  margin: 32px 0 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eaecee;
}
.legal-page p {
  font-size: 15px;
  color: #5d6d7e;
  line-height: 1.7;
  margin: 0 0 16px;
}
.legal-page ul {
  margin: 0 0 16px;
  padding-left: 24px;
}
.legal-page ul li {
  font-size: 15px;
  color: #5d6d7e;
  line-height: 1.7;
  margin-bottom: 8px;
}
.legal-page a {
  color: #45668e;
  text-decoration: underline;
}
.legal-page a:hover { color: #3a567a; }
.legal-page strong { color: #2c3e50; }

/* ── Footer ── */
.footer {
  background: linear-gradient(135deg, #1f313f 0%, #1a252f 100%);
  padding: 40px 0;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer__brand {
  font-size: 18.4px;
  font-weight: 800;
  background-image: linear-gradient(135deg, #45668e 0%, #e67e22 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.footer__links a {
  font-size: 14px;
  color: white;
  text-decoration: none;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}
.footer__links a:hover { opacity: 1; }

.footer__copy {
  font-size: 13px;
  color: white;
  opacity: 0.6;
}
