/* ClemBis Production — kit « Verre technique » */
@font-face{font-family:'Barlow';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/Barlow-400.woff2) format('woff2')}
@font-face{font-family:'Barlow';font-style:normal;font-weight:500;font-display:swap;src:url(fonts/Barlow-500.woff2) format('woff2')}
@font-face{font-family:'Barlow';font-style:normal;font-weight:600;font-display:swap;src:url(fonts/Barlow-600.woff2) format('woff2')}
@font-face{font-family:'Barlow Condensed';font-style:normal;font-weight:700;font-display:swap;src:url(fonts/BarlowCondensed-700.woff2) format('woff2')}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:500;font-display:swap;src:url(fonts/IBMPlexMono-500.woff2) format('woff2')}

:root {
  --acier-clair: #94bce3;
  --acier: #5980a6;
  --acier-profond: #416180;
  --champ: #1d2d3d;
  --cuivre: #c08457;
  --graphite: #0e1013;
  --graphite-2: #101318;
  --papier: #f2f2f3;
  --texte-2: #a9b2bd;
  --trait: rgba(148, 188, 227, 0.16);
  --verre: rgba(148, 188, 227, 0.05);
  --titre: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --corps: 'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  background: var(--graphite);
  color: var(--papier);
  font-family: var(--corps);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--acier-clair); }
img { max-width: 100%; display: block; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Micro-étiquettes */
.label {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cuivre);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cuivre); animation: pulse 2.4s ease-in-out infinite; }

h1, h2, h3 {
  font-family: var(--titre);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(48px, 9vw, 104px); }
h2 { font-size: clamp(36px, 5.5vw, 60px); margin-bottom: 40px; }
h3 { font-size: 28px; }
.accent { color: var(--acier-clair); }
.lead { font-size: 19px; color: var(--texte-2); max-width: 600px; }

/* Logo */
.logo {
  display: inline-flex;
  font-family: var(--titre);
  font-weight: 700;
  font-size: 30px;
  line-height: 1;
  color: var(--papier);
  text-decoration: none;
}
.logo .bis { color: var(--acier-clair); display: inline-flex; align-items: flex-end; gap: 4px; }
.logo .lys { width: 0.5em; height: 0.5em; fill: var(--acier-clair); margin-bottom: 0.08em; }
.logo-sm { font-size: 24px; }

/* En-tête */
.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(14, 16, 19, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--trait);
}
.top-in { display: flex; justify-content: space-between; align-items: center; height: 68px; }
.top nav { display: flex; gap: 28px; align-items: center; }
.top nav a {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--texte-2); text-decoration: none; transition: color .2s;
}
.top nav a:hover { color: var(--papier); }
.top nav .nav-cta { color: var(--graphite); background: var(--acier-clair); padding: 8px 14px; border-radius: 6px; }
.top nav .nav-cta:hover { color: var(--graphite); background: var(--papier); }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--titre); font-weight: 700; font-size: 20px; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 13px 26px; border-radius: 8px; text-decoration: none; transition: background .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--acier-clair); color: var(--graphite); }
.btn-primary:hover { background: var(--papier); }
.btn-ghost { border: 1px solid var(--trait); color: var(--papier); }
.btn-ghost:hover { border-color: var(--acier-clair); }
.btn-lg { font-size: clamp(18px, 3.4vw, 26px); text-transform: none; letter-spacing: 0.01em; word-break: break-all; }

/* Accueil */
.hero { position: relative; overflow: hidden; padding: 120px 0 140px; border-bottom: 1px solid var(--trait); }
.contours { position: absolute; top: 0; bottom: 0; left: 22%; right: -8%; opacity: 0.95; pointer-events: none; }
.contours svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, var(--graphite) 0%, rgba(14,16,19,.7) 38%, rgba(14,16,19,0) 70%);
}
.hero-in { position: relative; z-index: 1; }
.hero h1 { margin-bottom: 28px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }

/* Sections */
.section { padding: 110px 0; }
.section-alt { background: var(--graphite-2); border-top: 1px solid var(--trait); border-bottom: 1px solid var(--trait); }

/* Applications */
.app {
  display: grid; grid-template-columns: 128px 1fr; gap: 36px;
  background: var(--verre); border: 1px solid var(--trait); border-radius: 18px;
  padding: 36px;
}
.app-icon { width: 128px; height: 128px; border-radius: 28px; box-shadow: 0 10px 30px rgba(0,0,0,.45); }
.app-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px 20px; margin-bottom: 14px; }
.app h3 { font-size: 44px; }
.app-sub { color: var(--acier-clair); font-size: 0.55em; margin-left: 6px; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 4px; border: 1px solid;
}
.tag-live { color: var(--acier-clair); border-color: rgba(148,188,227,.4); }
.tag-beta { color: var(--cuivre); border-color: rgba(192,132,87,.45); }
.app-body > p { color: var(--texte-2); font-size: 18px; max-width: 640px; }
.features { list-style: none; margin: 22px 0 28px; display: grid; gap: 10px; }
.features li { padding-left: 22px; position: relative; color: var(--texte-2); }
.features li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 10px; height: 1px; background: var(--cuivre); }
.features strong { color: var(--papier); font-weight: 600; }

.stores { display: flex; gap: 12px; flex-wrap: wrap; }
.store {
  display: inline-flex; align-items: center; gap: 12px;
  background: #000; color: #fff; border: 1px solid #555; border-radius: 10px;
  padding: 9px 18px 9px 14px; text-decoration: none; min-width: 190px; transition: border-color .2s;
}
.store:hover { border-color: var(--acier-clair); }
.store svg { width: 24px; height: 24px; flex: none; }
.store span { display: flex; flex-direction: column; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size: 19px; font-weight: 600; line-height: 1.1; }
.store small { font-size: 11px; font-weight: 400; }
.store-beta { background: transparent; border: 1px dashed rgba(192,132,87,.6); color: var(--papier); }
.store-beta svg { color: var(--cuivre); }
.store-beta:hover { border-color: var(--cuivre); }
.app-links { margin-top: 22px; display: flex; gap: 22px; }
.app-links a { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--texte-2); }
.app-links a:hover { color: var(--acier-clair); }

.app-next {
  margin-top: 20px; padding: 26px 36px; border: 1px dashed var(--trait); border-radius: 18px; color: var(--texte-2);
}
.app-next .label { margin-bottom: 6px; color: var(--acier); }

.beta { margin-top: 12px; }
.beta summary { list-style: none; cursor: pointer; }
.beta summary::-webkit-details-marker { display: none; }
.beta[open] summary { border-style: solid; border-color: var(--cuivre); }
.beta-body {
  margin-top: 14px; padding: 22px 24px; max-width: 640px;
  border: 1px solid rgba(192,132,87,.35); border-radius: 12px; background: rgba(192,132,87,.06);
}
.beta-body p { color: var(--texte-2); }
.beta-body ol { list-style: none; margin: 16px 0; display: grid; gap: 12px; }
.beta-body li { display: flex; gap: 12px; align-items: baseline; color: var(--papier); }
.beta-body li a { word-break: break-word; }
.step {
  flex: none; width: 24px; height: 24px; border-radius: 50%; display: inline-grid; place-items: center;
  font-family: var(--mono); font-size: 12px; color: var(--graphite); background: var(--cuivre);
}
.beta-note { font-size: 15px; }

/* Services */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.card { background: var(--verre); border: 1px solid var(--trait); border-radius: 14px; padding: 28px; transition: border-color .2s, transform .2s; }
.card:hover { border-color: rgba(148,188,227,.45); transform: translateY(-3px); }
.card-n { font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em; color: var(--cuivre); }
.card h3 { margin: 18px 0 10px; font-size: 26px; }
.card p { color: var(--texte-2); font-size: 16px; }

/* À propos */
.about { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }
.about h2 { margin-bottom: 0; }
.about-text p { color: var(--texte-2); font-size: 19px; }
.about-text p + p { margin-top: 18px; }

/* Contact */
.section-contact { background: var(--champ); }
.contact { text-align: center; display: flex; flex-direction: column; align-items: center; }
.contact h2 { margin-bottom: 20px; }
.contact .lead { margin-bottom: 36px; color: #c6d6e6; }

/* Pied de page */
.foot { border-top: 1px solid var(--trait); padding: 36px 0; }
.foot-in { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot p, .foot a { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--texte-2); }
.foot nav { display: flex; gap: 22px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--acier-clair); }

/* Pages légales */
.legal { padding: 80px 0 110px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(44px, 8vw, 72px); margin-bottom: 12px; }
.legal .maj { color: var(--texte-2); margin-bottom: 48px; }
.legal section { background: var(--verre); border: 1px solid var(--trait); border-radius: 14px; padding: 26px 30px; margin-bottom: 16px; }
.legal h2 { font-size: 28px; margin-bottom: 12px; }
.legal p, .legal li { color: var(--texte-2); }
.legal strong { color: var(--papier); font-weight: 600; }
.legal ul { padding-left: 20px; }

/* Animations du kit */
@keyframes derive1{0%{transform:rotate(0deg) scale(1) translate(0,0)}50%{transform:rotate(12deg) scale(1.14) translate(2%,-2%)}100%{transform:rotate(0deg) scale(1) translate(0,0)}}
@keyframes derive2{0%{transform:rotate(0deg) scale(1.08) translate(0,0)}50%{transform:rotate(-16deg) scale(0.94) translate(-3%,2%)}100%{transform:rotate(0deg) scale(1.08) translate(0,0)}}
@keyframes respireA{0%,100%{opacity:0.85}50%{opacity:0.42}}
@keyframes respireB{0%,100%{opacity:0.55}50%{opacity:0.2}}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.3}}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* Mobile */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .top nav { gap: 14px; }
  .top nav a:not(.nav-cta) { display: none; }
  .hero { padding: 72px 0 90px; }
  .contours { left: -30%; right: -30%; opacity: .7; }
  .hero::after { background: linear-gradient(180deg, rgba(14,16,19,.35) 0%, rgba(14,16,19,.85) 100%); }
  .section { padding: 72px 0; }
  .app { grid-template-columns: 1fr; padding: 24px; gap: 20px; }
  .app-icon { width: 88px; height: 88px; border-radius: 20px; }
  .app h3 { font-size: 36px; }
  .app-next { padding: 22px 24px; }
  .store { flex: 1 1 100%; }
  .beta { width: 100%; }
  .beta-body { padding: 18px; }
  .about { grid-template-columns: 1fr; gap: 20px; }
  .foot-in { flex-direction: column; text-align: center; }
  .legal section { padding: 22px 20px; }
}
