/* ============================================================
   LUMIÈRE DE L'ÂME — Enhancements CSS
   Feuille additionnelle chargée après style.css
   Contenu :
     1. Système de thèmes dark/light (variables + overrides)
     2. Toggle thème (bouton soleil/lune)
     3. Switcher de langue (drapeau + dropdown)
     4. Modal checkout (popup au lieu de page)
     5. Modal de succès
     6. Popup exit-intent (conversion)
     7. Barre sticky mobile (conversion)
     8. Badge urgence + preuve sociale (conversion)
     9. Notifications social proof (toasts)
    10. Polishes UI/UX (ripple, hover avancés, scroll bar)
   ============================================================ */

/* ============================================================
   1. SYSTÈME DE THÈMES — Mode clair
   ============================================================ */

/* Le mode sombre est le défaut (variables dans :root de style.css).
   Le mode clair est activé via [data-theme="light"] sur <html>. */

html[data-theme="light"] {
  --bg-main: #F7F7FA;
  --bg-card: #FFFFFF;
  --bg-footer: #ECEEF6;

  --color-primary: #7A5A12;
  --color-secondary: #53308F;
  --color-accent: #956C1B;

  --text-main: #151522;
  --text-muted: #4E4A61;

  --glow-gold: 0 0 20px rgba(166, 132, 46, 0.25);
  --glow-violet: 0 0 20px rgba(106, 42, 158, 0.2);

  --border-gold: 1px solid var(--color-primary);

  /* Ombres plus douces en mode clair */
  --shadow-card: 0 4px 20px rgba(26, 26, 46, 0.08);
  --shadow-card-hover: 0 8px 30px rgba(166, 132, 46, 0.2);
}

/* Mode sombre : ombres par défaut (déjà dans style.css, on les redéfinit pour cohérence) */
html[data-theme="dark"],
html:not([data-theme="light"]) {
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.3);
  --shadow-card-hover: 0 8px 30px rgba(201, 168, 76, 0.3);
}

/* Body en mode clair */
html[data-theme="light"] body {
  background-image:
    radial-gradient(circle at 12% 8%, rgba(83, 48, 143, 0.08) 0%, transparent 36%),
    radial-gradient(circle at 82% 18%, rgba(122, 90, 18, 0.10) 0%, transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f7f7fa 42%, #eef1f8 100%);
}

/* Canvas étoilé très atténué en mode clair */
html[data-theme="light"] .canvas-etoiles {
  opacity: 0.08;
}

html[data-theme="light"] .canvas-etoiles-webgl {
  opacity: 0.06;
  mix-blend-mode: multiply;
}

/* Navbar en mode clair */
html[data-theme="light"] .navbar.scroll-actif {
  background: rgba(248, 245, 240, 0.9);
  border-bottom-color: rgba(166, 132, 46, 0.2);
}

/* Cartes en mode clair : ombres douces au lieu de glows */
html[data-theme="light"] .carte {
  box-shadow: var(--shadow-card);
}

html[data-theme="light"] .carte:hover {
  box-shadow: var(--shadow-card-hover);
}

/* Cadre photo en mode clair */
html[data-theme="light"] .cadre-photo {
  animation: pulse-dore-clair 4s ease-in-out infinite;
}

@keyframes pulse-dore-clair {
  0%, 100% {
    box-shadow: 0 0 25px rgba(166, 132, 46, 0.3), 0 0 40px rgba(106, 42, 158, 0.15);
  }
  50% {
    box-shadow: 0 0 35px rgba(166, 132, 46, 0.5), 0 0 60px rgba(106, 42, 158, 0.25);
  }
}

/* Footer en mode clair */
html[data-theme="light"] .footer {
  border-top-color: var(--color-primary);
}

/* Hero : image de fond différente selon le thème */
.hero {
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../assets/hero-dark.png");
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  z-index: 0;
  transition: opacity 0.6s ease;
}

html[data-theme="light"] .hero::after {
  background-image: url("../assets/hero-light.png");
  opacity: 0.4;
}

.hero-contenu {
  position: relative;
  z-index: 2;
}

.hero::before {
  z-index: 1;
}

/* Inputs en mode clair */
html[data-theme="light"] .champ-input,
html[data-theme="light"] .champ-textarea,
html[data-theme="light"] .champ-select {
  background: #FFFFFF;
  border-color: rgba(166, 132, 46, 0.3);
  color: var(--text-main);
}

html[data-theme="light"] .champ-input::placeholder,
html[data-theme="light"] .champ-textarea::placeholder {
  color: #999;
}

/* Boutons en mode clair */
html[data-theme="light"] .btn-principal {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: #FFFFFF;
}

html[data-theme="light"] .hero {
  background:
    linear-gradient(115deg, rgba(255,255,255,0.88) 0%, rgba(247,247,250,0.74) 42%, rgba(238,241,248,0.48) 100%),
    radial-gradient(circle at 78% 24%, rgba(83,48,143,0.12), transparent 38%);
}

html[data-theme="light"] .hero::before {
  background: linear-gradient(90deg, rgba(255,255,255,0.92), rgba(255,255,255,0.58), rgba(255,255,255,0.18));
}

html[data-theme="light"] .hero-titre,
html[data-theme="light"] .hero-soustitre {
  text-shadow: 0 10px 30px rgba(255,255,255,0.72);
}

html[data-theme="light"] .trust-strip,
html[data-theme="light"] .conversion-step,
html[data-theme="light"] .guide-card,
html[data-theme="light"] .faq-card,
html[data-theme="light"] .ethique-panel,
html[data-theme="light"] .service-universe-panel,
html[data-theme="light"] .service-ritual-card,
html[data-theme="light"] .service-proof-card {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(122, 90, 18, 0.20);
  box-shadow: 0 16px 45px rgba(55, 49, 88, 0.10);
}

/* Badges shimmer plus doux en mode clair */
html[data-theme="light"] .badge-populaire,
html[data-theme="light"] .badge-intense {
  animation-duration: 4s;
}

/* Barre mobile en mode clair */
html[data-theme="light"] .barre-reservation-mobile {
  background: rgba(237, 232, 224, 0.97);
}

/* Scrollbar personnalisée */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-main);
}

::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 5px;
  border: 2px solid var(--bg-main);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent);
}


/* ============================================================
   2. TOGGLE THÈME — Bouton soleil/lune
   ============================================================ */
.toggle-theme {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid rgba(201, 168, 76, 0.3);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition-base), box-shadow var(--transition-base),
    transform var(--transition-base);
  flex-shrink: 0;
}

.toggle-theme:hover {
  background: rgba(201, 168, 76, 0.15);
  box-shadow: var(--glow-gold);
  transform: rotate(15deg);
}

.toggle-theme svg {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-base);
}

/* Icône lune visible en mode sombre, soleil en mode clair */
.toggle-theme .icone-lune { display: block; }
.toggle-theme .icone-soleil { display: none; }

html[data-theme="light"] .toggle-theme .icone-lune { display: none; }
html[data-theme="light"] .toggle-theme .icone-soleil { display: block; }

/* Conteneur navbar-cta : alignement toggle + langue + CTA */
.navbar-outils {
  display: flex;
  align-items: center;
  gap: 12px;
}


/* ============================================================
   3. SWITCHER DE LANGUE
   ============================================================ */
.switcher-langue {
  position: relative;
  flex-shrink: 0;
}

.bouton-langue {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: var(--bg-card);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: var(--radius-btn);
  color: var(--text-main);
  font-family: var(--font-corps);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background var(--transition-base), box-shadow var(--transition-base);
  min-height: 40px;
}

.bouton-langue:hover {
  background: rgba(201, 168, 76, 0.15);
  box-shadow: var(--glow-gold);
}

.bouton-langue svg {
  width: 20px;
  height: 14px;
  border-radius: 2px;
}

.bouton-langue .chevron {
  width: 10px;
  height: 10px;
  margin-left: 2px;
  transition: transform var(--transition-base);
}

.switcher-langue.ouvert .chevron {
  transform: rotate(180deg);
}

.dropdown-langues {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  background: var(--bg-card);
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-btn);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), var(--glow-gold);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity var(--transition-base), transform var(--transition-base),
    visibility var(--transition-base);
  z-index: 1100;
}

.switcher-langue.ouvert .dropdown-langues {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-langues button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 16px;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-family: var(--font-corps);
  font-size: 0.9rem;
  cursor: pointer;
  transition: background var(--transition-base), color var(--transition-base);
  text-align: left;
}

.dropdown-langues button:hover,
.dropdown-langues button:focus-visible {
  background: rgba(201, 168, 76, 0.15);
  color: var(--color-primary);
}

.dropdown-langues button.actif {
  background: rgba(201, 168, 76, 0.1);
  color: var(--color-primary);
  font-weight: 700;
}

.dropdown-langues svg {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  flex-shrink: 0;
}


/* ============================================================
   4. MODAL CHECKOUT (popup)
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 18, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.ouvert {
  opacity: 1;
  visibility: visible;
}

html[data-theme="light"] .modal-overlay {
  background: rgba(26, 26, 46, 0.6);
}

.modal {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  border: 1px solid var(--color-primary);
  box-shadow: var(--glow-gold), 0 20px 60px rgba(0, 0, 0, 0.5);
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  position: relative;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.ouvert .modal {
  transform: translateY(0) scale(1);
}

.modal-fermer {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-main);
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition-base), transform var(--transition-base),
    box-shadow var(--transition-base);
  z-index: 10;
}

.modal-fermer:hover {
  background: rgba(201, 168, 76, 0.15);
  transform: rotate(90deg);
  box-shadow: var(--glow-gold);
}

.modal-en-tete {
  text-align: center;
  margin-bottom: 24px;
  padding-right: 40px;
}

.modal-en-tete h2 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

/* Le corps du modal réutilise les styles .champ, .recap-service,
   .options-grille, etc. déjà définis dans style.css */

.checkout-modal {
  display: flex;
  flex-direction: column;
  width: min(1120px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  overflow: hidden;
  padding: clamp(18px, 2.2vw, 28px);
}

.checkout-modal .modal-en-tete {
  flex: 0 0 auto;
  margin-bottom: 16px;
  padding-right: 56px;
}

.checkout-modal .modal-en-tete h2 {
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
}

.checkout-modal .modal-corps {
  min-height: 0;
  overflow: hidden;
}

.checkout-modal-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(380px, 1.18fr);
  gap: 20px;
  min-height: min(640px, calc(100dvh - 170px));
  max-height: calc(100dvh - 150px);
}

.checkout-modal-panel {
  min-width: 0;
  border: 1px solid rgba(201, 168, 76, 0.18);
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(201, 168, 76, 0.1), transparent 36%),
    rgba(13, 13, 26, 0.42);
}

.checkout-modal-summary {
  overflow-y: auto;
  padding: 16px;
}

.checkout-modal-summary .recap-service,
.checkout-modal-summary .champ,
.checkout-modal-summary .alerte {
  margin-bottom: 14px;
}

.checkout-modal-summary .options-grille {
  grid-template-columns: 1fr;
  gap: 10px;
}

.checkout-modal-summary .option-carte {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  text-align: left;
  gap: 4px 12px;
  padding: 14px;
}

.checkout-modal-summary .option-carte-duree {
  grid-column: 1 / -1;
}

.checkout-modal-payment {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 16px;
}

.checkout-modal-note {
  align-items: flex-start;
}

.checkout-modal-conditions {
  flex: 0 0 auto;
  margin-top: 12px;
  font-size: 0.85rem;
  line-height: 1.45;
}

.conteneur-chariow {
  position: relative;
  flex: 1 1 auto;
  min-height: 520px;
  overflow: hidden;
  border: 1px dashed rgba(201, 168, 76, 0.35);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.04);
  padding: 12px;
}

.conteneur-chariow #chariow-widget {
  width: 100%;
  min-height: 100%;
}

.conteneur-chariow iframe {
  display: block;
  width: 100% !important;
  min-height: min(620px, calc(100dvh - 220px)) !important;
  border: 0;
  border-radius: 12px;
}

html[data-theme="light"] .checkout-modal-panel {
  background:
    radial-gradient(circle at top right, rgba(166, 132, 46, 0.12), transparent 36%),
    rgba(255, 255, 255, 0.9);
}

html[data-theme="light"] .conteneur-chariow {
  background: rgba(255, 255, 255, 0.82);
}

.recap-service {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 16px;
  border: 1px solid var(--color-primary);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.recap-service-icone {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.3), transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.recap-service-info h3 {
  margin: 0;
  font-size: 1.1rem;
}

.recap-service-info p {
  margin: 4px 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Contenu d'erreur du modal (service invalide) */
.modal-erreur {
  text-align: center;
  padding: 20px 0;
}

.modal-erreur .alerte {
  text-align: left;
}

/* Compteur de places (urgence) */
.compteur-places {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  background: rgba(229, 115, 115, 0.1);
  border: 1px solid var(--status-error);
  border-radius: var(--radius-btn);
  color: var(--status-error);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 16px;
  animation: pulse-urgence 2s ease-in-out infinite;
}

@keyframes pulse-urgence {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* Garantie */
.garantie-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  padding: 12px;
  background: rgba(76, 175, 80, 0.1);
  border: 1px solid var(--status-success);
  border-radius: var(--radius-btn);
  color: var(--status-success);
  font-size: 0.9rem;
  font-weight: 700;
}


/* ============================================================
   5. MODAL DE SUCCÈS
   ============================================================ */
.modal-succes {
  text-align: center;
}

.modal-succes .etoile-confirm {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
}

.modal-succes .recap-commande {
  text-align: left;
  margin: 20px 0;
}


/* ============================================================
   6. POPUP EXIT-INTENT
   ============================================================ */
.popup-exit {
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 18, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.popup-exit.ouvert {
  opacity: 1;
  visibility: visible;
}

.popup-exit-contenu {
  background: linear-gradient(135deg, var(--bg-card), rgba(123, 47, 190, 0.15));
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-card);
  box-shadow: var(--glow-gold), var(--glow-violet), 0 20px 60px rgba(0, 0, 0, 0.6);
  max-width: 500px;
  width: 100%;
  padding: 40px 32px;
  text-align: center;
  position: relative;
  transform: scale(0.8);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.popup-exit.ouvert .popup-exit-contenu {
  transform: scale(1);
}

.popup-exit-contenu .etoile-confirm {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
}

.popup-exit-contenu h2 {
  font-size: 1.6rem;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-primary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.popup-exit-contenu .offre-code {
  display: inline-block;
  margin: 16px 0;
  padding: 8px 20px;
  background: var(--color-primary);
  color: var(--bg-main);
  font-family: var(--font-titre);
  font-weight: 700;
  font-size: 1.2rem;
  border-radius: var(--radius-pill);
  letter-spacing: 2px;
}

.popup-exit-contenu .boutons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.popup-exit-contenu .btn-non-merci {
  background: transparent;
  color: var(--text-muted);
  border: none;
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: underline;
  padding: 8px;
}

.popup-exit-contenu .btn-non-merci:hover {
  color: var(--text-main);
}


/* ============================================================
   7. BARRE STICKY MOBILE (conversion)
   ============================================================ */
.barre-sticky-conversion {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 850;
  background: rgba(8, 8, 18, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--color-primary);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
}

html[data-theme="light"] .barre-sticky-conversion {
  background: rgba(237, 232, 224, 0.97);
}

.barre-sticky-conversion.visible {
  transform: translateY(0);
}

.barre-sticky-conversion .sticky-info {
  flex: 1;
}

.barre-sticky-conversion .sticky-titre {
  font-family: var(--font-titre);
  font-weight: 700;
  color: var(--color-primary);
  font-size: 0.95rem;
}

.barre-sticky-conversion .sticky-prix {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.barre-sticky-conversion .btn {
  padding: 10px 20px;
  font-size: 0.9rem;
  white-space: nowrap;
}

/* Masquée sur desktop */
@media (min-width: 992px) {
  .barre-sticky-conversion {
    display: none;
  }
}


/* ============================================================
   8. BADGE URGENCE + PREUVE SOCIALE
   ============================================================ */

/* Badge urgence sur les cartes services */
.badge-urgence {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  padding: 4px 10px;
  background: rgba(229, 115, 115, 0.15);
  border: 1px solid var(--status-error);
  border-radius: var(--radius-pill);
  color: var(--status-error);
  font-size: 0.75rem;
  font-weight: 700;
  animation: pulse-urgence 2s ease-in-out infinite;
}

/* Bandeau preuve sociale (marquee) */
.preuve-sociale {
  background: var(--bg-card);
  border-top: 1px solid rgba(201, 168, 76, 0.2);
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
  padding: 12px 0;
  overflow: hidden;
  position: relative;
}

.preuve-sociale-track {
  display: flex;
  gap: 40px;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
  width: max-content;
}

.preuve-sociale:hover .preuve-sociale-track {
  animation-play-state: paused;
}

.preuve-sociale-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.preuve-sociale-item .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--status-success);
  flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* ============================================================
   9. NOTIFICATIONS SOCIAL PROOF (toasts)
   ============================================================ */
.conteneur-toasts {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 1500;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  background: var(--bg-card);
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-btn);
  padding: 12px 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), var(--glow-gold);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 280px;
  max-width: 360px;
  opacity: 0;
  transform: translateX(-100%);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
}

.toast.visible {
  opacity: 1;
  transform: translateX(0);
}

.toast.cache {
  opacity: 0;
  transform: translateX(-100%);
}

.toast-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-main);
  font-family: var(--font-titre);
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.toast-contenu {
  flex: 1;
}

.toast-texte {
  font-size: 0.85rem;
  color: var(--text-main);
  line-height: 1.4;
}

.toast-texte strong {
  color: var(--color-primary);
}

.toast-temps {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Masquer les toasts sur mobile (trop intrusif) */
@media (max-width: 599px) {
  .conteneur-toasts {
    display: none;
  }
}

/* ============================================================
   13. UNIVERS IMMERSIFS — Services et conversion
   ============================================================ */
.service-universe {
  position: relative;
  overflow: hidden;
}

.service-universe::before {
  content: "";
  position: absolute;
  inset: 6% -10% auto auto;
  width: min(520px, 62vw);
  aspect-ratio: 1;
  background:
    radial-gradient(circle, rgba(201,168,76,0.18) 0%, transparent 58%),
    conic-gradient(from 180deg, rgba(123,47,190,0.16), transparent, rgba(201,168,76,0.14), transparent);
  filter: blur(10px);
  opacity: 0.78;
  pointer-events: none;
}

.service-universe-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  position: relative;
  z-index: 1;
}

.service-universe-panel {
  border: 1px solid rgba(201, 168, 76, 0.18);
  border-radius: 24px;
  padding: clamp(24px, 4vw, 44px);
  background:
    linear-gradient(145deg, rgba(26,26,46,0.92), rgba(13,13,26,0.72)),
    radial-gradient(circle at 18% 16%, rgba(201,168,76,0.14), transparent 36%);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.service-universe-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--color-primary);
  font-weight: 700;
}

.service-universe-kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

.service-universe-title {
  max-width: 12ch;
  margin-bottom: 18px;
}

.service-universe-copy {
  max-width: 62ch;
  color: var(--text-muted);
  font-size: 1.08rem;
}

.service-visual-orbit {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
}

.service-visual-orbit::before,
.service-visual-orbit::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(201,168,76,0.24);
  border-radius: 50%;
  animation: orbit-soft 18s linear infinite;
}

.service-visual-orbit::before {
  width: min(400px, 78vw);
  aspect-ratio: 1;
}

.service-visual-orbit::after {
  width: min(290px, 58vw);
  aspect-ratio: 1;
  animation-duration: 26s;
  animation-direction: reverse;
}

.service-visual-orbit img {
  width: min(330px, 74vw);
  border-radius: 28px;
  border: 1px solid rgba(201,168,76,0.25);
  box-shadow: 0 28px 80px rgba(0,0,0,0.34), 0 0 50px rgba(201,168,76,0.18);
  transform: rotate(-2deg);
}

.service-ritual-grid,
.service-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-ritual-card,
.service-proof-card {
  border: 1px solid rgba(201,168,76,0.16);
  border-radius: 18px;
  padding: 22px;
  background: rgba(26,26,46,0.72);
  box-shadow: 0 16px 40px rgba(0,0,0,0.20);
}

.service-ritual-card span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  border-radius: 999px;
  color: var(--bg-main);
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  font-weight: 800;
}

.service-proof-card strong {
  display: block;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.carte,
.guide-card,
.conversion-step,
.faq-card,
.service-ritual-card,
.service-proof-card {
  transform: translateY(0);
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.carte:hover,
.guide-card:hover,
.conversion-step:hover,
.service-ritual-card:hover,
.service-proof-card:hover {
  transform: translateY(-5px);
}

@keyframes orbit-soft {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (max-width: 900px) {
  .service-universe-grid,
  .service-ritual-grid,
  .service-proof-grid {
    grid-template-columns: 1fr;
  }

  .service-visual-orbit {
    min-height: 320px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-visual-orbit::before,
  .service-visual-orbit::after {
    animation: none;
  }
}


/* ============================================================
   10. POLISHES UI/UX
   ============================================================ */

/* Effet ripple sur les boutons */
.btn {
  position: relative;
  overflow: hidden;
}

.btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: scale(0);
  animation: ripple-effet 0.6s ease-out;
  pointer-events: none;
}

@keyframes ripple-effet {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Carte avec image de fond (services) */
.carte-avec-image {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.carte-avec-image .carte-image-fond {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  transition: opacity var(--transition-base), transform var(--transition-base);
  z-index: 0;
}

.carte-avec-image:hover .carte-image-fond {
  opacity: 0.5;
  transform: scale(1.05);
}

.carte-avec-image .carte-contenu {
  position: relative;
  z-index: 1;
  background: linear-gradient(to top, var(--bg-card) 60%, transparent);
  padding: 32px 20px 20px;
  margin: -32px -20px -20px;
}

/* Image hero dans section "à propos" */
.cadre-photo-avec-image {
  position: relative;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  margin: 0 auto;
  overflow: hidden;
  border: 3px solid var(--color-primary);
  box-shadow: var(--glow-gold), var(--glow-violet);
  animation: pulse-dore 4s ease-in-out infinite;
}

.cadre-photo-avec-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cadre-photo-avec-image::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at center, transparent 60%, rgba(123, 47, 190, 0.3));
  pointer-events: none;
}

/* Image dans les cartes services (page services) */
.carte-service-image {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius-btn);
  margin-bottom: 16px;
  border: 1px solid rgba(201, 168, 76, 0.2);
  transition: transform var(--transition-base);
}

.carte:hover .carte-service-image {
  transform: scale(1.03);
}

/* Image hero dans page de détail service */
.hero-service-image {
  width: 100%;
  max-width: 600px;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-card);
  margin: 0 auto 24px;
  border: 1px solid var(--color-primary);
  box-shadow: var(--glow-gold);
  display: block;
}

/* Amélioration du hover sur les cartes (scale subtil) */
.carte {
  transition: transform var(--transition-base), box-shadow var(--transition-base),
    border-color var(--transition-base);
}

/* Glow sur le focus des boutons */
.btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  box-shadow: var(--glow-gold);
}

/* Animationentrée pour les éléments qui apparaissent */
@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Smooth scroll pour les ancres */
html {
  scroll-behavior: smooth;
}

/* Sélection de texte personnalisée */
::selection {
  background: var(--color-primary);
  color: var(--bg-main);
}

/* Désactiver les animations si l'utilisateur le demande */
@media (prefers-reduced-motion: reduce) {
  .preuve-sociale-track,
  .badge-urgence,
  .compteur-places,
  .toast,
  .dot,
  .cadre-photo,
  .cadre-photo-avec-image,
  .etoile-confirm,
  .badge-populaire,
  .badge-intense {
    animation: none !important;
  }

  .barre-sticky-conversion {
    transition: none;
  }
}


/* ============================================================
   11. AJUSTEMENTS RESPONSIVE POUR LES NOUVEAUX COMPOSANTS
   ============================================================ */

/* Mobile : switcher langue compact, toggle thème visible */
@media (max-width: 599px) {
  .navbar-outils {
    gap: 8px;
  }

  .bouton-langue {
    padding: 6px 8px;
    font-size: 0.75rem;
  }

  .bouton-langue svg {
    width: 16px;
    height: 12px;
  }

  .bouton-langue span.code-langue {
    display: none;
  }

  .toggle-theme {
    width: 36px;
    height: 36px;
  }

  .modal {
    padding: 20px 16px;
    max-height: 95vh;
  }

  .modal-en-tete h2 {
    font-size: 1.4rem;
  }

  .popup-exit-contenu {
    padding: 28px 20px;
  }

  .popup-exit-contenu h2 {
    font-size: 1.3rem;
  }

  /* Sur mobile, les boutons de la navbar desktop sont masqués
     mais le toggle thème et le switcher langue doivent être visibles.
     On les déplace dans la barre d'outils mobile. */
  .barre-sticky-conversion {
    padding: 10px 12px;
  }

  .barre-sticky-conversion .sticky-titre {
    font-size: 0.85rem;
  }

  .barre-sticky-conversion .btn {
    padding: 8px 14px;
    font-size: 0.8rem;
  }
}

/* Tablette : ajustements intermédiaires */
@media (min-width: 600px) and (max-width: 991px) {
  .navbar-outils {
    gap: 10px;
  }
}

/* Desktop : les outils sont complets */
@media (min-width: 992px) {
  .navbar-outils {
    gap: 12px;
  }
}


/* ============================================================
   12. ÉTAT LOADING (skeleton) pour les images
   ============================================================ */
.image-loading {
  background: linear-gradient(
    90deg,
    var(--bg-card) 0%,
    rgba(201, 168, 76, 0.1) 50%,
    var(--bg-card) 100%
  );
  background-size: 200% 100%;
  animation: skeleton 1.5s ease-in-out infinite;
}

@keyframes skeleton {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}


/* ============================================================
   13. EFFET KEN BURNS (vidéo simulée sur hero)
   ============================================================ */
@keyframes ken-burns {
  0% {
    transform: scale(1) translate(0, 0);
  }
  50% {
    transform: scale(1.1) translate(-2%, -1%);
  }
  100% {
    transform: scale(1) translate(0, 0);
  }
}

.hero::after {
  animation: ken-burns 30s ease-in-out infinite;
}

html[data-theme="light"] .hero::after {
  animation: ken-burns 40s ease-in-out infinite;
}

/* Désactivé en reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero::after {
    animation: none;
  }
}


/* ============================================================
   14. CARTES D'OUTILS SPIRITUELS — Styles spécifiques
   ============================================================ */
.carte .carte-description {
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Les cartes d'outils n'ont pas de bouton — hover plus doux */
.carte:has(.carte-description):not(:has(.carte-boutons)):hover {
  transform: translateY(-2px);
}


/* ============================================================
   15. AMÉLIORATION CARROUSEL — 8 témoignages
   ============================================================ */
.carrousel-piste {
  min-height: 320px;
}

.temoignage {
  min-height: 320px;
}

.carrousel-points {
  flex-wrap: wrap;
  justify-content: center;
  max-width: 300px;
}


/* ============================================================
   16. CURSUR SPOTLIGHT — Effet halo qui suit la souris
   ============================================================ */
.curseur-spotlight {
  position: fixed;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.15) 0%, transparent 70%);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  mix-blend-mode: screen;
}

html[data-theme="light"] .curseur-spotlight {
  background: radial-gradient(circle, rgba(166, 132, 46, 0.1) 0%, transparent 70%);
  mix-blend-mode: multiply;
}

.curseur-spotlight.cache {
  opacity: 0;
}

/* Masqué sur mobile (pas de souris) */
@media (max-width: 991px) {
  .curseur-spotlight {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .curseur-spotlight {
    display: none;
  }
}

/* ============================================================
   17. CONVERSION, RGPD ET PAGES LEGALES
   ============================================================ */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 28px auto 0;
  max-width: 980px;
}

.trust-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid rgba(201, 168, 76, 0.22);
  border-radius: 999px;
  background: rgba(26, 26, 46, 0.72);
  color: var(--text-main);
  font-size: 0.9rem;
  line-height: 1.2;
  backdrop-filter: blur(10px);
}

.trust-strip span::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 12px rgba(201, 168, 76, 0.55);
}

.section-entete-compacte {
  max-width: 760px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-entete-compacte h2 {
  margin-top: 8px;
}

.conversion-steps,
.guide-choix,
.faq-grid,
.ethique-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.conversion-step,
.guide-card,
.faq-item,
.ethique-panel {
  border: 1px solid rgba(201, 168, 76, 0.16);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(26, 26, 46, 0.9), rgba(13, 13, 26, 0.82));
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.22);
}

.conversion-step,
.guide-card,
.faq-item {
  padding: 26px;
}

.conversion-step:hover,
.guide-card:hover,
.faq-item:hover {
  border-color: rgba(201, 168, 76, 0.44);
  transform: translateY(-3px);
  box-shadow: 0 22px 80px rgba(201, 168, 76, 0.12);
}

.step-number {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--color-primary);
  font-family: var(--font-titre);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
}

.conversion-step h3,
.guide-card h3,
.faq-item h3 {
  margin-bottom: 12px;
}

.conversion-step p,
.guide-card p,
.faq-item p,
.ethique-grid p {
  color: var(--text-muted);
  line-height: 1.65;
}

.guide-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.guide-card .btn {
  margin-top: auto;
  width: fit-content;
}

.guide-card-populaire {
  border-color: rgba(201, 168, 76, 0.45);
  background:
    radial-gradient(circle at top right, rgba(201, 168, 76, 0.16), transparent 45%),
    linear-gradient(145deg, rgba(26, 26, 46, 0.96), rgba(13, 13, 26, 0.86));
}

.ethique-panel {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) 1.25fr;
  gap: 32px;
  padding: 34px;
  border-color: rgba(201, 168, 76, 0.28);
}

.ethique-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ethique-grid p {
  margin: 0;
  padding-left: 18px;
  border-left: 2px solid rgba(201, 168, 76, 0.42);
}

.legal-page {
  min-height: 100dvh;
  padding-top: 56px;
}

.legal-contenu {
  max-width: 880px;
  padding: 42px;
  border: 1px solid rgba(201, 168, 76, 0.22);
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(123, 47, 190, 0.12), transparent 42%),
    rgba(26, 26, 46, 0.86);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
}

.legal-contenu h1 {
  margin-bottom: 22px;
}

.legal-contenu h2 {
  margin-top: 34px;
  margin-bottom: 10px;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
}

.legal-contenu p {
  color: var(--text-muted);
  line-height: 1.75;
}

.legal-contenu .btn {
  margin-top: 24px;
}

.champ-consentement {
  padding: 16px;
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 12px;
  background: rgba(201, 168, 76, 0.06);
}

.checkbox-label {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--text-muted);
  line-height: 1.5;
  cursor: pointer;
}

.checkbox-label input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--color-primary);
}

.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1040px;
  margin: 0 auto;
  padding: 18px;
  border: 1px solid rgba(201, 168, 76, 0.35);
  border-radius: 16px;
  background: rgba(13, 13, 26, 0.94);
  box-shadow: 0 22px 90px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(16px);
}

.cookie-banner.cache {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.cookie-banner-texte {
  max-width: 690px;
}

.cookie-banner-texte strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text-main);
  font-family: var(--font-titre);
}

.cookie-banner-texte p {
  margin: 0 0 8px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

html[data-theme="light"] .trust-strip span,
html[data-theme="light"] .conversion-step,
html[data-theme="light"] .guide-card,
html[data-theme="light"] .faq-item,
html[data-theme="light"] .ethique-panel,
html[data-theme="light"] .legal-contenu {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 54px rgba(45, 34, 12, 0.08);
}

html[data-theme="light"] .guide-card-populaire {
  background:
    radial-gradient(circle at top right, rgba(166, 132, 46, 0.13), transparent 45%),
    rgba(255, 255, 255, 0.94);
}

html[data-theme="light"] .cookie-banner {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 70px rgba(45, 34, 12, 0.16);
}

/* ============================================================
   12.1 HARMONIE DES PAGES DETAIL SERVICE
   ============================================================ */
body.page-service main {
  background:
    radial-gradient(circle at 18% 8%, rgba(201, 168, 76, 0.15), transparent 28%),
    radial-gradient(circle at 82% 12%, rgba(123, 47, 190, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(13, 13, 26, 0.98), rgba(20, 19, 15, 0.98) 48%, rgba(13, 13, 26, 0.98));
}

body.page-service main > .section-petite:first-of-type {
  position: relative;
  overflow: hidden;
  padding-top: clamp(56px, 8vw, 104px);
  padding-bottom: clamp(42px, 7vw, 88px);
  background:
    radial-gradient(circle at 50% 0%, rgba(201, 168, 76, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(20, 19, 15, 0.15), rgba(20, 19, 15, 0.78));
}

body.page-service main > .section-petite:first-of-type::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.45) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.45) 1px, transparent 1px);
  background-size: 58px 58px;
}

body.page-service main > .section-petite:first-of-type::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(760px, 80vw);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.68), transparent);
}

body.page-service main > .section-petite:first-of-type .conteneur {
  position: relative;
  z-index: 1;
  max-width: 980px;
}

body.page-service main > .section-petite:first-of-type .carte-icone {
  width: clamp(84px, 8vw, 112px) !important;
  height: clamp(84px, 8vw, 112px) !important;
  border-color: rgba(201, 168, 76, 0.38);
  background:
    radial-gradient(circle, rgba(201, 168, 76, 0.22), transparent 62%),
    rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
}

body.page-service main > .section-petite:first-of-type h1 {
  max-width: 880px;
  margin: 0 auto;
  font-size: clamp(2.7rem, 6.5vw, 5.25rem);
  line-height: 1.08;
  text-wrap: balance;
}

body.page-service main > .section-petite:first-of-type .citation {
  margin-bottom: 14px;
  color: rgba(243, 231, 193, 0.92);
}

body.page-service main > .section-petite:first-of-type .carte-prix {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 8px 24px;
  border: 1px solid rgba(201, 168, 76, 0.32);
  border-radius: 999px;
  background: rgba(201, 168, 76, 0.1);
  box-shadow: 0 18px 54px rgba(201, 168, 76, 0.12);
}

body.page-service main > .section-petite:first-of-type .carte-duree {
  margin-top: 4px;
  color: rgba(231, 226, 218, 0.78);
}

body.page-service main > .section-petite:first-of-type .btn {
  min-width: min(320px, 100%);
}

html[data-theme="light"] body.page-service main {
  background:
    radial-gradient(circle at 18% 8%, rgba(166, 132, 46, 0.15), transparent 28%),
    radial-gradient(circle at 82% 12%, rgba(123, 47, 190, 0.08), transparent 28%),
    linear-gradient(180deg, #f9f6ef, #efe8db 48%, #f9f6ef);
}

html[data-theme="light"] body.page-service main > .section-petite:first-of-type {
  background:
    radial-gradient(circle at 50% 0%, rgba(166, 132, 46, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.2));
}

html[data-theme="light"] body.page-service main > .section-petite:first-of-type .citation {
  color: #7c3f2f;
}

html[data-theme="light"] body.page-service main > .section-petite:first-of-type .carte-duree {
  color: #5f594d;
}

html[data-theme="light"] body.page-service main > .section-petite:first-of-type .carte-icone,
html[data-theme="light"] body.page-service main > .section-petite:first-of-type .carte-prix {
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 18px 54px rgba(45, 34, 12, 0.08);
}

@media (max-width: 900px) {
  .conversion-steps,
  .guide-choix,
  .faq-grid,
  .ethique-panel {
    grid-template-columns: 1fr;
  }

  .ethique-grid {
    grid-template-columns: 1fr;
  }

  .checkout-modal {
    width: calc(100vw - 20px);
    max-height: calc(100dvh - 20px);
    padding: 16px;
  }

  .checkout-modal .modal-en-tete {
    margin-bottom: 12px;
    padding-right: 46px;
    text-align: left;
  }

  .checkout-modal-layout {
    grid-template-columns: 1fr;
    gap: 14px;
    min-height: 0;
    max-height: calc(100dvh - 138px);
    overflow-y: auto;
    padding-right: 2px;
  }

  .checkout-modal-summary,
  .checkout-modal-payment {
    overflow: visible;
  }

  .conteneur-chariow {
    min-height: min(540px, 58dvh);
  }

  .conteneur-chariow iframe {
    min-height: min(540px, 58dvh) !important;
  }

  .cookie-banner {
    align-items: stretch;
    flex-direction: column;
  }

  .cookie-banner-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 599px) {
  .trust-strip {
    justify-content: flex-start;
  }

  .trust-strip span {
    width: 100%;
  }

  .legal-contenu,
  .ethique-panel {
    padding: 24px 18px;
  }

  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .checkout-modal {
    width: calc(100vw - 12px);
    max-height: calc(100dvh - 12px);
    padding: 14px;
  }

  .checkout-modal .modal-en-tete h2 {
    font-size: 1.35rem;
  }

  .checkout-modal-layout {
    max-height: calc(100dvh - 128px);
  }

  .checkout-modal-summary .recap-service {
    align-items: flex-start;
  }

  body.page-service main > .section-petite:first-of-type h1 {
    font-size: clamp(2.45rem, 11vw, 3.65rem);
  }
}

/* ============================================================
   18. PREMIUM FRONT REFRESH — Luxe mystique + intensité maîtrisée
   ============================================================ */
:root {
  --surface-glass: rgba(255, 255, 255, 0.075);
  --surface-glass-strong: rgba(255, 255, 255, 0.12);
  --border-soft: rgba(201, 168, 76, 0.22);
  --shadow-premium: 0 24px 80px rgba(0, 0, 0, 0.34);
  --shadow-premium-hover: 0 30px 100px rgba(201, 168, 76, 0.22);
  --nav-height: 72px;
  --motion-soft: cubic-bezier(0.16, 1, 0.3, 1);
}

html[data-theme="light"] {
  --surface-glass: rgba(255, 255, 255, 0.74);
  --surface-glass-strong: rgba(255, 255, 255, 0.9);
  --border-soft: rgba(122, 90, 18, 0.18);
  --shadow-premium: 0 24px 70px rgba(55, 49, 88, 0.12);
  --shadow-premium-hover: 0 30px 90px rgba(122, 90, 18, 0.16);
}

body {
  background:
    radial-gradient(circle at 8% 8%, rgba(201, 168, 76, 0.16), transparent 28rem),
    radial-gradient(circle at 86% 16%, rgba(123, 47, 190, 0.20), transparent 30rem),
    radial-gradient(circle at 50% 92%, rgba(201, 168, 76, 0.10), transparent 34rem),
    linear-gradient(180deg, #090914 0%, #11111f 46%, #0a0912 100%);
}

html[data-theme="light"] body {
  background:
    radial-gradient(circle at 8% 8%, rgba(122, 90, 18, 0.14), transparent 28rem),
    radial-gradient(circle at 86% 16%, rgba(83, 48, 143, 0.10), transparent 30rem),
    radial-gradient(circle at 50% 92%, rgba(122, 90, 18, 0.08), transparent 34rem),
    linear-gradient(180deg, #fffdfa 0%, #f6f4fb 48%, #eef0f7 100%);
}

h1,
h2,
.hero-titre,
.service-universe-title {
  letter-spacing: 0;
  text-wrap: balance;
}

.btn {
  border-radius: var(--radius-pill);
  white-space: nowrap;
  touch-action: manipulation;
}

.btn:active {
  transform: translateY(1px) scale(0.99);
}

.btn-principal {
  background:
    linear-gradient(135deg, rgba(255, 240, 181, 0.98), rgba(201, 168, 76, 0.98) 42%, rgba(148, 104, 27, 0.98)),
    var(--color-primary);
  color: #111018;
  border-color: rgba(255, 244, 200, 0.42);
  box-shadow: 0 16px 38px rgba(201, 168, 76, 0.22);
}

.btn-principal:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 22px 54px rgba(201, 168, 76, 0.32);
}

.btn-secondaire {
  background: rgba(255, 255, 255, 0.055);
  border-color: var(--border-soft);
  backdrop-filter: blur(16px);
}

.navbar {
  padding: 14px 0;
}

.navbar.scroll-actif,
.navbar {
  min-height: var(--nav-height);
}

.navbar.scroll-actif {
  background: rgba(9, 9, 20, 0.76);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
}

html[data-theme="light"] .navbar.scroll-actif {
  background: rgba(255, 253, 250, 0.78);
}

.navbar-logo {
  min-width: 0;
  font-weight: 500;
}

.navbar-logo span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero {
  justify-content: flex-start;
  text-align: left;
  min-height: 100dvh;
  padding: clamp(96px, 12vh, 132px) max(20px, 7vw) 72px;
  isolation: isolate;
}

.hero::before {
  background:
    radial-gradient(circle at 24% 38%, rgba(201, 168, 76, 0.24), transparent 22rem),
    radial-gradient(circle at 78% 38%, rgba(123, 47, 190, 0.22), transparent 27rem),
    linear-gradient(90deg, rgba(9, 9, 20, 0.92), rgba(9, 9, 20, 0.58) 42%, rgba(9, 9, 20, 0.20));
}

.hero::after {
  opacity: 0.48;
  background-position: center right;
  filter: saturate(1.08) contrast(1.04);
}

.hero-contenu {
  max-width: min(820px, 100%);
  margin: 0;
}

.hero-titre {
  font-size: clamp(2.85rem, 6.1vw, 5.15rem);
  line-height: 0.98;
  margin-bottom: 22px;
  min-height: 0;
  max-width: 13ch;
}

.hero-soustitre {
  margin-left: 0;
  margin-right: 0;
  max-width: 44ch;
  font-size: clamp(1.06rem, 1.65vw, 1.45rem);
  color: rgba(245, 240, 232, 0.86);
}

.hero-boutons {
  justify-content: flex-start;
}

.hero-boutons .btn {
  min-width: 220px;
}

.hero-trust {
  justify-content: flex-start;
  max-width: 760px;
  margin-top: 28px;
}

.trust-strip {
  border-radius: 999px;
  background: var(--surface-glass);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-premium);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
}

.trust-strip span {
  min-height: 34px;
}

.preuve-sociale {
  margin: 0;
  padding: 14px 0;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.08), transparent);
  border-block: 1px solid rgba(201, 168, 76, 0.12);
  overflow: hidden;
}

.preuve-sociale-item {
  opacity: 0.82;
}

.separateur-ondule {
  height: 1px;
  margin: 0;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.38), transparent);
  color: transparent;
}

.separateur-ondule svg {
  display: none;
}

.section,
.section-petite {
  position: relative;
}

.section > .conteneur,
.section-petite > .conteneur {
  position: relative;
  z-index: 1;
}

.section-entete-compacte {
  max-width: 760px;
  margin-inline: auto;
}

.anim-gauche,
.anim-droite {
  transform: translateY(30px);
}

.anim-apparition.visible.anim-gauche,
.anim-apparition.visible.anim-droite {
  transform: translateY(0);
}

.carte,
.pilier,
.conversion-step,
.guide-card,
.faq-item,
.ethique-panel,
.service-universe-panel,
.service-ritual-card,
.service-proof-card,
.sidebar-service {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.035)),
    var(--surface-glass);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-premium);
  backdrop-filter: blur(20px) saturate(1.16);
  -webkit-backdrop-filter: blur(20px) saturate(1.16);
}

.carte {
  overflow: hidden;
  transform: translateZ(0);
}

.carte:hover {
  box-shadow: var(--shadow-premium-hover);
}

.carte-service-image,
.hero-service-image {
  filter: saturate(1.07) contrast(1.04);
}

.carte-prix,
.sidebar-prix,
.option-carte-prix {
  font-variant-numeric: tabular-nums;
}

.carte-boutons {
  align-items: stretch;
}

.carte-boutons .btn {
  flex: 1 1 0;
  min-width: 0;
}

.badge-populaire,
.badge-intense {
  letter-spacing: 0.08em;
}

main > .section[style*="padding-top: 140px"] {
  padding-top: clamp(104px, 13vh, 144px) !important;
  padding-bottom: 42px;
}

body.page-service main {
  background:
    radial-gradient(circle at 14% 8%, rgba(201, 168, 76, 0.15), transparent 28rem),
    radial-gradient(circle at 86% 16%, rgba(123, 47, 190, 0.17), transparent 30rem),
    linear-gradient(180deg, #0b0a12, #14130f 46%, #0b0a12);
}

body.page-service main > .section-petite:first-of-type {
  min-height: auto;
  padding-top: clamp(102px, 13vh, 132px);
  padding-bottom: clamp(42px, 8vh, 72px);
}

body.page-service main > .section-petite:first-of-type h1 {
  font-size: clamp(2.8rem, 5.4vw, 4.9rem);
  max-width: 760px;
}

body.page-service main > .section-petite:first-of-type .btn {
  min-width: min(300px, 100%);
}

.cookie-banner {
  z-index: 1100;
}

.bouton-flottant {
  z-index: 900;
}

@media (max-width: 991px) {
  :root {
    --nav-height: 68px;
  }

  .navbar {
    padding: 10px 0;
    background: rgba(9, 9, 20, 0.62);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  html[data-theme="light"] .navbar {
    background: rgba(255, 253, 250, 0.78);
  }

  .navbar-interieur {
    gap: 8px;
  }

  .navbar-logo {
    flex: 1 1 auto;
    font-size: clamp(0.9rem, 3.2vw, 1.08rem);
  }

  .navbar-logo svg {
    width: 26px;
    height: 26px;
  }

  .navbar > .conteneur > .navbar-liens,
  .navbar > .conteneur > .navbar-outils .btn {
    display: none;
  }

  .navbar > .conteneur > .navbar-outils {
    display: flex;
    gap: 8px;
    flex: 0 0 auto;
  }

  .bouton-hamburger {
    display: flex;
    flex: 0 0 44px;
  }

  .panneau-mobile {
    position: fixed;
    inset: 0;
    min-height: 100dvh;
    background:
      radial-gradient(circle at 20% 10%, rgba(201, 168, 76, 0.18), transparent 22rem),
      radial-gradient(circle at 80% 20%, rgba(123, 47, 190, 0.20), transparent 24rem),
      rgba(10, 10, 20, 0.96);
    backdrop-filter: blur(24px) saturate(1.25);
    -webkit-backdrop-filter: blur(24px) saturate(1.25);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.36s var(--motion-soft), transform 0.36s var(--motion-soft),
      visibility 0s linear 0.36s;
    z-index: 999;
    padding: 86px 20px 28px;
    overflow-y: auto;
  }

  #menu-toggle-checkbox:checked ~ .panneau-mobile,
  .panneau-mobile.ouvert {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
  }

  .panneau-mobile .navbar-liens {
    display: grid;
    gap: 12px;
    width: min(420px, 100%);
    margin-inline: auto;
  }

  .panneau-mobile .navbar-liens a {
    display: flex;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(201, 168, 76, 0.18);
    font-size: clamp(1.22rem, 5vw, 1.58rem);
  }

  .panneau-mobile .navbar-outils {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: min(420px, 100%);
    margin-inline: auto;
  }

  .panneau-mobile .navbar-outils .btn {
    display: inline-flex;
    width: 100%;
  }

  .hero {
    min-height: auto;
    padding: 112px 20px 54px;
    text-align: center;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(9, 9, 20, 0.74), rgba(9, 9, 20, 0.62)),
      radial-gradient(circle at 50% 20%, rgba(201, 168, 76, 0.18), transparent 18rem);
  }

  .hero::after {
    opacity: 0.24;
    background-position: center;
  }

  .hero-contenu,
  .hero-soustitre {
    margin-inline: auto;
  }

  .hero-titre {
    max-width: 11ch;
    margin-inline: auto;
    font-size: clamp(2.55rem, 10.8vw, 4.4rem);
  }

  .hero-boutons {
    justify-content: center;
  }

  .hero-boutons .btn {
    width: min(100%, 360px);
    min-width: 0;
    min-height: 52px;
  }

  .hero-trust {
    margin-inline: auto;
    border-radius: 24px;
  }

  .trust-strip {
    border-radius: 24px;
  }

  .trust-strip span {
    width: auto;
    flex: 1 1 180px;
  }

  body.page-service main > .section-petite:first-of-type {
    padding-top: 94px;
  }

  body.page-service main > .section-petite:first-of-type h1 {
    font-size: clamp(2.55rem, 9vw, 4.2rem);
  }
}

@media (max-width: 599px) {
  :root {
    --nav-height: 64px;
  }

  .conteneur {
    padding-inline: 18px;
  }

  .navbar {
    padding: 8px 0;
  }

  .navbar-logo span {
    max-width: 132px;
  }

  .toggle-theme,
  .bouton-langue {
    width: 38px;
    height: 38px;
    min-height: 38px;
    padding: 0;
    justify-content: center;
  }

  .bouton-langue .chevron,
  .bouton-langue .code-langue {
    display: none;
  }

  .hero {
    padding-top: 96px;
  }

  .hero-titre {
    font-size: clamp(2.4rem, 13vw, 3.45rem);
    line-height: 1.02;
  }

  .hero-soustitre {
    font-size: 1.08rem;
    line-height: 1.55;
  }

  .hero-boutons {
    gap: 12px;
  }

  .hero-boutons .btn {
    min-height: 52px;
    padding: 13px 18px;
  }

  .preuve-sociale {
    padding-block: 10px;
  }

  .carte-boutons {
    flex-direction: column;
  }

  .carte-boutons .btn {
    width: 100%;
  }

  .cookie-banner {
    left: 10px;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    max-height: min(54dvh, 420px);
    overflow-y: auto;
    border-radius: 22px;
  }

  .cookie-banner-actions .btn,
  .cookie-banner-actions button {
    flex: 1 1 0;
    min-width: 0;
  }

  .bouton-flottant {
    width: 48px;
    height: 48px;
    right: 14px;
  }

  .barre-reservation-mobile {
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  }

  .barre-reservation-mobile .btn {
    min-height: 50px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero::after,
  .preuve-sociale-track,
  .badge-populaire,
  .badge-intense {
    animation: none !important;
  }
}
