/* IApress — charte maquette : encre, lime, Archivo, Geist */
:root {
  --encre: #05080F;
  --lime: #B6FF1A;
  --lime-2: #D6FF7A;
  --papier: #F5F7F2;
  --carte: #0B1220;
  --muted: #9AA3B2;
  --texte: #B4BCC8;
  --line: rgba(245, 247, 242, .12);
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--encre);
  color: var(--papier);
  font-family: 'Geist', system-ui, sans-serif;
}
img, svg { max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

a { color: var(--lime); }
a:hover { color: var(--lime-2); }

@keyframes iap-tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.iap-tick { display: flex; width: max-content; animation: iap-tick 60s linear infinite; }
@keyframes iap-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.iap-pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--lime); display: inline-block;
  animation: iap-pulse 1.4s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .iap-tick, .iap-pulse { animation: none; }
}

.iap-top {
  background: var(--lime);
  color: var(--encre);
  display: flex;
  align-items: center;
  height: 40px;
  overflow: hidden;
  border-bottom: 1px solid var(--encre);
}
.iap-live {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 100%;
  padding: 0 16px 0 20px;
  background: var(--encre);
  color: var(--lime);
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-decoration: none;
  position: relative;
  z-index: 1;
}
.iap-live:hover { color: var(--lime); }
.iap-live-cut {
  flex: none;
  width: 18px;
  height: 100%;
  background: var(--encre);
  transform: skewX(-18deg);
  margin-left: -9px;
}
.iap-ticker-wrap { overflow: hidden; flex: 1; min-width: 0; }
.iap-tick a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 28px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  border-right: 1px solid rgba(5, 8, 15, .25);
  color: var(--encre);
  text-decoration: none;
}
.iap-tick a span:first-child {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .7;
}

.iap-header { border-bottom: 1px solid rgba(245, 247, 242, .08); background: var(--encre); }
.iap-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
}
.iap-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.iap-word {
  font-family: 'Archivo', sans-serif;
  font-style: italic;
  font-weight: 900;
  font-size: 30px;
  letter-spacing: -.03em;
  line-height: 1;
  color: var(--papier);
  text-decoration: none;
}
.iap-word span { color: var(--lime); }
.iap-word-lg { font-size: 32px; }
.iap-nav { display: flex; align-items: center; gap: 32px; font-size: 15px; font-weight: 500; }
.iap-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  white-space: nowrap;
  color: var(--papier);
}
.iap-nav a.is-on { color: var(--lime); box-shadow: inset 0 -2px 0 var(--lime); }
.iap-nav a:hover { color: var(--lime); }
.iap-header-actions { display: flex; align-items: center; gap: 16px; }
.iap-login, .iap-account {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--papier);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}
.iap-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #1B2538;
  font-size: 13px;
  font-weight: 700;
  color: var(--papier);
}
.iap-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  background: var(--lime);
  color: var(--encre);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
}
.iap-btn:hover { background: var(--lime-2); color: var(--encre); }
button[style*="background:#B6FF1A"],
a[style*="background:#B6FF1A"],
input[type="submit"][style*="background:#B6FF1A"] {
  color: var(--encre) !important;
}
.iap-skew { transform: skewX(-8deg); }
.iap-skew span { transform: skewX(8deg); display: inline-block; }

.iap-foot {
  background: var(--encre);
  color: var(--papier);
  border-top: 1px solid rgba(245, 247, 242, .1);
  padding: 64px 24px 32px;
}
.iap-foot-inner { max-width: 1280px; margin: 0 auto; }
.iap-foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; }
.iap-kicker {
  display: inline-block;
  margin-top: 10px;
  background: var(--papier);
  color: var(--encre);
  padding: 4px 10px;
  font-family: 'Archivo', sans-serif;
  font-style: italic;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .06em;
  transform: skewX(-10deg);
}
.iap-kicker span { background: var(--lime); padding: 0 4px; }
.iap-foot p { margin: 18px 0 0; font-size: 14px; line-height: 1.6; color: var(--muted); max-width: 260px; }
.iap-foot-label {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: .12em;
  margin-bottom: 12px;
}
.iap-foot-grid a {
  color: var(--texte);
  text-decoration: none;
  min-height: 36px;
  display: flex;
  align-items: center;
}
.iap-foot a:hover { color: var(--lime); }
.iap-foot-bar {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(245, 247, 242, .08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
}
.iap-foot-bar a { color: inherit; display: inline; min-height: 0; }

.iap-input, .lp-input, .lp-textarea, .lp-select, .iap-in {
  width: 100%;
  background: var(--carte);
  border: 1px solid rgba(245, 247, 242, .2);
  border-radius: 4px;
  padding: 14px 16px;
  font-size: 16px;
  color: var(--papier);
  outline: none;
}
.iap-input:focus, .lp-input:focus, .lp-textarea:focus, .lp-select:focus, .iap-in:focus {
  border-color: var(--lime);
  box-shadow: 0 0 0 2px rgba(182, 255, 26, .25);
}
.lp-textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
.lp-input::placeholder, .lp-textarea::placeholder, .iap-in::placeholder { color: #7D8698; }
.lp-btn, button.lp-btn {
  display: inline-block;
  text-align: center;
  background: var(--lime);
  color: var(--encre) !important;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 20px;
  border-radius: 4px;
  border: 0;
  cursor: pointer;
  width: 100%;
}
.lp-btn:hover { background: var(--lime-2); }
.lp-alert { border-radius: 6px; padding: 12px 14px; font-size: 14px; margin-bottom: 16px; }
.lp-alert-error { background: #2a1214; color: #ffb4b4; border: 1px solid #6b2a2a; }
.lp-alert-success { background: #12210a; color: var(--lime); border: 1px solid rgba(182, 255, 26, .45); }

.lp-pill, .lp-freq {
  font-size: 13px;
  border: 1px solid rgba(245, 247, 242, .24);
  border-radius: 999px;
  padding: 8px 14px;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  color: var(--papier);
}
.lp-pill.is-on, .lp-freq.is-on {
  font-weight: 600;
  color: var(--encre);
  background: var(--lime);
  border-color: var(--lime);
}
.lp-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--carte);
  cursor: pointer;
}
.lp-check span, .lp-check strong { color: var(--texte); }
.lp-check strong { color: var(--papier); }

.lp-table { width: 100%; border-collapse: collapse; background: var(--carte); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.lp-table th { text-align: left; font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--papier); background: #10192a; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.lp-table td { font-size: 14px; color: var(--texte); padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.lp-btn-sm {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid rgba(245, 247, 242, .24);
  background: transparent;
  color: var(--papier);
  cursor: pointer;
  font-family: inherit;
}
.lp-btn-sm.primary { border-color: var(--lime); color: var(--lime); }
.lp-btn-sm.danger { border-color: #ff8d8d; color: #ff8d8d; }

.iap-hero-grid {
  background-image:
    linear-gradient(rgba(245, 247, 242, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 247, 242, .04) 1px, transparent 1px);
  background-size: 48px 48px;
}
.iap-display {
  font-family: 'Archivo', sans-serif;
  font-style: italic;
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: .95;
}
.iap-card { background: var(--carte); border: 1px solid rgba(245, 247, 242, .1); border-radius: 10px; }
.iap-card:hover { border-color: rgba(182, 255, 26, .55); }
.iap-card > a { transition: background-color .15s ease; }
.iap-card > a:hover,
.iap-card > a:focus-visible { background-color: rgba(182, 255, 26, .12); }
a.iap-hit { transition: background-color .15s ease; }
a.iap-hit:hover,
a.iap-hit:focus-visible { background-color: rgba(182, 255, 26, .12) !important; }
.iap-chip {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font: 500 14px 'Geist', sans-serif;
  cursor: pointer;
  background: transparent;
  color: var(--papier);
  border: 1px solid rgba(245, 247, 242, .24);
}
.iap-chip.is-on { background: var(--lime); color: var(--encre); border-color: var(--lime); }
.iap-stroke {
  font-family: 'Archivo', sans-serif;
  font-style: italic;
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--lime);
}
.iap-une[hidden] { display: none !important; }

.lp-cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1000; pointer-events: none;
}
.lp-cookie-inner {
  pointer-events: auto;
  width: max-content;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: space-between;
  background: var(--papier);
  color: var(--encre);
  border-radius: 8px;
  padding: 16px 18px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .45);
  font-size: 14px;
  line-height: 1.45;
}
.lp-cookie-inner p { margin: 0; white-space: nowrap; }
.lp-cookie-inner a { color: var(--encre); font-weight: 700; }
.lp-cookie-more { white-space: nowrap; }
.lp-cookie-btn {
  flex-shrink: 0;
  background: var(--encre);
  color: var(--lime);
  border: 0;
  border-radius: 4px;
  padding: 10px 18px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}

@media (max-width: 900px) {
  .iap-nav { order: 3; width: 100%; overflow-x: auto; gap: 20px; }
  .iap-hide-sm { display: none !important; }
  .iap-header-inner { gap: 12px; }
}
@media (max-width: 980px) {
  .lp-cookie-inner { width: auto; flex-wrap: wrap; }
  .lp-cookie-inner p { white-space: normal; }
}
@media (max-width: 640px) {
  .lp-cookie-inner { flex-direction: column; align-items: stretch; }
}
