/* ==========================================================================
   Birgo-Tech — Design system v11 (modernisation + mobile + boutique)
   Organisation : tokens → base → navigation → boutons → héros → cartes →
   boutique/panier → formulaires → chat → pied de page → mobile → animations
   ========================================================================== */

:root {
  --bt-primary: #0d3b66;
  --bt-primary-2: #145da0;
  --bt-dark: #071d33;
  --bt-ink: #0b1f33;
  --bt-muted: #5b6b80;
  --bt-accent: #f4c430;
  --bt-accent-soft: #fdf3cf;
  --bt-success: #138a43;
  --bt-whatsapp: #25d366;
  --bt-danger: #d64545;
  --bt-bg: #f4f7fb;
  --bt-card: #ffffff;
  --bt-border: rgba(13, 59, 102, .10);
  --bt-shadow-sm: 0 4px 14px rgba(7, 29, 51, .06);
  --bt-shadow: 0 18px 45px rgba(7, 29, 51, .10);
  --bt-shadow-lg: 0 30px 70px rgba(7, 29, 51, .18);
  --bt-radius: 1.25rem;
  --bt-radius-lg: 1.75rem;
  --bt-ease: cubic-bezier(.22, 1, .36, 1);
  --bt-font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --nav-h: 72px;
  --bottom-nav-h: 0px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--bt-font);
  color: var(--bt-ink);
  background: var(--bt-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  padding-bottom: var(--bottom-nav-h);
}
body:has(> nav.fixed-top), body.has-fixed-nav { padding-top: var(--nav-h); }
h1, h2, h3, h4, h5, h6, .display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
  font-weight: 800; letter-spacing: -.02em; line-height: 1.12; color: inherit;
}
a { text-decoration: none; color: var(--bt-primary-2); transition: color .2s ease; }
img { max-width: 100%; height: auto; }
::selection { background: var(--bt-accent); color: var(--bt-dark); }
:focus-visible { outline: 3px solid var(--bt-accent); outline-offset: 2px; border-radius: .4rem; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 3000; padding: .65rem 1rem; color: #fff; background: var(--bt-dark); border-radius: .75rem; }
.skip-link:focus { top: .75rem; }
.text-muted-soft { color: var(--bt-muted) !important; }
.text-gradient { background: linear-gradient(120deg, var(--bt-accent), #ffe58a 45%, #fff); -webkit-background-clip: text; background-clip: text; color: transparent; }

.section { padding: clamp(3.5rem, 7vw, 6rem) 0; position: relative; }
.section-sm { padding: clamp(2rem, 4vw, 3rem) 0; }
.section-title { max-width: 780px; margin: 0 auto clamp(2rem, 4vw, 3rem); text-align: center; }
.section-title p { color: var(--bt-muted); font-size: 1.05rem; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.75rem; flex-wrap: wrap; }
.section-head h2 { margin: .6rem 0 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .4rem .85rem; border-radius: 999px;
  font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--bt-primary-2); background: rgba(20, 93, 160, .08); border: 1px solid rgba(20, 93, 160, .14);
}
.bg-white { background: #fff !important; }
.bg-soft { background: linear-gradient(180deg, #fff, var(--bt-bg)); }

/* ---------- Navigation ---------- */
.navbar {
  min-height: var(--nav-h);
  background: rgba(7, 29, 51, .82);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  transition: background .35s ease, box-shadow .35s ease, min-height .35s ease;
}
.navbar.bg-white { background: rgba(255, 255, 255, .9) !important; border-bottom: 1px solid var(--bt-border); }
.navbar.is-scrolled { background: rgba(7, 29, 51, .95); box-shadow: 0 10px 30px rgba(7, 29, 51, .25); }
.navbar.bg-white.is-scrolled { background: rgba(255, 255, 255, .97) !important; box-shadow: var(--bt-shadow-sm); }
.navbar-brand { font-weight: 800; letter-spacing: -.01em; display: inline-flex; align-items: center; gap: .55rem; }
.navbar-brand img { background: #fff; object-fit: cover; box-shadow: 0 0 0 3px rgba(244, 196, 48, .35); transition: transform .5s var(--bt-ease); }
.navbar-brand:hover img { transform: rotate(-8deg) scale(1.06); }
.navbar .nav-link { font-weight: 600; font-size: .95rem; position: relative; padding-inline: .7rem !important; white-space: nowrap; }
.navbar-dark .nav-link { color: rgba(255, 255, 255, .82); }
.navbar-dark .nav-link:hover, .navbar-dark .nav-link.active { color: #fff; }
@media (min-width: 992px) and (max-width: 1399.98px) {
  .navbar .search-bar { display: none !important; }
  .navbar .nav-link { padding-inline: .5rem !important; font-size: .9rem; }
  .navbar .nav-link::after { left: .5rem !important; right: .5rem !important; }
}
@media (min-width: 992px) {
  .navbar .nav-link::after {
    content: ""; position: absolute; left: .7rem; right: .7rem; bottom: .2rem; height: 2px; border-radius: 2px;
    background: var(--bt-accent); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--bt-ease);
  }
  .navbar .nav-link:hover::after, .navbar .nav-link.active::after { transform: scaleX(1); }
  .navbar .dropdown-toggle::after { display: none; }
}
.nav-live-chat { color: #86efac !important; }
.dropdown-menu { border: 1px solid var(--bt-border); border-radius: 1rem; box-shadow: var(--bt-shadow); padding: .5rem; animation: dropIn .25s var(--bt-ease); }
.dropdown-item { border-radius: .65rem; padding: .55rem .8rem; font-weight: 500; }
.dropdown-item:hover { background: var(--bt-accent-soft); color: var(--bt-dark); }
.navbar-toggler { border: 0; padding: .45rem .6rem; border-radius: .75rem; background: rgba(255, 255, 255, .08); }
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(244, 196, 48, .45); }
.cta-nav { white-space: nowrap; }
.search-bar { position: relative; }
.search-bar .form-control { border-radius: 999px; background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .18); color: #fff; padding-inline: 1rem; }
.search-bar .form-control::placeholder { color: rgba(255, 255, 255, .6); }
.search-bar .form-control:focus { background: #fff; color: var(--bt-ink); box-shadow: 0 0 0 3px rgba(244, 196, 48, .35); }
.search-bar .btn { border-radius: 999px; }
.search-suggestions { position: absolute; top: calc(100% + .5rem); right: 0; z-index: 1500; width: min(380px, 90vw); background: #fff; border: 1px solid var(--bt-border); border-radius: 1rem; box-shadow: var(--bt-shadow); overflow: hidden; animation: dropIn .25s var(--bt-ease); }

.nav-cart {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  height: 2.6rem; min-width: 2.6rem; padding: 0 .8rem; border-radius: 999px; border: 0;
  color: var(--bt-dark); background: var(--bt-accent); font-weight: 700; font-size: .9rem;
  transition: transform .25s var(--bt-ease), box-shadow .25s ease;
}
.nav-cart:hover { color: var(--bt-dark); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(244, 196, 48, .35); }
.nav-cart .cart-count {
  position: absolute; top: -.3rem; right: -.3rem; min-width: 1.3rem; height: 1.3rem; padding: 0 .3rem;
  display: inline-flex; align-items: center; justify-content: center; border-radius: 999px;
  font-size: .72rem; font-weight: 800; color: #fff; background: var(--bt-danger); border: 2px solid var(--bt-dark);
}
.nav-cart .cart-count[data-empty="true"] { display: none; }

/* ---------- Boutons ---------- */
.btn { border-radius: 999px; font-weight: 700; padding: .62rem 1.25rem; transition: transform .25s var(--bt-ease), box-shadow .25s ease, background-color .2s ease, color .2s ease, border-color .2s ease; }
.btn-lg { padding: .85rem 1.6rem; font-size: 1.02rem; }
.btn-sm { padding: .4rem .9rem; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { --bs-btn-bg: var(--bt-primary); --bs-btn-border-color: var(--bt-primary); --bs-btn-hover-bg: var(--bt-primary-2); --bs-btn-hover-border-color: var(--bt-primary-2); --bs-btn-active-bg: var(--bt-dark); box-shadow: 0 10px 22px rgba(13, 59, 102, .22); }
.btn-warning { --bs-btn-bg: var(--bt-accent); --bs-btn-border-color: var(--bt-accent); --bs-btn-hover-bg: #ffd24d; --bs-btn-hover-border-color: #ffd24d; --bs-btn-color: var(--bt-dark); --bs-btn-hover-color: var(--bt-dark); box-shadow: 0 10px 24px rgba(244, 196, 48, .3); }
.btn-success { --bs-btn-bg: var(--bt-success); --bs-btn-border-color: var(--bt-success); --bs-btn-hover-bg: #0f7a3a; --bs-btn-hover-border-color: #0f7a3a; box-shadow: 0 10px 22px rgba(19, 138, 67, .25); }
.btn-whatsapp { color: #fff; background: var(--bt-whatsapp); border: 0; box-shadow: 0 10px 24px rgba(37, 211, 102, .32); }
.btn-whatsapp:hover { color: #fff; background: #1ebe5a; }
.btn-soft { color: var(--bt-primary); background: rgba(13, 59, 102, .07); border: 1px solid var(--bt-border); }
.btn-soft:hover { color: #fff; background: var(--bt-primary); }
.btn-glass { color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn-glass:hover { color: var(--bt-dark); background: #fff; }
.btn-shine { position: relative; overflow: hidden; isolation: isolate; }
.btn-shine::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
  transform: translateX(-120%); animation: shine 3.8s ease-in-out infinite;
}

/* ---------- Héros ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(circle at 15% 20%, rgba(244, 196, 48, .2), transparent 30%), linear-gradient(135deg, var(--bt-primary), var(--bt-dark)); }
.hero .container { position: relative; z-index: 2; }
.hero p.lead { color: rgba(255, 255, 255, .82); }
.hero .badge { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .2); padding: .55rem .9rem; font-weight: 700; }
.hero-card { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--bt-radius-lg); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: var(--bt-shadow-lg); }
.hero-stat { display: block; color: #fff; padding: 1rem; min-height: 110px; border-radius: 1.1rem; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); transition: transform .3s var(--bt-ease), background .3s ease; }
.hero-stat:hover { color: #fff; transform: translateY(-4px); background: rgba(255, 255, 255, .16); }
.live-highlight { background: linear-gradient(135deg, rgba(25, 135, 84, .25), rgba(32, 201, 151, .2)); border-color: rgba(134, 239, 172, .3); }

.hero-home { min-height: min(92vh, 860px); display: flex; align-items: center; padding: clamp(3rem, 7vw, 5rem) 0 clamp(4rem, 8vw, 6rem); background: radial-gradient(1200px 600px at 85% 10%, rgba(20, 93, 160, .55), transparent 60%), linear-gradient(160deg, #0a2c4d 0%, var(--bt-dark) 70%); }
.hero-home h1 { font-size: clamp(2.2rem, 5.4vw, 4.1rem); line-height: 1.05; margin-bottom: 1.25rem; }
.hero-home .lead { font-size: clamp(1.02rem, 1.6vw, 1.2rem); max-width: 620px; }
.hero-home .btn-lg { padding: .85rem 1.3rem; font-size: 1rem; }
.hero-grid { position: absolute; inset: 0; z-index: 0; opacity: .35; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 46px 46px; -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%); mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%); }
.blob { position: absolute; z-index: 0; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none; animation: blob 18s ease-in-out infinite alternate; }
.blob-1 { width: 420px; height: 420px; left: -120px; top: -80px; background: #f4c430; opacity: .22; }
.blob-2 { width: 520px; height: 520px; right: -160px; bottom: -200px; background: #1e88e5; animation-delay: -6s; }
.blob-3 { width: 260px; height: 260px; left: 45%; top: 30%; background: #22c55e; opacity: .16; animation-delay: -12s; }
.hero-pill { display: inline-flex; align-items: center; gap: .55rem; padding: .45rem .9rem .45rem .45rem; border-radius: 999px; font-size: .88rem; font-weight: 600; color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); margin-bottom: 1.4rem; }
.hero-pill b { padding: .2rem .6rem; border-radius: 999px; font-size: .75rem; color: var(--bt-dark); background: var(--bt-accent); }
.hero-trust { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: 1.75rem; padding: 0; list-style: none; font-size: .92rem; color: rgba(255, 255, 255, .8); }
.hero-trust li { display: inline-flex; align-items: center; gap: .4rem; }
.hero-trust i { color: var(--bt-accent); }
.hero-visual { position: relative; aspect-ratio: 1 / 1; max-width: 520px; margin-inline: auto; }
.hero-visual .orbit { position: absolute; inset: 8%; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .18); animation: spin 60s linear infinite; }
.hero-visual .orbit-2 { inset: 22%; animation-duration: 40s; animation-direction: reverse; }
.hero-showcase { position: absolute; inset: 17%; display: grid; place-items: center; border-radius: 2rem; background: #fff; border: 6px solid rgba(255, 255, 255, .25); background-clip: padding-box; box-shadow: 0 40px 80px rgba(0, 0, 0, .35); overflow: hidden; }
.hero-showcase::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .7) 50%, transparent 65%); transform: translateX(-120%); animation: shine 5s ease-in-out infinite; }
.hero-showcase img { width: 92%; animation: float 6s ease-in-out infinite; }
.hero-float { position: absolute; z-index: 3; display: flex; align-items: center; gap: .6rem; padding: .55rem .8rem .55rem .55rem; border-radius: 1rem; color: var(--bt-ink); background: #fff; box-shadow: var(--bt-shadow-lg); font-size: .82rem; font-weight: 700; line-height: 1.2; animation: float 7s ease-in-out infinite; }
.hero-float img { width: 46px; height: 46px; object-fit: contain; border-radius: .7rem; background: #fff; border: 1px solid var(--bt-border); padding: .15rem; }
.hero-float small { display: block; font-weight: 600; color: var(--bt-muted); }
.hero-float.f1 { top: 6%; left: -2%; animation-delay: -1s; }
.hero-float.f2 { top: 42%; right: -6%; animation-delay: -3s; }
.hero-float.f3 { bottom: 4%; left: 6%; animation-delay: -5s; }
.hero-scroll { position: absolute; left: 50%; bottom: 1.25rem; z-index: 2; width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .4); border-radius: 999px; transform: translateX(-50%); }
.hero-scroll::after { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; border-radius: 4px; background: #fff; transform: translateX(-50%); animation: scrollDot 1.8s ease-in-out infinite; }

.page-hero { position: relative; overflow: hidden; padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 3.5rem); background: radial-gradient(700px 300px at 50% -10%, rgba(244, 196, 48, .22), transparent 70%), linear-gradient(180deg, #fff, var(--bt-bg)); }
.page-hero h1 { font-weight: 800; }
.page-hero .container { max-width: 980px; }
.live-bar { color: #fff; padding: .55rem 0; font-size: .9rem; background: linear-gradient(90deg, #0b2440, #134f8a, #0b2440); background-size: 200% 100%; animation: gradientMove 12s linear infinite; }

/* ---------- Bande défilante ---------- */
.marquee { overflow: hidden; padding: 1rem 0; color: var(--bt-dark); background: var(--bt-accent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; gap: 2.5rem; animation: marquee 32s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.05rem; white-space: nowrap; }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ---------- Cartes génériques ---------- */
.service-card, .feature-card, .formation-card, .info-card, .support-card, .form-card, .testimonial-card, .project-card, .mini-proof, .timeline-step, .blog-article, .side-card, .benefit {
  background: var(--bt-card); border: 1px solid var(--bt-border); border-radius: var(--bt-radius);
  box-shadow: var(--bt-shadow-sm); transition: transform .4s var(--bt-ease), box-shadow .4s var(--bt-ease), border-color .3s ease;
}
.service-card, .project-card, .formation-card, .feature-card, .support-card { position: relative; overflow: hidden; }
.card-soft { border: 1px solid var(--bt-border) !important; border-radius: var(--bt-radius) !important; box-shadow: var(--bt-shadow-sm); transition: transform .4s var(--bt-ease), box-shadow .4s var(--bt-ease); }
.card-soft:hover { transform: translateY(-6px); box-shadow: var(--bt-shadow); }
.card-soft .cover { transition: transform .7s var(--bt-ease); }
.card-soft:hover .cover { transform: scale(1.05); }
.service-card:hover, .feature-card:hover, .formation-card:hover, .support-card:hover, .project-card:hover, .clickable-card:hover, .benefit:hover {
  transform: translateY(-6px); box-shadow: var(--bt-shadow); border-color: rgba(20, 93, 160, .22);
}
.service-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--bt-accent), var(--bt-primary-2)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--bt-ease); }
.service-card:hover::before { transform: scaleX(1); }
a.service-card, a.service-card:hover { color: var(--bt-ink); }
.service-card .small.fw-bold i { transition: transform .3s var(--bt-ease); display: inline-block; }
.service-card:hover .small.fw-bold i { transform: translateX(5px); }
.icon-badge { width: 3.2rem; height: 3.2rem; display: inline-flex; align-items: center; justify-content: center; border-radius: 1rem; font-size: 1.4rem; color: var(--bt-primary); background: linear-gradient(135deg, var(--bt-accent-soft), #fff6dc); box-shadow: inset 0 0 0 1px rgba(244, 196, 48, .35); transition: transform .5s var(--bt-ease); }
.service-card:hover .icon-badge, .benefit:hover .icon-badge, .feature-card:hover .icon-badge { transform: rotate(-8deg) scale(1.08); }
.formation-card, .form-card, .testimonial-card { padding: 1.5rem; }
.formation-card ul { color: var(--bt-muted); padding-left: 1.1rem; }
.testimonial-card { height: 100%; }
.testimonial-card p { font-size: 1.04rem; }
.testimonial-card span, .mini-proof span { color: var(--bt-muted); font-size: .94rem; }
.mini-proof { padding: 1rem 1.1rem; display: grid; gap: .2rem; }
.mini-proof i { color: var(--bt-primary-2); font-size: 1.4rem; }
.project-card { height: 100%; }
.project-card img, .cover { width: 100%; height: 210px; object-fit: cover; background: #e9eef5; transition: transform .7s var(--bt-ease); }
.project-card:hover img { transform: scale(1.06); }
.project-card > div { padding: 1.2rem; }
.about-image, .rounded-media { border-radius: var(--bt-radius-lg); box-shadow: var(--bt-shadow); border: 1px solid var(--bt-border); }
.media-frame { position: relative; }
.media-frame::before { content: ""; position: absolute; inset: 1.25rem -1.25rem -1.25rem 1.25rem; z-index: -1; border-radius: var(--bt-radius-lg); background: linear-gradient(135deg, var(--bt-accent), var(--bt-primary-2)); opacity: .9; }
.timeline-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; counter-reset: step; }
.timeline-step { padding: 1.5rem; position: relative; }
.timeline-step span { display: inline-flex; align-items: center; justify-content: center; width: 2.6rem; height: 2.6rem; border-radius: 999px; margin-bottom: .9rem; color: var(--bt-dark); background: var(--bt-accent); font-weight: 800; box-shadow: 0 0 0 6px rgba(244, 196, 48, .2); }
.timeline-step h3 { font-size: 1.15rem; }
.timeline-step p { color: var(--bt-muted); margin: 0; }
.benefit { padding: 1.5rem; height: 100%; }
.benefit h3 { font-size: 1.08rem; margin: 1rem 0 .35rem; }
.benefit p { margin: 0; color: var(--bt-muted); font-size: .95rem; }
.cta-band { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: clamp(1.75rem, 4vw, 3rem); color: #fff; border-radius: var(--bt-radius-lg); background: radial-gradient(500px 240px at 90% 0%, rgba(244, 196, 48, .35), transparent 70%), linear-gradient(135deg, var(--bt-primary), var(--bt-dark)); box-shadow: var(--bt-shadow-lg); }
.cta-band h2 { margin: .75rem 0 .5rem; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .78); }
.cta-band .eyebrow { color: var(--bt-accent); background: rgba(244, 196, 48, .12); border-color: rgba(244, 196, 48, .3); }
.checklist { padding-left: 1.2rem; }
.checklist li { margin-bottom: .65rem; }
.meta-chip { display: inline-flex; align-items: center; gap: .35rem; padding: .4rem .75rem; border-radius: 999px; background: #eef4ff; color: #1e3a8a; font-size: .85rem; }

/* ---------- Rayons (tuiles catégories) ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 1rem; }
.cat-tile { position: relative; display: flex; flex-direction: column; align-items: center; gap: .6rem; padding: 1.1rem 1rem 1.2rem; text-align: center; border-radius: var(--bt-radius); color: var(--bt-ink); background: #fff; border: 1px solid var(--bt-border); box-shadow: var(--bt-shadow-sm); transition: transform .45s var(--bt-ease), box-shadow .45s var(--bt-ease); overflow: hidden; }
.cat-tile:hover { color: var(--bt-ink); transform: translateY(-6px); box-shadow: var(--bt-shadow); }
.cat-tile img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; mix-blend-mode: multiply; transition: transform .6s var(--bt-ease); }
.cat-tile:hover img { transform: scale(1.08); }
.cat-tile strong { font-size: .98rem; }
.cat-tile small { color: var(--bt-muted); font-weight: 600; }
.cat-tile .bi-arrow-right { position: absolute; top: .8rem; right: .8rem; width: 2rem; height: 2rem; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--bt-accent-soft); color: var(--bt-primary); opacity: 0; transform: translateX(-6px); transition: all .35s var(--bt-ease); }
.cat-tile:hover .bi-arrow-right { opacity: 1; transform: none; }

/* ---------- Boutique : catalogue & produits ---------- */
.shop-hero { padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(4.5rem, 8vw, 6rem); }
.shop-hero h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
.shop-toolbar { position: relative; z-index: 5; margin-top: -3rem; padding: 1rem; border-radius: var(--bt-radius); background: #fff; border: 1px solid var(--bt-border); box-shadow: var(--bt-shadow); }
.shop-search { position: relative; }
.shop-search i { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--bt-muted); }
.shop-search .form-control { padding-left: 2.6rem; height: 3rem; border-radius: 999px; }
.shop-toolbar .form-select { height: 3rem; border-radius: 999px; }
.chip-scroll { display: flex; gap: .5rem; overflow-x: auto; padding: .25rem .1rem .5rem; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.chip-scroll::-webkit-scrollbar { display: none; }
.chip { flex: 0 0 auto; scroll-snap-align: start; display: inline-flex; align-items: center; gap: .4rem; padding: .5rem 1rem; border-radius: 999px; font-weight: 600; font-size: .9rem; color: var(--bt-ink); background: var(--bt-bg); border: 1px solid var(--bt-border); transition: all .25s var(--bt-ease); }
.chip:hover { color: var(--bt-primary); border-color: var(--bt-primary-2); transform: translateY(-1px); }
.chip.active { color: #fff; background: var(--bt-primary); border-color: var(--bt-primary); }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.25rem; }
.shop-card { position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: var(--bt-radius); background: #fff; border: 1px solid var(--bt-border); box-shadow: var(--bt-shadow-sm); transition: transform .45s var(--bt-ease), box-shadow .45s var(--bt-ease), border-color .3s ease; }
.shop-card:hover { transform: translateY(-6px); box-shadow: var(--bt-shadow); border-color: rgba(20, 93, 160, .22); }
.shop-card__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: radial-gradient(circle at 50% 40%, #fff, #eef3f9); }
.shop-card__media img { width: 100%; height: 100%; object-fit: contain; padding: 1.1rem; mix-blend-mode: multiply; transition: transform .7s var(--bt-ease); }
.shop-card:hover .shop-card__media img { transform: scale(1.08) rotate(-1deg); }
.shop-card__badges { position: absolute; top: .75rem; left: .75rem; display: flex; flex-wrap: wrap; gap: .35rem; z-index: 2; }
.tag { display: inline-flex; align-items: center; gap: .3rem; padding: .25rem .6rem; border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .02em; }
.tag-hot { color: var(--bt-dark); background: var(--bt-accent); }
.tag-stock { color: #0f5132; background: #d1f4e0; }
.tag-out { color: #842029; background: #f8d7da; }
.tag-low { color: #7a4b00; background: #ffe8b3; }
.shop-card__wa { position: absolute; top: .7rem; right: .7rem; z-index: 2; width: 2.4rem; height: 2.4rem; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; color: #fff; background: var(--bt-whatsapp); box-shadow: 0 8px 18px rgba(37, 211, 102, .35); transition: transform .3s var(--bt-ease); }
.shop-card__wa:hover { color: #fff; transform: scale(1.12); }
.shop-card__body { display: flex; flex-direction: column; flex: 1; padding: 1rem 1.1rem 1.1rem; }
.shop-card__cat { font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--bt-primary-2); }
.shop-card__title { font-size: 1.05rem; font-weight: 800; margin: .3rem 0 .35rem; line-height: 1.3; }
.shop-card__title a { color: var(--bt-ink); }
.shop-card__title a:hover { color: var(--bt-primary-2); }
.shop-card__desc { color: var(--bt-muted); font-size: .9rem; margin-bottom: .9rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.shop-card__price { font-size: 1.25rem; font-weight: 800; color: var(--bt-primary); letter-spacing: -.01em; }
.shop-card__price.is-quote { font-size: 1rem; color: var(--bt-muted); }
.shop-card__actions { display: grid; grid-template-columns: 1fr auto; gap: .5rem; margin-top: auto; padding-top: .9rem; }
.shop-card__actions .btn { padding-inline: .9rem; }
.btn-add { position: relative; overflow: hidden; }
.btn-add.is-added { --bs-btn-bg: var(--bt-success); --bs-btn-border-color: var(--bt-success); --bs-btn-color: #fff; background: var(--bt-success); border-color: var(--bt-success); color: #fff; }
.btn-icon { width: 2.75rem; height: 2.75rem; padding: 0 !important; display: inline-flex; align-items: center; justify-content: center; }
.shop-empty { padding: 3rem 1.5rem; text-align: center; border-radius: var(--bt-radius); background: #fff; border: 1px dashed rgba(13, 59, 102, .2); }
.shop-empty i { font-size: 2.6rem; color: var(--bt-primary-2); }
.shop-scroller { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 1.25rem; overflow-x: auto; padding: .5rem .25rem 1.25rem; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.shop-scroller > * { scroll-snap-align: start; }
.skeleton { border-radius: var(--bt-radius); min-height: 340px; background: linear-gradient(100deg, #e9eef5 30%, #f6f9fc 50%, #e9eef5 70%); background-size: 200% 100%; animation: skeleton 1.4s linear infinite; }

.product-gallery { position: sticky; top: calc(var(--nav-h) + 1.5rem); padding: clamp(1rem, 3vw, 2rem); border-radius: var(--bt-radius-lg); background: radial-gradient(circle at 50% 35%, #fff, #e9f0f8); border: 1px solid var(--bt-border); overflow: hidden; }
.product-gallery img { mix-blend-mode: multiply; display: block; width: 100%; max-height: 480px; object-fit: contain; transition: transform .5s var(--bt-ease); transform-origin: var(--zx, 50%) var(--zy, 50%); cursor: zoom-in; }
.product-gallery.is-zooming img { transform: scale(1.8); }
.product-info { padding: clamp(1.25rem, 3vw, 2.25rem); border-radius: var(--bt-radius-lg); background: #fff; border: 1px solid var(--bt-border); box-shadow: var(--bt-shadow-sm); }
.product-info h1 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.product-price-lg { font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 800; color: var(--bt-primary); }
.trust-list { display: grid; gap: .65rem; padding: 0; margin: 1.5rem 0 0; list-style: none; }
.trust-list li { display: flex; align-items: center; gap: .75rem; padding: .75rem .9rem; border-radius: 1rem; background: var(--bt-bg); font-size: .93rem; font-weight: 600; }
.trust-list i { width: 2.2rem; height: 2.2rem; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; border-radius: .75rem; color: var(--bt-primary); background: var(--bt-accent-soft); font-size: 1.05rem; }
.qty-stepper { display: inline-flex; align-items: center; border: 1px solid var(--bt-border); border-radius: 999px; background: #fff; overflow: hidden; }
.qty-stepper button { width: 2.6rem; height: 2.75rem; border: 0; background: transparent; font-size: 1.15rem; font-weight: 700; color: var(--bt-primary); transition: background .2s ease; }
.qty-stepper button:hover { background: var(--bt-bg); }
.qty-stepper input { width: 3rem; height: 2.75rem; border: 0; text-align: center; font-weight: 800; -moz-appearance: textfield; appearance: textfield; }
.qty-stepper input::-webkit-outer-spin-button, .qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-stepper.qty-sm button { width: 2rem; height: 2rem; font-size: 1rem; }
.qty-stepper.qty-sm span { min-width: 1.6rem; text-align: center; font-weight: 800; font-size: .9rem; }
.buy-bar { display: none; }

/* Anciennes cartes produits (catalogue statique / blocs hérités) */
.product-toolbar { position: sticky; top: calc(var(--nav-h) + .75rem); z-index: 950; padding: .85rem; border-radius: var(--bt-radius); background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid var(--bt-border); box-shadow: var(--bt-shadow-sm); }
.product-grid, .formation-grid, .support-grid, .maintenance-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.25rem; }
.product-card { position: relative; overflow: hidden; padding: 1rem; cursor: pointer; background: #fff; border: 1px solid var(--bt-border); border-radius: var(--bt-radius); box-shadow: var(--bt-shadow-sm); transition: transform .4s var(--bt-ease), box-shadow .4s var(--bt-ease); }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--bt-shadow); }
.product-card img { mix-blend-mode: multiply; width: 100%; height: 190px; object-fit: contain; padding: 1rem; margin-bottom: 1rem; border-radius: 1rem; background: radial-gradient(circle at 50% 40%, #fff, #eef3f9); transition: transform .6s var(--bt-ease); }
.product-card:hover img { transform: scale(1.06); }
.product-card h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: .35rem; }
.product-card p { color: var(--bt-muted); font-size: .93rem; }
.product-price { color: var(--bt-primary); font-weight: 800; margin-bottom: .75rem; }
.add-to-cart { width: 100%; }
.whatsapp-link { position: absolute; top: 1.2rem; right: 1.2rem; width: 2.45rem; height: 2.45rem; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; color: #fff; background: var(--bt-whatsapp); box-shadow: 0 10px 24px rgba(37, 211, 102, .25); }
.product-img { height: 220px; object-fit: contain; border-radius: 1rem; background: #eef3f9; }
.status-dot { width: .6rem; height: .6rem; border-radius: 50%; display: inline-block; }

/* ---------- Panier ---------- */
/* Empilement : barre du bas (1070) < tiroir panier < modale < notification */
.offcanvas-backdrop { z-index: 1095; }
.cart-drawer { --bs-offcanvas-width: min(420px, 100vw); --bs-offcanvas-zindex: 1100; border-left: 0 !important; }
.modal-backdrop { --bs-backdrop-zindex: 1105; }
.modal { --bs-modal-zindex: 1110; }
.cart-drawer .offcanvas-header { border-bottom: 1px solid var(--bt-border); }
.cart-drawer .offcanvas-footer { padding: 1rem 1.25rem calc(1rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--bt-border); background: #fff; }
.cart-line { display: grid; grid-template-columns: 64px 1fr auto; gap: .85rem; align-items: center; padding: .85rem 0; border-bottom: 1px solid var(--bt-border); animation: fadeUp .35s var(--bt-ease) both; }
.cart-line img { mix-blend-mode: multiply; width: 64px; height: 64px; object-fit: contain; padding: .35rem; border-radius: .9rem; background: var(--bt-bg); }
.cart-line strong { display: block; font-size: .95rem; line-height: 1.3; }
.cart-line .cart-line__price { font-weight: 800; color: var(--bt-primary); white-space: nowrap; }
.cart-remove { border: 0; background: none; color: var(--bt-muted); font-size: .8rem; padding: 0; }
.cart-remove:hover { color: var(--bt-danger); }
.cart-empty-state { text-align: center; padding: 3rem 1rem; color: var(--bt-muted); }
.cart-empty-state i { display: block; font-size: 3rem; color: var(--bt-border); margin-bottom: .75rem; color: #c7d3e2; }
.cart-item { display: grid; grid-template-columns: 1fr auto; gap: .75rem; padding: .65rem 0; border-bottom: 1px solid var(--bt-border); }
.cart-panel, .checkout-card { border-radius: var(--bt-radius); background: #fff; border: 1px solid var(--bt-border); }
.cart-panel { position: fixed; right: 1rem; bottom: 1rem; z-index: 1030; width: min(360px, calc(100vw - 2rem)); padding: 1rem; box-shadow: var(--bt-shadow); }
.cart-toast { position: fixed; left: 50%; bottom: calc(1.25rem + var(--bottom-nav-h)); z-index: 1120; display: flex; align-items: center; gap: .75rem; max-width: calc(100vw - 2rem); padding: .75rem 1rem .75rem 1.1rem; border-radius: 999px; color: #fff; background: var(--bt-dark); box-shadow: var(--bt-shadow-lg); font-weight: 600; font-size: .93rem; opacity: 0; transform: translate(-50%, 1.5rem) scale(.96); transition: opacity .35s var(--bt-ease), transform .35s var(--bt-ease); pointer-events: none; }
.cart-toast.show { opacity: 1; transform: translate(-50%, 0) scale(1); pointer-events: auto; }
.cart-toast a, .cart-toast button { color: var(--bt-accent); font-weight: 800; white-space: nowrap; background: none; border: 0; padding: 0; }
.fly-dot { position: fixed; z-index: 3000; width: 56px; height: 56px; border-radius: 50%; object-fit: contain; background: #fff; box-shadow: var(--bt-shadow-lg); pointer-events: none; transition: transform .75s cubic-bezier(.5, -.3, .7, 1), opacity .75s ease; }
.is-bumping { animation: bump .5s var(--bt-ease); }

/* ---------- Formulaires & modale de commande ---------- */
.form-control, .form-select { border-radius: .9rem; border-color: rgba(13, 59, 102, .16); padding: .7rem .95rem; transition: border-color .2s ease, box-shadow .2s ease; }
.form-control:focus, .form-select:focus { border-color: var(--bt-primary-2); box-shadow: 0 0 0 .25rem rgba(20, 93, 160, .15); }
.form-label { font-weight: 600; font-size: .92rem; }
.modal-content { border: 0; border-radius: var(--bt-radius-lg); box-shadow: var(--bt-shadow-lg); }
.modal.fade .modal-dialog { transform: translateY(30px) scale(.97); transition: transform .4s var(--bt-ease); }
.modal.show .modal-dialog { transform: none; }
[data-checkout-summary] td:last-child, [data-checkout-summary] th:last-child { white-space: nowrap; }
.checkout-steps { display: flex; gap: .5rem; margin-bottom: 1rem; font-size: .8rem; font-weight: 700; color: var(--bt-muted); }
.checkout-steps span { display: inline-flex; align-items: center; gap: .35rem; }
.checkout-steps b { width: 1.5rem; height: 1.5rem; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; color: var(--bt-dark); background: var(--bt-accent); }

/* ---------- FAQ / politiques / divers ---------- */
.faq-list, .faq-container, .policy-container { max-width: 920px; margin: 0 auto; }
.faq-item, .policy-item { margin-bottom: .9rem; overflow: hidden; border-radius: 1.1rem; background: #fff; border: 1px solid var(--bt-border); box-shadow: var(--bt-shadow-sm); }
.faq-question, .policy-title { position: relative; width: 100%; padding: 1.1rem 3rem 1.1rem 1.25rem; text-align: left; border: 0; background: #fff; font-weight: 700; color: var(--bt-ink); }
.faq-question::after, .policy-title::after { content: "+"; position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 400; color: var(--bt-primary-2); transition: transform .3s var(--bt-ease); }
.faq-question.active::after, .policy-title.active::after { transform: translateY(-50%) rotate(45deg); }
.faq-question.active, .policy-title.active { color: var(--bt-primary); background: rgba(13, 59, 102, .04); }
.faq-answer, .policy-content { display: none; padding: 0 1.25rem 1.1rem; color: var(--bt-muted); animation: fadeUp .3s var(--bt-ease); }
.tarif-video-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.tarifs-formation, .video-box { padding: 1.5rem; border-radius: var(--bt-radius); background: #fff; border: 1px solid var(--bt-border); box-shadow: var(--bt-shadow-sm); }
.video-box video { width: 100%; border-radius: 1rem; background: var(--bt-primary); }
.assistance-services { list-style: none; padding: 0; }
.assistance-services li { padding: .85rem 1rem; margin-bottom: .7rem; border-radius: 1rem; background: #fff; border: 1px solid var(--bt-border); }
.breadcrumb { font-size: .9rem; }

/* ---------- Chat ---------- */
.chat-box { min-height: 360px; padding: 1rem; overflow-y: auto; border-radius: 1.1rem; background: #f8fafc; border: 1px solid var(--bt-border); }
.message { max-width: 84%; margin-bottom: .8rem; padding: .8rem 1rem; border-radius: 1.1rem; word-wrap: break-word; animation: fadeUp .3s var(--bt-ease); }
.message.user { margin-left: auto; color: #fff; background: var(--bt-primary); border-bottom-right-radius: .25rem; }
.message.agent { margin-right: auto; color: var(--bt-ink); background: #e9eef5; border-bottom-left-radius: .25rem; }
.birgo-chat-bubble { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 1080; display: flex; align-items: center; gap: .55rem; padding: .85rem 1.2rem; border: 0; border-radius: 999px; color: #fff; font-weight: 800; background: linear-gradient(135deg, #138a43, #22c55e); box-shadow: 0 16px 36px rgba(19, 138, 67, .35); transition: transform .3s var(--bt-ease); }
.birgo-chat-bubble::before { content: ""; position: absolute; inset: 0; border-radius: inherit; animation: pulseRing 2.2s ease-out infinite; }
.birgo-chat-bubble:hover { transform: translateY(-3px) scale(1.03); }
.birgo-chat-panel { position: fixed; right: 1.25rem; bottom: 5.25rem; z-index: 1080; width: min(360px, calc(100vw - 2rem)); overflow: hidden; border-radius: 1.25rem; background: #fff; border: 1px solid var(--bt-border); box-shadow: var(--bt-shadow-lg); opacity: 0; visibility: hidden; transform: translateY(16px) scale(.97); transform-origin: bottom right; transition: opacity .3s var(--bt-ease), transform .3s var(--bt-ease), visibility .3s; }
.birgo-chat-panel.open { opacity: 1; visibility: visible; transform: none; }
.birgo-chat-panel-head { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.1rem; color: #fff; background: linear-gradient(135deg, var(--bt-primary), var(--bt-dark)); }
.birgo-chat-panel-sub { font-size: .78rem; opacity: .8; }
.birgo-chat-close { border: 0; background: transparent; color: #fff; font-size: 1.8rem; line-height: 1; }
.birgo-chat-panel-body { padding: 1.1rem; }

/* ---------- Blog / commentaires ---------- */
.blog-article .card-header { color: #fff; background: linear-gradient(135deg, var(--bt-primary), var(--bt-primary-2)); }
.blog-comment { padding: 1rem; margin-bottom: .75rem; border-radius: 1rem; background: #fff; border: 1px solid var(--bt-border); }
.comment-avatar { width: 40px; height: 40px; object-fit: cover; border-radius: 999px; }

/* ---------- Pied de page ---------- */
.site-footer { position: relative; overflow: hidden; color: #c9d6e3; background: radial-gradient(600px 300px at 10% 0%, rgba(244, 196, 48, .12), transparent 70%), linear-gradient(160deg, #0a2c4d, var(--bt-dark)); }
.site-footer h3 { color: #fff; font-weight: 800; }
.site-footer a { color: #c9d6e3; }
.site-footer a:hover { color: var(--bt-accent); }
.footer-links li { margin-bottom: .5rem; }
.footer-links a { display: inline-block; transition: transform .25s var(--bt-ease), color .2s ease; }
.footer-links a:hover { transform: translateX(4px); }
.social-icons a { width: 2.6rem; height: 2.6rem; display: inline-flex; align-items: center; justify-content: center; margin-right: .4rem; color: #fff; background: rgba(255, 255, 255, .08); border-radius: 999px; transition: transform .3s var(--bt-ease), background .3s ease; }
.social-icons a:hover { color: var(--bt-dark); background: var(--bt-accent); transform: translateY(-3px) rotate(-6deg); }

/* ---------- Navigation mobile (barre du bas) & retour en haut ---------- */
.bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1070; display: none; grid-template-columns: repeat(5, 1fr); padding: .35rem .5rem calc(.35rem + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-top: 1px solid var(--bt-border); box-shadow: 0 -10px 30px rgba(7, 29, 51, .08); }
.bottom-nav a, .bottom-nav button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .1rem; min-height: 52px; border: 0; background: none; color: var(--bt-muted); font-size: .7rem; font-weight: 700; border-radius: .9rem; transition: color .2s ease, background .2s ease; }
.bottom-nav i { font-size: 1.3rem; line-height: 1; transition: transform .3s var(--bt-ease); }
.bottom-nav a.active, .bottom-nav a:hover, .bottom-nav button:hover { color: var(--bt-primary); }
.bottom-nav a.active i { transform: translateY(-2px); }
.bottom-nav .bn-wa { color: #128c4a; }
.bottom-nav .bn-cart-count { position: absolute; top: .2rem; left: calc(50% + .35rem); min-width: 1.15rem; height: 1.15rem; padding: 0 .25rem; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; color: #fff; background: var(--bt-danger); font-size: .65rem; font-weight: 800; }
.bottom-nav .bn-cart-count[data-empty="true"] { display: none; }
.back-to-top { position: fixed; right: 1.25rem; bottom: calc(5.5rem + var(--bottom-nav-h)); z-index: 1060; width: 2.8rem; height: 2.8rem; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 999px; color: #fff; background: var(--bt-primary); box-shadow: var(--bt-shadow); opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .35s var(--bt-ease); }
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.scroll-progress { position: fixed; top: 0; left: 0; z-index: 2000; height: 3px; width: 100%; transform-origin: left; transform: scaleX(var(--progress, 0)); background: linear-gradient(90deg, var(--bt-accent), #ffe58a); pointer-events: none; }

/* ---------- Apparition au défilement ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--bt-ease), transform .8s var(--bt-ease); transition-delay: var(--reveal-delay, 0ms); }
.js .reveal.reveal-left { transform: translateX(-36px); }
.js .reveal.reveal-right { transform: translateX(36px); }
.js .reveal.reveal-zoom { transform: scale(.94); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.hero-enter > * { animation: fadeUp .9s var(--bt-ease) both; }
.hero-enter > *:nth-child(2) { animation-delay: .08s; }
.hero-enter > *:nth-child(3) { animation-delay: .16s; }
.hero-enter > *:nth-child(4) { animation-delay: .24s; }
.hero-enter > *:nth-child(5) { animation-delay: .32s; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes dropIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blob { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(40px, -30px) scale(1.12); } 100% { transform: translate(-30px, 30px) scale(.95); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes shine { 0%, 60% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
@keyframes bump { 0% { transform: scale(1); } 35% { transform: scale(1.35); } 70% { transform: scale(.92); } 100% { transform: scale(1); } }
@keyframes pulseRing { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .45); } 100% { box-shadow: 0 0 0 16px rgba(34, 197, 94, 0); } }
@keyframes scrollDot { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 14px); } }
@keyframes skeleton { to { background-position: -200% 0; } }
@keyframes gradientMove { to { background-position: 200% 0; } }

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
  .hero-float.f2 { right: -2%; }
}
@media (max-width: 991.98px) {
  :root { --nav-h: 64px; }
  .navbar-collapse { max-height: calc(100vh - var(--nav-h)); overflow-y: auto; margin: .5rem -.75rem -.5rem; padding: .75rem .75rem 1.25rem; border-top: 1px solid rgba(255, 255, 255, .08); }
  .navbar-collapse .nav-link { padding: .8rem .5rem !important; font-size: 1.02rem; border-bottom: 1px solid rgba(255, 255, 255, .06); }
  .navbar-collapse .dropdown-menu { border: 0; box-shadow: none; background: rgba(255, 255, 255, .06); animation: none; }
  .navbar-dark .navbar-collapse .dropdown-item { color: rgba(255, 255, 255, .85); }
  .navbar-collapse .search-bar { margin: 1rem 0 .75rem; width: 100%; }
  .navbar-collapse .search-bar .form-control { height: 2.9rem; font-size: 16px; }
  .navbar-collapse .cta-nav { flex: 1; padding: .7rem 1rem; }
  .hero-home { min-height: auto; padding-top: 2.5rem; }
  .hero-visual { max-width: 420px; margin-top: 1rem; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .cart-panel { position: static; width: auto; margin: 1rem 0; }
  .product-gallery { position: relative; top: 0; }
  .has-bottom-nav { --bottom-nav-h: calc(64px + env(safe-area-inset-bottom)); }
  .has-bottom-nav .bottom-nav { display: grid; }
  .has-bottom-nav .birgo-chat-bubble, .has-bottom-nav .birgo-chat-panel { display: none; }
  .has-buy-bar { --bottom-nav-h: calc(76px + env(safe-area-inset-bottom)); }
  .has-buy-bar .buy-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1070; display: flex; align-items: center; gap: .6rem; padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-top: 1px solid var(--bt-border); box-shadow: 0 -10px 30px rgba(7, 29, 51, .1); }
  .buy-bar__price { font-weight: 800; color: var(--bt-primary); line-height: 1.1; margin-right: auto; }
  .buy-bar__price small { display: block; font-weight: 600; font-size: .72rem; color: var(--bt-muted); }
  .has-buy-bar .birgo-chat-bubble, .has-buy-bar .birgo-chat-panel { display: none; }
  .back-to-top { right: 1rem; bottom: calc(1rem + var(--bottom-nav-h)); }
}
@media (max-width: 767.98px) {
  .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
  .cat-tile { padding: .75rem .5rem .85rem; gap: .35rem; }
  .cat-tile strong { font-size: .82rem; line-height: 1.2; }
  .cat-tile small, .cat-tile .bi-arrow-right { display: none; }
  .shop-toolbar { margin-top: -2.5rem; padding: .85rem; }
  .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
  .shop-card { border-radius: 1rem; }
  .shop-card__media { aspect-ratio: 1 / 1; }
  .shop-card__media img { padding: .7rem; }
  .shop-card__body { padding: .75rem .8rem .85rem; }
  .shop-card__desc { display: none; }
  .shop-card__title { font-size: .92rem; }
  .shop-card__price { font-size: 1.02rem; }
  .shop-card__actions { grid-template-columns: 1fr; gap: .4rem; }
  .shop-card__actions .btn { padding: .55rem .5rem; font-size: .85rem; }
  .shop-card__actions .btn-icon { display: none; }
  .shop-card__wa { display: none; }
  .shop-card__badges { top: .5rem; left: .5rem; flex-direction: column; align-items: flex-start; gap: .25rem; }
  .shop-hero { padding-top: 2rem; }
  .shop-hero .lead { font-size: 1rem; }
  .shop-hero .hero-pill { margin-bottom: 1rem; }
  .tag { font-size: .66rem; padding: .2rem .5rem; }
  .shop-scroller { grid-auto-columns: 68%; margin-inline: -.75rem; padding-inline: .75rem; }
  .form-control, .form-select { font-size: 16px; }
  .hero-float { font-size: .72rem; }
  .hero-float img { width: 36px; height: 36px; }
  .hero-trust { font-size: .85rem; }
  .media-frame::before { inset: .75rem -.6rem -.75rem .75rem; }
}
@media (max-width: 575.98px) {
  .g-5, .gx-5 { --bs-gutter-x: 1.5rem; }
  .g-5, .gy-5 { --bs-gutter-y: 2rem; }
  .section-head { align-items: flex-start; }
  .hero-home .btn-lg { width: 100%; justify-content: center; }
  .hero-home { padding-bottom: 2.5rem; }
  .hero-visual { max-width: 320px; }
  .hero-float { padding: .4rem .6rem .4rem .4rem; }
  .hero-float.f1 { left: -4%; }
  .hero-float.f2 { right: -4%; }
  .benefit { padding: 1rem; }
  .benefit h3 { font-size: .95rem; margin-top: .75rem; }
  .benefit p { font-size: .85rem; }
  .benefit .icon-badge { width: 2.6rem; height: 2.6rem; font-size: 1.15rem; }
  .back-to-top { width: 2.5rem; height: 2.5rem; }
  .cart-toast { border-radius: 1rem; width: calc(100vw - 2rem); justify-content: space-between; }
  .bottom-nav a, .bottom-nav button { font-size: .66rem; }
  .birgo-chat-bubble span:last-child { display: none; }
  .birgo-chat-bubble { width: 3.5rem; height: 3.5rem; padding: 0; justify-content: center; }
}

/* ---------- Accessibilité : mouvements réduits ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
