/* ==========================================================================
   LumaCIL-IT — corporate site
   Single stylesheet. No frameworks, no external fonts, no build step.
   ========================================================================== */

/* --------------------------------------------------------------- tokens */
:root {
  /* structure */
  --ink-900: #050707;
  --ink-800: #0C1210;
  --ink-700: #17211E;
  --ink-600: #24312D;

  /* text on light */
  --text: #13201C;
  --text-muted: #4E5F59;

  /* surfaces */
  --bg: #ffffff;
  --bg-alt: #F4F7F5;
  --line: #E2E8E4;

  /* accent — the green of the LumaCIL-IT logo (#52B759, sampled from the
     official artwork), used sparingly. Never as text on a light ground:
     it measures 2.54:1 on white. Use --accent-ink for that. */
  --accent: #52B759;
  --accent-bright: #6FC375;
  --accent-ink: #2D6C31;          /* accessible accent text on light bg */

  /* type */
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  /* rhythm */
  --wrap: 1140px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4rem, 9vw, 7rem);
  --radius: 14px;
  --radius-sm: 9px;

  --shadow-sm: 0 1px 2px rgba(5, 7, 7, .05), 0 2px 8px rgba(5, 7, 7, .04);
  --shadow-md: 0 2px 4px rgba(5, 7, 7, .06), 0 12px 28px rgba(5, 7, 7, .08);

  --focus: 0 0 0 3px rgba(82, 183, 89, .45), 0 0 0 1px var(--ink-800);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(1rem, .97rem + .18vw, 1.0625rem);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

[hidden] { display: none !important; }

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

h1, h2, h3 {
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 .6em;
  font-weight: 640;
  text-wrap: balance;
}

h1 { font-size: clamp(1.95rem, 1.28rem + 3vw, 3.6rem); }
h2 { font-size: clamp(1.65rem, 1.2rem + 1.9vw, 2.45rem); }
h3 { font-size: 1.115rem; font-weight: 620; }

p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

ul { margin: 0; padding: 0; }
li { list-style: none; }

a { color: inherit; }

/* --------------------------------------------------------- a11y helpers */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -100%;
  z-index: 200;
  background: var(--ink-800);
  color: #fff;
  padding: .7rem 1.1rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus { top: 0; }

:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 4px;
}
.section-dark :focus-visible,
.hero :focus-visible,
.site-header :focus-visible {
  box-shadow: 0 0 0 3px rgba(111, 195, 117, .55);
}

/* ---------------------------------------------------------- layout wrap */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section-alt { background: var(--bg-alt); }

.section-dark {
  background: var(--ink-800);
  color: #EDEFED;
  background-image:
    radial-gradient(60rem 30rem at 85% -10%, rgba(82, 183, 89, .10), transparent 60%),
    radial-gradient(50rem 26rem at 5% 110%, rgba(82, 183, 89, .10), transparent 60%);
}
.section-dark h2 { color: #fff; }
.section-dark p { color: #C4CBC4; }

.section-head { max-width: 46rem; margin-bottom: clamp(2.25rem, 4vw, 3.25rem); }
.section-lead { color: var(--text-muted); font-size: 1.06em; }
.section-dark .section-lead { color: #B4BEB5; }

.eyebrow {
  font-size: .78rem;
  font-weight: 680;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin: 0 0 .9rem;
}
.eyebrow-dark { color: var(--accent-ink); }

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .82rem 1.45rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font: inherit;
  font-weight: 620;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.btn-sm { padding: .58rem 1.05rem; font-size: .92rem; }

.btn-accent {
  background: var(--accent-bright);
  color: var(--ink-900);
  box-shadow: 0 1px 0 rgba(255,255,255,.35) inset;
}
.btn-accent:hover { background: #86CD8B; transform: translateY(-1px); }

.btn-primary {
  background: var(--ink-800);
  color: #fff;
}
.btn-primary:hover { background: var(--ink-600); }

.btn-ghost {
  background: transparent;
  color: #EDEFED;
  border-color: rgba(237, 239, 237, .3);
}
.btn-ghost:hover {
  border-color: rgba(111, 195, 117, .7);
  color: #fff;
}
.btn-icon { flex: none; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 7, 7, .92);
  color: #EDEFED;
  border-bottom: 1px solid rgba(237, 239, 237, .09);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { backdrop-filter: blur(10px); background: rgba(5, 7, 7, .82); }
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  color: #fff;
  font-weight: 680;
  letter-spacing: -.02em;
  font-size: 1rem;          /* réduit : le logo porte l'identité, le texte l'accompagne */
  margin-right: auto;
}
/* The official LumaCIL-IT mark, inlined so the page still makes exactly three
   requests (CLAUDE.md §2 rule 8). 83x90 source, drawn at 2-3x of its display
   size so it stays sharp on dense screens. The <span> carries no text; the
   brand link's aria-label names the company. */
.brand-mark {
  flex: none;
  width: 30px;
  height: 32px;
  /* Reversed version of the official mark: the black C is drawn white, the
     brand green is untouched. The header and the footer are the only places
     the mark appears, and both are dark grounds — the positive artwork's black
     C simply vanishes on them. This is the standard positive/negative pair,
     not a recolour: the green is bit-identical to the official file. */
  background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFMAAABaCAYAAADEvWrIAAAO50lEQVR42u2de5AcxX3Hv9/umendu5PuBIeQZEBYUCrzMqAQHgoOksCyZB62lBxgu3jEAVJx7FDlwnY5js2BMWXjOHYcmzKkXLEcwFgyCCxisCgoCUJFNoYCChRhEDhAIsJLj5N2dx7dv/xxPXfDsifd6W4XtLqumjppb2ev5zPf36N/091LtLCJiAKgAFiSUve7jiRJDgPwfgBHiMghJA8BMENEppLsBNBV95EEUANQAbBTRN4kuQXAKyT/2zn3vIj8b6lUeqnB3wsa9WM8jS0ASAC6vuPVanW2UmqeiJxK8kQPcBaA0gR3YRvJVwA8BeBhAA8ZYzYW+qcBCEn3noXpVUiSNn+tUqnM01qfA2CJiJw4AjgB4Ebo40j9lQb/preC+uZIPgrgdufcz8vl8pYCVDcepbJJSlQ5xEqlcrDWug/AJ0Xk1Lq/af3Fs+6Y0C7V3aCg8Lu3SN4G4PvGmOdyqEUBvGswix2pVquzSX4WwMUAphfelhVU03Q3sxu44t0PAAwA+GdjzDdJDuwtUE60GgcGBnqiKLpKRP4GQE9Bgc1S3njB2lytJDcBuNIYs9a7KRmL2XMifGPuvOM4Xg7gBhE5oqBC/R4DOBqo1xpjrq6/vqbCzM1BRMpJknxXRP5qH4P4juDkfyqSv4ii6BKSldEC5ThABiSzWq32fgC3Azi5YM4K+3bLAAQkH4qi6FySO0YDlONRZJIkJ4jIL0Xk0LwDaJ+WA324Wq2e3d3dvdO7AJkwmAWQxzvn1vpI3W4g85YCCAHca4w5t5CnNgSq9gZktVqdLSL/7kHaNgUJDzIFsDRJku/7dEmPW5m5z6jVau8jeb+IHOVBarR/ywAESqlLoyhaMVIeyrGArFQqvVrrdSJyzH4EspjoVwCcaIzZ7IfKbkxm7hNyiojRWt/pQWb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f+pVxQSv+qM6qGSDuSxfe96kLFTiViqEIOggGiuiI34yDzu6OTrfL6YRJpyKVAkJoqFCpgJqg1tChgtKDs29FBOWpZVS31v6S5DPVarXsl6q0Ig7kGxXstNb+JIfbdJgk6FKHoByerAJ1sirWAQSACJRwcKGQr+NS/OFfhhXJbCZOCMLP3yEykto6G/tPywNOK579WwwugfxZR0fH/+Tr9Ftm5lktdSRFvX0tJSBCNexfqYqzc0gMuWDwHY+oCGpF1eote/JxfiwiN/iRlgAt3OyJbDyHaTBQeZjkvlC+yjcSvKlUKj1f3BductLB3kXw15xzX8/3Ja7PkybbGGCKyBc7OjqG9jPKfxlM8hl1y9fd322Mabjt46QyR6/IgORL1trLvHm/I2uYVOboojcAJEqpC4wxb3hVupHGlpNtZJAOg+ulLgnDcIMvqDSs3E8qcw8VIQyur/9MGIa357tGjHTCJMyRc8m8DnqFMeZf9gRyEubuo/YOAJcaY1aPBuQkzMZmHZB8kuQlURQ9OVqQkwFoGGLmWSiSN0ZRdLoHqUcLcn9XZnHPTwXgMZJ/Z4xZO1h/ETXW7wQK9kOArgAQJH8P4B+jKPpXkknh67/GXMprd5jSQIE5xEdF5KYoin5GsuLVuNdf+eVhUvysDtnHZnfU97e463YOjyjuVk2+CODXInK7MWZox5WCGsc1jSYAJGSoCIEeejBW90DN17/36oFa3cZ6qC8Os/AawMJ5GH7V14gVhs8RJ4EKFWzi8iBaKirPw9sCYKOIPAzgwSiKHiVZm2iIwzCJlyW1XbCwgCjxvc0vEswHp4Ov2AIo1QAm8PYN2OthytD/1dB7i2fmhfPil60VCu6Fc2BtYkOl1YCIsFqtPu03CHgGwCYRecpau8mXylAAGOQqniiIeft/ko1t82bv2KcAAAAASUVORK5CYII=") center / contain no-repeat;
}
.brand-dash { color: var(--accent-bright); }

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2rem);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(.85rem, 1.8vw, 1.6rem);
}
.nav-list a {
  text-decoration: none;
  font-size: .945rem;
  font-weight: 520;
  color: #CED5CF;
  padding: .4rem 0;
  border-bottom: 2px solid transparent;
  transition: color .16s ease, border-color .16s ease;
}
.nav-list a:hover,
.nav-list a.is-current {
  color: #fff;
  border-bottom-color: var(--accent-bright);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: .85rem;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid rgba(237, 239, 237, .22);
  border-radius: 999px;
  overflow: hidden;
}
.lang-btn {
  appearance: none;
  background: transparent;
  border: 0;
  color: #B7C0B7;
  font: inherit;
  font-size: .8rem;
  font-weight: 660;
  letter-spacing: .04em;
  padding: .34rem .6rem;
  cursor: pointer;
  transition: background-color .16s ease, color .16s ease;
}
.lang-btn:hover { color: #fff; }
.lang-btn.is-active { background: var(--accent-bright); color: var(--ink-900); }

/* The compact switch lives in the header bar and appears only once the nav
   collapses, so the language is always changeable without opening the menu. */
.lang-switch-compact { display: none; }

.nav-toggle {
  display: none;
  appearance: none;
  background: transparent;
  border: 1px solid rgba(237, 239, 237, .22);
  border-radius: var(--radius-sm);
  color: #EDEFED;
  padding: .55rem .6rem;
  cursor: pointer;
}
.nav-toggle-bars {
  display: block;
  width: 20px;
}
.nav-toggle-bars span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle-bars span + span { margin-top: 4px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative;
  isolation: isolate;
  background: var(--ink-900);
  color: #EDEFED;
  padding-block: clamp(4.5rem, 10vw, 8.5rem) clamp(4rem, 9vw, 7rem);
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; z-index: -1; }

.hero-grid {
  position: absolute;
  inset: -1px;
  background-image:
    linear-gradient(to right, rgba(237, 239, 237, .055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(237, 239, 237, .055) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 20%, transparent 75%);
}

.hero-glow {
  position: absolute;
  top: -30%; left: 50%;
  width: min(70rem, 130%);
  aspect-ratio: 2 / 1;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(82, 183, 89, .17), transparent 72%);
}

.hero-shape {
  position: absolute;
  border: 1px solid rgba(237, 239, 237, .10);
  border-radius: 22px;
}
.hero-shape-a {
  width: 15rem; height: 15rem;
  right: -4rem; top: 12%;
  transform: rotate(22deg);
  background: linear-gradient(150deg, rgba(111, 195, 117, .07), transparent 65%);
}
.hero-shape-b {
  width: 9rem; height: 9rem;
  left: -3rem; bottom: 8%;
  transform: rotate(-14deg);
  background: linear-gradient(150deg, rgba(111, 195, 117, .08), transparent 65%);
}

.hero-inner { position: relative; max-width: 54rem; }
.hero h1 { color: #fff; margin-bottom: .55em; }
.hero-sub {
  font-size: clamp(1.03rem, .98rem + .38vw, 1.235rem);
  color: #C1CAC2;
  max-width: 46rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 2.1rem;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.75rem;
  margin-top: 2.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(237, 239, 237, .11);
}
.hero-points li {
  position: relative;
  padding-left: 1.05rem;
  font-size: .93rem;
  color: #B2BCB3;
}
.hero-points li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent-bright);
}

/* -------------------------------------------------------- service cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17.5rem, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 2.4vw, 1.85rem);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}
.card:hover {
  border-color: #D7DCD7;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.card h3 { margin-bottom: .45em; }
.card p { color: var(--text-muted); font-size: .965rem; margin: 0; }

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  margin-bottom: 1.1rem;
  border-radius: 11px;
  color: var(--accent-ink);
  background: linear-gradient(160deg, rgba(82, 183, 89, .16), rgba(82, 183, 89, .06));
  border: 1px solid rgba(82, 183, 89, .22);
}

/* ------------------------------------------------------------ tag grid */
.tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}
.tag-grid li {
  border: 1px solid rgba(237, 239, 237, .17);
  background: rgba(237, 239, 237, .045);
  border-radius: 999px;
  padding: .5rem 1rem;
  font-size: .9rem;
  font-family: var(--font-mono);
  letter-spacing: -.005em;
  color: #D6DBD6;
  transition: border-color .18s ease, color .18s ease;
}
.tag-grid li:hover { border-color: rgba(111, 195, 117, .5); color: #fff; }

/* ------------------------------------------------------- solutions grid */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}
.solution-grid li {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  padding: 1.05rem .5rem 1.05rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 520;
  font-size: .985rem;
}
.solution-grid li::before {
  content: "";
  flex: none;
  margin-top: .55em;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--accent);
  transform: rotate(45deg);
}

/* ------------------------------------------------------------- about */
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.about-text p { color: var(--text-muted); }

.founder {
  margin-top: 1.6rem;
  padding: 1.05rem 1.2rem;
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  border-radius: var(--radius-sm);
  background: var(--bg);
  font-size: .95rem;
}
.section-alt .founder { background: #fff; }
.founder strong { color: var(--text); font-weight: 640; }
.founder-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: .3rem;
  padding-block: .35rem;      /* keeps the tap target >= 32px on touch screens */
  font-weight: 620;
  color: var(--accent-ink);
  text-underline-offset: 3px;
}
.founder-link:hover { text-decoration-thickness: 2px; }

.footer-founder { margin-top: .55rem; font-size: .88rem; }
.footer-founder a { text-decoration: underline; text-underline-offset: 3px; }

.value-list {
  display: grid;
  gap: 1.15rem;
}
.value-list li {
  padding-left: 1.15rem;
  border-left: 2px solid var(--line);
}
.value-list li:first-child { border-left-color: var(--accent); }
.value-list h3 { margin-bottom: .3em; }
.value-list p { color: var(--text-muted); font-size: .95rem; margin: 0; }

/* ------------------------------------------------------------ contact */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-facts {
  display: grid;
  gap: .55rem;
  margin-top: 1.6rem;
}
.contact-facts li {
  display: flex;
  align-items: center;
  gap: .6rem;
  min-height: 2rem;
  font-size: .94rem;
  color: #C4CBC4;
}
.contact-facts svg { flex: none; color: var(--accent-bright); }
.contact-facts a {
  display: inline-block;
  padding-block: .3rem;
  color: #EDEFED;
  text-decoration-color: rgba(111, 195, 117, .55);
  text-underline-offset: 3px;
}
.contact-facts a:hover { color: #fff; }

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  background: rgba(237, 239, 237, .045);
  border: 1px solid rgba(237, 239, 237, .13);
  border-radius: var(--radius);
  padding: clamp(1.35rem, 3vw, 2rem);
}
.field { display: grid; gap: .4rem; }
.field-full { grid-column: 1 / -1; }

.contact-form label {
  font-size: .875rem;
  font-weight: 600;
  color: #D6DBD6;
}
.req { color: var(--accent-bright); }
.opt { font-weight: 450; color: #919F92; }

.contact-form input,
.contact-form textarea {
  width: 100%;
  font: inherit;
  font-size: .97rem;
  color: #F1F4F2;
  background: rgba(5, 7, 7, .55);
  border: 1px solid rgba(237, 239, 237, .18);
  border-radius: var(--radius-sm);
  padding: .68rem .8rem;
  transition: border-color .16s ease, background-color .16s ease;
}
.contact-form textarea { resize: vertical; min-height: 7rem; }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #859586; }
.contact-form input:hover,
.contact-form textarea:hover { border-color: rgba(237, 239, 237, .3); }
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent-bright);
  background: rgba(5, 7, 7, .8);
}
.contact-form input[aria-invalid="true"],
.contact-form textarea[aria-invalid="true"] { border-color: #f08585; }

.honeypot {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .9rem 1.1rem;
  margin-top: .2rem;
}
.form-note {
  margin: 0;
  font-size: .875rem;
  color: #B4BEB5;
}
.form-note.is-error { color: #f5a3a3; }
.form-note.is-ok { color: #9fd8a8; }

/* ------------------------------------------------------------- footer */
.site-footer {
  background: var(--ink-900);
  color: #A4B0A5;
  padding-block: clamp(2.75rem, 5vw, 4rem) 2rem;
  font-size: .93rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto auto;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}
.footer-brand .brand-text {
  display: block;
  color: #fff;
  font-size: 1rem;
  font-weight: 680;
  letter-spacing: -.02em;
  margin-bottom: .5rem;
}
.footer-brand p { max-width: 26rem; margin: 0; }

.footer-nav ul,
.footer-legal-nav ul { display: grid; gap: .15rem; }
.site-footer a {
  display: inline-block;
  padding-block: .42rem;      /* keeps the tap target >= 32px on touch screens */
  text-decoration: none;
  color: #A4B0A5;
  transition: color .16s ease;
}
.site-footer a:hover { color: var(--accent-bright); text-decoration: underline; text-underline-offset: 3px; }

.copyright {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(237, 239, 237, .09);
  font-size: .875rem;
  color: #819182;
}

/* -------------------------------------------------- legal sub-pages */
/* legal.html and privacy.html. These rules lived twice, inline, in the two
   pages; they are here so there is still exactly one stylesheet and one place
   to change them. The pages are light, so the language switch needs a light
   variant of the header component. */
.legal-page {
  padding-block: clamp(3rem, 7vw, 5rem);
  max-width: 46rem;
}
.legal-page h2 { font-size: 1.2rem; margin-top: 2.2rem; }
.legal-page p,
.legal-page li { color: var(--text-muted); }
.legal-page ul { display: grid; gap: .4rem; margin: 0 0 1rem; }
.legal-page li { padding-left: 1.1rem; position: relative; }
.legal-page li::before {
  content: "";
  position: absolute;
  left: 0; top: .68em;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 2px;
  transform: rotate(45deg);
}

.legal-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}
.back {
  display: inline-flex;
  gap: .45rem;
  align-items: center;
  padding-block: .42rem;        /* tap target >= 32px on touch screens */
  font-weight: 600;
  color: var(--accent-ink);     /* 7.0:1 on white — AA at body size */
  text-underline-offset: 3px;
}

/* Light variant of the header switch: the legal pages have a white ground,
   where the dark-header colours would drop below AA. */
.lang-switch-light { border-color: var(--line); }
.lang-switch-light .lang-btn { color: var(--text-muted); }   /* 6.4:1 on white */
.lang-switch-light .lang-btn:hover { color: var(--text); }
.lang-switch-light .lang-btn.is-active {
  background: var(--accent-bright);
  color: var(--ink-900);                                     /* 10.5:1 */
}

/* -------------------------------------------------------- breakpoints */
@media (max-width: 900px) {
  .about-layout,
  .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .footer-inner { grid-template-columns: minmax(0, 1fr) auto; }
}

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; align-items: center; }

  /* swap the two switches: header bar one on, in-menu one off */
  .lang-switch-compact { display: inline-flex; margin-left: auto; margin-right: .6rem; }
  .nav-actions .lang-switch { display: none; }
  .nav-actions .btn { margin-left: 0; }

  .primary-nav {
    position: fixed;
    inset: 68px 0 auto;
    display: block;
    background: var(--ink-800);
    border-bottom: 1px solid rgba(237, 239, 237, .1);
    padding: 1.25rem var(--gutter) 1.75rem;
    max-height: calc(100dvh - 68px);
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
  }
  .primary-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-list { display: grid; gap: 0; }
  .nav-list a {
    display: block;
    padding: .8rem 0;
    font-size: 1.02rem;
    border-bottom: 1px solid rgba(237, 239, 237, .09);
  }
  .nav-list a:hover, .nav-list a.is-current { border-bottom-color: rgba(237, 239, 237, .09); }
  .nav-list li:last-child a { border-bottom: 0; }

  .nav-actions {
    justify-content: space-between;
    margin-top: 1.15rem;
  }
  .nav-actions .btn { flex: 1; margin-left: .5rem; }
}

@media (max-width: 560px) {
  .contact-form { grid-template-columns: minmax(0, 1fr); }
  .hero-cta .btn { width: 100%; }
  .footer-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-points { gap: .45rem 1.1rem; }

  /* tighter vertical rhythm so the hero fits a phone screen */
  .hero { padding-block: 3.25rem 3.5rem; }
  .hero-sub { font-size: 1.02rem; }
  .hero-cta { margin-top: 1.6rem; }
  .hero-points { margin-top: 2rem; padding-top: 1.4rem; }
  .eyebrow { font-size: .72rem; letter-spacing: .11em; }
}

/* ------------------------------------------------------ motion & print */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .card:hover, .btn-accent:hover { transform: none; }
}

@media print {
  .site-header, .nav-toggle, .hero-bg, .contact-form { display: none !important; }
  body { color: #000; background: #fff; }
  .section-dark, .hero, .site-footer { background: #fff !important; color: #000 !important; }
  .section-dark h2, .hero h1 { color: #000 !important; }
  .section-dark p, .hero-sub { color: #333 !important; }
}
