/* ============================================================
   La Centrale Médicale — pages internes (catalogue, produit, contenus)
   Chargé après style.css et v2.css
   ============================================================ */
html { scroll-behavior: smooth; }
[hidden] { display: none !important; }

/* ---------- Compteur demande de devis ---------- */
.quote-count {
  display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: 99px; background: #fff; color: var(--green-dark); font-size: 11.5px; font-weight: 800;
}
.quote-count.bump { animation: pop .45s ease; }
.category-nav__item.is-active { background: rgba(0,0,0,.16); }
.category-nav__item.is-active::after { transform: scaleX(1); }

/* ---------- Suggestions de recherche ---------- */
.search-shell { position: relative; }
.search-suggest {
  position: absolute; left: 0; right: 0; top: calc(100% + 10px); z-index: 70;
  display: grid; gap: 2px; padding: 8px; border-radius: 18px; background: #fff;
  box-shadow: 0 26px 60px rgba(11,53,20,.22); border: 1px solid var(--card-border);
  animation: fabItemIn .25s cubic-bezier(.2,.8,.2,1) both;
}
.search-suggest a {
  display: grid; grid-template-columns: 44px minmax(0,1fr); align-items: center; gap: 12px;
  padding: 8px 10px; border-radius: 12px; color: var(--ink); text-decoration: none; transition: background .15s;
}
.search-suggest a:hover, .search-suggest a.is-active { background: #f1f8ef; }
.search-suggest img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; background: #f4f8f3; }
.search-suggest b { display: block; font-size: 13.5px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-suggest small { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.search-suggest .search-suggest__all { display: flex; justify-content: center; font-size: 13px; font-weight: 800; color: var(--green-dark); }
.search-suggest__empty { padding: 14px; font-size: 13px; color: var(--muted); text-align: center; }

/* ---------- Bannière de page ---------- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center;
  max-width: 1240px; width: calc(100% - 40px); min-height: 340px; margin: 26px auto 0;
  border-radius: 34px; background: #fff; box-shadow: var(--shadow-pop);
}
.page-hero--compact { min-height: 260px; }
.page-hero__img {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover;
  animation: kenburns 18s ease-in-out infinite alternate; will-change: transform;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(120% 110% at 0% 50%, rgba(255,255,255,.97) 0%, rgba(255,255,255,.88) 42%, rgba(255,255,255,.22) 72%, transparent 100%);
}
.page-hero__inner { position: relative; z-index: 2; max-width: 700px; padding: 44px 56px 70px; }
.page-hero h1 {
  margin-top: 16px; font-size: clamp(32px, 4.6vw, 52px); line-height: 1.04; letter-spacing: -.035em;
  font-weight: 800; color: var(--ink); text-wrap: balance;
}
.page-hero h1::after {
  content: ""; display: block; width: 90px; height: 5px; margin-top: 18px; border-radius: 9px;
  background: linear-gradient(90deg, var(--green), var(--lime)); transform-origin: left; animation: barGrow 3.2s ease-in-out infinite;
}
.page-hero p { margin-top: 16px; max-width: 540px; font-size: 16px; line-height: 1.6; color: #34413a; text-wrap: pretty; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.page-hero .hero-ecg { bottom: 18px; height: 70px; }
.page-hero .hero-swoosh { width: 420px; height: 420px; top: -140px; right: -100px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; transition: color .2s; }
.crumbs a:hover { color: var(--green); }
.crumbs [aria-current] { color: var(--ink); }
.crumbs i { font-style: normal; opacity: .45; }
.page-hero .crumbs { margin-bottom: 18px; }
@media (max-width: 720px) {
  .page-hero { width: calc(100% - 24px); border-radius: 24px; min-height: 300px; }
  .page-hero__inner { padding: 30px 24px 60px; }
  .page-hero::before { background: rgba(255,255,255,.88); }
}

/* ---------- Sections génériques ---------- */
.section { padding: 76px 0; }
.section--soft { background: var(--bg-page); }
.section--tight { padding: 48px 0; }
.section-intro { max-width: 660px; }
.section-intro--center { margin: 0 auto; text-align: center; }
.section-intro--center .kicker { justify-content: center; }
.section-intro h2, .pdp-h2 {
  margin-top: 14px; font-size: clamp(28px, 3.8vw, 42px); line-height: 1.08; letter-spacing: -.035em; font-weight: 800; color: var(--ink); text-wrap: balance;
}
.pdp-h2 { margin-top: 0; font-size: clamp(22px, 2.6vw, 30px); }
.section-intro p { margin-top: 14px; font-size: 15.5px; line-height: 1.7; color: var(--muted); text-wrap: pretty; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }

.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 56px; align-items: center; }
.split__img { position: relative; aspect-ratio: 5 / 4; border-radius: 30px; overflow: hidden; box-shadow: var(--shadow-pop); }
.split__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.split__img:hover img { transform: scale(1.05); }
.split__badge {
  position: absolute; left: 20px; bottom: 20px; display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-card); animation: floatY 5s ease-in-out infinite;
}
.split__badge span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: var(--grad-brand); color: #fff; font-size: 20px; }
.split__badge b { display: block; font-size: 15px; font-weight: 800; color: var(--ink); }
.split__badge small { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.prose p { margin-top: 16px; font-size: 15.5px; line-height: 1.75; color: #33403a; text-wrap: pretty; }
.ticks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; font-size: 14.5px; line-height: 1.55; color: #33403a; }
.ticks li svg { font-size: 20px; color: var(--green); margin-top: 1px; }
.ticks b { color: var(--ink); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin-top: 38px; }
.icard {
  position: relative; overflow: hidden; padding: 26px; border-radius: 24px; background: #fff; border: 1px solid var(--card-border);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, border-color .35s;
}
.icard:hover { transform: translateY(-6px); box-shadow: var(--shadow-pop); border-color: rgba(47,181,50,.45); }
.icard__icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--grad-brand); color: #fff; font-size: 24px;
  box-shadow: 0 10px 20px rgba(22,138,36,.28); animation: floatY 4s ease-in-out infinite;
}
.icard:nth-child(2) .icard__icon { animation-delay: -1s; }
.icard:nth-child(3) .icard__icon { animation-delay: -2s; }
.icard:nth-child(4) .icard__icon { animation-delay: -3s; }
.icard h3 { margin-top: 18px; font-size: 17px; font-weight: 800; letter-spacing: -.01em; color: var(--ink); }
.icard p { margin-top: 8px; font-size: 14px; line-height: 1.65; color: var(--muted); }
.icard__num { position: absolute; top: 14px; right: 20px; font-size: 44px; font-weight: 800; color: rgba(22,138,36,.1); }
.icard--dark { background: var(--ink); border-color: var(--ink); }
.icard--dark h3 { color: #fff; }
.icard--dark p { color: rgba(255,255,255,.75); }

.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; margin-top: 42px; }
.steps::before {
  content: ""; position: absolute; top: 47px; left: 9%; right: 9%; height: 2px; z-index: 0;
  background: repeating-linear-gradient(90deg, var(--green-bright) 0 8px, transparent 8px 16px); animation: dash 1.4s linear infinite;
}
.step { position: relative; z-index: 1; padding: 24px; border-radius: 22px; background: #fff; border: 1px solid var(--card-border); transition: transform .3s, box-shadow .3s; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.step > b { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 99px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 800; }
.step > b::after { content: ""; position: absolute; inset: 0; border-radius: 99px; border: 2px solid var(--green-bright); animation: fabRing 2.6s ease-out infinite; }
.step:nth-child(2) > b::after { animation-delay: -.65s; }
.step:nth-child(3) > b::after { animation-delay: -1.3s; }
.step:nth-child(4) > b::after { animation-delay: -1.95s; }
.step h3 { margin-top: 16px; font-size: 16px; font-weight: 800; color: var(--ink); }
.step p { margin-top: 6px; font-size: 13.5px; line-height: 1.6; color: var(--muted); }

.cta-band {
  position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 24px;
  padding: 46px 50px; border-radius: 30px; background: var(--ink); color: #fff;
}
.cta-band::before {
  content: ""; position: absolute; right: -120px; top: -170px; width: 440px; height: 440px; border-radius: 50%;
  border: 26px solid transparent; border-top-color: rgba(47,181,50,.55); border-right-color: rgba(159,210,31,.45);
  animation: swooshSpin 20s linear infinite; pointer-events: none;
}
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; text-wrap: balance; }
.cta-band p { margin-top: 10px; max-width: 580px; color: rgba(255,255,255,.8); line-height: 1.6; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--lime); }
.btn--outline { background: #fff; color: var(--ink); border: 1.5px solid var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--wa { background: #1faa53; color: #fff; }
.btn--wa:hover { background: #178a43; }

/* ---------- Catalogue ---------- */
.cat-chips { display: flex; gap: 10px; overflow-x: auto; padding-top: 28px; padding-bottom: 6px; scrollbar-width: none; }
.cat-chips::-webkit-scrollbar { display: none; }
.cat-chip {
  display: inline-flex; flex-shrink: 0; align-items: center; gap: 10px; padding: 7px 16px 7px 7px; border-radius: 99px;
  background: #fff; border: 1.5px solid var(--card-border); color: var(--ink); text-decoration: none; font-size: 13px; font-weight: 800; white-space: nowrap;
  transition: transform .25s, border-color .25s, background .25s, color .25s;
}
.cat-chip img { width: 34px; height: 34px; border-radius: 99px; object-fit: cover; }
.cat-chip small { font-size: 11px; font-weight: 700; color: var(--muted); }
.cat-chip:hover { transform: translateY(-2px); border-color: var(--green-bright); }
.cat-chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.cat-chip.is-active small { color: rgba(255,255,255,.7); }
.cat-chip--all span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 99px; background: var(--grad-brand); color: #fff; font-size: 16px; }

.cat-layout { display: grid; grid-template-columns: 272px minmax(0,1fr); gap: 28px; align-items: start; padding-top: 24px; padding-bottom: 72px; }
.filters { position: sticky; top: calc(var(--header-h, 132px) + 16px); display: grid; gap: 14px; }
.filters__head { display: none; }
.fbox { padding: 18px; border-radius: 20px; background: #fff; border: 1px solid var(--card-border); }
.fbox h3 { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.fbox ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 2px; }
.fopt {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border-radius: 10px;
  font-size: 13.5px; font-weight: 600; color: #33403a; text-align: left; cursor: pointer; transition: background .2s, color .2s;
}
.fopt:hover { background: #f1f8ef; }
.fopt.is-active { background: #eaf6e7; color: var(--green-dark); font-weight: 800; }
.fopt em { margin-left: auto; padding: 2px 8px; border-radius: 99px; background: #f1f4f0; font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--muted); }
.fopt input { width: 16px; height: 16px; accent-color: var(--green); flex-shrink: 0; }
.fsubs { margin: 4px 0 6px 12px !important; padding-left: 12px !important; border-left: 2px solid #e3eee0; }
.fsubs .fopt { padding: 6px 10px; font-size: 12.5px; }
.fbox--cta { background: var(--ink); border-color: var(--ink); color: #fff; }
.fbox--cta h3 { color: var(--lime); }
.fbox--cta p { margin-top: 8px; font-size: 13.5px; line-height: 1.55; color: rgba(255,255,255,.78); }
.fbox--cta .btn { width: 100%; justify-content: center; margin-top: 14px; }
.filters-backdrop { position: fixed; inset: 0; z-index: 89; background: rgba(8,20,10,.5); animation: fadeIn .25s both; }
.filters-toggle { display: none !important; }

.cat-toolbar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 14px 12px 18px; border-radius: 18px; background: #fff; border: 1px solid var(--card-border);
}
.cat-count { font-size: 14px; font-weight: 700; color: var(--muted); }
.cat-count b { color: var(--ink); }
.cat-toolbar__right { display: flex; align-items: center; gap: 10px; }
.select {
  appearance: none; -webkit-appearance: none; padding: 10px 38px 10px 14px; border-radius: 12px; border: 1.5px solid #dbe7d8; cursor: pointer;
  background: #f8fbf7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23101510' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 14px;
  font: 700 13px var(--font); color: var(--ink); outline: none;
}
.select:focus { border-color: var(--green-bright); }
.view-toggle { display: flex; padding: 3px; border-radius: 12px; background: #f1f5f0; }
.view-toggle button { display: grid; place-items: center; width: 36px; height: 34px; border-radius: 9px; color: var(--muted); font-size: 16px; transition: background .2s, color .2s; }
.view-toggle button[aria-pressed="true"] { background: #fff; color: var(--green-dark); box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.active-filters:empty { display: none; }
.afilter { display: inline-flex; align-items: center; gap: 8px; padding: 6px 7px 6px 12px; border-radius: 99px; background: #eaf6e7; color: var(--green-dark); font-size: 12.5px; font-weight: 800; }
.afilter button { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 99px; background: #fff; font-size: 12px; transition: background .2s, color .2s; }
.afilter button:hover { background: var(--ink); color: #fff; }
.afilter--clear { padding: 6px 10px; background: transparent; color: var(--muted); text-decoration: underline; font-size: 12.5px; font-weight: 700; }

.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; margin-top: 18px; transition: opacity .2s; }
.pgrid.is-updating { opacity: .25; }
.pgrid--list { grid-template-columns: 1fr; }
.cat-empty { margin-top: 18px; padding: 48px 24px; border-radius: 24px; border: 2px dashed #cfe0cb; text-align: center; }
.cat-empty h3 { font-size: 20px; font-weight: 800; color: var(--ink); }
.cat-empty p { margin: 8px auto 0; max-width: 420px; font-size: 14px; color: var(--muted); line-height: 1.6; }
.cat-empty .page-hero__actions { justify-content: center; }
.cat-more { display: grid; justify-items: center; gap: 12px; margin-top: 32px; }
.cat-more small { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.cat-progress { width: 220px; height: 4px; border-radius: 9px; background: #e3ece1; overflow: hidden; }
.cat-progress i { display: block; height: 100%; border-radius: 9px; background: var(--grad-brand); transition: width .5s ease; }

@media (max-width: 960px) {
  .cat-layout { grid-template-columns: 1fr; }
  .filters {
    position: fixed; top: 0; bottom: 0; left: 0; z-index: 90; width: min(350px, 88vw); padding: 18px; overflow-y: auto;
    background: var(--bg-page); transform: translateX(-105%); transition: transform .35s cubic-bezier(.2,.8,.2,1);
  }
  .filters.is-open { transform: none; box-shadow: 30px 0 60px rgba(0,0,0,.2); }
  .filters__head { display: flex; align-items: center; justify-content: space-between; font-size: 18px; font-weight: 800; color: var(--ink); }
  .filters__head button { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 99px; background: #fff; font-size: 18px; }
  .filters-toggle { display: inline-flex !important; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 800; }
}

/* ---------- Carte produit ---------- */
.pcard {
  position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden;
  border-radius: 22px; background: #fff; border: 1px solid var(--card-border);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, border-color .35s;
  animation: cardIn .55s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i, 0) * 45ms);
}
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-pop); border-color: rgba(47,181,50,.45); }
.pcard__media { position: relative; display: block; aspect-ratio: 1 / 1; margin: 10px 10px 0; border-radius: 16px; overflow: hidden; background: #f4f8f3; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.pcard:hover .pcard__media img { transform: scale(1.08); }
.pcard__badge {
  position: absolute; top: 12px; left: 12px; z-index: 2; padding: 6px 11px; border-radius: 99px;
  background: var(--grad-brand); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
}
.pcard__badge--dark { background: var(--ink); }
.pcard__view {
  position: absolute; top: 12px; right: 12px; z-index: 2; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 99px;
  background: var(--ink); color: #fff; font-size: 15px; transition: transform .3s, background .3s;
}
.pcard:hover .pcard__view { background: var(--green); transform: rotate(45deg); }
.pcard__usage {
  position: absolute; bottom: 12px; left: 12px; z-index: 2; padding: 5px 10px; border-radius: 99px;
  background: rgba(255,255,255,.94); color: var(--ink); font-size: 11px; font-weight: 800;
  opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s;
}
.pcard:hover .pcard__usage { opacity: 1; transform: none; }
.pcard__body { display: flex; flex-direction: column; flex: 1; padding: 14px 18px 18px; }
.pcard__meta { display: flex; justify-content: space-between; gap: 8px; font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pcard__brand { color: var(--green-dark); }
.pcard__name {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em;
  margin-top: 8px; font-size: 15.5px; font-weight: 800; line-height: 1.3; letter-spacing: -.01em; color: var(--ink); text-decoration: none; transition: color .2s;
}
.pcard__name:hover { color: var(--green); }
.rating { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 800; color: var(--ink); }
.rating span { font-weight: 600; color: var(--muted); }
.stars {
  font-size: 14px; letter-spacing: 1px; line-height: 1;
  background: linear-gradient(90deg, #f5a623 calc(var(--r) * 20%), #d6dfd3 0); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pcard__rating { margin-top: 8px; }
.pcard__short { display: none; margin-top: 8px; font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.pcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 14px; }
.pcard__body .pcard__rating + .pcard__short + .pcard__foot { margin-top: 14px; border-top: 1px solid #eef2ed; }
.stock--low { color: #9a6700 !important; }
.stock--low .stock__dot { background: #e8a317 !important; box-shadow: 0 0 0 4px rgba(232,163,23,.18) !important; }
.stock--order .stock__dot { background: #8a9a8e !important; box-shadow: none !important; }
.pcard__actions { display: grid; grid-template-columns: minmax(0,1fr) 42px; gap: 8px; margin-top: 12px; }
.pcard__quote {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 12px; border-radius: 12px;
  background: var(--grad-brand); color: #fff; font-size: 12.5px; font-weight: 800; box-shadow: 0 8px 18px rgba(22,138,36,.25); transition: filter .2s, transform .2s;
}
.pcard__quote svg { font-size: 15px; }
.pcard__quote:hover { filter: brightness(1.08); transform: translateY(-1px); }
.pcard__add { display: grid; place-items: center; height: 42px; border-radius: 12px; background: #eef6ec; color: var(--green-dark); font-size: 18px; transition: background .2s, color .2s; }
.pcard__add:hover { background: var(--ink); color: #fff; }
.is-added { animation: pop .45s ease; background: var(--green) !important; color: #fff !important; }
.pgrid--list .pcard { flex-direction: row; }
.pgrid--list .pcard__media { flex: 0 0 230px; margin: 10px; aspect-ratio: auto; min-height: 210px; }
.pgrid--list .pcard__body { padding: 20px 22px 20px 8px; }
.pgrid--list .pcard__short { display: block; }
.pgrid--list .pcard__name { min-height: 0; font-size: 18px; }
.pgrid--list .pcard__actions { max-width: 360px; }
@media (max-width: 600px) {
  .pgrid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
  .pcard { border-radius: 18px; }
  .pcard__media { margin: 6px 6px 0; border-radius: 13px; }
  .pcard__body { padding: 10px 12px 12px; }
  .pcard__name { font-size: 13.5px; }
  .pcard__meta span:last-child, .pcard__view { display: none; }
  .pcard__foot .stock { display: none; }
  .pcard__actions { grid-template-columns: 1fr; }
  .pcard__add { display: none; }
  .pgrid--list .pcard { flex-direction: column; }
  .pgrid--list .pcard__media { flex: none; aspect-ratio: 1; min-height: 0; margin: 6px 6px 0; }
  .pgrid--list .pcard__body { padding: 10px 12px 12px; }
}

/* Rail produits pages internes */
.prail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(236px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 16px; margin-top: 24px; scrollbar-width: none; }
.prail::-webkit-scrollbar { display: none; }
.prail .pcard { scroll-snap-align: start; }
@media (min-width: 1100px) { .prail { grid-auto-columns: calc((100% - 64px) / 5); } }

/* ---------- Fiche produit ---------- */
.pdp-crumbs { padding-top: 24px; }
.pdp { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(0,1fr) 318px; gap: 34px; align-items: start; padding-top: 20px; padding-bottom: 48px; }
.pdp-gallery { position: sticky; top: calc(var(--header-h, 132px) + 18px); display: grid; grid-template-columns: 72px minmax(0,1fr); gap: 14px; }
.pdp-thumbs { display: grid; gap: 10px; align-content: start; }
.pdp-thumb { width: 72px; height: 72px; padding: 0; overflow: hidden; border-radius: 14px; border: 2px solid var(--card-border); background: #fff; transition: border-color .2s, transform .2s, box-shadow .2s; }
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumb:hover { transform: translateY(-2px); }
.pdp-thumb[aria-pressed="true"] { border-color: var(--green-bright); box-shadow: 0 0 0 3px rgba(47,181,50,.18); }
.pdp-stage { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 28px; background: #f4f8f3; border: 1px solid var(--card-border); cursor: zoom-in; }
.pdp-stage img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease, opacity .25s ease; }
.pdp-stage.is-zooming img { transition: transform .08s linear; }
.pdp-stage.is-swapping img { opacity: 0; }
.pdp-stage .pcard__badge { top: 18px; left: 18px; font-size: 11px; padding: 7px 13px; }
.pdp-stage__hint {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; align-items: center; gap: 7px;
  padding: 8px 14px; border-radius: 99px; background: rgba(16,21,16,.8); color: #fff; font-size: 12px; font-weight: 700; white-space: nowrap; pointer-events: none; transition: opacity .3s;
}
.pdp-stage.is-zooming .pdp-stage__hint { opacity: 0; }
.pdp-stage__label { position: absolute; right: 16px; top: 18px; padding: 6px 12px; border-radius: 99px; background: #fff; color: var(--ink); font-size: 11.5px; font-weight: 800; box-shadow: var(--shadow-card); }

.pdp-info { min-width: 0; }
.pdp-brand { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; color: var(--green-dark); text-decoration: none; }
.pdp-brand:hover { text-decoration: underline; }
.pdp-info h1 { margin-top: 10px; font-size: clamp(26px, 2.8vw, 34px); line-height: 1.14; letter-spacing: -.03em; font-weight: 800; color: var(--ink); text-wrap: balance; }
.pdp-rating { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; font-size: 13.5px; font-weight: 700; color: var(--ink); }
.pdp-rating .stars { font-size: 18px; }
.pdp-rating a { color: var(--green-dark); text-decoration: none; }
.pdp-rating a:hover { text-decoration: underline; }
.pdp-rating i { width: 1px; height: 16px; background: var(--card-border); }
.pdp-rank { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 5px 12px 5px 5px; border-radius: 99px; background: #fff4de; color: #6b4a00; font-size: 12.5px; font-weight: 700; }
.pdp-rank b { padding: 3px 9px; border-radius: 99px; background: #f5a623; color: #fff; font-size: 11px; }
.pdp-sep { height: 1px; margin: 20px 0; border: 0; background: var(--card-border); }
.pdp-price { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; background: linear-gradient(120deg, #eaf6e7, #f5fbef); }
.pdp-price__icon { display: grid; place-items: center; flex-shrink: 0; width: 46px; height: 46px; border-radius: 14px; background: var(--grad-brand); color: #fff; font-size: 22px; }
.pdp-price strong { display: block; font-size: 20px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.pdp-price span { font-size: 13px; color: var(--muted); line-height: 1.45; }
.pdp-opt { margin-top: 20px; }
.pdp-opt__label { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.pdp-opt__label b { color: var(--ink); }
.opt-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.opt-row button { padding: 10px 16px; border-radius: 12px; border: 1.5px solid #dbe7d8; background: #fff; font-size: 13px; font-weight: 800; color: #33403a; transition: border-color .2s, background .2s, color .2s, box-shadow .2s; }
.opt-row button:hover { border-color: var(--green-bright); }
.opt-row button[aria-pressed="true"] { border-color: var(--green); background: #eef8ec; color: var(--green-dark); box-shadow: 0 0 0 3px rgba(47,181,50,.14); }
.keyspecs { width: 100%; margin-top: 22px; border-collapse: collapse; font-size: 13.5px; }
.keyspecs th { width: 40%; padding: 7px 16px 7px 0; text-align: left; vertical-align: top; font-weight: 800; color: var(--ink); }
.keyspecs td { padding: 7px 0; color: #3d4a40; }
.pdp-about h2 { margin-top: 24px; font-size: 17px; font-weight: 800; color: var(--ink); }
.pdp-bullets { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.pdp-bullets li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; font-size: 14px; line-height: 1.55; color: #33403a; }
.pdp-bullets svg { margin-top: 2px; font-size: 18px; color: var(--green); }
.pdp-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 13.5px; font-weight: 800; color: var(--green-dark); text-decoration: none; }
.pdp-more:hover { text-decoration: underline; }

.pdp-buy {
  position: sticky; top: calc(var(--header-h, 132px) + 18px); display: grid; gap: 14px; padding: 22px; border-radius: 24px;
  background: #fff; border: 1px solid var(--card-border); box-shadow: var(--shadow-card);
}
.pdp-buy__price { font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.pdp-buy__price small { display: block; margin-top: 4px; font-size: 12.5px; font-weight: 600; letter-spacing: 0; color: var(--muted); line-height: 1.45; }
.pdp-buy__ship { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 13.5px; line-height: 1.5; color: #33403a; }
.pdp-buy__ship svg { font-size: 20px; color: var(--green); }
.pdp-buy__ship b { color: var(--ink); }
.pdp-stock { display: flex; align-items: center; gap: 9px; font-size: 16px; font-weight: 800; color: var(--green-dark); }
.pdp-stock i { width: 9px; height: 9px; border-radius: 99px; background: var(--green-bright); box-shadow: 0 0 0 4px rgba(47,181,50,.18); animation: heartbeat 1.6s ease-in-out infinite; }
.pdp-stock--low { color: #9a6700; }
.pdp-stock--low i { background: #e8a317; box-shadow: 0 0 0 4px rgba(232,163,23,.2); }
.pdp-stock--order { color: #4d5a50; }
.pdp-stock--order i { background: #8a9a8e; box-shadow: none; animation: none; }
.pdp-qty { display: flex; align-items: center; justify-content: space-between; font-size: 13.5px; font-weight: 800; color: var(--ink); }
.stepper { display: inline-flex; align-items: center; overflow: hidden; border-radius: 12px; border: 1.5px solid #dbe7d8; background: #f8fbf7; }
.stepper button { display: grid; place-items: center; width: 38px; height: 40px; font-size: 16px; color: var(--ink); transition: background .2s; }
.stepper button:hover { background: #eaf6e7; }
.stepper input { width: 42px; border: 0; background: transparent; text-align: center; font: 800 14px var(--font); color: var(--ink); outline: none; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pdp-buy .btn { width: 100%; justify-content: center; }
.pdp-wa { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: 14px; border: 1.5px solid #1faa53; color: #128c3f; font-size: 13.5px; font-weight: 800; text-decoration: none; transition: background .2s, color .2s; }
.pdp-wa:hover { background: #1faa53; color: #fff; }
.pdp-buy__rows { display: grid; gap: 8px; margin: 0; padding-top: 14px; border-top: 1px solid #eef2ed; font-size: 12.5px; }
.pdp-buy__rows div { display: grid; grid-template-columns: 98px 1fr; gap: 8px; }
.pdp-buy__rows dt { font-weight: 600; color: var(--muted); }
.pdp-buy__rows dd { margin: 0; font-weight: 700; color: var(--ink); }
.pdp-secure { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 800; color: var(--green-dark); }
.pdp-secure svg { font-size: 16px; }
@media (max-width: 1140px) {
  .pdp { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .pdp-buy { grid-column: 2; position: static; }
  .pdp-gallery { grid-row: span 2; }
}
@media (max-width: 780px) {
  .pdp { grid-template-columns: 1fr; gap: 24px; }
  .pdp-gallery { position: static; grid-row: auto; grid-template-columns: 1fr; }
  .pdp-thumbs { order: 2; grid-auto-flow: column; grid-auto-columns: 64px; overflow-x: auto; }
  .pdp-thumb { width: 64px; height: 64px; }
  .pdp-buy { grid-column: auto; }
  .pdp-stage { border-radius: 22px; }
}

.pdp-section { padding: 48px 0; border-top: 1px solid var(--card-border); scroll-margin-top: calc(var(--header-h, 132px) + 64px); }
.bundle { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 22px; }
.bundle__items { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.bundle__item { position: relative; display: block; width: 150px; padding: 8px; border-radius: 18px; background: #fff; border: 1px solid var(--card-border); transition: opacity .25s, transform .25s, box-shadow .25s; }
.bundle__item:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.bundle__item img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.bundle__item.is-off { opacity: .35; }
.bundle__plus { font-size: 24px; font-weight: 800; color: var(--muted); }
.bundle__list { flex: 1; min-width: 260px; display: grid; gap: 10px; }
.bundle__list label { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; line-height: 1.45; color: #33403a; cursor: pointer; }
.bundle__list input { width: 17px; height: 17px; margin-top: 1px; accent-color: var(--green); flex-shrink: 0; }
.bundle__list b { color: var(--ink); }
.bundle__list .btn { justify-self: start; margin-top: 6px; }

.pdp-tabs { position: sticky; top: var(--header-h, 132px); z-index: 30; background: #f7faf6; border-top: 1px solid var(--card-border); border-bottom: 1px solid var(--card-border); }
.pdp-tabs .container { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.pdp-tabs .container::-webkit-scrollbar { display: none; }
.pdp-tabs a { position: relative; padding: 17px 14px; font-size: 14px; font-weight: 800; color: var(--muted); text-decoration: none; white-space: nowrap; transition: color .2s; }
.pdp-tabs a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--grad-brand); transform: scaleX(0); transition: transform .3s; }
.pdp-tabs a:hover, .pdp-tabs a.is-active { color: var(--ink); }
.pdp-tabs a.is-active::after { transform: scaleX(1); }

.pdp-desc { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 44px; align-items: center; }
.pdp-desc p { margin-top: 14px; font-size: 15.5px; line-height: 1.75; color: #33403a; text-wrap: pretty; }
.pdp-desc__img { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 26px; box-shadow: var(--shadow-card); }
.pdp-desc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.pdp-desc__img:hover img { transform: scale(1.05); }
.features { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; margin-top: 32px; }
.feature { padding: 22px; border-radius: 20px; background: #fff; border: 1px solid var(--card-border); transition: transform .3s, box-shadow .3s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.feature span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--grad-brand); color: #fff; font-size: 20px; animation: floatY 4s ease-in-out infinite; }
.feature:nth-child(2) span { animation-delay: -1.3s; }
.feature:nth-child(3) span { animation-delay: -2.6s; }
.feature h3 { margin-top: 14px; font-size: 15px; font-weight: 800; line-height: 1.4; color: var(--ink); }

.specs-grid { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); gap: 28px; margin-top: 22px; align-items: start; }
.specs { width: 100%; overflow: hidden; border-collapse: separate; border-spacing: 0; border-radius: 18px; border: 1px solid var(--card-border); background: #fff; font-size: 14px; }
.specs th { width: 42%; padding: 13px 18px; text-align: left; font-weight: 800; color: var(--ink); background: #f4f8f3; border-bottom: 1px solid var(--card-border); }
.specs td { padding: 13px 18px; color: #33403a; border-bottom: 1px solid var(--card-border); }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }
.boxcard { padding: 22px; border-radius: 20px; background: #fff; border: 1px solid var(--card-border); }
.boxcard + .boxcard { margin-top: 16px; }
.boxcard h3 { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 800; color: var(--ink); }
.boxcard h3 svg { color: var(--green); font-size: 20px; }
.boxcard ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 9px; }
.boxcard li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: #33403a; }
.boxcard li::before { content: ""; flex-shrink: 0; width: 7px; height: 7px; border-radius: 99px; background: var(--green-bright); }
.doc-link { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: #f4f8f3; text-align: left; font-size: 13.5px; font-weight: 800; color: var(--ink); transition: background .2s, transform .2s; }
.doc-link:hover { background: #eaf6e7; transform: translateX(3px); }
.doc-link svg { font-size: 22px; color: var(--green); }
.doc-link small { display: block; font-size: 12px; font-weight: 600; color: var(--muted); }

.reviews { display: grid; grid-template-columns: 300px minmax(0,1fr); gap: 44px; margin-top: 24px; align-items: start; }
.rsum { position: sticky; top: calc(var(--header-h, 132px) + 80px); }
.rsum__score { display: flex; align-items: center; gap: 12px; }
.rsum__score strong { font-size: 46px; font-weight: 800; letter-spacing: -.04em; color: var(--ink); }
.rsum__score .stars { font-size: 21px; }
.rsum > p { margin-top: 4px; font-size: 13px; color: var(--muted); }
.rbars { display: grid; gap: 10px; margin-top: 18px; }
.rbar { display: grid; grid-template-columns: 54px 1fr 40px; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; color: var(--green-dark); }
.rbar i { position: relative; height: 10px; overflow: hidden; border-radius: 9px; background: #e6ede4; }
.rbar i b { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 9px; background: linear-gradient(90deg, #f5a623, #f8c454); transition: width 1.3s cubic-bezier(.2,.8,.2,1); }
.rbar span:last-child { text-align: right; color: var(--muted); }
.rsum .btn { width: 100%; justify-content: center; margin-top: 22px; }
.rlist { display: grid; gap: 14px; }
.review { padding: 20px 22px; border-radius: 20px; background: #fff; border: 1px solid var(--card-border); animation: cardIn .45s both; }
.review__head { display: flex; align-items: center; gap: 12px; }
.review__avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 99px; background: var(--grad-brand); color: #fff; font-size: 14px; font-weight: 800; }
.review__head b { display: block; font-size: 14px; color: var(--ink); }
.review__head small { font-size: 12px; color: var(--muted); }
.review h4 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; font-size: 14.5px; font-weight: 800; color: var(--ink); }
.review p { margin-top: 8px; font-size: 14px; line-height: 1.65; color: #33403a; }
.review__verified { font-size: 11.5px; font-weight: 800; color: var(--green-dark); }
.review__foot { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 12.5px; color: var(--muted); }
.review__foot button { padding: 6px 14px; border-radius: 99px; border: 1.5px solid #dbe7d8; font-size: 12.5px; font-weight: 800; color: var(--ink); transition: all .2s; }
.review__foot button:hover { border-color: var(--green-bright); }
.review__foot button.is-done { background: #eaf6e7; border-color: var(--green); color: var(--green-dark); }
.review-form { padding: 22px; border-radius: 20px; background: #f4f8f3; border: 1px solid var(--card-border); animation: modalIn .35s both; }
.star-pick { display: flex; gap: 4px; }
.star-pick button { font-size: 28px; line-height: 1; color: #d6dfd3; transition: color .15s, transform .15s; }
.star-pick button:hover { transform: scale(1.15); }
.star-pick button.is-on { color: #f5a623; }

.pdp-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 58; display: none; align-items: center; gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -10px 30px rgba(11,53,20,.14);
  transform: translateY(110%); transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.pdp-bar.is-visible { transform: none; }
.pdp-bar img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.pdp-bar .btn { flex: 1; justify-content: center; }
@media (max-width: 780px) {
  .pdp-bar { display: flex; }
  body[data-page="produit"] .contact-fab { bottom: 90px; }
  .pdp-desc, .specs-grid, .reviews { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .rsum { position: static; }
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; margin-top: 22px; }
.faq details { overflow: hidden; border-radius: 18px; background: #fff; border: 1px solid var(--card-border); transition: border-color .3s, box-shadow .3s; }
.faq details[open] { border-color: rgba(47,181,50,.45); box-shadow: var(--shadow-card); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 22px; list-style: none; cursor: pointer; font-size: 15px; font-weight: 800; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { display: grid; place-items: center; flex-shrink: 0; width: 30px; height: 30px; border-radius: 99px; background: #eef6ec; color: var(--green-dark); font-size: 18px; font-style: normal; transition: transform .3s, background .3s, color .3s; }
.faq details[open] summary i { transform: rotate(45deg); background: var(--green); color: #fff; }
.faq__a { padding: 0 22px 20px; font-size: 14.5px; line-height: 1.7; color: #3d4a40; animation: fadeIn .3s; }

/* ---------- Formulaires de page ---------- */
.form-card { padding: 30px; border-radius: 26px; background: #fff; border: 1px solid var(--card-border); box-shadow: var(--shadow-card); }
.form-card > h2 { font-size: 24px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.form-card > p { margin-top: 6px; font-size: 14px; color: var(--muted); line-height: 1.6; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: grid; gap: 7px; font-size: 12.5px; font-weight: 800; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border-radius: 12px; border: 1.5px solid #dbe7d8; background: #f8fbf7;
  font: 500 14px var(--font); color: var(--ink); outline: none; transition: border-color .2s, box-shadow .2s, background .2s;
}
.field select { appearance: none; -webkit-appearance: none; background: #f8fbf7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23101510' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 14px; padding-right: 40px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green-bright); box-shadow: 0 0 0 4px rgba(47,181,50,.15); background: #fff; }
.chips-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-pick button { padding: 9px 14px; border-radius: 99px; border: 1.5px solid #dbe7d8; background: #fff; font-size: 13px; font-weight: 800; color: #33403a; transition: all .2s; }
.chips-pick button:hover { border-color: var(--green-bright); }
.chips-pick button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.file-drop { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 14px; border: 2px dashed #cfe0cb; background: #f8fbf7; cursor: pointer; font-size: 13px; font-weight: 700; color: var(--muted); transition: border-color .2s, background .2s; }
.file-drop:hover { border-color: var(--green-bright); background: #f1f8ef; }
.file-drop input { display: none; }
.file-drop svg { font-size: 24px; color: var(--green); }
.file-drop b { color: var(--ink); }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; font-weight: 600; line-height: 1.5; color: var(--muted); }
.check input { width: 17px; height: 17px; margin-top: 1px; accent-color: var(--green); flex-shrink: 0; }
.form-grid .btn { justify-content: center; }
.form-success { display: grid; justify-items: center; gap: 12px; padding: 36px 16px; text-align: center; animation: modalIn .4s both; }
.form-success > span { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 99px; background: #eef8ec; color: var(--green); font-size: 34px; animation: pulseRing 2.4s ease-out infinite; }
.form-success h3 { font-size: 22px; font-weight: 800; color: var(--ink); }
.form-success p { max-width: 420px; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } .form-card { padding: 22px; } }

/* ---------- Contact ---------- */
.contact-cards { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; margin-top: -54px; }
.ccard { display: grid; gap: 10px; padding: 22px; border-radius: 22px; background: #fff; box-shadow: var(--shadow-card); color: var(--ink); text-decoration: none; transition: transform .3s, box-shadow .3s; }
.ccard:hover { transform: translateY(-6px); box-shadow: var(--shadow-pop); }
.ccard .icard__icon { width: 46px; height: 46px; font-size: 21px; }
.ccard:nth-child(2) .icard__icon { animation-delay: -1s; }
.ccard:nth-child(3) .icard__icon { animation-delay: -2s; }
.ccard:nth-child(4) .icard__icon { animation-delay: -3s; }
.ccard--wa .icard__icon { background: #1faa53; }
.ccard b { font-size: 15px; font-weight: 800; }
.ccard small { font-size: 13px; font-weight: 600; color: var(--muted); line-height: 1.5; }
.ccard em { display: flex; align-items: center; gap: 6px; font-style: normal; font-size: 13px; font-weight: 800; color: var(--green-dark); }
.contact-grid { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); gap: 28px; align-items: start; }
.map { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 26px; border: 1px solid var(--card-border); background: #eaf4e8; }
.map iframe { display: block; width: 100%; height: 100%; border: 0; }
.hours { margin-top: 16px; padding: 24px; border-radius: 22px; background: var(--ink); color: #fff; }
.hours h3 { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 16px; font-weight: 800; }
.hours h3 span { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 99px; background: rgba(47,181,50,.2); color: var(--lime); font-size: 12px; }
.hours h3 span::before { content: ""; width: 7px; height: 7px; border-radius: 99px; background: var(--lime); animation: heartbeat 1.6s infinite; }
.hours h3 span.is-closed { background: rgba(255,255,255,.1); color: rgba(255,255,255,.75); }
.hours h3 span.is-closed::before { background: rgba(255,255,255,.6); animation: none; }
.hours ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; font-size: 14px; }
.hours li { display: flex; justify-content: space-between; gap: 10px; color: rgba(255,255,255,.8); }
.hours li b { color: #fff; }
.hours p { margin-top: 14px; font-size: 13.5px; color: rgba(255,255,255,.75); line-height: 1.6; }
@media (max-width: 960px) { .contact-cards { grid-template-columns: 1fr 1fr; margin-top: 24px; } .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .contact-cards { grid-template-columns: 1fr; } }

/* ---------- Devis ---------- */
.qsteps { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.qstep { display: flex; align-items: center; gap: 10px; padding: 7px 16px 7px 7px; border-radius: 99px; background: rgba(255,255,255,.92); border: 1.5px solid var(--card-border); font-size: 13px; font-weight: 800; color: var(--muted); transition: all .3s; }
.qstep b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 99px; background: #e6ede4; color: var(--ink); font-size: 12px; transition: all .3s; }
.qstep.is-done b, .qstep.is-current b { background: var(--grad-brand); color: #fff; }
.qstep.is-current { color: var(--ink); border-color: var(--green-bright); box-shadow: 0 0 0 4px rgba(47,181,50,.12); }
.devis-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); gap: 28px; align-items: start; padding-top: 40px; padding-bottom: 72px; }
.qpanel { position: sticky; top: calc(var(--header-h, 132px) + 18px); }
.qpanel h2 { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 800; color: var(--ink); }
.qpanel h2 span { display: inline-grid; place-items: center; min-width: 28px; height: 28px; padding: 0 8px; border-radius: 99px; background: var(--grad-brand); color: #fff; font-size: 13px; }
.qlist { display: grid; gap: 12px; margin-top: 18px; }
.qitem { display: grid; grid-template-columns: 72px minmax(0,1fr) auto auto; align-items: center; gap: 14px; padding: 12px; border-radius: 18px; background: #fff; border: 1px solid var(--card-border); animation: cardIn .4s both; }
.qitem img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; }
.qitem a { font-size: 14px; font-weight: 800; color: var(--ink); text-decoration: none; line-height: 1.35; }
.qitem a:hover { color: var(--green); }
.qitem small { display: block; margin-top: 3px; font-size: 12px; font-weight: 600; color: var(--muted); }
.qitem__rm { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 99px; color: var(--muted); font-size: 16px; transition: background .2s, color .2s; }
.qitem__rm:hover { background: #fdecea; color: #c0392b; }
.qempty { padding: 30px 22px; border-radius: 20px; border: 2px dashed #cfe0cb; text-align: center; font-size: 14px; line-height: 1.6; color: var(--muted); }
.qempty b { display: block; margin-bottom: 4px; font-size: 16px; color: var(--ink); }
.qempty .btn { margin-top: 14px; }
.qadd { position: relative; margin-top: 16px; }
.qadd .search-suggest { top: calc(100% + 6px); }
.qtrust { display: grid; gap: 10px; margin-top: 20px; padding: 18px; border-radius: 18px; background: #eaf4e8; }
.qtrust div { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 700; color: var(--ink); }
.qtrust svg { font-size: 18px; color: var(--green); }
@media (max-width: 900px) { .devis-grid { grid-template-columns: 1fr; } .qpanel { position: static; } }
@media (max-width: 520px) { .qitem { grid-template-columns: 56px minmax(0,1fr) auto; } .qitem img { width: 56px; height: 56px; } .qitem .stepper { grid-column: 2; justify-self: start; } }

/* ---------- Blog / article ---------- */
.chips-row { display: flex; flex-wrap: wrap; gap: 8px; }
.feat-post { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); margin-top: 28px; overflow: hidden; border-radius: 30px; background: #fff; border: 1px solid var(--card-border); color: inherit; text-decoration: none; transition: transform .35s, box-shadow .35s; animation: cardIn .5s both; }
.feat-post:hover { transform: translateY(-4px); box-shadow: var(--shadow-pop); }
.feat-post__img { min-height: 320px; overflow: hidden; }
.feat-post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.feat-post:hover .feat-post__img img { transform: scale(1.05); }
.feat-post__body { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 38px; }
.post-tag { align-self: flex-start; padding: 6px 12px; border-radius: 99px; background: #eaf6e7; color: var(--green-dark); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.feat-post h2 { font-size: clamp(24px, 2.8vw, 32px); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; color: var(--ink); text-wrap: balance; }
.feat-post p { font-size: 15px; line-height: 1.65; color: var(--muted); }
.post-meta { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.post-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 800; color: var(--green-dark); }
.posts { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; margin-top: 24px; }
.post { display: flex; flex-direction: column; overflow: hidden; border-radius: 24px; background: #fff; border: 1px solid var(--card-border); color: inherit; text-decoration: none; transition: transform .35s, box-shadow .35s; animation: cardIn .5s both; animation-delay: calc(var(--i, 0) * 60ms); }
.post:hover { transform: translateY(-6px); box-shadow: var(--shadow-pop); }
.post__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s ease; }
.post:hover .post__img img { transform: scale(1.07); }
.post__img .post-tag { position: absolute; left: 14px; top: 14px; background: #fff; }
.post__body { display: flex; flex-direction: column; flex: 1; gap: 10px; padding: 20px 22px 22px; }
.post h3 { font-size: 17px; font-weight: 800; line-height: 1.35; letter-spacing: -.01em; color: var(--ink); }
.post p { font-size: 14px; line-height: 1.6; color: var(--muted); }
.post .post-link { margin-top: auto; padding-top: 6px; }
@media (max-width: 960px) { .posts { grid-template-columns: 1fr 1fr; } .feat-post { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .posts { grid-template-columns: 1fr; } .feat-post__body { padding: 24px; } .feat-post__img { min-height: 220px; } }

.read-progress { position: fixed; top: 0; left: 0; z-index: 100; width: 0; height: 4px; background: var(--grad-brand); }
.article { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 52px; align-items: start; padding-top: 40px; padding-bottom: 72px; }
.article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.article__body { max-width: 720px; }
.article__body h2 { margin-top: 36px; font-size: 24px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.article__body p { margin-top: 14px; font-size: 16.5px; line-height: 1.8; color: #33403a; text-wrap: pretty; }
.article__body p.lead { font-size: 19px; font-weight: 600; line-height: 1.65; color: var(--ink); }
.article__note { display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: center; margin-top: 36px; padding: 20px; border-radius: 20px; background: #eaf4e8; font-size: 14px; line-height: 1.6; color: #33403a; }
.article__note span { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--grad-brand); color: #fff; font-size: 20px; }
.article-aside { position: sticky; top: calc(var(--header-h, 132px) + 18px); display: grid; gap: 16px; }
.aside-card { padding: 20px; border-radius: 22px; background: #fff; border: 1px solid var(--card-border); }
.aside-card h3 { font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.aside-card .mini-list { display: grid; gap: 10px; margin-top: 14px; }
.mini-product { display: grid; grid-template-columns: 60px 1fr; align-items: center; gap: 12px; padding: 8px; border-radius: 14px; color: var(--ink); text-decoration: none; transition: background .2s, transform .25s; }
.mini-product:hover { background: #f1f8ef; transform: translateX(4px); }
.mini-product img { width: 60px; height: 60px; border-radius: 12px; object-fit: cover; }
.mini-product b { display: block; font-size: 13.5px; font-weight: 800; line-height: 1.3; }
.mini-product small { font-size: 12px; font-weight: 800; color: var(--green-dark); }
.aside-card--dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.aside-card--dark h3 { color: var(--lime); }
.aside-card--dark p { margin-top: 8px; font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.8); }
.aside-card--dark .btn { width: 100%; justify-content: center; margin-top: 14px; }
.share { display: flex; gap: 8px; margin-top: 12px; }
@media (max-width: 960px) { .article { grid-template-columns: 1fr; } .article-aside { position: static; } }

/* ---------- Marques ---------- */
.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin-top: 36px; }
.bcard { display: grid; gap: 14px; padding: 20px; border-radius: 24px; background: #fff; border: 1px solid var(--card-border); color: var(--ink); text-decoration: none; transition: transform .35s, box-shadow .35s, border-color .35s; animation: cardIn .5s both; animation-delay: calc(var(--i, 0) * 60ms); }
.bcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-pop); border-color: rgba(47,181,50,.45); }
.bcard__logo { display: grid; place-items: center; height: 120px; padding: 20px; border-radius: 16px; background: #f7faf6; }
.bcard__logo img { max-width: 78%; max-height: 72px; object-fit: contain; transition: transform .4s; }
.bcard:hover .bcard__logo img { transform: scale(1.07); }
.bcard h3 { font-size: 17px; font-weight: 800; }
.bcard p { font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.bcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; font-weight: 800; color: var(--green-dark); }

/* ---------- Pages documentaires (aide, légal) ---------- */
.doc-layout { display: grid; grid-template-columns: 250px minmax(0,1fr); gap: 44px; align-items: start; padding-top: 48px; padding-bottom: 72px; }
.doc-nav { position: sticky; top: calc(var(--header-h, 132px) + 18px); display: grid; gap: 4px; padding: 12px; border-radius: 20px; background: #fff; border: 1px solid var(--card-border); }
.doc-nav a { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 12px; font-size: 14px; font-weight: 700; color: #33403a; text-decoration: none; white-space: nowrap; transition: background .2s, color .2s; }
.doc-nav a svg { font-size: 17px; color: var(--green); transition: color .2s; }
.doc-nav a:hover { background: #f1f8ef; }
.doc-nav a.is-active { background: var(--ink); color: #fff; }
.doc-nav a.is-active svg { color: var(--lime); }
.doc-section { margin-bottom: 44px; padding-bottom: 44px; border-bottom: 1px solid var(--card-border); scroll-margin-top: calc(var(--header-h, 132px) + 24px); }
.doc-section:last-child { border-bottom: 0; }
.doc-section > h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.doc-section h3 { margin-top: 26px; font-size: 17px; font-weight: 800; color: var(--ink); }
.doc-section p, .doc-section li { margin-top: 10px; font-size: 15px; line-height: 1.75; color: #33403a; }
.doc-section ul { padding-left: 20px; }
.zones { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; margin-top: 20px; }
.zone { padding: 20px; border-radius: 20px; background: #fff; border: 1px solid var(--card-border); }
.zone b { display: block; font-size: 15px; font-weight: 800; color: var(--ink); }
.zone strong { display: block; margin-top: 10px; font-size: 24px; font-weight: 800; letter-spacing: -.02em; color: var(--green-dark); }
.zone small { font-size: 13px; color: var(--muted); }
@media (max-width: 860px) {
  .doc-layout { grid-template-columns: 1fr; gap: 24px; }
  .doc-nav { position: static; grid-auto-flow: column; overflow-x: auto; }
  .zones { grid-template-columns: 1fr; }
}

/* ---------- Compte ---------- */
.auth { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 24px; align-items: start; padding-top: 40px; padding-bottom: 72px; }
.tabs-pill { display: inline-flex; gap: 4px; padding: 4px; border-radius: 14px; background: #eef3ed; }
.tabs-pill button { padding: 10px 18px; border-radius: 11px; font-size: 13.5px; font-weight: 800; color: var(--muted); transition: background .2s, color .2s, box-shadow .2s; }
.tabs-pill button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 4px 12px rgba(0,0,0,.08); }
.auth__perks { position: relative; overflow: hidden; padding: 34px; border-radius: 26px; background: var(--ink); color: #fff; }
.auth__perks::before { content: ""; position: absolute; right: -110px; bottom: -150px; width: 360px; height: 360px; border-radius: 50%; border: 22px solid transparent; border-top-color: rgba(47,181,50,.5); border-left-color: rgba(159,210,31,.4); animation: swooshSpin 18s linear infinite; }
.auth__perks > * { position: relative; }
.auth__perks h2 { font-size: 26px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.auth__perks .ticks li { color: rgba(255,255,255,.85); }
.auth__perks .ticks b { color: #fff; }
.auth__perks .ticks svg { color: var(--lime); }
@media (max-width: 860px) { .auth { grid-template-columns: 1fr; } }

/* ---------- Professionnels ---------- */
.seg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin-top: 36px; }
.seg { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 3 / 4; padding: 22px; overflow: hidden; border-radius: 24px; color: #fff; text-decoration: none; }
.seg img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1s ease; }
.seg::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,53,20,0) 30%, rgba(11,53,20,.92) 100%); }
.seg:hover img { transform: scale(1.08); }
.seg h3 { font-size: 19px; font-weight: 800; }
.seg p { margin-top: 6px; font-size: 13.5px; line-height: 1.5; color: rgba(255,255,255,.88); }
.seg em { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-style: normal; font-size: 13px; font-weight: 800; color: var(--lime); }

/* ---------- Animations ---------- */
@keyframes cardIn { from { opacity: 0; transform: translateY(18px); } }
@keyframes pop { 50% { transform: scale(1.18); } }
@keyframes dash { to { background-position: 16px 0; } }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } .steps::before { display: none; } .split { grid-template-columns: 1fr; gap: 32px; } .cta-band { grid-template-columns: 1fr; padding: 34px 26px; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } .section { padding: 56px 0; } }

.article__title { margin-top: 16px; font-size: clamp(30px, 4.2vw, 48px); line-height: 1.08; letter-spacing: -.035em; font-weight: 800; color: var(--ink); text-wrap: balance; }
.article__cover { margin-top: 28px; aspect-ratio: 16 / 8; overflow: hidden; border-radius: 30px; box-shadow: var(--shadow-pop); }
.article__cover img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 20s ease-in-out infinite alternate; }
.share button { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 99px; border: 1.5px solid #dbe7d8; background: #fff; font-size: 12.5px; font-weight: 800; color: var(--ink); transition: all .2s; }
.share button:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.split--rev .split__img { order: 2; }
@media (max-width: 860px) { .split--rev .split__img { order: 0; } }
