.wp-block-button__link,
.edd-submit,
button,
input[type="submit"] {
  border-radius: 8px !important;  /* arrondi doux */
  padding: 14px 22px !important; /* plus confortable */
  font-weight: 600;
  transition: all 0.2s ease-in-out;
}

.wp-block-button__link:hover,
.edd-submit:hover,
button:hover,
input[type="submit"]:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}









/* ====== Blocs colorés premium (fond clair + texte sombre) ====== */
.note,
.exclamation-note {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  margin: 22px 0;
  border-radius: 14px;
  font-size: 16px;
  line-height: 1.6;
  box-shadow: 0 4px 12px rgba(0,0,0,.06);
  transition: transform .15s ease, box-shadow .15s ease;
}

/* Effet hover premium */
.note:hover,
.exclamation-note:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,0,0,.12);
}

/* Bloc question (?) en violet */
.note {
  background: #EDE9FE; /* violet clair pastel */
  color: #5B21B6;      /* violet profond */
}

/* Bloc exclamation (!) en rouge */
.exclamation-note {
  background: #FEE2E2; /* rouge clair pastel */
  color: #B91C1C;      /* rouge profond */
}

/* Icône circulaire */
.question-mark,
.exclamation-mark {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 18px;
  box-shadow: inset 0 1px 3px rgba(0,0,0,.1);
}

/* Couleur spécifique des symboles */
.question-mark {
  color: #7C3AED; /* violet vif */
}

.exclamation-mark {
  color: #DC2626; /* rouge soutenu */
}

/* Texte interne */
.content,
.exclamation-content {
  flex: 1;
}

.content h4,
.exclamation-content h4 {
  margin: 0 0 6px 0;
  font-size: 18px;
  font-weight: 700;
}







/* ===== Bloc Conseil (💡) ===== */
.advice-note {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  margin: 22px 0;
  border-radius: 14px;
  font-size: 16px;
  line-height: 1.6;
  background: #ECFEFF;   /* turquoise clair en fond */
  color: #0E7490;        /* turquoise foncé pour le texte */
  box-shadow: 0 4px 10px rgba(0,0,0,.06);
  transition: transform .15s ease, box-shadow .15s ease;
}

.advice-note:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,0,0,.12);
}

/* Icône circulaire 💡 */
.advice-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  color: #08C5D1;
  box-shadow: inset 0 1px 3px rgba(0,0,0,.1);
}

/* Contenu interne */
.advice-content {
  flex: 1;
}

.advice-content h4 {
  margin: 0 0 6px 0;
  font-size: 18px;
  font-weight: 700;
}





























/* H2 & H3 : bloc sur leur propre ligne + largeur calée sur le texte */
h2.wp-block-heading,
h3.wp-block-heading{
  position: relative;
  display: block;          /* reste sur sa propre ligne */
  width: fit-content;      /* largeur = texte seulement */
  max-width: 100%;         /* évite tout débordement */
  margin: 1.2em 0 .7em; 
  line-height: 1.3;
  color: #111827;
}

/* H2 : surlignage bleu légèrement penché (limité au texte) */
h2.wp-block-heading::before{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.18em;          /* remonte un poil sous le texte */
  width: 100%;             /* pile la largeur du texte (grâce à fit-content) */
  height: .48em;
  background: #34D399;
  border-radius: 6px;
  opacity: .9;
  transform: rotate(-0.8deg); /* léger effet “à la main” */
  z-index: -1;             /* derrière le texte */
}

/* H3 : soulignage droit (limité au texte) */
h3.wp-block-heading::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;            /* espace sous le texte */
  width: 100%;             /* pile la largeur du texte */
  height: 4px;
  background: #059669;
  border-radius: 9999px;
  opacity: .9;
}

/* Sécurité : si un plugin injecte des spans (ez-toc), on évite les effets bizarres */
h2.wp-block-heading .ez-toc-section,
h2.wp-block-heading .ez-toc-section-end,
h3.wp-block-heading .ez-toc-section,
h3.wp-block-heading .ez-toc-section-end{
  display: inline;         /* neutre */
  padding: 0; margin: 0; border: 0; background: none;
}

/* Optionnel: petits titres responsives */
@media (max-width:640px){
  h2.wp-block-heading{ font-size: 1.6rem; }
  h3.wp-block-heading{ font-size: 1.25rem; }
}






















/* Bloc Lire la suite flashy */
.gom-readmore {
  background: linear-gradient(135deg, #ff512f, #dd2476, #ff5f6d, #ffc371);
  background-size: 300% 300%;
  animation: gradientMove 8s ease infinite;
  border-radius: 16px;
  padding: 28px 24px;
  margin: 36px 0;
  text-align: center;
  box-shadow: 0 12px 28px rgba(0,0,0,.25);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 500;
}

/* Animation du dégradé */
@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.gom-readmore p {
  margin: 0 0 16px;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,.3);
}

/* Bouton flashy */
.gom-readmore .gom-btn {
  display: inline-block;
  background: #fff;
  color: #dd2476;
  padding: 16px 26px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow: 0 8px 18px rgba(0,0,0,.25);
  transition: transform .2s ease, box-shadow .2s ease;
  animation: pulse 2s infinite;
}

.gom-readmore .gom-btn:hover {
  transform: scale(1.07);
  box-shadow: 0 12px 28px rgba(0,0,0,.35);
}

/* Animation du bouton */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}




















/* Bouton EDD Pack Premium */
.edd-add-to-cart.button,
.edd-submit.edds-buy-now {
    background-color: #3858e9 !important; /* Couleur principale */
    color: #ffffff !important; /* Texte blanc */
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    padding: 14px 28px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Effet au survol */
.edd-add-to-cart.button:hover,
.edd-submit.edds-buy-now:hover {
    background-color: #2746c7 !important; /* nuance plus foncée au hover */
    transform: scale(1.05);
}