/* =========================================================
   SwiftPos — site vitrine statique
   Tokens repris de template.jsp pour cohérence de marque totale
   ========================================================= */
:root {
  --black:      #0a0a0c;
  --card:       #16161f;
  --card-2:     #1c1c28;
  --border:     #2a2a38;
  --accent:     #c9a84c;
  --accent-dim: #8a7233;
  --danger:     #c0392b;
  --white:      #f0ede8;
  --muted:      #9a9aa6;

  --font-display: 'Bebas Neue', sans-serif;
  --font-jp:      'Noto Serif JP', serif;
  --font-body:    'DM Sans', sans-serif;

  --radius: 14px;
  --container: 1180px;
}

* { box-sizing: border-box; }

/* ---------- Ascenseur (scrollbar) : structure confirmée fonctionnelle ---------- */
/* Piste (fond de la barre) */
/* Largeur de la barre */
::-webkit-scrollbar {
  width: 20px;
}

/* Piste (fond de la barre) */
::-webkit-scrollbar-track {
  background: var(--border);
  border-radius: 0px;
}

/* Curseur (partie qu'on d�place) */
::-webkit-scrollbar-thumb {
  background: #444;
  border-radius: 0px;
}

/* Curseur au survol */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: .01em;
  line-height: 1.05;
  margin: 0 0 .5em;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; color: var(--muted); }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 .8em;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-block;
  padding: .95rem 1.9rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #1a1206; }
.btn-primary:hover { background: #ddb95c; }
.btn-ghost { background: transparent; color: var(--white); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-outline { background: transparent; color: var(--accent); border-color: var(--accent-dim); }
.btn-outline:hover { background: var(--accent); color: #1a1206; }
.btn-small { padding: .6rem 1.2rem; font-size: .82rem; }

/* ================= HEADER ================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,12,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: .9rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: .5rem; }
.brand-logo { width: 30px; height: 30px; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: .02em;
}
.brand-accent { color: var(--accent); }

.nav-desktop { display: flex; align-items: center; gap: 2rem; }
.nav-desktop a {
  font-size: .92rem; font-weight: 500; color: var(--muted);
  transition: color .18s ease;
}
.nav-desktop a:hover { color: var(--white); }
.nav-cta {
  background: var(--accent); color: #1a1206 !important;
  padding: .55rem 1.3rem; border-radius: 999px; font-weight: 700 !important;
}
.nav-cta:hover { background: #ddb95c; }

.burger {
  display: none;
  width: 40px; height: 40px;
  background: transparent; border: 1px solid var(--border); border-radius: 8px;
  flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  cursor: pointer;
}
.burger span { width: 18px; height: 2px; background: var(--white); transition: transform .2s ease, opacity .2s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ================= DRAWER MOBILE (accordéon) ================= */
.drawer-overlay {
  position: fixed; top:0; left:0; right:0; bottom:0; background: rgba(0,0,0,.6);
  opacity: 0; pointer-events: none; transition: opacity .25s ease; z-index: 199;
}
.drawer-overlay.is-open { opacity: 1; pointer-events: all; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(320px, 85vw);
  background: var(--card);
  border-left: 1px solid var(--border);
  transform: translateX(100%);
  transition: transform .3s ease;
  z-index: 200;
  display: flex; flex-direction: column;
}
.drawer.is-open { transform: translateX(0); }
.drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 1.4rem; border-bottom: 1px solid var(--border);
}
.drawer-title { font-family: var(--font-display); font-size: 1.2rem; letter-spacing: .04em; }
.drawer-close {
  background: transparent; border: 1px solid var(--border); color: var(--white);
  width: 34px; height: 34px; border-radius: 8px; font-size: 1.3rem; line-height: 1;
  cursor: pointer;
}
.drawer-nav { padding: .6rem 0; flex: 1; }
.drawer-links { display: flex; flex-direction: column; }
.drawer-link {
  display: flex; align-items: center; gap: .8rem;
  padding: 1rem 1.4rem;
  font-size: 1rem; font-weight: 500; color: var(--white);
  border-bottom: 1px solid var(--border);
}
.drawer-link:hover { color: var(--accent); padding-left: 1.7rem; }
.drawer-link-num {
  font-family: var(--font-display);
  color: var(--accent-dim);
  font-size: .95rem;
}
.drawer-footer {
  padding: 1.2rem 1.4rem; border-top: 1px solid var(--border);
  font-size: .85rem; color: var(--muted);
}

/* ================= HERO ================= */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; top:0; left:0; right:0; bottom:0;
  background-image: url('../assets/hero/hero-comptoir.jpg');
  background-size: cover; background-position: center;
  transform: scale(1.05);
}
.hero-scrim {
  position: absolute; top:0; left:0; right:0; bottom:0;
  background: linear-gradient(180deg, rgba(10,10,12,.55) 0%, rgba(10,10,12,.75) 55%, var(--black) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 6rem 1.5rem 5rem;
  max-width: 760px;
}
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  color: var(--white);
}
.hero-lead { font-size: 1.15rem; color: #d7d3c8; max-width: 620px; }
.hero-signature {
  font-family: var(--font-jp);
  font-style: italic;
  color: var(--accent);
  font-size: 1rem;
  margin-top: -.3em;
}
.hero-cta-row { display: flex; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }

/* ================= TICKER ================= */
.ticker-wrap {
  background: var(--accent);
  color: #1a1206;
  overflow: hidden;
  white-space: nowrap;
  padding: .8rem 0;
}
.ticker {
  display: inline-flex;
  gap: 3rem;
  animation: ticker-scroll 28s linear infinite;
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .04em;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ================= SECTIONS g鮩riques ================= */
.section { position: relative; padding: 7rem 0; }
.section-inner { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.section h2 { font-size: clamp(2rem, 4vw, 3rem); color: var(--white); }
.section-lead { max-width: 640px; font-size: 1.08rem; }

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Bandes à coins elliptiques (esprit BtoB Clean) */
.section-features { background: var(--card); padding-bottom: 3rem; }
.section-features::before {
  content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 60px;
  background: var(--card);
  border-radius: 50% 50% 0 0 / 60px 60px 0 0;
}
.section-packs { background: var(--black); }
.section-pourqui { background: var(--card); }
.section-pourqui::before {
  content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 60px;
  background: var(--card);
  border-radius: 50% 50% 0 0 / 60px 60px 0 0;
}
.section-contact::before {
  content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 50px;
  background: var(--black);
  border-radius: 50% 50% 0 0 / 50px 50px 0 0;
}

/* ================= FEATURES CAROUSEL ================= */
.carousel {
  margin-top: 3rem;
}
.carousel-track {
  display: flex;
  gap: 1.6rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track img {
  -webkit-user-drag: none;
  user-drag: none;
  pointer-events: none;
}
.carousel-track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
}

.feature-card {
  flex: 0 0 calc(50% - 0.8rem);
  scroll-snap-align: start;
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease;
}
.feature-card:hover { transform: translateY(-4px); border-color: var(--accent-dim); }
.feature-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; object-position: top; border-top: 1px solid var(--border); }
.feature-body { padding: 1.6rem 1.5rem 1.4rem; }
.feature-body h3 { font-size: 1.5rem; color: var(--white); margin-bottom: .3rem; }
.feature-tagline { color: var(--accent); font-weight: 500; font-size: .95rem; margin-bottom: .5em; }
.feature-body p:last-child { margin-bottom: 0; font-size: .92rem; }

@media (max-width: 860px) {
  .feature-card { flex: 0 0 100%; }
}

/* ================= PACKS ================= */
.pack-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
  align-items: stretch;
}
.pack-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.2rem 1.9rem;
  display: flex; flex-direction: column;
  position: relative;
}
.pack-featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 20px 50px -20px rgba(201,168,76,.35);
  transform: scale(1.02);
}
.pack-badge {
  position: absolute; top: -13px; left: 1.9rem;
  background: var(--accent); color: #1a1206;
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  padding: .3rem .8rem; border-radius: 999px;
}
.pack-card:has(.pack-badge) .pack-header { margin-top: 1.1em; }
.pack-header {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem; margin-bottom: .1em;
}
.pack-name { font-family: var(--font-display); font-size: 2.2rem; color: var(--white); margin-bottom: 0; }
.pack-tagline { color: var(--accent); font-weight: 500; margin-bottom: 1.2em; min-height: 2.6em; }
.pack-list { flex: 1; margin-bottom: 1.6em; }
.pack-list li {
  display: flex; align-items: flex-start; gap: .65rem;
  padding: .55em 0; border-bottom: 1px solid var(--border);
  font-size: .92rem; color: var(--muted);
}
.pack-list li:last-child { border-bottom: none; }
.pack-icon { width: 18px; height: 18px; flex-shrink: 0; color: var(--accent); margin-top: .15em; }
.pack-price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 0;
  white-space: nowrap;
}
.price-placeholder { font-family: var(--font-body); font-size: .85rem; color: var(--muted); font-style: italic; }

/* ================= CONFORMITÉ NF525 ================= */
.section-conformite { padding: 0; background: var(--black); }
.conformite-band { background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 5rem 0; }
.conformite-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 1.5rem;
  display: grid; grid-template-columns: 180px 1fr; gap: 3rem; align-items: center;
}
.conformite-badge {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  color: var(--accent); gap: .6rem; font-weight: 700; font-size: 1rem; line-height: 1.2;
}
.conformite-shield { width: 90px; height: 90px; }
.conformite-text h2 { color: var(--white); }
.conformite-note { font-size: .88rem; color: var(--muted); font-style: italic; margin-top: 1em; }
.conformite-shot { max-width: var(--container); margin: 0 auto; padding: 3.5rem 1.5rem 0; }
.conformite-shot img { border-radius: var(--radius); border: 1px solid var(--border); }

/* ================= POUR QUI ================= */
.section-inner-split {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 3.5rem; align-items: center;
}
.pourqui-quote {
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.8rem 2.4rem;
  max-width: 420px;
  margin: 0 auto;
}
.pourqui-quote-mark { width: 44px; height: 33px; margin-bottom: 1.2rem; }
.pourqui-quote-text {
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1.25;
  color: var(--white);
  margin-bottom: .6em;
}
.pourqui-quote-sub { font-size: .92rem; color: var(--muted); margin: 0; }

/* ================= CONTACT ================= */
.contact-grid {
  margin-top: 2.5rem;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.4rem;
}
.contact-item {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.6rem; display: flex; flex-direction: column; gap: .4rem;
  transition: border-color .2s ease, transform .2s ease;
}
a.contact-item:hover { border-color: var(--accent); transform: translateY(-3px); }
.contact-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.contact-value { font-size: 1.2rem; font-weight: 700; color: var(--white); }

/* ================= FOOTER ================= */
.site-footer { border-top: 1px solid var(--border); padding: 2.5rem 0; }
.footer-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.footer-brand { display: flex; align-items: center; gap: .5rem; font-family: var(--font-display); font-size: 1.1rem; }
.footer-logo { width: 22px; height: 22px; }
.footer-copy { font-size: .82rem; color: var(--muted); margin: 0; }

/* ================= COOKIE BANNER ================= */
.cookie-banner {
  position: fixed; bottom: 1.2rem; left: 50%; transform: translateX(-50%) translateY(120%);
  width: min(560px, calc(100vw - 2.4rem));
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  box-shadow: 0 20px 50px -15px rgba(0,0,0,.5);
  z-index: 300;
  transition: transform .4s ease;
}
.cookie-banner.is-visible { transform: translateX(-50%) translateY(0); }
.cookie-banner p { font-size: .88rem; margin-bottom: 1rem; }
.cookie-actions { display: flex; gap: .8rem; justify-content: flex-end; }

/* ================= RESPONSIVE ================= */
@media (max-width: 860px) {
  .nav-desktop { display: none; }
  .burger { display: flex; }
  .conformite-inner { grid-template-columns: 1fr; text-align: center; }
  .conformite-badge { flex-direction: row; justify-content: center; }
  .section-inner-split { grid-template-columns: 1fr; }

  .pack-featured { transform: none; }
  .section { padding: 4.5rem 0; }
}

/* ================= MATÉRIELS FOURNIS ================= */
.section-materiels { background: var(--card); }
.section-materiels::before {
  content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 60px;
  background: var(--card);
  border-radius: 50% 50% 0 0 / 60px 60px 0 0;
}
.materiel-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.materiel-grid-single { grid-template-columns: 1fr; margin-top: 1.4rem; }
.materiel-item {
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  text-align: center;
  transition: border-color .2s ease, transform .2s ease;
}
.materiel-item:hover { border-color: var(--accent-dim); transform: translateY(-3px); }
.materiel-icon { width: 44px; height: 44px; color: var(--accent); margin-bottom: .9rem; }
.materiel-name { font-weight: 700; color: var(--white); font-size: 1.02rem; margin-bottom: .2rem; }
.materiel-desc { font-size: .85rem; margin: 0; }
.materiel-item-featured {
  display: flex; align-items: center; gap: 1.4rem; text-align: left;
  background: var(--card-2); border-color: var(--accent-dim);
}
.materiel-item-featured .materiel-icon { margin-bottom: 0; flex-shrink: 0; width: 52px; height: 52px; }

/* ================= TERMINAL DE PAIEMENT ================= */
.section-paiement { background: var(--black); }
.paiement-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.6rem;
}
.paiement-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2.2rem 1.8rem; text-align: center;
  transition: border-color .2s ease, transform .2s ease;
}
.paiement-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.paiement-icon { width: 56px; height: 56px; color: var(--accent); margin-bottom: 1.1rem; }
.paiement-name { font-family: var(--font-display); font-size: 1.5rem; color: var(--white); letter-spacing: .02em; margin-bottom: .4rem; }
.paiement-desc { font-size: .92rem; margin: 0; }

/* ================= BADGE CONFORMITÉ (revu, maison) ================= */
.conformite-oval { width: 180px; height: 180px; }
.conformite-curve-text {
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .04em;
  fill: #1a1206;
}
.conformite-badge-label {
  font-family: var(--font-display);
  font-size: 30px;
  fill: #1a1206;
  letter-spacing: .02em;
}
.conformite-badge-caption {
  margin-top: .6rem; font-size: .78rem; font-weight: 700;
  letter-spacing: .08em; color: var(--accent); text-align: center; line-height: 1.4;
}
.isca-list { margin: 1.6rem 0; padding: 0; }
.isca-list li {
  list-style: none; padding: .8rem 0; border-bottom: 1px solid var(--border);
  display: flex; flex-direction: column; gap: .15rem;
}
.isca-list li:last-child { border-bottom: none; }
.isca-list strong { color: var(--accent); font-size: .98rem; }
.isca-list span { color: var(--muted); font-size: .88rem; }

@media (max-width: 860px) {
  .materiel-grid { grid-template-columns: repeat(2, 1fr); }
  .materiel-item-featured { flex-direction: column; text-align: center; }
}
@media (max-width: 560px) {
  .materiel-grid { grid-template-columns: 1fr; }
}
.conformite-badge-eyebrow {
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  color: var(--accent); margin: 0 0 .7rem; text-align: center;
}

/* ================= POURQUOI CHOISIR SWIFTPOS (croix autour de l'image) ================= */
.section-pourquoi { background: var(--black); }

.pourquoi-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.pourquoi-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.8rem 1.7rem;
  transition: border-color .2s ease, transform .2s ease;
}
.pourquoi-card:hover { border-color: var(--accent-dim); transform: translateY(-3px); }
.pourquoi-icon { width: 34px; height: 34px; color: var(--accent); margin-bottom: .9rem; display: block; }
.pourquoi-card .pourquoi-title { color: var(--white); }
.pourquoi-card p:last-child { font-size: .9rem; margin: 0; }
@media (max-width: 860px) { .pourquoi-grid { grid-template-columns: 1fr; } }
@media (min-width: 861px) and (max-width: 1100px) { .pourquoi-grid { grid-template-columns: repeat(2, 1fr); } }

.pourquoi-cross {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  grid-template-areas:
    "top    top    top"
    "left1  image  right1"
    "left2  image  right2"
    "bottom bottom bottom";
  gap: 1.6rem;
  align-items: center;
}
.pc-top    { grid-area: top; }
.pc-bottom { grid-area: bottom; }
.pc-left1  { grid-area: left1; }
.pc-left2  { grid-area: left2; }
.pc-right1 { grid-area: right1; }
.pc-right2 { grid-area: right2; }
.pc-image  { grid-area: image; }

.pc-top, .pc-bottom, .pc-left1, .pc-left2, .pc-right1, .pc-right2 {
  background: none; border: none; padding: 0;
}
.pc-top, .pc-bottom {
  max-width: 440px; /* 640px */
  margin: 0 auto;
  text-align: center;
}
.pc-image { text-align: center; padding: 0; background: none; border: none; }
@media (min-width: 861px) {
	.pc-image img {
	opacity:100%; /* todo */
	/*
	 width: 100%; max-width: 480px; margin: 0 auto;
  border-radius: 50%;
  border: 1px solid var(--border);
  box-shadow: 0 20px 40px -18px rgba(0,0,0,.55);
  */
	}
}
.pc-image img {
	
  /*
  	ancien setup-reel.jpg remplac� par ante.png : ne n�cessite plus l'encadrement elliptique
  */
  /*
  width: 100%; max-width: 480px; margin: 0 auto;
  border-radius: 50%;
  border: 1px solid var(--border);
  box-shadow: 0 20px 40px -18px rgba(0,0,0,.55);
  */
}

.pourquoi-title { color: var(--accent); font-weight: 700; font-size: 1.02rem; margin-bottom: .5rem; }
.pc-top p:last-child, .pc-bottom p:last-child,
.pc-left1 p:last-child, .pc-left2 p:last-child,
.pc-right1 p:last-child, .pc-right2 p:last-child { font-size: .9rem; margin: 0; }

.pourquoi-signature {
  margin-top: 2.6rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
  text-align: center;
  letter-spacing: .01em;
  max-width: 780px;
  margin-left: auto; margin-right: auto;
}

@media (max-width: 860px) {
  .pourquoi-cross {
    grid-template-columns: 1fr;
    grid-template-areas:
      "top" "left1" "left2" "image" "right1" "right2" "bottom";
  }
  .pc-image img { max-width: 320px; }
}
@media (min-width: 861px) and (max-width: 1100px) {
  .pourquoi-cross { grid-template-columns: 1fr 1.1fr 1fr; gap: 1.1rem; }
}

/* ================= SMARTPHONE UNIQUEMENT (<=760px) ================= */
@media (max-width: 760px) {

  /* 4. Hero : légère opacité, ciblée sur le contenu de l'écran de la tablette dans la photo */
  .hero-bg { background-image: url('../assets/hero/hero-comptoir-mobile.jpg'); }

  /* 5. "Pour qui" : citation décorative masquée sur smartphone (image d'origine déjà retirée) */
  .pourqui-quote { display: none; }
  .section-inner-split { grid-template-columns: 1fr; }

  /* 6. Titres "L'Inventaire & Les Statistiques" et "L'Écran client" : padding-left demandé (smartphone) */
  .pc-left1 .pourquoi-title { padding-left: 1.6rem !important; }
  .pc-right2 .pourquoi-title { padding-left: 2.6rem !important; }

  /* 2. Cartes packs (Bronze / Silver / Gold) : paddings verticaux resserrés */
  .pack-card { padding: 1.5rem 1.4rem; }
  .pack-name { font-size: 1.9rem; margin-bottom: .05em; }
  .pack-tagline { margin-bottom: .7em; min-height: 0; }
  .pack-list { margin-bottom: 1em; }
  .pack-list li { padding: .42em 0; }
  .pack-price { margin-bottom: .8em; }
  .pack-grid { gap: 1.2rem; margin-top: 2rem; }

  /* 3. Cartes matériel ("Ce qui est dans la boîte") : layout compact icône + texte à l'horizontale */
  .materiel-item,
  .materiel-item-featured {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    column-gap: 1.1rem;
    row-gap: .15rem;
    text-align: left;
    padding: 1.1rem 1.2rem;
  }
  .materiel-item .materiel-icon,
  .materiel-item-featured .materiel-icon {
    grid-row: 1 / 3;
    width: 36px; height: 36px;
    margin-bottom: 0;
  }
  .materiel-item .materiel-name, .materiel-item .materiel-desc,
  .materiel-item-featured .materiel-name, .materiel-item-featured .materiel-desc {
    grid-column: 2;
  }
  .materiel-grid { gap: 1rem; margin-top: 2rem; }

  /* 7. Terminaux de paiement (Square / SumUp / Stripe) : cartes très compactes pour tenir sur un seul écran */
  .section-paiement { padding: 2.6rem 0; }
  .section-paiement .section-lead { margin-bottom: 0; }
  .paiement-grid { gap: 1.3rem; margin-top: 1.2rem; }
  .paiement-card { padding: 1rem .9rem; }
  .paiement-icon { width: 34px; height: 34px; margin-bottom: .5rem; }
  .paiement-name { font-size: 1.15rem; margin-bottom: .15em; }
  .paiement-desc { font-size: .82rem; line-height: 1.3; }

  /* 8. Badge conformité (NF525 / logiciel de caisse) : trop d'espace vertical avec les voisins (smartphone) */
  .section-packs { padding-bottom: 1.4rem; }
  .conformite-band { padding: 1rem 0 2rem; }
  .conformite-inner { gap: 1.4rem; }

  /* 9. Cartes "Pourquoi choisir SwiftPos" : icônes + compacité (smartphone) */
  .pourquoi-grid { gap: 1rem; margin-top: 2rem; }
  .pourquoi-card { padding: 1.1rem 1.2rem; }
  .pourquoi-icon { width: 26px; height: 26px; margin-bottom: .5rem; }
  .pourquoi-card .pourquoi-title { font-size: .95rem; margin-bottom: .3rem; }
  .pourquoi-card p:last-child { font-size: .82rem; line-height: 1.4; }
}

/* ================= MODAL CLIC DROIT (toutes tailles) ================= */
.context-modal-overlay {
  position: fixed; inset: 0; z-index: 999;
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  background: rgba(6,6,8,.72);
  opacity: 0; visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease;
}
.context-modal-overlay.is-open { opacity: 1; visibility: visible; }
.context-modal {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2.2rem 2rem; max-width: 340px; text-align: center;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
  transform: scale(.94); transition: transform .2s ease;
}
.context-modal-overlay.is-open .context-modal { transform: scale(1); }
.context-modal-icon { width: 42px; height: 42px; color: var(--accent); margin: 0 auto 1rem; }
.context-modal-title { font-family: var(--font-display); font-size: 1.5rem; color: var(--white); margin-bottom: .5rem; }
.context-modal-text { font-size: .9rem; color: var(--muted); margin-bottom: 1.5rem; }





/* =========================================================
   INTERFACE SWIFTPOS � GRAND CARROUSEL
   ========================================================= */

.section-interface {
  background: var(--black);
  padding: 0;
  padding-top:2rem;
  overflow: hidden;
}

.interface-heading {
  max-width: 900px;
  margin: 0 auto 3.5rem;
  padding: 0 1.5rem;
  text-align: center;
}

.interface-heading h2 {
  color: var(--white);
  font-size: clamp(3rem, 7vw, 6.5rem);
  letter-spacing: .025em;
  margin-bottom: .45rem;
}

.interface-subtitle {
  max-width: 720px;
  margin: 0 auto;
  color: var(--muted);
  font-family: var(--font-jp);
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.25rem);
}

/* ---------- Zone du carrousel ---------- */

.interface-carousel {
  position: relative;
  width: 100%;
  max-width: 2300px; /* 1500px */
  margin: 0 auto;
  padding: 0 4.5rem 3.5rem;

  touch-action: pan-y;
  cursore: crosshair;
}

.interface-carousel:active {
  cursor: crosshair;
}

.interface-viewport {
  position: relative;
  width: 100%;
  height: min(70vh, 760px);
  min-height: 420px;
  overflow: hidden;
}

.interface-track {
  position: relative;
  width: 100%;
  height: 100%;
}

/* =========================================================
   INTERFACE SWIFTPOS � MORPH / ZOOM DOUX
   ========================================================= */

.interface-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  visibility: hidden;

  transform: scale(1.045);
  transition:
    opacity 1.2s ease,
    transform 1.8s cubic-bezier(.22, .61, .36, 1),
    visibility 0s linear 1.8s;
}

.interface-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);

  transition:
    opacity 1.2s ease,
    transform 1.8s cubic-bezier(.22, .61, .36, 1),
    visibility 0s linear 0s;
}

.interface-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;

  user-select: none;
  pointer-events: none;
  -webkit-user-drag: none;
}




picture,.interface-slide img {
  display: block;

  width: 95%;
  height: 95%;

  object-fit: contain;
  object-position: center;

  user-select: none;
  pointer-events: none;
  -webkit-user-drag: none;
}


/* ---------- Fl裨es ---------- */

.interface-arrow {
  position: absolute;
  z-index: 5;
  top: 50%;
  transform: translateY(-50%);

  width: 52px;
  height: 52px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid var(--border);
  border-radius: 50%;

  background: rgba(10, 10, 12, .75);
  color: var(--white);

  font-size: 1.25rem;
  line-height: 1;

  cursor: pointer;

  transition:
    background .2s ease,
    border-color .2s ease,
    color .2s ease,
    transform .2s ease;
}

.interface-arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #1a1206;
}

.interface-arrow-prev {
  left: 1rem;
}

.interface-arrow-next {
  right: 1rem;
}

.interface-arrow:active {
  transform: translateY(-50%) scale(.95);
}

/* ---------- Points ---------- */

.interface-dots {
  position: absolute;
  left: 50%;
  bottom: .2rem;
  transform: translateX(-50%);

  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
}

.interface-dot {
  width: 7px;
  height: 7px;
  padding: 0;

  border: 0;
  border-radius: 50%;

  background: var(--border);
  cursor: pointer;

  transition:
    width .25s ease,
    background .25s ease,
    transform .25s ease;
}

.interface-dot:hover {
  background: var(--accent-dim);
}

.interface-dot.is-active {
  width: 24px;
  border-radius: 999px;
  background: var(--accent);
}


/* =========================================================
   TABLETTE
   ========================================================= */

@media (max-width: 1100px) {

  .section-interface {
    padding: 5.5rem 0 6rem;
  }

  .interface-carousel {
    padding-left: 3.5rem;
    padding-right: 3.5rem;
  }

  .interface-viewport {
    height: 62vh;
    min-height: 380px;
  }

  .interface-arrow {
    width: 46px;
    height: 46px;
  }

  .interface-arrow-prev {
    left: .7rem;
  }

  .interface-arrow-next {
    right: .7rem;
  }
}


/* =========================================================
   SMARTPHONE
   ========================================================= */

@media (max-width: 760px) {

  .section-interface {
    padding: 4.5rem 0 5rem;
  }

  .interface-heading {
    margin-bottom: 2rem;
    padding: 0 1.2rem;
  }

  .interface-heading h2 {
    font-size: clamp(2.7rem, 13vw, 4rem);
  }

  .interface-subtitle {
    font-size: .95rem;
    line-height: 1.55;
  }

  .interface-carousel {
    padding: 0 1rem 3.2rem;
  }

  .interface-viewport {
    height: 62vh;
    min-height: 390px;
  }

  .interface-slide img {
    /* 
    width: 100%;
    height: 100%;
    */
    /* certaines images sont rognées sur smartphone */
    width: 95%;
    height: 95%;
    object-fit: contain;
  }

  .interface-arrow {
    width: 42px;
    height: 42px;

    font-size: 1rem;

    background: rgba(10, 10, 12, .85);
  }

  .interface-arrow-prev {
    left: .35rem;
  }

  .interface-arrow-next {
    right: .35rem;
  }

  .interface-dots {
    bottom: .1rem;
    gap: .45rem;
  }

  .interface-dot {
    width: 6px;
    height: 6px;
  }

  .interface-dot.is-active {
    width: 20px;
  }
}