
/* =========================================================
   DuoClean66 — Ressources familles / Syndrome de Diogène
   Ajout 2026-07-02
   ========================================================= */
.dc-resources-home,
.dc-guide-main {
  --dc-blue: #123a63;
  --dc-blue-2: #1d75bc;
  --dc-ink: #0d1f2d;
  --dc-muted: #5d6f7d;
  --dc-soft: #f4f9fd;
  --dc-card: #ffffff;
  --dc-line: rgba(18,58,99,.13);
  --dc-radius: 28px;
}
.dc-resources-home {
  background:
    radial-gradient(circle at 10% 0%, rgba(29,117,188,.10), transparent 34%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  padding: clamp(54px, 7vw, 94px) 0;
}
.dc-resources-home .v25-container,
.dc-guide-container {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}
.dc-resources-kicker,
.dc-guide-kicker {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .42rem .82rem;
  border-radius: 999px;
  border: 1px solid rgba(29,117,188,.18);
  background: rgba(255,255,255,.84);
  color: var(--dc-blue-2);
  font-weight: 800;
  letter-spacing: .045em;
  text-transform: uppercase;
  font-size: .76rem;
}
.dc-resources-head {
  max-width: 780px;
  margin-bottom: clamp(26px, 4vw, 44px);
}
.dc-resources-head h2,
.dc-guide-hero h1 {
  color: var(--dc-ink);
  letter-spacing: -.045em;
  line-height: 1.05;
}
.dc-resources-head h2 {
  margin: .8rem 0 .85rem;
  font-size: clamp(2.05rem, 4.4vw, 3.45rem);
}
.dc-resources-head p,
.dc-guide-hero p,
.dc-article p,
.dc-article li {
  color: var(--dc-muted);
  line-height: 1.75;
}
.dc-resources-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .75fr);
  gap: 22px;
  margin-bottom: 22px;
}
.dc-resource-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: clamp(22px, 3vw, 34px);
  border-radius: var(--dc-radius);
  background: var(--dc-card);
  border: 1px solid var(--dc-line);
  box-shadow: 0 22px 60px rgba(13,31,45,.08);
  overflow: hidden;
}
.dc-resource-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--dc-blue), var(--dc-blue-2));
  opacity: .9;
}
.dc-resource-card.featured {
  min-height: 360px;
  background:
    linear-gradient(135deg, rgba(18,58,99,.96), rgba(29,117,188,.88)),
    radial-gradient(circle at 90% 10%, rgba(255,255,255,.25), transparent 30%);
  color: #fff;
}
.dc-resource-card.featured p,
.dc-resource-card.featured .dc-resource-label { color: rgba(255,255,255,.82); }
.dc-resource-card.featured h3 { color: #fff; }
.dc-resource-label {
  color: var(--dc-blue-2);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .055em;
  margin-bottom: .82rem;
}
.dc-resource-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: #eef7ff;
  margin-bottom: 1rem;
  font-size: 1.35rem;
}
.dc-resource-card.featured .dc-resource-icon { background: rgba(255,255,255,.16); }
.dc-resource-card h3 {
  color: var(--dc-ink);
  font-size: clamp(1.22rem, 2.1vw, 1.75rem);
  line-height: 1.16;
  margin: 0 0 .85rem;
  letter-spacing: -.02em;
}
.dc-resource-card p {
  margin: 0 0 1.25rem;
}
.dc-resource-card .dc-resource-link {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .86rem 1.05rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(90deg, var(--dc-blue), var(--dc-blue-2));
  box-shadow: 0 16px 30px rgba(29,117,188,.22);
}
.dc-resource-card.featured .dc-resource-link {
  color: var(--dc-blue);
  background: #fff;
  box-shadow: none;
}
.dc-resource-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.dc-resource-grid .dc-resource-card { padding: 24px; }
.dc-resource-grid .dc-resource-card h3 { font-size: 1.22rem; }
.dc-resource-grid .dc-resource-card p { font-size: .96rem; }

.dc-guide-main {
  background: #f8fbff;
}
.dc-guide-hero {
  padding: clamp(58px, 8vw, 104px) 0 clamp(32px, 5vw, 60px);
  background:
    linear-gradient(135deg, rgba(18,58,99,.96), rgba(29,117,188,.82)),
    url('../assets/diogene-background.webp') center/cover no-repeat;
  color: #fff;
}
.dc-guide-hero .dc-guide-kicker { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.24); }
.dc-guide-hero h1 {
  max-width: 960px;
  margin: 1rem 0 1rem;
  font-size: clamp(2.35rem, 6vw, 5.2rem);
  color: #fff;
}
.dc-guide-hero p {
  max-width: 820px;
  color: rgba(255,255,255,.88);
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
}
.dc-guide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.dc-guide-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 48px;
  padding: .88rem 1.18rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
}
.dc-guide-btn.primary { background: #fff; color: var(--dc-blue); }
.dc-guide-btn.secondary { background: rgba(255,255,255,.13); color: #fff; border: 1px solid rgba(255,255,255,.26); }
.dc-guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  padding: clamp(38px, 5vw, 72px) 0;
  align-items: start;
}
.dc-article-card,
.dc-guide-sidebar,
.dc-related-card,
.dc-soft-cta {
  border: 1px solid var(--dc-line);
  border-radius: var(--dc-radius);
  background: #fff;
  box-shadow: 0 24px 70px rgba(13,31,45,.075);
}
.dc-article-card { padding: clamp(24px, 4vw, 48px); }
.dc-article h2 {
  margin: 2.3rem 0 .85rem;
  color: var(--dc-ink);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -.03em;
}
.dc-article h2:first-child { margin-top: 0; }
.dc-article h3 {
  margin: 1.55rem 0 .5rem;
  color: var(--dc-blue);
  font-size: 1.2rem;
}
.dc-article ul,
.dc-article ol { padding-left: 1.2rem; }
.dc-article li { margin-bottom: .4rem; }
.dc-highlight-box {
  margin: 1.4rem 0;
  padding: 1.2rem 1.25rem;
  border-radius: 20px;
  background: #eef7ff;
  border: 1px solid rgba(29,117,188,.18);
  color: var(--dc-ink);
}
.dc-highlight-box strong { color: var(--dc-blue); }
.dc-quote-box {
  margin: 1.6rem 0;
  padding: 1.3rem 1.35rem;
  border-left: 5px solid var(--dc-blue-2);
  background: #fbfdff;
  border-radius: 18px;
  font-weight: 700;
  color: var(--dc-ink);
}
.dc-guide-sidebar {
  position: sticky;
  top: 92px;
  padding: 22px;
}
.dc-guide-sidebar h2 { margin: 0 0 12px; font-size: 1.05rem; color: var(--dc-ink); }
.dc-guide-sidebar a {
  display: block;
  padding: .68rem 0;
  color: var(--dc-muted);
  text-decoration: none;
  border-bottom: 1px solid rgba(18,58,99,.08);
  font-weight: 700;
}
.dc-guide-sidebar a:hover { color: var(--dc-blue-2); }
.dc-soft-cta {
  margin: 26px 0 0;
  padding: clamp(22px, 4vw, 36px);
  background: linear-gradient(135deg, #123a63, #1d75bc);
  color: #fff;
}
.dc-soft-cta h2 { color: #fff; margin: 0 0 .6rem; }
.dc-soft-cta p { color: rgba(255,255,255,.86); margin: 0 0 1.1rem; }
.dc-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}
.dc-related-card { padding: 22px; text-decoration: none; color: inherit; }
.dc-related-card span { color: var(--dc-blue-2); font-size: .78rem; font-weight: 900; text-transform: uppercase; }
.dc-related-card strong { display: block; margin: .45rem 0; color: var(--dc-ink); font-size: 1.05rem; }
.dc-related-card p { margin: 0; color: var(--dc-muted); font-size: .95rem; line-height: 1.6; }
.dc-mini-faq details {
  border: 1px solid rgba(18,58,99,.12);
  border-radius: 18px;
  padding: 1rem 1.05rem;
  margin: .8rem 0;
  background: #fbfdff;
}
.dc-mini-faq summary { cursor: pointer; font-weight: 900; color: var(--dc-ink); }
.dc-mini-faq p { margin-bottom: 0; }
.dc-local-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 1rem 0;
}
.dc-local-list span,
.dc-local-list a {
  display: inline-flex;
  padding: .46rem .72rem;
  border-radius: 999px;
  background: #eef7ff;
  color: var(--dc-blue);
  text-decoration: none;
  font-weight: 800;
  font-size: .9rem;
}
@media (max-width: 980px) {
  .dc-resources-feature,
  .dc-guide-layout { grid-template-columns: 1fr; }
  .dc-guide-sidebar { position: static; order: -1; }
  .dc-resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .dc-resource-grid,
  .dc-related-grid { grid-template-columns: 1fr; }
  .dc-resource-card.featured { min-height: auto; }
  .dc-resources-home .v25-container,
  .dc-guide-container { width: min(100% - 24px, 1120px); }
  .dc-article-card { border-radius: 22px; }
}
