:root {
  --font-main: Arial, Helvetica, sans-serif;

  --dark-bg: #07111f;
  --dark-bg-soft: #0f1d33;
  --dark-card: #111f36;
  --dark-text: #f8fafc;
  --dark-muted: #cbd5e1;
  --dark-border: rgba(255,255,255,.12);

  --light-bg: #f6f8fb;
  --light-bg-soft: #ffffff;
  --light-card: #ffffff;
  --light-text: #172033;
  --light-muted: #5b667a;
  --light-border: #dbe3ee;

  --blue: #38bdf8;
  --blue-deep: #1d4ed8;
  --gold: #facc15;
  --green: #14b8a6;
  --danger: #dc2626;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-main);
}

body.theme-dark {
  background: var(--dark-bg);
  color: var(--dark-text);
}

body.theme-light {
  background: var(--light-bg);
  color: var(--light-text);
}

a {
  color: inherit;
  text-decoration: none;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
}

.theme-dark .header {
  background: rgba(7,17,31,.94);
  border-bottom: 1px solid var(--dark-border);
}

.theme-light .header {
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid var(--light-border);
}

.header-inner,
.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 24px;
}

.logo {
  font-weight: 800;
  letter-spacing: .02em;
}

.logo span {
  color: var(--blue);
}

.theme-light .logo span {
  color: var(--blue-deep);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
}

.theme-dark .nav {
  color: var(--dark-muted);
}

.theme-light .nav {
  color: var(--light-muted);
}

.nav a.active,
.nav a:hover {
  color: var(--blue);
}

.theme-light .nav a.active,
.theme-light .nav a:hover {
  color: var(--blue-deep);
}

.hero {
  padding: 96px 0 70px;
}

.theme-dark .hero {
  background:
    radial-gradient(circle at top left, rgba(56,189,248,.18), transparent 35%),
    radial-gradient(circle at top right, rgba(250,204,21,.12), transparent 30%);
}

.theme-light .hero {
  background:
    linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
}

.badge {
  display: inline-flex;
  border-radius: 999px;
  padding: 8px 13px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.theme-dark .badge {
  border: 1px solid var(--dark-border);
  color: var(--blue);
}

.theme-light .badge {
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: var(--blue-deep);
}

h1 {
  margin: 20px 0 18px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.02;
  max-width: 960px;
}

.theme-light h1 {
  letter-spacing: -0.035em;
}

.lead {
  max-width: 820px;
  font-size: 20px;
  line-height: 1.6;
}

.theme-dark .lead {
  color: var(--dark-muted);
}

.theme-light .lead {
  color: var(--light-muted);
}

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

.card {
  border-radius: 22px;
  padding: 26px;
  min-height: 210px;
}

.theme-dark .card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
}

.theme-light .card {
  background: var(--light-card);
  border: 1px solid var(--light-border);
  box-shadow: 0 10px 30px rgba(15, 23, 42, .06);
}

.card h2,
.card h3 {
  margin-top: 0;
}

.card p {
  line-height: 1.55;
}

.theme-dark .card p {
  color: var(--dark-muted);
}

.theme-light .card p {
  color: var(--light-muted);
}

.section {
  padding: 70px 0;
}

.section h1 {
  font-size: clamp(38px, 5vw, 58px);
}

.section h2 {
  font-size: 36px;
  margin: 0 0 16px;
}

.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 760px) 320px;
  gap: 42px;
  align-items: start;
  padding: 56px 0;
}

.article-card {
  background: #ffffff;
  border: 1px solid var(--light-border);
  border-radius: 24px;
  padding: 38px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .06);
}

.article-card h1 {
  font-size: clamp(34px, 5vw, 54px);
  color: var(--light-text);
}

.article-card p,
.article-card li {
  color: var(--light-muted);
  font-size: 18px;
  line-height: 1.75;
}

.sidebar-card {
  background: #ffffff;
  border: 1px solid var(--light-border);
  border-radius: 22px;
  padding: 24px;
  position: sticky;
  top: 100px;
}

.sidebar-card h3 {
  margin-top: 0;
}

.notice {
  padding: 16px 18px;
  border-radius: 16px;
}

.theme-dark .notice {
  background: rgba(250,204,21,.12);
  border: 1px solid rgba(250,204,21,.3);
  color: #fde68a;
}

.theme-light .notice {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 700;
  border: 1px solid transparent;
}

.button.primary {
  background: var(--blue);
  color: #02111f;
}

.theme-light .button.primary {
  background: var(--blue-deep);
  color: #ffffff;
}

.button.secondary {
  border-color: currentColor;
}

.footer {
  padding: 34px 0;
  font-size: 14px;
}

.theme-dark .footer {
  border-top: 1px solid var(--dark-border);
  color: var(--dark-muted);
}

.theme-light .footer {
  border-top: 1px solid var(--light-border);
  color: var(--light-muted);
  background: #ffffff;
}

@media (max-width: 900px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
  }

  .grid,
  .article-shell {
    grid-template-columns: 1fr;
  }

  .sidebar-card {
    position: static;
  }
}

/* ==============================
   HOME V1
   ============================== */

.home-hero {
  padding: 92px 0 74px;
}

.home-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 54px;
  align-items: center;
}

.home-hero h1 {
  max-width: 920px;
}

.home-hero-panel {
  background:
    linear-gradient(180deg, rgba(17,31,54,.95), rgba(15,29,51,.92));
  border: 1px solid var(--dark-border);
  border-radius: 28px;
  padding: 26px;
  box-shadow: 0 30px 90px rgba(0,0,0,.28);
}

.panel-line {
  padding: 18px 0;
  border-bottom: 1px solid var(--dark-border);
}

.panel-line:last-child {
  border-bottom: 0;
}

.panel-line strong {
  display: block;
  color: var(--dark-text);
  font-size: 18px;
  margin-bottom: 6px;
}

.panel-line span {
  display: block;
  color: var(--dark-muted);
  line-height: 1.45;
}

.home-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: -34px;
  position: relative;
  z-index: 3;
}

.home-metrics div {
  background: rgba(17,31,54,.96);
  border: 1px solid var(--dark-border);
  border-radius: 22px;
  padding: 22px;
}

.home-metrics strong {
  display: block;
  font-size: 20px;
  margin-bottom: 8px;
}

.home-metrics span {
  color: var(--dark-muted);
  line-height: 1.5;
}

.home-section {
  padding: 74px 0;
}


/* =========================================================
   ACCUEIL — espacements propres par section
   ========================================================= */

.home-section-entries {
  padding-top: 66px;
  padding-bottom: 38px;
}

.home-section-solutions {
  padding-top: 44px;
  padding-bottom: 42px;
}

.home-section-orientation {
  padding-top: 46px;
  padding-bottom: 42px;
}

.home-section-journal {
  padding-top: 52px;
  padding-bottom: 42px;
}

.home-cta.home-section-final-cta {
  margin-top: 42px;
  margin-bottom: 64px;
  padding-top: 38px;
  padding-bottom: 38px;
}

@media (max-width: 720px) {
  .home-section-entries,
  .home-section-solutions,
  .home-section-orientation,
  .home-section-journal {
    padding-top: 38px;
    padding-bottom: 38px;
  }

  .home-cta.home-section-final-cta {
    margin-top: 38px;
    margin-bottom: 44px;
    padding-top: 32px;
    padding-bottom: 32px;
  }
}


.home-section-soft {
  background:
    linear-gradient(180deg, rgba(15,29,51,.45), rgba(7,17,31,0));
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
}

.section-header {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-header h2,
.home-two-cols h2,
.home-cta h2 {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
  margin: 18px 0 16px;
}

.section-header p,
.home-text,
.home-cta p {
  color: var(--dark-muted);
  font-size: 18px;
  line-height: 1.7;
}

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

.pillar-card {
  display: block;
  min-height: 310px;
  background:
    linear-gradient(180deg, rgba(17,31,54,.98), rgba(17,31,54,.82));
  border: 1px solid var(--dark-border);
  border-radius: 28px;
  padding: 28px;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.pillar-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56,189,248,.55);
  background:
    linear-gradient(180deg, rgba(19,39,70,.98), rgba(17,31,54,.9));
}

.pillar-number {
  display: inline-flex;
  color: var(--blue);
  font-weight: 800;
  margin-bottom: 28px;
}

.pillar-card h3 {
  font-size: 25px;
  margin: 0 0 14px;
}

.pillar-card p {
  color: var(--dark-muted);
  line-height: 1.65;
}

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

.solution-card {
  background: #0b1728;
  border: 1px solid var(--dark-border);
  border-radius: 26px;
  padding: 28px;
  min-height: 280px;
}

.solution-tag {
  display: inline-flex;
  color: #02111f;
  background: var(--blue);
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 24px;
}

.solution-card h3 {
  font-size: 28px;
  margin: 0 0 14px;
}

.solution-card p {
  color: var(--dark-muted);
  line-height: 1.65;
}

.solution-card a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--blue);
  font-weight: 700;
}

.home-two-cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 470px;
  gap: 56px;
  align-items: start;
}

.value-list {
  display: grid;
  gap: 16px;
}

.value-item {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 22px;
  padding: 22px;
}

.value-item strong {
  display: block;
  font-size: 19px;
  margin-bottom: 8px;
}

.value-item span {
  color: var(--dark-muted);
  line-height: 1.55;
}

.home-publications-preview {
  background: #f6f8fb;
  color: var(--light-text);
}

.home-publications-preview .badge {
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: var(--blue-deep);
}

.home-publications-preview .section-header p {
  color: var(--light-muted);
}

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

.preview-card {
  background: #ffffff;
  border: 1px solid var(--light-border);
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .06);
  min-height: 230px;
}

.preview-card span {
  display: inline-flex;
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 18px;
}

.preview-card h3 {
  font-size: 23px;
  line-height: 1.2;
  margin: 0 0 12px;
}

.preview-card p {
  color: var(--light-muted);
  line-height: 1.6;
}

.home-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  background:
    radial-gradient(circle at top left, rgba(56,189,248,.18), transparent 40%),
    linear-gradient(180deg, rgba(17,31,54,.98), rgba(15,29,51,.92));
  border: 1px solid var(--dark-border);
  border-radius: 30px;
  padding: 38px;
  margin-top: 74px;
  margin-bottom: 74px;
}

.home-cta h2 {
  margin-top: 14px;
}

.home-cta p {
  max-width: 760px;
}

@media (max-width: 980px) {
  .home-hero-inner,
  .home-two-cols,
  .home-cta {
    grid-template-columns: 1fr;
  }

  .home-hero-panel {
    max-width: 620px;
  }

  .home-metrics,
  .pillar-grid,
  .solution-grid,
  .preview-grid {
    grid-template-columns: 1fr;
  }

  .home-metrics {
    margin-top: 0;
    padding-top: 24px;
  }
}

/* ==============================
   SOFTWARE + MACHINES V1
   ============================== */

.product-hero {
  padding: 86px 0 62px;
}

.product-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 56px;
  align-items: center;
}

.product-hero h1 {
  max-width: 900px;
}

.product-hero-card {
  background:
    linear-gradient(180deg, rgba(17,31,54,.98), rgba(15,29,51,.9));
  border: 1px solid var(--dark-border);
  border-radius: 28px;
  padding: 30px;
  box-shadow: 0 30px 90px rgba(0,0,0,.28);
}

.product-hero-card span {
  display: inline-flex;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 18px;
}

.product-hero-card strong {
  display: block;
  font-size: 24px;
  line-height: 1.25;
  margin-bottom: 18px;
}

.product-hero-card p {
  color: var(--dark-muted);
  line-height: 1.65;
}

.software-suite {
  display: grid;
  grid-template-columns: 1.2fr .9fr .9fr;
  gap: 18px;
  padding: 58px 0 76px;
}

.software-card {
  background:
    linear-gradient(180deg, rgba(17,31,54,.98), rgba(17,31,54,.82));
  border: 1px solid var(--dark-border);
  border-radius: 28px;
  padding: 30px;
  min-height: 440px;
}

.software-card.featured {
  background:
    radial-gradient(circle at top right, rgba(56,189,248,.16), transparent 36%),
    linear-gradient(180deg, rgba(17,31,54,1), rgba(17,31,54,.86));
  border-color: rgba(56,189,248,.38);
}

.software-kicker {
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 24px;
}

.software-card h2 {
  font-size: 34px;
  margin: 0 0 16px;
}

.software-card p {
  color: var(--dark-muted);
  line-height: 1.65;
}

.software-card ul {
  margin: 24px 0 0;
  padding-left: 20px;
  color: var(--dark-muted);
  line-height: 1.7;
}

.software-link {
  display: inline-flex;
  margin-top: 28px;
  color: var(--blue);
  font-weight: 800;
}

.software-process {
  padding: 72px 0;
  background:
    linear-gradient(180deg, rgba(15,29,51,.45), rgba(7,17,31,0));
  border-top: 1px solid var(--dark-border);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.process-grid div {
  background: #0b1728;
  border: 1px solid var(--dark-border);
  border-radius: 22px;
  padding: 22px;
}

.process-grid strong {
  display: block;
  color: var(--blue);
  font-size: 22px;
  margin-bottom: 14px;
}

.process-grid span {
  color: var(--dark-muted);
  line-height: 1.5;
}

.machine-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 58px 0 74px;
}

.machine-card {
  display: block;
  min-height: 270px;
  background:
    linear-gradient(180deg, rgba(17,31,54,.98), rgba(17,31,54,.82));
  border: 1px solid var(--dark-border);
  border-radius: 28px;
  padding: 30px;
  transition: transform .18s ease, border-color .18s ease;
}

.machine-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56,189,248,.55);
}

.machine-card span {
  display: inline-flex;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 24px;
}

.machine-card h2 {
  font-size: 28px;
  line-height: 1.15;
  margin: 0 0 16px;
}

.machine-card p {
  color: var(--dark-muted);
  line-height: 1.65;
}

.machine-guide {
  padding: 72px 0;
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
  background:
    radial-gradient(circle at top left, rgba(250,204,21,.10), transparent 34%),
    linear-gradient(180deg, rgba(15,29,51,.48), rgba(7,17,31,0));
}

.machine-guide-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 520px;
  gap: 56px;
  align-items: start;
}

.machine-guide h2 {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
  margin: 18px 0 16px;
}

.machine-guide p {
  color: var(--dark-muted);
  font-size: 18px;
  line-height: 1.7;
}

.guide-points {
  display: grid;
  gap: 16px;
}

.guide-points div {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 22px;
  padding: 22px;
}

.guide-points strong {
  display: block;
  font-size: 19px;
  margin-bottom: 8px;
}

.guide-points span {
  color: var(--dark-muted);
  line-height: 1.55;
}

@media (max-width: 1000px) {
  .product-hero-inner,
  .software-suite,
  .machine-guide-inner {
    grid-template-columns: 1fr;
  }

  .machine-categories,
  .process-grid {
    grid-template-columns: 1fr;
  }
}

/* ==============================
   PUBLICATIONS + FORUM V1
   ============================== */

.editorial-hero,
.forum-hero {
  padding: 86px 0 64px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
}

.editorial-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 54px;
  align-items: center;
}

.editorial-feature {
  background: #ffffff;
  border: 1px solid var(--light-border);
  border-radius: 28px;
  padding: 30px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, .08);
}

.editorial-feature span {
  display: inline-flex;
  color: var(--blue-deep);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 18px;
}

.editorial-feature strong {
  display: block;
  color: var(--light-text);
  font-size: 24px;
  line-height: 1.25;
  margin-bottom: 18px;
}

.editorial-feature p {
  color: var(--light-muted);
  line-height: 1.65;
}

.editorial-categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 54px 0 72px;
}

.editorial-category {
  display: block;
  background: #ffffff;
  border: 1px solid var(--light-border);
  border-radius: 24px;
  padding: 26px;
  min-height: 250px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .055);
  transition: transform .18s ease, border-color .18s ease;
}

.editorial-category:hover {
  transform: translateY(-4px);
  border-color: #93c5fd;
}

.editorial-category span {
  display: inline-flex;
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 22px;
}

.editorial-category h2 {
  font-size: 25px;
  line-height: 1.18;
  margin: 0 0 14px;
}

.editorial-category p {
  color: var(--light-muted);
  line-height: 1.6;
}

.editorial-section {
  padding: 72px 0;
  background: #ffffff;
  border-top: 1px solid var(--light-border);
  border-bottom: 1px solid var(--light-border);
}

.editorial-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 40px;
  align-items: end;
  margin-bottom: 34px;
}

.editorial-heading h2 {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
  margin: 18px 0 0;
}

.editorial-heading p {
  color: var(--light-muted);
  font-size: 18px;
  line-height: 1.7;
}

.article-list {
  display: grid;
  grid-template-columns: 1.2fr .9fr .9fr;
  gap: 18px;
}

.article-item {
  background: #f8fafc;
  border: 1px solid var(--light-border);
  border-radius: 24px;
  padding: 26px;
  min-height: 280px;
}

.article-main {
  grid-row: span 2;
  background:
    radial-gradient(circle at top right, rgba(37,99,235,.10), transparent 35%),
    #f8fafc;
}

.article-meta {
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 18px;
}

.article-item h3 {
  font-size: 26px;
  line-height: 1.18;
  margin: 0 0 14px;
}

.article-main h3 {
  font-size: 36px;
}

.article-item p {
  color: var(--light-muted);
  line-height: 1.65;
}

.article-item a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--blue-deep);
  font-weight: 800;
}

.editorial-seo-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 470px;
  gap: 56px;
  align-items: start;
  padding: 72px 0;
}

.editorial-seo-block h2 {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
  margin: 18px 0 16px;
}

.editorial-seo-block p {
  color: var(--light-muted);
  font-size: 18px;
  line-height: 1.7;
}

.seo-points {
  display: grid;
  gap: 16px;
}

.seo-points div {
  background: #ffffff;
  border: 1px solid var(--light-border);
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .05);
}

.seo-points strong {
  display: block;
  color: var(--light-text);
  font-size: 19px;
  margin-bottom: 8px;
}

.seo-points span {
  color: var(--light-muted);
  line-height: 1.55;
}

.forum-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 54px 0 72px;
}

.forum-category {
  background: #ffffff;
  border: 1px solid var(--light-border);
  border-radius: 24px;
  padding: 26px;
  min-height: 285px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .055);
}

.forum-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #eff6ff;
  color: var(--blue-deep);
  font-weight: 900;
  margin-bottom: 22px;
}

.forum-category h2 {
  font-size: 25px;
  line-height: 1.18;
  margin: 0 0 14px;
}

.forum-category p {
  color: var(--light-muted);
  line-height: 1.6;
}

.forum-category span {
  display: inline-flex;
  margin-top: 16px;
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 800;
}

.forum-section {
  padding: 72px 0;
  background: #ffffff;
  border-top: 1px solid var(--light-border);
  border-bottom: 1px solid var(--light-border);
}

.forum-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 42px;
  align-items: start;
}

.forum-main h2 {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
  margin: 18px 0 28px;
}

.topic-list {
  display: grid;
  gap: 16px;
}

.topic-item {
  background: #f8fafc;
  border: 1px solid var(--light-border);
  border-radius: 22px;
  padding: 24px;
}

.topic-item span {
  display: inline-flex;
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 12px;
}

.topic-item h3 {
  font-size: 24px;
  margin: 0 0 10px;
}

.topic-item p {
  color: var(--light-muted);
  line-height: 1.6;
}

.forum-sidebar {
  background: #f8fafc;
  border: 1px solid var(--light-border);
  border-radius: 24px;
  padding: 26px;
  position: sticky;
  top: 100px;
}

.forum-sidebar h3 {
  margin-top: 0;
  font-size: 24px;
}

.forum-sidebar ul {
  margin: 0;
  padding-left: 20px;
  color: var(--light-muted);
  line-height: 1.8;
}

.forum-cta {
  background: #ffffff;
  border: 1px solid var(--light-border);
  border-radius: 28px;
  padding: 34px;
  margin-top: 72px;
  margin-bottom: 72px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .055);
}

.forum-cta h2 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
  margin: 18px 0 14px;
}

.forum-cta p {
  color: var(--light-muted);
  font-size: 18px;
  line-height: 1.7;
  max-width: 850px;
}

@media (max-width: 1050px) {
  .editorial-hero-inner,
  .editorial-heading,
  .editorial-seo-block,
  .forum-layout {
    grid-template-columns: 1fr;
  }

  .editorial-categories,
  .forum-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .article-list {
    grid-template-columns: 1fr;
  }

  .article-main {
    grid-row: auto;
  }

  .forum-sidebar {
    position: static;
  }
}

@media (max-width: 720px) {
  .editorial-categories,
  .forum-grid {
    grid-template-columns: 1fr;
  }
}

/* ==============================
   PARTNERS + CONTACT V1
   ============================== */

.partner-types {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 58px 0 74px;
}

.partner-type {
  background:
    linear-gradient(180deg, rgba(17,31,54,.98), rgba(17,31,54,.82));
  border: 1px solid var(--dark-border);
  border-radius: 26px;
  padding: 26px;
  min-height: 280px;
}

.partner-type span {
  display: inline-flex;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 24px;
}

.partner-type h2 {
  font-size: 25px;
  line-height: 1.18;
  margin: 0 0 14px;
}

.partner-type p {
  color: var(--dark-muted);
  line-height: 1.65;
}

.partners-section {
  padding: 72px 0;
  background:
    linear-gradient(180deg, rgba(15,29,51,.45), rgba(7,17,31,0));
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
}

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

.partner-card {
  background: #0b1728;
  border: 1px solid var(--dark-border);
  border-radius: 28px;
  padding: 30px;
  min-height: 360px;
}

.partner-logo {
  width: 68px;
  height: 68px;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(56,189,248,1), rgba(250,204,21,.85));
  color: #02111f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  margin-bottom: 28px;
}

.partner-card h3 {
  font-size: 27px;
  margin: 0 0 14px;
}

.partner-card p,
.partner-card li {
  color: var(--dark-muted);
  line-height: 1.65;
}

.partner-card ul {
  margin: 22px 0 0;
  padding-left: 20px;
}

.partner-method {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 470px;
  gap: 56px;
  align-items: start;
  padding: 72px 0 0;
}

.partner-method h2 {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
  margin: 18px 0 16px;
}

.partner-method p {
  color: var(--dark-muted);
  font-size: 18px;
  line-height: 1.7;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 34px;
  align-items: start;
  padding: 58px 0 74px;
}

.contact-panel {
  background:
    linear-gradient(180deg, rgba(17,31,54,.98), rgba(17,31,54,.86));
  border: 1px solid var(--dark-border);
  border-radius: 30px;
  padding: 34px;
}

.contact-panel h2 {
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.08;
  margin: 18px 0 14px;
}

.contact-panel p {
  color: var(--dark-muted);
  line-height: 1.7;
  font-size: 18px;
}

.contact-form {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--dark-muted);
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--dark-border);
  border-radius: 16px;
  background: #07111f;
  color: var(--dark-text);
  padding: 14px 15px;
  font: inherit;
  outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(56,189,248,.65);
}

.contact-form textarea {
  resize: vertical;
}

.contact-sidebar {
  display: grid;
  gap: 16px;
}

.contact-sidebar article {
  background: #0b1728;
  border: 1px solid var(--dark-border);
  border-radius: 24px;
  padding: 24px;
}

.contact-sidebar span {
  display: inline-flex;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 16px;
}

.contact-sidebar h3 {
  margin: 0 0 12px;
  font-size: 23px;
}

.contact-sidebar p {
  color: var(--dark-muted);
  line-height: 1.6;
}

.contact-section {
  padding: 72px 0;
  border-top: 1px solid var(--dark-border);
  background:
    radial-gradient(circle at top left, rgba(56,189,248,.12), transparent 34%),
    linear-gradient(180deg, rgba(15,29,51,.48), rgba(7,17,31,0));
}

.contact-next {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 520px;
  gap: 56px;
  align-items: start;
}

.contact-next h2 {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
  margin: 18px 0 16px;
}

.contact-next p {
  color: var(--dark-muted);
  font-size: 18px;
  line-height: 1.7;
}

@media (max-width: 1050px) {
  .partner-types,
  .partner-showcase {
    grid-template-columns: repeat(2, 1fr);
  }

  .partner-method,
  .contact-layout,
  .contact-next {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .partner-types,
  .partner-showcase,
  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* ==============================
   BACKOFFICE V1
   ============================== */

.admin-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(56,189,248,.14), transparent 32%),
    var(--dark-bg);
}

.admin-header {
  border-bottom: 1px solid var(--dark-border);
  background: rgba(7,17,31,.94);
  backdrop-filter: blur(10px);
}

.admin-header-inner {
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--dark-muted);
  font-size: 14px;
}

.admin-nav a:hover {
  color: var(--blue);
}

.admin-main {
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
}

.admin-login-wrap {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
}

.admin-login-card {
  width: min(480px, 100%);
  background:
    linear-gradient(180deg, rgba(17,31,54,.98), rgba(15,29,51,.92));
  border: 1px solid var(--dark-border);
  border-radius: 30px;
  padding: 34px;
  box-shadow: 0 30px 90px rgba(0,0,0,.28);
}

.admin-login-card h1 {
  font-size: 44px;
  margin: 18px 0 12px;
}

.admin-login-card p {
  color: var(--dark-muted);
  line-height: 1.6;
}

.admin-form {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.admin-form label {
  display: grid;
  gap: 8px;
  color: var(--dark-muted);
  font-weight: 700;
}

.admin-form input {
  width: 100%;
  border: 1px solid var(--dark-border);
  border-radius: 16px;
  background: #07111f;
  color: var(--dark-text);
  padding: 14px 15px;
  font: inherit;
  outline: none;
}

.admin-form input:focus {
  border-color: rgba(56,189,248,.65);
}

.admin-alert {
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: 16px;
  font-weight: 700;
}

.admin-alert.error {
  background: rgba(220,38,38,.13);
  border: 1px solid rgba(220,38,38,.35);
  color: #fecaca;
}

.admin-dashboard {
  padding: 58px 0 80px;
}

.admin-page-title {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 34px;
}

.admin-page-title h1 {
  margin: 18px 0 12px;
  font-size: clamp(40px, 5vw, 62px);
}

.admin-page-title p {
  color: var(--dark-muted);
  font-size: 18px;
  line-height: 1.6;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.admin-module {
  background:
    linear-gradient(180deg, rgba(17,31,54,.98), rgba(17,31,54,.82));
  border: 1px solid var(--dark-border);
  border-radius: 26px;
  padding: 26px;
  min-height: 260px;
}

.admin-module span {
  display: inline-flex;
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 24px;
}

.admin-module h2 {
  font-size: 25px;
  margin: 0 0 12px;
}

.admin-module p {
  color: var(--dark-muted);
  line-height: 1.6;
}

.admin-module em {
  display: inline-flex;
  margin-top: 18px;
  color: #fde68a;
  font-style: normal;
  font-size: 14px;
}

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

  .admin-header-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 0;
  }
}

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

/* ==============================
   BACKOFFICE V2 MODULES
   ============================== */

.admin-module-link {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.admin-module-link:hover {
  transform: translateY(-4px);
  border-color: rgba(56,189,248,.55);
  background:
    linear-gradient(180deg, rgba(19,39,70,.98), rgba(17,31,54,.9));
}

.admin-module-page {
  padding: 58px 0 80px;
}

.admin-module-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 26px;
  align-items: start;
}

.admin-module-panel,
.admin-module-side {
  background:
    linear-gradient(180deg, rgba(17,31,54,.98), rgba(17,31,54,.86));
  border: 1px solid var(--dark-border);
  border-radius: 28px;
  padding: 30px;
}

.admin-module-panel h2 {
  font-size: 34px;
  margin: 0 0 14px;
}

.admin-module-panel p {
  color: var(--dark-muted);
  font-size: 18px;
  line-height: 1.7;
}

.admin-fake-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0;
}

.admin-empty-state {
  background: #07111f;
  border: 1px dashed rgba(56,189,248,.45);
  border-radius: 22px;
  padding: 26px;
  display: grid;
  gap: 10px;
}

.admin-empty-state strong {
  font-size: 22px;
}

.admin-empty-state span {
  color: var(--dark-muted);
  line-height: 1.6;
}

.admin-empty-state code {
  color: var(--blue);
}

.admin-module-side h3 {
  font-size: 24px;
  margin: 0 0 18px;
}

.admin-module-side ul {
  margin: 0 0 24px;
  padding-left: 20px;
  color: var(--dark-muted);
  line-height: 1.85;
}

.admin-status-box {
  background: #07111f;
  border: 1px solid var(--dark-border);
  border-radius: 20px;
  padding: 20px;
  margin-top: 14px;
}

.admin-status-box span {
  display: block;
  color: var(--dark-muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 8px;
}

.admin-status-box strong {
  display: block;
  color: var(--blue);
  font-size: 20px;
}

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

/* ==============================
   CONTACT REQUESTS V1
   ============================== */

.site-alert {
  margin: 22px 0 0;
  padding: 16px 18px;
  border-radius: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.site-alert.success {
  background: rgba(20,184,166,.14);
  border: 1px solid rgba(20,184,166,.4);
  color: #99f6e4;
}

.site-alert.error {
  background: rgba(220,38,38,.13);
  border: 1px solid rgba(220,38,38,.35);
  color: #fecaca;
}

.request-list {
  display: grid;
  gap: 18px;
}

.request-card {
  background:
    linear-gradient(180deg, rgba(17,31,54,.98), rgba(17,31,54,.86));
  border: 1px solid var(--dark-border);
  border-radius: 28px;
  padding: 28px;
}

.request-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.request-type {
  display: inline-flex;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 12px;
}

.request-head h2 {
  font-size: 28px;
  margin: 0 0 10px;
}

.request-head p {
  color: var(--dark-muted);
  margin: 0;
}

.request-status {
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
  border: 1px solid var(--dark-border);
}

.status-new {
  background: rgba(56,189,248,.16);
  color: #bae6fd;
}

.status-to_process,
.status-in_progress {
  background: rgba(250,204,21,.14);
  color: #fde68a;
}

.status-answered,
.status-converted {
  background: rgba(20,184,166,.14);
  color: #99f6e4;
}

.status-archived,
.status-refused {
  background: rgba(148,163,184,.14);
  color: #cbd5e1;
}

.request-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--dark-muted);
  font-size: 14px;
  margin-bottom: 18px;
}

.request-meta span {
  background: #07111f;
  border: 1px solid var(--dark-border);
  border-radius: 999px;
  padding: 8px 12px;
}

.request-meta strong {
  color: var(--dark-text);
}

.request-message {
  background: #07111f;
  border: 1px solid var(--dark-border);
  border-radius: 20px;
  padding: 20px;
  color: var(--dark-muted);
  line-height: 1.7;
}

.request-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: end;
  margin-top: 18px;
}

.request-actions label {
  display: grid;
  gap: 8px;
  color: var(--dark-muted);
  font-weight: 700;
}

.request-actions select {
  border: 1px solid var(--dark-border);
  border-radius: 14px;
  background: #07111f;
  color: var(--dark-text);
  padding: 12px 14px;
  font: inherit;
}

@media (max-width: 760px) {
  .request-head {
    flex-direction: column;
  }
}

/* ==============================
   ARTICLES V1
   ============================== */

.article-empty {
  background: #f8fafc;
  border: 1px solid var(--light-border);
  border-radius: 24px;
  padding: 30px;
  color: var(--light-muted);
}

.article-public-hero {
  padding: 72px 0 52px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
}

.article-public-hero h1 {
  color: var(--light-text);
  font-size: clamp(38px, 6vw, 66px);
  line-height: 1.04;
  max-width: 980px;
}

.article-back {
  display: inline-flex;
  color: var(--blue-deep);
  font-weight: 800;
  margin-bottom: 24px;
}

.article-date {
  color: var(--light-muted);
  font-weight: 700;
  margin-top: 22px;
}

.article-public-layout {
  display: grid;
  grid-template-columns: minmax(0, 790px) 320px;
  gap: 42px;
  align-items: start;
  padding: 58px 0 78px;
}

.article-public-card {
  background: #ffffff;
  border: 1px solid var(--light-border);
  border-radius: 28px;
  padding: 42px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .06);
  color: var(--light-muted);
  font-size: 19px;
  line-height: 1.85;
}

.article-public-side {
  background: #ffffff;
  border: 1px solid var(--light-border);
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .055);
  position: sticky;
  top: 100px;
}

.article-public-side h3 {
  color: var(--light-text);
  font-size: 24px;
  margin: 0 0 12px;
}

.article-public-side p {
  color: var(--light-muted);
  line-height: 1.6;
}

.article-public-side a {
  display: block;
  color: var(--blue-deep);
  font-weight: 800;
  margin-top: 14px;
}

.article-public-cta {
  margin-top: 40px;
  padding: 26px;
  border-radius: 24px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
}

.article-public-cta strong {
  display: block;
  color: var(--light-text);
  font-size: 22px;
  margin-bottom: 10px;
}

.article-public-cta p {
  color: var(--light-muted);
  line-height: 1.6;
}

.admin-content-list {
  display: grid;
  gap: 18px;
}

.admin-content-card {
  background:
    linear-gradient(180deg, rgba(17,31,54,.98), rgba(17,31,54,.86));
  border: 1px solid var(--dark-border);
  border-radius: 28px;
  padding: 26px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.admin-content-type {
  display: inline-flex;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 12px;
}

.admin-content-card h2 {
  margin: 0 0 10px;
  font-size: 28px;
}

.admin-content-card p {
  color: var(--dark-muted);
  line-height: 1.6;
}

.admin-content-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--dark-muted);
  font-size: 14px;
}

.admin-content-meta span {
  background: #07111f;
  border: 1px solid var(--dark-border);
  border-radius: 999px;
  padding: 8px 12px;
}

.admin-content-meta strong {
  color: var(--dark-text);
}

.admin-content-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-edit-form {
  display: block;
}

.admin-form-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 26px;
  align-items: start;
}

.admin-form-panel,
.admin-form-side {
  background:
    linear-gradient(180deg, rgba(17,31,54,.98), rgba(17,31,54,.86));
  border: 1px solid var(--dark-border);
  border-radius: 28px;
  padding: 30px;
}

.admin-form-panel,
.admin-form-side {
  display: grid;
  gap: 18px;
}

.admin-edit-form label {
  display: grid;
  gap: 8px;
  color: var(--dark-muted);
  font-weight: 700;
}

.admin-edit-form input,
.admin-edit-form select,
.admin-edit-form textarea {
  width: 100%;
  border: 1px solid var(--dark-border);
  border-radius: 16px;
  background: #07111f;
  color: var(--dark-text);
  padding: 14px 15px;
  font: inherit;
  outline: none;
}

.admin-edit-form textarea {
  resize: vertical;
}

.admin-edit-form input:focus,
.admin-edit-form select:focus,
.admin-edit-form textarea:focus {
  border-color: rgba(56,189,248,.65);
}

@media (max-width: 950px) {
  .article-public-layout,
  .admin-form-main,
  .admin-content-card {
    grid-template-columns: 1fr;
  }

  .article-public-side {
    position: static;
  }
}

/* ==============================
   DYNAMIC MACHINES V1
   ============================== */

.machine-empty {
  grid-column: 1 / -1;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 24px;
  padding: 30px;
  color: var(--dark-muted);
}

.machine-card-meta {
  display: grid;
  gap: 8px;
  margin-top: 20px;
}

.machine-card-meta small {
  display: inline-flex;
  color: #fde68a;
  font-weight: 700;
  line-height: 1.4;
}

.machine-public-hero {
  padding: 86px 0 64px;
  background:
    radial-gradient(circle at top left, rgba(56,189,248,.18), transparent 35%),
    radial-gradient(circle at top right, rgba(250,204,21,.12), transparent 30%);
}

.machine-public-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 54px;
  align-items: center;
}

.machine-back {
  display: inline-flex;
  color: var(--blue);
  font-weight: 800;
  margin-bottom: 24px;
}

.machine-public-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.machine-public-meta span {
  background: rgba(17,31,54,.96);
  border: 1px solid var(--dark-border);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--dark-muted);
}

.machine-public-meta strong {
  color: var(--dark-text);
}

.machine-public-layout {
  display: grid;
  grid-template-columns: minmax(0, 790px) 320px;
  gap: 42px;
  align-items: start;
  padding: 58px 0 78px;
}

.machine-public-card {
  background:
    linear-gradient(180deg, rgba(17,31,54,.98), rgba(17,31,54,.86));
  border: 1px solid var(--dark-border);
  border-radius: 28px;
  padding: 42px;
  color: var(--dark-muted);
  font-size: 18px;
  line-height: 1.8;
}

.machine-public-card h2 {
  color: var(--dark-text);
  font-size: 34px;
  margin: 0 0 18px;
}

.machine-public-card h2:not(:first-child) {
  margin-top: 42px;
}

.machine-public-side {
  background:
    linear-gradient(180deg, rgba(17,31,54,.98), rgba(17,31,54,.86));
  border: 1px solid var(--dark-border);
  border-radius: 24px;
  padding: 26px;
  position: sticky;
  top: 100px;
}

.machine-public-side h3 {
  font-size: 24px;
  margin: 0 0 16px;
}

.machine-public-side p {
  color: var(--dark-muted);
  line-height: 1.55;
}

.machine-public-side strong {
  color: var(--dark-text);
}

.machine-public-side a {
  display: block;
  color: var(--blue);
  font-weight: 800;
  margin-top: 14px;
}

@media (max-width: 950px) {
  .machine-public-hero-inner,
  .machine-public-layout {
    grid-template-columns: 1fr;
  }

  .machine-public-side {
    position: static;
  }
}

/* ==============================
   DYNAMIC SOFTWARES V1
   ============================== */

.software-empty {
  grid-column: 1 / -1;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 24px;
  padding: 30px;
  color: var(--dark-muted);
}

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

.software-baseline {
  margin-top: 22px;
  padding: 16px;
  border-radius: 18px;
  background: #07111f;
  border: 1px solid var(--dark-border);
  color: #fde68a;
  line-height: 1.55;
  font-weight: 700;
}

.software-public-hero {
  padding: 86px 0 64px;
  background:
    radial-gradient(circle at top left, rgba(56,189,248,.18), transparent 35%),
    radial-gradient(circle at top right, rgba(20,184,166,.13), transparent 30%);
}

/* =========================================================
   LOGICIEL — fiche détail propre
   ========================================================= */

.software-detail-hero {
  padding-top: 42px !important;
  padding-bottom: 34px !important;
}

.software-detail-hero-inner {
  gap: 44px !important;
  align-items: center !important;
}

.software-detail-hero .machine-back {
  margin-bottom: 14px !important;
}

.software-detail-hero h1 {
  margin-top: 16px !important;
  margin-bottom: 14px !important;
  text-wrap: balance;
}

.software-detail-hero .lead {
  margin-bottom: 0 !important;
  max-width: 760px !important;
}

.software-detail-layout {
  padding-top: 30px !important;
  padding-bottom: 68px !important;
}

.software-detail-card {
  padding: 38px !important;
}

.software-detail-card h2:not(:first-child) {
  margin-top: 34px !important;
}

.software-detail-side {
  margin-top: 0 !important;
}

@media (max-width: 720px) {
  .software-detail-hero {
    padding-top: 28px !important;
    padding-bottom: 28px !important;
  }

  .software-detail-layout {
    padding-top: 26px !important;
    padding-bottom: 48px !important;
  }

  .software-detail-card {
    padding: 28px !important;
  }
}


@media (max-width: 1000px) {
  .dynamic-softwares {
    grid-template-columns: 1fr;
  }
}

/* ==============================
   DYNAMIC PARTNERS V1
   ============================== */

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

.partner-empty {
  grid-column: 1 / -1;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 24px;
  padding: 30px;
  color: var(--dark-muted);
}

.partner-type-link {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.partner-type-link:hover {
  transform: translateY(-4px);
  border-color: rgba(56,189,248,.55);
  background:
    linear-gradient(180deg, rgba(19,39,70,.98), rgba(17,31,54,.9));
}

.partner-zone {
  margin-top: 22px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #07111f;
  border: 1px solid var(--dark-border);
  color: #fde68a;
  line-height: 1.45;
  font-weight: 700;
}

.partner-public-hero {
  padding: 86px 0 64px;
  background:
    radial-gradient(circle at top left, rgba(56,189,248,.18), transparent 35%),
    radial-gradient(circle at top right, rgba(250,204,21,.12), transparent 30%);
}

@media (max-width: 1000px) {
  .dynamic-partners {
    grid-template-columns: 1fr;
  }
}

/* ==============================
   MEDIAS V1
   ============================== */

.admin-alert.success {
  background: rgba(20,184,166,.14);
  border: 1px solid rgba(20,184,166,.4);
  color: #99f6e4;
}

.button.danger {
  background: rgba(220,38,38,.16);
  border-color: rgba(220,38,38,.45);
  color: #fecaca;
}

.media-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
  margin-bottom: 38px;
}

.media-upload-panel,
.media-help-panel {
  background:
    linear-gradient(180deg, rgba(17,31,54,.98), rgba(17,31,54,.86));
  border: 1px solid var(--dark-border);
  border-radius: 28px;
  padding: 30px;
}

.media-upload-panel h2,
.media-help-panel h3 {
  margin: 0 0 14px;
  font-size: 30px;
}

.media-upload-panel p,
.media-help-panel p {
  color: var(--dark-muted);
  line-height: 1.7;
}

.media-upload-form {
  margin-top: 24px;
}

.media-example {
  background: #07111f;
  border: 1px solid var(--dark-border);
  border-radius: 16px;
  padding: 14px;
  color: var(--blue);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.media-list-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin: 36px 0 18px;
}

.media-list-head h2 {
  font-size: 34px;
  margin: 0;
}

.media-list-head span {
  color: var(--dark-muted);
  font-weight: 800;
}

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

.media-card {
  background:
    linear-gradient(180deg, rgba(17,31,54,.98), rgba(17,31,54,.86));
  border: 1px solid var(--dark-border);
  border-radius: 26px;
  overflow: hidden;
}

.media-preview {
  height: 220px;
  background: #07111f;
  border-bottom: 1px solid var(--dark-border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-file-icon {
  width: 92px;
  height: 92px;
  border-radius: 24px;
  background: rgba(220,38,38,.16);
  border: 1px solid rgba(220,38,38,.4);
  color: #fecaca;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 24px;
}

.media-info {
  padding: 22px;
}

.media-info h3 {
  margin: 0 0 8px;
  font-size: 20px;
  overflow-wrap: anywhere;
}

.media-info p {
  min-height: 22px;
  color: var(--dark-muted);
  line-height: 1.5;
}

.media-path input {
  width: 100%;
  border: 1px solid var(--dark-border);
  border-radius: 14px;
  background: #07111f;
  color: var(--blue);
  padding: 12px 13px;
  font: inherit;
  font-weight: 800;
  outline: none;
}

.media-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  color: var(--dark-muted);
  font-size: 13px;
}

.media-meta span {
  background: #07111f;
  border: 1px solid var(--dark-border);
  border-radius: 999px;
  padding: 7px 10px;
}

.media-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.media-actions form {
  margin: 0;
}

@media (max-width: 1050px) {
  .media-layout,
  .media-grid {
    grid-template-columns: 1fr;
  }
}

/* ==============================
   ARTICLE FEATURED IMAGES
   ============================== */

.article-card-image {
  display: block;
  margin: -26px -26px 22px;
  height: 210px;
  overflow: hidden;
  border-radius: 24px 24px 0 0;
  background: #e5e7eb;
  border-bottom: 1px solid var(--light-border);
}

.article-main .article-card-image {
  height: 300px;
}

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

.article-cover-wrap {
  margin-top: -20px;
}

.article-cover {
  background: #ffffff;
  border: 1px solid var(--light-border);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(15, 23, 42, .08);
}

.article-cover img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  object-position: center center;
  display: block;
}

@media (max-width: 760px) {
  .article-card-image,
  .article-main .article-card-image {
    height: 220px;
  }

  .article-cover img {
    max-height: 320px;
  }
}

/* ==============================
   SEO / SITEMAP / REDIRECTS V1
   ============================== */

.seo-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 30px;
}

.seo-stat-card {
  background:
    linear-gradient(180deg, rgba(17,31,54,.98), rgba(17,31,54,.86));
  border: 1px solid var(--dark-border);
  border-radius: 24px;
  padding: 24px;
}

.seo-stat-card span {
  display: block;
  color: var(--dark-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 10px;
}

.seo-stat-card strong {
  display: block;
  color: var(--blue);
  font-size: 42px;
}

.seo-panel {
  background:
    linear-gradient(180deg, rgba(17,31,54,.98), rgba(17,31,54,.86));
  border: 1px solid var(--dark-border);
  border-radius: 30px;
  padding: 30px;
  margin-top: 24px;
}

.seo-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.seo-panel h2 {
  font-size: 34px;
  margin: 0 0 10px;
}

.seo-panel p {
  color: var(--dark-muted);
  line-height: 1.6;
  margin: 0;
}

.seo-page-list {
  display: grid;
  gap: 18px;
}

.seo-page-card {
  background: #07111f;
  border: 1px solid var(--dark-border);
  border-radius: 24px;
  padding: 24px;
  display: grid;
  gap: 16px;
}

.seo-page-path {
  display: inline-flex;
  width: fit-content;
  color: var(--blue);
  background: rgba(56,189,248,.10);
  border: 1px solid rgba(56,189,248,.25);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 900;
}

.seo-page-card label,
.redirect-form label {
  display: grid;
  gap: 8px;
  color: var(--dark-muted);
  font-weight: 700;
}

.seo-page-card input,
.seo-page-card select,
.seo-page-card textarea,
.redirect-form input,
.redirect-form select {
  width: 100%;
  border: 1px solid var(--dark-border);
  border-radius: 16px;
  background: #050d18;
  color: var(--dark-text);
  padding: 13px 14px;
  font: inherit;
  outline: none;
}

.seo-page-card textarea {
  resize: vertical;
}

.seo-mini-grid {
  display: grid;
  grid-template-columns: 160px 220px;
  gap: 16px;
}

.seo-checkbox {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 10px !important;
}

.seo-checkbox input {
  width: auto !important;
}

.redirect-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 160px 130px auto;
  gap: 14px;
  align-items: end;
  margin-bottom: 24px;
}

.redirect-list {
  display: grid;
  gap: 14px;
}

.redirect-card {
  background: #07111f;
  border: 1px solid var(--dark-border);
  border-radius: 22px;
  padding: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.redirect-card span {
  display: inline-flex;
  color: #02111f;
  background: var(--blue);
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 900;
  margin-right: 10px;
}

.redirect-card strong {
  color: var(--dark-text);
  overflow-wrap: anywhere;
}

.redirect-card em {
  display: block;
  color: var(--dark-muted);
  font-style: normal;
  margin-top: 8px;
  overflow-wrap: anywhere;
}

.redirect-card small {
  display: block;
  color: #fde68a;
  margin-top: 8px;
}

.sitemap-preview {
  display: grid;
  gap: 10px;
}

.sitemap-preview div {
  background: #07111f;
  border: 1px solid var(--dark-border);
  border-radius: 18px;
  padding: 16px;
}

.sitemap-preview strong {
  display: block;
  color: var(--dark-text);
  margin-bottom: 6px;
  overflow-wrap: anywhere;
}

.sitemap-preview span {
  color: var(--dark-muted);
}

@media (max-width: 1050px) {
  .seo-dashboard-grid,
  .redirect-form {
    grid-template-columns: 1fr;
  }

  .seo-mini-grid,
  .redirect-card {
    grid-template-columns: 1fr;
  }
}

/* ==============================
   MACHINES FILTERED CATALOGUE
   ============================== */

.machines-catalogue {
  padding: 62px 0 76px;
}

.machines-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.machines-toolbar h2 {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
  margin: 18px 0 0;
}

.machines-search {
  display: grid;
  gap: 8px;
  color: var(--dark-muted);
  font-weight: 800;
}

.machines-search input {
  width: 100%;
  border: 1px solid var(--dark-border);
  border-radius: 999px;
  background: #07111f;
  color: var(--dark-text);
  padding: 14px 18px;
  font: inherit;
  outline: none;
}

.machines-search input:focus {
  border-color: rgba(56,189,248,.65);
}

.machine-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.machine-filter {
  border: 1px solid var(--dark-border);
  background: rgba(17,31,54,.92);
  color: var(--dark-muted);
  border-radius: 999px;
  padding: 10px 14px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.machine-filter:hover,
.machine-filter.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #02111f;
}

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

.machine-catalogue-card[hidden] {
  display: none;
}

.machine-no-results {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 24px;
  padding: 30px;
  color: var(--dark-muted);
}

@media (max-width: 1000px) {
  .machines-toolbar,
  .machine-catalogue-grid {
    grid-template-columns: 1fr;
  }
}

/* ==============================
   MACHINES CATALOGUE V2 CLEAN
   ============================== */

.machines-catalogue-v2 {
  padding: 72px 0 84px !important;
  background:
    radial-gradient(circle at top left, rgba(56,189,248,.10), transparent 32%),
    linear-gradient(180deg, rgba(15,29,51,.36), rgba(7,17,31,0));
  border-top: 1px solid var(--dark-border);
}

.catalogue-shell {
  display: grid !important;
  grid-template-columns: 310px minmax(0, 1fr) !important;
  gap: 28px !important;
  align-items: start !important;
}

.catalogue-sidebar {
  position: sticky;
  top: 92px;
  background:
    linear-gradient(180deg, rgba(17,31,54,.98), rgba(17,31,54,.86));
  border: 1px solid var(--dark-border);
  border-radius: 30px;
  padding: 26px;
  box-shadow: 0 24px 70px rgba(0,0,0,.18);
}

.catalogue-sidebar h2 {
  margin: 16px 0 22px;
  font-size: 34px;
  line-height: 1.05;
}

.catalogue-search {
  display: grid !important;
  gap: 9px !important;
  color: var(--dark-muted);
  font-weight: 800;
  margin-bottom: 24px;
}

.catalogue-search span {
  font-size: 14px;
}

.catalogue-search input {
  width: 100% !important;
  border: 1px solid var(--dark-border) !important;
  border-radius: 18px !important;
  background: #07111f !important;
  color: var(--dark-text) !important;
  padding: 15px 16px !important;
  font: inherit !important;
  outline: none !important;
}

.catalogue-search input:focus {
  border-color: rgba(56,189,248,.75) !important;
  box-shadow: 0 0 0 4px rgba(56,189,248,.10);
}

.catalogue-filter-title {
  color: var(--dark-muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 900;
  margin-bottom: 12px;
}

.catalogue-filters {
  display: grid !important;
  gap: 9px !important;
}

.machine-filter-v2 {
  width: 100%;
  border: 1px solid var(--dark-border) !important;
  background: #07111f !important;
  color: var(--dark-text) !important;
  border-radius: 16px !important;
  padding: 13px 14px !important;
  cursor: pointer;
  font: inherit !important;
  font-weight: 800 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  text-align: left !important;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.machine-filter-v2 small {
  min-width: 28px;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(56,189,248,.12);
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.machine-filter-v2:hover {
  transform: translateX(3px);
  border-color: rgba(56,189,248,.55) !important;
}

.machine-filter-v2.active {
  background: linear-gradient(135deg, rgba(56,189,248,1), rgba(20,184,166,1)) !important;
  border-color: rgba(56,189,248,1) !important;
  color: #02111f !important;
}

.machine-filter-v2.active small {
  background: rgba(2,17,31,.18);
  color: #02111f;
}

.catalogue-results {
  min-width: 0;
}

.catalogue-results-head {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: end;
  margin-bottom: 24px;
}

.catalogue-results-head h2 {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
  margin: 16px 0 0;
}

.catalogue-results-head p {
  color: var(--dark-muted);
  font-weight: 800;
  margin: 0;
}

.catalogue-results-head span {
  color: var(--blue);
}

.machine-catalogue-grid-v2 {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

.machine-card-v2 {
  display: grid !important;
  grid-template-rows: auto 1fr;
  color: inherit !important;
  text-decoration: none !important;
  background:
    linear-gradient(180deg, rgba(17,31,54,.98), rgba(17,31,54,.86));
  border: 1px solid var(--dark-border);
  border-radius: 28px;
  overflow: hidden;
  min-height: 390px;
  box-shadow: 0 18px 55px rgba(0,0,0,.14);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.machine-card-v2:hover {
  transform: translateY(-4px);
  border-color: rgba(56,189,248,.55);
  background:
    linear-gradient(180deg, rgba(19,39,70,.98), rgba(17,31,54,.90));
}

.machine-card-v2[hidden] {
  display: none !important;
}

.machine-card-v2-image,
.machine-card-v2-placeholder {
  height: 170px;
  background: #07111f;
  border-bottom: 1px solid var(--dark-border);
}

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

.machine-card-v2-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(56,189,248,.34);
  font-size: 54px;
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
  background:
    radial-gradient(circle at center, rgba(56,189,248,.14), transparent 45%),
    #07111f;
}

.machine-card-v2-body {
  padding: 24px;
}

.machine-card-v2-body span {
  display: inline-flex;
  color: #fde68a;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 16px;
}

.machine-card-v2-body h3 {
  font-size: 27px;
  line-height: 1.16;
  margin: 0 0 14px;
  color: var(--dark-text);
}

.machine-card-v2-body p {
  color: var(--dark-muted);
  line-height: 1.62;
  margin: 0;
}

.machine-card-v2-meta {
  display: grid;
  gap: 8px;
  margin-top: 20px;
}

.machine-card-v2-meta small {
  color: var(--blue);
  font-weight: 800;
  line-height: 1.45;
}

.machine-no-results-v2 {
  background:
    linear-gradient(180deg, rgba(17,31,54,.98), rgba(17,31,54,.86));
  border: 1px solid var(--dark-border);
  border-radius: 24px;
  padding: 30px;
  color: var(--dark-muted);
  font-weight: 800;
}

@media (max-width: 1100px) {
  .catalogue-shell {
    grid-template-columns: 1fr !important;
  }

  .catalogue-sidebar {
    position: static;
  }

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

@media (max-width: 760px) {
  .catalogue-results-head {
    display: block;
  }

  .machine-catalogue-grid-v2,
  .catalogue-filters {
    grid-template-columns: 1fr !important;
  }
}

/* ==============================
   CONSEILS / GUIDES
   ============================== */

.advice-hero {
  padding: 86px 0 70px;
  background:
    radial-gradient(circle at top left, rgba(37,99,235,.10), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
  border-bottom: 1px solid var(--light-border);
}

.advice-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 54px;
  align-items: center;
}

.advice-hero h1 {
  color: var(--light-text);
  font-size: clamp(44px, 6vw, 78px);
  line-height: 1.02;
  max-width: 980px;
}

.advice-feature {
  background: #ffffff;
  border: 1px solid var(--light-border);
  border-radius: 30px;
  padding: 30px;
  box-shadow: 0 20px 55px rgba(15,23,42,.08);
}

.advice-feature span {
  display: block;
  color: var(--blue-deep);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 900;
  margin-bottom: 14px;
}

.advice-feature strong {
  display: block;
  color: var(--light-text);
  font-size: 26px;
  line-height: 1.2;
  margin-bottom: 14px;
}

.advice-feature p {
  color: var(--light-muted);
  line-height: 1.7;
}

.advice-grid-section {
  padding: 72px 0 84px;
}

.advice-heading {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: end;
  margin-bottom: 30px;
}

.advice-heading h2 {
  color: var(--light-text);
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.08;
  margin: 18px 0 0;
}

.advice-heading p {
  color: var(--light-muted);
  max-width: 430px;
  line-height: 1.7;
  margin: 0;
}

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

.advice-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #ffffff;
  border: 1px solid var(--light-border);
  border-radius: 28px;
  padding: 30px;
  min-height: 300px;
  box-shadow: 0 14px 40px rgba(15,23,42,.055);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.advice-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37,99,235,.35);
  box-shadow: 0 22px 60px rgba(15,23,42,.09);
}

.advice-card.featured {
  grid-column: span 2;
  background:
    radial-gradient(circle at top right, rgba(37,99,235,.10), transparent 32%),
    #ffffff;
}

.advice-card span {
  display: inline-flex;
  color: var(--blue-deep);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
  font-weight: 950;
  margin-bottom: 18px;
}

.advice-card h3 {
  color: var(--light-text);
  font-size: 30px;
  line-height: 1.16;
  margin: 0 0 16px;
}

.advice-card p {
  color: var(--light-muted);
  line-height: 1.7;
  margin: 0 0 24px;
}

.advice-card strong {
  color: var(--blue-deep);
  font-weight: 900;
}

.advice-method {
  padding: 72px 0;
  background: #ffffff;
  border-top: 1px solid var(--light-border);
}

.advice-method-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 520px;
  gap: 42px;
  align-items: start;
}

.advice-method h2 {
  color: var(--light-text);
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.08;
  margin: 18px 0;
}

.advice-method p {
  color: var(--light-muted);
  font-size: 18px;
  line-height: 1.7;
}

@media (max-width: 1050px) {
  .advice-hero-inner,
  .advice-method-inner {
    grid-template-columns: 1fr;
  }

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

  .advice-card.featured {
    grid-column: span 1;
  }

  .advice-heading {
    display: block;
  }
}

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

/* ==============================
   CONSEILS DESIGN V2 - CLAIR PREMIUM BLEU GLACIER
   ============================== */

.theme-light .advice-hero {
  background:
    radial-gradient(circle at 8% 8%, rgba(37,99,235,.11), transparent 32%),
    radial-gradient(circle at 92% 20%, rgba(56,189,248,.10), transparent 30%),
    linear-gradient(180deg, #f4f8ff 0%, #eef5ff 58%, #f8fbff 100%) !important;
  border-bottom: 1px solid #d8e6f7 !important;
}

.theme-light .advice-hero h1 {
  color: #111827 !important;
  text-shadow: 0 1px 0 rgba(255,255,255,.55);
}

.theme-light .advice-hero .lead {
  color: #475569 !important;
}

.theme-light .advice-feature {
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,251,255,.94)) !important;
  border: 1px solid #cfe0f5 !important;
  box-shadow:
    0 24px 70px rgba(15, 23, 42, .10),
    inset 0 1px 0 rgba(255,255,255,.75) !important;
}

.theme-light .advice-feature span {
  color: #075fd3 !important;
}

.theme-light .advice-feature strong {
  color: #111827 !important;
}

.theme-light .advice-feature p {
  color: #475569 !important;
}

.theme-light .advice-grid-section {
  background:
    linear-gradient(180deg, #f8fbff 0%, #f1f7ff 100%) !important;
}

.theme-light .advice-heading h2 {
  color: #111827 !important;
}

.theme-light .advice-heading p {
  color: #475569 !important;
}

.theme-light .advice-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(250,253,255,.96)) !important;
  border: 1px solid #d5e4f5 !important;
  box-shadow:
    0 16px 42px rgba(15, 23, 42, .065),
    inset 0 1px 0 rgba(255,255,255,.85) !important;
}

.theme-light .advice-card:hover {
  border-color: rgba(37,99,235,.38) !important;
  box-shadow:
    0 24px 70px rgba(15, 23, 42, .11),
    0 0 0 4px rgba(37,99,235,.045) !important;
}

.theme-light .advice-card.featured {
  background:
    radial-gradient(circle at top right, rgba(56,189,248,.13), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(245,250,255,.96)) !important;
}

.theme-light .advice-card span {
  color: #075fd3 !important;
}

.theme-light .advice-card h3 {
  color: #111827 !important;
}

.theme-light .advice-card p {
  color: #475569 !important;
}

.theme-light .advice-card strong {
  color: #075fd3 !important;
}

.theme-light .advice-method {
  background:
    radial-gradient(circle at 92% 12%, rgba(56,189,248,.10), transparent 30%),
    linear-gradient(180deg, #f1f7ff 0%, #ffffff 100%) !important;
  border-top: 1px solid #d8e6f7 !important;
}

.theme-light .advice-method h2 {
  color: #111827 !important;
}

.theme-light .advice-method p {
  color: #475569 !important;
}

.theme-light .advice-method .guide-points > div {
  background: #ffffff !important;
  border: 1px solid #d5e4f5 !important;
  box-shadow: 0 14px 36px rgba(15, 23, 42, .06) !important;
}

.theme-light .advice-method .guide-points strong {
  color: #111827 !important;
}

.theme-light .advice-method .guide-points span {
  color: #475569 !important;
}

/* Petit rappel visuel bleu sur la page claire */
.theme-light .advice-grid-section .badge,
.theme-light .advice-hero .badge,
.theme-light .advice-method .badge {
  background: rgba(37,99,235,.055) !important;
  border-color: rgba(37,99,235,.20) !important;
  color: #075fd3 !important;
}

/* Bouton secondaire plus doux sur fond clair */
.theme-light .advice-hero .button.secondary {
  background: rgba(255,255,255,.72) !important;
  border-color: #cbd5e1 !important;
  color: #111827 !important;
}

.theme-light .advice-hero .button.secondary:hover {
  border-color: rgba(37,99,235,.45) !important;
  box-shadow: 0 10px 24px rgba(37,99,235,.10) !important;
}


/* ==============================
   LEGAL PAGES / COOKIES
   ============================== */

.legal-hero {
  padding: 82px 0 58px;
  background:
    radial-gradient(circle at 8% 8%, rgba(37,99,235,.10), transparent 32%),
    linear-gradient(180deg, #f4f8ff 0%, #f8fbff 100%);
  border-bottom: 1px solid #d8e6f7;
}

.legal-hero h1 {
  color: #111827;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1.02;
  margin: 18px 0;
}

.legal-hero .lead {
  color: #475569;
  max-width: 820px;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 820px) 320px;
  gap: 34px;
  align-items: start;
  padding: 62px 0 84px;
}

.legal-card,
.legal-side {
  background: #ffffff;
  border: 1px solid #d5e4f5;
  border-radius: 28px;
  box-shadow: 0 16px 42px rgba(15, 23, 42, .065);
}

.legal-card {
  padding: 38px;
  color: #475569;
  line-height: 1.75;
}

.legal-card h2 {
  color: #111827;
  font-size: 28px;
  margin: 36px 0 12px;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p {
  margin: 0 0 14px;
}

.legal-card ul {
  margin: 0 0 22px;
  padding-left: 22px;
}

.legal-card a {
  color: #075fd3;
  font-weight: 800;
}

.legal-side {
  padding: 26px;
  position: sticky;
  top: 100px;
}

.legal-side h3 {
  color: #111827;
  font-size: 24px;
  margin: 0 0 16px;
}

.legal-side a {
  display: block;
  color: #075fd3;
  font-weight: 900;
  margin-top: 14px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-legal {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-legal a,
.footer-legal button {
  color: inherit;
  opacity: .82;
  font: inherit;
  font-size: 14px;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
}

.footer-legal a:hover,
.footer-legal button:hover {
  opacity: 1;
  color: var(--blue);
}

.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
}

.cookie-card {
  max-width: 1080px;
  margin: 0 auto;
  background:
    linear-gradient(180deg, rgba(17,31,54,.98), rgba(7,17,31,.97));
  color: var(--dark-text);
  border: 1px solid var(--dark-border);
  border-radius: 26px;
  padding: 22px;
  box-shadow: 0 26px 90px rgba(0,0,0,.35);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.cookie-text strong {
  display: block;
  font-size: 21px;
  margin-bottom: 8px;
}

.cookie-text p {
  color: var(--dark-muted);
  line-height: 1.55;
  margin: 0 0 8px;
}

.cookie-text a {
  color: var(--blue);
  font-weight: 900;
}

.cookie-options {
  grid-column: 1 / -1;
  background: #07111f;
  border: 1px solid var(--dark-border);
  border-radius: 18px;
  padding: 16px;
  display: grid;
  gap: 10px;
}

.cookie-options label {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--dark-muted);
  font-weight: 800;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cookie-actions .button {
  white-space: nowrap;
}

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

  .legal-side {
    position: static;
  }

  .cookie-card {
    grid-template-columns: 1fr;
  }

  .cookie-actions {
    justify-content: flex-start;
  }
}

/* ==============================
   STATS V1
   ============================== */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 26px;
}

.stats-card,
.stats-panel {
  background:
    linear-gradient(180deg, rgba(17,31,54,.98), rgba(17,31,54,.86));
  border: 1px solid var(--dark-border);
  border-radius: 28px;
  padding: 28px;
}

.stats-card span {
  display: block;
  color: var(--dark-muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 12px;
}

.stats-card strong {
  display: block;
  font-size: 54px;
  color: var(--blue);
  line-height: 1;
}

.stats-card small {
  display: block;
  color: var(--dark-muted);
  margin-top: 10px;
  font-weight: 800;
}

.stats-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 22px;
}

.stats-panel h2 {
  font-size: 32px;
  margin: 0 0 20px;
}

.stats-list {
  display: grid;
  gap: 10px;
}

.stats-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  background: #07111f;
  border: 1px solid var(--dark-border);
  border-radius: 16px;
  padding: 14px 16px;
}

.stats-row strong {
  overflow-wrap: anywhere;
  color: var(--dark-text);
}

.stats-row span {
  color: var(--blue);
  font-weight: 950;
}

.stats-days {
  display: grid;
  grid-template-columns: repeat(15, 1fr);
  gap: 8px;
}

.stats-day {
  background: #07111f;
  border: 1px solid var(--dark-border);
  border-radius: 14px;
  padding: 12px 8px;
  text-align: center;
}

.stats-day span {
  display: block;
  color: var(--dark-muted);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 8px;
}

.stats-day strong {
  color: var(--blue);
  font-size: 20px;
}

@media (max-width: 1050px) {
  .stats-grid,
  .stats-layout {
    grid-template-columns: 1fr;
  }

  .stats-days {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* ==============================
   STATS V1
   ============================== */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 26px;
}

.stats-card,
.stats-panel {
  background:
    linear-gradient(180deg, rgba(17,31,54,.98), rgba(17,31,54,.86));
  border: 1px solid var(--dark-border);
  border-radius: 28px;
  padding: 28px;
}

.stats-card span {
  display: block;
  color: var(--dark-muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 12px;
}

.stats-card strong {
  display: block;
  font-size: 54px;
  color: var(--blue);
  line-height: 1;
}

.stats-card small {
  display: block;
  color: var(--dark-muted);
  margin-top: 10px;
  font-weight: 800;
}

.stats-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 22px;
}

.stats-panel h2 {
  font-size: 32px;
  margin: 0 0 20px;
}

.stats-list {
  display: grid;
  gap: 10px;
}

.stats-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  background: #07111f;
  border: 1px solid var(--dark-border);
  border-radius: 16px;
  padding: 14px 16px;
}

.stats-row strong {
  overflow-wrap: anywhere;
  color: var(--dark-text);
}

.stats-row span {
  color: var(--blue);
  font-weight: 950;
}

.stats-days {
  display: grid;
  grid-template-columns: repeat(15, 1fr);
  gap: 8px;
}

.stats-day {
  background: #07111f;
  border: 1px solid var(--dark-border);
  border-radius: 14px;
  padding: 12px 8px;
  text-align: center;
}

.stats-day span {
  display: block;
  color: var(--dark-muted);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 8px;
}

.stats-day strong {
  color: var(--blue);
  font-size: 20px;
}

@media (max-width: 1050px) {
  .stats-grid,
  .stats-layout {
    grid-template-columns: 1fr;
  }

  .stats-days {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* ==============================
   TEXTILE / LINGE PROFESSIONNEL
   ============================== */

.textile-hero {
  background:
    radial-gradient(circle at top left, rgba(56,189,248,.16), transparent 34%),
    radial-gradient(circle at top right, rgba(250,204,21,.10), transparent 30%);
}

.textile-catalogue {
  padding: 72px 0 84px;
  background:
    linear-gradient(180deg, rgba(15,29,51,.38), rgba(7,17,31,0));
  border-top: 1px solid var(--dark-border);
}

.textile-family-list {
  display: grid;
  gap: 36px;
}

.textile-family-block {
  background:
    linear-gradient(180deg, rgba(17,31,54,.80), rgba(17,31,54,.48));
  border: 1px solid var(--dark-border);
  border-radius: 32px;
  padding: 26px;
}

.textile-family-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 22px;
}

.textile-family-head h3 {
  font-size: 34px;
  margin: 0;
}

.textile-family-head span {
  color: var(--blue);
  font-weight: 900;
}

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

.textile-card {
  display: grid;
  grid-template-rows: auto 1fr;
  color: inherit;
  text-decoration: none;
  background:
    linear-gradient(180deg, rgba(17,31,54,.98), rgba(17,31,54,.86));
  border: 1px solid var(--dark-border);
  border-radius: 26px;
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.textile-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56,189,248,.55);
  background:
    linear-gradient(180deg, rgba(19,39,70,.98), rgba(17,31,54,.90));
}

.textile-card-image,
.textile-card-placeholder {
  height: 170px;
  background: #07111f;
  border-bottom: 1px solid var(--dark-border);
}

.textile-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.textile-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(56,189,248,.32);
  font-size: 54px;
  font-weight: 950;
  letter-spacing: .04em;
}

.textile-card-body {
  padding: 24px;
}

.textile-card-body span {
  display: inline-flex;
  color: #fde68a;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 16px;
}

.textile-card-body h3 {
  font-size: 26px;
  line-height: 1.16;
  margin: 0 0 14px;
}

.textile-card-body p {
  color: var(--dark-muted);
  line-height: 1.62;
  margin: 0;
}

.textile-card-meta {
  display: grid;
  gap: 8px;
  margin-top: 20px;
}

.textile-card-meta small {
  color: var(--blue);
  font-weight: 800;
  line-height: 1.45;
}

.textile-public-hero {
  background:
    radial-gradient(circle at top left, rgba(56,189,248,.18), transparent 35%),
    radial-gradient(circle at top right, rgba(250,204,21,.12), transparent 30%);
}

.textile-cover-wrap {
  margin-top: -20px;
}

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

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

  .textile-family-head {
    display: block;
  }
}

/* ==============================
   FORUM IMPORTE WPFORO
   ============================== */

.forum-hero {
  padding: 86px 0 68px;
  background:
    radial-gradient(circle at 8% 8%, rgba(37,99,235,.10), transparent 32%),
    radial-gradient(circle at 92% 20%, rgba(56,189,248,.10), transparent 30%),
    linear-gradient(180deg, #f4f8ff 0%, #eef5ff 58%, #f8fbff 100%);
  border-bottom: 1px solid #d8e6f7;
}

.forum-hero.compact {
  padding: 62px 0 46px;
}

.forum-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 54px;
  align-items: center;
}

.forum-hero h1 {
  color: #111827;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.02;
  margin: 18px 0;
}

.forum-hero .lead {
  color: #475569;
}

.forum-stats-card {
  background: #ffffff;
  border: 1px solid #cfe0f5;
  border-radius: 30px;
  padding: 30px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .10);
}

.forum-stats-card span {
  display: block;
  color: #075fd3;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 14px;
}

.forum-stats-card strong {
  display: block;
  color: #111827;
  font-size: 26px;
  line-height: 1.2;
  margin-bottom: 14px;
}

.forum-stats-card p {
  color: #475569;
  line-height: 1.7;
}

.forum-index,
.forum-category-layout,
.forum-thread {
  padding: 68px 0 84px;
}

.forum-index-heading {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: end;
  margin-bottom: 30px;
}

.forum-index-heading h2,
.forum-topic-list h2 {
  color: #111827;
  font-size: clamp(36px, 5vw, 56px);
  margin: 18px 0 0;
}

.forum-index-heading p {
  color: #475569;
  max-width: 430px;
  line-height: 1.7;
}

.forum-section-list {
  display: grid;
  gap: 22px;
}

.forum-section-card,
.forum-topic-list,
.forum-post-card {
  background: #ffffff;
  border: 1px solid #d5e4f5;
  border-radius: 30px;
  padding: 28px;
  box-shadow: 0 16px 42px rgba(15, 23, 42, .065);
}

.forum-section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: start;
}

.forum-section-head span {
  display: inline-flex;
  color: #075fd3;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
  font-weight: 950;
  margin-bottom: 12px;
}

.forum-section-head h3 {
  color: #111827;
  font-size: 32px;
  margin: 0 0 12px;
}

.forum-section-head p {
  color: #475569;
  line-height: 1.65;
}

.forum-section-head a {
  color: #075fd3;
  font-weight: 900;
  white-space: nowrap;
}

.forum-child-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.forum-child-grid.large {
  margin-bottom: 28px;
}

.forum-child-card {
  display: block;
  text-decoration: none;
  background: #f4f8ff;
  border: 1px solid #d5e4f5;
  border-radius: 20px;
  padding: 18px;
  transition: transform .18s ease, border-color .18s ease;
}

.forum-child-card:hover {
  transform: translateY(-3px);
  border-color: rgba(37,99,235,.38);
}

.forum-child-card strong {
  display: block;
  color: #111827;
  font-size: 19px;
  margin-bottom: 10px;
}

.forum-child-card span {
  color: #475569;
  font-weight: 800;
  font-size: 14px;
}

.forum-topic-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.forum-topic-preview a {
  background: #f8fbff;
  border: 1px solid #d5e4f5;
  border-radius: 999px;
  padding: 9px 12px;
  color: #075fd3;
  font-weight: 800;
  text-decoration: none;
}

.forum-topic-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  text-decoration: none;
  padding: 18px 0;
  border-top: 1px solid #e2eaf6;
}

.forum-topic-row:first-of-type {
  border-top: 0;
}

.forum-topic-row strong {
  display: block;
  color: #111827;
  font-size: 22px;
  margin-bottom: 8px;
}

.forum-topic-row span,
.forum-topic-row em {
  color: #64748b;
  font-style: normal;
  font-weight: 700;
}

.forum-post-card {
  margin-bottom: 20px;
}

.forum-post-card header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid #e2eaf6;
  padding-bottom: 14px;
  margin-bottom: 20px;
}

.forum-post-card header strong {
  color: #111827;
  font-size: 19px;
}

.forum-post-card header span {
  color: #64748b;
  font-weight: 700;
}

.forum-post-body {
  color: #334155;
  line-height: 1.8;
  font-size: 18px;
}

.forum-post-body p {
  margin: 0 0 18px;
}

.forum-post-body a {
  color: #075fd3;
  font-weight: 800;
}

@media (max-width: 1050px) {
  .forum-hero-inner,
  .forum-child-grid {
    grid-template-columns: 1fr;
  }

  .forum-index-heading,
  .forum-section-head,
  .forum-topic-row,
  .forum-post-card header {
    display: block;
  }

  .forum-topic-row em {
    display: block;
    margin-top: 10px;
  }
}

/* ==============================
   FORUM COMPACT - ANTI PAVES
   ============================== */

.forum-section-list.compact {
  gap: 16px;
}

.forum-section-card.compact {
  padding: 24px 26px;
  border-radius: 26px;
}

.forum-section-card.compact .forum-section-head h3 {
  font-size: 28px;
  margin-bottom: 8px;
}

.forum-section-card.compact .forum-section-head p {
  max-width: 780px;
  margin: 0;
  line-height: 1.55;
}

.forum-child-grid.compact {
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.forum-child-card.compact {
  padding: 16px;
  border-radius: 18px;
}

.forum-child-card.compact strong {
  font-size: 17px;
  margin-bottom: 8px;
}

.forum-child-card.compact span {
  font-size: 13px;
}

.forum-topic-preview.compact {
  margin-top: 16px;
}

.forum-topic-preview.compact a {
  font-size: 14px;
  padding: 8px 11px;
}

.forum-hero.compact .lead {
  max-width: 850px;
}

@media (max-width: 1050px) {
  .forum-child-grid.compact {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .forum-child-grid.compact {
    grid-template-columns: 1fr;
  }
}

/* ==============================
   ARTICLES WORDPRESS IMPORTES
   ============================== */

.article-content-html {
  color: #334155;
  line-height: 1.85;
  font-size: 18px;
}

.article-content-html p {
  margin: 0 0 20px;
}

.article-content-html h2,
.article-content-html h3,
.article-content-html h4 {
  color: #111827;
  line-height: 1.2;
  margin: 34px 0 16px;
}

.article-content-html h2 {
  font-size: 34px;
}

.article-content-html h3 {
  font-size: 28px;
}

.article-content-html ul,
.article-content-html ol {
  margin: 0 0 24px;
  padding-left: 24px;
}

.article-content-html li {
  margin-bottom: 8px;
}

.article-content-html img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 22px;
  margin: 28px auto;
  box-shadow: 0 14px 36px rgba(15, 23, 42, .10);
}

.article-content-html figure {
  margin: 30px 0;
}

.article-content-html figcaption {
  color: #64748b;
  font-size: 14px;
  text-align: center;
  margin-top: 10px;
}

.article-content-html a {
  color: #075fd3;
  font-weight: 800;
}

.article-content-html blockquote {
  margin: 30px 0;
  padding: 22px 26px;
  border-left: 5px solid #2563eb;
  background: #f4f8ff;
  border-radius: 18px;
  color: #334155;
}

/* =========================================================
   ACCUEIL — fond blanchisserie soft + voile bleu final
   ========================================================= */

.home-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #03111f;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(100deg,
      rgba(2, 8, 23, .97) 0%,
      rgba(5, 28, 52, .87) 38%,
      rgba(6, 36, 64, .67) 66%,
      rgba(3, 12, 28, .60) 100%
    ),
    url("/uploads/fond-blanchisserie-accueil-soft.webp") 72% center / cover no-repeat;
  filter: saturate(.98) contrast(1.02) brightness(1.06);
  transform: scale(1.01);
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 18%, rgba(56, 189, 248, .24), transparent 30%),
    radial-gradient(circle at 80% 26%, rgba(125, 211, 252, .12), transparent 26%),
    linear-gradient(180deg, rgba(2, 8, 23, .04), rgba(2, 8, 23, .58));
  backdrop-filter: blur(.25px);
}

.home-hero-inner,
.home-hero-content,
.home-hero-panel {
  position: relative;
  z-index: 1;
}

.home-hero h1 {
  text-shadow: 0 18px 55px rgba(0, 0, 0, .42);
}

.home-hero .lead {
  color: rgba(226, 242, 255, .88);
}

.home-hero .badge {
  background: rgba(14, 165, 233, .14);
  color: #e0f2fe;
  border: 1px solid rgba(125, 211, 252, .28);
  backdrop-filter: blur(10px);
}

.home-hero-panel {
  background: rgba(8, 24, 43, .46);
  border: 1px solid rgba(191, 219, 254, .28);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .30);
  backdrop-filter: blur(16px);
}

.home-hero-panel .panel-line {
  background: rgba(255, 255, 255, .055);
  border-color: rgba(191, 219, 254, .15);
}

.home-hero .button.secondary {
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .20);
  color: #f8fafc;
  backdrop-filter: blur(10px);
}

.home-hero .button.secondary:hover {
  background: rgba(255, 255, 255, .16);
}

/* =========================================================
   PUBLICATIONS / JOURNAL — mise en page V2
   ========================================================= */

.publication-page {
  background: #f8fbff;
}

.publication-hero-v2 {
  padding: 84px 0 72px;
  background:
    radial-gradient(circle at 12% 0%, rgba(59,130,246,.16), transparent 32%),
    linear-gradient(135deg, #eef6ff 0%, #f8fbff 54%, #eefbff 100%);
  border-bottom: 1px solid rgba(148, 163, 184, .24);
}

.publication-hero-v2-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  gap: 48px;
  align-items: center;
}

.publication-hero-v2-main h1 {
  margin: 24px 0 22px;
  max-width: 880px;
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: .92;
  letter-spacing: -.07em;
  color: #0f172a;
}

.publication-hero-v2-main p {
  max-width: 760px;
  margin: 0;
  color: #334155;
  font-size: 1.2rem;
  line-height: 1.65;
}

.publication-hero-v2-main .button-row {
  margin-top: 30px;
}

.publication-hero-v2-card {
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(148, 163, 184, .32);
  border-radius: 28px;
  padding: 30px;
  box-shadow: 0 30px 80px rgba(15, 23, 42, .10);
}

.publication-hero-v2-card span {
  display: block;
  margin-bottom: 12px;
  color: #2563eb;
  font-size: .8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .13em;
}

.publication-hero-v2-card strong {
  display: block;
  color: #0f172a;
  font-size: 1.8rem;
  line-height: 1.1;
}

.publication-hero-v2-card p {
  margin: 18px 0 0;
  color: #475569;
  line-height: 1.6;
}

.publication-filter-v2 {
  padding: 44px 0;
  background: #ffffff;
  border-bottom: 1px solid rgba(148, 163, 184, .22);
}

.publication-filter-v2-head,
.publication-results-v2-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .78fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 26px;
}

.publication-filter-v2-head h2,
.publication-results-v2-head h2 {
  margin: 12px 0 0;
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  line-height: .95;
  letter-spacing: -.055em;
  color: #0f172a;
}

.publication-filter-v2-head p,
.publication-results-v2-head p {
  margin: 0;
  color: #475569;
  line-height: 1.65;
  font-size: 1.05rem;
}

.publication-filter-v2-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.publication-filter-v2-pill {
  border: 1px solid rgba(37, 99, 235, .18);
  background: #f8fafc;
  color: #0f172a;
  border-radius: 999px;
  padding: 12px 16px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 14px 36px rgba(15, 23, 42, .06);
}

.publication-filter-v2-pill small {
  min-width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: #e0f2fe;
  color: #0369a1;
  font-size: .82rem;
}

.publication-filter-v2-pill.active {
  background: linear-gradient(135deg, #38bdf8, #14b8a6);
  border-color: transparent;
  color: #06111f;
}

.publication-filter-v2-pill.active small {
  background: rgba(6, 17, 31, .16);
  color: #06111f;
}

.publication-featured-v2 {
  padding: 54px 0 0;
}

.publication-featured-card-v2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 32px;
  background: #0f172a;
  color: #fff;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, .30);
  box-shadow: 0 30px 90px rgba(15, 23, 42, .18);
}

.publication-featured-text-v2 {
  padding: 34px;
}

.publication-featured-text-v2 .badge {
  color: #7dd3fc;
  border-color: rgba(125,211,252,.35);
  background: rgba(14, 165, 233, .10);
}

.publication-featured-text-v2 .article-meta {
  color: #67e8f9;
  margin-top: 18px;
}

.publication-featured-text-v2 h2 {
  margin: 14px 0;
  font-size: clamp(2rem, 3.8vw, 3.7rem);
  line-height: .98;
  letter-spacing: -.055em;
}

.publication-featured-text-v2 p {
  color: #dbeafe;
  line-height: 1.7;
  max-width: 780px;
}

.publication-featured-text-v2 .button {
  margin-top: 12px;
}

.publication-featured-image-v2 {
  display: block;
  min-height: 320px;
  background: #020617;
}

.publication-featured-image-v2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.publication-results-v2 {
  padding: 56px 0;
}

.publication-grid-v2 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.publication-card-v2 {
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, .28);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 22px 58px rgba(15, 23, 42, .08);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.publication-card-v2-image {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e2e8f0;
}

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

.publication-card-v2-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.publication-card-v2-body h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.12;
  letter-spacing: -.025em;
  color: #0f172a;
}

.publication-card-v2-body p {
  margin: 0;
  color: #475569;
  line-height: 1.55;
}

.publication-card-v2-body > a {
  margin-top: auto;
  font-weight: 900;
  color: #1d4ed8;
}

.publication-bottom-v2 {
  margin-bottom: 64px;
  padding: 34px;
  border-radius: 30px;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, .28);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .75fr);
  gap: 32px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .08);
}

.publication-bottom-v2 h2 {
  margin: 12px 0;
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  line-height: .95;
  letter-spacing: -.055em;
  color: #0f172a;
}

.publication-bottom-v2 p {
  margin: 0;
  color: #475569;
  line-height: 1.65;
}

.publication-bottom-v2-points {
  display: grid;
  gap: 14px;
}

.publication-bottom-v2-points div {
  padding: 16px 18px;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid rgba(148, 163, 184, .22);
}

.publication-bottom-v2-points strong {
  display: block;
  color: #0f172a;
  margin-bottom: 4px;
}

.publication-bottom-v2-points span {
  color: #475569;
}

@media (max-width: 1050px) {
  .publication-hero-v2-inner,
  .publication-featured-card-v2,
  .publication-bottom-v2 {
    grid-template-columns: 1fr;
  }

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

  .publication-featured-image-v2 {
    min-height: 260px;
  }
}

@media (max-width: 720px) {
  .publication-hero-v2 {
    padding: 56px 0;
  }

  .publication-filter-v2-head,
  .publication-results-v2-head {
    grid-template-columns: 1fr;
  }

  .publication-grid-v2 {
    grid-template-columns: 1fr;
  }

  .publication-filter-v2-pill {
    width: 100%;
    justify-content: space-between;
  }
}

/* =========================================================
   PUBLICATIONS — correctifs compacité + filtres
   ========================================================= */

.publication-hero-v2 {
  padding: 46px 0 48px !important;
}

.publication-hero-v2-inner {
  align-items: center !important;
  gap: 34px !important;
}

.publication-hero-v2-main h1 {
  max-width: 760px !important;
  font-size: clamp(2.7rem, 4.8vw, 4.6rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -.055em !important;
  margin: 18px 0 18px !important;
}

.publication-hero-v2-main p {
  max-width: 720px !important;
  font-size: 1.05rem !important;
  line-height: 1.6 !important;
}

.publication-hero-v2-card {
  padding: 26px !important;
  max-width: 380px !important;
  justify-self: end !important;
}

.publication-filter-v2 {
  padding: 34px 0 30px !important;
}

.publication-filter-v2-head {
  display: block !important;
  margin-bottom: 20px !important;
}

.publication-filter-v2-head p {
  display: none !important;
}

.publication-filter-v2-head h2 {
  font-size: clamp(2rem, 3.2vw, 3rem) !important;
  line-height: 1.02 !important;
  margin-top: 10px !important;
}

.publication-filter-v2-grid {
  gap: 10px !important;
}

.publication-filter-v2-pill {
  padding: 10px 14px !important;
}

.publication-results-v2 {
  padding: 42px 0 !important;
}

.publication-results-v2-head {
  margin-bottom: 24px !important;
}

.publication-results-v2-head h2 {
  font-size: clamp(2rem, 3.3vw, 3.1rem) !important;
  line-height: 1.05 !important;
}

.publication-card-v2[hidden],
.publication-card-clean[hidden],
.article-item[hidden],
.publication-featured-card-v2[hidden] {
  display: none !important;
}

@media (max-width: 1050px) {
  .publication-hero-v2-card {
    justify-self: start !important;
    max-width: none !important;
  }
}

/* =========================================================
   PUBLICATIONS — modale proposition de sujet
   ========================================================= */

.publication-topic-alert-wrap {
  padding-top: 22px;
}

.publication-topic-modal[hidden] {
  display: none !important;
}

.publication-topic-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
}

.publication-topic-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, .64);
  backdrop-filter: blur(4px);
}

.publication-topic-modal-card {
  position: relative;
  width: min(760px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  background: #ffffff;
  color: #0f172a;
  border-radius: 28px;
  padding: 30px;
  box-shadow: 0 40px 120px rgba(2, 6, 23, .34);
  border: 1px solid rgba(148, 163, 184, .32);
}

.publication-topic-modal-card h2 {
  margin: 14px 0 10px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -.05em;
}

.publication-topic-modal-card p {
  margin: 0 0 22px;
  color: #475569;
  line-height: 1.6;
}

.publication-topic-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, .36);
  background: #f8fafc;
  color: #0f172a;
  font-size: 1.6rem;
  font-weight: 900;
  cursor: pointer;
}

.publication-topic-form {
  display: grid;
  gap: 16px;
}

.publication-topic-form label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.publication-topic-form input,
.publication-topic-form textarea {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, .42);
  border-radius: 16px;
  padding: 13px 15px;
  font: inherit;
  background: #f8fafc;
  color: #0f172a;
}

body.modal-open {
  overflow: hidden;
}

/* =========================================================
   PUBLICATIONS — notification proposition sujet
   ========================================================= */

.publication-topic-alert-wrap {
  position: fixed !important;
  top: 86px;
  right: 24px;
  z-index: 9500;
  width: min(440px, calc(100vw - 32px));
  padding: 0 !important;
  animation: topicToastIn .28s ease-out both;
}

.publication-topic-alert-wrap .site-alert {
  margin: 0 !important;
  border-radius: 18px !important;
  padding: 16px 18px !important;
  font-weight: 900 !important;
  box-shadow: 0 24px 80px rgba(15, 23, 42, .18);
}

.publication-topic-alert-wrap .site-alert.success {
  background: #ecfdf5 !important;
  border: 1px solid #10b981 !important;
  color: #065f46 !important;
}

.publication-topic-alert-wrap .site-alert.error {
  background: #fef2f2 !important;
  border: 1px solid #ef4444 !important;
  color: #991b1b !important;
}

.publication-topic-alert-wrap.is-hiding {
  animation: topicToastOut .42s ease-in both;
}

@keyframes topicToastIn {
  from {
    opacity: 0;
    transform: translateY(-12px) scale(.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes topicToastOut {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(-10px) scale(.98);
  }
}

@media (max-width: 720px) {
  .publication-topic-alert-wrap {
    top: 74px;
    right: 16px;
    left: 16px;
    width: auto;
  }
}

/* =========================================================
   PUBLICATIONS — bloc proposer un sujet
   ========================================================= */

.publication-suggest-v2 {
  margin-bottom: 64px;
  padding: 34px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 85% 15%, rgba(56, 189, 248, .14), transparent 34%),
    #ffffff;
  border: 1px solid rgba(148, 163, 184, .28);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .08);
}

.publication-suggest-v2 h2 {
  margin: 12px 0;
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  line-height: .95;
  letter-spacing: -.055em;
  color: #0f172a;
}

.publication-suggest-v2 p {
  margin: 0;
  max-width: 760px;
  color: #475569;
  line-height: 1.65;
}

.publication-suggest-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (max-width: 820px) {
  .publication-suggest-v2 {
    grid-template-columns: 1fr;
  }

  .publication-suggest-actions {
    justify-content: flex-start;
  }
}

/* =========================================================
   ADMIN ARTICLES — aide rédactionnelle
   ========================================================= */

.admin-editorial-help {
  margin: 22px 0;
  padding: 18px;
  border-radius: 20px;
  background: rgba(14, 165, 233, .08);
  border: 1px solid rgba(56, 189, 248, .24);
  display: grid;
  gap: 12px;
}

.admin-editorial-help > span {
  color: #38bdf8;
  font-size: .76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.admin-editorial-help > strong {
  color: #ffffff;
  font-size: 1.08rem;
  line-height: 1.25;
}

.admin-editorial-help div {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(2, 6, 23, .34);
  border: 1px solid rgba(148, 163, 184, .16);
}

.admin-editorial-help b {
  display: block;
  color: #ffffff;
  margin-bottom: 4px;
}

.admin-editorial-help p {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.45;
  font-size: .92rem;
}

.admin-editorial-help em {
  color: #bae6fd;
  font-style: normal;
  line-height: 1.45;
  font-size: .92rem;
}

/* =========================================================
   PUBLICATIONS — ajustement hero / titre / responsive
   ========================================================= */

.publication-hero-v2 {
  padding: 34px 0 44px !important;
}

.publication-hero-v2-inner {
  gap: 42px !important;
  align-items: center !important;
}

.publication-hero-v2-main h1 {
  max-width: 760px !important;
  font-size: clamp(2.55rem, 4.25vw, 4.25rem) !important;
  line-height: 1.04 !important;
  letter-spacing: -.052em !important;
  margin: 18px 0 18px !important;
}

.publication-hero-v2-main p {
  max-width: 720px !important;
  font-size: 1.06rem !important;
  line-height: 1.58 !important;
}

.publication-hero-v2-main .button-row {
  margin-top: 26px !important;
}

.publication-hero-v2-card {
  max-width: 410px !important;
  padding: 28px !important;
}

.publication-hero-v2-card strong {
  font-size: 1.55rem !important;
  line-height: 1.15 !important;
}

.publication-hero-v2-card p {
  font-size: 1rem !important;
  line-height: 1.58 !important;
}

.publication-filter-v2 {
  padding-top: 30px !important;
}

@media (max-width: 1050px) {
  .publication-hero-v2 {
    padding: 30px 0 38px !important;
  }

  .publication-hero-v2-inner {
    grid-template-columns: 1fr !important;
    gap: 26px !important;
  }

  .publication-hero-v2-card {
    max-width: 100% !important;
    justify-self: stretch !important;
  }
}

@media (max-width: 720px) {
  .publication-hero-v2 {
    padding: 24px 0 32px !important;
  }

  .publication-hero-v2-main h1 {
    font-size: clamp(2.15rem, 10vw, 3rem) !important;
    line-height: 1.04 !important;
    margin: 14px 0 14px !important;
  }

  .publication-hero-v2-main p {
    font-size: 1rem !important;
  }

  .publication-hero-v2-main .button-row {
    margin-top: 20px !important;
  }

  .publication-hero-v2-card {
    padding: 22px !important;
  }

  .publication-filter-v2 {
    padding-top: 24px !important;
  }
}

/* =========================================================
   JOURNAL / PUBLICATIONS — polish final esthétique
   ========================================================= */

.publication-page {
  background:
    linear-gradient(180deg, #f8fbff 0%, #ffffff 42%, #f7fbff 100%) !important;
}

/* HERO */
.publication-hero-v2 {
  position: relative;
  overflow: hidden;
  padding: 38px 0 46px !important;
  background:
    radial-gradient(circle at 12% 8%, rgba(20, 184, 166, .16), transparent 28%),
    radial-gradient(circle at 86% 18%, rgba(37, 99, 235, .14), transparent 32%),
    linear-gradient(135deg, #f8fbff 0%, #eef7ff 50%, #f9ffff 100%) !important;
}

.publication-hero-v2::before {
  content: "";
  position: absolute;
  inset: auto -10% -45% -10%;
  height: 300px;
  background: radial-gradient(circle, rgba(56,189,248,.18), transparent 62%);
  pointer-events: none;
}

.publication-hero-v2-inner {
  position: relative;
  z-index: 1;
  gap: 44px !important;
}

.publication-hero-v2-main .badge {
  background: rgba(14, 165, 233, .10) !important;
  border-color: rgba(14, 165, 233, .24) !important;
  color: #0369a1 !important;
}

.publication-hero-v2-main h1 {
  max-width: 800px !important;
  font-size: clamp(2.65rem, 4.15vw, 4.15rem) !important;
  line-height: 1.05 !important;
  letter-spacing: -.055em !important;
  color: #0f172a !important;
  text-wrap: balance;
}

.publication-hero-v2-main p {
  max-width: 740px !important;
  color: #334155 !important;
}

.publication-hero-v2-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.78)) !important;
  border: 1px solid rgba(148, 163, 184, .34) !important;
  box-shadow:
    0 28px 80px rgba(15, 23, 42, .10),
    inset 0 1px 0 rgba(255,255,255,.7) !important;
  backdrop-filter: blur(10px);
}

.publication-hero-v2-card::after {
  content: "";
  position: absolute;
  inset: -80px -80px auto auto;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(20,184,166,.16), transparent 65%);
  pointer-events: none;
}

.publication-hero-v2-card span {
  color: #0f766e !important;
}

.publication-hero-v2-card strong {
  color: #0f172a !important;
  text-wrap: balance;
}

.publication-hero-v2-card p {
  color: #475569 !important;
}

/* FILTRES */
.publication-filter-v2 {
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) !important;
  border-top: 1px solid rgba(148, 163, 184, .16) !important;
}

.publication-filter-v2-head h2,
.publication-results-v2-head h2 {
  color: #0f172a !important;
  text-wrap: balance;
}

.publication-filter-v2-grid {
  padding: 8px;
  border-radius: 28px;
  background: rgba(241, 245, 249, .72);
  border: 1px solid rgba(148, 163, 184, .20);
}

.publication-filter-v2-pill {
  background: #ffffff !important;
  border: 1px solid rgba(148, 163, 184, .26) !important;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .045) !important;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.publication-filter-v2-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(15, 23, 42, .08) !important;
}

.publication-filter-v2-pill.active {
  background: linear-gradient(135deg, #0ea5e9, #14b8a6) !important;
  color: #ffffff !important;
  box-shadow: 0 18px 40px rgba(14, 165, 233, .24) !important;
}

.publication-filter-v2-pill.active small {
  background: rgba(255,255,255,.22) !important;
  color: #ffffff !important;
}

/* ARTICLE EN VEDETTE */
.publication-featured-card-v2 {
  background:
    radial-gradient(circle at 88% 12%, rgba(56,189,248,.22), transparent 32%),
    linear-gradient(135deg, #0f172a 0%, #102033 54%, #082f49 100%) !important;
  border: 1px solid rgba(125, 211, 252, .22) !important;
  box-shadow: 0 34px 100px rgba(15, 23, 42, .22) !important;
}

.publication-featured-text-v2 {
  padding: 38px !important;
}

.publication-featured-text-v2 h2 {
  text-wrap: balance;
}

.publication-featured-image-v2 img {
  transition: transform .5s ease;
}

.publication-featured-card-v2:hover .publication-featured-image-v2 img {
  transform: scale(1.035);
}

/* LISTE ARTICLES */
.publication-results-v2 {
  background:
    radial-gradient(circle at 8% 20%, rgba(14, 165, 233, .07), transparent 24%),
    transparent !important;
}

.publication-grid-v2 {
  gap: 26px !important;
}

.publication-card-v2 {
  border-radius: 28px !important;
  border: 1px solid rgba(148, 163, 184, .24) !important;
  box-shadow: 0 20px 52px rgba(15, 23, 42, .075) !important;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.publication-card-v2:hover {
  transform: translateY(-4px);
  border-color: rgba(14, 165, 233, .28) !important;
  box-shadow: 0 30px 70px rgba(15, 23, 42, .12) !important;
}

.publication-card-v2-image {
  background:
    linear-gradient(135deg, #e0f2fe, #f0fdfa) !important;
}

.publication-card-v2-image img {
  transition: transform .45s ease;
}

.publication-card-v2:hover .publication-card-v2-image img {
  transform: scale(1.04);
}

.publication-card-v2-body {
  padding: 24px !important;
}

.publication-card-v2-body .article-meta {
  color: #0f766e !important;
  font-weight: 900 !important;
}

.publication-card-v2-body h3 {
  color: #0f172a !important;
  text-wrap: balance;
}

.publication-card-v2-body p {
  color: #475569 !important;
}

.publication-card-v2-body > a {
  color: #0369a1 !important;
  text-decoration: none !important;
}

.publication-card-v2-body > a:hover {
  color: #0f766e !important;
}

/* BLOC PROPOSER UN SUJET */
.publication-suggest-v2 {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 10%, rgba(20,184,166,.18), transparent 30%),
    radial-gradient(circle at 12% 90%, rgba(14,165,233,.12), transparent 30%),
    #ffffff !important;
  border: 1px solid rgba(148, 163, 184, .24) !important;
  box-shadow: 0 28px 80px rgba(15, 23, 42, .09) !important;
}

.publication-suggest-v2::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.45), transparent);
  pointer-events: none;
}

.publication-suggest-v2 > * {
  position: relative;
  z-index: 1;
}

.publication-suggest-v2 h2 {
  text-wrap: balance;
}

.publication-suggest-actions .button.secondary {
  background: #f8fafc !important;
  color: #0f172a !important;
  border-color: rgba(148, 163, 184, .35) !important;
}

/* MODALE : petit polish */
.publication-topic-modal-card {
  border-radius: 30px !important;
  background:
    radial-gradient(circle at 90% 0%, rgba(14,165,233,.10), transparent 30%),
    #ffffff !important;
}

.publication-topic-modal-card h2 {
  text-wrap: balance;
}

/* RESPONSIVE */
@media (max-width: 1050px) {
  .publication-hero-v2 {
    padding-top: 28px !important;
  }

  .publication-featured-text-v2 {
    padding: 30px !important;
  }
}

@media (max-width: 720px) {
  .publication-hero-v2 {
    padding: 22px 0 30px !important;
  }

  .publication-hero-v2-main h1 {
    font-size: clamp(2.05rem, 9.4vw, 2.85rem) !important;
    line-height: 1.06 !important;
    letter-spacing: -.045em !important;
  }

  .publication-hero-v2-card {
    padding: 20px !important;
  }

  .publication-filter-v2-grid {
    padding: 6px !important;
  }

  .publication-featured-v2 {
    padding-top: 34px !important;
  }

  .publication-featured-text-v2 {
    padding: 24px !important;
  }

  .publication-suggest-v2 {
    padding: 26px !important;
  }
}

/* =========================================================
   ACCUEIL — ajustements propres sur base existante
   ========================================================= */

.home-hero {
  padding-top: 72px !important;
  padding-bottom: 72px !important;
}

.home-hero h1 {
  max-width: 820px;
  font-size: clamp(3rem, 5.4vw, 5.35rem) !important;
  line-height: .98 !important;
  letter-spacing: -.065em !important;
  text-wrap: balance;
}

.home-hero .lead {
  max-width: 840px;
  font-size: 1.22rem !important;
  line-height: 1.6 !important;
}

.home-hero-panel {
  backdrop-filter: blur(8px);
}

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

.preview-card {
  text-decoration: none;
}

.preview-card:hover h3,
.value-item a:hover {
  color: #0ea5e9;
}

.value-item a {
  color: inherit;
  text-decoration: none;
}

@media (max-width: 1050px) {
  .home-hero {
    padding-top: 52px !important;
    padding-bottom: 58px !important;
  }

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

@media (max-width: 720px) {
  .home-hero {
    padding-top: 36px !important;
    padding-bottom: 42px !important;
  }

  .home-hero h1 {
    font-size: clamp(2.25rem, 10vw, 3.05rem) !important;
    line-height: 1.04 !important;
    letter-spacing: -.045em !important;
  }

  .home-hero .lead {
    font-size: 1.02rem !important;
  }

  .home-pillar-grid-wide {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   ACCUEIL — modale contact
   ========================================================= */

.home-contact-alert-wrap {
  position: fixed !important;
  top: 86px;
  right: 24px;
  z-index: 9500;
  width: min(440px, calc(100vw - 32px));
  padding: 0 !important;
  animation: topicToastIn .28s ease-out both;
}

.home-contact-alert-wrap .site-alert {
  margin: 0 !important;
  border-radius: 18px !important;
  padding: 16px 18px !important;
  font-weight: 900 !important;
  box-shadow: 0 24px 80px rgba(15, 23, 42, .18);
}

.home-contact-alert-wrap .site-alert.success {
  background: #ecfdf5 !important;
  border: 1px solid #10b981 !important;
  color: #065f46 !important;
}

.home-contact-alert-wrap .site-alert.error {
  background: #fef2f2 !important;
  border: 1px solid #ef4444 !important;
  color: #991b1b !important;
}

.home-contact-alert-wrap.is-hiding {
  animation: topicToastOut .42s ease-in both;
}

.home-contact-modal[hidden] {
  display: none !important;
}

.home-contact-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
}

.home-contact-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, .64);
  backdrop-filter: blur(4px);
}

.home-contact-modal-card {
  position: relative;
  width: min(780px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  background:
    radial-gradient(circle at 90% 0%, rgba(14,165,233,.10), transparent 30%),
    #ffffff;
  color: #0f172a;
  border-radius: 30px;
  padding: 30px;
  box-shadow: 0 40px 120px rgba(2, 6, 23, .34);
  border: 1px solid rgba(148, 163, 184, .32);
}

.home-contact-modal-card h2 {
  margin: 14px 0 10px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -.05em;
  text-wrap: balance;
}

.home-contact-modal-card p {
  margin: 0 0 22px;
  color: #475569;
  line-height: 1.6;
}

.home-contact-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, .36);
  background: #f8fafc;
  color: #0f172a;
  font-size: 1.6rem;
  font-weight: 900;
  cursor: pointer;
}

.home-contact-form {
  display: grid;
  gap: 16px;
}

.home-contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.home-contact-form input,
.home-contact-form textarea,
.home-contact-form select {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, .42);
  border-radius: 16px;
  padding: 13px 15px;
  font: inherit;
  background: #f8fafc;
  color: #0f172a;
}

@media (max-width: 720px) {
  .home-contact-alert-wrap {
    top: 74px;
    right: 16px;
    left: 16px;
    width: auto;
  }

  .home-contact-modal-card {
    padding: 24px;
  }
}

/* =========================================================
   LOGICIELS — modale démonstration, sans refonte visuelle
   ========================================================= */

.software-actions-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
}

.software-demo-inline {
  border: 0;
  cursor: pointer;
  font: inherit;
  background: transparent;
}

.software-demo-alert-wrap {
  position: fixed !important;
  top: 86px;
  right: 24px;
  z-index: 9500;
  width: min(440px, calc(100vw - 32px));
  padding: 0 !important;
  animation: topicToastIn .28s ease-out both;
}

.software-demo-alert-wrap .site-alert {
  margin: 0 !important;
  border-radius: 18px !important;
  padding: 16px 18px !important;
  font-weight: 900 !important;
  box-shadow: 0 24px 80px rgba(15, 23, 42, .18);
}

.software-demo-alert-wrap .site-alert.success {
  background: #ecfdf5 !important;
  border: 1px solid #10b981 !important;
  color: #065f46 !important;
}

.software-demo-alert-wrap .site-alert.error {
  background: #fef2f2 !important;
  border: 1px solid #ef4444 !important;
  color: #991b1b !important;
}

.software-demo-alert-wrap.is-hiding {
  animation: topicToastOut .42s ease-in both;
}

.software-demo-modal[hidden] {
  display: none !important;
}

.software-demo-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
}

.software-demo-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, .64);
  backdrop-filter: blur(4px);
}

.software-demo-modal-card {
  position: relative;
  width: min(780px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  background:
    radial-gradient(circle at 90% 0%, rgba(14,165,233,.10), transparent 30%),
    #ffffff;
  color: #0f172a;
  border-radius: 30px;
  padding: 30px;
  box-shadow: 0 40px 120px rgba(2, 6, 23, .34);
  border: 1px solid rgba(148, 163, 184, .32);
}

.software-demo-modal-card h2 {
  margin: 14px 0 10px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -.05em;
  text-wrap: balance;
}

.software-demo-modal-card p {
  margin: 0 0 22px;
  color: #475569;
  line-height: 1.6;
}

.software-demo-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, .36);
  background: #f8fafc;
  color: #0f172a;
  font-size: 1.6rem;
  font-weight: 900;
  cursor: pointer;
}

.software-demo-form {
  display: grid;
  gap: 16px;
}

.software-demo-form label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.software-demo-form input,
.software-demo-form textarea,
.software-demo-form select {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, .42);
  border-radius: 16px;
  padding: 13px 15px;
  font: inherit;
  background: #f8fafc;
  color: #0f172a;
}

@media (max-width: 720px) {
  .software-demo-alert-wrap {
    top: 74px;
    right: 16px;
    left: 16px;
    width: auto;
  }

  .software-demo-modal-card {
    padding: 24px;
  }
}

/* =========================================================
   LOGICIELS — polish final sur structure existante
   ========================================================= */

.product-hero {
  padding-top: 52px !important;
  padding-bottom: 54px !important;
  background:
    radial-gradient(circle at 12% 8%, rgba(56, 189, 248, .14), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(20, 184, 166, .12), transparent 34%),
    linear-gradient(135deg, #07111f 0%, #0b1b2c 55%, #06101d 100%) !important;
}

.product-hero-inner {
  gap: 46px !important;
  align-items: center !important;
}

.product-hero h1 {
  max-width: 820px !important;
  font-size: clamp(2.75rem, 4.75vw, 4.7rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -.058em !important;
  text-wrap: balance;
}

.product-hero .lead {
  max-width: 780px !important;
  font-size: 1.14rem !important;
  line-height: 1.62 !important;
}

.product-hero-card {
  border-radius: 30px !important;
  background: rgba(15, 23, 42, .64) !important;
  border: 1px solid rgba(148, 163, 184, .28) !important;
  box-shadow: 0 32px 90px rgba(2, 6, 23, .28) !important;
  backdrop-filter: blur(10px);
}

.product-hero-card span {
  color: #67e8f9 !important;
}

.product-hero-card strong {
  text-wrap: balance;
}

.software-suite.dynamic-softwares {
  padding-top: 54px !important;
  padding-bottom: 62px !important;
}

.software-card {
  position: relative;
  cursor: pointer;
  transition:
    transform .22s ease,
    box-shadow .22s ease,
    border-color .22s ease,
    background .22s ease;
}

.software-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(circle at 88% 12%, rgba(56,189,248,.13), transparent 32%);
  opacity: 0;
  transition: opacity .22s ease;
}

.software-card:hover,
.software-card:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(56, 189, 248, .42) !important;
  box-shadow: 0 34px 90px rgba(2, 6, 23, .34) !important;
}

.software-card:hover::after,
.software-card:focus-visible::after {
  opacity: 1;
}

.software-card:focus-visible {
  outline: 3px solid rgba(56, 189, 248, .45);
  outline-offset: 4px;
}

.software-card .software-link,
.software-card .software-demo-inline {
  position: relative;
  z-index: 2;
}

.software-actions-inline {
  margin-top: 26px !important;
}

.software-demo-inline {
  color: #38bdf8 !important;
  text-decoration: none !important;
  font-weight: 700 !important;
}

.software-demo-inline:hover {
  color: #67e8f9 !important;
}

.software-process {
  padding-top: 58px !important;
}

.process-grid div {
  transition:
    transform .2s ease,
    border-color .2s ease,
    box-shadow .2s ease;
}

.process-grid div:hover {
  transform: translateY(-3px);
  border-color: rgba(56, 189, 248, .34) !important;
  box-shadow: 0 22px 58px rgba(15, 23, 42, .18);
}

@media (max-width: 1050px) {
  .product-hero {
    padding-top: 42px !important;
    padding-bottom: 46px !important;
  }

  .product-hero-inner {
    gap: 30px !important;
  }

  .software-suite.dynamic-softwares {
    padding-top: 42px !important;
  }
}

@media (max-width: 720px) {
  .product-hero {
    padding-top: 30px !important;
    padding-bottom: 36px !important;
  }

  .product-hero h1 {
    font-size: clamp(2.15rem, 9.6vw, 3rem) !important;
    line-height: 1.05 !important;
    letter-spacing: -.045em !important;
  }

  .product-hero .lead {
    font-size: 1rem !important;
  }

  .software-suite.dynamic-softwares {
    padding-top: 32px !important;
    padding-bottom: 42px !important;
  }
}

/* =========================================================
   LOGICIELS — CTA bas + contact modal
   ========================================================= */

.software-bottom-cta {
  margin-top: 42px;
  margin-bottom: 70px;
  padding: 34px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 88% 14%, rgba(20,184,166,.18), transparent 34%),
    radial-gradient(circle at 8% 90%, rgba(14,165,233,.12), transparent 32%),
    #ffffff;
  border: 1px solid rgba(148, 163, 184, .26);
  box-shadow: 0 28px 80px rgba(15, 23, 42, .09);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
}

.theme-dark .software-bottom-cta {
  background:
    radial-gradient(circle at 88% 14%, rgba(20,184,166,.18), transparent 34%),
    radial-gradient(circle at 8% 90%, rgba(14,165,233,.14), transparent 32%),
    #0f172a;
  border-color: rgba(148, 163, 184, .28);
}

.software-bottom-cta h2 {
  margin: 12px 0;
  color: #0f172a;
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  line-height: .96;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.theme-dark .software-bottom-cta h2 {
  color: #ffffff;
}

.software-bottom-cta p {
  margin: 0;
  max-width: 760px;
  color: #475569;
  line-height: 1.65;
}

.theme-dark .software-bottom-cta p {
  color: #cbd5e1;
}

.software-bottom-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.software-contact-alert-wrap {
  position: fixed !important;
  top: 86px;
  right: 24px;
  z-index: 9500;
  width: min(440px, calc(100vw - 32px));
  padding: 0 !important;
  animation: topicToastIn .28s ease-out both;
}

.software-contact-alert-wrap .site-alert {
  margin: 0 !important;
  border-radius: 18px !important;
  padding: 16px 18px !important;
  font-weight: 900 !important;
  box-shadow: 0 24px 80px rgba(15, 23, 42, .18);
}

.software-contact-alert-wrap .site-alert.success {
  background: #ecfdf5 !important;
  border: 1px solid #10b981 !important;
  color: #065f46 !important;
}

.software-contact-alert-wrap .site-alert.error {
  background: #fef2f2 !important;
  border: 1px solid #ef4444 !important;
  color: #991b1b !important;
}

.software-contact-alert-wrap.is-hiding {
  animation: topicToastOut .42s ease-in both;
}

.software-contact-modal[hidden] {
  display: none !important;
}

.software-contact-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
}

.software-contact-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, .64);
  backdrop-filter: blur(4px);
}

.software-contact-modal-card {
  position: relative;
  width: min(780px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  background:
    radial-gradient(circle at 90% 0%, rgba(14,165,233,.10), transparent 30%),
    #ffffff;
  color: #0f172a;
  border-radius: 30px;
  padding: 30px;
  box-shadow: 0 40px 120px rgba(2, 6, 23, .34);
  border: 1px solid rgba(148, 163, 184, .32);
}

.software-contact-modal-card h2 {
  margin: 14px 0 10px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -.05em;
  text-wrap: balance;
}

.software-contact-modal-card p {
  margin: 0 0 22px;
  color: #475569;
  line-height: 1.6;
}

.software-contact-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, .36);
  background: #f8fafc;
  color: #0f172a;
  font-size: 1.6rem;
  font-weight: 900;
  cursor: pointer;
}

.software-contact-form {
  display: grid;
  gap: 16px;
}

.software-contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.software-contact-form input,
.software-contact-form textarea,
.software-contact-form select {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, .42);
  border-radius: 16px;
  padding: 13px 15px;
  font: inherit;
  background: #f8fafc;
  color: #0f172a;
}

@media (max-width: 820px) {
  .software-bottom-cta {
    grid-template-columns: 1fr;
  }

  .software-bottom-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .software-bottom-cta {
    padding: 26px;
    margin-bottom: 48px;
  }

  .software-contact-alert-wrap {
    top: 74px;
    right: 16px;
    left: 16px;
    width: auto;
  }

  .software-contact-modal-card {
    padding: 24px;
  }
}

/* =========================================================
   MACHINES — polish page + modale devis
   ========================================================= */

.machines-hero {
  padding-top: 52px !important;
  padding-bottom: 54px !important;
  background:
    radial-gradient(circle at 12% 8%, rgba(56, 189, 248, .14), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(20, 184, 166, .12), transparent 34%),
    linear-gradient(135deg, #07111f 0%, #0b1b2c 55%, #06101d 100%) !important;
}

.machines-hero .product-hero-inner {
  gap: 46px !important;
  align-items: center !important;
}

.machines-hero h1 {
  max-width: 840px !important;
  font-size: clamp(2.75rem, 4.75vw, 4.7rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -.058em !important;
  text-wrap: balance;
}

.machines-hero .lead {
  max-width: 800px !important;
  font-size: 1.14rem !important;
  line-height: 1.62 !important;
}

.machines-hero .product-hero-card {
  border-radius: 30px !important;
  background: rgba(15, 23, 42, .64) !important;
  border: 1px solid rgba(148, 163, 184, .28) !important;
  box-shadow: 0 32px 90px rgba(2, 6, 23, .28) !important;
  backdrop-filter: blur(10px);
}

.machines-hero .product-hero-card span {
  color: #67e8f9 !important;
}

.machines-hero .product-hero-card strong {
  text-wrap: balance;
}

.machine-card-v2 {
  transition:
    transform .22s ease,
    box-shadow .22s ease,
    border-color .22s ease,
    background .22s ease;
}

.machine-card-v2:hover,
.machine-card-v2:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(56, 189, 248, .42) !important;
  box-shadow: 0 34px 90px rgba(2, 6, 23, .34) !important;
}

.machine-card-v2:focus-visible {
  outline: 3px solid rgba(56, 189, 248, .45);
  outline-offset: 4px;
}

.machine-card-v2-image img {
  transition: transform .45s ease;
}

.machine-card-v2:hover .machine-card-v2-image img {
  transform: scale(1.04);
}

.machine-filter-v2 {
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    background .18s ease,
    border-color .18s ease;
}

.machine-filter-v2:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(15, 23, 42, .16);
}

.machine-bottom-cta {
  margin-top: 42px;
  margin-bottom: 70px;
  padding: 34px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 88% 14%, rgba(20,184,166,.18), transparent 34%),
    radial-gradient(circle at 8% 90%, rgba(14,165,233,.14), transparent 32%),
    #0f172a;
  border: 1px solid rgba(148, 163, 184, .28);
  box-shadow: 0 28px 80px rgba(15, 23, 42, .18);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
}

.machine-bottom-cta h2 {
  margin: 12px 0;
  color: #ffffff;
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  line-height: .96;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.machine-bottom-cta p {
  margin: 0;
  max-width: 780px;
  color: #cbd5e1;
  line-height: 1.65;
}

.machine-bottom-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.machine-contact-alert-wrap {
  position: fixed !important;
  top: 86px;
  right: 24px;
  z-index: 9500;
  width: min(440px, calc(100vw - 32px));
  padding: 0 !important;
  animation: machineToastIn .28s ease-out both;
}

.machine-contact-alert-wrap .site-alert {
  margin: 0 !important;
  border-radius: 18px !important;
  padding: 16px 18px !important;
  font-weight: 900 !important;
  box-shadow: 0 24px 80px rgba(15, 23, 42, .18);
}

.machine-contact-alert-wrap .site-alert.success {
  background: #ecfdf5 !important;
  border: 1px solid #10b981 !important;
  color: #065f46 !important;
}

.machine-contact-alert-wrap .site-alert.error {
  background: #fef2f2 !important;
  border: 1px solid #ef4444 !important;
  color: #991b1b !important;
}

.machine-contact-alert-wrap.is-hiding {
  animation: machineToastOut .42s ease-in both;
}

@keyframes machineToastIn {
  from {
    opacity: 0;
    transform: translateY(-12px) scale(.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes machineToastOut {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(-10px) scale(.98);
  }
}

.machine-contact-modal[hidden] {
  display: none !important;
}

.machine-contact-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
}

.machine-contact-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, .64);
  backdrop-filter: blur(4px);
}

.machine-contact-modal-card {
  position: relative;
  width: min(780px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  background:
    radial-gradient(circle at 90% 0%, rgba(14,165,233,.10), transparent 30%),
    #ffffff;
  color: #0f172a;
  border-radius: 30px;
  padding: 30px;
  box-shadow: 0 40px 120px rgba(2, 6, 23, .34);
  border: 1px solid rgba(148, 163, 184, .32);
}

.machine-contact-modal-card h2 {
  margin: 14px 0 10px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -.05em;
  text-wrap: balance;
}

.machine-contact-modal-card p {
  margin: 0 0 22px;
  color: #475569;
  line-height: 1.6;
}

.machine-contact-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, .36);
  background: #f8fafc;
  color: #0f172a;
  font-size: 1.6rem;
  font-weight: 900;
  cursor: pointer;
}

.machine-contact-form {
  display: grid;
  gap: 16px;
}

.machine-contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.machine-contact-form input,
.machine-contact-form textarea,
.machine-contact-form select {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, .42);
  border-radius: 16px;
  padding: 13px 15px;
  font: inherit;
  background: #f8fafc;
  color: #0f172a;
}

@media (max-width: 1050px) {
  .machines-hero {
    padding-top: 42px !important;
    padding-bottom: 46px !important;
  }

  .machines-hero .product-hero-inner {
    gap: 30px !important;
  }
}

@media (max-width: 820px) {
  .machine-bottom-cta {
    grid-template-columns: 1fr;
  }

  .machine-bottom-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .machines-hero {
    padding-top: 30px !important;
    padding-bottom: 36px !important;
  }

  .machines-hero h1 {
    font-size: clamp(2.15rem, 9.6vw, 3rem) !important;
    line-height: 1.05 !important;
    letter-spacing: -.045em !important;
  }

  .machines-hero .lead {
    font-size: 1rem !important;
  }

  .machine-bottom-cta {
    padding: 26px;
    margin-bottom: 48px;
  }

  .machine-contact-alert-wrap {
    top: 74px;
    right: 16px;
    left: 16px;
    width: auto;
  }

  .machine-contact-modal-card {
    padding: 24px;
  }
}

/* =========================================================
   ADMIN — gestion menu public
   ========================================================= */

.admin-menu-form {
  overflow-x: auto;
}

.admin-menu-table input[type="text"],
.admin-menu-table input[type="number"] {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, .35);
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(2, 6, 23, .35);
  color: #fff;
  font: inherit;
  font-weight: 700;
}

.admin-menu-order {
  max-width: 90px;
}

.admin-menu-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
}

.admin-menu-switch input {
  width: 18px;
  height: 18px;
}

.admin-menu-actions {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* =========================================================
   ADMIN — carte Menu public
   ========================================================= */

.admin-dashboard-card {
  display: block;
  padding: 22px;
  border-radius: 22px;
  background: rgba(15, 23, 42, .72);
  border: 1px solid rgba(148, 163, 184, .24);
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 20px 60px rgba(2, 6, 23, .18);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.admin-dashboard-card:hover {
  transform: translateY(-3px);
  border-color: rgba(56, 189, 248, .36);
  box-shadow: 0 28px 80px rgba(2, 6, 23, .28);
}

.admin-dashboard-card span {
  display: block;
  margin-bottom: 10px;
  color: #38bdf8;
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .13em;
}

.admin-dashboard-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.28rem;
  line-height: 1.15;
}

.admin-dashboard-card p {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.5;
}

/* =========================================================
   TEXTILE — polish page + modale devis
   ========================================================= */

.textile-hero {
  padding-top: 52px !important;
  padding-bottom: 54px !important;
  background:
    radial-gradient(circle at 12% 8%, rgba(56, 189, 248, .14), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(20, 184, 166, .12), transparent 34%),
    linear-gradient(135deg, #07111f 0%, #0b1b2c 55%, #06101d 100%) !important;
}

.textile-hero .product-hero-inner {
  gap: 46px !important;
  align-items: center !important;
}

.textile-hero h1 {
  max-width: 860px !important;
  font-size: clamp(2.75rem, 4.75vw, 4.7rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -.058em !important;
  text-wrap: balance;
}

.textile-hero .lead {
  max-width: 800px !important;
  font-size: 1.14rem !important;
  line-height: 1.62 !important;
}

.textile-hero .product-hero-card {
  border-radius: 30px !important;
  background: rgba(15, 23, 42, .64) !important;
  border: 1px solid rgba(148, 163, 184, .28) !important;
  box-shadow: 0 32px 90px rgba(2, 6, 23, .28) !important;
  backdrop-filter: blur(10px);
}

.textile-hero .product-hero-card span {
  color: #67e8f9 !important;
}

.textile-hero .product-hero-card strong {
  text-wrap: balance;
}

.textile-card {
  transition:
    transform .22s ease,
    box-shadow .22s ease,
    border-color .22s ease,
    background .22s ease;
}

.textile-card:hover,
.textile-card:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(56, 189, 248, .42) !important;
  box-shadow: 0 34px 90px rgba(2, 6, 23, .34) !important;
}

.textile-card:focus-visible {
  outline: 3px solid rgba(56, 189, 248, .45);
  outline-offset: 4px;
}

.textile-card-image img {
  transition: transform .45s ease;
}

.textile-card:hover .textile-card-image img {
  transform: scale(1.04);
}

.textile-family-block {
  transition:
    transform .18s ease,
    border-color .18s ease,
    box-shadow .18s ease;
}

.textile-family-block:hover {
  border-color: rgba(56, 189, 248, .28) !important;
  box-shadow: 0 24px 70px rgba(2, 6, 23, .20);
}

.textile-bottom-cta {
  margin-top: 42px;
  margin-bottom: 70px;
  padding: 34px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 88% 14%, rgba(20,184,166,.18), transparent 34%),
    radial-gradient(circle at 8% 90%, rgba(14,165,233,.14), transparent 32%),
    #0f172a;
  border: 1px solid rgba(148, 163, 184, .28);
  box-shadow: 0 28px 80px rgba(15, 23, 42, .18);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
}

.textile-bottom-cta h2 {
  margin: 12px 0;
  color: #ffffff;
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  line-height: .96;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.textile-bottom-cta p {
  margin: 0;
  max-width: 780px;
  color: #cbd5e1;
  line-height: 1.65;
}

.textile-bottom-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.textile-contact-alert-wrap {
  position: fixed !important;
  top: 86px;
  right: 24px;
  z-index: 9500;
  width: min(440px, calc(100vw - 32px));
  padding: 0 !important;
  animation: textileToastIn .28s ease-out both;
}

.textile-contact-alert-wrap .site-alert {
  margin: 0 !important;
  border-radius: 18px !important;
  padding: 16px 18px !important;
  font-weight: 900 !important;
  box-shadow: 0 24px 80px rgba(15, 23, 42, .18);
}

.textile-contact-alert-wrap .site-alert.success {
  background: #ecfdf5 !important;
  border: 1px solid #10b981 !important;
  color: #065f46 !important;
}

.textile-contact-alert-wrap .site-alert.error {
  background: #fef2f2 !important;
  border: 1px solid #ef4444 !important;
  color: #991b1b !important;
}

.textile-contact-alert-wrap.is-hiding {
  animation: textileToastOut .42s ease-in both;
}

@keyframes textileToastIn {
  from {
    opacity: 0;
    transform: translateY(-12px) scale(.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes textileToastOut {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(-10px) scale(.98);
  }
}

.textile-contact-modal[hidden] {
  display: none !important;
}

.textile-contact-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
}

.textile-contact-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, .64);
  backdrop-filter: blur(4px);
}

.textile-contact-modal-card {
  position: relative;
  width: min(780px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  background:
    radial-gradient(circle at 90% 0%, rgba(14,165,233,.10), transparent 30%),
    #ffffff;
  color: #0f172a;
  border-radius: 30px;
  padding: 30px;
  box-shadow: 0 40px 120px rgba(2, 6, 23, .34);
  border: 1px solid rgba(148, 163, 184, .32);
}

.textile-contact-modal-card h2 {
  margin: 14px 0 10px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -.05em;
  text-wrap: balance;
}

.textile-contact-modal-card p {
  margin: 0 0 22px;
  color: #475569;
  line-height: 1.6;
}

.textile-contact-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, .36);
  background: #f8fafc;
  color: #0f172a;
  font-size: 1.6rem;
  font-weight: 900;
  cursor: pointer;
}

.textile-contact-form {
  display: grid;
  gap: 16px;
}

.textile-contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.textile-contact-form input,
.textile-contact-form textarea,
.textile-contact-form select {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, .42);
  border-radius: 16px;
  padding: 13px 15px;
  font: inherit;
  background: #f8fafc;
  color: #0f172a;
}

.machine-side-link-button {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
  padding: 0;
}

.machine-side-link-button:hover {
  color: #67e8f9;
}

@media (max-width: 1050px) {
  .textile-hero {
    padding-top: 42px !important;
    padding-bottom: 46px !important;
  }

  .textile-hero .product-hero-inner {
    gap: 30px !important;
  }
}

@media (max-width: 820px) {
  .textile-bottom-cta {
    grid-template-columns: 1fr;
  }

  .textile-bottom-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .textile-hero {
    padding-top: 30px !important;
    padding-bottom: 36px !important;
  }

  .textile-hero h1 {
    font-size: clamp(2.15rem, 9.6vw, 3rem) !important;
    line-height: 1.05 !important;
    letter-spacing: -.045em !important;
  }

  .textile-hero .lead {
    font-size: 1rem !important;
  }

  .textile-bottom-cta {
    padding: 26px;
    margin-bottom: 48px;
  }

  .textile-contact-alert-wrap {
    top: 74px;
    right: 16px;
    left: 16px;
    width: auto;
  }

  .textile-contact-modal-card {
    padding: 24px;
  }
}

/* =========================================================
   ARTICLE DETAIL — amélioration douce + modale contact
   ========================================================= */

.article-public-hero {
  padding-top: 46px !important;
  padding-bottom: 54px !important;
}

.article-public-hero h1 {
  max-width: 980px;
  font-size: clamp(2.45rem, 5vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.article-public-hero .lead {
  max-width: 820px;
  font-size: 1.08rem;
  line-height: 1.65;
}

.article-back {
  font-weight: 900;
  text-decoration: none;
}

.article-soft-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.article-soft-meta span {
  display: inline-flex;
  align-items: center;
  padding: 8px 11px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, .28);
  color: #334155;
  font-weight: 800;
  font-size: .86rem;
}

.article-cover-wrap {
  margin-top: -22px;
  position: relative;
  z-index: 2;
}

.article-cover {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 22px 70px rgba(15, 23, 42, .12);
  border: 1px solid rgba(148, 163, 184, .22);
}

.article-public-layout {
  align-items: start;
}

.article-public-card {
  border-radius: 26px !important;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .08) !important;
}

.article-content-html {
  color: #0f172a;
  font-size: 1.04rem;
  line-height: 1.78;
}

.article-content-html h2 {
  margin-top: 34px;
  color: #0f172a;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  line-height: 1.1;
  letter-spacing: -.04em;
}

.article-content-html h3 {
  margin-top: 26px;
  color: #0f172a;
  font-size: 1.35rem;
}

.article-content-html p,
.article-content-html li {
  color: #334155;
}

.article-content-html img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  margin: 18px 0;
}

.article-content-html table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}

.article-content-html th,
.article-content-html td {
  padding: 12px;
  border: 1px solid rgba(148, 163, 184, .35);
}

.article-content-html th {
  background: #f1f5f9;
}

.article-public-cta-soft {
  background:
    radial-gradient(circle at 92% 10%, rgba(37, 99, 235, .10), transparent 34%),
    #eff6ff !important;
  border-color: #bfdbfe !important;
  border-radius: 24px !important;
}

.article-public-cta-soft button {
  margin-top: 8px;
}

.article-public-side-soft {
  position: sticky;
  top: 96px;
  border-radius: 24px !important;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .08) !important;
}

.article-side-soft-block {
  padding: 13px 0;
  border-top: 1px solid rgba(148, 163, 184, .24);
}

.article-side-soft-block span {
  display: block;
  margin-bottom: 4px;
  color: #64748b;
  font-size: .75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.article-side-soft-block strong {
  color: #0f172a;
  line-height: 1.3;
}

.article-side-soft-links {
  display: grid;
  gap: 9px;
  margin-top: 18px;
}

.article-side-soft-links a,
.article-side-soft-links button {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 14px;
  padding: 11px 13px;
  background: #f1f5f9;
  color: #0f172a;
  font: inherit;
  font-weight: 900;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.article-side-soft-links a:hover,
.article-side-soft-links button:hover {
  background: #dbeafe;
  color: #1d4ed8;
}

.article-bottom-soft-cta {
  margin-bottom: 70px;
  padding: 30px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 14%, rgba(20,184,166,.16), transparent 34%),
    radial-gradient(circle at 8% 90%, rgba(14,165,233,.12), transparent 32%),
    #0f172a;
  border: 1px solid rgba(148, 163, 184, .28);
  box-shadow: 0 28px 80px rgba(15, 23, 42, .16);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
}

.article-bottom-soft-cta h2 {
  margin: 12px 0;
  color: #ffffff;
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  line-height: 1;
  letter-spacing: -.05em;
  text-wrap: balance;
}

.article-bottom-soft-cta p {
  margin: 0;
  max-width: 760px;
  color: #cbd5e1;
  line-height: 1.62;
}

.article-bottom-soft-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* Alertes */
.article-contact-alert-wrap {
  position: fixed !important;
  top: 86px;
  right: 24px;
  z-index: 9500;
  width: min(440px, calc(100vw - 32px));
  padding: 0 !important;
  animation: articleSoftToastIn .28s ease-out both;
}

.article-contact-alert-wrap .site-alert {
  margin: 0 !important;
  border-radius: 18px !important;
  padding: 16px 18px !important;
  font-weight: 900 !important;
  box-shadow: 0 24px 80px rgba(15, 23, 42, .18);
}

.article-contact-alert-wrap .site-alert.success {
  background: #ecfdf5 !important;
  border: 1px solid #10b981 !important;
  color: #065f46 !important;
}

.article-contact-alert-wrap .site-alert.error {
  background: #fef2f2 !important;
  border: 1px solid #ef4444 !important;
  color: #991b1b !important;
}

.article-contact-alert-wrap.is-hiding {
  animation: articleSoftToastOut .42s ease-in both;
}

@keyframes articleSoftToastIn {
  from {
    opacity: 0;
    transform: translateY(-12px) scale(.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes articleSoftToastOut {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(-10px) scale(.98);
  }
}

/* Modale contact article */
.article-contact-modal[hidden] {
  display: none !important;
}

.article-contact-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
}

.article-contact-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, .64);
  backdrop-filter: blur(4px);
}

.article-contact-modal-card {
  position: relative;
  width: min(780px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  background:
    radial-gradient(circle at 90% 0%, rgba(14,165,233,.10), transparent 30%),
    #ffffff;
  color: #0f172a;
  border-radius: 30px;
  padding: 30px;
  box-shadow: 0 40px 120px rgba(2, 6, 23, .34);
  border: 1px solid rgba(148, 163, 184, .32);
}

.article-contact-modal-card h2 {
  margin: 14px 0 10px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -.05em;
  text-wrap: balance;
}

.article-contact-modal-card p {
  margin: 0 0 22px;
  color: #475569;
  line-height: 1.6;
}

.article-contact-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, .36);
  background: #f8fafc;
  color: #0f172a;
  font-size: 1.6rem;
  font-weight: 900;
  cursor: pointer;
}

.article-contact-form {
  display: grid;
  gap: 16px;
}

.article-contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.article-contact-form input,
.article-contact-form textarea,
.article-contact-form select {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, .42);
  border-radius: 16px;
  padding: 13px 15px;
  font: inherit;
  background: #f8fafc;
  color: #0f172a;
}

@media (max-width: 1050px) {
  .article-public-side-soft {
    position: static;
  }

  .article-bottom-soft-cta {
    grid-template-columns: 1fr;
  }

  .article-bottom-soft-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .article-public-hero {
    padding-top: 30px !important;
    padding-bottom: 36px !important;
  }

  .article-public-hero h1 {
    font-size: clamp(2rem, 9.5vw, 3rem);
  }

  .article-bottom-soft-cta {
    padding: 24px;
    margin-bottom: 48px;
  }

  .article-contact-alert-wrap {
    top: 74px;
    right: 16px;
    left: 16px;
    width: auto;
  }

  .article-contact-modal-card {
    padding: 24px;
  }
}

/* =========================================================
   ARTICLE DETAIL — réduction espace entre intro et contenu
   ========================================================= */

.article-public-hero {
  padding-bottom: 28px !important;
}

.article-soft-meta {
  margin-top: 14px !important;
  margin-bottom: 0 !important;
}

.article-public-layout {
  padding-top: 26px !important;
}

/* Quand l’article a une image de couverture, on garde un peu plus d’air */
.article-cover-wrap + .article-public-layout {
  padding-top: 34px !important;
}

@media (max-width: 720px) {
  .article-public-hero {
    padding-bottom: 24px !important;
  }

  .article-public-layout {
    padding-top: 22px !important;
  }

  .article-cover-wrap + .article-public-layout {
    padding-top: 26px !important;
  }
}

/* =========================================================
   FORUM — réduction des espaces hauts
   ========================================================= */

.forum-hero,
.forum-public-hero,
.forum-page-hero {
  padding-top: 54px !important;
  padding-bottom: 56px !important;
}

.forum-hero h1,
.forum-public-hero h1,
.forum-page-hero h1 {
  margin-top: 18px !important;
}

.forum-hero .lead,
.forum-public-hero .lead,
.forum-page-hero .lead {
  margin-top: 18px !important;
  margin-bottom: 22px !important;
}

.forum-section,
.forum-categories,
.forum-categories-section,
.forum-topics-section {
  padding-top: 48px !important;
}

.forum-section .section-header,
.forum-categories .section-header,
.forum-categories-section .section-header {
  margin-bottom: 28px !important;
}

@media (max-width: 720px) {
  .forum-hero,
  .forum-public-hero,
  .forum-page-hero {
    padding-top: 32px !important;
    padding-bottom: 38px !important;
  }

  .forum-section,
  .forum-categories,
  .forum-categories-section,
  .forum-topics-section {
    padding-top: 34px !important;
  }
}

/* =========================================================
   FORUM — modale poser une question
   ========================================================= */

.forum-question-modal[hidden] {
  display: none !important;
}

.forum-question-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
}

.forum-question-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, .64);
  backdrop-filter: blur(4px);
}

.forum-question-modal-card {
  position: relative;
  width: min(980px, 100%);
  height: min(86vh, 860px);
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 0%, rgba(14,165,233,.10), transparent 30%),
    #ffffff;
  color: #0f172a;
  border-radius: 30px;
  box-shadow: 0 40px 120px rgba(2, 6, 23, .34);
  border: 1px solid rgba(148, 163, 184, .32);
}

.forum-question-modal-head {
  padding: 28px 30px 18px;
  border-bottom: 1px solid rgba(148, 163, 184, .22);
}

.forum-question-modal-head h2 {
  margin: 12px 0 8px;
  color: #0f172a;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -.05em;
}

.forum-question-modal-head p {
  margin: 0;
  max-width: 760px;
  color: #475569;
  line-height: 1.55;
}

.forum-question-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, .36);
  background: #f8fafc;
  color: #0f172a;
  font-size: 1.6rem;
  font-weight: 900;
  cursor: pointer;
}

.forum-question-frame {
  width: 100%;
  height: 100%;
  border: 0;
  background: #f8fafc;
}

@media (max-width: 720px) {
  .forum-question-modal {
    padding: 14px;
  }

  .forum-question-modal-card {
    height: calc(100vh - 28px);
    border-radius: 24px;
  }

  .forum-question-modal-head {
    padding: 22px 22px 16px;
  }

  .forum-question-modal-close {
    top: 12px;
    right: 12px;
  }
}

/* =========================================================
   FORUM — compactage final des espacements
   ========================================================= */

.forum-hero {
  padding-top: 34px !important;
  padding-bottom: 38px !important;
}

.forum-hero-inner {
  gap: 34px !important;
  align-items: center !important;
}

.forum-hero h1 {
  margin-top: 12px !important;
  margin-bottom: 18px !important;
  font-size: clamp(3rem, 5.4vw, 5.2rem) !important;
  line-height: .98 !important;
}

.forum-hero .lead {
  margin-top: 0 !important;
  margin-bottom: 20px !important;
}

.forum-stats-card {
  padding: 28px !important;
}

.forum-index {
  padding-top: 36px !important;
}

.forum-index-heading {
  margin-bottom: 24px !important;
  align-items: end !important;
}

.forum-index-heading h2 {
  margin-top: 12px !important;
  margin-bottom: 0 !important;
  line-height: 1 !important;
}

.forum-index-heading p {
  margin: 0 !important;
}

.forum-section-list.compact {
  gap: 14px !important;
}

.forum-section-card.compact {
  padding: 24px 28px !important;
}

.forum-section-card.compact .forum-section-head h3 {
  margin-top: 8px !important;
  margin-bottom: 8px !important;
}

.forum-section-card.compact .forum-section-head p {
  margin-top: 0 !important;
  margin-bottom: 6px !important;
}

@media (max-width: 720px) {
  .forum-hero {
    padding-top: 26px !important;
    padding-bottom: 30px !important;
  }

  .forum-hero h1 {
    font-size: clamp(2.35rem, 11vw, 3.3rem) !important;
    margin-bottom: 14px !important;
  }

  .forum-index {
    padding-top: 28px !important;
  }

  .forum-index-heading {
    margin-bottom: 18px !important;
  }

  .forum-section-card.compact {
    padding: 22px !important;
  }
}

/* =========================================================
   FORUM — titre plus mesuré + CTA bas question
   ========================================================= */

.forum-hero h1 {
  font-size: clamp(2.75rem, 4.6vw, 4.45rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -.052em !important;
  max-width: 760px !important;
}

.forum-hero .lead {
  max-width: 780px !important;
}

.forum-bottom-question-cta {
  margin-top: 34px;
  margin-bottom: 70px;
  padding: 30px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 14%, rgba(20,184,166,.16), transparent 34%),
    radial-gradient(circle at 8% 90%, rgba(14,165,233,.12), transparent 32%),
    #0f172a;
  border: 1px solid rgba(148, 163, 184, .28);
  box-shadow: 0 28px 80px rgba(15, 23, 42, .16);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
}

.forum-bottom-question-cta h2 {
  margin: 12px 0;
  color: #ffffff;
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  line-height: 1;
  letter-spacing: -.05em;
  text-wrap: balance;
}

.forum-bottom-question-cta p {
  margin: 0;
  max-width: 760px;
  color: #cbd5e1;
  line-height: 1.62;
}

.forum-bottom-question-actions {
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 820px) {
  .forum-bottom-question-cta {
    grid-template-columns: 1fr;
  }

  .forum-bottom-question-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .forum-hero h1 {
    font-size: clamp(2.2rem, 10vw, 3.1rem) !important;
    max-width: none !important;
  }

  .forum-bottom-question-cta {
    padding: 24px;
    margin-top: 26px;
    margin-bottom: 48px;
  }
}

/* =========================================================
   FORUM — rubriques en grille responsive
   ========================================================= */

.forum-section-list.compact {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

.forum-section-card.compact {
  height: 100% !important;
  padding: 24px !important;
  border-radius: 24px !important;
}

.forum-section-card.compact .forum-section-head {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 0 !important;
}

.forum-section-card.compact .forum-section-head > div {
  min-width: 0 !important;
}

.forum-section-card.compact .forum-section-head h3 {
  font-size: clamp(1.35rem, 2vw, 1.75rem) !important;
  line-height: 1.12 !important;
  margin: 8px 0 10px !important;
}

.forum-section-card.compact .forum-section-head p {
  font-size: .98rem !important;
  line-height: 1.48 !important;
}

.forum-category-count {
  margin-top: 12px !important;
  color: #475569 !important;
  font-weight: 700 !important;
}

.forum-section-card.compact .forum-section-head a {
  margin-top: auto !important;
  align-self: flex-start !important;
  display: inline-flex !important;
  padding: 9px 13px !important;
  border-radius: 999px !important;
  background: #eff6ff !important;
  color: #1d4ed8 !important;
  font-weight: 900 !important;
  text-decoration: none !important;
}

.forum-section-card.compact .forum-section-head a:hover {
  background: #2563eb !important;
  color: #ffffff !important;
}

@media (max-width: 1100px) {
  .forum-section-list.compact {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 680px) {
  .forum-section-list.compact {
    grid-template-columns: 1fr !important;
  }

  .forum-section-card.compact {
    padding: 22px !important;
  }
}

/* =========================================================
   FORUM CATEGORIE — tops réduits + modale catégorie
   ========================================================= */

.forum-hero.compact {
  padding-top: 32px !important;
  padding-bottom: 36px !important;
}

.forum-hero.compact .article-back {
  margin-bottom: 10px !important;
}

.forum-hero.compact .badge {
  margin-bottom: 10px !important;
}

.forum-hero.compact h1 {
  margin-top: 14px !important;
  margin-bottom: 14px !important;
  font-size: clamp(2.6rem, 4.5vw, 4.25rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -.052em !important;
}

.forum-hero.compact .lead {
  margin-top: 0 !important;
  margin-bottom: 20px !important;
  max-width: 820px !important;
}

.forum-category-layout {
  padding-top: 34px !important;
  padding-bottom: 54px !important;
}

.forum-topic-list {
  padding: 28px 30px !important;
  border-radius: 28px !important;
}

.forum-topic-list h2 {
  margin-top: 0 !important;
  margin-bottom: 22px !important;
  font-size: clamp(2.2rem, 4vw, 3.3rem) !important;
  line-height: 1 !important;
}

.forum-topic-row {
  padding-top: 18px !important;
  padding-bottom: 18px !important;
}

@media (max-width: 720px) {
  .forum-hero.compact {
    padding-top: 24px !important;
    padding-bottom: 30px !important;
  }

  .forum-hero.compact h1 {
    font-size: clamp(2.15rem, 10vw, 3rem) !important;
  }

  .forum-category-layout {
    padding-top: 24px !important;
  }

  .forum-topic-list {
    padding: 22px !important;
  }

  .forum-topic-row {
    padding-top: 16px !important;
    padding-bottom: 16px !important;
  }
}

/* =========================================================
   FORUM SUJET — top réduit + lecture plus propre
   ========================================================= */

.forum-topic-hero-soft {
  padding-top: 28px !important;
  padding-bottom: 32px !important;
}

.forum-topic-hero-soft .article-back {
  margin-bottom: 10px !important;
}

.forum-topic-hero-soft .badge {
  margin-bottom: 10px !important;
}

.forum-topic-hero-soft h1 {
  margin-top: 12px !important;
  margin-bottom: 12px !important;
  max-width: 920px !important;
  font-size: clamp(2.25rem, 4.2vw, 3.9rem) !important;
  line-height: 1.03 !important;
  letter-spacing: -.052em !important;
}

.forum-topic-hero-soft .lead {
  margin-top: 10px !important;
  margin-bottom: 0 !important;
}

.forum-thread {
  padding-top: 30px !important;
  padding-bottom: 54px !important;
}

.forum-post-card {
  border-radius: 26px !important;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .08) !important;
}

.forum-post-card header {
  padding-bottom: 14px !important;
}

.forum-post-body {
  font-size: 1.03rem !important;
  line-height: 1.76 !important;
}

.forum-post-body p {
  margin-bottom: 18px !important;
}

.forum-thread > button.button {
  margin-top: 16px !important;
}

@media (max-width: 720px) {
  .forum-topic-hero-soft {
    padding-top: 22px !important;
    padding-bottom: 28px !important;
  }

  .forum-topic-hero-soft h1 {
    font-size: clamp(2rem, 9.6vw, 3rem) !important;
  }

  .forum-thread {
    padding-top: 24px !important;
  }

  .forum-post-body {
    font-size: 1rem !important;
  }
}

/* =========================================================
   FORUM SUJET — titre moins énorme
   ========================================================= */

.forum-topic-hero-soft h1 {
  max-width: 820px !important;
  font-size: clamp(2.25rem, 3.65vw, 3.55rem) !important;
  line-height: 1.06 !important;
  letter-spacing: -.045em !important;
  margin-top: 12px !important;
  margin-bottom: 14px !important;
}

.forum-topic-hero-soft {
  padding-top: 26px !important;
  padding-bottom: 30px !important;
}

.forum-topic-hero-soft .lead {
  font-size: 1.02rem !important;
  line-height: 1.45 !important;
}

@media (max-width: 720px) {
  .forum-topic-hero-soft h1 {
    font-size: clamp(2rem, 8.8vw, 2.75rem) !important;
    line-height: 1.08 !important;
    max-width: none !important;
  }

  .forum-topic-hero-soft {
    padding-top: 22px !important;
    padding-bottom: 26px !important;
  }
}

/* =========================================================
   FORUM SUJET — correction titre trop gros / trop de lignes
   ========================================================= */

.forum-topic-hero-soft {
  padding-top: 24px !important;
  padding-bottom: 28px !important;
}

.forum-topic-hero-soft h1 {
  max-width: 1120px !important;
  font-size: clamp(2rem, 3vw, 3rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -.04em !important;
  margin-top: 12px !important;
  margin-bottom: 14px !important;
}

.forum-topic-hero-soft .lead {
  font-size: 1rem !important;
  line-height: 1.45 !important;
  margin-top: 8px !important;
}

@media (max-width: 720px) {
  .forum-topic-hero-soft h1 {
    max-width: none !important;
    font-size: clamp(1.85rem, 8vw, 2.45rem) !important;
    line-height: 1.1 !important;
  }

  .forum-topic-hero-soft {
    padding-top: 20px !important;
    padding-bottom: 24px !important;
  }
}

/* =========================================================
   PARTENAIRES — réduction des espacements sans toucher aux fonds
   ========================================================= */

.partner-public-hero {
  padding-top: 42px !important;
  padding-bottom: 42px !important;
}

.partner-public-hero .product-hero-inner {
  gap: 38px !important;
  align-items: center !important;
}

.partner-public-hero h1 {
  margin-top: 12px !important;
  margin-bottom: 16px !important;
  font-size: clamp(2.35rem, 4.2vw, 4rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -.052em !important;
}

.partner-public-hero .lead {
  margin-top: 0 !important;
  margin-bottom: 20px !important;
  max-width: 760px !important;
}

.partner-public-hero .button-row {
  margin-top: 18px !important;
}

.partner-types {
  padding-top: 28px !important;
  padding-bottom: 34px !important;
}

.partners-section {
  padding-top: 40px !important;
  padding-bottom: 42px !important;
}

.partner-method {
  padding-top: 40px !important;
  padding-bottom: 46px !important;
}

.partner-showcase,
.dynamic-partners {
  gap: 18px !important;
}

.partner-card,
.partner-type,
.partner-type-link {
  border-radius: 22px !important;
}

@media (max-width: 720px) {
  .partner-public-hero {
    padding-top: 28px !important;
    padding-bottom: 34px !important;
  }

  .partner-public-hero h1 {
    font-size: clamp(2.05rem, 9vw, 2.9rem) !important;
  }

  .partner-types,
  .partners-section,
  .partner-method {
    padding-top: 28px !important;
    padding-bottom: 32px !important;
  }
}

/* =========================================================
   PARTENAIRES — réduction finale espace haut du hero
   ========================================================= */

.partner-public-hero,
.product-hero.partner-public-hero,
.theme-dark .partner-public-hero {
  padding-top: 24px !important;
  padding-bottom: 38px !important;
}

.partner-public-hero .badge {
  margin-top: 0 !important;
  margin-bottom: 14px !important;
}

.partner-public-hero h1 {
  margin-top: 0 !important;
}

@media (max-width: 720px) {
  .partner-public-hero,
  .product-hero.partner-public-hero,
  .theme-dark .partner-public-hero {
    padding-top: 18px !important;
    padding-bottom: 30px !important;
  }
}

/* =========================================================
   PARTENAIRES — correction vraie classe hero
   ========================================================= */

.partners-hero {
  padding-top: 24px !important;
  padding-bottom: 34px !important;
}

.partners-hero .product-hero-inner {
  gap: 36px !important;
  align-items: center !important;
}

.partners-hero .badge {
  margin-top: 0 !important;
  margin-bottom: 12px !important;
}

.partners-hero h1 {
  margin-top: 0 !important;
  margin-bottom: 14px !important;
  font-size: clamp(2.35rem, 4vw, 3.85rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -.052em !important;
}

.partners-hero .lead {
  margin-top: 0 !important;
  margin-bottom: 18px !important;
  max-width: 760px !important;
}

.partners-hero .button-row {
  margin-top: 16px !important;
}

.partners-hero .product-hero-card {
  margin-top: 0 !important;
}

.partner-types.dynamic-partners {
  padding-top: 26px !important;
  padding-bottom: 34px !important;
}

.partners-section {
  padding-top: 34px !important;
  padding-bottom: 36px !important;
}

.partner-method {
  padding-top: 34px !important;
  padding-bottom: 44px !important;
}

@media (max-width: 720px) {
  .partners-hero {
    padding-top: 18px !important;
    padding-bottom: 28px !important;
  }

  .partners-hero h1 {
    font-size: clamp(2rem, 9vw, 2.8rem) !important;
  }

  .partner-types.dynamic-partners,
  .partners-section,
  .partner-method {
    padding-top: 24px !important;
    padding-bottom: 30px !important;
  }
}

/* =========================================================
   PARTENAIRES — modale proposition partenariat
   ========================================================= */

.partners-contact-modal[hidden] {
  display: none !important;
}

.partners-contact-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
}

.partners-contact-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, .64);
  backdrop-filter: blur(4px);
}

.partners-contact-modal-card {
  position: relative;
  width: min(780px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  background:
    radial-gradient(circle at 90% 0%, rgba(14,165,233,.10), transparent 30%),
    #ffffff;
  color: #0f172a;
  border-radius: 30px;
  padding: 30px;
  box-shadow: 0 40px 120px rgba(2, 6, 23, .34);
  border: 1px solid rgba(148, 163, 184, .32);
}

.partners-contact-modal-card h2 {
  margin: 14px 0 10px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -.05em;
}

.partners-contact-modal-card p {
  margin: 0 0 22px;
  color: #475569;
  line-height: 1.6;
}

.partners-contact-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, .36);
  background: #f8fafc;
  color: #0f172a;
  font-size: 1.6rem;
  font-weight: 900;
  cursor: pointer;
}

.partners-contact-form {
  display: grid;
  gap: 16px;
}

.partners-contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.partners-contact-form input,
.partners-contact-form textarea,
.partners-contact-form select {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, .42);
  border-radius: 16px;
  padding: 13px 15px;
  font: inherit;
  background: #f8fafc;
  color: #0f172a;
}

.partners-contact-alert-wrap {
  position: fixed !important;
  top: 86px;
  right: 24px;
  z-index: 9500;
  width: min(440px, calc(100vw - 32px));
  padding: 0 !important;
  animation: partnersToastIn .28s ease-out both;
}

.partners-contact-alert-wrap .site-alert {
  margin: 0 !important;
  border-radius: 18px !important;
  padding: 16px 18px !important;
  font-weight: 900 !important;
  box-shadow: 0 24px 80px rgba(15, 23, 42, .18);
}

.partners-contact-alert-wrap .site-alert.success {
  background: #ecfdf5 !important;
  border: 1px solid #10b981 !important;
  color: #065f46 !important;
}

.partners-contact-alert-wrap .site-alert.error {
  background: #fef2f2 !important;
  border: 1px solid #ef4444 !important;
  color: #991b1b !important;
}

.partners-contact-alert-wrap.is-hiding {
  animation: partnersToastOut .42s ease-in both;
}

@keyframes partnersToastIn {
  from {
    opacity: 0;
    transform: translateY(-12px) scale(.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes partnersToastOut {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(-10px) scale(.98);
  }
}

@media (max-width: 720px) {
  .partners-contact-modal {
    padding: 14px;
  }

  .partners-contact-modal-card {
    padding: 24px;
    border-radius: 24px;
  }

  .partners-contact-alert-wrap {
    top: 74px;
    right: 16px;
    left: 16px;
    width: auto;
  }
}

/* =========================================================
   PARTENAIRES — cartes directes + fiche en modale
   ========================================================= */

.partner-types.dynamic-partners {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
  gap: 18px !important;
}

.partner-modal-card {
  width: 100%;
  border: 1px solid var(--dark-border);
  text-align: left;
  color: inherit;
  cursor: pointer;
  font: inherit;
}

.partner-modal-card em {
  display: inline-flex;
  margin-top: 18px;
  color: #67e8f9;
  font-style: normal;
  font-weight: 900;
}

.partner-modal-card:hover em {
  color: #ffffff;
}

.partner-detail-modal[hidden] {
  display: none !important;
}

.partner-detail-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
}

.partner-detail-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, .66);
  backdrop-filter: blur(4px);
}

.partner-detail-modal-card {
  position: relative;
  width: min(860px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  background:
    radial-gradient(circle at 90% 0%, rgba(14,165,233,.10), transparent 30%),
    #ffffff;
  color: #0f172a;
  border-radius: 30px;
  padding: 30px;
  box-shadow: 0 40px 120px rgba(2, 6, 23, .34);
  border: 1px solid rgba(148, 163, 184, .32);
}

.partner-detail-modal-card h2 {
  margin: 14px 0 10px;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1;
  letter-spacing: -.05em;
  color: #0f172a;
}

.partner-detail-baseline {
  margin: 0 0 22px;
  max-width: 760px;
  color: #475569;
  line-height: 1.6;
  font-weight: 700;
}

.partner-detail-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0;
}

.partner-detail-meta div {
  padding: 14px 16px;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid rgba(148, 163, 184, .28);
}

.partner-detail-meta span {
  display: block;
  margin-bottom: 5px;
  color: #64748b;
  font-size: .75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.partner-detail-meta strong,
.partner-detail-meta a {
  color: #0f172a;
  font-weight: 900;
}

.partner-detail-content {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.partner-detail-content h3 {
  margin: 0 0 8px;
  color: #0f172a;
  font-size: 1.35rem;
  letter-spacing: -.035em;
}

.partner-detail-content div {
  color: #334155;
  line-height: 1.72;
  white-space: pre-line;
}

.partner-detail-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.partner-detail-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, .36);
  background: #f8fafc;
  color: #0f172a;
  font-size: 1.6rem;
  font-weight: 900;
  cursor: pointer;
}

@media (max-width: 720px) {
  .partner-detail-modal {
    padding: 14px;
  }

  .partner-detail-modal-card {
    padding: 24px;
    border-radius: 24px;
  }

  .partner-detail-meta {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   PARTENAIRES — suppression répétitions / enchaînement plus propre
   ========================================================= */

.partner-types.dynamic-partners {
  padding-bottom: 26px !important;
}

.partner-method {
  padding-top: 26px !important;
}

.partners-hero .product-hero-card strong {
  text-wrap: balance;
}

@media (max-width: 720px) {
  .partner-types.dynamic-partners {
    padding-bottom: 22px !important;
  }

  .partner-method {
    padding-top: 22px !important;
  }
}

/* =========================================================
   CONTACT — page publique orientée visiteurs
   ========================================================= */

.contact-hero-public {
  padding-top: 34px !important;
  padding-bottom: 38px !important;
}

.contact-hero-public .product-hero-inner {
  gap: 42px !important;
  align-items: center !important;
}

.contact-hero-public .badge {
  margin-bottom: 14px !important;
}

.contact-hero-public h1 {
  margin-top: 0 !important;
  margin-bottom: 16px !important;
  max-width: 880px !important;
  font-size: clamp(2.45rem, 4.5vw, 4.25rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -.052em !important;
}

.contact-hero-public .lead {
  margin-top: 0 !important;
  max-width: 820px !important;
}

.contact-layout-public {
  padding-top: 36px !important;
  padding-bottom: 44px !important;
}

.contact-panel {
  border-radius: 28px !important;
}

.contact-panel h2 {
  font-size: clamp(2rem, 3.6vw, 3.15rem) !important;
  line-height: 1 !important;
  letter-spacing: -.05em !important;
}

.contact-sidebar-public article {
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.contact-sidebar-public article:hover {
  transform: translateY(-3px);
  border-color: rgba(56,189,248,.46);
  background: rgba(15, 23, 42, .84);
}

.contact-section-public {
  padding-top: 42px !important;
  padding-bottom: 54px !important;
}

.contact-section-public .contact-next {
  align-items: start !important;
}

.contact-section-public h2 {
  max-width: 760px !important;
  text-wrap: balance;
}

@media (max-width: 720px) {
  .contact-hero-public {
    padding-top: 24px !important;
    padding-bottom: 30px !important;
  }

  .contact-hero-public h1 {
    font-size: clamp(2rem, 9vw, 2.9rem) !important;
  }

  .contact-layout-public {
    padding-top: 28px !important;
    padding-bottom: 34px !important;
  }

  .contact-section-public {
    padding-top: 30px !important;
    padding-bottom: 40px !important;
  }
}

/* =========================================================
   CONTACT — formulaire légèrement plus visible
   ========================================================= */

.contact-layout-public .contact-panel {
  background:
    linear-gradient(180deg, rgba(22, 38, 64, .98), rgba(17, 31, 54, .96)) !important;
  border-color: rgba(96, 165, 250, .34) !important;
  box-shadow:
    0 28px 90px rgba(2, 6, 23, .28),
    inset 0 1px 0 rgba(255, 255, 255, .04) !important;
}

.contact-layout-public .contact-form input,
.contact-layout-public .contact-form select,
.contact-layout-public .contact-form textarea {
  background: rgba(8, 18, 32, .92) !important;
  border-color: rgba(148, 163, 184, .36) !important;
}

.contact-layout-public .contact-form input:focus,
.contact-layout-public .contact-form select:focus,
.contact-layout-public .contact-form textarea:focus {
  background: rgba(10, 24, 42, .98) !important;
  border-color: rgba(56, 189, 248, .72) !important;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, .12) !important;
}

.contact-layout-public .contact-panel .badge {
  background: rgba(56, 189, 248, .10) !important;
  border-color: rgba(56, 189, 248, .32) !important;
}

/* =========================================================
   ACCUEIL — équilibrage doux du grand titre
   ========================================================= */

.home-hero .home-hero-content {
  max-width: 830px;
}

.home-hero h1 {
  max-width: 790px;
  line-height: 1.06 !important;
  letter-spacing: -0.045em !important;
  text-wrap: balance;
}

@media (min-width: 980px) {
  .home-hero h1 {
    font-size: clamp(3.25rem, 5.2vw, 4.7rem) !important;
  }
}

@media (max-width: 720px) {
  .home-hero .home-hero-content {
    max-width: 100%;
  }

  .home-hero h1 {
    max-width: 100%;
    line-height: 1.08 !important;
    letter-spacing: -0.035em !important;
  }
}


/* =========================================================
   ACCUEIL — remontée douce du contenu hero
   ========================================================= */

@media (min-width: 900px) {
  .home-hero-inner {
    transform: translateY(-18px);
  }
}

@media (max-width: 899px) {
  .home-hero-inner {
    transform: none;
  }
}


/* =========================================================
   ADMIN — ergonomie liste logiciels
   ========================================================= */

.admin-software-list {
  display: grid;
  gap: 20px;
}

.admin-software-card {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 24px;
  align-items: stretch;
  padding: 28px !important;
}

.admin-software-main {
  min-width: 0;
}

.admin-software-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.admin-software-heading h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.admin-software-excerpt {
  max-width: 760px;
  margin: 0 0 18px;
  color: var(--dark-muted);
  line-height: 1.62;
}

.admin-software-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.admin-software-meta-grid div {
  min-width: 0;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(7, 17, 31, .72);
  border: 1px solid rgba(148, 163, 184, .20);
}

.admin-software-meta-grid span {
  display: block;
  margin-bottom: 5px;
  color: #67e8f9;
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .10em;
}

.admin-software-meta-grid strong {
  display: block;
  color: var(--dark-text);
  font-size: .9rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.admin-software-actions {
  display: grid;
  align-content: start;
  gap: 10px;
}

.admin-software-actions .button,
.admin-software-actions form,
.admin-software-actions button {
  width: 100%;
}

.admin-software-actions .button {
  justify-content: center;
}

.admin-form-subblock {
  display: grid;
  gap: 12px;
  margin: 18px 0;
  padding: 18px;
  border-radius: 20px;
  background: rgba(7, 17, 31, .66);
  border: 1px solid rgba(148, 163, 184, .22);
}

.admin-form-subblock h3 {
  margin: 0;
  font-size: 1.15rem;
}

.admin-form-subblock p {
  margin: 0;
  color: var(--dark-muted);
  line-height: 1.55;
}

.admin-check-field {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: flex-start;
  gap: 10px !important;
  padding: 12px;
  border-radius: 14px;
  background: rgba(15, 23, 42, .78);
  border: 1px solid rgba(148, 163, 184, .20);
  cursor: pointer;
}

.admin-check-field input {
  width: auto !important;
  margin-top: 3px;
}

.admin-check-field span {
  color: var(--dark-text);
  font-weight: 800;
  line-height: 1.35;
}

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

  .admin-software-meta-grid {
    grid-template-columns: 1fr;
  }

  .admin-software-actions {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   MACHINE — fiche détail propre
   ========================================================= */

.machine-detail-hero {
  padding-top: 42px !important;
  padding-bottom: 34px !important;
}

.machine-detail-hero-inner {
  gap: 44px !important;
  align-items: center !important;
}

.machine-detail-hero .machine-back {
  margin-bottom: 14px !important;
}

.machine-detail-hero h1 {
  margin-top: 16px !important;
  margin-bottom: 14px !important;
  text-wrap: balance;
}

.machine-detail-hero .lead {
  margin-bottom: 0 !important;
  max-width: 760px !important;
}

.machine-detail-hero .machine-public-meta {
  margin-top: 22px !important;
}

.machine-detail-layout {
  padding-top: 30px !important;
  padding-bottom: 68px !important;
}

.machine-detail-card {
  padding: 38px !important;
}

.machine-detail-card h2:not(:first-child) {
  margin-top: 34px !important;
}

.machine-detail-side {
  margin-top: 0 !important;
  overflow: hidden;
}

.machine-detail-side-image {
  display: block;
  width: 100%;
  max-height: 230px;
  object-fit: contain;
  margin: 0 0 20px;
  padding: 14px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, .24);
}

.machine-detail-side .machine-detail-quote {
  display: inline-flex !important;
  width: 100%;
  justify-content: center;
  margin-top: 18px !important;
  color: #03111f !important;
}

.machine-detail-request-card .button {
  margin-top: 4px;
}

@media (max-width: 720px) {
  .machine-detail-hero {
    padding-top: 28px !important;
    padding-bottom: 28px !important;
  }

  .machine-detail-layout {
    padding-top: 26px !important;
    padding-bottom: 48px !important;
  }

  .machine-detail-card {
    padding: 28px !important;
  }

  .machine-detail-side-image {
    max-height: 210px;
  }
}


/* =========================================================
   MACHINE — modale devis
   ========================================================= */

.machine-quote-modal[hidden] {
  display: none;
}

.machine-quote-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
}

.machine-quote-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 17, 31, .78);
  backdrop-filter: blur(8px);
}

.machine-quote-modal-card {
  position: relative;
  width: min(760px, 100%);
  max-height: min(90vh, 900px);
  overflow: auto;
  background:
    linear-gradient(180deg, rgba(17,31,54,.98), rgba(15,29,51,.96));
  border: 1px solid var(--dark-border);
  border-radius: 28px;
  padding: 34px;
  box-shadow: 0 35px 110px rgba(0, 0, 0, .42);
}

.machine-quote-modal-card h2 {
  margin: 14px 0 12px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
}

.machine-quote-modal-card p {
  color: var(--dark-muted);
  line-height: 1.65;
}

.machine-quote-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--dark-border);
  border-radius: 999px;
  background: rgba(7, 17, 31, .8);
  color: var(--dark-text);
  font-size: 26px;
  cursor: pointer;
}

.machine-quote-form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.machine-quote-form label {
  display: grid;
  gap: 8px;
  color: var(--dark-muted);
  font-weight: 800;
}

.machine-quote-form input,
.machine-quote-form textarea {
  width: 100%;
  border: 1px solid var(--dark-border);
  border-radius: 16px;
  background: #07111f;
  color: var(--dark-text);
  padding: 14px 15px;
  font: inherit;
  outline: none;
}

.machine-quote-form input[readonly] {
  opacity: .85;
  cursor: not-allowed;
}

.machine-quote-form input:focus,
.machine-quote-form textarea:focus {
  border-color: rgba(56,189,248,.65);
}

.machine-quote-form textarea {
  resize: vertical;
  min-height: 150px;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 720px) {
  .machine-quote-modal {
    padding: 14px;
  }

  .machine-quote-modal-card {
    padding: 26px;
    border-radius: 24px;
  }
}


/* =========================================================
   ADMIN — classement manuel machines
   ========================================================= */

.admin-machine-actions {
  display: grid;
  gap: 10px;
}

.admin-machine-move-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.admin-machine-move-actions form {
  margin: 0;
}

.admin-machine-move-actions .button,
.admin-machine-actions > .button {
  width: 100%;
  justify-content: center;
}


/* =========================================================
   PARTENAIRES — logos administrables
   ========================================================= */

.admin-partner-content-card {
  grid-template-columns: 104px minmax(0, 1fr) auto;
  align-items: center;
}

.admin-partner-logo-preview {
  width: 82px;
  height: 82px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, .35);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #0f172a;
  font-weight: 900;
  font-size: 13px;
  text-align: center;
  padding: 8px;
}

.admin-partner-logo-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.partner-card-logo-image,
.partner-card-logo-fallback {
  width: 100%;
  height: 96px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, .28);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  overflow: hidden;
}

.partner-card-logo-image img {
  max-width: 82%;
  max-height: 70px;
  object-fit: contain;
}

.partner-card-logo-fallback {
  color: #0f172a;
  font-weight: 900;
  font-size: 20px;
  letter-spacing: .04em;
}

.partner-detail-logo-wrap {
  width: 180px;
  min-height: 92px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid #dbe3ee;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  margin-bottom: 20px;
}

.partner-detail-logo-wrap img {
  max-width: 100%;
  max-height: 78px;
  object-fit: contain;
}

@media (max-width: 760px) {
  .admin-partner-content-card {
    grid-template-columns: 1fr;
  }

  .admin-partner-logo-preview {
    width: 100%;
    max-width: 180px;
  }
}


/* =========================================================
   ASSISTANT IA FORUM — bulle discrète
   ========================================================= */

.forum-ai-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9999;
  font-family: inherit;
}

.forum-ai-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(15, 23, 42, .94);
  color: #fff;
  border-radius: 999px;
  padding: 10px 14px 10px 10px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, .28);
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.forum-ai-button-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #f97316;
  color: #fff;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: -.03em;
}

.forum-ai-button-text {
  font-weight: 800;
  font-size: 14px;
}

.forum-ai-panel {
  position: absolute;
  right: 0;
  bottom: 62px;
  width: min(390px, calc(100vw - 28px));
  height: min(620px, calc(100vh - 110px));
  display: none;
  flex-direction: column;
  overflow: hidden;
  border-radius: 24px;
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 28px 80px rgba(15, 23, 42, .30);
  border: 1px solid rgba(15, 23, 42, .10);
}

.forum-ai-widget.is-open .forum-ai-panel {
  display: flex;
}

.forum-ai-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
  color: #fff;
}

.forum-ai-head strong {
  display: block;
  font-size: 15px;
  line-height: 1.2;
}

.forum-ai-head span {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  opacity: .78;
}

.forum-ai-close {
  border: 0;
  background: rgba(255,255,255,.12);
  color: #fff;
  border-radius: 999px;
  width: 34px;
  height: 34px;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.forum-ai-body {
  flex: 1;
  overflow: auto;
  padding: 16px;
  background: #f8fafc;
}

.forum-ai-message {
  margin-bottom: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.48;
}

.forum-ai-message-bot {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, .08);
  box-shadow: 0 8px 22px rgba(15, 23, 42, .05);
}

.forum-ai-message-user {
  margin-left: 34px;
  background: #0f172a;
  color: #ffffff;
}

.forum-ai-form {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-top: 1px solid rgba(15, 23, 42, .08);
  background: #ffffff;
}

.forum-ai-input {
  width: 100%;
  resize: none;
  border: 1px solid rgba(15, 23, 42, .15);
  border-radius: 14px;
  padding: 11px 12px;
  font: inherit;
  font-size: 14px;
  outline: none;
}

.forum-ai-input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}

.forum-ai-send {
  border: 0;
  border-radius: 14px;
  padding: 11px 14px;
  background: #f97316;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.forum-ai-form.is-loading .forum-ai-send {
  opacity: .65;
  cursor: wait;
}

.forum-ai-resources {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(15, 23, 42, .08);
}

.forum-ai-resources-title {
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 900;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.forum-ai-resource {
  display: block;
  text-decoration: none;
  color: #0f172a;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 14px;
  padding: 10px 11px;
  margin-top: 7px;
}

.forum-ai-resource span {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: #2563eb;
  margin-bottom: 3px;
}

.forum-ai-resource strong {
  display: block;
  font-size: 13px;
  line-height: 1.35;
}

@media (max-width: 640px) {
  .forum-ai-widget {
    right: 14px;
    bottom: 14px;
  }

  .forum-ai-button-text {
    display: none;
  }

  .forum-ai-panel {
    right: -2px;
    bottom: 58px;
    width: calc(100vw - 24px);
    height: min(620px, calc(100vh - 92px));
    border-radius: 22px;
  }
}

/* =========================================================
   PUBLICATIONS — bloc À la une propre
   ========================================================= */

.publication-featured-v2 {
  padding-top: 44px !important;
  padding-bottom: 8px !important;
}

.publication-featured-v2 .container {
  max-width: 980px;
}

.publication-featured-card-v2 {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr) !important;
  gap: 0 !important;
  max-width: 980px;
  margin: 0 auto;
  border-radius: 26px !important;
}

.publication-featured-text-v2 {
  padding: 34px 36px !important;
}

.publication-featured-text-v2 h2 {
  font-size: clamp(1.75rem, 3vw, 2.85rem) !important;
  line-height: 1.04 !important;
  letter-spacing: -.045em !important;
  max-width: 620px;
}

.publication-featured-text-v2 p {
  max-width: 600px !important;
  line-height: 1.55 !important;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.publication-featured-image-v2 {
  min-height: 300px !important;
  background: #f8fafc !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 14px;
}

.publication-featured-image-v2 img {
  width: 100% !important;
  height: 100% !important;
  max-height: 300px;
  object-fit: contain !important;
  object-position: center !important;
  border-radius: 18px;
}

.publication-card-v2.is-featured-duplicate[hidden] {
  display: none !important;
}

@media (max-width: 900px) {
  .publication-featured-card-v2 {
    grid-template-columns: 1fr !important;
  }

  .publication-featured-image-v2 {
    min-height: 220px !important;
  }

  .publication-featured-image-v2 img {
    max-height: 240px;
  }
}
/* =========================================================
   ARTICLE DETAIL — mode lecture magazine final
   ========================================================= */

.article-public-hero {
  padding: 34px 0 18px !important;
}

.article-public-hero .container,
.article-cover-wrap,
.article-public-layout,
.article-bottom-soft-cta {
  max-width: 1120px !important;
}

.article-public-hero h1 {
  max-width: 860px !important;
  font-size: clamp(2.05rem, 4vw, 3.45rem) !important;
  line-height: 1.04 !important;
  letter-spacing: -.045em !important;
  margin: 12px 0 12px !important;
}

.article-public-hero .lead {
  max-width: 860px !important;
  font-size: 1.08rem !important;
  line-height: 1.65 !important;
  color: #334155 !important;
}

.article-soft-meta {
  margin-top: 18px !important;
  gap: 10px !important;
}

.article-soft-meta span {
  padding: 9px 14px !important;
  font-size: .92rem !important;
}

.article-cover-wrap {
  margin-top: 10px !important;
}

.article-cover {
  border-radius: 24px !important;
  overflow: hidden !important;
  box-shadow: 0 22px 70px rgba(15, 23, 42, .13) !important;
}

.article-cover img {
  width: 100% !important;
  height: clamp(240px, 34vw, 390px) !important;
  object-fit: contain !important;
  object-position: center center !important;
  background: var(--light-bg, #f6f8fb) !important;
}

.article-public-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 760px) 270px !important;
  gap: 36px !important;
  align-items: start !important;
  margin-top: 34px !important;
}

.article-public-card {
  padding: 42px 52px !important;
  border-radius: 28px !important;
  background: rgba(255, 255, 255, .96) !important;
  box-shadow: 0 20px 70px rgba(15, 23, 42, .08) !important;
}

.article-content-html {
  max-width: 680px !important;
  margin: 0 auto !important;
  font-size: 1.075rem !important;
  line-height: 1.82 !important;
  color: #111827 !important;
}

/* Les imports WordPress contiennent parfois des H1 dans le corps d'article.
   On les ramène au niveau d'un titre de section lisible. */
.article-content-html h1,
.article-content-html h2 {
  margin: 2.15em 0 .75em !important;
  font-size: clamp(1.55rem, 2.3vw, 2.25rem) !important;
  line-height: 1.18 !important;
  letter-spacing: -.03em !important;
  color: #06111f !important;
}

.article-content-html h3 {
  margin: 1.75em 0 .65em !important;
  font-size: clamp(1.28rem, 1.8vw, 1.65rem) !important;
  line-height: 1.25 !important;
  letter-spacing: -.02em !important;
  color: #102033 !important;
}

.article-content-html h4 {
  margin: 1.45em 0 .55em !important;
  font-size: 1.15rem !important;
  line-height: 1.35 !important;
}

.article-content-html p {
  margin: 0 0 1.15em !important;
}

.article-content-html ul,
.article-content-html ol {
  margin: .4em 0 1.3em !important;
  padding-left: 1.35em !important;
}

.article-content-html li {
  margin: .45em 0 !important;
  line-height: 1.75 !important;
}

.article-content-html blockquote {
  margin: 1.8em 0 !important;
  padding: 20px 24px !important;
  border-radius: 18px !important;
  background: #f3f7ff !important;
  border-left: 5px solid #2563eb !important;
  color: #1e293b !important;
}

.article-content-html img {
  border-radius: 18px !important;
  margin: 22px auto !important;
  box-shadow: 0 16px 45px rgba(15, 23, 42, .10) !important;
}

.article-public-side-soft {
  position: sticky !important;
  top: 96px !important;
  padding: 24px !important;
  border-radius: 24px !important;
  box-shadow: 0 18px 60px rgba(15, 23, 42, .08) !important;
}

.article-public-side-soft h3 {
  font-size: 1.45rem !important;
  margin-bottom: 18px !important;
}

.article-side-soft-block {
  padding: 14px 0 !important;
}

.article-side-soft-links {
  gap: 10px !important;
}

.article-side-soft-links a,
.article-side-soft-links button {
  padding: 12px 14px !important;
  border-radius: 14px !important;
  font-size: .95rem !important;
}

.article-bottom-soft-cta {
  margin-top: 36px !important;
  margin-bottom: 54px !important;
  border-radius: 26px !important;
}

@media (max-width: 980px) {
  .article-public-layout {
    grid-template-columns: 1fr !important;
    max-width: 820px !important;
  }

  .article-public-side-soft {
    position: static !important;
  }

  .article-public-card {
    padding: 34px 32px !important;
  }

  .article-content-html {
    max-width: 100% !important;
  }
}

@media (max-width: 640px) {
  .article-public-hero {
    padding-top: 24px !important;
  }

  .article-public-hero h1 {
    font-size: clamp(1.75rem, 9vw, 2.35rem) !important;
  }

  .article-cover img {
    height: 220px !important;
  }

  .article-public-card {
    padding: 28px 22px !important;
    border-radius: 22px !important;
  }

  .article-content-html {
    font-size: 1.02rem !important;
    line-height: 1.75 !important;
  }

  .article-content-html h1,
  .article-content-html h2 {
    font-size: 1.55rem !important;
  }

  .article-content-html h3 {
    font-size: 1.28rem !important;
  }
}


/* =========================================================
   ACCUEIL — icônes rubriques vivantes
   ========================================================= */

.panel-line-with-icon {
  display: grid !important;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.home-panel-icon-img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  border-radius: 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.pillar-card-with-icon {
  position: relative;
}

.pillar-card-img-icon {
  width: 64px;
  height: 54px;
  object-fit: contain;
  display: block;
  margin: 4px 0 16px;
  border-radius: 16px;
  padding: 7px;
  background: rgba(14, 165, 233, .10);
  border: 1px solid rgba(14, 165, 233, .22);
  box-shadow: 0 14px 34px rgba(15, 23, 42, .10);
}

@media (max-width: 720px) {
  .panel-line-with-icon {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
  }

  .home-panel-icon-img {
    width: 58px;
    height: 58px;
  }

  .pillar-card-img-icon {
    width: 56px;
    height: 48px;
  }
}

/* =========================================================
   ACCUEIL — icônes bloc "Une rubrique pour chaque besoin"
   ========================================================= */

.value-item-with-icon {
  display: grid !important;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.value-item-icon-img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: block;
  border: none;
  background: transparent;
  box-shadow: none;
}

.value-item-content {
  min-width: 0;
}

.value-item-content strong {
  display: block;
}

@media (max-width: 720px) {
  .value-item-with-icon {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
  }

  .value-item-icon-img {
    width: 46px;
    height: 46px;
  }
}

/* =========================================================
   LOGICIELS — visuels logos dans les cartes
   ========================================================= */

.software-card-visual {
  min-height: 96px;
  margin: 18px 0 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.software-card-visual-logo {
  display: block;
  max-width: 220px;
  max-height: 92px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, .22));
}

.software-card-visual-logo.is-logo-tracktextile,
.software-card-visual-logo.is-logo-exactimer {
  max-width: 230px;
  max-height: 84px;
}

.software-card-visual-logo.is-icon-ai {
  max-width: 110px;
  max-height: 110px;
  opacity: .96;
}

@media (max-width: 720px) {
  .software-card-visual {
    min-height: 76px;
    margin: 14px 0 16px;
    justify-content: flex-start;
  }

  .software-card-visual-logo {
    max-width: 180px;
    max-height: 74px;
  }

  .software-card-visual-logo.is-icon-ai {
    max-width: 86px;
    max-height: 86px;
  }
}

/* =========================================================
   LOGICIELS — image principale administrée
   ========================================================= */

.software-admin-image {
  min-height: 96px;
  margin: 18px 0 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.software-admin-image img {
  display: block;
  max-width: 230px;
  max-height: 96px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, .22));
}

.software-detail-admin-image {
  min-height: 150px;
  padding: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 28px;
  background: rgba(15, 23, 42, .38);
  border: 1px solid rgba(125, 211, 252, .22);
}

.software-detail-admin-image img {
  display: block;
  max-width: 280px;
  max-height: 150px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, .22));
}

@media (max-width: 720px) {
  .software-admin-image {
    min-height: 74px;
    margin: 14px 0 16px;
    justify-content: flex-start;
  }

  .software-admin-image img {
    max-width: 180px;
    max-height: 76px;
  }

  .software-detail-admin-image {
    min-height: 110px;
    padding: 20px;
  }

  .software-detail-admin-image img {
    max-width: 210px;
    max-height: 110px;
  }
}

/* =========================================================
   LOGICIELS — image principale depuis /uploads/media
   ========================================================= */

.software-media-image {
  min-height: 96px;
  margin: 18px 0 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.software-media-image img {
  display: block;
  max-width: 230px;
  max-height: 96px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, .22));
}

.software-detail-media-image {
  min-height: 150px;
  padding: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 28px;
  background: rgba(15, 23, 42, .38);
  border: 1px solid rgba(125, 211, 252, .22);
}

.software-detail-media-image img {
  display: block;
  max-width: 280px;
  max-height: 150px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, .22));
}

@media (max-width: 720px) {
  .software-media-image {
    min-height: 74px;
    margin: 14px 0 16px;
    justify-content: flex-start;
  }

  .software-media-image img {
    max-width: 180px;
    max-height: 76px;
  }

  .software-detail-media-image {
    min-height: 110px;
    padding: 20px;
  }

  .software-detail-media-image img {
    max-width: 210px;
    max-height: 110px;
  }
}

/* =========================================================
   LOGICIELS — actions des cartes empilées proprement
   ========================================================= */

.software-actions-inline {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.software-actions-inline .software-link,
.software-actions-inline .software-demo-inline {
  display: inline-flex;
  width: fit-content;
}

/* =========================================================
   ADMIN — Suivi IA lisible
   ========================================================= */

.admin-ai-readable-page {
  max-width: 1180px;
  margin: 0 auto;
}

.admin-ai-page-header {
  margin-bottom: 28px;
}

.admin-ai-readable-list {
  display: grid;
  gap: 22px;
}

.admin-ai-readable-card {
  background: rgba(15, 30, 55, .96);
  border: 1px solid rgba(148, 163, 184, .28);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .18);
}

.admin-ai-readable-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(148, 163, 184, .18);
}

.admin-ai-readable-title-zone {
  min-width: 0;
  flex: 1;
}

.admin-ai-readable-title-zone h2 {
  margin: 8px 0 10px;
  max-width: 900px;
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.admin-ai-readable-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  font-size: 13px;
  color: rgba(226, 232, 240, .75);
}

.admin-ai-delete-button {
  white-space: nowrap;
}

.admin-ai-readable-section {
  margin-top: 18px;
}

.admin-ai-readable-section h3 {
  margin: 0 0 8px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #38bdf8;
}

.admin-ai-readable-box {
  background: rgba(2, 8, 23, .42);
  border: 1px solid rgba(148, 163, 184, .16);
  border-radius: 14px;
  padding: 15px 16px;
  color: rgba(248, 250, 252, .92);
  font-size: 15px;
  line-height: 1.65;
  white-space: normal;
  overflow-wrap: anywhere;
}

.admin-ai-answer-box {
  background: rgba(3, 20, 38, .62);
}

.admin-ai-readable-resources {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  color: rgba(226, 232, 240, .88);
  font-size: 14px;
  line-height: 1.45;
}

.admin-ai-readable-resources li {
  padding-left: 4px;
}

@media (max-width: 760px) {
  .admin-ai-readable-card {
    padding: 18px;
  }

  .admin-ai-readable-card-header {
    flex-direction: column;
  }

  .admin-ai-readable-title-zone h2 {
    font-size: 20px;
  }
}

/* =========================================================
   BOUTIQUE FORUM — version premium preview
   ========================================================= */

.shop-pro-hero {
  padding: 92px 0 72px;
  background:
    radial-gradient(circle at 12% 8%, rgba(56, 189, 248, .25), transparent 34%),
    radial-gradient(circle at 88% 12%, rgba(15, 23, 42, .35), transparent 30%),
    linear-gradient(135deg, #07111f 0%, #0d1c32 48%, #10233c 100%);
  color: #fff;
}

.shop-pro-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, .55fr);
  gap: 34px;
  align-items: stretch;
}

.shop-pro-hero-copy h1 {
  max-width: 880px;
  margin: 18px 0;
  font-size: clamp(2.55rem, 6vw, 5.6rem);
  line-height: .92;
  letter-spacing: -0.07em;
}

.shop-pro-hero-copy .lead {
  max-width: 850px;
  color: rgba(255,255,255,.78);
  font-size: 1.16rem;
}

.shop-pro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.shop-pro-hero-panel {
  border: 1px solid rgba(148, 163, 184, .25);
  background: rgba(3, 10, 22, .68);
  box-shadow: 0 24px 80px rgba(0,0,0,.32);
  border-radius: 28px;
  padding: 30px;
  align-self: end;
}

.shop-pro-hero-panel span,
.shop-pro-featured-card span,
.shop-pro-card-body span {
  display: block;
  color: #38bdf8;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 800;
}

.shop-pro-hero-panel strong {
  display: block;
  margin-top: 8px;
  font-size: 1.8rem;
  line-height: 1.05;
}

.shop-pro-hero-panel p {
  color: rgba(255,255,255,.72);
}

.shop-pro-mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 22px;
}

.shop-pro-mini-stats div {
  border: 1px solid rgba(148, 163, 184, .2);
  background: rgba(255,255,255,.06);
  border-radius: 18px;
  padding: 14px;
}

.shop-pro-mini-stats b {
  display: block;
  font-size: 1.45rem;
  color: #38bdf8;
}

.shop-pro-mini-stats small {
  color: rgba(255,255,255,.66);
}

.shop-pro-trust {
  padding: 34px 0;
  background: #f8fafc;
}

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

.shop-pro-trust article {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, .06);
}

.shop-pro-trust span {
  color: #38bdf8;
  font-weight: 900;
}

.shop-pro-trust h2 {
  margin: 8px 0;
  font-size: 1.25rem;
}

.shop-pro-trust p {
  color: #475569;
  margin: 0;
}

.shop-pro-featured,
.shop-pro-catalogue,
.shop-product-main {
  padding: 64px 0;
  background: #f8fafc;
}

.shop-pro-section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 26px;
}

.shop-pro-section-head h2 {
  margin: 8px 0 0;
  color: #0f172a;
  font-size: clamp(1.9rem, 3vw, 3rem);
  letter-spacing: -0.04em;
}

.shop-pro-section-head p {
  max-width: 560px;
  color: #64748b;
}

.shop-pro-featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.shop-pro-featured-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-decoration: none;
  color: #0f172a;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 26px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, .07);
  transition: transform .18s ease, box-shadow .18s ease;
}

.shop-pro-featured-card:hover,
.shop-pro-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 70px rgba(15, 23, 42, .13);
}

.shop-pro-featured-card img {
  width: 100%;
  height: 210px;
  object-fit: contain;
  background: #fff;
  padding: 18px;
}

.shop-pro-featured-card div {
  padding: 22px;
}

.shop-pro-featured-card h3,
.shop-pro-card h3 {
  margin: 8px 0;
  color: #0f172a;
  line-height: 1.1;
}

.shop-pro-featured-card p,
.shop-pro-card p {
  color: #64748b;
}

.shop-pro-featured-card strong {
  display: inline-flex;
  margin-top: 8px;
  color: #0f172a;
}

.shop-pro-layout {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.shop-pro-sidebar {
  position: sticky;
  top: 24px;
  background: #0f172a;
  color: #fff;
  border-radius: 28px;
  padding: 24px;
  box-shadow: 0 22px 60px rgba(15, 23, 42, .22);
}

.shop-pro-sidebar h2 {
  margin: 10px 0 18px;
}

.shop-pro-sidebar nav {
  display: grid;
  gap: 8px;
}

.shop-pro-sidebar nav a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  color: rgba(255,255,255,.86);
  border: 1px solid rgba(148, 163, 184, .18);
  background: rgba(255,255,255,.05);
  border-radius: 16px;
  padding: 12px 14px;
}

.shop-pro-sidebar nav small {
  color: #38bdf8;
  font-weight: 900;
}

.shop-pro-sidebar-note {
  margin-top: 22px;
  border-top: 1px solid rgba(148, 163, 184, .2);
  padding-top: 18px;
}

.shop-pro-sidebar-note p {
  color: rgba(255,255,255,.68);
}

.shop-pro-sidebar-note a {
  color: #38bdf8;
  font-weight: 800;
}

.shop-pro-results {
  display: grid;
  gap: 56px;
}

.shop-pro-family {
  scroll-margin-top: 24px;
  margin-top: 24px;
}

.shop-pro-family-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 16px;
}

.shop-pro-family-head h3 {
  color: #0f172a;
  font-size: 1.45rem;
  margin: 0;
}

.shop-pro-family-head span {
  color: #64748b;
  font-weight: 800;
}

.shop-pro-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.shop-pro-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 26px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, .07);
  transition: transform .18s ease, box-shadow .18s ease;
}

.shop-pro-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.shop-pro-card-image {
  position: relative;
  height: 215px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
}

.shop-pro-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
}

.shop-pro-card-image > span {
  font-size: 2rem;
  color: #38bdf8;
  font-weight: 900;
}

.shop-pro-card-image em {
  position: absolute;
  left: 14px;
  top: 14px;
  font-style: normal;
  background: #0f172a;
  color: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: .76rem;
  font-weight: 900;
}

.shop-pro-card-body {
  padding: 20px 20px 12px;
}

.shop-pro-card-foot {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  border-top: 1px solid #e2e8f0;
  padding: 16px 20px 20px;
}

.shop-pro-card-foot strong {
  color: #0f172a;
}

.shop-pro-card-foot a {
  color: #0284c7;
  font-weight: 900;
  text-decoration: none;
}

.shop-pro-final-cta {
  padding: 70px 0;
  background: #07111f;
  color: #fff;
}

.shop-pro-final-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.shop-pro-final-inner h2 {
  margin: 8px 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.shop-pro-final-inner p {
  max-width: 760px;
  color: rgba(255,255,255,.72);
}

.shop-product-hero {
  padding: 72px 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(56, 189, 248, .22), transparent 34%),
    linear-gradient(135deg, #07111f 0%, #10233c 100%);
  color: #fff;
}

.shop-product-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
  gap: 30px;
  align-items: end;
}

.shop-product-copy h1 {
  margin: 16px 0;
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  line-height: .95;
  letter-spacing: -0.06em;
}

.shop-product-copy .lead {
  max-width: 820px;
  color: rgba(255,255,255,.76);
}

.shop-product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.shop-product-meta span {
  border: 1px solid rgba(148, 163, 184, .25);
  background: rgba(255,255,255,.06);
  border-radius: 999px;
  padding: 10px 14px;
  color: rgba(255,255,255,.72);
}

.shop-product-meta strong {
  color: #fff;
}

.shop-product-panel {
  border: 1px solid rgba(148, 163, 184, .25);
  background: rgba(3, 10, 22, .68);
  border-radius: 28px;
  padding: 28px;
}

.shop-product-panel span {
  color: #38bdf8;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 900;
  font-size: .78rem;
}

.shop-product-panel strong {
  display: block;
  margin: 10px 0;
  font-size: 1.6rem;
}

.shop-product-panel p {
  color: rgba(255,255,255,.72);
}

.shop-product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}

.shop-product-content {
  display: grid;
  gap: 22px;
}

.shop-product-cover,
.shop-product-card,
.shop-product-side-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 28px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, .07);
}

.shop-product-cover {
  padding: 28px;
}

.shop-product-cover img {
  width: 100%;
  max-height: 560px;
  object-fit: contain;
}

.shop-product-card {
  padding: 30px;
}

.shop-product-card h2 {
  margin: 8px 0 14px;
  color: #0f172a;
  font-size: 2rem;
  letter-spacing: -0.04em;
}

.shop-product-card p {
  color: #475569;
  line-height: 1.75;
}

.shop-product-side {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 18px;
}

.shop-product-side-card {
  padding: 24px;
}

.shop-product-side-card h3 {
  margin-top: 0;
}

.shop-product-side-card p {
  color: #475569;
}

.shop-product-side-card.accent {
  background: #0f172a;
  color: #fff;
  border-color: #0f172a;
}

.shop-product-side-card.accent p {
  color: rgba(255,255,255,.7);
}

.shop-product-side-card.accent a {
  color: #38bdf8;
  font-weight: 900;
}

.shop-product-table-wrap {
  overflow-x: auto;
}

.shop-product-table {
  width: 100%;
  border-collapse: collapse;
}

.shop-product-table th,
.shop-product-table td {
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
  padding: 12px;
}

.shop-product-table th {
  color: #0f172a;
}

.shop-product-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.shop-product-gallery img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 12px;
}

@media (max-width: 1100px) {
  .shop-pro-hero-inner,
  .shop-pro-layout,
  .shop-product-hero-inner,
  .shop-product-layout {
    grid-template-columns: 1fr;
  }

  .shop-pro-sidebar,
  .shop-product-side {
    position: static;
  }

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

@media (max-width: 720px) {
  .shop-pro-trust-grid,
  .shop-pro-featured-grid,
  .shop-pro-grid,
  .shop-product-gallery {
    grid-template-columns: 1fr;
  }

  .shop-pro-section-head,
  .shop-pro-final-inner {
    display: block;
  }

  .shop-pro-hero,
  .shop-product-hero {
    padding: 56px 0;
  }
}

/* =========================================================
   ADMIN — édition boutique
   ========================================================= */

.admin-shop-products-table td {
  vertical-align: middle;
}

.admin-shop-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 10px;
  background: #e2e8f0;
  color: #334155;
  font-size: .76rem;
  font-weight: 900;
}

.admin-shop-pill.ok {
  background: #dcfce7;
  color: #166534;
}

.admin-shop-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.admin-shop-actions form {
  margin: 0;
}

.admin-shop-edit-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
}

.admin-shop-edit-main,
.admin-shop-edit-side {
  display: grid;
  gap: 16px;
}

.admin-shop-edit-main label,
.admin-shop-edit-side label {
  display: grid;
  gap: 7px;
}

.admin-shop-edit-main label span,
.admin-shop-edit-side label span {
  font-weight: 800;
  color: #0f172a;
}

.admin-shop-edit-main input,
.admin-shop-edit-main textarea,
.admin-shop-edit-side input,
.admin-shop-edit-side textarea,
.admin-shop-edit-side select {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  padding: 11px 13px;
  font: inherit;
  background: #fff;
}

.admin-shop-edit-main textarea {
  resize: vertical;
}

.admin-shop-edit-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 14px;
}

.admin-shop-image-preview {
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  border-radius: 20px;
  padding: 14px;
}

.admin-shop-image-preview img {
  width: 100%;
  max-height: 240px;
  object-fit: contain;
}

.admin-shop-checkbox {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px !important;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  border-radius: 14px;
  padding: 12px;
}

.admin-shop-checkbox input {
  width: auto !important;
}

.admin-shop-edit-actions {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.admin-shop-technical {
  border-top: 1px solid #e2e8f0;
  margin-top: 8px;
  padding-top: 14px;
  color: #64748b;
  font-size: .9rem;
}

.admin-shop-technical p {
  margin: 6px 0;
}

@media (max-width: 980px) {
  .admin-shop-edit-layout {
    grid-template-columns: 1fr;
  }

  .admin-shop-edit-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   ADMIN BOUTIQUE — correction forte formulaire édition
   ========================================================= */

.admin-shop-edit-page {
  max-width: 1240px;
  margin: 0 auto;
  padding: 48px 24px 72px;
}

.admin-shop-edit-page .admin-hero {
  margin-bottom: 24px;
}

.admin-shop-edit-layout {
  width: 100%;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 380px !important;
  gap: 28px !important;
  align-items: start !important;
}

.admin-shop-edit-layout .admin-module-panel {
  width: auto !important;
  max-width: none !important;
}

.admin-shop-edit-main,
.admin-shop-edit-side {
  display: flex !important;
  flex-direction: column !important;
  gap: 18px !important;
}

.admin-shop-edit-main h2,
.admin-shop-edit-side h2 {
  margin: 0 0 8px;
}

.admin-shop-edit-main label,
.admin-shop-edit-side label {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  width: 100% !important;
  margin: 0 !important;
}

.admin-shop-edit-main label > span,
.admin-shop-edit-side label > span {
  display: block !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: .95rem !important;
}

.admin-shop-edit-main input[type="text"],
.admin-shop-edit-main textarea,
.admin-shop-edit-side input[type="text"],
.admin-shop-edit-side textarea,
.admin-shop-edit-side select {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  border: 1px solid rgba(148, 163, 184, .35) !important;
  border-radius: 14px !important;
  padding: 12px 14px !important;
  background: #ffffff !important;
  color: #0f172a !important;
  font-size: .98rem !important;
  line-height: 1.45 !important;
}

.admin-shop-edit-main textarea {
  resize: vertical !important;
}

.admin-shop-edit-main textarea[name="short_description"] {
  min-height: 120px !important;
}

.admin-shop-edit-main textarea[name="description_text"] {
  min-height: 320px !important;
}

.admin-shop-edit-main textarea[name="admin_note"] {
  min-height: 90px !important;
}

.admin-shop-edit-grid {
  display: grid !important;
  grid-template-columns: 220px minmax(0, 1fr) !important;
  gap: 16px !important;
  width: 100% !important;
}

.admin-shop-image-preview {
  width: 100% !important;
  box-sizing: border-box !important;
  border-radius: 22px !important;
  background: #ffffff !important;
  padding: 18px !important;
  margin-bottom: 6px !important;
}

.admin-shop-image-preview img {
  display: block !important;
  width: 100% !important;
  max-height: 280px !important;
  object-fit: contain !important;
}

.admin-shop-checkbox {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 12px 14px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(148, 163, 184, .25) !important;
  background: rgba(15, 23, 42, .35) !important;
}

.admin-shop-checkbox input {
  width: auto !important;
  min-width: auto !important;
}

.admin-shop-checkbox span {
  color: #ffffff !important;
}

.admin-shop-edit-actions {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 10px !important;
  margin-top: 8px !important;
}

.admin-shop-edit-actions .button {
  width: 100% !important;
  justify-content: center !important;
  text-align: center !important;
}

.admin-shop-technical {
  margin-top: 12px !important;
  padding-top: 16px !important;
  border-top: 1px solid rgba(148, 163, 184, .25) !important;
  color: rgba(255,255,255,.72) !important;
  font-size: .9rem !important;
}

.admin-shop-technical code {
  color: #38bdf8 !important;
  word-break: break-all !important;
}

@media (max-width: 1050px) {
  .admin-shop-edit-layout {
    grid-template-columns: 1fr !important;
  }

  .admin-shop-edit-grid {
    grid-template-columns: 1fr !important;
  }
}


/* =========================================================
   ADMIN BOUTIQUE — mode de vente / achat direct
   ========================================================= */

.admin-shop-sale-box {
  border: 1px solid rgba(56, 189, 248, .28);
  background: rgba(56, 189, 248, .08);
  border-radius: 18px;
  padding: 16px;
  display: grid;
  gap: 14px;
}

.admin-shop-sale-box h3 {
  margin: 0;
  color: #fff;
  font-size: 1.05rem;
}

.admin-shop-sale-box p {
  margin: 0;
  color: rgba(255,255,255,.72);
  font-size: .9rem;
  line-height: 1.45;
}


/* =========================================================
   BOUTIQUE — stock / disponibilité
   ========================================================= */

.shop-pro-stock {
  display: inline-flex;
  width: fit-content;
  margin-top: 8px;
  border-radius: 999px;
  padding: 7px 10px;
  background: #dcfce7;
  color: #166534;
  font-size: .78rem;
  font-weight: 900;
}


/* =========================================================
   BOUTIQUE — formulaire demande / commande pro
   ========================================================= */

.shop-request-hero {
  padding: 72px 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(56, 189, 248, .22), transparent 34%),
    linear-gradient(135deg, #07111f 0%, #10233c 100%);
  color: #fff;
}

.shop-request-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: end;
}

.shop-request-hero h1 {
  margin: 16px 0;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: .95;
  letter-spacing: -0.06em;
}

.shop-request-hero .lead {
  max-width: 850px;
  color: rgba(255,255,255,.76);
}

.shop-request-product {
  background: rgba(3, 10, 22, .68);
  border: 1px solid rgba(148, 163, 184, .25);
  border-radius: 28px;
  padding: 24px;
}

.shop-request-product img {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
  background: #fff;
  border-radius: 18px;
  padding: 12px;
  margin-bottom: 14px;
}

.shop-request-product span {
  display: block;
  color: #38bdf8;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .78rem;
  font-weight: 900;
}

.shop-request-product strong {
  display: block;
  margin: 8px 0;
  font-size: 1.25rem;
  line-height: 1.15;
}

.shop-request-product p {
  margin: 0;
  color: rgba(255,255,255,.72);
}

.shop-request-main {
  padding: 64px 0;
  background: #f8fafc;
}

.shop-request-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}

.shop-request-card,
.shop-request-side {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 28px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, .07);
}

.shop-request-card {
  padding: 30px;
}

.shop-request-form {
  display: grid;
  gap: 26px;
}

.shop-request-form-section {
  display: grid;
  gap: 14px;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 22px;
}

.shop-request-form-section:last-of-type {
  border-bottom: 0;
}

.shop-request-form-section h2 {
  margin: 0 0 4px;
  color: #0f172a;
  font-size: 1.45rem;
}

.shop-request-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.shop-request-form label {
  display: grid;
  gap: 7px;
}

.shop-request-form label span {
  color: #0f172a;
  font-weight: 800;
}

.shop-request-form input,
.shop-request-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  padding: 12px 14px;
  background: #fff;
  color: #0f172a;
  font: inherit;
}

.shop-request-form input[readonly] {
  background: #f1f5f9;
  color: #475569;
}

.shop-request-form textarea {
  resize: vertical;
}

.shop-request-checkbox {
  display: flex !important;
  grid-template-columns: auto 1fr;
  flex-direction: row;
  align-items: center;
  gap: 10px !important;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 12px;
}

.shop-request-checkbox input {
  width: auto;
}

.shop-request-side {
  position: sticky;
  top: 24px;
  padding: 24px;
}

.shop-request-side h3 {
  margin-top: 0;
  color: #0f172a;
}

.shop-request-side p,
.shop-request-side li {
  color: #475569;
}

.shop-request-side-note,
.shop-request-success {
  border: 1px solid #bae6fd;
  background: #eff6ff;
  color: #0f172a;
  border-radius: 18px;
  padding: 18px;
}

.shop-request-success h2 {
  margin-top: 0;
}

@media (max-width: 980px) {
  .shop-request-hero-inner,
  .shop-request-layout,
  .shop-request-two {
    grid-template-columns: 1fr;
  }

  .shop-request-side {
    position: static;
  }
}


/* =========================================================
   BOUTIQUE — bouton formulaire réactif
   ========================================================= */

.shop-request-submit {
  position: relative;
  cursor: pointer;
  transition:
    transform .16s ease,
    box-shadow .16s ease,
    filter .16s ease,
    opacity .16s ease;
  box-shadow: 0 14px 26px rgba(37, 99, 235, .22);
}

.shop-request-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 18px 34px rgba(37, 99, 235, .30);
}

.shop-request-submit:active:not(:disabled) {
  transform: translateY(1px) scale(.995);
  box-shadow: 0 8px 18px rgba(37, 99, 235, .22);
}

.shop-request-submit:focus-visible {
  outline: 4px solid rgba(59, 130, 246, .28);
  outline-offset: 4px;
}

.shop-request-submit:disabled,
.shop-request-submit.is-loading {
  opacity: .82;
  cursor: wait;
  filter: saturate(.85);
}

.shop-request-submit.is-loading span::after {
  content: "";
  display: inline-block;
  width: 1.1em;
  text-align: left;
  animation: shopSubmitDots 1.1s infinite steps(4, end);
}

@keyframes shopSubmitDots {
  0% { content: ""; }
  25% { content: "."; }
  50% { content: ".."; }
  75% { content: "..."; }
  100% { content: ""; }
}


/* =========================================================
   ADMIN BOUTIQUE — retour gestion boutique
   ========================================================= */

.admin-shop-edit-top-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 20px;
}

.admin-shop-return-btn,
.admin-shop-preview-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  padding: 0 18px;
  font-weight: 900;
  text-decoration: none;
  transition:
    transform .16s ease,
    box-shadow .16s ease,
    background .16s ease,
    border-color .16s ease;
}

.admin-shop-return-btn {
  background: #38bdf8;
  color: #031625;
  box-shadow: 0 12px 28px rgba(56, 189, 248, .22);
}

.admin-shop-preview-btn {
  border: 1px solid rgba(148, 163, 184, .35);
  background: rgba(15, 23, 42, .72);
  color: #e5eefb;
}

.admin-shop-return-btn:hover,
.admin-shop-preview-btn:hover {
  transform: translateY(-2px);
}

.admin-shop-return-btn:active,
.admin-shop-preview-btn:active {
  transform: translateY(1px);
}


/* =========================================================
   ADMIN BOUTIQUE — tableau propre + statut rapide
   ========================================================= */

.admin-shop-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 52px 24px 80px;
  color: #fff;
}

.admin-shop-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 24px;
}

.admin-shop-kicker {
  display: inline-flex;
  border: 1px solid rgba(56, 189, 248, .35);
  border-radius: 999px;
  padding: 7px 13px;
  color: #38bdf8;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .78rem;
  font-weight: 900;
}

.admin-shop-head h1 {
  margin: 16px 0 8px;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  letter-spacing: -0.06em;
  line-height: .95;
}

.admin-shop-head p {
  margin: 0;
  color: rgba(255,255,255,.72);
}

.admin-shop-head-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.admin-shop-head-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  border-radius: 999px;
  padding: 0 16px;
  background: rgba(15, 23, 42, .75);
  border: 1px solid rgba(148, 163, 184, .28);
  color: #e5eefb;
  text-decoration: none;
  font-weight: 900;
}

.admin-shop-notice {
  margin: 18px 0;
  border-radius: 18px;
  padding: 14px 16px;
  font-weight: 900;
}

.admin-shop-notice.ok {
  background: rgba(20, 184, 166, .18);
  border: 1px solid rgba(20, 184, 166, .45);
  color: #99f6e4;
}

.admin-shop-notice.error {
  background: rgba(239, 68, 68, .16);
  border: 1px solid rgba(239, 68, 68, .42);
  color: #fecaca;
}

.admin-shop-stats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.admin-shop-stats div {
  border: 1px solid rgba(148, 163, 184, .22);
  background: rgba(15, 23, 42, .62);
  border-radius: 22px;
  padding: 18px;
}

.admin-shop-stats strong {
  display: block;
  color: #38bdf8;
  font-size: 2rem;
  line-height: 1;
}

.admin-shop-stats span {
  display: block;
  margin-top: 6px;
  color: rgba(255,255,255,.68);
  font-weight: 800;
  font-size: .9rem;
}

.admin-shop-table-card {
  border: 1px solid rgba(148, 163, 184, .24);
  border-radius: 28px;
  background: #12243d;
  box-shadow: 0 22px 60px rgba(0,0,0,.22);
  overflow: hidden;
}

.admin-shop-table-top {
  padding: 24px 28px 14px;
}

.admin-shop-table-top h2 {
  margin: 0 0 6px;
  font-size: 2rem;
}

.admin-shop-table-top p {
  margin: 0;
  color: rgba(255,255,255,.65);
}

.admin-shop-table-wrap {
  overflow-x: auto;
}

.admin-shop-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 1080px;
}

.admin-shop-table th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #0f1f35;
  color: rgba(255,255,255,.82);
  text-align: left;
  padding: 14px 16px;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.admin-shop-table td {
  padding: 16px;
  border-top: 1px solid rgba(148, 163, 184, .14);
  vertical-align: middle;
  color: rgba(255,255,255,.88);
}

.admin-shop-table tr.is-draft {
  opacity: .74;
}

.admin-shop-table tr:hover td {
  background: rgba(56, 189, 248, .055);
}

.admin-shop-product-cell strong {
  display: block;
  max-width: 430px;
  font-size: .98rem;
  line-height: 1.25;
}

.admin-shop-product-cell small {
  display: block;
  margin-top: 5px;
  color: rgba(255,255,255,.55);
  font-size: .78rem;
  word-break: break-all;
}

.admin-shop-price-cell {
  white-space: nowrap;
  font-weight: 900;
}

.admin-shop-status-form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-shop-status-form select {
  min-width: 116px;
  border: 1px solid rgba(148, 163, 184, .32);
  background: rgba(15, 23, 42, .9);
  color: #fff;
  border-radius: 999px;
  padding: 9px 34px 9px 12px;
  font-weight: 900;
  cursor: pointer;
}

.admin-shop-status-form select:focus {
  outline: 3px solid rgba(56, 189, 248, .25);
}

.admin-shop-mode-pill,
.admin-shop-correction-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 7px 10px;
  white-space: nowrap;
  font-size: .78rem;
  font-weight: 900;
}

.admin-shop-mode-pill {
  background: rgba(59, 130, 246, .18);
  color: #bfdbfe;
}

.admin-shop-mode-pill.mode-buy {
  background: rgba(34, 197, 94, .18);
  color: #bbf7d0;
}

.admin-shop-mode-pill.mode-contact {
  background: rgba(250, 204, 21, .16);
  color: #fef08a;
}

.admin-shop-correction-pill.ok {
  background: #dcfce7;
  color: #166534;
}

.admin-shop-correction-pill.raw {
  background: #e2e8f0;
  color: #1e293b;
}

.admin-shop-actions-cell {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.admin-shop-actions-cell form {
  margin: 0;
}

.admin-shop-action {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 14px;
  border: 1px solid transparent;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  font: inherit;
}

.admin-shop-action.edit {
  background: #38bdf8;
  color: #031625;
}

.admin-shop-action.view {
  border-color: rgba(255,255,255,.45);
  color: #fff;
  background: transparent;
}

.admin-shop-action.reset {
  background: #fff;
  color: #0f172a;
}

.admin-shop-action:hover {
  transform: translateY(-1px);
}

@media (max-width: 980px) {
  .admin-shop-head {
    grid-template-columns: 1fr;
  }

  .admin-shop-head-actions {
    justify-content: flex-start;
  }

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


/* =========================================================
   ADMIN BOUTIQUE — choix exclusif devis / prix affiché
   ========================================================= */

.admin-shop-choice-help {
  margin: -6px 0 6px;
  border: 1px solid rgba(250, 204, 21, .28);
  background: rgba(250, 204, 21, .08);
  color: #fde68a;
  border-radius: 14px;
  padding: 10px 12px;
  font-size: .86rem;
  line-height: 1.35;
  font-weight: 800;
}


/* =========================================================
   BOUTIQUE — présentation publique fiche produit
   ========================================================= */

.shop-product-rich-text {
  color: #334155;
  font-size: .98rem;
  line-height: 1.75;
}

.shop-product-rich-text br {
  content: "";
}

.shop-product-rich-text strong {
  color: #0f172a;
}


/* =========================================================
   BOUTIQUE — vraie présentation publique produit
   ========================================================= */

.shop-product-rich-text {
  color: #334155;
  font-size: .98rem;
  line-height: 1.75;
  white-space: normal;
}

.shop-product-rich-text br {
  display: block;
  content: "";
  margin: .32rem 0;
}


/* =========================================================
   ADMIN BOUTIQUE — compteur description courte
   ========================================================= */

.admin-shop-char-counter {
  display: flex;
  justify-content: flex-end;
  margin-top: -6px;
  color: rgba(255,255,255,.68);
  font-size: .82rem;
  font-weight: 800;
}

.admin-shop-char-counter.is-warning {
  color: #fde68a;
}

.admin-shop-char-counter.is-full {
  color: #fecaca;
}


/* =========================================================
   BOUTIQUE — affichage propre prix + devis sur cartes
   ========================================================= */

.shop-pro-card-foot {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 8px !important;
  align-items: start !important;
  border-top: 1px solid rgba(148, 163, 184, .18);
  padding-top: 12px;
}

.shop-pro-card-foot strong {
  display: block !important;
  width: 100% !important;
  color: #020617;
  font-weight: 950;
  white-space: normal !important;
  line-height: 1.2;
  word-break: normal;
}

.shop-pro-card-foot a {
  display: inline-flex !important;
  width: fit-content !important;
  max-width: 100%;
  color: #0284c7;
  font-weight: 950;
  line-height: 1.15;
  text-decoration: none;
}


/* =========================================================
   BOUTIQUE — cartes catalogue comme les produits mis en avant
   ========================================================= */

.shop-pro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 280px));
  gap: 24px;
  align-items: stretch;
}

.shop-pro-card {
  background: #fff !important;
  border: 1px solid #dbe4ef !important;
  border-radius: 28px !important;
  overflow: hidden !important;
  box-shadow: 0 22px 50px rgba(15, 23, 42, .08) !important;
  display: flex !important;
  flex-direction: column !important;
  min-height: 100% !important;
}

.shop-pro-card-link {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
  text-decoration: none !important;
  color: inherit !important;
}

.shop-pro-card-image {
  position: relative !important;
  height: 230px !important;
  min-height: 230px !important;
  background: #f8fafc !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

.shop-pro-card-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  padding: 18px !important;
  box-sizing: border-box !important;
}

.shop-pro-card-image em {
  position: absolute !important;
  top: 14px !important;
  left: 14px !important;
  z-index: 2 !important;
  display: inline-flex !important;
  align-items: center !important;
  border-radius: 999px !important;
  padding: 8px 12px !important;
  background: #07111f !important;
  color: #fff !important;
  font-size: .78rem !important;
  font-style: normal !important;
  font-weight: 950 !important;
  line-height: 1 !important;
}

.shop-pro-card-body {
  padding: 22px 22px 10px !important;
  flex: 1 !important;
}

.shop-pro-card-body > span {
  display: block !important;
  color: #38bdf8 !important;
  text-transform: uppercase !important;
  letter-spacing: .12em !important;
  font-size: .75rem !important;
  font-weight: 950 !important;
  line-height: 1.25 !important;
  margin-bottom: 10px !important;
}

.shop-pro-card-body h3 {
  margin: 0 0 12px !important;
  color: #020617 !important;
  font-size: 1.18rem !important;
  line-height: 1.12 !important;
  letter-spacing: -0.03em !important;
  font-weight: 950 !important;
}

.shop-pro-card-body p {
  margin: 0 !important;
  color: #475569 !important;
  font-size: .95rem !important;
  line-height: 1.42 !important;
}

.shop-pro-stock {
  margin-top: 12px !important;
}

.shop-pro-card-foot {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 8px !important;
  padding: 14px 22px 22px !important;
  border-top: 0 !important;
  margin-top: auto !important;
}

.shop-pro-card-foot strong {
  display: block !important;
  color: #020617 !important;
  font-size: 1rem !important;
  font-weight: 950 !important;
  line-height: 1.2 !important;
  white-space: normal !important;
}

.shop-pro-card-foot a {
  display: inline-flex !important;
  width: fit-content !important;
  color: #0284c7 !important;
  font-weight: 950 !important;
  text-decoration: none !important;
  line-height: 1.15 !important;
}

.shop-pro-card-foot a:hover {
  text-decoration: underline !important;
}

@media (max-width: 720px) {
  .shop-pro-grid {
    grid-template-columns: 1fr !important;
  }

  .shop-pro-card-image {
    height: 220px !important;
  }
}


/* =========================================================
   BOUTIQUE — vitrine légère avec peu de produits
   ========================================================= */

.shop-pro-light-section .shop-pro-section-head {
  margin-bottom: 26px;
}

.shop-pro-light-section .shop-pro-section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.shop-pro-light-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(260px, 280px)) !important;
  gap: 26px !important;
  align-items: stretch !important;
}

.shop-pro-light-grid .shop-pro-card {
  width: 100% !important;
  max-width: none !important;
}

@media (min-width: 1180px) {
  .shop-pro-light-grid {
    grid-template-columns: repeat(3, minmax(260px, 280px)) !important;
  }
}

@media (max-width: 780px) {
  .shop-pro-light-grid {
    grid-template-columns: 1fr !important;
  }
}


/* =========================================================
   BOUTIQUE — CTA final propre / vouvoiement
   ========================================================= */

.shop-pro-final-cta {
  background:
    radial-gradient(circle at 85% 20%, rgba(56, 189, 248, .16), transparent 32%),
    linear-gradient(135deg, #07111f 0%, #0f2138 100%);
}

.shop-pro-final-inner {
  align-items: center;
  gap: 36px;
}

.shop-pro-final-button {
  flex: 0 0 auto;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 26px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #2563eb 0%, #38bdf8 100%) !important;
  color: #fff !important;
  font-weight: 950 !important;
  letter-spacing: -0.01em;
  white-space: nowrap;
  box-shadow: 0 18px 42px rgba(37, 99, 235, .34);
  transform: translateY(0);
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}

.shop-pro-final-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 24px 54px rgba(37, 99, 235, .42);
  text-decoration: none !important;
}

.shop-pro-final-button:active {
  transform: translateY(1px);
}

@media (max-width: 820px) {
  .shop-pro-final-inner {
    align-items: flex-start;
  }

  .shop-pro-final-button {
    width: 100%;
    white-space: normal;
    text-align: center;
  }
}


/* =========================================================
   BOUTIQUE — CTA final propre définitif
   ========================================================= */

.shop-pro-final-cta {
  background:
    radial-gradient(circle at 85% 20%, rgba(56, 189, 248, .16), transparent 32%),
    linear-gradient(135deg, #07111f 0%, #0f2138 100%) !important;
}

.shop-pro-final-inner {
  align-items: center !important;
  gap: 36px !important;
}

.shop-pro-final-button {
  flex: 0 0 auto;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 56px !important;
  padding: 0 28px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #2563eb 0%, #38bdf8 100%) !important;
  color: #fff !important;
  font-weight: 950 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  box-shadow: 0 18px 42px rgba(37, 99, 235, .34) !important;
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}

.shop-pro-final-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 24px 54px rgba(37, 99, 235, .42) !important;
}

.shop-pro-final-button:active {
  transform: translateY(1px);
}

@media (max-width: 820px) {
  .shop-pro-final-inner {
    align-items: flex-start !important;
  }

  .shop-pro-final-button {
    width: 100% !important;
    white-space: normal !important;
    text-align: center !important;
  }
}



/* Accueil — mise en avant Catalogue pro */
.panel-line-catalogue {
  position: relative;
}

.panel-line-catalogue strong {
  font-size: 1.05rem;
}

.home-hero-panel .panel-line-catalogue {
  border-color: rgba(255,255,255,.22);
}




/* Catalogue pro — vraie modale devis produit */
.catalogue-request-modal[hidden] {
  display: none;
}

.catalogue-request-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 34px 18px;
  overflow-y: auto;
}

.catalogue-request-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, .58);
  backdrop-filter: blur(8px);
}

.catalogue-request-card {
  position: relative;
  width: min(980px, 100%);
  max-height: calc(100vh - 68px);
  overflow-y: auto;
  background: #ffffff;
  color: #0f172a;
  border: 1px solid rgba(148, 163, 184, .35);
  border-radius: 22px;
  box-shadow: 0 28px 90px rgba(15, 23, 42, .28);
  padding: 28px;
}

.catalogue-request-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, .45);
  background: #f8fafc;
  color: #0f172a;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.catalogue-request-close:hover {
  background: #eef2ff;
}

.catalogue-request-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 22px;
  align-items: stretch;
  margin-bottom: 24px;
}

.catalogue-request-head h2 {
  margin: 12px 0 10px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: .95;
  letter-spacing: -.05em;
  color: #0f172a;
}

.catalogue-request-head p {
  margin: 0;
  color: #475569;
  font-size: 1.02rem;
  line-height: 1.55;
}

.catalogue-request-product-mini {
  border: 1px solid rgba(148, 163, 184, .35);
  background: #f8fafc;
  border-radius: 18px;
  padding: 18px;
}

.catalogue-request-product-mini span {
  display: block;
  margin-bottom: 8px;
  color: #2563eb;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.catalogue-request-product-mini strong {
  display: block;
  color: #0f172a;
  font-size: 1rem;
  line-height: 1.25;
}

.catalogue-request-product-mini p {
  margin-top: 10px;
  color: #475569;
  font-size: .92rem;
}

.catalogue-request-form {
  display: block;
}

.catalogue-request-form .shop-request-form-section {
  border-top: 1px solid #e2e8f0;
  padding-top: 18px;
  margin-top: 18px;
}

.catalogue-request-form .shop-request-form-section:first-of-type {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}

.catalogue-request-form h3 {
  margin: 0 0 14px;
  color: #0f172a;
  font-size: 1.25rem;
}

.catalogue-request-form label {
  display: block;
  color: #0f172a;
  font-weight: 700;
}

.catalogue-request-form label span {
  display: block;
  margin-bottom: 7px;
  font-size: .88rem;
}

.catalogue-request-form input,
.catalogue-request-form textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #ffffff;
  color: #0f172a;
  padding: 12px 13px;
  font: inherit;
  outline: none;
}

.catalogue-request-form input:focus,
.catalogue-request-form textarea:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .13);
}

.catalogue-request-form textarea {
  min-height: 96px;
  resize: vertical;
}

.catalogue-request-form .shop-request-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.catalogue-request-checkbox {
  display: flex !important;
  align-items: center;
  gap: 10px;
  border: 1px solid #dbeafe;
  background: #f8fafc;
  border-radius: 12px;
  padding: 12px;
  margin-top: 12px;
}

.catalogue-request-checkbox input {
  width: auto;
}

.catalogue-request-checkbox span {
  margin: 0 !important;
  font-size: .9rem !important;
}

.catalogue-request-submit {
  width: 100%;
  margin-top: 22px;
}

.catalogue-request-submit[disabled] {
  opacity: .75;
  cursor: wait;
}

@media (max-width: 860px) {
  .catalogue-request-card {
    padding: 22px;
  }

  .catalogue-request-head {
    grid-template-columns: 1fr;
  }

  .catalogue-request-form .shop-request-two {
    grid-template-columns: 1fr;
  }
}

/* Catalogue pro — 3 produits par ligne sur desktop */
.shop-pro-catalogue > .container {
  max-width: 1240px;
}

.shop-pro-layout {
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.shop-pro-results {
  min-width: 0;
}

.shop-pro-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.shop-pro-card {
  min-width: 0;
  height: 100%;
}

.shop-pro-card-link {
  min-width: 0;
}

.shop-pro-card-image {
  min-height: 170px;
}

.shop-pro-card-image img {
  width: 100%;
  height: 170px;
  object-fit: contain;
}

@media (max-width: 1080px) {
  .shop-pro-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .shop-pro-layout {
    grid-template-columns: 1fr;
  }

  .shop-pro-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   BOUTIQUE — deux boutons fiche produit : devis + PayPal
   ========================================================= */

.shop-product-actions,
.machine-side-actions {
  display: grid;
  gap: 12px;
}

.shop-paypal-button,
.shop-paypal-side-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 999px;
  background: #ffc439;
  color: #111827 !important;
  font-weight: 950;
  text-decoration: none !important;
  box-shadow: 0 14px 30px rgba(15, 23, 42, .12);
}

.shop-paypal-button:hover,
.shop-paypal-side-button:hover {
  filter: brightness(1.03);
  transform: translateY(-1px);
}


/* Boutique produit — boutons devis + PayPal */
.shop-product-actions,
.machine-side-actions {
  display: grid;
  gap: 12px;
}

.shop-paypal-button,
.shop-paypal-side-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 999px;
  background: #ffc439;
  color: #111827 !important;
  font-weight: 950;
  text-decoration: none !important;
  box-shadow: 0 14px 30px rgba(15, 23, 42, .12);
}

.shop-paypal-button:hover,
.shop-paypal-side-button:hover {
  filter: brightness(1.03);
  transform: translateY(-1px);
}


/* Boutique produit — boutons indépendants devis + PayPal */
.shop-product-actions,
.machine-side-actions {
  display: grid;
  gap: 12px;
}

.shop-paypal-button,
.shop-paypal-side-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 999px;
  background: #ffc439;
  color: #111827 !important;
  font-weight: 950;
  text-decoration: none !important;
  box-shadow: 0 14px 30px rgba(15, 23, 42, .12);
}

.shop-paypal-button:hover,
.shop-paypal-side-button:hover {
  filter: brightness(1.03);
  transform: translateY(-1px);
}


/* Boutique produit — bouton PayPal même style que Demander un devis */
.theme-light .shop-paypal-button,
.theme-light .shop-paypal-side-button,
.theme-dark .shop-paypal-button,
.theme-dark .shop-paypal-side-button {
  width: 100% !important;
  min-height: 52px !important;
  padding: 0 22px !important;
  border-radius: 999px !important;
  box-sizing: border-box !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  background: var(--blue-deep) !important;
  color: #ffffff !important;
  font-weight: 900 !important;
  text-align: center !important;
  text-decoration: none !important;

  box-shadow: none !important;
  transform: none !important;
  filter: none !important;
}

.theme-light .shop-paypal-button:hover,
.theme-light .shop-paypal-side-button:hover,
.theme-dark .shop-paypal-button:hover,
.theme-dark .shop-paypal-side-button:hover {
  background: var(--blue-deep) !important;
  color: #ffffff !important;
  text-decoration: none !important;
  transform: none !important;
  filter: none !important;
}


/* Boutique produit — boutons latéraux devis + PayPal même format */
.machine-side-actions {
  display: grid !important;
  gap: 12px !important;
}

.machine-side-actions .machine-side-link-button,
.machine-side-actions .shop-paypal-side-button {
  appearance: none !important;
  border: 0 !important;
  width: 100% !important;
  min-height: 52px !important;
  padding: 0 22px !important;
  border-radius: 999px !important;
  box-sizing: border-box !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  background: var(--blue-deep) !important;
  color: #ffffff !important;
  font: inherit !important;
  font-weight: 900 !important;
  text-align: center !important;
  text-decoration: none !important;
  cursor: pointer !important;

  box-shadow: none !important;
  transform: none !important;
  filter: none !important;
}

.machine-side-actions .machine-side-link-button:hover,
.machine-side-actions .shop-paypal-side-button:hover {
  background: var(--blue-deep) !important;
  color: #ffffff !important;
  text-decoration: none !important;
  transform: none !important;
  filter: brightness(1.04) !important;
}


/* Boutique produit — police réduite uniquement sur le bouton PayPal */
.machine-side-actions .shop-paypal-side-button,
.shop-product-actions .shop-paypal-button {
  font-size: 0.95rem !important;
  font-weight: 850 !important;
}


/* Boutique — modale merci après achat PayPal */
.shop-thank-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
}

.shop-thank-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 7, 18, .72);
  backdrop-filter: blur(6px);
}

.shop-thank-box {
  position: relative;
  width: min(560px, 100%);
  border-radius: 28px;
  padding: 34px;
  background:
    radial-gradient(circle at 85% 10%, rgba(56, 189, 248, .16), transparent 34%),
    linear-gradient(135deg, #07111f 0%, #0f2138 100%);
  color: #fff;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .35);
}

.shop-thank-box h2 {
  margin: 12px 0 14px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.shop-thank-box p {
  color: rgba(255, 255, 255, .82);
  line-height: 1.6;
}

.shop-thank-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.shop-thank-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.shop-thank-actions .button {
  min-height: 52px;
}

@media (max-width: 640px) {
  .shop-thank-box {
    padding: 28px 22px;
  }

  .shop-thank-actions {
    display: grid;
  }
}


/* =========================================================
   ADMIN ARTICLES — éditeur HTML simple
   ========================================================= */
.article-html-editor {
  display: grid;
  gap: 12px;
}

.article-html-editor-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--dark-muted);
}

.article-html-editor-head > div {
  display: grid;
  gap: 4px;
}

.article-html-editor-head strong {
  color: var(--dark-text);
  font-size: 1rem;
}

.article-html-editor-head span {
  font-size: .9rem;
  font-weight: 500;
}

.article-media-link {
  padding: 9px 13px !important;
  font-size: .88rem !important;
}

.article-html-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--dark-border);
  border-radius: 15px;
  background: rgba(7, 17, 31, .72);
}

.article-html-toolbar button {
  appearance: none;
  border: 1px solid rgba(148, 163, 184, .32);
  border-radius: 10px;
  background: #14233a;
  color: var(--dark-text);
  padding: 8px 11px;
  font: inherit;
  font-size: .86rem;
  font-weight: 750;
  cursor: pointer;
}

.article-html-toolbar button:hover,
.article-html-toolbar button:focus-visible {
  border-color: rgba(56, 189, 248, .75);
  background: #19304e;
}

#articleContentHtml {
  min-height: 520px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: .92rem;
  line-height: 1.55;
  tab-size: 2;
}

.article-html-help {
  color: var(--dark-muted);
  font-size: .88rem;
  line-height: 1.6;
  font-weight: 500;
}

.article-html-help code {
  color: #d8f3ff;
  background: rgba(56, 189, 248, .10);
  border-radius: 6px;
  padding: 2px 5px;
}


/* =========================================================
   ARTICLES — tailles d'images choisies dans l'éditeur
   ========================================================= */
.article-content-html figure.article-image {
  display: block;
  max-width: 100% !important;
  margin: 1.7em auto !important;
}

.article-content-html figure.article-image--full {
  width: 100% !important;
}

.article-content-html figure.article-image--large {
  width: 75% !important;
}

.article-content-html figure.article-image--medium {
  width: 50% !important;
}

.article-content-html figure.article-image--small {
  width: 33.333% !important;
}

.article-content-html figure.article-image img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 !important;
}

.article-content-html figure.article-image figcaption {
  margin-top: 10px;
  color: #64748b;
  font-size: .9rem;
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 720px) {
  .article-content-html figure.article-image--full,
  .article-content-html figure.article-image--large,
  .article-content-html figure.article-image--medium,
  .article-content-html figure.article-image--small {
    width: 100% !important;
  }
}


/* =========================================================
   ADMIN — intégration LinkedIn des articles
   ========================================================= */
.linkedin-share-admin-card,
.linkedin-callback-card,
.linkedin-settings-card {
  border: 1px solid rgba(148, 163, 184, .24);
  border-radius: 18px;
  background: rgba(7, 17, 31, .72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .02);
}

.linkedin-share-admin-card {
  display: grid;
  gap: 16px;
  padding: 16px;
  margin-top: 2px;
}

.linkedin-share-admin-head,
.linkedin-settings-card-head,
.linkedin-destination-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.linkedin-share-admin-head h3,
.linkedin-settings-card h2,
.linkedin-callback-card h2 {
  margin: 3px 0 0;
  color: var(--dark-text);
}

.linkedin-share-admin-head h3 {
  font-size: 1.05rem;
}

.linkedin-share-admin-head > a,
.linkedin-last-share a {
  color: #38bdf8;
  font-weight: 750;
  text-decoration: none;
}

.linkedin-brand-kicker {
  display: block;
  color: #60a5fa;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.linkedin-destination {
  display: grid;
  gap: 9px;
  padding-top: 14px;
  border-top: 1px solid rgba(148, 163, 184, .20);
}

.linkedin-destination-title strong {
  color: var(--dark-text);
  font-size: .92rem;
}

.linkedin-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  padding: 5px 8px;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 850;
  line-height: 1.1;
}

.linkedin-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: currentColor;
}

.linkedin-status.is-connected {
  color: #86efac;
  background: rgba(34, 197, 94, .12);
  border: 1px solid rgba(34, 197, 94, .25);
}

.linkedin-status.is-offline {
  color: #fbbf24;
  background: rgba(245, 158, 11, .10);
  border: 1px solid rgba(245, 158, 11, .22);
}

.linkedin-destination > small,
.linkedin-token-expiry,
.linkedin-share-note,
.linkedin-connected-identity small {
  color: var(--dark-muted);
}

.linkedin-check-row {
  display: flex !important;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--dark-text);
  font-size: .86rem;
  font-weight: 700;
}

.admin-edit-form .linkedin-check-row input,
.linkedin-settings-grid .linkedin-check-row input {
  width: 18px !important;
  height: 18px !important;
  min-height: 0 !important;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  accent-color: #0a66c2;
}

.linkedin-message-label {
  display: grid;
  gap: 7px;
  color: var(--dark-muted) !important;
  font-size: .82rem !important;
}

.linkedin-message-label textarea {
  min-height: 112px;
  resize: vertical;
  font-size: .84rem !important;
  line-height: 1.45;
}

.linkedin-last-share {
  color: var(--dark-muted);
  font-size: .76rem;
  line-height: 1.45;
}

.linkedin-share-submit {
  width: 100%;
  border: 0;
  background: #0a66c2;
  color: #fff;
  font-weight: 850;
}

.linkedin-share-submit:hover {
  background: #004182;
}

.linkedin-share-submit:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.linkedin-share-note {
  margin: 0;
  font-size: .76rem;
  line-height: 1.45;
}

.linkedin-settings-page {
  display: grid;
  gap: 22px;
}

.linkedin-callback-card {
  display: grid;
  gap: 13px;
  padding: 22px;
}

.linkedin-callback-card > p {
  margin: 0;
  color: var(--dark-muted);
}

.linkedin-callback-row {
  display: grid;
  gap: 7px;
}

.linkedin-callback-row strong {
  color: var(--dark-text);
}

.linkedin-callback-row code {
  display: block;
  overflow-wrap: anywhere;
  padding: 12px 14px;
  border: 1px solid rgba(56, 189, 248, .20);
  border-radius: 12px;
  background: rgba(2, 8, 23, .75);
  color: #bae6fd;
  font-size: .86rem;
}

.linkedin-settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.linkedin-settings-card {
  display: grid;
  align-content: start;
  gap: 15px;
  padding: 22px;
}

.linkedin-settings-card label {
  display: grid;
  gap: 7px;
  color: var(--dark-text);
  font-weight: 750;
}

.linkedin-settings-card input {
  width: 100%;
  border: 1px solid var(--dark-border);
  border-radius: 13px;
  background: #07111f;
  color: var(--dark-text);
  padding: 12px 14px;
  font: inherit;
}

.linkedin-settings-card-wide,
.linkedin-settings-save {
  grid-column: 1 / -1;
}

.linkedin-connected-identity {
  display: grid;
  gap: 3px;
  margin: 0;
  color: var(--dark-text);
  font-weight: 800;
}

.linkedin-connected-identity small {
  font-weight: 500;
}

.linkedin-clear-secret {
  color: #fca5a5;
}

.linkedin-settings-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
}

.linkedin-token-expiry {
  font-size: .82rem;
}

.linkedin-org-candidates {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--dark-muted);
  font-size: .82rem;
}

.linkedin-org-candidates button {
  border: 1px solid rgba(56, 189, 248, .28);
  border-radius: 999px;
  background: rgba(56, 189, 248, .08);
  color: #bae6fd;
  padding: 7px 10px;
  cursor: pointer;
}

.linkedin-settings-save {
  display: flex;
  justify-content: flex-end;
}

.linkedin-disconnect-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

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

  .linkedin-settings-card-wide,
  .linkedin-settings-save {
    grid-column: auto;
  }
}

.linkedin-share-message {
  padding: 9px 10px;
  border-radius: 10px;
  font-size: .74rem;
  line-height: 1.4;
}

.linkedin-share-message.warning {
  color: #fde68a;
  background: rgba(245, 158, 11, .10);
  border: 1px solid rgba(245, 158, 11, .24);
}

.linkedin-share-message.error {
  color: #fecaca;
  background: rgba(239, 68, 68, .10);
  border: 1px solid rgba(239, 68, 68, .24);
}

/* Mention LinkedIn facultative dans le formulaire d'article */
.linkedin-mention-admin-box {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(56, 189, 248, .20);
  border-radius: 14px;
  background: rgba(14, 116, 144, .06);
}

.linkedin-mention-admin-box .linkedin-message-label input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--dark-border);
  border-radius: 11px;
  background: #07111f;
  color: var(--dark-text);
  padding: 10px 12px;
  font: inherit;
  font-size: .82rem;
}

.linkedin-mention-resolve {
  width: 100%;
}

.linkedin-mention-resolve:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.linkedin-mention-note {
  margin: 0;
  color: var(--dark-muted);
  font-size: .73rem;
  line-height: 1.45;
}
