/* ==========================================================================
   Portfolio Fouad Khelouiati — v4 « suisse »
   Blanc pur, grille 12 colonnes, filets noirs, un seul accent bleu.
   Typo : Geist + Geist Mono. Aucun arrondi, aucune ombre, aucun dégradé.
   ========================================================================== */

:root {
  --bg: #ffffff;
  --paper: #f5f5f4;
  --ink: #0a0a0a;
  --muted: #666666;
  --rule: #e2e2e2;
  --blue: #1d4ed8;
  --blue-deep: #173fb0;
  --wa: #1fa855;
  --danger: #c0392b;

  --sans: "Geist", "Helvetica Neue", Arial, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --gap: 24px;
  --nav-h: 64px;
  --sec: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --fs-h1: clamp(2.6rem, 1rem + 7.2vw, 7.6rem);
  --fs-h2: clamp(2rem, 1.2rem + 3.4vw, 4rem);
  --fs-h3: clamp(1.25rem, 1.1rem + .6vw, 1.6rem);
  --fs-lead: clamp(1.05rem, 1rem + .3vw, 1.2rem);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--ink); font: 400 1rem/1.55 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul, ol { padding: 0; list-style: none; }
b, strong { font-weight: 600; }
fieldset { border: 0; padding: 0; min-width: 0; }
[hidden] { display: none !important; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.wrap { width: min(1320px, 100% - 64px); margin-inline: auto; }
.label, .eyebrow, .trust-label, .work-cat, .work-tags, .case-type, .cos-label, .step-time, .plan-label, .plan-badge, .from, .form-note, .chips legend {
  font: 500 .6875rem/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
}
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 1000; background: var(--ink); color: #fff; padding: 12px 16px; transition: top .2s; }
.skip-link:focus { top: 16px; }
.admin-notice { display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: center; padding: 10px 16px; background: #92400e; color: #fff; font-size: .85rem; }
.admin-notice a { text-decoration: underline; }

.arr { flex: none; transition: transform .3s var(--ease); }
a:hover > .arr, button:hover > .arr { transform: translateX(4px); }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 48px; padding: 0 20px; background: var(--ink); color: #fff; font-weight: 500; font-size: .95rem; white-space: nowrap; border: 1px solid var(--ink); transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.btn:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn--sm { min-height: 38px; padding: 0 14px; font-size: .875rem; }
.btn--lg { min-height: 56px; padding: 0 22px; }
.btn--block { width: 100%; }
.btn--blue { background: var(--blue); border-color: var(--blue); justify-content: space-between; gap: 40px; }
.btn--blue:hover { background: var(--ink); border-color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--inverse { background: var(--ink); color: #fff; }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }
.btn--ghost-light:hover { background: #fff; border-color: #fff; color: var(--ink); }
.wa-ic { display: inline-flex; color: var(--wa); }
.btn:hover .wa-ic { color: inherit; }

/* Disponibilité */
.avail { display: inline-flex; align-items: center; gap: 9px; }
.avail i { width: 7px; height: 7px; border-radius: 50%; background: var(--wa); flex: none; }
.avail--limited i { background: #d98a00; }
.avail--busy i { background: var(--danger); }

/* ---------- Navigation ---------- */
.nav { position: sticky; top: 0; z-index: 100; background: var(--bg); }
.nav-in { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: center; height: var(--nav-h); border-bottom: 1px solid var(--ink); font-size: .875rem; }
.brand { grid-column: 1 / 4; font-weight: 600; letter-spacing: -.01em; }
.nav-in > nav { grid-column: 4 / 10; }
.nav-links { display: flex; gap: clamp(16px, 2vw, 30px); }
.nav-links a { padding: 6px 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.nav-links a:hover { color: var(--blue); }
.nav-links a.is-current { border-color: var(--ink); }
.nav-actions { grid-column: 10 / 13; justify-self: end; display: flex; align-items: center; gap: 14px; }
.nav-wa { display: grid; place-items: center; width: 38px; height: 38px; color: var(--wa); border: 1px solid var(--rule); transition: border-color .2s; }
.nav-wa:hover { border-color: var(--wa); }
.burger { display: none; width: 38px; height: 38px; place-items: center; align-content: center; gap: 6px; border: 1px solid var(--ink); }
.burger span { display: block; width: 16px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.mobile-menu { position: absolute; inset: 100% 0 auto; background: var(--bg); border-bottom: 1px solid var(--ink); padding: 8px 0 24px; }
.mobile-menu nav { display: grid; }
.mobile-menu a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 1.25rem; font-weight: 500; letter-spacing: -.02em; }
.mobile-menu .btn { margin-top: 20px; }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 5vw, 72px) 0 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .8fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero-text { display: grid; gap: 24px; justify-items: start; }
.hero-kicker { padding: 7px 12px; background: var(--paper); font-size: .875rem; font-weight: 500; }
.hero-title { font-size: clamp(2.4rem, 1.3rem + 4.4vw, 4.9rem); font-weight: 600; line-height: 1; letter-spacing: -.045em; text-wrap: balance; }
.hero-title em, .h2 em, .foot-big em { font-style: normal; color: var(--blue); }
.hero-sub { font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem); line-height: 1.5; color: #444; max-width: 46ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: .9375rem; font-weight: 500; }
.hero-proof li { display: flex; align-items: center; gap: 8px; }
.hero-proof svg { color: var(--blue); }

.hero-card { border: 1px solid var(--ink); }
.hero-me { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.hero-card figcaption { display: grid; gap: 2px; padding: 16px 18px; border-top: 1px solid var(--ink); }
.hero-card figcaption b { font-size: 1.125rem; letter-spacing: -.02em; }
.hero-card figcaption span { font-size: .9375rem; color: var(--muted); }
.hero-cos { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; padding: 14px 18px; border-top: 1px solid var(--rule); }
.hero-cos-label { width: 100%; font-size: .8125rem; font-weight: 500; color: var(--muted); }
.logo-hanibal { display: block; color: var(--ink); }
.logo-hanibal svg { height: 22px; width: auto; }
.hero-cos .logo-quantik { height: 21px; width: auto; }

.hero-shots-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 24px; margin-top: clamp(48px, 6vw, 88px); padding-top: 18px; border-top: 1px solid var(--ink); }
.hero-shots-head h2 { font-size: var(--fs-h3); font-weight: 600; letter-spacing: -.03em; }
.hero-shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-top: 24px; }
.shot { display: grid; gap: 12px; }
.shot-frame { border: 1px solid #cfcfcf; background: #fff; }
.shot-bar { display: flex; align-items: center; gap: 5px; height: 28px; padding: 0 10px; background: var(--paper); border-bottom: 1px solid #cfcfcf; }
.shot-bar i { width: 7px; height: 7px; border-radius: 50%; background: #c4c4c4; }
.shot-bar span { margin-left: 8px; font-size: .75rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; }
.shot figcaption, .shot .shot-cap { display: grid; gap: 2px; }
a.shot { color: inherit; text-decoration: none; }
a.shot:hover b { color: var(--blue); }
.shot b { font-size: 1.0625rem; letter-spacing: -.01em; }
.shot .shot-cap span { font-size: .9375rem; color: var(--muted); }

/* ---------- Clients ---------- */
.trust { margin-top: clamp(48px, 6vw, 88px); }
.trust-in { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: baseline; padding-block: 18px; border-block: 1px solid var(--rule); }
.trust-label { grid-column: 1 / 4; }
.trust-list { grid-column: 4 / 13; display: flex; flex-wrap: wrap; gap: 8px 40px; font-weight: 500; letter-spacing: -.01em; }

/* ---------- Sections ---------- */
.sec { padding-block: var(--sec); }
.sec--paper { background: var(--paper); }
.sec--ink { background: var(--ink); color: #fff; }
.sec-head { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px var(--gap); margin-bottom: clamp(40px, 5vw, 72px); padding-top: 16px; border-top: 1px solid var(--ink); }
.sec--ink .sec-head { border-color: rgba(255, 255, 255, .35); }
.eyebrow { grid-column: 1 / 4; display: flex; gap: 14px; padding-top: 10px; }
.eyebrow span { color: var(--ink); }
.sec--ink .eyebrow, .sec--ink .lead, .sec--ink .step p { color: rgba(255, 255, 255, .62); }
.sec--ink .eyebrow span { color: #fff; }
.h2 { grid-column: 4 / 13; font-size: var(--fs-h2); font-weight: 600; line-height: 1; letter-spacing: -.045em; text-wrap: balance; }
.sec--ink .h2 em { color: #7ea2ff; }
.lead { grid-column: 4 / 10; font-size: var(--fs-lead); line-height: 1.45; color: var(--muted); max-width: 52ch; }
h3, .h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.15; letter-spacing: -.03em; }

/* Apparition au scroll */
.rv { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--d, 0) * 70ms); }
.rv.in, .no-js .rv, .reduce .rv { opacity: 1; transform: none; }

/* ---------- Réalisations ---------- */
.works-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-bottom: 28px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 38px; padding: 0 14px; border: 1px solid var(--rule); font-size: .875rem; font-weight: 500; transition: border-color .2s, background-color .2s, color .2s; }
.filter-btn span { font: 500 .6875rem var(--mono); color: var(--muted); }
.filter-btn:hover { border-color: var(--ink); }
.filter-btn.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter-btn.is-active span { color: rgba(255, 255, 255, .6); }

.works { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px var(--gap); }
.work { position: relative; display: flex; flex-direction: column; }
.work.is-hidden { display: none; }
.work-media { overflow: hidden; border: 1px solid var(--rule); background: var(--paper); }
.work-media img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; object-position: top center; transition: transform .7s var(--ease); }
.work:hover .work-media img { transform: scale(1.03); }
.work-body { flex: 1; display: flex; flex-direction: column; gap: 6px; padding-top: 14px; }
.work-title { font-size: 1.25rem; letter-spacing: -.025em; }
.work-title a::after { content: ""; position: absolute; inset: 0; }
.work:hover .work-title { color: var(--blue); }
.work-desc { font-size: .9375rem; color: var(--muted); }
.work-foot { margin-top: auto; padding-top: 14px; display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--rule); }
.work-body .work-desc { margin-bottom: 12px; }
.work-go { margin-left: auto; }
.work:hover .work-go .arr { transform: translate(3px, -3px); }

/* ---------- Services ---------- */
.services { border-top: 1px solid var(--ink); }
.svc { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px var(--gap); padding: 32px 0; border-bottom: 1px solid #d6d6d4; align-items: start; }
.svc-num { grid-column: 1 / 4; font: 500 .6875rem var(--mono); letter-spacing: .06em; color: var(--muted); padding-top: 12px; }
.svc-main { grid-column: 4 / 9; }
.svc-main h3 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); letter-spacing: -.04em; line-height: 1.02; }
.svc-main p { margin-top: 14px; color: var(--muted); max-width: 46ch; }
.svc-items { grid-column: 9 / 13; grid-row: span 2; display: grid; gap: 0; }
.svc-items li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid #d6d6d4; font-size: .9375rem; }
.svc-items li:first-child { padding-top: 6px; }
.svc-items svg { color: var(--blue); flex: none; }
.svc-cta { grid-column: 4 / 9; justify-self: start; display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: .95rem; padding-bottom: 2px; border-bottom: 1px solid var(--ink); }
.svc-cta:hover { color: var(--blue); border-color: var(--blue); }

/* ---------- Tarifs ---------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); border: 1px solid var(--ink); }
.plan { display: flex; flex-direction: column; gap: 24px; padding: 32px 28px; border-left: 1px solid var(--ink); }
.plan:first-child { border-left: 0; }
.plan--pop { background: var(--ink); color: #fff; }
.plan-top { display: grid; gap: 10px; }
.plan-badge { color: #7ea2ff; }
.plan-top h3 { font-size: 1.5rem; }
.plan-desc { font-size: .9375rem; color: var(--muted); }
.plan--pop .plan-desc, .plan--pop .from, .plan--pop .eur, .plan--pop .plan-delay { color: rgba(255, 255, 255, .62); }
.plan-price { display: grid; gap: 4px; padding-block: 20px; border-block: 1px solid var(--rule); }
.plan--pop .plan-price { border-color: rgba(255, 255, 255, .22); }
.plan-price strong { font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); font-weight: 600; letter-spacing: -.05em; line-height: 1; }
.plan-price small { font-size: .4em; font-weight: 500; letter-spacing: 0; }
.eur, .plan-delay { font-size: .875rem; color: var(--muted); }
.plan-list { display: grid; gap: 10px; flex: 1; align-content: start; font-size: .9375rem; }
.plan-list li { display: flex; gap: 10px; align-items: flex-start; }
.plan-list svg { flex: none; margin-top: 4px; color: var(--blue); }
.plan--pop .plan-list svg { color: #7ea2ff; }
.plan--pop .btn--inverse { background: #fff; border-color: #fff; color: var(--ink); }
.plan--pop .btn--inverse:hover { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ---------- Méthode ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.step { display: flex; flex-direction: column; gap: 12px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .35); }
.step-num { font-size: clamp(3rem, 2rem + 3.6vw, 5.5rem); font-weight: 600; line-height: .9; letter-spacing: -.06em; margin-bottom: 18px; }
.step p { font-size: .9375rem; }
.step-time { margin-top: auto; padding-top: 14px; color: #7ea2ff; }
.steps-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(40px, 5vw, 64px); }
.sec--ink .btn--inverse { background: #fff; border-color: #fff; color: var(--ink); }
.sec--ink .btn--inverse:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.sec--ink .wa-ic { color: #4ad88a; }

/* ---------- Témoignages ---------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--gap); }
.quote { display: flex; flex-direction: column; gap: 24px; padding-top: 18px; border-top: 1px solid var(--ink); }
.quote blockquote { font-size: 1.25rem; line-height: 1.35; letter-spacing: -.02em; }
.quote figcaption { margin-top: auto; display: grid; font-size: .9375rem; }
.quote figcaption span { color: var(--muted); }

/* ---------- À propos & sociétés ---------- */
.about { display: grid; grid-template-columns: repeat(12, 1fr); gap: 48px var(--gap); padding-top: 16px; border-top: 1px solid var(--ink); }
.about-text { grid-column: 1 / 8; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-content: start; }
.about-text > *, .contact-intro > * { grid-column: 1 / -1; }
.about-text .eyebrow { padding-top: 10px; }
.about-text .h2 { margin-bottom: 12px; }
.about-text > p:not(.eyebrow) { font-size: var(--fs-lead); line-height: 1.5; max-width: 56ch; }
.about-stack { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.about-stack li { padding: 7px 12px; border: 1px solid var(--rule); font: 500 .75rem var(--mono); }
.cos { grid-column: 9 / 13; display: grid; align-content: start; padding-top: 10px; }
.cos-label { padding-bottom: 16px; border-bottom: 1px solid var(--ink); }
.co { display: grid; gap: 16px; padding: 28px 0; border-bottom: 1px solid var(--rule); }
.co-logo svg { height: 30px; width: auto; }
.co-logo img { height: 30px; width: auto; }
.co p { font-size: .9375rem; color: var(--muted); }
.link { justify-self: start; display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: .9375rem; padding-bottom: 2px; border-bottom: 1px solid var(--ink); }
.link:hover { color: var(--blue); border-color: var(--blue); }
.link:hover .arr { transform: translate(3px, -3px); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: repeat(12, 1fr); gap: 40px var(--gap); align-items: start; }
.faq-head { grid-column: 1 / 6; display: grid; grid-template-columns: 1fr; gap: 18px; margin: 0; justify-items: start; }
.faq-head > * { grid-column: auto; }
.faq-head .h2 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3rem); }
.faq-list { grid-column: 7 / 13; border-top: 1px solid var(--ink); }
.faq-item { border-bottom: 1px solid #d6d6d4; }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; font-size: 1.125rem; font-weight: 500; letter-spacing: -.02em; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--blue); }
.faq-ic { position: relative; flex: none; width: 14px; height: 14px; }
.faq-ic::before, .faq-ic::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
.faq-ic::after { transform: rotate(90deg); }
.faq-item[open] .faq-ic::after { transform: rotate(0); }
.faq-item p { padding: 0 34px 22px 0; color: var(--muted); max-width: 60ch; }

/* ---------- Contact ---------- */
.contact { background: var(--blue); color: #fff; }
.contact-in { display: grid; grid-template-columns: repeat(12, 1fr); gap: 48px var(--gap); align-items: start; }
.contact-intro { grid-column: 1 / 7; display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; justify-items: start; }
.contact-intro .avail { font: 500 .6875rem var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.contact-intro .avail i { background: #7dffb2; }
.contact .h2 { font-size: clamp(2.6rem, 1.4rem + 5vw, 5.6rem); line-height: .95; }
.contact .h2 em { color: #fff; opacity: .6; }
.contact .lead { color: rgba(255, 255, 255, .82); }
.wa-card { display: flex; align-items: center; gap: 16px; width: min(100%, 440px); padding: 16px 18px; background: #fff; color: var(--ink); transition: background-color .25s var(--ease), color .25s var(--ease); }
.wa-card:hover { background: var(--ink); color: #fff; }
.wa-card-ic { display: grid; place-items: center; width: 44px; height: 44px; background: var(--wa); color: #fff; flex: none; }
.wa-card-ic svg { width: 22px; height: 22px; }
.wa-card-txt { display: grid; line-height: 1.3; }
.wa-card-txt small { font-size: .8125rem; opacity: .65; }
.wa-card .arr { margin-left: auto; }
.contact-meta { display: grid; gap: 10px; font-size: .9375rem; }
.contact-meta li, .contact-meta a { display: flex; align-items: center; gap: 10px; }
.contact-meta a:hover { text-decoration: underline; text-underline-offset: 3px; }
.socials { display: flex; gap: 8px; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(255, 255, 255, .4); transition: background-color .2s, color .2s, border-color .2s; }
.socials a:hover { background: #fff; border-color: #fff; color: var(--blue); }

.form-card { grid-column: 7 / 13; padding: clamp(22px, 3vw, 36px); background: #fff; color: var(--ink); }
.form-alert { margin-bottom: 18px; padding: 12px 14px; border: 1px solid var(--danger); color: var(--danger); font-size: .9375rem; }
.form-alert--ok { border-color: var(--wa); color: #14703a; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { margin-bottom: 12px; padding: 0; }
.chip-opt { position: relative; }
.chip-opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip-opt label { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--rule); font-size: .875rem; font-weight: 500; transition: border-color .2s, background-color .2s, color .2s; }
.chip-opt input:hover + label { border-color: var(--ink); }
.chip-opt input:checked + label { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip-opt input:focus-visible + label { outline: 2px solid var(--blue); outline-offset: 3px; }
.form-picked { margin-top: 12px; font-size: .875rem; font-weight: 500; color: var(--blue); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 26px 0; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font: 500 .6875rem var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea { width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; background: transparent; font-size: 1rem; transition: border-color .2s; }
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: #a3a3a3; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 1px 0 var(--blue); }
.field.has-error input, .field.has-error textarea { border-color: var(--danger); }
.field-err { min-height: 1em; font-size: .8125rem; color: var(--danger); }
/* le libellé du bouton porte la classe .label (crochet JS) */
.form-submit .label { font: inherit; letter-spacing: 0; text-transform: none; color: inherit; }
.form-submit { background: var(--blue); border-color: var(--blue); }
.form-submit:hover { background: var(--ink); border-color: var(--ink); }
.spinner { display: none; width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.form-submit.is-loading { pointer-events: none; opacity: .8; }
.form-submit.is-loading .spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-note { margin-top: 14px; text-align: center; }
.success { display: grid; justify-items: start; gap: 14px; padding: 24px 0; }
.success:focus { outline: none; }
.success-ic { display: grid; place-items: center; width: 48px; height: 48px; background: var(--blue); color: #fff; }
.success-ic svg { width: 22px; height: 22px; }
.success p { color: var(--muted); max-width: 40ch; }

/* ---------- Pied de page ---------- */
.footer { padding: clamp(56px, 7vw, 104px) 0 28px; }
.foot-cta { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; padding-bottom: clamp(40px, 5vw, 72px); }
.foot-big { font-size: clamp(2.4rem, 1rem + 6vw, 6.4rem); font-weight: 600; line-height: .95; letter-spacing: -.055em; max-width: 12ch; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 18px; border-top: 1px solid var(--ink); font-size: .875rem; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.foot-nav a:hover { color: var(--blue); }

/* Bouton WhatsApp flottant */
.float-wa { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: grid; place-items: center; width: 54px; height: 54px; background: var(--wa); color: #fff; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease), background-color .2s; }
.float-wa svg { width: 24px; height: 24px; }
.float-wa.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.float-wa:hover { background: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav-in > nav { display: none; }
  .nav-actions { grid-column: 4 / 13; }
  .burger { display: grid; }
  .works { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px var(--gap); }
  .about-text { grid-column: 1 / -1; }
  .cos { grid-column: 1 / -1; }
  .faq-head, .faq-list { grid-column: 1 / -1; }
  .contact-intro, .form-card { grid-column: 1 / -1; }
  .svc-main, .svc-cta { grid-column: 4 / 13; }
  .svc-items { grid-column: 4 / 13; grid-row: auto; }
}
@media (max-width: 760px) {
  :root { --gap: 16px; --nav-h: 58px; }
  .wrap { width: min(1320px, 100% - 32px); }
  .nav-in { display: flex; justify-content: space-between; }
  .nav-actions .btn { display: none; }
  .trust-in, .sec-head { display: flex; flex-direction: column; }
  .trust-list { gap: 6px 22px; font-size: .9375rem; }
  .eyebrow { padding-top: 0; }
  .works { grid-template-columns: 1fr; gap: 36px; }
  .svc { display: flex; flex-direction: column; gap: 16px; padding: 28px 0; }
  .svc-num { padding: 0; }
  .svc-items { width: 100%; }
  .svc-cta { align-self: flex-start; }
  .plan { border-left: 0; border-top: 1px solid var(--ink); }
  .plan:first-child { border-top: 0; }
  .steps { grid-template-columns: 1fr; }
  .step-num { margin-bottom: 4px; }
  .steps-cta .btn { width: 100%; }
  .about, .faq, .contact-in { display: flex; flex-direction: column; }
  .about-text, .cos, .faq-list, .contact-intro, .form-card { width: 100%; }
  .fields { grid-template-columns: 1fr; }
  .wa-card { width: 100%; }
  .foot-cta .btn { width: 100%; }
}
/* ==== Lisibilité (v4.1) ==== */
/* Libellés plus grands et plus lisibles */
.label, .eyebrow, .trust-label, .work-cat, .work-tags, .case-type, .cos-label, .step-time, .plan-label, .plan-badge, .from, .form-note, .chips legend, .field label, .svc-num {
  font: 500 .8125rem/1.4 var(--sans); letter-spacing: 0; text-transform: none; color: #555;
}
.work-cat, .plan-badge { color: var(--blue); font-weight: 600; }
.sec--ink .step-time, .plan--pop .plan-badge { color: #9db8ff; }

/* En-têtes de section : numéro + titre empilés, plus simples à lire */
.sec-head { display: block; border-top: 0; padding-top: 0; max-width: 820px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 6px 12px; margin-bottom: 18px; background: var(--ink); color: #fff; font-weight: 500; }
.eyebrow span { color: #9db8ff; }
.sec--ink .eyebrow { background: #fff; color: var(--ink); }
.sec--ink .eyebrow span { color: var(--blue); }
.lead { margin-top: 18px; color: #444; }
.about { border-top: 0; padding-top: 0; }
.about-text .eyebrow { justify-self: start; margin-bottom: 0; padding-top: 6px; }
.faq-head .eyebrow { margin-bottom: 0; }
.contact .eyebrow { background: #fff; color: var(--blue); }

/* Services : quatre cartes au lieu d'un tableau */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); border-top: 0; }
.svc { display: flex; flex-direction: column; gap: 18px; padding: clamp(22px, 2.6vw, 34px); background: #fff; border: 1px solid #d6d6d4; }
.svc-num { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; background: var(--blue); color: #fff; font-weight: 600; font-size: .9375rem; }
.svc-main h3 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); }
.svc-items { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; width: 100%; }
.svc-items li:first-child { padding-top: 9px; }
.svc-cta { margin-top: auto; align-self: flex-start; }

/* Réalisations : cartes encadrées */
.work { border: 1px solid var(--rule); transition: border-color .25s var(--ease); }
.work:hover { border-color: var(--ink); }
.work-media { border: 0; border-bottom: 1px solid var(--rule); }
.work-body { padding: 16px 18px 18px; }
.works { gap: var(--gap); }

/* Clients */
.trust-in { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 40px; }

@media (max-width: 1100px) {
  .hero-ctas { flex-direction: row; justify-content: flex-start; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-card { display: grid; grid-template-columns: 110px 1fr; align-items: center; }
  .hero-card figcaption { border-top: 0; border-left: 1px solid var(--ink); align-self: stretch; align-content: center; }
  .hero-cos { grid-column: 1 / -1; border-top: 1px solid var(--ink); }
  .hero-cos-label { width: auto; }
}
@media (max-width: 760px) {
  .hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hero-text { grid-template-columns: minmax(0, 1fr); }
  .hero-ctas { flex-direction: column; align-items: stretch; width: 100%; gap: 10px; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .hero-shots { grid-template-columns: 1fr; gap: 28px; }
  .services { grid-template-columns: 1fr; }
  .svc { padding: 22px 18px; }
  .svc-items { grid-template-columns: 1fr; }
  .sec-head { display: block; }
}
/* ==== Ajouts (v4.2) : langue, avis, garanties, mentions légales, arabe ==== */
.nav-lang { display: inline-flex; align-items: center; min-height: 38px; padding: 0 12px; border: 1px solid var(--rule); font-size: .875rem; font-weight: 500; transition: border-color .2s, color .2s; }
.nav-lang:hover { border-color: var(--ink); color: var(--blue); }

/* Avis clients */
.quote { padding: clamp(22px, 2.4vw, 30px); border: 1px solid var(--rule); gap: 18px; }
.quote-stars { display: flex; gap: 2px; color: #e3a008; font-size: 1.05rem; line-height: 1; }
.quote-stars .off { color: var(--rule); }
.quote blockquote { font-size: 1.125rem; line-height: 1.45; }
.quote figcaption { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--rule); }
.quote figcaption img { width: 44px; height: 44px; object-fit: cover; border-radius: 50%; flex: none; }
.quote-who { display: grid; gap: 1px; }
.quote-who span { font-size: .875rem; color: var(--muted); }
.quote-who .quote-project { color: var(--blue); font-weight: 500; }

/* Garanties */
.guar { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--gap); }
.guar-item { display: grid; align-content: start; gap: 10px; padding: clamp(20px, 2.2vw, 28px); border: 1px solid var(--ink); }
.guar-ic { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 6px; background: var(--blue); color: #fff; }
.guar-item h3 { font-size: 1.1875rem; }
.guar-item p { font-size: .9375rem; color: #444; }

/* Mentions légales des sociétés */
.foot-legal { display: flex; flex-wrap: wrap; gap: 20px 56px; padding: 22px 0; border-top: 1px solid var(--rule); font-size: .875rem; }
.foot-co { display: grid; gap: 3px; }
.foot-co span { color: #555; }

/* ---------- Version arabe (droite à gauche) ---------- */
[dir="rtl"] body { font-family: "IBM Plex Sans Arabic", "Geist", "Segoe UI", Tahoma, sans-serif; }
[dir="rtl"] .hero-title, [dir="rtl"] .h2, [dir="rtl"] .foot-big, [dir="rtl"] h3, [dir="rtl"] .step-num, [dir="rtl"] .plan-price strong { letter-spacing: 0; }
[dir="rtl"] .hero-title { line-height: 1.25; }
[dir="rtl"] .h2, [dir="rtl"] .contact .h2 { line-height: 1.3; }
[dir="rtl"] .foot-big { line-height: 1.25; max-width: 16ch; }
[dir="rtl"] .arr { transform: scaleX(-1); }
[dir="rtl"] a:hover > .arr, [dir="rtl"] button:hover > .arr { transform: scaleX(-1) translateX(4px); }
[dir="rtl"] .link:hover .arr, [dir="rtl"] .work:hover .work-go .arr { transform: scaleX(-1) translate(3px, -3px); }
[dir="rtl"] .wa-card .arr, [dir="rtl"] .work-go { margin-left: 0; margin-right: auto; }
[dir="rtl"] .plan { border-left: 0; border-right: 1px solid var(--ink); }
[dir="rtl"] .plan:first-child { border-right: 0; }
[dir="rtl"] .faq-item p { padding: 0 0 22px 34px; }
[dir="rtl"] .shot-bar span { margin-left: 8px; }
[dir="rtl"] .field input[dir="ltr"] { text-align: right; }
[dir="rtl"] .float-wa { right: auto; left: 20px; }
@media (max-width: 900px) {
  [dir="rtl"] .hero-card figcaption { border-left: 0; border-right: 1px solid var(--ink); }
}
@media (max-width: 760px) {
  .nav-lang { padding: 0 10px; }
  [dir="rtl"] .plan { border-right: 0; }
}
[dir="rtl"] .plan-price strong { direction: ltr; unicode-bidi: isolate; text-align: right; }

/* ==== Filigrane : casque Hanibal en grand, très transparent ==== */
.hero, .sec--ink, .contact, .footer, #apropos { position: relative; overflow: hidden; isolation: isolate; }
.hero::before, .sec--ink::before, .contact::before, .footer::before, #apropos::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  aspect-ratio: 67.78 / 76.77; background: url("../../images/brands/hanibal-helmet-ink.svg") center / contain no-repeat;
}
.hero::before { width: min(58vw, 820px); inset-inline-end: -7vw; top: -40px; opacity: .045; }
#apropos::before { width: min(46vw, 620px); inset-inline-start: -8vw; bottom: -90px; opacity: .04; }
.footer::before { width: min(40vw, 520px); inset-inline-end: -4vw; top: -60px; opacity: .045; }
.sec--ink::before, .contact::before { background-image: url("../../images/brands/hanibal-helmet-white.svg"); }
.sec--ink::before { width: min(52vw, 720px); inset-inline-end: -6vw; bottom: -110px; opacity: .06; }
.contact::before { width: min(50vw, 700px); inset-inline-start: -7vw; bottom: -120px; opacity: .08; }
[dir="rtl"] .hero::before, [dir="rtl"] .sec--ink::before, [dir="rtl"] .contact::before, [dir="rtl"] .footer::before, [dir="rtl"] #apropos::before { transform: scaleX(-1); }
@media (max-width: 760px) {
  .hero::before { width: 120vw; inset-inline-end: -45vw; top: 40px; }
  #apropos::before, .footer::before, .sec--ink::before, .contact::before { width: 95vw; }
}
.hero-card { background: var(--bg); }

/* ==== Fond habillé (v4.3) : teinte, quadrillage fin, cartes blanches ==== */
:root { --bg: #f2f4f8; --paper: #ffffff; --grid: rgba(29, 78, 216, .055); --card: #ffffff; }
body {
  background-color: var(--bg);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 56px 56px; background-position: center top;
}
.nav { background: var(--bg); }
/* Sections colorées : même quadrillage, en clair */
.sec--ink, .contact {
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px; background-position: center top;
}
.contact { background-image: linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px); }
.sec--paper { border-block: 1px solid #dfe3ea; }
/* Les blocs de contenu passent en blanc pour ressortir sur le fond */
.work, .guar-item, .quote, .hero-card, .plans, .filter-btn, .nav-wa, .nav-lang, .about-stack li, .btn--ghost, .hero-kicker, .co { background-color: var(--card); }
.filter-btn.is-active { background-color: var(--ink); }
.btn--ghost:hover { background-color: var(--ink); }
.plan--pop { background: var(--ink); }
.svc { background: var(--bg); }
.co { padding: 24px; border: 1px solid #dfe3ea; margin-top: 16px; }
.cos-label { border-bottom: 0; padding-bottom: 0; }
.trust { margin-top: clamp(48px, 6vw, 88px); }
.trust-in { padding: 18px 22px; background: var(--card); border: 1px solid #dfe3ea; }
.work, .quote { border-color: #dfe3ea; }
.faq-list { background: transparent; }
/* Photo : aplat bleu décalé derrière la carte */
.hero-card { box-shadow: 14px 14px 0 var(--blue); }
[dir="rtl"] .hero-card { box-shadow: -14px 14px 0 var(--blue); }
/* Captures : léger décalage noir pour leur donner du poids */
.shot-frame { box-shadow: 8px 8px 0 rgba(10, 10, 10, .08); }
[dir="rtl"] .shot-frame { box-shadow: -8px 8px 0 rgba(10, 10, 10, .08); }
/* Filigrane un peu plus présent */
.hero::before { opacity: .07; }
#apropos::before, .footer::before { opacity: .06; }
.sec--ink::before { opacity: .08; }
.contact::before { opacity: .1; }
/* Bandeau final en noir : le pied de page ne flotte plus dans le vide */
.footer { background: var(--ink); color: #fff; }
.footer::before { background-image: url("../../images/brands/hanibal-helmet-white.svg"); opacity: .07; }
.footer .btn--inverse { background: #fff; border-color: #fff; color: var(--ink); }
.footer .btn--inverse:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.foot-big em { color: #7ea2ff; }
.foot-legal { border-color: rgba(255, 255, 255, .18); }
.foot-co span { color: rgba(255, 255, 255, .65); }
.foot-bottom { border-color: rgba(255, 255, 255, .35); color: rgba(255, 255, 255, .8); }
.foot-nav a:hover { color: #7ea2ff; }
@media (max-width: 900px) { .hero-card, [dir="rtl"] .hero-card { box-shadow: 8px 8px 0 var(--blue); } }

/* ==== Fond (v4.4) : plus de quadrillage, un seul casque, halos de couleur doux ==== */
body { background-image: none; background-color: #f4f6fb; }
.sec--ink::before, .contact::before, .footer::before, #apropos::before { content: none; }
.hero::before { opacity: .05; }
.hero { background: radial-gradient(55% 75% at 88% 8%, rgba(29, 78, 216, .2), transparent 70%), radial-gradient(45% 60% at 0% 100%, rgba(126, 162, 255, .22), transparent 70%); }
#projets { background: radial-gradient(50% 35% at 100% 0%, rgba(29, 78, 216, .1), transparent 70%), radial-gradient(45% 30% at 0% 100%, rgba(126, 162, 255, .16), transparent 70%); }
.sec--paper { background: linear-gradient(180deg, #ffffff 0%, #eaf0fd 100%); border-block: 0; }
#packs { background: radial-gradient(55% 60% at 0% 0%, rgba(126, 162, 255, .2), transparent 70%), radial-gradient(45% 55% at 100% 100%, rgba(29, 78, 216, .12), transparent 70%); }
#apropos { background: radial-gradient(50% 70% at 100% 20%, rgba(29, 78, 216, .13), transparent 70%); }
#garanties, #temoignages { background: radial-gradient(55% 80% at 0% 50%, rgba(126, 162, 255, .2), transparent 70%); }
.sec--ink { background: radial-gradient(55% 90% at 92% 0%, rgba(29, 78, 216, .6), transparent 70%), radial-gradient(45% 70% at 0% 100%, rgba(29, 78, 216, .35), transparent 70%), var(--ink); }
.contact { background: radial-gradient(60% 80% at 0% 0%, rgba(126, 162, 255, .55), transparent 70%), radial-gradient(55% 80% at 100% 100%, rgba(10, 20, 80, .55), transparent 70%), var(--blue); }
.footer { background: radial-gradient(60% 110% at 100% 0%, rgba(29, 78, 216, .55), transparent 70%), var(--ink); }
.svc { background: #fff; }
.nav { background: rgba(244, 246, 251, .88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

/* ==== Formes décoratives (v4.5) : anneaux, courbes, disques et trames de points ==== */
.sec, .trust { position: relative; overflow: hidden; isolation: isolate; }
.hero::before, .hero::after, .sec::before, .sec::after, .footer::before, .footer::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none; background: center / contain no-repeat; aspect-ratio: auto; opacity: 1; transform: none;
}
/* Haut de page : anneaux derrière la photo, courbes en bas, trame de points à gauche */
.hero::before { width: min(62vw, 880px); aspect-ratio: 1; inset-inline-end: -12vw; top: -150px; background-image: url("../../images/decor/rings-blue.svg"); opacity: .3; }
.hero::after { width: 100%; height: 420px; inset-inline-start: 0; bottom: 120px; background-image: url("../../images/decor/waves-blue.svg"); background-size: 100% 100%; opacity: .16; }
/* Réalisations */
#projets::before { width: min(34vw, 460px); aspect-ratio: 1; inset-inline-start: -14vw; top: -80px; background-image: url("../../images/decor/disc-blue.svg"); opacity: .07; }
#projets::after { width: min(48vw, 680px); aspect-ratio: 1; inset-inline-end: -16vw; bottom: -220px; background-image: url("../../images/decor/rings-blue.svg"); opacity: .22; }
/* Services */
#services::before { width: 100%; height: 460px; inset-inline-start: 0; top: 0; background-image: url("../../images/decor/waves-blue.svg"); background-size: 100% 100%; opacity: .14; }
#services::after { width: 262px; aspect-ratio: 262 / 174; inset-inline-end: 4vw; bottom: 40px; background-image: url("../../images/decor/dots-blue.svg"); opacity: .28; }
/* Tarifs */
#packs::before { width: min(52vw, 720px); aspect-ratio: 1; inset-inline-start: -18vw; top: -120px; background-image: url("../../images/decor/rings-blue.svg"); opacity: .22; }
#packs::after { width: min(26vw, 340px); aspect-ratio: 1; inset-inline-end: -8vw; bottom: -90px; background-image: url("../../images/decor/disc-blue.svg"); opacity: .07; }
/* Méthode (fond noir) */
#methode::before { width: min(56vw, 780px); aspect-ratio: 1; inset-inline-end: -14vw; top: -260px; background-image: url("../../images/decor/rings-white.svg"); opacity: .2; }
#methode::after { width: 100%; height: 380px; inset-inline-start: 0; bottom: 0; background-image: url("../../images/decor/waves-white.svg"); background-size: 100% 100%; opacity: .1; }
/* Avis, À propos, Garanties */
#temoignages::before, #garanties::before { width: 100%; height: 420px; inset-inline-start: 0; bottom: 0; background-image: url("../../images/decor/waves-blue.svg"); background-size: 100% 100%; opacity: .14; }
#garanties::after { width: 262px; aspect-ratio: 262 / 174; inset-inline-end: 6vw; top: 70px; background-image: url("../../images/decor/dots-blue.svg"); opacity: .28; }
#apropos::before { width: min(50vw, 700px); aspect-ratio: 1; inset-inline-end: -20vw; top: -160px; bottom: auto; inset-inline-start: auto; background-image: url("../../images/decor/rings-blue.svg"); opacity: .22; }
#apropos::after { width: min(24vw, 320px); aspect-ratio: 1; inset-inline-start: -9vw; bottom: -110px; background-image: url("../../images/decor/disc-blue.svg"); opacity: .07; }
/* FAQ */
#faq::before { width: min(44vw, 620px); aspect-ratio: 1; inset-inline-start: -16vw; bottom: -240px; background-image: url("../../images/decor/rings-blue.svg"); opacity: .2; }
/* Contact (fond bleu) */
#contact::before { content: ""; width: min(60vw, 840px); aspect-ratio: 1; inset-inline-start: -18vw; bottom: -300px; background-image: url("../../images/decor/rings-white.svg"); opacity: .28; }
#contact::after { width: 100%; height: 400px; inset-inline-start: 0; top: 0; background-image: url("../../images/decor/waves-white.svg"); background-size: 100% 100%; opacity: .14; }
/* Pied de page */
.footer::before { content: ""; width: min(46vw, 640px); aspect-ratio: 1; inset-inline-end: -12vw; top: -200px; background-image: url("../../images/decor/rings-white.svg"); opacity: .2; }
[dir="rtl"] .hero::before, [dir="rtl"] .sec::before, [dir="rtl"] .footer::before { transform: none; }
@media (max-width: 760px) {
  .hero::before { width: 130vw; inset-inline-end: -60vw; top: -60px; }
  .hero::after, #services::before, #methode::after, #contact::after, #temoignages::before, #garanties::before { height: 260px; }
  #projets::after, #packs::before, #apropos::before, #faq::before, #methode::before, #contact::before, .footer::before { width: 110vw; }
  #services::after, #garanties::after { display: none; }
}

/* ==== Logos en filigrane (v4.6) : casque Hanibal et fusée Quantik, une fois chacun par zone ==== */
#projets::before { width: min(22vw, 300px); aspect-ratio: 140 / 228; inset-inline-start: 3vw; top: 40px; background-image: url("../../images/brands/rocket-blue.png"); opacity: .08; transform: rotate(18deg); }
#apropos::after { width: min(40vw, 540px); aspect-ratio: 67.78 / 76.77; inset-inline-start: -6vw; bottom: -80px; background-image: url("../../images/brands/hanibal-helmet-ink.svg"); opacity: .055; }
#faq::after { width: min(18vw, 240px); aspect-ratio: 140 / 228; inset-inline-end: 5vw; top: 30px; background-image: url("../../images/brands/rocket-blue.png"); opacity: .08; transform: rotate(-14deg); }
.footer::after { width: min(30vw, 400px); aspect-ratio: 67.78 / 76.77; inset-inline-start: 34%; bottom: -70px; background-image: url("../../images/brands/hanibal-helmet-white.svg"); opacity: .07; }
#methode::before { background-image: url("../../images/brands/rocket-white.png"), url("../../images/decor/rings-white.svg"); background-size: 26% auto, contain; background-position: 38% 62%, center; }
@media (max-width: 760px) {
  #projets::before { width: 34vw; top: 16px; }
  #apropos::after { width: 80vw; }
  #faq::after { width: 30vw; }
  .footer::after { width: 60vw; inset-inline-start: 30%; }
}

/* ===== v4.7 Animations sobres ===== */
/* Barre de lecture */
.scroll-bar { position: fixed; left: 0; top: 0; z-index: 200; height: 2px; width: 100%; background: var(--blue); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }
/* Menu : ombre légère après défilement */
.nav { transition: box-shadow .3s; }
.nav.is-scrolled { box-shadow: 0 6px 24px rgba(10, 10, 10, .06); }
/* Entrée du hero */
.js .hero-kicker, .js .hero-title, .js .hero-sub, .js .hero-ctas, .js .hero-proof, .js .hero-card, .js .hero-shots { opacity: 0; transform: translateY(18px); }
.is-loaded .hero-kicker, .is-loaded .hero-title, .is-loaded .hero-sub, .is-loaded .hero-ctas, .is-loaded .hero-proof, .is-loaded .hero-card, .is-loaded .hero-shots { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); }
.is-loaded .hero-title { transition-delay: .08s; }
.is-loaded .hero-sub { transition-delay: .18s; }
.is-loaded .hero-ctas { transition-delay: .28s; }
.is-loaded .hero-proof { transition-delay: .38s; }
.is-loaded .hero-card { transition-delay: .22s; transform: none; }
.is-loaded .hero-shots { transition-delay: .5s; }
/* Soulignement dessiné sous la phrase bleue du titre */
.hero-title em { background-image: linear-gradient(currentColor, currentColor); background-repeat: no-repeat; background-position: 0 92%; background-size: 0 3px; transition: background-size 1.1s var(--ease) .9s; }
.is-loaded .hero-title em { background-size: 100% 3px; }
/* Titres de section : trait qui se dessine */
.sec-head.rv .eyebrow { position: relative; }
.sec-head.rv .h2 { clip-path: inset(0 0 100% 0); transform: translateY(12px); transition: clip-path .9s var(--ease) .1s, transform .9s var(--ease) .1s; }
.sec-head.rv.in .h2 { clip-path: inset(0 0 -10% 0); transform: none; }
/* Captures : défilement doux du site au survol */
.work-media img, .shot img { transition: object-position 4s ease-in-out, transform .6s var(--ease); object-position: 50% 0; }
.work:hover .work-media img, .shot:hover img { object-position: 50% 100%; }
.work, .shot, .svc, .plan, .quote, .step { transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.work:hover, .shot:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(10, 10, 10, .08); }
.plan:hover, .quote:hover, .svc:hover { transform: translateY(-3px); }
/* Boutons : flèche qui avance, reflet discret */
.btn { position: relative; overflow: hidden; }
.btn--blue::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .25), transparent 65%); transform: translateX(-110%); transition: transform .8s var(--ease); pointer-events: none; }
.btn--blue:hover::after { transform: translateX(110%); }
.btn svg:last-child, .work-go svg, .link svg { transition: transform .3s var(--ease); }
.btn:hover svg:last-child, .work:hover .work-go svg, .link:hover svg { transform: translateX(4px); }
/* Pack mis en avant : liseré lumineux qui tourne lentement */
.plan { position: relative; }
.plan--pop { isolation: isolate; }
.plan--pop::before { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; padding: 1px; background: conic-gradient(from var(--a, 0deg), transparent 70%, var(--blue), transparent 85%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: plan-turn 6s linear infinite; pointer-events: none; }
@property --a { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes plan-turn { to { --a: 360deg; } }
/* Formes décoratives : rotation très lente des anneaux */
@keyframes deco-turn { to { transform: rotate(360deg); } }
.deco-spin { animation: deco-turn 120s linear infinite; }
/* Pastille disponibilité qui respire */
.avail::before, .avail i { animation: avail-pulse 2.4s ease-in-out infinite; }
@keyframes avail-pulse { 50% { opacity: .45; } }
/* Accessibilité : tout couper si l'utilisateur le demande */
.reduce .js *, .reduce *, .reduce *::before, .reduce *::after { animation: none !important; transition: none !important; }
.reduce .hero-kicker, .reduce .hero-title, .reduce .hero-sub, .reduce .hero-ctas, .reduce .hero-proof, .reduce .hero-card, .reduce .hero-shots, .reduce .sec-head.rv .h2 { opacity: 1 !important; transform: none !important; clip-path: none !important; }
.reduce .hero-title em { background-size: 100% 3px; }

/* Cartes projets : lien texte à la place des technologies */
.work-more { font-size: .875rem; font-weight: 500; color: var(--ink); }
.work:hover .work-more { color: var(--blue); }

/* ===== Réalisations v5 : 3 cartes + « Afficher plus », animations ===== */
.works .work.rv { transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s var(--ease); transition-delay: 0s; will-change: transform; }
.works .work.rv.in { opacity: 1; transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px)); animation: workIn .9s var(--ease) backwards; animation-delay: calc(var(--d, 0) * 95ms); }
@keyframes workIn { from { opacity: 0; transform: perspective(1100px) translateY(34px) scale(.965); filter: blur(6px); } 60% { filter: blur(0); } to { opacity: 1; transform: perspective(1100px) translateY(0) scale(1); filter: none; } }
.works .work.in .work-media img { animation: workImg 1.15s var(--ease) backwards; animation-delay: calc(var(--d, 0) * 95ms + .18s); }
@keyframes workImg { from { clip-path: inset(0 0 100% 0); transform: scale(1.14); } to { clip-path: inset(0 0 0 0); transform: scale(1); } }

.works .work { isolation: isolate; }
.works .work::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .35s var(--ease);
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 0%), rgba(29, 78, 216, .11), transparent 42%); }
.works .work::after { content: ""; position: absolute; inset: -1px; z-index: 3; pointer-events: none; opacity: 0; transition: opacity .35s var(--ease);
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 0%), rgba(29, 78, 216, .9), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; padding: 1px; }
.works .work:hover { --lift: -6px; border-color: rgba(29, 78, 216, .35); box-shadow: 0 2px 4px rgba(15, 23, 42, .04), 0 26px 50px -24px rgba(29, 78, 216, .38); }
.works .work:hover::before, .works .work:hover::after { opacity: 1; }
.works .work:hover .work-media img { transform: scale(1.06); }
.work-title a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .45s var(--ease), color .25s; }
.works .work:hover .work-title a { background-size: 100% 1.5px; }
[dir="rtl"] .work-title a { background-position: 100% 100%; }
.work-go { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--rule); transition: background-color .3s var(--ease), color .3s, border-color .3s, transform .45s var(--ease); }
.works .work:hover .work-go { background: var(--blue); border-color: var(--blue); color: #fff; transform: rotate(-8deg) scale(1.06); }

.works-more { display: flex; align-items: center; gap: clamp(14px, 3vw, 28px); margin-top: clamp(32px, 4vw, 52px); }
.works-more[hidden] { display: none; }
.works-more::before, .works-more::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--rule) 30%, var(--rule) 70%, transparent); }
.more-btn { position: relative; display: inline-flex; align-items: center; gap: 12px; padding: 14px 22px 14px 26px; border: 1px solid var(--ink, #0a0a0a); border-radius: 999px; background: var(--card, #fff); color: var(--ink, #0a0a0a); font: inherit; font-weight: 600; cursor: pointer; overflow: hidden; isolation: isolate;
  transition: color .35s var(--ease), border-color .35s, transform .35s var(--ease), box-shadow .35s; }
.more-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink, #0a0a0a); transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease); }
.more-btn::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; z-index: 0; pointer-events: none; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent); transform: skewX(-18deg); animation: moreShine 3.8s ease-in-out infinite 1.2s; }
@keyframes moreShine { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.more-btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 30px -16px rgba(10, 10, 10, .5); }
.more-btn:hover::before { transform: scaleY(1); }
.more-btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.more-btn-count { min-width: 30px; padding: 3px 9px; border-radius: 999px; background: var(--blue); color: #fff; font: 600 .78rem/1.2 var(--mono, monospace); text-align: center; }
.more-btn-count:empty { display: none; }
.more-btn-chev { transition: transform .45s var(--ease); }
.more-btn:hover .more-btn-chev { animation: moreBob 1s var(--ease) infinite; }
.more-btn[aria-expanded="true"] .more-btn-chev { transform: rotate(180deg); animation: none; }
@keyframes moreBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(3px); } }
@media (max-width: 640px) { .works-more::before, .works-more::after { display: none; } .works-more { justify-content: center; } .more-btn { width: 100%; justify-content: center; } }
@media (prefers-reduced-motion: reduce) {
  .works .work.rv.in, .works .work.in .work-media img { animation: none; }
  .more-btn::after, .more-btn:hover .more-btn-chev { animation: none; }
  .works .work.rv.in { transform: none; }
}

/* ===== Miniatures qui défilent (capture complète du site) ===== */
.work-media.has-scroll { position: relative; }
.works .work .work-media img.work-full { position: absolute; top: 0; left: 0; z-index: 1; width: 100%; height: auto; aspect-ratio: auto; object-fit: fill; opacity: 0;
  transform: translate3d(0, 0, 0); transition: opacity .45s var(--ease), transform 1s cubic-bezier(.65, 0, .35, 1); animation: none; will-change: transform; }
.works .work .work-media.is-ready img.work-full { opacity: 1; }
.works .work:hover .work-media.has-scroll img.work-cover { transform: none; }
.works .work:hover .work-media.is-ready img.work-full { transform: translate3d(0, var(--shift, 0px), 0); transition: opacity .45s, transform var(--dur, 6s) cubic-bezier(.45, .05, .55, .95) .2s; }
.work-bar { position: absolute; top: 6px; bottom: 6px; right: 6px; z-index: 2; width: 4px; border-radius: 4px; background: rgba(15, 23, 42, .14); opacity: 0; transition: opacity .3s; pointer-events: none; }
.work-bar::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: var(--th, 28px); border-radius: 4px; background: rgba(15, 23, 42, .6); transform: translate3d(0, 0, 0); transition: transform 1s cubic-bezier(.65, 0, .35, 1); }
[dir="rtl"] .work-bar { right: auto; left: 6px; }
.works .work:hover .work-media.is-ready .work-bar { opacity: 1; }
.works .work:hover .work-media.is-ready .work-bar::before { transform: translate3d(0, var(--tshift, 0px), 0); transition: transform var(--dur, 6s) cubic-bezier(.45, .05, .55, .95) .2s; }
/* Écrans tactiles : défilement automatique en boucle quand la carte est visible */
.works .work .work-media.is-auto.is-playing img.work-full { animation: workScroll calc(var(--dur, 6s) * 2 + 3s) cubic-bezier(.45, .05, .55, .95) infinite; }
.work-media.is-auto.is-playing .work-bar { opacity: 1; }
.work-media.is-auto.is-playing .work-bar::before { animation: workThumb calc(var(--dur, 6s) * 2 + 3s) cubic-bezier(.45, .05, .55, .95) infinite; }
@keyframes workScroll { 0%, 12% { transform: translate3d(0, 0, 0); } 50%, 62% { transform: translate3d(0, var(--shift, 0px), 0); } 100% { transform: translate3d(0, 0, 0); } }
@keyframes workThumb { 0%, 12% { transform: translate3d(0, 0, 0); } 50%, 62% { transform: translate3d(0, var(--tshift, 0px), 0); } 100% { transform: translate3d(0, 0, 0); } }
@media (prefers-reduced-motion: reduce) { .work-media img.work-full, .work-bar { display: none; } }

/* ==========================================================================
   Exposition — bande sombre sous le hero (photos du salon, Admin > Exposition)
   ========================================================================== */
.expo {
  --x-bg: #08090b; --x-ink: #f5f5f4; --x-muted: #9a9a9a; --x-rule: rgba(255,255,255,.12); --x-blue: #5b8cff;
  position: relative; isolation: isolate; overflow: clip;
  background: var(--x-bg); color: var(--x-ink);
  padding-block: clamp(3rem, 2rem + 4vw, 5.5rem) clamp(2.5rem, 2rem + 2.5vw, 4.5rem);
}
.expo::before { /* halo bleu discret */
  content: ""; position: absolute; z-index: -1; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 1100px; max-height: 1100px;
  background: radial-gradient(closest-side, rgba(29,78,216,.28), transparent 70%); pointer-events: none;
}
.expo::after { /* grain */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
}

/* ---------- Bandeau géant défilant ---------- */
.expo-marquee { position: absolute; z-index: -1; inset-inline: 0; top: clamp(1rem, 2vw, 2rem); overflow: hidden; pointer-events: none; user-select: none; direction: ltr; }
.expo-marquee-track { display: flex; width: max-content; animation: expoMarquee 60s linear infinite; }
.expo-marquee span {
  flex: none; padding-inline-end: .5em; white-space: nowrap;
  font: 700 clamp(3.5rem, 1.5rem + 8vw, 9.5rem)/1 var(--sans); letter-spacing: -.05em; text-transform: uppercase;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.09);
}
.expo-marquee span::after { content: "✦"; display: inline-block; margin-inline-start: .5em; font-size: .35em; vertical-align: .55em; -webkit-text-stroke: 0; color: rgba(91,140,255,.35); }
@keyframes expoMarquee { to { transform: translateX(-50%); } }

/* ---------- En-tête ---------- */
.expo-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px clamp(32px, 5vw, 96px); align-items: end; padding-top: clamp(2.5rem, 1.5rem + 4vw, 5.5rem); }
.expo-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; font: 500 .72rem/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #cfd6e6; padding: 7px 12px 7px 10px; border: 1px solid var(--x-rule); background: rgba(255,255,255,.03); }
.expo-dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: expoPulse 2.2s ease-out infinite; }
@keyframes expoPulse { 70% { box-shadow: 0 0 0 9px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
.expo-title { font: 600 clamp(2.2rem, 1.2rem + 3.4vw, 4.4rem)/.98 var(--sans); letter-spacing: -.045em; text-wrap: balance; }
.expo-title em { font-style: normal; color: var(--x-blue); background: linear-gradient(95deg, #5b8cff, #9cc3ff 60%, #ffffff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.expo-lead { color: #c4c4c4; font-size: var(--fs-lead); line-height: 1.6; max-width: 52ch; }
.expo-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 32px; border-top: 1px solid var(--x-rule); }
.expo-stats > div { padding: 18px 16px 0 0; }
.expo-stats > div + div { padding-inline-start: 16px; border-inline-start: 1px solid var(--x-rule); }
.expo-stats dt { font: 600 clamp(1.5rem, 1.1rem + 1.4vw, 2.3rem)/1 var(--sans); letter-spacing: -.04em; color: #fff; }
.expo-stats dd { margin-top: 8px; font: 500 .68rem/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--x-muted); }

/* entrée de l'en-tête */
.expo-head > * { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
.expo-head > :nth-child(2) { transition-delay: .15s; }
.expo.is-in .expo-head > * { opacity: 1; transform: none; }

/* ---------- Grille ---------- */
.expo-grid {
  display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr) minmax(0, 1fr); gap: 10px;
  height: clamp(300px, 29vw, 430px); margin-top: clamp(2rem, 1.5rem + 2vw, 3.5rem);
}
.expo-tile { position: relative; min-width: 0; min-height: 0; }

.expo-open { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; background: #15171c; cursor: zoom-in; text-align: start; }
.expo-frame { position: absolute; inset: -7% 0; display: block; transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }
.expo-frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.28); filter: saturate(.9) brightness(.92); transition: transform 1.6s var(--ease), filter .6s var(--ease); }

/* révélation : rideau qui s'ouvre + image qui se pose */
.expo-open { clip-path: inset(100% 0 0 0); transition: clip-path 1.25s cubic-bezier(.77, 0, .18, 1); transition-delay: calc(var(--d, 0) * 1ms); }
.expo-tile.is-in .expo-open { clip-path: inset(-6px -6px -6px -6px); }
.expo-tile.is-in .expo-frame img { transform: scale(1); transition-delay: calc(var(--d, 0) * 1ms); }

.expo-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.72) 100%); opacity: .55; transition: opacity .5s var(--ease); }
.expo-num { position: absolute; top: 12px; inset-inline-start: 14px; font: 500 .7rem/1 var(--mono); letter-spacing: .1em; color: rgba(255,255,255,.8); mix-blend-mode: difference; }
.expo-cap { position: absolute; inset-inline: 16px; bottom: 14px; font-size: .92rem; font-weight: 500; line-height: 1.3; color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,.4); transform: translateY(8px); opacity: .0; transition: transform .55s var(--ease), opacity .55s var(--ease); }
.expo-plus { position: absolute; top: 10px; inset-inline-end: 10px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.92); color: #0a0a0a; transform: scale(.6) rotate(-90deg); opacity: 0; transition: transform .5s var(--ease), opacity .4s var(--ease); }
.expo-open::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.0); transition: border-color .4s var(--ease); pointer-events: none; }

@media (hover: hover) {
  .expo-open:hover .expo-frame img, .expo-open:focus-visible .expo-frame img { transform: scale(1.06); filter: saturate(1.05) brightness(1); transition-delay: 0s; transition-duration: 1.1s; }
  .expo-open:hover .expo-shade, .expo-open:focus-visible .expo-shade { opacity: 1; }
  .expo-open:hover .expo-cap, .expo-open:focus-visible .expo-cap { opacity: 1; transform: none; }
  .expo-open:hover .expo-plus, .expo-open:focus-visible .expo-plus { opacity: 1; transform: none; }
  .expo-open:hover::after { border-color: rgba(255,255,255,.25); }
  .expo-grid:hover .expo-tile:not(:hover) .expo-frame img { filter: saturate(.6) brightness(.6); }
}
@media (hover: none) { .expo-cap { opacity: 1; transform: none; } .expo-shade { opacity: .9; } }
.expo-open:focus-visible { outline: 2px solid var(--x-blue); outline-offset: 3px; }

/* curseur « Voir » (souris uniquement) */
.expo-cursor { position: fixed; z-index: 60; left: 0; top: 0; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; display: grid; place-items: center; pointer-events: none;
  background: #fff; color: #0a0a0a; font: 600 .74rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase;
  transform: translate3d(var(--cx, -200px), var(--cy, -200px), 0) scale(0); transition: transform .35s var(--ease); mix-blend-mode: normal; }
.expo-cursor.is-on { transform: translate3d(var(--cx), var(--cy), 0) scale(1); }
.expo.has-cursor .expo-open { cursor: none; }

/* ---------- Pied ---------- */
.expo-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--x-rule); }
.expo-all { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 12px; padding: 14px 20px; background: #fff; color: #0a0a0a; font-weight: 600; transition: color .4s var(--ease); }
.expo-all::before { content: ""; position: absolute; inset: 0; z-index: 0; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
[dir="rtl"] .expo-all::before { transform-origin: right; }
.expo-all > * { position: relative; z-index: 1; }
.expo-all:hover { color: #fff; }
.expo-all:hover::before { transform: scaleX(1); }
.expo-all-count { font: 500 .72rem/1 var(--mono); padding: 5px 7px; background: #0a0a0a; color: #fff; transition: background .4s var(--ease); }
.expo-all:hover .expo-all-count { background: rgba(255,255,255,.18); }
.expo-hint { font: 500 .7rem/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--x-muted); }

/* ---------- Visionneuse ---------- */
.expo-lb { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(6,7,9,.96); color: #fff; display: grid; grid-template-rows: auto 1fr auto; overflow: hidden; }
.expo-lb:not([open]) { display: none; }
.expo-lb::backdrop { background: rgba(0,0,0,.6); backdrop-filter: blur(10px); }
.expo-lb[open] { animation: expoLbIn .45s var(--ease); }
@keyframes expoLbIn { from { opacity: 0; } }
.expo-lb-bar { display: flex; align-items: center; justify-content: space-between; padding: 14px clamp(16px, 3vw, 32px); }
.expo-lb-count { font: 500 .8rem/1 var(--mono); letter-spacing: .08em; color: #9a9a9a; display: flex; gap: 6px; }
.expo-lb-count b { color: #fff; font-weight: 500; }
.expo-lb-btn { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.16); color: #fff; background: rgba(255,255,255,.04); transition: background .25s, border-color .25s; }
.expo-lb-btn:hover { background: #fff; color: #0a0a0a; border-color: #fff; }
.expo-lb-stage { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(8px, 2vw, 24px); padding: 0 clamp(8px, 3vw, 32px); min-height: 0; }
.expo-lb-fig { position: relative; height: 100%; min-height: 0; display: grid; grid-template-rows: 1fr auto; justify-items: center; gap: 14px; margin: 0; }
.expo-lb-fig img { max-width: 100%; max-height: calc(100dvh - 230px); width: auto; height: auto; align-self: center; object-fit: contain; box-shadow: 0 40px 120px -30px rgba(0,0,0,.9); }
.expo-lb-fig img.is-swap { animation: expoSwap .6s var(--ease); }
@keyframes expoSwap { from { opacity: 0; transform: translateX(calc(var(--dir, 1) * 40px)) scale(.98); } }
.expo-lb-fig figcaption { font-size: .95rem; color: #d6d6d6; text-align: center; min-height: 1.4em; }
[dir="rtl"] .expo-lb-nav svg { transform: scaleX(-1); }
.expo-lb-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 14px clamp(16px, 3vw, 32px) 18px; scrollbar-width: none; justify-content: safe center; }
.expo-lb-thumbs::-webkit-scrollbar { display: none; }
.expo-lb-thumbs button { flex: none; width: 64px; height: 48px; opacity: .4; outline-offset: 2px; transition: opacity .25s; }
.expo-lb-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.expo-lb-thumbs button:hover { opacity: .8; }
.expo-lb-thumbs button[aria-current="true"] { opacity: 1; outline: 2px solid #fff; }
body.expo-lock { overflow: hidden; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .expo-head { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 560px) {
  .expo-stats > div { padding-inline-end: 8px; }
  .expo-stats > div + div { padding-inline-start: 10px; }
  .expo-cap { font-size: .8rem; inset-inline: 10px; bottom: 9px; }
  .expo-num { top: 9px; inset-inline-start: 10px; }
  .expo-lb-nav { position: absolute; z-index: 2; bottom: -6px; }
  .expo-lb-nav.is-prev { inset-inline-start: 16px; }
  .expo-lb-nav.is-next { inset-inline-end: 16px; }
  .expo-lb-stage { grid-template-columns: 1fr; padding-bottom: 52px; }
  .expo-lb-fig img { max-height: calc(100dvh - 260px); }
  .expo-foot { justify-content: center; }
  .expo-hint { display: none; }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  .expo-marquee-track, .expo-dot { animation: none; }
  .expo-open, .expo-tile.is-in .expo-open { clip-path: none; transition: none; }
  .expo-frame { transform: none; }
  .expo-frame img, .expo-tile.is-in .expo-frame img { transform: none; transition: none; }
  .expo-head > * { opacity: 1; transform: none; transition: none; }
  .expo-lb[open], .expo-lb-fig img.is-swap { animation: none; }
}
.reduce .expo-marquee-track { animation: none; }
.reduce .expo-open { clip-path: none; }
.reduce .expo-frame img { transform: none; }
.reduce .expo-head > * { opacity: 1; transform: none; }
.no-js .expo-open { clip-path: none; }
.no-js .expo-frame img { transform: none; }
.no-js .expo-head > * { opacity: 1; transform: none; }

/* ---------- Jonction avec le hero ---------- */
/* De l'air sous le hero quand l'exposition le suit directement */
.hero:has(+ .expo) { padding-bottom: clamp(56px, 7vw, 112px); }
/* Le bloc sombre arrive en panneau arrondi, en retrait, puis s'élargit jusqu'aux bords au défilement (--ex : 1 → 0) */
.js .expo {
  --ex-gut: clamp(12px, 3.2vw, 48px);
  clip-path: inset(0 calc(var(--ex, 0) * var(--ex-gut)) 0 calc(var(--ex, 0) * var(--ex-gut)) round calc(var(--ex, 0) * 32px) calc(var(--ex, 0) * 32px) 0 0);
}
/* Fin filet lumineux sur le bord haut du panneau */
.expo-edge { position: absolute; z-index: 2; top: 0; inset-inline: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(124,170,255,.55) 30%, rgba(255,255,255,.7) 50%, rgba(124,170,255,.55) 70%, transparent);
  opacity: calc(.35 + var(--ex, 0) * .65); }
@media (prefers-reduced-motion: reduce) { .js .expo { clip-path: none; } }
.reduce .expo { clip-path: none !important; }

/* ---------- Bandeau de photos qui défile ---------- */
.expo-strip { position: relative; margin-top: 10px; overflow: hidden; direction: ltr;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  opacity: 0; transform: translateY(20px); transition: opacity 1s var(--ease) .5s, transform 1.2s var(--ease) .5s; }
.expo-strip.is-in, .no-js .expo-strip { opacity: 1; transform: none; }
.expo-strip-track { display: flex; gap: 10px; width: max-content; animation: expoStrip var(--strip-dur, 55s) linear infinite; }
.expo-strip:hover .expo-strip-track, .expo-strip:focus-within .expo-strip-track { animation-play-state: paused; }
@keyframes expoStrip { to { transform: translateX(calc(-50% - 5px)); } }
.expo-chip { --ch: clamp(120px, 10.5vw, 160px); clip-path: none; transition: none; position: relative; flex: none; height: var(--ch); width: calc(var(--ch) * 4 / 3); overflow: hidden; background: #15171c; cursor: zoom-in; }
.expo-chip img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.8) brightness(.78); transition: transform .9s var(--ease), filter .45s var(--ease); }
.expo-chip::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.75)); opacity: 0; transition: opacity .4s var(--ease); }
.expo-chip-cap { position: absolute; z-index: 1; inset-inline: 10px; bottom: 8px; font-size: .74rem; font-weight: 500; line-height: 1.25; color: #fff; text-align: start; opacity: 0; transform: translateY(6px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.expo-chip:hover img, .expo-chip:focus-visible img { transform: scale(1.08); filter: none; }
.expo-chip:hover::after, .expo-chip:focus-visible::after { opacity: 1; }
.expo-chip:hover .expo-chip-cap, .expo-chip:focus-visible .expo-chip-cap { opacity: 1; transform: none; }
.expo-chip:focus-visible { outline: 2px solid var(--x-blue); outline-offset: -2px; }
[dir="rtl"] .expo-chip-cap { direction: rtl; }

@media (max-width: 700px) {
  .expo-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 64vw 50vw; height: auto; gap: 6px; }
  .expo-grid .expo-tile:first-child { grid-column: span 2; }
  .expo-strip { margin-top: 6px; }
  .expo-strip-track { gap: 6px; animation-duration: calc(var(--strip-dur, 55s) * .6); }
  @keyframes expoStrip { to { transform: translateX(calc(-50% - 3px)); } }
  .expo-chip { --ch: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  .expo-strip { overflow-x: auto; opacity: 1; transform: none; }
  .expo-strip-track { animation: none; }
}
.reduce .expo-strip { overflow-x: auto; opacity: 1; transform: none; }

/* ==========================================================================
   Projets phares : cartes empilées au défilement, aux couleurs de chaque marque
   ========================================================================== */
.ft { position: relative; padding-block: clamp(72px, 4rem + 4vw, 136px) clamp(56px, 3rem + 3vw, 112px); }
.ft-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px var(--gap, 24px); align-items: end; margin-bottom: clamp(36px, 4vw, 64px); padding-top: 18px; border-top: 1px solid var(--ink); }
.ft-eyebrow { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 14px; margin: 0; font: 500 .72rem var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.ft-eyebrow span:first-child { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.ft-eyebrow span:first-child::before { content: ""; width: 8px; height: 8px; background: var(--blue); }
.ft-title { grid-column: 1 / 9; margin: 0; font-size: var(--fs-h2, clamp(2rem, 1.2rem + 3.4vw, 4rem)); font-weight: 600; line-height: 1; letter-spacing: -.045em; text-wrap: balance; }
.ft-title em { font-style: normal; color: var(--blue); }
.ft-lead { grid-column: 9 / 13; margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.55; max-width: 36ch; }

.ft-stack { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(20px, 3vh, 40px); }
.ft-item { --top: calc(var(--nav-h, 64px) + 20px + var(--i) * 16px); position: sticky; top: var(--top); }

/* Thèmes de marque */
.ft--wafi     { --c-bg: #0d2347; --c-ink: #fff;    --c-mut: rgba(255, 255, 255, .68); --c-acc: #e0a64a; --c-btn-ink: #0d2347; --c-line: rgba(255, 255, 255, .13); --c-glow: rgba(21, 82, 163, .9); }
.ft--tatasko  { --c-bg: #f3efe6; --c-ink: #141414; --c-mut: #5e5a52;                  --c-acc: #141414; --c-btn-ink: #f3efe6; --c-line: rgba(20, 20, 20, .12);   --c-glow: rgba(242, 183, 5, .55); }
.ft--karta    { --c-bg: #0c0f02; --c-ink: #f4f7e8; --c-mut: rgba(244, 247, 232, .62); --c-acc: #d4ff3f; --c-btn-ink: #0c0f02; --c-line: rgba(212, 255, 63, .15); --c-glow: rgba(212, 255, 63, .28); }
.ft--destilog { --c-bg: #16213e; --c-ink: #fff;    --c-mut: rgba(255, 255, 255, .66); --c-acc: #f2a541; --c-btn-ink: #16213e; --c-line: rgba(255, 255, 255, .13); --c-glow: rgba(74, 108, 247, .75); }

.ft-card { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); height: min(680px, calc(100vh - var(--nav-h, 64px) - 96px)); min-height: 520px; overflow: hidden; background-color: var(--c-bg); color: var(--c-ink); border: 1px solid var(--c-line);
  background-image: radial-gradient(60% 75% at 82% 70%, var(--c-glow), transparent 70%), linear-gradient(var(--c-line) 1px, transparent 1px), linear-gradient(90deg, var(--c-line) 1px, transparent 1px);
  background-size: 100% 100%, 56px 56px, 56px 56px; background-position: center, -1px -1px, -1px -1px;
  transform: scale(var(--s, 1)); transform-origin: 50% 0; will-change: transform; }
.ft-card::after { content: ""; position: absolute; inset: 0; z-index: 5; background: #000; opacity: var(--dim, 0); pointer-events: none; }
[dir="rtl"] .ft-card { background-image: radial-gradient(60% 75% at 18% 70%, var(--c-glow), transparent 70%), linear-gradient(var(--c-line) 1px, transparent 1px), linear-gradient(90deg, var(--c-line) 1px, transparent 1px); }

/* Colonne texte */
.ft-info { position: relative; z-index: 2; display: flex; flex-direction: column; min-width: 0; padding: clamp(26px, 3.2vw, 52px); }
.ft-brand { display: flex; align-items: center; gap: 14px; padding-bottom: 22px; border-bottom: 1px solid var(--c-line); }
.ft-logo { flex: none; width: 52px; height: 52px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); border: 1px solid var(--c-line); }
.ft-logo img { width: 40px; height: 40px; object-fit: contain; }
.ft--tatasko .ft-logo { background: #fff; }
.ft-brand-txt { display: grid; gap: 3px; min-width: 0; }
.ft-name { margin: 0; font-size: 1.2rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; color: var(--c-ink); }
.ft-cat { font: 500 .66rem var(--mono); text-transform: uppercase; letter-spacing: .13em; color: var(--c-mut); }
.ft-num { margin-inline-start: auto; font: 500 1.6rem/1 var(--mono); letter-spacing: -.04em; color: var(--c-ink); }
.ft-num i { font-style: normal; font-size: .7rem; letter-spacing: .06em; color: var(--c-mut); margin-inline-start: 3px; }
.ft-tagline { margin: auto 0 0; padding-top: 26px; font-size: clamp(1.75rem, 1.05rem + 2.1vw, 3.05rem); font-weight: 600; line-height: 1.02; letter-spacing: -.045em; text-wrap: balance; color: var(--c-ink); }
.ft-tagline em { font-style: normal; color: var(--c-acc); }
.ft--tatasko .ft-tagline em { font-family: "Instrument Serif", Georgia, "Times New Roman", serif; font-style: italic; font-weight: 400; letter-spacing: -.03em; }
.ft-text { margin: 16px 0 0; color: var(--c-mut); font-size: .98rem; line-height: 1.55; max-width: 46ch; }
.ft-points { list-style: none; margin: 22px 0 0; padding: 0; border-top: 1px solid var(--c-line); }
.ft-points li { display: flex; align-items: baseline; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--c-line); font-size: .9rem; font-weight: 500; }
.ft-points span { font: 500 .66rem var(--mono); letter-spacing: .1em; color: var(--c-acc); }
.ft--tatasko .ft-points span { color: #b98a00; }
.ft-ctas { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; }
.ft-btn { display: inline-flex; align-items: center; gap: 14px; min-height: 50px; padding: 0 20px; background: var(--c-acc); color: var(--c-btn-ink); font-weight: 600; font-size: .92rem; text-decoration: none; border: 1px solid var(--c-acc); transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.ft-btn svg { transition: transform .3s var(--ease); }
.ft-btn:hover { background: var(--c-ink); border-color: var(--c-ink); color: var(--c-bg); }
.ft-btn:hover svg { transform: translate(3px, -3px); }
[dir="rtl"] .ft-btn svg { transform: scaleX(-1); }
[dir="rtl"] .ft-btn:hover svg { transform: scaleX(-1) translate(3px, -3px); }
.ft-link { color: var(--c-ink); font-size: .9rem; font-weight: 500; text-decoration: underline; text-decoration-color: var(--c-line); text-underline-offset: 5px; transition: text-decoration-color .2s; }
.ft-link:hover { text-decoration-color: currentColor; }
.ft-btn:focus-visible, .ft-link:focus-visible { outline: 2px solid var(--c-acc); outline-offset: 3px; }

/* Colonne visuelle : navigateur qui déborde du cadre */
.ft-visual { position: relative; min-width: 0; z-index: 1; }
.ft-browser { position: absolute; top: clamp(48px, 7vh, 84px); inset-inline-start: 6%; width: 118%; background: #fff; border: 1px solid rgba(255, 255, 255, .2); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .55);
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0); transition: transform .5s var(--ease); }
.ft--tatasko .ft-browser { border-color: rgba(20, 20, 20, .14); box-shadow: 0 40px 90px -36px rgba(60, 45, 0, .35); }
.ft-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: #f4f4f2; border-bottom: 1px solid #e4e4e0; }
.ft-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d9d9d4; }
.ft-bar span { margin-inline-start: 14px; padding: 3px 12px; background: #fff; border: 1px solid #e4e4e0; font: 500 .66rem var(--mono); color: #6b6b66; letter-spacing: .02em; }
.ft-screen { overflow: hidden; background: #f4f4f2; }
.ft-screen img { display: block; width: 100%; height: auto; transform: scale(1.001); transition: transform 1.4s var(--ease); }

/* Objets flottants */
.ft-extra { position: absolute; z-index: 3; display: block; rotate: var(--r, 0deg); transform: translate3d(calc(var(--px, 0px) * -1.6), calc(var(--py, 0px) * -1.6), 0); transition: transform .5s var(--ease); }
.ft-extra img { display: block; width: 100%; height: auto; }
.ft-extra--doc { --r: -5deg; inset-inline-start: 1%; bottom: 7%; width: 31%; background: #fff; border: 1px solid #e2e2e2; box-shadow: 0 30px 60px -18px rgba(0, 0, 0, .55); }
.ft-extra--phone { --r: 0deg; inset-inline-start: 2%; bottom: -14%; width: 23%; padding: 7px; background: #141414; border-radius: 30px; box-shadow: 0 30px 70px -20px rgba(60, 45, 0, .5); }
.ft-extra--phone img { border-radius: 23px; }
.ft-extra--card { --r: -9deg; inset-inline-start: -4%; bottom: 9%; width: 42%; border-radius: 14px; overflow: hidden; box-shadow: 0 34px 70px -18px rgba(0, 0, 0, .75), 0 0 0 1px rgba(212, 255, 63, .25); }
.ft-extra--icon { --r: -8deg; inset-inline-start: 0; bottom: 12%; width: clamp(84px, 9vw, 128px); border-radius: 26%; overflow: hidden; box-shadow: 0 26px 60px -14px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .14); }

@keyframes ftFloat { 50% { translate: 0 -12px; } }
.ft-item.is-live .ft-extra { animation: ftFloat 6s ease-in-out infinite; }
.ft-item.is-live .ft-extra--card { animation-duration: 7s; }

/* Apparition (avec JS seulement) */
.js .ft-head > * { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .ft-head > :nth-child(2) { transition-delay: .08s; } .js .ft-head > :nth-child(3) { transition-delay: .16s; }
.js .ft.is-in .ft-head > * { opacity: 1; transform: none; }
.js .ft-item .ft-info > * { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--k, 0) * 70ms + 80ms); }
.js .ft-item .ft-browser { opacity: 0; translate: 0 70px; transition: opacity 1s var(--ease) .15s, translate 1.2s var(--ease) .15s, transform .5s var(--ease); }
.js .ft-item .ft-screen img { transform: scale(1.08); }
.js .ft-item .ft-extra { opacity: 0; scale: .86; transition: opacity .9s var(--ease) .45s, scale 1s var(--ease) .45s, transform .5s var(--ease); }
.js .ft-item.is-in .ft-info > *, .js .ft-item.is-in .ft-browser { opacity: 1; transform: none; translate: 0 0; }
.js .ft-item.is-in .ft-browser { transform: translate3d(var(--px, 0px), var(--py, 0px), 0); }
.js .ft-item.is-in .ft-screen img { transform: scale(1.001); }
.js .ft-item.is-in .ft-extra { opacity: 1; scale: 1; }
.ft-info > :nth-child(1) { --k: 0; } .ft-info > :nth-child(2) { --k: 1; } .ft-info > :nth-child(3) { --k: 2; } .ft-info > :nth-child(4) { --k: 3; } .ft-info > :nth-child(5) { --k: 4; }

/* Grand écran : un peu plus d'air */
@media (min-width: 1500px) { .ft-card { height: min(720px, calc(100vh - var(--nav-h, 64px) - 96px)); } }

/* Écran bas (portable) : on compresse */
@media (max-height: 760px) and (min-width: 861px) {
  .ft-card { min-height: 480px; }
  .ft-text { display: none; }
  .ft-tagline { padding-top: 18px; }
}

/* Tablette et mobile : cartes l'une sous l'autre, sans empilement */
@media (max-width: 1100px) {
  .ft-title { grid-column: 1 / -1; }
  .ft-lead { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .ft-item { position: relative; top: auto; }
  .ft-card { grid-template-columns: minmax(0, 1fr); height: auto; min-height: 0; transform: none; }
  .ft-card::after { display: none; }
  .ft-info { padding: 24px 20px 22px; }
  .ft-tagline { margin-top: 0; padding-top: 22px; }
  .ft-num { font-size: 1.25rem; }
  .ft-visual { order: -1; height: clamp(230px, 64vw, 360px); overflow: hidden; border-bottom: 1px solid var(--c-line); }
  .ft-browser { top: 26px; inset-inline-start: 7%; width: 112%; }
  .ft-bar { height: 26px; } .ft-bar span { display: none; }
  .ft-extra--doc { width: 30%; bottom: 6%; }
  .ft-extra--phone { width: 24%; bottom: -30%; }
  .ft-extra--card { width: 46%; bottom: 6%; inset-inline-start: 2%; }
  .ft-extra--icon { width: 72px; bottom: 10%; inset-inline-start: 4%; }
  .ft-btn { flex: 1 1 auto; justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  .ft-card { transform: none !important; }
  .ft-card::after { display: none; }
  .ft-extra, .ft-item.is-live .ft-extra { animation: none; }
  .js .ft-head > *, .js .ft-item .ft-info > *, .js .ft-item .ft-browser, .js .ft-item .ft-extra, .js .ft-item .ft-screen img { opacity: 1; transform: none; translate: 0 0; scale: 1; transition: none; }
}
