:root {
  --header-height: 72px;
  --ink: #111418;
  --ink-2: #1b2026;
  --muted: #666d76;
  --line: #dfe3e7;
  --soft: #f4f5f6;
  --white: #fff;
  --steel: #b9c0c8;
  --accent: #e9eef2;
  --max: 1180px;
  --radius: 18px;
  --shadow: 0 24px 70px rgba(10, 12, 15, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }

.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.section { padding: clamp(76px, 9vw, 132px) 0; }
.section-soft { background: var(--soft); }
.section-dark { background: #0a0c0f; color: var(--white); }

.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 9999;
  transform: translateY(-160%); padding: 10px 14px; background: #fff; color: #000;
  border-radius: 8px; box-shadow: var(--shadow);
}
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  background: rgba(7, 9, 11, .76); color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: background .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { background: rgba(7, 9, 11, .94); box-shadow: 0 10px 30px rgba(0,0,0,.16); }
.header-inner { min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 760; letter-spacing: .06em; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.45); border-radius: 8px; font-size: 18px; font-weight: 500; }
.brand-name { font-size: 19px; }
.brand-name sup { font-size: 9px; vertical-align: top; margin-left: 2px; }
.main-nav { display: flex; align-items: center; gap: 24px; font-size: 13px; font-weight: 630; }
.main-nav a { text-decoration: none; color: rgba(255,255,255,.82); transition: color .15s ease; }
.main-nav a:hover, .main-nav a:focus-visible { color: #fff; }
.main-nav .nav-cta { border: 1px solid rgba(255,255,255,.45); border-radius: 999px; padding: 9px 16px; color: #fff; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; color: #fff; cursor: pointer; }
.menu-toggle span:not(.sr-only) { display: block; height: 1px; background: currentColor; margin: 6px 0; transition: transform .2s ease, opacity .2s ease; }

.hero { position: relative; min-height: 800px; height: min(100svh, 940px); display: grid; align-items: end; color: #fff; background: #050607; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2,3,4,.94) 0%, rgba(2,3,4,.83) 35%, rgba(2,3,4,.28) 72%, rgba(2,3,4,.2) 100%), linear-gradient(0deg, rgba(2,3,4,.65), transparent 45%); }
.hero-content { position: relative; z-index: 2; padding-top: 150px; padding-bottom: clamp(56px, 7vw, 96px); }
.eyebrow { margin: 0 0 18px; color: rgba(255,255,255,.68); font-size: 12px; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow.dark { color: #6a7179; }
.hero h1 { max-width: 800px; margin: 0; font-size: clamp(48px, 6vw, 84px); line-height: .98; letter-spacing: -.045em; font-weight: 690; }
.hero-lead { max-width: 720px; margin: 28px 0 0; color: rgba(255,255,255,.76); font-size: clamp(18px, 2vw, 22px); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border-radius: 999px; text-decoration: none; font-size: 14px; font-weight: 700; transition: transform .15s ease, background .15s ease, border-color .15s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: #fff; color: #0a0c0f; }
.button-primary:hover { background: #e9ecef; }
.button-ghost { color: #fff; border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.04); }
.button-ghost:hover { border-color: #fff; }
.button-dark { background: #111418; color: #fff; }
.button-outline { border: 1px solid #bfc5cb; color: #111418; }
.button-light { background: #fff; color: #101216; }
.hero-specs { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0; max-width: 850px; margin: 58px 0 0; border-top: 1px solid rgba(255,255,255,.2); }
.hero-specs div { padding: 20px 22px 0 0; }
.hero-specs dt { font-size: 20px; line-height: 1.2; font-weight: 720; letter-spacing: -.02em; }
.hero-specs dd { margin: 7px 0 0; color: rgba(255,255,255,.56); font-size: 12px; }

.split-heading { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(52px, 8vw, 110px); align-items: start; }
h2 { margin: 0; font-size: clamp(36px, 4.3vw, 58px); line-height: 1.05; letter-spacing: -.04em; font-weight: 680; }
.lead-copy { font-size: 18px; color: #464d55; }
.prose p:first-child { margin-top: 0; }
.prose p:last-child { margin-bottom: 0; }

.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; margin-top: clamp(48px, 7vw, 88px); }
.product-card { overflow: hidden; background: #f4f5f6; border: 1px solid #e6e8ea; border-radius: var(--radius); }
.product-image { display: grid; place-items: center; min-height: 340px; background: linear-gradient(180deg,#fff,#f3f4f5); }
.product-image img { width: 88%; max-height: 360px; object-fit: contain; mix-blend-mode: multiply; }
.product-copy { padding: 28px 28px 30px; }
.product-copy .number { color: #8a9199; font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.product-copy h3 { margin: 10px 0 12px; font-size: 24px; line-height: 1.15; letter-spacing: -.025em; }
.product-copy p { color: #5b626b; }
.product-copy .dimension { margin-top: 22px; padding-top: 16px; border-top: 1px solid #dadddf; color: #262b31; font-size: 13px; font-weight: 720; }

.section-heading { max-width: 760px; }
.section-heading.light p:not(.eyebrow) { color: rgba(255,255,255,.64); font-size: 18px; }
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 64px; border-top: 1px solid rgba(255,255,255,.13); border-left: 1px solid rgba(255,255,255,.13); }
.feature { min-height: 250px; padding: 32px; border-right: 1px solid rgba(255,255,255,.13); border-bottom: 1px solid rgba(255,255,255,.13); }
.feature-icon { color: #7f8790; font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.feature h3 { margin: 34px 0 12px; font-size: 21px; }
.feature p { margin: 0; color: rgba(255,255,255,.62); }

.specs-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(50px, 8vw, 110px); align-items: start; }
.specs-copy p:not(.eyebrow) { color: #5f6670; font-size: 17px; }
.text-link { display: inline-flex; gap: 8px; margin-top: 18px; font-weight: 750; text-decoration: none; border-bottom: 1px solid #b7bdc4; }
.spec-table { border-top: 1px solid #cfd4d8; }
.spec-row { display: grid; grid-template-columns: 1fr 1.45fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid #dfe3e6; }
.spec-row span { color: #747b84; }
.spec-row strong { font-weight: 690; }

.faq-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(50px, 8vw, 110px); align-items: start; }
.sticky-heading { position: sticky; top: 112px; }
.sticky-heading > p:last-child { color: #687078; }
.faq-list { border-top: 1px solid #cfd4d8; }
.faq-list details { border-bottom: 1px solid #cfd4d8; }
.faq-list summary { position: relative; cursor: pointer; list-style: none; padding: 23px 48px 23px 0; font-size: 18px; font-weight: 700; line-height: 1.35; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 19px; font-size: 28px; line-height: 1; font-weight: 300; color: #6d747c; transition: transform .2s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { margin: -3px 52px 24px 0; color: #5f6670; }

.company-card { display: grid; grid-template-columns: 170px 1fr 300px; gap: 46px; align-items: center; padding: 46px; border: 1px solid #dfe3e7; border-radius: 22px; box-shadow: var(--shadow); }
.company-mark { width: 150px; aspect-ratio: 1; display: grid; place-items: center; background: #101216; border-radius: 16px; overflow: hidden; }
.company-mark img { width: 118px; height: 118px; object-fit: contain; }
.company-copy h2 { font-size: clamp(34px, 4vw, 52px); }
.company-copy > p:not(.eyebrow) { max-width: 680px; color: #5c636b; }
.company-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.company-address { padding-left: 34px; border-left: 1px solid #dfe3e7; color: #626a73; font-style: normal; }
.company-address strong { color: #171b20; }

.cta-strip { padding: 52px 0; background: #1b2026; color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta-inner h2 { font-size: clamp(30px,4vw,48px); }
.cta-inner .eyebrow { margin-bottom: 10px; }

.site-footer { background: #090b0d; color: rgba(255,255,255,.62); padding: 60px 0 54px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr 1fr; gap: 50px; align-items: start; }
.footer-brand { color: #fff; }
.footer-grid > div:first-child p { max-width: 390px; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-meta { font-size: 13px; }
.footer-meta p { margin: 0 0 6px; }

:focus-visible { outline: 3px solid #7db6ff; outline-offset: 3px; }

@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .main-nav { position: absolute; left: 20px; right: 20px; top: var(--header-height); display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 14px; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; background: rgba(9,11,13,.98); box-shadow: 0 30px 80px rgba(0,0,0,.35); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 12px 10px; }
  .main-nav .nav-cta { margin-top: 8px; text-align: center; }
  .hero { min-height: 760px; height: auto; }
  .hero-media img { object-position: 60% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(2,3,4,.94), rgba(2,3,4,.68) 74%, rgba(2,3,4,.48)); }
  .split-heading, .specs-layout, .faq-layout { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { display: grid; grid-template-columns: .9fr 1.1fr; }
  .product-image { min-height: 300px; }
  .feature-grid { grid-template-columns: repeat(2,1fr); }
  .sticky-heading { position: static; }
  .company-card { grid-template-columns: 130px 1fr; }
  .company-mark { width: 120px; }
  .company-address { grid-column: 2; padding-left: 0; border-left: 0; }
  .footer-grid { grid-template-columns: 1.2fr .8fr; }
  .footer-meta { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); }
}

@media (max-width: 700px) {
  :root {
    --header-height: 64px;
  }
  .container { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 72px 0; }
  .header-inner { min-height: var(--header-height); }
  .main-nav { top: var(--header-height); left: 14px; right: 14px; }
  .hero { min-height: 780px; }
  .hero-content { padding-top: 130px; padding-bottom: 44px; }
  .hero h1 { font-size: clamp(45px, 14vw, 65px); }
  .hero-lead { font-size: 17px; }
  .hero-specs { grid-template-columns: repeat(2,1fr); margin-top: 44px; }
  .product-card { display: block; }
  .product-image { min-height: 280px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature { min-height: auto; }
  .spec-row { grid-template-columns: 1fr; gap: 5px; }
  .faq-list details p { margin-right: 0; }
  .company-card { grid-template-columns: 1fr; padding: 28px; gap: 28px; }
  .company-address { grid-column: auto; padding-top: 24px; border-top: 1px solid #dfe3e7; }
  .cta-inner { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-meta { grid-column: auto; }
}

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

/* Legal notice */
.legal-hero { padding: 150px 0 70px; background: #0a0c0f; color: #fff; }
.legal-hero h1 { margin: 0; font-size: clamp(44px, 6vw, 72px); line-height: 1; letter-spacing: -.045em; }
.legal { padding: 70px 0 100px; }
.legal-wrap { max-width: 850px; }
.legal h2 { margin: 48px 0 12px; font-size: 28px; letter-spacing: -.025em; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: #555d66; }
.legal a { text-underline-offset: 3px; }
.legal ul { padding-left: 22px; }
.legal-back { margin-top: 52px; }

/* 404 */
.notfound { min-height: 100svh; display: grid; place-items: center; padding: 40px; background: #0a0c0f; color: #fff; text-align: center; }
.notfound h1 { margin: 0; font-size: clamp(60px, 14vw, 140px); line-height: .8; }
.notfound p:not(.eyebrow) { max-width: 560px; margin: 30px auto; color: rgba(255,255,255,.66); }
.notfound .button { margin-top: 10px; }

/* Logo IXO officiel + repères graphiques */
.brand { gap: 11px; }
.brand-logo { width: 38px; height: 40px; object-fit: contain; flex: 0 0 auto; filter: invert(1); }
.brand-name { letter-spacing: .09em; }
.footer-brand .brand-logo { width: 44px; height: 46px; }
.company-mark { background:#f4f5f6; border:1px solid #e1e4e7; overflow:hidden; }
.company-mark img.company-logo { width:122px; height:128px; object-fit:contain; filter:none; }
.feature-accent { display:block; width:34px; height:2px; margin-bottom:18px; background:rgba(255,255,255,.42); }
.product-copy h3 { margin-top:0; }
@media (max-width:640px){ .brand-logo{width:34px;height:36px}.brand-name{font-size:17px} }
