/* Kerjean Biotechnologies — feuille de style unique */
@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo.woff2") format("woff2-variations"), url("fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --ink: #1E2A3A;
  --muted: #566476;
  --navy: #3A54A4;      /* carré 1 du logo */
  --blue: #28ABE2;      /* carré 2 */
  --cyan: #19BDEF;      /* carré 3 */
  --aqua: #5AC6D9;      /* carré 4 */
  --paper: #FFFFFF;
  --mist: #EEF4F8;
  --line: #D5E1EA;
  --measure: 66ch;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  font-stretch: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--blue); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 2px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }

/* En-tête */
.top { border-bottom: 1px solid var(--line); background: var(--paper); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); padding: 14px 0; }
.brand .squares { display: flex; gap: 3px; }
.brand .squares i { width: 16px; height: 16px; display: block; }
.brand .squares i:nth-child(1) { background: var(--navy); }
.brand .squares i:nth-child(2) { background: var(--blue); }
.brand .squares i:nth-child(3) { background: var(--cyan); }
.brand .squares i:nth-child(4) { background: var(--aqua); }
.brand .name { font-size: 1rem; letter-spacing: .02em; font-stretch: 112%; line-height: 1.1; }
.brand .name b { font-weight: 600; }
.brand .name span { color: var(--navy); font-weight: 400; }

nav.main ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 15px; align-items: center; }
nav.main a { text-decoration: none; color: var(--ink); font-size: .92rem; padding: 6px 0; border-bottom: 2px solid transparent; }
nav.main a:hover { color: var(--navy); }
nav.main a[aria-current="page"] { border-bottom-color: var(--blue); }
nav.main .lang a { color: var(--muted); font-size: .85rem; border: 1px solid var(--line); padding: 3px 8px; border-radius: 3px; }

/* Héros : les plaques de BOLUSIL aux épaisseurs réelles */
.hero { background: var(--mist); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 5vw, 72px); align-items: center; padding-top: clamp(40px, 7vw, 88px); padding-bottom: clamp(40px, 7vw, 88px); }
.hero h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); line-height: 1.04; font-weight: 640; font-stretch: 78%; letter-spacing: -.01em; margin: 0 0 20px; max-width: 16ch; }
.hero p { font-size: 1.15rem; color: var(--muted); max-width: 46ch; margin: 0 0 28px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-block; padding: 12px 20px; border-radius: 4px; text-decoration: none; font-weight: 560; font-size: 1rem; }
.btn.primary { background: var(--navy); color: #fff; }
.btn.primary:hover { background: #2C4389; color: #fff; }
.btn.ghost { border: 1px solid var(--navy); color: var(--navy); }
.btn.ghost:hover { background: var(--paper); }

.plates { position: relative; display: grid; gap: 22px; padding: 28px 0 28px 28px;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 24px 24px; background-position: -1px -1px; }
.plate { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; }
.plate .slab { height: calc(var(--mm) * 5px); border-radius: 3px;
  background: linear-gradient(180deg, rgba(255,255,255,.85), rgba(197,226,238,.55));
  border: 1px solid rgba(58,84,164,.35);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 calc(var(--mm) * .6px) calc(var(--mm) * 1.4px) rgba(30,42,58,.10);
  backdrop-filter: blur(2px); }
.plate .mm { font-stretch: 78%; font-weight: 600; font-size: 1.5rem; color: var(--navy); width: 4.6ch; white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; }
.plates figcaption { font-size: .85rem; color: var(--muted); margin-top: 4px; }

@media (prefers-reduced-motion: no-preference) {
  .plate .slab { transform-origin: left center; animation: lay .9s cubic-bezier(.2,.7,.2,1) both; }
  .plate:nth-child(2) .slab { animation-delay: .12s; }
  .plate:nth-child(3) .slab { animation-delay: .24s; }
  @keyframes lay { from { transform: scaleX(.2); opacity: 0; } to { transform: none; opacity: 1; } }
}

/* Contenu */
main { padding: clamp(36px, 6vw, 72px) 0; }
main .wrap > h2:first-child { margin-top: 0; }
.page-head { margin-bottom: 36px; max-width: var(--measure); }
.page-head h1 { font-size: clamp(1.9rem, 4.4vw, 2.9rem); line-height: 1.08; font-weight: 640; font-stretch: 80%; margin: 0 0 12px; }
.page-head p { font-size: 1.15rem; color: var(--muted); margin: 0; }
h2 { font-size: 1.5rem; line-height: 1.2; font-weight: 620; font-stretch: 85%; margin: 48px 0 12px; }
h3 { font-size: 1.15rem; line-height: 1.3; font-weight: 600; margin: 28px 0 6px; }
.prose { max-width: var(--measure); }
.prose p, .prose ul { margin: 0 0 1em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .3em; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 320px); gap: clamp(24px, 5vw, 64px); align-items: start; }
.split figure { margin: 0; }
.split figure img { border: 1px solid var(--line); border-radius: 3px; width: auto; max-width: 100%; }
figcaption { font-size: .85rem; color: var(--muted); margin-top: 8px; }

/* Gamme : trois blocs produit de poids inégal */
.range { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 0; border-top: 2px solid var(--ink); margin-top: 8px; }
.range article { padding: 24px 24px 28px 0; }
.range article + article { padding-left: 24px; border-left: 1px solid var(--line); }
.range h3 { margin-top: 0; font-size: 1.3rem; font-stretch: 85%; }
.range p { color: var(--muted); margin: 0 0 14px; }
.range img { width: 132px; height: 96px; object-fit: cover; margin-bottom: 14px; border-radius: 2px; }

/* Tableau des références */
.refs { width: 100%; border-collapse: collapse; margin: 12px 0 8px; font-variant-numeric: tabular-nums; }
.refs th, .refs td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.refs th { font-weight: 600; font-size: .9rem; color: var(--muted); border-bottom: 2px solid var(--ink); }
.refs td.ref { font-weight: 600; white-space: nowrap; }
.refs td:last-child { width: 34%; }
.refs .bar { display: block; height: calc(var(--mm) * 2px); min-height: 4px; width: min(100%, 160px); background: linear-gradient(180deg, #fff, #CBE6F1); border: 1px solid rgba(58,84,164,.35); border-radius: 2px; }
.table-scroll { overflow-x: auto; max-width: 720px; }

.facts { display: flex; flex-wrap: wrap; gap: 0; margin: 20px 0 8px; padding: 0; list-style: none; border: 1px solid var(--line); border-radius: 4px; max-width: 720px; }
.facts li { flex: 1 1 150px; padding: 14px 16px; border-right: 1px solid var(--line); }
.facts li:last-child { border-right: 0; }
.facts b { display: block; font-size: 1.25rem; font-stretch: 80%; font-weight: 620; color: var(--navy); }
.facts span { font-size: .88rem; color: var(--muted); }

.colors { display: flex; flex-wrap: wrap; gap: 14px; list-style: none; padding: 0; margin: 12px 0 18px; }
.colors li { display: flex; align-items: center; gap: 8px; font-size: .95rem; }
.colors i { width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(30,42,58,.25); display: block; }

.pubs { list-style: none; padding: 0; margin: 0; max-width: var(--measure); }
.pubs li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.pubs .t { font-weight: 600; display: block; margin-bottom: 4px; }
.pubs .m { color: var(--muted); font-size: .95rem; }

.note { background: var(--mist); border-left: 3px solid var(--blue); padding: 14px 18px; max-width: var(--measure); margin: 24px 0; }

.contact-card { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; max-width: 820px; }
.contact-card div { border-top: 2px solid var(--ink); padding-top: 14px; }
.contact-card p { margin: 0; }
.contact-card .k { color: var(--muted); font-size: .9rem; margin-bottom: 4px; }

/* Pied de page */
footer { background: var(--ink); color: #C9D3DE; font-size: .92rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 40px; padding-top: 32px; padding-bottom: 32px; }
footer a { color: #fff; }
footer p { margin: 0 0 4px; }

@media (max-width: 860px) {
  .hero .wrap, .split { grid-template-columns: 1fr; }
  .range { grid-template-columns: 1fr; }
  .range article, .range article + article { padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .plates { padding-left: 16px; }
}
@media (max-width: 560px) {
  .top .wrap { padding-bottom: 10px; }
  nav.main ul { gap: 2px 16px; }
  .facts li { border-right: 0; border-bottom: 1px solid var(--line); }
}
@media print {
  .top nav, .hero .plates, footer { display: none; }
}
.prose .colors, .prose .facts { padding-left: 0; }

/* Pressothérapie : étapes et galerie */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px 32px; max-width: 1000px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: start; }
.steps img { width: 120px; height: 120px; object-fit: cover; border-radius: 3px; border: 1px solid var(--line); }
.steps h3 { margin: 0 0 4px; font-size: 1.05rem; }
.steps h3::before { content: counter(s) ". "; color: var(--navy); }
.steps p { margin: 0; color: var(--muted); font-size: .97rem; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; max-width: 900px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 3px; border: 1px solid var(--line); }

@media (max-width: 1060px) and (min-width: 861px) { .range { grid-template-columns: 1fr 1fr; } .range article:nth-child(3) { border-left: 0; padding-left: 0; } }
.range.two { grid-template-columns: 1fr 1fr; }
@media (max-width: 1060px) and (min-width: 861px) { .range.two article:nth-child(2) { border-left: 1px solid var(--line); padding-left: 24px; } }

/* Questions fréquentes */
.faq { max-width: var(--measure); }
.faq h3 { margin: 22px 0 4px; font-size: 1.08rem; }
.faq p { margin: 0; color: var(--muted); }
.actions { margin-top: 16px; }
