/* Scoped layout tokens: existing application colours and controls remain the base. */
.home-compact { --home-gap:24px; --home-radius:24px; --home-section:56px; }
.home-compact .home-section { padding-block:var(--home-section); }
.home-compact .hero { min-height:0; padding:48px 0 24px; }
.home-compact .hero-layout { align-items:center; gap:40px; }
.home-compact .hero h1 { font-size:clamp(2.2rem,4vw,3.65rem); max-width:16ch; }
.home-compact .hero-lead { margin:22px 0; max-width:46ch; }
.home-compact .hero-cta { flex-wrap:wrap; }
.home-compact .home-fine { font-size:.8rem; line-height:1.6; color:var(--muted); margin-top:16px; }
.home-compact .pm-scene--hero { height:430px; }
.home-compact .pm-hero-front { width:200px; left:45%; top:10px; }
.home-compact .pm-hero-back { width:155px; left:10%; top:35px; }
.home-compact .pm-hero-detail { width:175px; top:290px; left:5%; }
.home-compact .pm-orbit { width:420px; height:420px; }
.home-compact .pm-scene-index { display:none; }
.home-compact .pm-hero-signoff { margin:0; }
.home-proof { padding:20px 0; border-block:1px solid var(--border); }
.home-social-count { margin:0; font-weight:700; color:var(--ink, #161A22); }
.home-social-count:empty { display:none; }
.home-reviews.is-disabled { margin:0; color:var(--muted, #5C6575); }
.home-plan.is-annual { outline:2px solid var(--mz-accent, #FF6A00); outline-offset:0; }
.home-proof .wrap { display:flex; flex-wrap:wrap; justify-content:space-between; gap:16px; font-size:.8rem; color:var(--muted); }
.home-heading { display:flex; align-items:center; justify-content:space-between; gap:24px; margin-bottom:26px; }
.home-heading h2,.home-final h2 { font-family:var(--display); font-size:clamp(1.8rem,2.8vw,2.5rem); line-height:1.12; letter-spacing:-.035em; }
.home-link { color:var(--ink); text-decoration:underline; text-underline-offset:4px; font-size:.85rem; font-weight:600; }
.home-grid { display:grid; gap:var(--home-gap); padding:0; list-style:none; }
.home-grid-three { grid-template-columns:repeat(3,minmax(0,1fr)); }
.home-grid-two { grid-template-columns:repeat(2,minmax(0,1fr)); }
.home-card,.home-plan { border:1px solid var(--border); border-radius:var(--home-radius); padding:24px; min-width:0; background:var(--surface); }
.home-card-top { display:flex; align-items:center; justify-content:space-between; height:140px; margin-bottom:20px; }
.home-max { object-fit:contain; width:72px; height:72px; flex-shrink:0; }
.home-mini { height:140px; width:100px; overflow:hidden; border-radius:16px; border:3px solid var(--ink); transform:rotate(7deg); box-shadow:0 8px 20px #0001; }
.home-mini img { display:block; width:100%; height:auto; }
.home-card h3,.home-plan h3 { font-size:1.2rem; margin-bottom:10px; }
.home-card p,.home-audience-card p,.home-how p,.home-plan>p { color:var(--muted); font-size:.94rem; line-height:1.65; }
.home-card p { min-height:5em; margin-bottom:18px; }
.home-audience,.home-pricing { background:var(--pm-paper); }
.home-audience-card { display:block; padding:22px 24px; border:1px solid var(--border); border-radius:var(--home-radius); background:var(--surface); color:var(--ink); text-decoration:none; }
.home-audience-card strong { display:block; margin-bottom:8px; }
.home-step { display:inline-flex; width:36px; height:36px; align-items:center; justify-content:center; border:1px solid var(--border); border-radius:50%; color:var(--mz-accent-text,#a84200); font-weight:600; margin-bottom:12px; }
.home-plan { display:flex; flex-direction:column; }
.home-plan .home-price { margin:0; color:var(--ink); }
.home-price strong { font-size:2.25rem; letter-spacing:-.04em; }
.home-plan .btn { margin-top:auto; width:100%; min-height:44px; }
.home-plan>p:last-of-type { margin:18px 0 24px; }
.home-trial { margin:24px 0 14px; font-size:.85rem; color:var(--muted); }
.home-final { text-align:center; }
.home-final .home-max { margin:0 auto 14px; }
.home-final .hero-cta { justify-content:center; align-items:center; margin-top:24px; }
.home-compact :where(a,button):focus-visible { outline:3px solid var(--primary); outline-offset:4px; }
@media (max-width:900px) {
 .home-compact .hero-layout { grid-template-columns:1fr 1fr; width:var(--wrap); gap:20px; }
 .home-compact .hero-copy { text-align:left; }
 .home-compact .hero-cta { justify-content:flex-start; }
 .home-compact .pm-hero-front { width:170px; left:35%; }
 .home-compact .pm-hero-back { width:130px; left:0; }
 .home-compact .pm-hero-detail { width:150px; top:260px; left:0; }
 .home-compact .pm-orbit { width:300px; height:360px; }
 .home-grid { gap:16px; }
 .home-card,.home-plan { padding:20px; }
 .home-heading { align-items:flex-start; }
}
@media (max-width:600px) {
 .home-compact { --home-section:34px; --home-radius:20px; }
 .home-compact .hero { padding-top:30px; }
 .home-compact .hero-layout { grid-template-columns:1fr; }
 .home-compact .hero-copy { text-align:left; }
 .home-compact .hero h1 { margin:0; }
 .home-compact .hero-cta { flex-direction:row; gap:12px; }
 .home-compact .hero-cta .btn { padding:12px 18px; font-size:.9rem; }
 .home-compact .pm-hero-visual { max-width:350px; margin:0 auto; }
 .home-compact .pm-scene--hero { height:350px; }
 .home-compact .pm-hero-front { width:160px; left:auto; right:9%; }
 .home-compact .pm-hero-back { width:125px; left:8%; }
 .home-compact .pm-hero-detail { top:235px; width:145px; left:3%; }
 .home-compact .pm-orbit { width:320px; height:320px; left:0; }
 .home-compact .pm-hero-signoff .pm-mascot-hero { width:54px; height:54px; }
 .home-proof .wrap { gap:10px; font-size:.72rem; }
 .home-heading { flex-wrap:wrap; gap:12px; margin-bottom:18px; }
 .home-heading h2 { flex:1; min-width:200px; }
 .home-heading .home-link { width:100%; }
 .home-grid-three,.home-grid-two { grid-template-columns:1fr; }
 .home-card { position:relative; padding-right:110px; }
 .home-card-top { position:absolute; right:16px; top:20px; height:110px; width:75px; }
 .home-card-top .home-max { width:38px; height:38px; position:absolute; bottom:-25px; right:3px; z-index:1; }
 .home-mini { width:64px; height:110px; border-radius:12px; }
 .home-card p { min-height:0; font-size:.85rem; margin-bottom:12px; }
 .home-card .home-link { font-size:.76rem; }
 .home-how .home-grid { gap:12px; }
 .home-how li { display:flex; align-items:center; gap:14px; }
 .home-how .home-step { flex-shrink:0; margin:0; }
 .home-plan { display:grid; grid-template-columns:1fr auto; gap:4px 12px; }
 .home-plan h3 { margin:0; align-self:center; }
 .home-plan .home-price { grid-column:2; grid-row:1; text-align:right; }
 .home-price strong { font-size:1.65rem; }
 .home-plan .home-fine { grid-column:2; margin:0; text-align:right; }
 .home-plan>p:last-of-type { grid-column:1/-1; margin:10px 0; }
 .home-plan .btn { grid-column:1/-1; }
 .home-final .hero-cta { justify-content:center; }
}
@media (prefers-color-scheme:dark) { .home-compact { --pm-paper:var(--bg); } }
html[data-a11y-theme="dark"] .home-compact { --pm-paper:var(--bg); }

/* Product screens lead the page; Max is a small decorative accent in two headings. */
.home-compact .pm-scene--hero { height:620px; }
.home-compact .pm-hero-front { width:280px; left:43%; top:12px; }
.home-compact .pm-hero-back { width:225px; left:3%; top:52px; }
.home-compact .pm-hero-detail { width:240px; top:440px; left:0; }
.home-compact .pm-orbit { width:520px; height:520px; }
.home-compact .home-max { width:42px; height:42px; opacity:.85; }
.home-card-top { position:relative; height:auto; width:100%; padding:24px 16px; margin-bottom:24px; justify-content:center; overflow:visible; border-radius:18px; background:linear-gradient(145deg,var(--pm-paper),var(--surface)); }
.home-compact .home-feature-device { position:relative; width:min(240px, 100%); flex-shrink:0; align-self:center; margin:0; --pm-rotate:-3deg; }
.home-card:nth-child(2) .home-feature-device { --pm-rotate:3deg; }
.home-card { padding:20px; }
.home-card p { min-height:5em; }
.home-walkthrough { display:grid; grid-template-columns:1.6fr 1fr; gap:48px; align-items:center; }
.home-tablet { min-width:0; padding:20px 8px; }
.home-compact .home-tablet-device { position:relative; width:100%; --pm-rotate:-2deg; }
.home-walkthrough .home-grid { grid-template-columns:1fr; gap:24px; }
.home-how li { display:flex; align-items:center; gap:16px; }
.home-how .home-step { flex-shrink:0; margin:0; }
.home-final-layout { display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:40px; }
.home-final-copy { text-align:left; }
.home-final .hero-cta { justify-content:flex-start; }
.home-final-devices { position:relative; height:530px; }
.home-compact .home-trip-device { width:240px; right:6%; top:12px; z-index:2; }
.home-compact .home-connection-device { width:200px; left:5%; top:55px; }
@media (min-width:601px) and (max-width:1100px) {
 .home-compact .pm-scene--hero { height:500px; }
 .home-compact .pm-hero-front { width:215px; left:36%; }
 .home-compact .pm-hero-back { width:175px; left:0; }
 .home-compact .pm-hero-detail { width:185px; top:355px; }
 .home-final-layout { grid-template-columns:1fr 1.2fr; }
}
@media (max-width:600px) {
 .home-compact .pm-hero-visual { max-width:400px; width:100%; }
 .home-compact .pm-scene--hero { height:510px; }
 .home-compact .pm-hero-front { width:215px; left:auto; right:0; }
 .home-compact .pm-hero-back { width:175px; left:0; top:52px; }
 .home-compact .pm-hero-detail { width:195px; left:0; top:365px; }
 .home-compact .pm-orbit { width:100%; height:430px; }
 .home-compact .home-card { padding:16px; }
 .home-card-top { position:relative; inset:auto; height:auto; width:100%; padding:12px 16px; margin-bottom:12px; }
 .home-card h3 { margin-bottom:8px; }
 .home-compact .home-feature-device { width:min(240px, 100%); }
 .home-card p { min-height:0; font-size:.94rem; margin-bottom:8px; }
 .home-card .home-link { font-size:.85rem; }
 .home-walkthrough,.home-final-layout { grid-template-columns:1fr; gap:20px; }
 .home-tablet { padding:12px 0; }
 .home-walkthrough .home-grid { gap:16px; }
 .home-final-devices { height:460px; width:100%; max-width:370px; margin:auto; }
 .home-compact .home-trip-device { width:200px; right:4%; }
 .home-compact .home-connection-device { width:170px; left:3%; }
}

@media (min-width:601px) and (max-width:900px) {
 #fonctionnalites .home-grid { grid-template-columns:1fr; }
 .home-compact .home-card { display:grid; grid-template-columns:minmax(220px, 280px) 1fr; grid-template-rows:1fr auto auto auto 1fr; column-gap:28px; }
 .home-card-top { grid-column:1; grid-row:1 / 6; margin-bottom:0; }
 .home-card h3 { grid-column:2; grid-row:2; }
 .home-card p { grid-column:2; grid-row:3; min-height:0; margin-bottom:12px; }
 .home-card .home-link { grid-column:2; grid-row:4; align-self:start; }
}
.home-plan-benefits { list-style:none; padding:0; margin:20px 0 24px; display:grid; gap:12px; font-size:.9rem; line-height:1.5; color:var(--ink-2); }
.home-plan-benefits li { position:relative; padding-left:20px; }
.home-plan-benefits li::before { content:'✓'; position:absolute; left:0; font-weight:700; }
.home-plan-note { margin-top:20px; max-width:80ch; font-size:.8rem; line-height:1.65; color:var(--muted); }
.home-plan:nth-child(2) { border:2px solid var(--primary); }
@media (max-width:600px) { .home-plan-benefits { grid-column:1/-1; margin:14px 0 18px; gap:8px; } }
@media (max-width:600px) {
 .home-plan>.home-fine { margin:0; }
 .home-plan:first-child>.home-fine { display:none; }
}
.home-plan:last-child .home-plan-benefits li:first-child { font-weight:700; }
.home-plan-benefits { gap:10px; }

.home-compact .home-stores {
  margin-top: 20px;
  display: grid;
  gap: 10px;
  max-width: 36rem;
}
.home-compact .home-stores-lead {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
  line-height: 1.35;
}
.home-compact .home-stores-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: stretch;
}
.home-compact .home-store {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 12px 14px;
  border-radius: 16px;
  text-decoration: none;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 106, 0, 0.22), rgba(255, 106, 0, 0.07)),
    var(--surface);
  border: 1px solid #ff6a00;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
  transition: border-color .2s, transform .2s, background .2s;
}
.home-compact .home-store:hover {
  border-color: #ff6a00;
  transform: translateY(-1px);
  background:
    linear-gradient(180deg, rgba(255, 106, 0, 0.26), rgba(255, 106, 0, 0.08)),
    var(--surface);
}
.home-compact .home-store-logo {
  display: block;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  color: currentColor;
}
.home-compact .home-store span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.home-compact .home-store em {
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.home-compact .home-store strong {
  font-size: 0.9rem;
  line-height: 1.25;
  font-weight: 750;
  color: var(--ink);
}
.home-compact .home-final .home-stores { margin-top: 22px; }
.home-compact .home-final .home-stores-row { grid-template-columns: 1fr; }
@media (max-width: 900px) {
  .home-compact .home-stores { max-width: none; }
  .home-compact .home-stores-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .home-compact .home-store { min-height: 56px; }
  .home-compact .home-store strong { font-size: 0.95rem; }
}
@media (prefers-reduced-motion: reduce) {
  .home-compact .home-store { transition: none; }
  .home-compact .home-store:hover { transform: none; }
}
