.content-lead,
.content-article > section,
.content-article > aside {
  max-width: 780px;
}

.content-profile {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(280px, 1.2fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}

.content-profile img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1.25rem;
}

.service-dark .content-profile a {
  color: #ffd44a;
}

.content-checklist {
  display: grid;
  gap: 0.8rem;
  padding-left: 1.25rem;
  line-height: 1.7;
}

.content-guides .service-card h2 {
  font-size: clamp(1.35rem, 2.5vw, 2rem);
}

.content-article {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
}

.content-article > section p,
.content-article > aside p,
.content-article > aside li {
  font-size: 1.06rem;
  line-height: 1.8;
}

.content-article > aside,
.content-cta {
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.05);
}

/* Centre de ressources : lecture éditoriale claire, sans reprendre le hero massif des services. */
.resource-page {
  background: #f3eadc;
}

.resource-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(9rem, 13vw, 12rem) 0 clamp(4rem, 8vw, 7rem);
  background:
    radial-gradient(circle at 82% 20%, rgba(232, 111, 57, 0.28), transparent 0 24%),
    radial-gradient(circle at 62% 95%, rgba(105, 210, 173, 0.12), transparent 0 28%),
    #101a14;
  color: #fff;
}

.resource-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(110deg, #000, transparent 72%);
}

.resource-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(250px, 0.7fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: end;
}

.resource-kicker {
  display: inline-flex;
  margin-bottom: 1rem;
  color: #f3a274;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.resource-hero h1 {
  max-width: 10ch;
  margin: 0;
  color: #fff;
  font: 700 clamp(3.8rem, 7.2vw, 7.4rem)/0.88 Fraunces, serif;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

.resource-hero p {
  max-width: 680px;
  margin: 1.5rem 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.7;
}

.resource-hero__summary {
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(18px);
}

.resource-hero__summary strong {
  display: block;
  color: #f3a274;
  font: 700 clamp(4rem, 7vw, 6.5rem)/0.8 Fraunces, serif;
}

.resource-hero__summary > span {
  display: block;
  max-width: 15ch;
  margin-top: 0.8rem;
  color: #fff;
  font-weight: 800;
  line-height: 1.35;
}

.resource-hero__summary ul {
  display: grid;
  gap: 0.55rem;
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
}

.resource-hero__summary li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 0.65rem;
  border-radius: 50%;
  background: #69d2ad;
}

.resource-library__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.resource-library__heading h2 {
  max-width: 11ch;
  margin: 0;
}

.resource-library__heading > p {
  max-width: 440px;
  color: rgba(20, 32, 24, 0.68);
  line-height: 1.7;
}

.content-guides {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 1rem;
}

.resource-card {
  position: relative;
  min-height: 430px;
  padding: clamp(1.4rem, 2.5vw, 2rem);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(20, 32, 24, 0.12);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 24px 65px rgba(20, 32, 24, 0.07);
  transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
}

.resource-card:first-child {
  background: linear-gradient(145deg, #17251c, #24382a);
  color: #fff;
}

.resource-card:hover {
  border-color: rgba(232, 111, 57, 0.42);
  box-shadow: 0 30px 78px rgba(20, 32, 24, 0.13);
  transform: translateY(-7px);
}

.resource-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #b55431;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.resource-card:first-child .resource-card__top { color: #f3a274; }
.resource-card__top small { color: inherit; font: inherit; }

.resource-card h2 {
  max-width: none;
  margin: auto 0 1rem;
  color: #142018;
  font: 700 clamp(1.8rem, 2.8vw, 3rem)/1 Fraunces, serif;
  letter-spacing: -0.04em;
}

.resource-card:first-child h2 { color: #fff; }

.resource-card p {
  color: rgba(20, 32, 24, 0.67);
  line-height: 1.65;
}

.resource-card:first-child p { color: rgba(255, 255, 255, 0.72); }

.resource-card > a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(20, 32, 24, 0.12);
  color: #142018;
  font-weight: 900;
}

.resource-card:first-child > a {
  border-color: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.resource-card > a i { color: #e86f39; transition: transform 220ms ease; }
.resource-card > a:hover i { transform: translateX(5px); }

.resource-byline {
  margin-top: 1.25rem !important;
  color: rgba(255, 255, 255, 0.68) !important;
  font-size: 0.86rem !important;
}

.resource-byline a {
  color: #fff;
  font-weight: 800;
  text-underline-offset: 0.2em;
}

.resource-next {
  margin-top: clamp(2rem, 5vw, 4rem);
  padding: 1.2rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(20, 32, 24, 0.14);
  border-bottom: 1px solid rgba(20, 32, 24, 0.14);
}

.resource-next p { color: #142018; font-weight: 800; }
.resource-next .service-links { margin-top: 0; }

.resource-article-hero .service-wrap { width: min(90%, 1040px); }
.resource-article-hero h1 { max-width: 14ch; font-size: clamp(3rem, 6vw, 6.2rem); }
.resource-article-hero .service-breadcrumb { max-width: 100%; overflow: hidden; }
.resource-article-hero .service-breadcrumb span[aria-current="page"] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.resource-reading__layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 780px);
  gap: clamp(2rem, 6vw, 6rem);
  justify-content: center;
  align-items: start;
}

.resource-toc {
  position: sticky;
  top: 7rem;
  padding-top: 0.7rem;
  border-top: 2px solid #e86f39;
}

.resource-toc > span {
  color: #9c4628;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.resource-toc ol { display: grid; gap: 0.8rem; margin-top: 1rem; }
.resource-toc a { color: rgba(20, 32, 24, 0.68); font-size: 0.82rem; line-height: 1.4; }
.resource-toc a:hover { color: #9c4628; }

.resource-reading .content-article > section {
  position: relative;
  max-width: none;
  padding: clamp(1.5rem, 4vw, 2.8rem);
  border: 1px solid rgba(20, 32, 24, 0.11);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.62);
}

.resource-step { color: #e86f39; font: 800 0.7rem ui-monospace, monospace; }
.resource-reading .content-article > section h2 { max-width: 15ch; margin: 0.65rem 0 1rem; font-size: clamp(2rem, 4vw, 3.5rem); }
.resource-reading .content-article > section p { color: rgba(20, 32, 24, 0.7); }

.resource-deliverables {
  max-width: none !important;
  color: #fff;
  background: #142018 !important;
}

.resource-deliverables h2 { color: #fff; }
.resource-deliverables li { color: rgba(255, 255, 255, 0.8) !important; }

.resource-reading .content-cta {
  border: 0;
  background: linear-gradient(135deg, #d95d31, #ef8954);
  color: #fff;
}

.resource-reading .content-cta h2,
.resource-reading .content-cta p { color: #fff; }

@media (max-width: 760px) {
  .content-profile { grid-template-columns: 1fr; }
  .resource-hero__grid,
  .resource-reading__layout { grid-template-columns: 1fr; }
  .resource-hero h1 { max-width: 100%; font-size: clamp(3rem, 15vw, 4.8rem); }
  .resource-hero__summary { display: none; }
  .resource-library__heading,
  .resource-next { align-items: flex-start; flex-direction: column; }
  .content-guides { grid-template-columns: 1fr; }
  .resource-card { min-height: 360px; }
  .resource-toc { position: static; }
}

@media (min-width: 761px) and (max-width: 1050px) {
  .content-guides { grid-template-columns: 1fr 1fr; }
  .resource-card:first-child { grid-column: 1 / -1; min-height: 360px; }
}
