/* Gafig SA — feuille de style unique. Aucune ressource externe (polices, scripts). */

:root {
  --ink: #1C2430;
  --text: #2B3440;
  --muted: #5B6573;
  --line: #E3E6EA;
  --soft: #F5F6F8;
  --white: #FFFFFF;
  --accent: #1F4E79;
  --accent-dark: #173B5C;
  --radius: 6px;
  --max: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}

img, svg { display: block; max-width: 100%; height: auto; }

a { color: var(--accent); text-underline-offset: 2px; }
a:hover { color: var(--accent-dark); }
a:focus-visible,
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }

h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 .6em; font-weight: 600; }
h1 { font-size: clamp(2rem, 4.2vw, 2.9rem); letter-spacing: -0.015em; }
h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); letter-spacing: -0.01em; }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--white); padding: .6em 1em; z-index: 10;
}
.skip:focus { left: 1rem; top: 1rem; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* En-tête */
.site-header { border-bottom: 1px solid var(--line); background: var(--white); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; min-height: 72px; padding-top: 12px; padding-bottom: 12px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 28px; height: 28px; }
.brand span { font-weight: 600; font-size: 1.05rem; letter-spacing: .22em; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 24px; margin: 0; padding: 0; list-style: none; }
.nav a { color: var(--muted); text-decoration: none; font-size: .95rem; }
.nav a:hover { color: var(--ink); }

/* Sections */
section { padding: 80px 0; }
section + section { border-top: 1px solid var(--line); }
.section-soft { background: var(--soft); }
.eyebrow {
  display: block; font-size: .8rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head p { color: var(--muted); }

/* Accueil */
.hero { padding: 96px 0 88px; }
.hero h1 { max-width: 760px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 18px; border-radius: var(--radius);
  font-size: .95rem; font-weight: 600; text-decoration: none;
  border: 1px solid var(--ink); transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: #2E3846; border-color: #2E3846; color: var(--white); }
.btn-secondary { background: var(--white); color: var(--ink); border-color: #C9CED5; }
.btn-secondary:hover { border-color: var(--ink); color: var(--ink); }

/* Produits */
.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.card {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px;
}
.card-label { font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.card h3 { font-size: 1.5rem; margin-bottom: .3em; }
.card .tagline { color: var(--ink); font-size: 1.05rem; font-weight: 500; }
.card ul { margin: 4px 0 28px; padding: 20px 0 0; list-style: none; border-top: 1px solid var(--line); }
.card li { position: relative; padding-left: 20px; margin-bottom: 8px; color: var(--text); }
.card li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 7px; height: 7px; background: var(--accent); border-radius: 1px;
}
.card .actions { margin-top: auto; padding-top: 8px; }
.card .note { font-size: .88rem; color: var(--muted); margin: 18px 0 0; }
.card .note a { color: var(--muted); }

/* Token */
.token-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.facts { margin: 0; border-top: 1px solid var(--line); }
.facts div {
  display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.facts dt { color: var(--muted); font-size: .95rem; }
.facts dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.notice {
  background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--accent);
  border-radius: var(--radius); padding: 22px 24px;
}
.notice p:last-child { margin-bottom: 0; }
.disclaimer { font-size: .88rem; color: var(--muted); margin-top: 20px; }

/* Société */
.company-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 40px; align-items: start; }

/* Pied de page */
.site-footer { background: var(--ink); color: #C7CDD5; padding: 48px 0 32px; font-size: .92rem; }
.site-footer a { color: #E6E9ED; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; padding-bottom: 28px; border-bottom: 1px solid #333D4B; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--white); }
.footer-brand img { width: 24px; height: 24px; }
.footer-brand span { font-weight: 600; letter-spacing: .22em; }
.footer-address { margin: 12px 0 0; line-height: 1.55; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-bottom { padding-top: 22px; color: #97A0AC; }

/* Pages juridiques */
.legal { padding: 64px 0 88px; }
.legal .wrap { max-width: 800px; }
.legal h1 { font-size: clamp(1.8rem, 3.4vw, 2.3rem); }
.legal h2 { font-size: 1.25rem; margin-top: 2.2em; }
.legal .updated { color: var(--muted); font-size: .95rem; margin-bottom: 2em; }
.legal address { font-style: normal; }
.back { display: inline-block; margin-bottom: 28px; font-size: .95rem; }

@media (min-width: 861px) { .card .tagline { min-height: 3.2em; } }

/* Petits écrans */
@media (max-width: 860px) {
  .products, .token-grid, .company-grid { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
  .hero { padding: 72px 0 64px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .card { padding: 24px; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .nav { gap: 4px 18px; }
  .btn { width: 100%; }
  .card .actions .btn { width: auto; flex: 1 1 145px; white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

.mono{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.85em;word-break:break-all}
