/* Xelmes · design system « Xelmes » (claude.ai), tiré du kit Figma « Agency Landing Page ».
   Hind Vadodara, encre marine du logo, accent jaune, bandes teintées à grand coin arrondi. */

@font-face { font-family: 'Hind Vadodara'; src: url('../fonts/hind-vadodara-300.woff2') format('woff2'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Hind Vadodara'; src: url('../fonts/hind-vadodara-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Hind Vadodara'; src: url('../fonts/hind-vadodara-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Hind Vadodara'; src: url('../fonts/hind-vadodara-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Hind Vadodara'; src: url('../fonts/hind-vadodara-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

/* ── Jetons (tokens.json du design system) ─────────────────────────────── */
:root {
  --navy-900: #0A1928;
  --navy-800: #13293F;
  --text-body: #5D6771;
  --white: #FFFFFF;
  --yellow-400: #FDC021;
  --yellow-100: #FFF1C7;
  --yellow-50: #FFF4D4;
  --sky-50: #ECF7FF;
  --sky-100: #D4F0FF;
  --peach-100: #FFEED4;
  --blush-100: #FFDED4;
  --rose-100: #FFD4D4;
  --blush-50: #FFF5F2;
  --line: #E0E9F3;

  --font-sans: 'Hind Vadodara', 'Helvetica Neue', Arial, sans-serif;

  --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 20px; --space-6: 24px;
  --space-7: 32px; --space-8: 48px; --space-9: 64px; --space-10: 120px;

  --radius-card: 10px; --radius-pill: 100px; --radius-footer: 158px; --radius-band: 400px;

  --shadow-card: 0 0 9px 2px rgba(0, 0, 0, 0.05);
  --shadow-float: 0 4px 17px 0 rgba(0, 0, 0, 0.14);

  --page: 1200px;
  --gutter: var(--space-8);
  --section-y: var(--space-10);
}
@media (max-width: 720px) {
  :root { --gutter: var(--space-4); --section-y: 72px; }
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  overflow-x: clip;
  font-family: var(--font-sans); font-size: 16px; line-height: 1.59; letter-spacing: 0.02em;
  color: var(--navy-900); background: var(--white);
  -webkit-font-smoothing: antialiased;
  caret-color: var(--navy-900);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { list-style: none; }
::selection { background: var(--yellow-400); color: var(--navy-900); }
:focus-visible { outline: 2px solid var(--navy-900); outline-offset: 3px; }
.foot :focus-visible { outline-color: var(--yellow-400); }

.skip { position: absolute; left: var(--gutter); top: -60px; z-index: 60; padding: 10px 16px; background: var(--navy-900); color: var(--white); border-radius: var(--radius-card); }
.skip:focus { top: 12px; }

/* ── Titres à deux voix ────────────────────────────────────────────────── */
.heading { letter-spacing: -0.01em; text-wrap: balance; }
.heading > span { display: block; }
.heading--hero { font-size: clamp(2.5rem, 1.4rem + 3.8vw, 76px); line-height: 1.02; }
.heading--section { font-size: clamp(2rem, 1.4rem + 2vw, 48px); line-height: 1.06; }
.heading--center { text-align: center; }
.w-300 { font-weight: 300; } .w-600 { font-weight: 600; } .w-700 { font-weight: 700; }
.mark {
  text-decoration: underline; text-decoration-color: var(--yellow-400);
  text-decoration-thickness: 0.12em; text-underline-offset: 0.08em; text-decoration-skip-ink: none;
}
.w-300 .mark { font-weight: 300; }
.lead { margin-top: var(--space-7); max-width: 56ch; font-size: 17px; line-height: 1.46; color: var(--text-body); }
.lead--center { margin-inline: auto; text-align: center; }

/* ── Boutons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 66px; padding: 0 var(--space-8);
  border-radius: var(--radius-card); text-decoration: none; white-space: nowrap;
  font-size: 17px; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase;
  transition: background-color 150ms ease-out, transform 100ms ease-out;
}
.btn--primary { background: var(--navy-900); color: var(--white); }
.btn--primary:hover { background: var(--navy-800); }
.btn:active { transform: translateY(1px); }
@media (max-width: 720px) { .btn { min-height: 56px; padding: 0 var(--space-7); font-size: 15px; } }

/* ── Navigation ────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--space-6);
  min-height: 80px; padding: 0 var(--gutter);
  background: var(--white);
  transition: box-shadow 200ms ease-out;
}
.nav.is-scrolled { box-shadow: var(--shadow-card); }
.nav-links { display: flex; gap: var(--space-7); }
.nav-links a { text-decoration: none; font-size: 16px; letter-spacing: 0.01em; text-underline-offset: 8px; text-decoration-thickness: 2px; }
.nav-links a:hover { text-decoration: underline; }
.nav-links a[aria-current="true"] { font-weight: 600; text-decoration: underline; text-decoration-color: var(--yellow-400); }
.brand { display: inline-flex; align-items: center; gap: var(--space-3); text-decoration: none; color: var(--navy-900); }
.brand img { width: 34px; height: auto; }
.brand b { font-size: 19px; font-weight: 600; letter-spacing: 0.3em; margin-right: -0.3em; }
.lang { justify-self: end; display: flex; gap: 2px; }
.lang a {
  display: inline-grid; place-items: center; min-width: 40px; min-height: 40px; padding: 0 6px;
  font-size: 15px; letter-spacing: 0.02em; color: var(--text-body); text-decoration: none;
}
.lang a:hover { color: var(--navy-900); }
.lang a[aria-current="true"] { color: var(--navy-900); font-weight: 600; text-decoration: underline; text-decoration-color: var(--yellow-400); text-decoration-thickness: 2px; text-underline-offset: 7px; }
.nav-links a[aria-current="page"] { font-weight: 600; text-decoration: underline; text-decoration-color: var(--yellow-400); }
@media (max-width: 880px) {
  .nav { grid-template-columns: auto 1fr; min-height: 68px; }
  .nav-links { display: none; }
}

/* ── Formes organiques (BlobFrame) ─────────────────────────────────────── */
.blob { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1 / 1; justify-self: center; }
.blob-art { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.b-yellow { fill: var(--yellow-400); }
.b-soft { fill: var(--yellow-100); }
.b-orbit { fill: none; stroke: var(--navy-900); stroke-width: 2; stroke-dasharray: 4 4; }
.blob-img { position: absolute; left: 7%; top: 13%; width: 86%; height: auto; }

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: center; gap: var(--space-8);
  max-width: calc(var(--page) + 2 * var(--gutter)); margin: 0 auto;
  padding: var(--space-9) var(--gutter) var(--section-y);
}
.hero::before {
  content: ''; position: absolute; z-index: -1; top: -80px; right: calc((100vw - 100%) / -2); width: 24vw; height: 340px;
  background: var(--yellow-50); border-bottom-left-radius: var(--radius-band);
}
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-6) var(--space-7); margin-top: var(--space-8); }
@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; padding-top: var(--space-7); }
  .hero .blob { max-width: 420px; }
  .hero::before { width: 60vw; height: 260px; }
}

/* ── Sections et bandes ────────────────────────────────────────────────── */
.section, .band { padding: var(--section-y) var(--gutter); }
.section > *, .band > * { max-width: var(--page); margin-inline: auto; }
.band--sky { background: var(--sky-50); }
.band--blush { background: var(--blush-50); }
.band--tr { border-top-right-radius: var(--radius-band); }
.band--tl { border-top-left-radius: var(--radius-band); }
@media (max-width: 720px) {
  .band--tr { border-top-right-radius: 120px; }
  .band--tl { border-top-left-radius: 120px; }
}

/* ── Cartes ────────────────────────────────────────────────────────────── */
.card { background: var(--white); border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
.card-illus { width: 100%; aspect-ratio: 480 / 330; object-fit: cover; object-position: center 40%; border-radius: var(--radius-card) var(--radius-card) 0 0; background: var(--white); }
.card-body { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-5) var(--space-6) var(--space-7); }
.card-title { font-size: 16px; line-height: 1.37; font-weight: 700; letter-spacing: 0.055em; text-transform: uppercase; color: var(--navy-900); }
.card-text { font-size: 15px; line-height: 1.45; font-weight: 300; letter-spacing: 0.02em; color: var(--text-body); }
.tile { display: inline-grid; place-items: center; width: 52px; height: 48px; border-radius: var(--radius-card); background: var(--sky-100); }
.tile--peach { background: var(--peach-100); } .tile--blush { background: var(--blush-100); } .tile--rose { background: var(--rose-100); }
.tile img { width: 26px; height: 26px; }

.xp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6); margin-top: var(--space-9); }
.xp-card { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); align-items: stretch; overflow: hidden; }
.xp-card .card-illus { height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 30% center; border-radius: var(--radius-card) 0 0 var(--radius-card); background: var(--white); }
.xp-card .card-body { padding: var(--space-6) var(--space-6) var(--space-6) var(--space-2); display: flex; flex-direction: column; gap: var(--space-3); }
.xp-more { display: flex; align-items: center; justify-content: center; gap: var(--space-3); margin-top: var(--space-8); font-size: 16px; color: var(--navy-900); text-align: center; }
.xp-more img { flex: none; }

.checks { display: grid; gap: var(--space-2); margin-top: var(--space-2); }
.checks li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.45; color: var(--navy-900); }
.checks li::before {
  content: ''; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--yellow-400) url('../icons/check.svg') center / 10px no-repeat;
}
@media (max-width: 1100px) {
  .xp-card { grid-template-columns: 1fr; }
  .xp-card .card-illus { height: auto; aspect-ratio: 480 / 330; border-radius: var(--radius-card) var(--radius-card) 0 0; }
  .xp-card .card-body { padding: var(--space-5) var(--space-6) var(--space-7); }
}
@media (max-width: 720px) { .xp-grid { grid-template-columns: 1fr; } .xp-more { justify-content: flex-start; text-align: left; } }

/* ── Méthode : défilement de cartes ────────────────────────────────────── */
.split-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-8); align-items: end; }
.split-head .lead { margin-top: 0; }
.rail-wrap { margin-top: var(--space-9); }
.rail {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-6);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 12px; margin: -12px;
}
.rail::-webkit-scrollbar { display: none; }
.step { scroll-snap-align: start; }
.step-title { font-size: 24px; line-height: 1.3; font-weight: 700; }
.arrows { gap: var(--space-3); margin-top: var(--space-7); }
.arrows button {
  display: grid; place-items: center; width: 40px; height: 40px; padding: 0; cursor: pointer;
  border: 2px solid var(--navy-900); border-radius: var(--radius-pill); background: transparent; color: var(--navy-900);
  transition: background-color 150ms ease-out, color 150ms ease-out;
}
.arrows button:hover:not(:disabled) { background: var(--navy-900); color: var(--white); }
.arrows button:disabled { opacity: 0.3; cursor: default; }
.arrows svg { width: 18px; height: 18px; }
.arrows { display: none; }
@media (max-width: 1000px) {
  .rail { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(260px, 42%); }
  .arrows { display: flex; }
}
@media (max-width: 720px) {
  .split-head { grid-template-columns: 1fr; gap: var(--space-5); }
  .rail { grid-auto-columns: 82%; }
}

/* ── Sections en deux colonnes ─────────────────────────────────────────── */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-9); align-items: center; }
.split > * { margin-inline: 0; }
.band.split { padding-inline: max(var(--gutter), calc((100% - var(--page)) / 2)); }
.split-text > .btn { margin-top: var(--space-8); }
.modes { display: grid; gap: var(--space-6); margin-top: var(--space-8); }
.modes dt { font-size: 18px; font-weight: 700; line-height: 1.3; }
.modes dd { margin-top: 4px; font-size: 16px; color: var(--text-body); }
.mail { display: inline-block; margin-top: var(--space-7); font-size: clamp(1.5rem, 1rem + 1.6vw, 2.25rem); font-weight: 600; text-decoration: underline; text-decoration-color: var(--yellow-400); text-decoration-thickness: 3px; text-underline-offset: 6px; overflow-wrap: anywhere; }
.mail:hover { color: var(--navy-800); }
.split-text .mail + .btn { display: flex; width: fit-content; margin-top: var(--space-7); }
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; gap: var(--space-8); }
  .split .blob { max-width: 420px; }
  .split--contact .blob { order: -1; }
}

/* ── Stack ─────────────────────────────────────────────────────────────── */
.azure {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--space-7);
  margin-top: var(--space-9); padding: var(--space-7) var(--space-8);
}
.azure > img:first-child { width: 72px; height: 72px; }
.azure .card-text { margin-top: var(--space-2); }
.azure-devops { width: 56px; height: 56px; }
.logos { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-4); margin-top: var(--space-7); }
.logos li {
  display: inline-flex; align-items: center; gap: var(--space-3);
  padding: var(--space-3) var(--space-5); border-radius: var(--radius-card); background: var(--sky-50);
  font-size: 15px; font-weight: 500;
}
.logos img { width: 24px; height: 24px; }
.stack-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-8) var(--space-7); margin-top: var(--space-9); }
.stack-grid p { margin-top: var(--space-2); font-size: 15px; line-height: 1.6; font-weight: 300; color: var(--text-body); }
@media (max-width: 880px) {
  .azure { grid-template-columns: auto minmax(0, 1fr); padding: var(--space-6); }
  .azure-devops { display: none; }
  .stack-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) { .stack-grid { grid-template-columns: 1fr; } .azure { grid-template-columns: 1fr; } }

/* ── Pied de page ──────────────────────────────────────────────────────── */
.foot {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--space-8);
  padding: var(--space-9) max(var(--gutter), calc((100% - var(--page)) / 2)) var(--space-7);
  background: var(--navy-900); color: var(--white);
  border-top-right-radius: var(--radius-footer);
}
.brand--light { color: var(--white); }
.brand--light img { width: 40px; }
.foot-brand p { margin-top: var(--space-5); max-width: 36ch; }
.foot h2 { margin-bottom: var(--space-3); font-size: 16px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; }
.foot address { font-style: normal; }
.foot a { text-underline-offset: 4px; }
.foot a:hover { color: var(--yellow-400); }
.foot ul { display: grid; gap: var(--space-2); }
.foot-legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2) var(--space-6); padding-top: var(--space-6); font-size: 14px; }
.foot-tm { flex-basis: 100%; color: #B9C3CF; }
@media (max-width: 720px) {
  .foot { grid-template-columns: 1fr; gap: var(--space-7); border-top-right-radius: 64px; }
}

/* ── Pages légales ─────────────────────────────────────────────────────── */
.nav--legal { box-shadow: var(--shadow-card); }
.back { font-size: 15px; text-decoration: none; color: var(--text-body); }
.back:hover { color: var(--navy-900); text-decoration: underline; text-decoration-color: var(--yellow-400); text-underline-offset: 6px; }
.legal-page main { padding: var(--space-9) var(--gutter) var(--section-y); }
.legal { max-width: 720px; margin: 0 auto; }
.legal h1 { font-size: clamp(2rem, 1.4rem + 2vw, 48px); line-height: 1.06; font-weight: 700; letter-spacing: -0.01em; }
.legal-updated { margin-top: var(--space-3); font-size: 15px; color: var(--text-body); }
.legal-intro { margin-top: var(--space-7); font-size: 17px; line-height: 1.46; color: var(--text-body); }
.legal h2 { margin: var(--space-8) 0 var(--space-3); font-size: 22px; line-height: 1.3; font-weight: 700; }
.legal p, .legal li { color: var(--text-body); }
.legal p + p { margin-top: var(--space-3); }
.legal ul { display: grid; gap: var(--space-2); margin: var(--space-3) 0; }
.legal li { position: relative; padding-left: 22px; }
.legal li::before { content: ''; position: absolute; left: 0; top: 0.6em; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow-400); }
.legal strong { color: var(--navy-900); font-weight: 600; }
.legal a { color: var(--navy-900); text-decoration: underline; text-decoration-color: var(--yellow-400); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.fiche { margin: var(--space-4) 0 var(--space-5); padding: var(--space-5) var(--space-6); background: var(--sky-50); border-radius: var(--radius-card); }
.fiche p { margin: 0; color: var(--navy-900); line-height: 1.7; }
.fiche strong { display: block; }
.foot--legal { display: block; padding-top: var(--space-6); border-top-right-radius: 64px; }
.foot--legal .foot-legal { padding-top: 0; }
@media (max-width: 720px) { .back { font-size: 14px; } .nav--legal .brand b { display: none; } }

/* ── Pages intérieures ─────────────────────────────────────────────────── */
.crumbs { display: flex; flex-wrap: wrap; gap: var(--space-2); max-width: calc(var(--page) + 2 * var(--gutter)); margin: 0 auto; padding: var(--space-6) var(--gutter) 0; font-size: 14px; color: var(--text-body); }
.crumbs a { color: var(--text-body); text-underline-offset: 3px; }
.crumbs a:hover { color: var(--navy-900); }
.hero--page { padding-top: var(--space-7); }
.hero--page::before { display: none; }
.card-link { color: inherit; text-decoration: none; }
.card-link::after { content: ''; position: absolute; inset: 0; border-radius: var(--radius-card); }
.xp-card { position: relative; transition: box-shadow 200ms ease-out, transform 200ms ease-out; }
.xp-card:hover { box-shadow: var(--shadow-float); transform: translateY(-2px); }
.xp-card:focus-within { outline: 2px solid var(--navy-900); outline-offset: 3px; }
.card-link:focus-visible { outline: none; }
.more { margin-top: auto; padding-top: var(--space-3); font-size: 15px; font-weight: 600; text-decoration: underline; text-decoration-color: var(--yellow-400); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.sit-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-6); margin-top: var(--space-9); }
.sit-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sit { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-6); }
.checks--lg li { font-size: 16px; padding-left: 30px; }
.checks--lg li::before { width: 18px; height: 18px; top: 2px; }
.checks--lg { gap: var(--space-4); margin-top: var(--space-8); }
.split--top { align-items: start; }
.tools { align-self: start; display: grid; gap: var(--space-4); padding-top: var(--space-3); }
.logos--left { justify-content: flex-start; margin-top: 0; }
.offer-link { display: flex; align-items: center; gap: var(--space-4); padding: var(--space-5); text-decoration: none; margin-top: var(--space-4); transition: box-shadow 200ms ease-out; }
.offer-link:hover { box-shadow: var(--shadow-float); }
.offer-link b { display: block; font-size: 17px; }
.offer-link span span { display: block; font-size: 14px; color: var(--text-body); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-6); margin-top: var(--space-9); }
.steps li { padding: var(--space-6); display: grid; gap: var(--space-3); align-content: start; }
.facts { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-3); margin-top: var(--space-6); }
.facts li { padding: 6px var(--space-4); border-radius: var(--radius-pill); background: var(--sky-50); font-size: 15px; font-weight: 500; }
.after { margin-top: var(--space-7); font-size: 16px; color: var(--navy-900); }
.terms { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); margin-top: var(--space-7); }
.terms .card { padding: var(--space-6); display: grid; gap: var(--space-3); }
.faq { display: grid; gap: var(--space-4); max-width: 820px; margin: var(--space-9) auto 0; }
.faq details { padding: 0; }
.faq summary { cursor: pointer; list-style: none; position: relative; padding: var(--space-5) 56px var(--space-5) var(--space-6); font-size: 17px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: var(--space-6); top: 50%; transform: translateY(-50%); width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow-400); font-weight: 700; }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding: 0 var(--space-6) var(--space-6); color: var(--text-body); }
@media (max-width: 1000px) {
  .sit-grid, .steps { grid-template-columns: 1fr 1fr; }
  .sit-grid--3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .sit-grid, .sit-grid--3, .steps, .terms { grid-template-columns: 1fr; }
}
.notfound { max-width: 640px; margin: 0 auto; padding: var(--space-10) var(--gutter); display: grid; gap: var(--space-6); }
.nf-code { font-size: 96px; font-weight: 700; line-height: 1; color: var(--yellow-400); }
.notfound h1 { font-size: 24px; }
.notfound p a { font-weight: 600; text-decoration-color: var(--yellow-400); text-underline-offset: 4px; }
