/* InfoSwitch Academy — feuille de style du site public */

@font-face { font-family: 'Fira Sans'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/FiraSans-400.woff2') format('woff2'); }
@font-face { font-family: 'Fira Sans'; font-weight: 500; font-style: normal; font-display: swap; src: url('../fonts/FiraSans-500.woff2') format('woff2'); }
@font-face { font-family: 'Fira Sans'; font-weight: 600; font-style: normal; font-display: swap; src: url('../fonts/FiraSans-600.woff2') format('woff2'); }
@font-face { font-family: 'Fira Sans'; font-weight: 700; font-style: normal; font-display: swap; src: url('../fonts/FiraSans-700.woff2') format('woff2'); }
@font-face { font-family: 'Fira Mono'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/FiraMono-400.woff2') format('woff2'); }

:root {
  --navy: #0B1F5C;
  --blue: #00309E;
  --yellow: #FFCC00;
  --bg: #F3F6FC;
  --muted: #3A4A7A;
  --soft-blue: #EAF0FB;
  --tile-hover: #DCE5F8;
  --soft-yellow: #FFF2BF;
  --on-blue: #D6DEF7;
  --line: #E3E8F4;
  --field: #D6DCEE;
  --green-bg: #E3EEDC;
  --green: #2D6A1F;
  --orange-bg: #F6E1D6;
  --orange: #8A3B12;
  --shadow: 0 14px 36px rgba(0, 48, 158, .14);
  --pad-x: clamp(12px, 3vw, 24px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body {
  margin: 0; background: var(--bg); color: var(--navy);
  font-family: 'Fira Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--navy); }
img { max-width: 100%; }
button { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { top: 12px; color: #fff; }

.page { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }

/* ---------- Mise en page ---------- */
.wrap { padding: 0 var(--pad-x); }
.container { max-width: 1280px; margin: 0 auto; }
.container--narrow { max-width: 1080px; }
.section { padding-bottom: 80px; }
.section--md { padding-bottom: 64px; }
.section--sm { padding-bottom: 56px; }
.section--xs { padding-bottom: 24px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min, 260px)), 1fr)); gap: var(--gap, 16px); }
.grid--fill { grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--min, 260px)), 1fr)); }
.center { display: flex; justify-content: center; }
.stack-10, .stack-12, .stack-14, .stack-16, .stack-18, .stack-22 { display: flex; flex-direction: column; }
.stack-10 { gap: 10px; } .stack-12 { gap: 12px; } .stack-14 { gap: 14px; } .stack-16 { gap: 16px; } .stack-18 { gap: 18px; } .stack-22 { gap: 22px; }
.mt-8 { margin-top: 8px; } .mt-22 { margin-top: 22px; } .mt-28 { margin-top: 28px; }
.mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; } .mb-18 { margin-bottom: 18px; } .mb-20 { margin-bottom: 20px; }
.muted { color: var(--muted); }
.small { font-size: 15px; line-height: 1.6; margin: 0; }

/* ---------- Typographie ---------- */
.h1 { margin: 0; font-size: clamp(40px, 5.2vw, 68px); line-height: 1.03; letter-spacing: -.025em; font-weight: 700; text-wrap: balance; }
.h1--page { font-size: clamp(34px, 5vw, 60px); line-height: 1.04; }
.h1--wide { max-width: 920px; }
.h1--tuto { font-size: clamp(34px, 4.4vw, 54px); line-height: 1.06; }
.h1--alt { font-size: clamp(34px, 5.4vw, 68px); max-width: 1000px; }
.h2 { margin: 0; font-size: clamp(32px, 3.6vw, 46px); line-height: 1.08; letter-spacing: -.02em; font-weight: 700; text-wrap: balance; }
.h2--md { font-size: clamp(26px, 3.2vw, 40px); line-height: 1.1; }
.h2--sm { font-size: clamp(26px, 3vw, 34px); }
.h3 { margin: 0; font-size: clamp(26px, 3vw, 32px); letter-spacing: -.02em; font-weight: 700; line-height: 1.15; }
.h4 { margin: 0; font-size: 24px; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
.h5 { margin: 8px 0 0; font-size: 18px; font-weight: 700; }
.lead { margin: 0; font-size: clamp(17px, 2vw, 19px); line-height: 1.55; color: var(--muted); max-width: 720px; text-wrap: pretty; }
.lead--sm { font-size: 17px; }
.accent { color: var(--blue); }
.eyebrow { font-size: 14px; font-weight: 600; color: var(--blue); }
.eyebrow--yellow { color: var(--yellow); }
.prose { margin: 0; font-size: 17px; line-height: 1.65; max-width: 760px; }
.prose--md { font-size: 17px; max-width: 820px; }
.prose--lg { font-size: 18px; line-height: 1.6; max-width: 820px; }
.link-strong { font-weight: 600; font-size: 16px; }

/* ---------- Boutons, pastilles ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 0; cursor: pointer; border-radius: 10px; padding: 13px 20px;
  font-weight: 600; font-size: 16px; line-height: 1.2; text-align: center; transition: background .2s, color .2s, transform .2s;
}
.btn--sm { padding: 11px 18px; font-size: 15px; }
.btn--lg { padding: 14px 18px; }
.btn--block { width: 100%; }
.btn--yellow { background: var(--yellow); color: var(--navy); font-weight: 700; }
.btn--yellow:hover { background: #F2C200; color: var(--navy); }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--navy); color: #fff; }
.btn--dark { background: var(--navy); color: #fff; font-weight: 700; }
.btn--dark:hover { background: var(--blue); color: #fff; }
.btn--white { background: #fff; color: var(--blue); }
.btn--white:hover { background: var(--soft-blue); color: var(--navy); }
.btn--outline { background: #fff; color: var(--blue); border: 1.5px solid var(--blue); }
.btn--outline:hover { background: var(--soft-blue); }
.btn[disabled] { opacity: .6; cursor: progress; }
.badge { align-self: flex-start; background: var(--soft-yellow); border-radius: 8px; padding: 6px 12px; font-size: 14px; font-weight: 600; }
.pills { display: flex; gap: 10px; flex-wrap: wrap; font-size: 14px; margin-top: 4px; }
.pill { background: #fff; border-radius: 999px; padding: 7px 13px; }
.pill--yellow { background: var(--soft-yellow); font-weight: 600; }
.pill--blue { background: var(--tile-hover); font-weight: 600; }
.pill--link { font-weight: 600; padding: 8px 14px; }
.pill--link:hover { background: var(--soft-blue); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; font-size: 14px; align-items: center; }
.chip { border: 0; cursor: pointer; background: #fff; color: var(--navy); border-radius: 999px; padding: 7px 13px; font-size: 14px; }
.chip:hover { background: var(--tile-hover); }

/* Onglets segmentés */
.seg { display: inline-flex; flex-wrap: wrap; background: #fff; border-radius: 12px; padding: 4px; align-self: flex-start; }
.seg > button, .seg > a { border: 0; cursor: pointer; padding: 9px 16px; border-radius: 9px; background: transparent; color: var(--navy); font-size: 15px; font-weight: 600; }
.seg > .is-active { background: var(--blue); color: #fff; }
.seg--light { background: var(--bg); border-radius: 10px; padding: 3px; }
.seg--light > button, .seg--light > a { padding: 8px 12px; border-radius: 8px; font-size: 14px; }
.seg--light > .is-active { background: #fff; color: var(--navy); box-shadow: 0 1px 4px rgba(0, 48, 158, .15); }
.seg--onblue { background: rgba(255, 255, 255, .1); }
.seg--onblue > button { color: #fff; }
.seg--onblue > .is-active { background: var(--yellow); color: var(--navy); }

/* ---------- En-tête ---------- */
.topnote { font-size: 13px; color: var(--muted); padding: 9px 24px; display: flex; justify-content: center; align-items: center; gap: 8px; text-align: center; flex-wrap: wrap; }
.topnote a { text-decoration: underline; }
.topnote__i { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--muted); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; flex: none; }
.bar {
  max-width: 1280px; margin: 0 auto; background: #fff; border-radius: 16px; box-shadow: 0 4px 24px rgba(0, 48, 158, .08);
  display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px clamp(14px, 2vw, 22px); white-space: nowrap; position: relative;
}
.logo { display: flex; gap: 9px; align-items: flex-start; flex: none; color: var(--blue); }
.logo:hover { color: var(--blue); }
.logo__sq { width: 10px; height: 10px; background: var(--yellow); margin-top: 6px; display: block; flex: none; }
.logo__txt { font-size: clamp(17px, 2.2vw, 20px); }
.logo__txt strong { color: var(--navy); font-weight: 600; }
.logo--light .logo__sq { width: 11px; height: 11px; }
.logo--light .logo__txt { font-size: 21px; color: #fff; }
.logo--light .logo__txt strong { color: #fff; }
.nav { display: flex; gap: 2px; font-size: 15px; font-weight: 500; flex: 1 1 auto; justify-content: center; min-width: 0; }
.nav a { color: var(--navy); padding: 8px 11px; border-radius: 8px; }
.nav a:hover { background: var(--soft-blue); }
.nav a.is-active { background: var(--soft-blue); font-weight: 600; }
.bar__end { display: flex; align-items: center; gap: 6px; flex: none; margin-left: auto; }
.btn--bar { padding: 10px 16px; font-size: 15px; }
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; font-size: 13px; font-weight: 600; padding: 9px 10px; border-radius: 9px; background: var(--bg); display: flex; gap: 6px; align-items: center; }
.lang summary::-webkit-details-marker { display: none; }
.lang__caret { font-size: 9px; }
.lang__menu { position: absolute; right: 0; top: calc(100% + 6px); background: #fff; border-radius: 12px; box-shadow: 0 12px 32px rgba(0, 48, 158, .18); padding: 6px; display: flex; flex-direction: column; z-index: 20; min-width: 190px; }
.lang__menu > * { font-size: 14px; padding: 9px 12px; border-radius: 8px; color: var(--navy); display: flex; justify-content: space-between; gap: 12px; }
.lang__menu a:hover, .lang__menu a.is-active { background: var(--soft-blue); }
.lang__menu .is-disabled { color: #8a95b8; cursor: default; }
.lang__menu small { font-size: 12px; }
.burger { display: none; border: 1.5px solid var(--blue); cursor: pointer; padding: 8.5px 14px; border-radius: 10px; background: #fff; color: var(--blue); font-size: 15px; font-weight: 600; }
.mnav { max-width: 1280px; margin: 8px auto 0; background: #fff; border-radius: 16px; box-shadow: 0 12px 32px rgba(0, 48, 158, .14); padding: 8px; display: flex; flex-direction: column; }
.mnav a:not(.btn) { color: var(--navy); padding: 13px 14px; border-radius: 10px; font-size: 16px; }
.mnav a.is-active, .mnav a:not(.btn):hover { background: var(--soft-blue); font-weight: 600; }
.mnav__cta { margin-top: 6px; display: none; }
@media (max-width: 899px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
}
@media (min-width: 900px) { .mnav { display: none !important; } }
@media (max-width: 559px) {
  .bar__cta { display: none; }
  .mnav__cta { display: inline-flex; }
}

/* ---------- Pied de page ---------- */
.site-footer { padding-bottom: clamp(12px, 3vw, 24px); }
.footer { background: var(--navy); color: var(--on-blue); border-radius: 28px; padding: 48px clamp(24px, 4vw, 48px) 24px; }
.footer a { color: var(--on-blue); }
.footer a:hover { color: #fff; }
.footer .footer__yellow { color: var(--yellow); }
.footer__cols { display: flex; flex-wrap: wrap; gap: 32px; font-size: 15px; padding-bottom: 36px; }
.footer__brand { display: flex; flex-direction: column; gap: 14px; flex: 2 1 300px; min-width: 0; }
.footer__brand p { margin: 0; line-height: 1.5; max-width: 340px; }
.footer__col { display: flex; flex-direction: column; gap: 9px; flex: 1 1 160px; }
.footer__col strong { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 18px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; }

/* ---------- Composants ---------- */
.card { background: #fff; border-radius: 20px; }
.card--pad { padding: 22px 24px; display: flex; flex-direction: column; gap: 10px; }
.card__title { font-size: 17px; }
.panel { background: #fff; border-radius: 28px; padding: clamp(28px, 4vw, 56px); }
.panel--md { border-radius: 24px; padding: clamp(22px, 3vw, 34px); }
.panel--blue { background: var(--blue); color: #fff; }
.panel--yellow { background: var(--yellow); color: var(--navy); }
.article { background: #fff; border-radius: 24px; padding: clamp(22px, 4vw, 44px); display: flex; flex-direction: column; gap: 16px; }
.article--blue { background: var(--blue); color: #fff; }
.article--blue a { color: var(--yellow); }
.article__note { font-size: 15px; color: var(--on-blue); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.sec-head--sm { margin-bottom: 18px; align-items: flex-end; }
.sec-head--flush { margin-bottom: 0; }
.sec-head__text { display: flex; flex-direction: column; gap: 12px; max-width: 680px; }
.sec-head__aside { margin: 0; max-width: 420px; }
#tutos .sec-head { margin-bottom: 24px; }
.sec-split { margin-bottom: 32px; align-items: end; }

/* Héros */
.hero { padding: clamp(36px, 6vw, 64px) clamp(4px, 2vw, 24px) clamp(48px, 6vw, 72px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: clamp(32px, 5vw, 56px); align-items: center; }
.hero__text { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.hero__lead { max-width: 540px; }
.hero__visual { position: relative; padding: 20px clamp(8px, 2vw, 0px) 20px clamp(12px, 3vw, 28px); }
.hero__sq { position: absolute; top: 0; right: 32px; width: 72px; height: 72px; background: var(--yellow); border-radius: 18px; }
.hero__photo { position: relative; height: clamp(340px, 40vw, 480px); border-radius: 28px; }
.float { position: absolute; z-index: 2; border-radius: 14px; box-shadow: 0 10px 30px rgba(0, 48, 158, .16); display: flex; animation: isFloat 5s ease-in-out infinite; }
.float--a { left: 0; top: 64px; background: #fff; padding: 14px 16px; gap: 12px; align-items: center; }
.float--b { right: 0; bottom: 36px; background: var(--blue); color: #fff; padding: 14px 18px; flex-direction: column; gap: 2px; box-shadow: 0 10px 30px rgba(0, 48, 158, .25); animation-duration: 6s; animation-delay: -2s; }
.float--b strong, .float__txt strong { font-size: 15px; }
.float--b span { font-size: 13px; color: var(--on-blue); }
.float__ico { width: 38px; height: 38px; border-radius: 10px; background: var(--soft-blue); color: var(--blue); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.float__txt { display: flex; flex-direction: column; gap: 2px; }
.float__txt span { font-size: 13px; color: var(--muted); }
@keyframes isFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Recherche */
.search { position: relative; max-width: 580px; width: 100%; }
.search__box { background: #fff; border-radius: 14px; box-shadow: 0 8px 30px rgba(0, 48, 158, .12); padding: 8px; display: flex; align-items: center; gap: 8px; border: 2px solid #fff; transition: border-color .2s; }
.search__box:focus-within { border-color: var(--blue); }
.search__box input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 10px 12px; font: inherit; font-size: 17px; color: var(--navy); }
.search__box input::-webkit-search-cancel-button { cursor: pointer; }
.search__box .btn { flex: none; padding: 12px 20px; }
.search__count { background: var(--yellow); color: var(--navy); font-weight: 700; border-radius: 10px; padding: 12px 18px; white-space: nowrap; }
.search--inline { align-self: end; }
.search__suggest { position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: #fff; border-radius: 14px; box-shadow: 0 16px 40px rgba(0, 48, 158, .18); padding: 8px; z-index: 6; display: flex; flex-direction: column; }
.search__suggest a { display: flex; justify-content: space-between; gap: 12px; padding: 11px 12px; border-radius: 9px; color: var(--navy); }
.search__suggest a:hover, .search__suggest a.is-active { background: var(--soft-blue); }
.search__suggest a span:first-child { font-size: 15px; font-weight: 500; }
.search__suggest a span:last-child { font-size: 12px; color: var(--muted); white-space: nowrap; }
.search__empty { margin: 0; padding: 12px; font-size: 15px; color: var(--muted); }

/* Cartes d'intention */
.intent { background: #fff; border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 10px; color: var(--navy); transition: transform .25s, box-shadow .25s; }
.intent:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--navy); }
.intent__n { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; }
.tone-blue { background: var(--soft-blue); color: var(--blue); }
.tone-soft-yellow { background: var(--soft-yellow); color: var(--navy); }
.tone-yellow { background: var(--yellow); color: var(--navy); }
.intent__t { font-size: 22px; font-weight: 700; margin-top: 6px; }
.intent__d { font-size: 15px; line-height: 1.5; color: var(--muted); flex: 1; }
.intent__cta { font-weight: 600; color: var(--blue); font-size: 15px; margin-top: 6px; }

/* Tuiles d'outils */
.app-tile { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 16px; background: var(--bg); color: var(--navy); transition: background .2s; }
a.app-tile:hover { background: var(--tile-hover); color: var(--navy); }
.app-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; flex: none; }
.app-ico--lg { width: 64px; height: 64px; border-radius: 18px; font-size: 20px; }
.app-tile__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.app-tile__name { font-size: 17px; font-weight: 700; }
.app-tile__desc { font-size: 14px; line-height: 1.4; color: var(--muted); }
.app-tile__count { font-size: 13px; color: var(--blue); font-weight: 600; margin-top: 4px; }
.app-tile__repl { font-size: 13px; color: var(--muted); }
.app-tile__repl strong { color: var(--navy); }
.app-tile__link { font-size: 14px; font-weight: 600; margin-top: 4px; }

/* Bloc alternative */
.alt { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 48px; align-items: start; }
.alt__left { display: flex; flex-direction: column; gap: 18px; }
.alt__lead { margin: 0; font-size: 17px; line-height: 1.55; color: var(--on-blue); max-width: 480px; }
.alt__right { display: flex; flex-direction: column; gap: 14px; }
.alt__guide { align-self: flex-start; margin-top: 6px; }
.reason { background: rgba(255, 255, 255, .08); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.reason strong { font-size: 15px; color: var(--yellow); }
.reason span { font-size: 14px; line-height: 1.4; color: var(--on-blue); }
.reason--lg { background: rgba(255, 255, 255, .1); border-radius: 16px; padding: 18px; }
.reason--lg strong { font-size: 16px; }
.reason--lg span { font-size: 15px; line-height: 1.5; }
.eq-list { display: flex; flex-direction: column; gap: 8px; }
.eq { background: rgba(255, 255, 255, .1); border-radius: 12px; padding: 14px 18px; display: grid; grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr); gap: 10px; align-items: center; font-size: 16px; color: #fff; transition: background .2s; }
.eq:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.eq__arrow, .eq strong { color: var(--yellow); }

/* Cartes tutoriels */
.tcard { background: #fff; border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; color: var(--navy); height: 100%; transition: transform .25s, box-shadow .25s; }
.tcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--navy); }
.tcard__top { height: 150px; display: flex; align-items: flex-end; justify-content: space-between; padding: 16px; }
.tcard--compact .tcard__top { height: 120px; padding: 14px 16px; }
.tcard__app { background: #fff; border-radius: 8px; padding: 5px 10px; font-size: 13px; font-weight: 600; }
.tcard__langs { font-size: 12px; font-weight: 600; }
.tcard__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tcard__title { font-size: 18px; font-weight: 600; line-height: 1.3; text-wrap: pretty; flex: 1; }
.tcard__meta { display: flex; gap: 10px; font-size: 13px; color: var(--muted); }
.tcard-wrap { display: flex; }
.tcard-wrap > .tcard { width: 100%; }
.mini-card { background: #fff; border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 8px; color: var(--navy); transition: transform .25s, box-shadow .25s; }
.mini-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0, 48, 158, .12); color: var(--navy); }
.mini-card strong { font-size: 17px; line-height: 1.3; }
.mini-card__meta { font-size: 13px; font-weight: 600; color: var(--blue); }
.mini-card__sub { font-size: 13px; color: var(--muted); }

/* Offres d'accompagnement */
.pack { background: #fff; color: var(--navy); border-radius: 24px; padding: 30px; display: flex; flex-direction: column; gap: 16px; position: relative; }
.pack--tall { padding: 28px; gap: 14px; }
.pack--featured { background: var(--yellow); }
.pack__flag { position: absolute; top: 22px; right: 22px; background: var(--navy); color: var(--yellow); font-size: 12px; font-weight: 700; border-radius: 999px; padding: 5px 10px; }
.pack__tag { font-size: 14px; font-weight: 600; color: var(--blue); }
.pack__name { font-size: 26px; font-weight: 700; line-height: 1.15; }
.pack__name--pad { font-size: 24px; padding-right: 90px; }
.pack__desc { font-size: 15px; line-height: 1.5; color: var(--muted); }
.pack--featured .pack__desc { color: #3A3A2A; }
.pack__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid rgba(11, 31, 92, .12); margin-top: auto; }
.pack__price { display: flex; flex-direction: column; }
.pack__price span { font-size: 13px; color: var(--muted); }
.pack__price strong { font-size: 24px; font-weight: 700; }
.pack__price--big { flex-direction: column-reverse; justify-content: flex-end; }
.pack__price--big strong { font-size: 30px; }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: 15px; flex: 1; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks li::before { content: '✓'; width: 20px; height: 20px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 11px; display: flex; align-items: center; justify-content: center; flex: none; margin-top: 1px; }
.checks--top { padding-top: 14px; border-top: 1px solid rgba(11, 31, 92, .12); }
.checks--lg { font-size: 16px; gap: 10px; }
.checks--lg li::before { margin-top: 2px; }
.band { margin-top: 16px; background: #fff; border-radius: 20px; padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 16px; }

/* Services partenaires */
.svc { display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: 16px; background: var(--bg); color: var(--navy); transition: background .2s; }
.svc:hover { background: var(--tile-hover); color: var(--navy); }
.svc strong { font-size: 16px; }
.svc span { font-size: 14px; line-height: 1.4; color: var(--muted); }
.svc--sm { padding: 14px 16px; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq__item { background: #fff; border-radius: 16px; }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font-size: 17px; font-weight: 600; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__sign { width: 30px; height: 30px; border-radius: 50%; background: var(--soft-blue); color: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 18px; flex: none; transition: background .2s; }
.faq__sign::before { content: '+'; }
.faq__item[open] .faq__sign { background: var(--blue); color: #fff; }
.faq__item[open] .faq__sign::before { content: '−'; }
.faq__item p { margin: 0; padding: 0 22px 20px; line-height: 1.6; font-size: 16px; color: var(--muted); }
.faq-intro { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.faq-intro p { margin: 0; font-size: 16px; line-height: 1.55; max-width: 400px; }

/* Têtes de page */
.page-head { padding: clamp(32px, 6vw, 52px) clamp(4px, 2vw, 24px) 32px; display: flex; flex-direction: column; gap: 16px; }
.page-head--tight { padding-bottom: 20px; }
.page-head--center { align-items: center; text-align: center; padding-bottom: clamp(40px, 6vw, 64px); gap: 20px; }
.page-head--center .lead { margin: 0 auto; }
.page-head--split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 32px; align-items: end; padding-bottom: 40px; }
.page-head--split > div { display: flex; flex-direction: column; gap: 16px; }
.crumbs { font-size: 14px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.page-head--center .crumbs { justify-content: center; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; }
.actions--center { justify-content: center; }
.tabs-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.tabs-pills a { font-size: 14px; font-weight: 600; padding: 8px 13px; border-radius: 999px; background: #fff; color: var(--navy); }
.tabs-pills a:hover { background: var(--soft-blue); }
.tabs-pills a.is-active { background: var(--blue); color: #fff; }

/* Mise en page avec colonne latérale */
.layout-aside { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.layout-aside > .toc { flex: 1 1 240px; }
.layout-aside__main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.layout-aside--right .layout-aside__main { gap: 16px; }
.layout-aside__side { flex: 1 1 240px; min-width: 0; }
.sticky { position: sticky; top: 20px; }
.toc { padding: 22px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.toc__title { font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; }
.toc a:not(.btn) { padding: 9px 12px; border-radius: 9px; font-size: 15px; color: var(--navy); }
.toc a:not(.btn):hover { background: var(--soft-blue); }
.toc__cta { margin-top: 14px; }
.side-blue { background: var(--blue); color: #fff; border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.side-blue strong { font-size: 18px; }
.side-blue span { font-size: 15px; line-height: 1.5; color: var(--on-blue); }
.side-cta { display: flex; flex-direction: column; gap: 12px; justify-content: center; border-radius: 24px; padding: clamp(22px, 3vw, 32px); }
.side-cta strong { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.2; }
.side-cta .btn { align-self: flex-start; }

/* Emplacements d'images */
.slot { border-radius: 18px; overflow: hidden; background: var(--tile-hover); position: relative; }
.hero__photo.slot { border-radius: 28px; z-index: 1; }
.slot--340 { height: 340px; margin-top: 8px; }
.slot--280 { height: 280px; }
.slot--tool { height: clamp(260px, 34vw, 400px); border-radius: 24px; }
.slot--shot { height: clamp(200px, 40vw, 300px); border-radius: 16px; background: var(--bg); }
.slot-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slot-img.is-contain { object-fit: contain; }
.slot-ph { position: absolute; inset: 0; background:
  radial-gradient(circle at 78% 22%, rgba(255, 204, 0, .55) 0 60px, transparent 61px),
  linear-gradient(135deg, #DCE5F8 0%, #EAF0FB 55%, #F3F6FC 100%); }
.slot-ph span { position: absolute; left: 12%; right: 12%; bottom: 14%; height: 38%; border-radius: 16px; background: rgba(255, 255, 255, .65); box-shadow: 0 10px 30px rgba(0, 48, 158, .08); }
.slot-ph span::before, .slot-ph span::after { content: ''; position: absolute; left: 8%; height: 10px; border-radius: 6px; background: rgba(0, 48, 158, .18); }
.slot-ph span::before { top: 22%; width: 46%; }
.slot-ph span::after { top: 48%; width: 70%; background: rgba(0, 48, 158, .1); }

/* Page découvrir */
.quiz { display: flex; flex-direction: column; gap: 14px; }
.quiz__q { font-weight: 600; margin-top: 6px; }
.opts { display: flex; gap: 8px; flex-wrap: wrap; }
.opt { border: 1.5px solid var(--field); cursor: pointer; padding: 10px 16px; border-radius: 10px; background: #fff; color: var(--navy); font-size: 15px; font-weight: 600; transition: background .15s, color .15s, border-color .15s; }
.opt:hover { border-color: var(--blue); }
.opt.is-active { background: var(--blue); color: #fff; border-color: var(--blue); }
.opt--radio { position: relative; padding: 0; border: 0; background: none; }
.opt--radio input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt--radio span { display: block; border: 1.5px solid var(--field); padding: 9px 13px; border-radius: 10px; font-size: 14px; background: #fff; }
.opt--radio input:checked + span { background: var(--blue); color: #fff; border-color: var(--blue); }
.opt--radio input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.reco { background: var(--blue); color: #fff; border-radius: 20px; padding: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; align-items: center; }
.reco__text { display: flex; flex-direction: column; gap: 8px; }
.reco__label { font-size: 14px; color: var(--yellow); font-weight: 600; }
.reco__name { font-size: 28px; font-weight: 700; }
.reco__why { font-size: 16px; line-height: 1.5; color: var(--on-blue); }
.reco__actions { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.reco__expert { color: #fff; font-weight: 600; text-decoration: underline; }
.reco__expert:hover { color: var(--yellow); }
.proscons { border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.proscons strong { font-size: 18px; }
.proscons span { font-size: 16px; line-height: 1.5; display: flex; gap: 10px; }
.proscons--pros { background: var(--green-bg); }
.proscons--pros b { color: var(--green); }
.proscons--cons { background: var(--orange-bg); }
.proscons--cons b { color: var(--orange); }
.num { width: 34px; height: 34px; border-radius: 50%; background: var(--yellow); display: flex; align-items: center; justify-content: center; font-weight: 700; flex: none; color: var(--navy); }
.num--md { width: 38px; height: 38px; }
.num--lg { width: 40px; height: 40px; font-size: 17px; }
.step-card { background: var(--bg); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 8px; color: var(--navy); }
a.step-card:hover { background: var(--tile-hover); color: var(--navy); }
.step-card strong { font-size: 17px; }
.step-card span:last-child { font-size: 14px; line-height: 1.45; color: var(--muted); }
.step-card--white { background: #fff; border-radius: 18px; }
.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band > div { display: flex; flex-direction: column; gap: 8px; max-width: 640px; }
.cta-band p, .cta-band span { margin: 0; font-size: 16px; line-height: 1.5; }
.cta-band__title { font-size: clamp(20px, 2.4vw, 26px); }

/* Page outil */
.split { padding: 24px clamp(4px, 2vw, 24px) 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: clamp(28px, 5vw, 56px); align-items: center; }
.split__text { display: flex; flex-direction: column; gap: 18px; }
.feature { background: var(--bg); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.feature strong { font-size: 17px; }
.feature span { font-size: 15px; line-height: 1.5; color: var(--muted); }

/* Liste des tutoriels */
.filters { padding: 18px 20px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; align-items: center; }
.filters__apps { display: flex; gap: 6px; flex-wrap: wrap; }
.fchip { border: 0; cursor: pointer; padding: 8px 13px; border-radius: 999px; background: var(--bg); color: var(--navy); font-size: 14px; font-weight: 600; }
.fchip:hover { background: var(--tile-hover); }
.fchip.is-active { background: var(--blue); color: #fff; }
.empty { padding: 40px; text-align: center; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.empty strong { font-size: 20px; }
.path { border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 10px; transition: opacity .2s, transform .25s; }
.path:hover { opacity: .94; transform: translateY(-3px); }
.path--white { background: #fff; color: var(--navy); }
.path--blue { background: var(--blue); color: #fff; }
.path--yellow { background: var(--yellow); color: var(--navy); }
.path--white:hover, .path--yellow:hover { color: var(--navy); }
.path--blue:hover { color: #fff; }
.path__meta { font-size: 14px; font-weight: 600; opacity: .8; }
.path__title { font-size: 24px; font-weight: 700; line-height: 1.15; }
.path__desc { font-size: 15px; line-height: 1.5; opacity: .85; }
.path__cta { font-weight: 700; margin-top: 8px; }
.path-banner { border-radius: 20px; padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; background: #fff; }
.path-banner > div { display: flex; flex-direction: column; gap: 2px; }
.path-banner--blue { background: var(--blue); color: #fff; }
.path-banner--blue a { color: var(--yellow); }
.path-banner--yellow { background: var(--yellow); }
.path-banner a { font-weight: 600; }

/* Tutoriel */
.step { gap: 14px; padding: clamp(22px, 3vw, 34px); }
.step__head { display: flex; gap: 14px; align-items: center; }
.code { position: relative; background: var(--navy); color: #fff; border-radius: 12px; }
.code pre { margin: 0; padding: 16px 18px; font-family: 'Fira Mono', ui-monospace, monospace; font-size: 14px; line-height: 1.8; white-space: pre-wrap; }
.code__copy { position: absolute; top: 10px; right: 10px; border: 0; cursor: pointer; background: rgba(255, 255, 255, .12); color: #fff; border-radius: 8px; padding: 6px 10px; font-size: 13px; }
.code__copy:hover { background: rgba(255, 255, 255, .22); }
.tip { background: var(--soft-yellow); border-radius: 14px; padding: 14px 18px; font-size: 15px; line-height: 1.55; }
.trouble { border-top: 1px solid var(--line); padding-top: 12px; display: flex; flex-direction: column; gap: 4px; }
.trouble strong { font-size: 16px; }
.trouble span, .trouble .prose { font-size: 16px; line-height: 1.55; color: var(--muted); }
div.prose { display: flex; flex-direction: column; gap: 12px; }
div.prose p, div.prose ul, div.prose ol { margin: 0; }
div.prose ul, div.prose ol { padding-left: 1.3em; display: flex; flex-direction: column; gap: 6px; }
.prose a, .tip a, .warn a, .checks a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.prose code, .tip code, .warn code, .checks code { font-family: 'Fira Mono', ui-monospace, monospace; font-size: .88em; background: var(--bg); border-radius: 6px; padding: 1px 6px; }
.warn { background: #fff1ef; border-left: 4px solid #d93a2b; border-radius: 14px; padding: 14px 18px; font-size: 15px; line-height: 1.55; }
.warn strong:first-child { color: #b32a1d; }
.keypoints { background: var(--soft-yellow); }
.shot { margin: 0; border-radius: 16px; overflow: hidden; background: var(--bg); border: 1px solid var(--line); }
.shot img { display: block; width: auto; max-width: 100%; height: auto; max-height: 640px; margin: 0 auto; }
.shot__open {
  display: block; width: 100%; margin: 0; padding: 0; border: 0; background: none; color: inherit;
  cursor: zoom-in; position: relative; font: inherit; text-align: inherit; appearance: none;
}
.slot .shot__open { height: 100%; }
.shot__hint {
  position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 6px; pointer-events: none;
  background: var(--navy); color: #fff; border-radius: 999px; padding: 7px 12px;
  font-size: 13px; font-weight: 600; white-space: nowrap; box-shadow: var(--shadow);
}
.shot__open:hover .shot__hint, .shot__open:focus-visible .shot__hint { background: var(--blue); }

.lightbox[open] {
  display: flex; flex-direction: column; width: 100vw; height: 100dvh; max-width: 100vw; max-height: 100dvh;
  margin: 0; padding: 0; border: 0; background: var(--navy); color: #fff;
}
.lightbox::backdrop { background: rgba(11, 31, 92, .55); }
.lightbox__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap;
  padding: 10px 14px; background: var(--navy); border-bottom: 1px solid rgba(255, 255, 255, .14); flex: none;
}
.lightbox__meta { display: flex; flex-direction: column; gap: 2px; flex: 1 1 220px; min-width: 0; }
.lightbox__title { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.35; }
.lightbox__help { margin: 0; font-size: 13px; line-height: 1.4; color: var(--on-blue); }
.lightbox__tools { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.lightbox__tools button {
  border: 0; cursor: pointer; background: rgba(255, 255, 255, .12); color: #fff;
  border-radius: 8px; min-width: 36px; height: 36px; padding: 0 12px; font-weight: 600; font-size: 16px;
}
.lightbox__tools button:hover { background: rgba(255, 255, 255, .22); }
.lightbox__tools button:disabled { opacity: .4; cursor: default; }
.lightbox__level { min-width: 52px; text-align: center; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.lightbox__view { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; background: #08153f; scrollbar-color: rgba(255, 255, 255, .5) transparent; }
.lightbox__frame { min-width: 100%; min-height: 100%; display: flex; justify-content: center; align-items: flex-start; padding: 20px; box-sizing: border-box; }
.lightbox__frame img { display: block; width: auto; max-width: none; height: auto; background: #fff; border-radius: 8px; box-shadow: 0 16px 40px rgba(0, 0, 0, .35); }
.preview-bar { background: var(--navy); color: #fff; text-align: center; padding: 10px 16px; font-size: 14px; }
.preview-bar a { color: #fff; text-decoration: underline; margin-left: 8px; }
.vote { flex-direction: row; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; padding: 20px 24px; }
.vote__ask, .vote__done { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; width: 100%; }
.vote strong { font-size: 17px; }
.vote__btns { display: flex; gap: 8px; }
.draft { border: 2px dashed var(--tile-hover); }
.draft .btn { align-self: flex-start; }

/* Alternative */
.reason-card { background: #fff; border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.reason-card__n { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.reason-card strong { font-size: 19px; margin-top: 6px; }
.reason-card span:last-child { font-size: 15px; line-height: 1.5; color: var(--muted); }
.cmp { background: var(--bg); border-radius: 16px; padding: 16px 18px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 8px 20px; align-items: center; }
.cmp > div { display: flex; flex-direction: column; gap: 2px; }
.cmp__k { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.cmp__from { font-size: 17px; font-weight: 500; }
.cmp__to { font-size: 17px; color: var(--blue); }
.cmp__note { font-size: 15px; line-height: 1.45; color: var(--muted); }
.li-mark { display: flex; gap: 10px; font-size: 16px; line-height: 1.5; }
.li-mark--plus b { color: var(--yellow); }
.li-mark--warn b { color: var(--orange); }
.panel--blue .btn { align-self: flex-start; }

/* Accompagnement */
.process { display: flex; gap: 16px; align-items: flex-start; background: var(--bg); border-radius: 16px; padding: 18px; }
.process div { display: flex; flex-direction: column; gap: 4px; }
.process strong { font-size: 17px; }
.process span { font-size: 15px; line-height: 1.5; color: var(--muted); }
.contact__lead { margin: 0; font-size: 17px; line-height: 1.55; color: var(--on-blue); }
.contact__link { color: var(--yellow); font-weight: 600; }
.contact__link:hover { color: #fff; }
.contact__box { background: #fff; color: var(--navy); border-radius: 20px; padding: clamp(18px, 3vw, 28px); }
.form { display: flex; flex-direction: column; gap: 14px; }
.form__needs { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.form__needs legend { font-weight: 600; font-size: 15px; padding: 0; margin-bottom: 14px; }
.field input, .field textarea { width: 100%; font: inherit; font-size: 16px; border: 1.5px solid var(--field); border-radius: 10px; padding: 12px 14px; outline: 0; color: var(--navy); min-width: 0; background: #fff; transition: border-color .2s; }
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--blue); }
.field input[aria-invalid="true"] { border-color: #C0392B; }
.form__error { margin: 0; background: #FDECEA; color: #8E1B10; border-radius: 10px; padding: 10px 14px; font-size: 14px; }
.form__note { margin: 0; font-size: 13px; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sent { display: flex; flex-direction: column; gap: 10px; justify-content: center; min-height: 100%; padding: 8px; }
.sent strong { font-size: 22px; }
.sent span { font-size: 16px; line-height: 1.5; color: var(--muted); }

/* À propos */
.about__logo { width: min(100%, 220px); height: auto; display: block; justify-self: center; border-radius: 12px; }
.kv { background: var(--bg); border-radius: 14px; padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.kv__k { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.kv__v { font-size: 16px; line-height: 1.5; }

/* Erreur */
.error-page { gap: 18px; }
.error-page__code { font-size: 72px; font-weight: 700; color: var(--blue); line-height: 1; background: var(--yellow); border-radius: 24px; padding: 12px 28px; }
.error-page .search { margin: 8px auto 0; }

/* Animations d'apparition (désactivées si mouvement réduit) */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .float { animation: none; }
  *, *::before, *::after { transition: none !important; }
}
