.container {
  width: min(var(--maxw), calc(100% - 2rem));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--c-gold);
  color: var(--c-night-blue);
  padding: .5rem 1rem;
  font-weight: 700;
}

.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(135deg, rgba(15, 28, 46, .96), rgba(20, 39, 66, .96));
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 30px rgba(15, 28, 46, .18);
}

.nav {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #fff;
}

.brand img {
  display: block;
  width: auto;
  height: 42px;
  max-width: 150px;
  object-fit: contain;
}

.brand--dark { color: #fff; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #fff;
  font-size: .95rem;
  font-weight: 700;
}

.nav__links a,
.nav__links summary {
  color: inherit;
  text-decoration: none;
}

.nav__links a:not(.btn),
.nav__links summary {
  padding-block: .35rem;
}

.nav__links a:not(.btn):hover,
.nav__links summary:hover,
.text-link:hover {
  color: var(--c-royal-blue);
}

.glossary-term {
  white-space: nowrap;
  text-decoration: underline dotted;
  text-underline-offset: .2em;
}
.glossary-note { padding-block: var(--space-6); color: var(--c-text-muted); }
.glossary-note p { margin: 0; scroll-margin-top: 6rem; }

.nav__dropdown { position: relative; }
.nav__dropdown summary { cursor: pointer; list-style: none; }
.nav__dropdown summary::-webkit-details-marker { display: none; }

.nav__dropdown summary::after {
  content: "";
  display: inline-block;
  width: .4rem;
  height: .4rem;
  margin-left: .65rem;
  vertical-align: .15em;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.nav__dropdown[open] summary::after { transform: rotate(225deg); }
.nav__dropdown--audiences .nav__panel { min-width: 19rem; }
.nav__panel a[aria-current="page"] { background: rgba(255, 255, 255, .08); color: var(--c-gold); }

.nav__panel {
  position: absolute;
  top: 2.25rem;
  left: -.75rem;
  min-width: 15.5rem;
  display: grid;
  gap: .15rem;
  padding: .6rem;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius-md);
  background: var(--c-night-blue-soft);
  box-shadow: var(--shadow-card);
}

.nav__panel a {
  padding: .55rem .7rem;
  border-radius: var(--radius-sm);
}

.nav__panel a:hover { background: rgba(255, 255, 255, .08); }

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .08);
}

.nav-toggle span:not(.visually-hidden) {
  display: block;
  width: 1.2rem;
  height: 2px;
  margin: .24rem auto;
  background: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: .82rem 1.45rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-weight: 800;
  line-height: 1.15;
  text-decoration: none;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(15, 28, 46, .12);
}

.btn:active {
  transform: translateY(1px);
  box-shadow: none;
}

.btn--primary {
  background: var(--c-royal-blue);
  color: #fff;
}

.site-header .btn--primary {
  background: #fff;
  color: var(--c-night-blue);
}

.btn--ghost {
  border-color: var(--c-border-strong);
  background: transparent;
  color: var(--c-text);
}

.btn--on-dark {
  background: #f8fafc;
  color: var(--c-night-blue);
}

.btn--ghost-dark {
  border-color: rgba(255, 255, 255, .5);
  color: #fff;
}

.section {
  position: relative;
  padding: var(--space-20) 0;
}

.section--alt {
  background: linear-gradient(180deg, rgba(215, 224, 234, .54), rgba(215, 224, 234, .2));
}

.section--dark,
.hero--dark,
.footer,
.cta-band {
  background:
    linear-gradient(120deg, rgba(201, 162, 77, .14), transparent 34%),
    linear-gradient(135deg, var(--c-night-blue-deep), var(--c-night-blue-soft));
  color: #fff;
}

.section--dark h2,
.section--dark h3,
.hero--dark h1,
.footer h2,
.cta-band h2 { color: #fff; }

.section__head {
  margin-bottom: var(--space-8);
  padding-left: clamp(0rem, 3vw, 2.75rem);
  border-left: 3px solid var(--c-gold);
}

.section__head p:not(.eyebrow) {
  color: var(--c-text-muted);
  font-size: 1.1rem;
}

.section--dark .section__head p:not(.eyebrow),
.hero--dark .hero__lead,
.cta-band p,
.footer p {
  color: rgba(255, 255, 255, .82);
}

.eyebrow {
  margin-bottom: .85rem;
  color: var(--c-gold);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.hero {
  overflow: hidden;
  padding: clamp(4.5rem, 8vw, 7rem) 0 clamp(4rem, 7vw, 6.5rem);
  border-bottom: 3px solid var(--c-gold);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 85% 18%, rgba(47, 111, 237, .22), transparent 34%);
}

.hero--short {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(340px, 1.08fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.hero__grid > * { min-width: 0; }

.hero__lead,
.lead {
  max-width: 59ch;
  font-size: clamp(1.08rem, 1rem + .45vw, 1.32rem);
  color: inherit;
  opacity: .92;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.grid {
  display: grid;
  gap: var(--space-4);
  align-items: stretch;
}

.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.card {
  height: 100%;
  padding: var(--space-6);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--c-surface) 94%, var(--c-bg));
  box-shadow: 0 1px 0 rgba(15, 28, 46, .04);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: var(--c-border-strong);
  box-shadow: var(--shadow-card);
}

.card__icon {
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  margin-bottom: var(--space-4);
  border-left: 3px solid var(--c-gold);
  color: var(--c-royal-blue);
}

.icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card__title { margin-bottom: .5rem; }
.card h2.card__title {
  max-width: none;
  font-family: var(--font-body);
  font-size: clamp(1.12rem, 1rem + .45vw, 1.38rem);
  line-height: 1.18;
}
.card__text { color: var(--c-text-muted); }

.text-link {
  display: inline-flex;
  margin-top: var(--space-3);
  color: var(--c-royal-blue);
  font-weight: 800;
  text-underline-offset: .25em;
}

.browser-frame {
  overflow: hidden;
  max-width: 100%;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: var(--radius-lg);
  background: var(--c-surface);
  box-shadow: var(--shadow-raised);
}

.browser-frame__bar {
  height: 2.35rem;
  display: flex;
  gap: .45rem;
  align-items: center;
  padding: 0 .9rem;
  background: #e7edf4;
}

.browser-frame__bar span {
  width: .58rem;
  height: .58rem;
  border-radius: 50%;
  background: var(--c-gold);
}

.browser-frame--shot { margin: 0; }

.browser-frame--shot img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: left top;
}

/* Stock photo standing in for a product view: no browser chrome, so it never reads as a screenshot. */
.feature-photo {
  overflow: hidden;
  max-width: 100%;
  margin: 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-raised);
}

.feature-photo img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.screenshot-placeholder {
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  padding: 1rem;
  text-align: center;
  background: linear-gradient(135deg, var(--c-night-blue), var(--c-night-blue-soft));
  color: #fff;
}

.trust-strip {
  padding: 0;
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
}

.trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust-strip__grid div {
  min-height: 5.25rem;
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: 1rem;
  border-left: 1px solid var(--c-border);
  font-weight: 800;
}

.trust-strip__grid div:first-child { border-left: 0; }
.trust-strip .icon { color: var(--c-gold); }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
  border-block: 1px solid var(--c-border-strong);
}

.step {
  position: relative;
  padding: 1.35rem;
  border-right: 1px solid var(--c-border);
  background: color-mix(in srgb, var(--c-surface) 90%, transparent);
}

.step:last-child { border-right: 0; }

.step span {
  display: block;
  margin-bottom: 1.2rem;
  color: var(--c-gold);
  font-family: var(--font-title);
  font-size: 2.45rem;
  font-weight: 700;
  line-height: 1;
}

.step p {
  margin: 0;
  font-weight: 700;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
}

.chip {
  padding: .52rem .85rem;
  border: 1px solid var(--c-border-strong);
  border-radius: 999px;
  background: var(--c-surface);
  font-weight: 800;
}

.logo-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: .9rem;
  margin: 0 0 var(--space-6);
  padding: 0;
  list-style: none;
}

/* Fond blanc fixe : les logos partenaires ont des tracés sombres, illisibles sur la surface du thème sombre. */
.logo-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 92px;
  padding: .75rem 1.25rem;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  background: #fff;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.logo-tile a {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Toute la tuile devient cliquable quand le logo porte un lien. */
.logo-tile a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.logo-tile:has(a):hover {
  transform: translateY(-2px);
  border-color: var(--c-border-strong);
  box-shadow: var(--shadow-card);
}

.logo-tile img {
  width: auto;
  max-width: 100%;
  height: 34px;
  object-fit: contain;
}

.logo-tile img.logo--tall { height: 66px; }
.logo-tile img.logo--compact { height: 27px; }

.logo-tile__label {
  margin-left: .6rem;
  color: #0f1c2e;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -.01em;
}

.faq {
  border-top: 1px solid var(--c-border);
  padding: 1.1rem 0;
}

.faq summary {
  cursor: pointer;
  color: var(--c-night-blue);
  font-weight: 800;
}

.faq p { color: var(--c-text-muted); }

.cta-band { padding: var(--space-12) 0; }

.cta-band__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-6);
  align-items: center;
}

.toc {
  position: sticky;
  top: 6rem;
  align-self: start;
  padding: 1rem;
  border-left: 3px solid var(--c-gold);
  background: color-mix(in srgb, var(--c-surface) 84%, transparent);
}

.toc h2 {
  max-width: none;
  font-family: var(--font-body);
  font-size: 1rem;
}

.toc a,
.footer a {
  display: block;
  text-decoration: none;
}

.toc a {
  padding: .38rem 0;
  color: var(--c-text-muted);
  font-size: .95rem;
}

.toc a:hover { color: var(--c-royal-blue); }

.form-field { display: grid; gap: .35rem; }

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: .82rem;
  border: 1px solid var(--c-border-strong);
  border-radius: var(--radius-sm);
  background: var(--c-surface);
  color: var(--c-text);
  font: inherit;
}

.form-error {
  display: none;
  margin: 0;
  color: #b42318;
  font-size: .9rem;
}

.form-field input:invalid:not(:placeholder-shown) + .form-error { display: block; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.todo {
  display: inline-block;
  padding: .35rem .5rem;
  border: 1px dashed #9a6700;
  border-radius: var(--radius-sm);
  background: #fff3c4;
  color: #4b3600;
}

.footer {
  padding: var(--space-12) 0 var(--space-6);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: var(--space-8);
}

.footer__grid > div:first-child p {
  max-width: 34ch;
  margin-top: var(--space-4);
}

.footer h2 {
  max-width: none;
  margin-bottom: 1rem;
  color: var(--c-gold);
  font-family: var(--font-body);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.footer a {
  margin-bottom: .6rem;
  color: rgba(255, 255, 255, .82);
  font-size: .95rem;
}

.footer a:hover { color: #fff; }

.footer a.footer__social {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: .4rem;
  padding: .4rem .8rem;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: var(--radius-sm);
}

.footer a.footer__social:hover { border-color: rgba(255, 255, 255, .6); }

.footer__bottom {
  margin-top: var(--space-8);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .62);
  font-size: .85rem;
}

.footer .footer__publisher {
  max-width: none;
  margin-bottom: .6rem;
  color: inherit;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem 1.5rem;
}

.footer__legal nav {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem 1.5rem;
}

.footer__legal a {
  margin-bottom: 0;
  color: inherit;
  font-size: inherit;
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: var(--space-4);
  z-index: 60;
  width: min(880px, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: var(--space-6);
  padding: var(--space-4) var(--space-6);
  border: 1px solid var(--c-border-strong);
  border-top: 3px solid var(--c-gold);
  border-radius: var(--radius-md);
  background: var(--c-surface);
  color: var(--c-text);
  box-shadow: var(--shadow-raised);
}

.cookie-banner[hidden] { display: none; }

.cookie-banner__title {
  margin-bottom: var(--space-1);
  font-size: 1.1rem;
}

.cookie-banner p {
  margin: 0;
  max-width: none;
  font-size: .92rem;
  line-height: 1.5;
  color: var(--c-text-muted);
}

.cookie-banner p a { color: var(--c-royal-blue); }

.cookie-banner__actions {
  display: flex;
  flex-shrink: 0;
  gap: var(--space-3);
}

.cookie-banner .btn { cursor: pointer; font: inherit; font-weight: 800; }

@media (max-width: 640px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-3);
    padding: var(--space-4);
  }

  .cookie-banner__actions .btn { flex: 1; width: auto; }
}

@media (prefers-color-scheme: dark) {
  .site-header { background: linear-gradient(135deg, rgba(15, 28, 46, .96), rgba(20, 39, 66, .96)); }

  .brand,
  .nav__links,
  .faq summary {
    color: var(--c-text);
  }

}

@media (max-width: 1023px) {
  .nav {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav-toggle { display: block; }

  .nav__links {
    position: static;
    width: 100%;
    display: grid;
    gap: .8rem;
    padding: 1rem 0;
    background: var(--c-night-blue-soft);
    border-top: 1px solid rgba(255, 255, 255, .14);
  }

  html.js body:not(.nav-open) .nav__links { display: none; }

  body.nav-open .nav__links {
    position: fixed;
    inset: 70px 0 auto 0;
    display: grid;
    padding: 1rem;
    background: var(--c-night-blue-soft);
    border-bottom: 1px solid rgba(255, 255, 255, .14);
    max-height: calc(100dvh - 70px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .nav__panel {
    position: static;
    box-shadow: none;
    margin-top: .5rem;
  }

  .nav__dropdown--audiences .nav__panel { min-width: 0; }

  .hero__grid,
  .cta-band__inner,
  .footer__grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .catalog-layout { display: block; }
  .toc { position: static; margin-bottom: 2rem; }
  .trust-strip__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 641px) and (max-width: 1023px) {
  .footer__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid > div:first-child { grid-column: 1 / -1; }
}

@media (min-width: 1024px) {
  .catalog-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 2.5rem;
  }
}

@media (max-width: 640px) {
  .trust-strip__grid { grid-template-columns: 1fr; }
  .trust-strip__grid div { border-left: 0; border-top: 1px solid var(--c-border); }
  .trust-strip__grid div:first-child { border-top: 0; }
  .steps { display: grid; gap: .75rem; border: 0; }
  .step { border: 1px solid var(--c-border); }
}

@media (max-width: 480px) {
  .container { width: min(100% - 1rem, var(--maxw)); }
  .section { padding: var(--space-12) 0; }
  .hero { padding: var(--space-16) 0; }
  .hero__grid h1 { font-size: clamp(2.35rem, 10.5vw, 3rem); }
  .hero__lead { overflow-wrap: break-word; }
  .btn { width: 100%; }
  .brand img { height: 38px; max-width: 130px; }
}
