/* Amezyst (hub beaute a domicile) : violet amethyste en degrades, nuit aubergine et lavande (charge apres app.css, qui ne lit que ces variables) */
:root {
    --dr-pop: #d9bdf3; /* lavande du titre de l'accueil, sur fond nuit */
    --dr-grad: linear-gradient(135deg, #9b5fd0 0%, #6b3aa6 55%, #4b2575 100%); /* degrade amethyste : boutons, cartes fortes */
    --plum: #6b3aa6;
    --plum-deep: #2a1a3d;
    --plum-ink: #1a1027;
    --rose: #7b45b5;
    --rose-soft: #dcc2f4;
    --cream: #f5f0f9;
    --paper: #fdfbfe;
    --ink: #21162e;
    --ink-2: #5f566a;
    --line: #e9e0f1;
}
.zb-btn--rose { background: var(--dr-grad); box-shadow: 0 10px 24px -10px rgba(107, 58, 166, .8); }
.zb-btn--rose:hover { background: linear-gradient(135deg, #8a4fc0 0%, #5e2f93 55%, #3d1d63 100%); }
/* Tous les boutons d action du hub dans le meme degrade (pas de bouton nuit plus fonce que les autres) */
.zb-btn--plum { background: var(--dr-grad); box-shadow: 0 10px 24px -10px rgba(107, 58, 166, .8); }
.zb-btn--plum:hover { background: linear-gradient(135deg, #8a4fc0 0%, #5e2f93 55%, #3d1d63 100%); }
/* Logo : les cristaux d'amethyste sont une image a part posee sur le logo (viewBox 360 x 100, cristaux de 0 a 100), comme les autres sites */
.zb-logo .zb-logo__full { clip-path: inset(0 0 0 27.78%); }
.zb-logo .zb-logo__mark { left: 0; top: 0; width: 27.78%; transform-origin: 50% 85%; }
.dr-header .zb-logo .zb-logo__full { width: 210px; }
@media (min-width: 1020px) { .dr-header .zb-logo .zb-logo__full { width: 250px; } }
@media (max-width: 439px) { .dr-header .zb-logo .zb-logo__full { width: 170px; } }

/* Sections plus serrees que sur les sites (110 px en haut et en bas) : la page du hub enchaine des blocs courts */
.zb-section { padding: 52px 0; }
@media (min-width: 1020px) { .zb-section { padding: 72px 0; } .zb-head { margin-bottom: 36px; } }

/* ===== Hub Amezyst : accueil, metiers, sites, suivi en direct ===== */
.dr-header .zb-nav a { font-weight: 600; }
@media (min-width: 1020px) { .dr-header .zb-nav { gap: 4px 18px; margin-right: 20px; } }
@media (min-width: 1020px) and (max-width: 1439px) { .dr-header .zb-logo .zb-logo__full { width: 215px; } }
.dr-header__cta { white-space: nowrap; }
@media (max-width: 959px) { .dr-header__cta { display: none; } }
.dr-hero { background: radial-gradient(120% 90% at 85% 0%, #4a2a6e 0%, #2a1a3d 55%), #2a1a3d; padding: 56px 0 64px; }
.dr-hero__inner { position: relative; z-index: 1; }
.dr-hero--pro .dr-hero__inner { display: grid; justify-items: start; gap: 4px; }
.dr-hero .zb-hero__mosaic { min-height: 340px; }
@media (min-width: 1020px) { .dr-hero { padding-top: 44px; } }
.dr-hero .zb-m--c { border-color: #2a1a3d; }
@media (max-width: 1019px) { .dr-hero .zb-hero__grid { position: static; } .dr-hero .zb-hero__mosaic { min-height: 0; } .dr-hero .zb-hero__mosaic::after { background: linear-gradient(180deg, rgba(42, 26, 61, .6) 0%, rgba(42, 26, 61, .88) 45%, #2a1a3d 78%); } }
.dr-hero h1 { max-width: none; }
/* Ordinateur : « Trouvez votre gem beauté » sur une ligne, « à domicile » sur la suivante */
@media (min-width: 1020px) { .dr-hero h1 { font-size: clamp(2.3rem, 3.3vw, 3.2rem); white-space: nowrap; } }
.dr-hero h1 em { white-space: nowrap; }
/* Mobile : titre sur deux lignes (« Trouvez votre gem beauté / à domicile »), sans le retour a la ligne force */
@media (max-width: 599px) { .dr-hero h1 { font-size: clamp(1.75rem, 8.4vw, 2.3rem); } .dr-hero h1 br { display: none; } .dr-hero h1 em { white-space: normal; } }
/* La rangee des metiers defile dans sa colonne au lieu d'elargir la page */
.dr-hero .zb-hero__text { min-width: 0; max-width: 100%; }
/* « Amezing ! » a la fin de l'accroche : le clin d'oeil au nom, en degrade lavande */
.dr-hero .zb-hero__lead em { font-style: normal; font-weight: 700; background: linear-gradient(90deg, #ecdcfa, #b48ae4); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.dr-hero h1 em { color: var(--dr-pop); background: linear-gradient(90deg, #ecdcfa, #b48ae4); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.dr-hero .zb-kicker { color: #d9bdf3; letter-spacing: .14em; }
.dr-search { width: 100%; margin-top: 8px; }
/* Pastilles des metiers sous le texte : sur mobile une ligne qui defile, fleche et fondu a droite tant qu'il en reste ; sur ordinateur, a la ligne */
.dr-chips__wrap { position: relative; z-index: 1; min-width: 0; margin-top: 22px; }
@media (min-width: 1020px) { .dr-chips { flex-wrap: wrap; overflow: visible; -webkit-mask-image: none; mask-image: none; padding-right: 0; } .dr-chips__next { display: none !important; } }
.dr-chips { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); padding-right: 48px; }
.dr-chips.is-end { -webkit-mask-image: none; mask-image: none; padding-right: 0; }
.dr-chips__next { position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #fff; color: var(--plum-deep); box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .5); cursor: pointer; }
.dr-chips__next[hidden] { display: none; }
.dr-chips::-webkit-scrollbar { display: none; }
.dr-chips form { margin: 0; flex: none; scroll-snap-align: start; }
.dr-chip { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px 0 5px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; background: rgba(255, 255, 255, .07); color: #fff; font: inherit; font-weight: 600; font-size: .9rem; white-space: nowrap; cursor: pointer; transition: background .2s, border-color .2s; }
.dr-chip:hover { background: rgba(255, 255, 255, .16); border-color: #d9bdf3; }
.dr-chip img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.dr-hero__stores { grid-column: 1 / -1; position: relative; z-index: 1; margin-top: 0; }
.dr-hero--pro { padding: 48px 0 44px; }
/* Metiers : cartes photo, un clic ouvre la demande */
.dr-services { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.dr-services form { margin: 0; }
.dr-service { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 14px; width: 100%; padding: 10px 16px 10px 10px; border: 1px solid var(--line); border-radius: 18px; background: #fff; font: inherit; text-align: left; color: var(--ink); cursor: pointer; transition: border-color .2s, transform .2s, box-shadow .2s; }
.dr-service:hover { border-color: var(--rose); transform: translateY(-2px); box-shadow: 0 16px 30px -22px rgba(42, 26, 61, .5); }
.dr-service img { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; }
.dr-service span { display: flex; flex-direction: column; min-width: 0; }
.dr-service strong { font-size: .98rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dr-service small { color: var(--ink-2); font-size: .8rem; line-height: 1.35; }
.dr-service svg { color: var(--rose); }
.dr-services--sm { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.dr-services--sm .dr-service { grid-template-columns: 44px 1fr auto; }
.dr-services--sm .dr-service img { width: 44px; height: 44px; border-radius: 10px; }
/* Sites du groupe : presentation concise, lien vers chacun */
.dr-sites { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 14px; }
.dr-sites > li > a, .dr-sitecard { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 16px; height: 100%; padding: 18px; border-radius: 20px; background: var(--cream); color: var(--ink); transition: background .2s; }
.dr-sites > li > a:hover { background: #ece2f5; }
.dr-sites > li > a > img, .dr-sitecard > img { width: 56px; height: 56px; object-fit: contain; }
/* Icone et slogan de la marque (« Shear joy ! »), colonne un peu plus large */
.dr-sites > li > a { grid-template-columns: 96px 1fr auto; }
.dr-sites__id { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.dr-sites__id img { width: 56px; height: 56px; object-fit: contain; }
.dr-sites__id i { font-family: var(--serif); font-size: .92rem; line-height: 1.1; color: var(--rose); }
.dr-sites > li > a > span, .dr-sitecard > span { display: flex; flex-direction: column; min-width: 0; }
.dr-sites strong { font-family: var(--serif); font-size: 1.45rem; font-weight: 500; line-height: 1.1; }
.dr-sites em { font-style: normal; font-weight: 700; font-size: .85rem; color: var(--rose); }
.dr-sites small { color: var(--ink-2); font-size: .82rem; }
.dr-sites > li > a > svg { color: var(--rose); }
/* Espace pro : encart « inscrit(e) sur une marque, les autres en un clic » */
.dr-multi { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; margin: 0 0 28px; padding: 24px 26px; border-radius: 22px; background: var(--dr-grad); color: #fff; }
.dr-multi__ic { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.dr-multi .zb-kicker { color: #ecdcfa; }
.dr-multi h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 4px 0 8px; color: #fff; }
.dr-multi h2 em { color: #ecdcfa; }
.dr-multi p:last-child { margin: 0; color: rgba(255, 255, 255, .88); max-width: 70ch; }
@media (max-width: 559px) { .dr-multi { grid-template-columns: 1fr; } }
.dr-sites--pro .dr-sitecard { grid-template-columns: 56px 1fr; }
.dr-sites--pro .zb-btn { grid-column: 1 / -1; justify-self: start; }
/* Pepites : derniers pros des sites, carte photo ouverte sur leur site */
.dr-gems { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.dr-gem { display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: #fff; color: var(--ink); box-shadow: 0 0 0 1px var(--line); transition: transform .2s, box-shadow .2s; }
.dr-gem:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--rose-soft), 0 18px 34px -22px rgba(42, 26, 61, .55); }
.dr-gem__img { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--cream); }
.dr-gem__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dr-gem__body { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px 14px; min-width: 0; }
.dr-gem__body strong { font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dr-gem__body small { color: var(--ink-2); font-size: .82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dr-gem__body em img { width: 20px; height: 20px; object-fit: contain; margin-right: 2px; }
.dr-gem__body em { display: inline-flex; align-items: center; gap: 5px; margin-top: 4px; font-style: normal; font-weight: 700; font-size: .8rem; color: var(--rose); }
@media (max-width: 559px) { .dr-gems { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
@media (min-width: 900px) { .dr-gemsec .dr-gems { grid-template-columns: repeat(4, 1fr); } }
.dr-gems__more { margin-top: 28px; text-align: center; }
.dr-gems__loading { display: flex; justify-content: center; padding: 28px 0 0; }
.dr-spin { width: 28px; height: 28px; border: 3px solid var(--line); border-top-color: var(--rose); border-radius: 50%; animation: dr-spin .8s linear infinite; }
@keyframes dr-spin { to { transform: rotate(360deg); } }
/* Bouton flottant mobile « Trouvez votre gem » en degrade amethyste */
.zb-fab { background: var(--dr-grad); }
/* « gems » en degrade amethyste dans les titres (accueil et page des gems) */
.dr-gemsec h2 em, .dr-gemhero h1 em { background: linear-gradient(90deg, #b48ae4, #6b3aa6); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-right: .06em; }
.dr-gemhero h1 em { background-image: linear-gradient(90deg, #ecdcfa, #b48ae4); }
/* Page des gems : bandeau nuit comme l'accueil, cristaux, titre, filtres par metier */
.dr-gemhero { color: #fff; padding: 44px 0 40px; }
.dr-gemhero .zb-wrap { position: relative; }
.dr-gemhero__mark { position: absolute; right: 24px; top: -8px; width: 120px; height: 120px; opacity: .9; }
@media (max-width: 759px) { .dr-gemhero__mark { display: none; } }
.dr-gemhero h1 { color: #fff; font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.05; margin: 8px 0 12px; max-width: 16ch; }
.dr-gemhero .zb-hero__lead { max-width: 60ch; color: rgba(255, 255, 255, .78); }
.dr-gemhero .dr-filter { margin: 22px 0 0; }
.dr-gemhero .dr-filter a { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
.dr-gemhero .dr-filter a:hover { background: rgba(255, 255, 255, .16); }
.dr-gemhero .dr-filter a[aria-current="page"] { background: #fff; color: var(--plum-deep); }
.dr-gempage { padding-top: 32px; }
.dr-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.dr-filter a { padding: 8px 16px; border-radius: 999px; background: var(--cream); color: var(--ink); font-weight: 600; font-size: .9rem; }
.dr-filter a:hover { background: #ece2f5; }
.dr-filter a[aria-current="page"] { background: var(--plum-deep); color: #fff; }
/* Reassurance (chiffres de toutes les marques) sous le hero */
.dr-stats { background: #fff; }
.dr-stats strong small { color: var(--rose); }
/* Avis : note globale et cartes (accueil, page « Avis Amezyst ») */
.dr-revscore { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 10px 0 0; color: rgba(255, 255, 255, .85); }
.dr-revscore span { color: #f2c35b; letter-spacing: 2px; }
.dr-revscore strong { color: #fff; font-size: 1.15rem; }
.dr-revscore--light { color: var(--ink-2); justify-content: center; }
.dr-revscore--light strong { color: var(--ink); }
.dr-reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; align-items: start; }
.dr-review { margin: 0; display: flex; flex-direction: column; gap: 10px; padding: 20px 22px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.dr-review__stars { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0; }
.dr-review__stars span { color: #e2a92b; letter-spacing: 2px; }
.dr-review__stars i { font-style: normal; color: var(--line); }
.dr-review__stars small { color: var(--ink-2); font-size: .78rem; text-align: right; }
.dr-review blockquote { margin: 0; color: var(--ink); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.dr-review figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.dr-review__who { display: flex; flex-direction: column; }
.dr-review__who small { color: var(--ink-2); font-size: .8rem; }
.dr-review__pro { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; font-size: .86rem; }
.dr-review__pro > img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.dr-review__pro span { display: flex; flex-direction: column; line-height: 1.2; }
.dr-review__pro small { display: inline-flex; align-items: center; gap: 4px; color: var(--rose); font-size: .76rem; }
.dr-review__pro small img { width: 14px; height: 14px; object-fit: contain; }
/* Suivi en direct : etapes qui s'allument */
.dr-done__h { font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 3.2rem); line-height: 1.05; margin: 6px 0 10px; }
.dr-done__h em { color: var(--rose); }
.dr-done__track { margin: 26px 0 18px; padding: 24px; border-radius: 22px; background: var(--cream); }
.dr-track { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.dr-track li { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; padding: 8px 0; opacity: .45; }
.dr-track li.is-done, .dr-track li.is-now { opacity: 1; }
.dr-track li:not(:last-child)::after { content: ''; position: absolute; left: 21px; top: 50px; bottom: -12px; width: 2px; background: var(--line); }
.dr-track li.is-done:not(:last-child)::after { background: var(--rose); }
.dr-track__dot { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--rose); box-shadow: inset 0 0 0 2px var(--rose); }
.dr-track li.is-done .dr-track__dot { background: var(--plum-deep); color: #d9bdf3; box-shadow: none; }
.dr-track li.is-now .dr-track__dot { animation: dr-ring 1.6s ease-in-out infinite; }
.dr-track__hot strong { color: var(--rose); }
.dr-track p { display: flex; flex-direction: column; }
.dr-track small { color: var(--ink-2); font-size: .85rem; }
.dr-track__open { margin-top: 14px; }
@keyframes dr-ring { 0%, 100% { transform: rotate(0); box-shadow: inset 0 0 0 2px var(--rose), 0 0 0 0 rgba(123, 69, 181, .35); } 10% { transform: rotate(-12deg); } 20% { transform: rotate(10deg); } 30% { transform: rotate(-6deg); } 40% { transform: rotate(0); } 60% { box-shadow: inset 0 0 0 2px var(--rose), 0 0 0 12px rgba(123, 69, 181, 0); } }
@media (prefers-reduced-motion: reduce) { .dr-track li.is-now .dr-track__dot { animation: none; } }
.dr-done__next { margin-top: 44px; }
.dr-done__next h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin-bottom: 16px; }
.dr-account__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.dr-lead { margin-bottom: 16px; padding: 20px 22px; border-radius: 20px; background: var(--cream); }
.dr-lead header { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; margin-bottom: 10px; }
.dr-lead header span { color: var(--ink-2); font-size: .88rem; }
.dr-account__links { margin-top: 24px; color: var(--ink-2); }
/* Pied de page */
.dr-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; margin-top: 32px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); }
.dr-footer__links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.dr-footer__links a { padding: 0; }
.dr-countries { position: relative; font-size: .9rem; }
.dr-countries summary { cursor: pointer; list-style: none; color: #fff; }
.dr-countries > div { position: absolute; bottom: calc(100% + 8px); right: 0; z-index: 5; display: grid; grid-template-columns: repeat(2, minmax(150px, 1fr)); gap: 2px; max-height: 320px; overflow: auto; padding: 10px; border-radius: 14px; background: #fff; box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .5); }
.dr-countries > div a { padding: 6px 8px; border-radius: 8px; color: var(--ink); white-space: nowrap; }
.dr-countries > div a:hover { background: var(--cream); }
/* « Je ne sais pas encore » d'un metier : sur toute la largeur de la grille des familles, pas dans une case */
.zb-fam__kids > .zb-pick__unknown { grid-column: 1 / -1; margin: 0 0 4px; }
/* Fleches des familles du selecteur aux couleurs d'Amezyst (app.css : mauve de Zenaba) */
.zb-fam__toggle { background: #ece2f5; }
.zb-fam__toggle:hover, .zb-fam__toggle[aria-expanded="true"] { background: #dcc2f4; }
