/* ==========================================================================
   Shopimy : refonte étape 1 (en-tête façon keetsoon, accueil, fiche produit,
   guide, bulle de chat animée). Charge après main.css.
   ========================================================================== */

/* ---------- En-tête ---------- */
.sh2-header .sh-nav ul { gap: 26px; }
.sh2-header .sh-nav a { position: relative; padding: 6px 0; }
.sh2-header .sh-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.sh2-header .sh-nav a:hover::after, .sh2-header .sh-nav a[aria-current="page"]::after { transform: scaleX(1); }
.sh2-header .sh-nav a[aria-current="page"] { color: var(--primary); }
.sh2-header .sh-mobile-nav a[aria-current="page"] { color: var(--primary); }
@media (min-width: 1024px) {
	.sh2-header .sh-nav { display: block; }
	.sh2-header .sh-header__burger { display: none; }
	.sh2-header .sh-logo { margin-right: 0; }
	.sh2-header .sh-header__actions { margin-left: auto; }
	.sh2-header .sh-mobile-nav { display: none !important; }
}
@media (min-width: 1024px) and (max-width: 1179px) { .sh2-header .sh-nav ul { gap: 18px; } .sh2-header .sh-logo img { width: 140px; } }

/* ---------- Fil d'Ariane ---------- */
.sh2-crumbs { padding-top: 20px; }
.sh2-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: .8125rem; color: var(--fg-soft); }
.sh2-crumbs li + li::before { content: "›"; margin-right: 6px; }
.sh2-crumbs a { color: var(--fg-soft); text-decoration: none; }
.sh2-crumbs a:hover { color: var(--primary); }
.sh2-product.sh-hero { padding-top: 16px; }

/* ---------- Accueil : vidéo d'ouverture ---------- */
.sh2-intro { padding: 24px 0 48px; }
.sh2-intro__grid { display: grid; gap: 28px; align-items: center; }
.sh2-intro .sh-video__media { max-width: 400px; max-height: 72vh; box-shadow: 0 24px 60px -24px rgba(95, 52, 32, .45); }
.sh2-intro__text h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem); line-height: 1.08; letter-spacing: -.02em; margin-bottom: .35em; max-width: 14ch; }
.sh2-intro__sub { font-size: 1.125rem; color: var(--fg-soft); max-width: 46ch; margin-bottom: 28px; }
@media (max-width: 899px) {
	.sh2-intro__text { text-align: center; }
	.sh2-intro__text h1, .sh2-intro__sub { margin-left: auto; margin-right: auto; }
	.sh2-intro { padding-top: 16px; }
	.sh2-intro__grid { gap: 20px; }
	.sh2-intro .sh-video__media { width: auto; height: min(50vh, 520px); max-height: none; aspect-ratio: 9 / 16; }
	.sh2-intro__text h1 { font-size: 1.875rem; }
	.sh2-intro__sub { font-size: 1rem; margin-bottom: 20px; }
}
@media (min-width: 900px) {
	.sh2-intro { padding: 48px 0 88px; }
	.sh2-intro__grid { grid-template-columns: minmax(0, 400px) minmax(0, 560px); justify-content: center; gap: 80px; }
}

.sh-video__sound { white-space: nowrap; }

/* ---------- Accueil : l'offre ---------- */
.sh2-offer { background: var(--card); }
@media (min-width: 900px) { .sh2-offer.sh-hero { padding: 88px 0; } .sh2-offer .sh-hero__grid { align-items: center; } }
.sh2-offer__media { display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; background: var(--muted); }
.sh2-offer__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.sh2-offer__media:hover img { transform: scale(1.03); }
.sh2-offer__title { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.5rem); margin-bottom: .4em; }
.sh2-offer .sh-badges li { background: var(--bg); }
.sh2-more { display: inline-flex; align-items: center; gap: 8px; margin: 4px 0 4px; font-weight: 500; text-decoration: none; }
.sh2-more:hover .sh-icon { transform: translateX(3px); }
.sh2-more .sh-icon { transition: transform .2s; }

/* ---------- Fiche produit : lien vers le guide ---------- */
.sh2-guide-link { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--card); color: var(--fg); text-decoration: none; transition: border-color .2s, background .2s; }
.sh2-guide-link:hover { border-color: var(--primary); color: var(--fg); }
.sh2-guide-link > span:nth-child(2) { display: flex; flex-direction: column; flex: 1; font-size: .875rem; color: var(--fg-soft); line-height: 1.4; }
.sh2-guide-link strong { color: var(--fg); font-size: 1rem; }
.sh2-guide-link__icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px; background: var(--muted); color: var(--primary); flex: none; }
.sh2-guide-link__arrow { color: var(--primary); transition: transform .2s; }
.sh2-guide-link:hover .sh2-guide-link__arrow { transform: translateX(4px); }

/* ---------- Fiche produit : description + caractéristiques ---------- */
.sh2-about-product { display: grid; gap: 40px; }
@media (min-width: 900px) { .sh2-about-product { grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: start; } }
.sh2-about-product__text p { color: var(--fg-soft); font-size: 1.0625rem; max-width: 60ch; }
.sh2-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; margin: 0; }
.sh2-specs > div { padding: 14px 0; border-top: 1px solid var(--border); }
.sh2-specs dt { font-size: .8125rem; color: var(--fg-soft); margin-bottom: 2px; }
.sh2-specs dd { margin: 0; font-weight: 500; }
@media (max-width: 479px) { .sh2-specs { gap: 0 16px; } .sh2-specs dd { font-size: .9375rem; } .sh2-specs > div:last-child { grid-column: 1 / -1; } }

/* ---------- Guide ---------- */
.sh2-guide-head { padding: 24px 0 8px; }
@media (min-width: 900px) { .sh2-guide-head { padding: 40px 0 16px; } }
.sh2-guide-head h1 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3rem); line-height: 1.1; }
.sh2-guide-head .sh-lead { max-width: 64ch; }

/* ---------- Bulle de chat : ombre douce animée ---------- */
@keyframes sh2-bubble-glow {
	0%, 100% { box-shadow: 0 8px 24px rgba(57, 42, 29, .25), 0 0 0 0 rgba(120, 67, 42, .35); }
	50%      { box-shadow: 0 12px 30px rgba(57, 42, 29, .30), 0 0 0 10px rgba(120, 67, 42, 0); }
}
@keyframes sh2-bubble-in { from { opacity: 0; transform: translateY(12px) scale(.96); } to { opacity: 1; transform: none; } }
.sh-bubble__btn { animation: sh2-bubble-glow 2.8s ease-in-out infinite; transition: transform .2s ease, background .2s; }
.sh-bubble__btn:hover { transform: translateY(-2px); animation-play-state: paused; }
.sh-bubble__panel { animation: sh2-bubble-in .28s ease-out; }
@media (prefers-reduced-motion: reduce) { .sh-bubble__btn, .sh-bubble__panel { animation: none; } }

/* ---------- Offre duo ---------- */
.sh-duo { border: 0; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
.sh-duo__opt { position: relative; display: block; cursor: pointer; }
.sh-duo__opt input { position: absolute; opacity: 0; inset: 0; }
.sh-duo__body { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 12px; padding: 14px 18px 14px 46px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); background: var(--card); transition: border-color .2s, background .2s; }
.sh-duo__body::before { content: ""; position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border: 1.5px solid var(--fg-soft); border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 3px var(--card); }
.sh-duo__opt input:checked + .sh-duo__body { border-color: var(--primary); background: var(--bg); }
.sh-duo__opt input:checked + .sh-duo__body::before { border-color: var(--primary); background: var(--primary); }
.sh-duo__opt input:focus-visible + .sh-duo__body { outline: 2px solid var(--primary); outline-offset: 2px; }
.sh-duo__body strong { font-weight: 600; }
.sh-duo__body em { font-style: normal; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--primary); color: var(--on-primary); font-size: .75rem; font-weight: 600; white-space: nowrap; }
.sh-duo__body > span { text-align: right; font-weight: 600; white-space: nowrap; }
.sh-duo__body del { margin-left: 6px; color: var(--fg-soft); font-weight: 400; font-size: .875rem; }
.sh-duo__body small { grid-column: 1 / -1; color: var(--ok); font-size: .8125rem; }
.sh2-offer .sh-duo__body { background: var(--bg); }
.sh2-offer .sh-duo__opt input:checked + .sh-duo__body { background: var(--card); }
@media (max-width: 400px) { .sh-duo__body { grid-template-columns: 1fr; } .sh-duo__body > span { text-align: left; } }
