/* ============================================
   DIMM — Charte graphique V2.0
   Basée sur le Brandbook Guide 1.0 (26/01/2026)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@300;400;500;600;700;900&display=swap');

:root {
  /* Couleurs principales */
  --dimm-cyan: #009FE3;
  --dimm-gris: #706F6F;
  --dimm-blanc: #FFFFFF;

  /* Variations */
  --dimm-bleu-fonce: #1d71b8;
  --dimm-vert: #69c1b7;
  --dimm-bleu-nuit: #2a3f93;
  --dimm-blue-deep: #002d6f;
  --dimm-cyan-light: #6ac8ea;

  /* Tons d'appoint */
  --dimm-bg-ice: #f3f6fc;
  --dimm-bg-light: #f8fafd;
  --dimm-border: #e3eaf4;
  --dimm-text: #1a2238;
  --dimm-text-muted: #5b6579;

  /* Typo */
  --font-principal: 'Source Sans 3', 'Source Sans Pro', 'Helvetica Neue', Helvetica, Arial, sans-serif;

  /* Espacements */
  --container-max: 1240px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  /* Transitions */
  --ease: cubic-bezier(.4,.0,.2,1);
}

/* ============ Reset ============ */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-principal);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  color: var(--dimm-text);
  background: var(--dimm-blanc);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--dimm-cyan); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--dimm-bleu-nuit); }

/* ============ Typo ============ */
h1,h2,h3,h4,h5 {
  font-family: var(--font-principal);
  font-weight: 700;
  color: var(--dimm-bleu-nuit);
  line-height: 1.2;
  margin: 0 0 .6em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); font-weight: 900; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.35rem; font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }

p { margin: 0 0 1em; }
strong, b { font-weight: 700; color: var(--dimm-text); }

ul, ol { padding-left: 1.4em; margin: 0 0 1em; }
li { margin-bottom: .4em; }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: .82rem;
  font-weight: 600;
  color: var(--dimm-cyan);
  margin-bottom: 1em;
}

/* ============ Layout ============ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: 80px 0; }
section.compact { padding: 48px 0; }

/* ============ Pro band (top) ============ */
.pro-band {
  background: var(--dimm-bleu-nuit);
  color: rgba(255,255,255,.92);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .02em;
  padding: 8px 0;
  position: relative;
  overflow: hidden;
}
.pro-band::after {
  content:'';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,.06) 0 2px, transparent 2px 12px);
  pointer-events: none;
}
.pro-band .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
  text-align: center;
}
.pro-pill {
  background: var(--dimm-cyan);
  color: var(--dimm-blanc);
  font-weight: 800;
  font-size: .72rem;
  padding: 3px 9px;
  border-radius: 999px;
  letter-spacing: .08em;
}
.pro-notice {
  font-size: .88rem !important;
  margin-top: 14px !important;
  padding: 12px 14px;
  border-left: 3px solid var(--dimm-cyan);
  background: rgba(255,255,255,.05);
  border-radius: 0 6px 6px 0;
}
.pro-notice strong { color: var(--dimm-blanc); }

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.97);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--dimm-border);
  transition: box-shadow .3s var(--ease), padding .3s var(--ease);
}
.site-header.scrolled {
  box-shadow: 0 8px 24px rgba(26,34,56,.08);
}
.site-header.scrolled .container {
  padding-top: 8px;
  padding-bottom: 8px;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 24px;
}
.site-logo img { height: 46px; width: auto; }
.main-nav { display: flex; gap: 28px; align-items: center; }
.main-nav a {
  color: var(--dimm-text);
  font-weight: 500;
  font-size: .98rem;
  position: relative;
  padding: 4px 0;
}
.main-nav a:hover { color: var(--dimm-cyan); }
.main-nav a.active::after {
  content:'';
  position: absolute;
  left:0; right:0; bottom:-4px;
  height: 2px;
  background: var(--dimm-cyan);
}
.lang-switch {
  display: flex;
  gap: 6px;
  align-items: center;
  padding-left: 10px;
  border-left: 1px solid var(--dimm-border);
  margin-left: 4px;
}
.lang-switch a {
  display: flex;
  width: 28px; height: 20px;
  border-radius: 3px;
  overflow: hidden;
  opacity: .55;
  transition: all .2s var(--ease);
  border: 1.5px solid transparent;
  padding: 0;
}
.lang-switch a:hover { opacity: .9; transform: translateY(-1px); }
.lang-switch a.active {
  opacity: 1;
  border-color: var(--dimm-cyan);
  box-shadow: 0 2px 6px rgba(0,159,227,.3);
}
.lang-switch img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--dimm-bleu-nuit);
  margin: 5px 0;
  transition: all .3s var(--ease);
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  font-family: var(--font-principal);
  font-weight: 600;
  font-size: .98rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .25s var(--ease);
  text-decoration: none;
  line-height: 1;
  letter-spacing: .01em;
}
.btn-primary {
  background: var(--dimm-cyan);
  color: var(--dimm-blanc);
}
.btn-primary:hover {
  background: var(--dimm-bleu-nuit);
  color: var(--dimm-blanc);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0,159,227,.28);
}
.btn-ghost {
  background: transparent;
  color: var(--dimm-blanc);
  border-color: rgba(255,255,255,.5);
}
.btn-ghost:hover {
  background: var(--dimm-blanc);
  color: var(--dimm-bleu-nuit);
}
.btn-outline {
  background: transparent;
  color: var(--dimm-bleu-nuit);
  border-color: var(--dimm-bleu-nuit);
}
.btn-outline:hover {
  background: var(--dimm-bleu-nuit);
  color: var(--dimm-blanc);
}

/* ============ Hero ============ */
.hero {
  position: relative;
  background: linear-gradient(135deg, #1a2a78 0%, var(--dimm-bleu-nuit) 45%, var(--dimm-bleu-fonce) 100%);
  color: var(--dimm-blanc);
  overflow: hidden;
  padding: 120px 0 140px;
}
.hero h1 { color: var(--dimm-blanc); }
.hero h1 + .lead {
  font-size: clamp(1.08rem, 1.6vw, 1.25rem);
  font-weight: 300;
  color: rgba(255,255,255,.88);
  max-width: 620px;
  margin-bottom: 2em;
}
.hero .eyebrow { color: var(--dimm-cyan); }

/* Motifs brandbook — rayures diagonales + rectangles */
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  pointer-events: none;
}
.hero::before {
  top: -10%;
  right: -8%;
  width: 520px;
  height: 520px;
  background:
    repeating-linear-gradient(135deg,
      rgba(255,255,255,.18) 0 2px,
      transparent 2px 10px);
  transform: rotate(0deg);
  clip-path: polygon(45% 0, 100% 0, 100% 55%, 0 100%);
  opacity: .9;
}
.hero::after {
  bottom: -80px;
  left: -40px;
  width: 340px;
  height: 160px;
  background: linear-gradient(135deg, var(--dimm-cyan) 0%, var(--dimm-bleu-fonce) 100%);
  transform: skewY(-8deg);
  opacity: .55;
  border-radius: 8px;
}
.hero .container { position: relative; z-index: 2; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============ Page header (pages internes) ============ */
.page-header {
  position: relative;
  background: linear-gradient(120deg, var(--dimm-bleu-nuit) 0%, var(--dimm-bleu-fonce) 100%);
  color: var(--dimm-blanc);
  padding: 90px 0 100px;
  overflow: hidden;
}
.page-header h1 { color: var(--dimm-blanc); margin-bottom: .35em; }
.page-header .lead { color: rgba(255,255,255,.85); max-width: 720px; font-size: 1.1rem; font-weight: 300; }
.page-header::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 60%;
  height: 100%;
  background-image: url("../img/brand/ligne2.png");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: contain;
  opacity: .85;
  filter: brightness(1.1);
}
.page-header::after {
  content: '';
  position: absolute;
  bottom: -20px; left: -20px;
  width: 240px; height: 80px;
  background: linear-gradient(135deg, var(--dimm-cyan), rgba(29,113,184,.5));
  transform: skewY(-8deg);
  opacity: .35;
  border-radius: 6px;
}
.breadcrumb {
  font-size: .9rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 1.2em;
  position: relative;
  z-index: 2;
}
.breadcrumb a { color: rgba(255,255,255,.8); }
.breadcrumb a:hover { color: var(--dimm-cyan); }
.breadcrumb span { margin: 0 .5em; }

/* ============ Cards ============ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.card {
  background: var(--dimm-blanc);
  border: 1px solid var(--dimm-border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: all .3s var(--ease);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  height: 4px;
  width: 0;
  background: linear-gradient(90deg, var(--dimm-cyan), var(--dimm-bleu-fonce));
  transition: width .35s var(--ease);
}
.card:hover {
  border-color: transparent;
  box-shadow: 0 12px 32px rgba(26,34,56,.08);
  transform: translateY(-3px);
}
.card:hover::before { width: 100%; }
.card h3 { color: var(--dimm-bleu-nuit); margin-bottom: .4em; }
.card p { color: var(--dimm-text-muted); margin-bottom: 1em; }
.card .card-icon {
  width: 48px; height: 48px;
  background: var(--dimm-bg-ice);
  color: var(--dimm-cyan);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-weight: 700;
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--dimm-cyan);
  font-weight: 600;
  font-size: .95rem;
}
.card-link::after { content: '→'; transition: transform .2s var(--ease); }
.card-link:hover::after { transform: translateX(4px); }

/* ============ Content blocks ============ */
.content-section {
  padding: 72px 0;
}
.content-section.alt { background: #fff; }

.prose {
  max-width: 820px;
  line-height: 1.7;
  font-size: 1.02rem;
}
.prose > * + * { margin-top: .9em; }
.prose h2 {
  margin-top: 2em;
  margin-bottom: .5em;
  font-size: clamp(1.4rem, 2.3vw, 1.8rem);
  color: var(--dimm-bleu-nuit);
  font-weight: 700;
  letter-spacing: -.01em;
}
.prose h3 {
  margin-top: 1.6em;
  margin-bottom: .4em;
  color: var(--dimm-bleu-fonce);
  font-weight: 700;
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
}
.prose h4 {
  margin-top: 1.3em;
  margin-bottom: .3em;
  color: var(--dimm-cyan);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  font-size: .95rem;
}
.prose p, .prose li { color: var(--dimm-text); }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose ul { list-style: disc; }
.prose ul li::marker { color: var(--dimm-cyan); }
.prose ol li::marker { color: var(--dimm-cyan); font-weight: 700; }
.prose li + li { margin-top: .35em; }
.prose a {
  color: var(--dimm-cyan);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
.prose a:hover { color: var(--dimm-bleu-fonce); }
.prose strong { color: var(--dimm-bleu-nuit); }
.prose img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin: 1.5em auto;
  box-shadow: 0 6px 24px rgba(29,48,153,.08);
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: .95em;
}
.prose th, .prose td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--dimm-border);
  text-align: left;
  vertical-align: top;
}
.prose th {
  background: var(--dimm-bg-ice);
  color: var(--dimm-bleu-nuit);
  font-weight: 700;
}
.prose blockquote {
  border-left: 4px solid var(--dimm-cyan);
  background: var(--dimm-bg-ice);
  padding: 18px 24px;
  margin: 1.5em 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
}
.prose hr {
  border: 0;
  border-top: 1px solid var(--dimm-border);
  margin: 2em 0;
}

.article-prose { font-size: 1.04rem; }
.article-meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

.product-cta h3,
.article-footer-cta h3 {
  color: var(--dimm-bleu-nuit);
  font-weight: 700;
}
.product-cta .btn + .btn,
.article-footer-cta .btn + .btn { margin-left: 10px; }

.section-title {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-title .eyebrow { margin-bottom: .6em; }
.section-title p { color: var(--dimm-text-muted); font-size: 1.1rem; }

/* ============ CTA band ============ */
.cta-band {
  background: linear-gradient(120deg, var(--dimm-cyan), var(--dimm-bleu-fonce));
  color: var(--dimm-blanc);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content:'';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 40%;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,.14) 0 2px, transparent 2px 10px);
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}
.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}
.cta-band h2 { color: var(--dimm-blanc); margin: 0 0 .3em; }
.cta-band p { color: rgba(255,255,255,.9); margin: 0; max-width: 600px; }

/* ============ Footer ============ */
.site-footer {
  background: var(--dimm-bleu-nuit);
  color: rgba(255,255,255,.75);
  padding: 64px 0 30px;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 360px; height: 180px;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,.06) 0 2px, transparent 2px 10px);
  clip-path: polygon(0 0, 100% 0, 60% 100%, 0 100%);
  pointer-events: none;
}
.site-footer::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("../img/brand/ligne2.png");
  background-repeat: no-repeat;
  background-position: 110% center;
  background-size: 65% auto;
  opacity: .12;
  filter: brightness(6) saturate(0);
  pointer-events: none;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  position: relative;
  z-index: 2;
}
.site-footer h4 {
  color: var(--dimm-blanc);
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 18px;
}
.site-footer a { color: rgba(255,255,255,.75); }
.site-footer a:hover { color: var(--dimm-cyan); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; font-size: .94rem; }
.footer-brand img { height: 54px; filter: brightness(0) invert(1); margin-bottom: 16px; }
.footer-brand p { font-size: .95rem; max-width: 320px; }

.social-row {
  display: flex;
  gap: 10px;
  margin: 18px 0 8px;
}
.social-row a {
  width: 38px; height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.85);
  transition: all .3s var(--ease);
}
.social-row a:hover {
  background: var(--dimm-cyan);
  border-color: var(--dimm-cyan);
  color: var(--dimm-blanc);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,159,227,.35);
}
.social-row svg { width: 18px; height: 18px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 48px;
  padding-top: 22px;
  font-size: .85rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  position: relative;
  z-index: 2;
}

/* ============ Split (image + texte) ============ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split.reverse > *:first-child { order: 2; }
.split-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
  box-shadow: 0 20px 50px rgba(26,34,56,.12);
}
.split-image::after {
  content:'';
  position: absolute;
  bottom: -20px; right: -20px;
  width: 140px; height: 80px;
  background: linear-gradient(135deg, var(--dimm-cyan), var(--dimm-bleu-fonce));
  border-radius: 8px;
  z-index: -1;
}
.split-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease), filter .7s var(--ease);
}
.split-image:hover img {
  transform: scale(1.08);
  filter: brightness(1.03) saturate(1.1);
}
.split-image::before {
  content:'';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,159,227,0) 0%, rgba(0,159,227,.25) 100%);
  opacity: 0;
  transition: opacity .5s var(--ease);
  z-index: 1;
  pointer-events: none;
}
.split-image:hover::before { opacity: 1; }

/* ============ Wave decoration ============ */
.wave {
  width: 100%;
  height: 48px;
  background:
    radial-gradient(ellipse at 50% 100%, var(--dimm-cyan) 0%, transparent 70%),
    repeating-linear-gradient(90deg,
      var(--dimm-cyan) 0 8px,
      transparent 8px 18px);
  opacity: .18;
  mask: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}

/* ============ Contact box ============ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.contact-card {
  background: var(--dimm-blanc);
  border: 1px solid var(--dimm-border);
  border-radius: var(--radius-md);
  padding: 32px;
}
.contact-card h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--dimm-bleu-nuit);
}
.contact-card h3::before {
  content: '';
  width: 8px; height: 28px;
  background: var(--dimm-cyan);
  border-radius: 2px;
}
.contact-card address {
  font-style: normal;
  line-height: 1.85;
  color: var(--dimm-text);
}

/* ============ Form (si reprise) ============ */
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: 6px;
  color: var(--dimm-text);
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--dimm-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color .2s var(--ease);
  background: var(--dimm-blanc);
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--dimm-cyan);
  box-shadow: 0 0 0 3px rgba(0,159,227,.12);
}
.form-field textarea { resize: vertical; min-height: 140px; }

/* ============ Formulaire contact B2B (FormSubmit) ============ */
.contact-form {
  max-width: 820px;
  margin: 0 auto;
  padding: 40px clamp(20px, 4vw, 44px);
  background: var(--dimm-blanc, #fff);
  border: 1px solid var(--dimm-border, #d9e1ee);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(29, 48, 153, .06);
}
.contact-form .form-title {
  margin: 0 0 6px;
  color: var(--dimm-blue-dark, #1d3099);
  font-size: 1.6rem;
}
.contact-form .form-intro {
  margin: 0 0 28px;
  color: var(--dimm-text-muted, #5b6579);
  font-size: .95rem;
}
.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.contact-form .form-row .form-field { margin-bottom: 4px; }

.contact-form .form-consent {
  margin-top: 18px;
  padding: 16px 18px;
  background: var(--dimm-bg-ice, #f3f6fc);
  border-radius: 10px;
  border-left: 3px solid var(--dimm-cyan, #009FE3);
}
.contact-form .checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .92rem;
  font-weight: 400;
  cursor: pointer;
  color: var(--dimm-text);
}
.contact-form .checkbox input[type="checkbox"] {
  width: 18px; height: 18px;
  margin-top: 2px;
  flex: 0 0 18px;
  accent-color: var(--dimm-cyan, #009FE3);
  cursor: pointer;
}
.contact-form .checkbox a {
  color: var(--dimm-cyan, #009FE3);
  text-decoration: underline;
}

/* Captcha visuel */
.form-captcha { margin-top: 18px; }
.captcha-box {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 6px;
}
.captcha-question {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dimm-bleu);
  white-space: nowrap;
  background: var(--dimm-bg-ice, #f3f6fc);
  padding: 10px 18px;
  border-radius: 8px;
  border: 1px solid var(--dimm-border, #d9e1ee);
}
.captcha-box input {
  width: 100px;
}

/* Lien "Nous écrire" dans les fiches contact */
.contact-email-link {
  color: var(--dimm-cyan);
  font-weight: 600;
  text-decoration: none;
  transition: color .2s;
}
.contact-email-link:hover {
  color: var(--dimm-bleu);
  text-decoration: underline;
}

.contact-form .form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--dimm-border, #d9e1ee);
}
.contact-form .form-note {
  font-size: .85rem;
  color: var(--dimm-text-muted, #5b6579);
}

/* Messages d'erreur inline sous les champs */
.field-error {
  display: none;
  font-size: .82rem;
  color: #d32f2f;
  margin-top: 4px;
  line-height: 1.3;
}
.form-field.field-invalid input,
.form-field.field-invalid textarea,
.form-field.field-invalid select {
  border-color: #d32f2f;
  box-shadow: 0 0 0 2px rgba(211, 47, 47, .15);
}
.form-field.field-invalid label { color: #d32f2f; }

@media (max-width: 640px) {
  .contact-form .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 20px; }
}

/* ============ Message de confirmation contact ============ */
.contact-success {
  max-width: 720px;
  margin: 24px auto 0;
  padding: 48px 36px;
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, var(--dimm-bg-ice, #f3f6fc) 100%);
  border: 1px solid var(--dimm-border, #d9e1ee);
  border-top: 4px solid var(--dimm-cyan, #009FE3);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(29, 48, 153, .08);
}
.contact-success .success-icon {
  width: 72px; height: 72px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dimm-cyan, #009FE3);
  color: #fff;
  border-radius: 50%;
  font-size: 2.2rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0, 159, 227, .35);
}
.contact-success h2 {
  margin: 0 0 14px;
  color: var(--dimm-blue-dark, #1d3099);
  font-size: 1.75rem;
}
.contact-success p { margin: 10px 0; color: var(--dimm-text); }
.contact-success .success-phones {
  margin: 18px 0 24px;
  padding: 14px 18px;
  background: #fff;
  border-radius: 10px;
  display: inline-block;
  font-size: .98rem;
}
.contact-success .success-phones a {
  color: var(--dimm-cyan, #009FE3);
  text-decoration: none;
  font-weight: 700;
}
.contact-success .success-phones span { margin: 0 12px; color: var(--dimm-border); }

/* ============ Hero slider — style social media DIMM ============ */
.hero-slider {
  position: relative;
  height: clamp(560px, 76vh, 740px);
  overflow: hidden;
  background: #1d3099; /* bleu électrique social media */
  color: var(--dimm-blanc);
}
.slides { position: relative; width: 100%; height: 100%; }
.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .8s var(--ease), visibility 0s linear .8s;
  padding: 40px 0 80px;
}
.slide.active {
  opacity: 1;
  visibility: visible;
  transition: opacity .8s var(--ease), visibility 0s;
  z-index: 2;
}
.slide-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
/* Fonds par slide — visuels plein écran fidèles au V1 */
/* ── Vidéo de fond dans les slides ── */
.slide-video {
  position: absolute;
  top: 50%; left: 50%;
  min-width: 100%; min-height: 100%;
  width: auto; height: auto;
  transform: translate(-50%, -50%) scale(1.08);
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

/* Slide Catalogues — fond vidéo rivière + overlay sombre pour lisibilité */
.slide-catalogues .slide-bg {
   background: linear-gradient(135deg, #0a3a5e 0%, #1a5a80 100%);
}
.slide-catalogues .slide-bg::before,
.slide-destockage .slide-bg::before,
.slide-orus2 .slide-bg::before { display: none !important; }
.slide-orus2 .slide-video {
  transform: translate(-50%, -50%) scale(0.85);
  object-fit: contain;
}

/* Slide Orus 2 */
.slide-orus2 .slide-bg {
  background-image: url("../img/slides/orus2-bg.png");
  background-size: cover;
  background-position: center;
}
.slide-orus2 .slide-bg::before,
.slide-orus2 .slide-bg::after { display: none !important; }

/* Slide Pur'o Pluie — fond vidéo pluie + overlay */
.slide-puropluie .slide-bg {
  background: linear-gradient(145deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}
.slide-puropluie .slide-bg::before { display: none !important; }

/* Overlay sombre sur les slides vidéo pour lisibilité du texte */
.slide-catalogues .slide-bg::after,
.slide-puropluie .slide-bg::after,
.slide-destockage .slide-bg::after,
.slide-orus2 .slide-bg::after {
  display: block !important;
  content: '';
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 15, 40, .35) !important;
  background-image: none !important;
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
  z-index: 1;
}

/* Eyebrow jaune (NOUVEAU / EXCLUSIF) */
.eyebrow-yellow {
  color: #f0c800 !important;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* Boutons multiples dans un slide */
.slide-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

/* Visuels produits dans les slides */
.slide-visual img {
  max-height: 420px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 30px rgba(0,0,0,.25));
}

/* Pur'o Pluie — produit intégré avec glow et animation */
.slide-visual-puropluie {
  position: relative;
}
.slide-visual-puropluie img {
  max-height: 440px;
  border-radius: 18px;
  background: rgba(255,255,255,.92);
  padding: 18px 22px;
  box-shadow:
    0 8px 40px rgba(0, 120, 200, .35),
    0 0 60px rgba(0, 160, 255, .15);
  animation: puropluie-float 5s ease-in-out infinite;
}
@keyframes puropluie-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(.5deg); }
}

/* Orus agrandi (2×) + animation flottante subtile */
.slide-visual-orus img {
  max-height: 700px;
  filter: drop-shadow(0 20px 50px rgba(0,0,0,.45));
  animation: orus-float 4s ease-in-out infinite;
}
@keyframes orus-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-16px); }
}

/* Coin haut-droit : ligne graphique authentique (comme template) */
.slide-bg::before {
  content:'';
  position: absolute;
  top: -10%;
  right: -8%;
  width: 48%;
  height: 75%;
  background-image: url("../img/brand/ligne2.png");
  background-repeat: no-repeat;
  background-position: right top;
  background-size: contain;
  opacity: .95;
  animation: slideInTR 1.2s var(--ease) both;
}
/* Coin bas-gauche : ligne graphique miroir (comme template) */
.slide-bg::after {
  content:'';
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 42%;
  height: 65%;
  background-image: url("../img/brand/ligne3.png");
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: contain;
  opacity: .75;
  transform: scaleX(-1) rotate(0deg);
  animation: slideInBL 1.2s var(--ease) .15s both;
}
@keyframes slideInTR {
  from { transform: translate(8%, -6%); opacity: 0; }
  to   { transform: translate(0,0); opacity: .95; }
}
@keyframes slideInBL {
  from { transform: scaleX(-1) translate(-8%, 6%); opacity: 0; }
  to   { transform: scaleX(-1) translate(0,0); opacity: .75; }
}

.slide-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}
/* Cadre semi-transparent derrière le texte pour la lisibilité */
.slide-text {
  max-width: 640px;
  background: rgba(0, 20, 60, .55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 16px;
  padding: 36px 40px;
}
.slide-text .eyebrow {
  color: var(--dimm-cyan);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.slide-text .lead,
.slide-text .lead strong,
.slide-text p {
  color: #fff !important;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  font-weight: 300;
  margin-bottom: 1.8em;
  max-width: 580px;
  line-height: 1.5;
}

/* Typo hero — bold / uppercase à l'image des posts */
.hero-big {
  color: var(--dimm-blanc);
  font-weight: 900;
  font-size: clamp(2.2rem, 5.2vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -.01em;
  margin-bottom: 1em;
  text-transform: uppercase;
}
.hero-big em {
  font-style: normal;
  color: var(--dimm-cyan);
}
.hero-kicker {
  color: rgba(255,255,255,.92);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  margin-bottom: .6em;
  letter-spacing: 0;
  text-transform: none;
}

/* Visuel — photo en coupe angulaire (comme les posts) */
.slide-visual { display: flex; justify-content: center; align-items: center; }
.visual-angular {
  position: relative;
  width: clamp(315px, 39vw, 585px);
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--dimm-blanc);
  box-shadow: 0 28px 70px rgba(0,0,0,.32);
  clip-path: polygon(8% 0, 100% 0, 100% 92%, 92% 100%, 0 100%, 0 8%);
}
.visual-angular img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.visual-angular:hover img { transform: scale(1.08); }

/* Visuel rond (conservé pour rétro-compat) */
.visual-disc {
  position: relative;
  width: clamp(260px, 30vw, 380px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--dimm-blanc);
  box-shadow: 0 22px 60px rgba(0,0,0,.25);
  border: 6px solid rgba(255,255,255,.2);
}
.visual-disc::before {
  content:'';
  position: absolute;
  inset: -20px -40px auto auto;
  width: 140px; height: 80px;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,.5) 0 2px, transparent 2px 10px);
  transform: rotate(8deg);
  z-index: 2;
  border-radius: 4px;
}
.visual-disc img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.visual-disc:hover img { transform: scale(1.12); }

/* Flèches slider */
.slider-arrow {
  position: absolute;
  top: calc(50% - 20px);
  transform: translateY(-50%);
  z-index: 10;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  border: 1.5px solid rgba(255,255,255,.35);
  color: var(--dimm-blanc);
  font-size: 0;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: all .25s var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
}
.slider-arrow::after {
  content: '';
  display: block;
  width: 14px; height: 14px;
  border-top: 2.5px solid var(--dimm-blanc);
  border-right: 2.5px solid var(--dimm-blanc);
  transform: rotate(45deg);
  margin-left: -4px;
}
.slider-arrow.prev::after {
  transform: rotate(-135deg);
  margin-left: 4px;
  margin-right: 0;
}
.slider-arrow:hover {
  background: var(--dimm-cyan);
  border-color: var(--dimm-cyan);
}
.slider-arrow.prev { left: 24px; }
.slider-arrow.next { right: 24px; }

/* Points pagination */
.slider-dots {
  position: absolute;
  bottom: 44px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}
.slider-dots .dot {
  width: 36px; height: 4px;
  border: none;
  background: rgba(255,255,255,.35);
  border-radius: 2px;
  cursor: pointer;
  padding: 0;
  transition: background .25s var(--ease);
}
.slider-dots .dot.active { background: var(--dimm-cyan); }
.slider-dots .dot:hover { background: rgba(255,255,255,.7); }

/* Vague décorative bas de hero — tuile SVG qui se raccorde exactement */
.wave-footer {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 60px;
  z-index: 3;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'><path d='M0,30 Q360,-10 720,30 T1440,30 L1440,60 L0,60 Z' fill='%23ffffff'/></svg>");
  background-repeat: repeat-x;
  background-size: 1440px 60px;
  background-position: 0 0;
}

/* ============ Décorations brandbook réutilisables ============ */
.with-deco { position: relative; overflow: hidden; }
.brand-deco { position: absolute; pointer-events: none; z-index: 0; }
.hero-slider .brand-deco { z-index: 4; }

.deco-stripes-right {
  top: 60px;
  right: 0;
  width: 200px;
  height: 180px;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,.12) 0 2px, transparent 2px 10px);
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
}
.deco-stripes-topright {
  top: -20px;
  right: -20px;
  width: 420px;
  height: 260px;
  background-image: url("../img/brand/ligne2.png");
  background-repeat: no-repeat;
  background-position: right top;
  background-size: contain;
  opacity: .35;
}
.deco-rect-left {
  bottom: 90px;
  left: -30px;
  width: 220px;
  height: 90px;
  background: linear-gradient(135deg, var(--dimm-cyan), rgba(29,113,184,.6));
  transform: skewY(-8deg);
  opacity: .4;
  border-radius: 6px;
}
.deco-rect-bottomright {
  bottom: -20px;
  right: -20px;
  width: 460px;
  height: 280px;
  background-image: url("../img/brand/ligne3.png");
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: contain;
  opacity: .3;
}

/* ===== Ligne graphique authentique DIMM (.ai extraite) ===== */
/* Ligne2 : format paysage, composition en bas-droit */
.deco-ligne2 {
  top: 0;
  right: 0;
  width: 58%;
  max-width: 820px;
  height: 100%;
  background-image: url("../img/brand/ligne2.png");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: contain;
  opacity: .85;
}
.deco-ligne2.light { filter: brightness(1.15); }
.deco-ligne2.subtle { opacity: .35; }
.deco-ligne2.small { width: 340px; height: 200px; }

/* Ligne3 : format plus vertical, composition centrée-droite */
.deco-ligne3 {
  top: -5%;
  right: -5%;
  width: 46%;
  max-width: 620px;
  height: 110%;
  background-image: url("../img/brand/ligne3.png");
  background-repeat: no-repeat;
  background-position: right top;
  background-size: contain;
  opacity: .75;
}
.deco-ligne3.left {
  left: -5%;
  right: auto;
  transform: scaleX(-1);
}
.deco-ligne3.subtle { opacity: .28; }
.deco-ligne3.small { width: 280px; height: 320px; }

/* Bande signature "brand" : pleine largeur, bleu nuit, ligne graphique authentique */
.brand-signature {
  position: relative;
  background: linear-gradient(115deg, #0e1a5c 0%, var(--dimm-bleu-nuit) 55%, var(--dimm-bleu-fonce) 100%);
  color: var(--dimm-blanc);
  padding: 88px 0;
  overflow: hidden;
}
.brand-signature::before {
  content:'';
  position: absolute;
  inset: 0;
  background-image: url("../img/brand/ligne2.png");
  background-repeat: no-repeat;
  background-position: 120% center;
  background-size: 70% auto;
  opacity: .35;
  filter: brightness(1.1);
  pointer-events: none;
}
.brand-signature .container {
  position: relative;
  z-index: 2;
  background: rgba(0, 15, 50, .45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 16px;
  padding: 40px 44px;
}
.brand-signature .eyebrow { color: var(--dimm-cyan); }
.brand-signature h2 {
  color: #fff;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  line-height: 1.15;
  max-width: 620px;
}
.brand-signature p { color: #fff; max-width: 580px; font-size: 1.08rem; line-height: 1.6; }

/* Divider pleine largeur avec ligne graphique (entre sections claires) */
.brand-divider {
  position: relative;
  height: 160px;
  overflow: hidden;
  background: linear-gradient(90deg, #ffffff 0%, #f0f7fb 100%);
}
.brand-divider::before {
  content:'';
  position: absolute;
  inset: 0;
  background-image: url("../img/brand/ligne2.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  opacity: .22;
}
.brand-divider.dark {
  background: var(--dimm-bleu-nuit);
}
.brand-divider.dark::before {
  opacity: .9;
  filter: brightness(1.05);
}

/* ============ Hero Pâques (accueil) ============ */
.hero-paques {
  padding: 110px 0 120px;
  background: linear-gradient(135deg, #1a2a78 0%, var(--dimm-bleu-nuit) 50%, var(--dimm-bleu-fonce) 100%);
}
.hero-paques-grid { position: relative; z-index: 2; }
/* (hero-big / hero-kicker défini plus haut dans la section slider — style social media) */
.accent-cyan { color: var(--dimm-cyan); }

/* ============ Offer band ============ */
.offer-band {
  background: var(--dimm-cyan);
  color: var(--dimm-blanc);
  padding: 26px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.offer-band::before {
  content:'';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,.1) 0 2px, transparent 2px 14px);
  pointer-events: none;
}
.offer-band h1 {
  color: var(--dimm-blanc);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 700;
  margin: 0;
  position: relative;
  z-index: 2;
}

/* ============ Card variants ============ */
.card-grid.three { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); max-width: 1100px; margin: 0 auto; }
.card.center { text-align: center; }
.card.center .card-icon { margin-left: auto; margin-right: auto; }
.card-icon.big { width: 60px; height: 60px; font-size: 1.8rem; }
.card-pillar {
  display: flex;
  flex-direction: column;
  color: inherit;
}
.card-pillar h3 { color: var(--dimm-bleu-nuit); }
.card-pillar p { flex: 1; }
.card-pillar:hover { color: inherit; }

/* ============ Produits/Zoom sur grid : cartes avec miniature ============ */
.produits-grid,
.zoom-sur-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.card-with-thumb {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: inherit;
  background: var(--dimm-blanc, #fff);
  border-radius: 14px;
}
.card-with-thumb .card-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #f3f6fc 0%, #e3ebf5 100%);
  position: relative;
}
.card-with-thumb .card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s var(--ease, cubic-bezier(.2,.8,.2,1));
}
.card-with-thumb:hover .card-thumb img,
.card-with-thumb:focus-visible .card-thumb img {
  transform: scale(1.06);
}
.card-with-thumb .card-body {
  display: flex;
  flex-direction: column;
  padding: 20px 22px 22px;
  flex: 1;
}
.card-with-thumb .card-body h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--dimm-bleu-nuit);
}
.card-with-thumb .card-body p {
  margin: 0 0 14px;
  flex: 1;
  color: var(--dimm-text-muted, #5b6579);
  font-size: .92rem;
}
.card-with-thumb .card-body .card-link {
  color: var(--dimm-cyan, #009FE3);
  font-weight: 600;
  font-size: .9rem;
}
.card-with-thumb .card-body .card-link::after {
  content: " →";
  transition: transform .25s ease;
  display: inline-block;
}
.card-with-thumb:hover .card-body .card-link::after,
.card-with-thumb:focus-visible .card-body .card-link::after {
  transform: translateX(4px);
}

/* ============ Zoom-sur search bar & date badges ============ */
.zoom-search-bar {
  max-width: 560px;
  margin: 0 auto 36px;
  position: relative;
  text-align: center;
}
.zoom-search-input {
  width: 100%;
  padding: 14px 48px 14px 20px;
  border: 2px solid var(--dimm-border, #e3eaf4);
  border-radius: 40px;
  font-family: var(--font-principal);
  font-size: 1rem;
  color: var(--dimm-text);
  background: var(--dimm-blanc, #fff);
  outline: none;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.zoom-search-input:focus {
  border-color: var(--dimm-cyan, #009FE3);
  box-shadow: 0 0 0 3px rgba(0, 159, 227, .15);
}
.zoom-search-input::placeholder { color: var(--dimm-text-muted, #5b6579); opacity: .6; }
.zoom-search-icon {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  pointer-events: none;
  opacity: .45;
}
.zoom-result-count {
  margin: 10px 0 0;
  font-size: .88rem;
  color: var(--dimm-text-muted, #5b6579);
}
.zoom-no-result {
  text-align: center;
  color: var(--dimm-text-muted, #5b6579);
  font-size: 1rem;
  padding: 40px 20px;
}

/* Date badge on article cards */
.card-date {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  color: var(--dimm-cyan, #009FE3);
  letter-spacing: .02em;
  margin-bottom: 6px;
}

/* Hide cards when filtered out */
.article-card[hidden] { display: none !important; }

/* ============ Zoom grid ============ */
.zoom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.zoom-card {
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  color: var(--dimm-text);
  background: var(--dimm-blanc);
  border: 1px solid var(--dimm-border);
  transition: all .3s var(--ease);
}
.zoom-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(26,34,56,.1);
  color: var(--dimm-text);
}
.zoom-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--dimm-bg-ice);
}
.zoom-img { position: relative; }
.zoom-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease), filter .6s var(--ease);
}
.zoom-img::after {
  content:'';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(42,63,147,.45) 100%);
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.zoom-card:hover .zoom-img img {
  transform: scale(1.12);
  filter: brightness(1.05) saturate(1.1);
}
.zoom-card:hover .zoom-img::after { opacity: 1; }
.zoom-card h3 {
  padding: 20px 22px 22px;
  font-size: 1.05rem;
  line-height: 1.35;
  color: var(--dimm-bleu-nuit);
  margin: 0;
}

/* ============ Logo row (certifs, marques) ============ */
.logo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: center;
}
.logo-row img {
  max-height: 60px;
  max-width: 140px;
  filter: grayscale(30%);
  opacity: .75;
  transition: all .3s var(--ease);
}
.logo-row img:hover {
  filter: grayscale(0);
  opacity: 1;
}

/* ============ Page Certifications ============ */
.certif-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 36px;
}
.certif-card {
  background: var(--dimm-blanc);
  border-radius: 16px;
  padding: 36px 40px;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
  border-left: 5px solid var(--dimm-cyan);
}
.certif-logo {
  margin-bottom: 16px;
}
.certif-logo img {
  max-height: 56px;
  max-width: 160px;
}
.certif-card h2 {
  font-size: 1.4rem;
  color: var(--dimm-bleu);
  margin-top: 0;
  margin-bottom: 4px;
}
.certif-subtitle {
  font-size: .92rem;
  color: var(--dimm-text-muted, #5b6579);
  font-style: italic;
  margin-bottom: 16px;
}
.certif-card ul {
  margin: 12px 0 16px 20px;
  padding: 0;
}
.certif-card li {
  margin-bottom: 6px;
  line-height: 1.55;
}
.certif-scope {
  background: var(--dimm-bg-ice, #f3f6fc);
  padding: 12px 18px;
  border-radius: 8px;
  font-size: .95rem;
  margin-top: 16px;
}
@media (max-width: 640px) {
  .certif-card { padding: 24px 20px; }
}

/* ============ About DIMM + stats ============ */
.about-dimm { background: var(--dimm-bg-ice); position: relative; overflow: hidden; }
.about-dimm::before {
  content:'';
  position: absolute;
  top: 0; right: -5%;
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(0,159,227,.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.about-dimm::after {
  content:'';
  position: absolute;
  bottom: -10%;
  left: -6%;
  width: 520px;
  height: 320px;
  background-image: url("../img/brand/ligne3.png");
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: contain;
  opacity: .22;
  transform: scaleX(-1);
  pointer-events: none;
  z-index: 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.lead-about {
  font-size: 1.12rem;
  line-height: 1.65;
  color: var(--dimm-text);
  margin-bottom: 1.2em;
}
.about-dimm p strong { color: var(--dimm-bleu-nuit); }

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.stat {
  background: var(--dimm-blanc);
  border: 1px solid var(--dimm-border);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all .3s var(--ease);
}
.stat::before {
  content:'';
  position: absolute;
  top:0; left:0; right:0;
  height: 3px;
  background: linear-gradient(90deg, var(--dimm-cyan), var(--dimm-bleu-fonce));
}
.stat:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(26,34,56,.1);
}
.stat-num {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--dimm-bleu-nuit);
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--dimm-bleu-nuit), var(--dimm-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label {
  font-size: .9rem;
  color: var(--dimm-text-muted);
  line-height: 1.4;
}

/* ============ FAQ ============ */
.faq-section { background: var(--dimm-blanc); }
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: var(--dimm-blanc);
  border: 1px solid var(--dimm-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.faq-item[open] {
  border-color: var(--dimm-cyan);
  box-shadow: 0 6px 20px rgba(0,159,227,.1);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 56px 20px 24px;
  position: relative;
  transition: background .2s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--dimm-bg-ice); }
.faq-item summary h3 {
  display: inline;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dimm-bleu-nuit);
  margin: 0;
}
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
  color: var(--dimm-cyan);
  font-weight: 300;
  transition: transform .3s var(--ease);
  line-height: 1;
}
.faq-item[open] summary::after {
  content: '–';
  transform: translateY(-50%) rotate(180deg);
}
.faq-answer {
  padding: 4px 24px 22px;
  color: var(--dimm-text);
  line-height: 1.65;
}
.faq-answer p { margin: 0; }

/* ============ Sites-section (sister sites) ============ */
.sites-section { position: relative; overflow: hidden; }
.sites-section::before {
  content:'';
  position: absolute;
  top: -40px; right: -60px;
  width: 520px; height: 340px;
  background-image: url("../img/brand/ligne2.png");
  background-repeat: no-repeat;
  background-position: right top;
  background-size: contain;
  opacity: .22;
  pointer-events: none;
  z-index: 0;
}
.sites-section .container { position: relative; z-index: 1; }
.sites-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.site-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 22px;
  background: var(--dimm-blanc);
  border: 1px solid var(--dimm-border);
  border-radius: var(--radius-md);
  color: var(--dimm-text);
  transition: all .35s var(--ease);
  position: relative;
  overflow: hidden;
}
.site-card::before {
  content:'';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--dimm-cyan), var(--dimm-bleu-fonce));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.site-card:hover {
  border-color: transparent;
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(26,34,56,.12);
  color: var(--dimm-text);
}
.site-card:hover::before { transform: scaleX(1); }

.site-logo-wrap {
  width: 100%;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.site-logo-wrap img {
  max-height: 60px;
  max-width: 90%;
  object-fit: contain;
  filter: grayscale(25%);
  opacity: .85;
  transition: all .35s var(--ease);
}
.site-card:hover .site-logo-wrap img {
  filter: none;
  opacity: 1;
  transform: scale(1.06);
}
.site-card h3 {
  font-size: 1.1rem;
  margin: 0 0 6px;
  color: var(--dimm-bleu-nuit);
}
.site-card p {
  font-size: .9rem;
  color: var(--dimm-text-muted);
  margin: 0 0 14px;
  flex: 1;
}
.site-url {
  font-size: .82rem;
  font-weight: 600;
  color: var(--dimm-cyan);
  letter-spacing: .01em;
}
.site-url .ext {
  display: inline-block;
  margin-left: 3px;
  transition: transform .25s var(--ease);
}
.site-card:hover .site-url .ext { transform: translate(3px, -3px); }

/* ============ Footer slogan ============ */
.footer-slogan {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
  padding-bottom: 48px;
  margin-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  position: relative;
  z-index: 2;
}
.slogan-line {
  color: var(--dimm-blanc);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 900;
  letter-spacing: .04em;
  margin: 0;
  line-height: 1;
}
.slogan-line:nth-child(2) { color: var(--dimm-cyan); }

/* ============================================
   ANIMATIONS
   ============================================ */

/* --- Keyframes --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes zoomIn {
  from { opacity: 0; transform: scale(.92); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}
@keyframes spinSlow { to { transform: rotate(360deg); } }
@keyframes waveShift {
  0%   { background-position: 0 0; }
  100% { background-position: -1440px 0; }
}
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: .9; }
  50%      { transform: scale(1.25); opacity: 1; }
}
@keyframes slideInBg {
  from { opacity: 0; transform: scale(1.08); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes stripesMove {
  0%   { background-position: 0 0; }
  100% { background-position: 60px 60px; }
}

/* --- Reveal au scroll (JS ajoute .in-view) --- */
.reveal            { opacity: 0; transform: translateY(32px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal-left       { opacity: 0; transform: translateX(-40px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal-right      { opacity: 0; transform: translateX(40px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal-zoom       { opacity: 0; transform: scale(.92); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in-view,
.reveal-left.in-view,
.reveal-right.in-view,
.reveal-zoom.in-view { opacity: 1; transform: none; }

/* Stagger enfants */
.stagger > * { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.stagger.in-view > *          { opacity: 1; transform: none; }
.stagger.in-view > *:nth-child(1) { transition-delay: .05s; }
.stagger.in-view > *:nth-child(2) { transition-delay: .15s; }
.stagger.in-view > *:nth-child(3) { transition-delay: .25s; }
.stagger.in-view > *:nth-child(4) { transition-delay: .35s; }
.stagger.in-view > *:nth-child(5) { transition-delay: .45s; }
.stagger.in-view > *:nth-child(6) { transition-delay: .55s; }
.stagger.in-view > *:nth-child(7) { transition-delay: .65s; }
.stagger.in-view > *:nth-child(8) { transition-delay: .75s; }
.stagger.in-view > *:nth-child(9) { transition-delay: .85s; }
.stagger.in-view > *:nth-child(10) { transition-delay: .95s; }
.stagger.in-view > *:nth-child(11) { transition-delay: 1.05s; }

/* --- Slider : animation d'entrée contenu --- */
.slide.active .slide-text .eyebrow  { animation: fadeInUp .7s var(--ease) .15s both; }
.slide.active .slide-text .hero-kicker { animation: fadeInUp .7s var(--ease) .25s both; }
.slide.active .slide-text .hero-big { animation: fadeInUp .8s var(--ease) .35s both; }
.slide.active .slide-text .lead     { animation: fadeInUp .7s var(--ease) .5s both; }
.slide.active .slide-text .btn      { animation: fadeInUp .7s var(--ease) .65s both; }
.slide.active .slide-visual         { animation: zoomIn .9s var(--ease) .3s both; }
.slide.active .slide-bg             { animation: slideInBg 1.2s var(--ease) both; }

/* Visuel flottant en continu */
.visual-disc { animation: float 5s ease-in-out infinite; }

/* Vague du bas : défilement sans couture (background-position) */
.wave-footer {
  animation: waveShift 18s linear infinite;
}

/* --- Offer band : reflet brillant --- */
.offer-band {
  background: linear-gradient(90deg, var(--dimm-cyan), var(--dimm-bleu-fonce), var(--dimm-cyan));
  background-size: 200% 100%;
  animation: shimmer 8s linear infinite;
}
/* --- Hover cards plus dynamique --- */
.card, .zoom-card, .card-pillar { will-change: transform; }
.card-pillar:hover,
.zoom-card:hover {
  transform: translateY(-6px) scale(1.01);
}

/* Logos : petite levée au survol */
.logo-row img { transition: transform .4s var(--ease), opacity .3s var(--ease), filter .3s var(--ease); }
.logo-row img:hover { transform: translateY(-4px) scale(1.05); }

/* --- Ondes décoratives en fond de sections --- */
.content-section.alt { position: relative; overflow: hidden; }
.content-section.alt::before {
  display: none;
}

/* Toutes les pages : sections .alt en blanc pur, sans décor */

/* --- Points du slider : halo actif --- */
.slider-dots .dot.active {
  box-shadow: 0 0 0 4px rgba(0,159,227,.25);
}

/* --- Logo header : clic bounce --- */
.site-logo img { transition: transform .3s var(--ease); }
.site-logo:hover img { transform: scale(1.05); }

/* --- Buttons : effet d'onde --- */
.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn::before {
  content:'';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
  transform: translateX(-100%);
  transition: transform .6s var(--ease);
  z-index: -1;
}
.btn:hover::before { transform: translateX(100%); }

/* --- Respecter prefers-reduced-motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal, .reveal-left, .reveal-right, .reveal-zoom,
  .stagger > * { opacity: 1 !important; transform: none !important; }
}

/* ============ Responsive ============ */
@media (max-width: 900px) {
  section { padding: 56px 0; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse > *:first-child { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 80px 0 90px; }
  .page-header { padding: 64px 0 72px; }
  .slide-inner { grid-template-columns: 1fr; gap: 20px; text-align: center; }
  .slide-text { margin: 0 auto; padding: 20px 16px; }
  .slide {
    padding: 20px 0 36px;
    align-items: center;
    justify-content: center;
  }
  .visual-disc { width: 240px; }
  .hero-slider { height: 75vh; min-height: 460px; max-height: 680px; }
  /* Flèches visibles en mobile — taille réduite */
  .slider-arrow {
    display: flex;
    width: 40px; height: 40px;
  }
  .slider-arrow::after { width: 10px; height: 10px; border-width: 2px; }
  .slider-arrow.prev { left: 10px; }
  .slider-arrow.next { right: 10px; }
  /* Vidéo calée sur la hauteur, centrée horizontalement */
  .slide-video {
    top: 0; left: 50%;
    transform: translateX(-50%) scale(1.02);
    width: auto; height: 100%;
    min-width: 100%; min-height: 100%;
    object-fit: cover;
  }
  .slide-orus2 .slide-video {
    transform: translateX(-50%) scale(1);
    object-fit: cover;
  }
  .slide-text .lead,
  .slide-text .lead strong,
  .slide-text p { margin-bottom: .8em; font-size: .95rem; }
  .slide-text .eyebrow { font-size: .82rem; }
  .slider-dots { bottom: 12px; }
  .wave-footer { height: 30px; }
  .deco-ligne2, .deco-ligne3 { width: 75%; opacity: .5; }
  .brand-signature { padding: 64px 0; }
  .brand-signature::before { background-size: 110% auto; opacity: .75; }
  .brand-signature h2 { font-size: 1.7rem; }
  .brand-divider { height: 100px; }
  .sites-section::before { width: 320px; height: 220px; opacity: .15; }
  .about-dimm::after { width: 340px; height: 220px; opacity: .15; }
  .slide-bg::before { width: 65%; height: 50%; background-position: right top; opacity: .55; }
  .slide-bg::after { width: 60%; height: 45%; opacity: .4; }
  .page-header::before { width: 85%; opacity: .55; }
  .hero-big { font-size: clamp(1.8rem, 7vw, 2.6rem); }
  .visual-angular { display: none; }
  .slide-visual img { max-height: 280px; }
  .slide-visual-orus img { max-height: 400px; }
  .slide-visual-puropluie img { max-height: 220px; padding: 12px 14px; }
  .slide-buttons { justify-content: center; }
}
@media (max-width: 640px) {
  .hero-slider { height: 70vh; min-height: 420px; max-height: 580px; }
  .slide { padding: 16px 0 28px; }
  .slide-text { padding: 16px 12px; }
  .slide-visual img { max-height: 200px; }
  .slide-visual-orus img { max-height: 280px; }
  .hero-big { font-size: clamp(1.5rem, 6.5vw, 2.2rem); }
  .slider-arrow { width: 34px; height: 34px; }
  .slider-arrow::after { width: 8px; height: 8px; }
  .slider-arrow.prev { left: 6px; }
  .slider-arrow.next { right: 6px; }
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--dimm-blanc);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px;
    gap: 0;
    border-bottom: 1px solid var(--dimm-border);
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 10px 0; border-bottom: 1px solid var(--dimm-border); }
  .lang-switch { border-left: none; padding-left: 0; margin-left: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band .container { flex-direction: column; align-items: flex-start; }
}

/* ================================================================
   Page Ressources — catalogues PDF (liens Dropbox)
   ================================================================ */
.ressources-catalogues h2 {
  margin-top: 56px;
  padding-top: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--dimm-cyan, #009FE3);
  color: var(--dimm-blue-dark, #1d3099);
  scroll-margin-top: 120px;
}
.ressources-catalogues h3 {
  margin-top: 36px;
  color: var(--dimm-blue, #1d71b8);
  scroll-margin-top: 120px;
}
.ressources-catalogues h2:first-child,
.ressources-catalogues h3:first-child { margin-top: 24px; }

.ressources-catalogues p { margin: 10px 0; }

.ressources-catalogues a.pdf-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 34px;
  margin: 3px 4px 3px 0;
  background: var(--dimm-bg-ice, #f3f6fc);
  border: 1px solid var(--dimm-border, #d9e1ee);
  border-radius: 8px;
  color: var(--dimm-blue-dark, #1d3099);
  text-decoration: none;
  font-weight: 600;
  font-size: .92rem;
  line-height: 1.3;
  position: relative;
  transition: background .15s, border-color .15s, transform .15s;
}
.ressources-catalogues a.pdf-link::before {
  content: "PDF";
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .04em;
  color: #fff;
  background: var(--dimm-cyan, #009FE3);
  padding: 2px 5px;
  border-radius: 3px;
  line-height: 1;
}
.ressources-catalogues a.pdf-link:hover {
  background: #fff;
  border-color: var(--dimm-cyan, #009FE3);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 159, 227, .18);
}

/* Anchor TOC on the Ressources page — group of multiple p links */
.ressources-catalogues > p:has(a[href^="#"]) {
  background: var(--dimm-bg-light, #f8fafd);
  border-left: 3px solid var(--dimm-cyan, #009FE3);
  padding: 12px 18px;
  border-radius: 0 8px 8px 0;
  line-height: 2;
}
.ressources-catalogues > p > a[href^="#"] {
  display: inline-block;
  margin: 2px 10px 2px 0;
  padding: 2px 10px;
  border-radius: 14px;
  background: #fff;
  color: var(--dimm-blue-dark, #1d3099);
  font-size: .9rem;
  text-decoration: none;
  border: 1px solid var(--dimm-border, #d9e1ee);
  transition: background .15s, color .15s, border-color .15s;
}
.ressources-catalogues > p > a[href^="#"]:hover {
  background: var(--dimm-cyan, #009FE3);
  color: #fff;
  border-color: var(--dimm-cyan, #009FE3);
}

.ressources-catalogues img { margin: 0 0 24px; border-radius: 12px; }

/* =================================================================
   Page Ressources — nouvelle mise en page (grille 2 colonnes)
   ================================================================= */
/* Table of contents */
.cat-toc {
  max-width: 1100px;
  margin: 0 auto 48px;
  padding: 22px 26px;
  background: var(--dimm-bg-ice, #f3f6fc);
  border-left: 4px solid var(--dimm-cyan, #009FE3);
  border-radius: 0 12px 12px 0;
  scroll-margin-top: 120px;
}
.cat-toc-title {
  margin: 0 0 14px;
  font-weight: 700;
  color: var(--dimm-bleu-nuit, #0a2647);
  letter-spacing: .01em;
  text-transform: uppercase;
  font-size: .88rem;
}
.cat-toc-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}
.cat-toc-list a {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  background: #fff;
  color: var(--dimm-blue-dark, #1d3099);
  font-size: .9rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--dimm-border, #d9e1ee);
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.cat-toc-list a:hover {
  background: var(--dimm-cyan, #009FE3);
  color: #fff;
  border-color: var(--dimm-cyan, #009FE3);
  transform: translateY(-1px);
}

/* Chapter container */
.cat-chapters { max-width: 1100px; margin: 0 auto; }
.cat-chapter {
  margin: 0 0 56px;
  scroll-margin-top: 120px;
}
.cat-chapter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 0 12px;
  border-bottom: 2px solid var(--dimm-cyan, #009FE3);
  margin: 0 0 22px;
}
.cat-chapter-head h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  color: var(--dimm-bleu-nuit, #0a2647);
  font-weight: 700;
  letter-spacing: -.01em;
}
.cat-chapter-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--dimm-bg-ice, #f3f6fc);
  color: var(--dimm-blue-dark, #1d3099);
  text-decoration: none;
  font-size: 1.1rem;
  border: 1px solid var(--dimm-border, #d9e1ee);
  flex-shrink: 0;
  transition: background .15s, color .15s, transform .15s;
}
.cat-chapter-top:hover {
  background: var(--dimm-cyan, #009FE3);
  color: #fff;
  transform: translateY(-1px);
}
.cat-chapter-intro { margin: 0 0 20px; color: var(--dimm-text-muted, #5b6579); }
.cat-chapter-intro p { margin: 0 0 10px; line-height: 1.6; }
.cat-chapter-intro:empty { display: none; }

/* 2-column grid of catalog cards */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.cat-card {
  background: #fff;
  border: 1px solid var(--dimm-border, #e3ebf5);
  border-radius: 14px;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.cat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px -20px rgba(10, 38, 71, .28);
  border-color: var(--dimm-cyan, #009FE3);
}
.cat-card-link {
  display: flex;
  align-items: stretch;
  gap: 0;
  color: inherit;
  text-decoration: none;
  height: 100%;
}
.cat-card-thumb {
  width: 140px;
  flex-shrink: 0;
  background: var(--dimm-bg-ice, #f3f6fc);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}
.cat-card-thumb img {
  width: 100%;
  height: auto;
  max-height: 120px;
  object-fit: contain;
  display: block;
}
.cat-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 16px 18px;
  min-width: 0;
}
.cat-card-title {
  margin: 0 0 4px;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--dimm-bleu-nuit, #0a2647);
  line-height: 1.3;
}
.cat-card-sub {
  color: var(--dimm-text-muted, #5b6579);
  font-size: .9rem;
  line-height: 1.4;
  margin: 0 0 12px;
}
.cat-card-cta {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 36px;
  background: var(--dimm-bg-ice, #f3f6fc);
  border: 1px solid var(--dimm-border, #d9e1ee);
  border-radius: 8px;
  color: var(--dimm-blue-dark, #1d3099);
  font-weight: 600;
  font-size: .85rem;
  position: relative;
  transition: background .15s, border-color .15s;
}
.cat-card-cta::before {
  content: "PDF";
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .04em;
  color: #fff;
  background: var(--dimm-cyan, #009FE3);
  padding: 2px 5px;
  border-radius: 3px;
  line-height: 1;
}
.cat-card-link:hover .cat-card-cta {
  background: #fff;
  border-color: var(--dimm-cyan, #009FE3);
}

/* Mobile: single column */
@media (max-width: 760px) {
  .cat-grid { grid-template-columns: 1fr; gap: 16px; }
  .cat-card-thumb { width: 110px; padding: 10px; }
  .cat-card-thumb img { max-height: 90px; }
  .cat-card-body { padding: 12px 14px; }
  .cat-toc { padding: 18px; }
  .cat-chapter { margin-bottom: 40px; }
}

/* Very small screens: stack card vertically */
@media (max-width: 420px) {
  .cat-card-link { flex-direction: column; }
  .cat-card-thumb { width: 100%; height: 140px; padding: 16px; }
  .cat-card-thumb img { max-height: 110px; }
}

/* =============================================================
   Hero image below page-header (e.g. Notre histoire)
   ============================================================= */
.page-hero-image {
  padding: 40px 0 0;
  background: var(--dimm-bg-ice, #f3f6fc);
}
.page-hero-image .container { max-width: 1100px; }
.hero-figure {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 60px -24px rgba(10, 38, 71, .35);
  position: relative;
  background: #0a2647;
}
.hero-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  object-position: center 55%;
}
.hero-caption {
  padding: 14px 20px;
  font-size: .92rem;
  color: var(--dimm-text-muted, #5b6579);
  background: var(--dimm-blanc, #fff);
  border-top: 1px solid var(--dimm-border, #e3ebf5);
  text-align: center;
  font-style: italic;
}
@media (max-width: 640px) {
  .page-hero-image { padding: 24px 0 0; }
  .hero-figure img { max-height: 320px; }
  .hero-caption { font-size: .85rem; padding: 12px 16px; }
}

/* =============================================================
   Fond de page "ligne2" — animation parallax au scroll
   (pages : produits, zoom-sur, ressources, notre-histoire, contact)
   -------------------------------------------------------------
   .page-bg-line         : conteneur fixe, couvre tout le viewport
                           (position: fixed pour rester en place)
   .page-bg-line__inner  : cible des transforms JS (translateY, rotate, scale)
                           pour créer l'effet de dérive au scroll
   ============================================================= */
body.has-bg-line { position: relative; }
body.has-bg-line main,
body.has-bg-line .site-header,
body.has-bg-line .site-footer { position: relative; z-index: 1; }

.page-bg-line {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  /* Par défaut, quasi-invisible : apparaît doucement au scroll (--p) */
  opacity: 0;
  transition: opacity .45s ease;
}
body.has-bg-line.bg-line-ready .page-bg-line { opacity: 1; }

.page-bg-line__inner {
  position: absolute;
  /* Ligne dimensionnée ~135% du viewport pour laisser de la marge aux transforms */
  top: 50%;
  left: 50%;
  width: 135vw;
  height: 135vh;
  max-width: 1700px;
  min-width: 900px;
  background-image: url("../img/brand/ligne2.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  /* --p : progression du scroll, injectée par main.js (0 → 1) */
  --p: 0;
  /* La ligne dérive (translateY), se penche (rotate), et s'éclaire (opacity) */
  transform:
    translate(-50%, -50%)
    translate3d(0, calc((var(--p) - .5) * 28vh), 0)
    rotate(calc((var(--p) - .5) * 6deg))
    scale(calc(1 + var(--p) * .04));
  /* Teinte bleue DIMM, très discrète pour garantir la lisibilité du texte */
  opacity: .07;
  filter: hue-rotate(0deg) saturate(.85);
  will-change: transform;
}

/* Variantes de positionnement par page pour éviter la répétition visuelle */
body.has-bg-line[data-page-key="produits"]        .page-bg-line__inner { transform: translate(-50%, -50%) translate3d(12vw, calc((var(--p) - .5) * 28vh), 0) rotate(calc((var(--p) - .5) * 6deg))  scale(calc(1 + var(--p) * .04)); }
body.has-bg-line[data-page-key="zoom-sur"]        .page-bg-line__inner { transform: translate(-50%, -50%) translate3d(-10vw, calc((var(--p) - .5) * 32vh), 0) rotate(calc(4deg + (var(--p) - .5) * 6deg)) scale(calc(1.05 + var(--p) * .04)); }
body.has-bg-line[data-page-key="ressources"]      .page-bg-line__inner { transform: translate(-50%, -50%) translate3d(8vw,  calc((var(--p) - .5) * 24vh), 0) rotate(calc(-3deg + (var(--p) - .5) * 5deg)) scale(calc(1 + var(--p) * .05)); }
body.has-bg-line[data-page-key="notre-histoire"]  .page-bg-line__inner { transform: translate(-50%, -50%) translate3d(-6vw, calc((var(--p) - .5) * 30vh), 0) rotate(calc(2deg + (var(--p) - .5) * 4deg)) scale(calc(1.08 + var(--p) * .03)); }
body.has-bg-line[data-page-key="contact"]         .page-bg-line__inner { transform: translate(-50%, -50%) translate3d(10vw,  calc((var(--p) - .5) * 26vh), 0) rotate(calc(-2deg + (var(--p) - .5) * 6deg)) scale(calc(1.02 + var(--p) * .05)); }

/* Mobile : ligne réduite, encore plus discrète */
@media (max-width: 860px) {
  .page-bg-line__inner {
    width: 160vw;
    height: 120vh;
    opacity: .05;
  }
}

/* Respect des préférences d'accessibilité : pas de mouvement */
@media (prefers-reduced-motion: reduce) {
  .page-bg-line__inner {
    transform: translate(-50%, -50%) !important;
    transition: none !important;
  }
}

/* =============================================================
   Bouton "Retour en haut de page"
   - Inline : injecté en bas de chaque article (remplace "Publié dans Blog")
   - Floating : bouton rond en bas à droite, apparaît au scroll
   ============================================================= */

/* Inline back-to-top (fin d'article) */
.back-to-top-wrap {
  margin: 48px 0 0;
  text-align: center;
}
.btn-back-top {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--dimm-bleu-nuit, #0a2647);
  color: var(--dimm-blanc, #fff);
  font-family: var(--font-principal);
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  border: 2px solid transparent;
  box-shadow: 0 10px 28px -12px rgba(10, 38, 71, .55);
  transition: transform .25s var(--ease, ease),
              background .25s var(--ease, ease),
              box-shadow .25s var(--ease, ease),
              color .25s var(--ease, ease);
}
.btn-back-top:hover,
.btn-back-top:focus-visible {
  background: var(--dimm-cyan, #009FE3);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -10px rgba(0, 159, 227, .55);
  outline: none;
}
.btn-back-top__arrow {
  display: inline-block;
  transition: transform .25s var(--ease, ease);
  font-size: 1.1em;
  line-height: 1;
}
.btn-back-top:hover .btn-back-top__arrow,
.btn-back-top:focus-visible .btn-back-top__arrow {
  transform: translateY(-3px);
}

/* Floating FAB (visible dès qu'on a scrollé) */
.to-top-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--dimm-bleu-nuit, #0a2647);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  box-shadow: 0 10px 28px -10px rgba(10, 38, 71, .5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s ease, visibility .25s ease, transform .25s ease, background .2s ease;
  z-index: 90;
}
.to-top-fab.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.to-top-fab:hover,
.to-top-fab:focus-visible {
  background: var(--dimm-cyan, #009FE3);
  outline: none;
}

/* Ancre en haut de page : ne crée pas de boîte visible */
#top { position: absolute; top: 0; left: 0; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 640px) {
  .btn-back-top { padding: 10px 18px; font-size: .9rem; }
  .to-top-fab { right: 14px; bottom: 14px; width: 42px; height: 42px; font-size: 18px; }
}

/* =============================================================
   Page "Notre histoire" — mise en page en chapitres harmonieux
   ============================================================= */

.page-hero-image .hero-figure img { opacity: 1; }

/* Intro (phrase d'accroche) */
.histoire-intro { max-width: 820px; margin: 48px auto 0; }
.histoire-intro .lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--dimm-text, #1a2234);
  border-left: 4px solid var(--dimm-cyan, #009FE3);
  padding-left: 20px;
  margin: 0;
}

/* Bloc chiffres clés */
.histoire-stats { margin: 56px auto 20px; max-width: 1100px; }
.histoire-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.histoire-stats-grid li {
  text-align: center;
  padding: 26px 18px;
  background: linear-gradient(135deg, var(--dimm-bleu-nuit, #0a2647) 0%, #13355f 100%);
  color: var(--dimm-blanc, #fff);
  border-radius: 14px;
  box-shadow: 0 16px 40px -20px rgba(10, 38, 71, .4);
}
.histoire-stats-grid .stat-num {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--dimm-cyan, #4fb8ea);
  margin-bottom: 6px;
  letter-spacing: -.01em;
}
.histoire-stats-grid .stat-label {
  display: block;
  font-size: .88rem;
  color: rgba(255,255,255,.82);
  font-weight: 500;
  line-height: 1.4;
}

/* Chapitre numéroté */
.histoire-chapter {
  max-width: 820px;
  margin: 64px auto 0;
  padding-top: 48px;
  position: relative;
  border-top: 1px solid var(--dimm-border, #e3ebf5);
}
.histoire-chapter:first-of-type { border-top: none; }
.histoire-chapter .chapter-num {
  display: inline-block;
  font-size: .85rem;
  font-weight: 700;
  color: var(--dimm-cyan, #009FE3);
  letter-spacing: .22em;
  margin-bottom: 10px;
}
.histoire-chapter > h2 {
  margin: 0 0 18px;
  font-size: 1.7rem;
  color: var(--dimm-bleu-nuit, #0a2647);
  letter-spacing: -.01em;
}
.histoire-chapter p {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--dimm-text, #1a2234);
  margin: 0 0 14px;
}

/* Services en grille (chapitre 02) */
.histoire-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin: 22px 0;
  list-style: none;
  padding: 0;
}
.histoire-services .hs-card {
  padding: 22px 22px 20px;
  background: var(--dimm-bg-ice, #f3f6fc);
  border-radius: 12px;
  border-left: 3px solid var(--dimm-cyan, #009FE3);
  transition: transform .25s ease, box-shadow .25s ease;
}
.histoire-services .hs-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px -18px rgba(10, 38, 71, .35);
}
.histoire-services .hs-card h3 {
  margin: 0 0 6px;
  font-size: 1.02rem;
  color: var(--dimm-bleu-nuit, #0a2647);
}
.histoire-services .hs-card p {
  margin: 0;
  font-size: .93rem;
  color: var(--dimm-text-muted, #5b6579);
  line-height: 1.55;
}
.histoire-visit {
  margin-top: 24px;
  padding: 16px 18px;
  background: var(--dimm-bg-ice, #f3f6fc);
  border-radius: 8px;
  font-size: .96rem;
  color: var(--dimm-text-muted, #5b6579);
}
.histoire-visit a { font-weight: 600; }

/* Secteurs (chapitre 03) — pastilles */
.histoire-sectors {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.histoire-sectors li {
  padding: 9px 18px;
  background: var(--dimm-blanc, #fff);
  border: 1px solid var(--dimm-border, #e3ebf5);
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 500;
  color: var(--dimm-bleu-nuit, #0a2647);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.histoire-sectors li:hover {
  background: var(--dimm-cyan, #009FE3);
  color: #fff;
  border-color: var(--dimm-cyan, #009FE3);
}

/* Partenaire (chapitre 04) — liste avec check */
.histoire-partners {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px 22px;
}
.histoire-partners li {
  position: relative;
  padding-left: 28px;
  font-size: .97rem;
  line-height: 1.55;
  color: var(--dimm-text, #1a2234);
}
.histoire-partners li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  background: var(--dimm-cyan, #009FE3);
  color: #fff;
  border-radius: 50%;
  font-size: .75rem;
  font-weight: 700;
  margin-top: 2px;
}

/* Engagement (chapitre 07) */
.histoire-commit {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 14px;
}
.histoire-commit li {
  padding: 18px 20px;
  background: var(--dimm-blanc, #fff);
  border-left: 3px solid var(--dimm-cyan, #009FE3);
  border-radius: 8px;
  box-shadow: 0 6px 18px -12px rgba(10, 38, 71, .18);
  font-size: .98rem;
  line-height: 1.6;
}

/* Outro + CTA */
.histoire-outro {
  max-width: 820px;
  margin: 72px auto 0;
  padding: 40px 32px 48px;
  background: linear-gradient(135deg, #f3f6fc 0%, #e3ebf5 100%);
  border-radius: 18px;
  text-align: center;
}
.histoire-quote {
  font-size: 1.2rem;
  line-height: 1.55;
  font-style: italic;
  color: var(--dimm-bleu-nuit, #0a2647);
  max-width: 640px;
  margin: 0 auto 28px;
}
.histoire-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

@media (max-width: 700px) {
  .histoire-chapter { padding-top: 36px; margin-top: 44px; }
  .histoire-chapter > h2 { font-size: 1.4rem; }
  .histoire-stats-grid .stat-num { font-size: 1.65rem; }
  .histoire-outro { padding: 32px 22px 36px; }
  .histoire-quote { font-size: 1.05rem; }
}

/* =============================================================
   Plan d'accès — intégré dans la page /contact/
   Cartes Google Maps côte-à-côte avec bloc d'infos pratiques
   ============================================================= */
.contact-plan {
  margin: 56px auto 16px;
  max-width: 1140px;
}
.contact-plan .plan-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 36px;
}
.contact-plan .plan-header h2 {
  font-size: 1.8rem;
  color: var(--dimm-blue-deep, #002d6f);
  margin: 0 0 10px;
  letter-spacing: -.02em;
}
.contact-plan .plan-lead {
  color: var(--dimm-text-muted, #5b6579);
  font-size: 1rem;
  line-height: 1.55;
  margin: 0;
}
.plan-block {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: stretch;
  margin: 28px 0;
  background: #fff;
  border: 1px solid var(--dimm-border, #e3ebf5);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 50px -28px rgba(10, 38, 71, .28);
}
.plan-block--reverse { grid-template-columns: 1fr 1.1fr; }
.plan-block--reverse .plan-map { order: 2; }
.plan-block--reverse .plan-info { order: 1; }

.plan-map {
  background: #e8eef6;
  min-height: 360px;
  position: relative;
}
.plan-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}
.plan-info {
  padding: 26px 28px 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.plan-info-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--dimm-border, #eef2f8);
}
.plan-flag {
  font-size: 1.8rem;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.08));
}
.plan-info-head h3 {
  margin: 0 0 4px;
  font-size: 1.15rem;
  color: var(--dimm-blue-deep, #002d6f);
}
.plan-addr {
  margin: 0;
  font-size: .95rem;
  color: var(--dimm-text-muted, #5b6579);
  line-height: 1.45;
}
.plan-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
  margin: 0;
  padding: 0;
}
.plan-meta > div { display: flex; flex-direction: column; gap: 2px; }
.plan-meta dt {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--dimm-cyan, #009fe3);
}
.plan-meta dd {
  margin: 0;
  font-size: .95rem;
  color: var(--dimm-text, #1a2433);
  line-height: 1.35;
}
.plan-meta dd a { color: var(--dimm-blue-deep, #002d6f); font-weight: 500; }
.plan-meta dd a:hover { color: var(--dimm-cyan, #009fe3); }

.plan-access {
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px dashed var(--dimm-border, #e3ebf5);
}
.plan-access h4 {
  margin: 0 0 10px;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--dimm-cyan, #009fe3);
}
.plan-access ul {
  margin: 0 0 16px;
  padding-left: 18px;
  list-style: disc;
}
.plan-access ul li {
  font-size: .92rem;
  line-height: 1.5;
  color: var(--dimm-text, #1a2433);
  margin-bottom: 6px;
}
.plan-cta { margin: 6px 0 0; }
.plan-cta .btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  font-size: .92rem;
}

@media (max-width: 880px) {
  .plan-block,
  .plan-block--reverse { grid-template-columns: 1fr; }
  .plan-block--reverse .plan-map { order: 0; }
  .plan-block--reverse .plan-info { order: 0; }
  .plan-map, .plan-map iframe { min-height: 280px; height: 280px; }
  .plan-info { padding: 22px 22px 26px; }
  .plan-meta { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .contact-plan .plan-header h2 { font-size: 1.45rem; }
  .plan-meta { grid-template-columns: 1fr; }
  .plan-info-head h3 { font-size: 1.05rem; }
}

/* =============================================================
   Livraisons & transporteurs — plan du bâtiment (Poperinge)
   ============================================================= */
.contact-transport {
  margin: 56px auto 24px;
  max-width: 1140px;
  padding: 36px 32px 40px;
  background: linear-gradient(180deg, #fbfcfe 0%, #f3f6fc 100%);
  border: 1px solid var(--dimm-border, #e3ebf5);
  border-radius: 18px;
}
.transport-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 28px;
}
.transport-badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--dimm-cyan, #009fe3);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 999px;
  margin-bottom: 12px;
}
.transport-header h2 {
  font-size: 1.7rem;
  color: var(--dimm-blue-deep, #002d6f);
  margin: 4px 0 12px;
  letter-spacing: -.02em;
}
.transport-lead {
  color: var(--dimm-text-muted, #5b6579);
  font-size: 1rem;
  line-height: 1.55;
  margin: 0;
}
.transport-lead strong { color: var(--dimm-blue-deep, #002d6f); }

.transport-plan {
  margin: 0 auto 28px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--dimm-border, #e3ebf5);
  border-radius: 14px;
  box-shadow: 0 14px 40px -24px rgba(10, 38, 71, .22);
}
.transport-plan img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.transport-plan figcaption {
  margin-top: 10px;
  text-align: center;
  font-size: .85rem;
  color: var(--dimm-text-muted, #5b6579);
  font-style: italic;
}

.transport-legend {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 28px 0 8px;
}
.legend-col {
  background: #fff;
  padding: 20px 22px 22px;
  border-radius: 12px;
  border: 1px solid var(--dimm-border, #e3ebf5);
}
.legend-col h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  font-size: 1rem;
  color: var(--dimm-blue-deep, #002d6f);
}
.legend-pin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: .02em;
}
.legend-pin--blue { background: #0099e0; }
.legend-pin--red  { background: #e63946; }

.legend-col ul {
  margin: 0;
  padding-left: 18px;
  list-style: disc;
}
.legend-col ul li {
  font-size: .9rem;
  line-height: 1.5;
  color: var(--dimm-text, #1a2433);
  margin-bottom: 6px;
}
.legend-col ul li em { color: var(--dimm-text-muted, #5b6579); font-style: italic; }

.transport-hours {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}
.hours-block {
  padding: 20px 22px 22px;
  background: #002d6f;
  background: linear-gradient(180deg, #003886 0%, #001f52 100%);
  color: #ffffff !important;
  border-radius: 12px;
  box-shadow: 0 10px 28px -18px rgba(0, 45, 111, .45);
}
.hours-block *,
.hours-block p,
.hours-block strong,
.hours-block span,
.hours-block em {
  color: #ffffff !important;
}
.hours-block h4 {
  margin: 0 0 10px;
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #8fd1f5 !important;
}
.hours-block p {
  margin: 0;
  font-size: .98rem;
  line-height: 1.6;
}
.hours-block p strong { font-weight: 700; }
.hours-block a,
.hours-block a:link,
.hours-block a:visited {
  color: #ffffff !important;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 500;
}
.hours-block a:hover,
.hours-block a:focus {
  color: #8fd1f5 !important;
  text-decoration: underline;
}

@media (max-width: 880px) {
  .contact-transport { padding: 28px 22px 32px; }
  .transport-header h2 { font-size: 1.4rem; }
  .transport-legend { grid-template-columns: 1fr; gap: 16px; }
  .transport-hours { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .contact-transport { padding: 24px 16px 28px; margin: 40px auto 20px; }
  .transport-badge { font-size: .7rem; }
  .transport-header h2 { font-size: 1.2rem; }
  .legend-col { padding: 16px 18px 18px; }
}

/* =============================================================
   Page Recrutement — composants dédiés
   ============================================================= */

/* — Intro — */
.recruit-intro {
  max-width: 820px;
  margin: 48px auto 0;
}
.recruit-intro .lead {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--dimm-text, #1a2238);
}
.recruit-intro p:not(.lead) {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--dimm-text-muted, #5b6579);
}

/* — Pourquoi rejoindre DIMM — */
.recruit-why {
  margin: 52px auto 0;
  max-width: 1140px;
}
.recruit-why > h2 {
  text-align: center;
  font-size: 1.7rem;
  color: var(--dimm-blue-deep, #002d6f);
  letter-spacing: -.02em;
  margin: 0 0 32px;
}
.recruit-perks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.perk-card {
  background: #fff;
  border: 1px solid var(--dimm-border, #e3eaf4);
  border-radius: 14px;
  padding: 26px 24px;
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease;
}
.perk-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px -20px rgba(10, 38, 71, .22);
}
.perk-icon {
  font-size: 2rem;
  margin-bottom: 10px;
  line-height: 1;
}
.perk-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--dimm-blue-deep, #002d6f);
}
.perk-card p {
  margin: 0;
  font-size: .92rem;
  line-height: 1.5;
  color: var(--dimm-text-muted, #5b6579);
}

/* — Offres d'emploi — */
.recruit-offers {
  margin: 56px auto 0;
  max-width: 1140px;
}
.recruit-offers > h2 {
  font-size: 1.7rem;
  color: var(--dimm-blue-deep, #002d6f);
  letter-spacing: -.02em;
  margin: 0 0 10px;
  text-align: center;
}
.offers-intro {
  text-align: center;
  font-size: 1rem;
  color: var(--dimm-text-muted, #5b6579);
  margin: 0 auto 28px;
  max-width: 640px;
}
.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
}
.offer-card {
  background: #fff;
  border: 1px solid var(--dimm-border, #e3eaf4);
  border-radius: 14px;
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow .25s ease;
}
.offer-card:hover {
  box-shadow: 0 14px 36px -18px rgba(10, 38, 71, .2);
}
.offer-header {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.offer-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.offer-tag--cdi { background: #e0f4e8; color: #1a6b37; }
.offer-tag--be  { background: #eef2f8; color: var(--dimm-blue-deep, #002d6f); }
.offer-tag--fr  { background: #eef2f8; color: #003a8c; }
.offer-card h3 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--dimm-blue-deep, #002d6f);
  line-height: 1.3;
}
.offer-card h3 small {
  font-weight: 400;
  font-size: .85rem;
  color: var(--dimm-text-muted, #5b6579);
}
.offer-card > p {
  margin: 0;
  font-size: .92rem;
  line-height: 1.55;
  color: var(--dimm-text, #1a2238);
}
.offer-details {
  margin: 4px 0 0;
  padding-left: 18px;
  list-style: disc;
}
.offer-details li {
  font-size: .88rem;
  line-height: 1.5;
  color: var(--dimm-text, #1a2238);
  margin-bottom: 5px;
}

/* — Process de candidature — */
.recruit-process {
  margin: 56px auto 0;
  max-width: 900px;
}
.recruit-process > h2 {
  text-align: center;
  font-size: 1.7rem;
  color: var(--dimm-blue-deep, #002d6f);
  letter-spacing: -.02em;
  margin: 0 0 32px;
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  counter-reset: step;
}
.step {
  text-align: center;
  position: relative;
  padding-top: 12px;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #003886 0%, #002d6f 100%);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 14px;
  box-shadow: 0 8px 20px -10px rgba(0, 45, 111, .4);
}
.step h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: var(--dimm-blue-deep, #002d6f);
}
.step p {
  margin: 0;
  font-size: .92rem;
  line-height: 1.5;
  color: var(--dimm-text-muted, #5b6579);
}
.step p a { color: var(--dimm-cyan, #009fe3); font-weight: 600; }

/* — CTA final — */
.recruit-cta-block {
  margin: 56px auto 16px;
  max-width: 820px;
  text-align: center;
  background: linear-gradient(180deg, #002d6f 0%, #001a47 100%);
  color: #fff;
  padding: 40px 36px 44px;
  border-radius: 18px;
  box-shadow: 0 20px 50px -24px rgba(0, 45, 111, .5);
}
.recruit-quote {
  font-size: 1.2rem;
  line-height: 1.6;
  font-style: italic;
  color: #ffffff !important;
  margin: 0 0 8px;
}
.recruit-author {
  font-size: .92rem;
  color: #8fd1f5 !important;
  margin: 0 0 24px;
  font-weight: 600;
}
.recruit-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.recruit-cta .btn-primary {
  background: var(--dimm-cyan, #009fe3);
  color: #fff !important;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}
.recruit-cta .btn-primary:hover { background: #0089c7; }
.recruit-cta .btn-ghost {
  border: 2px solid rgba(255,255,255,.4);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}
.recruit-cta .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); }

/* — Responsive — */
@media (max-width: 880px) {
  .recruit-perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-steps { grid-template-columns: 1fr; gap: 24px; }
  .offers-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .recruit-perks { grid-template-columns: 1fr; }
  .recruit-why > h2,
  .recruit-offers > h2,
  .recruit-process > h2 { font-size: 1.4rem; }
  .recruit-cta-block { padding: 30px 22px 34px; }
  .recruit-quote { font-size: 1.05rem; }
}

/* =============================================================
   Bandeau de consentement cookies (RGPD / ePrivacy)
   ============================================================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #fff;
  border-top: 2px solid var(--dimm-cyan, #009fe3);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, .15);
  padding: 0;
  animation: cookie-slide-up .35s ease-out;
}
@keyframes cookie-slide-up {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-text {
  flex: 1;
  min-width: 260px;
}
.cookie-text p {
  margin: 0 0 4px;
  font-size: .92rem;
  line-height: 1.5;
  color: var(--dimm-text, #1a2238);
}
.cookie-text p:first-child { margin-bottom: 6px; }
.cookie-text a {
  color: var(--dimm-cyan, #009fe3);
  text-decoration: underline;
  font-weight: 500;
}
.cookie-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-actions .btn {
  padding: 10px 18px;
  border-radius: 8px;
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  white-space: nowrap;
}
.cookie-actions .btn-primary {
  background: var(--dimm-cyan, #009fe3);
  color: #fff;
}
.cookie-actions .btn-primary:hover { background: #0089c7; }
.cookie-actions .btn-ghost {
  background: transparent;
  border: 2px solid var(--dimm-border, #e3eaf4);
  color: var(--dimm-text, #1a2238);
}
.cookie-actions .btn-ghost:hover {
  border-color: var(--dimm-cyan, #009fe3);
  color: var(--dimm-cyan, #009fe3);
}
.cookie-actions .btn-link {
  background: none;
  color: var(--dimm-text-muted, #5b6579);
  text-decoration: underline;
  padding: 10px 8px;
}
.cookie-actions .btn-link:hover { color: var(--dimm-cyan, #009fe3); }

/* Panneau de personnalisation */
.cookie-settings {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 1px solid var(--dimm-border, #e3eaf4);
  padding-top: 16px;
}
.cookie-setting {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cookie-setting label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .95rem;
  cursor: pointer;
}
.cookie-setting label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--dimm-cyan, #009fe3);
}
.cookie-setting p {
  margin: 0;
  font-size: .84rem;
  color: var(--dimm-text-muted, #5b6579);
  padding-left: 26px;
}

/* Bouton flottant pour rouvrir */
.cookie-reopen {
  position: fixed;
  bottom: 18px;
  left: 18px;
  z-index: 9998;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--dimm-border, #e3eaf4);
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.cookie-reopen:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
}

@media (max-width: 640px) {
  .cookie-inner { flex-direction: column; padding: 18px 18px; gap: 14px; }
  .cookie-actions { width: 100%; justify-content: stretch; }
  .cookie-actions .btn { flex: 1; text-align: center; }
  .cookie-settings { padding: 0 18px 18px; }
}

/* =============================================================
   Pages légales — styles communs (prose améliorée)
   ============================================================= */
.legal-notice {
  background: var(--dimm-bg-ice, #f3f6fc);
  padding: 20px 24px;
  border-radius: 10px;
  border-left: 4px solid var(--dimm-cyan, #009fe3);
  margin-bottom: 28px;
  font-size: .98rem;
  line-height: 1.6;
}
.legal-update {
  margin-top: 36px;
  padding-top: 16px;
  border-top: 1px solid var(--dimm-border, #e3eaf4);
  font-size: .88rem;
  color: var(--dimm-text-muted, #5b6579);
}
.cookie-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: .9rem;
}
.cookie-table th {
  background: var(--dimm-blue-deep, #002d6f);
  color: #fff;
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.cookie-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--dimm-border, #e3eaf4);
  color: var(--dimm-text, #1a2238);
}
.cookie-table code {
  background: var(--dimm-bg-ice, #f3f6fc);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: .85rem;
  font-family: 'SF Mono', 'Consolas', 'Courier New', monospace;
}
.cookie-table tbody tr:nth-child(even) td {
  background: #fafbfd;
}

/* ============================================================
   SLIDE DESTOCKAGE — Nettoyage de Printemps
   ============================================================ */
.slide-destockage .slide-bg::after {
  background: rgba(0, 0, 0, .45) !important;
}
.slide-text-destockage {
  max-width: 620px;
}
.destockage-title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.red-highlight {
  color: #e8242a;
  font-weight: 900;
  font-size: 1.25em;
  text-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.destockage-accent {
  color: #fff;
  font-weight: 900;
  display: block;
  font-size: 1.1em;
}
.slide-destockage .lead-en,
.slide-destockage .lead-nl {
  font-size: .92rem;
  opacity: .85;
  margin-top: 4px;
  line-height: 1.45;
}

/* Bouton rouge destockage */
.btn-destockage {
  display: inline-block;
  background: #e8242a;
  color: #fff !important;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 14px 32px;
  border-radius: 8px;
  border: none;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .04em;
  transition: background .2s, transform .15s;
  cursor: pointer;
}
.btn-destockage:hover {
  background: #c91e23;
  transform: translateY(-2px);
}

/* Eyebrow rouge */
.eyebrow-red {
  display: inline-block;
  background: #e8242a;
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 4px;
  margin-bottom: 10px;
}

/* ============================================================
   SECTION NEWSLETTER
   ============================================================ */
.newsletter-section {
  background: linear-gradient(135deg, #001040 0%, #002080 100%);
  padding: 72px 0;
}
.newsletter-box {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  padding: 48px 52px;
  backdrop-filter: blur(8px);
}
.newsletter-content {
  margin-bottom: 32px;
}
.newsletter-content h2 {
  color: #fff;
  font-size: 1.8rem;
  margin-bottom: 12px;
}
.newsletter-content p {
  color: rgba(255,255,255,.85);
  font-size: 1.05rem;
  line-height: 1.6;
}
.newsletter-content p strong {
  color: #fff;
}
.newsletter-tri {
  font-size: .92rem !important;
  opacity: .7;
  margin-top: 8px;
}
.newsletter-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: flex-end;
}
.newsletter-field {
  flex: 1 1 200px;
}
.newsletter-field input,
.newsletter-captcha input {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: .95rem;
  transition: border-color .2s;
}
.newsletter-field input::placeholder,
.newsletter-captcha input::placeholder {
  color: rgba(255,255,255,.5);
}
.newsletter-field input:focus,
.newsletter-captcha input:focus {
  border-color: #00c2e0;
  outline: none;
  background: rgba(255,255,255,.12);
}
.newsletter-captcha {
  flex: 0 1 220px;
}
.newsletter-captcha .captcha-question {
  display: block;
  color: #00c2e0;
  font-size: .9rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.btn-newsletter {
  flex: 0 0 auto;
  padding: 13px 36px;
  font-size: 1rem;
  white-space: nowrap;
  align-self: flex-end;
}
.mailjet-widget {
  margin-top: 24px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255,255,255,.06);
  padding: 8px;
}
.mailjet-widget iframe {
  min-height: 320px;
  border-radius: 8px;
}
.newsletter-legal {
  color: rgba(255,255,255,.4);
  font-size: .78rem;
  margin-top: 16px;
  line-height: 1.4;
}

/* Mobile newsletter */
@media (max-width: 768px) {
  .newsletter-box {
    padding: 28px 22px;
  }
  .newsletter-fields {
    flex-direction: column;
  }
  .newsletter-field,
  .newsletter-captcha {
    flex: 1 1 100%;
  }
  .btn-newsletter {
    width: 100%;
    text-align: center;
  }
}
