/* NRC - Nicolas Richeton Consulting - Modern Design */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #1e40af;
  --primary-dark: #1e3a8a;
  --accent: #2563eb;
  --text: #1e293b;
  --text-muted: #64748b;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --border: #e2e8f0;
  --radius: 8px;
  --shadow: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.05);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Nav ─────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  height: 60px;
  gap: 32px;
}

.nav-brand {
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary-dark);
  white-space: nowrap;
  text-decoration: none;
}
.nav-brand:hover { text-decoration: none; color: var(--accent); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
  align-items: center;
  flex: 1;
}

.nav-links a {
  display: block;
  padding: 6px 12px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius);
  transition: color .15s, background .15s;
  text-decoration: none;
}
.nav-links a:hover { color: var(--text); background: var(--bg-soft); }
.nav-links .active > a,
.nav-links a.active { color: var(--accent); background: #eff6ff; }

/* dropdown */
.dropdown { position: relative; }
.dropdown-toggle::after {
  content: '';
  display: inline-block;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  margin-left: 5px;
  vertical-align: middle;
  opacity: .6;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  min-width: 220px;
  padding: 10px 0 6px;
  list-style: none;
}
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu { display: block; }
.dropdown-menu li a {
  display: block;
  padding: 8px 16px;
  font-size: .875rem;
  color: var(--text);
  border-radius: 0;
}
.dropdown-menu li a:hover { background: var(--bg-soft); color: var(--accent); text-decoration: none; }
.dropdown-header {
  padding: 8px 16px 4px;
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
}
.dropdown-divider { height: 1px; background: var(--border); margin: 4px 0; }

/* mobile toggle */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; }

@media (max-width: 768px) {
  .nav-toggle { display: block; margin-left: auto; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 60px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--border); padding: 12px 16px; gap: 2px; }
  .nav-links.open { display: flex; }
  .dropdown-menu { position: static; box-shadow: none; border: none; padding-left: 12px; }
  .dropdown:hover .dropdown-menu { display: none; }
  .dropdown.open .dropdown-menu { display: block; }
}

/* ── Hero ─────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 60%, #2563eb 100%);
  color: #fff;
  padding: 72px 24px 64px;
}
.hero-inner { max-width: 800px; margin: 0 auto; }
.hero h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 700; line-height: 1.2; margin-bottom: 12px; }
.hero p { font-size: 1.1rem; opacity: .85; max-width: 560px; }

/* ── Container ────────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 48px 24px; }

/* ── Grid layout ──────────────────────────────────── */
.layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
@media (max-width: 768px) { .layout { grid-template-columns: 1fr; } }

/* ── Content ──────────────────────────────────────── */
.content h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin: 32px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #dbeafe;
}
.content h2:first-child { margin-top: 0; }
.content p { margin-bottom: 14px; color: var(--text); line-height: 1.7; }
.content ul { margin: 0 0 14px 20px; }
.content ul li { margin-bottom: 6px; color: var(--text); line-height: 1.6; }
.content strong, .content b { font-weight: 600; }

/* ── Sidebar ──────────────────────────────────────── */
.sidebar-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.sidebar-card h4 { font-size: .95rem; font-weight: 600; margin-bottom: 12px; color: var(--text); }
.sidebar-card p { font-size: .9rem; color: var(--text-muted); margin-bottom: 8px; }

/* ── Cards row ────────────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin: 32px 0; }
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; color: var(--primary-dark); }
.card p { font-size: .9rem; color: var(--text-muted); line-height: 1.6; }

/* ── Button ───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: .875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background .15s, transform .1s;
  text-decoration: none;
  border: none;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--primary); color: #fff; text-decoration: none; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.btn-outline:hover { background: #eff6ff; text-decoration: none; }

/* ── Contact info ─────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin: 24px 0; }
.contact-item { display: flex; flex-direction: column; gap: 4px; }
.contact-label { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); }
.contact-value { font-size: 1rem; color: var(--text); }
.contact-value a { color: var(--accent); }

/* ── Footer ───────────────────────────────────────── */
footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding: 24px;
  text-align: center;
  font-size: .85rem;
  color: var(--text-muted);
}
