/* logabax.fr, version B (2026-11-27) : thème sombre, accent ambre, Anybody (titres) et Source Sans 3 (texte), SIL OFL (fonts/).
   Animations (particules, bandeau, apparitions) coupées avec prefers-reduced-motion ; contenu lisible sans JS. */
@font-face { font-family: "Anybody"; font-style: normal; font-weight: 400 900; font-stretch: 50% 150%; font-display: swap;
  src: url(fonts/Anybody-400-900-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Anybody"; font-style: normal; font-weight: 400 900; font-stretch: 50% 150%; font-display: swap;
  src: url(fonts/Anybody-400-900-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(fonts/SourceSans3-normal-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(fonts/SourceSans3-normal-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Source Sans 3"; font-style: italic; font-weight: 400; font-display: swap;
  src: url(fonts/SourceSans3-italic-latin.woff2) format("woff2"); }

:root {
  color-scheme: dark;
  --paper: #0c1013;
  --tint: #12181c;
  --card: #151c21;
  --ink: #ebe5d8;
  --muted: #9aa4a7;
  --navy: #ebe5d8;
  --cyan: #f2a93b;
  --amber: #f2a93b;
  --link: #ffc877;
  --rule: #27323a;
  --serif: "Anybody", "Arial Narrow", Arial, sans-serif;
  --sans: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.65 var(--sans); }
img { max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--navy); text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--serif); color: var(--navy); font-weight: 700; line-height: 1.08; margin: 0 0 .6em; font-variation-settings: "wdth" 88; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 1.2rem + 4vw, 4.6rem); font-weight: 800; font-variation-settings: "wdth" 72; line-height: .95; letter-spacing: -.02em; }
h1 .hl { color: var(--amber); }
h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
h3 { font-size: 1.25rem; }
p, ul, ol, dl, table { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
li + li { margin-top: .3em; }
strong, b { font-weight: 600; }
.wrap { width: min(1120px, 100% - 48px); margin-inline: auto; }
.narrow { max-width: 46rem; }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 10; }
.skip:focus { left: 8px; }

/* En-tête */
.site-head { background: rgba(12,16,19,.86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); position: sticky; top: 0; z-index: 5; }
.site-head .wrap { display: flex; align-items: center; gap: 32px; min-height: 68px; }
.brand { display: block; line-height: 0; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 800 1.15rem/1 var(--serif); font-variation-settings: "wdth" 110; letter-spacing: .06em; }
.brand svg { width: 22px; height: 22px; }
.brand svg rect { fill: none; stroke: var(--ink); stroke-width: 1.6; }
.brand svg rect.on { fill: var(--amber); stroke: var(--amber); }
.nav { margin-left: auto; }
.nav ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
.nav li + li { margin: 0; }
.nav a { color: var(--ink); text-decoration: none; font-size: 1rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--navy); border-bottom-color: var(--rule); }
.nav a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--cyan); }
.nav .contact-link { color: #0c1013; background: var(--amber); font-weight: 600; padding: 7px 14px; border-radius: 999px; border: 0; }
.nav .contact-link:hover { color: #0c1013; background: #ffc877; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--rule); border-radius: 4px; padding: 6px 12px; font: inherit; color: var(--navy); cursor: pointer; }

/* Boutons */
.btn { display: inline-block; background: var(--amber); color: #0c1013; text-decoration: none; padding: 12px 22px; border-radius: 999px; font-weight: 600; border: 0; font: 600 1rem/1.3 var(--sans); cursor: pointer; }
.btn:hover { background: #ffc877; color: #0c1013; }
.btn:disabled { opacity: .6; cursor: default; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 28px; }

/* Blocs */
.intro { padding: 64px 0 56px; border-bottom: 1px solid var(--rule); }
.intro .grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.intro .lede { font-size: 1.2rem; color: #d9d3c6; max-width: 38rem; }
.kicker { font-size: .95rem; color: var(--muted); margin-bottom: 14px; }
.kicker a { color: var(--muted); }
.facts { border-top: 3px solid var(--amber); padding-top: 14px; font-size: .98rem; }
.facts h2 { font: 600 1rem/1.3 var(--sans); color: var(--navy); margin-bottom: 10px; }
.facts dl { margin: 0; }
.facts dt { font-weight: 600; color: var(--navy); margin-top: 12px; }
.facts dd { margin: 2px 0 0; color: #c9c3b6; }
.block { padding: 56px 0; border-bottom: 1px solid var(--rule); }
.block.alt { background: var(--tint); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 48px; }
.split > :first-child h2 { position: sticky; top: 96px; }
.block-head { max-width: 44rem; margin-bottom: 28px; }
.block-head p { color: var(--muted); }

/* Liste de services (accueil) */
.services { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rule); }
.services li { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 8px 32px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.services h3 { margin: 0; font-size: 1.6rem; }
.services h3 a { color: var(--navy); text-decoration: none; }
.services h3 a:hover { text-decoration: underline; }
.services p { margin: 0; }
.services .more { grid-column: 2; font-size: .98rem; }

/* Colonnes de texte */
.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 48px; }
.cols.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols h3 { margin-bottom: .35em; }
.cols p { margin: 0; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 18px 44px; margin: 0; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border: 1px solid var(--amber); border-radius: 50%; font: 600 .9rem/26px var(--sans); text-align: center; color: var(--amber); }
.steps h3 { font-size: 1.1rem; margin: 0 0 .2em; }
.steps p { margin: 0; }

/* Exemple, encadré */
.example { background: var(--card); border: 1px solid var(--rule); border-left: 3px solid var(--cyan); padding: 22px 26px; }
.example p:last-child { margin-bottom: 0; }
.example .label { font-size: .9rem; color: var(--muted); margin-bottom: 6px; }
.note { font-size: .98rem; color: var(--muted); }
.note.after { margin-top: 16px; }

/* Solutions open source */
.domains { margin: 0; }
.domains > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 6px 32px; padding: 18px 0; border-top: 1px solid var(--rule); }
.domains dt { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: var(--navy); }
.domains dd { margin: 0; }
.domains .tools-used { display: block; font-size: .95rem; color: var(--muted); margin-top: 4px; }

/* Tableaux */
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .98rem; background: var(--card); }
caption { text-align: left; color: var(--muted); padding-bottom: 8px; }
th, td { text-align: left; vertical-align: top; padding: 11px 14px; border-bottom: 1px solid var(--rule); }
thead th { font-weight: 600; color: var(--navy); border-bottom: 2px solid var(--amber); }
tbody th { font-weight: 600; }

/* Niveaux de service */
.levels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--rule); background: var(--card); border-radius: 8px; overflow: hidden; }
.levels > div { padding: 24px 24px 20px; }
.levels > div + div { border-left: 1px solid var(--rule); }
.levels h3 { margin-bottom: .1em; }
.levels .for { color: var(--muted); font-size: .95rem; margin-bottom: 12px; }
.levels ul { margin: 0; }

/* FAQ */
.faq details { border-top: 1px solid var(--rule); padding: 14px 0; }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; font-weight: 600; color: var(--navy); list-style: none; padding-right: 28px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: -2px; font-size: 1.3rem; color: var(--muted); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 10px 0 0; max-width: 44rem; }

/* Urgence PrestaShop */
.alert-box { border: 1px solid #6b3b2c; background: #1d1412; border-radius: 8px; padding: 18px 22px; display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; }
.alert-box p { margin: 0; }

/* Contact */
.contact { padding: 64px 0; background: var(--tint); }
.contact .grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 56px; }
.contact ul { color: #c9c3b6; }
.contact .mail { font-size: 1.1rem; }
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 5px; color: #d9d3c6; }
.req { color: var(--amber); }
input, textarea { width: 100%; font: inherit; color: var(--ink); background: var(--card); border: 1px solid #34424b; border-radius: 4px; padding: 10px 12px; }
input:focus, textarea:focus { border-color: var(--amber); outline: 2px solid rgba(242,169,59,.3); outline-offset: 0; }
[aria-invalid="true"] { border-color: #e8694f; }
.f-hp { position: absolute; left: -5000px; }
.f-note { font-size: .92rem; color: var(--muted); }
.f-status { min-height: 1.5em; margin-top: 12px; font-weight: 600; }
.f-status.is-ok { color: #72cfb9; }
.f-status.is-err { color: #e8694f; }

/* Pied de page */
.site-foot { background: #090c0e; border-top: 1px solid var(--rule); color: #9aa4a7; padding: 48px 0 28px; font-size: .97rem; }
.site-foot a { color: var(--ink); text-decoration: none; }
.site-foot a:hover { text-decoration: underline; color: #fff; }
.site-foot .grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.site-foot h2 { font: 600 .95rem/1.3 var(--sans); color: var(--ink); margin-bottom: 10px; }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li + li { margin-top: 6px; }
.site-foot .legal { border-top: 1px solid var(--rule); margin-top: 36px; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 22px; color: #6c777b; font-size: .92rem; }
.site-foot .legal a { color: #9aa4a7; }

/* Pages légales */
.legal-page { padding: 56px 0 72px; }
.legal-page h2 { font-size: 1.35rem; margin-top: 1.6em; }

/* Catalogue d'outils */
.cat-tools { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; padding: 40px 0 64px; }
.cat-side { position: sticky; top: 92px; align-self: start; max-height: calc(100vh - 110px); overflow: auto; font-size: .96rem; }
.cat-side ul { list-style: none; padding: 0; margin: 0; }
.cat-side li { margin: 0; }
.cat-f { display: flex; justify-content: space-between; width: 100%; background: none; border: 0; padding: 6px 8px; font: inherit; color: var(--ink); text-align: left; cursor: pointer; border-radius: 3px; }
.cat-f:hover { background: var(--tint); }
.cat-f[aria-pressed="true"] { background: var(--amber); color: #0c1013; }
.cat-f .c { color: inherit; opacity: .7; }
.search { margin-bottom: 20px; }
.search input { max-width: 30rem; }
.cat h2 { font-size: 1.5rem; margin: 28px 0 8px; padding-bottom: 6px; border-bottom: 2px solid var(--amber); }
.cat h2 .c { font: 400 1rem var(--sans); color: var(--muted); }
.tools { list-style: none; padding: 0; margin: 0; }
.tool { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 20px; }
.tool h3 { font: 600 1.02rem/1.35 var(--sans); color: var(--navy); margin: 0; }
.tool p { margin: 0; grid-column: 1; font-size: .97rem; }
.tool .meta { grid-column: 1; font-size: .88rem; color: var(--muted); }
.tool .links { grid-column: 2; grid-row: 1 / span 3; font-size: .92rem; white-space: nowrap; }
.tool .links a + a { margin-left: 12px; }
.no-result { color: var(--muted); }
[hidden] { display: none !important; }

/* Erreur 404 */
.notfound { padding: 96px 0; }

@media (max-width: 960px) {
  .intro .grid, .split, .contact .grid, .cat-tools { grid-template-columns: 1fr; gap: 32px; }
  .split > :first-child h2, .cat-side { position: static; max-height: none; }
  .cols.three, .levels { grid-template-columns: 1fr; }
  .levels > div + div { border-left: 0; border-top: 1px solid var(--rule); }
  .site-foot .grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #0c1013; border-bottom: 1px solid var(--rule); }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding: 8px 24px 16px; }
  .nav a { display: block; padding: 10px 0; border-bottom: 1px solid var(--tint); }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .intro { padding: 40px 0; }
  .block, .contact { padding: 40px 0; }
  .services li, .domains > div, .cols, form .row { grid-template-columns: 1fr; }
  .services .more { grid-column: 1; }
  .site-foot .grid { grid-template-columns: 1fr; }
  .tool { grid-template-columns: 1fr; }
  .tool .links { grid-column: 1; grid-row: auto; }
}
@media print {
  .site-head, .site-foot, .contact, .menu-btn { display: none; }
  body { background: #fff; color: #000; }
}

/* Version B : héros animé, bandeau défilant, apparitions */
.hero { position: relative; isolation: isolate; min-height: calc(100svh - 68px); display: grid; align-items: end; overflow: hidden; border-bottom: 1px solid var(--rule); }
.hero-fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(12,16,19,.92) 0%, rgba(12,16,19,.55) 45%, rgba(12,16,19,0) 70%); }
.hero .wrap { padding: 96px 0 56px; }
.hero h1 { font-size: clamp(2.7rem, .4rem + 7.2vw, 7.4rem); line-height: .9; margin-bottom: .35em; }
.hero h1 .ln { display: block; }
.rot { display: inline-grid; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; color: var(--amber); vertical-align: top; }
.rot-w { grid-area: 1 / 1; white-space: nowrap; opacity: 0; transform: translateY(105%); transition: opacity .5s ease, transform .8s cubic-bezier(.16,1,.3,1); }
.rot-w.is-on { opacity: 1; transform: none; }
.rot-w.is-out { opacity: 0; transform: translateY(-105%); }
.hero .lede { font-size: 1.22rem; color: #d9d3c6; max-width: 36rem; }
.marquee { border-bottom: 1px solid var(--rule); padding: 18px 0; display: grid; gap: 10px; overflow: hidden; }
.marquee-row { display: flex; width: max-content; }
.marquee-track { list-style: none; margin: 0; padding: 0; display: flex; flex: none; animation: marquee 52s linear infinite; }
.marquee-row.rev .marquee-track { animation-direction: reverse; animation-duration: 60s; }
.marquee li { margin: 0; font: 700 clamp(1.3rem, 1rem + 1.4vw, 2.1rem)/1.2 var(--serif); font-variation-settings: "wdth" 110; padding: 0 1.4rem; white-space: nowrap; color: #6c777b; display: inline-flex; align-items: center; gap: 2.8rem; }
.marquee li::after { content: ""; width: 7px; height: 7px; background: var(--amber); transform: rotate(45deg); opacity: .7; }
.marquee-row.rev li { color: transparent; -webkit-text-stroke: 1px #34424b; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: no-preference) {
  .js .rv { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .8s cubic-bezier(.16,1,.3,1); transition-delay: var(--d, 0ms); }
  .js .rv.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .rot-w { transition: none; }
}
@media (max-width: 700px) {
  .hero { min-height: 0; }
  .hero .wrap { padding: 46vh 0 40px; }
  .hero::after { background: linear-gradient(180deg, rgba(12,16,19,0) 0%, rgba(12,16,19,.7) 40%, rgba(12,16,19,.95) 60%); }
}
