/* =========================================================================
   donjonetdragon.com — habillage Bootstrap 5
   Charte 2026 : rouge #E61720 conserve, noir d'encre #17120F, fond
   parchemin #F7F1E7, accent or #C89B4A. Titres en Fraunces, texte en Poppins.
   ========================================================================= */

:root {
  --dd-rouge: #e61720;
  --dd-rouge-fonce: #b50f17;
  --dd-noir: #17120f;          /* noir d'encre, legerement chaud */
  --dd-noir-2: #211a16;
  --dd-noir-3: #3a302a;
  --dd-gris-fond: #f7f1e7;     /* parchemin : fond de toutes les pages */
  --dd-gris-clair: #fbf8f2;
  --dd-parchemin-2: #efe5d4;   /* bandes alternees */
  --dd-or: #c89b4a;
  --dd-texte: #2b2320;
  --dd-texte-doux: #6f6259;
  --dd-bordure: #e2d6c2;
  --dd-teinte: rgba(230, 23, 32, 0.06);
  --dd-rayon: 14px;
  --dd-ombre: 0 4px 16px rgba(60, 40, 20, .07);
  --dd-ombre-forte: 0 14px 32px rgba(60, 40, 20, .14);
  --dd-titres: "Fraunces", Georgia, "Times New Roman", serif;

  --bs-body-font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --bs-body-color: var(--dd-texte);
  --bs-body-bg: var(--dd-gris-fond);
  --bs-link-color: var(--dd-rouge);
  --bs-link-hover-color: var(--dd-rouge-fonce);
  /* Bootstrap 5.3 lit les liens dans les variantes -rgb : sans elles, les
     liens hors contenu restaient bleus */
  --bs-link-color-rgb: 230, 23, 32;
  --bs-link-hover-color-rgb: 181, 15, 23;
}

body {
  font-family: var(--bs-body-font-family);
  background: var(--dd-gris-fond);
  color: var(--dd-texte);
  font-size: 1rem;
  line-height: 1.75;
}

h1, h2, h3, h4, h5, h6 { font-weight: 700; color: var(--dd-noir); line-height: 1.2; }
h1, h2, h3 { font-family: var(--dd-titres); letter-spacing: -.01em; }
h1 { font-weight: 800; }
h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-top: 2.2rem; margin-bottom: 1rem; }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.55rem); margin-top: 1.8rem; margin-bottom: .8rem; }
h4 { font-size: 1.15rem; margin-top: 1.4rem; }

a { text-decoration: none; }
a:hover { text-decoration: underline; }

/* --------------------------------------------------------------- en-tete */
.entete {
  background: rgba(23, 18, 15, .96);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  position: sticky; top: 0; z-index: 1030;
}
@supports (backdrop-filter: blur(8px)) {
  .entete { background: rgba(23, 18, 15, .9); backdrop-filter: blur(8px); }
}
.entete .navbar-toggler-icon { filter: invert(1); }
.entete-cta { padding: .5rem 1.1rem; font-size: .9rem; }
.entete .navbar { padding-top: .5rem; padding-bottom: .5rem; }
.entete-logo img { max-height: 62px; width: auto; }

.navbar-dd .nav-link {
  color: #e9dfd3;
  font-weight: 600;
  font-size: .95rem;
  padding: .65rem .9rem;
  border-radius: 6px;
}
.navbar-dd .nav-link:hover,
.navbar-dd .nav-link:focus,
.navbar-dd .nav-item.actif > .nav-link { color: #fff; text-decoration: none; }
@media (min-width: 992px) {
  .navbar-dd .nav-item.actif > .nav-link { box-shadow: inset 0 -2px 0 var(--dd-rouge); border-radius: 0; }
}

.navbar-dd .dropdown-menu {
  border: 0;
  border-top: 3px solid var(--dd-rouge);
  border-radius: 0 0 var(--dd-rayon) var(--dd-rayon);
  box-shadow: var(--dd-ombre);
  padding: .5rem;
  font-size: .92rem;
}
.navbar-dd .dropdown-item { border-radius: 6px; padding: .5rem .8rem; white-space: normal; }
.navbar-dd .dropdown-item:hover,
.navbar-dd .dropdown-item:focus { background: var(--dd-teinte); color: var(--dd-rouge); }
.navbar-dd .dropdown-entete {
  font-weight: 700; color: var(--dd-noir); text-transform: uppercase;
  font-size: .74rem; letter-spacing: .06em; padding: .7rem .8rem .3rem;
}
/* sous-menus deroulants (menu a trois niveaux du site d'origine) */
@media (min-width: 992px) {
  .navbar-dd .menu-large { min-width: 640px; }
  .navbar-dd .menu-large .colonne-menu { padding: 0 .35rem; }
}

/* --------------------------------------------------------------- sections */
/* --pad-haut / --pad-bas reprennent l espacement du site d origine, ou un
   titre porte sa marge en haut et le bloc qui le suit sa marge en bas */
.bloc { padding: var(--pad-haut, 3.2rem) 0 var(--pad-bas, 3.2rem); }
.bloc > .container > *:first-child { margin-top: 0; }
.texte-centre { text-align: center; }
/* le chapo d'accueil : 40 px comme sur le site d'origine, sinon le titre
   passe sur deux lignes dans son conteneur etroit */
.texte-centre h1 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.texte-centre h2 { font-size: clamp(1.25rem, 2vw, 1.625rem); }
.texte-centre .bloc-bouton, .texte-centre .sep-dnd { margin-left: auto; margin-right: auto; }
.section-teinte { background: var(--dd-parchemin-2); }
.section-rouge { background: var(--dd-rouge); color: #fff; }
.section-rouge h1, .section-rouge h2, .section-rouge h3, .section-rouge h4 { color: #fff; }
.section-rouge a:not(.btn) { color: #fff; text-decoration: underline; }
.section-sombre { background: var(--dd-noir); color: #e9dfd3; }
.section-sombre h1, .section-sombre h2, .section-sombre h3, .section-sombre h4 { color: #fff; }
.section-image {
  background-size: cover; background-position: center; color: #fff; position: relative;
}
.section-image::before {
  content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .5);
}
.section-image > .container { position: relative; z-index: 1; }
.section-image h1, .section-image h2, .section-image h3 { color: #fff; }

.sep-dnd {
  width: 84px; height: 4px; margin: 1.4rem auto; opacity: 1; border: 0;
  background: var(--dd-rouge); border-radius: 2px;
}

/* ------------------------------------------------- bandeau d'accueil */
/* Le hero de l'accueil : image plein ecran, voile sombre, titre centre, puis
   quatre portes d'entree qui chevauchent le bas du bandeau. */
.hero { position: relative; overflow: hidden; background: #0d0d0d; }
.hero-sur {
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  font-weight: 700; color: #ff6b70; margin-bottom: 1rem;
}
.hero h1 { color: #fff; margin: 0 0 1.1rem; letter-spacing: -.01em; }
.hero-chapo { color: rgba(255, 255, 255, .82); font-size: 1.08rem; margin-bottom: 1.8rem; }
.hero-chapo p:last-child { margin-bottom: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

.btn-fantome {
  border: 2px solid rgba(255, 255, 255, .55); color: #fff; font-weight: 600;
  border-radius: 10px; padding: calc(.75rem - 2px) 1.5rem; display: inline-block;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.btn-fantome:hover, .btn-fantome:focus {
  background: #fff; color: var(--dd-noir); border-color: #fff; text-decoration: none;
}

.hero-portail {
  background-size: cover; background-position: center 35%; background-repeat: no-repeat;
  padding: clamp(4.5rem, 9vw, 7.5rem) 0 clamp(6rem, 8vw, 7rem);
  text-align: center;
}
.hero-portail::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 45%, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, .78) 70%);
}
.hero-portail .container { position: relative; z-index: 1; }
.hero-portail h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.05;
  max-width: 20ch; margin-inline: auto;
}
.hero-portail .hero-chapo { max-width: 640px; margin-inline: auto; }
.hero-portail .hero-actions { justify-content: center; }

.portes { margin-top: -3.6rem; position: relative; z-index: 2; }
.porte {
  display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--dd-bordure); border-radius: var(--dd-rayon);
  padding: 1.3rem 1.2rem; color: inherit; box-shadow: var(--dd-ombre);
  transition: box-shadow .2s ease, border-color .2s ease;
}
.porte:hover { box-shadow: var(--dd-ombre-forte); border-color: var(--dd-rouge); text-decoration: none; }
.porte-num {
  font-size: .72rem; letter-spacing: .1em; font-weight: 700;
  color: var(--dd-rouge); margin-bottom: .45rem;
}
.porte-titre { font-size: 1.05rem; font-weight: 700; color: var(--dd-noir); margin-bottom: .35rem; }
.porte:hover .porte-titre { color: var(--dd-rouge); }
.porte p { font-size: .88rem; color: var(--dd-texte-doux); margin: 0; }

/* --------------------------------------------------------------- boutons */
.btn-dnd {
  background: var(--dd-rouge);
  color: #fff;
  font-weight: 600;
  border: 0;
  border-radius: 10px;
  padding: .75rem 1.5rem;
  display: inline-block;
  transition: background-color .2s ease;
}
.btn-dnd:hover, .btn-dnd:focus { background: var(--dd-rouge-fonce); color: #fff; text-decoration: none; }
.section-rouge .btn-dnd { background: #fff; color: var(--dd-rouge); }
.section-rouge .btn-dnd:hover { background: var(--dd-noir); color: #fff; }
.bloc-bouton { margin: 1.6rem 0; }

/* --------------------------------------------------------- carte / CTA */
.cta {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--dd-bordure);
  border-radius: var(--dd-rayon);
  overflow: hidden;
  color: inherit;
  height: 100%;
  box-shadow: var(--dd-ombre);
  transition: box-shadow .2s ease, border-color .2s ease;
}
a.cta:hover { box-shadow: var(--dd-ombre-forte); border-color: var(--dd-rouge); text-decoration: none; }
/* les cartes cliquables se soulevent legerement au survol */
.cta, .carte-article, .article-produit, .carte-soeur, .porte {
  transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}
a.cta:hover, .carte-article:hover, .article-produit:hover, .carte-soeur:hover { transform: translateY(-3px); }
.cta-laterale:hover { transform: none; }
.cta-media { background: var(--dd-gris-clair); }
.cta-img { width: 100%; height: 210px; object-fit: cover; display: block; }
.cta-corps { padding: 1.25rem 1.35rem 1.5rem; display: flex; flex-direction: column; flex: 1 1 auto; }
.cta-titre { font-size: 1.15rem; margin: 0 0 .6rem; color: var(--dd-noir); }
a.cta:hover .cta-titre { color: var(--dd-rouge); }
.cta-texte { color: var(--dd-texte-doux); font-size: .95rem; flex: 1 1 auto; }
.cta-texte p:last-child { margin-bottom: 0; }
.cta-btn { align-self: flex-start; margin-top: 1.1rem; }

/* --------------------------------------------------------------- produit */
/* Le "price table" du site d'origine : bandeau noir, prix en gros, atouts
   coches, bouton rouge. Sert de colonne laterale aux fiches /gamme/. */
.produit {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--dd-bordure);
  border-radius: var(--dd-rayon);
  overflow: hidden;
  color: inherit;
  box-shadow: var(--dd-ombre);
  transition: box-shadow .2s ease, border-color .2s ease;
}
a.produit:hover { box-shadow: var(--dd-ombre-forte); border-color: var(--dd-rouge); text-decoration: none; }
.produit-entete { background: var(--dd-noir); color: #fff; padding: 1.1rem 1.2rem; text-align: center; }
.produit-ruban {
  display: inline-block; background: var(--dd-rouge); color: #fff;
  font-size: .68rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  border-radius: 100px; padding: .18rem .7rem; margin-bottom: .5rem;
}
.btn-contour {
  display: block; margin-top: .6rem; text-align: center;
  border: 2px solid var(--dd-bordure); border-radius: 6px;
  padding: calc(.55rem - 2px) 1rem; font-weight: 600; color: var(--dd-noir);
  transition: border-color .2s ease, color .2s ease;
}
.btn-contour:hover { border-color: var(--dd-rouge); color: var(--dd-rouge); text-decoration: none; }
.produit-titre { font-size: 1.3rem; margin: 0; color: #fff; }
.produit-sous { color: #b8bcc2; font-size: .9rem; margin: .2rem 0 0; }
.produit-corps { padding: 1.4rem 1.2rem 1.5rem; text-align: center; }
.produit-media { margin-bottom: 1rem; }
.produit-img { max-height: 230px; width: auto; object-fit: contain; }
.produit-prix { font-size: 2.1rem; font-weight: 700; color: var(--dd-noir); margin: 0 0 1.1rem; line-height: 1.1; }
.produit-prix span {
  display: block; font-size: .8rem; font-weight: 500;
  color: var(--dd-texte-doux); letter-spacing: .02em; margin-bottom: .1rem;
}
.produit-atouts { font-size: .92rem; text-align: left; }
.produit-atouts ul { list-style: none; padding: 0; margin: 0; }
.produit-atouts li {
  position: relative; padding: .55rem 0 .55rem 1.7rem;
  border-bottom: 1px solid var(--dd-bordure); margin: 0;
}
.produit-atouts li:last-child { border-bottom: 0; }
.produit-atouts li::before {
  content: "✓"; position: absolute; left: 0; top: .5rem;
  color: var(--dd-rouge); font-weight: 700;
}
.produit .btn-dnd { display: block; margin-top: 1.2rem; }

/* dans une colonne etroite (les fiches /gamme/), la carte reste compacte
   et suit le defilement au lieu de s'etirer sur toute la hauteur */
.colonne-libre .produit { align-self: flex-start; }
@media (min-width: 992px) {
  .colonne-libre .produit { position: sticky; top: 100px; }
}

/* --------------------------------------------------------------- accordeon */
/* La "bascule" du site d'origine : pas de carte, juste un titre gras precede
   d'un petit triangle, et un filet de separation sous chaque question. */
.accordion-dnd { --bs-accordion-btn-focus-box-shadow: none; }
.accordion-dnd .accordion-item { background: transparent; border: 0; border-radius: 0; margin: 0; }
.accordion-dnd .accordion-header { margin: 0; }
.accordion-dnd .accordion-button {
  background: transparent; box-shadow: none; border-radius: 0;
  border-bottom: 1px solid var(--dd-bordure);
  color: var(--dd-noir); font-weight: 700; font-size: 1rem; line-height: 1.4;
  padding: .95rem 0 .95rem 1.7rem;
  font-family: var(--bs-body-font-family);
}
.accordion-dnd .accordion-button::after { display: none; }   /* chevron Bootstrap */
.accordion-dnd .accordion-button::before {
  content: "▸"; position: absolute; left: .15rem; top: 50%;
  transform: translateY(-50%); transform-origin: center;
  transition: transform .2s ease;
}
.accordion-dnd .accordion-button:not(.collapsed) { color: var(--dd-rouge); }
.accordion-dnd .accordion-button:not(.collapsed)::before { transform: translateY(-50%) rotate(-90deg); }
.accordion-dnd .accordion-button:hover { color: var(--dd-rouge); }
.accordion-dnd .accordion-body { padding: 1rem 0 1.3rem 1.7rem; }
.accordion-dnd .accordion-body > *:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------- carrousel */
.carousel-dnd .slide {
  min-height: 460px; display: flex; align-items: center;
  background-size: cover; background-position: center; position: relative;
}
.carousel-dnd .slide-voile { position: absolute; inset: 0; background: rgba(0, 0, 0, .5); }
.carousel-dnd .slide-corps { position: relative; z-index: 2; color: #fff; text-align: center; padding: 3rem 1rem; }
.carousel-dnd .slide-titre { color: #fff; font-size: clamp(1.8rem, 4.5vw, 3.1rem); margin-bottom: 1rem; }
.carousel-dnd .slide-texte { font-size: 1.1rem; max-width: 720px; margin: 0 auto 1.6rem; }
.carousel-dnd .slide-texte p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------- contenu */
/* `height:auto` reste volontairement limite aux images de corps de texte :
   applique a toutes les images, il ecrasait la hauteur fixe des vignettes
   de cartes (.cta-img, .carte-article img) et cassait leur alignement. */
.contenu p img,
.contenu figure img,
.contenu li img { height: auto; max-width: 100%; }
.contenu img { border-radius: var(--dd-rayon); }
.contenu > p > img, .contenu figure img { display: block; margin: 1.6rem auto; }

/* largeur et alignement repris du site d'origine (mosaiques en quinconce) */
.contenu p:has(> img[style*="width"]) { margin-bottom: .9rem; }
.vers-droite { display: block; margin-left: auto; margin-right: 0; }
.vers-gauche { display: block; margin-left: 0; margin-right: auto; }
.vers-centre { display: block; margin-left: auto; margin-right: auto; }

/* colonne dont la largeur exacte vient du site d'origine */
@media (min-width: 992px) {
  .colonne-libre { flex: 0 0 var(--largeur, 33.333%); max-width: var(--largeur, 33.333%); }
}
/* en dessous, on empile : un 70/30 coupe en deux moities egales etouffe le
   texte, et c'est deja ce que faisait Elementor sur tablette */
@media (max-width: 991.98px) {
  .colonne-libre { flex: 0 0 100%; max-width: 100%; }
}
@media (max-width: 991.98px) {
  .contenu img[style*="width"] { width: auto !important; max-width: 100%; }
  .vers-droite, .vers-gauche { margin-left: auto; margin-right: auto; }
}
.contenu ul, .contenu ol { padding-left: 1.35rem; }
.contenu li { margin-bottom: .4rem; }
.contenu { overflow-wrap: break-word; }
.tableau-defilant { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1.6rem 0; border-radius: var(--dd-rayon); }
.contenu table { width: 100%; margin: 1.6rem 0; background: #fff; border-radius: var(--dd-rayon); overflow: hidden; }
.tableau-defilant > table { margin: 0; }
@media (max-width: 575.98px) { .tableau-defilant > table { font-size: .9rem; } .tableau-defilant th, .tableau-defilant td { padding: .55rem .65rem; } }
.contenu table th { background: var(--dd-noir); color: #fff; font-weight: 600; }
.contenu table th, .contenu table td { padding: .7rem .9rem; border: 1px solid var(--dd-bordure); }
.contenu blockquote {
  border-left: 4px solid var(--dd-rouge); padding: .6rem 1.2rem; margin: 1.6rem 0;
  background: var(--dd-teinte); border-radius: 0 var(--dd-rayon) var(--dd-rayon) 0;
  font-style: italic;
}
.lien-affilie { font-weight: 600; }
.galerie-item { margin: 0; }
.galerie-item img { border-radius: var(--dd-rayon); width: 100%; height: 180px; object-fit: cover; }
.embed-dnd { border-radius: var(--dd-rayon); overflow: hidden; margin: 1.6rem 0; }

/* --------------------------------------------------------------- bandeau page */
.bandeau {
  background: var(--dd-noir); color: #fff; padding: 3.6rem 0 3.2rem;
  background-size: cover; background-position: center; position: relative;
}
/* degrade plutot qu un voile uni : sur une image claire, le surtitre rouge
   et la date devenaient illisibles */
.bandeau::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(23, 18, 15, .94) 15%, rgba(23, 18, 15, .62) 65%, rgba(23, 18, 15, .4)),
              linear-gradient(0deg, rgba(23, 18, 15, .7), transparent 50%);
}
.bandeau > .container { position: relative; z-index: 1; }
.bandeau h1 { color: #fff; margin-bottom: .6rem; }
.bandeau-sur {
  font-size: .78rem; text-transform: uppercase; letter-spacing: .08em;
  font-weight: 700; margin-bottom: .5rem;
}
.bandeau-sur a { color: var(--dd-or); }
.bandeau-sur a:hover { color: #fff; text-decoration: none; }
.bandeau-meta { color: rgba(255, 255, 255, .7); font-size: .85rem; margin-bottom: 0; }
.bandeau-actions { margin: 1.6rem 0 0; }
.bandeau .chapo { color: rgba(255, 255, 255, .88); font-size: 1.05rem; max-width: 760px; margin-bottom: 0; }

/* le fil d'Ariane prolonge l'en-tete sombre jusqu'a la banniere */
.fil {
  font-size: .82rem; padding: .7rem 0; background: var(--dd-noir);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  --bs-breadcrumb-divider-color: #6f6259;
}
.fil .breadcrumb { margin-bottom: 0; }
.fil a { color: #a99a8b; }
.fil a:hover { color: #fff; text-decoration: none; }
.fil .breadcrumb-item.active { color: #e9dfd3; }

/* Une ::: section a l'interieur de la colonne de contenu apporte son propre
   conteneur : on le neutralise, sinon il se recentre dans la colonne et le
   bloc se retrouve deux fois trop etroit. Hors colonne (page sans colonne
   laterale), les sections restent pleine largeur : ne pas elargir ce selecteur. */
.colonne-contenu .bloc { padding: 1.8rem 0; }
.colonne-contenu .bloc > .container { width: 100%; max-width: none; padding-left: 0; padding-right: 0; }

/* ------------------------------------------ banniere des fiches /gamme/ */
/* Presente le produit et pousse a l'achat : packshot a droite sur un halo,
   titre, reperes, et une offre par marchand affilie a gauche. */
.bandeau-produit { padding: 3rem 0; }
.bandeau-produit .bandeau-fond {
  position: absolute; inset: 0;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  filter: blur(6px) saturate(.7); transform: scale(1.06); opacity: .5;
}
.bandeau-produit::before {
  background: linear-gradient(90deg, rgba(10, 10, 10, .96) 0%, rgba(10, 10, 10, .82) 55%, rgba(10, 10, 10, .6) 100%);
}
.bandeau-produit h1 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
.bandeau-produit .chapo { font-size: 1.02rem; margin-bottom: 1.3rem; max-width: 56ch; }

.produit-reperes { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.5rem; }
.produit-reperes span {
  font-size: .78rem; font-weight: 600; color: rgba(255, 255, 255, .88);
  border: 1px solid rgba(255, 255, 255, .25); border-radius: 100px; padding: .28rem .8rem;
}

/* offres marchandes : une pastille par partenaire affilie, discrete mais
   reperable. Le premier marchand est en plein, les suivants en contour. */
.produit-offres { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.produit-apartir {
  font-size: 1rem; color: rgba(255, 255, 255, .8); margin: 0 0 .9rem;
}
.produit-apartir b { font-size: 1.7rem; font-weight: 700; color: #fff; }
.produit-dispo {
  font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  font-weight: 700; color: rgba(255, 255, 255, .55); margin-right: .2rem;
}
.produit-offre {
  display: inline-flex; align-items: baseline; gap: .5rem;
  border: 1px solid rgba(255, 255, 255, .3); border-radius: 100px;
  padding: .42rem .95rem; color: #fff; line-height: 1.2;
  transition: background-color .2s ease, border-color .2s ease;
}
.produit-offre:hover { background: rgba(255, 255, 255, .12); border-color: #fff; text-decoration: none; }
.produit-offre.est-principale { background: var(--dd-rouge); border-color: var(--dd-rouge); }
.produit-offre.est-principale:hover { background: var(--dd-rouge-fonce); border-color: var(--dd-rouge-fonce); }
.produit-marchand { font-size: .88rem; font-weight: 600; }
.produit-offre::after { content: "→"; font-size: .9rem; opacity: .7; }

.produit-visuel { position: relative; text-align: center; }
.produit-visuel::before {
  content: ""; position: absolute; inset: -12%;
  background: radial-gradient(circle, rgba(230, 23, 32, .35) 0%, rgba(230, 23, 32, 0) 68%);
}
.produit-visuel img {
  position: relative; max-width: 100%; width: auto; height: auto; max-height: 330px;
}

/* --------------------------------------------------------------- listes */
.carte-article {
  display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--dd-bordure); border-radius: var(--dd-rayon);
  overflow: hidden; color: inherit; box-shadow: var(--dd-ombre);
  transition: box-shadow .2s ease, border-color .2s ease;
}
.carte-article:hover { box-shadow: var(--dd-ombre-forte); border-color: var(--dd-rouge); text-decoration: none; }
.carte-article img { width: 100%; height: 190px; object-fit: cover; }
.carte-article .corps { padding: 1.1rem 1.2rem 1.4rem; display: flex; flex-direction: column; flex: 1 1 auto; }
.carte-article .rubrique {
  font-size: .72rem; text-transform: uppercase; letter-spacing: .07em;
  color: var(--dd-rouge); font-weight: 700; margin-bottom: .4rem;
}
.carte-article h3 { font-size: 1.05rem; margin: 0 0 .5rem; }
.carte-article:hover h3 { color: var(--dd-rouge); }
.carte-article p { font-size: .9rem; color: var(--dd-texte-doux); margin-bottom: 0; flex: 1 1 auto; }

/* --------------------------------------------------- colonne laterale */
/* La colonne du site d'origine : champ de recherche, presentation, carte
   produit qui suit le defilement. Elle etait posee par le modele Elementor
   du theme, pas par le contenu des pages. */
.colonne-laterale { display: flex; flex-direction: column; gap: 1.4rem; }

.recherche-laterale { display: flex; }
.recherche-laterale input {
  flex: 1 1 auto; min-width: 0;
  height: 50px; padding: 0 1rem;
  background: #fff; color: var(--dd-texte);
  border: 1px solid var(--dd-bordure); border-right: 0;
  border-radius: 6px 0 0 6px;
}
.recherche-laterale input::placeholder { color: var(--dd-texte-doux); }
.recherche-laterale input:focus {
  outline: 0; border-color: var(--dd-rouge); box-shadow: 0 0 0 .18rem var(--dd-teinte);
}
.recherche-laterale button {
  flex: 0 0 50px; width: 50px; height: 50px;
  background: var(--dd-noir); color: #fff; border: 0;
  border-radius: 0 6px 6px 0;
  display: flex; align-items: center; justify-content: center;
  transition: background-color .2s ease;
}
.recherche-laterale button:hover, .recherche-laterale button:focus { background: var(--dd-rouge); }

.laterale-titre { font-size: 1.15rem; font-weight: 600; margin-bottom: .7rem; }
.laterale-intro p { font-size: .95rem; color: var(--dd-texte); margin-bottom: 0; }

/* la carte suit le defilement comme sur le site d'origine (sticky, decalage 100px) */
@media (min-width: 992px) {
  .laterale-collante { position: sticky; top: 100px; }
}
.cta-vitrine .cta-media { background: #fff; padding: 1rem 1rem 0; }
.cta-vitrine .cta-img { height: auto; max-height: 300px; width: 75%; margin: 0 auto; object-fit: contain; }
.cta-vitrine .cta-titre { text-align: center; font-size: 1.2rem; line-height: 1.3; }
.cta-vitrine .cta-btn { align-self: center; text-align: center; }

/* ------------------------------------------------------- page recherche */
.recherche-page { display: flex; gap: .6rem; flex-wrap: wrap; }
.recherche-page input {
  flex: 1 1 260px; min-width: 0; height: 50px; padding: 0 1rem;
  background: #fff; color: var(--dd-texte);
  border: 1px solid var(--dd-bordure); border-radius: 6px;
}
.recherche-page input:focus {
  outline: 0; border-color: var(--dd-rouge); box-shadow: 0 0 0 .18rem var(--dd-teinte);
}
.recherche-etat { color: var(--dd-texte-doux); font-size: .92rem; margin: 1.2rem 0 .6rem; }
.recherche-resultats { display: flex; flex-direction: column; gap: .9rem; }
.resultat {
  display: block; background: #fff; border: 1px solid var(--dd-bordure);
  border-radius: var(--dd-rayon); padding: 1rem 1.2rem; color: inherit;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.resultat:hover { box-shadow: var(--dd-ombre); border-color: var(--dd-rouge); text-decoration: none; }
.resultat .rubrique {
  font-size: .72rem; text-transform: uppercase; letter-spacing: .07em;
  color: var(--dd-rouge); font-weight: 700;
}
.resultat h2 { font-size: 1.05rem; margin: .3rem 0 .35rem; }
.resultat:hover h2 { color: var(--dd-rouge); }
.resultat p { font-size: .9rem; color: var(--dd-texte-doux); margin-bottom: 0; }
.resultat mark { background: rgba(230, 23, 32, .14); color: inherit; padding: 0 .1em; border-radius: 3px; }

/* ---------------------------------------------- catalogue /gamme/ */
/* Facettes en colonne, comme sur une categorie de boutique : cases a cocher
   cumulables, compteur par option, tri cote navigateur. */
.filtres-bascule {
  display: block; width: 100%; margin-bottom: 1rem;
  background: #fff; border: 1px solid var(--dd-bordure); border-radius: 6px;
  padding: .7rem 1rem; font-weight: 600; color: var(--dd-noir); text-align: left;
}
.filtres-bascule::after { content: "▾"; float: right; }
.filtres-bascule[aria-expanded="true"]::after { content: "▴"; }
.filtres-bascule span:not(:empty) {
  background: var(--dd-rouge); color: #fff; border-radius: 100px;
  font-size: .75rem; padding: .05rem .5rem; margin-left: .4rem;
}

.filtres {
  background: #fff; border: 1px solid var(--dd-bordure); border-radius: var(--dd-rayon);
  padding: 1.2rem 1.3rem 1.4rem;
}
.filtres-entete { display: flex; align-items: baseline; justify-content: space-between; gap: .6rem; }
.filtres-entete h2 { font-size: 1.05rem; margin: 0 0 .2rem; }
.filtres-vider {
  background: none; border: 0; padding: 0; font-size: .8rem; font-weight: 600;
  color: var(--dd-rouge); text-decoration: underline;
}
.filtre-groupe { border: 0; padding: 0; margin: 1.3rem 0 0; }
.filtre-groupe legend {
  float: none; width: auto; padding: 0; margin-bottom: .6rem;
  font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
  font-weight: 700; color: var(--dd-texte-doux);
}
.filtre-choix {
  display: flex; align-items: center; gap: .55rem;
  padding: .32rem 0; font-size: .92rem; cursor: pointer;
}
.filtre-choix input { accent-color: var(--dd-rouge); width: 1rem; height: 1rem; flex: 0 0 auto; }
.filtre-choix span { flex: 1 1 auto; }
.filtre-choix em { font-style: normal; font-size: .8rem; color: var(--dd-texte-doux); }
.filtre-choix:hover span { color: var(--dd-rouge); }
.filtre-choix input:checked + span { font-weight: 600; color: var(--dd-rouge); }

.filtre-compte {
  margin: 0 0 1.2rem; font-size: .85rem; color: var(--dd-texte-doux);
  padding-bottom: 1rem; border-bottom: 1px solid var(--dd-bordure);
}
.filtre-vide { text-align: center; color: var(--dd-texte-doux); padding: 2.5rem 0 0; margin: 0; }

@media (max-width: 991.98px) {
  .filtres[hidden] { display: none; }
  .filtres { margin-bottom: 1.6rem; }
}
@media (min-width: 992px) {
  .filtres-bascule { display: none; }
  .filtres { position: sticky; top: 100px; }
}

.article-produit {
  display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--dd-bordure); border-radius: var(--dd-rayon);
  overflow: hidden; color: inherit; box-shadow: var(--dd-ombre);
  transition: box-shadow .2s ease, border-color .2s ease;
}
.article-produit:hover { box-shadow: var(--dd-ombre-forte); border-color: var(--dd-rouge); text-decoration: none; }
.article-produit-media {
  background: var(--dd-gris-clair); padding: 1.1rem; text-align: center;
}
.article-produit-media img { max-height: 170px; width: auto; max-width: 100%; }
.article-produit-corps { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; flex: 1 1 auto; }
.article-produit-type {
  font-size: .7rem; letter-spacing: .08em; text-transform: uppercase;
  font-weight: 700; color: var(--dd-rouge); margin-bottom: .35rem;
}
.article-produit-titre { font-size: 1rem; margin: 0 0 .5rem; line-height: 1.3; }
.article-produit:hover .article-produit-titre { color: var(--dd-rouge); }
.article-produit-prix { font-size: .85rem; color: var(--dd-texte-doux); margin: auto 0 .2rem; }
.article-produit-prix b { font-size: 1.25rem; color: var(--dd-noir); }
.article-produit-marchands { font-size: .78rem; color: var(--dd-texte-doux); margin: 0; }

/* ------------------------------------------------- pages voisines */
.carte-soeur {
  display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--dd-bordure); border-radius: var(--dd-rayon);
  overflow: hidden; color: inherit; box-shadow: var(--dd-ombre);
  transition: box-shadow .2s ease, border-color .2s ease;
}
.carte-soeur:hover { box-shadow: var(--dd-ombre-forte); border-color: var(--dd-rouge); text-decoration: none; }
.carte-soeur img { width: 100%; height: 110px; object-fit: cover; }
.carte-soeur span {
  padding: .7rem .8rem .9rem; font-size: .9rem; font-weight: 600;
  color: var(--dd-noir); line-height: 1.3;
}
.carte-soeur:hover span { color: var(--dd-rouge); }

/* --------------------------------------------------------------- pied */
.pied { background: var(--dd-noir); color: #a99a8b; margin-top: 6rem; font-size: .92rem; }
.pied h3 {
  color: #fff; font-family: var(--bs-body-font-family); font-size: .8rem;
  text-transform: uppercase; letter-spacing: .1em; margin: 0 0 1rem;
}
.pied a { color: #a99a8b; }
.pied a:hover { color: #fff; text-decoration: none; }
.pied ul { list-style: none; padding: 0; }
.pied li { margin-bottom: .5rem; }
.pied-bas { border-top: 1px solid var(--dd-noir-3); margin-top: 2.4rem; padding: 1.2rem 0; font-size: .85rem; }
.pied-logo img { max-height: 62px; width: auto; margin-bottom: 1rem; }

/* la newsletter : un bandeau rouge a cheval sur le haut du pied de page */
.pied-newsletter {
  position: relative; top: -3.5rem; margin-bottom: -1rem; overflow: hidden;
  background: var(--dd-rouge); color: #fff; border-radius: 22px;
  padding: 2.2rem 2.4rem; display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.6rem; align-items: center;
  box-shadow: var(--dd-ombre-forte);
}
.pied-newsletter::after {
  content: "\1F409"; position: absolute; right: -10px; bottom: -48px;
  font-size: 170px; line-height: 1; opacity: .12; pointer-events: none;
}
.pied-newsletter h2 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0 0 .4rem; }
.pied-newsletter p { color: #ffe0e0; margin: 0; }
.pied-newsletter form { display: flex; gap: .6rem; position: relative; z-index: 1; }
.pied-newsletter input {
  flex: 1 1 auto; min-width: 0; border: 0; border-radius: 10px; padding: .8rem 1rem; color: var(--dd-texte);
}
.pied-newsletter .btn {
  background: var(--dd-noir); color: #fff; border-radius: 10px; font-weight: 600; padding: .8rem 1.3rem;
}
.pied-newsletter .btn:hover { background: #000; color: #fff; }
@media (max-width: 767.98px) {
  .pied-newsletter { grid-template-columns: 1fr; padding: 1.8rem 1.4rem; }
  .pied-newsletter form { flex-direction: column; }
}

/* --------------------------------------------------------------- divers */
.haut-de-page {
  position: fixed; right: 18px; bottom: 18px; z-index: 1040;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--dd-rouge); color: #fff; border: 0;
  display: none; align-items: center; justify-content: center;
  box-shadow: var(--dd-ombre);
}
.haut-de-page.visible { display: flex; }

@media (max-width: 991.98px) {
  .bloc { padding: min(var(--pad-haut, 2.4rem), 2.6rem) 0 min(var(--pad-bas, 2.4rem), 2.6rem); }
  .carousel-dnd .slide { min-height: 380px; }
  .navbar-dd .dropdown-menu { border-top: 0; box-shadow: none; padding-left: .8rem; }
}

/* =========================================================================
   Accueil 2026 : aiguillage par profil, parcours, classes, boite a outils
   ========================================================================= */
.surtitre {
  font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--dd-rouge); margin: 0 0 .5rem;
}
.entete-section {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end;
  gap: .8rem 2rem; margin-bottom: 2.2rem;
}
.entete-section h2 { margin: 0; font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; }
.entete-chapo { color: var(--dd-texte-doux); max-width: 560px; margin-top: .6rem; }
.entete-chapo p:last-child { margin-bottom: 0; }
.entete-lien { font-weight: 600; white-space: nowrap; }
.section-sombre .entete-chapo { color: #b9ab9c; }
.section-sombre .surtitre { color: var(--dd-or); }
.section-sombre .entete-lien { color: #ff6b70; }

/* hero en aiguillage : texte a gauche, trois portes par profil */
.hero-parcours {
  background-size: cover; background-position: center; background-repeat: no-repeat;
  padding: clamp(4.5rem, 9vw, 7rem) 0 clamp(3rem, 5vw, 4rem);
}
.hero-parcours::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--dd-noir) 20%, rgba(23, 18, 15, .6) 60%, rgba(23, 18, 15, .25)),
              linear-gradient(0deg, var(--dd-noir), transparent 40%);
}
.hero-parcours .container { position: relative; z-index: 1; }
.hero-parcours .hero-sur { color: var(--dd-or); }
.hero-parcours h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); line-height: 1.05; max-width: 16ch; }
.hero-parcours .hero-chapo { max-width: 580px; font-size: 1.12rem; color: #e2d8cc; }
.hero-chemins { max-width: 940px; margin-top: .6rem; }
.chemin {
  display: flex; flex-direction: column; gap: .3rem; height: 100%;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--dd-rayon); padding: 1.2rem 1.25rem; color: #fff;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.chemin:hover { background: rgba(230, 23, 32, .2); border-color: var(--dd-rouge); transform: translateY(-2px); color: #fff; text-decoration: none; }
.chemin-icone { font-size: 1.6rem; line-height: 1; }
.chemin-titre { font-weight: 600; font-size: 1.05rem; }
.chemin-texte { font-size: .88rem; color: #cfc3b6; line-height: 1.5; }
.chemin-suite { margin-top: auto; padding-top: .5rem; font-size: .84rem; font-weight: 600; color: #ff7a7f; }
.hero-chiffres {
  display: flex; flex-wrap: wrap; gap: .8rem 2.2rem; margin-top: 2.4rem;
  font-size: .84rem; color: #b9ab9c;
}
.hero-chiffre b { display: block; color: #fff; font-size: 1rem; }

/* parcours en quatre etapes numerotees */
.etapes { counter-reset: etape; }
.etape {
  display: flex; flex-direction: column; height: 100%; overflow: hidden;
  background: #fff; border: 1px solid var(--dd-bordure); border-radius: var(--dd-rayon);
  color: inherit; box-shadow: var(--dd-ombre);
  transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}
.etape:hover { box-shadow: var(--dd-ombre-forte); border-color: var(--dd-rouge); transform: translateY(-3px); text-decoration: none; }
.etape-media { position: relative; display: block; }
.etape-img { width: 100%; aspect-ratio: 16 / 10; height: auto; object-fit: cover; display: block; border-radius: 0 !important; }
.etape-media::after {
  counter-increment: etape; content: counter(etape);
  position: absolute; left: 14px; bottom: -19px; width: 40px; height: 40px; border-radius: 50%;
  background: var(--dd-rouge); color: #fff; font-weight: 700; display: grid; place-items: center;
  border: 3px solid #fff;
}
.etape-corps { padding: 1.8rem 1.15rem 1.2rem; display: flex; flex-direction: column; flex: 1 1 auto; }
.etape-titre { font-family: var(--dd-titres); font-weight: 700; font-size: 1.2rem; color: var(--dd-noir); margin-bottom: .35rem; }
.etape-corps p { font-size: .9rem; color: var(--dd-texte-doux); margin-bottom: 0; }
.etape-lien { margin-top: auto; padding-top: .8rem; font-size: .88rem; font-weight: 600; color: var(--dd-rouge); }

/* les douze classes, sur fond sombre */
.classe {
  display: block; height: 100%; padding: 1rem .95rem;
  background: var(--dd-noir-2); border: 1px solid var(--dd-noir-3); border-radius: 12px;
  color: #e9dfd3; transition: border-color .2s ease, background-color .2s ease;
}
.classe:hover { border-color: var(--dd-or); background: #2d231e; color: #e9dfd3; text-decoration: none; }
.classe-icone { font-size: 1.35rem; line-height: 1; }
.classe-titre { display: block; color: #fff; font-weight: 600; margin-top: .45rem; }
.classe-texte { display: block; font-size: .8rem; color: #a99a8b; line-height: 1.4; }

/* boite a outils : une grande carte a visuel, quatre cartes texte */
.outil {
  display: flex; flex-direction: column; height: 100%; overflow: hidden;
  background: #fff; border: 1px solid var(--dd-bordure); border-radius: var(--dd-rayon);
  color: inherit; transition: border-color .2s ease, box-shadow .2s ease;
}
.outil:hover { border-color: var(--dd-rouge); box-shadow: var(--dd-ombre); text-decoration: none; }
.outil-media { display: block; flex: 1 1 auto; min-height: 220px; position: relative; }
.outil-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0 !important; }
.outil-corps { padding: 1.3rem 1.35rem; display: flex; flex-direction: column; gap: .3rem; flex: 0 0 auto; }
.outil:not(.outil-grand) .outil-corps { flex: 1 1 auto; }
.outil-titre { font-family: var(--dd-titres); font-weight: 700; font-size: 1.15rem; color: var(--dd-noir); }
.outil-corps p { font-size: .9rem; color: var(--dd-texte-doux); margin: 0; }
.outil-lien { margin-top: auto; padding-top: .4rem; font-size: .88rem; font-weight: 600; color: var(--dd-rouge); }
.etiquette {
  align-self: flex-start; font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  background: #fde8e8; color: var(--dd-rouge); padding: .2rem .6rem; border-radius: 100px;
}
.etiquette-verte { background: #eaf3e6; color: #3f7a2e; }
.etiquette-claire { background: rgba(255, 255, 255, .16); color: #fff; }

/* grandes affiches a image de fond (guides joueur / MJ) */
.affiche {
  position: relative; display: flex; align-items: flex-end; min-height: 380px; height: 100%;
  border-radius: 18px; overflow: hidden; color: #fff;
}
.affiche-fond {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transition: transform .5s ease;
}
.affiche::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(15, 10, 8, .94) 18%, rgba(15, 10, 8, .15) 72%);
}
.affiche:hover { color: #fff; text-decoration: none; }
.affiche:hover .affiche-fond { transform: scale(1.04); }
.affiche-corps { position: relative; z-index: 1; padding: 1.8rem; display: flex; flex-direction: column; gap: .5rem; }
.affiche-titre { font-family: var(--dd-titres); font-weight: 800; font-size: clamp(1.5rem, 2.6vw, 1.9rem); line-height: 1.15; }
.affiche-corps p { color: #ddd1c4; margin: 0 0 .6rem; max-width: 42ch; }
.affiche-corps .btn { align-self: flex-start; }

/* vitrine produit de l'accueil : la carte catalogue, avec un ruban conseil */
.article-produit { position: relative; }
.article-produit.est-conseil { border: 2px solid var(--dd-rouge); }
.article-produit-ruban {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  background: var(--dd-rouge); color: #fff; font-size: .7rem; font-weight: 600;
  padding: .25rem .7rem; border-radius: 100px;
}
.article-produit-media { background: var(--dd-gris-clair); }
.article-produit-titre { font-family: var(--dd-titres); }

/* le bouton d'une colonne alignee a gauche n'est pas centre */
.colonne-libre .bloc-bouton { text-align: left !important; }

@media (max-width: 767.98px) {
  .affiche { min-height: 320px; }
  .entete-section { margin-bottom: 1.6rem; }
}

/* ------------------------------------------ encart « nouvelle version » */
/* Oriente un lecteur d'une fiche ou d'un article vers le produit qui
   remplace celui dont il est question (boite d'initiation 2024...). */
.encart {
  display: flex; gap: 1.3rem; align-items: center;
  background: #fff; border: 2px solid var(--dd-rouge); border-radius: var(--dd-rayon);
  padding: 1.1rem 1.3rem; margin: 0 0 2rem; box-shadow: var(--dd-ombre);
}
.encart-media { flex: 0 0 120px; }
.encart-img { width: 120px; height: auto; border-radius: 8px !important; margin: 0 !important; display: block; }
.encart-corps { flex: 1 1 auto; min-width: 0; }
.encart-sur {
  font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--dd-rouge); margin: 0 0 .2rem;
}
.encart-titre { font-family: var(--dd-titres); font-weight: 700; font-size: 1.2rem; color: var(--dd-noir); margin: 0 0 .35rem; line-height: 1.25; }
.encart-corps p { font-size: .93rem; margin-bottom: .4rem; }
.encart-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem; margin-top: .7rem; }
.encart-lien { font-weight: 600; font-size: .92rem; }
@media (max-width: 575.98px) {
  .encart { flex-direction: column; align-items: flex-start; }
}

/* galerie de photos produit : visuel entier, legende, clic vers le marchand */
.galerie-produit { margin: 1.4rem 0 1.8rem; }
.galerie-produit-lien { display: block; height: 100%; color: inherit; }
.galerie-produit-lien:hover { text-decoration: none; }
.galerie-produit-item {
  margin: 0; height: 100%; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--dd-bordure); border-radius: var(--dd-rayon);
  overflow: hidden; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.galerie-produit-lien:hover .galerie-produit-item { border-color: var(--dd-rouge); box-shadow: var(--dd-ombre-forte); transform: translateY(-3px); }
.contenu .galerie-produit-img, .galerie-produit-img {
  display: block; width: 100%; height: 230px; object-fit: contain;
  margin: 0 !important; padding: .8rem; border-radius: 0 !important; background: #fff;
}
.galerie-produit-item figcaption {
  font-size: .82rem; color: var(--dd-texte-doux); padding: .6rem .9rem .8rem;
  border-top: 1px solid var(--dd-bordure); margin-top: auto;
}
.galerie-produit-lien:hover figcaption { color: var(--dd-rouge); }

/* grande photo au fil du texte (:::visuel) : habillee a droite / a gauche,
   ou pleine largeur. Cliquable vers le marchand quand elle porte un lien. */
.visuel { margin: 0; }
.visuel-lien { display: block; color: inherit; }
.visuel-lien:hover { text-decoration: none; }
.contenu .visuel-img, .visuel-img {
  display: block; width: 100%; height: auto; margin: 0 !important;
  border-radius: var(--dd-rayon) !important; background: #fff;
  box-shadow: var(--dd-ombre); transition: box-shadow .2s ease, transform .2s ease;
}
.visuel-lien:hover .visuel-img { box-shadow: var(--dd-ombre-forte); transform: translateY(-3px); }
.visuel figcaption { font-size: .82rem; color: var(--dd-texte-doux); margin-top: .55rem; line-height: 1.45; }
.visuel-lien:hover figcaption { color: var(--dd-rouge); }
.visuel-lien-pleine, .visuel-pleine { margin: 1.6rem 0 2rem; }
.visuel-lien-pleine .visuel-img, .visuel-pleine .visuel-img { max-height: 560px; object-fit: contain; }
@media (min-width: 768px) {
  .visuel-lien-droite, figure.visuel-droite:not(.visuel-lien *) {
    float: right; width: var(--visuel-largeur, 42%); margin: .3rem 0 1.4rem 2rem;
  }
  .visuel-lien-gauche, figure.visuel-gauche:not(.visuel-lien *) {
    float: left; width: var(--visuel-largeur, 42%); margin: .3rem 2rem 1.4rem 0;
  }
  /* un nouveau titre repart sous la photo habillee */
  .visuel-lien-droite ~ h2, .visuel-lien-gauche ~ h2,
  .visuel-droite ~ h2, .visuel-gauche ~ h2 { clear: both; }
}
@media (max-width: 767.98px) {
  .visuel-lien-droite, .visuel-lien-gauche { margin: 1.2rem 0 1.6rem; }
}
.bloc-bouton { clear: both; }
@media (max-width: 767.98px) {
  /* sur mobile, une photo habillee ne doit pas repousser le texte d'un ecran */
  .visuel-lien-droite .visuel-img, .visuel-lien-gauche .visuel-img { max-height: 340px; object-fit: contain; }
}
/* photo haute (boite en 3D) en pleine largeur : hauteur contenue, centree */
.visuel-lien-pleine .visuel-img, .visuel-pleine .visuel-img { max-height: 480px; padding: 1rem; }
/* fond flou des fiches produit : il deborde du cadre, sinon le flou laisse
   un liseré clair sur les bords (surtout en bas de la banniere) */
.bandeau-produit { overflow: hidden; }
.bandeau-produit .bandeau-fond { inset: -40px; transform: none; }

/* mosaique de trois photos (:::mosaique) : une grande a gauche, deux
   empilees a droite, chaque photo remplit sa case */
.mosaique { margin: 1.6rem 0 2rem; }
.mosaique-grille {
  display: grid; gap: .75rem; height: 520px;
  grid-template-columns: 1fr 1.35fr; grid-template-rows: 1.25fr 1fr;
}
.mosaique-case {
  display: block; overflow: hidden; border-radius: var(--dd-rayon);
  background: #fff; box-shadow: var(--dd-ombre);
}
.mosaique-case-1 { grid-row: 1 / 3; }
.contenu .mosaique-img, .mosaique-img {
  display: block; width: 100%; height: 100%; object-fit: cover; margin: 0 !important;
  border-radius: 0 !important; transition: transform .4s ease;
}
a.mosaique-case:hover .mosaique-img { transform: scale(1.04); }
.mosaique figcaption { font-size: .82rem; color: var(--dd-texte-doux); margin-top: .55rem; }
@media (max-width: 575.98px) {
  .mosaique-grille { height: auto; grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .mosaique-case-1 { grid-row: auto; grid-column: 1 / 3; aspect-ratio: 4 / 5; }
  .mosaique-case-2, .mosaique-case-3 { aspect-ratio: 1; }
}
.mosaique-case-2 .mosaique-img { object-position: center top; }
/* mosaique de cinq : grande a gauche, large en haut a droite, trois dessous */
.mosaique-grille.mosaique-n5 {
  height: 500px; grid-template-columns: 2.1fr 1fr 1fr 1fr; grid-template-rows: 1.15fr 1fr;
}
.mosaique-n5 .mosaique-case-1 { grid-row: 1 / 3; grid-column: 1; }
.mosaique-n5 .mosaique-case-2 { grid-row: 1; grid-column: 2 / 5; }
.mosaique-n5 .mosaique-case-1 .mosaique-img { object-position: center top; }
.mosaique-n5 .mosaique-case-2 .mosaique-img { object-position: center; }
.mosaique-n5 .mosaique-case-3 .mosaique-img { object-position: center top; }
.mosaique-n5 .mosaique-case-4 .mosaique-img { object-position: center top; }
@media (max-width: 767.98px) {
  .mosaique-grille.mosaique-n5 { height: auto; grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .mosaique-n5 .mosaique-case-1 { grid-row: auto; grid-column: 1; aspect-ratio: 3 / 4; }
  .mosaique-n5 .mosaique-case-2 { grid-row: auto; grid-column: 2; aspect-ratio: 3 / 4; }
  .mosaique-n5 .mosaique-case-3, .mosaique-n5 .mosaique-case-4 { aspect-ratio: 1; }
  .mosaique-n5 .mosaique-case-5 { grid-column: 1 / 3; aspect-ratio: 2 / 1; }
}

/* ------------------------------------------ l'avis de la redaction */
.avis {
  clear: both; margin: 3rem 0 1rem; background: #fff;
  border: 1px solid var(--dd-bordure); border-top: 4px solid var(--dd-rouge);
  border-radius: var(--dd-rayon); box-shadow: var(--dd-ombre); overflow: hidden;
}
.avis-entete {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem 2rem; flex-wrap: wrap;
  padding: 1.5rem 1.7rem 1.1rem; border-bottom: 1px solid var(--dd-bordure);
}
.avis-sur {
  font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--dd-rouge); margin: 0 0 .25rem;
}
.avis-titre { font-family: var(--dd-titres); font-weight: 800; font-size: 1.45rem; color: var(--dd-noir); margin: 0; line-height: 1.2; }
.avis-note { display: flex; align-items: baseline; gap: .3rem; white-space: nowrap; }
.avis-note b { font-family: var(--dd-titres); font-size: 2.2rem; line-height: 1; color: var(--dd-noir); }
.avis-note > span:last-child { color: var(--dd-texte-doux); font-weight: 600; }
.avis-etoiles { font-size: 1.15rem; letter-spacing: .05em; margin-right: .45rem; }
.avis-etoiles .plein { color: var(--dd-or); }
.avis-etoiles .vide { color: var(--dd-bordure); }
.avis-etoiles .demi {
  background: linear-gradient(90deg, var(--dd-or) 50%, var(--dd-bordure) 50%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.avis-verdict { padding: 1.3rem 1.7rem .4rem; }
.avis-verdict p { margin-bottom: .9rem; }
.avis-points { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding: .4rem 1.7rem 1.4rem; }
.avis-plus, .avis-moins { border-radius: 10px; padding: 1rem 1.1rem .6rem; }
.avis-plus { background: #eef6ea; }
.avis-moins { background: #fbeeee; }
.avis-points-titre { font-weight: 700; margin: 0 0 .5rem; font-size: .95rem; }
.avis-plus .avis-points-titre { color: #3f7a2e; }
.avis-moins .avis-points-titre { color: var(--dd-rouge-fonce); }
.avis-points ul { list-style: none; padding: 0 !important; margin: 0; }
.avis-points li { position: relative; padding-left: 1.4rem; font-size: .93rem; margin-bottom: .5rem; }
.avis-plus li::before { content: "+"; position: absolute; left: 0; font-weight: 800; color: #3f7a2e; }
.avis-moins li::before { content: "–"; position: absolute; left: 0; font-weight: 800; color: var(--dd-rouge); }
.avis-achat {
  display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1rem;
  padding: 1.2rem 1.7rem; background: var(--dd-gris-clair); border-top: 1px solid var(--dd-bordure);
}
.avis-achat-titre { font-weight: 700; color: var(--dd-noir); margin-right: .3rem; }
.avis-achat .btn-contour { display: inline-block; margin-top: 0; padding: calc(.75rem - 2px) 1.5rem; border-radius: 10px; }
@media (max-width: 575.98px) {
  .avis-points { grid-template-columns: 1fr; }
  .avis-entete, .avis-verdict, .avis-points, .avis-achat { padding-left: 1.2rem; padding-right: 1.2rem; }
}

/* menu deroulant : intitules sur plusieurs lignes plus serres, et une zone
   invisible au-dessus du menu qui fait le pont avec le lien, pour que le
   survol ne se perde pas dans l'espace qui les separe */
.navbar-dd .dropdown-item { line-height: 1.3; padding: .45rem .8rem; }
.navbar-dd .dropdown-entete { line-height: 1.35; }
@media (min-width: 992px) {
  .navbar-dd .dropdown-menu::before {
    content: ""; position: absolute; left: 0; right: 0; top: -22px; height: 22px;
  }
}

/* sommaire de page (:::sommaire) : encadre numerote, sur deux colonnes */
.sommaire {
  background: #fff; border: 1px solid var(--dd-bordure); border-left: 4px solid var(--dd-rouge);
  border-radius: var(--dd-rayon); padding: 1.1rem 1.4rem 1rem; margin: 1.6rem 0 2.2rem;
  box-shadow: var(--dd-ombre);
}
.sommaire-titre {
  font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--dd-rouge); margin: 0 0 .6rem;
}
.sommaire ol {
  counter-reset: som; list-style: none; padding: 0 !important; margin: 0;
  columns: 2; column-gap: 2rem;
}
.sommaire li { counter-increment: som; break-inside: avoid; margin: 0 0 .45rem; padding-left: 1.9rem; position: relative; line-height: 1.35; }
.sommaire li::before {
  content: counter(som, decimal-leading-zero); position: absolute; left: 0; top: .1rem;
  font-size: .75rem; font-weight: 700; color: var(--dd-or);
}
.sommaire a { color: var(--dd-noir); font-weight: 500; font-size: .95rem; }
.sommaire a:hover { color: var(--dd-rouge); text-decoration: none; }
@media (max-width: 575.98px) { .sommaire ol { columns: 1; } }
/* les ancres ne passent pas sous l'en-tete collant */
h2[id] { scroll-margin-top: 90px; }

/* lecture avec sommaire (:::avec-sommaire) : sommaire colle a gauche,
   contenu a droite ; les sections internes perdent leur conteneur propre */
.lecture-avec-sommaire { padding-top: 2.4rem; }
.sommaire-lateral { position: sticky; top: 96px; margin-top: 0; max-height: calc(100vh - 120px); overflow-y: auto; }
.sommaire-lateral ol { columns: 1; }
.sommaire-lateral li { margin-bottom: .5rem; }
.sommaire-lateral a { font-size: .88rem; }
.sommaire-lateral a.actif { color: var(--dd-rouge); font-weight: 600; }
.lecture-corps .bloc { padding: 1.2rem 0; }
.lecture-corps .bloc > .container { max-width: none !important; padding-left: 0; padding-right: 0; }
.lecture-corps .section-teinte { background: transparent; }
.lecture-corps > .sommaire { margin-top: 0; }

/* cartes blanches posees sur une section sombre, rouge ou image : leurs
   titres gardent la couleur d'encre (sinon blanc sur blanc) */
.section-sombre .carte-article h3, .section-rouge .carte-article h3, .section-image .carte-article h3,
.section-sombre .cta-titre, .section-rouge .cta-titre, .section-image .cta-titre,
.section-sombre .article-produit-titre, .section-image .article-produit-titre { color: var(--dd-noir); }
.section-sombre .carte-article:hover h3, .section-sombre a.cta:hover .cta-titre { color: var(--dd-rouge); }
.section-sombre .colonne-libre .bloc-bouton { text-align: left !important; }

/* mention d'affiliation (obligatoire pour le programme Amazon) */
.pied-affiliation { font-size: .8rem; color: #8a7b6d; margin: 2rem 0 0; max-width: 820px; line-height: 1.5; }
/* sans le bandeau newsletter, le pied de page n'a plus a le chevaucher */
.pied > .container > .row:first-child { padding-top: 3rem; }
