:root {
  --paper: #f4f4f1;
  --paper-strong: #ecece7;
  --white: #ffffff;
  --ink: #17181a;
  --ink-soft: #5d6067;
  --line: #d9dad4;
  --accent: #a82255;
  --accent-bright: #d92e6b;
  --accent-end: #f06b91;
  --accent-soft: #fbe8f0;
  --interact: #7557ff;
  --interact-end: #a65acb;
  --interact-soft: #f1ecff;
  --jury: #3158e8;
  --jury-end: #1670e8;
  --jury-mint: #27cfae;
  --jury-soft: #edf2ff;
  --copy: #e8654a;
  --voice: #ff8c00;
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 34px;
  --shell: min(1240px, calc(100vw - 48px));
  --shadow: 0 28px 80px rgba(23, 24, 26, .09);
  --font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
::selection { color: var(--white); background: var(--ink); }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: .7rem 1rem;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.shell { width: var(--shell); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: border-color .2s ease, background-color .2s ease;
}
.site-header.is-scrolled { border-color: var(--line); }
.header-inner {
  min-height: 76px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
}
.wordmark {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -.04em;
  line-height: 1;
}
.wordmark-logo { width: 232px; height: auto; }
.wordmark-main { font-size: 1.25rem; }
.wordmark-main strong { font-weight: 800; }
.wordmark-main span { font-weight: 500; }
.wordmark-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav a {
  color: var(--ink-soft);
  font-size: .88rem;
  font-weight: 650;
  text-decoration: none;
}
.main-nav a:hover, .main-nav a:focus-visible { color: var(--ink); }
.header-actions { justify-self: end; display: flex; align-items: center; gap: .75rem; }
.header-socials, .footer-socials { display: inline-flex; align-items: center; gap: .45rem; }
.social-icon {
  display: inline-grid !important;
  width: 38px !important;
  height: 38px;
  padding: 0 !important;
  place-items: center;
  color: var(--ink-soft) !important;
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none !important;
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}
.social-icon svg { width: 18px; height: 18px; fill: currentColor; }
.social-icon:hover, .social-icon:focus-visible { color: var(--ink) !important; border-color: color-mix(in srgb, var(--accent) 48%, var(--line)); background: color-mix(in srgb, var(--accent) 9%, var(--paper-strong)); transform: translateY(-1px); }
.header-cta {
  padding: .65rem 1rem;
  color: var(--white);
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: .86rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease;
}
.header-cta:hover { transform: translateY(-2px); background: #2c2e32; }

.hero { padding: clamp(4.5rem, 9vw, 8rem) 0 clamp(5rem, 10vw, 8.5rem); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(370px, .85fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}
.kicker {
  margin: 0 0 1.3rem;
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--ink-soft);
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.kicker-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hero h1 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(3.4rem, 6vw, 6.1rem);
  font-weight: 760;
  letter-spacing: -.075em;
  line-height: .95;
}
.hero h1 span { color: var(--accent); }
.hero-lead {
  max-width: 58ch;
  margin: 2rem 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
  line-height: 1.6;
}
.hero-actions { margin-top: 2rem; display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .78rem 1.2rem;
  border-radius: 999px;
  font-weight: 740;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-dark { color: var(--white); background: var(--ink); box-shadow: 0 10px 28px rgba(23,24,26,.16); }
.text-link { font-weight: 700; text-underline-offset: 4px; text-decoration-thickness: 1px; }

.cadence-map {
  position: relative;
  overflow: hidden;
  min-height: 470px;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--ink);
  background: linear-gradient(145deg, var(--accent-soft), color-mix(in srgb, var(--paper-strong) 88%, white));
  border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--line));
  border-radius: var(--radius-lg);
}
.cadence-map::after {
  content: "";
  position: absolute;
  inset: auto -18% -35% 18%;
  height: 70%;
  background: radial-gradient(circle at center, color-mix(in srgb, var(--accent-bright) 28%, transparent), transparent 65%);
  pointer-events: none;
}
.cadence-map-top {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ink-soft);
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.cadence-steps { position: relative; z-index: 1; margin: auto 0; padding: 0; list-style: none; }
.cadence-steps::before {
  content: "";
  position: absolute;
  top: 2rem;
  bottom: 2rem;
  left: 22px;
  width: 1px;
  background: #c7c8c2;
}
.cadence-steps li { position: relative; display: grid; grid-template-columns: 46px 1fr; gap: 1.2rem; align-items: center; padding: 1.35rem 0; }
.step-index {
  z-index: 1;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--ink);
  border: 6px solid var(--accent-soft);
  outline: 1px solid color-mix(in srgb, var(--accent) 38%, #bdbeb8);
  border-radius: 50%;
  font-size: .7rem;
  font-weight: 800;
}
.step-action { display: block; color: var(--ink-soft); font-size: .82rem; font-weight: 650; }
.step-product { display: block; margin-top: .15rem; font-size: clamp(1.65rem, 3vw, 2.35rem); letter-spacing: -.045em; }
.step-product-interact { color: var(--interact); }
.step-product-jury { color: var(--jury); }
.cadence-note { position: relative; z-index: 1; margin: 0; color: var(--ink-soft); font-size: .82rem; }

/* Carte de famille : un seul rail relie les deux moments du travail. */
.family-map {
  position: relative;
  overflow: hidden;
  min-height: 470px;
  display: flex;
  flex-direction: column;
  padding: clamp(1.45rem, 3vw, 2.15rem);
  color: var(--white);
  background:
    radial-gradient(circle at 5% 105%, color-mix(in srgb, var(--interact) 42%, transparent), transparent 38%),
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--jury) 36%, transparent), transparent 42%),
    var(--ink);
  border: 1px solid color-mix(in srgb, var(--accent-bright) 22%, var(--ink));
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(23,24,26,.16);
}
.family-map::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  left: 50%;
  top: 54%;
  transform: translate(-50%,-50%);
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent-bright) 12%, transparent);
  filter: blur(64px);
  pointer-events: none;
}
.family-map-head { position: relative; z-index: 2; display: flex; align-items: center; gap: .85rem; }
.family-map-head img { width: 42px; height: 42px; border-radius: 11px; }
.family-map-head div { display: grid; gap: .05rem; }
.family-map-label { color: var(--accent-bright); font-size: .66rem; font-weight: 780; letter-spacing: .13em; text-transform: uppercase; }
.family-map-head strong { font-size: 1rem; letter-spacing: -.02em; }
.family-apps {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0,1fr) 66px minmax(0,1fr);
  align-items: start;
  margin: auto 0;
}
.family-apps::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 21%;
  right: 21%;
  top: 27px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--interact), var(--accent-bright) 50%, var(--jury));
  box-shadow: 0 0 22px color-mix(in srgb, var(--accent-bright) 28%, transparent);
}
.family-app { min-width: 0; display: grid; justify-items: center; color: var(--white); text-align: center; text-decoration: none; }
.family-app img { width: 58px; height: 58px; margin-bottom: 1.15rem; border-radius: 14px; box-shadow: 0 16px 30px rgba(0,0,0,.28); transition: transform .2s ease; }
.family-app:hover img { transform: translateY(-3px); }
.family-phase { color: #a9abb1; font-size: .65rem; font-weight: 760; letter-spacing: .11em; text-transform: uppercase; }
.family-app strong { margin-top: .2rem; font-size: clamp(1.4rem, 2.1vw, 1.7rem); line-height: 1; letter-spacing: -.05em; }
.family-app-interact strong { color: #a88aff; }
.family-app-jury strong { color: #5b89ff; }
.family-action { margin-top: .7rem; color: #c4c5c9; font-size: .8rem; line-height: 1.45; }
.family-bridge { position: relative; height: 58px; display: grid; place-items: center; }
.family-line {
  display: none;
}
.family-junction {
  position: relative;
  z-index: 1;
  width: 50px;
  height: 50px;
  display: block;
  border: 7px solid var(--ink);
  border-radius: 15px;
  background: linear-gradient(145deg,var(--accent-bright),var(--accent-end));
  box-shadow: 0 0 0 1px color-mix(in srgb,var(--accent-bright) 55%,transparent);
}
.family-junction i { position: absolute; width: 17px; height: 17px; border-radius: 5px; background: var(--ink); }
.family-junction i:first-child { left: 8px; top: 8px; }
.family-junction i:last-child { right: 8px; bottom: 8px; }
.family-note { position: relative; z-index: 2; margin: 0; color: #9c9ea4; font-size: .76rem; }
.family-note span { color: var(--white); font-weight: 650; }

.primary-products { padding: clamp(5rem, 10vw, 9rem) 0; background: var(--white); }
.section-heading { max-width: 760px; margin-bottom: 3rem; }
.section-heading h2 {
  margin: 0;
  font-size: clamp(2.35rem, 4.3vw, 4.5rem);
  font-weight: 740;
  letter-spacing: -.06em;
  line-height: 1;
}
.section-heading > p:last-child { margin: 1.25rem 0 0; color: var(--ink-soft); font-size: 1.1rem; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.product-card {
  overflow: hidden;
  min-width: 0;
  display: grid;
  grid-template-rows: auto 410px;
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
}
.product-card-interact { background: var(--interact-soft); border-color: color-mix(in srgb, var(--interact) 22%, white); }
.product-card-jury { background: var(--jury-soft); border-color: color-mix(in srgb, var(--jury) 22%, white); }
.product-copy { padding: clamp(1.6rem, 3.4vw, 2.8rem); display: flex; flex-direction: column; }
.product-brand { display: flex; align-items: center; gap: 1rem; }
.product-brand > img { border-radius: 17px; }
.product-moment { margin: 0; color: var(--ink-soft); font-size: .72rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.product-brand h3 { margin: .05rem 0 0; font-size: 2rem; letter-spacing: -.04em; line-height: 1.05; }
.product-pitch { margin: 1.8rem 0 1.25rem; font-size: 1.08rem; line-height: 1.58; }
.feature-list { margin: 0; padding: 0; list-style: none; }
.feature-list li { position: relative; padding: .5rem 0 .5rem 1.45rem; border-top: 1px solid rgba(23,24,26,.1); font-size: .93rem; }
.feature-list li::before { content: ""; position: absolute; left: .15rem; top: 1.15rem; width: 6px; height: 6px; border-radius: 50%; }
.product-card-interact .feature-list li::before { background: var(--interact); }
.product-card-jury .feature-list li::before { background: var(--jury); }
.product-detail { margin: 1.4rem 0; color: var(--ink-soft); font-size: .76rem; }
.product-link {
  width: fit-content;
  margin-top: auto;
  padding-bottom: .2rem;
  border-bottom: 1px solid currentColor;
  font-weight: 750;
  text-decoration: none;
}
.product-card-interact .product-link { color: var(--interact); }
.product-card-jury .product-link { color: var(--jury); }
.product-visual { position: relative; overflow: hidden; margin: 0; }
.product-visual figcaption {
  position: absolute;
  z-index: 2;
  left: 1rem;
  bottom: 1rem;
  padding: .45rem .65rem;
  color: #f7f7f5;
  background: rgba(23,24,26,.78);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  backdrop-filter: blur(10px);
  font-size: .67rem;
  letter-spacing: .02em;
}
.product-visual-interact { padding: 2rem 0 0 2rem; background: linear-gradient(145deg, #654bff, var(--interact-end)); }
.product-visual-interact img { width: 125%; max-width: none; height: 100%; object-fit: cover; object-position: left top; border-radius: 18px 0 0 0; box-shadow: -12px 15px 50px rgba(38,21,105,.18); }
.product-visual-jury { display: grid; place-items: end center; background: linear-gradient(145deg, #3439d9, var(--jury-end)); }
.product-visual-jury::before { content: ""; position: absolute; inset: 13% 12% -30%; border-radius: 50%; background: var(--jury-mint); filter: blur(10px); opacity: .35; }
.product-visual-jury img { position: relative; z-index: 1; width: min(78%, 330px); height: auto; transform: translateY(16%); filter: drop-shadow(0 22px 36px rgba(24,25,99,.24)); }

.secondary-products { padding: clamp(5rem, 10vw, 9rem) 0; background: #e8e8e2; }
.section-heading-small { max-width: 680px; }
.section-heading-small h2 { font-size: clamp(2.2rem, 4vw, 3.8rem); }
.secondary-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.secondary-card {
  min-height: 420px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(260px, 1.08fr) minmax(0, .92fr);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.secondary-copy { z-index: 2; display: flex; flex-direction: column; padding: clamp(1.5rem, 3vw, 2.3rem); }
.secondary-platform { margin: 0; color: var(--ink-soft); font-size: .7rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.secondary-copy h3 { margin: .45rem 0 1.2rem; font-size: 2rem; letter-spacing: -.045em; }
.secondary-copy > p:not(.secondary-platform) { margin: 0; color: var(--ink-soft); font-size: .95rem; }
kbd { padding: .08rem .3rem; background: var(--paper); border: 1px solid var(--line); border-radius: 5px; font: inherit; font-size: .84em; }
.secondary-copy a { width: fit-content; margin-top: auto; white-space: nowrap; font-size: .88rem; font-weight: 750; text-underline-offset: 4px; }
.secondary-visual { position: relative; overflow: hidden; min-width: 0; }
.secondary-visual img { height: auto; }
.secondary-visual-copytuts { background: #dceeea; }
.secondary-visual-copytuts img {
  position: absolute;
  top: 50%;
  left: 1.15rem;
  width: 158%;
  max-width: none;
  transform: translateY(-50%);
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(27,91,79,.16);
}
.secondary-visual-voice { background: #15161a; }
.secondary-visual-voice img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 74%;
  max-width: 225px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 28px;
  box-shadow: 0 18px 42px rgba(0,0,0,.28);
}

.site-footer { padding: 4rem 0 1.5rem; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.wordmark-footer { margin-bottom: 1rem; }
.footer-grid > div:first-child > p { max-width: 32ch; color: var(--ink-soft); }
.footer-grid > div:first-child > .footer-byline { margin-top: -.45rem; font-size: .82rem; }
.footer-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.footer-links > div { display: flex; flex-direction: column; gap: .55rem; }
.footer-links p { margin: 0 0 .45rem; color: var(--ink-soft); font-size: .72rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.footer-links a { width: fit-content; color: var(--ink-soft); font-size: .9rem; text-decoration: none; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.footer-socials { margin-bottom: .2rem; }
.footer-bottom { margin-top: 3rem; padding-top: 1.2rem; display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .76rem; }

.legal-main { min-height: 70vh; padding: clamp(4rem, 9vw, 8rem) 0; }
.legal-article { max-width: 780px; }
.legal-article h1 { margin: 0 0 1rem; font-size: clamp(3rem, 6vw, 5.4rem); line-height: .96; letter-spacing: -.065em; }
.legal-article .updated { color: var(--ink-soft); }
.legal-article h2 { margin: 2.7rem 0 .75rem; font-size: 1.25rem; }
.legal-article p { color: var(--ink-soft); }
.legal-article code { padding: .1rem .3rem; background: var(--paper-strong); border-radius: 4px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 55%, white); outline-offset: 4px; }

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 14ch; }
  .cadence-map, .family-map { min-height: 400px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { grid-template-columns: 1.05fr .95fr; grid-template-rows: none; min-height: 720px; }
  .product-visual-interact { padding-top: 4rem; }
  .secondary-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  :root { --shell: min(100% - 28px, 1240px); --radius-lg: 25px; }
  body { font-size: 16px; }
  .header-inner { min-height: 66px; grid-template-columns: 1fr auto; gap: 1rem; }
  .main-nav { display: none; }
  .header-socials { display: none; }
  .header-cta { padding: .55rem .85rem; }
  .hero { padding-top: 3.8rem; }
  .hero h1 { font-size: clamp(3.1rem, 15vw, 5rem); }
  .hero-lead { font-size: 1.05rem; }
  .cadence-map, .family-map { min-height: 420px; }
  .section-heading h2 { font-size: clamp(2.25rem, 11vw, 3.35rem); }
  .product-card { display: grid; grid-template-columns: 1fr; grid-template-rows: auto 370px; min-height: auto; }
  .product-visual-interact { padding: 1.5rem 0 0 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .secondary-card { grid-template-columns: 1.2fr .8fr; min-height: 380px; }
  .footer-links { margin-top: 1rem; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 480px) {
  .wordmark-main { font-size: 1.1rem; }
  .header-cta { font-size: .78rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .cadence-map, .family-map { padding: 1.3rem; }
  .family-apps { grid-template-columns: 1fr; gap: 0; margin: 2rem 0; }
  .family-apps::before { display: none; }
  .family-app { grid-template-columns: 50px 1fr; column-gap: .85rem; align-items: center; justify-items: start; padding: .7rem 0; text-align: left; }
  .family-app img { grid-row: 1 / span 3; width: 50px; height: 50px; margin: 0; border-radius: 12px; }
  .family-app strong { font-size: 1.55rem; }
  .family-action { margin-top: .35rem; }
  .family-bridge { width: 50px; height: 58px; }
  .family-line { display: block; position: absolute; left: 23px; right: auto; top: -12px; bottom: -12px; width: 5px; height: auto; transform: none; border-radius: 999px; background: linear-gradient(180deg,var(--interact),var(--accent-bright) 50%,var(--jury)); box-shadow: 0 0 22px color-mix(in srgb, var(--accent-bright) 28%, transparent); }
  .family-junction { width: 40px; height: 40px; border-width: 6px; border-radius: 12px; }
  .family-junction i { width: 13px; height: 13px; border-radius: 4px; }
  .family-junction i:first-child { left: 6px; top: 6px; }
  .family-junction i:last-child { right: 6px; bottom: 6px; }
  .family-note { line-height: 1.5; }
  .product-visual { min-height: 330px; }
  .secondary-card { grid-template-columns: 1fr; grid-template-rows: auto 240px; }
  .secondary-copy a { margin-top: 1.5rem; }
  .secondary-visual-copytuts img { left: 1rem; width: 118%; }
  .secondary-visual-voice img { width: auto; max-width: none; height: calc(100% + 2.5rem); }
  .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.2rem; }
}

@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; }
  .reveal { opacity: 1; transform: none; }
}
