/* ------------------------------- */
/* Style mystique pour le formulaire dynamique */
/* ------------------------------- */
.hai-astro-form {
  position: relative;
  padding: 20px;
  background: #bb9f7791;
  border-radius: 12px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
  max-width: 600px;
  width: 95%;
  margin-bottom: 95px;
}

#dynamic-hai-form {
  padding: 5px;
}

#dynamic-hai-form p {
  margin-bottom: 18px;
}

#dynamic-hai-form label {
  display: block;
  font-family: arial, serif;
  font-size: 15px;
  margin-bottom: 6px;
  color: #2b2b2b;
}

#dynamic-hai-form input,
#dynamic-hai-form textarea,
#dynamic-hai-form select {
  width: 100%;
  padding: 10px 14px;
  border: none;
  border-bottom: 2px solid #b5995aa1;
  background: #ffffff;
  font-family: 'Poly';
  color: #b5995a;
  font-size: 17px;
  border-radius: 4px;
  transition: border-color 0.3s ease;
}

textarea, textarea.wp-editor-area {
    overflow: auto;
    vertical-align: top;
    min-height: 130px !important;
}

#dynamic-hai-form input::placeholder,
#dynamic-hai-form textarea::placeholder {
  color: rgba(200,177,229,0.5);
}

#dynamic-hai-form input:focus,
#dynamic-hai-form textarea:focus,
#dynamic-hai-form select:focus {
  outline: none;
  border-bottom-color: #e3d7f1;
}


#hai-starfield-dynamic {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none; /* ne pas gêner le clic en écrivant none */
}

/* Assure que le formulaire reste au-dessus */
#dynamic-hai-form {
  position: relative;
  z-index: 1;
}

.dynamic-form-wrapper {
  position: relative;
  overflow: hidden;
}



.hai-dynamic-form-wrapper-label
 {
    font-size: 19px;
    font-weight: 600;
    color: #b5995a;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 50px;
    font-family: georgia;
}

h5 {
    font-family: "BluuNext", sans-serif;
    font-size: 22px !important;
    font-weight: 700;
    font-style: normal;
    line-height: 1.08696em;
    text-decoration: none;
    text-transform: none;
    margin-top: 5px !important;
    margin-bottom: 0.8em;
    color: #fff !important;
}

/* Masquer toutes les étapes puis n’afficher que la « .active » */
#dynamic-hai-form .form-step {
  display: none;
}
#dynamic-hai-form .form-step.active {
  display: block;
}

/* Navigation (boutons) */
#dynamic-hai-form .form-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  column-gap: 30px;
}

#dynamic-hai-form .form-navigation button {
    padding: 10px 20px;
    background: #ffffff;
    color: #000000;
    border-radius: 6px;
    cursor: pointer;
    font-size: 17px;
}

#dynamic-hai-form .form-navigation button[disabled] {
  opacity: 0.5;
  cursor: default;
}

/* Mobile : tout reste full-width */
@media (max-width: 768px) {
  #dynamic-hai-form .form-navigation {
    flex-direction: column;
  }
  #dynamic-hai-form .form-navigation button {
    width: 100%;
    margin-bottom: 10px;
  }
}



/* ------------------------------- */
/* Style avis pour les avis */
/* ------------------------------- */

.hai-reviews-grid-container {
  margin: 60px auto;
  max-width: 1400px;
  padding: 0 20px;
}

.hai-reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 25px;
}

.hai-review-date-astro {
    color: #1198aa;
    font-size: 15px;
    font-family: times;
}

.hai-review-card {
    background: #fff;
    border: 1.5px dashed #e1cba3;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    /* justify-content: space-between; */
    position: relative;
    transition: transform 0.3s ease;
}

.hai-review-card:hover {
  transform: translateY(-5px);
}

.hai-review-card::before {
  content: "🌙";
  position: absolute;
  top: -12px;
  left: -12px;
  font-size: 22px;
}

.hai-review-header {
    display: flex;
    justify-content: space-between;
    font-size: 15px !important;
    font-weight: bold;
    color: #6d4c41;
    margin-bottom: 12px;
    font-family: 'fontello';
}

.hai-review-stars {
  color: #258fde;
}

.hai-review-pseudo {
    font-family: times;
    color: #7e5f91;
    font-size: 16px;
}

.hai-review-text {
  font-size: 16px;
  font-style: italic;
  color: #4a3d3d;
  line-height: 1.5;
}

/* --- Lire plus / Lire moins --- */
.hai-review-card .hai-review-toggle {
  align-self: flex-start;
  margin-top: 10px;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  font-style: normal;
  color: #7e5f91;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  box-shadow: none !important;
  width: auto !important;
  display: inline-block;
  transition: color 0.2s ease;
}

.hai-review-card .hai-review-toggle:hover,
.hai-review-card .hai-review-toggle:focus {
  background: none !important;
  color: #5a3f6e;
}

.hai-review-card .hai-review-toggle:focus-visible {
  outline: 2px solid #b5995b;
  outline-offset: 2px;
  border-radius: 3px;
}

.hai-review-filter-bar {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
    padding-right: 10px;
    margin-top: 30px;
}

.hai-review-filter-form {
  align-items: center;
  gap: 6px;
  background: #fff;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid #e1cba3;
  font-size: 14px;
  color: #6d4c41;
  width: 200px;
}

.hai-review-filter-form label {
  font-weight: 600;
  font-size: 14px;
  margin: 0;
}

.hai-review-filter-form select {
  border: none;
  background: transparent;
  font-size: 14px;
  color: #5a4050;
  padding: 3px 6px;
}


.hai-review-pagination .page-numbers {
  display: inline-block;
  padding: 6px 12px;
  margin: 2px;
  background: #f4f0ea;
  border-radius: 4px;
  color: #5a4050;
  text-decoration: none;
  font-weight: bold;
}

.hai-review-pagination .page-numbers.current {
  background: #bb9f77;
  color: white;
}

.hai-review-pagination .page-numbers:hover {
  background: #dbc2a1;
  color: white;
}

/* ------------------------------- */
/* Style badge avis vérifié */
/* ------------------------------- */
/* Centrage horizontal du ruban */
.astrologer-ribbon-container {
  display: flex;
  justify-content: center;  /* centre horizontalement */
  margin: 20px 0;           /* espace au-dessus et en dessous */
}

/* (Rechargez ou rebuild si vous utilisez un preprocessuer) */

.astro-badge-ribbon {
  position: relative;
  background: #7ba389;
  color: #fff;
  font-family: "Cinzel", serif;
  padding: 6px 16px;
  font-size: 19px;
  line-height: 1;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.astro-badge-ribbon::before,
.astro-badge-ribbon::after {
  content: "";
  position: absolute;
  bottom: -8px;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid;
}
.astro-badge-ribbon::before {
  left: 8px;
  border-top-color: #7ba389;
}
.astro-badge-ribbon::after {
  right: 8px;
  border-top-color: #7ba389;
}
.astro-badge-ribbon:hover {
  transform: rotate(-1deg) scale(1.02);
  transition: transform 0.2s ease-in-out;
}

/* ------------------------------- */
/* Style profil */
/* ------------------------------- */

/* ===========
   DESIGN CLAIR & ASTRO — 2025-08
   (n’ajuste rien au thème, tout est namespacé .astro-*)
   =========== */

:root{
  --astro-bg:#F7FAFC;
  --astro-card:#FFFFFF;
  --astro-ink:#1E2430;
  --astro-muted:#6A7688;
  --astro-line:#E9EEF3;
  --astro-gold:#D9C08C;
  --astro-emerald:#2EC4A4;
  --astro-rose:#FF8FA2;
  --astro-sky:#7BC3FF;
  --astro-shadow:0 10px 30px rgba(20,30,50,.08);
}

.astro-layout {
    background: #fff;
    padding: 0 1px 60px;
}

.astro-card {
    background: var(--astro-card);
    border: 1px solid var(--astro-line);
    border-radius: 18px;
    box-shadow: var(--astro-shadow);
    padding: 24px;
    margin: 18px auto;
    max-width: 1440px;
}

/* HERO */
.astro-hero{
  position:relative; padding:60px 16px 28px; margin:0 0 14px;
  background:radial-gradient(1200px 70% at 50% 0, rgba(255,255,255,.45), rgba(255,255,255,0)) top/cover no-repeat;
}
.astro-hero__bg{
  position:absolute; inset:0;
  background:
    linear-gradient( to bottom, rgba(255,255,255,.75) 0%, rgba(255,255,255,.55) 18%, rgba(255,255,255,.00) 52%, rgba(255,255,255,.88) 100% ),
    var(--hero-banner, none) center/cover no-repeat;
  z-index:0;
}
.astro-hero__inner{ position:relative; z-index:2; max-width:980px; margin:0 auto; text-align:center; }

/* Portrait + roue */
.astro-portrait{ position:relative; width:124px; height:124px; margin:0 auto 12px; }

.astro-portrait__img {
    width: 124px;
    height: 124px;
    object-fit: cover;
    border-radius: 999px;
    /* border: 3px solid #fff; */
    box-shadow: 0 6px 18px rgba(20, 30, 50, .15);
}


.zod-ring{
  position:absolute; inset:-18px; border-radius:999px; pointer-events:;
  display:grid; place-items:center; animation:zod-spin 26s linear infinite;
  filter: drop-shadow(0 2px 6px rgba(20,30,50,.12));
}
.zod-ring:hover{ animation-play-state:paused; }

.zod-ring::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 999px;
    border: 2px solid #d8ab4e;
    box-shadow: 0 12px 40px rgb(149 135 90);
    opacity: .8;
    background: radial-gradient(closest-side, transparent 62%, rgba(217, 192, 140, .12) 63%, transparent 64%);
}

.zod-ring span{
  position:absolute; font-size:14px; color:#fff; text-shadow:0 1px 2px rgba(0,0,0,.28);
}
.zod-ring span:nth-child(1){  transform:rotate(  0deg) translate(76px) rotate(  0deg); }
.zod-ring span:nth-child(2){  transform:rotate( 30deg) translate(76px) rotate(-30deg); }
.zod-ring span:nth-child(3){  transform:rotate( 60deg) translate(76px) rotate(-60deg); }
.zod-ring span:nth-child(4){  transform:rotate( 90deg) translate(76px) rotate(-90deg); }
.zod-ring span:nth-child(5){  transform:rotate(120deg) translate(76px) rotate(-120deg); }
.zod-ring span:nth-child(6){  transform:rotate(150deg) translate(76px) rotate(-150deg); }
.zod-ring span:nth-child(7){  transform:rotate(180deg) translate(76px) rotate(-180deg); }
.zod-ring span:nth-child(8){  transform:rotate(210deg) translate(76px) rotate(-210deg); }
.zod-ring span:nth-child(9){  transform:rotate(240deg) translate(76px) rotate(-240deg); }
.zod-ring span:nth-child(10){ transform:rotate(270deg) translate(76px) rotate(-270deg); }
.zod-ring span:nth-child(11){ transform:rotate(300deg) translate(76px) rotate(-300deg); }
.zod-ring span:nth-child(12){ transform:rotate(330deg) translate(76px) rotate(-330deg); }
@keyframes zod-spin{ to{ transform:rotate(360deg);} }

/* Titres + statut */
.astro-title {
    margin: 26px auto 4px;
    line-height: 1.1;
    font-weight: 700;
    font-size: 23px;
    color: #fff !important;
}

.astro-title::after{
  content:""; display:block; width:86px; height:2px; margin:8px auto 0;
  background:var(--astro-gold); opacity:.75; border-radius:2px;
}
.astro-status{
  display:inline-flex; align-items:center; gap:8px; padding:6px 10px;
  border-radius:999px; font-weight:600; font-size:13px; margin-top:8px;
  background:#fff; border:1px solid var(--astro-line); box-shadow:var(--astro-shadow);
}
.astro-status .dot{width:8px; height:8px; border-radius:999px; display:inline-block;}
.astro-status.is-online .dot{ background:var(--astro-emerald); box-shadow:0 0 0 4px rgba(46,196,164,.15); }
.astro-status.is-offline .dot{ background:#df0808; }

/* CTA sticky */
.astro-cta-bar {
    position: sticky;
    top: 0;
    z-index: 5;
    margin: 16px auto 0;
    max-width: 860px;
    /* background: rgba(255, 255, 255, .72); */
    /* backdrop-filter: blur(8px) saturate(120%); */
    /* border: 1px solid rgba(233, 238, 243, .9); */
    /* border-radius: 14px; */
    padding: 10px 12px;
    display: flex
;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.astro-cta-bar .price{ color:var(--astro-muted); font-size:14px; }

.btn-primary {
    appearance: none;
    border: none;
    cursor: pointer;
    text-decoration: none;
    background: linear-gradient(135deg, var(--astro-sky), var(--astro-emerald));
    color: #000000 !important;
    font-weight: 300;
    padding: 10px 14px;
    border-radius: 12px;
    box-shadow: var(--astro-shadow);
    transition: transform .12s ease, filter .12s ease;
}

.btn-primary:hover{ transform:translateY(-1px); filter:saturate(110%); }

/* --- Quick Facts 4 colonnes --- */
.af3-grid{
  display:grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;  /* Spécialités plus large + 3 cartes */
  gap:16px;
}

.af3-card {
    position: relative;
    padding: 16px 18px;
    border: 1px solid #7ba389;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff, #f7fbff);
    box-shadow: 0 8px 20px rgb(123 163 137 / 46%);
}

/* Icône pour "Horoscopes réalisés" */
.af3-card--studies::before{
  content:"✨";                               /* ou "★" si tu préfères */
  position:absolute; right:16px; top:16px;
  width:32px; height:32px; border-radius:999px; display:grid; place-items:center;
  background:linear-gradient(180deg,#ffffff,#edf4ff);
  border:1px solid #e5ecf7; box-shadow:0 2px 8px rgba(16,24,40,.08);
  color:#0f172a; font-weight:900; font-size:16px;
}

.af3-label {
    color: #64748b;
    font-size: 19px;
    letter-spacing: .2px;
    margin-bottom: 6px;
    font-weight: 700;
    text-transform: none;
    font-family: times;
}

.af3-value {
    color: #0f172a;
    font-size: 19px;
    font-weight: 300;
    font-family: Times;
    letter-spacing: .2px;
}

/* Spécialités (chips) */
.af3-tags{ list-style:none; margin:4px 0 0; padding:0; display:flex; flex-wrap:wrap; gap:8px; }

.af3-tags li {
    padding: 0px 10px;
    border-radius: 999px;
    color: #22324a;
    font-weight: 300;
    font-size: 18px;
}

.af3-tag--empty{ opacity:.5; }

/* Petites icônes rondes pour les 2 cartes de droite */
.af3-card--xp::before,
.af3-card--eur::before{
  content:""; position:absolute; right:16px; top:16px;
  width:32px; height:32px; border-radius:999px; display:grid; place-items:center;
  background:linear-gradient(180deg,#ffffff,#edf4ff);
  border:1px solid #e5ecf7; box-shadow:0 2px 8px rgba(16,24,40,.08);
  color:#0f172a; font-weight:900; font-size:16px;
}
.af3-card--xp::before{ content:"⏳"; }
.af3-card--eur::before{ content:"€"; }

/* Responsive */
@media (max-width:900px){
  .af3-grid{ grid-template-columns:1fr; }
}


/* BIO / FORM / AVIS */
.h2{ font-size:20px; margin:0 0 12px; color:var(--astro-ink); font-weight:800;}
.astro-bio .content p{ color:#1f2a3a; line-height:1.7; }
.astro-form form, .astro-reviews .reviews-wrapper{ margin-top:10px; }

/* Responsive */
@media (max-width:640px){
  .astro-portrait, .astro-portrait__img{ width:104px; height:104px; }
  .zod-ring span{ font-size:12px; }
  .facts-grid{ grid-template-columns:1fr; }
}

/* PATCH 2025-08 — BANNIÈRE SANS VOILE BLANC */
.astro-hero{
  background: none !important;            /* supprime le radial blanc */
}
.astro-hero__bg{
  background: var(--hero-banner, none)     /* garde l'image brute */
              center / cover no-repeat !important;   /* supprime le gradient blanc */
}

/* Ligne meta sous le titre : statut + rating, côte à côte */
.astro-meta-row{
  display:flex; align-items:center; justify-content:center;
  gap:10px; flex-wrap:wrap; margin-top:8px;
}

/* Rangée de pastilles sous le nom */
.hai-astro-meta-row.hai-astro-meta-row--chips{
  display:flex; align-items:center; justify-content:center;
  gap:10px; flex-wrap:wrap; margin:10px 0 16px;
}

/* Pastille statut */
.hai-status-badge{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 12px; border-radius:999px;
  background:#fff; border:1px solid #e9eef3;
  font-weight:600; font-size:14px; color:#1e2430;
  box-shadow:0 1px 2px rgba(20,30,50,.06);
}
.hai-status-badge .dot{
  width:8px; height:8px; border-radius:999px; display:inline-block;
  box-shadow:0 0 0 4px rgba(46,196,164,.12);
}
.hai-status-badge.is-online .dot{ background:#2EC4A4; }
.hai-status-badge.is-offline .dot{ background:#df0808; box-shadow:none; }

/* Pastille note + avis */
.hai-rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e9eef3;
    font-weight: 700;
    font-size: 16px;
    font-family: times;
    color: #1e2430;
    box-shadow: 0 1px 2px rgba(20, 30, 50, .06);
}

.hai-rating-badge .star{ font-weight:900; line-height:1; }
.hai-rating-badge .avg{ font-weight:900; }
.hai-rating-badge .slash, .hai-rating-badge .count{ opacity:.85; font-weight:600; }


/* === Form look (simple) === */
:root{
  --hf-teal-200:#c8eef4; --hf-teal-300:#a7e3ee;
  --hf-ink:#1E2430; --hf-muted:#6A7688; --hf-line:#E6ECF2;
  --hf-shadow:0 10px 30px rgba(20,30,50,.08);
}

.hai-form-panel{ margin:18px auto 28px; max-width:1440px; }

.hai-form-topbar {
    display: flex;
	flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    margin: 0 0 14px;
    background: linear-gradient(90deg, #7ba38963, #b5995a);
    border: 1px solid #faf5eb;
    border-radius: 10px;
    font-size: 19px;
    color: #000000;
    box-shadow: 0 6px 22px rgba(0, 0, 0, .06);
}

.hai-form-sky {
    position: relative;
    margin: 12px auto; /* ← centrage horizontal */
    padding: 22px;
    background: #7ba38963;
    border: 1px solid #cbb78b;
    border-radius: 16px;
    box-shadow: var(--hf-shadow);
    overflow: hidden;
    max-width: 600px;
	width: 100%;
}



/* ——— TOPBAR RESPONSIVE FIX ——— */
.hai-form-topbar{
  display:flex;                 /* en ligne */
  flex-direction: row;
  flex-wrap: wrap;              /* retourne à la ligne si besoin */
  align-items:center;
  justify-content:center;
  gap: 8px 16px;                /* espace horizontal/vertical */
  padding:10px 12px;
  width:100%;
  box-sizing:border-box;
  line-height:1.2;
  text-align:center;
}

/* Chaque info = puce/chip non cassable */
.hai-form-topbar .hai-topbar-item,
.hai-form-topbar > span,
.hai-form-topbar > a,
.hai-form-topbar > strong,
.hai-form-topbar > em {
  display:inline-flex;
  align-items:center;
  white-space: nowrap;          /* évite "Paiement" / "sécurisé" sur 2 lignes */
  word-break: keep-all;
  font-weight:700;
  font-size:15px;
}


/* Petites largeurs : taille de texte plus douce */
@media (max-width: 420px){
  .hai-form-topbar{ gap:6px 10px; }
  .hai-form-topbar .hai-topbar-item,
  .hai-form-topbar > span,
  .hai-form-topbar > a,
  .hai-form-topbar > strong,
  .hai-form-topbar > em { font-size:13px; }
}



.hai-form-card {
    background: #fff;
    border: 1px solid var(--hf-line);
    border-radius: 18px;
    padding: 22px;
    max-width: 1240px;
    margin: 0 auto;
    box-shadow: var(--hf-shadow);
}

/* Champs (génériques) */
.hai-form-card label{ display:block; margin:12px 0 6px; font-weight:700; color:var(--hf-ink); }
.hai-form-card input[type="text"],
.hai-form-card input[type="email"],
.hai-form-card input[type="tel"],
.hai-form-card input[type="number"],
.hai-form-card input[type="url"],
.hai-form-card select,
.hai-form-card textarea{
  width:100%; border:1px solid var(--hf-line);
  background:#fff; color:var(--hf-ink);
  border-radius:12px; padding:14px 16px; font-size:16px;
  box-shadow: 0 1px 2px rgba(0,0,0,.03) inset;
}
.hai-form-card input::placeholder,
.hai-form-card textarea::placeholder{ color:#c7b590; opacity:1; }

/* Bouton */
.hai-form-card .button,
.hai-form-card button,
.hai-form-card input[type="submit"]{
  appearance:none; border:1px solid #bfe6ff; background:#fff; color:#0f3140;
  padding:10px 16px; border-radius:12px; font-weight:800; letter-spacing:.5px;
  box-shadow:var(--hf-shadow); cursor:pointer; transition:transform .12s ease, box-shadow .12s ease;
}
.hai-form-card .button:hover,
.hai-form-card button:hover,
.hai-form-card input[type="submit"]:hover{ transform:translateY(-1px); }

.hai-form-note {
    margin: 10px 2px 0;
    color: #575757;
    font-size: 18px;
}

@media (max-width:640px){
  .hai-form-card{ padding:16px; }
}
