/* ============================================================
   MonLienPro — CSS Global
   Palette : bleu marine #1B3A6B | turquoise #0ABFBC | vert #27AE60
   ============================================================ */

:root {
  --primary:    #1B3A6B;
  --secondary:  #0ABFBC;
  --accent:     #27AE60;
  --orange:     #F39C12;
  --dark:       #1A1F36;
  --text:       #374151;
  --muted:      #6B7280;
  --border:     #E5E7EB;
  --bg:         #F9FAFB;
  --white:      #FFFFFF;
  --radius:     12px;
  --radius-lg:  20px;
  --shadow:     0 4px 20px rgba(0,0,0,0.08);
  --shadow-md:  0 8px 32px rgba(0,0,0,0.12);
  --max-w:      1100px;
  --transition: 0.2s ease;
}

/* ─── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--secondary); }

/* ─── Container ───────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

/* ─── Navigation ──────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--primary);
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white) !important;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}
.navbar-brand .logo-dot {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: var(--secondary);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 900; color: var(--white);
}
.navbar-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.navbar-nav a {
  color: rgba(255,255,255,0.80);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 7px 13px;
  border-radius: 8px;
  transition: var(--transition);
}
.navbar-nav a:hover,
.navbar-nav a.active {
  color: var(--white);
  background: rgba(255,255,255,0.12);
}
.navbar-nav .nav-cta a {
  background: var(--secondary);
  color: var(--white);
  font-weight: 700;
}
.navbar-nav .nav-cta a:hover {
  background: #08a8a5;
}

/* Burger mobile */
.navbar-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.navbar-burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ─── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  line-height: 1;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: #153062;
  color: var(--white);
  border-color: #153062;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(27,58,107,0.30);
}
.btn-secondary {
  background: var(--secondary);
  color: var(--white);
  border-color: var(--secondary);
}
.btn-secondary:hover {
  background: #08a8a5;
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(10,191,188,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--border);
}
.btn-outline:hover {
  background: var(--bg);
  color: var(--primary);
  border-color: var(--primary);
}
.btn-white {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}
.btn-white:hover {
  background: #EEF2FF;
  color: var(--primary);
}
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }

/* ─── Hero ────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #2D5090 60%, #1a4a7a 100%);
  color: var(--white);
  padding: 80px 0 70px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(10,191,188,0.12);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(10,191,188,0.18);
  border: 1px solid rgba(10,191,188,0.4);
  color: var(--secondary);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.hero h1 em { color: var(--secondary); font-style: normal; }
.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.80);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-phrase {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  font-style: italic;
}
.hero-phrase strong { color: rgba(255,255,255,0.90); }

/* ─── Sections ────────────────────────────────────────────── */
section { padding: 64px 0; }
section.bg-light { background: var(--bg); }
section.bg-primary { background: var(--primary); color: var(--white); }
section.bg-dark { background: var(--dark); color: var(--white); }

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1rem;
  color: var(--muted);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 40px;
}
.section-header { margin-bottom: 40px; }
.section-header.center { text-align: center; }
.section-header.center .section-sub { margin: 0 auto 40px; }

/* ─── Cards ───────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 28px;
  transition: var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(10,191,188,0.10);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.card p { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }

/* ─── Grid ────────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 20px; }

/* ─── Steps ───────────────────────────────────────────────── */
.steps { display: flex; flex-direction: column; gap: 24px; }
.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.step-num {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-weight: 800;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
}
.step-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}
.step-body p { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }

/* ─── Quote / Callout ─────────────────────────────────────── */
.callout {
  background: linear-gradient(135deg,var(--primary),#2D5090);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  text-align: center;
}
.callout p {
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 8px;
}
.callout strong { color: var(--secondary); }

/* ─── Pill / Badge ────────────────────────────────────────── */
.pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
}
.pill-blue { background: rgba(27,58,107,0.10); color: var(--primary); }
.pill-teal { background: rgba(10,191,188,0.12); color: #057a78; }
.pill-green { background: rgba(39,174,96,0.12); color: #1a7a44; }

/* ─── Feature list ────────────────────────────────────────── */
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.93rem;
  color: var(--text);
}
.feature-list li::before {
  content: '✓';
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}

/* ─── CTA Banner ──────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, #0ABFBC, #27AE60);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  color: var(--white);
}
.cta-banner h2 {
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.cta-banner p {
  font-size: 1rem;
  opacity: 0.88;
  margin-bottom: 28px;
}
.cta-banner .btn-group { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ─── Footer ──────────────────────────────────────────────── */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.70);
  padding: 48px 0 28px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3,1fr);
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}
.footer-brand p { font-size: 0.87rem; line-height: 1.65; }
.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.50);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a {
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
  transition: var(--transition);
}
.footer-col ul a:hover { color: var(--secondary); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-bottom a { color: rgba(255,255,255,0.50); }
.footer-bottom a:hover { color: var(--secondary); }

/* ─── Form styles ─────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--dark);
  background: var(--white);
  transition: var(--transition);
  font-family: inherit;
}
.form-control:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(10,191,188,0.12);
}
.form-control::placeholder { color: #B0B8C4; }
textarea.form-control { resize: vertical; min-height: 100px; }
select.form-control { cursor: pointer; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 6px; }
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--muted);
  cursor: pointer;
}
.checkbox-label input { margin-top: 3px; }
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 40px;
}

/* Alerts */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  margin-bottom: 20px;
  display: none;
}
.alert-success { background: #D1FAE5; color: #065F46; border: 1px solid #6EE7B7; }
.alert-error   { background: #FEE2E2; color: #991B1B; border: 1px solid #FCA5A5; }
.alert.show { display: block; }

/* ─── Page header (inner pages) ───────────────────────────── */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, #2D5090 100%);
  color: var(--white);
  padding: 56px 0 48px;
  text-align: center;
}
.page-header h1 {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.page-header p {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  max-width: 520px;
  margin: 0 auto;
}

/* ─── Tag cloud / category ────────────────────────────────── */
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  padding: 5px 13px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
}

/* ─── Example card (exemples.html) ───────────────────────── */
.exemple-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.exemple-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.exemple-card-header {
  height: 130px;
  display: flex; align-items: flex-end;
  padding: 20px;
}
.exemple-card-body { padding: 20px; }
.exemple-card-body h3 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.exemple-card-body p { font-size: 0.85rem; color: var(--muted); line-height: 1.55; }
.exemple-card-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  display: flex; gap: 8px; flex-wrap: wrap;
}

/* ─── Mention légale ──────────────────────────────────────── */
.mention-box {
  background: #FEF3C7;
  border: 1px solid #FCD34D;
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 0.85rem;
  color: #92400E;
  line-height: 1.6;
}

/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 700px) {
  .navbar-nav { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--primary); padding: 16px; gap: 4px; }
  .navbar-nav.open { display: flex; }
  .navbar-burger { display: flex; }
  .navbar .container { position: relative; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .hero { padding: 52px 0 44px; }
  .callout { padding: 28px 24px; }
  .form-card { padding: 24px; }
  section { padding: 44px 0; }
}
@media (max-width: 480px) {
  .hero-btns { flex-direction: column; }
  .cta-banner .btn-group { flex-direction: column; align-items: center; }
}
