/* =====================================================================
   BIEN-ETRE.CSS : styles de la partie Bien-être (bienEtre.html, soinAromatouch.html,
   symphonieDesCellules.html, DetoxEtRegeneration.html)
   Couleurs bien-être : turquoise #0bb5c9 → vert tendre #8bc34a (comme le rond "Bien-être" de l'accueil)
   (les styles communs à tout le site sont dans style.css)
   ===================================================================== */

.be-page {
  font-family: "Roboto", sans-serif;
  color: #222;

  /* ★ EFFET "VERRE DÉPOLI" DES BLOCS BIEN-ÊTRE (cadres blancs et chiffres clés) ★
     Se règle aussi avec l'éditeur (bouton "Réglages de la page" > Transparence des blocs).
     --be-verre : le blanc des blocs. Le dernier nombre = opacité (1 = blanc plein, 0 = invisible).
     --be-flou  : le flou de ce qu'on voit à travers (0px = pas de flou). */
  --be-verre: rgba(255, 255, 255, 0.4);
  --be-flou: blur(0px);
}

/* ----- Haut de page : titre + photo ronde ----- */
.be-hero {
  text-align: center;
}

.be-hero h1 {
  font-size: clamp(3rem, 7vw, 4.3rem);
  line-height: 1.05;
  margin-bottom: 0.5rem;
}

.be-accroche {
  font-family: "Dancing Script", cursive;
  font-size: 1.9rem;
  font-weight: 700;
  color: #3b3450;
  margin-bottom: 1rem;
}

.be-intro {
  max-width: 520px;
  margin: 0 auto 1.5rem;
  font-size: 1.12rem;
  line-height: 1.6;
  font-weight: 500;
  color: #2b2638;
}

/* Photo ronde avec bordure dégradée turquoise → vert */
.be-photo-ronde {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  padding: 8px;
  background: linear-gradient(135deg, #00e1ff, #d9ff00);
}

/* ----- Boutons ----- */
.be-bouton {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 28px;
  border: 2px solid #000;
  font-family: Georgia, serif;
  font-size: 1.2rem;
  color: #fff;
  background: linear-gradient(90deg, #0bb5c9, #8bc34a);
  box-shadow: 6px 5px 1px 0 rgba(11, 90, 100, 0.6);
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.be-bouton:hover,
.be-bouton:focus-visible {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 0 18px #0bb5c9;
}

/* Bouton secondaire (téléphone) : blanc bordé */
.be-bouton-clair {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 28px;
  border: 2px solid #1e1b2e;
  color: #1e1b2e;
  background: rgba(255, 255, 255, 0.85);
  font-weight: 700;
  text-decoration: none;
}

.be-bouton-clair:hover {
  color: #0b6f78;
  border-color: #0b6f78;
}

/* Petite ligne sous les boutons de rendez-vous ("Paiement sur place ou en ligne…") */
.be-paiement {
  margin: 12px 0 0;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500;
  color: #1e1b2e;
}

.be-paiement i {
  margin-right: 4px;
  color: #0b6f78;
}

/* ----- Cadre blanc ----- */
.be-cadre {
  background: var(--be-verre);
  -webkit-backdrop-filter: var(--be-flou);   /* pour Safari (iPhone, Mac) */
  backdrop-filter: var(--be-flou);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  padding: 32px 36px;
}

@media (max-width: 576px) {
  .be-cadre {
    padding: 22px 20px;
  }
}

.be-cadre h2,
.be-titre-section {
  font-size: 2.4rem;
  color: #1e1b2e;
}

.be-cadre p {
  font-size: 1.05rem;
  line-height: 1.65;
}

.be-petite-photo {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 16px;
}

/* ----- Les 4 temps du soin ----- */
.be-temps {
  height: 100%;
  background: #fff;
  border: 1px solid #000;
  border-radius: 16px;
  box-shadow: 6px 5px 1px 0 rgba(11, 90, 100, 0.55);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Rond numéroté */
.be-numero {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #064169;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.1rem;
}

.be-temps h3 {
  font-family: "Roboto", sans-serif;
  font-size: 1.3rem;
  font-weight: 900;
  color: #1e1b2e;
  margin: 0;
}

.be-temps p {
  margin: 0;
  line-height: 1.5;
}

/* Noms des huiles (turquoise foncé) */
.be-huiles {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0b6f78;
}

/* ----- Déroulement de la séance ----- */
.be-etapes {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.be-etapes li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.be-etapes .be-numero {
  flex: none;
  width: 34px;
  height: 34px;
  background: #0bb5c9;
}

.be-etapes p {
  margin: 0;
  line-height: 1.55;
}

/* ----- Encadré noir "Infos pratiques" ----- */
.be-infos {
  height: 100%;
  background: #000;
  color: #fff;
  border-radius: 16px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.be-infos h2 {
  font-family: "Roboto", sans-serif;
  font-size: 1.25rem;
  font-weight: 900;
  margin: 0;
}

.be-infos dl {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.be-infos dt {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
  color: #8fe3ec;
}

.be-infos dd {
  margin: 4px 0 0;
  font-size: 1.15rem;
  font-weight: 700;
}

/* Liste des tarifs (1 séance / 2 séances / 3 séances), une formule par ligne */
.be-tarifs {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-weight: 500 !important;
}

.be-tarifs span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px dashed rgba(143, 227, 236, 0.35);
  padding-bottom: 4px;
}

.be-tarifs strong {
  color: #8fe3ec;
  font-weight: 900;
}

.be-infos .be-bouton-infos {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 28px;
  border: 2px solid #fff;
  font-family: Georgia, serif;
  font-size: 1.1rem;
  color: #000;
  background: #8fe3ec;
  text-decoration: none;
  margin-top: auto;
}

.be-infos .be-bouton-infos:hover {
  background: #fff;
}

/* ----- Encadré jaune "Précautions" ----- */
.be-precautions {
  background: #fff8e6;
  border: 2px solid #e0a100;
  border-radius: 16px;
  padding: 24px 28px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  color: #4a3500;
}

.be-precautions i {
  font-size: 1.7rem;
  color: #9a6b00;
  line-height: 1;
}

.be-precautions h2 {
  font-family: "Roboto", sans-serif;
  font-size: 1.2rem;
  font-weight: 900;
  margin: 0 0 8px;
}

.be-precautions p {
  margin: 0 0 8px;
  line-height: 1.6;
}

.be-precautions p:last-child {
  margin-bottom: 0;
}

/* ----- Accueil bien-être : cartes des soins (photo + étiquette + texte + bouton) ----- */
.be-soin {
  height: 100%;
  background: #fff;
  border: 1px solid #000;
  border-radius: 16px;
  box-shadow: 6px 5px 1px 0 rgba(11, 90, 100, 0.55);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.be-soin:hover {
  transform: translateY(-6px);
}

.be-soin img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.be-soin-corps {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.be-soin h3 {
  font-family: "Roboto", sans-serif;
  font-size: 1.45rem;
  font-weight: 900;
  color: #1e1b2e;
  margin: 0;
}

.be-soin p {
  margin: 0;
  line-height: 1.55;
  flex: 1;
}

/* Étiquette bleu foncé ("À Vivonne · dès 55 €") */
.be-etiquette {
  align-self: flex-start;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  background: #064169;
  border-radius: 999px;
  padding: 4px 12px;
}

/* Bouton "Découvrir" des cartes */
.be-soin-bouton {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 28px;
  border: 2px solid #000;
  font-family: Georgia, serif;
  font-size: 1.05rem;
  color: #fff;
  background: linear-gradient(90deg, #0bb5c9, #8bc34a);
  text-decoration: none;
}

.be-soin-bouton:hover {
  color: #fff;
  box-shadow: 0 0 14px #0bb5c9;
}

/* Photo de Marie ("Qui suis-je ?") */
.be-portrait {
  width: 260px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 16px;
  border: 2px solid #000;
  box-shadow: 6px 5px 1px 0 rgba(11, 90, 100, 0.55);
}

/* Bandeau "VOUS HABITEZ DANS LA VIENNE ?" (traits turquoise et vert) */
.be-bandeau {
  display: inline-block;
  padding: 10px 0;
  border-top: 2px solid #0bb5c9;
  border-bottom: 2px solid #8bc34a;
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #1e1b2e;
}

/* Petite mention "soins de bien-être, pas un avis médical" */
.be-mention {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #4a4458;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  padding: 12px 18px;
}

/* ----- Symphonie des cellules : comparatif AromaTouch / Symphonie ----- */
.be-compare {
  height: 100%;
  background: #fff;
  border: 1px solid #000;
  border-radius: 16px;
  box-shadow: 6px 5px 1px 0 rgba(11, 90, 100, 0.55);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* La carte de la page actuelle a une bordure turquoise */
.be-compare-actuel {
  border: 2px solid #0bb5c9;
}

.be-compare h3 {
  font-family: "Roboto", sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  color: #1e1b2e;
  margin: 0;
}

.be-compare ul {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  line-height: 1.5;
}

.be-lien {
  align-self: flex-start;
  font-weight: 700;
  color: #0b6f78;
}

.be-lien:hover {
  color: #064169;
}

/* Phrase manuscrite au-dessus du dernier bouton */
.be-final {
  font-family: "Dancing Script", cursive;
  font-size: 2.1rem;
  font-weight: 700;
  color: #1e1b2e;
}

/* =====================================================================
   DÉTOX ET RÉGÉNÉRATION (DetoxEtRegeneration.html)
   ===================================================================== */

/* ----- Les 4 chiffres clés (5 semaines, 100 % en ligne...) ----- */
.be-chiffre {
  height: 100%;
  background: var(--be-verre);
  -webkit-backdrop-filter: var(--be-flou);
  backdrop-filter: var(--be-flou);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 700;
}

.be-chiffre strong {
  font-size: 2.5rem;
  font-weight: 900;
  color: #0b6f78;
  line-height: 1;
}

/* Icône en haut des cartes "Ce qui est inclus" */
.be-temps .bi {
  font-size: 2.2rem;
  color: #0b6f78;
  line-height: 1;
}

/* Petite ligne grise sous le prix dans "Infos pratiques" */
.be-infos .be-detail {
  display: block;
  margin-top: 4px;
  font-size: 0.9rem;
  font-weight: 400;
  color: #d5f3f6;
}

/* ----- Formulaires d'inscription et de liste d'attente ----- */
.be-label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.be-champ {
  width: 100%;
  font: inherit;
  font-size: 16px; /* 16px minimum : évite le zoom automatique sur iPhone */
  padding: 11px 14px;
  border: 2px solid #cfe3e6;
  border-radius: 10px;
  background: #fff;
  color: #222;
}

.be-champ:focus {
  outline: none;
  border-color: #0bb5c9;
  box-shadow: 0 0 0 3px rgba(11, 181, 201, 0.2);
}

/* Champ oublié ou mal rempli : bordure rouge (ajoutée par JS/detox.js) */
.be-champ.is-invalid {
  border-color: #c0262d;
}

.be-case {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.5;
}

.be-case input {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: #0bb5c9;
}

.be-case input.is-invalid + span {
  color: #c0262d;
}

.be-petit-texte {
  margin: 0;
  max-width: 460px;
  font-size: 0.82rem !important;
  color: #5a5468;
}

/* Bouton bleu foncé "Me prévenir" */
.be-bouton-bleu {
  min-height: 48px;
  padding: 0 24px;
  border-radius: 28px;
  border: 2px solid #000;
  font-family: Georgia, serif;
  font-size: 1.1rem;
  color: #fff;
  background: #064169;
}

.be-bouton-bleu:hover {
  background: #0b6f78;
}

/* Pastille grise "COMPLET" */
.be-pastille-complet {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #fff;
  background: #6c757d;
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 8px;
}

/* Champ anti-spam invisible (les robots le remplissent, pas les humains) */
.be-piege {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Messages après l'envoi (merci / il manque une info / problème) */
.be-alerte {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 22px;
  border-radius: 14px;
}

.be-alerte[hidden] {
  display: none;
}

.be-alerte p {
  margin: 0;
}

.be-alerte i {
  font-size: 1.6rem;
  line-height: 1;
}

.be-alerte-ok {
  background: #ecfbf2;
  border: 2px solid #09ca43;
  color: #0d3d1d;
}

.be-alerte-erreur {
  background: #fdecec;
  border: 2px solid #c0262d;
  color: #5c1114;
}

/* ----- INTERRUPTEUR "INSCRIPTIONS OUVERTES / COMPLET" -----
   Le réglage est tout en haut de DetoxEtRegeneration.html :
   <body ... data-inscriptions="ouvertes">  ou  data-inscriptions="complet">
   - les éléments "si-ouvert" ne s'affichent que quand c'est ouvert ;
   - les éléments "si-complet" ne s'affichent que quand c'est complet ;
   - les boutons "be-inscrire" deviennent gris et ne marchent plus quand c'est complet. */
.si-complet {
  display: none !important;
}

[data-inscriptions="complet"] .si-ouvert {
  display: none !important;
}

[data-inscriptions="complet"] .si-complet {
  display: revert !important;
}

[data-inscriptions="complet"] .be-inscrire {
  color: #5f6368;
  background: #e8eaed;
  border-color: #9aa0a6;
  box-shadow: none;
  transform: none;
  cursor: not-allowed;
}

/* Bouton de l'encadré noir, version "Complet" */
[data-inscriptions="complet"] .be-infos .be-inscrire {
  color: #c4c7cc;
  background: #3c4043;
}

/* Formulaire caché après l'envoi (doit rester caché même en mode "complet") */
.be-formulaire[hidden] {
  display: none !important;
}

/* Bandeau bleu en haut de page quand c'est complet */
.be-bandeau-complet {
  background: #064169;
  color: #fff;
  text-align: center;
  padding: 14px 24px;
  font-weight: 700;
  font-size: 1.05rem;
}
