/* Pawdeck – feuille de style unique. Mise en page inspirée d'une fiche produit « one product » (bandeau défilant, lots, gros bouton sombre),
   couleurs de la marque : anthracite #2B2B2B, cuivre #C68A4E, crème #F7F3EC. Polices système uniquement (pas de Google Fonts : RGPD). */
:root {
  --ink: #2B2B2B;
  --ink-soft: #4a4642;
  --muted: #6d6760;
  --copper: #C68A4E;
  --copper-dark: #a9713a;
  --cream: #F7F3EC;
  --cream-2: #efe8dc;
  --white: #ffffff;
  --line: rgba(43, 43, 43, .12);
  --radius: 14px;
  --radius-lg: 18px;
  --shadow: 0 1px 2px rgba(43, 43, 43, .06), 0 8px 24px rgba(43, 43, 43, .07);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: "Oswald", "Bahnschrift", "Avenir Next Condensed", "Roboto Condensed", "Arial Narrow", sans-serif-condensed, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1160px;
  --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.55; font-size: 16px; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration-color: var(--copper); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--copper-dark); }
h1, h2, h3 { font-family: var(--font-head); font-stretch: condensed; font-weight: 700; line-height: 1.1; letter-spacing: .005em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 7vw, 2.7rem); }
h2 { font-size: clamp(1.5rem, 4.5vw, 2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.small { font-size: .875rem; color: var(--muted); }
.center { text-align: center; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.i { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.i-big { width: 2.2rem; height: 2.2rem; color: var(--copper); }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 2px; border-radius: 6px; }

/* Étiquette « à confirmer » (brouillon) */
.tbc { background: #fff1b8; color: #5c4400; border: 1px dashed #c9a400; border-radius: 6px; padding: 0 .35em; font-family: var(--font); font-stretch: normal; font-weight: 600; font-size: .8rem; letter-spacing: 0; text-transform: none; white-space: normal; }
.draft-banner { background: #5c4400; color: #fff7d6; text-align: center; font-size: .85rem; padding: 8px var(--gutter); }

/* En-tête : menu à gauche, logo au centre, panier à droite */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header-inner { display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; min-height: 64px; }
.logo { justify-self: center; }
.logo img { width: 104px; height: auto; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: none; color: var(--ink); cursor: pointer; border-radius: 10px; padding: 0; }
.icon-btn .i { width: 26px; height: 26px; }
.icon-btn:hover { background: var(--cream); color: var(--ink); }
.header-inner > .icon-btn:last-child { justify-self: end; }

/* Bandeau défilant */
.marquee { background: var(--ink); color: var(--cream); overflow: hidden; white-space: nowrap; padding: 11px 0; }
.marquee-track { display: inline-flex; animation: marquee 32s linear infinite; }
.marquee-track span { font-family: var(--font-head); font-stretch: condensed; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .88rem; padding: 0 1.8rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Menu latéral */
.menu { position: fixed; top: 0; bottom: 0; left: 0; width: min(320px, 86vw); background: var(--white); z-index: 60; padding: .6rem 1.2rem 2rem; display: flex; flex-direction: column; box-shadow: 8px 0 30px rgba(0, 0, 0, .18); transform: translateX(-105%); transition: transform .25s ease; }
.menu.is-open { transform: none; }
.menu[hidden], .menu-backdrop[hidden] { display: none; }
.menu-head { display: flex; align-items: center; justify-content: space-between; min-height: 56px; margin-bottom: .6rem; border-bottom: 1px solid var(--line); }
.menu-logo { width: 96px; height: auto; }
.menu > a { font-family: var(--font-head); font-stretch: condensed; font-weight: 700; font-size: 1.3rem; text-decoration: none; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.menu-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, .4); z-index: 55; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font: inherit; font-weight: 700; border-radius: 12px; padding: .85rem 1.6rem; border: 2px solid var(--ink); background: var(--white); color: var(--ink); text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); color: var(--ink); }
.btn-cta { display: flex; align-items: center; justify-content: center; width: 100%; background: var(--ink); color: var(--cream); font-family: var(--font-head); font-stretch: condensed; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 1.25rem; padding: 1.05rem 1rem; border-radius: 12px; text-decoration: none; border: 0; cursor: pointer; transition: background .15s ease, transform .15s ease; }
.btn-cta:hover { background: #111; color: var(--white); transform: translateY(-1px); }
.btn-cta-small { width: auto; font-size: 1.05rem; padding: .75rem 1.2rem; }

/* Fiche produit */
.product { display: grid; grid-template-columns: 1fr; gap: 1.4rem; padding-top: 1rem; padding-bottom: 2rem; }
.gallery { min-width: 0; }
.gallery-frame { position: relative; }
.gallery-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--radius-lg); background: var(--cream); }
.gallery-track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; margin: 0; scroll-snap-align: center; aspect-ratio: 4 / 5; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.gal-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .95); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 2px 10px rgba(0, 0, 0, .18); }
.gal-arrow .i { width: 22px; height: 22px; }
.gal-prev { left: 10px; }
.gal-next { right: 10px; }
.gallery-thumbs { display: flex; gap: .5rem; margin-top: .6rem; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.gallery-thumbs::-webkit-scrollbar { display: none; }
.thumb { flex: 0 0 62px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: none; cursor: pointer; opacity: .65; }
.thumb.is-active { border-color: var(--ink); opacity: 1; }
.thumb img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; height: auto; }

.buybox { min-width: 0; }
.pill { display: flex; align-items: center; gap: .65rem; width: fit-content; margin: .2rem auto .8rem; background: var(--ink); color: var(--cream); border-radius: 999px; padding: .3rem 1.1rem .3rem .3rem; }
.pill img { width: 38px; height: 38px; border-radius: 50%; background: var(--cream); object-fit: contain; }
.pill strong { display: block; font-family: var(--font-head); font-stretch: condensed; font-size: 1.1rem; line-height: 1.1; }
.pill small { display: block; font-size: .76rem; opacity: .8; }
.badge-outline { border: 2px solid var(--ink); text-align: center; font-family: var(--font-head); font-stretch: condensed; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .9rem; padding: .55rem .6rem; margin: 0 0 1rem; }
.buybox h1 { margin-bottom: .25em; }
.price { font-size: 1.95rem; font-weight: 800; letter-spacing: -.01em; margin: 0; }
.price-note { font-size: .85rem; color: var(--muted); margin: 0 0 1rem; }
.benefits { list-style: none; padding: 0; margin: 0 0 1.3rem; display: grid; gap: .45rem; font-weight: 700; }
.benefits li { display: flex; gap: .55rem; align-items: baseline; }
.benefits span { flex: none; width: 1.3em; text-align: center; }

/* Lots */
.lots { border: 0; padding: 0; margin: 0 0 1rem; min-width: 0; }
.lots-title { display: flex; align-items: center; gap: .8rem; width: 100%; padding: 0; margin-bottom: .8rem; font-family: var(--font-head); font-stretch: condensed; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .95rem; color: var(--ink); }
.lots-title::before, .lots-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.lot { position: relative; display: flex; align-items: center; gap: .9rem; background: var(--cream); border: 2px solid transparent; border-radius: var(--radius); padding: 1rem 1rem; margin-bottom: .7rem; cursor: pointer; transition: border-color .15s, background .15s; }
.lot.is-selected { background: var(--white); border-color: var(--ink); box-shadow: var(--shadow); }
.lot input { appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--muted); margin: 0; display: grid; place-items: center; cursor: pointer; }
.lot input:checked { border-color: var(--ink); }
.lot input:checked::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
.lot-main { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: .15rem; }
.lot-name { font-family: var(--font-head); font-stretch: condensed; font-weight: 700; font-size: 1.3rem; line-height: 1.1; }
.lot-sub { font-size: .85rem; color: var(--muted); }
.lot-save { background: var(--copper); color: var(--ink); font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: .12rem .5rem; border-radius: 4px; }
.lot-price { font-weight: 800; font-size: 1.2rem; text-align: right; white-space: nowrap; }
.lot-price .tbc { white-space: normal; display: inline-block; max-width: 120px; }
.lot-ribbon { position: absolute; top: -2px; right: -2px; background: var(--ink); color: var(--cream); font-family: var(--font-head); font-stretch: condensed; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; padding: .28rem .75rem; border-radius: 0 var(--radius) 0 10px; }
.lot:has(.lot-ribbon) { padding-top: 1.5rem; }

/* Commande : produit + quantité */
.order { margin: 0 0 1rem; }
.order .lot { cursor: default; align-items: center; }
.lot-thumb { flex: none; width: 58px; height: 72px; object-fit: cover; border-radius: 10px; }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--ink); border-radius: 999px; margin: .35rem 0 .1rem; background: var(--white); }
.qty button { width: 38px; height: 34px; border: 0; background: none; font-size: 1.25rem; font-weight: 700; color: var(--ink); cursor: pointer; border-radius: 999px; }
.qty button:disabled { opacity: .3; cursor: default; }
.qty output { min-width: 1.6em; text-align: center; font-weight: 800; font-size: 1.05rem; }
.lot-sub[data-qty-hint] { font-weight: 600; }
.lot-sub[data-qty-hint].is-active { color: var(--copper-dark); }
.addon-thumb { flex: none; width: 48px; height: 48px; object-fit: cover; border-radius: 8px; }

/* Options (couverture, express, protection colis) */
.addon { display: flex; align-items: center; gap: .75rem; background: var(--cream); border: 2px solid transparent; border-radius: var(--radius); padding: .8rem 1rem; margin-bottom: .6rem; cursor: pointer; transition: border-color .15s, background .15s; }
.addon.is-checked { background: var(--white); border-color: var(--ink); }
.addon input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--ink); cursor: pointer; }
.addon-ico { flex: none; width: 34px; height: 34px; border-radius: 8px; background: var(--white); display: grid; place-items: center; box-shadow: 0 1px 3px rgba(43, 43, 43, .12); }
.addon-ico .i { width: 20px; height: 20px; color: var(--copper-dark); }
.addon-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.addon-name { font-weight: 800; }
.addon-sub { font-size: .82rem; color: var(--muted); }
.addon-price { font-weight: 800; white-space: nowrap; text-align: right; }
.addon-price .tbc { white-space: normal; display: inline-block; max-width: 110px; }

/* Rangée de confiance */
.trust-row { list-style: none; padding: 0; margin: 1.3rem 0 1.2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; text-align: center; font-family: var(--font-head); font-stretch: condensed; font-weight: 700; font-size: .98rem; line-height: 1.2; }
.trust-row li { display: flex; flex-direction: column; align-items: center; gap: .45rem; }
.trust-row .i { width: 30px; height: 30px; }

/* Accordéons */
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; cursor: pointer; padding: 1rem 2rem 1rem 0; font-weight: 700; position: relative; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: ""; position: absolute; right: .4rem; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.accordion details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.acc-body { padding: 0 0 1rem; color: var(--ink-soft); }
.acc-body p:last-child { margin-bottom: 0; }
.qa summary { display: flex; align-items: center; gap: .85rem; font-family: var(--font-head); font-stretch: condensed; font-size: 1.12rem; line-height: 1.25; }
.qa-ico { width: 22px; height: 22px; }
.qa .acc-body { padding-left: calc(22px + .85rem); }
.qa-more { margin: 1rem 0 0; font-weight: 700; }

/* Blocs image + texte */
.stories { display: grid; gap: 2.6rem; padding-top: 1.5rem; padding-bottom: 3rem; }
.story > img, .media-video { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius-lg); background: var(--cream); margin-bottom: 1.1rem; }
.story h2 { margin-bottom: .4em; }
.story p { color: var(--ink-soft); margin: 0; }
.media-video { position: relative; overflow: hidden; background: #000; }
.media-video video { width: 100%; height: 100%; object-fit: cover; }
.play { position: absolute; inset: 0; margin: auto; width: 72px; height: 72px; border-radius: 50%; border: 0; background: rgba(247, 243, 236, .94); color: var(--ink); cursor: pointer; display: grid; place-items: center; box-shadow: 0 4px 18px rgba(0, 0, 0, .25); }
.play .i { width: 30px; height: 30px; margin-left: 4px; }
.media-video.is-playing .play { display: none; }

/* Promesses */
.promises { background: var(--cream); padding: 2.6rem 0; }
.promise-list { list-style: none; margin: 0 auto; display: grid; gap: 1.5rem; }
.promise-list li { display: flex; gap: 1rem; align-items: flex-start; }
.promise-ico { flex: none; width: 50px; height: 50px; border-radius: 50%; background: var(--ink); color: var(--cream); display: grid; place-items: center; }
.promise-ico .i { width: 24px; height: 24px; }
.promise-list h3 { margin: .1rem 0 .2rem; font-size: 1.3rem; }
.promise-list p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

/* Une question ? */
.ask { background: var(--ink); color: var(--cream); text-align: center; padding: 2.8rem 0; }
.ask h2 { color: var(--white); }
.ask p { max-width: 560px; margin: 0 auto; color: rgba(247, 243, 236, .85); }
.ask a { color: var(--copper); font-weight: 700; }
.ask a:hover { color: var(--cream); }

/* Pages simples */
.page { padding-top: 2rem; padding-bottom: 3.5rem; max-width: 780px; }
.lead { font-size: 1.08rem; color: var(--ink-soft); }
.prose h2 { font-size: 1.45rem; margin-top: 1.8rem; }
.legal { font-size: .97rem; }
.legal h2 { font-size: 1.3rem; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin: 1.2rem 0 1rem; }
.fact { background: var(--cream); border-radius: var(--radius); padding: .9rem 1rem; }
.fact-label { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.fact-value { font-weight: 700; }
.steps { padding-left: 1.2rem; display: grid; gap: .8rem; }
.contact-card { display: flex; gap: 1rem; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.2rem 1.4rem; text-decoration: none; box-shadow: var(--shadow); margin: 1.2rem 0; }
.contact-label { display: block; font-size: .8rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.contact-value { font-size: 1.15rem; font-weight: 800; }
.formular { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.4rem; margin-top: 2rem; }
.accordion-faq summary { font-family: var(--font-head); font-stretch: condensed; font-size: 1.12rem; }

/* Pied de page (clair) */
.site-footer { background: var(--white); color: var(--ink-soft); padding: 2.5rem 0 1.4rem; font-size: .92rem; border-top: 1px solid var(--line); }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--copper-dark); text-decoration: underline; }
.footer-grid { display: grid; gap: 1.8rem; grid-template-columns: 1fr 1fr; }
.footer-brand { grid-column: 1 / -1; }
.footer-logo { width: 110px; height: auto; margin-bottom: .8rem; }
.footer-h { font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink); margin-bottom: .7rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 1rem; font-size: .8rem; color: var(--muted); }
.footer-bottom p { margin: 0; }

/* Barre d'achat collante (mobile) */
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom)); box-shadow: 0 -6px 20px rgba(43, 43, 43, .08); transform: translateY(110%); transition: transform .25s ease; }
.sticky-buy.is-visible { transform: none; }
.sticky-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; max-width: var(--wrap); margin: 0 auto; }
.sticky-name { display: block; font-family: var(--font-head); font-stretch: condensed; font-weight: 700; font-size: 1.15rem; line-height: 1.1; }
.sticky-price { font-size: .85rem; color: var(--ink-soft); }

/* Petit message (paiement pas encore branché) */
.toast { position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%); background: var(--ink); color: var(--cream); padding: .8rem 1.2rem; border-radius: 12px; font-size: .9rem; z-index: 70; max-width: calc(100% - 32px); text-align: center; }

@media (min-width: 700px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer-brand { grid-column: auto; }
  .stories { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .story > img, .media-video { aspect-ratio: 4 / 5; }
  .promise-list { grid-template-columns: repeat(2, 1fr); gap: 1.8rem 2.5rem; }
}

@media (min-width: 900px) {
  :root { --gutter: 24px; }
  .header-inner { min-height: 72px; }
  .logo img { width: 118px; }
  .product { grid-template-columns: 1.1fr 1fr; gap: 3rem; padding-top: 2rem; padding-bottom: 3rem; align-items: start; }
  .gallery { position: sticky; top: 92px; }
  .thumb { flex-basis: 72px; }
  .pill { margin-left: 0; }
  .stories { padding-top: 2.5rem; padding-bottom: 4rem; }
  .promise-list { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
  .promise-list li { flex-direction: column; }
  .sticky-buy { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .marquee-track { animation: none; }
  .marquee { white-space: normal; text-align: center; }
  .marquee-track { flex-wrap: wrap; justify-content: center; }
  .marquee-track span:nth-child(n+5) { display: none; }
}
