/* Fonts */
@font-face {
  font-family: "Euclid Circular B Medium";
  src: url("/assets/fonts/EuclidCircularB-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Euclid Circular B Regular";
  src: url("/assets/fonts/EuclidCircularB-Regular.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Euclid Circular B Semi Bold";
  src: url("/assets/fonts/EuclidCircularB-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* NeoXer-Tech Design Tokens */
:root {
  --font-display: "Euclid Circular B Semi Bold", "Euclid Circular B Medium", system-ui, sans-serif;
  --font-body: "Euclid Circular B Regular", system-ui, sans-serif;
  --font-semi: "Euclid Circular B Semi Bold", system-ui, sans-serif;

  --brand-red: #e30613;
  --brand-red-hover: #c20510;
  --brand-dark: #181817;
  --brand-ink: #1d1d1b;

  --surface-page: #ffffff;
  --surface-subtle: #f6f7f8;
  --surface-muted: #eff1f3;

  --text-primary: #1d1d1b;
  --text-secondary: #4b5563;
  --text-muted: #6b7280;

  --border-default: #e2e5e9;
  --border-strong: #c8cdd4;
  --status-stock: #15803d;

  --radius-sm: 4px;
  --radius-md: 6px;
  --container-max: 1320px;
}

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

html,
body {
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  background: var(--surface-page);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
}

.nx-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.nx-kicker {
  margin: 0 0 8px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-red);
}

/* ---- Top Utility Bar ---- */
.promo-bar {
  background: var(--brand-dark);
  color: #e5e7eb;
  font-size: 12.5px;
  padding: 8px 0;
}

.promo-bar-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.promo-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.promo-links a {
  color: #d1d5db;
  font-weight: 500;
}

.promo-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ---- Sticky Retail Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--surface-page);
  border-bottom: 1px solid var(--border-default);
}

.header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: 54px;
  width: auto;
  object-fit: contain;
}

.search {
  position: relative;
  flex: 1;
  max-width: 600px;
  display: flex;
  align-items: stretch;
}

.search-input {
  width: 100%;
  height: 40px;
  background: var(--surface-page);
  border: 1px solid var(--border-strong);
  border-right: 0;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  padding: 0 100px 0 14px;
  font-size: 14px;
  color: var(--text-primary);
}

.search-input:focus {
  outline: none;
  border-color: var(--brand-ink);
}

.search-btn {
  width: 44px;
  height: 40px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-red);
  color: #ffffff;
  border: 1px solid var(--brand-red);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.search-btn:hover {
  background: var(--brand-red-hover);
  border-color: var(--brand-red-hover);
}

.search-status {
  position: absolute;
  right: 54px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: var(--text-muted);
  pointer-events: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.account-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface-page);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
}

.account-link:hover {
  border-color: var(--brand-ink);
  background: var(--surface-subtle);
}

.cart {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: var(--radius-sm);
  background: var(--brand-red);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 600;
}

.cart:hover {
  background: var(--brand-red-hover);
}

.cart-icon {
  fill: currentColor;
}

.cart-count {
  color: #ffffff;
}

/* ---- Navigation ---- */
.main-nav {
  background: var(--surface-subtle);
  border-top: 1px solid var(--border-default);
}

.main-nav-list {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 20px;
  min-height: 42px;
}

.main-nav-list a {
  display: inline-block;
  padding: 9px 2px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  border-bottom: 2px solid transparent;
}

.main-nav-list a:hover {
  color: var(--brand-red);
}

/* ---- Cart Drawer ---- */
.cart-panel {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 9999;
  width: 376px;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  background: var(--surface-page);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
  display: none;
}

.cart-panel.open {
  display: block;
}

.cart-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-default);
}

.cart-panel-head h2 {
  font-size: 17px;
  color: var(--text-primary);
}

.cart-panel-close {
  background: none;
  border: 0;
  padding: 2px 6px;
  font-size: 22px;
  line-height: 1;
  color: var(--text-secondary);
}

.cart-panel-close:hover {
  color: var(--text-primary);
}

.cart-panel-list {
  max-height: 230px;
  overflow-y: auto;
  list-style: none;
  margin: 0;
  padding: 0 16px;
}

.cart-empty {
  padding: 16px 0;
  font-size: 14px;
  color: var(--text-muted);
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-default);
  font-size: 13.5px;
}

.cart-item-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.cart-item-name {
  font-weight: 600;
  color: var(--text-primary);
}

.cart-item-price {
  font-size: 13px;
  color: var(--brand-red);
  font-weight: 600;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.cart-qty-btn,
.cart-remove-btn {
  width: 24px;
  height: 24px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface-subtle);
  color: var(--text-primary);
  font-size: 14px;
  line-height: 1;
}

.cart-qty-val {
  font-size: 13.5px;
  min-width: 18px;
  text-align: center;
}

.cart-panel-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  font-size: 15px;
  border-top: 1px solid var(--border-default);
}

.cart-panel-summary strong {
  color: var(--brand-red);
  font-size: 16px;
}

.cart-checkout-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 16px 16px;
}

.cart-checkout-form input,
.cart-checkout-form select {
  width: 100%;
  padding: 9px 11px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface-page);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14px;
}

.cart-checkout-form input:focus,
.cart-checkout-form select:focus {
  outline: none;
  border-color: var(--brand-ink);
}

.cart-panel-btn {
  width: 100%;
  padding: 10px 16px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--brand-red);
  color: #ffffff;
  font-family: var(--font-semi);
  font-size: 14.5px;
}

.cart-panel-btn:hover {
  background: var(--brand-red-hover);
}

.cart-panel-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.cart-panel-confirm {
  margin: 0;
  padding: 0 16px 14px;
  font-size: 13px;
  color: var(--status-stock);
  font-weight: 600;
}

/* ---- Section 1: Light Retail Hero + Brand Bar ---- */
.nx-hero {
  background: var(--surface-subtle);
  padding: 24px 0 20px;
  border-bottom: 1px solid var(--border-default);
}

.nx-hero-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.nx-hero-main {
  background: var(--surface-page);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 26px;
  display: grid;
  grid-template-columns: 1.15fr 0.9fr;
  gap: 24px;
  align-items: center;
}

.nx-hero-title {
  font-size: 30px;
  line-height: 1.18;
  color: var(--text-primary);
  margin: 0 0 12px;
  font-weight: 600;
}

.nx-hero-sub {
  font-size: 14.5px;
  color: var(--text-secondary);
  margin: 0 0 20px;
  line-height: 1.55;
}

.nx-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nx-btn-primary {
  display: inline-block;
  background: var(--brand-red);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
}

.nx-btn-primary:hover {
  background: var(--brand-red-hover);
}

.nx-btn-outline {
  display: inline-block;
  border: 1px solid var(--border-strong);
  background: var(--surface-page);
  color: var(--text-primary);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
}

.nx-btn-outline:hover {
  border-color: var(--brand-ink);
  background: var(--surface-subtle);
}

.nx-hero-spot {
  background: var(--surface-subtle);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 16px;
}

.nx-spot-thumb {
  height: 150px;
  background: var(--surface-page);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.nx-spot-thumb img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
}

.nx-spot-meta {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nx-spot-title {
  font-size: 15.5px;
  color: var(--text-primary);
  margin: 0 0 3px;
}

.nx-spot-spec {
  margin: 0 0 12px;
  font-size: 12.5px;
  color: var(--text-secondary);
}

.nx-spot-foot,
.nx-side-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.nx-spot-buy,
.nx-side-buy {
  padding: 7px 14px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--brand-ink);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  transition: background-color 0.15s ease;
}

.nx-spot-buy:hover,
.nx-side-buy:hover {
  background: var(--brand-red);
}

.nx-spot-buy.is-added,
.nx-side-buy.is-added {
  background: var(--status-stock);
}

.nx-hero-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.nx-side-card {
  flex: 1;
  background: var(--surface-page);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.nx-side-card:hover {
  border-color: var(--border-strong);
}

.nx-side-thumb {
  width: 88px;
  height: 88px;
  flex-shrink: 0;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  padding: 6px;
  background: var(--surface-page);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nx-side-thumb img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.nx-side-info {
  flex: 1;
  min-width: 0;
}

.nx-side-meta {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 3px;
}

.nx-side-info h3 {
  font-size: 15px;
  color: var(--text-primary);
  margin: 0 0 10px;
}

.nx-brand-strip {
  margin-top: 16px;
  background: var(--surface-page);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.nx-brand-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
}

.nx-brand-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.nx-brand-btn {
  padding: 5px 11px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  background: var(--surface-subtle);
  color: var(--text-primary);
  font-size: 12.5px;
  font-weight: 600;
}

.nx-brand-btn:hover {
  border-color: var(--brand-ink);
  background: var(--surface-page);
}

.nx-brand-btn.active {
  background: var(--brand-ink);
  border-color: var(--brand-ink);
  color: #ffffff;
}

/* ---- Section 2: Hairline Service Bar ---- */
.nx-trust {
  background: var(--surface-page);
  border-bottom: 1px solid var(--border-default);
}

.nx-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.nx-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 16px;
  border-right: 1px solid var(--border-default);
}

.nx-trust-item:first-child {
  padding-left: 0;
}

.nx-trust-item:last-child {
  border-right: 0;
  padding-right: 0;
}

.nx-trust-icon {
  color: var(--brand-red);
  flex-shrink: 0;
  margin-top: 2px;
}

.nx-trust-item h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.nx-trust-item p {
  margin: 0;
  font-size: 12.5px;
  color: var(--text-secondary);
}

/* ---- Section 3: Direct-Buy Catalog ---- */
.novelty {
  padding: 40px 0 0;
}

.novelty-head {
  margin-bottom: 22px;
}

.novelty-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.novelty-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-primary);
}

.catalog-count {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
}

.novelty-tabs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--border-default);
}

.novelty-tabs a {
  display: inline-block;
  padding: 10px 2px;
  margin-bottom: -1px;
  border-bottom: 2px solid transparent;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
}

.novelty-tabs a:hover {
  color: var(--text-primary);
}

.novelty-tabs .active {
  color: var(--brand-red);
  border-bottom-color: var(--brand-red);
}

.novelty-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--surface-page);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 14px;
  transition: border-color 0.15s ease;
}

.product-card:hover {
  border-color: var(--border-strong);
}

.product-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 185px;
  background: var(--surface-page);
  border-bottom: 1px solid var(--border-default);
  padding: 8px 8px 14px;
  margin-bottom: 12px;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.product-brand {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.product-sku {
  font-size: 11.5px;
  color: var(--text-muted);
}

.product-name {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.38;
  margin: 0 0 14px;
  min-height: 40px;
}

.product-foot {
  margin-top: auto;
  width: 100%;
}

.product-stock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--status-stock);
  margin-bottom: 4px;
}

.product-stock::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--status-stock);
}

.product-price {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 600;
  color: var(--brand-red);
}

.product-price small {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-muted);
}

.product-buy {
  width: 100%;
  background: var(--brand-ink);
  color: #ffffff;
  border: 0;
  border-radius: var(--radius-sm);
  padding: 9px 14px;
  font-size: 13.5px;
  font-weight: 600;
  transition: background-color 0.15s ease;
}

.product-buy:hover {
  background: var(--brand-red);
}

.product-buy.is-added {
  background: var(--status-stock);
}

/* ---- Section 4: NVIDIA PNY Banner ---- */
.nx-banner-wrap {
  padding: 40px 0 0;
}

.banner-pub {
  display: block;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface-page);
}

.banner-pub-img {
  width: 100%;
  height: auto;
}

/* ---- Section 5: Gaming & Créateurs Band ---- */
.gamers {
  margin-top: 40px;
  padding: 36px 0;
  background: var(--surface-subtle);
  border-top: 1px solid var(--border-default);
  border-bottom: 1px solid var(--border-default);
}

.gamers-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 20px;
}

.gamers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

/* ---- Section 6: Showroom & B2B Contact Card ---- */
.partner {
  padding: 40px 0 0;
}

.nx-contact-card {
  background: var(--surface-page);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 28px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 28px;
  align-items: start;
}

.nx-contact-card h2 {
  font-size: 23px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 10px;
}

.partner-text {
  font-size: 14.5px;
  color: var(--text-secondary);
  margin: 0 0 20px;
  line-height: 1.6;
}

.nx-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.partner-cta {
  display: inline-block;
  background: var(--brand-red);
  color: #ffffff;
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
}

.partner-cta:hover {
  background: var(--brand-red-hover);
}

.nx-btn-outline-dark {
  display: inline-block;
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
}

.nx-btn-outline-dark:hover {
  border-color: var(--brand-ink);
  background: var(--surface-subtle);
}

.nx-info-list {
  margin: 0;
  background: var(--surface-subtle);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  padding: 4px 16px;
}

.nx-info-row {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-default);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nx-info-row:last-child {
  border-bottom: 0;
}

.nx-info-row dt {
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.nx-info-row dd {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-primary);
}

/* ---- Footer ---- */
.site-footer {
  background: var(--brand-dark);
  color: #d1d5db;
  border-top: 3px solid var(--brand-red);
  margin-top: 52px;
}

.footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 40px 24px 32px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 28px;
}

.footer-title {
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.footer-desc,
.footer-address,
.footer-rc {
  font-size: 13px;
  color: #c7c9ce;
  margin: 0 0 8px;
  line-height: 1.5;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
  color: #c7c9ce;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-cta {
  display: inline-block;
  margin-top: 14px;
  background: var(--brand-red);
  color: #ffffff;
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  font-size: 13.5px;
  font-weight: 600;
}

.footer-cta:hover {
  background: var(--brand-red-hover);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 24px;
  text-align: center;
  font-size: 12.5px;
  color: #9ca3af;
}

.footer-bottom p {
  margin: 0;
}

/* ---- Subpages (Connexion, À propos, Infos légales, Devis/Partenaires) ---- */
.connexion-breadcrumb {
  background: var(--surface-subtle);
  padding: 10px 24px;
  font-size: 13.5px;
  border-bottom: 1px solid var(--border-default);
}

.connexion-card,
.page-about,
.page-info,
.page-partner {
  max-width: 1120px;
  margin: 32px auto;
  padding: 0 24px;
}

.page-title,
.about-title,
.info-title,
.partner-title {
  font-size: 28px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 16px;
}

.about-hero {
  height: 260px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-default);
  overflow: hidden;
  margin-bottom: 22px;
}

.about-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text,
.info-intro,
.partner-intro {
  font-size: 15px;
  color: var(--text-secondary);
  margin: 0 0 14px;
  line-height: 1.6;
}

.about-sections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 22px;
}

.about-section {
  background: var(--surface-subtle);
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-default);
}

.about-section-title {
  font-size: 17px;
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 8px;
}

.about-section-text {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0 0 14px;
}

.about-link {
  display: inline-block;
  background: var(--brand-ink);
  color: #ffffff;
  border-radius: var(--radius-sm);
  padding: 8px 15px;
  font-size: 13.5px;
  font-weight: 600;
}

.about-link:hover {
  background: var(--brand-red);
}

.info-year-group {
  background: var(--surface-subtle);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 18px;
}

.info-year {
  font-size: 18px;
  font-weight: 600;
  color: var(--brand-red);
  margin: 0 0 12px;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.info-item {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14.5px;
  color: var(--text-secondary);
}

.info-doc {
  font-weight: 600;
  color: var(--text-primary);
}

.login-form,
.partner-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 600px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
}

.form-control {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-family: var(--font-body);
  font-size: 14.5px;
  background: var(--surface-page);
}

.form-control:focus {
  outline: none;
  border-color: var(--brand-ink);
}

.show-password {
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--surface-subtle);
  color: var(--text-primary);
  font-size: 12.5px;
  font-weight: 600;
}

.forgot-link {
  font-size: 13.5px;
  color: var(--text-secondary);
  text-decoration: underline;
  width: fit-content;
}

.connexion-btn,
.partner-btn {
  width: fit-content;
  padding: 10px 22px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--brand-red);
  color: #ffffff;
  font-weight: 600;
  font-size: 14.5px;
}

.connexion-btn:hover,
.partner-btn:hover {
  background: var(--brand-red-hover);
}

.partner-body {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  margin-top: 20px;
}

.partner-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.partner-info-box,
.partner-service {
  background: var(--surface-subtle);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 18px;
}

.partner-side-title,
.partner-service-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--brand-red);
  margin: 0 0 8px;
}

.partner-side-text,
.partner-service-text {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0 0 12px;
  line-height: 1.55;
}

.partner-question-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 8px 0 6px;
}

.connexion-note,
.partner-note {
  font-size: 13.5px;
  color: var(--brand-red-hover);
  font-weight: 600;
  min-height: 20px;
  margin: 0;
}

/* ---- Responsive Breakpoints ---- */
@media (max-width: 1024px) {
  .nx-hero-grid,
  .nx-contact-card,
  .partner-body {
    grid-template-columns: 1fr;
  }

  .nx-hero-side {
    flex-direction: row;
  }

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

  .nx-trust-item {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-default);
  }

  .nx-trust-item:nth-child(2n) {
    border-right: 0;
  }

  .nx-trust-item:first-child {
    padding-left: 16px;
  }

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

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

@media (max-width: 767px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .search {
    order: 3;
    flex: 1 0 100%;
    max-width: 100%;
  }

  .nx-hero-main {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .nx-hero-title {
    font-size: 24px;
  }

  .nx-hero-side {
    flex-direction: column;
  }

  .nx-trust-grid {
    grid-template-columns: 1fr;
  }

  .nx-trust-item {
    border-right: 0;
    padding: 14px 0;
  }

  .nx-trust-item:first-child {
    padding-left: 0;
  }

  .novelty-grid,
  .gamers-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }
}
