:root {
  --bg:          #020509;
  --bg2:         #060e1c;
  --bg3:         #0b1830;
  --blue:        #00b4ff;
  --blue-dim:    rgba(0,180,255,.08);
  --blue-mid:    rgba(0,180,255,.18);
  --blue-border: rgba(0,180,255,.14);
  --amber:       #ffb830;
  --text:        #ddeeff;
  --muted:       #4e6e88;
  --mid:         #8aaec8;
  --mono:        'Space Mono', monospace;
  --head:        'Syne', sans-serif;
  --body:        'Figtree', sans-serif;
  --radius:      10px;
  --max:         1200px;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; font-size:16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width:100%; height:auto; display:block; }
a { color: var(--blue); text-decoration:none; transition: color .2s; }
a:hover { color: #33c6ff; }
ul { list-style: none; }

/* ─── BG ─── */
.bp-bg-glow {
  position: fixed;
  top: -15%; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 700px;
  background: radial-gradient(ellipse, rgba(0,90,255,.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.bp-scan {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,180,255,.3), transparent);
  animation: bp-scan 12s linear infinite;
  pointer-events: none;
  z-index: 400;
}
@keyframes bp-scan {
  0%   { transform: translateY(-2px); }
  100% { transform: translateY(100vh); }
}

/* ─── NAV ─── */
.bp-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 99999;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  background: rgba(2,5,9,.8);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--blue-border);
}

.bp-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--head);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -.02em;
  color: var(--text);
  text-decoration: none;
}
.bp-logo span { color: var(--blue); }

.bp-nav-links {
  display: flex;
  gap: 36px;
}
.bp-nav-links a {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.bp-nav-links a:hover,
.bp-nav-links a.current-menu-item { color: var(--blue); }

.bp-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.bp-nav-toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--text);
  transition: all .3s;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--head);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: 5px;
  transition: all .25s;
  cursor: pointer;
  border: none;
}
.btn-solid {
  background: var(--blue);
  color: var(--bg);
  padding: 11px 26px;
}
.btn-solid:hover {
  background: #33c6ff;
  color: var(--bg);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,180,255,.32);
}
.btn-outline {
  border: 1px solid var(--blue-mid);
  color: var(--text);
  padding: 11px 26px;
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-dim);
}

/* ─── LAYOUT ─── */
.bp-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 100px 60px;
  position: relative;
  z-index: 1;
}

.sec-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: .62rem;
  color: var(--blue);
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.sec-tag::before {
  content: '';
  display: block;
  width: 20px; height: 1px;
  background: var(--blue);
}
.sec-title {
  font-family: var(--head);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -.025em;
  line-height: 1.08;
  margin-bottom: 14px;
}
.sec-body {
  color: var(--mid);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.75;
  max-width: 540px;
  margin-bottom: 56px;
}

/* ─── HERO ─── */
.bp-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 60px 100px;
  position: relative;
  z-index: 1;
}
.hero-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: .62rem;
  color: var(--blue);
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 28px;
  opacity: 0;
  animation: bp-up .8s ease forwards .2s;
}
.hero-label::before {
  content: '';
  display: block;
  width: 36px; height: 1px;
  background: var(--blue);
}
.hero-title {
  font-family: var(--head);
  font-weight: 800;
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 1.0;
  letter-spacing: -.03em;
  max-width: 920px;
  opacity: 0;
  animation: bp-up .9s ease forwards .4s;
}
.hero-title .stroke {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--blue);
}
.hero-title .gold { color: var(--amber); }
.hero-sub {
  margin-top: 28px;
  font-size: 1.08rem;
  color: var(--mid);
  max-width: 510px;
  line-height: 1.75;
  font-weight: 300;
  opacity: 0;
  animation: bp-up .9s ease forwards .6s;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  margin-top: 44px;
  opacity: 0;
  animation: bp-up .9s ease forwards .8s;
}
.hud { position:absolute; width:70px; height:70px; opacity:.2; pointer-events:none; }
.hud-tl { top:88px; left:20px; border-top:1px solid var(--blue); border-left:1px solid var(--blue); }
.hud-tr { top:88px; right:20px; border-top:1px solid var(--blue); border-right:1px solid var(--blue); }
.hud-bl { bottom:30px; left:20px; border-bottom:1px solid var(--blue); border-left:1px solid var(--blue); }
.hud-br { bottom:30px; right:20px; border-bottom:1px solid var(--blue); border-right:1px solid var(--blue); }

/* ─── SERVICES ─── */
.bp-services { position:relative; z-index:1; }
.grid-5 {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
}
.grid-5 .card:nth-child(4) { grid-column: 1/2; }
.grid-5 .card:nth-child(5) { grid-column: 2/3; }

.card {
  background: var(--bg2);
  border: 1px solid var(--blue-border);
  border-radius: var(--radius);
  padding: 34px;
  position: relative;
  overflow: hidden;
  transition: border-color .3s, transform .3s cubic-bezier(.23,1,.32,1), box-shadow .3s;
  opacity: 0;
  transform: translateY(16px);
}
.card.bp-vis {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .6s ease, transform .6s ease, border-color .3s, box-shadow .3s;
}
.card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(140deg, rgba(0,180,255,.05) 0%, transparent 55%);
  opacity: 0;
  transition: opacity .3s;
}
.card:hover { border-color: rgba(0,180,255,.38); transform: translateY(-4px); box-shadow: 0 22px 55px rgba(0,10,30,.65); }
.card:hover::after { opacity: 1; }

.card-n {
  position: absolute; top:18px; right:22px;
  font-family: var(--mono);
  font-size: .52rem;
  color: rgba(0,180,255,.18);
  letter-spacing: .08em;
}
.card-icon {
  width: 46px; height: 46px;
  border: 1px solid rgba(0,180,255,.22);
  border-radius: 8px;
  display: flex; align-items:center; justify-content:center;
  font-size: 1.3rem;
  background: var(--bg3);
  margin-bottom: 22px;
  transition: border-color .3s, box-shadow .3s;
}
.card:hover .card-icon { border-color:var(--blue); box-shadow:0 0 18px rgba(0,180,255,.22); }
.card-title {
  font-family: var(--head);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 10px;
  letter-spacing: -.01em;
}
.card-text { font-size:.86rem; color:var(--muted); line-height:1.7; }
.card-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 18px;
  font-family: var(--mono);
  font-size: .52rem;
  color: var(--blue);
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 1px solid rgba(0,180,255,.2);
  padding: 3px 10px;
  border-radius: 20px;
}
.card-pill::before {
  content:''; width:5px; height:5px;
  border-radius:50%; background:var(--blue);
  animation: bp-blink 2s infinite;
}

/* ─── WHY ─── */
.bp-why {
  background: var(--bg2);
  border-top: 1px solid var(--blue-border);
  border-bottom: 1px solid var(--blue-border);
  position: relative;
  z-index: 1;
}
.why-grid { display:grid; grid-template-columns:1fr 1fr; }
.why-left { padding-right:72px; border-right:1px solid var(--blue-border); }
.why-right { padding-left:72px; display:flex; flex-direction:column; justify-content:center; }
.ghost-num {
  display: block;
  font-family: var(--head);
  font-weight: 800;
  font-size: clamp(5rem,10vw,9rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0,180,255,.12);
  margin-bottom: 6px;
  user-select:none;
}
.callout {
  background: var(--bg3);
  border: 1px solid var(--blue-border);
  border-left: 3px solid var(--amber);
  padding: 26px 30px;
  border-radius: 0 6px 6px 0;
  margin-top: 40px;
}
.callout-title { font-family:var(--head); font-size:1.12rem; font-weight:700; line-height:1.4; }
.callout-title em { color:var(--amber); font-style:normal; }
.callout-sub { margin-top:6px; font-size:.84rem; color:var(--muted); }
.why-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--blue-border);
  display: flex; gap: 18px; align-items:flex-start;
  opacity: 0; transform: translateX(16px);
  transition: opacity .5s ease, transform .5s ease;
}
.why-item.bp-vis { opacity:1; transform:translateX(0); }
.why-item:last-child { border-bottom:none; padding-bottom:0; }
.why-n { font-family:var(--mono); font-size:.6rem; color:var(--amber); letter-spacing:.06em; padding-top:3px; min-width:26px; }
.why-title { font-family:var(--head); font-weight:700; font-size:.98rem; margin-bottom:6px; }
.why-text { font-size:.85rem; color:var(--muted); line-height:1.65; }

/* ─── BLOG ─── */
.bp-blog { position:relative; z-index:1; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 22px;
}
.post-card {
  background: var(--bg2);
  border: 1px solid var(--blue-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .3s, transform .3s;
  opacity: 0; transform: translateY(16px);
}
.post-card.bp-vis {
  opacity:1; transform:translateY(0);
  transition: opacity .6s ease, transform .6s ease, border-color .3s;
}
.post-card:hover { border-color: rgba(0,180,255,.35); transform:translateY(-4px); }
.post-thumb {
  width:100%; height:190px;
  object-fit:cover;
  background: var(--bg3);
}
.post-thumb-placeholder {
  width:100%; height:190px;
  background: var(--bg3);
  display:flex; align-items:center; justify-content:center;
  font-size:2rem;
  border-bottom: 1px solid var(--blue-border);
}
.post-body { padding:26px; }
.post-cat {
  font-family: var(--mono);
  font-size: .55rem;
  color: var(--blue);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.post-title {
  font-family: var(--head);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.35;
  margin-bottom: 10px;
  color: var(--text);
}
.post-title a { color:var(--text); }
.post-title a:hover { color:var(--blue); }
.post-excerpt { font-size:.84rem; color:var(--muted); line-height:1.65; margin-bottom:18px; }
.post-meta {
  display:flex; align-items:center; justify-content:space-between;
  font-family:var(--mono); font-size:.58rem; color:var(--muted);
  letter-spacing:.06em;
  border-top:1px solid var(--blue-border);
  padding-top:14px; margin-top:14px;
}
.read-more { color:var(--blue); font-family:var(--mono); font-size:.62rem; letter-spacing:.08em; }
.read-more:hover { color:#33c6ff; }

/* ─── SINGLE POST ─── */
.bp-single { padding-top:110px; position:relative; z-index:1; }
.single-wrap { max-width:760px; margin:0 auto; padding:60px; }
.single-meta {
  display:flex; gap:20px; align-items:center;
  font-family:var(--mono); font-size:.62rem; color:var(--muted);
  letter-spacing:.08em; margin-bottom:30px;
}
.single-cat { color:var(--blue); }
.single-title {
  font-family:var(--head); font-weight:800;
  font-size:clamp(2rem,5vw,3.2rem);
  letter-spacing:-.025em; line-height:1.1;
  margin-bottom:36px;
}
.single-thumb {
  width:100%; max-height:420px; object-fit:cover;
  border-radius:var(--radius);
  border:1px solid var(--blue-border);
  margin-bottom:44px;
}
.single-content { font-size:1.02rem; line-height:1.85; color:var(--mid); }
.single-content h2 { font-family:var(--head); font-weight:700; font-size:1.5rem; color:var(--text); margin:2rem 0 .8rem; }
.single-content h3 { font-family:var(--head); font-weight:700; font-size:1.2rem; color:var(--text); margin:1.6rem 0 .6rem; }
.single-content p { margin-bottom:1.4rem; }
.single-content ul, .single-content ol { padding-left:1.4rem; margin-bottom:1.4rem; }
.single-content li { margin-bottom:.4rem; }
.single-content strong { color:var(--text); font-weight:600; }
.single-content a { color:var(--blue); }
.single-content blockquote {
  border-left:3px solid var(--amber);
  padding:16px 24px;
  margin:1.5rem 0;
  background:var(--bg2);
  border-radius:0 6px 6px 0;
  color:var(--text);
  font-style:italic;
}
.single-content img { border-radius:var(--radius); margin:1.5rem 0; }
.single-content code {
  font-family:var(--mono); font-size:.85em;
  background:var(--bg3); padding:2px 6px; border-radius:4px; color:var(--blue);
}
.single-content pre {
  background:var(--bg3); padding:1.2rem; border-radius:8px;
  border:1px solid var(--blue-border); overflow-x:auto; margin:1.5rem 0;
}
.single-nav {
  display:flex; justify-content:space-between; gap:20px;
  margin-top:60px; padding-top:40px;
  border-top:1px solid var(--blue-border);
}
.single-nav a {
  font-family:var(--head); font-weight:600; font-size:.88rem;
  color:var(--muted); display:flex; flex-direction:column; gap:4px;
}
.single-nav a:hover { color:var(--blue); }
.single-nav-label { font-family:var(--mono); font-size:.55rem; color:var(--muted); letter-spacing:.1em; text-transform:uppercase; }

/* ─── ARCHIVE ─── */
.bp-archive { padding-top:120px; position:relative; z-index:1; }
.archive-header { max-width:var(--max); margin:0 auto; padding:0 60px 60px; }
.archive-title {
  font-family:var(--head); font-weight:800;
  font-size:clamp(2.5rem,6vw,4.5rem);
  letter-spacing:-.03em; line-height:1;
  margin-bottom:14px;
}
.archive-title span { color:transparent; -webkit-text-stroke:1.5px var(--blue); }

/* ─── CONTACT ─── */
.bp-contact-page { padding-top:110px; position:relative; z-index:1; }
.contact-grid { display:grid; grid-template-columns:1fr 1fr; gap:0; }
.contact-left { padding-right:72px; border-right:1px solid var(--blue-border); }
.contact-right { padding-left:72px; }

.contact-info-item {
  display:flex; gap:16px; align-items:flex-start;
  padding:24px 0;
  border-bottom:1px solid var(--blue-border);
}
.contact-info-item:last-child { border-bottom:none; }
.contact-icon {
  width:40px; height:40px; min-width:40px;
  border:1px solid var(--blue-border);
  border-radius:8px;
  display:flex; align-items:center; justify-content:center;
  font-size:1rem; background:var(--bg3);
}
.contact-info-label { font-family:var(--mono); font-size:.58rem; color:var(--muted); letter-spacing:.1em; text-transform:uppercase; margin-bottom:4px; }
.contact-info-val { font-size:.92rem; color:var(--text); }

.bp-form { display:flex; flex-direction:column; gap:16px; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.form-group { display:flex; flex-direction:column; gap:6px; }
.form-group label { font-family:var(--mono); font-size:.58rem; color:var(--mid); letter-spacing:.1em; text-transform:uppercase; }
.form-group input,
.form-group textarea,
.form-group select {
  background: var(--bg3);
  border: 1px solid var(--blue-border);
  border-radius:6px;
  padding:12px 16px;
  color:var(--text);
  font-family:var(--body);
  font-size:.9rem;
  transition:border-color .2s, box-shadow .2s;
  outline:none;
  width:100%;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color:rgba(0,180,255,.5);
  box-shadow:0 0 0 3px rgba(0,180,255,.08);
}
.form-group textarea { min-height:130px; resize:vertical; }
.form-group input::placeholder,
.form-group textarea::placeholder { color:var(--muted); }

.form-notice {
  padding:14px 18px;
  border-radius:6px;
  font-size:.85rem;
  display:none;
}
.form-notice.success { background:rgba(0,180,255,.08); border:1px solid rgba(0,180,255,.25); color:var(--blue); display:block; }
.form-notice.error { background:rgba(255,100,60,.08); border:1px solid rgba(255,100,60,.25); color:#ff8060; display:block; }

/* ─── PAGE GÉNÉRIQUE ─── */
.bp-page { padding-top:110px; position:relative; z-index:1; }
.page-wrap { max-width:820px; margin:0 auto; padding:60px; }
.page-title {
  font-family:var(--head); font-weight:800;
  font-size:clamp(2rem,5vw,3.5rem);
  letter-spacing:-.025em; line-height:1.1;
  margin-bottom:10px;
}
.page-content { font-size:1rem; line-height:1.85; color:var(--mid); }
.page-content h2 { font-family:var(--head); font-weight:700; font-size:1.5rem; color:var(--text); margin:2rem 0 .8rem; }
.page-content p { margin-bottom:1.2rem; }

/* ─── 404 ─── */
.bp-404 {
  min-height:100vh; display:flex; align-items:center; justify-content:center;
  flex-direction:column; text-align:center; padding:40px; position:relative; z-index:1;
}
.error-num {
  font-family:var(--head); font-weight:800;
  font-size:clamp(6rem,18vw,14rem);
  line-height:1; color:transparent;
  -webkit-text-stroke:2px rgba(0,180,255,.2);
  margin-bottom:10px;
}
.error-title { font-family:var(--head); font-weight:700; font-size:1.5rem; margin-bottom:12px; }
.error-text { color:var(--mid); max-width:400px; margin-bottom:32px; }

/* ─── FOOTER ─── */
.bp-footer {
  border-top:1px solid var(--blue-border);
  position:relative; z-index:1;
}
.footer-inner {
  max-width:var(--max); margin:0 auto;
  padding:44px 60px;
  display:flex; align-items:center; justify-content:space-between; gap:24px;
}
.footer-brand { font-family:var(--head); font-weight:800; font-size:1rem; }
.footer-brand span { color:var(--blue); }
.footer-links { display:flex; gap:28px; }
.footer-links a { font-family:var(--mono); font-size:.6rem; color:var(--muted); letter-spacing:.1em; text-transform:uppercase; }
.footer-links a:hover { color:var(--blue); }
.footer-copy { font-family:var(--mono); font-size:.58rem; color:var(--muted); letter-spacing:.08em; }

/* ─── PAGINATION ─── */
.bp-pagination {
  display:flex; justify-content:center; gap:8px;
  padding:20px 0 0;
}
.page-numbers {
  display:inline-flex; align-items:center; justify-content:center;
  width:40px; height:40px;
  border:1px solid var(--blue-border);
  border-radius:6px;
  font-family:var(--mono); font-size:.7rem; color:var(--muted);
  transition:all .2s;
}
.page-numbers:hover,
.page-numbers.current { border-color:var(--blue); color:var(--blue); background:var(--blue-dim); }

/* ─── KEYFRAMES ─── */
@keyframes bp-up {
  from { opacity:0; transform:translateY(22px); }
  to   { opacity:1; transform:translateY(0); }
}
@keyframes bp-blink {
  0%,100% { opacity:1; }
  50%      { opacity:.3; }
}

/* ─── ADMIN BAR OFFSET ─── */
.admin-bar .bp-nav { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .bp-nav { top: 46px; }
}

/* ─── RESPONSIVE ─── */
@media (max-width:960px) {
  .bp-nav { padding:0 22px; }
  .bp-nav-links { display:none; }
  .bp-nav-links.open { display:flex; flex-direction:column; position:fixed; top:68px; left:0; right:0; background:rgba(2,5,9,.97); padding:28px 22px; gap:24px; border-bottom:1px solid var(--blue-border); }
  .bp-nav-toggle { display:flex; }
  .bp-hero { padding:120px 22px 80px; }
  .bp-wrap, .archive-header { padding-top:70px; padding-bottom:70px; padding-left:22px; padding-right:22px; }
  .grid-5 { grid-template-columns:1fr; }
  .grid-5 .card:nth-child(4), .grid-5 .card:nth-child(5) { grid-column:auto; }
  .why-grid, .contact-grid { grid-template-columns:1fr; }
  .why-left { padding-right:0; border-right:none; border-bottom:1px solid var(--blue-border); padding-bottom:50px; }
  .why-right, .contact-right { padding-left:0; padding-top:50px; }
  .contact-left { padding-right:0; border-right:none; border-bottom:1px solid var(--blue-border); padding-bottom:40px; }
  .blog-grid { grid-template-columns:1fr; }
  .form-row { grid-template-columns:1fr; }
  .single-wrap, .page-wrap { padding:40px 22px; }
  .footer-inner { flex-direction:column; text-align:center; padding:36px 22px; }
  .footer-links { flex-wrap:wrap; justify-content:center; }
}
