.public-hero[data-home-source] {
  /* Keep the next section in view on a standard desktop viewport. */
  min-height: min(710px, calc(100vh - 164px));
  padding: clamp(72px, 12vw, 180px) clamp(26px, 8vw, 150px);
  background: url('https://nanoxplore.com/wp-content/uploads/2025/10/NanoXplore_Accueil.jpg') center/cover no-repeat;
  isolation: isolate;
}
.public-hero[data-home-source]:before { display: none; }
.nx-home-hero-overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 9, 18, .82) 0%, rgba(8, 9, 18, .48) 43%, rgba(8, 9, 18, .05) 85%); }
.public-hero[data-home-source] .public-hero-copy { max-width: 680px; }
.public-hero[data-home-source] h1 { margin: 18px 0 26px; font-size: clamp(4rem, 8.3vw, 9.6rem); font-weight: 650; line-height: .86; text-transform: uppercase; }
.public-hero[data-home-source] p { max-width: 500px; color: #fff; font-size: clamp(1rem, 1.5vw, 1.35rem); line-height: 1.45; }
.public-hero[data-home-source] .public-button { margin-top: 40px; background: transparent; border-color: #fff; }
.public-hero[data-home-source] .public-button:hover { background: #7255b7; border-color: #7255b7; }
.nx-home-contract { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.nx-home-scroll { position: absolute; right: clamp(26px, 8vw, 150px); bottom: 28px; display: grid; width: 45px; height: 45px; place-items: center; border: 1px solid #fff; border-radius: 50%; color: #fff; font-size: 21px; }

.nx-home-updates { position: absolute; z-index: 1; top: 50%; right: clamp(25px, 7vw, 120px); width: min(32vw, 410px); min-width: 320px; padding: 25px; transform: translateY(-50%); background: rgba(43, 21, 94, .94); border: 1px solid rgba(212, 196, 255, .58); box-shadow: 0 22px 52px rgba(7, 4, 20, .38); backdrop-filter: blur(12px); }
.nx-home-updates header { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding-bottom: 18px; border-bottom: 1px solid rgba(255, 255, 255, .44); }
.nx-home-updates header span { color: #d7c9ff; font-size: 10px; font-weight: 900; letter-spacing: .16em; }
.nx-home-updates h2 { margin: 0; color: #fff; font-size: 1.55rem; line-height: 1; letter-spacing: -.05em; }
.nx-home-updates>div { display: grid; gap: 9px; margin-top: 18px; }
.nx-home-updates>div>a { display: grid; gap: 6px; padding: 13px 14px; background: #fff; color: #171326; transition: transform .2s, background .2s; }
.nx-home-updates>div>a:hover { background: #efeaff; transform: translateX(-4px); }
.nx-home-updates strong { font-size: 13px; line-height: 1.25; }
.nx-home-updates>div span { color: #7455bb; font-size: 12px; font-weight: 850; line-height: 1.2; }
.nx-home-updates>div span b,.nx-home-updates-all b { margin-left: 6px; }
.nx-home-updates-all { display: inline-flex; align-items: center; margin-top: 17px; color: #fff; font-size: 12px; font-weight: 850; }
.nx-home-updates-all:hover { color: #d7c9ff; }

.nx-home-identity { display: grid; grid-template-columns: minmax(280px, .9fr) minmax(430px, 1.1fr); gap: clamp(42px, 8vw, 145px); max-width: 1440px; margin: 0 auto; padding: clamp(78px, 10vw, 150px) clamp(25px, 6vw, 90px); background: #fff; }
.nx-home-video { position: relative; min-height: 500px; overflow: hidden; background: #17152c; }
.nx-home-video img { width: 100%; height: 100%; object-fit: cover; filter: contrast(.88) saturate(.78); }
.nx-home-video:after { content: ''; position: absolute; inset: 25%; border: 1px solid #ffffffad; border-radius: 50%; }
.nx-home-video span { position: absolute; bottom: 24px; left: 24px; color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.nx-home-identity h2 { margin: 0 0 42px; color: #17162d; font-size: clamp(2.3rem, 4.5vw, 5rem); line-height: .96; letter-spacing: -.075em; }
.nx-home-identity h3 { max-width: 590px; margin: 0 0 24px; font-size: 1.2rem; line-height: 1.35; }
.nx-home-identity p { max-width: 620px; color: #5c6170; font-size: 1rem; line-height: 1.65; }
.nx-home-identity a { display: inline-flex; gap: 14px; margin-top: 15px; color: #6949b5; font-weight: 800; }

.nx-home-counters { display: grid; grid-template-columns: repeat(4, 1fr); min-height: 154px; background: #000; color: #fff; padding: 0 clamp(70px, 14.5vw, 280px); }
.nx-home-counters div { display: flex; flex-direction: column; justify-content: center; padding: 0 clamp(18px, 3vw, 55px); border-left: 1px solid #ffffff85; }
.nx-home-counters div:first-child { border-left: 0; }
.nx-home-counters strong { display: block; color: #fff; font-size: clamp(2.4rem, 3vw, 2.8rem); font-weight: 400; line-height: 1; letter-spacing: -.04em; }
.nx-home-counters span { color: inherit; }
.nx-home-counters p { margin: 6px 0 0; color: #858585; font-size: 14px; font-weight: 400; }

.nx-home-values { padding: clamp(80px, 11vw, 160px) clamp(25px, 7vw, 130px); background: #f5f3fa; }
.nx-home-values header { display: grid; grid-template-columns: .72fr 1.3fr; gap: 45px; max-width: 1440px; margin: 0 auto 75px; }
.nx-home-values header span, .nx-home-feature span, .nx-home-expertise header>span, .nx-home-events span, .nx-home-news header>span, .nx-home-products>div>span { color: #7659bd; font-size: 11px; font-weight: 900; letter-spacing: .18em; }
.nx-home-values h2, .nx-home-feature h2, .nx-home-expertise h2, .nx-home-events h2, .nx-home-news h2, .nx-home-products h2 { margin: 0; color: #19162d; font-size: clamp(2.5rem, 5.2vw, 6.5rem); line-height: .91; letter-spacing: -.085em; }
.nx-home-values>div { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 1440px; margin: auto; border-top: 1px solid #d6cdea; }
.nx-home-values article { min-height: 320px; padding: 30px clamp(22px, 3.5vw, 58px); border-left: 1px solid #d6cdea; }
.nx-home-values article:first-child { border-left: 0; }
.nx-home-values article>span { color: #7659bd; font-weight: 800; }
.nx-home-values h3 { margin: 80px 0 15px; color: #241847; font-size: clamp(1.8rem, 3vw, 3.2rem); letter-spacing: -.06em; }
.nx-home-values p { max-width: 280px; color: #55576a; font-size: 17px; line-height: 1.45; }

.nx-home-feature { display: grid; grid-template-columns: 1.08fr .92fr; min-height: 620px; background: #201442; color: #fff; }
.nx-home-feature img { width: 100%; height: 100%; min-height: 500px; object-fit: cover; }
.nx-home-feature>div { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(50px, 9vw, 130px); }
.nx-home-feature h2 { margin: 20px 0 60px; color: #fff; }
.nx-home-feature p { max-width: 460px; color: #d8cfee; font-size: clamp(1.1rem, 1.7vw, 1.5rem); line-height: 1.35; }
.nx-home-feature .public-button { margin-top: 30px; border-color: #bda6ee; }

.nx-home-expertise { padding: clamp(80px, 10vw, 150px) clamp(25px, 7vw, 130px); background: #fff; }
.nx-home-expertise header { display: grid; grid-template-columns: .7fr 1.3fr; gap: 35px; max-width: 1440px; margin: auto; }
.nx-home-expertise header p { grid-column: 2; max-width: 680px; margin: 16px 0 65px; color: #5e6170; font-size: 17px; line-height: 1.55; }
.nx-home-sector-grid { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1440px; margin: auto; border-top: 1px solid #d8d8e0; }
.nx-home-sector-grid a { display: flex; flex-direction: column; min-height: 330px; padding: 25px; border-left: 1px solid #d8d8e0; transition: background .2s, color .2s; }
.nx-home-sector-grid a:first-child { border-left: 0; }
.nx-home-sector-grid a:hover { background: #251a4a; color: #fff; }
.nx-home-sector-grid b { color: #7556be; font-size: 11px; letter-spacing: .14em; }
.nx-home-sector-grid span { margin-top: auto; font-size: 15px; font-weight: 800; }
.nx-home-sector-grid em { margin-top: 8px; color: #7556be; font-size: 3.1rem; font-style: normal; font-weight: 800; letter-spacing: -.08em; }
.nx-home-sector-grid small { min-height: 45px; color: #687080; line-height: 1.45; }
.nx-home-sector-grid a:hover small { color: #d4c9ed; }

.nx-home-events { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(40px, 8vw, 140px); padding: clamp(80px, 10vw, 140px) clamp(25px, 7vw, 130px); background: #f4f1fa; }
.nx-home-events h2 { margin-top: 18px; font-size: clamp(2.5rem, 4.6vw, 5.5rem); }
.nx-home-event-list { border-top: 1px solid #d3c9e8; }
.nx-home-event-list article { display: grid; grid-template-columns: 120px 1fr; gap: 25px; padding: 27px 0; border-bottom: 1px solid #d3c9e8; }
.nx-home-event-list time { display: flex; gap: 10px; color: #291d4c; }
.nx-home-event-list time b { font-size: 3rem; line-height: .8; letter-spacing: -.08em; }
.nx-home-event-list time span { color: #7659bd; font-size: 10px; font-weight: 900; line-height: 1.1; letter-spacing: .1em; }
.nx-home-event-list h3 { margin: 0; font-size: 1.3rem; }.nx-home-event-list p { margin: 4px 0; color: #7659bd; font-weight: 700; }.nx-home-event-list small { color: #606575; line-height: 1.45; }

.nx-home-news { padding: clamp(80px, 10vw, 150px) clamp(25px, 7vw, 130px); background: #fff; }
.nx-home-news header { display: grid; grid-template-columns: .8fr 1.2fr auto; gap: 30px; align-items: start; max-width: 1440px; margin: auto auto 65px; }.nx-home-news header a { align-self: end; color: #6245aa; font-weight: 800; white-space: nowrap; }
.nx-home-news>div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1440px; margin: auto; }.nx-home-news-card { display: flex; flex-direction: column; min-height: 410px; color: #17162d; }.nx-home-news-card img,.nx-home-news-fallback { display: block; width: 100%; height: 230px; margin-bottom: 22px; object-fit: cover; background: linear-gradient(130deg,#251a4a,#7962b9); }.nx-home-news-card>span { color: #7759be; font-size: 10px; font-weight: 900; letter-spacing: .15em; }.nx-home-news-card h3 { margin: 12px 0; font-size: clamp(1.3rem, 2vw, 2rem); line-height: 1.04; letter-spacing: -.05em; }.nx-home-news-card b { margin-top: auto; color: #7255b7; font-size: 13px; }.nx-home-empty { color: #62697a; }

.nx-home-products { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(50px, 9vw, 145px); padding: clamp(80px, 10vw, 150px) clamp(25px, 7vw, 130px); background: #1e143c; color: #fff; }.nx-home-products h2 { margin-top: 18px; color: #fff; }.nx-home-product-links { border-top: 1px solid #ffffff3a; }.nx-home-product-links a { display: grid; grid-template-columns: .75fr 1.4fr auto; gap: 20px; align-items: center; min-height: 145px; border-bottom: 1px solid #ffffff3a; }.nx-home-product-links span { color: #bba9ea; font-size: 11px; font-weight: 900; letter-spacing: .14em; }.nx-home-product-links strong { font-size: clamp(1.2rem, 2vw, 2rem); line-height: 1.25; letter-spacing: -.045em; }.nx-home-product-links b { color: #bba9ea; font-size: 25px; }

@media (max-width: 1220px) {
  .nx-home-identity,.nx-home-feature,.nx-home-events,.nx-home-products { grid-template-columns: 1fr; }.nx-home-identity { gap: 50px; }.nx-home-video { min-height: 350px; }.nx-home-counters,.nx-home-values>div,.nx-home-sector-grid,.nx-home-news>div { grid-template-columns: repeat(2, 1fr); }.nx-home-values header,.nx-home-expertise header,.nx-home-news header { grid-template-columns: 1fr; }.nx-home-expertise header p { grid-column: auto; margin-bottom: 38px; }.nx-home-news header a { align-self: start; }.nx-home-feature img { min-height: 380px; }.nx-home-feature>div { min-height: 460px; }.nx-home-products { gap: 55px; }.public-hero[data-home-source] { display: grid; grid-template-columns: minmax(0, 1fr) minmax(285px, .8fr); gap: 35px; align-items: center; }.nx-home-updates { position: static; width: auto; min-width: 0; transform: none; }
}
@media (max-width: 560px) {
  .public-hero[data-home-source] { display: block; min-height: auto; padding-bottom: 90px; }.public-hero[data-home-source] h1 { font-size: clamp(3.7rem, 20vw, 6.4rem); }.nx-home-updates { position: static; width: auto; min-width: 0; margin-top: 42px; transform: none; }.nx-home-counters,.nx-home-values>div,.nx-home-sector-grid,.nx-home-news>div { grid-template-columns: 1fr; }.nx-home-counters div,.nx-home-values article,.nx-home-sector-grid a { border-left: 0; border-top: 1px solid #ffffff38; padding: 25px 0; }.nx-home-counters div:first-child,.nx-home-values article:first-child,.nx-home-sector-grid a:first-child { border-top: 0; }.nx-home-counters { padding: 32px 25px; }.nx-home-values article { min-height: 220px; border-top-color: #d6cdea; }.nx-home-values h3 { margin-top: 35px; }.nx-home-event-list article { grid-template-columns: 95px 1fr; gap: 16px; }.nx-home-product-links a { grid-template-columns: 1fr auto; padding: 25px 0; }.nx-home-product-links strong { grid-column: 1; }.nx-home-product-links b { grid-column: 2; grid-row: 1 / span 2; }.nx-home-products h2 { font-size: 3.5rem; }
}
