/* Site public de KOR — couleurs et polices de la trousse de marque (https://claude.ai/artifact/SiqPa3xwUpqMUPBGfAkR2D) */
:root {
  --ground: #f4f7f4;
  --surface: #ffffff;
  --line: #e2e9e3;
  --ink: #26382e;
  --ink-muted: #5d6c64;
  --green: #315b49;
  --green-deep: #234535;
  --green-tint: #e3ede7;
  --blue: #2f5d9e;
  --violet: #5b4b8a;
  --orange: #b45f1c;
  --display: "Archivo", "Segoe UI", Arial, sans-serif;
  --sans: "Public Sans", "Segoe UI", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --radius: 10px;
  --wrap: 1180px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--green);
}
h1,
h2,
h3 {
  font-family: var(--display);
  line-height: 1.1;
  text-wrap: balance;
  margin: 0;
}
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.eyebrow {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--green);
}
.muted {
  color: var(--ink-muted);
}
.num {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 9px;
  font-weight: 700;
  font-size: 15.5px;
  text-decoration: none;
  border: 1.5px solid var(--green);
  transition: background 0.15s, transform 0.15s;
}
.btn.primary {
  background: var(--green);
  color: #fff;
}
.btn.primary:hover {
  background: var(--green-deep);
}
.btn.ghost {
  background: transparent;
  color: var(--green);
}
.btn.ghost:hover {
  background: var(--green-tint);
}
.btn:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

/* ---------- En-tête ---------- */
header.top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--ground) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
header.top .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font: 800 22px/1 var(--display);
  letter-spacing: 0.02em;
}
.brand img {
  width: 36px;
  height: 36px;
}
nav.links {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-size: 15px;
}
nav.links a {
  color: var(--ink);
  text-decoration: none;
}
nav.links a:hover {
  color: var(--green);
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
}
.top-actions .lang {
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  color: var(--ink-muted);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 3px 7px;
}
.top-actions .btn {
  padding: 9px 16px;
  font-size: 14.5px;
}

/* ---------- Ouverture ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: 72px 40px;
}
.hero .rings {
  position: absolute;
  right: -260px;
  top: -220px;
  width: 900px;
  height: 900px;
  opacity: 0.07;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
.hero h1 {
  font-size: clamp(40px, 6.2vw, 72px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 14px;
}
.hero h1 em {
  font-style: normal;
  color: var(--green);
}
.hero .lead {
  font-size: clamp(17px, 2vw, 20px);
  max-width: 640px;
  margin: 20px 0 28px;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.fine {
  margin-top: 16px;
  font-size: 14px;
  color: var(--ink-muted);
}
.frame {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 30px 60px -30px rgba(35, 69, 53, 0.35);
}
.frame img {
  border-radius: 8px;
  width: 100%;
  height: auto;
}

/* ---------- Mesurez une fois ---------- */
section {
  padding-block: 72px;
}
.section-head {
  max-width: 720px;
  margin-bottom: 36px;
}
.section-head h2 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  margin-top: 10px;
}
.section-head p {
  font-size: 18px;
  margin: 14px 0 0;
}
.chain {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.chain .step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  min-width: 0;
}
.chain .step .k {
  font: 700 12px/1 var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.chain .step h3 {
  font-size: 21px;
  margin: 8px 0 12px;
}
.chain .qty {
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink);
  margin: 0;
  padding: 0;
  list-style: none;
}
.chain .qty b {
  font-weight: 600;
  color: var(--green);
}
.time-saved {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
  background: var(--green);
  color: #fff;
  border-radius: 14px;
  padding: 26px 30px;
}
.time-saved .big {
  font: 800 clamp(34px, 5vw, 52px) / 1 var(--display);
}
.time-saved .big s {
  opacity: 0.55;
  font-weight: 700;
}
.time-saved p {
  margin: 0;
  max-width: 560px;
  font-size: 16.5px;
}

/* ---------- Fonctions ---------- */
.feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
  padding-block: 44px;
}
.feature .text {
  min-width: 0;
}
.feature h3 {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 800;
  margin: 10px 0 14px;
}
.feature ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.feature li {
  padding-left: 26px;
  position: relative;
}
.feature li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.55em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 3px solid var(--green);
}
.feature.blue .eyebrow {
  color: var(--blue);
}
.feature.blue li::before {
  border-color: var(--blue);
}
.feature.violet .eyebrow {
  color: var(--violet);
}
.feature.violet li::before {
  border-color: var(--violet);
}
.stack {
  display: grid;
}
.stack .page {
  grid-area: 1 / 1;
  width: 78%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 24px 48px -24px rgba(31, 63, 110, 0.4);
}
.stack .page:first-child {
  justify-self: start;
}
.stack .page:last-child {
  justify-self: end;
  margin-top: 16%;
}

/* ---------- Pour le Québec ---------- */
.local {
  background: var(--surface);
  border-block: 1px solid var(--line);
}
.local-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 26px 32px;
}
.local-grid h3 {
  font-size: 18px;
  margin-bottom: 6px;
}
.local-grid p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 15.5px;
}

/* ---------- Prix ---------- */
.price-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  background: var(--surface);
  border: 2px solid var(--green);
  border-radius: 16px;
  padding: 34px;
  max-width: 920px;
}
.price-card .amount {
  font: 800 64px/1 var(--display);
  color: var(--green);
}
.price-card .amount small {
  font: 600 18px/1 var(--sans);
  color: var(--ink-muted);
}
.price-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}
.price-card li::before {
  content: "✓";
  color: var(--green);
  font-weight: 800;
  margin-right: 10px;
}
.price-card .extra {
  margin: 14px 0 22px;
  color: var(--ink-muted);
  font-size: 15px;
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 820px;
  display: grid;
  gap: 10px;
}
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 4px 20px;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  padding: 14px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::after {
  content: "+";
  font-size: 22px;
  line-height: 1;
  color: var(--green);
}
.faq details[open] summary::after {
  content: "−";
}
.faq details p {
  margin: 0 0 16px;
  color: var(--ink-muted);
}

/* ---------- Fin ---------- */
.closing {
  text-align: center;
}
.closing h2 {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
}
.closing p {
  font-size: 18px;
  margin: 14px auto 28px;
  max-width: 600px;
}
.closing .cta-row {
  justify-content: center;
}
footer {
  border-top: 1px solid var(--line);
  padding-block: 32px 40px;
  font-size: 14px;
  color: var(--ink-muted);
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
}
footer a {
  color: var(--ink-muted);
}
footer .spacer {
  flex: 1;
}

/* ---------- Pages légales ---------- */
.legal {
  max-width: 780px;
  padding-block: 56px 80px;
}
.legal h1 {
  font-size: 40px;
  font-weight: 800;
}
.legal h2 {
  font-size: 22px;
  margin: 34px 0 10px;
}
.legal p,
.legal li {
  font-size: 16px;
}
.legal .updated {
  color: var(--ink-muted);
  margin-top: 10px;
}

/* ---------- Écrans plus larges ---------- */
@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
  }
  .feature {
    grid-template-columns: 0.85fr 1.15fr;
  }
  .feature.flip .media {
    order: -1;
  }
  .feature.wide {
    grid-template-columns: 1fr;
  }
  .feature.wide .text {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    column-gap: 48px;
    align-items: start;
  }
  .feature.wide .text .eyebrow,
  .feature.wide .text h3,
  .feature.wide .text p {
    grid-column: 1;
  }
  .feature.wide .text ul {
    grid-column: 2;
    grid-row: 1 / span 4;
    margin-top: 0;
  }
  .price-card {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
  }
}
@media (max-width: 860px) {
  nav.links {
    display: none;
  }
  .top-actions {
    margin-left: auto;
  }
  .top-actions .login {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
.chain .qty li:has(small) {
  margin-bottom: 8px;
}
.chain .qty li small {
  display: block;
  margin-top: 2px;
  font-size: 0.8em;
  font-weight: 400;
  color: var(--ink-muted);
  line-height: 1.35;
}
.soon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.soon-card {
  background: var(--surface);
  border: 1px dashed var(--green);
  border-radius: 14px;
  padding: 24px 26px;
}
.soon-card h3 {
  margin: 8px 0 8px;
}
.soon-card p {
  margin: 0;
  color: var(--ink-muted);
  line-height: 1.55;
}
.soon-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-tint);
  border-radius: 999px;
  padding: 3px 10px;
}
