:root {
  --cream: #F5FAFB;
  --white: #FFFFFF;
  --ink: #0F1117;
  --ink-soft: #3D3F4A;
  --ink-muted: #8A8D9A;
  --accent: #3ABCD4;
  --accent-deep: #168CA2;
  --accent-light: #E8F6FA;
  --border: #E2EEF2;
  --border-soft: #EEF6F9;
  --shadow: 0 6px 22px rgba(15, 17, 23, 0.06);
  --radius: 16px;
}

/* Base */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "ITC Avant Garde Gothic", "Avant Garde", "Segoe UI", Arial, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.45;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
  margin-bottom: 12px;
  letter-spacing: -0.055em;
}

h2 {
  font-size: 21px;
  line-height: 1.15;
  margin-bottom: 12px;
  letter-spacing: -0.035em;
}

h3 {
  font-size: 15px;
  margin: 20px 0 8px;
}

p {
  color: var(--ink-soft);
  margin-bottom: 10px;
}

ul,
ol {
  margin: 0;
  padding-left: 20px;
  color: var(--ink-soft);
}

li {
  margin-bottom: 6px;
}

code {
  font-family: Consolas, "Courier New", monospace;
  background: var(--border-soft);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1px 4px;
  font-size: 0.92em;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245, 250, 251, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  min-height: 62px;
  padding: 8px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
}

.brand-text {
  font-size: 17px;
  letter-spacing: -0.03em;
}

.brand-text strong {
  color: var(--accent-deep);
}

.top-nav {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.top-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 10px;
  border-radius: 8px;
}

.top-nav a:hover {
  background: var(--accent-light);
  color: var(--accent-deep);
}

/* Layout */
.page-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px;
}

.compact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}

.grid {
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.tight {
  gap: 14px;
  margin-bottom: 10px;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.7fr 0.7fr;
  gap: 18px;
  align-items: stretch;
}

.hero-content {
  max-width: 760px;
}

.hero-aside {
  border-radius: 14px;
  background: linear-gradient(160deg, var(--accent-light), var(--white));
  border: 1px solid var(--border-soft);
  display: grid;
  place-items: center;
  padding: 10px;
}

.hero-aside img {
  max-width: 190px;
  width: 100%;
  border-radius: 24px;
}

.lead {
  font-size: 17px;
  color: var(--ink);
}

.section-kicker {
  color: var(--accent-deep);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 8px;
}

.hero-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 15px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  border: 1px solid var(--border);
}

.button.primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.button.primary:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
}

.button.secondary {
  background: var(--white);
  color: var(--ink);
}

.button.small {
  padding: 8px 12px;
}

/* Texte accentué */
.highlight {
  color: var(--accent);
  font-weight: 700;
}

.gps-fix {
  color: #28a745;
  font-weight: 700;
}

.gps-float {
  color: #f0ad4e;
  font-weight: 700;
}

.gps-single {
  color: #dc3545;
  font-weight: 700;
}

/* Listes */
.check-list {
  list-style: none;
  padding-left: 0;
}

.check-list li {
  position: relative;
  padding-left: 22px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.blue-steps {
  list-style: none;
  padding-left: 0;
  margin: 18px 0 24px;
  display: grid;
  gap: 10px;
}

.blue-steps li {
  position: relative;
  padding-left: 30px;
  color: var(--ink-soft);
}

.blue-steps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 5px var(--accent-light);
}

/* Blocs spécifiques */
.section-head.inline-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.note,
.launch-box {
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--ink-soft);
}

.launch-box {
  background: #fbfdfe;
  border: 1px solid var(--border);
  margin-top: 10px;
}

.compact-note {
  background: var(--accent-light);
  border: 1px solid #d9f0f5;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent-deep);
}

.pill {
  background: var(--ink);
  color: var(--white);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

/* Images */
.inline-icon {
  width: 35px;
  height: 35px;
  vertical-align: middle;
  margin-right: 6px;
}

.presentation-schema {
  text-align: center;
  background: transparent;
  box-shadow: none;
  border: none;
  padding: 0;
}

.presentation-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: auto;
}

#utilisation img {
  width: 100%;
  margin-top: 1rem;
  border-radius: 12px;
}

.media-section {
  margin-bottom: 24px;
}

.wide-image {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  background: var(--border-soft);
  border-radius: 14px;
  border: 1px solid var(--border);
  margin: 14px 0 22px;
}

.wide-image:last-child {
  margin-bottom: 0;
}

/* Tableaux */
.table-wrap {
  overflow-x: auto;
}

table,
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin: 12px 0 22px;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

th,
td,
.data-table th,
.data-table td {
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
  padding: 10px 8px;
}

th,
.data-table th {
  color: var(--ink);
  background: var(--border-soft);
  font-weight: 800;
}

.data-table td:first-child {
  font-family: Consolas, "Courier New", monospace;
  color: var(--accent-deep);
  font-weight: 700;
  white-space: nowrap;
}

.data-table tr:last-child td {
  border-bottom: none;
}

/* Cartes secondaires */
.accent-card {
  background: linear-gradient(160deg, var(--ink), #16384F);
  color: var(--white);
}

.accent-card p,
.accent-card li {
  color: rgba(255, 255, 255, 0.82);
}

.mini-card p {
  margin-bottom: 10px;
}

details {
  border-top: 1px solid var(--border);
  padding: 9px 0;
}

details:first-of-type {
  border-top: none;
}

summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--ink);
}

.muted {
  color: var(--ink-muted);
}

/* Footer */
.site-footer {
  max-width: 1180px;
  margin: 10px auto 0;
  padding: 22px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 13px;
  color: var(--ink-soft);
  border-top: 1px solid var(--border);
}

/* Responsive */
@media (max-width: 900px) {
  .hero,
  .grid.two,
  .grid.three {
    grid-template-columns: 1fr;
  }

  .top-nav {
    display: none;
  }

  .section-head.inline-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .page-shell {
    padding: 14px;
  }

  .compact-card {
    padding: 16px;
    margin-bottom: 18px;
  }

  .header-inner {
    padding: 8px 14px;
  }

  h1 {
    font-size: 32px;
  }
}