/* Doucelle — page d'accueil (scope .dh, préfixe .dh-). Structure klyne.shop, couleurs Doucelle.
   Mobile d'abord (390 px) ; colonnes à 900 px. Texte courant 16 px : la lectrice a 60-75 ans. */
.dh {
    --ink: #1f1a2b; --txt: #3d3849; --mute: #6b6577;
    --lav: #c4a3f9; --lav-2: #efe6fe; --lav-3: #f7f2ff; --wall: #c9bad9;
    --vio: #7b4fd6; --vio-d: #6a3fc4; --ok: #7b4fd6; --no: #e04848; --star: #f5b301; --line: #ece6f5;
    color: var(--txt); font-size: 16px; line-height: 1.5; overflow-x: clip;
}
.dh *, .dh *::before, .dh *::after { box-sizing: border-box; }
.dh img { display: block; max-width: 100%; height: auto; }
.dh h1, .dh h2, .dh h3 { font-family: 'Poppins', 'Questrial', system-ui, sans-serif; color: var(--ink); margin: 0; }
.dh-sec { padding: 44px 16px; max-width: 1180px; margin: 0 auto; }
.dh-h2 { font-size: 25px; line-height: 1.25; font-weight: 600; text-align: center; margin-bottom: 22px !important; }
.dh-h2 small { display: block; font-size: 19px; font-weight: 500; color: var(--txt); margin-top: 4px; }
.dh-h3 { font-size: 21px; line-height: 1.3; font-weight: 600; text-align: center; margin-bottom: 22px !important; }
.dh-stars { color: var(--star); letter-spacing: 1px; }

/* ---- Boutons ---- */
.dh-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 54px; padding: 14px 22px;
    border-radius: 999px; border: 0; background: var(--vio); color: #fff; font: 600 17px/1.2 'Poppins', system-ui, sans-serif;
    text-decoration: none; text-transform: uppercase; letter-spacing: .3px; cursor: pointer; box-shadow: 0 6px 18px rgba(123, 79, 214, .28); }
.dh-btn:hover { background: var(--vio-d); }
.dh-btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.dh-btn--light { background: #fff; color: var(--ink); box-shadow: 0 6px 18px rgba(31, 26, 43, .16); }
.dh-btn--light:hover { background: var(--lav-3); }
.dh-btn--soft { background: var(--lav-2); color: var(--ink); box-shadow: none; max-width: 420px; margin: 26px auto 0; }
.dh-btn--soft:hover { background: var(--lav); }
.dh-btn.is-loading { opacity: .7; }

/* ---- 1. Héros ---- */
.dh-hero { position: relative; background: var(--wall); }
.dh-hero__pic img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; object-position: center bottom; }
.dh-hero__txt { position: absolute; inset: 0 0 auto 0; padding: 22px 18px 0; text-align: center; }
.dh-hero__pre { display: inline-block; margin: 0 0 10px; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .72);
    color: var(--ink); font: 600 12.5px/1.3 'Poppins', system-ui, sans-serif; text-transform: uppercase; letter-spacing: .4px; }
.dh-hero__h1 { font-size: 29px; line-height: 1.16; font-weight: 700; letter-spacing: -.3px; }
.dh-hero__h1 em { font-style: normal; background: linear-gradient(transparent 58%, rgba(255, 255, 255, .8) 58%); padding: 0 2px; }
.dh-hero__sub { margin: 10px auto 0; max-width: 330px; color: var(--ink); font-size: 16px; line-height: 1.4; }
.dh-hero__cta--desk { display: none; }
.dh-hero__cta--mob { padding: 18px 16px 6px; max-width: 460px; margin: 0 auto; text-align: center; }
.dh-hero__trust { margin: 10px 0 0; font-size: 14.5px; color: var(--mute); text-align: center; }

/* ---- 2. Presse ---- */
.dh-press { padding-top: 34px; padding-bottom: 30px; }
.dh-press__grid { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; max-width: 520px; }
.dh-press__grid li { background: #f6f5f8; border-radius: 6px; height: 72px; display: flex; align-items: center; justify-content: center; padding: 14px; }
.dh-press__grid img { max-height: 30px; width: auto; filter: grayscale(1) contrast(1.2); }

/* ---- Icônes ---- */
.dh-ico { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%;
    background: var(--lav-2); color: var(--vio); flex: none; }
.dh-ico svg { width: 24px; height: 24px; }

/* ---- 3. Pourquoi choisir ---- */
.dh-why { padding-top: 26px; }
.dh-why__grid { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 6px; align-items: center; max-width: 820px; margin: 0 auto; }
.dh-why__grid > * { min-width: 0; }
.dh-why__col { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.dh-why__item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 5px; }
.dh-why__item b { color: var(--ink); font: 600 13.5px/1.25 'Poppins', system-ui, sans-serif; }
.dh-why__item span:last-child { font-size: 12.5px; line-height: 1.3; color: var(--mute); }
.dh-why__prod img { width: 100%; aspect-ratio: 1; object-fit: contain; transform: scale(1.3); }
.dh-why__col { position: relative; z-index: 1; }

/* ---- 4. Vidéos ---- */
.dh-reels__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 640px; margin: 0 auto; }
.dh-reels__row > * { min-width: 0; }
.dh-reel { margin: 0; }
.dh-reel__box { position: relative; border-radius: 14px; overflow: hidden; background: #ddd; aspect-ratio: 9 / 16; }
.dh-reel__box video { width: 100%; height: 100%; object-fit: cover; display: block; }
.dh-reel__sound { position: absolute; top: 8px; right: 8px; width: 38px; height: 38px; border-radius: 50%; border: 0;
    background: rgba(255, 255, 255, .88); color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.dh-reel__sound svg { width: 20px; height: 20px; }
.dh-reel__w { display: none; }
.is-sound .dh-reel__w { display: inline; }
.is-sound .dh-reel__x { display: none; }
.dh-reel figcaption { margin-top: 8px; font-size: 13.5px; line-height: 1.35; color: var(--mute); text-align: center; }

/* ---- Carrousels (scroll-snap, sans librairie) ---- */
.dh-rail { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 16px 10px; margin: 0 -16px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.dh-rail::-webkit-scrollbar { display: none; }
.dh-rail > * { scroll-snap-align: center; flex: 0 0 80%; min-width: 0; }
.dh-dots { display: flex; justify-content: center; gap: 7px; margin-top: 8px; }
.dh-dots i { width: 7px; height: 7px; border-radius: 50%; background: #d8cfe6; }
.dh-dots i.is-on { background: var(--vio); }

/* ---- 5. Avant / après ---- */
.dh-rating { text-align: center; margin: -8px 0 18px; font-size: 17px; color: var(--ink); }
.dh-rating small { font-size: 14px; color: var(--mute); }
.dh-bacard { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 4px 14px rgba(31, 26, 43, .06); }
.dh-bacard__img { position: relative; }
.dh-bacard__img img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.dh-bacard__zone { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); background: #fff; color: var(--ink);
    font: 600 12.5px/1 'Poppins', system-ui, sans-serif; padding: 7px 12px; border-radius: 999px; white-space: nowrap; }
.dh-bacard__lab { position: absolute; bottom: 10px; color: #fff; font: 600 12.5px/1 'Poppins', system-ui, sans-serif; text-transform: uppercase;
    letter-spacing: .6px; background: rgba(31, 26, 43, .55); padding: 6px 10px; border-radius: 999px; }
.dh-bacard__lab--l { left: 10px; } .dh-bacard__lab--r { right: 10px; background: var(--vio); }
.dh-bacard__name { margin: 14px 16px 4px; font: 600 16px/1.3 'Poppins', system-ui, sans-serif; color: var(--ink); }
.dh-bacard__txt { margin: 0 16px 18px; font-size: 15.5px; line-height: 1.5; font-style: italic; }

/* ---- 6. Bloc produit ---- */
.dh-prod { border-top: 1px solid var(--line); }
.dh-prod__grid { display: grid; gap: 22px; }
.dh-prod__grid > * { min-width: 0; }
.dh-gal__main img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.dh-gal__thumbs { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; scrollbar-width: none; }
.dh-gal__thumbs button { flex: 0 0 58px; height: 58px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: none; cursor: pointer; }
.dh-gal__thumbs button[aria-current="true"] { border-color: var(--vio); }
.dh-gal__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.dh-info__rating { margin: 0 0 6px; font-size: 14.5px; }
.dh-info__title { font-size: 26px; line-height: 1.2; font-weight: 600; }
.dh-info__stock { display: inline-flex; align-items: center; gap: 8px; margin: 10px 0 0; font-size: 14.5px; color: #c22f2f; font-weight: 600; }
.dh-dot { width: 9px; height: 9px; border-radius: 50%; background: #e04848; box-shadow: 0 0 0 0 rgba(224, 72, 72, .6); animation: dh-pulse 1.8s infinite; }
@keyframes dh-pulse { 70% { box-shadow: 0 0 0 8px rgba(224, 72, 72, 0); } 100% { box-shadow: 0 0 0 0 rgba(224, 72, 72, 0); } }
@media (prefers-reduced-motion: reduce) { .dh-dot { animation: none; } }
.dh-info__price { margin: 10px 0 0; font-size: 15px; color: var(--mute); }
.dh-info__price b { font: 700 26px/1 'Poppins', system-ui, sans-serif; color: var(--ink); margin-right: 6px; }
.dh-info__list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 9px; }
.dh-info__list li { position: relative; padding-left: 30px; font-size: 16px; line-height: 1.4; }
.dh-info__list li::before { content: ''; position: absolute; left: 0; top: 1px; width: 21px; height: 21px; border-radius: 50%; background: var(--lav-2)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.6l4.6-5' fill='none' stroke='%237b4fd6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }
.dh-info__list b { color: var(--ink); }
.dh-timer { margin: 20px 0 0; padding: 10px 12px; border-radius: 8px; background: var(--lav-3); border: 1px dashed var(--lav); text-align: center;
    font: 600 14.5px/1.3 'Poppins', system-ui, sans-serif; color: var(--ink); }
.dh-timer__clock { font-variant-numeric: tabular-nums; color: var(--vio); }

.dh-tiers { display: grid; gap: 12px; margin: 16px 0 16px; }
.dh-tier { position: relative; border: 2px solid #e2dbeb; border-radius: 12px; background: #fff; cursor: pointer; overflow: hidden; }
.dh-tier--badge { margin-top: 10px; overflow: visible; }
.dh-tier[aria-checked="true"] { border-color: var(--vio); box-shadow: 0 6px 18px rgba(123, 79, 214, .16); background: var(--lav-3); }
.dh-tier:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.dh-tier__badge { position: absolute; top: -11px; right: 12px; background: var(--vio); color: #fff; font: 700 11.5px/1 'Poppins', system-ui, sans-serif;
    padding: 6px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .4px; z-index: 1; }
.dh-tier__main { display: grid; grid-template-columns: 22px 52px 1fr auto; gap: 10px; align-items: center; padding: 12px 12px; }
.dh-tier__main > * { min-width: 0; }
.dh-tier__radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #c9bfd8; display: flex; align-items: center; justify-content: center; }
.dh-tier__radio svg { width: 12px; height: 12px; opacity: 0; }
.dh-tier[aria-checked="true"] .dh-tier__radio { background: var(--vio); border-color: var(--vio); }
.dh-tier[aria-checked="true"] .dh-tier__radio svg { opacity: 1; }
.dh-tier__img img { width: 52px; height: 52px; object-fit: contain; border-radius: 6px; background: var(--lav-3); }
.dh-tier__name { font: 600 16.5px/1.25 'Poppins', system-ui, sans-serif; color: var(--ink); }
.dh-tier__name small { display: block; font: 500 12.5px/1.3 'Questrial', system-ui, sans-serif; color: #1f8a57; margin-top: 3px; }
.dh-tier__pricing { text-align: right; }
.dh-tier__each { display: block; font: 700 18px/1.1 'Poppins', system-ui, sans-serif; color: var(--ink); white-space: nowrap; }
.dh-tier__each small { font: 500 12px/1 'Questrial', system-ui, sans-serif; color: var(--mute); margin-left: 2px; }
.dh-tier__was { font-size: 13.5px; color: var(--mute); }
.dh-tier__band { display: flex; align-items: center; gap: 10px; padding: 7px 12px; background: var(--lav-2); font-size: 13.5px; color: var(--ink); }
.dh-tier__band:last-child { border-radius: 0 0 10px 10px; }
.dh-tier__band img { width: 28px; height: 28px; object-fit: cover; border-radius: 4px; }
.dh-tier__band span { flex: 1; min-width: 0; }
.dh-tier__band s { color: var(--mute); font-size: 12.5px; }
.dh-atc-error { margin: 10px 0 0; color: #b42318; font-size: 14.5px; text-align: center; }

.dh-payrow { margin-top: 14px; }
.dh-payrow .dc-paylist { gap: 7px; }
.dh-payrow .dc-paylist svg { width: 38px; height: 24px; }

.dh-reass { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; }
.dh-reass li { display: grid; grid-template-columns: 40px 1fr; column-gap: 9px; align-items: center; }
.dh-reass .dh-ico { width: 40px; height: 40px; grid-row: span 2; }
.dh-reass .dh-ico svg { width: 21px; height: 21px; }
.dh-reass b { font: 600 13.5px/1.25 'Poppins', system-ui, sans-serif; color: var(--ink); }
.dh-reass span:last-child { font-size: 12.5px; line-height: 1.3; color: var(--mute); }

.dh-acc { margin-top: 20px; border-top: 1px solid var(--line); }
.dh-acc details { border-bottom: 1px solid var(--line); }
.dh-acc summary, .dh-faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.dh-acc summary::-webkit-details-marker, .dh-faq__item summary::-webkit-details-marker { display: none; }
.dh-acc summary { padding: 16px 2px; font: 600 15.5px/1.3 'Poppins', system-ui, sans-serif; color: var(--ink); }
.dh-acc summary::after, .dh-faq__item summary::after { content: '+'; font: 400 24px/1 system-ui, sans-serif; color: var(--vio); flex: none; }
.dh-acc details[open] summary::after, .dh-faq__item[open] summary::after { content: '−'; }
.dh-acc details p, .dh-acc details ol { margin: 0 0 14px; font-size: 15.5px; }
.dh-acc details ol { padding-left: 20px; display: grid; gap: 6px; }

/* ---- 7. Comparatif ---- */
.dh-cmp__table { max-width: 640px; margin: 0 auto; }
.dh-cmp__row { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1fr; align-items: stretch; }
.dh-cmp__row > * { min-width: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.dh-cmp__row > [role="rowheader"] { justify-content: flex-start; text-align: left; font: 600 14px/1.3 'Poppins', system-ui, sans-serif; color: var(--ink); padding-left: 0; }
.dh-cmp__head > * { flex-direction: column; gap: 6px; border-bottom: 0; padding-top: 14px; }
.dh-cmp__head b { font: 600 13px/1.2 'Poppins', system-ui, sans-serif; color: var(--ink); }
.dh-cmp__head img { width: 52px; height: 52px; object-fit: contain; border-radius: 8px; background: #fff; }
.dh-cmp__us { background: var(--lav-2); border-bottom-color: rgba(255, 255, 255, .7) !important; }
.dh-cmp__head .dh-cmp__us { border-radius: 14px 14px 0 0; }
.dh-cmp__row:last-child .dh-cmp__us { border-radius: 0 0 14px 14px; }
.dh-cmp__row:last-child > * { border-bottom: 0; }
.dh-cmp__row em { font-style: normal; font-size: 13px; line-height: 1.3; color: var(--txt); }
.dh-cmp__us em { font-weight: 700; color: var(--ink); }
.dh-ok, .dh-no { display: inline-block; width: 26px; height: 26px; border-radius: 50%; background: center / 14px no-repeat; }
.dh-ok { background-color: var(--ok); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.6l4.6-5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.dh-ok--soft { background-color: #b9a6dc; }
.dh-no { background-color: var(--no); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m3.5 3.5 5 5m0-5-5 5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }

/* ---- 8. FAQ ---- */
.dh-faq__list { display: grid; gap: 10px; max-width: 720px; margin: 0 auto; }
.dh-faq__item { background: var(--lav-2); border-radius: 12px; padding: 0 18px; }
.dh-faq__item summary { padding: 18px 0; font: 600 15.5px/1.35 'Poppins', system-ui, sans-serif; color: var(--ink); }
.dh-faq__item p { margin: 0 0 18px; font-size: 15.5px; }

/* ---- 9. Photos + avis ---- */
.dh-rev__grid { display: grid; gap: 18px; }
.dh-rev__grid > * { min-width: 0; }
.dh-rail--photos > * { flex-basis: 62%; }
.dh-photo { margin: 0; }
.dh-photo img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 12px; }
.dh-rail--reviews > * { flex-basis: 78%; }
.dh-revcard { border: 1px solid var(--line); border-radius: 12px; padding: 18px 16px; background: #fff; display: flex; flex-direction: column; gap: 8px; }
.dh-revcard__t { margin: 0; font: 600 16px/1.3 'Poppins', system-ui, sans-serif; color: var(--ink); }
.dh-revcard__txt { margin: 0; font-size: 15.5px; flex: 1; }
.dh-revcard__name { margin: 0; font-size: 14.5px; color: var(--mute); font-weight: 600; }

/* ---- 10. Réassurances ---- */
.dh-icons { background: var(--lav-3); max-width: none; }
.dh-icons ul { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 24px 12px; max-width: 1000px; }
.dh-icons li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.dh-icons b { font: 600 15px/1.25 'Poppins', system-ui, sans-serif; color: var(--ink); }
.dh-icons span:last-child { font-size: 13.5px; color: var(--mute); }

/* ================= Ordinateur ================= */
@media (min-width: 900px) {
    .dh-sec { padding: 64px 32px; }
    .dh-h2 { font-size: 34px; margin-bottom: 30px !important; }
    .dh-h2 small { font-size: 24px; }
    .dh-h3 { font-size: 28px; }
    .dh-hero__pic img { aspect-ratio: 16 / 9; max-height: 680px; object-position: center; }
    .dh-hero__txt { inset: 0 auto 0 0; width: 46%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
        text-align: left; padding: 0 0 0 max(40px, calc((100vw - 1180px) / 2)); }
    .dh-hero__h1 { font-size: 46px; }
    .dh-hero__sub { margin-left: 0; max-width: 460px; font-size: 19px; }
    .dh-hero__cta--desk { display: block; margin-top: 26px; min-width: 360px; }
    .dh-hero__cta--desk .dh-hero__trust { text-align: left; color: var(--ink); }
    .dh-hero__cta--mob { display: none; }
    .dh-press__grid { grid-template-columns: repeat(4, 1fr); max-width: 900px; }
    .dh-why__grid { grid-template-columns: 1fr 1.3fr 1fr; gap: 28px; max-width: 1000px; }
    .dh-why__prod img { transform: none; }
    .dh-why__item b { font-size: 16px; }
    .dh-why__item span:last-child { font-size: 14px; }
    .dh-why__col { gap: 34px; }
    .dh-ico { width: 56px; height: 56px; }
    .dh-reels__row { gap: 18px; }
    .dh-rail { margin: 0; padding: 2px 0 10px; }
    .dh-rail > * { flex-basis: calc((100% - 28px) / 3); }
    .dh-prod__grid { grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: start; }
    .dh-gal { position: sticky; top: 90px; }
    .dh-gal__thumbs button { flex-basis: 76px; height: 76px; }
    .dh-info__title { font-size: 32px; }
    .dh-rev__grid { grid-template-columns: 1fr 1.2fr; align-items: start; gap: 28px; }
    .dh-rail--photos > * { flex-basis: 70%; }
    .dh-rail--reviews { flex-direction: column; overflow: visible; }
    .dh-rail--reviews > * { flex-basis: auto; }
    .dh-icons ul { grid-template-columns: repeat(4, 1fr); }
}
