/* Vente : offres, rassurance, commande, liste VIP. Chargé en dernier sur toutes les pages. */

/* Bandeau d'offres qui défile */
.annonces { display: block; overflow: hidden; white-space: nowrap; background: var(--graphite); color: var(--papier); font: 600 13px var(--texte); letter-spacing: .02em; text-decoration: none; }
.annonces__piste { display: inline-flex; padding: .6rem 0; animation: annonces 32s linear infinite; }
.annonces__piste span { padding-inline: 1.6rem; }
.annonces__piste span::before { content: "✦"; color: var(--cuivre-clair); margin-right: 1.6rem; }
.annonces:hover .annonces__piste { animation-play-state: paused; }
@keyframes annonces { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .annonces__piste { animation: none; } }

/* Boutons */
.btn--achat { background: var(--cuivre); border-color: var(--cuivre); color: #fff; }
.btn--achat:hover { background: var(--graphite); border-color: var(--graphite); }
.btn--petit { height: 38px; padding: 0 1rem; font-size: .9rem; margin-left: .4rem; }
.btn--contour-clair { background: transparent; border-color: #fff; color: #fff; }
.btn--contour-clair:hover { background: #fff; border-color: #fff; color: var(--graphite); }
.final__texte .btn + .btn { margin-left: .6rem; }
@media (max-width: 520px) { .final__texte .btn + .btn { margin: .6rem 0 0; } }

/* Fiche produit */
.atouts { list-style: none; padding: 0; margin: .5rem 0 1.25rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.atouts li { background: var(--graphite); color: var(--papier); border-radius: 999px; padding: .28rem .8rem; font-size: .8rem; font-weight: 600; }
.atouts li:nth-child(even) { background: var(--gris); }
.offre { margin: 1.25rem 0 0; padding: .9rem 1.1rem; border: 1.5px dashed var(--cuivre); border-radius: var(--rayon-carte); background: #fff; font-size: .95rem; line-height: 1.5; }
.offre strong { color: var(--cuivre); }
#offre-etat { font-weight: 600; }
.options { margin: 0 0 1.5rem; }
.options label { display: flex; align-items: center; gap: .8rem; padding: .6rem .9rem; margin-bottom: .5rem; border: 1.5px solid var(--trait); border-radius: var(--rayon); background: #fff; cursor: pointer; }
.options label:has(input:checked) { border-color: var(--graphite); }
.options input { width: 20px; height: 20px; flex: none; accent-color: var(--graphite); }
.options small { display: block; color: var(--gris); font-size: .82rem; }
.options__img { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 6px; background: var(--papier-fonce); overflow: hidden; }
.options__img img { width: 100%; height: 100%; object-fit: cover; }
.options__img svg, .vue--cadeau svg, .pack__cadeau svg { width: 70%; height: 70%; fill: none; stroke: var(--graphite); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.options__prix { margin-left: auto; font-weight: 600; white-space: nowrap; }
#ajouter { flex: 1 1 260px; }
.estimation { margin: 1.25rem 0 .5rem; font-size: .92rem; }
.paiements { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; margin: .5rem 0 0; font-size: .78rem; color: var(--gris); }
.paiements span { margin-right: .3rem; }
.paiements b { padding: .15rem .5rem; border: 1px solid var(--trait); border-radius: 5px; background: #fff; color: var(--graphite); font-weight: 600; }
.pied .paiements { color: rgba(244, 241, 234, .75); margin-top: 1.25rem; }
.pied .paiements b { background: transparent; color: var(--papier); border-color: rgba(244, 241, 234, .35); }
.rassurance { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 1rem 1.25rem; grid-template-columns: 1fr 1fr; }
.rassurance li { display: flex; gap: .7rem; align-items: flex-start; font-size: .88rem; line-height: 1.35; }
.rassurance svg { flex: none; width: 28px; height: 28px; fill: none; stroke: var(--cuivre); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.rassurance strong { display: block; }
.rassurance span { color: var(--gris); }
.rassurance li:last-child { grid-column: 1 / -1; }
.recap .rassurance { grid-template-columns: 1fr; margin-bottom: 0; }
.bande-rassurance { background: #fff; padding-block: 2.5rem; }
.bande-rassurance__titre { font-size: 1.4rem; text-align: center; }
@media (min-width: 860px) {
  .bande-rassurance .rassurance { grid-template-columns: repeat(5, 1fr); }
  .bande-rassurance .rassurance li:last-child { grid-column: auto; }
  .bande-rassurance .paiements { justify-content: center; }
}

/* Lot de mines */
.lot { display: grid; gap: 1rem; align-items: center; margin-top: 2.5rem; padding: 1.25rem; background: #fff; border-radius: var(--rayon-carte); text-align: left; border: 1.5px solid var(--graphite); }
.lot img { width: 100%; height: auto; border-radius: 8px; }
.lot h3 { margin-bottom: .3rem; }
.lot .prix { justify-content: flex-start !important; margin: 0 0 .25rem !important; }
@media (min-width: 620px) { .lot { grid-template-columns: 1fr 1.2fr; } }

/* Mode d'emploi */
.mode { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: 1.5rem; }
.mode img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--rayon-carte); background: #fff; margin-bottom: 1rem; }
.mode p { color: var(--gris); margin: 0; }
@media (min-width: 720px) { .mode { grid-template-columns: repeat(3, 1fr); } }

/* Pack cadeau */
.pack { display: grid; gap: 2rem; align-items: center; scroll-margin-top: 80px; }
.pack__visuel { position: relative; }
.pack__visuel img { width: 100%; max-width: 440px; height: auto; border-radius: var(--rayon-carte); }
.pack__cadeau { position: absolute; right: 8%; bottom: -1rem; width: 96px; height: 96px; border-radius: 50%; background: var(--cuivre); display: grid; place-items: center; box-shadow: 0 10px 24px rgba(30, 34, 38, .25); }
.pack__cadeau svg { stroke: #fff; }
.pack .prix strong { font: 500 28px var(--titres); }
@media (min-width: 860px) { .pack { grid-template-columns: 1fr 1.1fr; gap: 4rem; } .pack__visuel img { margin-left: auto; } }
#pack { scroll-margin-top: 80px; }

/* Fin de page : commander ou liste VIP */
.fin { background: var(--papier); }
.fin__grille { display: grid; gap: 2rem; align-items: stretch; }
.fin__liste { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .4rem; }
.fin__liste li::before { content: "✓"; color: var(--cuivre); font-weight: 700; margin-right: .6rem; }
.fin__vip { background: var(--graphite); color: var(--papier); border-radius: 16px; padding: clamp(1.5rem, 4vw, 2.5rem); }
.fin__vip .etiquette { color: var(--cuivre-clair); }
.fin__vip .note { color: rgba(244, 241, 234, .7); margin: .75rem 0 0; }
.fin__vip .btn, .vip .btn, .merci__vip .btn { background: var(--papier); border-color: var(--papier); color: var(--graphite); }
.fin__vip .btn:hover, .vip .btn:hover, .merci__vip .btn:hover { background: var(--cuivre-clair); border-color: var(--cuivre-clair); }
@media (min-width: 860px) { .fin__grille { grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; } }

/* Barre d'achat collée en bas (téléphone) */
.barre-achat { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; align-items: center; gap: 1rem; padding: .7rem 20px calc(.7rem + env(safe-area-inset-bottom)); background: var(--papier); border-top: 1px solid var(--trait); box-shadow: 0 -8px 20px rgba(30, 34, 38, .08); transform: translateY(110%); transition: transform .3s; }
.barre-achat.visible { transform: none; }
.barre-achat strong { display: block; font-size: .85rem; }
.barre-achat span { font: 500 18px var(--titres); }
.barre-achat .btn { flex: 1; }
@media (min-width: 860px) { .barre-achat { display: none; } }

/* Fenêtre liste VIP */
.vip { position: fixed; right: 16px; bottom: 16px; z-index: 40; width: min(390px, calc(100% - 32px)); background: var(--graphite); color: var(--papier); border-radius: 16px; padding: 1.5rem 1.5rem 1.25rem; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); animation: vip-entre .45s cubic-bezier(.2, 1.2, .4, 1); }
.vip[hidden] { display: none; }
.vip h2 { font-size: 1.6rem; color: var(--papier); padding-right: 1.5rem; }
.vip p { font-size: .92rem; }
.vip .etiquette { color: var(--cuivre-clair); }
.vip .note { color: rgba(244, 241, 234, .65); margin: .5rem 0 0; }
.vip__fermer { position: absolute; top: .4rem; right: .4rem; width: 44px; height: 44px; border: 0; background: none; color: inherit; font-size: 1.6rem; cursor: pointer; }
.vip .newsletter input, .fin__vip .newsletter input, .merci__vip .newsletter input { color: var(--papier); border-color: rgba(244, 241, 234, .5); }
.vip .newsletter input::placeholder, .fin__vip .newsletter input::placeholder, .merci__vip .newsletter input::placeholder { color: rgba(244, 241, 234, .55); }
@keyframes vip-entre { from { opacity: 0; transform: translateY(30px); } }
@media (prefers-reduced-motion: reduce) { .vip { animation: none; } }

/* Panier */
.lignes { list-style: none; padding: 0; margin: 0; }
.vue--cadeau { display: grid; place-items: center; background: var(--papier-fonce); }
.recap .remise { color: #167A46; font-weight: 600; }
.economie { margin: -.5rem 0 1rem; padding: .5rem .75rem; border-radius: 8px; background: #D2EBDD; color: #0F5A33; font-weight: 600; font-size: .92rem; }
.jauge-zone { margin-bottom: 1.25rem; }
.jauge__texte { font-size: .92rem; font-weight: 600; margin: 0 0 .4rem; }
.jauge { height: 8px; border-radius: 99px; background: rgba(30, 34, 38, .12); overflow: hidden; }
.jauge span { display: block; height: 100%; background: #167A46; border-radius: inherit; transition: width .5s ease; }
.suggestions { margin-top: 2rem; display: grid; gap: .6rem; }
.suggestions h2 { font-size: 1.25rem; margin-bottom: .25rem; }
.suggestion { display: flex; align-items: center; gap: 1rem; padding: .8rem 1rem; background: #fff; border: 1px solid var(--trait); border-radius: var(--rayon-carte); }
.suggestion small { display: block; color: var(--gris); font-size: .85rem; }
.suggestion .btn { margin-left: auto; height: 40px; padding: 0 1.1rem; flex: none; }
.recap .btn--bloc { margin-bottom: .25rem; }

/* Commande */
.commande { padding-block: 1.5rem 4rem; }
.fil { display: flex; flex-wrap: wrap; gap: .4rem .9rem; list-style: none; padding: 0; margin: 0 0 1rem; font-size: .88rem; color: var(--gris); }
.fil li + li::before { content: "›"; margin-right: .9rem; }
.fil [aria-current] { color: var(--graphite); font-weight: 600; }
.mode-test { padding: .7rem 1rem; border-radius: 8px; background: #FFF4D6; color: #5C4300; font-size: .88rem; }
.commande__grille { display: grid; gap: 1.5rem; }
.bloc { background: #fff; border: 1px solid var(--trait); border-radius: var(--rayon-carte); padding: clamp(1.1rem, 3vw, 1.6rem); margin-bottom: 1rem; }
.bloc h2 { font-size: 1.3rem; margin-bottom: 1rem; }
.champs { display: grid; gap: .9rem; grid-template-columns: 1fr 1fr; }
.champs .large { grid-column: 1 / -1; }
.champs label { display: block; font-size: .86rem; font-weight: 600; margin-bottom: .3rem; }
.champs input, .champs select { width: 100%; height: 48px; padding: 0 .9rem; border: 1.5px solid var(--trait); border-radius: var(--rayon); background: var(--papier); color: inherit; font: inherit; }
.champs input:focus, .champs select:focus { border-color: var(--graphite); outline: none; }
.champs input:user-invalid { border-color: #B3202A; }
@media (max-width: 520px) { .champs { grid-template-columns: 1fr; } }
.case { display: flex; gap: .7rem; align-items: flex-start; margin-top: 1rem; font-size: .92rem; cursor: pointer; }
.case input { width: 20px; height: 20px; flex: none; margin: .15rem 0 0; accent-color: var(--graphite); }
.case a { color: var(--cuivre); }
.moyens { display: grid; gap: .5rem; }
.moyens label { display: flex; align-items: center; gap: .8rem; padding: .8rem 1rem; border: 1.5px solid var(--trait); border-radius: var(--rayon); cursor: pointer; }
.moyens label:has(input:checked) { border-color: var(--graphite); background: var(--papier); }
.moyens input { width: 18px; height: 18px; accent-color: var(--graphite); flex: none; }
.moyens small { display: block; color: var(--gris); font-size: .82rem; }
.moyens b { margin-left: auto; }
.btn--payer { height: 56px; font-size: 17px; margin-top: .75rem; background: var(--cuivre); border-color: var(--cuivre); color: #fff; }
.btn--payer:hover { background: var(--graphite); border-color: var(--graphite); }
.centre { text-align: center; margin-top: .75rem; }
.recap h2 { font-size: 1.25rem; }
.recap-lignes { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .75rem; }
.recap-lignes li { display: grid; grid-template-columns: 56px 1fr auto; gap: .75rem; align-items: center; font-size: .92rem; }
.recap-lignes small { display: block; color: var(--gris); font-size: .8rem; }
.recap-lignes__img { position: relative; width: 56px; height: 56px; border-radius: 8px; overflow: hidden; background: #fff; }
.recap-lignes__img img { width: 100%; height: 100%; object-fit: contain; }
.recap-lignes__img b { position: absolute; top: 2px; right: 2px; min-width: 20px; height: 20px; border-radius: 99px; background: var(--graphite); color: var(--papier); font-size: .72rem; display: grid; place-items: center; }
@media (min-width: 860px) { .commande__grille { grid-template-columns: 1.4fr 1fr; gap: 2.5rem; align-items: start; } .commande .recap { margin-top: 0; position: sticky; top: 96px; } }
.merci { max-width: 640px; margin: 0 auto; text-align: center; padding-block: 2rem; }
.merci > svg { width: 72px; height: 72px; margin: 0 auto 1rem; fill: none; stroke: #167A46; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.merci h1 { font-size: clamp(2rem, 5vw, 3rem); outline: none; }
.merci__vip { margin: 2rem 0; padding: 1.5rem; border-radius: 16px; background: var(--graphite); color: var(--papier); text-align: left; }
.merci__vip h2 { font-size: 1.4rem; }

/* Panier sur téléphone : rien ne dépasse à droite */
.ligne > div { min-width: 0; }
@media (max-width: 520px) {
  .ligne { grid-template-columns: 64px 1fr auto; gap: .75rem; align-items: start; }
  .ligne__outils { flex-wrap: wrap; gap: .4rem .9rem; }
  .ligne > strong { padding-top: .1rem; white-space: nowrap; }
}

/* Offre d'ouverture bien visible */
.badge--ouverture { font-size: 13px; padding: .35rem .75rem; letter-spacing: .06em; }
.ouverture__promo { font-size: 15px; padding: .45rem .9rem; }

/* Avant l'ouverture (1er février) : compte à rebours, boutons « Bientôt dispo » */
html:not(.bientot) .seulement-avant { display: none !important; }
.piege { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.btn--bientot { background: var(--graphite) !important; border-color: var(--graphite) !important; color: #fff !important; position: relative; overflow: hidden; }
.btn--bientot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%); transform: translateX(-100%); animation: reflet 2.8s ease-in-out infinite; }
.btn--bientot:hover { background: var(--c-rouge, #B3202A) !important; border-color: var(--c-rouge, #B3202A) !important; }
@keyframes reflet { 60%, 100% { transform: translateX(100%); } }

.rebours { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.5rem, 2vw, 1.25rem); width: 100%; max-width: 900px; margin: 0 auto; }
.rebours__case { border-radius: clamp(10px, 2vw, 18px); padding: clamp(.8rem, 3vw, 1.8rem) .3rem clamp(.6rem, 2vw, 1.2rem); color: #fff; text-align: center; box-shadow: 0 14px 30px rgba(0, 0, 0, .25); }
.rebours__case--gris { background: var(--c-gris, #3A3F46); }
.rebours__case--rouge { background: var(--c-rouge, #B3202A); }
.rebours__case--bleu { background: var(--c-bleu, #1B55B5); }
.rebours__case--vert { background: var(--c-vert, #167A46); }
.rebours b { display: block; font: 600 clamp(44px, 13vw, 150px)/1 var(--titres); font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.rebours span { display: block; margin-top: .5rem; font: 600 clamp(10px, 1.6vw, 14px) var(--texte); letter-spacing: .16em; text-transform: uppercase; opacity: .85; }
.rebours b.bouge { animation: bouge .45s cubic-bezier(.2, .9, .3, 1.3); }
@keyframes bouge { from { transform: translateY(-.25em) scale(.9); opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .rebours b.bouge, .btn--bientot::after { animation: none; } }

.rebours-section { background: var(--graphite); color: var(--papier); text-align: center; overflow: hidden; }
.rebours-section .etiquette { color: var(--cuivre-clair); }
.rebours-section h2 { font-size: clamp(32px, 6vw, 72px); margin-bottom: 1.5rem; }
.rebours-section__vip { max-width: 560px; margin: 2.5rem auto 0; }
.rebours-section__vip p { color: rgba(244, 241, 234, .85); }
.rebours-section .newsletter { margin: 0 auto 1rem; justify-content: center; }
.rebours-section .newsletter .btn { background: var(--c-rouge, #B3202A); border-color: var(--c-rouge, #B3202A); color: #fff; }
.rebours-section .newsletter .btn:hover { background: var(--papier); border-color: var(--papier); color: var(--graphite); }
.rebours-section .note { color: rgba(244, 241, 234, .6); }

.rebours--petit, .rebours-produit .rebours { max-width: 100%; gap: .45rem; margin: .5rem 0 1rem; }
.rebours--petit .rebours__case, .rebours-produit .rebours__case { padding: .65rem .2rem .5rem; border-radius: 10px; box-shadow: none; }
.rebours--petit b, .rebours-produit b { font-size: clamp(26px, 5vw, 38px); }
.rebours--petit span, .rebours-produit span { font-size: 10px; margin-top: .25rem; }
.rebours-produit { margin-top: 1.25rem; }
.rebours-produit .etiquette { margin-bottom: .3rem; }

.fermee { max-width: 640px; margin: 1rem auto 3rem; text-align: center; }
.fermee h2 { font-size: clamp(28px, 5vw, 44px); }
.fermee .rebours { margin: 1.5rem auto; }
.fermee .rebours b { font-size: clamp(32px, 8vw, 64px); }
.fermee .newsletter { margin: 1rem auto 1.5rem; justify-content: center; }
.fermee .newsletter input { color: var(--graphite); border-color: var(--graphite); }
.fermee .newsletter input::placeholder { color: var(--gris); }

/* Notre vision */
.vision { background: var(--papier); }
.vision__piliers { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; }
@media (min-width: 820px) { .vision__piliers { grid-template-columns: repeat(3, 1fr); } }
.vision__piliers li { background: #fff; border-radius: var(--rayon-carte); padding: 1.6rem 1.5rem; border-top: 6px solid var(--c-rouge, #B3202A); }
.vision__piliers li:nth-child(2) { border-top-color: var(--c-bleu, #1B55B5); }
.vision__piliers li:nth-child(3) { border-top-color: var(--c-vert, #167A46); }
.vision__piliers span { display: block; font: 600 34px var(--titres); color: var(--c-rouge, #B3202A); margin-bottom: .4rem; }
.vision__piliers li:nth-child(2) span { color: var(--c-bleu, #1B55B5); }
.vision__piliers li:nth-child(3) span { color: var(--c-vert, #167A46); }
.vision__piliers p { margin: 0; color: var(--gris); }
.vision__signature { text-align: center; font: 500 clamp(20px, 3vw, 28px) var(--titres); margin: 2.5rem auto 0; max-width: 30ch; }
@media (max-width: 600px) { .rebours span { letter-spacing: .04em; font-size: 9px; } }

/* Logos de paiement */
.paiements span { flex-basis: 100%; }
.paiements img { width: 48px; height: 30px; display: block; border-radius: 5px; box-shadow: 0 0 0 1px var(--trait); }
.pied .paiements img { box-shadow: none; }
.bande-rassurance .paiements { justify-content: center; }
