/*
Theme Name: DefiClean
Theme URI: https://defi-clean.fr
Author: WebSteve
Author URI: https://websteve94.com
Description: Thème WordPress standalone pour Defi Clean, design dark moderne, sans dépendance au thème Glow.
Version: 1.0
Text Domain: deficlean
*/

/* ========= 1. RESET ========= */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  line-height: 1.6;
  color: #e2e8f0;

}

img {
  max-width: 100%;
  display: block;
      height: auto;
}

a {
  color: #feab0b;
  text-decoration: none;
  transition: color 150ms ease-out, opacity 150ms ease-out;
}

a:hover {
  color: #c87f00;
}

/* ========= 2. VARIABLES ========= */

:root {
  --ws-color-primary: #011e44;
  --ws-color-primary-light: #0b3a7a;
  --ws-color-secondary: #feab0b;
  --ws-color-secondary-dark: #c87f00;

  --ws-color-bg: #020617;
  --ws-color-bg-alt: #0b1220;
  --ws-color-surface: #020617;
  --ws-color-surface-elevated: #020617;

  --ws-color-border: rgba(148, 163, 184, 0.3);
  --ws-color-muted: #94a3b8;
  --ws-color-text: #e2e8f0;
  --ws-color-heading: #f9fafb;
  --ws-color-success: #22c55e;
  --ws-color-warning: #facc15;
  --ws-color-danger: #ef4444;

  --ws-radius-xs: 0.25rem;
  --ws-radius-sm: 0.5rem;
  --ws-radius-md: 0.75rem;
  --ws-radius-lg: 1rem;
  --ws-radius-xl: 1.5rem;
  --ws-radius-pill: 999px;

  --ws-shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.65);
  --ws-shadow-hard: 0 24px 80px rgba(15, 23, 42, 0.9);

  --ws-spacing-xs: 0.5rem;
  --ws-spacing-sm: 0.75rem;
  --ws-spacing-md: 1rem;
  --ws-spacing-lg: 1.5rem;
  --ws-spacing-xl: 2rem;
  --ws-spacing-2xl: 3rem;
  --ws-spacing-3xl: 4rem;

  --ws-font-size-xs: 0.75rem;
  --ws-font-size-sm: 0.875rem;
  --ws-font-size-base: 1rem;
  --ws-font-size-lg: 1.125rem;
  --ws-font-size-xl: 1.5rem;
  --ws-font-size-2xl: 2rem;
  --ws-font-size-3xl: 2.5rem;
  --ws-font-size-4xl: 3rem;

  --ws-transition-fast: 150ms ease-out;
  --ws-transition-base: 200ms ease-out;
  --ws-transition-slow: 300ms ease;
}

/* ========= 3. ACCESSIBILITÉ ========= */

.skip-link {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  left: 10px;
  top: 10px;
  width: auto;
  height: auto;
  background: #000;
  color: #fff;
  padding: 8px 12px;
  z-index: 10000;
}

/* ========= 4. LAYOUT GLOBAL ========= */

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-inline: 1.25rem;
}

.section {
  padding-block: var(--ws-spacing-2xl);
}

.section--large {
  padding-block: var(--ws-spacing-3xl);
}

.section--alt {
  background: radial-gradient(circle at top left, #0f172a 0, #020617 55%);
}

.section__header {
  margin-bottom: var(--ws-spacing-xl);
  text-align: left;
}

.section__eyebrow {
  font-size: var(--ws-font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ws-color-secondary);
  margin-bottom: var(--ws-spacing-xs);
}

.section__title {
  font-size: clamp(1.8rem, 2.4vw, 2.35rem);
  color: var(--ws-color-heading);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.section__subtitle {
  margin-top: var(--ws-spacing-sm);
  color: var(--ws-color-muted);
  max-width: 40rem;
  font-size: var(--ws-font-size-base);
}

/* ========= 5. GRID & FLEX ========= */

.grid {
  display: grid;
  gap: var(--ws-spacing-lg);
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.grid--auto {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

@media (max-width: 900px) {
  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }
}

.flex {
  display: flex;
}

.flex--between {
  justify-content: space-between;
  align-items: center;
}

.flex--center {
  justify-content: center;
  align-items: center;
}

.stack-md > * + * {
  margin-top: var(--ws-spacing-md);
}

/* ========= 6. CARDS ========= */

.card {
border: 1px solid #e6f0f0; border-radius: 12px; padding: 16px; background: #fff;color: #0e2233;
}

.card--flat {
  box-shadow: none;
}

.card--highlight {
  border-color: rgba(250, 204, 21, 0.8);
  box-shadow: 0 18px 60px rgba(250, 204, 21, 0.35);
}

.card__title {
  font-size: var(--ws-font-size-lg);
  font-weight: 600;
  color: var(--ws-color-heading);
  margin-bottom: var(--ws-spacing-xs);
}

.card__subtitle {
  font-size: var(--ws-font-size-sm);
  color: var(--ws-color-muted);
  margin-bottom: var(--ws-spacing-md);
}

.card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: var(--ws-spacing-md);
  font-size: var(--ws-font-size-xs);
  color: var(--ws-color-muted);
}

.card .icon {
  width: 28px;
  height: 28px;
  display: inline-block;
  margin-right: 8px;
}

/* ========= 7. BADGES / TAGS ========= */

.badge {
display: inline-flex; gap: 8px; align-items: center; background: rgba(254, 171, 11, .14); color: #FFD479; border: 1px solid rgba(254, 171, 11, .4); padding: 6px 10px; border-radius: 999px; font-weight: 700; font-size: 13px;
}

.badge--primary {
  background: rgba(37, 99, 235, 0.1);
  color: #bfdbfe;
  border-color: rgba(59, 130, 246, 0.7);
}

.badge--success {
  background: rgba(22, 163, 74, 0.1);
  color: #bbf7d0;
  border-color: rgba(34, 197, 94, 0.7);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.tag {
  font-size: var(--ws-font-size-xs);
  padding: 0.15rem 0.6rem;
  border-radius: var(--ws-radius-pill);
  background: rgba(15, 23, 42, 0.8);
  color: var(--ws-color-muted);
  border: 1px dashed rgba(148, 163, 184, 0.35);
}

/* ========= 8. BOUTONS & CTA ========= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--ws-radius-pill);
  border: 1px solid transparent;
  font-size: var(--ws-font-size-sm);
  font-weight: 500;
  cursor: pointer;
  transition:
    background-color var(--ws-transition-base),
    color var(--ws-transition-base),
    box-shadow var(--ws-transition-base),
    transform var(--ws-transition-fast),
    border-color var(--ws-transition-base);
  white-space: nowrap;
}

.btn--primary,
.btn.accent {
  background: linear-gradient(135deg, var(--ws-color-secondary), var(--ws-color-secondary-dark));
  color: #0b1120;
  box-shadow: 0 18px 45px rgba(234, 179, 8, 0.5);
}

.btn--primary:hover,
.btn.accent:hover {
  transform: translateY(-1px);
  box-shadow: 0 24px 70px rgba(234, 179, 8, 0.65);
}

.btn--ghost,
.btn.ghost {
  background: transparent;
  color: var(--ws-color-text);
  border-color: rgba(148, 163, 184, 0.5);
}

.btn--ghost:hover,
.btn.ghost:hover {
  border-color: rgba(248, 250, 252, 0.9);
  background: rgba(15, 23, 42, 0.85);
}

.btn--sm {
  padding: 0.45rem 1rem;
  font-size: var(--ws-font-size-xs);
}

.cta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ws-spacing-sm);
  align-items: center;
}

/* ========= 9. HERO ========= */

.hero {
  position: relative;
  padding-block: var(--ws-spacing-3xl);
  overflow: hidden;
  background: linear-gradient(180deg, #021b3a 0%, #062f5c 100%);
  color: #fff;
}

.hero__inner,
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: var(--ws-spacing-2xl);
  align-items: center;
}

@media (max-width: 900px) {
  .hero__inner,
  .hero .wrap {
    grid-template-columns: 1fr;
  }
}

.hero__eyebrow,
.badge-hero {
  font-size: var(--ws-font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ws-color-secondary);
  margin-bottom: var(--ws-spacing-xs);
}

.hero__title,
.h1 {
  font-size: clamp(2.3rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  color: var(--ws-color-heading);
  margin-bottom: var(--ws-spacing-sm);
}

.hero__highlight {
  background: linear-gradient(120deg, var(--ws-color-secondary), #38bdf8);
  -webkit-background-clip: text;
  color: transparent;
}

.hero__text,
.lead {
  font-size: var(--ws-font-size-base);
  color: var(--ws-color-muted);
  max-width: 32rem;
  margin-bottom: var(--ws-spacing-md);
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ws-spacing-sm);
  align-items: center;
  margin-top: var(--ws-spacing-sm);
}

.hero__stats,
.kpis {
  display: grid;
  gap: 10px;
  margin-top: var(--ws-spacing-lg);
}

.hero__stat {
  min-width: 120px;
}

.hero__stat-value {
  font-size: var(--ws-font-size-2xl);
  font-weight: 700;
  color: var(--ws-color-heading);
}

.hero__stat-label {
  font-size: var(--ws-font-size-xs);
  color: var(--ws-color-muted);
}

.kpis {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 900px) {
  .kpis {
    grid-template-columns: repeat(2, 1fr);
  }
}

.chip {
  background: #0f2d57;
  color: #f1f6ff;
  border: 1px solid #21497d;
  border-radius: 12px;
  padding: 10px 12px;
  text-align: center;
}

/* ========= 10. HEADER & NAV ========= */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(2, 6, 23, 0.96), rgba(2, 6, 23, 0.86));
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.header__inner,
.header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.brand__logo {
  width: 32px;
  height: 32px;
  border-radius: 0.9rem;
  background: radial-gradient(circle at 20% 0, #fbbf24 0, #f97316 35%, #111827 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: #020617;
  box-shadow: 0 10px 25px rgba(248, 250, 252, 0.25);
}

.brand__text {
  display: flex;
  flex-direction: column;
}

.brand__name,
.brand .title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ws-color-heading);
}

.brand__tagline {
  font-size: 0.68rem;
  color: var(--ws-color-muted);
}

nav.primary {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

nav.primary a {
  color: #011e44;
  text-decoration: none;
  font-weight: 700;
}

nav.primary a:hover {
  color: #0c2b56;
  text-decoration: underline;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--ws-spacing-md);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: var(--ws-spacing-lg);
  list-style: none;
}

.nav__link {
  font-size: 0.85rem;
  color: var(--ws-color-muted);
  position: relative;
  padding-block: 0.25rem;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.1rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ws-color-secondary), #38bdf8);
  transition: width var(--ws-transition-base);
}

.nav__link:hover {
  color: var(--ws-color-heading);
}

.nav__link:hover::after {
  width: 100%;
}

@media (max-width: 900px) {
  .nav__list {
    display: none;
  }
}

/* ========= 11. TOPBAR ========= */

.topbar {
  background: linear-gradient(180deg, #022352 0%, #083969 100%);
  color: #d7e6ff;
  font-size: 0.85rem;
}

.topbar .container,
.topbar .wrap {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.5rem;
  max-width: 1180px;
  margin: 0 auto;
}

.topbar a {
  color: #ffffff;
  text-decoration: none;
}

@media (max-width: 991px) {
  .topbar .container,
  .topbar .wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ========= 12. BREADCRUMBS ========= */

.dt-breadcrumbs {
  border-bottom: 1px solid #1e293b;
  background: #020617;
  padding: 0.5rem 0;
}

.dt-breadcrumbs .breadcrumb-trail {
  font-size: 0.85rem;
  color: var(--ws-color-muted);
  margin: 0;
}

.dt-breadcrumbs .breadcrumb-trail a {
  color: var(--ws-color-secondary);
}

.dt-breadcrumbs .breadcrumb-trail a:hover {
  text-decoration: underline;
}

/* ========= 13. FOOTER ========= */

.footer,
footer {
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  background:linear-gradient(180deg,#021b3a 0,#062f5c 100%);
  
  color: #cbd9ff;

}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: var(--ws-spacing-xl);
}

@media (max-width: 900px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

.footer__title {
  font-size: var(--ws-font-size-sm);
  font-weight: 600;
  color: var(--ws-color-heading);
  margin-bottom: var(--ws-spacing-sm);
}

.footer__list {
  list-style: none;
  display: grid;
  gap: 0.35rem;
  font-size: var(--ws-font-size-sm);
}

.footer__link {
  color: var(--ws-color-muted);
}

.footer__link:hover {
  color: var(--ws-color-heading);
}

.footer__bottom,
footer .wrap {
  margin-top: var(--ws-spacing-xl);
  padding-top: var(--ws-spacing-md);
  border-top: 1px solid rgba(30, 64, 175, 0.5);
  font-size: var(--ws-font-size-xs);
  color: var(--ws-color-muted);
  display: flex;
  flex-wrap: wrap;
  gap: var(--ws-spacing-md);
  justify-content: space-between;
}

/* ========= 14. FAQ ========= */

.faq {
  border-radius: 1.5rem;
  border: 0;
  background: #ffffff;
  padding: var(--ws-spacing-lg);
  color: #0d2233;
}

.faq__item + .faq__item {
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  margin-top: var(--ws-spacing-md);
  padding-top: var(--ws-spacing-md);
}

.faq__question,
.faq summary {
  font-size: var(--ws-font-size-sm);
  font-weight: 600;
  color: #0c2b56;
  cursor: pointer;
  display: block;
}

.faq__answer {
  font-size: var(--ws-font-size-sm);
  color: var(--ws-color-muted);
  margin-top: 0.4rem;
}

.faq details {
  background: #fff;
  border: 1px solid #e7eef6;
  border-radius: 12px;
  padding: 14px 16px;
}

.faq details + details {
  margin-top: 10px;
}

.faq p {
  margin: 10px 0 0;
}
h3.h3footer {
    color: white;
}
.aside {
  background: #e9fafb;
  color: #0d2233;
  border-radius: 14px;
  display: grid;
  gap: 11px;
  align-content: baseline;
  padding: 10px;
}
.aside2 {

  border-radius: 14px;
  display: grid;
  gap: 11px;
  align-content: baseline;

}
/* ========= 15. APPBAR MOBILE ========= */

.appbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: none;
  background: #ffffff;
  border-top: 1px solid #e6eef2;
  padding: 8px max(10px, env(safe-area-inset-right))
           calc(8px + env(safe-area-inset-bottom))
           max(10px, env(safe-area-inset-left));
}

.appbar-nav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  text-align: center;
}

.appbar a,
.appbar button {
  border: 0;
  background: none;
  text-decoration: none;
  color: #1f2d3d;
  font-size: 11.5px;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6px 4px;
  border-radius: 8px;
}

.appbar .icon {
  width: 22px;
  height: 22px;
  margin-bottom: 4px;
  display: block;
}

@media (max-width: 992px) {
  .appbar {
    display: none;
  }
  body {
    padding-bottom: 70px;
  }
}

/* ========= 16. BLOCS ARTICLES / LISTES ========= */

.dt-articles-col {
  max-width: 760px;
  margin: 0 auto;
  padding: 8px 14px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.dt-card,
.news-block .card {
  background: #fff;
  border: 1px solid #e6eef4;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(1, 30, 68, 0.06);
}

.dt-cover {
  display: block;
  line-height: 0;
  background: #011e44;
}

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

.dt-content {
  padding: 16px 16px 18px;
}

.dt-title {
  font-size: clamp(20px, 2.4vw, 24px);
  line-height: 1.25;
  margin: 0 0 8px;
  color: #011e44;
}

.dt-title a {
  color: inherit;
  text-decoration: none;
}

.dt-title a:hover {
  text-decoration: underline;
}

.dt-excerpt {
  margin: 0 0 12px;
  color: #354a62;
}

.dt-btn {
  display: inline-block;
  background: #feab0b;
  color: #1b1403;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
}

.dt-btn:hover {
  filter: brightness(1.05);
}

@media (prefers-color-scheme: dark) {
  .dt-card {
    background: #0d1f36;
    border-color: #183252;
  }
  .dt-content,
  .dt-excerpt {
    color: #d6e6ff;
  }
  .dt-title {
    color: #ffffff;
  }
}

.news-block {
  flex: 3;
  background: transparent;
  padding: 0;
  border-radius: 8px;
  box-shadow: none;
}

.cards {
  display: grid;
  gap: 14px;
}

.cards-articles .item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.cards-articles img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #e7eef6;
}

/* ========= 17. GRILLES DC (dc-grid3, dc-card, etc.) ========= */

.dc-grid3 {
  --blue: #011e44;
  --accent: #feab0b;
  --white: #fff;
  --ink: #0b2239;
  max-width: 1200px;
  margin: 32px auto;
  padding: 0 16px;
  font: 16px/1.55 system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
}

.dc-grid3 .title {
  color: var(--blue);
  font-size: clamp(20px, 2.4vw, 28px);
  margin: 0 0 14px;
}

.dc-grid3 .grid,
.dc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

@media (max-width: 980px) {
  .dc-grid3 .grid,
  .dc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .dc-grid3 .grid,
  .dc-grid {
    grid-template-columns: 1fr;
  }
}

.dc-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e6ecf5;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(1, 30, 68, 0.06);
}

.dc-card figure {
  margin: 0;
  position: relative;
  aspect-ratio: 16/9;
  background: #0c2b55;
}

.dc-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dc-card .badge {
  position: absolute;
  left: 10px;
  top: 10px;
  background: rgba(1, 30, 68, 0.86);
  color: #eaf2ff;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.dc-card .body {
  padding: 14px 16px 16px;
}

.dc-card h3 {
  margin: 0 0 8px;
  font-size: clamp(16px, 2vw, 19px);
  color: #011e44;
  line-height: 1.25;
}

.dc-card p {
  margin: 0 0 12px;
  color: #425975;
}

.dc-card .cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: #feab0b;
  color: #1b1403;
  font-weight: 800;
  border-radius: 10px;
  padding: 10px 14px;
  text-decoration: none;
}

.dc-card .cta:hover {
  filter: brightness(1.05);
}

.dc-meta {
  font-size: 13px;
  color: #65748b;
}

.dc-stars {
  color: #ffb703;
  font-size: 18px;
  letter-spacing: 1px;
}

.dc-tag {
  display: inline-block;
  background: #f1f5ff;
  border: 1px solid #d8e2f3;
  color: #0d2f5a;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  margin-right: 6px;
  margin-top: 6px;
}

/* Before/After */

.dc-ba {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 6px 0 8px;
}

.dc-ba figure {
  margin: 0;
}

.dc-ba img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid #e6ecf5;
}

.dc-ba figcaption {
  font-size: 12px;
  color: #65748b;
  margin-top: 4px;
}

/* Notes / CTA */

.dc-note,
.note {
  background: #fff7e6;
  border: 1px solid #ffe0a8;
  border-radius: 12px;
  padding: 12px 14px;
  color: #6a5127;
}

.dc-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #feab0b;
  color: #1b1403;
  font-weight: 800;
  border-radius: 10px;
  padding: 12px 16px;
  box-shadow: 0 6px 18px rgba(254, 171, 11, 0.35);
}

.dc-cta:hover {
  filter: brightness(1.05);
}

.dc-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border: 2px solid #011e44;
  color: #011e44;
  border-radius: 10px;
  padding: 10px 14px;
}

.dc-flex {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ========= 18. DIVERS ========= */

.list {
  margin: 0;
  padding-left: 18px;
}

.pill {
  display: inline-block;
  border: 1px solid #e3e8f7;
  border-radius: 999px;
  padding: 0 4px;
  margin: 3px;
  font-size: 12px;
  background: #fafcff;
}

.small {
  font-size: 14px;
  color: #65748b;
}

hr.sep {
  border: 0;
  border-top: 1px solid #e5eef7;
  margin: 18px 0;
}

figure {
  margin: 0;
}

figcaption {
  font-size: 13px;
  color: #87a3c8;
  margin-top: 6px;
}

/* ========= 19. ANIMATIONS ========= */

@keyframes ws-fade-in-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ws-zoom-soft {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 260ms ease-out,
    transform 260ms ease-out;
}

.animate--visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-fade-up {
  animation: ws-fade-in-up 420ms ease-out both;
}

.animate-zoom {
  animation: ws-zoom-soft 380ms ease-out both;
}
.table>caption+thead>tr:first-child>td, .table>caption+thead>tr:first-child>th, .table>colgroup+thead>tr:first-child>td, .table>colgroup+thead>tr:first-child>th, .table>thead:first-child>tr:first-child>td, .table>thead:first-child>tr:first-child>th {
    border-top: 0;
}

.table>thead>tr>th {
    vertical-align: bottom;
    border-bottom: 2px solid #ddd;
}

.table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th {
    padding: 8px;
    line-height: 1.42857143;
    vertical-align: top;
    border-top: 1px solid #ddd;
}

th, td {
    padding: 6px 0;
    text-align: center;
}

th {
    border-width: 0 1px 1px 0;
    font-weight: 600;
}

table, th, td {
    border: 1px solid rgb(39 48 57 / .085);
}
thead {
    display: table-header-group;
    vertical-align: middle;
    unicode-bidi: isolate;
    border-color: inherit;
}



table {
    border-collapse: separate;
    border-spacing: 0;
    border-width: 1px 0 0 1px;
    margin: 0 0 1.75em;
    table-layout: fixed;
    width: 100%;
}


section {
    margin-top: 40px !important;
}

.grid {
    gap: 18px;
    display: grid;
}
@media (min-width: 900px) {
    .grid-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


.post-meta-bottom {
  margin-top: 1.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  font-size: 0.85rem;
  color: #94a3b8;
  background: none;
}
.post-meta-bottom a {
  color: #e5e7eb;
}
.post-meta-bottom a:hover {
  text-decoration: underline;
}


li {
    display: block;
}

ul.ft-social {
    display: inline-flex;
}

.dt-footer-bar, .dt-footer-cont {
    margin-top: 30px;
}

.dt-footer-bar {
    padding: 20px 0 18px;
    background: #0f172a;
    color: rgb(255 255 255 / .8);
    font-size: 15px;
    font-weight: 300;
    border-top: 1px solid #21293a;
}


.ft-bottom {
    background: #071219;
    color: #b8c4cf;
    padding: 12px 0;
    border-top: 1px solid #0f2530;
}
.dt-logo {
    position: relative;
}

.dt-logo {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.dt-main-menu-wrap.transition35 {
    padding: 20px 0;
}


#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-menu-item > a.mega-menu-link, #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-menu-ancestor > a.mega-menu-link, #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-page-ancestor > a.mega-menu-link
Specificity: (2,3,2)
 {
    background: white;
    color: rgba(1, 30, 68, 0.89);
    font-weight: bold;
    text-decoration: none;
    border-color: white;
}
.chip {
    background: #0f2d57;
    color: #f1f6ff;
    border: 1px solid #21497d;
    border-radius: 12px;
    padding: 10px 12px;
    text-align: center;
}
.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.sticky {
    display: block;
}
h2 {
    color: var(--blue);
    font-size: clamp(20px, 2.6vw, 30px);
    margin: 0 0 12px;
}
.responsive-container {
    display: flex;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px;
}
.services-block {
    flex: 7;
    display: flex;
    flex-direction: column;
    gap: 0px;
}
.card {
    background: #fff;
    border: 1px solid #e7eef6;
    border-radius: 14px;
    padding: 16px;
    margin: 15px;
    box-shadow: 0 6px 18px rgba(1, 30, 68, .06);
}
.services-block {
    flex: 7;
    display: flex;
    flex-direction: column;
    gap: 0px;
}
.responsive-container {
    display: flex;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px;
}

.cta {
    display: inline-block;
    align-items: center;
    gap: 10px;
    background: #feab0b;
    color: #1B1403;
    padding: 10px 16px;
    border-radius: 10px;
}
  .kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:10px}
  .btn-outline{border:2px solid var(--accent);color:var(--accent);padding:10px 14px;border-radius:10px;font-weight:700}
.btn-outline:hover{background:#fff3d3}

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}
.kpi{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:10px}

.grid--80-20 {
  grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); /* 4/5 = 80%, 1/5 = 20% */
}

@media (max-width: 900px) {
  .grid--80-20 {
    grid-template-columns: 1fr; /* empilé sur mobile */
  }
}
.breadcrumb {
  font-size: 14px;
  margin: 0px 0;
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.breadcrumb li a {
  color: #1a4d8f; /* bleu defi-clean */
  text-decoration: none;
  font-weight: 500;
}

.breadcrumb li::after {
  content: "›";
  margin-left: 6px;
  color: #999;
}

.breadcrumb li:last-child::after {
  content: "";
}

.breadcrumb li.active span {
  color: #444;
  font-weight: 600;
}

.hero-illust{width:100%;height:auto;border-radius:12px;box-shadow:0 0px 0px rgba(0,0,0,.3);}

.reveal.is-visible
Specificity: (0,2,0)
 {
    opacity: 1;
    transform: translateY(0);
}


.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .55s ease, transform .55s ease;
    will-change: opacity, transform;
}
.btn{
    display:inline-block;
    padding:14px 18px;
    border-radius:12px;
    background:#feab0b;
    color:#1B1403;
    text-decoration:none;
    font-weight:700;
    line-height:1;
    transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
  }
  .btn:hover{
    transform: translateY(-1px);
    filter: brightness(0.95);
    box-shadow: 0 10px 20px rgba(0,0,0,.15);
    color: #1B1403
  }
img.reveal.is-visible {
    border-radius: 16px;
    box-shadow: 0px 0 5px #6a6666;
    border: 2px solid white;
}

  .grid.grid-3{
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap: var(--gap, 16px);
  }
.dc-card .body {
    padding: 14px 16px 16px;
}


.dc-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e6ecf5;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(1, 30, 68, 0.06);
}


  /* Responsive simple */
  @media (max-width: 900px){
    .grid.grid-3{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
  }
  @media (max-width: 600px){
    .grid.grid-3{ grid-template-columns:1fr; }
  }


<script>
  (() => {
    const els = document.querySelectorAll('.reveal');
    if (!('IntersectionObserver' in window) || !els.length) return;

    const io = new IntersectionObserver((entries) => {
      entries.forEach(entry => {
        if (entry.isIntersecting) entry.target.classList.add('is-visible');
        else entry.target.classList.remove('is-visible');
      });
    }, { threshold: 0.18, rootMargin: "0px 0px -10% 0px" });

    els.forEach(el => io.observe(el));
  })();
</script>

