/* SOS Card - Pages légales - Design commun */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #1F2937;
  background: #F8FAFD;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ===== En-tête commun (identique à index.html / contact.html) ===== */
nav.site-nav {
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 1px solid #E2E8F0;
  z-index: 100;
  padding: 12px 24px;
}
nav.site-nav .inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
nav.site-nav .nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
nav.site-nav a.cta {
  background: #E8192C;
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 6px 16px rgba(232, 25, 44, .22);
}
nav.site-nav a.cta:hover {
  filter: brightness(.95);
  color: #fff;
}
nav.site-nav a.back {
  color: #1A2B5E;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}
nav.site-nav a.back:hover {
  color: #1A2B5E;
}
@media (max-width: 560px) {
  nav.site-nav a.back { display: none; }
}

.page-header {
  background: linear-gradient(135deg, #0A2540 0%, #1A3550 100%);
  color: white;
  padding: 40px 20px 60px;
  text-align: center;
  position: relative;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #E63946;
}

.logo-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.logo-circle {
  width: 50px;
  height: 50px;
  background: #E63946;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 28px;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
}

.logo-text {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 1px;
}

h1 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.page-subtitle {
  color: #C9A961;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.page-date {
  display: inline-block;
  margin-top: 16px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  font-size: 13px;
}

.container {
  max-width: 800px;
  margin: -30px auto 0;
  padding: 0 20px 40px;
  position: relative;
}

.content-card {
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 24px rgba(10, 37, 64, 0.08);
  margin-bottom: 24px;
}

.intro-box {
  background: #E3F2FD;
  border-left: 4px solid #1E88E5;
  padding: 16px 20px;
  border-radius: 8px;
  margin-bottom: 30px;
  font-size: 15px;
  color: #1F2937;
}

.intro-box strong {
  color: #0A2540;
}

h2 {
  color: #0A2540;
  font-size: 22px;
  font-weight: 700;
  margin: 32px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid #F4F6F8;
}

h2:first-of-type {
  margin-top: 0;
}

h3 {
  color: #00897B;
  font-size: 16px;
  font-weight: 700;
  margin: 20px 0 10px;
}

p {
  margin-bottom: 14px;
  color: #374151;
}

ul, ol {
  margin: 12px 0 18px 24px;
  color: #374151;
}

li {
  margin-bottom: 8px;
  line-height: 1.7;
}

strong {
  color: #0A2540;
  font-weight: 700;
}

a {
  color: #00897B;
  text-decoration: underline;
  font-weight: 500;
}

a:hover {
  color: #006d63;
}

.warning-box {
  background: #FEF2F2;
  border-left: 4px solid #E63946;
  padding: 16px 20px;
  border-radius: 8px;
  margin: 20px 0;
}

.warning-box strong {
  color: #991B1B;
}

.info-box {
  background: #F0FDF4;
  border-left: 4px solid #16A34A;
  padding: 16px 20px;
  border-radius: 8px;
  margin: 20px 0;
}

.contact-card {
  background: linear-gradient(135deg, #0A2540 0%, #1A3550 100%);
  color: white;
  padding: 30px;
  border-radius: 16px;
  margin-top: 30px;
}

.contact-card h2 {
  color: #C9A961;
  border-bottom-color: rgba(201, 169, 97, 0.3);
}

.contact-card p {
  color: rgba(255, 255, 255, 0.9);
}

.contact-card a {
  color: #C9A961;
}

/* ===== Pied de page navy commun (identique à index.html / contact.html) ===== */
footer.site-footer {
  background: #0A1F44;
  color: #fff;
  padding: 56px 24px 30px;
  margin-top: 56px;
}
footer.site-footer .f-inner {
  max-width: 1200px;
  margin: 0 auto;
}
footer.site-footer .f-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 36px;
  margin-bottom: 36px;
}
footer.site-footer img {
  height: 46px;
  width: auto;
  margin-bottom: 14px;
  display: block;
}
footer.site-footer .f-slogan {
  color: #94A3B8;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}
footer.site-footer h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #fff;
  font-weight: 700;
  margin: 0 0 16px;
}
footer.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
footer.site-footer li {
  margin-bottom: 10px;
}
footer.site-footer ul a {
  color: #94A3B8;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
footer.site-footer ul a:hover {
  color: #fff;
}
footer.site-footer .f-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
footer.site-footer .copy {
  color: #94A3B8;
  font-size: 13px;
}
footer.site-footer .made {
  color: #94A3B8;
  font-size: 13px;
}

/* Tableaux légaux : défilement horizontal propre sur mobile */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 16px 0;
}
.table-scroll table {
  margin: 0;
  min-width: 420px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.15);
  padding: 8px 16px;
  border-radius: 8px;
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
  transition: background 0.2s;
}

.back-link:hover {
  background: rgba(255, 255, 255, 0.25);
  color: white;
}

@media (max-width: 600px) {
  h1 {
    font-size: 28px;
  }
  .content-card {
    padding: 24px 20px;
  }
  .container {
    padding: 0 12px 24px;
  }
}
