/* IMFAA - Static site starter (full)
   Colors (charte): Primary #329DD8, Text #13100D
*/
:root {
  --primary: #329DD8;
  --text: #13100D;
  --bg: #ffffff;
  --muted: #667085;
  --border: #e6e8ec;
  --soft: #f6f8fb;
  --shadow: 0 10px 25px rgba(19,16,13,.08);
  --radius: 18px;
  --maxw: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}
img { max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: min(var(--maxw), calc(100% - 32px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--primary);
  color: #fff;
  padding: 10px 12px;
  border-radius: 10px;
  z-index: 9999;
}
.skip-link:focus { left: 12px; top: 12px; }

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
}
.brand img {
  width: 160px;
  height: auto;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 16px;
  margin: 0;
  padding: 0;
}
nav a {
  display: inline-flex;
  align-items: center;
  padding: 10px 10px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
}
nav a[aria-current="page"] {
  background: rgba(50,157,216,.12);
  color: var(--text);
}
nav a:focus-visible, .btn:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(50,157,216,.35);
  outline-offset: 2px;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 700;
}

.hero {
  padding: 54px 0 28px;
  background:
    radial-gradient(1200px 500px at 30% 0%, rgba(50,157,216,.16), transparent 55%),
    radial-gradient(900px 420px at 100% 10%, rgba(50,157,216,.10), transparent 55%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 26px;
  align-items: start;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(50,157,216,.12);
  color: var(--text);
  font-weight: 700;
  font-size: 13px;
}
h1 {
  margin: 14px 0 12px;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.12;
}
.lead {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
  max-width: 62ch;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none !important;
}
.btn.primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow);
}
.btn.ghost {
  background: #fff;
  border-color: var(--border);
  color: var(--text);
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 10px 24px rgba(19,16,13,.05);
}
.badge {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(50,157,216,.10);
  font-weight: 800;
  font-size: 12px;
}
.card h3 {
  margin: 10px 0 8px;
  font-size: 18px;
}
.card p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 28px 0;
}
.section h2 {
  margin: 0 0 12px;
  font-size: 26px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.soft {
  background: var(--soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.list {
  margin: 10px 0 0;
  padding-left: 18px;
}
.list li { margin: 8px 0; }

.table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}
.table th, .table td {
  padding: 12px 12px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
.table th {
  background: rgba(50,157,216,.10);
  font-weight: 900;
}
.table tr:last-child td { border-bottom: 0; }

.small {
  color: var(--muted);
  font-size: 13px;
}

footer {
  margin-top: 30px;
  border-top: 1px solid var(--border);
  background: #fff;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
  padding: 22px 0;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}
.footer-links a {
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}
.footer-note {
  color: var(--muted);
  font-size: 13px;
  margin: 8px 0 0;
}

.hr {
  height: 1px;
  background: var(--border);
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  nav ul {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fff;
    position: absolute;
    right: 16px;
    top: 62px;
    width: min(320px, calc(100vw - 32px));
    box-shadow: var(--shadow);
  }
  nav ul[data-open="true"] { display: flex; }
  .nav-toggle { display: inline-flex; }
}
