/* ===========================================================
   Tactique Mondiale — base.css
   Reset, variables, typography, base elements
   =========================================================== */

:root {
  /* Blueprint palette */
  --bp-navy-900: #060b1d;
  --bp-navy-800: #0a1330;
  --bp-navy-700: #101d49;
  --bp-navy-600: #16285f;
  --bp-line: rgba(120, 168, 255, 0.18);
  --bp-line-strong: rgba(120, 168, 255, 0.38);
  --bp-blue: #4f86ff;
  --bp-blue-bright: #7fa8ff;
  --bp-cyan: #4fd8ff;
  --bp-white: #f4f7ff;
  --bp-muted: #9fb2dd;
  --bp-muted-dim: #6e80ad;

  --bp-accent: #ffd24a;

  --font-display: "Space Grotesk", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  --maxw: 1180px;
  --radius: 14px;
  --radius-sm: 8px;

  --gap: clamp(1rem, 2.5vw, 2rem);
  --section-y: clamp(3.5rem, 7vw, 6.5rem);

  --t-fast: 160ms cubic-bezier(.4, 0, .2, 1);
  --t-med: 320ms cubic-bezier(.4, 0, .2, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--bp-white);
  background: var(--bp-navy-900);
  background-image:
    linear-gradient(var(--bp-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--bp-line) 1px, transparent 1px);
  background-size: 46px 46px;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--bp-blue-bright);
  text-decoration: none;
  transition: color var(--t-fast);
}

a:hover {
  color: var(--bp-cyan);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 .6em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1.15em; }

ul, ol { margin: 0 0 1.2em; padding-left: 1.3em; }
li { margin-bottom: .5em; }

strong { color: #fff; font-weight: 600; }

blockquote {
  margin: 1.6rem 0;
  padding: 1.1rem 1.4rem;
  border-left: 3px solid var(--bp-blue);
  background: rgba(79, 134, 255, 0.07);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--bp-white);
}

code {
  font-family: "Space Grotesk", monospace;
  background: rgba(79, 134, 255, 0.14);
  padding: .12em .42em;
  border-radius: 5px;
  font-size: .92em;
  color: var(--bp-cyan);
}

::selection {
  background: var(--bp-blue);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--bp-cyan);
  outline-offset: 3px;
  border-radius: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .72rem;
  color: var(--bp-cyan);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--bp-cyan);
  display: inline-block;
}

.text-muted { color: var(--bp-muted); }
.text-center { text-align: center; }
