*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* Focus clavier visible — WCAG 2.2 AA (2.4.7 Focus Visible / 2.4.11 Focus Not Obscured).
   Règle générique de secours pour TOUT élément interactif natif ou obfusqué
   (liens, boutons, champs, [role="link"] obfusqués data-url/data-href, tabindex).
   Les styles :focus plus spécifiques déjà présents (box-shadow sur inputs, etc.)
   restent prioritaires par cascade/spécificité — cette règle comble les trous. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible,
[role="link"]:focus-visible,
[role="tab"]:focus-visible,
[role="button"]:focus-visible {
  outline: 2px solid var(--primary, #0A00FF);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Skip-link — WCAG 2.4.1 (Bypass Blocks). Hors écran par défaut,
   visible et au-dessus de tout au focus clavier (premier Tab). */
.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 9999;
  background: var(--ink, #0B0B16);
  color: var(--on-dark, #FFFFFF);
  font-family: var(--font-body, sans-serif);
  font-weight: 700;
  font-size: .92rem;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: top .2s ease;
}
.skip-link:focus-visible,
.skip-link:focus {
  top: 12px;
  outline: 2px solid var(--mint, #3AFFA5);
  outline-offset: 2px;
}

:root {
  --bg: #FFFFFF;
  --bg-soft: #F4F5FF;
  --bg-alt: #ECEEFB;
  --ink: #0B0B16;
  --text: #15151F;
  --muted: #4B5563;
  --subtle: #5A6472;
  --line: #E3E5F2;
  --primary: #0A00FF;
  --primary-2: #5A3CFF;
  --primary-dark: #0800CC;
  --primary-soft: #E9E7FF;
  --mint: #3AFFA5;
  --mint-deep: #0E7A52;
  --pink: #F8BDFF;
  --pink-deep: #9B2FA8;
  --star: #F5A623;
  --on-dark: #FFFFFF;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 3px rgba(11,11,22,.06), 0 8px 24px rgba(11,11,22,.06);
  --shadow-lg: 0 10px 30px rgba(10,0,255,.10), 0 30px 60px rgba(11,11,22,.10);
  --font-heading: 'gill-sans-nova', 'Space Grotesk', sans-serif;
  --font-body: 'Manrope', sans-serif;
  --maxw: 1400px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.section { padding: 96px 24px; }
.section-inner { max-width: var(--maxw); margin: 0 auto; }

h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 900; letter-spacing: -.02em; color: var(--ink); line-height: 1.08; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.8rem); text-transform: uppercase; letter-spacing: -3px; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); text-transform: uppercase; letter-spacing: -3px; }
h3 { font-size: clamp(1.1rem, 1.7vw, 1.35rem); }
p { color: var(--muted); }
a { color: var(--primary); }

/* Liens inline dans un bloc de texte (prose, mentions légales, notes de formulaire) :
   indicateur non-chromatique obligatoire (WCAG 1.4.1 / axe link-in-text-block) —
   la couleur seule ne doit jamais être le seul signal distinctif d'un lien. */
.prose p a,
.prose li a,
.legal-body p a,
.legal-body li a,
.form-note a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 12px;
  font-family: var(--font-heading); font-weight: 900; letter-spacing: -.01em;
  font-size: clamp(.95rem, 1.2vw, 1.05rem);
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
  min-height: 48px;
  position: relative; overflow: hidden; z-index: 0;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--primary); color: var(--on-dark); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-mint { background: var(--mint); color: var(--ink); }
/* CTA à fond plein : pas de border (les CTA transparents/ghost gardent la leur) */
.btn-primary, .btn-mint { border: none; }
.btn-mint:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--primary); color: var(--on-dark); transform: translateY(-2px); }
.btn-on-dark { background: rgba(255,255,255,.12); color: var(--on-dark); border-color: rgba(255,255,255,.25); }
.btn-on-dark:hover { background: rgba(255,255,255,.2); color: var(--ink); transform: translateY(-2px); }
.btn, .nav-cta, .mega-feat-cta { position: relative; overflow: hidden; z-index: 0; }
.btn::before, .nav-cta::before, .mega-feat-cta::before { content: ""; position: absolute; inset: -2px; z-index: -1; background: var(--btn-fill, var(--ink)); transform: scaleY(0) skewY(-8deg); transform-origin: bottom; transition: transform .45s cubic-bezier(.4,0,.2,1); }
.btn:hover::before, .nav-cta:hover::before, .mega-feat-cta:hover::before { transform: scaleY(1) skewY(0deg); }
.btn-primary { --btn-fill: var(--ink); }
.btn-mint { --btn-fill: var(--ink); }
.btn-mint:hover { color: var(--on-dark); }
.btn-ghost { --btn-fill: var(--primary); }
.btn-on-dark { --btn-fill: var(--on-dark); }
.nav-cta { --btn-fill: var(--ink); text-decoration: none; }
.mega-feat-cta { --btn-fill: var(--ink); }
.mega-feat-cta:hover { color: var(--on-dark); }

nav#navbar {
  position: sticky; top: 14px; z-index: 100;
  background: transparent;
  border-bottom: none;
  padding: 0 16px;
  margin-bottom: -78px;
}
nav#navbar .container {
  position: relative; display: flex; align-items: center; justify-content: space-between; height: 64px;
  padding: 0 14px 0 24px;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(14px);
  border-radius: 18px;
  box-shadow: 0 8px 30px rgba(11,11,22,.10);
}
.logo {
  font-family: var(--font-heading); font-weight: 900; font-size: 1.5rem;
  letter-spacing: -.04em; color: var(--ink); text-decoration: none;
}
.logo svg { height: 44px; width: auto; display: block; }
.logo .logo-dot { fill: var(--primary); }
.nav-links { display: flex; flex: 1; justify-content: center; gap: 30px; list-style: none; align-items: center; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: .92rem; font-weight: 600; transition: color .2s ease; }
.nav-links a:hover { color: var(--primary); }
.nav-cta {
  flex: none;
  background: var(--primary); color: var(--on-dark) !important;
  padding: 11px 22px; border-radius: 10px;
  font-family: var(--font-heading); font-weight: 900;
  transition: background-color .2s ease, transform .2s ease;
}
.nav-cta:hover { background: var(--primary-dark); transform: translateY(-1px); }
.mobile-menu { display: none; background: none; border: none; cursor: pointer; color: var(--ink); }

.hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 0 24px 110px; color: var(--on-dark);
  background:
    radial-gradient(60% 60% at 18% 18%, rgba(58,255,165,.20), transparent 60%),
    radial-gradient(55% 55% at 86% 24%, rgba(248,189,255,.26), transparent 60%),
    linear-gradient(135deg, var(--primary) 0%, var(--primary) 58%, var(--primary-dark) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(255,255,255,.10) 1px, transparent 1px);
  background-size: 28px 28px; opacity: .5;
}
.hero-full .hero-inner { max-width: var(--maxw); margin: 0 auto; padding-top: 90px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.hero-full .hero-inner h1, .hero-full .hero-inner p { margin-left: auto; margin-right: auto; }
.hero-full .hero-actions { justify-content: center; }
.hero-full .hero-stats { justify-content: center; }
.hero-full .hero-trust { width: 100%; margin-top: 32px; display: flex; justify-content: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,.10); border: 1px solid rgba(58,255,165,.55);
  color: var(--mint); padding: 8px 16px; border-radius: 999px;
  font-family: var(--font-heading); font-weight: 900; font-size: .82rem; letter-spacing: .02em;
}
.hero-badge::before { content: ""; width: 9px; height: 9px; background: var(--mint); border-radius: 50%; }
.hero h1 { color: var(--on-dark); max-width: 16ch; }
.hero h1 em { font-style: normal; color: var(--mint); }
.hero p { color: rgba(255,255,255,.86); font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: 56ch; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.hero-stats { display: flex; gap: 44px; flex-wrap: wrap; margin-top: 40px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.18); }
.hero-stat strong { display: block; font-family: var(--font-heading); font-weight: 900; font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--on-dark); }
.hero-stat span { font-size: .9rem; color: rgba(255,255,255,.78); }

.trust { background: var(--bg); padding: 30px 24px; }
.trust-inner { max-width: var(--maxw); margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 11px; font-size: .92rem; color: var(--muted); font-weight: 600; }
.trust-ic {
  width: 40px; height: 40px; border-radius: 11px; background: var(--primary-soft);
  display: flex; align-items: center; justify-content: center; color: var(--primary);
}
.trust-ic svg { width: 20px; height: 20px; }

.eyebrow { display: inline-block; font-family: var(--font-heading); font-weight: 900; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--primary); margin-bottom: 14px; }
.section-head { max-width: 640px; }
.section-head.center { margin: 0 auto; text-align: center; }
.section-head p { margin-top: 14px; font-size: 1.05rem; }

.services { background: var(--bg); }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 52px; }
.svc-card { display: flex; flex-direction: column; min-height: 290px; padding: 34px 30px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg); text-decoration: none; color: inherit; transition: transform .25s ease, box-shadow .25s ease; }
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.svc-card:nth-child(1) { background: rgba(58,255,165,.16); }
.svc-card:nth-child(2) { background: var(--primary-soft); }
.svc-card:nth-child(4) { background: rgba(248,189,255,.28); }
.svc-card:nth-child(6) { background: var(--primary-soft); }
.svc-card:nth-child(7) { background: rgba(58,255,165,.16); }
.svc-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.svc-card h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); line-height: 1.1; color: var(--ink); }
.svc-badge { flex: none; font-family: var(--font-heading); font-weight: 900; font-size: .64rem; text-transform: uppercase; letter-spacing: .06em; padding: 5px 10px; border-radius: 7px; }
.svc-badge.tech { background: var(--primary-soft); color: var(--primary); }
.svc-card.feat .svc-badge.tech { background: var(--bg); color: var(--primary); }
.svc-badge.link { background: rgba(58,255,165,.28); color: #0a5c3a; }
.svc-badge.content { background: rgba(248,189,255,.45); color: var(--pink-deep); }
.svc-card p { font-size: .94rem; color: var(--muted); }
.svc-more { margin-top: auto; padding-top: 26px; font-family: var(--font-heading); font-weight: 900; font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; }
.svc-more::before { content: ""; width: 30px; height: 2px; background: var(--ink); transform: scaleX(.6); transform-origin: left center; transition: transform .25s ease; }
.svc-card:hover .svc-more::before { transform: scaleX(1); }
.svc-foot { text-align: center; margin-top: 56px; }
.svc-all { font-family: var(--font-heading); font-weight: 900; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--primary); padding-bottom: 4px; transition: color .2s ease; }
.svc-all:hover { color: var(--primary); }
@media (max-width: 1024px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .svc-grid { grid-template-columns: 1fr; } .svc-card { min-height: 0; padding: 30px 26px; } }

.why { background: var(--bg-soft); }
.feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; margin-top: 52px; }
.feat { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .25s ease, box-shadow .25s ease; }
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feat-ic { width: 46px; height: 46px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.feat-ic svg { width: 22px; height: 22px; }
.feat h3 { margin-bottom: 8px; }
.feat p { font-size: .92rem; }

.team { background: var(--bg); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 22px; margin-top: 52px; }
.team-card { background: var(--bg-soft); border-radius: var(--radius-lg); padding: 30px 24px; text-align: center; transition: transform .25s ease, box-shadow .25s ease; }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.team-avatar { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 18px; display: flex; align-items: center; justify-content: center; overflow: hidden; font-family: var(--font-heading); font-weight: 900; font-size: 1.5rem; color: var(--on-dark); background: var(--primary); }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-card:nth-child(2) .team-avatar { background: var(--primary-2); }
.team-card:nth-child(3) .team-avatar { background: var(--ink); }
.team-card:nth-child(4) .team-avatar { background: var(--mint); color: var(--ink); }
.team-card:nth-child(5) .team-avatar { background: var(--pink-deep); }
.team-name { font-family: var(--font-heading); font-weight: 900; font-size: 1.15rem; color: var(--ink); }
.team-role { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--primary); margin: 5px 0 13px; }
.team-bio { font-size: .9rem; color: var(--muted); line-height: 1.6; }
@media (max-width: 768px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .team-grid { grid-template-columns: 1fr; } }

.method { background: var(--bg); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; margin-top: 56px; }
.step { position: relative; }
.step-num { width: 56px; height: 56px; border-radius: 16px; background: var(--ink); color: var(--on-dark); font-family: var(--font-heading); font-weight: 900; font-size: 1.4rem; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.step:nth-child(2) .step-num { background: var(--primary); }
.step:nth-child(3) .step-num { background: var(--primary-2); }
.step:nth-child(4) .step-num { background: var(--mint); color: var(--ink); }
.step h3 { margin-bottom: 8px; }
.step p { font-size: .92rem; }

.results { background: var(--bg); }
.results-grid { display: grid; grid-template-columns: 1.55fr 2fr; gap: 26px; margin-top: 52px; align-items: stretch; }
.result-testi, .result-case { text-decoration: none; color: inherit; }
.result-testi { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--bg); transition: background-color .25s ease; }
.result-testi:hover { background: var(--bg-soft); }
.results-cases { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.rt-text { padding: 40px; display: flex; flex-direction: column; }
.rt-brand { font-family: var(--font-heading); font-weight: 900; font-size: 1.5rem; color: var(--ink); letter-spacing: -.01em; }
.rt-logo { display: block; width: 200px; max-width: 100%; height: 30px; background-color: var(--ink); -webkit-mask: var(--l) left center / contain no-repeat; mask: var(--l) left center / contain no-repeat; }
.rt-quote { margin: 26px 0 auto; font-size: 1.1rem; line-height: 1.5; color: var(--ink); }
.rt-photo { display: block; background: var(--primary-soft); }
.rt-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.result-case { display: flex; flex-direction: column; padding: 36px 32px; border: 1px solid var(--line); border-radius: var(--radius-lg); transition: background-color .25s ease; }
.result-case.dark { border-color: var(--ink); }
.result-case.light { background: var(--primary-soft); }
.result-case.dark { background: var(--ink); color: var(--on-dark); }
.rc-brand { font-family: var(--font-heading); font-size: .82rem; font-weight: 900; text-transform: uppercase; letter-spacing: .01em; color: var(--subtle); }
.result-case.dark .rc-brand { color: rgba(255,255,255,.65); }
.rc-logo { display: block; width: 120px; max-width: 60%; height: 24px; background-color: var(--ink); -webkit-mask: var(--l) left center / contain no-repeat; mask: var(--l) left center / contain no-repeat; }
.result-case.dark .rc-logo { background-color: #fff; }
.rc-metric { font-family: var(--font-heading); font-weight: 900; font-size: clamp(2.6rem, 5vw, 3.6rem); color: var(--ink); line-height: 1; margin: auto 0 8px; display: flex; align-items: baseline; }
.result-case.dark .rc-metric { color: var(--on-dark); }
.rc-metric span { color: var(--primary); }
.result-case.dark .rc-metric span { color: var(--mint); }
.rc-metric small { font-size: .5em; font-weight: 900; margin-left: 2px; }
.rc-label { font-size: .95rem; color: var(--muted); margin-bottom: 22px; }
.result-case.dark .rc-label { color: rgba(255,255,255,.72); }
.rc-fig { font-family: var(--font-heading); font-weight: 900; color: var(--primary); }
.result-case.dark .rc-fig { color: var(--mint); }
.case-more { margin-top: auto; padding-top: 24px; font-family: var(--font-heading); font-weight: 900; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; }
.result-case.dark .case-more { color: var(--on-dark); }
.case-more::before { content: ""; width: 28px; height: 2px; background: currentColor; transform: scaleX(.55); transform-origin: left center; transition: transform .25s ease; }
.result-testi:hover .case-more::before, .result-case:hover .case-more::before { transform: scaleX(1); }

/* Survol carte : barre + libellé "lire plus / en savoir plus / cas client" passent en bleu (prestations, carousel, cas clients) */
.svc-more, .case-more { transition: color .25s ease; }
.svc-more::before { background: currentColor; transition: transform .25s ease, background .25s ease; }
.svc-card:hover .svc-more { color: var(--primary); }
.result-testi:hover .case-more, .result-case:hover .case-more { color: var(--primary); }
.result-case.dark:hover .case-more { color: var(--mint); }
.results-foot { text-align: center; margin-top: 48px; }
.results-all { font-family: var(--font-heading); font-weight: 900; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--primary); padding-bottom: 4px; transition: color .2s ease; }
.results-all:hover { color: var(--primary); }
@media (max-width: 700px) { .results-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .result-testi { grid-template-columns: 1fr; } .rt-photo { min-height: 260px; order: -1; } .rt-text { padding: 32px 26px; } .results-cases { grid-template-columns: 1fr; } }
.vtesti { background: var(--bg-soft); }
.vtesti-carousel { position: relative; max-width: 760px; margin: 44px auto 0; }
.vtesti-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x proximity; scroll-behavior: smooth; scrollbar-width: none; padding: 8px 4px 26px; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 11%, #000 89%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 11%, #000 89%, transparent 100%); }
.vtesti-track::-webkit-scrollbar { display: none; }
.vtesti-card { scroll-snap-align: start; flex: 0 0 clamp(170px, 30%, 210px); aspect-ratio: 9 / 16; border: 0; border-radius: var(--radius-lg); position: relative; overflow: hidden; cursor: pointer; display: flex; align-items: flex-end; padding: 22px; color: var(--on-dark); background: var(--ink); }
.vt-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transition: transform .4s ease; }
.vtesti-card:hover .vt-poster { transform: scale(1.05); }
.vtesti-card::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(11,11,22,0) 38%, rgba(11,11,22,.74)); }
.vt-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 2; width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.92); display: flex; align-items: center; justify-content: center; transition: transform .25s ease; }
.vtesti-card:hover .vt-play { transform: translate(-50%, -50%) scale(1.09); }
.vt-play svg { width: 24px; height: 24px; color: var(--ink); margin-left: 3px; }
.vt-cap { position: relative; z-index: 1; font-family: var(--font-heading); font-weight: 900; font-size: 1.08rem; line-height: 1.15; text-shadow: 0 1px 10px rgba(11,11,22,.45); }
.vt-cap small { display: block; font-family: var(--font-body); font-weight: 600; font-size: .82rem; margin-top: 5px; color: rgba(255,255,255,.85); text-shadow: none; }
.vtesti-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: var(--shadow); transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.vtesti-arrow.prev { left: -10px; }
.vtesti-arrow.next { right: -10px; }
.vtesti-arrow:hover { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.vtesti-arrow svg { width: 22px; height: 22px; }
@media (max-width: 700px) { .vtesti-card { flex-basis: 68%; } }
.expertise { background: var(--bg); }
.expertise-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; max-width: var(--maxw); margin: 0 auto; }
.expertise-text h2 { margin: 14px 0 24px; }
.expertise-text p { color: var(--muted); line-height: 1.7; margin-bottom: 18px; }
.expertise-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.expertise-media { align-self: center; }
.expertise-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 880px) { .expertise-grid { grid-template-columns: 1fr; gap: 38px; } .expertise-media { order: -1; max-width: 460px; } }

.testi { background: var(--bg-soft); }
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; margin-top: 52px; }
.testi-widget { margin-top: 56px; }
.testi-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.testi-stars { color: var(--star); letter-spacing: 3px; margin-bottom: 16px; }
.testi-card blockquote { font-size: .98rem; color: var(--text); line-height: 1.7; }
.testi-author { display: flex; align-items: center; gap: 13px; margin-top: 22px; }
.testi-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: var(--on-dark); display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-weight: 900; font-size: .9rem; }
.testi-name { font-weight: 700; font-size: .92rem; color: var(--ink); }
.testi-role { font-size: .82rem; color: var(--subtle); }

.offers { background: var(--bg); }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 56px; align-items: stretch; }
.plan { position: relative; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px 30px; display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.plan.featured { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.plan.featured h3, .plan.featured .plan-price { color: var(--on-dark); }
.plan.featured p { color: rgba(255,255,255,.78); }
.plan.featured .plan-feats li { color: rgba(255,255,255,.9); }
.plan-flag { position: absolute; top: -13px; left: 30px; background: var(--mint); color: var(--ink); font-family: var(--font-heading); font-weight: 900; font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; padding: 6px 14px; border-radius: 999px; }
.plan h3 { margin-bottom: 6px; }
.plan-sub { font-size: .88rem; color: var(--subtle); margin-bottom: 22px; }
.plan.featured .plan-sub { color: rgba(255,255,255,.6); }
.plan-price { font-family: var(--font-heading); font-weight: 900; font-size: clamp(1.9rem, 3.4vw, 2.5rem); color: var(--ink); line-height: 1; }
.plan-price small { display: block; font-family: var(--font-body); font-weight: 600; font-size: .82rem; color: var(--subtle); margin-top: 8px; }
.plan.featured .plan-price small { color: rgba(255,255,255,.6); }
.plan-feats { list-style: none; margin: 26px 0; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.plan-feats li { font-size: .9rem; color: var(--text); display: flex; align-items: flex-start; gap: 10px; }
.plan-feats li svg { flex: none; width: 18px; height: 18px; color: var(--mint-deep); margin-top: 2px; }
.plan.featured .plan-feats li svg { color: var(--mint); }
.plan .btn { width: 100%; }

.calc { background: var(--bg-soft); }
.calc-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 36px; margin-top: 52px; align-items: start; }
.calc-controls { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; gap: 26px; }
.calc-field { display: flex; flex-direction: column; gap: 12px; }
.calc-label { font-family: var(--font-heading); font-weight: 900; font-size: .92rem; color: var(--ink); }
.calc-label strong { color: var(--primary); }
.calc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.calc-chips label { position: relative; display: block; }
.calc-chips input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.calc-chips span { display: block; padding: 9px 16px; border: 1.5px solid var(--line); border-radius: 999px; font-size: .88rem; font-weight: 600; color: var(--muted); cursor: pointer; transition: border-color .2s ease, background-color .2s ease, color .2s ease; }
.calc-chips input:checked + span { border-color: var(--primary); background: var(--primary-soft); color: var(--primary); }
.calc-chips input:focus-visible + span { outline: 2px solid var(--primary); outline-offset: 2px; }
.calc-hint { font-size: .78rem; color: var(--subtle); }
.calc-range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px; background: var(--line); cursor: pointer; }
.calc-range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--primary); border: 3px solid var(--bg); box-shadow: var(--shadow); cursor: pointer; }
.calc-range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--primary); border: 3px solid var(--bg); cursor: pointer; }
.calc-range-scale { display: flex; justify-content: space-between; font-size: .78rem; color: var(--subtle); }
.calc-result { position: sticky; top: 90px; background: var(--ink); color: var(--on-dark); border-radius: var(--radius-lg); padding: 34px; display: flex; flex-direction: column; }
.calc-result-label { font-family: var(--font-heading); font-weight: 900; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--mint); }
.calc-total { font-family: var(--font-heading); font-weight: 900; font-size: clamp(2.6rem, 6vw, 3.6rem); line-height: 1; color: var(--on-dark); margin: 10px 0 6px; }
.calc-result-sub { font-size: .88rem; color: rgba(255,255,255,.7); }
.calc-breakdown { list-style: none; margin: 24px 0; display: flex; flex-direction: column; gap: 10px; border-top: 1px solid rgba(255,255,255,.14); padding-top: 20px; }
.calc-breakdown li { display: flex; justify-content: space-between; gap: 12px; font-size: .9rem; color: rgba(255,255,255,.82); }
.calc-breakdown li span:last-child { font-weight: 700; color: var(--on-dark); white-space: nowrap; }
.calc-result .btn { width: 100%; }
.calc-note { font-size: .76rem; color: rgba(255,255,255,.55); margin-top: 14px; }
@media (max-width: 860px) {
  .calc-grid { grid-template-columns: 1fr; }
  .calc-result { position: static; }
}
.calc-more { text-align: center; margin-top: 28px; }

.sim-card { max-width: 1200px; margin: 52px auto 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg); color: var(--text); overflow: hidden; box-shadow: var(--shadow); }
.sim-slider-panel { padding: 44px 36px 36px; background: linear-gradient(180deg, var(--bg-soft), transparent); border-bottom: 1px solid var(--line); }
.sim-slider-head { text-align: center; margin-bottom: 28px; }
.sim-slider-head .eyebrow { color: var(--primary); }
.sim-slider-head h2 { color: var(--ink); font-size: clamp(1.3rem, 3vw, 1.8rem); }
.sim-effort { text-align: center; margin-bottom: 24px; }
.sim-effort-value { font-family: var(--font-heading); font-weight: 900; font-size: clamp(3.4rem, 11vw, 5.4rem); line-height: 1; color: var(--primary); }
.sim-effort-unit { font-size: 1rem; font-weight: 600; color: var(--subtle); margin-left: 8px; }
.sim-slider-wrap { position: relative; height: 40px; display: flex; align-items: center; max-width: 760px; margin: 0 auto; }
.sim-track { position: absolute; width: 100%; height: 5px; border-radius: 999px; background: var(--line); }
.sim-fill { position: absolute; height: 5px; border-radius: 999px; background: var(--primary); pointer-events: none; }
.sim-range { -webkit-appearance: none; appearance: none; width: 100%; height: 5px; background: transparent; position: relative; z-index: 2; cursor: pointer; }
.sim-range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--bg); border: 4px solid var(--primary); box-shadow: 0 2px 8px rgba(11,11,22,.18); cursor: pointer; transition: transform .15s ease; }
.sim-range::-webkit-slider-thumb:hover { transform: scale(1.12); }
.sim-range::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--bg); border: 4px solid var(--primary); cursor: pointer; }
.sim-scale { display: flex; justify-content: space-between; max-width: 760px; margin: 12px auto 0; font-size: .78rem; color: var(--subtle); }
.sim-effort--sub { margin-top: 30px; margin-bottom: 16px; }
.sim-effort-value--sub { font-size: clamp(2.2rem, 6vw, 3.2rem); color: var(--ink); }
.sim-phase { max-width: 760px; margin: 24px auto 0; font-size: .88rem; line-height: 1.55; color: var(--muted); text-align: center; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 15px 20px; }
.sim-phase strong { color: var(--ink); }
.sim-metrics { display: grid; grid-template-columns: repeat(3, 1fr); }
.sim-metric { padding: 26px 18px; text-align: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sim-metric:nth-child(3n) { border-right: none; }
.sim-metric:nth-child(n+4) { border-bottom: none; }
.sim-metric-dot { width: 10px; height: 10px; border-radius: 50%; margin: 0 auto 14px; }
.sim-metric:nth-child(1) .sim-metric-dot { background: var(--mint-deep); }
.sim-metric:nth-child(2) .sim-metric-dot { background: var(--primary-2); }
.sim-metric:nth-child(3) .sim-metric-dot { background: var(--star); }
.sim-metric:nth-child(4) .sim-metric-dot { background: var(--pink-deep); }
.sim-metric:nth-child(5) .sim-metric-dot { background: var(--mint-deep); }
.sim-metric:nth-child(6) .sim-metric-dot { background: var(--primary-2); }
.sim-metric-val { font-family: var(--font-heading); font-weight: 900; font-size: clamp(1.4rem, 3vw, 1.9rem); color: var(--ink); margin-bottom: 4px; }
.sim-metric-lbl { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--subtle); }
.sim-panels { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.sim-panel { padding: 32px 30px; }
.sim-panel:first-child { border-right: 1px solid var(--line); }
.sim-panel-label { font-family: var(--font-heading); font-weight: 900; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--subtle); margin-bottom: 20px; }
.svc-list { display: flex; flex-direction: column; gap: 3px; }
.svc { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 9px; font-size: .88rem; font-weight: 600; transition: color .3s ease, opacity .3s ease; }
.svc.on { color: var(--text); }
.svc.off { color: var(--muted); opacity: .45; }
.svc-dot { flex: none; width: 7px; height: 7px; border-radius: 50%; transition: background-color .3s ease; }
.svc.on .svc-dot { background: var(--mint-deep); }
.svc.off .svc-dot { background: var(--line); }
.svc-tag { margin-left: auto; font-size: .72rem; font-weight: 700; color: var(--subtle); }
.tl-list { display: flex; flex-direction: column; gap: 12px; }
.tl-item { display: flex; gap: 14px; align-items: flex-start; padding: 12px; border-radius: 11px; border: 1px solid transparent; transition: opacity .35s ease, background-color .35s ease, border-color .35s ease; }
.tl-item.active { background: var(--bg-soft); border-color: var(--line); }
.tl-item.inactive { opacity: .4; }
.tl-num { flex: none; width: 34px; height: 34px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-weight: 900; font-size: .9rem; transition: background-color .35s ease, color .35s ease; }
.tl-item.active .tl-num { background: var(--primary); color: var(--on-dark); }
.tl-item.inactive .tl-num { background: var(--bg-alt); color: var(--subtle); }
.tl-period { font-family: var(--font-heading); font-weight: 900; font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--primary); margin-bottom: 2px; }
.tl-item.inactive .tl-period { color: var(--subtle); }
.tl-title { font-size: .92rem; font-weight: 700; color: var(--ink); }
.tl-desc { font-size: .82rem; color: var(--muted); margin-top: 2px; }
.sim-cta { border-top: 1px solid var(--line); padding: 24px 30px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; background: var(--bg-soft); }
.sim-cta-text { font-size: .92rem; color: var(--muted); }
.sim-cta-text strong { color: var(--ink); font-weight: 700; }
.sim-note { max-width: var(--maxw); margin: 18px auto 0; font-size: .78rem; color: var(--subtle); text-align: center; }
@media (max-width: 768px) {
  .sim-metrics { grid-template-columns: repeat(2, 1fr); }
  .sim-metric:nth-child(3n) { border-right: 1px solid var(--line); }
  .sim-metric:nth-child(n+4) { border-bottom: 1px solid var(--line); }
  .sim-metric:nth-child(2n) { border-right: none; }
  .sim-metric:nth-child(n+5) { border-bottom: none; }
  .sim-panels { grid-template-columns: 1fr; }
  .sim-panel:first-child { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
  .sim-cta { flex-direction: column; text-align: center; }
}

.has-mega { position: static; }
.mega-trigger { display: inline-flex; align-items: center; gap: 6px; background: none; border: none; cursor: pointer; font-family: var(--font-body); font-size: .92rem; font-weight: 600; color: var(--muted); padding: 0; transition: color .2s ease; }
.mega-trigger:hover, .has-mega.open .mega-trigger { color: var(--primary); }
.mega-caret { opacity: .65; transition: transform .25s cubic-bezier(.4,0,.2,1); }
.has-mega.open .mega-caret { transform: rotate(180deg); }
.mega-panel { position: absolute; top: calc(100% + 14px); left: 50%; width: min(1240px, calc(100vw - 40px)); background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 16px; overflow: hidden; opacity: 0; visibility: hidden; transform: translateX(-50%) translateY(8px); transition: opacity .25s cubic-bezier(.4,0,.2,1), transform .25s cubic-bezier(.4,0,.2,1), visibility .25s; z-index: 120; }
.has-mega.open .mega-panel { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega-inner { display: grid; grid-template-columns: repeat(4, 1fr) 1.05fr; gap: 14px; }
.mega-col { background: var(--bg-soft); border-radius: 12px; padding: 18px 16px; }
.mega-title { display: block; font-family: var(--font-heading); font-weight: 900; font-size: .68rem; text-transform: uppercase; letter-spacing: 0px; color: var(--primary); margin-bottom: 14px; }
.mega-title a { color: inherit; text-decoration: none; transition: opacity .2s ease; }
.mega-title a:hover { opacity: .65; }
.mega-col ul { list-style: none; display: flex; flex-direction: column; gap: 1px; }
.mega-col li a { display: block; padding: 8px 10px; border-radius: 8px; font-size: .88rem; font-weight: 600; color: var(--text); text-decoration: none; transition: background-color .18s ease, color .18s ease; }
.mega-col li a:hover { background: var(--primary); color: var(--on-dark); }
.mega-featured { background: var(--ink); color: var(--on-dark); border-radius: 12px; padding: 18px 16px; display: flex; flex-direction: column; gap: 12px; }
.mega-feat-badge { align-self: flex-start; font-family: var(--font-heading); font-weight: 900; font-size: .64rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink); background: var(--mint); padding: 3px 9px; border-radius: 5px; }
.mega-feat-title { font-family: var(--font-heading); font-weight: 900; font-size: 1.02rem; color: var(--on-dark); line-height: 1.25; }
.mega-feat-desc { font-size: .8rem; color: rgba(255,255,255,.7); line-height: 1.5; flex: 1; }
.mega-feat-cta { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; background: var(--mint); color: var(--ink); font-family: var(--font-heading); font-weight: 900; font-size: .8rem; padding: 9px 14px; border-radius: 9px; text-decoration: none; transition: transform .2s ease; }
.mega-feat-cta:hover { transform: translateY(-1px); }
.mega-feat-cta svg { width: 14px; height: 14px; }
@media (min-width: 769px) {
  .has-mega:hover .mega-panel, .has-mega:focus-within .mega-panel { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
  .has-mega:hover .mega-caret, .has-mega:focus-within .mega-caret { transform: rotate(180deg); }
}
@media (max-width: 1000px) {
  .mega-inner { grid-template-columns: repeat(4, 1fr); }
  .mega-featured { display: none; }
}
@media (max-width: 768px) {
  .mega-trigger { width: 100%; justify-content: space-between; padding: 8px 0; color: var(--ink); font-weight: 700; }
  .mega-panel { position: static; transform: none; width: auto; background: none; border: none; border-radius: 0; box-shadow: none; padding: 0; opacity: 1; visibility: hidden; height: 0; overflow: hidden; z-index: auto; }
  .has-mega.open .mega-panel { visibility: visible; height: auto; padding: 4px 0 12px; }
  .mega-inner { grid-template-columns: 1fr; gap: 10px; }
  .mega-col { padding: 14px 16px; }
  .mega-col li a { padding: 9px 10px; }
  .mega-featured { display: none; }
}

.msb-overlay { position: fixed; inset: 0; background: rgba(11,11,22,.5); z-index: 1099; opacity: 0; visibility: hidden; transition: opacity .28s ease, visibility .28s ease; }
.msb-overlay.is-open { opacity: 1; visibility: visible; }
.msb { position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 100vw); background: var(--bg); z-index: 1100; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .28s cubic-bezier(.4,0,.2,1); box-shadow: -10px 0 40px rgba(11,11,22,.18); }
.msb.is-open { transform: translateX(0); }
.msb-head { display: flex; align-items: center; gap: 8px; height: 70px; padding: 0 14px; border-bottom: 1px solid var(--line); flex: none; }
.msb-back { display: none; align-items: center; gap: 4px; background: none; border: none; cursor: pointer; font-family: var(--font-body); font-size: .9rem; font-weight: 600; color: var(--muted); padding: 6px 8px; border-radius: 8px; }
.msb-back.is-visible { display: inline-flex; }
.msb-back svg { width: 16px; height: 16px; }
.msb-crumb { flex: 1; font-family: var(--font-heading); font-weight: 900; font-size: 1.05rem; color: var(--ink); }
.msb-close { background: none; border: none; cursor: pointer; color: var(--ink); padding: 6px; display: flex; }
.msb-close svg { width: 22px; height: 22px; }
.msb-panels { position: relative; flex: 1; overflow: hidden; }
.msb-panel { position: absolute; inset: 0; overflow-y: auto; padding: 10px 0; transform: translateX(100%); transition: transform .28s cubic-bezier(.4,0,.2,1); background: var(--bg); }
.msb-panel.is-active { transform: translateX(0); }
.msb-panel.is-prev { transform: translateX(-28%); }
.msb-link, .msb-drill { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; background: none; border: none; text-align: left; cursor: pointer; font-family: var(--font-body); font-size: .98rem; font-weight: 600; color: var(--text); text-decoration: none; transition: background-color .15s ease; }
.msb-link:hover, .msb-drill:hover { background: var(--bg-soft); }
.msb-drill svg { width: 18px; height: 18px; color: var(--primary); flex: none; }
.msb-foot { padding: 16px; border-top: 1px solid var(--line); flex: none; }
.msb-foot .btn { width: 100%; }
@media (min-width: 769px) { .msb, .msb-overlay { display: none; } }

.logos-section { background: var(--bg-soft); padding: 64px 24px; }
.logos-section .section-label { display: block; text-align: center; font-family: var(--font-heading); font-weight: 900; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: var(--subtle); margin-bottom: 30px; }
.logos-band { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, var(--bg) 12%, var(--bg) 88%, transparent); mask-image: linear-gradient(90deg, transparent, var(--bg) 12%, var(--bg) 88%, transparent); }
.logos-track { display: flex; gap: 56px; width: max-content; animation: marquee 28s linear infinite; }
.logo-item { flex: 0 0 auto; width: 138px; height: 40px; background-color: var(--primary); -webkit-mask: var(--l) center / contain no-repeat; mask: var(--l) center / contain no-repeat; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.faq { background: var(--bg); }
.faq-grid { display: grid; grid-template-columns: .85fr 1.25fr; gap: 56px; align-items: start; max-width: var(--maxw); margin: 0 auto; }
.faq-head { position: sticky; top: 110px; }
.faq-head h2 { margin: 14px 0 18px; }
.faq-head > p { color: var(--muted); line-height: 1.6; margin-bottom: 26px; }
.faq-list { margin: 0; }
@media (max-width: 880px) { .faq-grid { grid-template-columns: 1fr; gap: 32px; } .faq-head { position: static; } }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; background: none; border: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; text-align: left; padding: 24px 0; font-family: var(--font-heading); font-weight: 900; font-size: 1.05rem; color: var(--ink); }
.faq-q::after { content: "+"; font-size: 1.6rem; color: var(--primary); transition: transform .3s ease; flex: none; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding-bottom: 24px; font-size: .96rem; line-height: 1.75; }

.cta-band { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%); color: var(--on-dark); text-align: center; }
.cta-band h2 { color: var(--on-dark); max-width: 18ch; margin: 0 auto; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 52ch; margin: 18px auto 32px; font-size: 1.08rem; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

footer { background: var(--primary); color: rgba(255,255,255,.92); padding: 72px 24px 32px; }
.footer-grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.9fr 1fr 1fr 1fr 1.2fr; gap: 44px; }
.footer-address { font-style: normal; font-size: .9rem; line-height: 1.7; color: rgba(255,255,255,.88); }
.footer-address strong { display: block; margin-bottom: 4px; color: var(--on-dark); font-weight: 700; }
.footer-brand .logo { color: var(--on-dark); }
.footer-brand .logo svg { height: 27px; }
.footer-brand .logo .logo-dot { fill: var(--mint); }
.footer-brand p { font-size: .9rem; margin-top: 14px; line-height: 1.7; color: rgba(255,255,255,.88); max-width: 32ch; }
.footer-tel { display: inline-flex; align-items: center; gap: 9px; margin-top: 16px; padding: 11px 18px; border-radius: 10px; background: var(--ink); color: var(--on-dark); font-family: var(--font-heading); font-weight: 900; font-size: 1.05rem; text-decoration: none; transition: transform .2s ease, background-color .2s ease; }
.footer-tel:hover { transform: translateY(-1px); }
.footer-tel svg { width: 18px; height: 18px; }
.footer-news { margin-top: 24px; }
.footer-news-label { display: block; font-size: .85rem; font-weight: 700; color: rgba(255,255,255,.92); margin-bottom: 11px; }
.footer-news-form { display: flex; gap: 8px; max-width: 340px; flex-wrap: wrap; }
.footer-news-form input { flex: 1; min-width: 170px; padding: 12px 14px; border: 1px solid transparent; border-radius: 10px; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: .9rem; transition: box-shadow .2s ease; }
.footer-news-form input::placeholder { color: var(--subtle); }
.footer-news-form input:focus { outline: none; box-shadow: 0 0 0 3px rgba(58,255,165,.5); }
.footer-news-form .btn { padding: 12px 18px; min-height: 0; }
.footer-news-ok { font-size: .9rem; font-weight: 700; color: var(--mint); }
.footer-social { display: flex; gap: 12px; margin-top: 22px; }
.social-link { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.8); cursor: pointer; transition: background-color .2s ease, color .2s ease, transform .2s ease; }
.social-link:hover { background: var(--mint); color: var(--ink); transform: translateY(-2px); }
.social-link svg { width: 19px; height: 19px; }
.footer-title { display: block; color: var(--on-dark); font-family: var(--font-heading); font-weight: 900; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 18px; }
footer ul { list-style: none; }
footer li { margin-bottom: 11px; }
footer li a { color: rgba(255,255,255,.9); text-decoration: none; font-size: .9rem; transition: color .2s ease; }
footer li a:hover { color: var(--on-dark); }
.footer-bottom { max-width: var(--maxw); margin: 48px auto 0; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.22); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; font-size: .84rem; color: rgba(255,255,255,.85); }
.footer-bottom a { color: rgba(255,255,255,.9); text-decoration: underline; }
.footer-bottom a:hover { color: var(--on-dark); }

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-top: 100px;
  padding-bottom: 52px;
}
/* Hero avec hero-split : le conteneur ne rajoute pas son padding-bottom (le hero-split le gère) — réduit le vide bleu en bas */
.hero:has(.hero-split) { padding-bottom: 0; }
.hero-split-text { display: flex; flex-direction: column; gap: 22px; }
.hero-split-text h1 { color: var(--on-dark); }
.hero-split-text .eyebrow { color: var(--mint); }
.hero-split-text p { color: rgba(255,255,255,.86); font-size: clamp(1.05rem, 1.5vw, 1.2rem); }
.hero-split-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-svg-wrap {
  width: 100%;
  max-width: 460px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  padding: 32px;
}
.hero-svg-wrap svg { display: block; width: 100%; height: auto; }
@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; gap: 36px; padding-top: 110px; padding-bottom: 60px; }
  .hero-split-visual { order: 1; max-width: 400px; margin: 0 auto; }
}
@media (max-width: 768px) {
  /* Dès 768px, le wrapper .hero fournit déjà 92px de padding-top (dégagement navbar sticky) :
     le hero-split ne rajoute qu'un petit padding pour éviter le cumul (sinon 92+110=202px de vide). */
  .hero-split { padding-top: 25px; padding-bottom: 48px; }
}
@media (max-width: 480px) {
  .hero-svg-wrap { padding: 20px; }
}

.page-head { padding: 130px 24px 64px; background: var(--bg-soft); }
.page-head-inner { max-width: var(--maxw); margin: 0 auto; }
.breadcrumb { font-size: .85rem; color: var(--subtle); margin-bottom: 16px; }
.breadcrumb a { color: var(--primary); text-decoration: none; }
.page-head h1 { font-size: clamp(2rem, 4vw, 3rem); }
.page-head p { margin-top: 12px; font-size: 1.05rem; max-width: 60ch; }

.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { margin: 40px 0 16px; }
.prose h3 { margin: 28px 0 10px; }
.prose p { margin-bottom: 16px; }
.prose ul { margin: 0 0 16px 22px; }
.prose li { margin-bottom: 8px; color: var(--muted); }
.prose table { width: 100%; border-collapse: collapse; margin: 16px 0 28px; font-size: .92rem; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.prose th { background: var(--bg-soft); font-family: var(--font-heading); font-weight: 900; color: var(--ink); }

/* Section éditoriale texte seul : titre sticky à gauche + prose à droite (comble le vide bas-gauche) */
.section-inner:has(> .section-head):has(> .prose) {
  display: grid;
  grid-template-columns: minmax(220px, .78fr) minmax(0, 1.4fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.section-inner:has(> .section-head):has(> .prose) > .section-head { position: sticky; top: 96px; max-width: none; margin: 0; }
.section-inner:has(> .section-head):has(> .prose) > .prose { margin: 0; max-width: none; }
@media (max-width: 900px) {
  .section-inner:has(> .section-head):has(> .prose) { display: block; }
  .section-inner:has(> .section-head):has(> .prose) > .section-head { position: static; margin-bottom: 26px; }
}

/* .ps-photo contenant une carte (pas une image) : pas de ratio image, taille au contenu (supprime le vide) */
.ps-photo:has(.svc-card) { aspect-ratio: auto; background: transparent; overflow: visible; }

/* Avatars d'équipe flottants dans les heros de prestation (2 par page, positions variées) */
.hero-svg-wrap:has(.hero-expert) { position: relative; overflow: visible; }
.hero-expert { position: absolute; z-index: 3; width: 60px; height: 60px; animation: hero-float 5.5s ease-in-out infinite; }
.hero-expert:hover { z-index: 8; animation-play-state: paused; }
.hep-img { position: relative; z-index: 9; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 1.5px solid rgba(255,255,255,.55); box-shadow: 0 12px 30px rgba(0,0,0,.24); display: block; cursor: default; transition: transform .3s ease, border-color .25s ease; }
.hero-expert:hover .hep-img { transform: scale(1.14); border-color: var(--mint); border-width: 2px; }

/* Labels compétences radiaux (un par mot, tout autour), révélés au survol avec un trait mint */
.hep-label { position: absolute; background: #fff; color: var(--ink); font-family: var(--font-heading); font-weight: 800; font-size: .66rem; letter-spacing: .01em; white-space: nowrap; padding: 5px 11px; border-radius: 20px; box-shadow: 0 8px 22px rgba(0,0,0,.22); opacity: 0; visibility: hidden; transition: opacity .28s ease, transform .28s ease; z-index: 8; }
.hep-label::before { content: ""; position: absolute; background: var(--mint); transition: transform .28s ease; }
.hep-label--name { color: var(--primary); font-weight: 900; }
/* haut (nom) */
.hep-label--name { left: 50%; bottom: calc(100% + 20px); transform: translateX(-50%) translateY(8px); }
.hep-label--name::before { left: 50%; top: 100%; width: 2px; height: 20px; transform: translateX(-50%) scaleY(0); transform-origin: top; }
/* droite */
.hep-label--0 { left: calc(100% + 20px); top: 50%; transform: translateY(-50%) translateX(-8px); }
.hep-label--0::before { right: 100%; top: 50%; height: 2px; width: 20px; transform: translateY(-50%) scaleX(0); transform-origin: right; }
/* bas */
.hep-label--1 { left: 50%; top: calc(100% + 20px); transform: translateX(-50%) translateY(-8px); }
.hep-label--1::before { left: 50%; bottom: 100%; width: 2px; height: 20px; transform: translateX(-50%) scaleY(0); transform-origin: bottom; }
/* gauche */
.hep-label--2 { right: calc(100% + 20px); top: 50%; transform: translateY(-50%) translateX(8px); }
.hep-label--2::before { left: 100%; top: 50%; height: 2px; width: 20px; transform: translateY(-50%) scaleX(0); transform-origin: left; }
.hero-expert:hover .hep-label { opacity: 1; visibility: visible; }
.hero-expert:hover .hep-label--name { transform: translateX(-50%) translateY(0); }
.hero-expert:hover .hep-label--0 { transform: translateY(-50%) translateX(0); transition-delay: .05s; }
.hero-expert:hover .hep-label--1 { transform: translateX(-50%) translateY(0); transition-delay: .1s; }
.hero-expert:hover .hep-label--2 { transform: translateY(-50%) translateX(0); transition-delay: .15s; }
.hero-expert:hover .hep-label--name::before, .hero-expert:hover .hep-label--1::before { transform: translateX(-50%) scaleY(1); }
.hero-expert:hover .hep-label--0::before, .hero-expert:hover .hep-label--2::before { transform: translateY(-50%) scaleX(1); }
.hero-expert--a { top: -20px; left: -20px; animation-delay: 0s; }
.hero-expert--b { bottom: -20px; right: -20px; animation-delay: 1.4s; }
/* Variantes de placement (diagonale inverse, bords, milieux) — variées selon les pages */
.hero-svg-wrap.exp-v2 .hero-expert--a { top: -20px; right: -20px; left: auto; }
.hero-svg-wrap.exp-v2 .hero-expert--b { bottom: -20px; left: -20px; right: auto; }
.hero-svg-wrap.exp-v3 .hero-expert--a { top: -20px; left: -20px; }
.hero-svg-wrap.exp-v3 .hero-expert--b { top: 44%; right: -22px; bottom: auto; left: auto; }
.hero-svg-wrap.exp-v4 .hero-expert--a { top: 40%; left: -22px; bottom: auto; }
.hero-svg-wrap.exp-v4 .hero-expert--b { bottom: -20px; right: -20px; }
@keyframes hero-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@media (max-width: 900px) { .hero-svg-wrap .hero-expert { width: 48px; height: 48px; } }
@media (prefers-reduced-motion: reduce) { .hero-expert { animation: none; } }
.ps-photo .svc-card { padding: clamp(32px, 3.5vw, 48px); }
.ps-photo .svc-card h3 { margin-bottom: 22px; }
.ps-photo .svc-card ul { margin-top: 0; }

.contact-grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.contact-info h3 { margin-bottom: 14px; }
.contact-info p { font-size: .96rem; margin-bottom: 22px; }
.contact-line { display: flex; align-items: center; gap: 13px; margin-bottom: 16px; font-size: .94rem; color: var(--text); }
.contact-line .trust-ic { flex: none; }
.form-card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .86rem; font-weight: 700; color: var(--ink); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 11px;
  font-family: var(--font-body); font-size: .96rem; color: var(--text); background: var(--bg);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.field textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: .78rem; color: var(--subtle); margin-top: 14px; }
.form-status { margin-top: 16px; font-size: .92rem; font-weight: 700; }
.hp { position: absolute; left: -9999px; opacity: 0; }

/* Formulaire devis (simulateur -> envoi email) */
.sim-cta:has(.devis-form) { align-items: flex-start; }
.devis-form { width: 100%; }
.devis-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.devis-field { display: flex; flex-direction: column; gap: 6px; text-align: left; }
.devis-field--full { grid-column: 1 / -1; }
.devis-field span { font-size: .82rem; font-weight: 700; color: var(--ink); }
.devis-field em { color: var(--pink-deep); font-style: normal; }
.devis-field input, .devis-field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 11px;
  font-family: var(--font-body); font-size: .95rem; color: var(--text); background: var(--bg);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.devis-field input:focus, .devis-field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.devis-field textarea { resize: vertical; min-height: 60px; }
.devis-consent { display: flex; align-items: flex-start; gap: 9px; margin-top: 14px; font-size: .82rem; color: var(--muted); text-align: left; line-height: 1.5; }
.devis-consent input { margin-top: 2px; flex: none; accent-color: var(--primary); }
.devis-consent a { color: var(--primary); text-decoration: underline; }
.devis-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
@media (max-width: 640px) {
  .devis-grid { grid-template-columns: 1fr; }
  .devis-actions { flex-direction: column; }
  .devis-actions .btn { width: 100%; justify-content: center; }
}

.blog-grid { max-width: var(--maxw); margin: 52px auto 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 26px; }
.blog-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.blog-card-img { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--bg-soft); }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-cat { position: absolute; top: 16px; left: 16px; }
.blog-card-body { padding: 24px; }
.blog-card-meta { font-size: .8rem; color: var(--subtle); margin-bottom: 10px; }
.blog-card-title { font-size: 1.15rem; margin-bottom: 10px; letter-spacing: .04em; }
.blog-card-title a { color: var(--primary); text-decoration: none; transition: color .2s ease; }
.blog-card-title a:hover { color: var(--primary-dark); }
.blog-card-excerpt { font-size: .92rem; color: var(--muted); }
.blog-empty { max-width: 620px; margin: 52px auto 0; padding: 44px 24px 8px; text-align: center; }
.blog-empty-badge { display: inline-block; margin-bottom: 18px; }
.blog-empty-title { font-family: var(--font-heading); font-weight: 900; font-size: clamp(1.5rem, 3.4vw, 2.1rem); color: var(--ink); margin: 0 0 14px; }
.blog-empty-text { font-size: 1rem; line-height: 1.65; color: var(--muted); margin: 0; }

.newsletter { position: relative; overflow: hidden; background: linear-gradient(140deg, var(--primary-soft) 0%, #fff 62%); border: none; border-radius: var(--radius-lg); padding: clamp(40px, 5vw, 60px); text-align: center; max-width: 760px; margin: 64px auto 0; box-shadow: 0 24px 60px rgba(10,0,255,.10); }
.newsletter::before { content: ""; position: absolute; top: -42%; right: -8%; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(58,255,165,.28), transparent 70%); z-index: 0; pointer-events: none; }
.newsletter > * { position: relative; z-index: 1; }
.newsletter h3 { margin-bottom: 10px; }
.newsletter p { margin-bottom: 24px; }
.newsletter-form { display: flex; gap: 12px; max-width: 480px; margin: 0 auto; flex-wrap: wrap; }
.newsletter-form input { flex: 1; min-width: 200px; padding: 15px 18px; border: 1.5px solid transparent; border-radius: 12px; background: #fff; box-shadow: 0 6px 18px rgba(10,0,255,.07); font-family: var(--font-body); font-size: .96rem; transition: box-shadow .2s ease, border-color .2s ease; }
.newsletter-form input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }

/* Sections VISIBLES par défaut (opacity:1) — jamais de contenu caché même si le JS lâche.
   L'effet reveal (fondu + glissement) se joue quand le JS ajoute .in au scroll. */
.reveal { opacity: 1; transform: none; }
.reveal.in { animation: fade-up .7s cubic-bezier(.22,1,.36,1); }
@keyframes fade-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .mobile-menu { display: block; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: var(--bg); padding: 20px 24px; gap: 16px; box-shadow: var(--shadow); border-bottom: 1px solid var(--line); }
  .section { padding: 64px 22px; }
  .hero { padding: 92px 22px 72px; }
  .hero-full .hero-inner { padding-top: 6px; }
  .hero-stats { gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .btn { min-height: 48px; }
  .testi-card blockquote { font-size: .9rem; -webkit-line-clamp: 6; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .trust-inner { gap: 18px; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
}

.geo { background: var(--bg-soft); }
.geo-visual { display: block; width: 100%; max-width: 1080px; height: auto; margin: 40px auto 0; }

.method-carousel { margin-top: 40px; }
.method-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.method-tab { font-family: var(--font-heading); font-weight: 900; font-size: .76rem; text-transform: uppercase; letter-spacing: .04em; padding: 11px 22px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--bg); color: var(--muted); cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.method-tab:hover { border-color: var(--primary); color: var(--primary); }
.method-tab.active { background: var(--primary); color: var(--on-dark); border-color: var(--primary); }
.method-track { display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 8px calc((100% - min(880px, 86vw)) / 2) 28px; }
.method-track::-webkit-scrollbar { display: none; }
.method-slide { scroll-snap-align: center; flex: 0 0 min(880px, 86vw); background: #fff; box-shadow: 0 18px 50px rgba(10,0,255,.07); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 48px 52px; opacity: .38; transform: scale(.95); transition: opacity .4s ease, transform .4s ease; }
.method-slide.active { opacity: 1; transform: scale(1); }
.method-slide h3 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 10px; }
.method-sub { font-size: 1.05rem; color: var(--muted); margin-bottom: 28px; }
.method-points { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 32px; margin-bottom: 28px; }
.method-points li { display: flex; align-items: flex-start; gap: 11px; font-size: .96rem; color: var(--text); }
.method-points li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 7px; border-radius: 50%; background: var(--mint-deep); }
.method-goal { position: relative; overflow: hidden; z-index: 0; font-size: .98rem; font-weight: 700; color: var(--ink); border-radius: 14px; padding: 18px 22px; margin-top: 24px; transition: color .4s ease .12s; }
.method-goal::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--primary); transform: scaleY(0) skewY(-8deg); transform-origin: bottom; transition: transform .5s cubic-bezier(.4,0,.2,1); }
.method-goal span { color: var(--primary); transition: color .4s ease .12s; }
.method-slide.active .method-goal { color: #fff; }
.method-slide.active .method-goal::before { transform: scaleY(1) skewY(0deg); }
.method-slide.active .method-goal span { color: var(--mint); }
@media (max-width: 600px) { .method-points { grid-template-columns: 1fr; } .method-track { gap: 18px; } .method-slide { padding: 28px 22px; } }

.roadmap { background-color: var(--bg-soft); background-image: linear-gradient(rgba(10,0,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(10,0,255,.05) 1px, transparent 1px); background-size: 74px 74px; }
.roadmap-grid { display: grid; grid-template-columns: 1.3fr .85fr; gap: 64px; align-items: start; max-width: var(--maxw); margin: 0 auto; }
.roadmap-steps { position: relative; display: flex; flex-direction: column; gap: 10px; }
.roadmap-steps::before { content: ""; position: absolute; left: 18px; top: 32px; bottom: 32px; width: 2px; background: var(--line); }
.rm-step { display: grid; grid-template-columns: 38px 1fr; gap: 16px; align-items: center; }
.rm-node { width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: var(--on-dark); display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-weight: 900; font-size: .92rem; position: relative; z-index: 1; }
.rm-card { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: 14px; }
.rm-card .rm-ic { width: 34px; height: 34px; border-radius: 9px; background: rgba(11,11,22,.10); color: var(--ink); display: flex; align-items: center; justify-content: center; flex: none; }
.rm-card .rm-ic svg { width: 18px; height: 18px; }
.rm-body { display: flex; align-items: center; gap: 14px; flex: 1; flex-wrap: wrap; }
.rm-label { font-family: var(--font-heading); font-weight: 900; font-size: .98rem; color: var(--ink); letter-spacing: -.01em; }
.rm-dur { margin-left: auto; font-weight: 700; font-size: .8rem; color: var(--ink); opacity: .6; white-space: nowrap; padding-left: 12px; }
.rm-step.c1 .rm-card { background: rgba(10,0,255,.10); }
.rm-step.c2 .rm-card { background: rgba(58,255,165,.28); }
.rm-step.c3 .rm-card { background: rgba(248,189,255,.42); }
.rm-step.c4 .rm-card { background: rgba(90,60,255,.16); }
.rm-step.c5 .rm-card { background: var(--ink); }
.rm-step.c5 .rm-label { color: var(--on-dark); }
.rm-step.c5 .rm-dur { color: var(--on-dark); opacity: .7; }
.rm-step.c5 .rm-ic { background: rgba(255,255,255,.16); color: var(--on-dark); }
.roadmap-aside { position: sticky; top: 110px; }
.roadmap-aside h2 { margin: 14px 0 16px; }
.roadmap-aside > p { color: var(--muted); font-size: 1.05rem; line-height: 1.6; margin-bottom: 28px; }
.rm-points { list-style: none; display: flex; flex-direction: column; gap: 13px; margin-bottom: 32px; }
.rm-points li { display: flex; align-items: flex-start; gap: 11px; font-size: .98rem; color: var(--text); }
.rm-check { width: 20px; height: 20px; flex: none; color: var(--mint-deep); margin-top: 1px; }
@media (max-width: 880px) { .roadmap-grid { grid-template-columns: 1fr; gap: 40px; } .roadmap-aside { position: static; order: -1; } }

.espace { background: var(--ink); color: var(--on-dark); }
.espace .eyebrow { color: var(--mint); }
.espace h2 { color: var(--on-dark); }
.espace-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; max-width: var(--maxw); margin: 0 auto; }
.espace-text > p { color: rgba(255,255,255,.78); margin-top: 16px; font-size: 1.05rem; }
.espace-feats { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }
.espace-feat { display: block; width: 100%; text-align: left; font-family: var(--font-body); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 16px 18px; cursor: pointer; transition: background-color .25s ease, border-color .25s ease; }
.espace-feat:hover { background: rgba(255,255,255,.09); }
.espace-feat h3 { font-size: 1.05rem; color: rgba(255,255,255,.62); margin-bottom: 0; transition: color .25s ease; }
.espace-feat p { display: grid; grid-template-rows: 0fr; opacity: 0; font-size: .92rem; color: rgba(255,255,255,.72); transition: grid-template-rows .42s cubic-bezier(.4,0,.2,1), opacity .35s ease; }
.espace-feat p > span { display: block; min-height: 0; overflow: hidden; padding-top: 7px; }
.espace-feat .ef-bar { display: block; height: 3px; border-radius: 999px; background: rgba(255,255,255,.16); margin-top: 14px; overflow: hidden; opacity: 0; transition: opacity .25s ease; }
.espace-feat .ef-bar-fill { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--mint); }
.espace-feat.active { background: rgba(255,255,255,.09); border-color: var(--mint); }
.espace-feat.active h3 { color: var(--on-dark); }
.espace-feat.active p { grid-template-rows: 1fr; opacity: 1; }
.espace-feat.active .ef-bar { opacity: 1; }
.espace-feat.active .ef-bar-fill { animation: ef-fill 6s linear forwards; }
.espace-feats.paused .espace-feat.active .ef-bar-fill { animation-play-state: paused; }
@keyframes ef-fill { from { width: 0; } to { width: 100%; } }
.espace-mock-wrap { position: relative; }
.espace-panel { display: none; }
.espace-panel.active { display: block; animation: esp-fade .55s cubic-bezier(.22,1,.36,1) both; }
@keyframes esp-fade { from { opacity: 0; transform: translateY(18px) scale(.99); } to { opacity: 1; transform: translateY(0) scale(1); } }
.espace-mock { background: var(--bg); border-radius: var(--radius-lg); box-shadow: 0 30px 70px rgba(0,0,0,.35); padding: 22px; }
.et-badge.ok { color: var(--mint-deep); background: rgba(58,255,165,.22); }
.esp-tl { margin-top: 6px; }
.esp-tl-row { display: grid; grid-template-columns: 14px 1fr; gap: 14px; padding-bottom: 18px; position: relative; }
.esp-tl-row:not(:last-child)::before { content: ""; position: absolute; left: 6px; top: 17px; bottom: 0; width: 2px; background: var(--line); }
.esp-tl-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--mint); margin-top: 3px; position: relative; z-index: 1; }
.esp-tl-row.pending .esp-tl-dot { background: var(--primary); box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--primary); }
.esp-tl-when { font-size: .72rem; color: var(--subtle); font-weight: 700; }
.esp-tl-lbl { font-size: .9rem; color: var(--ink); font-weight: 700; margin-top: 2px; }
.esp-tl-lbl .et-badge { margin-left: 6px; }
.esp-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.esp-metric { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; }
.esp-metric .m-num { font-family: var(--font-heading); font-weight: 900; font-size: 1.5rem; color: var(--ink); line-height: 1; }
.esp-metric .m-lab { font-size: .68rem; color: var(--subtle); margin-top: 5px; }
.esp-metric .m-up { display: inline-block; font-size: .68rem; font-weight: 800; color: var(--mint-deep); margin-top: 6px; }
.esp-chart { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.esp-chart-title { font-size: .74rem; color: var(--subtle); font-weight: 700; margin-bottom: 12px; }
.esp-bars { display: flex; align-items: flex-end; gap: 9px; height: 92px; }
.esp-bars span { flex: 1; border-radius: 6px 6px 0 0; background: var(--primary); opacity: .82; }
.esp-bars span:nth-child(1) { height: 28%; }
.esp-bars span:nth-child(2) { height: 41%; }
.esp-bars span:nth-child(3) { height: 38%; }
.esp-bars span:nth-child(4) { height: 62%; }
.esp-bars span:nth-child(5) { height: 80%; }
.esp-bars span:nth-child(6) { height: 100%; background: var(--mint); opacity: 1; }
.espace-mock-head { font-family: var(--font-heading); font-weight: 900; font-size: 1.05rem; color: var(--ink); }
.espace-mock-sub { font-size: .8rem; color: var(--subtle); margin-bottom: 18px; }
.espace-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.espace-kpi { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; }
.espace-kpi .kpi-num { font-family: var(--font-heading); font-weight: 900; font-size: 1.55rem; color: var(--ink); line-height: 1; }
.espace-kpi .kpi-lab { font-size: .7rem; color: var(--subtle); margin-top: 5px; }
.espace-task { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 13px 15px; display: flex; align-items: center; gap: 11px; margin-bottom: 10px; }
.espace-task .et-badge { font-size: .64rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--primary); background: var(--primary-soft); padding: 3px 9px; border-radius: 999px; }
.espace-task .et-name { font-weight: 700; font-size: .88rem; color: var(--ink); }
.espace-task .et-prio { margin-left: auto; font-size: .66rem; font-weight: 800; color: var(--pink-deep); background: rgba(248,189,255,.4); padding: 3px 9px; border-radius: 999px; }
.espace-team { display: flex; align-items: center; margin-top: 16px; }
.espace-team .et-av { width: 34px; height: 34px; border-radius: 50%; background: var(--primary); color: var(--on-dark); display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-weight: 900; font-size: .7rem; border: 2px solid var(--bg); margin-left: -9px; object-fit: cover; }
img.et-av { object-position: center 28%; }
.espace-mock--img { background: transparent; padding: 0; overflow: hidden; }
.espace-dashboard-img { display: block; width: 100%; height: auto; border-radius: 10px; }
.espace-team .et-av:first-child { margin-left: 0; }
.espace-team .et-av.a2 { background: var(--primary-2); }
.espace-team .et-av.a3 { background: var(--mint-deep); }
.espace-team .et-av.a4 { background: var(--pink-deep); }
.espace-team .et-more { margin-left: 12px; font-size: .8rem; color: var(--subtle); font-weight: 700; }
@media (max-width: 860px) { .espace-grid { grid-template-columns: 1fr; gap: 38px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .espace-feat.active .ef-bar-fill { width: 100%; }
}

.tag { display: inline-flex; align-items: center; font-family: var(--font-heading); font-weight: 900; font-size: .64rem; text-transform: uppercase; letter-spacing: .05em; padding: 5px 11px; border-radius: 7px; line-height: 1; white-space: nowrap; }
.tag-seo { background: var(--primary-soft); color: var(--primary); }
.tag-geo { background: rgba(58,255,165,.30); color: var(--mint-deep); }
.tag-content { background: rgba(248,189,255,.45); color: var(--pink-deep); }
.tag-tech { background: rgba(90,60,255,.16); color: var(--primary-2); }
.tag-trend { background: rgba(11,11,22,.08); color: var(--ink); }

.art { padding: 124px 0 84px; }
.art-shell { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.art-crumb { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: .85rem; color: var(--subtle); margin-bottom: 30px; }
.art-crumb a { color: var(--subtle); text-decoration: none; }
.art-crumb a:hover { color: var(--primary); }
.art-crumb span { color: var(--subtle); opacity: .6; }
.art-grid { display: grid; grid-template-columns: 56px minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.art-rail { position: sticky; top: 110px; }
.art-size { display: flex; flex-direction: column; gap: 6px; }
.art-size-btn { width: 48px; height: 48px; border: 1.5px solid var(--line); background: var(--bg); border-radius: 12px; cursor: pointer; font-family: var(--font-heading); font-weight: 900; color: var(--muted); transition: border-color .2s ease, color .2s ease, background-color .2s ease; }
.art-size-btn:nth-child(1) { font-size: .8rem; }
.art-size-btn:nth-child(2) { font-size: 1rem; }
.art-size-btn:nth-child(3) { font-size: 1.25rem; }
.art-size-btn.is-active { border-color: var(--primary); color: var(--primary); }
.art-meta-top { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.art-stat { display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; font-weight: 700; color: var(--subtle); }
.art-stat svg { width: 16px; height: 16px; }
.art-head h1 { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.05; margin-bottom: 20px; }
.art-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.art-hero { margin: 30px 0 36px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.art-hero img { display: block; width: 100%; height: auto; }
.prose.size-s { font-size: .96rem; }
.prose.size-m { font-size: 1.06rem; }
.prose.size-l { font-size: 1.2rem; }
.art-author { display: flex; gap: 22px; align-items: flex-start; margin-top: 48px; padding: 28px; background: var(--bg-soft); border-radius: var(--radius-lg); }
.art-author-photo { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; flex: none; }
.art-author-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; color: var(--subtle); }
.art-author-name { font-family: var(--font-heading); font-weight: 900; font-size: 1.3rem; color: var(--ink); margin-top: 2px; }
.art-author-role { font-size: .9rem; color: var(--primary); font-weight: 700; margin-bottom: 10px; }
.art-author-body p { font-size: .95rem; color: var(--muted); line-height: 1.6; }
.art-author-link { display: inline-block; margin-top: 12px; font-family: var(--font-heading); font-weight: 900; font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink); border-bottom: 2px solid var(--primary); padding-bottom: 3px; text-decoration: none; }
.art-aside { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 28px; }
.art-aside-title { display: block; font-family: var(--font-heading); font-weight: 900; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink); margin-bottom: 16px; }
.art-toc nav { display: flex; flex-direction: column; border-left: 2px solid var(--line); }
.art-toc a { padding: 8px 0 8px 18px; margin-left: -2px; border-left: 2px solid transparent; font-size: .92rem; color: var(--muted); text-decoration: none; line-height: 1.4; transition: color .2s ease, border-color .2s ease; }
.art-toc a:hover { color: var(--ink); }
.art-toc a.is-active { color: var(--primary); border-left-color: var(--primary); font-weight: 700; }
.art-promo { background: var(--primary); border-radius: var(--radius-lg); padding: 26px; }
.art-promo h3 { font-size: 1.2rem; line-height: 1.15; color: #fff; margin-bottom: 18px; }
.art-promo-btn { display: inline-flex; align-items: center; gap: 9px; background: #fff; border: 1.5px solid #fff; border-radius: 999px; padding: 11px 20px; font-family: var(--font-heading); font-weight: 900; font-size: .82rem; color: var(--primary); text-decoration: none; transition: transform .2s ease; }
.art-promo-btn:hover { transform: translateY(-2px); }
.art-promo-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); }
.art-share-links { display: flex; gap: 10px; }
.art-share-links .social-link, .art-copy { width: 42px; height: 42px; border-radius: 11px; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.art-share-links .social-link:hover, .art-copy:hover { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.art-share-links svg { width: 18px; height: 18px; }
.art-related { margin-top: 76px; }
.art-related > h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 32px; }
.art-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rel-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--bg); transition: transform .25s ease, box-shadow .25s ease; }
.rel-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.rel-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.rel-img img { width: 100%; height: 100%; object-fit: cover; }
.rel-img .tag { position: absolute; top: 14px; left: 14px; }
.rel-body { padding: 20px 22px 24px; }
.rel-meta { font-size: .8rem; color: var(--subtle); font-weight: 700; margin-bottom: 8px; }
.rel-card h3 { font-size: 1.12rem; line-height: 1.25; color: var(--ink); }
@media (max-width: 1040px) { .art-grid { grid-template-columns: 1fr; gap: 38px; } .art-rail { display: none; } .art-aside { position: static; flex-direction: row; flex-wrap: wrap; gap: 32px; } .art-toc, .art-promo, .art-share { flex: 1 1 240px; } }
@media (max-width: 680px) { .art-related-grid { grid-template-columns: 1fr; } .art-author { flex-direction: column; } .art-aside { flex-direction: column; } }

.serp-mockup { width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: 0 30px 70px rgba(11,11,22,.18); }
.serp-chrome { display: flex; align-items: center; gap: 8px; padding: 13px 18px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.serp-dot { width: 11px; height: 11px; border-radius: 50%; flex: none; }
.serp-dot.r { background: rgb(255,95,86); }
.serp-dot.y { background: rgb(255,189,46); }
.serp-dot.g { background: rgb(39,201,63); }
.serp-url { flex: 1; display: flex; align-items: center; gap: 8px; margin-left: 10px; padding: 7px 14px; background: var(--bg); border-radius: 999px; font-size: .82rem; color: var(--muted); }
.serp-url svg { width: 13px; height: 13px; color: rgb(39,201,63); flex: none; }
.serp-body { padding: 22px 24px 20px; }
.serp-searchbar { display: flex; align-items: center; gap: 14px; padding: 12px 20px; border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 1px 6px rgba(11,11,22,.06); }
.serp-g { font-family: var(--font-body); font-weight: 700; font-size: 1.05rem; letter-spacing: -.5px; flex: none; }
.serp-g b:nth-child(1) { color: rgb(66,133,244); }
.serp-g b:nth-child(2) { color: rgb(234,67,53); }
.serp-g b:nth-child(3) { color: rgb(251,188,5); }
.serp-g b:nth-child(4) { color: rgb(66,133,244); }
.serp-g b:nth-child(5) { color: rgb(52,168,83); }
.serp-g b:nth-child(6) { color: rgb(234,67,53); }
.serp-q { flex: 1; display: flex; align-items: center; font-size: 1rem; color: var(--ink); font-family: var(--font-body); min-width: 0; }
.serp-caret { width: 2px; height: 1.1em; background: var(--primary); margin-left: 2px; flex: none; animation: serp-blink 1s steps(1) infinite; }
@keyframes serp-blink { 50% { opacity: 0; } }
.serp-tabs { display: flex; gap: 26px; margin: 16px 0 4px; border-bottom: 1px solid var(--line); }
.serp-tabs span { font-size: .82rem; color: var(--subtle); padding-bottom: 10px; }
.serp-tabs span.on { color: var(--primary); border-bottom: 2px solid var(--primary); font-weight: 700; }
.serp-res { display: flex; gap: 12px; padding: 15px 14px; border-radius: 12px; text-decoration: none; }
.serp-you { position: relative; background: rgba(10,0,255,.05); box-shadow: 0 0 0 1px rgba(10,0,255,.12), 0 14px 32px rgba(10,0,255,.1); margin: 6px -8px; }
.serp-rank { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--primary); color: var(--on-dark); display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-weight: 900; font-size: .8rem; }
.serp-fav { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--line); }
.serp-rb { min-width: 0; }
.serp-rurl { font-size: .76rem; color: var(--muted); margin-bottom: 3px; }
.serp-rtitle { font-size: 1.02rem; color: rgb(26,13,171); font-weight: 600; line-height: 1.2; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.serp-rtitle.alt { opacity: .72; }
.serp-vous { font-family: var(--font-heading); font-weight: 900; font-size: .6rem; text-transform: uppercase; letter-spacing: .05em; background: var(--mint); color: var(--ink); padding: 3px 8px; border-radius: 5px; }
.serp-rdesc { font-size: .82rem; color: var(--muted); line-height: 1.5; margin-top: 4px; }
.serp-res:not(.serp-you) .serp-rdesc { opacity: .7; }
.serp-foot { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .86rem; color: var(--muted); }
.serp-foot svg { width: 17px; height: 17px; color: var(--mint-deep); flex: none; }
.serp-foot b { color: var(--ink); }
@media (max-width: 640px) { .serp-tabs { gap: 18px; } .serp-rdesc { display: none; } }
@media (prefers-reduced-motion: reduce) { .serp-caret { animation: none; } }

.forma { background: var(--bg-soft); }
.forma-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 52px; }
.forma-card { display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 30px; transition: transform .25s ease, box-shadow .25s ease; }
.forma-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.forma-card.feat { background: var(--primary-soft); border-color: var(--primary); }
.forma-dur { align-self: flex-start; font-family: var(--font-heading); font-weight: 900; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink); background: var(--mint); padding: 6px 13px; border-radius: 999px; margin-bottom: 18px; }
.forma-card.feat .forma-dur { background: var(--primary); color: var(--on-dark); }
.forma-card h3 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); color: var(--ink); margin-bottom: 10px; }
.forma-card > p { font-size: .95rem; color: var(--muted); line-height: 1.6; }
.forma-list { list-style: none; display: flex; flex-direction: column; gap: 11px; margin: 22px 0 24px; }
.forma-list li { display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; color: var(--text); }
.forma-list li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; background: var(--mint); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B0B16' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E"); background-size: 12px; background-repeat: no-repeat; background-position: center; }
.forma-tag { margin-top: auto; font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--primary); }
.forma-card.feat .forma-tag { color: var(--primary-dark); }
.forma-foot { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 18px 28px; margin-top: 44px; text-align: center; }
.forma-foot > span { font-size: 1rem; color: var(--muted); }
@media (max-width: 920px) { .forma-grid { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; } }


.hero .breadcrumb { color: rgba(255,255,255,.72); }
.hero .breadcrumb a { color: #fff; }
.hero .breadcrumb a:hover { color: #3AFFA5; }
.hero-split-text .hero-trust { margin-top: 22px; }

.hero-split-text .hero-trust .ti-widget { text-align: left !important; }

/* Fix icones service-cards (classe svc-ic non stylée -> SVG géant 1170px sur 20 pages) */
.svc-ic{display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:13px;background:rgba(10,0,255,.07);color:var(--primary);margin-bottom:16px;flex:0 0 auto}
.svc-ic.logo-cms{border-radius:50%;background:#fff;border:1px solid var(--line);box-shadow:0 4px 14px rgba(10,0,255,.06)}
.svc-ic.logo-cms img{width:26px;height:26px;display:block}
.svc-ic.logo-cms.logo-fill{padding:0;overflow:hidden}
.svc-ic.logo-cms.logo-fill img{width:100%;height:100%;object-fit:cover;border-radius:50%}

/* Encart certification PrestaShop (page prestashop-seo) */
.ps-cert{display:grid;grid-template-columns:1fr;gap:26px;align-items:center;margin-top:44px;padding:clamp(24px,3vw,40px);border-radius:var(--radius-lg);background:var(--bg-soft);border:1px solid var(--line)}
.ps-cert-badges{display:flex;align-items:center;gap:22px;flex:none}
.ps-cert-mark{width:72px;height:72px;border-radius:50%;object-fit:cover;box-shadow:0 4px 16px rgba(10,0,255,.10)}
.ps-cert-badge{height:96px;width:auto;display:block}
.ps-cert-badge.badge-wordmark{height:54px}
.ps-cert-body h3{font-size:clamp(1.2rem,2.4vw,1.6rem);line-height:1.15;margin-bottom:10px}
.ps-cert-body p{color:var(--muted);font-size:.98rem;line-height:1.62;margin-bottom:18px}
.ps-cert-body p strong{color:var(--ink)}
@media(min-width:820px){.ps-cert{grid-template-columns:auto 1fr;gap:40px}}

/* ============================================================
   COMPOSANTS RÉUTILISABLES v1 — 2026-06-26
   1. .prose-split   — Section prose 2 colonnes + photo
   2. .svc-carousel  — Carousel de services auto-défilant
   3. .htimeline     — Timeline horizontale animée (carousel)
   ============================================================ */

/* -----------------------------------------------------------
   1. PROSE-SPLIT — Texte gauche, photo droite
   Usage: <div class="prose-split"> <div class="ps-text">...</div> <div class="ps-photo">...</div> </div>
   ----------------------------------------------------------- */
.prose-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.ps-text { display: flex; flex-direction: column; gap: 12px; }
.ps-text p { color: var(--muted); font-size: clamp(.94rem, 1.2vw, 1.05rem); line-height: 1.62; margin: 0; }
.ps-text strong { color: var(--ink); }
.ps-photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; background: var(--bg-soft); }
.ps-photo img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: var(--radius-lg); }
/* Variante : texte à droite, photo à gauche */
.prose-split.ps-reverse { }
.prose-split.ps-reverse .ps-text { order: 2; }
.prose-split.ps-reverse .ps-photo { order: 1; }
@media (max-width: 768px) {
  .prose-split { grid-template-columns: 1fr; gap: 28px; }
  .prose-split .ps-photo { order: -1; max-width: 480px; width: 100%; }
  .prose-split.ps-reverse .ps-photo { order: -1; }
  .prose-split.ps-reverse .ps-text { order: 2; }
}
@media (prefers-reduced-motion: reduce) {
  .ps-photo img { transition: none; }
}

/* Intro 2 colonnes : texte à gauche, visuel à droite (hubs + pages locales) */
.intro-2col { display: grid; grid-template-columns: 1fr; gap: clamp(26px, 4vw, 56px); align-items: center; margin-bottom: clamp(38px, 5vw, 64px); }
.intro-2col > .section-head { max-width: none; }
.intro-media { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; background: var(--bg-soft); }
.intro-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (min-width: 940px) { .intro-2col { grid-template-columns: 1.05fr .95fr; } }

/* -----------------------------------------------------------
   2. SVC-CAROUSEL — Carousel de services auto-défilant
   Usage:
   <div class="svc-carousel" aria-label="Nos prestations" aria-roledescription="carousel">
     <div class="sc-track" id="scTrack">
       <a class="svc-card sc-item" href="...">...</a>
       ...
     </div>
     <div class="sc-controls" aria-label="Navigation carousel">
       <button class="sc-arrow" data-dir="-1" aria-label="Précédent">‹</button>
       <button class="sc-arrow" data-dir="1" aria-label="Suivant">›</button>
     </div>
   </div>
   ----------------------------------------------------------- */
.svc-carousel { position: relative; margin-top: 52px; }
.sc-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  /* padding vertical : loge l'ombre au survol (--shadow-lg) + le lift -5px
     sans que overflow-x:auto (qui force overflow-y) ne les rogne */
  padding: 16px 8px 30px;
}
.sc-track::-webkit-scrollbar { display: none; }
.sc-track .svc-card,
.sc-track .sc-item {
  flex: 0 0 clamp(240px, 30vw, 320px);
  scroll-snap-align: start;
}
/* Override nth-child colors pour le carousel (index restants valides) */
.sc-track .svc-card:nth-child(1) { background: rgba(58,255,165,.16); }
.sc-track .svc-card:nth-child(2) { background: var(--primary-soft); }
.sc-track .svc-card:nth-child(3) { background: var(--bg); }
.sc-track .svc-card:nth-child(4) { background: rgba(248,189,255,.28); }
.sc-track .svc-card:nth-child(5) { background: rgba(58,255,165,.10); }
.sc-track .svc-card:nth-child(6) { background: var(--primary-soft); }
.sc-track .svc-card:nth-child(7) { background: rgba(58,255,165,.16); }
.sc-track .svc-card:nth-child(8) { background: rgba(248,189,255,.18); }
.sc-track .svc-card:nth-child(9) { background: var(--bg-soft); }
.sc-track .svc-card:nth-child(10) { background: rgba(90,60,255,.10); }
.sc-controls {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 16px;
}
.sc-arrow {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
  flex: none;
}
.sc-arrow:hover { background: var(--primary); color: var(--on-dark); border-color: var(--primary); transform: scale(1.08); }
/* Room pour que le bouton scalé au hover ne soit pas coupé par l'overflow:hidden du carousel */
.svc-carousel { padding-bottom: 8px; }
/* Flèche parfaitement centrée : neutralise les métriques du glyphe texte ‹ › */
.sc-arrow { line-height: 0; padding-bottom: 2px; }
.sc-arrow:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
/* Fade latéral pour indiquer le défilement */
.svc-carousel::after {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 60px; height: calc(100% - 58px);
  background: linear-gradient(to right, transparent, var(--bg));
  pointer-events: none;
  z-index: 1;
}
@media (prefers-reduced-motion: reduce) {
  .sc-track { scroll-behavior: auto; }
}

/* -----------------------------------------------------------
   3. HTIMELINE — Timeline horizontale animée (carousel)
   Usage:
   <div class="htimeline" aria-label="Étapes" aria-roledescription="carousel">
     <button class="htl-prev" aria-label="Étape précédente">‹</button>
     <div class="htl-track" id="htlTrack">
       <div class="htl-step">
         <div class="htl-dot">01</div>
         <div class="htl-body">
           <div class="htl-label">Étape 1</div>
           <h3 class="htl-title">Titre</h3>
           <p class="htl-desc">Description.</p>
         </div>
       </div>
     </div>
     <button class="htl-next" aria-label="Étape suivante">›</button>
   </div>
   ----------------------------------------------------------- */
.htimeline {
  position: relative;
  margin-top: clamp(2rem, 4vw, 3rem);
}
.htl-track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  position: relative;
}
.htl-track::-webkit-scrollbar { display: none; }
/* Ligne de connexion horizontale */
.htl-track::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: 19px; /* centre du dot */
  height: 2px;
  background: linear-gradient(to right, var(--primary), var(--mint));
  z-index: 0;
}
.htl-step {
  flex: 0 0 clamp(200px, 22vw, 280px);
  scroll-snap-align: start;
  padding: 0 16px 0 0;
  position: relative;
  z-index: 1;
}
.htl-step:last-child { padding-right: 0; }
.htl-dot {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--on-dark);
  font-family: var(--font-heading); font-weight: 900; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  border: 4px solid var(--bg);
  flex: none;
  position: relative; z-index: 2;
  transition: background-color .3s ease, transform .3s ease;
}
.htl-step.htl-active .htl-dot {
  background: var(--mint);
  color: var(--ink);
  transform: scale(1.15);
}
.htl-step:last-child .htl-dot { background: var(--mint); color: var(--ink); }
.htl-body {
  margin-top: 16px;
  padding: 20px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 140px;
  opacity: .55;
  transform: translateY(6px);
  transition: opacity .4s ease, transform .4s ease, border-color .3s ease;
}
.htl-step.htl-active .htl-body {
  opacity: 1;
  transform: translateY(0);
  border-color: var(--primary);
  background: var(--bg);
}
.htl-label {
  font-family: var(--font-heading); font-weight: 900;
  font-size: .72rem; text-transform: uppercase; letter-spacing: .06em;
  color: var(--primary); margin-bottom: 6px;
}
.htl-title {
  font-family: var(--font-heading); font-weight: 900;
  font-size: clamp(.95rem, 1.4vw, 1.1rem);
  color: var(--ink); margin: 0 0 8px;
}
.htl-desc { font-size: .86rem; color: var(--muted); line-height: 1.6; margin: 0; }
/* Boutons navigation */
.htl-prev,
.htl-next {
  position: absolute;
  top: 0; /* aligné avec les dots */
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font-size: 1.3rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 10;
  transition: background-color .2s ease, border-color .2s ease;
  flex: none;
}
.htl-prev { left: -52px; }
.htl-next { right: -52px; }
.htl-prev:hover,
.htl-next:hover { background: var(--primary); color: var(--on-dark); border-color: var(--primary); }
.htl-prev:focus-visible,
.htl-next:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
/* Sur petits écrans, boutons sous la track */
@media (max-width: 860px) {
  .htl-prev,
  .htl-next { position: static; margin-top: 16px; }
  .htimeline { padding: 0; }
  .htl-nav { display: flex; gap: 8px; justify-content: center; margin-top: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .htl-track { scroll-behavior: auto; }
  .htl-body { transition: none; opacity: 1; transform: none; }
  .htl-dot { transition: none; }
}
.svc-ic svg{width:24px;height:24px;flex:0 0 auto}

/* Fix cards-grid (container inventé par rollout, non stylé -> cards empilées pleine largeur sur 23 pages) */
.cards-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:48px}
@media(max-width:1024px){.cards-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.cards-grid{grid-template-columns:1fr}}

/* HUB-GRID — grille responsive : toutes les sous-pages visibles (page hub) */
.hub-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(288px,1fr));gap:18px;margin-top:48px}
.hub-grid .svc-card:nth-child(4n+1){background:rgba(58,255,165,.16)}
.hub-grid .svc-card:nth-child(4n+2){background:var(--primary-soft)}
.hub-grid .svc-card:nth-child(4n+3){background:rgba(248,189,255,.22)}
.hub-grid .svc-card:nth-child(4n+4){background:var(--bg)}
@media(max-width:560px){.hub-grid{grid-template-columns:1fr}}

/* hero--light : hero en thème clair (ex: blog.html) */
.hero.hero--light {
  background: var(--bg-soft);
  color: var(--text);
}
.hero.hero--light::after { opacity: 0; }
.hero.hero--light h1,
.hero.hero--light .hero-split-text h1 { color: var(--text); }
.hero.hero--light p,
.hero.hero--light .hero-split-text p { color: var(--muted); }
.hero.hero--light .eyebrow,
.hero.hero--light .hero-split-text .eyebrow { color: var(--primary); }
.hero.hero--light .hero-trust { color: var(--muted); }
.hero.hero--light .btn-on-dark { background: var(--primary-soft); color: var(--primary); border-color: transparent; }
.hero.hero--light .btn-on-dark:hover { background: var(--primary); color: var(--on-dark); }
.hero.hero--light .breadcrumb a,
.hero.hero--light .breadcrumb { color: var(--muted); }
.hero.hero--light .breadcrumb a:hover { color: var(--primary); }

/* Toggle taille article : les titres scalent aussi (em relatif au conteneur .prose dont le toggle change le font-size) */
.prose h2 { font-size: 1.9em; line-height: 1.12; }
.prose h3 { font-size: 1.4em; line-height: 1.2; }
.prose h4 { font-size: 1.15em; }

/* prose-split : photo alignée en haut + sticky (suit le scroll du texte long) [ps-photo sticky] */
.prose-split{align-items:start}
.ps-photo{align-self:start;position:sticky;top:96px}
@media(max-width:860px){.ps-photo{position:relative;top:auto}}

/* prose-split crossfade : 2 images empilées, transition pilotée par --cf (0→1) via JS scroll */
/* Contrat markup : .ps-photo contient exactement 2 <img> — img:nth-child(1) = photo A, img:nth-child(2) = photo B */
.ps-photo img:nth-child(1),
.ps-photo img:nth-child(2){
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:var(--radius-lg);
  will-change:opacity;
  transition:opacity .15s linear;
}
.ps-photo img:nth-child(1){opacity:calc(1 - var(--cf,0))}
.ps-photo img:nth-child(2){opacity:var(--cf,0)}
/* Quand 2 imgs présentes : le premier enfant n'est plus en flux — on réserve l'espace via aspect-ratio sur .ps-photo (déjà en place) */
.ps-photo:has(img:nth-child(2)) img{position:absolute}
@media(prefers-reduced-motion:reduce){
  .ps-photo img:nth-child(1),.ps-photo img:nth-child(2){transition:none}
}

/* -----------------------------------------------------------
   PROSE-PIN — wrapper sticky pinned-scroll pour prose-split crossfade
   Crée une distance de scroll (200vh desktop) pendant laquelle la
   section reste épinglée ; le crossfade atteint 1 avant dépingage.
   Le JS remplace son mode de calcul quand .prose-pin est détecté.
   Désactivé sous 860px : flux normal mobile.
   Usage :
     <div class="prose-pin">
       <div class="prose-pin-inner">
         <div class="prose-split"> ... </div>
       </div>
     </div>
   ----------------------------------------------------------- */
.prose-pin{
  position:relative;
  min-height:200vh;
}
.prose-pin-inner{
  position:sticky;
  top:0;
  min-height:100vh;
  display:flex;
  align-items:center;
  overflow:hidden;
}
/* Dans le contexte pinned, c'est prose-pin-inner qui joue le rôle
   de conteneur sticky — .ps-photo n'a plus besoin de son propre sticky */
.prose-pin .ps-photo{
  position:relative;
  align-self:auto;
  top:auto;
}
/* Mobile : désactiver le pin — flush normal */
@media(max-width:860px){
  .prose-pin{min-height:auto}
  .prose-pin-inner{position:static;min-height:auto;display:block;overflow:visible}
  .prose-pin .ps-photo{position:relative;top:auto}
}
/* prefers-reduced-motion : pas de pin, pas de crossfade */
@media(prefers-reduced-motion:reduce){
  .prose-pin{min-height:auto}
  .prose-pin-inner{position:static;min-height:auto;display:block;overflow:visible}
}

/* === Page Études de cas : cards (classes inventées non stylées) === */
.cases-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:48px}
@media(max-width:1024px){.cases-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.cases-grid{grid-template-columns:1fr}}
.case-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);overflow:hidden;text-decoration:none;transition:transform .25s ease,box-shadow .25s ease}
.case-card:hover{transform:translateY(-5px);box-shadow:0 22px 50px rgba(10,0,255,.12)}
.case-card__img{aspect-ratio:3/2;overflow:hidden;background:var(--bg-soft)}
.case-card__img img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s ease}
.case-card:hover .case-card__img img{transform:scale(1.05)}
.case-card__body{padding:22px 24px 26px;display:flex;flex-direction:column;gap:14px}
.case-card__client{font-family:var(--font-heading);font-weight:800;font-size:1.2rem;color:var(--ink);line-height:1.2}
.case-card__tags{display:flex;flex-wrap:wrap;gap:8px}
/* Cartes résultat (études de cas — chiffre en avant) */
.case-card--result .case-card__metric{padding:30px 26px 24px;display:flex;flex-direction:column;gap:3px}
.case-card--result .case-card__metric strong{font-family:var(--font-heading);font-weight:900;font-size:clamp(2.4rem,4.5vw,3rem);line-height:1;letter-spacing:-.01em}
.case-card--result .case-card__metric span{font-size:.9rem;font-weight:600;opacity:.92}
.metric-blue{background:var(--primary);color:#fff}
.metric-mint{background:var(--mint);color:var(--ink)}
.metric-ink{background:var(--ink);color:#fff}
.case-card__desc{font-size:.94rem;color:var(--muted);line-height:1.55;margin:0}
/* Layout featured : 1 carte mise en avant (gauche, plus grande) + 2 empilées */
.cases-grid--featured{display:grid;grid-template-columns:1fr;gap:22px}
@media(min-width:880px){
  .cases-grid--featured{grid-template-columns:1.25fr 1fr;grid-template-rows:auto auto;align-items:stretch}
  .cases-grid--featured .case-card--featured{grid-row:1 / span 2}
}
.case-card--featured .case-card__photo{aspect-ratio:4/5;overflow:hidden;background:var(--bg-soft)}
.case-card--featured .case-card__photo img{width:100%;height:100%;object-fit:cover;object-position:center 62%;display:block;transition:transform .4s ease}
.case-card--featured:hover .case-card__photo img{transform:scale(1.04)}
@media(min-width:880px){
  .case-card--featured{display:flex;flex-direction:column}
  .case-card--featured .case-card__photo{aspect-ratio:auto;flex:1 1 auto;min-height:240px;position:relative}
  .case-card--featured .case-card__photo img{position:absolute;inset:0}
}
.case-card--featured .case-card__metric strong{font-size:clamp(2.8rem,5vw,3.6rem)}

/* Grille cards 3 colonnes (sections type 'contenu des sessions') + note de pied centrée */
.cards-grid--3{grid-template-columns:repeat(3,1fr)}
@media(max-width:1024px){.cards-grid--3{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.cards-grid--3{grid-template-columns:1fr}}
.section-foot-note{max-width:760px;margin:34px auto 0;text-align:center;color:var(--muted);font-size:.98rem;line-height:1.7}

/* Cards 4 leviers e-commerce : uniformes blanches + bordure + ombre (visibles) */
.ec-levers .svc-card, .ec-levers .ec-platform-card{background:#fff !important;border:1px solid var(--line);box-shadow:0 14px 40px rgba(10,0,255,.06);min-height:0}
.ec-levers .svc-card:hover, .ec-levers .ec-platform-card:hover{box-shadow:0 22px 50px rgba(10,0,255,.10);transform:translateY(-4px)}

/* ============================================================
   CAROUSEL MOBILE — grilles de prestations/services (CSS-only)
   Cible : .svc-grid (index + fiches), .hub-grid (pages hub),
           .forma-grid (formations). Desktop/tablette inchangés
           (grille normale). ≤768px : scroll-snap horizontal natif,
           zéro JS, zéro CLS. Affordance de swipe : la carte
           suivante est entrevue (flex-basis 82%).
   Ne concerne PAS : team-grid, results-grid, faq-grid,
   footer-grid, roadmap-grid, vtesti-carousel, feat-grid
   (arguments de vente, pas des prestations), et les
   .svc-carousel déjà en carousel (non affectés par ces règles).
   ============================================================ */
@media (max-width: 768px) {
  .svc-grid,
  .hub-grid,
  .forma-grid {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    margin-inline: -20px;
    padding-inline: 20px;
    padding-top: 6px;
    padding-bottom: 20px;
  }
  .svc-grid::-webkit-scrollbar,
  .hub-grid::-webkit-scrollbar,
  .forma-grid::-webkit-scrollbar {
    display: none;
  }
  .svc-grid > .svc-card,
  .svc-grid > a,
  .hub-grid > .svc-card,
  .hub-grid > a,
  .forma-grid > .forma-card {
    flex: 0 0 82%;
    scroll-snap-align: start;
    min-height: 0;
  }
  .svc-grid > .svc-card:first-child,
  .hub-grid > .svc-card:first-child,
  .forma-grid > .forma-card:first-child {
    scroll-snap-align: start;
  }
  .svc-grid > .svc-card:last-child,
  .hub-grid > .svc-card:last-child,
  .forma-grid > .forma-card:last-child {
    margin-right: 20px;
  }
}
@media (max-width: 768px) and (prefers-reduced-motion: reduce) {
  .svc-grid,
  .hub-grid,
  .forma-grid,
  .team-grid {
    scroll-behavior: auto;
  }
}

/* ============================================================
   CAROUSEL MOBILE — section équipe (team-grid) — même pattern
   que les grilles de prestations. Demande user 06-07 : la team
   passe en carousel swipeable sur mobile (desktop inchangé).
   ============================================================ */
@media (max-width: 768px) {
  .team-grid {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    margin-inline: -20px;
    padding-left: 34px;
    padding-right: 20px;
    scroll-padding-left: 34px;
    padding-top: 6px;
    padding-bottom: 20px;
  }
  .team-grid::-webkit-scrollbar { display: none; }
  .team-grid > .team-card {
    flex: 0 0 80%;
    scroll-snap-align: start;
  }
  .team-grid > .team-card:last-child { margin-right: 20px; }
}

/* ============================================================
   ONGLETS MÉTHODE (method-tabs) — overflow-scroll horizontal
   sur mobile pour ne pas passer à la ligne. Demande user 06-07.
   ============================================================ */
@media (max-width: 768px) {
  .method-tabs {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    margin-inline: -20px;
    padding-inline: 20px;
  }
  .method-tabs::-webkit-scrollbar { display: none; }
  .method-tab { flex: 0 0 auto; }
}


/* ============================================================
   PS-PHOTO DIPTYQUE — 2 images cote a cote (affichage plus petit
   = plus net avec des sources basse def) ; 1 seule image en mobile.
   Remplace le crossfade pour les sections a 2 images.
   ============================================================ */
.ps-photo:has(img:nth-child(2)) {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  aspect-ratio: auto;
  background: transparent;
  overflow: visible;
}
.ps-photo:has(img:nth-child(2)) img,
.ps-photo:has(img:nth-child(2)) .ps-tile {
  position: static !important;
  opacity: 1 !important;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}
.ps-tile--primary { background: var(--primary); }
.ps-tile--mint { background: var(--mint); }
.ps-tile--pink { background: var(--pink); }
@media (max-width: 560px) {
  .ps-photo:has(img:nth-child(2)) { grid-template-columns: 1fr; }
  .ps-photo:has(img:nth-child(2)) .ps-tile { display: none; }
  .ps-photo:has(img:nth-child(2)) img ~ img { display: none; }
  .ps-photo:has(img:nth-child(2)) img { aspect-ratio: 4 / 3; }
}


/* Case photo dans la grille "Pourquoi Uuup" — remplit les cases vides (span 2) */
.feat--photo { grid-column: span 2; padding: 0; overflow: hidden; border: none; background: transparent; }
.feat--photo img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; display: block; border-radius: var(--radius); }
.feat--photo:hover { transform: none; box-shadow: none; }
@media (max-width: 620px) { .feat--photo { grid-column: span 1; } }


/* "Pourquoi Uuup" : cards en carousel sur mobile + photo pleine largeur en dessous */
.feat-photo-mobile { display: none; }
@media (max-width: 768px) {
  .feat-grid {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    margin-inline: -20px;
    padding: 8px 20px 18px;
  }
  .feat-grid::-webkit-scrollbar { display: none; }
  .feat-grid > .feat { flex: 0 0 82%; scroll-snap-align: start; }
  .feat-grid > .feat--photo { display: none; }
  .feat-photo-mobile { display: block; margin-top: 22px; }
  .feat-photo-mobile img { width: 100%; height: auto; border-radius: var(--radius); display: block; }
}
