:root {
  --bg: #08100e;
  --surface: #111916;
  --surface-2: #151f1b;
  --line: rgba(190, 211, 201, 0.18);
  --line-strong: rgba(118, 228, 170, 0.52);
  --green: #55e695;
  --green-soft: #d5f5e2;
  --blue-soft: #9ad7f5;
  --text: #f5f7f6;
  --muted: #b6c1bc;
  --danger: #ff7f8f;
  --hero-desktop-y: 58%;
  --hero-tablet-y: 56%;
  --hero-mobile-y: 54%;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 20%, rgba(95, 173, 220, 0.12), transparent 30rem),
    radial-gradient(circle at 92% 18%, rgba(121, 207, 167, 0.10), transparent 28rem),
    linear-gradient(145deg, #07100e 0%, #111916 50%, #09110f 100%);
  font-family: Inter, system-ui, sans-serif;
}

a {
  color: inherit;
}

/* Intro Ascendra */
.brand-intro {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  background: #07100d;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.brand-intro img {
  width: 110px;
  filter: drop-shadow(0 0 18px rgba(85, 230, 149, 0.35));
  animation: intro-pulse 1s ease both;
}

.brand-intro.hidden {
  opacity: 0;
  visibility: hidden;
}

@keyframes intro-pulse {
  0% { opacity: 0; transform: scale(0.82); }
  55% { opacity: 1; transform: scale(1.04); }
  100% { opacity: 1; transform: scale(1); }
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: 10px 14px;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.site-header.scrolled {
  background: rgba(10, 16, 14, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(206, 226, 216, 0.12);
}

.navbar {
  width: min(100%, 1120px);
  min-height: 58px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  margin-right: auto;
}

.brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(85, 230, 149, 0.24));
}

.visit-counter {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(10, 16, 14, 0.62);
}

.visit-counter span {
  color: var(--muted);
  font: 600 8px Orbitron, sans-serif;
  letter-spacing: 0.12em;
}

.visit-counter strong {
  color: var(--green);
  font: 700 13px Orbitron, sans-serif;
}

.nav-links {
  display: flex;
  gap: 4px;
}

.nav-links a {
  padding: 10px 11px;
  border-radius: 11px;
  color: var(--muted);
  text-decoration: none;
  font-size: 12px;
}

.nav-links a:hover {
  color: var(--green-soft);
  background: rgba(255, 255, 255, 0.045);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(0, 0, 0, 0.35);
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: var(--green);
}

/* Global layout */
.shell {
  width: min(100%, 960px);
  margin: auto;
  padding: 92px 14px 36px;
}

/* Hero */
.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: #07100b;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.36);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center var(--hero-desktop-y);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(2, 5, 4, 0.02) 10%,
      rgba(4, 8, 6, 0.13) 45%,
      rgba(7, 13, 10, 0.94) 92%
    );
}

.hero-content {
  position: absolute;
  z-index: 2;
  left: 24px;
  right: 24px;
  bottom: 34px;
  text-align: center;
}

.hero h1 {
  margin: 0;
  font: 700 clamp(58px, 13vw, 96px) Orbitron, sans-serif;
  letter-spacing: 0.12em;
}

.hero-subline {
  margin: 10px 0 0;
  color: #d5e3dc;
  font: 500 11px Orbitron, sans-serif;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  opacity: 0.78;
}

.hero-cta {
  width: max-content;
  max-width: 100%;
  margin: 22px auto 0;
  padding: 13px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(154, 215, 245, 0.28);
  border-radius: 999px;
  background:
    linear-gradient(
      135deg,
      rgba(118, 228, 170, 0.13),
      rgba(154, 215, 245, 0.09)
    );
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.hero-cta:hover {
  transform: translateY(-2px);
  border-color: rgba(154, 215, 245, 0.5);
}

.social-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

.social-button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(13, 21, 18, 0.72);
  color: #d9e4de;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.social-button:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  color: #fff;
  box-shadow: 0 0 18px rgba(85, 230, 149, 0.10);
}

.social-button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-button[data-project="Discord"] svg {
  fill: currentColor;
  stroke: none;
}

.social-button[data-project="Discord"] svg circle {
  fill: #08100e;
}

/* Identity */
.identity-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.identity-card {
  min-height: 112px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(
      145deg,
      rgba(22, 32, 29, 0.82),
      rgba(11, 18, 16, 0.92)
    );
}

.identity-card span {
  color: var(--green);
  font: 600 9px Orbitron, sans-serif;
}

.identity-card strong {
  font-size: 14px;
}

/* Sections */
.section-panel {
  margin-top: 14px;
  padding: 30px 24px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    linear-gradient(
      145deg,
      rgba(20, 29, 26, 0.92),
      rgba(10, 17, 15, 0.95)
    );
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.19);
}

.section-heading {
  margin-bottom: 24px;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  font: 600 clamp(26px, 5vw, 34px) Orbitron, sans-serif;
}

.section-heading p {
  max-width: 620px;
  margin: 10px auto 0;
  color: var(--muted);
  font-size: 13px;
}

/* Partner cards — stable V1, no broken orbit */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.partner-card {
  position: relative;
  min-height: 132px;
  padding: 17px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 15px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(
      145deg,
      rgba(22, 32, 29, 0.985),
      rgba(10, 17, 15, 0.995)
    );
  color: inherit;
  text-decoration: none;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.partner-card:hover,
.partner-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(85, 230, 149, 0.55);
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.24),
    0 0 24px rgba(85, 230, 149, 0.12);
}

.partner-logo {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
}

.partner-logo img {
  width: 84%;
  height: 84%;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.18));
  transition: transform 0.22s ease;
}

.partner-card:hover .partner-logo img,
.partner-card:focus-visible .partner-logo img {
  transform: scale(1.08);
}

.partner-copy {
  min-width: 0;
  transition: transform 0.22s ease;
}

.partner-copy strong {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
}

.partner-copy small {
  display: block;
  min-height: 32px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.partner-cta {
  position: absolute;
  left: 90px;
  right: 17px;
  bottom: 12px;
  display: flex;
  justify-content: space-between;
  color: var(--green-soft);
  font-size: 10px;
  font-weight: 700;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.22s ease,
    transform 0.22s ease;
}

.partner-card:hover .partner-copy,
.partner-card:focus-visible .partner-copy {
  transform: translateY(-8px);
}

.partner-card:hover .partner-cta,
.partner-card:focus-visible .partner-cta {
  opacity: 1;
  transform: translateY(0);
}

.partner-vinted img {
  width: 82%;
  height: 82%;
  filter:
    drop-shadow(0 0 7px rgba(9, 173, 178, 0.18))
    drop-shadow(0 4px 8px rgba(0, 0, 0, 0.22));
}

.partner-bourso img {
  width: 80%;
  height: 80%;
}

.partner-bitstack img {
  width: 58px;
  height: 58px;
  border-radius: 15px;
  object-fit: cover;
}

.responsible-note {
  margin: 15px 2px 0;
  color: #7f9187;
  font-size: 10px;
  text-align: center;
}

/* Book */
.book-layout {
  max-width: 680px;
  margin: auto;
}

.book-card {
  position: relative;
  aspect-ratio: 4 / 5.25;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #020503;
}

.book-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.book-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      transparent 58%,
      rgba(1, 5, 3, 0.86) 100%
    );
}

.book-meta {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 14px 15px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(3, 8, 6, 0.46);
}

.book-meta span {
  display: block;
  color: var(--green);
  font: 600 9px Orbitron, sans-serif;
}

.book-meta strong {
  display: block;
  margin-top: 5px;
  font-size: 18px;
}

.book-actions {
  display: grid;
  grid-template-columns: 96px 1fr 96px;
  gap: 12px;
  margin-top: 18px;
}

.vote-button {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(14, 22, 19, 0.86);
  cursor: pointer;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.vote-icon {
  display: grid;
  place-items: center;
}

.vote-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.vote-label {
  font: 600 10px Orbitron, sans-serif;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.vote-button.pass {
  color: #ff8c99;
}

.vote-button.pass:hover {
  color: #ffb3bc;
  transform: translateY(-2px);
  border-color: rgba(255, 91, 111, 0.78);
  background:
    linear-gradient(
      145deg,
      rgba(83, 13, 23, 0.88),
      rgba(35, 8, 12, 0.92)
    );
  box-shadow: 0 0 25px rgba(255, 91, 111, 0.20);
}

.vote-button.like {
  color: #6ee7a5;
}

.vote-button.like:hover {
  color: #baf7d4;
  transform: translateY(-2px);
  border-color: rgba(85, 230, 149, 0.82);
  background:
    linear-gradient(
      145deg,
      rgba(19, 70, 45, 0.88),
      rgba(7, 30, 19, 0.94)
    );
  box-shadow: 0 0 25px rgba(85, 230, 149, 0.20);
}

.vote-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border: 1px solid rgba(199, 220, 211, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  font-size: 10px;
}

.vote-stats strong {
  display: block;
  color: #fff;
  font: 700 17px Orbitron, sans-serif;
  text-align: center;
}

.book-selector {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.selector-dot {
  width: 38px;
  height: 4px;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.12);
}

.selector-dot.active {
  background: linear-gradient(90deg, #76e4aa, #9ad7f5);
}

.vote-note {
  color: #7f9188;
  font-size: 10px;
  text-align: center;
}

/* Journey */
.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
}

.chips span {
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--green-soft);
  font-size: 12px;
}

/* Contact */
.contact-form {
  display: grid;
  gap: 14px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--green-soft);
  font-size: 12px;
}

input,
textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  font: inherit;
}

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

.primary-button,
.secondary-button {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
}

.primary-button {
  border: 0;
  background: linear-gradient(135deg, #76e4aa, #9ad7f5);
  color: #0b1712;
}

.secondary-button {
  background: rgba(255, 255, 255, 0.035);
  color: var(--green-soft);
}

.mail-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

/* Footer */
.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(10, 16, 14, 0.78);
  color: #92a39a;
  font: 500 9px Orbitron, sans-serif;
}

/* V1.9 — lisibilité, accessibilité et liens de confiance */
:where(a,button,input,textarea,select):focus-visible{outline:2px solid #54e393;outline-offset:3px}
.footer-legal{grid-column:1/-1;width:100%;display:flex;justify-content:center;flex-wrap:wrap;gap:8px 18px;padding-top:16px;margin-top:8px;border-top:1px solid rgba(84,227,147,.12)}
.footer-legal a{font-size:.75rem;color:#9eb0a7;text-decoration:none;letter-spacing:.03em}.footer-legal a:hover,.footer-legal a:focus-visible{color:#fff}
@media(max-width:760px){.nav-links a,.menu-toggle,.platform-btn,.shop-header a,.resource-footer a{min-height:44px}.footer-legal{gap:6px 12px}.footer-legal a{min-height:36px;display:inline-flex;align-items:center}}

.footer-home img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.footer-center {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

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

.footer-right {
  display: grid;
  justify-items: end;
  gap: 4px;
}

.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}

/* Modal */
[hidden] {
  display: none !important;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(2, 6, 4, 0.72);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.project-modal {
  position: relative;
  width: min(100%, 420px);
  padding: 32px 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(145deg, #15201c, #0a110f);
  text-align: center;
  opacity: 0;
  transform: translateY(14px) scale(0.985);
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.modal-backdrop.is-open .project-modal {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: none;
  color: #c8d3cd;
  font-size: 26px;
  cursor: pointer;
}

.project-modal h2 {
  margin: 0;
  font: 600 22px Orbitron, sans-serif;
}

.project-modal p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
}

/* Tablet */
@media (max-width: 780px) {
  .visit-counter span {
    display: none;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    right: 14px;
    width: min(250px, calc(100vw - 28px));
    display: none;
    padding: 10px;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(2, 10, 7, 0.96);
  }

  .nav-links.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    min-height: 700px;
  }

  .hero-image {
    object-position: center var(--hero-tablet-y);
  }

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

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

  .partner-card {
    min-height: 164px;
    padding: 15px;
    grid-template-columns: 1fr;
    align-content: start;
    text-align: center;
  }

  .partner-logo {
    width: 56px;
    height: 56px;
    margin: 0 auto;
  }

  .partner-copy strong {
    font-size: 14px;
  }

  .partner-copy small {
    font-size: 10px;
  }

  .partner-cta {
    left: 14px;
    right: 14px;
    justify-content: center;
    gap: 9px;
  }

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

/* Mobile */
@media (max-width: 520px) {
  .shell {
    padding-top: 84px;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .hero {
    min-height: 640px;
    border-radius: 26px;
  }

  .hero-image {
    object-position: center var(--hero-mobile-y);
  }

  .hero-content {
    left: 16px;
    right: 16px;
    bottom: 24px;
  }

  .hero h1 {
    font-size: clamp(52px, 16vw, 82px);
  }

  .hero-subline {
    font-size: 9px;
    letter-spacing: 0.07em;
  }

  .identity-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .identity-card {
    min-height: 100px;
    padding: 15px;
  }

  .identity-card strong {
    font-size: 12px;
  }

  .section-panel {
    padding: 24px 16px;
  }

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

  .partner-card {
    min-height: 172px;
    padding: 13px 10px;
    border-radius: 20px;
  }

  .partner-logo {
    width: 52px;
    height: 52px;
  }

  .partner-copy strong {
    margin-bottom: 5px;
    font-size: 13px;
  }

  .partner-copy small {
    font-size: 9px;
    line-height: 1.35;
  }

  .partner-cta {
    font-size: 9px;
    opacity: 1;
    transform: none;
  }

  .partner-card:hover .partner-copy,
  .partner-card:focus-visible .partner-copy {
    transform: none;
  }

  .book-actions {
    grid-template-columns: 76px 1fr 76px;
  }

  .vote-button {
    flex-direction: column;
    gap: 3px;
  }

  .vote-icon svg {
    width: 19px;
    height: 19px;
  }

  .vote-label {
    font-size: 8px;
  }

  .mail-actions {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: auto 1fr;
  }

  .footer-right {
    grid-column: 1 / -1;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid var(--line);
  }
}


/* =========================================================
   ACCUEIL V1.4 — CARBON, ACQUISITION ET HEADER PREMIUM
   ========================================================= */

body {
  background:
    radial-gradient(circle at 84% 5%, rgba(85, 230, 149, .08), transparent 32rem),
    radial-gradient(circle at 5% 42%, rgba(154, 215, 245, .045), transparent 34rem),
    linear-gradient(145deg, #06100c, #101916 52%, #07100d);
}

body::before {
  content: "";
  position: fixed;
  z-index: -2;
  inset: 0;
  pointer-events: none;
  opacity: .15;
  background:
    linear-gradient(45deg, rgba(255,255,255,.032) 25%, transparent 25% 75%, rgba(255,255,255,.032) 75%),
    linear-gradient(45deg, rgba(0,0,0,.24) 25%, transparent 25% 75%, rgba(0,0,0,.24) 75%);
  background-size: 14px 14px;
  background-position: 0 0, 7px 7px;
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.72) 68%, transparent 100%);
}

.site-header {
  background:
    linear-gradient(180deg, rgba(5, 13, 9, .92), rgba(5, 13, 9, .76));
  backdrop-filter: blur(16px) saturate(125%);
  border-bottom-color: rgba(85,230,149,.13);
  box-shadow:
    0 12px 45px rgba(0,0,0,.22),
    inset 0 -1px 0 rgba(255,255,255,.025);
}

.site-header::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(85,230,149,.6), rgba(154,215,245,.32), transparent);
  opacity: .65;
  filter: drop-shadow(0 0 7px rgba(85,230,149,.45));
  animation: headerLightTravel 8s ease-in-out infinite alternate;
}

.site-header .brand {
  position: relative;
}

.site-header .brand::before {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(85,230,149,.18), transparent 68%);
  opacity: .7;
  animation: brandGlowPulse 4.5s ease-in-out infinite;
}

.site-header .brand img {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 9px rgba(85,230,149,.32));
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: -8px;
  height: 1px;
  background: linear-gradient(90deg, var(--green), var(--blue));
  transition: left .22s ease, right .22s ease, opacity .22s ease;
  opacity: 0;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  left: 10%;
  right: 10%;
  opacity: 1;
}

.visit-counter {
  background:
    linear-gradient(145deg, rgba(85,230,149,.045), rgba(255,255,255,.018));
  box-shadow: inset 0 0 18px rgba(85,230,149,.025);
}

.hero {
  box-shadow:
    0 34px 90px rgba(0,0,0,.38),
    0 0 0 1px rgba(85,230,149,.055),
    0 0 46px rgba(85,230,149,.045);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(120deg, transparent 0 64%, rgba(85,230,149,.045) 77%, transparent 91%);
  mix-blend-mode: screen;
}

.section-panel {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 8%, rgba(85,230,149,.055), transparent 23rem),
    linear-gradient(145deg, rgba(17,27,23,.96), rgba(7,14,11,.985));
}

.section-panel::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: 55%;
  height: 135%;
  right: -23%;
  top: -28%;
  opacity: .12;
  pointer-events: none;
  border-radius: 50%;
  background:
    linear-gradient(45deg, rgba(255,255,255,.035) 25%, transparent 25% 75%, rgba(255,255,255,.035) 75%),
    linear-gradient(45deg, rgba(0,0,0,.27) 25%, transparent 25% 75%, rgba(0,0,0,.27) 75%);
  background-size: 12px 12px;
  background-position: 0 0, 6px 6px;
  transform: rotate(9deg);
}

.section-panel > * {
  position: relative;
  z-index: 1;
}

#bons-plans::before,
#contact::before {
  opacity: .07;
}

.resource-promo-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, .97fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(30px, 5vw, 62px);
}

.resource-promo-panel::before {
  width: 70%;
  right: -28%;
  opacity: .22;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--green);
  font: 600 10px Orbitron, sans-serif;
  letter-spacing: .16em;
}

.resource-promo-copy h2 {
  max-width: 740px;
  margin: 0;
  font: 600 clamp(32px, 4.3vw, 52px) Orbitron, sans-serif;
  line-height: 1.1;
}

.resource-promo-copy > p {
  max-width: 660px;
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.home-platform-selector {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.home-platform {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid rgba(190,211,201,.16);
  border-radius: 999px;
  background: rgba(255,255,255,.018);
  color: #aebeb6;
  font: 700 10px Inter, sans-serif;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}

.home-platform:hover,
.home-platform:focus-visible,
.home-platform.is-selected {
  transform: translateY(-2px);
  border-color: rgba(85,230,149,.58);
  background: rgba(85,230,149,.07);
  color: #effaf4;
  box-shadow: 0 0 18px rgba(85,230,149,.08);
  outline: none;
}

.resource-promo-points {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: #a9bbb2;
  font-size: 10px;
}

.resource-promo-cta {
  width: max-content;
  margin-top: 24px;
  text-decoration: none;
}

.resource-promo-preview {
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(85,230,149,.22);
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(6,14,10,.86), rgba(15,27,21,.88));
  box-shadow:
    0 30px 80px rgba(0,0,0,.32),
    inset 0 0 34px rgba(85,230,149,.025);
}

.resource-format-chip {
  width: max-content;
  margin-bottom: 12px;
  padding: 7px 10px;
  border: 1px solid rgba(85,230,149,.2);
  border-radius: 999px;
  color: var(--green-soft);
  font: 600 8px Orbitron, sans-serif;
  letter-spacing: .08em;
}

.resource-format-frame {
  width: 100%;
  aspect-ratio: var(--resource-ratio);
  min-height: 190px;
  max-height: 430px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(190,211,201,.14);
  border-radius: 20px;
  background: #020604;
  transition: aspect-ratio .32s ease;
}

.resource-preview-carbon {
  width: 100%;
  height: 100%;
  min-height: 190px;
  padding: 24px;
  display: grid;
  place-items: center;
  align-content: center;
  background:
    linear-gradient(45deg, rgba(255,255,255,.026) 25%, transparent 25% 75%, rgba(255,255,255,.026) 75%),
    linear-gradient(45deg, rgba(0,0,0,.24) 25%, transparent 25% 75%, rgba(0,0,0,.24) 75%),
    radial-gradient(circle at 78% 22%, rgba(85,230,149,.25), transparent 31%),
    linear-gradient(145deg, #06100c, #14291d);
  background-size: 12px 12px, 12px 12px, auto, auto;
  background-position: 0 0, 6px 6px, 0 0, 0 0;
}

.resource-preview-carbon img {
  width: clamp(38px, 7vw, 64px);
  height: auto;
  filter: drop-shadow(0 0 16px rgba(85,230,149,.34));
}

.resource-preview-carbon strong {
  margin-top: 16px;
  color: #f4f8f6;
  font: 700 clamp(21px, 4vw, 44px) Orbitron, sans-serif;
  letter-spacing: .08em;
}

.resource-preview-carbon small {
  margin-top: 7px;
  color: #b9c8c1;
  font: 600 clamp(7px, 1.2vw, 11px) Orbitron, sans-serif;
  letter-spacing: .16em;
}

.resource-preview-note {
  display: block;
  margin-top: 12px;
  color: #7e9087;
  text-align: center;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(85,230,149,.68);
  box-shadow:
    0 0 0 3px rgba(85,230,149,.055),
    0 0 22px rgba(85,230,149,.045);
  outline: none;
}

@keyframes headerLightTravel {
  from { transform: translateX(-4%); opacity: .35; }
  to   { transform: translateX(4%); opacity: .8; }
}

@keyframes brandGlowPulse {
  0%, 100% { transform: scale(.92); opacity: .45; }
  50%      { transform: scale(1.08); opacity: .8; }
}

@media (prefers-reduced-motion: reduce) {
  .site-header::before,
  .site-header .brand::before {
    animation: none;
  }
}

@media (max-width: 940px) {
  .resource-promo-panel {
    grid-template-columns: 1fr;
  }

  .resource-promo-preview {
    width: 100%;
  }
}

@media (max-width: 700px) {
  body::before {
    opacity: .08;
    background-size: 16px 16px;
  }

  .site-header::before {
    left: 0;
    right: 0;
  }

  .visit-counter {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .resource-promo-panel {
    padding: 26px 17px;
  }

  .resource-promo-copy h2 {
    font-size: clamp(30px, 9vw, 40px);
  }

  .home-platform-selector {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-platform {
    width: 100%;
  }

  .resource-promo-points {
    display: grid;
  }

  .resource-promo-cta {
    width: 100%;
  }

  .resource-format-frame {
    min-height: 170px;
    max-height: 320px;
  }

  .resource-preview-carbon {
    min-height: 170px;
  }
}


/* =========================================================
   ACCUEIL V1.4.1 — HERO, APERÇU ET FOOTER
   ========================================================= */

/* Zone JORIS : matière Carbon très légère + lumière verte */
.hero-content {
  isolation: isolate;
}

.hero-content::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  bottom: -28px;
  width: min(92%, 760px);
  height: 310px;
  transform: translateX(-50%);
  border-radius: 48% 52% 20px 20px / 28% 28% 20px 20px;
  background:
    linear-gradient(45deg, rgba(255,255,255,.026) 25%, transparent 25% 75%, rgba(255,255,255,.026) 75%),
    linear-gradient(45deg, rgba(0,0,0,.25) 25%, transparent 25% 75%, rgba(0,0,0,.25) 75%),
    radial-gradient(circle at 50% 34%, rgba(85,230,149,.15), transparent 56%),
    linear-gradient(to top, rgba(3,10,7,.76), rgba(3,10,7,.08));
  background-size: 12px 12px, 12px 12px, auto, auto;
  background-position: 0 0, 6px 6px, 0 0, 0 0;
  opacity: .62;
  mask-image: linear-gradient(to top, #000 0 62%, transparent 100%);
  pointer-events: none;
}

.hero-title {
  text-shadow:
    0 0 22px rgba(85,230,149,.12),
    0 8px 28px rgba(0,0,0,.38);
}

.hero-subline {
  position: relative;
  width: max-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 0 24px;
}

.hero-subline::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(85,230,149,.38), transparent);
  filter: drop-shadow(0 0 6px rgba(85,230,149,.3));
}

.hero-cta {
  background:
    linear-gradient(135deg, rgba(85,230,149,.08), rgba(154,215,245,.045));
  box-shadow:
    inset 0 0 18px rgba(85,230,149,.025),
    0 0 20px rgba(85,230,149,.04);
}

.hero-cta:hover,
.hero-cta:focus-visible {
  border-color: rgba(85,230,149,.82);
  background:
    linear-gradient(135deg, rgba(85,230,149,.16), rgba(154,215,245,.08));
  box-shadow:
    0 0 28px rgba(85,230,149,.13),
    inset 0 0 22px rgba(85,230,149,.04);
}

/* Aperçu : emplacement client évident, signature Ascendra discrète */
.resource-preview-carbon {
  position: relative;
}

.resource-logo-placeholder {
  min-width: 122px;
  min-height: 44px;
  padding: 0 14px;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(213,245,226,.34);
  border-radius: 12px;
  color: rgba(238,250,244,.76);
  background: rgba(0,0,0,.15);
  font: 600 clamp(8px,1.2vw,11px) Orbitron,sans-serif;
  letter-spacing: .12em;
  box-shadow: inset 0 0 18px rgba(85,230,149,.025);
}

.resource-ascendra-signature {
  position: absolute;
  right: 14px;
  bottom: 12px;
  width: 22px;
  height: 22px;
  object-fit: contain;
  opacity: .13;
  filter: grayscale(.2) drop-shadow(0 0 5px rgba(85,230,149,.15));
}

.resource-preview-carbon strong {
  margin-top: 22px;
}

/* Footer aligné sur l’identité lumineuse du header */
.premium-footer {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(7,16,12,.78), rgba(5,12,9,.94));
  backdrop-filter: blur(16px) saturate(125%);
  border-color: rgba(85,230,149,.15);
  box-shadow:
    0 -14px 42px rgba(0,0,0,.20),
    inset 0 1px 0 rgba(255,255,255,.025);
}

.premium-footer::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: -1px;
  height: 1px;
  background:
    linear-gradient(90deg, transparent, rgba(85,230,149,.62), rgba(154,215,245,.32), transparent);
  opacity: .70;
  filter: drop-shadow(0 0 7px rgba(85,230,149,.43));
  animation: footerLightTravel 8s ease-in-out infinite alternate;
}

.premium-footer::after {
  content: "";
  position: absolute;
  left: -10%;
  bottom: -75px;
  width: 260px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(85,230,149,.09), transparent 70%);
  pointer-events: none;
}

.premium-footer > * {
  position: relative;
  z-index: 1;
}

.premium-footer .footer-home {
  position: relative;
}

.premium-footer .footer-home::before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(85,230,149,.16), transparent 69%);
  animation: brandGlowPulse 4.5s ease-in-out infinite;
}

.premium-footer .footer-home img {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 8px rgba(85,230,149,.30));
}

.footer-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #9eb2a8;
  white-space: nowrap;
}

.footer-live i {
  color: rgba(154,215,245,.46);
  font-style: normal;
}

.footer-live strong {
  color: var(--green);
  font: 700 11px Orbitron,sans-serif;
  text-shadow: 0 0 9px rgba(85,230,149,.30);
}

.premium-footer a {
  position: relative;
  transition: color .2s ease, text-shadow .2s ease;
}

.premium-footer a:hover,
.premium-footer a:focus-visible {
  color: var(--green-soft);
  text-shadow: 0 0 10px rgba(85,230,149,.20);
  outline: none;
}

@keyframes footerLightTravel {
  from { transform: translateX(-4%); opacity: .36; }
  to   { transform: translateX(4%); opacity: .82; }
}

@media (prefers-reduced-motion: reduce) {
  .premium-footer::before,
  .premium-footer .footer-home::before {
    animation: none;
  }
}

@media (max-width: 700px) {
  .hero-content::before {
    bottom: -18px;
    width: 108%;
    height: 255px;
    opacity: .47;
  }

  .hero-subline {
    width: auto;
    padding: 0 10px;
  }

  .resource-logo-placeholder {
    min-width: 104px;
    min-height: 38px;
  }

  .premium-footer {
    gap: 18px;
  }

  .premium-footer .footer-center {
    display: grid;
    justify-items: center;
    gap: 9px;
  }

  .footer-live {
    white-space: normal;
    justify-content: center;
    text-align: center;
  }
}


/* =========================================================
   ACCUEIL V1.4.4 — CORRECTIF CUMULATIF
   ========================================================= */

/* Hero : carbone fondu et JORIS davantage mis en valeur */
.hero-content::before {
  left: 50%;
  bottom: -42px;
  width: min(76%, 700px);
  height: 270px;
  transform: translateX(-50%);
  border-radius: 50%;
  background:
    radial-gradient(ellipse at center,
      rgba(85,230,149,.12) 0%,
      rgba(7,18,13,.40) 38%,
      rgba(3,9,6,.15) 63%,
      transparent 80%),
    repeating-linear-gradient(135deg,
      rgba(255,255,255,.022) 0 1px,
      transparent 1px 8px),
    repeating-linear-gradient(45deg,
      rgba(0,0,0,.15) 0 1px,
      transparent 1px 8px);
  background-size: auto, 12px 12px, 12px 12px;
  opacity: .72;
  mask-image: radial-gradient(ellipse at center, #000 0 48%, rgba(0,0,0,.52) 67%, transparent 82%);
  pointer-events: none;
}

.hero-title {
  position: relative;
  color: #fbfffc;
  -webkit-text-stroke: 1px rgba(85,230,149,.12);
  text-shadow:
    0 0 8px rgba(85,230,149,.25),
    0 0 25px rgba(85,230,149,.15),
    0 12px 30px rgba(0,0,0,.44);
}

.hero-title::after {
  content: "";
  position: absolute;
  left: 20%;
  right: 20%;
  bottom: -10px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(85,230,149,.78), transparent);
  box-shadow: 0 0 12px rgba(85,230,149,.34);
  opacity: .58;
}

.hero-subline {
  padding: 0;
  background: none;
}

.hero-subline::before {
  display: none !important;
}

/* Header : survol vert clair et lisible */
.nav-links a {
  padding: 10px 13px;
  border-radius: 12px;
  transition:
    color .2s ease,
    background .2s ease,
    box-shadow .2s ease,
    transform .2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #effff5;
  background: rgba(85,230,149,.08);
  box-shadow:
    inset 0 0 0 1px rgba(85,230,149,.17),
    0 0 19px rgba(85,230,149,.09);
  transform: translateY(-1px);
  outline: none;
}

/* Logos plateformes + FREE */
.home-platform {
  min-height: 48px;
  padding: 0 12px;
  display: grid;
  grid-template-columns: 25px minmax(0,1fr) auto;
  align-items: center;
  gap: 8px;
  border-radius: 13px;
  text-align: left;
}

.home-platform .platform-icon {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  font: 800 10px Inter,sans-serif;
}

.platform-icon-youtube { background:#e31d2b; }
.platform-icon-twitch { background:#6441a5; }
.platform-icon-discord { background:#5865f2; }
.platform-icon-instagram { background:linear-gradient(135deg,#feda75,#d62976,#4f5bd5); }
.platform-icon-x { background:#111; border:1px solid rgba(255,255,255,.18); }
.platform-icon-linkedin { background:#0a66c2; }

.home-platform .platform-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-platform small {
  color: var(--green);
  font: 700 8px Orbitron,sans-serif;
  letter-spacing: .05em;
}

.home-platform.is-selected small {
  color: #c8ffdc;
}

/* CTA ressources : grand, centré, bordures propres */
.resource-promo-cta {
  width: min(100%, 430px);
  min-height: 64px;
  margin: 30px auto 0;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  border: 1px solid rgba(85,230,149,.68);
  border-radius: 18px;
  background: linear-gradient(135deg, #65dda0, #8ce1b8) !important;
  color: #05110a !important;
  box-shadow:
    0 12px 34px rgba(0,0,0,.23),
    0 0 24px rgba(85,230,149,.11);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  white-space: normal;
}

.resource-promo-cta:hover,
.resource-promo-cta:focus-visible {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #7ce7ae, #53cc8e) !important;
  border-color: rgba(137,255,190,.96);
  box-shadow:
    0 18px 42px rgba(0,0,0,.28),
    0 0 31px rgba(85,230,149,.19);
  color: #031008 !important;
  outline: none;
}

/* Tous les boutons principaux restent dans les nuances vertes */
.primary-button,
.contact-submit,
.checkout-submit,
.cart-continue,
.resource-primary {
  background: linear-gradient(135deg, #68dda1, #8ce1b8) !important;
  color: #05110a !important;
  border-color: rgba(85,230,149,.62) !important;
}

.primary-button:hover,
.contact-submit:hover,
.checkout-submit:hover,
.cart-continue:hover,
.resource-primary:hover,
.primary-button:focus-visible,
.contact-submit:focus-visible,
.checkout-submit:focus-visible,
.cart-continue:focus-visible,
.resource-primary:focus-visible {
  background: linear-gradient(135deg, #7ee8b1, #54cd8f) !important;
  color: #031008 !important;
  box-shadow:
    0 0 28px rgba(85,230,149,.18),
    0 12px 34px rgba(0,0,0,.20) !important;
}

/* Utilitaire largeur pleine, referencee sur plusieurs pages (formulaires,
   boutons boutique) mais jusqu'ici sans regle CSS associee. */
.resource-primary.full {
  width: 100%;
}

/* Badge FREE dans l’aperçu */
.resource-format-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
}

.resource-format-chip::after {
  content: "FREE";
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(85,230,149,.14);
  color: var(--green);
  font: 700 7px Orbitron,sans-serif;
}

@media (max-width:700px) {
  .hero-title::after {
    left: 12%;
    right: 12%;
  }

  .home-platform-selector {
    grid-template-columns: 1fr;
  }

  .resource-promo-cta {
    width: 100%;
    min-height: 60px;
    padding: 0 20px;
  }
}


/* =========================================================
   ASCENDRA V1.6.6 — CORRECTIF CONSOLIDÉ
   Base réelle du site, sans empilement V1.6.x.
   ========================================================= */

/* ---------------------------------------------------------
   1. FOND CARBON LÉGER ET STABLE
   --------------------------------------------------------- */

html {
  min-height: 100%;
  background: #040a07;
}

body {
  min-height: 100%;
  background: transparent !important;
}

.ascendra-universal-background {
  position: fixed;
  z-index: -2 !important;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  contain: strict;
  background:
    radial-gradient(circle at 76% 14%, rgba(85,230,149,.075), transparent 31rem),
    linear-gradient(145deg, #040a07 0%, #09130e 49%, #050c08 100%);
}

.ascendra-bg-carbon {
  position: absolute;
  inset: 0;
  opacity: .15;
  background:
    linear-gradient(45deg,
      rgba(255,255,255,.020) 25%,
      transparent 25% 75%,
      rgba(255,255,255,.020) 75%),
    linear-gradient(45deg,
      rgba(0,0,0,.17) 25%,
      transparent 25% 75%,
      rgba(0,0,0,.17) 75%);
  background-size: 18px 18px;
  background-position: 0 0, 9px 9px;
  animation: none !important;
  transform: none !important;
}

.ascendra-bg-glow {
  position: absolute;
  width: min(58vw, 700px);
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(30px);
  animation: none !important;
}

.ascendra-bg-glow-a {
  top: -25%;
  right: -15%;
  opacity: .19;
  background: radial-gradient(circle, rgba(85,230,149,.18), transparent 72%);
}

.ascendra-bg-glow-b {
  left: -22%;
  bottom: -36%;
  opacity: .11;
  background: radial-gradient(circle, rgba(47,145,88,.13), transparent 72%);
}

.ascendra-bg-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(3,8,5,.07), rgba(3,8,5,.23) 54%, rgba(3,8,5,.42)),
    radial-gradient(ellipse at center, transparent 0 40%, rgba(2,7,4,.21) 74%, rgba(2,7,4,.48) 100%);
}

/* ---------------------------------------------------------
   2. HEADER FIXE, LISIBLE ET FONCTIONNEL
   --------------------------------------------------------- */

body > .site-header {
  position: fixed !important;
  inset: 0 0 auto !important;
  z-index: 1000 !important;
  pointer-events: auto !important;
  background:
    linear-gradient(180deg, rgba(4,12,8,.97), rgba(4,12,8,.93)),
    linear-gradient(45deg,
      rgba(255,255,255,.018) 25%,
      transparent 25% 75%,
      rgba(255,255,255,.018) 75%),
    linear-gradient(45deg,
      rgba(0,0,0,.11) 25%,
      transparent 25% 75%,
      rgba(0,0,0,.11) 75%) !important;
  background-size: auto, 12px 12px, 12px 12px !important;
  background-position: 0 0, 0 0, 6px 6px !important;
  border-bottom: 1px solid rgba(85,230,149,.15) !important;
  backdrop-filter: none !important;
}

body > .site-header .navbar,
body > .site-header .brand,
body > .site-header .nav-links,
body > .site-header .nav-links a,
body > .site-header .menu-toggle {
  pointer-events: auto !important;
}

.site-header .nav-links {
  align-items: center;
  gap: 6px !important;
}

.site-header .nav-links a {
  min-height: 40px;
  padding: 0 14px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent !important;
  border-radius: 12px;
  color: #c9d4ce !important;
  background: transparent !important;
  background-image: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  -webkit-text-fill-color: currentColor !important;
  font: 600 12px Inter, sans-serif !important;
  letter-spacing: .01em !important;
  text-shadow: 0 1px 1px rgba(0,0,0,.75);
  transition:
    color .18s ease,
    background .18s ease,
    border-color .18s ease,
    box-shadow .18s ease,
    transform .18s ease;
}

.site-header .nav-links a:hover,
.site-header .nav-links a:focus-visible,
.site-header .nav-links a[aria-current="page"] {
  color: #effff5 !important;
  background: rgba(85,230,149,.075) !important;
  border-color: rgba(85,230,149,.25) !important;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.012),
    0 0 16px rgba(85,230,149,.08) !important;
  transform: translateY(-1px);
  outline: none;
}

/* ---------------------------------------------------------
   3. HERO ET IDENTITÉ
   --------------------------------------------------------- */

.hero-title {
  color: #f7fff9;
  background:
    linear-gradient(180deg,
      #ffffff 0%,
      #e8fff1 43%,
      #a4f1c1 72%,
      #55e695 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 8px 22px rgba(0,0,0,.34));
  text-shadow: none !important;
}

/* ---------------------------------------------------------
   4. RESSOURCE GRATUITE
   --------------------------------------------------------- */

.resource-promo-panel {
  grid-template-columns: minmax(0, 1fr) minmax(360px, .92fr) !important;
  grid-template-areas:
    "heading heading"
    "copy preview"
    "action action";
  row-gap: clamp(26px, 3.2vw, 44px) !important;
}

.resource-promo-heading {
  grid-area: heading;
  display: grid !important;
  justify-items: center;
  gap: 12px !important;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
}

.resource-promo-heading .section-kicker {
  margin: 0 !important;
  white-space: normal !important;
  text-align: center;
}

.resource-promo-heading h2 {
  width: min(100%, 920px);
  margin: 0 auto !important;
  padding: 0 clamp(8px, 2vw, 24px);
  white-space: normal !important;
  text-align: center;
  text-wrap: balance;
  font-size: clamp(34px, 4.2vw, 56px) !important;
  line-height: 1.08 !important;
}

.resource-promo-copy {
  grid-area: copy;
  align-self: center;
}

.resource-promo-preview {
  grid-area: preview;
  align-self: center;
}

.resource-promo-action {
  grid-area: action;
  width: 100%;
  display: flex;
  justify-content: center;
}

.resource-promo-action .resource-promo-cta {
  width: min(100%, 480px) !important;
  min-height: 64px;
  margin: 0 auto !important;
  justify-content: center !important;
  text-align: center !important;
}

/* ---------------------------------------------------------
   5. LOGOS PARTENAIRES ET RÉSEAUX
   --------------------------------------------------------- */

.home-platform {
  grid-template-columns: 30px minmax(0,1fr) auto !important;
  min-height: 54px !important;
}

.home-platform .platform-icon {
  width: 30px !important;
  height: 30px !important;
  padding: 5px;
  overflow: hidden;
  display: grid !important;
  place-items: center !important;
  border-radius: 9px !important;
  background: rgba(255,255,255,.035) !important;
  border: 1px solid rgba(255,255,255,.08);
}

.home-platform .platform-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.platform-icon-x {
  background: rgba(255,255,255,.88) !important;
}

.partner-bricks img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 12px;
}

/* ---------------------------------------------------------
   6. PANIER : TEXTE, OVERLAY ET ORDRE DES COUCHES
   --------------------------------------------------------- */

.cart-fab {
  display: grid !important;
  grid-template-columns: 24px auto auto;
  align-items: center;
  gap: 10px;
}

.cart-fab > span {
  font: 600 13px Inter, sans-serif !important;
  letter-spacing: .01em;
}

.cart-fab-icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--green, #55e695);
}

.cart-overlay {
  z-index: 1400 !important;
  background: rgba(0,0,0,.72) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.cart-drawer {
  z-index: 1500 !important;
}

body.cart-open .site-header {
  z-index: 900 !important;
}

body.cart-open .cart-fab {
  opacity: 0;
  pointer-events: none;
}

/* ---------------------------------------------------------
   7. RETOUR EN HAUT : MOBILE UNIQUEMENT
   --------------------------------------------------------- */

.back-to-top {
  display: none !important;
}

@media (max-width: 700px) {
  .back-to-top {
    position: fixed;
    z-index: 1200;
    right: 14px;
    bottom: 78px;
    width: 44px;
    height: 44px;
    display: grid !important;
    place-items: center;
    border: 1px solid rgba(85,230,149,.42);
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(11,25,18,.94), rgba(5,14,9,.97));
    color: #dffff0;
    font-size: 21px;
    font-weight: 800;
    cursor: pointer;
    box-shadow:
      0 12px 30px rgba(0,0,0,.28),
      0 0 18px rgba(85,230,149,.07);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition:
      opacity .2s ease,
      visibility .2s ease,
      transform .2s ease;
  }

  .back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-header .nav-links {
    gap: 8px !important;
  }

  .site-header .nav-links a {
    width: 100%;
    min-height: 46px;
    justify-content: flex-start;
    padding: 0 16px !important;
    font-size: 13px !important;
  }

  .resource-promo-panel {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "heading"
      "copy"
      "preview"
      "action";
  }

  .resource-promo-heading h2 {
    width: 100%;
    padding: 0;
    font-size: clamp(30px, 9vw, 40px) !important;
  }

  .resource-promo-action .resource-promo-cta {
    width: 100% !important;
    min-height: 60px;
  }

  .ascendra-bg-carbon {
    opacity: .11;
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
  }

  .ascendra-bg-glow {
    filter: blur(22px);
    opacity: .10;
  }
}
/* =========================================================
   V1.6.7 — CORRECTION CANONIQUE HEADER CARBON + HERO JORIS
   Ce bloc reste volontairement en fin de fichier afin de
   neutraliser les anciennes surcharges sans modifier le reste.
   ========================================================= */

/* Header : matière Carbon visible sur toute la largeur. */
body > .site-header {
  position: fixed !important;
  inset: 0 0 auto !important;
  z-index: 1000 !important;
  pointer-events: auto !important;
  isolation: isolate;
  background-color: #050c09 !important;
  background-image:
    linear-gradient(180deg, rgba(4, 13, 9, .78), rgba(3, 10, 7, .94)),
    repeating-linear-gradient(135deg,
      rgba(116, 255, 174, .085) 0 1px,
      transparent 1px 7px),
    repeating-linear-gradient(45deg,
      rgba(0, 0, 0, .32) 0 1px,
      transparent 1px 7px),
    radial-gradient(ellipse at 14% 0%, rgba(85, 230, 149, .15), transparent 38%) !important;
  background-size: auto, 14px 14px, 14px 14px, auto !important;
  background-position: 0 0, 0 0, 7px 7px, 0 0 !important;
  border-bottom: 1px solid rgba(85, 230, 149, .28) !important;
  box-shadow:
    0 10px 32px rgba(0, 0, 0, .34),
    inset 0 -1px 0 rgba(199, 255, 222, .035),
    0 1px 18px rgba(85, 230, 149, .055) !important;
  backdrop-filter: blur(12px) saturate(112%) !important;
  -webkit-backdrop-filter: blur(12px) saturate(112%) !important;
}

body > .site-header::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: -1 !important;
  pointer-events: none !important;
  opacity: .65 !important;
  background:
    linear-gradient(105deg,
      transparent 0 28%,
      rgba(199, 255, 222, .055) 42%,
      transparent 58% 100%) !important;
  transform: none !important;
  animation: none !important;
}

body > .site-header::after {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: -1px;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg,
    transparent,
    rgba(85, 230, 149, .62) 24%,
    rgba(198, 255, 221, .82) 50%,
    rgba(85, 230, 149, .62) 76%,
    transparent);
  box-shadow: 0 0 10px rgba(85, 230, 149, .32);
}

body > .site-header .navbar,
body > .site-header .brand,
body > .site-header .nav-links,
body > .site-header .nav-links a,
body > .site-header .menu-toggle {
  position: relative;
  z-index: 2;
  pointer-events: auto !important;
}

body > .site-header .nav-links a {
  color: #e2eee7 !important;
  -webkit-text-fill-color: #e2eee7 !important;
  background: rgba(1, 7, 4, .16) !important;
  border-color: rgba(189, 255, 216, .055) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .92) !important;
  font-weight: 650 !important;
  letter-spacing: .015em !important;
}

body > .site-header .nav-links a:hover,
body > .site-header .nav-links a:focus-visible,
body > .site-header .nav-links a[aria-current="page"] {
  color: #f4fff8 !important;
  -webkit-text-fill-color: #f4fff8 !important;
  background: linear-gradient(180deg,
    rgba(85, 230, 149, .16),
    rgba(85, 230, 149, .075)) !important;
  border-color: rgba(85, 230, 149, .42) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .055),
    0 0 18px rgba(85, 230, 149, .13) !important;
}

/* Hero : le HTML réel utilise maintenant cette classe. Le sélecteur
   de secours garantit aussi le rendu si le titre est régénéré. */
.hero-content > h1.hero-title,
.hero-content > h1:first-of-type {
  position: relative;
  display: inline-block;
  color: #82f2ad !important;
  background-image: linear-gradient(180deg,
    #f5fff8 0%,
    #caffdc 25%,
    #72eea4 58%,
    #22b967 100%) !important;
  background-size: 100% 100% !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  -webkit-text-stroke: 1px rgba(183, 255, 212, .18) !important;
  text-shadow: none !important;
  filter:
    drop-shadow(0 0 5px rgba(153, 255, 193, .54))
    drop-shadow(0 0 18px rgba(85, 230, 149, .42))
    drop-shadow(0 12px 25px rgba(0, 0, 0, .72)) !important;
}

.hero-content > h1.hero-title::after,
.hero-content > h1:first-of-type::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -8px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg,
    transparent,
    rgba(85, 230, 149, .82),
    rgba(220, 255, 234, .92),
    rgba(85, 230, 149, .82),
    transparent);
  box-shadow: 0 0 13px rgba(85, 230, 149, .52);
  opacity: .88;
}

@media (max-width: 900px) {
  body > .site-header {
    background-image:
      linear-gradient(180deg, rgba(4, 13, 9, .91), rgba(3, 10, 7, .97)),
      repeating-linear-gradient(135deg,
        rgba(116, 255, 174, .065) 0 1px,
        transparent 1px 8px),
      repeating-linear-gradient(45deg,
        rgba(0, 0, 0, .28) 0 1px,
        transparent 1px 8px) !important;
    background-size: auto, 16px 16px, 16px 16px !important;
  }

  body > .site-header .nav-links {
    background:
      linear-gradient(180deg, rgba(4, 13, 9, .985), rgba(3, 10, 7, .99)),
      repeating-linear-gradient(135deg,
        rgba(116, 255, 174, .055) 0 1px,
        transparent 1px 8px) !important;
  }
}

/* V1.8.3 — logos sociaux entièrement visibles et optiquement alignés */
.home-platform .platform-icon {
  width: 38px !important;
  height: 38px !important;
  padding: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.home-platform .platform-icon img {
  width: 30px !important;
  height: 30px !important;
  max-width: 30px !important;
  max-height: 30px !important;
  object-fit: contain !important;
  object-position: center !important;
  border-radius: 7px;
}

.home-platform .platform-icon-twitch img {
  width: 23px !important;
  height: 29px !important;
  max-width: 23px !important;
  max-height: 29px !important;
  border-radius: 0 !important;
  clip-path: none !important;
  transform: none !important;
}

.home-platform .platform-icon-x img {
  width: 28px !important;
  height: 28px !important;
  border-radius: 0 !important;
}
