/* =========================================================
   Pages secondaires (rayons, fiches produits, services)
   Complète style.css — même palette, sans animation lourde.
   ========================================================= */
.subpage main { padding-top: var(--header-h); }
.subpage .header { background: rgba(255,255,255,.94); }
.nav a[aria-current="page"] { background: var(--red-50); color: var(--red-700); }

/* Hero de page */
.phero { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff 0%, var(--steel-0) 100%); border-bottom: 1px solid var(--line); }
.phero__img { position: absolute; inset: 0 0 0 auto; width: 46%; height: 100%; object-fit: cover; -webkit-mask: linear-gradient(90deg, transparent 0, #000 38%); mask: linear-gradient(90deg, transparent 0, #000 38%); }
.phero__inner { position: relative; padding-top: clamp(28px, 5vw, 56px); padding-bottom: clamp(40px, 6vw, 72px); }
.phero__inner > * { max-width: min(640px, 52%); }
.phero__title { font-size: clamp(36px, 5.6vw, 68px); font-weight: 900; line-height: 1.02; letter-spacing: -.03em; margin-top: 14px; text-wrap: balance; }
.phero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.crumbs { font-size: 14px; color: var(--ink-3); margin-bottom: 18px; overflow-wrap: anywhere; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--red); text-decoration: underline; }
@media (max-width: 1000px) {
  .phero__inner > * { max-width: 680px; }
  .phero__img { position: relative; inset: auto; display: block; width: 100%; height: clamp(180px, 34vw, 280px); -webkit-mask: linear-gradient(180deg, #000 55%, transparent); mask: linear-gradient(180deg, #000 55%, transparent); }
  .phero__inner { padding-top: 8px; }
}

/* Sections */
.psec { padding: clamp(44px, 6vw, 80px) 0; }
.psec--alt { background: var(--steel-0); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.h3 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -.02em; margin-bottom: 22px; }
.prose { max-width: 760px; font-size: 17.5px; line-height: 1.65; color: var(--ink-2); }
.prose h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; color: var(--ink); line-height: 1.15; margin: 1.6em 0 .5em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol { margin: 0 0 1em; }
.prose li { margin-bottom: .4em; }
.prose a, .icard a, .faq a, .note a, .product__info a { color: var(--red-700); font-weight: 600; }
.note { margin-top: 18px; color: var(--ink-3); font-size: 15px; }

/* Grille produits */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.pcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; transition: transform .25s var(--ease-out), box-shadow .25s; }
.pcard:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(27,32,36,.45); }
.pcard__img { position: relative; display: block; aspect-ratio: 6 / 5; background: var(--steel-1); }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pcard__tag { position: absolute; left: 10px; top: 10px; background: #fff; color: var(--red); font-family: var(--hand); font-size: 19px; font-weight: 700; padding: 0 10px; border-radius: 6px; transform: rotate(-4deg); box-shadow: 0 6px 14px -8px rgba(0,0,0,.4); }
.pcard__body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; }
.pcard__body b { font-size: 17px; font-weight: 800; color: var(--ink); }
.pcard__body small { font-size: 14px; color: var(--ink-2); line-height: 1.4; }
.pcard__body em { font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--parsley-700); margin-top: 4px; }
@media (max-width: 520px) { .pgrid { grid-template-columns: 1fr 1fr; gap: 12px; } .pcard__body { padding: 10px 12px 12px; } .pcard__body b { font-size: 15px; } .pcard__body small { display: none; } .pcard__tag { font-size: 16px; } }

/* Rayons (hub) */
.catgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.catcard { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: #fff; }
.catcard img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.catcard:hover img { transform: scale(1.05); }
.catcard span { position: absolute; inset: auto 0 0 0; padding: 40px 20px 18px; background: linear-gradient(180deg, transparent, rgba(110,10,18,.88)); display: flex; flex-direction: column; }
.catcard b { font-size: 26px; font-weight: 900; }
.catcard small { font-size: 14px; opacity: .9; }

/* Fiche produit */
.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.product__img { margin: 0; position: sticky; top: calc(var(--header-h) + 20px); }
.product__img img { width: 100%; height: auto; border-radius: var(--radius); display: block; }
.product__img figcaption { font-size: 12px; color: var(--ink-3); margin-top: 6px; }
.product__price { display: inline-block; font-family: var(--hand); font-size: 30px; font-weight: 700; color: var(--red); transform: rotate(-2deg); }
.product__info h2 { font-size: 22px; font-weight: 800; margin: 26px 0 8px; }
.product__info p { color: var(--ink-2); line-height: 1.65; }
.facts { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.facts li { background: var(--steel-0); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.facts b { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; } .product__img { position: static; } }
@media (max-width: 400px) { .facts { grid-template-columns: 1fr; } }

/* Cartes info */
.icards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.icard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; border-top: 4px solid var(--red); }
.icard h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.icard p { color: var(--ink-2); line-height: 1.55; margin: 0; }

/* Zone de livraison */
.zone { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.zone__grp { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.zone__grp h3 { font-size: 14px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }
.zone__grp ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.zone__grp li { background: var(--steel-0); border: 1px solid var(--line); border-radius: 999px; padding: 4px 11px; font-size: 14px; font-weight: 600; color: var(--ink-2); }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.faq__item summary { cursor: pointer; list-style: none; padding: 16px 52px 16px 20px; font-weight: 700; font-size: 17px; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; color: var(--red); transition: transform .25s; }
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item div { padding: 0 20px 18px; color: var(--ink-2); line-height: 1.6; }
.faq__item p { margin: 0; }

/* Horaires */
.psec--split .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
.hours table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.hours th, .hours td { text-align: left; padding: 12px 18px; border-bottom: 1px solid var(--line); font-size: 17px; }
.hours th { font-weight: 700; }
.hours td { color: var(--parsley-700); font-weight: 700; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.access p { color: var(--ink-2); line-height: 1.6; }
@media (max-width: 760px) { .psec--split .wrap { grid-template-columns: 1fr; } }

/* Bandeau d'appel */
.band { background: var(--red); color: #fff; padding: clamp(36px, 5vw, 56px) 0; }
.band__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.band__title { font-size: clamp(24px, 3vw, 34px); font-weight: 900; }
.band p { opacity: .92; margin-top: 6px; }
.band__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.band .btn--line { border-color: #fff; }

@media (max-width: 560px) { .phero__ctas .btn, .band__ctas .btn { flex: 1 1 100%; } }
