/* Gabarit landing Ferr Studio, partage par /site-web/ et /mascotte/ */
/* ============ Landing site web ============ */
.sw { background: var(--surface); }
.sw-sec { padding: clamp(44px, 8vw, 92px) 0; }
.sw-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--white); font-size: 12px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
}
.sw-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.sw-t { font-size: clamp(30px, 4.6vw, 54px); font-weight: 600; letter-spacing: -.04em; line-height: 1.04; margin: 0; }
.sw-t em { font-style: normal; color: var(--brand); }
.sw-p { font-size: clamp(14px, 1.3vw, 16px); line-height: 1.66; color: var(--muted); margin: 0; }
.sw-center { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.sw-center .sw-t { max-width: 20ch; }
.sw-center .sw-p { max-width: 62ch; }

.sw-list { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 11px; }
.sw-list li { position: relative; padding-left: 20px; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.sw-list li::before { content: ""; position: absolute; left: 0; top: .58em; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.sw-list li b { color: var(--ink); font-weight: 600; }
.sw-list + .sw-p, .sw-list + p { margin-top: 16px; }

.sw-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.sw-btn {
  display: inline-flex; align-items: center; gap: 9px; height: 52px; padding: 0 24px;
  border-radius: 999px; font-size: 14px; font-weight: 600; text-decoration: none;
  border: 1px solid transparent; white-space: nowrap;
  transition: background-color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease), color .18s var(--ease), box-shadow .18s var(--ease);
}
.sw-btn-1 { background: var(--brand); color: var(--white); }
.sw-btn-1:hover { background: var(--brand-600); transform: translateY(-1px); box-shadow: 0 10px 26px rgb(228 0 43 / .26); }
.sw-btn-2 { background: var(--white); color: var(--ink); border-color: var(--line); }
.sw-btn-2:hover { border-color: var(--ink); transform: translateY(-1px); }
.sw-btn svg { width: 15px; height: 15px; }

/* ---- 1. hero ---- */
.sw-hero { background: var(--surface); padding: calc(var(--nav) + 52px) 0 0; }
.sw-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }
.sw-hero h1 { font-size: clamp(38px, 6.4vw, 78px); font-weight: 600; letter-spacing: -.045em; line-height: 1.02; margin: 22px 0 0; }
.sw-hero h1 em { font-style: normal; color: var(--brand); }
.sw-badge { display: inline-flex; align-items: center; gap: 12px; padding: 7px 16px 7px 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-size: 13px; font-weight: 500; color: var(--ink); text-decoration: none; transition: border-color .18s var(--ease), transform .18s var(--ease); }
a.sw-badge:hover { border-color: var(--ink); transform: translateY(-1px); }
.sw-badge-go { width: 13px; height: 13px; color: var(--muted); }
.sw-avatars { display: flex; }
.sw-avatars span { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--white); background: var(--card); display: grid; place-items: center; font-size: 10.5px; font-weight: 700; color: var(--ink); margin-left: -13px; }
.sw-avatars span:first-child { margin-left: 0; }
/* bande de logos defilante, fondu sur les bords */
.sw-logos { position: relative; overflow: hidden; margin-top: 56px; padding: 10px 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, transparent 6%, #000 26%, #000 74%, transparent 94%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, transparent 6%, #000 26%, #000 74%, transparent 94%, transparent 100%); }
.sw-logos-track { display: flex; width: max-content; align-items: center; gap: clamp(44px, 5vw, 80px); animation: sw-logos-defile 38s linear infinite; }
.sw-logos:hover .sw-logos-track { animation-play-state: paused; }
@keyframes sw-logos-defile { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .sw-logos-track { animation: none; } }
.sw-logos img { height: 28px; width: auto; flex: none; object-fit: contain; }
/* calage optique : les fichiers n ont pas la meme marge autour du dessin */
.sw-logos img[src*="Group"] { height: 22px; }
.sw-logos img[src*="071634912"] { height: 38px; }

/* la courbe se pose en overlay sur la video, en bas a droite */
.sw-hero-media { position: relative; max-width: 840px; margin: clamp(34px, 4vw, 52px) auto 0; }
.sw-video { margin: 0; border-radius: 22px; overflow: hidden; background: var(--card); }
.sw-video video { display: block; width: 100%; height: auto; }
@media (prefers-reduced-motion: reduce) { .sw-video video { display: none; } .sw-video { aspect-ratio: 1280 / 864; background: var(--card) url("/media/img/ferr-ipad-poster.webp") center / cover no-repeat; } }

.sw-gsc { margin: 0 0 22px; }
.sw-gsc img { display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: 0 26px 60px -26px rgb(20 20 20 / .55); }
.sw-gsc figcaption { margin-top: 12px; text-align: center; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.sw-shot { margin-top: 0; border-radius: 24px; overflow: hidden; }
.sw-shot img { display: block; width: 100%; height: auto; }

/* ---- 2. probleme ---- */
.sw-head-split { display: flex; flex-direction: column; gap: 20px; }
@media (min-width: 900px) { .sw-head-split { flex-direction: row; align-items: flex-end; justify-content: space-between; } .sw-head-split .sw-p { text-align: right; max-width: 38ch; } }
.sw-pains { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: clamp(32px, 5vw, 60px); }
.sw-pain { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 267 / 251; border-radius: 20px; padding: 22px; color: var(--white); background: var(--brand); }
.sw-pain:nth-child(2) { background: #d4002a; }
.sw-pain:nth-child(3) { background: #c10024; }
.sw-pain:nth-child(4) { background: #a80020; }
.sw-pain i { width: 34px; height: 34px; border-radius: 50%; background: rgb(255 255 255 / .18); display: grid; place-items: center; }
.sw-pain p { margin: auto 0 0; font-size: 14px; line-height: 1.45; font-weight: 500; position: relative; z-index: 1; }
.sw-pain i { position: relative; z-index: 1; }
.sw-pain-letter {
  position: absolute; left: 50%; top: 50%; z-index: 0;
  transform: translate(-50%, -50%);
  font-size: clamp(96px, 12vw, 160px); font-weight: 800; line-height: 1.34; letter-spacing: -.07em;
  padding: .08em .06em; pointer-events: none; user-select: none;
  /* background-clip: text ne peint que la boite du span : line-height serre = glyphe coupe net */
  background-image: linear-gradient(158deg, rgb(255 255 255 / .5) 0%, rgb(255 255 255 / .34) 52%, rgb(255 255 255 / .22) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  transition: transform .5s var(--ease);
}
.sw-pain:hover .sw-pain-letter { transform: translate(-50%, -50%) scale(1.07); }
/* meme prompteur que les cartes rouges : le constat s'efface, la phrase monte en grand */
.sw-pain > p:not(.sw-pain-more) { transition: opacity .26s var(--ease), transform .42s var(--ease); }
.sw-pain:hover > p:not(.sw-pain-more), .sw-pain:focus-within > p:not(.sw-pain-more) { opacity: 0; transform: translateY(-10px); }
.sw-pain p.sw-pain-more {
  position: absolute; left: 22px; right: 22px; top: 50%; bottom: auto; z-index: 1; margin: 0;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden;
  font-size: clamp(17px, 1.9vw, 23px); font-weight: 600; letter-spacing: -.025em; line-height: 1.22;
  color: var(--white); opacity: 0; transform: translateY(calc(-50% + 46px));
  transition: opacity .28s var(--ease), transform .5s var(--ease);
}
.sw-pain:hover p.sw-pain-more, .sw-pain:focus-within p.sw-pain-more { opacity: 1; transform: translateY(-50%); }

/* ---- 3. bento ---- */
.sw-bento { display: grid; grid-template-columns: .78fr 1.12fr; gap: 20px; margin-top: 62px; align-items: stretch; }
.sw-bento-right { display: grid; gap: 20px; }
.sw-bento-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.sw-card { background: var(--card); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; }
.sw-card-vis { border-radius: 14px; background: var(--white); flex: 1; min-height: 132px; margin-bottom: 18px; overflow: hidden; display: grid; place-items: center; }
/* ---- cartes animees du bento ---- */
.sw-scene { flex: 1; min-height: 176px; margin-bottom: 18px; }
.sw-tall .sw-scene {
  min-height: 300px;
  /* bord a bord : on annule le padding 24px de la carte sur 3 cotes */
  margin: -24px -24px 18px; border-radius: 20px 20px 0 0; overflow: hidden;
}
.sw-tall .sw-canvas { border-radius: 20px 20px 0 0; }
.sw-tall:hover .sw-canvas { inset: 0; border-radius: 20px 20px 0 0; }
.sw-canvas {
  position: absolute; inset: 0; overflow: hidden; border-radius: 16px;
  background-image:
    radial-gradient(120% 80% at 50% 25%, #ffffff 0%, #f7f7f8 72%),
    repeating-linear-gradient(135deg, rgb(20 20 20 / .035) 0 1px, transparent 1px 10px);
  transition: inset .5s var(--ease), border-radius .5s var(--ease);
}
.sw-card:hover .sw-canvas { inset: 6px; border-radius: 12px; }
.sw-scene { position: relative; }

/* navigateur */
.sw-browser {
  position: absolute; z-index: 1; left: 50%; top: 26px; transform: translateX(-50%);
  width: min(300px, 82%); background: var(--white); border-radius: 14px;
  box-shadow: 0 22px 45px -20px rgb(20 20 20 / .22); padding: 13px;
  animation: sw-float 7s var(--ease) infinite;
}
.sw-browser-bar { display: flex; align-items: center; gap: 5px; margin-bottom: 12px; }
.sw-browser-bar i { width: 8px; height: 8px; border-radius: 50%; background: #e0e0e3; }
.sw-browser-bar i:first-child { background: var(--brand); }
.sw-browser-bar b { flex: 1; height: 6px; margin-left: 7px; border-radius: 99px; background: #eeeef0; }
.sw-browser-body { display: grid; gap: 7px; }
.sw-l { height: 6px; border-radius: 99px; background: #eeeef0; display: block; }
.sw-l-title { height: 10px; width: 54%; background: var(--brand); }
.sw-browser-img { height: 54px; border-radius: 8px; background: #f1f1f3; margin: 5px 0; }
.sw-browser-btns { display: flex; gap: 7px; margin: 3px 0 5px; }
.sw-browser-btns em { width: 62px; height: 18px; border-radius: 99px; background: var(--brand); }
.sw-browser-btns u { width: 44px; height: 18px; border-radius: 99px; background: #eeeef0; }

.sw-cursor {
  position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 9px 4px 6px; border-radius: 99px; font-size: 11px; font-weight: 600;
  color: var(--white); white-space: nowrap; box-shadow: 0 6px 16px rgb(20 20 20 / .18);
}
.sw-cursor svg { width: 11px; height: 11px; }
.sw-cursor-a { background: var(--brand); right: 12%; top: 44%; animation: sw-drift-a 6.5s var(--ease) infinite; }
.sw-cursor-b { background: var(--ink); right: 7%; bottom: 7%; animation: sw-drift-b 8s var(--ease) infinite; }

/* fils + panneau */
.sw-canvas-wires { padding: 0; }
.sw-wires { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 34px; padding: 0 16px; }
.sw-wire { position: relative; display: block; height: 3px; border-top: 1px dashed rgb(20 20 20 / .2); overflow: hidden; }
.sw-wire b {
  position: absolute; top: -1px; left: 0; width: 62px; height: 3px; border-radius: 99px;
  background: linear-gradient(90deg, transparent, var(--brand) 45%, var(--brand) 55%, transparent);
  opacity: 0; animation: none;
}
/* rien au repos, balayage rapide au survol */
.sw-card:hover .sw-wire b { animation: sw-pulse 1.1s linear infinite; }
.sw-folder { position: absolute; z-index: 2; left: 50%; top: 50%; margin: -31px 0 0 -39px; width: 78px; height: 62px; perspective: 420px; }
.sw-folder-tab { position: absolute; left: 2px; top: 0; width: 32px; height: 12px; border-radius: 5px 5px 0 0; background: #a80020; }
.sw-folder-back { position: absolute; left: 0; right: 0; top: 8px; bottom: 0; border-radius: 8px; background: #c10024; }
.sw-folder-front {
  position: absolute; left: 0; right: 0; top: 22px; bottom: 0; border-radius: 8px;
  background: linear-gradient(160deg, var(--brand), #cf0027);
  transform-origin: bottom center; transform: rotateX(0deg);
  transition: transform .45s var(--ease);
  box-shadow: 0 8px 16px -10px rgb(20 20 20 / .5);
}
.sw-card:hover .sw-folder-front { transform: rotateX(-46deg); }
.sw-fly {
  position: absolute; left: 50%; bottom: 16px; z-index: 3;
  padding: 4px 9px; border-radius: 99px; background: var(--white);
  border: 1px solid var(--line); font-size: 10px; font-weight: 600; white-space: nowrap;
  box-shadow: 0 8px 18px -10px rgb(20 20 20 / .45);
  opacity: 0; transform: translate(-50%, 0) scale(.7);
  transition: opacity .35s var(--ease), transform .45s var(--ease);
}
.sw-card:hover .sw-fly-1 { opacity: 1; transform: translate(-108%, -46px) scale(1); transition-delay: .06s; }
.sw-card:hover .sw-fly-2 { opacity: 1; transform: translate(-50%, -74px) scale(1); transition-delay: .14s; }
.sw-card:hover .sw-fly-3 { opacity: 1; transform: translate(6%, -44px) scale(1); transition-delay: .22s; }
.sw-card:hover .sw-dash { background: rgb(255 255 255 / .93); }
.sw-card:hover .sw-cal span.on { box-shadow: 0 0 0 4px rgb(228 0 43 / .18); }
.sw-panel { position: absolute; z-index: 3; right: 16px; top: 50%; transform: translateY(-50%); width: 158px; background: var(--white); border-radius: 12px; padding: 12px; box-shadow: 0 16px 34px -18px rgb(20 20 20 / .24); }
.sw-panel-head { display: flex; align-items: center; justify-content: space-between; font-size: 11px; font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.sw-panel-head span { color: var(--brand); }
.sw-panel-row { display: flex; align-items: center; gap: 7px; margin-bottom: 7px; }
.sw-panel-row i { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid #e4e4e7; flex: none; }
.sw-panel-row span { height: 5px; border-radius: 99px; background: #eeeef0; }
.sw-panel-row em { width: 11px; height: 11px; border-radius: 50%; background: var(--brand); margin-left: auto; flex: none; }

/* courbe */
.sw-axis { position: absolute; top: 18px; bottom: 18px; left: 50%; width: 0; border-left: 1px dashed rgb(20 20 20 / .16); }
.sw-curve { position: absolute; inset: auto 0 0 0; width: 100%; height: 64%; }
/* preserveAspectRatio="none" etire aussi le trait : non-scaling-stroke le garde a 2px */
.sw-curve path { fill: none; stroke-width: 2; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.sw-curve-ghost { stroke: rgb(20 20 20 / .14); }
.sw-curve-live { stroke: var(--brand); stroke-dasharray: var(--len, 420); stroke-dashoffset: var(--len, 420); transition: stroke-dashoffset 1.15s var(--ease); }
.sw-card:hover .sw-curve-live { stroke-dashoffset: 0; }
/* le point suit la pointe du trace, halo qui pulse, pastille au-dessus */
.sw-dot {
  position: absolute; left: 95%; top: 26.667%; width: 10px; height: 10px; margin: -5px 0 0 -5px;
  border-radius: 50%; background: var(--brand);
  opacity: 0; transition: opacity .3s var(--ease);
}
.sw-dot::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px;
  border-radius: 50%; background: rgb(228 0 43 / .25); animation: sw-ping 2.4s cubic-bezier(0, 0, .2, 1) infinite;
}
@keyframes sw-ping { 75%, 100% { transform: scale(2); opacity: 0; } }
.sw-chip {
  position: absolute; bottom: auto; transform: translate(-50%, -100%);
  padding: 6px 13px; border-radius: 99px; background: var(--white); border: 1px solid var(--line);
  box-shadow: 0 12px 26px -12px rgb(20 20 20 / .3);
  font-size: 13px; font-weight: 600; letter-spacing: -.02em; white-space: nowrap;
  opacity: 0; transition: opacity .3s var(--ease);
}
/* le trace, le point et la pastille arrivent au survol de la carte */
.sw-card:hover .sw-dot, .sw-card:hover .sw-chip { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .sw-dot::after { animation: none; } }
.sw-card:hover .sw-chip { opacity: 1; }

/* suivi */
.sw-canvas-track { padding: 14px; }
.sw-mail { position: absolute; left: 50%; top: 40%; width: 108px; height: 76px; margin: -38px 0 0 -54px; }
.sw-mail-back { position: absolute; inset: 0; z-index: 1; border-radius: 9px; background: #a80020; }
.sw-mail-front {
  position: absolute; inset: 0; z-index: 3; border-radius: 9px;
  background: linear-gradient(160deg, var(--brand), #cf0027);
  clip-path: polygon(0 26%, 50% 70%, 100% 26%, 100% 100%, 0 100%);
  box-shadow: 0 10px 20px -12px rgb(20 20 20 / .5);
}
.sw-mail-sheet {
  position: absolute; z-index: 2; left: 11px; right: 11px; bottom: 12px;
  background: var(--white); border-radius: 6px; padding: 8px 9px;
  box-shadow: 0 8px 18px -10px rgb(20 20 20 / .4);
  transform: translateY(0); transition: transform .45s var(--ease);
}
.sw-card:hover .sw-mail-sheet { transform: translateY(-16px); }
.sw-mail-sheet b { display: block; font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 5px; }
.sw-mail-sheet i { display: block; height: 3px; border-radius: 99px; background: #e9e9ec; margin-bottom: 3px; }
.sw-cal { position: absolute; left: 14px; right: 14px; bottom: 14px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; }
.sw-cal span { text-align: center; font-size: 11px; font-weight: 600; color: var(--muted); padding: 5px 0; border-radius: 7px; background: rgb(255 255 255 / .7); }
.sw-cal span.on { background: var(--brand); color: var(--white); }

@keyframes sw-float { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-7px); } }
@keyframes sw-drift-a { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-14px,10px); } }
@keyframes sw-drift-b { 0%,100% { transform: translate(0,0); } 50% { transform: translate(16px,-12px); } }
@keyframes sw-pulse { 0% { transform: translateX(-80px); opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { transform: translateX(760px); opacity: 0; } }
@keyframes sw-draw { 0% { stroke-dashoffset: var(--len, 420); } 55%,88% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes sw-blip { 0%,40% { opacity: 0; transform: scale(.6); } 60%,88% { opacity: 1; transform: scale(1); } 100% { opacity: 0; } }
@keyframes sw-pop { 0%,8% { opacity: 0; transform: translateY(8px); } 20%,72% { opacity: 1; transform: translateY(0); } 88%,100% { opacity: 0; transform: translateY(-6px); } }

@media (prefers-reduced-motion: reduce) {
  .sw-browser, .sw-cursor, .sw-wire b, .sw-curve-live, .sw-dot, .sw-tag { animation: none; }
  .sw-curve-live { stroke-dashoffset: 0; }
  .sw-tag, .sw-dot { opacity: 1; }
}
.sw-card-vis img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sw-card h3 { font-size: 17px; font-weight: 600; letter-spacing: -.02em; margin: 0 0 8px; }
.sw-card p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.sw-tall .sw-card-vis { min-height: 260px; }

/* ---- 4. methode, carrousel ---- */
.sw-slide-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.sw-slide-aside { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.sw-arrows { display: flex; gap: 10px; }
.sw-arrow {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--white); color: var(--ink); cursor: pointer; display: grid; place-items: center;
  transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease), opacity .18s var(--ease);
}
.sw-arrow svg { width: 16px; height: 16px; }
.sw-arrow:hover:not(:disabled) { background: var(--brand); border-color: var(--brand); color: var(--white); }
.sw-arrow:disabled { opacity: .3; cursor: default; }

.sw-track {
  display: flex; gap: 20px; margin-top: 44px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 4px max(24px, calc((100% - 1180px) / 2)) 26px;
  scroll-padding-left: max(24px, calc((100% - 1180px) / 2));
  scrollbar-width: none; -ms-overflow-style: none;
  cursor: grab;
}
.sw-track.is-dragging { scroll-snap-type: none; scroll-behavior: auto; cursor: grabbing; user-select: none; }
.sw-track.is-dragging .sw-slide { transform: none; }
.sw-track::-webkit-scrollbar { display: none; }
.sw-track:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
.sw-track-end { flex: none; width: 1px; }

.sw-slide {
  position: relative; flex: none; scroll-snap-align: start;
  width: clamp(268px, 30vw, 372px); min-height: 430px;
  border-radius: 26px; background: var(--card); color: var(--ink);
  padding: 28px 28px 26px; overflow: hidden;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.sw-slide:hover { transform: translateY(-4px); box-shadow: 0 26px 48px -26px rgb(20 20 20 / .3); }
/* au survol, la carte passe au noir de la carte Tracking */
.sw-slide { transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s var(--ease), color .3s var(--ease); }
.sw-slide:hover { background: #111114; color: var(--white); }
.sw-slide:hover .sw-slide-line { background: rgb(255 255 255 / .18); }
.sw-slide:hover .sw-slide-time em { color: rgb(255 255 255 / .62); }
.sw-slide:hover .sw-slide-tag { background: rgb(255 255 255 / .1); border-color: rgb(255 255 255 / .2); color: rgb(255 255 255 / .8); }
.sw-slide:hover p { color: rgb(255 255 255 / .68); }
.sw-slide.is-dark { background: #111114; color: var(--white); }
.sw-slide-time { display: grid; gap: 10px; margin-bottom: 2px; }
.sw-slide-line { position: relative; display: block; height: 2px; border-radius: 99px; background: rgb(20 20 20 / .1); }
.sw-slide-line i { position: absolute; top: -3px; margin-left: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.sw-slide-time em { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.sw-slide.is-dark .sw-slide-line { background: rgb(255 255 255 / .18); }
.sw-slide.is-dark .sw-slide-time em { color: rgb(255 255 255 / .62); }
.sw-slide-tag {
  align-self: flex-start; padding: 7px 14px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line);
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.sw-slide.is-dark .sw-slide-tag { background: rgb(255 255 255 / .1); border-color: rgb(255 255 255 / .2); color: rgb(255 255 255 / .8); }
.sw-slide h3 { font-size: clamp(24px, 2.4vw, 31px); font-weight: 600; letter-spacing: -.035em; line-height: 1.06; margin: 6px 0 0; }
.sw-slide p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--muted); max-width: 30ch; }
.sw-slide.is-dark p { color: rgb(255 255 255 / .68); }
.sw-slide-n {
  margin-top: auto; align-self: flex-end;
  font-size: clamp(72px, 9vw, 112px); font-weight: 600; letter-spacing: -.06em; line-height: .8;
  color: transparent; -webkit-text-stroke: 1.5px rgb(20 20 20 / .16);
}
.sw-slide.is-dark .sw-slide-n { -webkit-text-stroke-color: rgb(255 255 255 / .28); }
.sw-slide:hover .sw-slide-n { -webkit-text-stroke-color: var(--brand); }

/* ---- tableau de bord transparent dans la carte site ---- */
.sw-dash {
  position: absolute; z-index: 2; left: 8%; right: 8%; bottom: 82px;
  padding: 14px 16px; border-radius: 14px;
  background: rgb(255 255 255 / .72); border: 1px solid rgb(255 255 255 / .9);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px -22px rgb(20 20 20 / .35);
  animation: sw-float-soft 8s var(--ease) infinite;
}
.sw-dash-head { display: flex; align-items: center; justify-content: space-between; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 11px; }
.sw-dash-head span { font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--ink); }
.sw-dash-row { display: grid; grid-template-columns: 62px 1fr 42px; gap: 9px; align-items: center; margin-bottom: 8px; }
.sw-dash-row:last-child { margin-bottom: 0; }
.sw-dash-row b { font-size: 11px; font-weight: 500; color: var(--muted); }
.sw-dash-bar { height: 6px; border-radius: 99px; background: rgb(20 20 20 / .08); overflow: hidden; }
.sw-dash-bar u { display: block; height: 100%; border-radius: 99px; background: var(--brand); text-decoration: none; transform-origin: left center; animation: sw-grow 4.5s var(--ease) infinite; }
.sw-dash-row em { font-style: normal; font-size: 11px; font-weight: 700; color: var(--brand); text-align: right; }

@keyframes sw-float-soft { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes sw-grow { 0%,6% { transform: scaleX(0); } 42%,86% { transform: scaleX(1); } 100% { transform: scaleX(1); } }

@media (max-width: 900px) {
  .sw-slide-head { grid-template-columns: 1fr; gap: 22px; }
  .sw-slide { min-height: 372px; }
}
@media (prefers-reduced-motion: reduce) {
  .sw-track { scroll-behavior: auto; }
  .sw-dash, .sw-dash-bar u { animation: none; }
  .sw-dash-bar u { transform: scaleX(1); }
}

/* ---- 5. cas ---- */
.sw-cases { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 44px; }
.sw-case { display: block; text-decoration: none; color: inherit; }
.sw-case-img { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 11; background: var(--card); }
.sw-case-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.sw-case:hover .sw-case-img img { transform: scale(1.035); }
.sw-case-tag { position: absolute; z-index: 2; top: 16px; left: 16px; padding: 7px 14px; border-radius: 999px; background: rgb(20 20 20 / .62); color: var(--white); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; backdrop-filter: blur(6px); }
.sw-case-stats { display: grid; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.sw-case-stats li { display: grid; grid-template-columns: 19px 1fr; gap: 11px; align-items: start; font-size: 14px; line-height: 1.45; color: var(--ink); }
.sw-case-stats i { width: 19px; height: 19px; margin-top: 1px; border-radius: 50%; background: var(--brand); color: var(--white); display: grid; place-items: center; }
.sw-case-stats i svg { width: 11px; height: 11px; }

/* ---- 6. avis ---- */
.sw-avis { display: grid; grid-template-columns: .78fr 1.22fr; gap: 44px; align-items: start; }
.sw-avis-side { display: flex; flex-direction: column; gap: 20px; }
.sw-stars { display: flex; gap: 4px; color: var(--brand); }
.sw-stars svg { width: 16px; height: 16px; }
.sw-reviews { display: grid; gap: 16px; }
.sw-review { border: 1px solid var(--line); border-radius: 20px; padding: 22px 24px; background: var(--white); }
.sw-review-top { display: flex; align-items: center; gap: 13px; margin-bottom: 12px; }
.sw-review-top i { width: 38px; height: 38px; border-radius: 50%; background: var(--brand); color: var(--white); display: grid; place-items: center; font-size: 15px; font-weight: 700; font-style: normal; }
.sw-review-top b { font-size: 15px; font-weight: 600; }
.sw-review-top small { display: block; font-size: 12px; color: var(--muted); font-weight: 400; }
.sw-review p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--muted); }

/* ---- 7. comparatif ---- */
/* comparatif : bloc blanc a gauche, colonne offre detachee en carte qui depasse */
/* --c4 = largeur exacte de la derniere colonne (grille 1.32 + 1 + 1 + 1 = 4.32fr) */
.sw-table { --c4: calc(100% / 4.32); position: relative; margin-top: 44px; border-radius: 30px; background: none; overflow: visible; }
.sw-table::before { content: ""; position: absolute; inset: 0 calc(var(--c4) + 16px) 0 0; border-radius: 30px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); pointer-events: none; }
.sw-table::after { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: var(--c4); border-radius: 30px; background: var(--brand) url("/media/img/ferr-card-bg-4.webp") center / cover no-repeat; pointer-events: none; }
.sw-tr { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.32fr) repeat(3, minmax(0, 1fr)); align-items: stretch; }
/* le vide entre le bloc blanc et la carte offre, pris sur la 3e colonne : les
   filets s arretent ainsi exactement au bord du bloc blanc */
.sw-tr > div:nth-child(3) { margin-right: 16px; }
.sw-tr > div:nth-child(-n+3) { border-top: 1px solid var(--line); }
.sw-tr > div:last-child { color: var(--white); }
.sw-tr:not(.sw-th) > div:last-child { border-top: 1px solid rgb(255 255 255 / .16); }
.sw-tr > div:last-child .sw-no { background: rgb(255 255 255 / .16); color: rgb(255 255 255 / .8); }
.sw-tr:first-child > div { border-top: 0; }
.sw-tr:first-child { border-top: 0; }
.sw-tr > div { min-height: 88px; padding: 14px 24px; display: flex; align-items: center; font-size: 15px; line-height: 1.25; letter-spacing: -.02em; }
.sw-tr > div:not(:first-child) { justify-content: center; text-align: center; }
.sw-th { font-weight: 500; }
.sw-th > div { min-height: 152px; }
.sw-th > div { flex-direction: column; align-items: center; justify-content: center; gap: 5px; font-size: 20px; }
.sw-th > div:first-child { align-items: flex-start; font-size: 15px; color: var(--muted); font-weight: 500; }
.sw-th small { display: block; font-weight: 400; font-size: 15px; line-height: 1.35; color: #8e8e8e; }
.sw-th > div:last-child, .sw-tr > div:last-child { background: transparent; color: var(--white); }
.sw-th > div:last-child small { color: rgb(255 255 255 / .78); }
.sw-tr > div:last-child { font-weight: 500; }
.sw-tr > div.sw-stack { flex-direction: column; justify-content: center; gap: 5px; padding-top: 14px; padding-bottom: 14px; }
.sw-tr > div.sw-stack b { font-weight: 600; }
.sw-tr > div.sw-stack small { font-size: 12px; line-height: 1.35; font-weight: 400; color: rgb(255 255 255 / .8); }
.sw-tr > div:not(:last-child).sw-stack small { color: var(--muted); }
.sw-yes, .sw-no { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.sw-no { background: rgb(20 20 20 / .07); color: var(--muted); }
.sw-yes { background: rgb(255 255 255 / .2); color: var(--white); }

/* ---- 8. pour qui ---- */
.sw-fit { display: grid; grid-template-columns: 1.25fr 1fr; gap: 12px; align-items: stretch; }
.sw-fit-left { display: grid; gap: 20px; position: relative; }
.sw-fit-shot { border-radius: 20px; overflow: hidden; background: var(--card); aspect-ratio: 649 / 482;
  isolation: isolate; transform: translateZ(0); }
.sw-fit-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* les deux cartes "non" se posent sur l'image */
/* les deux cartes "non" sont soustraites de l'image : l'image garde sa jambe a gauche,
   les cartes mangent le coin bas droit, le ::before arrondit le coin rentrant */
.sw-fit-no {
  --gut: 12px; --notch: 22px;
  position: absolute; z-index: 2; left: 36%; right: 0; bottom: 0;
  /* alignement bento : les cartes "non" font la hauteur d une carte "oui" (un tiers de la colonne, moins les deux gouttieres) */
  height: calc((100% - 2 * var(--gut)) / 3 + var(--gut));
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--gut);
  /* fond plein : la decoupe est nette, sans residus d'image dans les gouttieres */
  background: var(--white); border-top-left-radius: var(--notch);
  padding: var(--gut) 0 0 var(--gut);
}
/* les deux coins de l'image sur la decoupe sont arrondis : le rentrant en haut, le sortant en bas */
.sw-fit-no::before, .sw-fit-no::after {
  content: ""; position: absolute; width: var(--notch); height: var(--notch); pointer-events: none;
  background: radial-gradient(circle at 0 0, transparent calc(var(--notch) - .5px), var(--white) calc(var(--notch) + .5px));
}
/* coin haut droit : l image au-dessus du bloc s arrondit en rentrant */
.sw-fit-no::before { top: calc(-1 * var(--notch)); right: 0; }
/* coin bas gauche : l image a gauche du bloc s arrondit en rentrant */
.sw-fit-no::after { bottom: 0; left: calc(-1 * var(--notch)); }
.sw-fit-notch { display: none; }
.sw-no-card { background: var(--card); border-radius: 18px; padding: 18px 14px; text-align: center; }
.sw-no-card i { width: 32px; height: 32px; border-radius: 50%; background: var(--brand); display: inline-grid; place-items: center; color: var(--white); margin-bottom: 12px; }
.sw-no-card p { margin: 0; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
/* les trois cartes se partagent la hauteur de l image, a parts egales */
.sw-fit-yes { display: grid; grid-auto-rows: 1fr; gap: 12px; }
.sw-yes-card { background: var(--brand) center / cover no-repeat; color: var(--white); border-radius: 18px; padding: 22px 24px; min-height: 150px; display: flex; flex-direction: column; justify-content: space-between; }
.sw-yes-card:nth-child(1) { background-image: url("/media/img/ferr-card-bg-1.webp"); }
.sw-yes-card:nth-child(2) { background-image: url("/media/img/ferr-card-bg-2.webp"); }
.sw-yes-card:nth-child(3) { background-image: url("/media/img/ferr-card-bg-3.webp"); }
.sw-yes-card .sw-yes-top { display: flex; align-items: flex-start; gap: 14px; justify-content: space-between; }
.sw-yes-card i { width: 34px; height: 34px; border-radius: 50%; background: rgb(255 255 255 / .18); display: grid; place-items: center; flex: none; }
.sw-yes-ico { width: 18px; height: 18px; fill: currentColor; }
.sw-yes-card p { margin: 0; font-size: 13.5px; line-height: 1.45; text-align: right; }
.sw-yes-card b { display: block; margin-top: 14px; text-align: right; font-size: clamp(24px, 3vw, 34px); font-weight: 600; letter-spacing: -.03em; }
/* sous-titre : au survol la carte se vide et la phrase monte en grand, deux lignes maxi */
.sw-yes-card { position: relative; overflow: hidden; }
.sw-yes-card .sw-yes-top, .sw-yes-card > b {
  transition: opacity .26s var(--ease), transform .42s var(--ease);
}
.sw-yes-card:hover .sw-yes-top, .sw-yes-card:focus-within .sw-yes-top { opacity: 0; transform: translateY(-12px); }
.sw-yes-card:hover > b, .sw-yes-card:focus-within > b { opacity: 0; transform: translateY(-12px); }
.sw-yes-card .sw-yes-more {
  position: absolute; left: 24px; right: 24px; top: 22px; bottom: 22px; margin: 0;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
  align-content: center;
  font-size: clamp(17px, 1.9vw, 22px); font-weight: 600; letter-spacing: -.02em; line-height: 1.26;
  text-align: right; color: var(--white);
  opacity: 0; transform: translateY(100%);
  transition: opacity .28s var(--ease), transform .5s var(--ease);
}
.sw-yes-card:hover .sw-yes-more, .sw-yes-card:focus-within .sw-yes-more { opacity: 1; transform: none; }
.sw-fit-foot { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; margin-top: clamp(40px, 6vw, 66px); }

/* ---- 9. chiffres ---- */
.sw-nums { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 26px; text-align: center; }
.sw-nums b { display: block; font-size: clamp(30px, 4.4vw, 50px); font-weight: 600; letter-spacing: -.045em; line-height: 1; }
.sw-nums span { display: block; margin-top: 10px; font-size: 13px; line-height: 1.4; color: var(--muted); }

/* ---- 10. garantie ---- */
.sw-guar { position: relative; border-radius: 26px; overflow: hidden; background: #a80020 url("/media/img/ferr-card-bg-1.webp") center / cover no-repeat; color: var(--white); padding: clamp(34px, 5vw, 54px); display: grid; grid-template-columns: 1fr; gap: 30px; justify-items: center; text-align: center; }
.sw-guar .sw-pill { background: var(--white); border-color: var(--white); color: var(--ink); }
.sw-guar .sw-pill::before { background: var(--brand); }
.sw-guar h2 { font-size: clamp(26px, 3.4vw, 42px); font-weight: 600; letter-spacing: -.035em; line-height: 1.08; margin: 20px auto 0; max-width: 20ch; }
.sw-guar .sw-btns { justify-content: center; }
.sw-guar-img { border-radius: 18px; overflow: hidden; }
.sw-guar-img img { width: 100%; height: auto; display: block; }
.sw-guar .sw-btn-2 { background: var(--white); border-color: var(--white); }
.sw-guar-note { margin: 28px 0 0; font-size: 13px; line-height: 1.6; color: var(--muted); text-align: center; }

/* ---- 11. FAQ ---- */
.sw-faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 44px; align-items: start; }
.sw-faq-col { display: grid; gap: 16px; }
.sw-q { border: 0; border-radius: 18px; background: var(--brand); color: var(--white); overflow: hidden; }
.sw-q summary { list-style: none; cursor: pointer; padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 18px; font-size: 14.5px; font-weight: 500; line-height: 1.4; }
.sw-q summary::-webkit-details-marker { display: none; }
.sw-q summary span { width: 30px; height: 30px; border-radius: 50%; background: rgb(255 255 255 / .22); color: var(--white); display: grid; place-items: center; flex: none; transition: transform .2s var(--ease); }
.sw-q[open] { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.sw-q[open] summary span { background: var(--card); color: var(--ink); transform: rotate(90deg); }
.sw-q p { margin: 0; padding: 0 22px 22px; font-size: 14px; line-height: 1.62; color: rgb(255 255 255 / .84); }
.sw-q[open] p { color: var(--muted); }

/* ---- 12. CTA ---- */
.sw-final { background: #111114; color: var(--white); border-radius: 26px; padding: clamp(36px, 5vw, 58px); display: grid; grid-template-columns: 1.1fr .9fr; gap: 34px; align-items: center; }
.sw-final .sw-pill { background: var(--white); border-color: var(--white); color: var(--ink); }
.sw-final h2 { font-size: clamp(26px, 3.6vw, 44px); font-weight: 600; letter-spacing: -.035em; line-height: 1.08; margin: 20px 0 0; max-width: 17ch; }
.sw-final .sw-p { color: rgb(255 255 255 / .7); }
.sw-final .sw-btn-2 { background: transparent; border-color: rgb(255 255 255 / .3); color: var(--white); }
.sw-final .sw-btn-2:hover { border-color: var(--white); }

@media (max-width: 1040px) {
  .sw-hero-grid, .sw-bento, .sw-avis, .sw-fit, .sw-guar, .sw-final, .sw-fit-foot { grid-template-columns: 1fr; }
  .sw-pains { grid-template-columns: 1fr 1fr; }
  .sw-cases { grid-template-columns: 1fr; }
  .sw-faq-grid { grid-template-columns: 1fr; }
  .sw-nums { grid-template-columns: 1fr 1fr; gap: 32px 18px; }
  .sw-guar { gap: 26px; }
  .sw-guar-img { max-width: 380px; }
}
@media (max-width: 720px) {
  .sw-pains { grid-template-columns: 1fr; }
  .sw-fit-no { position: static; left: auto; right: auto; bottom: auto; padding: 0; background: none; border-top-left-radius: 0; }
  .sw-fit-no::before, .sw-fit-no::after, .sw-fit-notch { display: none; }
  .sw-pain { aspect-ratio: auto; min-height: 172px; }
  .sw-bento-row { grid-template-columns: 1fr; }
  .sw-step { grid-template-columns: 56px 1fr; gap: 16px; padding: 20px; }
  .sw-step-tag { grid-column: 2; }
  .sw-table { overflow-x: auto; }
  .sw-tr { grid-template-columns: minmax(180px, 1.32fr) repeat(3, minmax(96px, 1fr)); }
  .sw-fit-no { grid-template-columns: 1fr; }
}

/* galerie de la page mascotte */
.sw-gal { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sw-gal img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 20px; display: block; background: var(--card); transition: transform .45s var(--ease); }
.sw-gal img:hover { transform: scale(1.02); }
@media (max-width: 1040px) { .sw-gal { grid-template-columns: 1fr 1fr; } }

/* bloc resume du hero */
.sw-tldr { border-left: 2px solid var(--brand); padding-left: 18px; }
.sw-tldr-k { display: block; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 9px; }



/* ================= BENTO OUTILS ================= */
.sw-bento:has(.sw-bento-grid) {
  display: grid; grid-template-columns: .88fr 1.12fr; gap: 46px; align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: 30px;
  padding: 48px; box-shadow: 0 30px 60px -40px rgb(20 20 20 / .28);
}
.sw-bento-txt h2 { margin: 0 0 18px; }
.sw-bento-txt .sw-p { max-width: 42ch; }
.sw-bento-txt .sw-btns { margin-top: 26px; }
/* le bento de cartes partage le nom .sw-bento : il doit rester etire */
.sw-bento:has(.sw-card) { align-items: stretch; }

.sw-bento-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
  background: var(--card); border-radius: 26px; padding: 26px;
}
.sw-bt { aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; }
.sw-bt svg { display: block; width: 44%; height: 44%; }

/* creux : les emplacements vides qui donnent le rythme */
.sw-bt-ghost { background: rgb(20 20 20 / .055); }
.sw-bt-tall { grid-row: span 2; aspect-ratio: auto; border-radius: 999px; }
.sw-bt-wide { grid-column: span 2; aspect-ratio: auto; border-radius: 999px; }

/* pastilles pleines */
.sw-bt-live {
  background: var(--white); color: var(--ink);
  box-shadow: 0 12px 26px -14px rgb(20 20 20 / .3);
}
.sw-bt-red { background: var(--brand); color: var(--white); box-shadow: 0 14px 30px -12px rgb(228 0 43 / .5); }
.sw-bt-sun { background: #ffc93c; color: var(--white); box-shadow: 0 14px 30px -14px rgb(255 201 60 / .6); }
/* la couleur vit sur la pastille : un wrapper interne casserait le width:44% du svg */
.sw-bt-green { background: var(--white); color: #12b76a; }
.sw-bt-sunfill { background: var(--white); color: #ffc93c; }
/* pastille blanche cerclee de jaune : le rond est un inset, il ne mange pas la taille */
.sw-bt-sunring { color: #ffc93c; box-shadow: inset 0 0 0 2px #ffc93c, 0 12px 26px -14px rgb(20 20 20 / .3); }
.sw-bento-grid .sw-bt-sunring:hover { box-shadow: inset 0 0 0 2px #ffc93c, 0 22px 40px -16px rgb(20 20 20 / .38); }
/* --- glissement --- */
.sw-bt { position: relative; will-change: transform; }
.sw-bento-grid .sw-bt:nth-child(1) { --dx: -7px; --dy: -4px; --i: 1; }
.sw-bento-grid .sw-bt:nth-child(2) { --dx: -3px; --dy: -6px; --i: 2; }
.sw-bento-grid .sw-bt:nth-child(3) { --dx: 0px; --dy: -8px; --i: 3; }
.sw-bento-grid .sw-bt:nth-child(4) { --dx: 4px; --dy: -6px; --i: 4; }
.sw-bento-grid .sw-bt:nth-child(5) { --dx: 8px; --dy: -4px; --i: 5; }
.sw-bento-grid .sw-bt:nth-child(6) { --dx: -4px; --dy: 0px; --i: 6; }
.sw-bento-grid .sw-bt:nth-child(7) { --dx: 0px; --dy: -2px; --i: 7; }
.sw-bento-grid .sw-bt:nth-child(8) { --dx: 3px; --dy: 2px; --i: 8; }
.sw-bento-grid .sw-bt:nth-child(9) { --dx: 8px; --dy: 0px; --i: 9; }
.sw-bento-grid .sw-bt:nth-child(10) { --dx: -8px; --dy: 5px; --i: 10; }
.sw-bento-grid .sw-bt:nth-child(11) { --dx: -3px; --dy: 7px; --i: 11; }
.sw-bento-grid .sw-bt:nth-child(12) { --dx: 2px; --dy: 6px; --i: 12; }
.sw-bento-grid .sw-bt:nth-child(13) { --dx: 8px; --dy: 5px; --i: 13; }

/* au survol de la grille, tout le monde derive, en decale */
.sw-bento-grid:hover .sw-bt {
  transform: translate(var(--dx, 0), var(--dy, 0));
  transition-delay: calc(var(--i, 0) * 26ms);
}
/* la pastille survolee prend le dessus et part tout de suite */
.sw-bento-grid .sw-bt:hover {
  transform: translateY(-8px) scale(1.07);
  transition-delay: 0s; z-index: 2;
}
.sw-bt-live, .sw-bt-red, .sw-bt-sun, .sw-bt-ghost {
  transition: transform .5s var(--ease), box-shadow .3s var(--ease);
}
.sw-bento-grid .sw-bt-live:hover { box-shadow: 0 22px 40px -16px rgb(20 20 20 / .38); }

@media (max-width: 980px) {
  .sw-bento:has(.sw-bento-grid) { grid-template-columns: 1fr; gap: 32px; padding: 32px; }
}
@media (max-width: 560px) {
  .sw-bento:has(.sw-bento-grid) { padding: 24px; border-radius: 24px; }
  .sw-bento-grid { gap: 9px; padding: 16px; border-radius: 20px; }
}

/* ================= MUR D AVIS ================= */
/* la section prend un fond gris pleine largeur : sans lui, cartes blanches sur blanc */
.sw-sec-mur { position: relative; background: #f2f2f4; padding: 72px 0 84px; }

.sw-wall-head { text-align: center; max-width: 620px; margin: 0 auto 46px; }
.sw-wall-head .sw-t { margin: 0 0 22px; }
.sw-wall-head .sw-wall-score { margin-bottom: 18px; }
.sw-wall-head .sw-p { margin: 0 auto; max-width: 46ch; }
.sw-wall-head .sw-btns { justify-content: center; margin-top: 30px; }
.sw-wall-score { display: inline-flex; align-items: center; gap: 11px; }
.sw-wall-score b { font-size: 26px; font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.sw-wall-score small { font-size: 13px; font-weight: 500; color: var(--muted); }

.sw-wall {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: start;
  max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 36px);
}
.sw-wall-col { display: flex; flex-direction: column; gap: 18px; }
/* decalages irreguliers : le mur ne doit pas se lire comme 4 colonnes alignees */
.sw-wall-col:nth-child(1) { margin-top: 0; }
.sw-wall-col:nth-child(2) { margin-top: 74px; }
.sw-wall-col:nth-child(3) { margin-top: 26px; }
.sw-wall-col:nth-child(4) { margin-top: 104px; }

.sw-wall-card {
  display: flex; flex-direction: column;
  background: var(--white); border: 0; border-radius: 20px;
  padding: 26px 24px 22px; min-height: 236px;
  box-shadow: 0 2px 4px rgb(20 20 20 / .04), 0 18px 36px -22px rgb(20 20 20 / .32);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
/* une carte sur deux respire plus : c est ce qui casse l alignement du mur */
.sw-wall-col:nth-child(odd) .sw-wall-card:first-child { min-height: 300px; }
.sw-wall-col:nth-child(even) .sw-wall-card:last-child { min-height: 288px; }

.sw-wall-card:hover { transform: translateY(-5px); box-shadow: 0 4px 8px rgb(20 20 20 / .05), 0 30px 50px -26px rgb(20 20 20 / .42); }
.sw-wall-card b { display: block; font-size: 17px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 11px; }
.sw-wall-card p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--muted); }

/* la ligne d etoiles est plaquee en bas : c est elle qui cree le vide du modele */
.sw-wall-tag { display: flex; align-items: center; margin-top: auto; padding-top: 22px; }
.sw-wall-stars { display: inline-flex; gap: 2px; color: #ffc93c; }
.sw-wall-stars svg { width: 15px; height: 15px; flex: none; }
.sw-wall-score .sw-wall-stars svg { width: 16px; height: 16px; }

@media (max-width: 1000px) {
  .sw-wall { grid-template-columns: repeat(2, 1fr); }
  .sw-wall-col:nth-child(3) { margin-top: 0; }
  .sw-wall-col:nth-child(4) { margin-top: 74px; }
}
@media (max-width: 560px) {
  .sw-wall { grid-template-columns: 1fr; gap: 14px; }
  .sw-wall-col { gap: 14px; }
  .sw-wall-col:nth-child(n) { margin-top: 0; }
  .sw-wall-card, .sw-wall-col .sw-wall-card { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .sw-wall-card, .sw-bt { transition: none; }
  .sw-wall-card:hover, .sw-bento-grid:hover .sw-bt, .sw-bento-grid .sw-bt:hover { transform: none; }
}


/* ===== bandeau garantie (repris de la pastille Warranty Meeeters) ===== */
.sw-warr {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 4px 16px 4px 4px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line);
  font-size: 13px; color: var(--ink); text-decoration: none;
  box-shadow: 0 10px 26px -18px rgb(20 20 20 / .4);
}
a.sw-warr:hover { border-color: rgb(20 20 20 / .22); }
.sw-warr-badge {
  position: relative; isolation: isolate; overflow: hidden; flex-shrink: 0;
  background: linear-gradient(110deg, var(--brand-600) 0%, var(--brand) 48%, var(--brand-600) 100%);
  color: var(--white); font-size: 11px; font-weight: 700; letter-spacing: .04em;
  padding: 5px 11px; border-radius: 999px;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .32), 0 0 18px rgb(228 0 43 / .34);
}
/* le reflet qui balaie la pastille */
.sw-warr-badge::after {
  content: ""; position: absolute; z-index: -1; inset: -80% -35%;
  background: linear-gradient(105deg, transparent 38%, rgb(255 228 234 / .9) 49%, transparent 60%);
  transform: translateX(-70%); animation: sw-warr-shine 2.8s ease-in-out infinite;
}
@keyframes sw-warr-shine { 0%,24% { transform: translateX(-70%); } 68%,100% { transform: translateX(70%); } }
@media (prefers-reduced-motion: reduce) { .sw-warr-badge::after { animation: none; } }
@media (max-width: 600px) { .sw-warr { font-size: 12px; line-height: 1.35; padding: 5px 14px 5px 5px; } }


/* ================= GRILLE OUTILS (/design-tools/) ================= */
.sw-tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.sw-tools .sw-card { text-decoration: none; color: var(--ink); }
.sw-tools .sw-card:hover { transform: translateY(-4px); }
.sw-tools .sw-card { transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.sw-tools .sw-scene { min-height: 168px; }
.sw-tool-t { font-size: 17px; font-weight: 600; letter-spacing: -.02em; margin: 0 0 6px; }
.sw-tool-p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--muted); }
.sw-tool-go { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--brand); }
.sw-tool-go svg { width: 13px; height: 13px; transition: transform .3s var(--ease); }
.sw-tools .sw-card:hover .sw-tool-go svg { transform: translate(3px, -3px); }

/* --- scenes miniatures, une par outil --- */
.sw-sc { position: absolute; inset: 0; display: grid; place-items: center; }
.sw-ico-stack { display: flex; align-items: flex-end; gap: 9px; }
.sw-ico-stack i { display: block; background: var(--white); border-radius: 7px; box-shadow: 0 10px 22px -12px rgb(20 20 20 / .3); animation: sw-bob 3.4s var(--ease) infinite; }
.sw-ico-stack i:nth-child(1) { width: 26px; height: 26px; animation-delay: 0s; }
.sw-ico-stack i:nth-child(2) { width: 40px; height: 40px; animation-delay: .18s; background: var(--brand); }
.sw-ico-stack i:nth-child(3) { width: 56px; height: 56px; animation-delay: .36s; }
@keyframes sw-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

.sw-bars { width: 62%; display: grid; gap: 10px; }
.sw-bars span { display: block; height: 12px; border-radius: 99px; background: rgb(20 20 20 / .1); }
.sw-bars span.on { background: var(--brand); transform-origin: left center; animation: sw-shrink 3.6s var(--ease) infinite; }
@keyframes sw-shrink { 0%,12% { transform: scaleX(1); } 46%,88% { transform: scaleX(.34); } 100% { transform: scaleX(1); } }

.sw-wheel { width: 88px; height: 88px; border-radius: 50%; animation: sw-spin 14s linear infinite;
  background: conic-gradient(#e4002b, #ffc93c, #12b76a, #2f80ed, #7b00fe, #e4002b);
  mask: radial-gradient(circle, transparent 38%, #000 39%); -webkit-mask: radial-gradient(circle, transparent 38%, #000 39%); }
@keyframes sw-spin { to { transform: rotate(360deg); } }

.sw-vec { width: 96px; height: 96px; }
.sw-vec path { fill: none; stroke: var(--brand); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 260; stroke-dashoffset: 260; animation: sw-draw 4.4s var(--ease) infinite; }
.sw-vec rect { fill: rgb(20 20 20 / .08); }

.sw-slides { position: relative; width: 108px; height: 74px; }
.sw-slides i { position: absolute; inset: 0; border-radius: 9px; background: var(--white); box-shadow: 0 10px 24px -14px rgb(20 20 20 / .34); animation: sw-fan 4.2s var(--ease) infinite; }
.sw-slides i:nth-child(2) { animation-delay: .2s; }
.sw-slides i:nth-child(3) { animation-delay: .4s; background: var(--brand); }
@keyframes sw-fan { 0%,100% { transform: translate(0,0) rotate(0); } 50% { transform: translate(11px,-9px) rotate(4deg); } }

@media (max-width: 900px) { .sw-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .sw-tools { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .sw-ico-stack i, .sw-bars span.on, .sw-wheel, .sw-vec path, .sw-slides i { animation: none; }
  .sw-vec path { stroke-dashoffset: 0; }
}


/* le chip de stat ne sort qu au survol, colle au point */
.sw-card:hover .sw-chip { opacity: 1; }
/* les fils ne pulsent qu au survol de leur carte */
@media (prefers-reduced-motion: reduce) { .sw-card:hover .sw-wire b { animation: none; } }


/* ===== cas clients en carrousel horizontal (meme mecanique que la methode) ===== */
.sw-cases {
  display: flex; gap: 20px; margin-top: 40px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 4px 24px 26px 0;
  scroll-padding-left: 0;
  scrollbar-width: none; -ms-overflow-style: none; cursor: grab;
  margin-right: calc(-1 * max(24px, (100vw - 1180px) / 2));
}
.sw-cases::-webkit-scrollbar { display: none; }
.sw-cases .sw-case, .sw-cases img { -webkit-user-drag: none; user-select: none; }
.sw-cases.is-dragging { scroll-snap-type: none; scroll-behavior: auto; cursor: grabbing; user-select: none; }
.sw-cases .sw-case { flex: none; scroll-snap-align: start; width: clamp(280px, 42vw, 520px); }
@media (max-width: 700px) { .sw-cases .sw-case { width: 82vw; } }


/* ===== bulle "Hey !" au survol de la mascotte ===== */
.sw-shot { position: relative; }
.sw-hey {
  position: absolute; left: 50%; top: 16%; z-index: 3;
  transform: translate(-50%, 8px) scale(.7); transform-origin: 50% 120%;
  padding: 12px 22px; border-radius: 999px;
  background: var(--white); color: var(--ink);
  font-size: clamp(18px, 2.2vw, 28px); font-weight: 700; letter-spacing: -.02em;
  box-shadow: 0 18px 40px -18px rgb(20 20 20 / .45);
  opacity: 0; pointer-events: none;
  transition: opacity .22s var(--ease), transform .34s cubic-bezier(.34, 1.56, .64, 1);
}
/* la pointe de la bulle */
.sw-hey::after {
  content: ""; position: absolute; left: 50%; bottom: -8px; width: 18px; height: 18px;
  background: var(--white); transform: translateX(-50%) rotate(45deg); border-radius: 0 0 4px 0;
}
.sw-shot:hover .sw-hey { opacity: 1; transform: translate(-50%, 0) scale(1); }
@media (prefers-reduced-motion: reduce) { .sw-hey { transition: opacity .2s linear; } .sw-shot:hover .sw-hey { transform: translate(-50%, 0) scale(1); } }


/* ===== hero motion design : la video Firehorn en fond ===== */
.mo-hero { position: relative; isolation: isolate; overflow: hidden; min-height: min(84vh, 760px); display: flex; align-items: flex-end; padding: clamp(28px, 5vw, 64px) clamp(16px, 3vw, 36px); background: #0d0d0f; }
.mo-hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.mo-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background:
    linear-gradient(90deg, rgb(13 13 15 / .88) 0%, rgb(13 13 15 / .62) 34%, rgb(13 13 15 / .1) 62%, transparent 78%),
    linear-gradient(180deg, rgb(13 13 15 / .3) 0%, rgb(13 13 15 / .05) 26%, rgb(13 13 15 / .5) 62%, rgb(13 13 15 / .9) 100%); }
.mo-hero-in { width: 100%; max-width: 1180px; margin: 0 auto; display: grid; gap: 16px; color: var(--white); }
.mo-hero-t { margin: 0; max-width: none; font-size: clamp(38px, 6.4vw, 78px); font-weight: 400; letter-spacing: -.045em; line-height: 1.02; }
.mo-hello { font-size: clamp(56px, 9.6vw, 128px); line-height: .9; margin-top: -4px; }
.mo-hero-t em { font-style: normal; color: var(--brand); }
.mo-hero-p { margin: 0; max-width: 54ch; font-size: clamp(14px, 1.4vw, 16px); line-height: 1.55; color: rgb(255 255 255 / .82); }
/* le bloc Resume sur fond sombre : la cle reste rouge, le texte passe en blanc */
.mo-hero .sw-tldr { justify-self: start; max-width: 58ch; }
.mo-hero .sw-tldr .mo-hero-p { max-width: none; }
.mo-hero-case { justify-self: start; margin-top: 10px; display: grid; gap: 3px; padding: 16px 20px; border-radius: 18px; text-decoration: none; color: var(--white); background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .18); backdrop-filter: blur(10px); transition: background-color .2s var(--ease), transform .2s var(--ease); }
.mo-hero-case:hover { background: rgb(255 255 255 / .16); transform: translateY(-1px); }
.mo-hero-case-k { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgb(255 255 255 / .68); }
.mo-hero-case-l { font-size: 14.5px; font-weight: 500; }
.mo-hero-case-go { display: inline-flex; align-items: center; gap: 7px; margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--brand); }
.mo-hero-case-go svg { width: 13px; height: 13px; }
@media (max-width: 720px) { .mo-hero { min-height: 78vh; } }
@media (prefers-reduced-motion: reduce) { .mo-hero-bg { display: none; } .mo-hero { background: #0d0d0f url("/media/img/ferr-firehorn-poster.webp") center / cover no-repeat; } }

/* article : le texte prime, la mise en forme reste discrete */
/* ce tableau n oppose pas des offres : pas de colonne mise en avant */
.sw-table-plain .sw-th > div:last-child, .sw-table-plain .sw-tr > div:last-child { background: transparent; color: var(--white); font-weight: inherit; }
.sw-table-plain .sw-tr.is-ferr > div:first-child { color: var(--brand); }
.sw-table-plain .sw-tr > div:not(:first-child) { justify-content: flex-start; text-align: left; }
.sw-table-plain .sw-th > div:not(:first-child) { align-items: flex-start; }
/* un titre seul, sans colonne de droite */
.sw-t-solo { max-width: 22ch; margin: 0 0 clamp(26px, 3vw, 38px); }
/* le paragraphe qui suit un head-split : cale a gauche, largeur de lecture */
.sw-p a, .sw-wide a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.sw-shot-case { border-radius: 20px; overflow: hidden; background: var(--card); }
.sw-shot-case video { display: block; width: 100%; height: auto; }

/* mise en page article : le titre tient la colonne de gauche, le texte se lit a droite */
.mo-art { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 76px); align-items: start; }
.mo-art-h .sw-t { margin: 0; max-width: 15ch; }
.mo-art-b { max-width: 64ch; }
.mo-art-b .sw-p { text-align: left; max-width: none; }
.mo-art-b .sw-p + .sw-p { margin-top: 18px; }
@media (min-width: 1001px) { .mo-art-h { position: sticky; top: 104px; } }
@media (max-width: 1000px) { .mo-art { grid-template-columns: 1fr; gap: 20px; } .mo-art-h .sw-t { max-width: 20ch; } }

/* grille centree avec filet de separation et rond au croisement */
.mo-grid { text-align: center; }
.mo-grid .sw-t { max-width: 24ch; margin: 0 auto clamp(34px, 4.5vw, 56px); }
.mo-grid-in { position: relative; display: grid; grid-template-columns: 1fr 1fr; }
.mo-grid-in > div { padding: 4px clamp(18px, 3.4vw, 52px); }
.mo-grid-in > div + div { border-left: 1px solid var(--line); }
.mo-grid-in .sw-p { max-width: none; text-align: left; }
.mo-grid-in::after { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); }
@media (max-width: 860px) {
  .mo-grid-in { grid-template-columns: 1fr; gap: 26px; }
  .mo-grid-in > div + div { border-left: 0; border-top: 1px solid var(--line); padding-top: 26px; }
  .mo-grid-in::after { display: none; }
}

/* meme typo que le "Hello." de la page a propos : Archivo 400, meme tracking */
.sw-hero .sw-t, .mo-hero-t { font-weight: 400; letter-spacing: -.045em; }

/* effet de construction : les blocs de la maquette se posent un a un au survol */
@keyframes sw-build { from { opacity: 0; transform: translateY(9px) scaleX(.72); } to { opacity: 1; transform: none; } }
.sw-card:hover .sw-browser-body > * { transform-origin: left center; animation: sw-build .46s var(--ease) backwards; }
.sw-card:hover .sw-browser-body > *:nth-child(1) { animation-delay: .02s; }
.sw-card:hover .sw-browser-body > *:nth-child(2) { animation-delay: .09s; }
.sw-card:hover .sw-browser-body > *:nth-child(3) { animation-delay: .16s; }
.sw-card:hover .sw-browser-body > *:nth-child(4) { animation-delay: .23s; }
.sw-card:hover .sw-browser-body > *:nth-child(5) { animation-delay: .3s; }
.sw-card:hover .sw-browser-body > *:nth-child(6) { animation-delay: .37s; }
.sw-card:hover .sw-browser-body > *:nth-child(7) { animation-delay: .44s; }
@media (prefers-reduced-motion: reduce) { .sw-card:hover .sw-browser-body > * { animation: none; } }

.sw-tldr-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.sw-tldr-list li { position: relative; padding-left: 16px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.sw-tldr-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); }

/* copie exacte du "Hello." de la page a propos (.ab-hello) */
.sw-hello { font-size: clamp(72px, 14vw, 188px); font-weight: 400; line-height: .86; letter-spacing: -.045em; margin: 6px 0 0; max-width: none; }
.sw-hello em { font-style: normal; color: var(--brand); }

/* six courbes sur deux colonnes, chacune legerement tournee */
.sw-gsc-pile { margin-top: clamp(40px, 5vw, 64px); }
.sw-gsc-stack { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(22px, 3vw, 40px) clamp(20px, 2.6vw, 34px); padding: 12px 0; }
.sw-gsc-stack img { display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: 0 22px 50px -24px rgb(20 20 20 / .5); }
.sw-gsc-stack img:nth-child(1) { transform: rotate(-2.4deg); }
.sw-gsc-stack img:nth-child(2) { transform: rotate(1.8deg); }
.sw-gsc-stack img:nth-child(3) { transform: rotate(1.4deg); }
.sw-gsc-stack img:nth-child(4) { transform: rotate(-2.1deg); }
.sw-gsc-stack img:nth-child(5) { transform: rotate(-1.2deg); }
.sw-gsc-stack img:nth-child(6) { transform: rotate(2.3deg); }
.sw-gsc-pile figcaption { margin-top: 26px; }
@media (max-width: 720px) { .sw-gsc-stack { grid-template-columns: 1fr; } }

/* ===== page tarifs ===== */
.tf-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: clamp(28px, 4vw, 44px); }
.tf-card { display: flex; flex-direction: column; gap: 14px; padding: 26px 24px; border-radius: 22px; background: var(--card); }
.tf-card h2 { margin: 6px 0 0; font-size: 20px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.tf-price { margin: 0; }
.tf-price b { display: block; font-size: clamp(28px, 3vw, 38px); font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.tf-from { display: block; font-style: normal; font-size: 13px; font-weight: 500; letter-spacing: .02em; color: var(--muted); margin-bottom: 6px; }
.tf-price small { display: block; margin-top: 8px; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.tf-card .sw-list { margin-top: 4px; flex: 1; }
.tf-card .sw-btns { margin-top: 10px; justify-content: center; }
.tf-card.is-accent { background: var(--brand) url("/media/img/ferr-card-bg-1.webp") center / cover no-repeat; color: var(--white); }
.tf-card.is-accent .sw-pill { background: var(--white); border-color: var(--white); color: var(--ink); }
.tf-card.is-accent .sw-pill::before { background: var(--brand); }
.tf-card.is-accent .tf-price small, .tf-card.is-accent .sw-list li { color: rgb(255 255 255 / .84); }
.tf-card.is-accent .sw-list li::before { background: var(--white); }
.tf-card.is-accent .sw-btn-1 { background: var(--white); color: var(--ink); }
@media (max-width: 1000px) { .tf-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .tf-grid { grid-template-columns: 1fr; } }

/* ===== pages projet (DA sw, contenu verbatim) ===== */
.pj-hero .sw-pill { margin-bottom: 18px; }
.pj-hero h1 { max-width: 20ch; }
.pj-intro { margin-top: 22px; max-width: 62ch; }
.pj-hero-media { margin: clamp(28px, 4vw, 44px) auto 0; max-width: none; }
.pj-hero-media img { width: 100%; height: auto; border-radius: 22px; display: block; }
.pj-quote { font-size: clamp(20px, 2.2vw, 27px); font-weight: 500; letter-spacing: -.025em; line-height: 1.28; margin: 0 0 18px; }
.mo-grid-in .pj-rich, .mo-grid-in .pj-quote, .pj-rich-solo { text-align: left; }
.pj-rich-solo { max-width: 68ch; margin: 0 auto; }
.pj-rich h3 { font-size: 17px; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; margin: 22px 0 8px; }
.pj-rich h3:first-child { margin-top: 0; }
.pj-rich p { margin: 0 0 12px; font-size: 16px; line-height: 1.6; color: var(--muted); }
.pj-rich p strong { color: var(--ink); font-weight: 600; }
.pj-rich a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.pj-sec { padding-top: 0; }
.pj-img { max-width: 860px; margin: 0 auto; }
.pj-img.pj-img-2 { max-width: none; }
.pj-img img { width: 100%; height: auto; max-height: 560px; object-fit: cover; border-radius: 22px; display: block; }
.pj-img-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pj-block { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; margin-bottom: clamp(28px, 4vw, 44px); }
.pj-rich h3.pj-block-t { font-size: clamp(24px, 3vw, 36px); font-weight: 600; letter-spacing: -.035em; line-height: 1.08; margin: 0 0 14px; }
.pj-block-l .pj-quote { margin: 0 0 18px; }
.pj-rich.pj-block-l p { font-size: 17px; line-height: 1.5; color: var(--ink); }
.pj-block-l h3.pj-block-t:first-child { margin-top: 0; }
@media (max-width: 860px) { .pj-block { grid-template-columns: 1fr; } }
.pj-duo { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.pj-duo.is-flip .pj-duo-img { order: 2; }
.pj-duo-img { position: sticky; top: calc(var(--nav) + 20px); }
.pj-duo-img img { width: 100%; height: auto; border-radius: 22px; display: block; }
.pj-duo-img img + img { margin-top: 18px; }
.pj-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pj-gallery img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; display: block; }
.pj-video { position: relative; aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden; background: #111114; }
.pj-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pj-final-t { font-size: clamp(26px, 3.6vw, 44px); font-weight: 600; letter-spacing: -.035em; line-height: 1.08; margin: 0; max-width: 17ch; }
.pj-next { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
.pj-next .sw-case-img img { aspect-ratio: 4 / 3; object-fit: cover; }
.pj-next-t { font-size: 17px; font-weight: 600; letter-spacing: -.02em; line-height: 1.3; margin: 14px 0 0; }
@media (max-width: 860px) {
  .pj-duo, .pj-img-2, .pj-gallery, .pj-next { grid-template-columns: 1fr; }
  .pj-duo.is-flip .pj-duo-img { order: 0; }
  .pj-duo-img { position: static; }
}


/* ===== carte de chiffres sur une image de galerie ===== */
.sw-gal-fig { position: relative; margin: 0; display: block; }
.sw-gal-fig img { display: block; }
.sw-dl {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 12px 14px; border-radius: 14px;
  background: rgb(255 255 255 / .82); border: 1px solid rgb(255 255 255 / .9);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 16px 34px -20px rgb(20 20 20 / .4);
}
.sw-dl span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sw-dl b { font-size: clamp(15px, 1.5vw, 19px); font-weight: 700; letter-spacing: -.03em; color: var(--ink); line-height: 1.1; }
.sw-dl small { font-size: 11px; font-weight: 500; color: var(--muted); }
@media (max-width: 560px) { .sw-dl { left: 8px; right: 8px; bottom: 8px; padding: 9px 11px; } }


/* ===== boucle animee dans une carte du bento ===== */
.sw-card-vid { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
/* animation coupee : on retombe sur l image fixe du poster */
@media (prefers-reduced-motion: reduce) {
  .sw-card-vid { display: none; }
  .sw-card-vis:has(.sw-card-vid)::after {
    content: ""; display: block; aspect-ratio: 1;
    background: center / cover no-repeat url("/media/img/ferr-sam-jump-poster.webp");
    border-radius: 14px;
  }
}


/* hero qui demarre sous la barre : la photo touche la nav, plus de vide au-dessus.
   Le padding vaut la hauteur de la nav fixe, sinon elle recouvrirait l image. */
.sw-hero-flush { padding-top: 72px; }
/* colonnes alignees par le haut : le titre part au meme niveau que le resume */
.sw-hero-flush .sw-hero-grid { align-items: start; }
@media (max-width: 900px) { .sw-hero-flush { padding-top: 64px; } }


/* ===== titre du hero mascotte : meme hierarchie que /site-web/ ===== */
.sw-hero .ms-h1 { margin: 0; font-weight: 600; }
.sw-hero .ms-h1 .ms-h1-l1,
.sw-hero .ms-h1 .ms-h1-l3 {
  display: block; font-size: clamp(29px, 4.8vw, 59px);
  font-weight: 600; line-height: 1.02; letter-spacing: -.045em; color: var(--ink);
}
.sw-hero .ms-h1 .ms-h1-l3 { margin-top: 18px; }
.sw-hero .ms-h1 .sw-hello { display: block; font-size: clamp(54px, 10.5vw, 141px); }


/* la reponse, sous le probleme, dans la carte rouge */
/* le probleme se lit en bas de la carte, la reponse sort au centre, au survol */
/* les cartes F E R R partagent le prompteur .sw-pain-more du gabarit site web */


/* boucle Seed dans le bloc "Pour qui" */
.sw-fit-vid { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 20px; }
@media (prefers-reduced-motion: reduce) {
  .sw-fit-vid { display: none; }
  .sw-fit-shot:has(.sw-fit-vid) {
    background: center / cover no-repeat url("/media/img/ferr-seed-header-poster.webp");
  }
}
