/* =========================================================
   NIGHTBOX HOSTING™ V2 — STYLE PRINCIPAL
   Version 1.0 — HTML/CSS/JS léger
========================================================= */

:root {
  --bg: #03060c;
  --bg-soft: #07101c;
  --surface: #0a1422;
  --surface-2: #0d1a2c;
  --surface-glass: rgba(10, 20, 34, .78);
  --border: rgba(135, 194, 255, .16);
  --border-strong: rgba(0, 140, 255, .48);
  --text: #f7f9fc;
  --muted: #aeb7c1;
  --blue: #008cff;
  --blue-light: #37b6ff;
  --cyan: #00d8ff;
  --success: #63e63b;
  --danger: #ff6b6b;
  --warning: #ffc857;
  --shadow: 0 24px 80px rgba(0, 0, 0, .42);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 30px;
  --container: 1200px;
  --header-height: 82px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 5%, rgba(0, 140, 255, .13), transparent 30%),
    radial-gradient(circle at 92% 45%, rgba(0, 216, 255, .08), transparent 28%),
    linear-gradient(145deg, #020409 0%, #06101d 50%, #02050a 100%);
  line-height: 1.65;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .42;
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 52px 52px;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 18px;
  font-family: "Orbitron", "Inter", sans-serif;
  line-height: 1.16;
}

h1 {
  font-size: clamp(2.55rem, 6vw, 5.6rem);
  letter-spacing: -.045em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
  letter-spacing: -.035em;
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 18px;
}

ul {
  margin: 0;
  padding-left: 20px;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 9999;
  transform: translateY(-180%);
  padding: 10px 14px;
  border-radius: 8px;
  color: #fff;
  background: #000;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: var(--header-height);
  border-bottom: 1px solid transparent;
  background: rgba(3, 6, 12, .78);
  backdrop-filter: blur(18px);
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}

.site-header.is-scrolled {
  border-color: var(--border);
  background: rgba(3, 6, 12, .93);
  box-shadow: 0 12px 36px rgba(0, 0, 0, .28);
}

.nav-wrap {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: 245px;
  max-height: 64px;
  object-fit: contain;
  object-position: left center;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}

.main-nav a {
  position: relative;
  color: var(--muted);
  text-decoration: none;
  font-size: .92rem;
  font-weight: 700;
  transition: color .2s ease;
}

.main-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transition: right .2s ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: #fff;
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
  right: 0;
}

.nav-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switch {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,.035);
}

.lang-switch button {
  border: 0;
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--muted);
  background: transparent;
  font-size: .8rem;
  font-weight: 800;
}

.lang-switch button.is-active {
  color: #fff;
  background: rgba(0, 140, 255, .25);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: #fff;
  background: rgba(255,255,255,.04);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #0065e8);
  box-shadow: 0 12px 30px rgba(0, 140, 255, .22);
  text-decoration: none;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(0, 140, 255, .31);
}

.btn-outline {
  border-color: var(--border-strong);
  background: rgba(0, 140, 255, .06);
  box-shadow: none;
}

.btn-small {
  min-height: 42px;
  padding: 9px 15px;
  font-size: .86rem;
}

.hero {
  position: relative;
  padding: 92px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  align-items: center;
  gap: 60px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  padding: 8px 13px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  color: #cfeaff;
  background: rgba(0, 140, 255, .08);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.accent {
  color: var(--blue-light);
  text-shadow: 0 0 28px rgba(0, 140, 255, .24);
}

.hero-lead {
  max-width: 700px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.24rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 32px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
  color: #d7e4f3;
  font-size: .9rem;
  font-weight: 700;
}

.trust-row span::before {
  content: "✓";
  margin-right: 8px;
  color: var(--success);
}

.hero-visual {
  position: relative;
  min-height: 510px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: 390px;
  height: 390px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 140, 255, .24), transparent 65%);
  filter: blur(8px);
  z-index: -1;
}

.server-stack {
  position: relative;
  width: min(100%, 430px);
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.015)),
    rgba(5, 12, 22, .82);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.06);
}

.server-unit {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  min-height: 76px;
  margin: 12px 0;
  padding: 17px 20px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(13, 30, 52, .92), rgba(5, 14, 26, .96));
  box-shadow: inset 0 0 28px rgba(0, 140, 255, .05);
}

.server-unit strong {
  font-family: "Orbitron", sans-serif;
  font-size: .88rem;
}

.server-lights {
  display: flex;
  gap: 7px;
}

.server-lights i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 12px var(--blue);
}

.server-lights i:nth-child(2) {
  background: var(--success);
  box-shadow: 0 0 12px var(--success);
}

.floating-card {
  position: absolute;
  right: -20px;
  bottom: 26px;
  width: 220px;
  padding: 18px;
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  background: rgba(4, 12, 23, .91);
  box-shadow: 0 18px 46px rgba(0, 0, 0, .45);
}

.floating-card small {
  color: var(--muted);
}

.floating-card strong {
  display: block;
  margin-top: 4px;
  color: var(--success);
}

.section {
  padding: 84px 0;
}

.section-soft {
  border-block: 1px solid rgba(255,255,255,.045);
  background: rgba(255,255,255,.018);
}

.section-head {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head p {
  color: var(--muted);
  font-size: 1.04rem;
}

.grid {
  display: grid;
  gap: 22px;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  position: relative;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.018));
  box-shadow: 0 18px 52px rgba(0,0,0,.2);
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  inset: auto -70px -90px auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(0, 140, 255, .08);
  filter: blur(8px);
}

.card-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border: 1px solid var(--border-strong);
  border-radius: 15px;
  color: #fff;
  background: rgba(0, 140, 255, .12);
  font-family: "Orbitron", sans-serif;
  font-size: .8rem;
  font-weight: 900;
}

.card p,
.card li {
  color: var(--muted);
}

.card-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--blue-light);
  font-weight: 800;
  text-decoration: none;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--border);
  overflow: hidden;
}

.stat {
  padding: 27px 20px;
  text-align: center;
  background: #07111e;
}

.stat strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font-family: "Orbitron", sans-serif;
  font-size: 1.55rem;
}

.stat span {
  color: var(--muted);
  font-size: .86rem;
}

.pricing-card {
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  border-color: var(--border-strong);
  transform: translateY(-10px);
  box-shadow: 0 24px 70px rgba(0, 140, 255, .15);
}

.price {
  margin: 10px 0 20px;
  font-family: "Orbitron", sans-serif;
  font-size: 2.45rem;
  font-weight: 800;
}

.price small {
  color: var(--muted);
  font-family: "Inter", sans-serif;
  font-size: .85rem;
  font-weight: 600;
}

.feature-list {
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
  padding: 0;
  list-style: none;
}

.feature-list li::before {
  content: "✓";
  margin-right: 9px;
  color: var(--success);
}

.pricing-card .btn {
  margin-top: auto;
}

.cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  padding: 42px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 90% 50%, rgba(0,216,255,.12), transparent 32%),
    linear-gradient(145deg, rgba(0,140,255,.12), rgba(255,255,255,.025));
  box-shadow: var(--shadow);
}

.cta p {
  color: var(--muted);
}

.page-hero {
  padding: 72px 0 48px;
}

.page-hero .container {
  max-width: 960px;
  text-align: center;
}

.page-hero p {
  max-width: 760px;
  margin-inline: auto;
  color: var(--muted);
  font-size: 1.12rem;
}

.content-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
}

.content-panel {
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255,255,255,.025);
}

.content-panel p,
.content-panel li {
  color: var(--muted);
}

.sidebar-card {
  align-self: start;
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field-full {
  grid-column: 1 / -1;
}

label {
  color: #dfeaf7;
  font-size: .9rem;
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 13px 14px;
  color: #fff;
  background: rgba(1, 7, 14, .76);
  outline: none;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 140, 255, .14);
}

textarea {
  min-height: 160px;
  resize: vertical;
}

.form-note {
  color: var(--muted);
  font-size: .84rem;
}

.alert {
  margin-bottom: 22px;
  padding: 14px 16px;
  border-radius: 12px;
  font-weight: 700;
}

.alert-success {
  border: 1px solid rgba(99, 230, 59, .35);
  color: #caffbc;
  background: rgba(99, 230, 59, .08);
}

.alert-error {
  border: 1px solid rgba(255, 107, 107, .35);
  color: #ffd0d0;
  background: rgba(255, 107, 107, .08);
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.site-footer {
  margin-top: 72px;
  border-top: 1px solid var(--border);
  background: rgba(2, 5, 10, .78);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 36px;
  padding: 54px 0 36px;
}

.footer-brand img {
  width: 250px;
  margin-bottom: 18px;
}

.footer-grid h3 {
  font-size: .95rem;
}

.footer-grid p,
.footer-grid a {
  color: var(--muted);
}

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,.055);
  color: #7f8da2;
  font-size: .82rem;
}

[data-lang-content] {
  display: none;
}

[data-lang-content].is-visible {
  display: contents;
}

@media (max-width: 1080px) {
  .menu-toggle {
    display: inline-block;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 20px;
    right: 20px;
    display: none;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(3, 8, 16, .98);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: grid;
    gap: 14px;
  }

  .nav-tools {
    margin-left: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 430px;
  }

  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .content-wrap {
    grid-template-columns: 1fr;
  }

  .sidebar-card {
    position: static;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 72px;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .brand img {
    width: 185px;
  }

  .nav-tools .btn {
    display: none;
  }

  .lang-switch button {
    padding: 6px 8px;
  }

  .hero {
    padding-top: 58px;
  }

  .hero-visual {
    min-height: 380px;
  }

  .floating-card {
    right: 0;
    bottom: 0;
  }

  .grid-3,
  .grid-4,
  .stats,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card.featured {
    transform: none;
  }

  .cta {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* =========================================================
   NIGHTBOX HOSTING™ — HEADER PREMIUM 2.0
========================================================= */

:root {
  --header-height: 88px;
}

.site-header {
  background: rgba(2, 7, 14, .88);
  border-bottom: 1px solid rgba(255,255,255,.055);
}

.nav-wrap {
  gap: 26px;
}

.brand {
  min-width: 210px;
}

.brand img {
  width: 210px;
  max-height: 68px;
}

.main-nav {
  gap: 8px;
}

.nav-item {
  position: relative;
}

.nav-link,
.main-nav > a:not(.btn) {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 13px;
  border-radius: 10px;
  color: var(--muted);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 800;
  transition: color .2s ease, background .2s ease;
}

.nav-link:hover,
.nav-link[aria-current="page"],
.main-nav > a:not(.btn):hover,
.main-nav > a:not(.btn)[aria-current="page"] {
  color: #fff;
  background: rgba(255,255,255,.045);
}

.nav-link::after,
.main-nav > a:not(.btn)::after {
  display: none !important;
}

.nav-caret {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  opacity: .72;
}

.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  z-index: 1100;
  min-width: 250px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(4, 10, 20, .98);
  box-shadow: 0 24px 70px rgba(0,0,0,.48);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown,
.nav-item.is-open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: grid;
  gap: 2px;
  padding: 11px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: #fff;
}

.dropdown a:hover {
  background: rgba(0,140,255,.1);
}

.dropdown a strong {
  font-size: .88rem;
}

.dropdown a span {
  color: var(--muted);
  font-size: .76rem;
  font-weight: 500;
}

.nav-tools {
  gap: 12px;
}

.lang-switch {
  padding: 3px;
}

.lang-switch button {
  min-width: 36px;
  padding: 7px 8px;
}

.nav-tools .btn {
  min-width: 116px;
}

@media (max-width: 1120px) {
  .brand {
    min-width: auto;
  }

  .brand img {
    width: 190px;
  }

  .main-nav {
    top: calc(var(--header-height) + 8px);
    max-height: calc(100vh - var(--header-height) - 30px);
    overflow-y: auto;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link,
  .main-nav > a:not(.btn) {
    width: 100%;
    justify-content: space-between;
    padding: 11px 12px;
  }

  .dropdown {
    position: static;
    display: none;
    min-width: 0;
    margin-top: 6px;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(255,255,255,.025);
  }

  .nav-item.is-open .dropdown {
    display: block;
  }

  .nav-item:hover .dropdown:not(.force-open) {
    display: none;
  }

  .nav-item.is-open:hover .dropdown {
    display: block;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 74px;
  }

  .brand img {
    width: 170px;
  }

  .nav-tools {
    gap: 8px;
  }

  .lang-switch {
    display: none;
  }
}

