/* Deguisto : design system. Clair, chaleureux, conversion d'abord. */
@font-face {
  font-family: "Bricolage";
  src: url("/fonts/bricolage.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
:root {
  --ink: #241536;
  --ink-soft: #4b3a63;
  --muted: #6f6482;
  --bg: #faf7f2;
  --card: #ffffff;
  --line: #eae3d8;
  --accent: #e8590c;
  --accent-dark: #c9480a;
  --accent-soft: #fff1e8;
  --violet: #241536;
  --ok: #1e7d4f;
  --radius: 14px;
  --shadow: 0 2px 10px rgba(36, 21, 54, .07);
  --shadow-lg: 0 12px 32px rgba(36, 21, 54, .14);
  --font-display: "Bricolage", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-dark); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -.01em; }
h1 { font-size: clamp(1.7rem, 4.5vw, 2.6rem); font-weight: 800; }
h2 { font-size: clamp(1.35rem, 3vw, 1.85rem); font-weight: 700; }
h3 { font-size: 1.05rem; font-weight: 700; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.wrap-article { max-width: 820px; }
.center { text-align: center; }
.center-page { text-align: center; padding: 72px 20px; }
.center-page h1 { margin-bottom: 16px; }
.center-page p { margin-bottom: 16px; }

/* ---------- header ---------- */
.topbar {
  background: var(--violet); color: #f4ecff; text-align: center;
  font-size: .8rem; padding: 7px 12px; letter-spacing: .02em;
}
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 242, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.hdr-in { display: flex; align-items: center; gap: 26px; height: 62px; }
.logo {
  display: flex; align-items: center; gap: 9px; text-decoration: none;
  color: var(--ink); font-family: var(--font-display); font-weight: 800; font-size: 1.35rem;
}
.nav { display: flex; gap: 16px; margin-left: auto; }
.nav a {
  text-decoration: none; color: var(--ink-soft); font-weight: 600; font-size: .95rem;
  padding: 6px 2px; border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a.on { color: var(--accent-dark); border-bottom-color: var(--accent); }
.hdr-right { display: flex; align-items: center; gap: 14px; }
.cart-btn { position: relative; color: var(--ink); display: flex; padding: 6px; }
.cart-count {
  position: absolute; top: -2px; right: -4px; background: var(--accent); color: #fff;
  font-size: .68rem; font-weight: 700; min-width: 17px; height: 17px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center; padding: 0 4px;
}
.cart-count[hidden] { display: none; }
.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px 0; border-radius: 2px; }

/* ---------- hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--violet); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero-in { position: relative; padding: 84px 20px 92px; max-width: 760px; margin: 0 auto; text-align: center; }
.hero-kicker {
  display: inline-block; background: rgba(232, 89, 12, .18); border: 1px solid rgba(232, 89, 12, .55);
  color: #ffc59e; font-weight: 600; font-size: .82rem; padding: 5px 14px; border-radius: 99px;
  margin-bottom: 18px; letter-spacing: .03em;
}
.hero h1 { color: #fff; margin-bottom: 14px; font-size: clamp(2rem, 5.5vw, 3.1rem); }
.hero h1 em { font-style: normal; color: #ffa15c; }
.hero-sub { color: #e6dcf5; max-width: 560px; margin: 0 auto 26px; font-size: 1.05rem; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.countdown { margin-top: 22px; color: #cdbfe6; font-size: .95rem; }
.countdown strong { color: #ffa15c; }

/* ---------- boutons ---------- */
.btn {
  display: inline-block; text-decoration: none; border: 0; cursor: pointer;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  padding: 13px 26px; border-radius: 10px; transition: transform .08s ease, background .15s ease;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(232, 89, 12, .35); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .45); }
.btn-ghost:hover { background: rgba(255, 255, 255, .2); }
.btn-ghost-dark { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-ghost-dark:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-wide { width: 100%; text-align: center; font-size: 1.08rem; padding: 15px; }

/* ---------- réassurance ---------- */
.trust {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  margin-top: -34px; position: relative; z-index: 2;
}
.trust > div {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 2px;
}
.trust strong { font-size: .92rem; }
.trust span { font-size: .8rem; color: var(--muted); }

/* ---------- sections ---------- */
.sect { padding: 46px 20px 8px; }
.sect-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.sect-head h2, .sect > h2 { margin-bottom: 0; }
.sect > h2 { margin-bottom: 22px; }
.sect-more { font-weight: 600; font-size: .92rem; white-space: nowrap; }
.sect-faq { max-width: 820px; padding-bottom: 56px; }
.sect-faq h2 { margin-bottom: 18px; }
.sect-faq .btn { margin-top: 20px; }

/* ---------- cartes produits ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: var(--ink); display: flex; flex-direction: column;
  transition: transform .15s ease, box-shadow .15s ease; box-shadow: var(--shadow);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card-img { position: relative; aspect-ratio: 4/5; background: #efe9df; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.badge {
  position: absolute; top: 10px; left: 10px; background: var(--violet); color: #fff;
  font-size: .7rem; font-weight: 700; padding: 4px 10px; border-radius: 99px; letter-spacing: .03em;
}
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-body h3 { font-size: 1rem; }
.card-short { font-size: .83rem; color: var(--muted); flex: 1; }
.card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }
.price { font-family: var(--font-display); font-weight: 800; font-size: 1.12rem; color: var(--accent-dark); }
.card-sizes { font-size: .75rem; color: var(--muted); }

/* ---------- bannière noël ---------- */
.banner { position: relative; margin: 52px 0 0; color: #fff; background: #10281c; overflow: hidden; }
.banner-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.banner-in { position: relative; padding: 60px 20px; max-width: 620px; margin: 0 auto; text-align: center; }
.banner h2 { color: #fff; margin-bottom: 10px; }
.banner p { color: #d8e6dd; margin-bottom: 22px; }

/* ---------- pourquoi ---------- */
.why { background: var(--violet); color: #efe8fb; margin-top: 56px; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; padding: 52px 20px; }
.why h3 { color: #ffa15c; margin-bottom: 8px; }
.why p { font-size: .92rem; color: #cfc2e4; }

/* ---------- guides ---------- */
.ggrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gcard {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  text-decoration: none; color: var(--ink); box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .15s ease; display: flex; flex-direction: column;
}
.gcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.gcard img { aspect-ratio: 16/9; object-fit: cover; }
.gcard-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.gcard-body h3 { font-size: .98rem; flex: 1; }
.gcard-link { color: var(--accent-dark); font-weight: 700; font-size: .88rem; }

/* ---------- FAQ ---------- */
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; }
.faq-item summary {
  cursor: pointer; font-weight: 700; padding: 15px 18px; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-item summary::after { content: "+"; font-size: 1.3rem; color: var(--accent); flex-shrink: 0; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding: 0 18px 16px; color: var(--ink-soft); font-size: .95rem; }

/* ---------- fil d'ariane / collections ---------- */
.crumbs { font-size: .82rem; color: var(--muted); padding: 18px 0 4px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent-dark); }
.crumbs span[aria-hidden] { margin: 0 2px; }
.coll-head { padding: 10px 0 26px; max-width: 720px; }
.coll-head h1 { margin-bottom: 10px; }
.coll-head p { color: var(--ink-soft); }
.coll-note {
  background: var(--accent-soft); border: 1px solid #ffd9bd; border-radius: var(--radius);
  padding: 16px 20px; margin: 34px 0 50px; font-size: .93rem;
}

/* ---------- fiche produit ---------- */
.prod { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr); gap: 40px; padding: 14px 0 30px; }
.prod-img > img { border-radius: var(--radius); box-shadow: var(--shadow-lg); background: #efe9df; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumb {
  border: 2px solid var(--line); border-radius: 8px; padding: 0; background: #fff;
  cursor: pointer; overflow: hidden; width: 72px; height: 90px; flex-shrink: 0;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb.on { border-color: var(--accent); }
.thumb:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.prod-info h1 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 8px; }
.prod-price { font-family: var(--font-display); font-size: 1.7rem; font-weight: 800; color: var(--accent-dark); margin-bottom: 10px; }
.prod-tva { font-size: .8rem; font-weight: 400; color: var(--muted); font-family: var(--font-body); }
.prod-short { color: var(--ink-soft); margin-bottom: 20px; }
.opt { margin-bottom: 18px; }
.opt-label { display: flex; justify-content: space-between; font-weight: 700; font-size: .9rem; margin-bottom: 8px; }
.opt-help { font-weight: 500; font-size: .82rem; }
.sizes { display: flex; gap: 8px; flex-wrap: wrap; }
.size input { position: absolute; opacity: 0; }
.size span {
  display: inline-block; border: 1.5px solid var(--line); background: var(--card);
  border-radius: 8px; padding: 9px 16px; font-weight: 600; cursor: pointer; font-size: .92rem;
}
.size input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-dark); }
.size input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.size-one { color: var(--muted); font-size: .92rem; }
.btn-add { width: 100%; font-size: 1.1rem; padding: 15px; }
.added-msg { margin-top: 12px; color: var(--ok); font-weight: 600; font-size: .95rem; }
.prod-trust { list-style: none; margin-top: 22px; border-top: 1px solid var(--line); padding-top: 16px; }
.prod-trust li { font-size: .88rem; color: var(--ink-soft); padding: 4px 0 4px 26px; position: relative; }
.prod-trust li::before { content: "✓"; position: absolute; left: 2px; color: var(--ok); font-weight: 700; }
.prod-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding: 26px 0 10px; border-top: 1px solid var(--line); }
.prod-details h2 { font-size: 1.1rem; margin-bottom: 10px; }
.prod-details p { font-size: .93rem; color: var(--ink-soft); margin-bottom: 10px; }
.checks { list-style: none; }
.checks li { font-size: .93rem; color: var(--ink-soft); padding: 3px 0 3px 24px; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* ---------- articles / guides ---------- */
.article { padding-bottom: 26px; }
.article h1 { margin: 8px 0 8px; }
.article-meta { color: var(--muted); font-size: .85rem; margin-bottom: 18px; }
.article-hero { border-radius: var(--radius); box-shadow: var(--shadow-lg); margin-bottom: 22px; }
.article-intro { font-size: 1.08rem; color: var(--ink-soft); margin-bottom: 10px; }
.article section { margin-top: 26px; }
.article h2 { margin-bottom: 10px; }
.article p, .article li { color: var(--ink-soft); }
.article p { margin-bottom: 12px; }
.article ul, .article ol { padding-left: 22px; margin-bottom: 12px; }
.article li { margin-bottom: 6px; }
.legal h2 { font-size: 1.15rem; margin-top: 24px; }
.notice {
  background: var(--accent-soft); border: 1px solid #ffd9bd; border-radius: 10px;
  padding: 14px 16px; font-size: .92rem; margin: 14px 0;
}

/* ---------- panier ---------- */
.cart-item {
  display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px; margin-bottom: 10px;
}
.cart-item img { width: 76px; height: 95px; object-fit: cover; border-radius: 8px; }
.ci-name { font-weight: 700; font-size: .95rem; text-decoration: none; color: var(--ink); }
.ci-size { font-size: .8rem; color: var(--muted); }
.ci-price { font-weight: 700; color: var(--accent-dark); }
.ci-right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.qty { display: flex; align-items: center; gap: 4px; }
.qty button {
  width: 28px; height: 28px; border: 1px solid var(--line); background: var(--card);
  border-radius: 7px; font-size: 1rem; cursor: pointer; line-height: 1;
}
.qty b { min-width: 26px; text-align: center; font-size: .95rem; }
.ci-remove { background: none; border: 0; color: var(--muted); font-size: .78rem; cursor: pointer; text-decoration: underline; }
.ship-progress { margin: 18px 0 6px; }
.ship-bar { height: 8px; background: var(--line); border-radius: 5px; overflow: hidden; }
.ship-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), #ffa15c); transition: width .3s ease; }
.ship-progress p { font-size: .85rem; color: var(--ink-soft); margin-top: 6px; }
.cart-total {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 1.15rem; padding: 14px 2px 4px;
}
.cart-total strong { font-family: var(--font-display); font-size: 1.4rem; }
.cart-ship-note { font-size: .82rem; color: var(--muted); margin-bottom: 16px; }
.cart-secure { font-size: .82rem; color: var(--muted); text-align: center; margin-top: 10px; }
#checkout-fallback { margin-top: 16px; }
#checkout-fallback .btn { margin-top: 10px; }

/* ---------- contact ---------- */
.contact-box { display: grid; gap: 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 50px; }

/* ---------- footer ---------- */
.ftr { background: var(--violet); color: #cfc2e4; margin-top: 64px; font-size: .9rem; }
.ftr-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 34px; padding: 46px 20px 30px; }
.ftr-logo { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: #fff; margin-bottom: 10px; }
.ftr p { margin-bottom: 10px; }
.pay-badges { font-size: .78rem; color: #9a8ab8; }
.ftr h3 { color: #fff; font-size: .95rem; margin-bottom: 12px; }
.ftr nav a { display: block; color: #cfc2e4; text-decoration: none; padding: 3px 0; }
.ftr nav a:hover { color: #ffa15c; }
.ftr-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 18px 20px; font-size: .78rem; color: #9a8ab8; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .trust { grid-template-columns: repeat(2, 1fr); margin-top: -20px; }
  .why-grid, .ggrid { grid-template-columns: 1fr; }
  .prod { grid-template-columns: 1fr; gap: 24px; }
  .prod-details { grid-template-columns: 1fr; gap: 20px; }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav {
    display: none; position: absolute; top: 62px; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    flex-direction: column; gap: 0; padding: 8px 20px 14px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 11px 2px; border-bottom: 1px solid var(--line); }
  .burger { display: block; }
  .hero-in { padding: 56px 20px 66px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card-short { display: none; }
  .sect { padding: 34px 16px 4px; }
}
@media (max-width: 420px) {
  .trust { grid-template-columns: 1fr 1fr; }
  .trust span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .gcard, .btn, .ship-bar span { transition: none; }
}
