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

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

.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;
}

.footer {
  text-align: center;
  padding: 40px 20px;
  color: #6B7280;
  font-size: 13px;
}

.footer a {
  color: #00897B;
}

.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;
  }
}
