/* Geoprosp — page vitrine. Aucune police ni ressource externe. */

/* ---------- Jetons ---------- */
:root {
  color-scheme: light;

  /* Palette */
  --green-950: #062a1f;
  --green-900: #0a3b2c;
  --green-800: #0f4d39;
  --green-700: #1a6a4f;
  --green-200: #c3dccf;
  --green-100: #e4f0ea;
  --green-50: #f4f9f6;
  --orange-400: #fb923c;
  --orange-500: #f97316;
  --orange-700: #b3470a;

  /* Rôles */
  --bg: #fff;
  --bg-tint: var(--green-50);
  --text: #12251d;
  --text-soft: #40554b;
  --brand: var(--green-900);
  --brand-soft: var(--green-700);
  --accent: var(--orange-500);
  --line: color-mix(in srgb, var(--green-900) 18%, transparent);
  --focus: var(--orange-700);

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(1rem, 4vw, 2rem);
  --radius: 0.5rem;
  --measure: 65ch;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-block-start: 5rem;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}

[hidden] { display: none !important; }

h1, h2, h3 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--brand);
  text-wrap: balance;
}
h3 { font-size: 1.1875rem; line-height: 1.3; letter-spacing: -0.005em; }
p, li { text-wrap: pretty; }
p { margin: 0 0 1rem; }
figure { margin: 0; }

a { color: inherit; }

:where(a, button, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 0.25rem;
}

.on-dark { --focus: var(--orange-400); }

::selection { background: var(--green-200); color: var(--green-950); }

.wrap {
  inline-size: min(100% - 2 * var(--gutter), 72rem);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  inset-block-start: 0.5rem;
  inset-inline-start: 0.5rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius);
  translate: 0 -200%;
}
.skip-link:focus { translate: 0 0; }

main:focus { outline: none; }

/* ---------- Boutons et liens ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-block-size: 3rem;
  padding: 0.5rem 1.5rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font: 600 1rem/1.2 var(--font);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s;
}
.btn--primary {
  background: var(--orange-500);
  color: var(--green-950);
  &:hover { background: color-mix(in srgb, var(--orange-500) 80%, white); }
}
.btn--sm { min-block-size: 2.75rem; padding-inline: 1.1rem; font-size: 0.9375rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-block-size: 3rem;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
  &::after {
    content: "";
    inline-size: 0.55rem;
    block-size: 0.55rem;
    border-inline-end: 2px solid currentColor;
    border-block-end: 2px solid currentColor;
    rotate: 45deg;
    translate: 0 -1px;
    transition: translate 0.15s;
  }
  &:hover { text-decoration: underline; text-underline-offset: 0.25em; }
  &:hover::after { translate: 0 2px; }
}

.link-underline {
  display: inline-block;
  padding-block: 0.5rem;
  font-weight: 600;
  text-underline-offset: 0.25em;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--orange-400);
}

/* ---------- En-tête ---------- */
.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-block-end: 1px solid var(--line);
}
.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-block-size: 4rem;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-block-size: 2.75rem;
  color: var(--brand);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.nav ul {
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav a {
  display: inline-block;
  padding-block: 0.6rem;
  font-weight: 500;
  text-decoration: none;
  border-block-end: 2px solid transparent;
  &:hover { border-color: var(--accent); }
}
@media (max-width: 47.99em) {
  .nav { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(2.5rem, 6vw, 5.5rem);
}
/* Les rayons débordent du hero : on les fond dans le fond de page plutôt que de les couper net. */
.hero::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  z-index: -1;
  block-size: 6rem;
  background: linear-gradient(transparent, var(--bg));
  pointer-events: none;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}
@media (max-width: 56em) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__visual { max-inline-size: 26rem; margin-inline: auto; inline-size: 100%; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-block-end: 1.25rem;
  color: var(--brand-soft);
  font-size: 0.9375rem;
  font-weight: 600;
  &::before {
    content: "";
    inline-size: 2.25rem;
    block-size: 1px;
    background: var(--brand-soft);
  }
  &::after {
    content: "";
    inline-size: 0.5rem;
    block-size: 0.5rem;
    margin-inline-start: -0.35rem;
    border-radius: 50%;
    background: var(--accent);
  }
}

.hero h1 {
  font-size: clamp(2rem, 1.3rem + 2.7vw, 3.3rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
}
.hero__lead {
  display: block;
  margin-block-start: 0.35em;
  color: var(--brand-soft);
  font-weight: 500;
}
.hero__sub {
  max-inline-size: 38rem;
  margin-block: 1.5rem 0;
  font-size: 1.1875rem;
  color: var(--text-soft);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  margin-block-start: 1.75rem;
}
.ticks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.5rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--text-soft);
  font-size: 0.9375rem;
  li {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    &::before {
      content: "";
      inline-size: 0.4rem;
      block-size: 0.4rem;
      border-radius: 50%;
      background: var(--accent);
    }
  }
}

/* Lignes rayonnantes autour du globe */
.hero__visual { position: relative; }
.rays {
  position: absolute;
  inset: -50%;
  z-index: -1;
  pointer-events: none;
  background: url("assets/rays-green.svg") center / 100% 100% no-repeat;
  opacity: 0.4;
  mask-image: radial-gradient(closest-side, #000 60%, transparent 100%);
}

.globe {
  position: relative;
  aspect-ratio: 1;
  inline-size: 100%;
  /* Sphère de fond : légère teinte pour donner du volume aux points */
  &::before {
    content: "";
    position: absolute;
    inset: 10.3%;
    border-radius: 50%;
    background: radial-gradient(circle at 36% 30%, #fff 0%, var(--green-50) 55%, var(--green-100) 100%);
  }
  canvas {
    position: absolute;
    inset: 0;
    inline-size: 100%;
    block-size: 100%;
    cursor: grab;
    touch-action: pan-y;
    &[data-dragging] { cursor: grabbing; }
  }
}
.globe__poster {
  position: absolute;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
  transition: opacity 0.6s;
}
.globe[data-ready] .globe__poster { opacity: 0; }

.globe-toggle, .demo-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-block-size: 2.75rem;
  margin: 0.25rem auto 0;
  padding: 0.35rem 0.9rem;
  border: 1px solid var(--brand-soft);
  border-radius: 999px;
  background: var(--bg);
  color: var(--text-soft);
  font: 500 0.875rem/1.2 var(--font);
  cursor: pointer;
  &:hover { border-color: var(--brand-soft); color: var(--brand); }
  svg { fill: currentColor; flex: none; }
  &[data-state="playing"] .icon-play,
  &[data-state="paused"] .icon-pause { display: none; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(3rem, 8vw, 6rem); }
.section--tint { background: var(--bg-tint); }
.section--defer {
  content-visibility: auto;
  contain-intrinsic-block-size: auto 36rem;
}

.section__head {
  max-inline-size: 44rem;
  margin-block-end: clamp(1.75rem, 4vw, 3rem);
  /* Filet fin terminé par un point orange */
  &::before {
    content: "";
    display: block;
    inline-size: 4.5rem;
    block-size: 0.5rem;
    margin-block-end: 1.25rem;
    background:
      radial-gradient(circle, var(--accent) 0 3px, transparent 3.5px) right center / 0.5rem 0.5rem no-repeat,
      linear-gradient(var(--brand-soft), var(--brand-soft)) left center / calc(100% - 0.25rem) 1px no-repeat;
  }
  h2 { font-size: clamp(1.6rem, 1.05rem + 2vw, 2.5rem); }
  p { margin-block: 1rem 0; color: var(--text-soft); }
  .note { font-size: 0.9375rem; }
}

/* Étapes */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  li {
    position: relative;
    padding-block-start: 4rem;
    counter-increment: step;
    &::before {
      content: counter(step);
      position: absolute;
      inset-block-start: 0;
      inset-inline-start: 0;
      display: grid;
      place-items: center;
      inline-size: 2.75rem;
      block-size: 2.75rem;
      border: 1.5px solid var(--brand);
      border-radius: 50%;
      background: var(--bg);
      color: var(--brand);
      font-weight: 600;
    }
    &::after {
      content: "";
      position: absolute;
      inset-block-start: 1.125rem;
      inset-inline: 3.5rem -0.75rem;
      block-size: 0.5rem;
      background:
        radial-gradient(circle, var(--accent) 0 3px, transparent 3.5px) right center / 0.5rem 0.5rem no-repeat,
        linear-gradient(var(--line), var(--line)) left center / calc(100% - 0.25rem) 1px no-repeat;
    }
    &:last-child::after { display: none; }
  }
  h3 { margin-block-end: 0.5rem; }
  p { margin: 0; color: var(--text-soft); }
}
@media (max-width: 45em) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li::after { display: none; }
}

/* Fichier exemple */
.result {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.5fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
  .section__head { margin-block-end: 0; }
}
@media (max-width: 60em) {
  .result { grid-template-columns: minmax(0, 1fr); }
  .result .section__head { margin-block-end: 0.5rem; }
}
.table-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  box-shadow: 0 18px 40px -24px color-mix(in srgb, var(--green-900) 45%, transparent);
}
.table-scroll { overflow-x: auto; }
table {
  inline-size: 100%;
  min-inline-size: 46rem;
  border-collapse: collapse;
  font-size: 0.9375rem;
}
caption {
  caption-side: bottom;
  padding: 0.75rem 1rem;
  text-align: start;
  color: var(--text-soft);
  font-size: 0.875rem;
}
th, td {
  padding: 0.85rem 1rem;
  text-align: start;
  white-space: nowrap;
  border-block-end: 1px solid var(--line);
}
thead th {
  background: var(--green-900);
  color: #fff;
  font-weight: 600;
}
tbody th { font-weight: 600; color: var(--brand); }
tbody tr:last-child > * { border-block-end: 0; }

/* Avantages */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
  li {
    padding-block-start: 1.5rem;
    border-block-start: 1px solid var(--line);
  }
  h3 { margin-block: 1rem 0.5rem; }
  p { margin: 0; color: var(--text-soft); }
}
.icon {
  display: grid;
  place-items: center;
  inline-size: 2.75rem;
  block-size: 2.75rem;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-800);
  svg {
    inline-size: 1.4rem;
    block-size: 1.4rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
}

/* Bandeau recherche offerte (fond vert) */
.band {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding-block: clamp(3rem, 8vw, 6rem);
  background: var(--green-900);
  color: #fff;
  &::before {
    content: "";
    position: absolute;
    inset-block: -60% ;
    inset-inline-end: -30%;
    inline-size: min(110rem, 160%);
    z-index: -1;
    background: url("assets/rays-white.svg") center / 100% 100% no-repeat;
    opacity: 0.16;
    pointer-events: none;
    mask-image: radial-gradient(closest-side, #000 55%, transparent 100%);
  }
  h2, h3 { color: #fff; }
  h2 { font-size: clamp(1.75rem, 1.1rem + 2.4vw, 2.75rem); }
  p { color: #d6e7de; }
  .small { font-size: 0.9375rem; }
}
.band__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}
@media (max-width: 56em) {
  .band__grid { grid-template-columns: minmax(0, 1fr); }
}
.band__main p:first-of-type { margin-block: 1rem 1.5rem; font-size: 1.1875rem; max-inline-size: 38rem; }
.band__card {
  padding: 1.5rem;
  border: 1px solid color-mix(in srgb, #fff 32%, transparent);
  border-radius: var(--radius);
  background: color-mix(in srgb, #fff 6%, transparent);
  h3 { margin-block-end: 0.5rem; }
  p:last-child { margin-block-end: 0; }
  .link-underline { color: #fff; }
}

/* FAQ */
.faq {
  max-inline-size: 52rem;
  border-block-start: 1px solid var(--line);
  details { border-block-end: 1px solid var(--line); }
  summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-block-size: 3.5rem;
    padding-block: 1rem;
    color: var(--brand);
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    &::-webkit-details-marker { display: none; }
    &::after {
      content: "";
      flex: none;
      inline-size: 0.6rem;
      block-size: 0.6rem;
      border-inline-end: 2px solid currentColor;
      border-block-end: 2px solid currentColor;
      rotate: 45deg;
      translate: 0 -2px;
      transition: rotate 0.2s;
    }
  }
  details[open] summary::after { rotate: -135deg; translate: 0 2px; }
  .answer {
    max-inline-size: var(--measure);
    margin: 0;
    padding-block-end: 1.25rem;
    color: var(--text-soft);
  }
}

/* Appel final */
.final {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding-block: clamp(3.5rem, 9vw, 7rem);
  text-align: center;
  background: var(--bg-tint);
  &::before {
    content: "";
    position: absolute;
    inset: -60% -10%;
    z-index: -1;
    background: url("assets/rays-green.svg") center / 100% 100% no-repeat;
    opacity: 0.32;
    pointer-events: none;
    mask-image: radial-gradient(closest-side, #000 50%, transparent 100%);
  }
  h2 { font-size: clamp(1.75rem, 1.1rem + 2.4vw, 2.75rem); }
  p { max-inline-size: 36rem; margin-inline: auto; color: var(--text-soft); }
  h2 + p { margin-block: 1rem 1.75rem; font-size: 1.1875rem; }
  .small { margin-block-start: 1rem; font-size: 0.9375rem; }
}

/* Pied de page */
.site-footer {
  padding-block: 2rem;
  border-block-start: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 0.9375rem;
  p { margin: 0; }
  ul { display: flex; gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
  a { display: inline-block; padding-block: 0.75rem; text-underline-offset: 0.25em; }
}
.site-footer__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
}
.site-footer__brand { color: var(--brand); }

/* ---------- Mouvement : apparition douce au défilement (amélioration progressive) ---------- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes reveal {
      from { opacity: 0; translate: 0 1.25rem; }
    }
    .reveal {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 35%;
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  .globe__poster, .btn, .link-arrow::after, .faq summary::after { transition: none; }
}

/* ---------- Contraste élevé (Windows) ---------- */
@media (forced-colors: active) {
  .btn { border-color: ButtonText; }
  .table-card, .band__card { border-color: CanvasText; }
  .icon { border: 1px solid CanvasText; }
  .steps li::before { border-color: CanvasText; }
}

/* ---------- Page « Nous écrire » ---------- */
.btn--ghost {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
  &:hover { background: var(--green-100); }
}

.contact-page .section__head h1 { font-size: clamp(2rem, 1.3rem + 2.7vw, 3rem); }

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}
@media (max-width: 56em) {
  .contact { grid-template-columns: minmax(0, 1fr); }
}

.contact h2 { font-size: 1.5rem; margin-block-end: 1.25rem; }

.contact__form {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.field { margin-block-end: 1.25rem; }
.field label { display: block; margin-block-end: 0.4rem; font-weight: 600; color: var(--brand); }
.optional { font-weight: 400; color: var(--text-soft); }
.field input, .field textarea {
  display: block;
  inline-size: 100%;
  min-block-size: 3rem;
  padding: 0.65rem 0.85rem;
  border: 1.5px solid #5f7268;   /* 5:1 sur blanc : contour de champ lisible */
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  font: inherit;
  &:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
}
.field textarea { min-block-size: 9rem; resize: vertical; }

.hint { margin-block: 0 0.5rem; color: var(--text-soft); font-size: 0.9375rem; }
.field .hint { margin-block-start: 0; }
.contact__form .btn { margin-block-start: 0.5rem; }
.contact__form .hint:has(+ .status) { margin-block-start: 1rem; }
.status { min-block-size: 1.5em; margin: 0.5rem 0 0; color: var(--brand-soft); font-weight: 600; }

.contact__direct .card {
  margin-block-end: 1rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-tint);
  h3 { margin-block-end: 0.35rem; }
  p:not(.status) { margin-block-end: 0.75rem; }
}
.contact__link {
  display: inline-block;
  padding-block: 0.4rem;
  color: var(--brand);
  font-size: 1.25rem;
  font-weight: 600;
  overflow-wrap: anywhere;
  text-underline-offset: 0.25em;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--orange-400);
}

/* ---------- Page « Mentions légales » ---------- */
.legal { max-inline-size: 48rem; }
.legal .section__head h1 { font-size: clamp(2rem, 1.3rem + 2.7vw, 3rem); }
.legal h2 { margin-block: 2.5rem 0.75rem; font-size: 1.375rem; }
.legal p { max-inline-size: var(--measure); color: var(--text-soft); }
.legal a { text-underline-offset: 0.25em; }
.legal dl { margin: 0 0 1rem; border-block-start: 1px solid var(--line); }
.legal dl > div {
  display: grid;
  grid-template-columns: minmax(9rem, 14rem) minmax(0, 1fr);
  gap: 0.25rem 1.5rem;
  align-items: center;
  padding-block: 0.25rem;
  border-block-end: 1px solid var(--line);
}
.legal dt { font-weight: 600; color: var(--brand); }
.legal dd { margin: 0; color: var(--text); overflow-wrap: anywhere; }
.legal dd a { display: inline-block; padding-block: 0.5rem; }
@media (max-width: 40em) {
  .legal dl > div { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Démo vidéo ---------- */
.demo__figure {
  max-inline-size: 60rem;
  margin-inline: auto;
  padding: clamp(0.75rem, 2.5vw, 1.5rem);
  border-radius: calc(var(--radius) * 1.5);
  background: var(--bg-tint);      /* cadre teinté : sépare l'animation de la section précédente */
  video {
    display: block;
    inline-size: 100%;
    block-size: auto;
    aspect-ratio: 16 / 9;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--green-50);
    box-shadow: 0 24px 48px -28px color-mix(in srgb, var(--green-900) 45%, transparent);
  }
  .demo-toggle { margin-block-start: 0.75rem; }
  figcaption {
    margin-block-start: 0.75rem;
    color: var(--text-soft);
    font-size: 0.9375rem;
  }
}
.demo__transcript {
  max-inline-size: 60rem;
  margin: 1.25rem auto 0;
  border-block: 1px solid var(--line);
  summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-block-size: 3rem;
    padding-block: 0.75rem;
    color: var(--brand);
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    &::-webkit-details-marker { display: none; }
    &::after {
      content: "";
      flex: none;
      inline-size: 0.6rem;
      block-size: 0.6rem;
      border-inline-end: 2px solid currentColor;
      border-block-end: 2px solid currentColor;
      rotate: 45deg;
      translate: 0 -2px;
      transition: rotate 0.2s;
    }
  }
  &[open] summary::after { rotate: -135deg; translate: 0 2px; }
  .answer {
    color: var(--text-soft);
    padding-block-end: 1rem;
    p { margin-block-end: 0.5rem; }
    ol { margin: 0; padding-inline-start: 1.25rem; }
    li { margin-block-end: 0.5rem; }
  }
}
.demo__cta { margin-block: 1.75rem 0; text-align: center; }
@media (prefers-reduced-motion: reduce) { .demo__transcript summary::after { transition: none; } }

/* ---------- Cartes d'articles (accueil et page Blog) ---------- */
.cards {
  display: grid;
  gap: 1.25rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr));
}
.card {
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) * 1.25);
  background: #fff;
  h2, h3 { margin: 0.4rem 0 0.6rem; font-size: 1.3rem; line-height: 1.25; }
  h2 a, h3 a { color: var(--brand); text-decoration: none; }
  h2 a:hover, h3 a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
  p { color: var(--text-soft); }
}
.card__meta { margin: 0; color: var(--text-soft); font-size: 0.9375rem; }
.blog-home__cta { margin-block: 1.75rem 0; text-align: center; }
