/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: sans-serif;
    font-size: 16px;
    line-height: 1.5;
    background-color: #fff;
    color: #333;
    
  }
  
  /* CONTAINER GÉNÉRAL */
  .container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 1rem;
  }
  


/* premiere ligne 
*/
.top-bar-e {
    background-color: #eaeaea;
    padding: 1rem 0;
  }
  .top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;

  }
  .top-bar a {
    color: #0288d1;
    text-decoration: none;
  }
  .site-name {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: thin;
    color: #0288d1;
  }
 



  /* SEARCH BAR */
  .search-bar {
    display: flex;
    /*margin: 1rem 0;*/
    /*gap: 0.5rem;*/
  }
  
  .search-bar input {
    flex: 1;
    padding: 0.3rem 0.6rem;
    font-size: 0.9rem;
    border: 1px solid #ccc;
    border-radius: 5px 0 0 5px;
  }
  
  .search-bar button {
    background: #fff;
    color: #333;
    border: 1px solid #ccc;
    padding: 0.3rem;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
  }
  
  .full-width {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 1rem;
  }
.bleu {
  background: #4e57ba;
}
  /* nav barre grise */
  .main-nav-e {
    padding: 0.5rem 0;
    font-size: 0.9rem;
    background: #f7f7f7;
  }
  .main-nav {
      font-size: 0.9rem;
    background: #f7f7f7;
    display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative; /* nécessaire pour le menu absolu en mobile */
  }
  
  .main-nav a {
    color: #666;
    text-decoration: none;
    margin-right: 1rem;
  }
  
/* À partir du 6ᵉ lien (Contact), pousse tout ce qui suit à droite */

  .right
  {
    display: flex;
    /*justify-content: space-around;*/
    justify-content: flex-end;
    margin-left: auto;
    padding-left: 2rem; 
    min-width:40%;
  }


  .navbar-mobile-hamburger {
    font-size: 1.8rem;
    cursor: pointer;
    color: #0288d1;
  }
  .navbar-mobile-menu {
  list-style: none;    /* plus de puces */
  margin: 0;
  padding: 0;
  position: absolute;  /* hors du flux, ne repousse plus rien */
  top: 100%;           /* juste en dessous de .main-nav */
  left: 0;
  width: 100%;         /* 100% du conteneur, pas 100vw */
  display: none;
  flex-direction: column;
  background-color: #0277bd;
  z-index: 1000;
  overflow: hidden;    /* au cas où */
}
.navbar-mobile-menu.open {
  display: flex;
}

  .navbar-mobile-menu li a {
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    display: block;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  


/* footer*/

footer {
    margin: 4rem 0 1rem 0;
    padding: 2rem 0;
    font-size: 1rem;
    background: #f7f7f7;
    color: #333;
  }
 
footer nav  {

    padding: 1rem;

  }
   footer nav p {
   color: #0277bd;
    padding: 1rem 1rem 1rem 0;
    font-weight: bold;
    text-align: left;

  }
  .footer-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: left;
    padding: 0;
    list-style: none;
    margin-bottom: 1rem;
  }
  
  .footer-nav li button {
    border: 1px solid #0dcaf0;
    background: transparent;
    color: #0277bd;
    padding: 0.4rem 1rem;
    border-radius: 5px;
    cursor: pointer;
  background-color: #fff;
  }
  
  .footer-nav li button:hover {
    background-color: #0dcaf0;
    color: #222;
  }
  
.copyright {
  text-align: center;
  color: #999;
  font-size: 0.9rem;
  margin: 2rem;
}
  

  .mobile-screen {
    display: block;
  }
  .desktop-screen {
    display: none;
  }
  .desktop-screen-block {
    display: none;
  }
  .desktop-screen-big {
    display: none;
  }








  /* CONTENU PRINCIPAL */
  main {
    flex: 1;
    padding: 2rem 0;
    min-height: 60vh;
  }

  h1 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #222;
  margin-bottom: 1rem;
  border-bottom: 3px solid #0066cc;
  padding-bottom: 0.5rem;
}

/* PARAGRAPHES */
p {
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

/* LISTES NON ORDONNÉES */
ul {
  list-style: disc inside;
  padding-left: 1rem;
  margin-bottom: 1rem;
}

li {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

/* TABLEAUX */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
  background-color: #fff;
  border: 1px solid #ddd;
}

th, td {
  padding: 0.75rem;
  text-align: left;
  border: 1px solid #ddd;
}

th {
  background-color: #f0f0f0;
  font-weight: bold;
}

tr:nth-child(even) {
  background-color: #f9f9f9;
}

/* LIENS */
a {
  color: #0066cc;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* button */
.b-cookie {
  display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    background-color: transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    font-family: inherit;
    box-sizing: border-box; 
} 
.b-cookie-blue
{
    color: #007bff;
    border: 2px solid #007bff;
}
.b-cookie-blue:hover
{
  background-color: #007bff;
  color: #FFF;
}
.b-cookie-green
{
      color: #28a745;
    border: 2px solid #28a745;
}
.b-cookie-green:hover
{
  background-color: #28a745;
  color: #FFF;
}
.b-cookie-red
{
      color: #dc3545;
    border: 2px solid #dc3545;
}
.b-cookie-red:hover
{
  background-color: #dc3545;
  color: #FFF;
}





/* fonts couleurs */

.f-blue
{
    color: #007bff;
}
.f-green
{
  color: #28a745;
}
.f-red
{
 color: #dc3545;
}



  .cart {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    background: #fff;
    color: #333;
    padding: 0.4rem 0.7rem;
    border-radius: 9999px;
  }

  .cart-icon {
    margin-right: 0.3rem;
  }
  .cart-count {
    font-weight: bold;
    color: green;
  }
  
  .cart-color-0
  {
    border: 2px solid grey; /* Bordure rouge de 2px */
  }
  .cart-color-1
  {
        border: 2px solid green; /* Bordure rouge de 2px */
  }



  /* RESPONSIVE TABLETTE & DESKTOP */
  @media (max-width: 768px) {
    .top-bar {
      flex-direction: column;
      align-items: flex-start; 
    }
  /* Centre seulement le bloc site-name */
  .site-name {
    width: max-content;  /* pour que margin auto fonctionne bien */
    margin: 0 auto;
  }

  .search-bar {
    width: 100%;
    margin-top: 0.5rem;
  }
   .main-nav {
    /* déjà en flex row, on n’empile plus */
  }
  .right {
    margin: 0;         
    margin-left: auto; /* pousse bien à droite */
    padding: 0.5rem 0;
    display: flex;
  }

  }

  @media (min-width: 769px) {

    .top-bar {
        flex-direction: row;
        align-items: center;
      }
    
      /* Le site-name en colonne : logo au-dessus du texte */
      .site-name {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.25rem;
        font-size: 1.25rem;
      }
      .site-name img {
        /* on peut ajuster la taille ou marges si besoin */ 
        margin-bottom: 0;
      }
    
      /* La barre de recherche occupe tout l’espace restant */
      .search-bar {
        display: flex;
        flex: 1;
        margin-left: 1rem;
        max-width: 1000px;
        margin-left: auto;
        margin-right: auto;
      }
      .search-bar input {
        flex: 1;
      }

 

    
    .mobile-screen {
        display: none;
      }
.desktop-screen {
    display: flex;
    width: 100%;
    align-items: center; /* centre verticalement les enfants */
    height: auto;        /* s’adapte au contenu (par défaut) */
    padding: 0.5rem;          /* au cas où il y aurait du padding */
}
.desktop-screen-block {
    display: block;
 }

  }
  
  @media (min-width: 1024px) {
    .container {
      padding: 0 2rem;
    }
  

  
    .footer-nav {
      justify-content: center;
      gap: 2rem;
    }

    .desktop-screen-big {
        display: inline;
    }

  }



/* =========================================================
   DOUCHETHERAPY – CONTENU V1 (namespace dtc-*)
   — styles d’affichage “aéré” pour le corps des pages —
   ========================================================= */

/* Palette locale */
:root{
  --dtc-primary:#0277bd;
  --dtc-primary-2:#009ee0;
  --dtc-text:#222;
  --dtc-muted:#666;
  --dtc-border:#e6e6e6;
  --dtc-bg:#fff;
  --dtc-bg-soft:#f7f7f7;
  --dtc-radius:12px;
  --dtc-shadow-1:0 2px 12px rgba(0,0,0,.06);
  --dtc-shadow-2:0 10px 36px rgba(0,0,0,.12);
}

/* Contexte de page contenu */
.dtc-page{
  color:var(--dtc-text);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  padding-top:1rem;
}
.dtc-flow > * + *{ margin-top: clamp(.6rem, .4rem + 1vw, 1.2rem); }

/* Titres “aérés” */
.dtc-title-xl{
  font-weight:800;
  letter-spacing:-.015em;
  line-height:1.12;
  font-size: clamp(1.9rem, 1.1rem + 2.2vw, 2.8rem);
  margin:.2rem 0 .6rem 0;
  border:0; padding:0; /* neutralise la bordure h1 globale si besoin */
}
.dtc-title-lg{
  font-weight:800;
  line-height:1.2;
  font-size: clamp(1.35rem, 1rem + .9vw, 1.8rem);
  margin:1.25rem 0 .7rem 0;
}
.dtc-title-md{
  font-weight:700;
  font-size: clamp(1.05rem, .95rem + .4vw, 1.25rem);
  margin:.9rem 0 .45rem;
}
.dtc-accent{ color:var(--dtc-primary-2); }

/* Sur-titre */
.dtc-kicker{
  text-transform:uppercase; letter-spacing:.08em; font-size:.78rem;
  color:var(--dtc-primary); font-weight:700; margin-bottom:.25rem;
}

/* Paragraphe d’intro */
.dtc-lead{ color:#505050; max-width:74ch; }

/* Titre de section avec barre verticale bleue */
.dtc-section-title{
  position:relative; padding-left:.8rem; margin:1.2rem 0 .6rem 0;
}
.dtc-section-title::before{
  content:""; position:absolute; left:0; top:.2rem; bottom:.2rem;
  width:4px; border-radius:3px;
  background:linear-gradient(180deg, var(--dtc-primary-2), var(--dtc-primary));
}

/* HERO (texte + image) */
.dtc-hero{
  background:var(--dtc-bg-soft);
  border-top:1px solid var(--dtc-border);
  border-bottom:1px solid var(--dtc-border);
  padding: clamp(1rem, .7rem + 2vw, 2rem) 0;
}
.dtc-hero-grid{
  display:grid; gap: clamp(1rem, .6rem + 1.5vw, 2rem);
  grid-template-columns: 1fr;
  align-items:center;
}
@media (min-width:980px){
  .dtc-hero-grid{ grid-template-columns: minmax(420px, 1.1fr) 420px; }
}
.dtc-hero-figure{ margin:0; justify-self:center; }
.dtc-hero-img{
  max-width:360px; width:100%; height:auto;
  border:1px solid var(--dtc-border);
  border-radius:var(--dtc-radius);
  box-shadow:var(--dtc-shadow-1);
}

/* Bloc doux (bord coloré) pour mises en avant */
.dtc-block{
  background:#fff; border:1px solid var(--dtc-border);
  border-left:4px solid var(--dtc-primary-2);
  border-radius:10px;
  padding: clamp(.9rem, .7rem + .6vw, 1.25rem);
  box-shadow:var(--dtc-shadow-1);
}

/* Grille image gauche / texte droite (responsive) */
.dtc-split{
  display:grid; gap: clamp(1rem, .6rem + 1.4vw, 2rem);
  grid-template-columns:1fr;
  align-items:start;
}
@media (min-width:992px){
  .dtc-split{ grid-template-columns: minmax(280px, .9fr) 1.2fr; }
}
.dtc-figure{
  text-align:center; color:#777; font-style:italic; font-size:.95rem;
}
.dtc-figure img{
  max-width:100%; height:auto; border-radius:10px;
  border:1px solid var(--dtc-border);
  box-shadow:var(--dtc-shadow-1);
}

/* Sommaire interne en pastilles */
.dtc-toc{
  list-style:none; padding:0; margin:.6rem 0 1.2rem;
  display:flex; flex-wrap:wrap; gap:.55rem .8rem;
}
.dtc-toc a{
  display:inline-block; padding:.35rem .6rem;
  border:1px solid #cfe9f7; border-radius:9999px;
  background:#f8fdff; color:var(--dtc-primary); text-decoration:none;
}
.dtc-toc a:hover{ background:#e9f6ff; border-color:#b7def4; }

/* Tableaux “catalogue/prix” dédiés contenu (pour ne pas toucher aux tables globales) */
table.dtc-table{
  width:100%; border-collapse:collapse;
  background:#fff; border:1px solid var(--dtc-border);
  margin:.4rem 0 1.2rem;
  box-shadow:var(--dtc-shadow-1);
}
.dtc-table th, .dtc-table td{
  border:1px solid var(--dtc-border);
  padding:.65rem .7rem; vertical-align:middle;
}
.dtc-table thead th{
  background:#f4f6f8; color:#444; font-weight:700;
}
.dtc-table tbody tr:hover{ background:#fbfdff; }
.dtc-num{ text-align:right; white-space:nowrap; }
.dtc-badge{
  display:inline-block; padding:.15rem .45rem;
  border:1px solid #cdebd6; background:#e9f9ef; color:#1f7a36;
  border-radius:6px; font-weight:700; font-size:.95rem;
}

/* Liste “catalogue” (puces carrées bleues) */
.dtc-list{ list-style:none; padding-left:0; }
.dtc-list li{ position:relative; padding-left:1.1rem; margin:.35rem 0; }
.dtc-list li::before{
  content:"■"; color:var(--dtc-primary);
  position:absolute; left:0; top:.05rem; font-size:.8rem;
}

/* Cartes contenu (accueil catégories) – compatibles avec ton thème */
.dtc-card{
  background:#fff; border:1px solid var(--dtc-border);
  border-radius:var(--dtc-radius); box-shadow:var(--dtc-shadow-1);
  padding:1rem; text-decoration:none; color:inherit; display:block;
}
.dtc-card:hover{ box-shadow:var(--dtc-shadow-2); text-decoration:none; }
.dtc-card-title{ font-weight:800; margin-bottom:.35rem; }
.dtc-card-meta{ color:var(--dtc-muted); font-size:.95rem; }

/* Fil d’Ariane minimal (optionnel) */
.dtc-breadcrumbs{ color:#888; font-size:.95rem; margin:.5rem 0 1rem; }
.dtc-breadcrumbs a{ color:#666; text-decoration:none; }
.dtc-breadcrumbs a:hover{ color:var(--dtc-primary); text-decoration:underline; }

/* Utilitaires */
.dtc-center{ text-align:center; }
.dtc-muted{ color:var(--dtc-muted); }
.dtc-sp-1{ margin-top:.75rem; } .dtc-sp-2{ margin-top:1.25rem; } .dtc-sp-3{ margin-top:2rem; }
.dtc-wrap{ max-width:1600px; margin:0 auto; }

/* Ancrages propres (header fixe) */
.dtc-anchored [id]{ scroll-margin-top:84px; }

/* Motion safe */
@media (prefers-reduced-motion:reduce){
  *{ animation:none !important; transition:none !important; scroll-behavior:auto !important; }
}





/* ===== Patch anti-collisions contenu (scope dtc-) ===== */

/* Neutralise la bordure/underline globale du h1 quand on utilise nos titres */
.dtc-page h1.dtc-title-xl,
.dtc-page .dtc-title-xl{
  border: 0 !important;
  padding-bottom: 0 !important;
  margin-bottom: .6rem !important;
}

/* S’assure que nos sous-titres restent “aérés” et non re-stylés */
.dtc-page .dtc-title-lg,
.dtc-page .dtc-title-md{
  border: 0 !important;
  padding: 0 !important;
}

/* Nos tableaux de contenu ne prennent pas le style global table/th/td */
table.dtc-table,
table.dtc-table th,
table.dtc-table td{
  all: revert;              /* remet à l’état UA par défaut */
}
table.dtc-table{
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--dtc-border);
  margin: .4rem 0 1.2rem;
  box-shadow: var(--dtc-shadow-1);
}
table.dtc-table thead th{
  background:#f4f6f8;
  color:#444;
  font-weight:700;
}
table.dtc-table th,
table.dtc-table td{
  border:1px solid var(--dtc-border);
  padding:.65rem .7rem;
  vertical-align:middle;
}
table.dtc-table tbody tr:hover{ background:#fbfdff; }
table.dtc-table .dtc-num{ text-align:right; white-space:nowrap; }

/* Figure + image (évite tout style global d’img) */
.dtc-figure img{
  display:block;
  max-width:100%;
  height:auto;
}

/* Sommaire pastilles : protège la couleur/l’apparence des liens */
.dtc-toc a{
  text-decoration:none !important;
}
.dtc-toc a:hover{
  text-decoration:none !important;
}

/* Ancrages propres quand le header est fixe */
.dtc-anchored [id]{ scroll-margin-top: 84px; }
 


/* --- Patch espacement barre bleue (section titles) --- */
.dtc-section-title{
  padding-left: 1.25rem;   /* + air à gauche */
}
@media (min-width: 980px){
  .dtc-section-title{ padding-left: 1.35rem; }
}
.dtc-section-title::before{
  left: 0;
  width: 4px;              /* garde une barre fine et élégante */
  border-radius: 3px;
  top: .18rem;
  bottom: .18rem;
}


/* === Fix espacement barre bleue titres de section === */
/* Spécificité plus haute + !important pour écraser toute règle précédente */
h2.dtc-section-title,
.dtc-page h2.dtc-section-title {
  position: relative;
  padding-left: 1.6rem !important;   /* espace clair avant le texte */
  margin-top: 1.1rem;                 /* optionnel : un peu d’air au-dessus */
}

/* Barre centrée verticalement sur la 1ère ligne du titre */
h2.dtc-section-title::before,
.dtc-page h2.dtc-section-title::before {
  content: "";
  position: absolute;
  left: 0;
  width: 6px;                         /* un poil plus large = meilleure lisibilité */
  height: 1.2em;                      /* suit la taille de la ligne */
  top: 0.2em;                         /* centre visuellement */
  border-radius: 3px;
  background: linear-gradient(180deg, var(--dtc-primary-2), var(--dtc-primary));
}


/* Fix espacement barre bleue pour h3 */
h3.dtc-section-title,
.dtc-page h3.dtc-section-title{
  position: relative;
  padding-left: 1.6rem !important;
  margin-top: 1.0rem;
}
h3.dtc-section-title::before,
.dtc-page h3.dtc-section-title::before{
  content:"";
  position:absolute;
  left:0;
  width:6px;
  height:1.2em;
  top:.2em;
  border-radius:3px;
  background:linear-gradient(180deg, var(--dtc-primary-2), var(--dtc-primary));
}

/* === Alignement serré image/texte pour certaines sections === */
@media (min-width: 992px){
  .dtc-split--tight{
    /* colonne image un peu plus étroite + écart réduit */
    grid-template-columns: minmax(260px, .8fr) 1.2fr;
    gap: 1rem;
    align-items: center;
  }
  .dtc-split--tight .dtc-figure{
    justify-self: end;   /* colle l’image au texte */
    text-align: right;   /* légende alignée à droite aussi */
  }
  .dtc-split--tight .dtc-figure img{
    margin-right: 0;     /* au cas où un margin par défaut existerait */
  }
}
