/*
Theme Name: ConceptionProjet
Theme URI: https://conceptionprojet.com
Description: Thème enfant ConceptionProjet — design épuré, recherche instantanée, parcours de conversion.
Author: ConceptionProjet
Template: astra
Version: 1.0.0
Text Domain: conceptionprojet
*/

/* ============================================================
   ConceptionProjet — Design System (Refonte v2)
   Inspiré de modelesdebusinessplan.com — propre, confiance, conversion
   Mobile-first · Accessible
   ============================================================ */

:root {
  /* Palette */
  --brand: #2563eb;
  --brand-dark: #1d4ed8;
  --brand-soft: #eff6ff;
  --accent: #0d9488;
  --accent-soft: #f0fdfa;

  --ink: #0f172a;
  --ink-soft: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --bg-dark: #0b1220;

  --price: #dc2626;
  --star: #f59e0b;
  --ok: #16a34a;

  /* Typographie */
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Espacement */
  --s1: .25rem; --s2: .5rem; --s3: .75rem; --s4: 1rem; --s5: 1.5rem;
  --s6: 2rem; --s7: 3rem; --s8: 4rem; --s9: 5rem;

  --r-sm: 8px; --r: 12px; --r-lg: 16px; --r-pill: 999px;
  --sh-sm: 0 1px 2px rgba(15,23,42,.06), 0 1px 3px rgba(15,23,42,.08);
  --sh-md: 0 4px 12px -2px rgba(15,23,42,.10), 0 2px 4px -2px rgba(15,23,42,.05);
  --sh-lg: 0 20px 45px -15px rgba(15,23,42,.18);
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 1rem; line-height: 1.6; color: var(--ink);
  background: var(--bg); -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; letter-spacing: -.01em; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 1000; background: var(--ink); color: #fff; padding: .5rem 1rem; border-radius: var(--r-sm); transition: top .2s; }
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 1.25rem; }
@media (min-width: 768px) { .container { padding-inline: 1.5rem; } }

.section { padding-block: var(--s7); }
@media (min-width: 768px) { .section { padding-block: var(--s8); } }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 720px; margin-bottom: var(--s6); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__title { font-size: 1.75rem; margin-bottom: var(--s2); }
.section__sub { color: var(--ink-soft); font-size: 1.1rem; }
@media (min-width: 768px) { .section__title { font-size: 2.25rem; } }

/* ---------- Icônes ---------- */
.icon { width: 1.2em; height: 1.2em; flex-shrink: 0; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-weight: 600; font-size: 1rem; padding: .72rem 1.4rem;
  border-radius: var(--r-pill); border: 1px solid transparent; cursor: pointer;
  transition: transform .12s, box-shadow .12s, background .12s, border-color .12s;
  min-height: 46px; text-align: center; line-height: 1.2;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); box-shadow: var(--sh-md); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { box-shadow: var(--sh-md); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn--lg { padding: .9rem 1.7rem; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header__top { display: flex; align-items: center; gap: 1rem; min-height: 80px; padding-block: .4rem; }
.header__logo { display: flex; align-items: center; }
.header__logo img { height: 52px; width: auto; }
.header__nav { display: none; }
.header__actions { margin-left: auto; display: flex; align-items: center; gap: .25rem; }
.header__icon-link { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--r-sm); color: var(--ink); position: relative; }
.header__icon-link:hover { background: var(--bg-alt); color: var(--brand); }
.header__icon-link .icon { stroke: currentColor; fill: none; stroke-width: 1.8; }
.header__icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--r-sm); color: var(--ink); position: relative; }
.header__icon-btn[data-drawer-open] { display: inline-flex; }
.header__icon-btn:hover { background: var(--bg-alt); }

/* Menu hamburger : exclusif au mobile/tablette (masqué en desktop) */
@media (min-width: 1024px) {
  .header__top [data-drawer-open] { display: none !important; }
}
.header__cart { position: absolute; top: 5px; right: 5px; min-width: 18px; height: 18px; background: var(--brand); color: #fff; font-size: 11px; font-weight: 700; border-radius: var(--r-pill); display: grid; place-items: center; padding: 0 4px; }
.header__cta { display: none; }
.header__search { display: none; }

@media (min-width: 1024px) {
  .header__nav { display: flex; align-items: center; gap: 1.1rem; margin-left: 1.1rem; }
  .header__nav a { font-weight: 500; font-size: .82rem; white-space: nowrap; color: var(--ink-soft); padding: .3rem 0; border-bottom: 2px solid transparent; }
  .header__nav a:hover { color: var(--ink); border-color: var(--brand); }
  .header__search { display: block; margin-left: auto; width: 190px; }
  .header__cta { display: inline-flex; white-space: nowrap; }
}

/* ---------- Recherche ---------- */
.search { position: relative; }
input.search__input {
  width: 100%; min-height: 48px; padding: 0 1.1rem 0 58px;
  border: 1px solid var(--line); border-radius: var(--r-pill);
  background: var(--bg-alt); font-size: 1rem;
}
input.search__input:focus { border-color: var(--brand); background: #fff; outline: none; box-shadow: 0 0 0 4px var(--brand-soft); }
.search__icon { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search__panel {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--sh-lg); overflow: hidden; display: none; z-index: 60; max-height: 420px; overflow-y: auto;
}
.search__panel.is-open { display: block; }
.search__item { display: flex; align-items: center; gap: .9rem; padding: .75rem 1.1rem; border-bottom: 1px solid var(--line); cursor: pointer; }
.search__item:hover { background: var(--bg-alt); }
.search__item:last-child { border-bottom: 0; }
.search__item-thumb { width: 38px; height: 38px; border-radius: 8px; background: var(--brand-soft); display: grid; place-items: center; color: var(--brand); flex-shrink: 0; }
.search__item-body { min-width: 0; }
.search__item-title { font-weight: 600; font-size: .95rem; line-height: 1.3; }
.search__item-title strong { color: var(--brand); }
.search__item-cat { font-size: .8rem; color: var(--muted); }
.search__item-price { margin-left: auto; font-weight: 700; color: var(--ink); white-space: nowrap; }
.search__empty { padding: 1.25rem 1.1rem; color: var(--muted); font-size: .95rem; }
.search__foot { padding: .6rem 1.1rem; background: var(--bg-alt); font-size: .85rem; color: var(--brand); font-weight: 600; }

/* ---------- Recherche blog ---------- */
.blog-search { max-width: 560px; margin: 0 auto 1.5rem; }
.blog-search .search__input { min-height: 52px; font-size: 1rem; background: #fff; }
.blog-search__empty { grid-column: 1 / -1; padding: 2rem 1rem; text-align: center; color: var(--muted); }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, #eff6ff 0%, #fff 100%); border-bottom: 1px solid var(--line); }
.hero__inner { padding-block: var(--s7) var(--s8); text-align: center; }
.hero__badge { display: inline-flex; align-items: center; gap: .4rem; background: #fff; color: var(--ink-soft); font-size: .85rem; font-weight: 600; padding: .4rem .9rem; border-radius: var(--r-pill); border: 1px solid var(--line); box-shadow: var(--sh-sm); margin-bottom: 1.4rem; }
.hero__badge .stars { color: var(--star); letter-spacing: 1px; }
.hero__title { font-size: 2rem; max-width: 820px; margin-inline: auto; margin-bottom: 1rem; }
.hero__title em { color: var(--brand); font-style: normal; }
.hero__sub { color: var(--ink-soft); font-size: 1.15rem; max-width: 620px; margin-inline: auto; margin-bottom: 2rem; }
.hero__search { max-width: 600px; margin-inline: auto; }
.hero__search .search__input { min-height: 60px; font-size: 1.1rem; background: #fff; box-shadow: var(--sh-md); }
.hero__hint { margin-top: 1rem; font-size: .9rem; color: var(--muted); }
.hero__hint a { color: var(--brand); font-weight: 600; }
@media (min-width: 768px) { .hero__title { font-size: 2.9rem; } .hero__inner { padding-block: var(--s8) var(--s9); } }

/* ---------- Trust / preuves ---------- */
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2.2rem; padding-block: 1.4rem; border-bottom: 1px solid var(--line); }
.trust__item { display: flex; align-items: center; gap: .5rem; color: var(--ink-soft); font-size: .9rem; }
.trust__item .stars { color: var(--star); letter-spacing: 1px; }
.trust__item b { color: var(--ink); }

/* ---------- Preuve sociale (avis clients) ---------- */
.social-proof { text-align: center; padding-block: 2.2rem; border-bottom: 1px solid var(--line); }
.social-proof img { display: block; margin: 0 auto 1.4rem; width: min(720px, 100%); height: auto; }
.social-proof p { font-size: 1.05rem; color: var(--ink-soft); margin: 0; }

/* ---------- Grilles & cartes ---------- */
.grid { display: grid; gap: 1.25rem; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr 1fr; }
@media (min-width: 640px) { .grid--4 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1024px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }

.card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r); background: #fff; transition: box-shadow .15s, transform .15s, border-color .15s; }
.card:hover { box-shadow: var(--sh-md); border-color: #cbd5e1; transform: translateY(-2px); }

/* Catégorie */
.cat-card { display: flex; align-items: center; gap: .8rem; padding: 1rem; border: 1px solid var(--line); border-radius: var(--r); background: #fff; transition: box-shadow .15s, border-color .15s; }
.cat-card:hover { border-color: var(--brand); box-shadow: var(--sh-md); }
.cat-card__icon { width: 42px; height: 42px; flex-shrink: 0; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.cat-card__name { font-weight: 600; font-size: .92rem; line-height: 1.3; }
.cat-card__count { font-size: .8rem; color: var(--muted); }

/* Produit */
.prod-card__media { position: relative; background: var(--bg-alt); aspect-ratio: 2/3; border-radius: var(--r) var(--r) 0 0; overflow: hidden; }
.prod-card__media .ph { width: 100%; height: 100%; display: grid; place-items: center; color: var(--brand); }
.prod-card__tag { position: absolute; top: .6rem; left: .6rem; background: var(--price); color: #fff; font-size: .78rem; font-weight: 700; padding: .2rem .6rem; border-radius: var(--r-pill); }
.prod-card__body { padding: 1rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.prod-card__cat { font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.prod-card__name { font-size: 1rem; font-weight: 600; line-height: 1.35; }
.prod-card__name:hover { color: var(--brand); }
.prod-card__price { display: flex; align-items: baseline; gap: .5rem; margin-top: auto; padding-top: .3rem; }
.prod-card__now { font-weight: 800; font-size: 1.05rem; color: var(--ink); }
.prod-card__old { font-size: .85rem; color: var(--muted); text-decoration: line-through; }
.prod-card__add { margin-top: .5rem; width: 100%; justify-content: center; background: var(--brand); color: #fff; }
.prod-card__add:hover { background: var(--brand-dark); }

/* ---------- Offres ---------- */
.offers { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .offers { grid-template-columns: repeat(2, 1fr); } }
.offer { position: relative; display: flex; flex-direction: column; gap: .8rem; padding: 1.6rem; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.offer--featured { border-color: var(--brand); box-shadow: var(--sh-md); }
.offer__flag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: .75rem; font-weight: 700; padding: .25rem .8rem; border-radius: var(--r-pill); white-space: nowrap; }
.offer__title { font-size: 1.15rem; display: flex; align-items: center; gap: .5rem; }
.offer__desc { color: var(--ink-soft); font-size: .92rem; flex: 1; }
.offer__price { font-size: 1.6rem; font-weight: 800; }
.offer__price span { font-size: .9rem; font-weight: 500; color: var(--muted); }
.offer__list { display: flex; flex-direction: column; gap: .45rem; font-size: .9rem; color: var(--ink-soft); }
.offer__list li { display: flex; gap: .5rem; align-items: flex-start; }
.offer__list li::before { content: "✓"; color: var(--ok); font-weight: 700; }

/* ---------- Stats ---------- */
.stats { display: grid; gap: 1.5rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { text-align: center; }
.stat__v { font-size: 2rem; font-weight: 800; color: var(--brand); }
.stat__l { color: var(--muted); font-size: .9rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin-inline: auto; }
.faq__item { border: 1px solid var(--line); border-radius: var(--r); margin-bottom: .8rem; overflow: hidden; background: #fff; }
.faq__q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 1.1rem 1.2rem; font-weight: 600; font-size: 1rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq__q::after { content: "+"; font-size: 1.5rem; color: var(--brand); flex-shrink: 0; line-height: 1; }
.faq__item.is-open .faq__q::after { content: "−"; }
.faq__a { display: none; padding: 0 1.2rem 1.1rem; color: var(--ink-soft); }
.faq__item.is-open .faq__a { display: block; }

/* ---------- Réassurance ---------- */
.reass { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .reass { grid-template-columns: repeat(3, 1fr); } }
.reass__item { display: flex; gap: .8rem; align-items: flex-start; padding: 1.2rem; }
.reass__item .icon { color: var(--accent); width: 24px; height: 24px; }
.reass__t { font-weight: 700; font-size: .95rem; }
.reass__d { color: var(--muted); font-size: .88rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--bg-dark); color: #fff; border-radius: var(--r-lg); padding: 3rem 1.5rem; text-align: center; }
.cta-band h2 { margin-bottom: .6rem; font-size: 1.6rem; color: #fff; }
.cta-band p { color: #94a3b8; margin-bottom: 1.5rem; }
.cta-band .btn { background: var(--brand); color: #fff; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-dark); color: #cbd5e1; }
.footer__grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; padding-block: 3rem; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer__brand { display: flex; align-items: center; margin-bottom: .8rem; }
.footer__brand img { height: 72px; width: auto; }
.footer__desc { font-size: .9rem; color: #94a3b8; max-width: 340px; }
.footer__col h4 { color: #fff; font-size: .9rem; margin-bottom: .9rem; }
.footer__col a { display: block; padding: .3rem 0; font-size: .9rem; color: #cbd5e1; }
.footer__col a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 1.4rem; font-size: .85rem; color: #94a3b8; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; }
.footer__pay { display: flex; gap: .4rem; flex-wrap: wrap; }
.footer__pay span { background: #fff; color: var(--ink); font-size: .7rem; font-weight: 700; padding: .2rem .5rem; border-radius: 4px; }

/* ---------- Drawer mobile ---------- */
.drawer { position: fixed; inset: 0; z-index: 100; pointer-events: none; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(15,23,42,.45); opacity: 0; transition: opacity .2s; }
.drawer__panel { position: absolute; top: 0; left: 0; bottom: 0; width: min(320px, 86vw); background: #fff; padding: 1.2rem; transform: translateX(-100%); transition: transform .25s ease; overflow-y: auto; display: flex; flex-direction: column; gap: .2rem; }
.drawer.is-open { pointer-events: auto; }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer.is-open .drawer__panel { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .8rem; }
.drawer__close { background: none; border: 0; font-size: 1.4rem; cursor: pointer; width: 44px; height: 44px; }
.drawer__link { padding: .8rem; border-radius: var(--r-sm); font-weight: 500; }
.drawer__link:hover { background: var(--bg-alt); }
.drawer__title { font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 1rem 0 .3rem; }

/* ---------- Breadcrumb ---------- */
.crumb { font-size: .88rem; color: var(--muted); padding-block: 1rem; }
.crumb ol { display: flex; flex-wrap: wrap; gap: .5rem; }
.crumb li + li::before { content: "/"; margin-right: .5rem; color: var(--line); }
.crumb a:hover { color: var(--brand); }

/* ---------- Catalogue ---------- */
.catalog-layout { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .catalog-layout { grid-template-columns: 250px 1fr; } }
.filters__group { margin-bottom: 1.5rem; }
.filters__title { font-weight: 700; font-size: .9rem; margin-bottom: .6rem; }
.filters__opt { display: flex; align-items: center; gap: .6rem; padding: .35rem 0; font-size: .9rem; cursor: pointer; }
.filters__opt input { width: 17px; height: 17px; accent-color: var(--brand); }
.filters__opt .n { margin-left: auto; color: var(--muted); font-size: .8rem; }
.catalog__bar { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; justify-content: space-between; margin-bottom: 1.2rem; }
.catalog__count { color: var(--muted); font-size: .9rem; }
.catalog__sort { padding: .5rem .9rem; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; min-height: 44px; }
.filter-toggle { display: inline-flex; }
@media (min-width: 1024px) { .filter-toggle { display: none; } }
.catalog__search { margin-bottom: 1.5rem; }

/* ---------- Fiche produit ---------- */
.prod-layout { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .prod-layout { grid-template-columns: 1fr 1fr; } }
.prod-gallery { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--bg-alt); aspect-ratio: 2/3; display: grid; place-items: center; color: var(--brand); }
.prod-info h1 { font-size: 1.7rem; margin-bottom: .4rem; }
.prod-info__cat { color: var(--brand); font-weight: 600; font-size: .9rem; margin-bottom: .5rem; }
.prod-info__rating { display: flex; align-items: center; gap: .5rem; margin-bottom: 1rem; font-size: .9rem; color: var(--muted); }
.prod-info__rating .stars { color: var(--star); }
.prod-info__price { display: flex; align-items: baseline; gap: .8rem; margin-bottom: 1.2rem; }
.prod-info__now { font-size: 2rem; font-weight: 800; }
.prod-info__old { font-size: 1.1rem; color: var(--muted); text-decoration: line-through; }
.prod-info__desc { color: var(--ink-soft); margin-bottom: 1.2rem; }
.prod-info__feat { display: grid; gap: .5rem; margin-bottom: 1.5rem; }
.prod-info__feat li { display: flex; gap: .6rem; align-items: flex-start; font-size: .95rem; }
.prod-info__feat li::before { content: "✓"; color: var(--ok); font-weight: 700; }
.cta-stack { display: flex; flex-direction: column; gap: .8rem; }
.cta-stack .note { text-align: center; font-size: .8rem; color: var(--muted); }

/* ---------- Blog ---------- */
.blog-featured { display: grid; gap: 2rem; grid-template-columns: 1fr; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .blog-featured { grid-template-columns: 1fr 1fr; align-items: center; } }
.blog-featured__media { background: var(--brand-soft); aspect-ratio: 16/10; border-radius: var(--r-lg); display: grid; place-items: center; color: var(--brand); }
.article-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; transition: box-shadow .15s, transform .15s; }
.article-card:hover { box-shadow: var(--sh-md); transform: translateY(-2px); }
.article-card__media { background: var(--bg-alt); aspect-ratio: 16/10; display: grid; place-items: center; color: var(--brand); }
.article-card__body { padding: 1.1rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.article-card__date { font-size: .8rem; color: var(--muted); }
.article-card__title { font-weight: 700; font-size: 1.05rem; line-height: 1.35; }
.article-card__title:hover { color: var(--brand); }
.article-card__cta { color: var(--brand); font-weight: 600; font-size: .9rem; margin-top: auto; }

/* ---------- Article (post) ---------- */
.article-hero { padding-block: var(--s6); }
.article-hero .crumb { padding: 0 0 1rem; }
.article-hero h1 { font-size: 2rem; max-width: 800px; margin-bottom: 1rem; }
@media (min-width: 768px) { .article-hero h1 { font-size: 2.5rem; } }
.article-meta { display: flex; flex-wrap: wrap; gap: 1rem; color: var(--muted); font-size: .9rem; margin-bottom: 1.5rem; }
.article-body { max-width: 760px; margin-inline: auto; }
.article-body h2 { font-size: 1.4rem; margin: 2rem 0 .8rem; }
.article-body h3 { font-size: 1.15rem; margin: 1.5rem 0 .6rem; }
.article-body p { margin-bottom: 1rem; color: var(--ink-soft); }
.article-body ul, .article-body ol { margin-bottom: 1rem; padding-left: 1.4rem; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { margin-bottom: .4rem; color: var(--ink-soft); }
.article-body table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; font-size: .9rem; }
.article-body th, .article-body td { border: 1px solid var(--line); padding: .6rem .8rem; text-align: left; }
.article-body th { background: var(--bg-alt); font-weight: 600; }
.article-body blockquote { border-left: 3px solid var(--brand); padding: .5rem 1rem; margin: 1.5rem 0; background: var(--brand-soft); border-radius: 0 var(--r-sm) var(--r-sm) 0; font-style: italic; }
.article-body.prod-description { max-width: none; margin-inline: 0; }
.article-cta { margin: 2rem 0; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-alt); display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.article-faq { margin-top: 2rem; }

/* ---------- Utilitaires ---------- */
.text-muted { color: var(--muted); }
.mt-2 { margin-top: .5rem; } .mt-3 { margin-top: 1rem; } .mt-4 { margin-top: 1.5rem; }
.hidden { display: none !important; }

/* ---------- Modal paiement (Télécharger) ---------- */
.modal { position: fixed; inset: 0; z-index: 100000; display: none; align-items: center; justify-content: center; padding: 1rem; }
.modal.is-open { display: flex; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(15,23,42,.55); }
.modal__panel { position: relative; background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-lg); width: 100%; max-width: 460px; max-height: 90vh; overflow-y: auto; }
.modal__head { display: flex; align-items: center; justify-content: space-between; padding: 1.2rem 1.4rem; border-bottom: 1px solid var(--line); }
.modal__head h3 { font-size: 1.15rem; }
.modal__close { background: none; border: 0; font-size: 1.4rem; cursor: pointer; width: 40px; height: 40px; color: var(--muted); }
.modal__body { padding: 1.4rem; }
.modal__product { display: flex; gap: .8rem; align-items: center; padding: .8rem; background: var(--bg-alt); border-radius: var(--r); margin-bottom: 1.2rem; }
.modal__product .thumb { width: 40px; height: 40px; border-radius: 8px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex-shrink: 0; }
.modal__product .name { font-weight: 600; font-size: .95rem; line-height: 1.3; }
.modal__product .price { font-weight: 800; color: var(--ink); }

.pay-methods { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin-bottom: 1.2rem; }
.pay-method { display: flex; flex-direction: column; align-items: center; gap: .3rem; padding: .6rem .3rem; border: 1px solid var(--line); border-radius: var(--r-sm); cursor: pointer; font-size: .72rem; font-weight: 600; color: var(--ink-soft); background: #fff; }
.pay-method:hover { border-color: var(--brand); }
.pay-method.is-active { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); box-shadow: 0 0 0 2px var(--brand-soft); }

.field { margin-bottom: .9rem; }
.field label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: .3rem; color: var(--ink-soft); }
.field input { width: 100%; min-height: 44px; padding: 0 .9rem; border: 1px solid var(--line); border-radius: var(--r-sm); font-size: .95rem; }
.field input:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px var(--brand-soft); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.pay-note { text-align: center; font-size: .78rem; color: var(--muted); margin-top: .8rem; }
.pay-note svg { display: inline-block; vertical-align: -3px; }

.modal__success { text-align: center; padding: 1rem 0; }
.modal__success .big { font-size: 2.5rem; margin-bottom: .5rem; }
.modal__success p { color: var(--ink-soft); margin-bottom: 1rem; }

/* ---------- Menu WordPress (wp_nav_menu) ---------- */
.header__menu, .drawer__menu { list-style: none; margin: 0; padding: 0; }
.header__menu { display: flex; align-items: center; gap: 1.1rem; }
.header__menu a { font-weight: 500; font-size: .82rem; white-space: nowrap; color: var(--ink-soft); padding: .3rem 0; border-bottom: 2px solid transparent; }
.header__menu a:hover { color: var(--ink); border-color: var(--brand); }
.header__menu .current-menu-item > a { color: var(--ink); border-color: var(--brand); }

.drawer__menu li { margin: 0; }
.drawer__menu a { display: block; padding: .8rem; border-radius: var(--r-sm); font-weight: 500; color: var(--ink); }
.drawer__menu a:hover { background: var(--bg-alt); }

/* ---------- Neutralisation d'Astra (front) ---------- */
body { background: var(--bg); }
.site, .ast-container, #page, #content, #primary, #main { max-width: none !important; width: 100% !important; padding: 0 !important; margin: 0 !important; }
.ast-plain-container.ast-no-sidebar #primary { margin: 0; }
#masthead, .site-header, .main-header-bar { display: none !important; }
.woocommerce ul.products { margin: 0; }

/* ---------- WooCommerce ---------- */
.woocommerce ul.products {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  margin: 0;
  padding: 0;
  list-style: none;
}
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
@media (min-width: 768px) { .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .woocommerce ul.products { grid-template-columns: repeat(3, 1fr); } }

.woocommerce ul.products li.product { width: 100%; margin: 0; float: none; }

.prod-card__media img, .prod-gallery img { width: 100%; height: 100%; object-fit: cover; }
.prod-card__media .ph, .prod-gallery { display: grid; place-items: center; color: var(--brand); background: var(--bg-alt); }
.prod-card__media { aspect-ratio: 2/3; overflow: hidden; background: var(--bg-alt); }
.prod-gallery { aspect-ratio: 2/3; overflow: hidden; }

.prod-card__price .amount, .prod-info__price .amount { font-weight: 800; font-size: 1.05rem; color: var(--ink); }
.prod-card__price del, .prod-info__price del { color: var(--muted); font-weight: 400; }
.prod-card__price ins, .prod-info__price ins { text-decoration: none; }
.prod-info__price { display: flex; align-items: baseline; gap: .8rem; margin-bottom: 1.2rem; }
.prod-info__price .amount { font-size: 2rem; }
.prod-info__price del .amount { font-size: 1.1rem; color: var(--muted); }

.prod-info__desc p { color: var(--ink-soft); }

/* Bouton d'ajout au panier (single) */
.single_add_to_cart_button.button.alt,
button.single_add_to_cart_button,
form.cart .button {
  background: var(--brand) !important;
  color: #fff !important;
  font-weight: 600;
  font-size: 1.05rem;
  padding: .9rem 1.7rem;
  border-radius: var(--r-pill);
  min-height: 46px;
  border: none;
  width: 100%;
  cursor: pointer;
}
.single_add_to_cart_button.button.alt:hover,
form.cart .button:hover { background: var(--brand-dark) !important; box-shadow: var(--sh-md); }

/* Pagination */
.woocommerce-pagination { margin-top: 2rem; text-align: center; }
.woocommerce-pagination ul { list-style: none; display: inline-flex; gap: .4rem; margin: 0; padding: 0; border: none; }
.woocommerce-pagination li { border: 1px solid var(--line); border-radius: var(--r-sm); }
.woocommerce-pagination a, .woocommerce-pagination span { padding: .5rem .8rem; display: block; }
.woocommerce-pagination .current { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ---------- Neutralisation du grid Astra sur les produits ---------- */
.woocommerce ul.products li.product.ast-article-post {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: box-shadow .15s, transform .15s;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
  width: 100% !important;
}
.woocommerce ul.products li.product.ast-article-post:hover { box-shadow: var(--sh-md); transform: translateY(-2px); }
.woocommerce ul.products li.product .astra-shop-thumbnail-wrap { margin: 0; padding: 0; }
.woocommerce ul.products li.product img { border-radius: 0; }
.woocommerce ul.products li.product .ast-onsale-card,
.woocommerce ul.products li.product span.onsale { display: none !important; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { padding: 0; font-size: 1rem; font-weight: 600; }
.woocommerce ul.products li.product .price { margin: .3rem 0; }

/* Le conteneur gris vient de .ast-container padding : on neutralise */
.catalog-layout aside, .catalog-layout > div { min-width: 0; }

/* Zone grise : probablement .ast-container avec fond */
.ast-separate-container .ast-article-post { background: #fff; }

/* ---------- Catalogue : correctifs visuels ---------- */
.catalog-layout { grid-template-columns: 250px 1fr; }
@media (min-width: 1024px) { .catalog-layout { grid-template-columns: 250px 1fr; } }

/* Recherche catalogue : place pour l'icône */
.catalog__search .search__input { padding-left: 58px; background: #fff; }

/* Images cassées : ne pas afficher l'alt qui déborde */
.prod-card__media img { color: transparent; font-size: 0; line-height: 0; }
.prod-card__media img::before { content: ""; }
.prod-card__media { position: relative; }
.prod-card__media img[alt]::after { display: none; }

/* Hauteur uniforme des cartes */
.woocommerce ul.products li.product .prod-card__media { min-height: 210px; }

/* ---------- Correctifs mobile ---------- */
html, body { overflow-x: hidden; }

/* CTA desktop : masqué en mobile (comme la maquette) */
.header__cta { display: none; }
@media (min-width: 1024px) { .header__cta { display: inline-flex; } }

/* Le carré bleu en haut à gauche : élément Astra résiduel */
.ast-mobile-header-content, .ast-desktop-header-content, .ast-builder-grid-row, .ast-mobile-header-wrap, .ast-primary-header-bar, .below-header-user-select, .ast-below-header, .ast-above-header { display: none !important; }

/* Trust : empiler proprement en mobile */
.trust { flex-direction: row; flex-wrap: wrap; }
.trust__item { width: auto; }
.trust img { height: 28px; margin-right: 0; display: block; margin-inline: auto; }
.trust { display: flex; }

@media (max-width: 767px) {
  .trust { flex-direction: column; align-items: center; text-align: center; }
  .trust img { margin-bottom: .6rem; }
  .hero__title { font-size: 1.9rem; }
  .hero__sub { font-size: 1.02rem; padding-inline: .4rem; }
  .section__title { font-size: 1.5rem; }
  .promo-banner, .ast-promo-bar { display: none !important; }
}

/* ---------- Overflow mobile : corrections robustes ---------- */
html, body { max-width: 100%; overflow-x: clip; }
.header { max-width: 100vw; }
.header__top { flex-wrap: nowrap; }
.header__logo img { max-height: 52px; width: auto; max-width: 160px; object-fit: contain; }

/* Trust : empilé sur mobile */
@media (max-width: 767px) {
  .trust { flex-direction: column; gap: .7rem; }
  .trust img { margin: 0 auto .4rem; display: block; }
  .trust__item { justify-content: center; }
  .container { padding-inline: 1rem; }
  .grid--4, .woocommerce ul.products { grid-template-columns: 1fr !important; }
}

/* ---------- Bouton hamburger : apparence propre (neutralise le style bouton Astra) ---------- */
button.header__icon-btn[data-drawer-open] {
  background: transparent !important;
  color: var(--ink) !important;
  width: 44px; height: 44px;
  padding: 0 !important;
  border: none !important;
  border-radius: var(--r-sm);
  box-shadow: none !important;
}
button.header__icon-btn[data-drawer-open] svg { stroke: var(--ink) !important; fill: none !important; width: 26px; height: 26px; }
.header__icon-btn[data-drawer-open]:hover { background: var(--bg-alt) !important; }

/* ---------- Drawer : menu empilé verticalement ---------- */
.drawer__panel .header__menu { display: flex; flex-direction: column; align-items: stretch; gap: .2rem; }
.drawer__panel .header__menu a { display: block; padding: .8rem .6rem; font-size: 1rem; white-space: normal; }
