:root {
  --dd-bordeaux: #B03963;
  --dd-bordeaux-dark: #892c4d;
  --dd-vert-sombre: #02596c;
  --dd-vert: #23ac8c;
  --dd-bleu: #474e5d;
  --dd-bleu-sombre: #303745;
  --dd-black: #1a1b1d;
  --dd-gris: #cccccc;
  --dd-gris-clair: #efefef;
  --dd-gris-moyen: #999999;
  --dd-white: #ffffff;
  --dd-font: 'Poppins', sans-serif;
  --dd-font-heading: 'DM Serif Display', serif;
  --dd-font-size: 16px;
  --dd-line-height: 1.618;
  --dd-space-xs: 8px;
  --dd-space-sm: 16px;
  --dd-space-md: 24px;
  --dd-space-lg: 40px;
  --dd-space-xl: 60px;
  --dd-radius: 3px;
  --dd-border-color: #dddddd;
  --dd-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --dd-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
  --dd-transition: 0.2s ease;
}

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

[id^=page-] {
  padding-top: 40px;
  padding-bottom: 60px;
  color: #3a3e48;
  font-family: 'Poppins', sans-serif;
  line-height: 1.618;
}
[id^=page-] h1, [id^=page-] h2, [id^=page-] h3, [id^=page-] h4, [id^=page-] h5, [id^=page-] h6 {
  font-family: 'DM Serif Display', serif;
  color: #3a3e48;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
[id^=page-] h1 {
  font-size: 2em;
  text-align: center;
  margin: 50px 0;
}
[id^=page-] h2 {
  font-size: 1.6em;
  margin-bottom: 16px;
}
[id^=page-] h3 {
  font-size: 1.2em;
  margin-bottom: 8px;
}
[id^=page-] p {
  margin-bottom: 1rem;
  line-height: 1.618;
}
[id^=page-] a {
  color: #B03963;
  text-decoration: none;
  transition: color 0.2s ease;
}
[id^=page-] a:hover, [id^=page-] a:focus {
  color: #23ac8c;
  text-decoration: underline;
}

.dd-intro-text {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05em;
  line-height: 1.618;
  color: #555555;
  margin-bottom: 24px;
}

.dd-badge {
  display: inline-block;
  background-color: #fae2eb;
  color: #B03963;
  font-size: 0.75em;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 50px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.dd-divider {
  border: none;
  border-top: 1px solid #dddddd;
  margin: 24px 0;
}

.dd-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: dd-spin 0.7s linear infinite;
  vertical-align: middle;
  margin-right: 6px;
}

@keyframes dd-spin {
  to {
    transform: rotate(360deg);
  }
}
.btn-dd-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #B03963;
  border: 2px solid #B03963;
  color: #ffffff;
  padding: 11px 30px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-size: 1em;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
}
.btn-dd-primary:hover, .btn-dd-primary:focus {
  background-color: #892c4d;
  border-color: #892c4d;
  color: #ffffff;
  text-decoration: none;
}
.btn-dd-primary:disabled, .btn-dd-primary[disabled] {
  opacity: 0.65;
  cursor: not-allowed;
}
.btn-dd-primary i.fa {
  color: #ffffff !important;
}

.btn-dd-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: transparent;
  border: 2px solid #B03963;
  color: #B03963;
  padding: 11px 30px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
  text-decoration: none;
}
.btn-dd-secondary:hover, .btn-dd-secondary:focus {
  background-color: #B03963;
  color: #ffffff;
  text-decoration: none;
}

[id^=page-] .btn.btn-primary,
[id^=page-] button.btn-primary[type=submit] {
  background-color: #B03963;
  border-color: #B03963;
  border-radius: 50px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
[id^=page-] .btn.btn-primary:hover, [id^=page-] .btn.btn-primary:focus,
[id^=page-] button.btn-primary[type=submit]:hover,
[id^=page-] button.btn-primary[type=submit]:focus {
  background-color: #892c4d;
  border-color: #892c4d;
}
[id^=page-] .btn.btn-primary:disabled,
[id^=page-] button.btn-primary[type=submit]:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.dd-field-group {
  margin-bottom: 16px;
}
.dd-field-group label {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: #1a1b1d;
  font-size: 0.95em;
  margin-bottom: 8px;
}
.dd-field-group label .required-star {
  color: #cc0000;
  margin-left: 3px;
}

.dd-input-wrapper {
  display: flex;
  align-items: center;
  height: 46px;
  padding-left: 14px;
  border: 1px solid #dddddd;
  border-radius: 3px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background: #ffffff;
}
.dd-input-wrapper:focus-within {
  border-color: #B03963;
  box-shadow: 0 0 0 0.15rem rgba(176, 57, 99, 0.2);
}
.dd-input-wrapper i.fa {
  color: #474e5d !important;
  flex-shrink: 0;
  font-size: 1em;
}
.dd-input-wrapper input {
  height: 100%;
  flex: 1;
  padding: 0 14px;
  border: none;
  outline: none;
  background: transparent;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95em;
  color: #1a1b1d;
}
.dd-input-wrapper input::placeholder {
  color: #b3b3b3;
}

.dd-textarea-wrapper textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #dddddd;
  border-radius: 3px;
  resize: vertical;
  min-height: 140px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95em;
  color: #1a1b1d;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  background: #ffffff;
}
.dd-textarea-wrapper textarea::placeholder {
  color: #b3b3b3;
}
.dd-textarea-wrapper textarea:focus {
  border-color: #B03963;
  box-shadow: 0 0 0 0.15rem rgba(176, 57, 99, 0.2);
}

.dd-alert-info, .dd-alert-warning, .dd-alert-error, .dd-alert-success {
  padding: 14px 18px;
  border-radius: 3px;
  font-size: 0.95em;
  margin-top: 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}
.dd-alert-info i.fa, .dd-alert-warning i.fa, .dd-alert-error i.fa, .dd-alert-success i.fa {
  margin-top: 2px;
  flex-shrink: 0;
}

.dd-alert-success {
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
}

.dd-alert-error {
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

.dd-alert-warning {
  background-color: #fff3cd;
  border: 1px solid #ffeeba;
  color: #856404;
}

.dd-alert-info {
  background-color: #d1ecf1;
  border: 1px solid #bee5eb;
  color: #0c5460;
}

.dd-card {
  background: #ffffff;
  border: 1px solid #dddddd;
  border-radius: 3px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.dd-card-accent {
  background-color: #efefef;
  border-left: 4px solid #B03963;
  padding: 24px calc(24px - 4px);
}
.dd-card-accent h3,
.dd-card-accent h4 {
  color: #B03963;
  font-size: 1.1em;
  margin-top: 0;
}

.dd-mt-0 {
  margin-top: 0 !important;
}

.dd-mt-xs {
  margin-top: 8px !important;
}

.dd-mt-sm {
  margin-top: 16px !important;
}

.dd-mt-md {
  margin-top: 24px !important;
}

.dd-mt-lg {
  margin-top: 40px !important;
}

.dd-mb-0 {
  margin-bottom: 0 !important;
}

.dd-mb-xs {
  margin-bottom: 8px !important;
}

.dd-mb-sm {
  margin-bottom: 16px !important;
}

.dd-mb-md {
  margin-bottom: 24px !important;
}

.dd-mb-lg {
  margin-bottom: 40px !important;
}

.dd-text-bordeaux {
  color: #B03963 !important;
}

.dd-text-vert {
  color: #23ac8c !important;
}

.dd-text-muted {
  color: #999999 !important;
}

.dd-text-dark {
  color: #1a1b1d !important;
}

.dd-bg-light {
  background-color: #efefef !important;
}

.dd-bg-bordeaux {
  background-color: #B03963 !important;
  color: #ffffff;
}

#page-contact .contact-intro-text {
  color: #555555;
  font-size: 1.05em;
  line-height: 1.618;
  margin-bottom: 24px;
}
#page-contact .dd-contact-form .dd-row-2 {
  display: flex;
  gap: 16px;
}
#page-contact .dd-contact-form .dd-row-2 .dd-field-group {
  flex: 1;
}
@media (max-width: 575px) {
  #page-contact .dd-contact-form .dd-row-2 {
    flex-direction: column;
    gap: 0;
  }
}
#page-contact .dd-contact-form .dd-input-wrapper input,
#page-contact .dd-contact-form .dd-input-wrapper select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
}
#page-contact .dd-contact-form .dd-select-wrapper {
  position: relative;
}
#page-contact .dd-contact-form .dd-select-wrapper select {
  width: 100%;
  height: 46px;
  padding: 0 40px 0 14px;
  border: 1px solid #dddddd;
  border-radius: 3px;
  background: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95em;
  color: #1a1b1d;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
#page-contact .dd-contact-form .dd-select-wrapper select:focus {
  border-color: #B03963;
  box-shadow: 0 0 0 0.15rem rgba(176, 57, 99, 0.2);
}
#page-contact .dd-contact-form .dd-select-wrapper::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #474e5d;
  pointer-events: none;
}
#page-contact .dd-contact-form .dd-textarea-wrapper textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #dddddd;
  border-radius: 3px;
  resize: vertical;
  min-height: 120px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95em;
  color: #1a1b1d;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
#page-contact .dd-contact-form .dd-textarea-wrapper textarea::placeholder {
  color: #b3b3b3;
}
#page-contact .dd-contact-form .dd-textarea-wrapper textarea:focus {
  border-color: #B03963;
  box-shadow: 0 0 0 0.15rem rgba(176, 57, 99, 0.2);
}
#page-contact .dd-contact-form .dd-textarea-wrapper--tall textarea {
  min-height: 180px;
}
#page-contact .dd-contact-form .dd-rgpd {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 0;
}
#page-contact .dd-contact-form .dd-rgpd input[type=checkbox] {
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: #B03963;
}
#page-contact .dd-contact-form .dd-rgpd label {
  font-size: 0.9em;
  color: #555555;
  font-weight: 400;
  cursor: pointer;
  margin: 0;
}
#page-contact .dd-contact-form .dd-rgpd label a {
  color: #B03963;
  text-decoration: underline;
}
#page-contact .dd-contact-form .dd-rgpd label a:hover {
  color: #892c4d;
}
#page-contact .dd-contact-form .dd-submit-wrapper {
  margin-top: 16px;
}
#page-contact .dd-contact-form .dd-submit-wrapper button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  background-color: #f5c842;
  border: none;
  border-radius: 3px;
  color: #1a1b1d;
  font-family: 'Poppins', sans-serif;
  font-size: 1em;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
#page-contact .dd-contact-form .dd-submit-wrapper button:hover {
  background-color: #e3b530;
}
#page-contact .dd-contact-form .dd-submit-wrapper button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
#page-contact .dd-contact-form .dd-submit-wrapper button .btn-loading {
  display: flex;
  align-items: center;
  gap: 6px;
}
#page-contact #dd-contact-response {
  margin-top: 16px;
}
#page-contact .contact-sidebar {
  background-color: #efefef;
  padding: 28px 24px;
  border-left: 4px solid #B03963;
  margin-top: 10px;
}
#page-contact .contact-sidebar h3 {
  color: #B03963 !important;
  font-size: 1.1em !important;
  border-bottom: none !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 12px !important;
}
#page-contact .contact-sidebar p {
  color: #555555;
  font-size: 0.95em;
  margin-bottom: 10px;
  line-height: 1.6;
}
#page-contact .contact-sidebar .contact-email {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
#page-contact .contact-sidebar .contact-email i.fa {
  color: #B03963 !important;
  flex-shrink: 0;
}
#page-contact .contact-sidebar .contact-email a {
  color: #B03963;
  word-break: break-word;
  font-weight: 500;
}
#page-contact .contact-sidebar .contact-email a:hover {
  text-decoration: underline;
}
@media (max-width: 767px) {
  #page-contact .contact-sidebar {
    margin-top: 24px;
  }
}

/* ── Habillage complet ── */
body.dd-habillage-active {
  position: relative;
}
body.dd-habillage-active::before {
  content: '';
  position: absolute; /* scroll avec le contenu */
  /* --dd-header-h-init : figé à l'init par JS, jamais mis à jour au scroll */
  top: calc(var(--dd-header-h-init, 0px) + var(--dd-banner-h, 0px));
  left: 50%;
  transform: translateX(-50%);
  width: 1175px;
  height: calc(100% - var(--dd-header-h-init, 0px) - var(--dd-banner-h, 0px));
  background-color: #ffffff;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.25);
  z-index: 0;
  pointer-events: none;
}
body.dd-habillage-active > * {
  position: relative;
  z-index: 1;
}
/* Le header Elementor doit être au-dessus de la bannière (z-index:2) pour que
   le megamenu puisse s'afficher par-dessus tout le reste.
   Sans cette règle, le header reste à z-index:1 et le megamenu est piégé
   derrière la bannière et le contenu (qui vient après lui dans le DOM). */
body.dd-habillage-active > [data-elementor-type="header"],
body.dd-habillage-active > .elementor-location-header,
body.dd-habillage-active > header {
  z-index: 10 !important;
}
/* Tablette et petits écrans : fond blanc 98%, colonnes masquées */
@media (max-width: 1199px) {
  body.dd-habillage-active::before {
    width: 98%;
  }
  #dd-habillage-banniere {
    width: 98%;
    max-width: 100%;        /* ne dépasse jamais la largeur du viewport */
    overflow: hidden;       /* clip si un élément absolu dépasse quand même */
  }
  #dd-habillage-banniere img {
    max-width: 100%;        /* images inline contraintes au container */
    height: auto;
  }
  #dd-habillage-banniere .dd-ban-element {
    max-width: 100%;        /* éléments positionnés absolument contraints au container */
    box-sizing: border-box;
  }
  .dd-col-lateral,
  #dd-col-gauche,
  #dd-col-droite,
  .dd-hab-click-zone {
    display: none !important;
  }
}
/* Div de fond mobile — masqué sur desktop, affiché en fixed sur mobile */
#dd-habillage-bg {
  display: none;
}
/* Mobile : fond blanc pleine largeur, bannière visible et responsive */
@media (max-width: 767px) {
  body.dd-habillage-active {
    overscroll-behavior-y: none; /* empêche le rebond élastique qui révèle le fond */
  }
  #dd-habillage-bg {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
  }
  body.dd-habillage-active::before {
    width: 100%;
    top: calc(var(--dd-header-h-init, 0px) + var(--dd-banner-h, 0px));
    height: calc(100% - var(--dd-header-h-init, 0px) - var(--dd-banner-h, 0px));
    z-index: 1; /* au-dessus du bg div et FX (z:0) pour masquer le fond dans la zone contenu */
    box-shadow: none;
  }
  #dd-habillage-banniere {
    width: 100%;
  }
}

/* ── Habillage — largeur fond blanc sur fiches produit ── */
body.dd-habillage-active.single-catalogue::before {
  width: 1250px;
}
body.dd-habillage-active.single-catalogue #dd-col-gauche,
body.dd-habillage-active.single-catalogue #dd-col-droite {
  width: calc((100vw - 1250px) / 2);
}

/* ── Habillage — effets d'animation ── */
#dd-habillage-fx {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  mix-blend-mode: screen; /* invisible sur fond blanc, visible sur fond coloré */
}

@keyframes ddFxParticle {
  0%   { transform: translateY(0)       translateX(0);   opacity: 1; }
  100% { transform: translateY(-110vh)  translateX(35px); opacity: 0; }
}
@keyframes ddFxBokeh {
  0%   { transform: scale(1);    opacity: var(--dd-op-a, 0.08); }
  100% { transform: scale(1.18); opacity: var(--dd-op-b, 0.35); }
}
@keyframes ddFxRay {
  0%   { transform: rotate(28deg) translateX(-300px); opacity: 0; }
  12%  { opacity: 1; }
  88%  { opacity: 1; }
  100% { transform: rotate(28deg) translateX(115vw);  opacity: 0; }
}
/* Light leak : rotation via --dd-rot, respiration d'opacité + légère expansion */
@keyframes ddFxLeak {
  0%   { transform: rotate(var(--dd-rot, 0deg)) scale(1);    opacity: var(--dd-op-a, 0.2); }
  100% { transform: rotate(var(--dd-rot, 0deg)) scale(1.35); opacity: var(--dd-op-b, 0.7); }
}

/* ── Colonnes latérales habillage ── */
.dd-col-lateral {
  position: fixed;
  top: 0;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none; /* la colonne elle-même n'intercepte pas les clics */
}
.dd-col-lateral img,
.dd-col-lateral a,
.dd-col-lateral p {
  pointer-events: auto; /* mais les éléments restent cliquables */
}
#dd-col-gauche {
  position: fixed; /* priorité ID > body.class > * */
  left: 0;
  width: calc((100vw - 1175px) / 2);
  /* z-index 1 hérité de .dd-col-lateral → reste derrière les sections Elementor */
}
#dd-col-droite {
  position: fixed; /* priorité ID > body.class > * */
  right: 0;
  width: calc((100vw - 1175px) / 2);
}
/* Bannière cliquable : z-index 2 suffit (au-dessus du wrapper Elementor) */
#dd-habillage-banniere[data-hab-lien] {
  cursor: pointer;
  pointer-events: auto;
}
/* ── Loader habillage (couvre la page jusqu'au positionnement complet) ── */
#dd-hab-loader {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 99999;
  transition: opacity 0.35s ease;
}
#dd-hab-loader.dd-hab-out {
  opacity: 0;
  pointer-events: none;
}
.dd-hab-spinner {
  position: absolute;
  top: 50%; left: 50%;
  width: 38px; height: 38px;
  margin: -19px 0 0 -19px;
  border: 3px solid rgba(255,255,255,0.25);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: ddSpin 0.75s linear infinite;
}
@keyframes ddSpin { to { transform: rotate(360deg); } }
/* ── Zones de clic transparentes pour les colonnes ── */
/* !important nécessaire : body.dd-habillage-active > * (0-1-2) écraserait sinon */
.dd-hab-click-zone {
  position: fixed !important;
  top: 0; height: 100%;
  background: transparent;
  z-index: 998 !important;
  cursor: pointer;
  pointer-events: auto !important;
}
.dd-hab-click-zone-g { left: 0;  width: calc((100vw - 1175px) / 2); }
.dd-hab-click-zone-d { right: 0; width: calc((100vw - 1175px) / 2); }
/* Sous 1200px : zones de clic masquées (colonnes aussi masquées) — géré par le bloc @media 1199px ci-dessus */
.dd-col-element {
  box-sizing: border-box;
  padding: 0 12px;
  transition: top 0.25s ease; /* repositionnement fluide quand le header change */
}
/* Colonnes masquées sous 1200px — géré par le bloc @media 1199px ci-dessus */

/* ── Animations d'arrivée (colonnes) ── */
@keyframes ddColAnim_fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes ddColAnim_slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes ddColAnim_slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes ddColAnim_slideInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes ddColAnim_slideInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes ddColAnim_zoomIn {
  from { opacity: 0; transform: scale(0.65); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes ddColAnim_bounceIn {
  0%   { opacity: 0; transform: scale(0.4); }
  55%  { opacity: 1; transform: scale(1.08); }
  80%  { transform: scale(0.95); }
  100% { transform: scale(1); }
}

/* ── Bannière habillage (scroll avec la page, disparaît au scroll) ── */
#dd-habillage-banniere {
  position: absolute; /* priorité ID (1-0-0) > body.class > * (0-1-2) */
  left: 50%;
  transform: translateX(-50%);
  width: 1175px;
  /* top fixé par JS à l'init (pas de CSS var pour éviter le saut au scroll) */
  top: 0;
  height: var(--dd-banner-h, 0px);
  z-index: 2; /* au-dessus du wrapper Elementor */
  overflow: hidden;
  pointer-events: none;
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
}
/* Bannière : largeur 98% sous 1200px — géré par le bloc @media 1199px ci-dessus */
#dd-habillage-banniere .dd-ban-element {
  position: absolute;
  box-sizing: border-box;
  pointer-events: auto;
}
/* Centrage horizontal : translate séparé de transform (CSS Transforms L2)
   → se compose avec les animations qui utilisent transform */
#dd-habillage-banniere .dd-ban-center {
  translate: -50% 0;
}
#dd-habillage-banniere .dd-ban-element p {
  margin: 0;
  padding: 0;
}
#dd-habillage-banniere img {
  display: block;
  height: auto;
}
/* Responsive : bannière habillage pleine largeur sur mobile (gérée dans le bloc 767px ci-dessus) */

/* ── Bannière publicitaire haute ── */
.dd-banniere-haut {
  text-align: center;
  padding: 8px 0;
}
/* Quand habillage actif : positionnement absolu sous la bannière habillage */
body.dd-habillage-active .dd-banniere-haut {
  position: absolute;
  z-index: 2;
  width: 1175px;
  max-width: 100%;
  left: 50%;
  transform: translateX(-50%);
  box-sizing: border-box;
  background: #fff;
}
@media (max-width: 1199px) {
  body.dd-habillage-active .dd-banniere-haut {
    width: 98%;
  }
}
@media (max-width: 767px) {
  body.dd-habillage-active .dd-banniere-haut {
    width: 100%;
  }
}
.dd-banniere-haut img {
  max-width: 970px;
  width: 100%;
  height: auto;
}
@media (max-width: 991px) {
  .dd-banniere-haut img {
    max-width: 728px;
  }
}

/* ============================================================
   HEADER NATIF — DDV7
   ============================================================ */

/* Structure globale */
#dd-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

/* ---- TOPBAR ---- */
#dd-topbar {
  background: var(--dd-bleu-sombre);
  height: 44px;
  display: flex;
  align-items: center;
  font-size: 13px;
}
.dd-topbar-inner {
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#dd-topbar a {
  color: rgba(255,255,255,0.92);
  text-decoration: none;
  transition: color var(--dd-transition);
}
#dd-topbar a:hover { color: var(--dd-bordeaux); }

.dd-topbar-greeting { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.92); font-size: 13px; }
.dd-topbar-greeting i { font-size: 15px; }
.dd-topbar-greeting--empty { min-width: 1px; }

.dd-topbar-social { display: flex; align-items: center; gap: 14px; }
.dd-topbar-social a { font-size: 14px; line-height: 1; color: rgba(255,255,255,0.92); }
.dd-topbar-social a:hover { color: var(--dd-bordeaux); }
.dd-topbar-social a i,
.dd-topbar-social a svg { color: rgba(255,255,255,0.92) !important; }
.dd-topbar-social a:hover i,
.dd-topbar-social a:hover svg { color: var(--dd-bordeaux) !important; }

.dd-topbar-sep { width: 1px; height: 16px; background: rgba(255,255,255,0.25); flex-shrink: 0; }

.dd-topbar-right { display: flex; align-items: center; gap: 18px; }

.dd-topbar-compare { display: flex; align-items: center; gap: 6px; }
.dd-topbar-compare .dd-badge {
  background: var(--dd-bordeaux);
  color: #fff;
  border-radius: 50%;
  width: 18px; height: 18px;
  font-size: 10px;
  font-weight: 700;
  align-items: center;
  justify-content: center;
  display: none; /* JS: $badge.css('display','inline-flex') pour afficher */
}

/* ---- LOGO + RECHERCHE ---- */
#dd-logosearch {
  background: #fff;
  padding: 0 max(24px, calc((100% - 1120px) / 2));
  height: 136px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
}

#dd-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
#dd-logo img { max-width: 450px; max-height: 120px; width: auto; height: auto; }

/* Hamburger + bouton recherche mobile masqués sur desktop */
#dd-mobile-search-btn,
#dd-hamburger { display: none; }

#dd-search-wrapper {
  width: 220px;
  flex-shrink: 0;
  position: relative;
}
#dd-search-form {
  display: flex;
  border: 1px solid var(--dd-border-color);
  border-radius: 20px;
  overflow: hidden;
  background: #f7f7f7;
}
#dd-search-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 8px 12px;
  font-family: var(--dd-font);
  font-size: 13px;
  background: transparent;
  color: var(--dd-black);
  min-width: 0;
}
#dd-search-btn {
  background: transparent;
  color: var(--dd-gris-moyen);
  border: none;
  padding: 0 12px;
  cursor: pointer;
  font-size: 14px;
  transition: color var(--dd-transition);
}
#dd-search-btn:hover { color: var(--dd-bordeaux); }

#dd-search-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  width: 420px;
  background: #fff;
  border: 1px solid var(--dd-border-color);
  border-radius: var(--dd-radius);
  box-shadow: var(--dd-shadow-md);
  z-index: 999;
  display: none;
  max-height: 480px;
  overflow-y: auto;
}
.dd-search-group-label {
  padding: 6px 14px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--dd-gris-moyen);
  border-bottom: 1px solid var(--dd-gris-clair);
  background: #fafafa;
}
.dd-search-result {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  text-decoration: none;
  color: var(--dd-black);
  font-size: 13px;
  border-bottom: 1px solid var(--dd-gris-clair);
  transition: background var(--dd-transition);
}
.dd-search-result:hover { background: var(--dd-gris-clair); }
.dd-search-result-thumb {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
  background: var(--dd-gris-clair);
}
.dd-search-result-thumb--empty {
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 4px;
  background: var(--dd-gris-clair);
  flex-shrink: 0;
}
.dd-search-result-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.dd-search-result-title {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 13px;
  line-height: 1.3;
}
.dd-search-result-date {
  font-size: 11px;
  color: var(--dd-gris-moyen);
}
.dd-search-footer {
  padding: 10px 14px;
  border-top: 1px solid var(--dd-border-color);
  background: #fafafa;
}
.dd-search-all {
  display: block;
  padding: 9px 14px;
  font-size: 13px;
  color: #fff;
  background: var(--dd-bordeaux);
  text-decoration: none;
  font-weight: 600;
  border-radius: var(--dd-radius);
  text-align: center;
  transition: background var(--dd-transition);
}
.dd-search-all:hover { background: var(--dd-bordeaux-dark); text-decoration: none; }

/* Overlay mobile masqué sur desktop */
#dd-mobile-search-overlay { display: none; }

/* ---- MEGAMENU ---- */
#dd-main-nav {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
#dd-main-nav > ul {
  display: flex;
  list-style: none;
  margin: 0; padding: 0;
  justify-content: center;
  flex-wrap: wrap;
}
#dd-main-nav > ul > li { position: relative; }
#dd-main-nav > ul > li:not(:last-child)::after {
  content: '';
  display: block;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 12px;
  width: 1px;
  background: var(--dd-border-color);
}
#dd-main-nav > ul > li > a {
  display: block;
  padding: 13px 15px;
  font-size: 14px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--dd-bleu);
  text-decoration: none;
  transition: color var(--dd-transition);
  white-space: nowrap;
}
#dd-main-nav > ul > li > a:hover,
#dd-main-nav > ul > li.current-menu-item > a { color: var(--dd-bordeaux); }
#dd-main-nav > ul > li.menu-item-has-children > a::after {
  content: ' ▾';
  font-size: 9px;
  opacity: 0.55;
  vertical-align: middle;
}

/* Dropdown megamenu */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid var(--dd-border-color);
  border-top: 3px solid var(--dd-bordeaux);
  box-shadow: var(--dd-shadow-md);
  padding: 20px 24px;
  z-index: 990;
  min-width: 600px;
  max-width: 1100px;
}
.nav-item.dropdown:hover .dropdown-menu,
.nav-item.dropdown:focus-within .dropdown-menu { display: block; }

/* Sections megamenu */
.dd-mega-sections {
  columns: 4 180px;
  column-gap: 24px;
}
.dd-mega-blocs .dd-mega-section { break-inside: avoid; }
.dd-mega-ajuste .dd-mega-section { break-inside: auto; }

.dd-mega-section { margin-bottom: 16px; }
.dd-mega-header {
  display: block;
  font-weight: 700;
  font-size: 13px;
  color: var(--dd-black);
  text-decoration: none;
  margin-bottom: 6px;
  line-height: 1.3;
}
.dd-mega-header:hover { color: var(--dd-bordeaux); }
.dd-mega-link {
  display: block;
  font-size: 12px;
  color: var(--dd-bleu);
  text-decoration: none;
  padding: 2px 0;
  line-height: 1.4;
}
.dd-mega-link:hover { color: var(--dd-bordeaux); }

.dd-mega-pub { break-inside: avoid; text-align: center; }
.dd-mega-pub img { max-width: 100%; height: auto; border-radius: var(--dd-radius); }

/* ---- MODALE LOGIN ---- */
#dd-login-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26,27,29,0.75);
  z-index: 9998;
  align-items: center;
  justify-content: center;
}
#dd-login-overlay.is-open { display: flex; }

#dd-login-modal {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  width: 860px;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  position: relative;
  box-shadow: 0 12px 48px rgba(0,0,0,0.3);
}
#dd-modal-close {
  position: absolute;
  top: 12px; right: 16px;
  background: none;
  border: none;
  font-size: 22px;
  color: #777;
  cursor: pointer;
  z-index: 2;
  line-height: 1;
}
#dd-modal-close:hover { color: #333; }

.dd-modal-inner { display: flex; min-height: 440px; }
.dd-modal-col-left {
  flex: 1;
  background: #e0ddd8;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.dd-modal-col-right {
  flex: 1;
  background: #fff;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* ---- Panneaux animés ---- */
.dd-modal-panel {
  transition: opacity 0.28s ease, transform 0.28s ease;
  opacity: 1;
  transform: translateY(0);
}
.dd-modal-panel.dd-panel-hidden { display: none; }
.dd-modal-panel.dd-panel-out {
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
}
.dd-modal-panel.dd-panel-in {
  opacity: 0;
  transform: translateY(10px);
}
.dd-modal-title {
  font-family: var(--dd-font-heading);
  font-size: 26px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: var(--dd-black);
  margin: 0 0 16px;
}
.dd-modal-subtitle {
  font-size: 13px;
  color: #555;
  line-height: 1.6;
  margin: 0 0 28px;
}
.dd-modal-col-left .dd-modal-subtitle { margin-bottom: 32px; }

.dd-modal-btn-dark {
  display: inline-block;
  background: var(--dd-bleu-sombre);
  color: #fff;
  border: none;
  padding: 13px 28px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  border-radius: 2px;
  text-decoration: none;
}
.dd-modal-btn-dark:hover { background: var(--dd-bleu); color: #fff; }

.dd-form-group { margin-bottom: 14px; }
.dd-form-group label {
  display: block;
  font-size: 12px;
  color: #444;
  margin-bottom: 5px;
}
.dd-form-group .dd-input-wrap {
  display: flex;
  align-items: center;
  border: 1px solid var(--dd-gris);
  border-radius: 2px;
  background: #fff;
  transition: border-color var(--dd-transition);
}
.dd-form-group .dd-input-wrap:focus-within { border-color: var(--dd-bordeaux); }
.dd-form-group input[type="text"],
.dd-form-group input[type="email"],
.dd-form-group input[type="password"] {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px 12px;
  font-size: 13px;
  font-family: var(--dd-font);
  background: transparent;
}
.dd-toggle-password {
  background: none;
  border: none;
  padding: 0 12px;
  color: #bbb;
  cursor: pointer;
  font-size: 14px;
}
.dd-form-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #666;
  margin-bottom: 20px;
}
.dd-form-check input { width: 14px; height: 14px; }

.dd-btn-primary {
  width: 100%;
  background: var(--dd-bordeaux);
  color: #fff;
  border: none;
  padding: 13px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 3px;
  margin-bottom: 14px;
  font-family: var(--dd-font);
  transition: background var(--dd-transition);
}
.dd-btn-primary:hover { background: var(--dd-bordeaux-dark); }

.dd-btn-success {
  width: 100%;
  background: var(--dd-vert);
  color: #fff;
  border: none;
  padding: 13px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 3px;
  margin-bottom: 14px;
  font-family: var(--dd-font);
  transition: background var(--dd-transition);
}
.dd-btn-success:hover { background: var(--dd-vert-sombre); }

.dd-form-forgot {
  font-size: 12px;
  color: var(--dd-bordeaux);
  text-decoration: none;
}
.dd-form-forgot:hover { text-decoration: underline; }

.dd-form-back {
  display: inline-block;
  font-size: 12px;
  color: var(--dd-gris-moyen);
  text-decoration: none;
  margin-bottom: 16px;
}
.dd-form-back:hover { color: var(--dd-black); }

.dd-form-error {
  background: #fdf0f0;
  border-left: 3px solid var(--dd-bordeaux);
  padding: 8px 12px;
  font-size: 12px;
  color: var(--dd-bordeaux);
  margin-bottom: 14px;
  display: none;
  border-radius: 0 var(--dd-radius) var(--dd-radius) 0;
}


/* ---- BARRE COMPARATEUR ---- */
#dd-compare-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--dd-bleu-sombre);
  z-index: 997;
  transform: translateY(100%);
  transition: transform 0.25s ease;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}
#dd-compare-bar.is-visible { transform: translateY(0); }

#dd-compare-bar-label {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}
#dd-compare-chips {
  display: flex;
  gap: 8px;
  flex: 1;
  flex-wrap: wrap;
}
.dd-compare-chip {
  background: var(--dd-bleu);
  border-radius: 3px;
  padding: 4px 10px;
  font-size: 12px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}
.dd-compare-chip button {
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  padding: 0;
  font-size: 13px;
  line-height: 1;
}
.dd-compare-chip button:hover { color: #fff; }

.dd-compare-chip-empty {
  border: 1px dashed rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.4);
}

#dd-compare-go {
  background: var(--dd-vert);
  color: #fff;
  border: none;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 3px;
  white-space: nowrap;
  transition: background var(--dd-transition);
  flex-shrink: 0;
}
#dd-compare-go:hover:not(:disabled) { background: var(--dd-vert-sombre); }
#dd-compare-go:disabled { opacity: 0.5; cursor: not-allowed; }

#dd-compare-clear {
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}
#dd-compare-clear:hover { color: #fff; }

/* ---- MOBILE OVERLAY ---- */
#dd-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--dd-bleu-sombre);
  z-index: 9997;
  flex-direction: column;
  overflow-y: auto;
}
#dd-mobile-overlay.is-open { display: flex; }

#dd-mobile-close {
  position: absolute;
  top: 12px; right: 16px;
  background: none;
  border: none;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
  line-height: 1;
  z-index: 2;
}

#dd-mobile-nav {
  padding: 60px 24px 24px;
  flex: 1;
}
.dd-mobile-item {
  list-style: none;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.dd-mobile-item > a {
  display: block;
  color: #fff;
  text-decoration: none;
  padding: 14px 0;
  font-size: 15px;
  font-weight: 600;
}
.dd-mobile-item.has-children { display: flex; align-items: center; flex-wrap: wrap; }
.dd-mobile-item.has-children > a { flex: 1; }
.dd-mobile-toggle {
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  font-size: 20px;
  cursor: pointer;
  padding: 10px 6px;
  transition: transform 0.2s;
}
.dd-mobile-toggle .dd-chevron { display: inline-block; transition: transform 0.2s; }
.dd-mobile-toggle .dd-chevron.is-rotated { transform: rotate(90deg); }
.dd-mobile-submenu {
  width: 100%;
  padding: 0 0 8px 16px;
  list-style: none;
}
.dd-mobile-submenu li > a {
  display: block;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  padding: 8px 0;
  font-size: 13px;
}
.dd-mobile-submenu li > a:hover { color: #fff; }

#dd-mobile-footer {
  padding: 20px 24px 32px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.dd-mobile-footer-social { display: flex; gap: 16px; margin-bottom: 14px; }
.dd-mobile-footer-social a { color: rgba(255,255,255,0.7); font-size: 18px; }
.dd-mobile-footer-links { display: flex; flex-direction: column; gap: 10px; }
.dd-mobile-footer-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 13px;
}

/* ---- HEADER MOBILE (≤768px) ---- */
@media (max-width: 768px) {
  #dd-topbar { display: none; }

  #dd-logosearch {
    height: 56px;
    padding: 0 16px;
    justify-content: space-between;
    position: relative;
  }
  #dd-logo { position: static; transform: none; }
  #dd-logo img { max-height: 36px; }
  #dd-search-wrapper { display: none; }

  #dd-mobile-search-btn,
  #dd-hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--dd-bleu);
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
  }

  #dd-mobile-search-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9996;
    align-items: flex-start;
    padding-top: 60px;
  }
  #dd-mobile-search-overlay.is-open { display: flex; }
  #dd-mobile-search-overlay form {
    width: 100%;
    display: flex;
    background: #fff;
    padding: 12px 16px;
    gap: 8px;
  }
  #dd-mobile-search-overlay input {
    flex: 1;
    border: 1px solid var(--dd-border-color);
    border-radius: var(--dd-radius);
    padding: 10px 14px;
    font-size: 15px;
    font-family: var(--dd-font);
    outline: none;
  }
  #dd-mobile-search-overlay button[type="submit"] {
    background: var(--dd-bordeaux);
    color: #fff;
    border: none;
    border-radius: var(--dd-radius);
    padding: 10px 16px;
    font-size: 16px;
    cursor: pointer;
  }

  #dd-main-nav { display: none; }

  .dd-modal-inner { flex-direction: column; }
  .dd-modal-col-left { padding: 28px 20px; }
  .dd-modal-col-right { padding: 20px 20px 28px; }
  .dd-modal-title { font-size: 20px; }

  #dd-compare-bar { flex-wrap: wrap; gap: 8px; padding: 8px 16px; }
  #dd-compare-chips { order: 1; width: 100%; }
  #dd-compare-bar-label { display: none; }
}

/* ---- Utilitaires header ---- */
body.modal-open,
body.overlay-open { overflow: hidden; }
