/* MesResiliation.com – Design propre */

/* Reset de base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-body: #f5f7fb;
  --bg-header: #ffffff;
  --bg-card: #ffffff;
  --accent: #2563eb;
  --accent-soft: #e0ebff;
  --accent-dark: #1d4ed8;
  --text-main: #111827;
  --text-muted: #6b7280;
  --border-soft: #e5e7eb;
  --radius-lg: 14px;
  --shadow-soft: 0 16px 40px rgba(15, 23, 42, 0.10);
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
}

/* Layout général */
.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */
header {
  background: var(--bg-header);
  border-bottom: 1px solid var(--border-soft);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.logo {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.04em;
}

.logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 18px;
  font-size: 14px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  padding: 6px 10px;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
}

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.30);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.45);
}

.btn-ghost {
  background: transparent;
  color: var(--accent);
}

.btn-ghost:hover {
  background: var(--accent-soft);
}

/* HERO */
.hero {
  padding: 36px 0 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.3fr);
  gap: 32px;
  align-items: center;
}

.hero-kicker {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 10px;
}

.hero-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}

.hero-title span {
  color: var(--accent-dark);
}

.hero-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.hero-note {
  font-size: 12px;
  color: var(--text-muted);
}

/* Carte droite */
.hero-card {
  background: var(--bg-card);
  border-radius: 18px;
  padding: 18px 18px 20px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-soft);
}

.hero-card-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}

.hero-card-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.hero-list {
  list-style: none;
  font-size: 13px;
  color: var(--text-main);
}

.hero-list li {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 6px;
}

.hero-list li span {
  font-size: 16px;
}

/* Sections */
.section {
  padding: 8px 0 32px;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 10px;
}

.section-title {
  font-size: 18px;
  font-weight: 600;
}

.section-subtitle {
  font-size: 13px;
  color: var(--text-muted);
}

/* Grille cartes */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 14px 14px 16px;
  border: 1px solid var(--border-soft);
  transition: box-shadow 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}

.card:hover {
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
  border-color: var(--accent-soft);
}

.card-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}

.card-text {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip {
  padding: 4px 8px;
  font-size: 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
}

/* Grille infos */
.info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr);
  gap: 24px;
}

.info-block h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.info-block p {
  font-size: 13px;
  color: var(--text-muted);
}

/* Pages internes */
.page {
  padding: 26px 0 40px;
}

.page h1 {
  font-size: 22px;
  margin-bottom: 12px;
}

.page h2 {
  font-size: 17px;
  margin-top: 18px;
  margin-bottom: 6px;
}

.page p {
  font-size: 14px;
  margin-bottom: 10px;
  color: var(--text-main);
}

.page ul {
  margin: 6px 0 10px 18px;
  font-size: 14px;
  color: var(--text-main);
}

.page li {
  margin-bottom: 4px;
}

/* Footer */
footer {
  margin-top: auto;
  border-top: 1px solid var(--border-soft);
  background: var(--bg-header);
}

.footer-inner {
  padding: 14px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 10px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }
}
