#rna-outils {
  width: 100%;
  min-width: 0;
  background: var(--rna-paper);
  color: var(--rna-ink);
}

/* ---- Hero ---- */

#rna-outils .rna-outils-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: calc(56px + var(--rna-header-offset) + var(--rna-header-height)) 0 calc(var(--rna-tilt-pad) + 3.5rem);
  background: radial-gradient(ellipse at 92% 15%, rgb(31 138 109 / 22%), transparent 48%), radial-gradient(ellipse at 95% 95%, rgb(232 163 61 / 10%), transparent 38%), var(--rna-navy);
  color: var(--rna-paper);
}

#rna-outils .rna-outils-hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: calc(var(--rna-tilt-pad) * 2);
  background: var(--rna-paper);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  content: "";
  pointer-events: none;
}

#rna-outils .rna-outils-hero .rna-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: var(--rna-amber);
}

#rna-outils .rna-outils-hero .rna-eyebrow::before {
  flex: 0 0 28px;
  height: 2px;
  background: currentColor;
  content: "";
}

#rna-outils .rna-outils-hero h1 {
  max-width: 20ch;
  margin: 0 0 20px;
  color: var(--rna-paper);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.045em;
  text-wrap: balance;
}

#rna-outils .rna-outils-hero__lead {
  max-width: 62ch;
  margin: 0 0 28px;
  color: #c4d1de;
  font-family: var(--rna-font-body);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.7;
}

#rna-outils .rna-outils-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

#rna-outils .rna-outils-hero__secondary {
  border-color: rgb(255 255 255 / 30%);
  color: var(--rna-paper);
}

#rna-outils .rna-outils-hero__secondary:hover {
  background: #fff;
  border-color: #fff;
  color: var(--rna-navy);
}

/* ---- Catalogue ---- */

#rna-outils .rna-outils-list {
  padding: clamp(40px, 5vw, 64px) 0 clamp(24px, 3vw, 36px);
}

#rna-outils .rna-outils-list__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--rna-line);
}

#rna-outils .rna-outils-list__head h2,
#rna-outils .rna-outils-products__head h2 {
  margin: 0;
  color: var(--rna-navy);
  font-size: clamp(1.5rem, 2.5vw, 2.05rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.035em;
}

#rna-outils .rna-outils-list__count {
  margin: 0;
  color: var(--rna-muted);
  font-size: .82rem;
  font-weight: 600;
}

#rna-outils .rna-outils-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#rna-outils .rna-outils-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  height: 100%;
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--rna-line);
  border-top: 3px solid var(--rna-emerald);
  border-radius: var(--rna-radius);
  background: #fff;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}

#rna-outils .rna-outils-card:hover {
  border-color: #a4b9ad;
  border-top-color: var(--rna-emerald);
  box-shadow: 0 14px 32px rgb(14 26 43 / 8%);
  transform: translateY(-2px);
}

/* Lien étiré : la carte entière est cliquable, le nom accessible reste
   celui du lien du titre. */
#rna-outils .rna-outils-card__title a::after {
  position: absolute;
  inset: 0;
  content: "";
}

#rna-outils .rna-outils-card__kicker {
  margin: 0;
  color: #434856;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  line-height: 1.5;
  text-transform: uppercase;
}

#rna-outils .rna-outils-card__title {
  margin: 0;
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -.03em;
}

#rna-outils .rna-outils-card__title a {
  color: var(--rna-navy);
  text-decoration: none;
}

#rna-outils .rna-outils-card__title a:hover {
  color: #176e57;
}

#rna-outils .rna-outils-card__excerpt {
  margin: 0;
  color: var(--rna-muted);
  font-family: var(--rna-font-body);
  font-size: .94rem;
  line-height: 1.65;
}

#rna-outils .rna-outils-card__outcome {
  margin: 0;
  padding: 14px 0 0;
  border-top: 1px solid #ebeee8;
  color: var(--rna-ink);
  font-size: .86rem;
  line-height: 1.55;
}

#rna-outils .rna-outils-card__outcome span {
  color: #434856;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

#rna-outils .rna-outils-card__cta {
  position: relative;
  align-self: flex-start;
  margin: auto 0 0;
  min-height: 44px;
  padding: 12px 20px;
}

/* ---- Bandeau de réassurance ---- */

#rna-outils .rna-outils-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 16px;
  margin: 0;
  padding: clamp(24px, 3.5vw, 40px) 24px;
  color: #434856;
  font-size: .82rem;
  line-height: 1.6;
  list-style: none;
  text-align: center;
}

#rna-outils .rna-outils-strip__sep {
  color: #9aa3ad;
}

/* ---- Nos produits ---- */

#rna-outils .rna-outils-products {
  padding: clamp(40px, 5vw, 64px) 0;
  border-top: 1px solid var(--rna-line);
  border-bottom: 1px solid var(--rna-line);
  background: rgb(0 23 55 / 4%);
}

#rna-outils .rna-outils-products__head {
  max-width: 62ch;
  margin-bottom: 24px;
}

#rna-outils .rna-outils-products__head p:last-child {
  margin: 12px 0 0;
  color: var(--rna-muted);
  font-family: var(--rna-font-body);
  font-size: .95rem;
  line-height: 1.65;
}

#rna-outils .rna-outils-products__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#rna-outils .rna-outils-products__list li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--rna-line);
  border-radius: var(--rna-radius);
  background: #fff;
}

#rna-outils .rna-outils-products__list h3 {
  margin: 0;
  color: var(--rna-navy);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -.02em;
}

#rna-outils .rna-outils-products__list p {
  margin: 0;
  color: var(--rna-muted);
  font-family: var(--rna-font-body);
  font-size: .88rem;
  line-height: 1.6;
}

#rna-outils .rna-outils-products__list .rna-button {
  margin: auto 0 0;
  min-height: 44px;
  padding: 11px 18px;
  font-size: .84rem;
}

/* ---- Apparition ---- */

@media (prefers-reduced-motion: no-preference) {
  #rna-outils .rna-outils-hero > .rna-shell > *,
  #rna-outils .rna-outils-card {
    animation: rna-outils-fade-up .6s both;
  }

  #rna-outils .rna-outils-hero h1 { animation-delay: .06s; }
  #rna-outils .rna-outils-hero__lead { animation-delay: .1s; }
  #rna-outils .rna-outils-hero__actions { animation-delay: .14s; }
  #rna-outils .rna-outils-card:nth-child(2) { animation-delay: .06s; }
  #rna-outils .rna-outils-card:nth-child(3) { animation-delay: .1s; }
}

@keyframes rna-outils-fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* ---- Adaptations ---- */

@media (max-width: 1024px) {
  #rna-outils .rna-outils-grid,
  #rna-outils .rna-outils-products__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  #rna-outils .rna-outils-hero {
    padding-top: calc(44px + var(--rna-header-offset) + var(--rna-header-height));
    padding-bottom: calc(var(--rna-tilt-pad) + 2.5rem);
  }

  #rna-outils .rna-outils-hero h1 {
    max-width: none;
  }

  #rna-outils .rna-outils-hero__actions .rna-button {
    width: 100%;
  }

  #rna-outils .rna-outils-grid,
  #rna-outils .rna-outils-products__list {
    grid-template-columns: 1fr;
  }

  #rna-outils .rna-outils-card__cta {
    align-self: stretch;
  }

  #rna-outils .rna-outils-strip {
    flex-direction: column;
    gap: 6px;
  }

  #rna-outils .rna-outils-strip__sep {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  #rna-outils .rna-outils-card:hover {
    transform: none;
  }
}
