﻿
/* ═══════════════════════════════════════════
   TOKENS & RESET
═══════════════════════════════════════════ */
:root {
  --ts-void:      #02040A;
  --ts-ink:       #060D1A;
  --ts-surface:   #0A1428;
  --ts-raised:    #0E1C38;
  --ts-border:    #1A2E5A;
  --ts-blue-mid:  #1E3A8A;
  --ts-blue-elec: #1260F0;
  --ts-blue-sky:  #60A5FA;
  --ts-blue-pale: #BFDBFE;
  --ts-white:     #F8FAFF;
  --ts-silver:    #CBD5E1;
  --ts-muted:     #7C8CA3;
  --ts-alert:     #DC2626;
  --ts-safe:      #22C55E;
  --ts-warn:      #EAB308;

  --font-title: 'Barlow Condensed', sans-serif;
  --font-body:  'Barlow', sans-serif;
  --font-mono:  'JetBrains Mono', monospace;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --nav-h: 72px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--ts-ink);
  color: var(--ts-white);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* Skip link */
.skip-link {
  position: absolute; top: -100%; left: 1rem;
  background: var(--ts-blue-elec); color: var(--ts-white);
  padding: .5rem 1rem; border-radius: var(--radius-sm);
  font-weight: 500; z-index: 9999;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

/* Focus visible */
:focus-visible { outline: 2px solid var(--ts-blue-elec); outline-offset: 3px; border-radius: 3px; }

/* ═══════════════════════════════════════════
   TYPOGRAPHY
═══════════════════════════════════════════ */
.ts-label {
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ts-blue-sky);
}

.ts-h1 {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -.01em;
  text-wrap: pretty;
}

.ts-h2 {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.1;
  letter-spacing: -.01em;
  text-wrap: pretty;
}

.ts-h3 {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.2;
}

/* ═══════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.6rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .95rem;
  transition: all .2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--ts-blue-elec);
  color: var(--ts-white);
  box-shadow: 0 0 0 0 rgba(30,111,255,.4);
}
.btn-primary:hover {
  background: #3b82f6;
  box-shadow: 0 0 20px rgba(30,111,255,.35);
  transform: translateY(-1px);
}

.btn-ghost {
  border: 1px solid var(--ts-border);
  color: var(--ts-silver);
  background: transparent;
}
.btn-ghost:hover {
  border-color: var(--ts-blue-elec);
  color: var(--ts-white);
  background: rgba(30,111,255,.06);
}

.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }

/* ═══════════════════════════════════════════
   LAYOUT UTILITIES
═══════════════════════════════════════════ */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }

.ts-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s ease, transform .65s ease;
}
.ts-reveal.visible {
  opacity: 1;
  transform: none;
}

/* ═══════════════════════════════════════════
   NAV
═══════════════════════════════════════════ */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
}
#nav.scrolled {
  background: rgba(6,13,26,.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--ts-blue-elec);
}

.nav-inner {
  display: flex; align-items: center; gap: 2rem;
  width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 1.5rem;
}

.nav-logo {
  display: flex; align-items: center; gap: 0;
  flex-shrink: 0;
}
.nav-logo svg, .nav-logo img { width: 54px; height: 54px; object-fit: contain; border-radius: 10px; margin-right: -10px; }
.nav-wordmark {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: .04em;
  line-height: 1;
}
.nav-wordmark span { color: var(--ts-blue-elec); font-weight: 300; }

.nav-links {
  display: flex; align-items: center; gap: 2rem;
  list-style: none;
  margin: 0 auto;
}
.nav-links a {
  font-size: .9rem;
  color: var(--ts-silver);
  transition: color .2s;
}
.nav-links a:hover { color: var(--ts-white); }

.nav-ctas { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  padding: .5rem; margin-left: auto;
  background: none; border: none; cursor: pointer;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--ts-silver);
  transition: transform .3s, opacity .3s;
}

#mobile-menu {
  display: none;
  position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: var(--ts-ink);
  border-bottom: 1px solid var(--ts-border);
  padding: 1.5rem;
  flex-direction: column; gap: 1rem;
  z-index: 99;
}
#mobile-menu.open { display: flex; }
#mobile-menu a {
  font-size: 1.1rem;
  color: var(--ts-silver);
  padding: .5rem 0;
  border-bottom: 1px solid var(--ts-border);
}
#mobile-menu .nav-ctas { flex-direction: column; align-items: stretch; margin-top: .5rem; }
#mobile-menu .btn { justify-content: center; }

@media (max-width: 900px) {
  .nav-links, .nav-ctas { display: none; }
  .hamburger { display: flex; }
}

/* ═══════════════════════════════════════════
   TICKER
═══════════════════════════════════════════ */
#ticker {
  position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 98;
  background: var(--ts-void);
  border-bottom: 1px solid var(--ts-border);
  height: 32px;
  overflow: hidden;
  display: flex; align-items: center;
}
.ticker-track {
  display: flex; align-items: center;
  white-space: nowrap;
  animation: ticker-scroll 40s linear infinite;
  will-change: transform;
}
.ticker-item {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: 0 2.5rem;
  font-family: var(--font-mono);
  font-size: .68rem;
  color: var(--ts-muted);
  letter-spacing: .05em;
}
.ticker-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot-red { background: var(--ts-alert); box-shadow: 0 0 4px var(--ts-alert); }
.dot-green { background: var(--ts-safe); box-shadow: 0 0 4px var(--ts-safe); }
.dot-yellow { background: var(--ts-warn); box-shadow: 0 0 4px var(--ts-warn); }

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  padding-top: calc(var(--nav-h) + 32px + 64px);
  padding-bottom: 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background: var(--ts-ink);
}
/* Geometric grid */
.hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(30,111,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,111,255,.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 70%);
}
/* Blue radial glow left */
.hero-bg::after {
  content: '';
  position: absolute;
  left: -20%;  top: 10%;
  width: 70vw; height: 70vw;
  background: radial-gradient(circle, rgba(30,111,255,.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative; z-index: 1;
  max-width: 820px;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .4rem 1rem;
  border: 1px solid rgba(30,111,255,.35);
  border-radius: 100px;
  background: rgba(30,111,255,.08);
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--ts-blue-sky);
  margin-bottom: 1.5rem;
  letter-spacing: .06em;
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ts-safe);
  box-shadow: 0 0 6px var(--ts-safe);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(.8); }
}

.hero-title { margin-bottom: 1.25rem; }
.hero-title em {
  font-style: normal;
  color: var(--ts-blue-sky);
}

.hero-sub {
  font-size: 1rem;
  color: var(--ts-silver);
  max-width: 540px;
  margin-bottom: 2.25rem;
  line-height: 1.7;
  font-weight: 300;
}

.hero-ctas {
  display: flex; flex-wrap: wrap; gap: .85rem;
  margin-bottom: 3rem;
}

.hero-metrics {
  display: flex; flex-wrap: wrap; gap: 0;
  border-top: 1px solid var(--ts-border);
  padding-top: 1.75rem;
}
.hero-metric {
  display: flex; flex-direction: column;
  padding-right: 2rem; margin-right: 2rem;
  border-right: 1px solid var(--ts-border);
}
.hero-metric:last-child { border-right: none; margin-right: 0; }
.hero-metric-val {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--ts-white);
  line-height: 1;
  margin-bottom: .25rem;
}
.hero-metric-label {
  font-family: var(--font-mono);
  font-size: .6rem;
  color: var(--ts-muted);
  letter-spacing: .12em;
  text-transform: uppercase;
}

@media (max-width: 640px) {
  .hero-metric { padding-right: 1rem; margin-right: 1rem; }
  .hero-metric:nth-child(2) { border-right: none; }
  .hero-metric:nth-child(3) { border-right: 1px solid var(--ts-border); }
  .hero-metric:nth-child(4) { border-right: none; }
  .hero-metrics { row-gap: 1.25rem; }
}

/* ═══════════════════════════════════════════
   TRUST BAR
═══════════════════════════════════════════ */
#trust-bar {
  background: var(--ts-surface);
  border-top: 1px solid var(--ts-border);
  border-bottom: 1px solid var(--ts-border);
  padding: 1.25rem 0;
}
.trust-items {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: .75rem 2.5rem;
  list-style: none;
}
.trust-item {
  display: flex; align-items: center; gap: .5rem;
  font-size: .85rem;
  color: var(--ts-silver);
  font-weight: 400;
}
.trust-icon {
  color: var(--ts-safe);
  font-size: .8rem;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   STATS
═══════════════════════════════════════════ */
#stats { background: var(--ts-void); }
.stats-header { text-align: center; margin-bottom: 3.5rem; }
.stats-header .ts-h2 span { color: var(--ts-blue-sky); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.stat-card {
  background: var(--ts-surface);
  border: 1px solid var(--ts-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex; flex-direction: column; gap: .5rem;
  transition: border-color .25s, transform .25s;
}
.stat-card:hover {
  border-color: rgba(30,111,255,.4);
  transform: translateY(-2px);
}
.stat-value {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ts-white);
  line-height: 1.2;
}
.stat-label {
  font-size: .85rem;
  color: var(--ts-silver);
  font-weight: 300;
  line-height: 1.5;
}
.stat-src {
  font-family: var(--font-mono);
  font-size: .62rem;
  color: var(--ts-muted);
  margin-top: 1rem;
  grid-column: 1/-1;
  text-align: center;
}

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 400px) {
  .stats-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════
   PROBLEM
═══════════════════════════════════════════ */
#problem { background: var(--ts-ink); }
.problem-header { margin-bottom: 3rem; }
.problem-header .ts-h2 { max-width: 680px; }
.problem-num { color: var(--ts-blue-elec); }
.problem-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.problem-card {
  background: var(--ts-surface);
  border: 1px solid var(--ts-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: border-color .25s;
}
.problem-card:hover { border-color: rgba(220,38,38,.4); }
.problem-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--ts-alert);
  opacity: .5;
}
.problem-badge {
  font-family: var(--font-mono);
  font-size: .65rem;
  color: var(--ts-muted);
  letter-spacing: .12em;
  margin-bottom: 1rem;
}
.problem-card h3 {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.25rem;
  margin-bottom: .75rem;
  color: var(--ts-white);
}
.problem-card p {
  font-size: .88rem;
  color: var(--ts-silver);
  line-height: 1.65;
  font-weight: 300;
}
.problem-card .cost {
  display: inline-block;
  margin-top: .75rem;
  font-family: var(--font-mono);
  font-size: .75rem;
  color: var(--ts-alert);
  background: rgba(220,38,38,.1);
  border: 1px solid rgba(220,38,38,.2);
  padding: .25rem .6rem;
  border-radius: var(--radius-sm);
}

@media (max-width: 768px) {
  .problem-cards { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════
   SECTORS
═══════════════════════════════════════════ */
#secteurs { background: var(--ts-void); }
.sectors-header { text-align: center; margin-bottom: 2.5rem; }
.sectors-header .ts-label { margin-bottom: .75rem; }

.tab-group { margin-bottom: 1.5rem; }
.tab-bar {
  display: flex; gap: .5rem; flex-wrap: wrap;
  border-bottom: 1px solid var(--ts-border);
  margin-bottom: 2rem;
}
.tab-btn {
  padding: .65rem 1.25rem;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .9rem;
  color: var(--ts-muted);
  border: 1px solid transparent;
  border-bottom: none;
  transition: color .2s, background .2s, border-color .2s;
  position: relative; bottom: -1px;
}
.tab-btn[aria-selected="true"] {
  color: var(--ts-white);
  background: var(--ts-surface);
  border-color: var(--ts-border);
  border-bottom-color: var(--ts-surface);
}
.tab-btn:hover:not([aria-selected="true"]) { color: var(--ts-silver); }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.sector-subtabs {
  display: flex; gap: .5rem; flex-wrap: wrap;
  margin-bottom: 2rem;
}
.sector-sub-btn {
  padding: .45rem 1rem;
  border-radius: 100px;
  border: 1px solid var(--ts-border);
  font-size: .82rem;
  color: var(--ts-muted);
  font-weight: 500;
  transition: all .2s;
  background: transparent;
}
.sector-sub-btn[aria-selected="true"] {
  background: var(--ts-blue-elec);
  border-color: var(--ts-blue-elec);
  color: var(--ts-white);
}
.sector-sub-btn:hover:not([aria-selected="true"]) {
  border-color: var(--ts-blue-sky);
  color: var(--ts-silver);
}

.sector-content { display: none; }
.sector-content.active { display: grid; }
.sector-grid {
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: start;
}
.sector-card {
  background: var(--ts-surface);
  border: 1px solid var(--ts-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}
.sector-card h4 {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ts-blue-sky);
  margin-bottom: .6rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .8rem;
  font-family: var(--font-mono);
}
.sector-card p {
  font-size: .88rem;
  color: var(--ts-silver);
  line-height: 1.65;
  font-weight: 300;
}
.sector-checklist {
  list-style: none;
  display: flex; flex-direction: column; gap: .5rem;
  margin-top: .75rem;
}
.sector-checklist li {
  display: flex; align-items: flex-start; gap: .5rem;
  font-size: .85rem;
  color: var(--ts-silver);
  font-weight: 300;
}
.sector-checklist li::before {
  content: '✓';
  color: var(--ts-safe);
  flex-shrink: 0;
  font-weight: 500;
  margin-top: .05rem;
}

@media (max-width: 768px) {
  .sector-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════
   HOW IT WORKS
═══════════════════════════════════════════ */
#comment { background: var(--ts-ink); }
.how-header { text-align: center; margin-bottom: 3.5rem; }
.how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--ts-border);
  border: 1px solid var(--ts-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 3.5rem;
}
.how-step {
  background: var(--ts-surface);
  padding: 2rem 1.5rem;
  position: relative;
}
.how-step-num {
  font-family: var(--font-mono);
  font-size: .65rem;
  color: var(--ts-blue-elec);
  letter-spacing: .15em;
  margin-bottom: .75rem;
}
.how-step h3 {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: .5rem;
}
.how-step p {
  font-size: .83rem;
  color: var(--ts-silver);
  font-weight: 300;
  line-height: 1.6;
}
.how-step::after {
  content: '→';
  position: absolute; right: -0.6rem; top: 50%;
  transform: translateY(-50%);
  color: var(--ts-border);
  font-size: 1.2rem;
  z-index: 2;
  background: var(--ts-surface);
  padding: .1rem;
}
.how-step:last-child::after { display: none; }

/* Network diagram SVG */
.network-diagram {
  background: var(--ts-surface);
  border: 1px solid var(--ts-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex; justify-content: center;
  overflow-x: auto;
}

/* Network segmentation diagram (Cube — HTML/CSS, accessible & indexable) */
.net-diagram {
  background: var(--ts-surface);
  border: 1px solid var(--ts-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.5rem 2rem;
}
.net-source { display: flex; align-items: center; justify-content: center; gap: .75rem; flex-wrap: wrap; }
.net-node {
  font-family: var(--font-mono);
  font-size: .8rem;
  letter-spacing: .02em;
  color: var(--ts-white);
  background: var(--ts-raised);
  border: 1px solid var(--ts-border);
  border-radius: 100px;
  padding: .55rem 1.2rem;
  white-space: nowrap;
}
.net-node-box { border-color: var(--ts-blue-elec); color: var(--ts-blue-sky); }
.net-arrow { color: var(--ts-muted); font-size: 1rem; }

.net-split {
  display: flex; align-items: center; justify-content: center; gap: .6rem;
  margin: 1.5rem 0;
}
.net-split-arrow { color: var(--ts-blue-elec); font-size: 1.1rem; line-height: 1; }
.net-split-text {
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ts-blue-sky); text-align: center;
}

.net-branches { display: flex; flex-direction: column; gap: 1.25rem; width: 100%; max-width: 780px; margin: 0 auto; }
.net-branch {
  flex: 1;
  min-width: 0;
  border: 2px solid var(--ts-border);
  border-radius: var(--radius-md);
  background: var(--ts-ink);
  padding: 1.5rem 1.5rem 1.35rem;
}
.net-branch-home { border-color: var(--ts-muted); }
.net-branch-pro { border-color: var(--ts-blue-elec); }
.net-branch-eyebrow {
  font-family: var(--font-mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ts-muted); margin-bottom: .6rem;
}
.net-branch-pro .net-branch-eyebrow { color: var(--ts-blue-sky); }
.net-branch-label { font-family: var(--font-title); font-weight: 700; font-size: 1.1rem; margin-bottom: .3rem; }
.net-branch-pro .net-branch-label { color: var(--ts-blue-sky); }
.net-branch-sub { font-size: .8rem; color: var(--ts-silver); font-weight: 300; margin-bottom: 1rem; }
.net-branch-list { list-style: none; display: flex; flex-direction: column; gap: .45rem; }
.net-branch-list li { font-size: .85rem; color: var(--ts-silver); font-weight: 300; padding-left: 1rem; position: relative; }
.net-branch-list li::before { content: '—'; position: absolute; left: 0; color: var(--ts-border); }
.net-diagram-caption { text-align: center; font-size: .8rem; color: var(--ts-muted); margin-top: 1.5rem; max-width: 560px; margin-left: auto; margin-right: auto; }
@media (min-width: 640px) {
  .net-branches { flex-direction: row; }
}

@media (max-width: 768px) {
  .how-steps { grid-template-columns: 1fr 1fr; }
  .how-step::after { display: none; }
}
@media (max-width: 480px) {
  .how-steps { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════
   FEATURES
═══════════════════════════════════════════ */
#fonctionnalites { background: var(--ts-void); }
.features-header { text-align: center; margin-bottom: 3rem; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.feature-card {
  background: var(--ts-surface);
  border: 1px solid var(--ts-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: border-color .25s, transform .25s;
}
.feature-card:hover {
  border-color: rgba(30,111,255,.4);
  transform: translateY(-2px);
}
.feature-tag {
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .12em;
  color: var(--ts-blue-sky);
  margin-bottom: 1rem;
  display: block;
}
.feature-card h3 {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: .6rem;
}
.feature-card p {
  font-size: .85rem;
  color: var(--ts-silver);
  font-weight: 300;
  line-height: 1.65;
}

@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .features-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════
   RGPD / NIS2
═══════════════════════════════════════════ */
#conformite { background: var(--ts-ink); }
.conformite-header { text-align: center; margin-bottom: 3rem; }
.conformite-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.conformite-panel {
  background: var(--ts-surface);
  border: 1px solid var(--ts-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
}
.conformite-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .35rem .9rem;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: .65rem;
  letter-spacing: .1em;
  margin-bottom: 1.25rem;
}
.badge-rgpd {
  background: rgba(34,197,94,.1);
  border: 1px solid rgba(34,197,94,.25);
  color: var(--ts-safe);
}
.badge-nis2 {
  background: rgba(234,179,8,.1);
  border: 1px solid rgba(234,179,8,.25);
  color: var(--ts-warn);
}
.conformite-panel h3 {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.5rem;
  margin-bottom: .6rem;
}
.conformite-panel > p {
  font-size: .85rem;
  color: var(--ts-silver);
  font-weight: 300;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}
.conformite-list {
  list-style: none;
  display: flex; flex-direction: column; gap: .55rem;
  margin-bottom: 1.5rem;
}
.conformite-list li {
  display: flex; align-items: flex-start; gap: .6rem;
  font-size: .85rem;
  color: var(--ts-silver);
  font-weight: 300;
}
.conformite-list li.ok::before { content: '✓'; color: var(--ts-safe); font-weight: 600; flex-shrink: 0; margin-top: .05rem; }
.conformite-list li.arrow::before { content: '→'; color: var(--ts-blue-sky); font-weight: 600; flex-shrink: 0; margin-top: .05rem; }

/* Progress bars */
.progress-bars { display: flex; flex-direction: column; gap: .9rem; }
.progress-item label {
  display: flex; justify-content: space-between;
  font-size: .78rem;
  color: var(--ts-silver);
  margin-bottom: .35rem;
  font-family: var(--font-mono);
}
.progress-track {
  height: 4px;
  background: var(--ts-raised);
  border-radius: 2px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--ts-blue-elec), var(--ts-blue-sky));
  border-radius: 2px;
  width: 0;
  transition: width 1.4s cubic-bezier(.25,.8,.25,1);
}

.nis2-encadre {
  margin-top: 1.25rem;
  padding: 1rem;
  background: rgba(234,179,8,.07);
  border: 1px solid rgba(234,179,8,.2);
  border-radius: var(--radius-sm);
  font-size: .82rem;
  color: var(--ts-silver);
  font-weight: 300;
  font-style: italic;
}

@media (max-width: 768px) {
  .conformite-split { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════
   PRICING
═══════════════════════════════════════════ */
#tarifs { background: var(--ts-void); }
.tarifs-header { text-align: center; margin-bottom: .75rem; }

/* Offer line toggle (Sur site BOX / Télétravail Cube) */
.offer-toggle {
  display: flex; justify-content: center; gap: .35rem;
  margin: 1.75rem auto 2.25rem;
  flex-wrap: nowrap;
  max-width: 540px;
  background: var(--ts-surface);
  border: 1px solid var(--ts-border);
  border-radius: 100px;
  padding: .35rem;
}
.offer-btn {
  flex: 1;
  padding: .65rem 1.1rem;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .92rem;
  color: var(--ts-silver);
  background: transparent;
  transition: background .2s, color .2s;
  display: flex; flex-direction: column; align-items: center; gap: .1rem;
  line-height: 1.1;
}
.offer-btn .offer-btn-sub {
  font-family: var(--font-mono);
  font-size: .58rem;
  font-weight: 400;
  letter-spacing: .05em;
  color: var(--ts-muted);
  text-transform: uppercase;
}
.offer-btn.active { background: var(--ts-blue-elec); color: var(--ts-white); }
.offer-btn.active .offer-btn-sub { color: var(--ts-blue-pale); }
.offer-pane { display: none; }
.offer-pane.active { display: block; animation: offerFade .35s ease; }
@keyframes offerFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.cube-badge-line {
  display: inline-flex; align-items: center; gap: .5rem;
  margin: 0 auto 1.5rem; justify-content: center;
  font-family: var(--font-mono); font-size: .68rem;
  color: var(--ts-blue-sky); letter-spacing: .04em;
  border: 1px solid rgba(30,111,255,.25);
  background: rgba(30,111,255,.06);
  padding: .4rem 1rem; border-radius: 100px;
}

/* Cube — mise en service banner */
.cube-setup {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.25rem 1.5rem; flex-wrap: wrap;
  border: 1px solid rgba(234,179,8,.45);
  background: rgba(234,179,8,.06);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.75rem;
  margin-bottom: 1.5rem;
}
.cube-setup-left { display: flex; flex-direction: column; gap: .4rem; }
.cube-setup-title {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em;
  color: var(--ts-warn); display: flex; align-items: center; gap: .5rem; text-transform: uppercase;
}
.cube-setup-desc { font-size: .85rem; color: var(--ts-silver); font-weight: 300; }
.cube-setup-price { text-align: right; }
.cube-setup-amount { font-family: var(--font-title); font-weight: 900; font-size: 2.2rem; color: var(--ts-warn); line-height: 1; }
.cube-setup-unit { font-family: var(--font-mono); font-size: .64rem; color: var(--ts-muted); }
/* Box — le bloc "mise en service" reprend l'accent bleu du site plutôt que le jaune/orange (Cube reste inchangé) */
#offer-box .cube-setup-amount { color: var(--ts-blue-sky); }

/* Box — mise en service par palier de postes (liste sous le prix affiché) */
.box-setup-tiers {
  list-style: none;
  display: flex; flex-direction: column; gap: .5rem;
  border: 1px solid rgba(234,179,8,.25);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  margin: -.75rem 0 1.5rem;
}
.box-setup-tiers li {
  display: flex; flex-direction: column; gap: .2rem;
}
.box-tier-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  font-size: .85rem; color: var(--ts-silver); font-weight: 300;
}
.box-tier-row strong {
  color: var(--ts-white); font-weight: 600; font-family: var(--font-mono); white-space: nowrap;
}
.box-tier-total { font-size: .72rem; color: var(--ts-muted); font-weight: 300; }

/* Cube — engagement duration cards */
.cube-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1rem; margin-bottom: 1.5rem;
}
.cube-card {
  background: var(--ts-surface);
  border: 1px solid var(--ts-border);
  border-top-width: 3px;
  border-radius: var(--radius-md);
  padding: 1.6rem 1.1rem 1.5rem;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: .45rem;
}
.cube-card.c-none { border-top-color: var(--ts-muted); }
.cube-card.c-1 { border-top-color: var(--ts-safe); }
.cube-card.c-2 { border-top-color: var(--ts-blue-elec); }
.cube-card.c-3 { border-top-color: var(--ts-warn); }
.cube-eco {
  font-family: var(--font-mono); font-size: .58rem; letter-spacing: .08em;
  padding: .28rem .65rem; border-radius: 100px; font-weight: 500;
}
.cube-eco.green  { background: rgba(34,197,94,.12);  color: var(--ts-safe); }
.cube-eco.blue   { background: rgba(30,111,255,.14); color: var(--ts-blue-sky); }
.cube-eco.orange { background: rgba(234,179,8,.14);  color: var(--ts-warn); }
.cube-eco.empty  { visibility: hidden; }
.cube-card-name { font-family: var(--font-title); font-weight: 700; font-size: 1.05rem; color: var(--ts-white); margin-top: .15rem; }
.cube-card-amount { font-family: var(--font-title); font-weight: 900; font-size: 2.7rem; line-height: 1; color: var(--ts-white); }
.cube-card.c-1 .cube-card-amount { color: var(--ts-safe); }
.cube-card.c-2 .cube-card-amount { color: var(--ts-blue-sky); }
.cube-card.c-3 .cube-card-amount { color: var(--ts-warn); }
.cube-card-unit { font-family: var(--font-mono); font-size: .62rem; color: var(--ts-muted); }
.cube-card-note { font-size: .7rem; color: var(--ts-muted); font-style: italic; margin-top: .3rem; line-height: 1.4; }

/* Cube — included features */
.cube-included {
  background: var(--ts-surface);
  border: 1px solid var(--ts-border);
  border-radius: var(--radius-md);
  padding: 1.75rem 2rem;
  margin-bottom: 1.5rem;
}
.cube-included h4 {
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em;
  color: var(--ts-blue-sky); text-transform: uppercase; margin-bottom: 1.1rem;
}
.cube-included ul {
  list-style: none; display: grid; grid-template-columns: repeat(2, 1fr);
  gap: .55rem 1.5rem;
}
.cube-included li {
  display: flex; align-items: flex-start; gap: .55rem;
  font-size: .86rem; color: var(--ts-silver); font-weight: 300;
}
.cube-included li::before { content: '✓'; color: var(--ts-safe); font-weight: 600; flex-shrink: 0; }

@media (max-width: 768px) {
  .cube-grid { grid-template-columns: 1fr 1fr; }
  .cube-included ul { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
  .cube-grid { grid-template-columns: 1fr; }
}

/* Cube — duration toggle (mirrors Sur site) */
.cube-dur-btn {
  padding: .45rem 1.1rem;
  border-radius: 100px;
  border: 1px solid var(--ts-border);
  font-size: .82rem;
  color: var(--ts-muted);
  font-weight: 500;
  font-family: var(--font-mono);
  transition: all .2s;
  background: transparent;
}
.cube-dur-btn.active {
  background: var(--ts-raised);
  border-color: var(--ts-blue-elec);
  color: var(--ts-white);
}

/* Cube — single updating price panel */
.cube-price-panel {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1px;
  background: var(--ts-border);
  border: 1px solid var(--ts-blue-elec);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.cube-price-main {
  background: var(--ts-surface);
  padding: 2.25rem 2rem;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: .35rem;
}
.cube-price-eco {
  font-family: var(--font-mono); font-size: .62rem; letter-spacing: .08em;
  padding: .3rem .75rem; border-radius: 100px; font-weight: 500;
  background: rgba(34,197,94,.12); color: var(--ts-safe);
  min-height: 1.4rem;
}
.cube-price-eco.empty { visibility: hidden; }
.cube-price-amount {
  font-family: var(--font-title); font-weight: 900;
  font-size: clamp(3.2rem, 7vw, 4.5rem); line-height: 1; color: var(--ts-white);
  margin-top: .35rem;
}
.cube-price-unit { font-family: var(--font-mono); font-size: .72rem; color: var(--ts-silver); }
.cube-price-pay {
  font-family: var(--font-mono); font-size: .66rem; color: var(--ts-muted);
  letter-spacing: .04em; margin-top: .35rem;
}
.cube-price-side {
  background: var(--ts-raised);
  padding: 2.25rem 1.75rem;
  display: flex; flex-direction: column; justify-content: center; gap: .85rem;
}
.cube-side-row { display: flex; flex-direction: column; gap: .2rem; }
.cube-side-label {
  font-family: var(--font-mono); font-size: .6rem; letter-spacing: .1em;
  color: var(--ts-muted); text-transform: uppercase;
}
.cube-side-val { font-size: .92rem; color: var(--ts-white); font-weight: 500; }
.cube-side-oneshot {
  border-top: 1px solid var(--ts-border); padding-top: .85rem;
}
.cube-side-oneshot.hidden { display: none; }
.cube-side-oneshot .cube-side-val { color: var(--ts-warn); }
.cube-side-hint { font-size: .74rem; color: var(--ts-silver); font-weight: 300; line-height: 1.5; }

@media (max-width: 640px) {
  .cube-price-panel { grid-template-columns: 1fr; }
}
.tarifs-sub {
  text-align: center;
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--ts-muted);
  margin-bottom: 2rem;
  letter-spacing: .04em;
}

/* Duration toggle */
.duration-toggle {
  display: flex; justify-content: center; gap: .5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.dur-btn {
  padding: .45rem 1.1rem;
  border-radius: 100px;
  border: 1px solid var(--ts-border);
  font-size: .82rem;
  color: var(--ts-muted);
  font-weight: 500;
  font-family: var(--font-mono);
  transition: all .2s;
  background: transparent;
}
.dur-btn.active {
  background: var(--ts-raised);
  border-color: var(--ts-blue-elec);
  color: var(--ts-white);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.pricing-card {
  background: var(--ts-surface);
  border: 1px solid var(--ts-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  position: relative;
  transition: border-color .25s, transform .25s;
  display: flex; flex-direction: column;
}
.pricing-card:hover { transform: translateY(-3px); }
.pricing-card.popular {
  border-color: var(--ts-blue-elec);
  border-top-width: 3px;
}
.popular-badge {
  position: absolute; top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--ts-blue-elec);
  color: #fff;
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .1em;
  padding: .25rem .75rem;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-name {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: .25rem;
}
.pricing-target {
  font-size: .78rem;
  color: var(--ts-muted);
  margin-bottom: 1.5rem;
  font-family: var(--font-mono);
}
.pricing-price {
  display: flex; align-items: flex-end; gap: .4rem;
  margin-bottom: 1.5rem;
}
.pricing-amount {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--ts-white);
  line-height: 1;
}
.pricing-unit {
  font-size: .8rem;
  color: var(--ts-muted);
  margin-bottom: .3rem;
  font-family: var(--font-mono);
}
.pricing-features {
  list-style: none;
  display: flex; flex-direction: column; gap: .5rem;
  flex: 1;
  margin-bottom: 1.75rem;
}
.pricing-features li {
  display: flex; align-items: flex-start; gap: .55rem;
  font-size: .83rem;
  color: var(--ts-silver);
  font-weight: 300;
}
.pricing-features li.yes::before { content: '✓'; color: var(--ts-safe); font-weight: 600; flex-shrink: 0; }
.pricing-features li.no {
  color: var(--ts-muted);
  text-decoration: line-through;
  text-decoration-color: var(--ts-border);
}
.pricing-features li.no::before { content: '–'; color: var(--ts-border); font-weight: 600; flex-shrink: 0; }

.pricing-cta { width: 100%; justify-content: center; }

.pricing-note {
  font-family: var(--font-mono);
  font-size: .67rem;
  color: var(--ts-muted);
  text-align: center;
  line-height: 1.8;
  border-top: 1px solid var(--ts-border);
  padding-top: 1rem;
  letter-spacing: .02em;
}

/* Tarifaire tableau */
.price-table-wrap { overflow-x: auto; margin-bottom: 2.5rem; }
.price-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: .78rem;
}
.price-table th, .price-table td {
  padding: .65rem 1rem;
  border: 1px solid var(--ts-border);
  text-align: center;
}
.price-table th {
  background: var(--ts-raised);
  color: var(--ts-silver);
  font-weight: 500;
  letter-spacing: .06em;
}
.price-table td { color: var(--ts-silver); background: var(--ts-surface); }
.price-table tr td:first-child { text-align: left; color: var(--ts-muted); }
.price-table tr.highlight td { background: rgba(30,111,255,.07); color: var(--ts-white); }
.price-table tr.highlight td:first-child { color: var(--ts-blue-sky); }

@media (max-width: 768px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
}

/* ═══════════════════════════════════════════
   FORMS
═══════════════════════════════════════════ */
#formulaires { background: var(--ts-ink); }
.forms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.form-card {
  border: 1px solid var(--ts-blue-elec);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
}
.form-card.bg-raised { background: var(--ts-raised); }
.form-card.bg-surface { background: var(--ts-surface); }

.form-card h3 {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.35rem;
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}
.form-field {
  display: flex; flex-direction: column; gap: .4rem;
  margin-bottom: .75rem;
}
.form-field label {
  font-size: .78rem;
  color: var(--ts-silver);
  font-weight: 500;
  letter-spacing: .04em;
}
.form-field input,
.form-field select,
.form-field textarea {
  background: var(--ts-void);
  border: 1px solid var(--ts-border);
  border-radius: var(--radius-sm);
  color: var(--ts-white);
  padding: .65rem .85rem;
  font-family: var(--font-body);
  font-size: .88rem;
  transition: border-color .2s;
  width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--ts-blue-elec);
}
.form-field textarea { min-height: 90px; resize: vertical; }
.form-field select { appearance: none; }
.form-field option { background: var(--ts-ink); }

.checkbox-group {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin-bottom: .75rem;
}
.checkbox-label {
  display: flex; align-items: center; gap: .4rem;
  font-size: .82rem; color: var(--ts-silver);
  cursor: pointer;
}
.checkbox-label input[type="checkbox"] { accent-color: var(--ts-blue-elec); }

.form-note {
  font-size: .75rem;
  color: var(--ts-muted);
  text-align: center;
  margin-top: .85rem;
}

@media (max-width: 768px) {
  .forms-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════
   FAQ
═══════════════════════════════════════════ */
#faq { background: var(--ts-void); }
.faq-header { text-align: center; margin-bottom: 3rem; }
.faq-list {
  max-width: 780px; margin: 0 auto;
  display: flex; flex-direction: column; gap: .65rem;
}
.faq-item {
  background: var(--ts-surface);
  border: 1px solid var(--ts-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color .25s;
}
.faq-item.open { border-color: rgba(30,111,255,.4); }
.faq-question {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.15rem 1.5rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .95rem;
  color: var(--ts-white);
  text-align: left;
  gap: 1rem;
  background: transparent;
  transition: background .2s;
}
.faq-question:hover { background: rgba(30,111,255,.04); }
.faq-icon {
  width: 20px; height: 20px;
  border: 1px solid var(--ts-border);
  border-radius: 50%;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem;
  color: var(--ts-blue-sky);
  transition: transform .3s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}
.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  font-size: .88rem;
  color: var(--ts-silver);
  font-weight: 300;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
#footer {
  background: var(--ts-void);
  border-top: 1px solid var(--ts-border);
  padding: 56px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}
.footer-brand p {
  font-size: .82rem;
  color: var(--ts-muted);
  font-weight: 300;
  margin-top: .85rem;
  margin-bottom: 1.25rem;
  max-width: 280px;
  line-height: 1.7;
}
.footer-badges {
  display: flex; flex-wrap: wrap; gap: .5rem;
}
.footer-badge {
  font-family: var(--font-mono);
  font-size: .6rem;
  letter-spacing: .1em;
  padding: .3rem .65rem;
  border: 1px solid var(--ts-border);
  border-radius: var(--radius-sm);
  color: var(--ts-muted);
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .12em;
  color: var(--ts-silver);
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.footer-col ul li a {
  font-size: .83rem;
  color: var(--ts-muted);
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--ts-silver); }

.footer-bottom {
  border-top: 1px solid var(--ts-border);
  padding: 1.25rem 0;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: .75rem;
}
.footer-bottom p {
  font-size: .75rem;
  color: var(--ts-muted);
  font-family: var(--font-mono);
}
.footer-bottom-links {
  display: flex; gap: 1.25rem; flex-wrap: wrap;
}
.footer-bottom-links a {
  font-size: .75rem;
  color: var(--ts-muted);
  font-family: var(--font-mono);
  transition: color .2s;
}
.footer-bottom-links a:hover { color: var(--ts-silver); }

/* ═══════════════════════════════════════════
   COOKIE BANNER
═══════════════════════════════════════════ */
#cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  background: var(--ts-raised);
  border-top: 1px solid var(--ts-blue-elec);
  padding: 1rem 0;
  box-shadow: 0 -4px 32px rgba(0,0,0,.5);
  animation: slideUp .4s ease;
}
@keyframes slideUp {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}
.cookie-inner {
  max-width: 1320px; margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
}
.cookie-text { flex: 1; min-width: 260px; }
.cookie-text strong { color: var(--ts-white); font-size: .9rem; display: block; margin-bottom: .3rem; }
.cookie-text p { font-size: .78rem; color: var(--ts-silver); font-weight: 300; line-height: 1.5; margin: 0; }
.cookie-actions { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; flex-shrink: 0; }

/* ═══════════════════════════════════════════
   MODALS
═══════════════════════════════════════════ */
.ts-modal {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
}
.ts-modal[hidden] { display: none; }
.ts-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(2,4,10,.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
}
.ts-modal-box {
  position: relative; z-index: 1;
  background: var(--ts-surface);
  border: 1px solid var(--ts-border);
  border-radius: var(--radius-lg);
  width: 100%; max-width: 720px;
  max-height: 88vh;
  display: flex; flex-direction: column;
  box-shadow: 0 24px 64px rgba(0,0,0,.6);
}
.ts-modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--ts-border);
  flex-shrink: 0;
}
.ts-modal-close {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--ts-border);
  color: var(--ts-silver);
  font-size: 1.2rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .2s, color .2s;
  background: transparent;
  cursor: pointer;
}
.ts-modal-close:hover { border-color: var(--ts-blue-elec); color: var(--ts-white); }
.ts-modal-body {
  overflow-y: auto; padding: 2rem;
  display: flex; flex-direction: column; gap: 1rem;
  font-size: .875rem; color: var(--ts-silver); font-weight: 300; line-height: 1.75;
}
.ts-modal-body h3 {
  font-family: var(--font-title); font-weight: 700; font-size: 1.05rem;
  color: var(--ts-white); margin-top: .5rem; margin-bottom: -.25rem;
}
.ts-modal-body p { margin: 0; }
.ts-modal-body ul { padding-left: 1.25rem; display: flex; flex-direction: column; gap: .35rem; }
.ts-modal-body a { color: var(--ts-blue-sky); text-decoration: underline; }
.ts-modal-body em { color: var(--ts-muted); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
}
