/* ==========================================================================
   Sinfobox — feuille de style
   Identité : encre bleu nuit, orange « signal », fond clair. Polices système (aucune requête vers
   Google Fonts : plus rapide et sans transfert de données). Pour une police de marque, voir README.
   ========================================================================== */

:root {
  --ink: #0B1020;
  --ink-2: #131A33;
  --ink-3: #1D2650;
  --paper: #F5F6FA;
  --white: #FFFFFF;
  --text: #12182B;
  --muted: #5A6378;
  --line: #E1E5EE;
  --orange: #FF6B2C;
  --orange-hi: #FF8450;
  --orange-ink: #B83F0A;      /* orange foncé : texte et liens sur fond clair (contraste AA) */
  --tint: #FFF1EA;
  --blue: #4C7DFF;
  --teal: #17A58F;
  --ok: #15803D;
  --err: #B42318;
  --soft: #B9C2DA;            /* texte secondaire sur fond sombre */

  --ff: Inter, "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --ff-mono: ui-monospace, "SF Mono", "Cascadia Code", "Roboto Mono", Consolas, "Liberation Mono", monospace;
  --wrap: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 10px;
  --radius-lg: 18px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--ff); font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body:has(dialog[open]) { overflow: hidden; }
img, svg, iframe { max-width: 100%; }
a { color: var(--orange-ink); text-underline-offset: .2em; }
a:hover { color: #8F2F05; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
main:focus { outline: none; }
bdi { white-space: nowrap; }
h1, h2, h3 { font-weight: 750; line-height: 1.1; letter-spacing: -.028em; margin: 0 0 .5em; text-wrap: balance; color: var(--ink); }
h1 { font-size: clamp(2.3rem, 5vw, 4rem); letter-spacing: -.04em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: 1.2rem; letter-spacing: -.015em; line-height: 1.25; }
.lead { font-size: 1.2rem; line-height: 1.6; color: var(--muted); max-width: 36em; }
.lead-dark { font-size: 1.2rem; color: var(--text); }
.fine { font-size: .875rem; color: var(--muted); line-height: 1.5; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.22em; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; inset-inline-start: 1rem; top: -100px; z-index: 200; background: var(--orange); color: var(--ink); padding: .6rem 1rem; border-radius: var(--radius); font-weight: 700; }
.skip:focus { top: 1rem; color: var(--ink); }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 860px; }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; margin: 0 0 1.4rem; padding: .35rem .85rem; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; font: 500 .78rem/1.2 var(--ff-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--soft); }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(255,107,44,.22); }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .7rem 1.4rem; border: 1.5px solid transparent; border-radius: 10px; font: 650 1rem/1.2 var(--ff); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .15s ease, border-color .15s ease, transform .15s ease; }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 42px; padding: .5rem 1.05rem; font-size: .95rem; }
.btn-primary { background: var(--orange); color: var(--ink); }
.btn-primary:hover { background: var(--orange-hi); color: var(--ink); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.07); }
.btn-wa { background: #1E7B52; color: #fff; border-color: #1E7B52; }
.btn-wa:hover { background: #17633F; border-color: #17633F; color: #fff; }
.btn[disabled] { opacity: .6; cursor: progress; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.text-link { font-weight: 650; }
.link-btn { background: none; border: 0; padding: .4rem; color: var(--muted); font: inherit; font-size: .9rem; text-decoration: underline; cursor: pointer; }
.link-btn:hover { color: var(--ink); }

/* ---------- En-tête (sombre, continu avec le héros) ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11,16,32,.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.site-header.is-scrolled { border-bottom-color: rgba(255,255,255,.1); }
.header-inner { display: flex; align-items: center; gap: 1.25rem; min-height: var(--header-h); max-width: 1320px; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: #fff; text-decoration: none; margin-inline-end: auto; }
.brand:hover { color: #fff; }
.brand-name { font-size: 1.35rem; font-weight: 800; letter-spacing: -.035em; }
.emblem { width: 34px; height: 34px; flex: none; color: #fff; }
.emblem .em-top { fill: var(--orange); }
.emblem .em-left { fill: currentColor; }
.emblem .em-right { fill: currentColor; opacity: .62; }
.emblem-lg { width: 84px; height: 84px; color: var(--ink); margin-bottom: 1.5rem; }
.nav-panel { display: flex; align-items: center; gap: 1.25rem; }
.nav-panel > * { flex-shrink: 0; }
.nav-list { list-style: none; display: flex; gap: .15rem; }
.nav-list a { display: block; padding: .5rem .6rem; color: #C6CEE6; text-decoration: none; font-weight: 550; font-size: .95rem; border-radius: 8px; }
.nav-list a:hover { color: #fff; background: rgba(255,255,255,.07); }
.nav-list a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--orange); border-radius: 0; }
.lang-switch { display: flex; border: 1px solid rgba(255,255,255,.2); border-radius: 8px; overflow: hidden; }
.lang-switch a { padding: .3rem .65rem; font: 700 .78rem/1.5 var(--ff-mono); color: #C6CEE6; text-decoration: none; }
.lang-switch a + a { border-inline-start: 1px solid rgba(255,255,255,.2); }
.lang-switch a:hover { color: #fff; background: rgba(255,255,255,.08); }
.lang-switch a[aria-current="true"] { background: #fff; color: var(--ink); }
.nav-toggle { display: none; align-items: center; gap: .45rem; min-height: 44px; padding: .4rem .9rem; border: 1px solid rgba(255,255,255,.25); border-radius: 10px; background: transparent; color: #fff; font: 600 .95rem var(--ff); cursor: pointer; }
.nav-toggle .i-shut { display: none; }
.nav-open .nav-toggle .i-open { display: none; }
.nav-open .nav-toggle .i-shut { display: inline; }
@media (max-width: 1239px) {
  .nav-toggle { display: inline-flex; }
  .nav-panel { display: none; position: absolute; top: 100%; inset-inline: 0; flex-direction: column; align-items: stretch; gap: 1rem; padding: .5rem var(--gutter) 1.5rem; background: var(--ink); border-bottom: 1px solid rgba(255,255,255,.12); box-shadow: 0 24px 40px -24px rgba(0,0,0,.7); max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .nav-open .nav-panel { display: flex; }
  .nav-list { flex-direction: column; }
  .nav-list a { padding: .85rem .25rem; font-size: 1.05rem; border-bottom: 1px solid rgba(255,255,255,.1); border-radius: 0; }
  .nav-list a[aria-current="page"] { box-shadow: none; color: var(--orange); }
  .lang-switch { align-self: flex-start; }
}
@media (max-width: 520px) { .nav-toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }

/* ---------- Héros ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(60rem 40rem at 82% 8%, rgba(255,107,44,.17), transparent 62%), radial-gradient(44rem 30rem at -5% 105%, rgba(76,125,255,.14), transparent 60%), var(--ink); color: #fff; padding-block: clamp(2.5rem, 7vw, 5.5rem) clamp(3.5rem, 8vw, 6.5rem); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.075) 1px, transparent 1px); background-size: 30px 30px; -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); mask-image: linear-gradient(180deg, #000 0%, transparent 85%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero-grid > * { min-width: 0; }
.hero-title { color: #fff; font-size: clamp(2.2rem, 3.9vw, 3.3rem); line-height: 1.07; max-width: 14em; }
.hero-title .hl { color: var(--orange); }
.hero .lead { color: var(--soft); }
.badges { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin: 2rem 0 0; }
.badges li { position: relative; padding-inline-start: 1.5rem; color: #D7DCEE; font-size: .95rem; }
.badges li::before { content: ""; position: absolute; inset-inline-start: 0; top: .42em; width: .85rem; height: .45rem; border-left: 2px solid var(--orange); border-bottom: 2px solid var(--orange); transform: rotate(-45deg); }
.hero-visual { max-width: 500px; justify-self: center; width: 100%; }
.box-svg { display: block; width: 100%; height: auto; overflow: visible; }
.box-lid, .chip-pop { transform-box: fill-box; transform-origin: center; }
.box-lid { opacity: 0; }
.box-beam { opacity: .6; }
/* Le moment signature : le couvercle s'envole, la lumière jaillit, trois cartes sortent de la boîte (une seule fois) */
@media (prefers-reduced-motion: no-preference) {
  .box-lid { animation: lid-off 1.15s cubic-bezier(.3,.7,.2,1) .35s both; }
  .box-beam { animation: beam-in 1.2s ease .8s both; }
  .chip-pop { animation: chip-pop .95s cubic-bezier(.2,.9,.25,1.15) var(--d) both; }
}
@keyframes lid-off { 0% { opacity: 1; transform: translate(0,0) rotate(0); } 70% { opacity: 1; } 100% { opacity: 0; transform: translate(80px,-170px) rotate(16deg); } }
@keyframes beam-in { from { opacity: 0; } to { opacity: .6; } }
@keyframes chip-pop { from { opacity: 0; transform: translate(var(--fx), var(--fy)) scale(.3); } to { opacity: 1; transform: none; } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section-top { padding-top: clamp(2.5rem, 5vw, 3.5rem); }
.section-alt { background: var(--white); border-block: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem 4rem; align-items: end; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--muted); max-width: 32em; }
.ico { display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--ink); color: var(--orange); margin-bottom: 1.1rem; }
.ico .i { width: 24px; height: 24px; }

.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.svc-card { display: grid; align-content: start; gap: .4rem; padding: 1.75rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); color: var(--text); text-decoration: none; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.svc-card:hover { transform: translateY(-4px); border-color: var(--orange); box-shadow: 0 22px 36px -26px rgba(11,16,32,.45); color: var(--text); }
.svc-card h3 { margin: 0; }
.svc-card p { margin: 0; color: var(--muted); }
.svc-card .more { margin-top: .7rem; display: inline-flex; align-items: center; gap: .4rem; font-weight: 650; color: var(--orange-ink); }
.svc-card .more .i { transition: transform .18s ease; }
.svc-card:hover .more .i { transform: translateX(4px); }

/* Spotlight email marketing */
.spotlight { background: var(--ink-2); color: #fff; padding-block: clamp(3.5rem, 7vw, 6rem); position: relative; overflow: hidden; }
.spotlight::before { content: ""; position: absolute; inset-inline-end: -10%; top: -30%; width: 50%; height: 160%; background: radial-gradient(closest-side, rgba(255,107,44,.16), transparent); pointer-events: none; }
.spot-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.spot-grid > * { min-width: 0; }
.spotlight h2 { color: #fff; }
.spotlight .lead { color: var(--soft); }
.checks { list-style: none; display: grid; gap: .7rem; margin: 1.5rem 0 2rem; }
.checks li { position: relative; padding-inline-start: 2rem; color: #E3E8F6; }
.checks li::before { content: ""; position: absolute; inset-inline-start: 0; top: .15em; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: rgba(255,107,44,.18) no-repeat center / 62%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF6B2C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.checks.light { margin-bottom: 0; }
.checks.light li { color: var(--text); }
.mail-mock { max-width: 440px; justify-self: center; width: 100%; background: #fff; border-radius: 16px; box-shadow: 0 40px 70px -30px rgba(0,0,0,.7); transform: rotate(2deg); overflow: hidden; }
.mm-bar { display: flex; align-items: center; gap: .4rem; padding: .7rem 1rem; background: #EEF0F6; font: 500 .72rem/1 var(--ff-mono); color: var(--muted); }
.mm-bar i { width: 9px; height: 9px; border-radius: 50%; background: #D3D8E6; }
.mm-bar span { margin-inline-start: .6rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mm-body { padding: 1.5rem; display: grid; gap: .7rem; }
.mm-logo { width: 38px; height: 38px; border-radius: 10px; background: var(--ink); box-shadow: inset 0 -14px 0 -4px var(--orange); }
.mm-h { height: 16px; width: 70%; border-radius: 4px; background: var(--ink); }
.mm-p { height: 8px; width: 100%; border-radius: 3px; background: #E3E7F0; }
.mm-short { width: 60%; }
.mm-img { height: 90px; border-radius: 10px; background: linear-gradient(135deg, #FFD9C7, #FF6B2C 60%, #FF8F5A); margin-top: .3rem; }
.mm-btn { height: 38px; width: 46%; border-radius: 8px; background: var(--orange); margin-top: .3rem; }
.mm-tags { display: flex; gap: .5rem; padding: 0 1.5rem 1.4rem; flex-wrap: wrap; }
.mm-tags span { padding: .25rem .6rem; border-radius: 999px; background: #E8F7EE; color: #0F6B36; font: 700 .72rem/1.4 var(--ff-mono); }

.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
.why { border-top: 2px solid var(--ink); padding-top: 1.1rem; }
.why .num { display: block; font: 600 .85rem/1 var(--ff-mono); color: var(--orange-ink); margin-bottom: .9rem; }
.why p { color: var(--muted); margin: 0; }
.process { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; position: relative; }
.process li { counter-increment: s; position: relative; padding-top: 3.4rem; }
.process li::before { content: counter(s); position: absolute; top: 0; inset-inline-start: 0; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--ink); color: var(--orange); font: 700 1rem var(--ff-mono); z-index: 1; }
.process li::after { content: ""; position: absolute; top: 20px; inset-inline-start: 52px; inset-inline-end: -1.5rem; height: 1px; background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px); }
.process li:last-child::after { display: none; }
.process p { color: var(--muted); margin: 0; }
.tech { margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }
.tech p { color: var(--muted); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1rem; }
.chips li { padding: .4rem .8rem; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); font: 500 .85rem/1.3 var(--ff-mono); color: var(--ink-3); }

/* Bandeaux */
.nl-band { background: var(--orange); color: var(--ink); padding-block: clamp(2.5rem, 5vw, 3.75rem); }
.nl-band-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem 4rem; align-items: center; }
.nl-band-grid > * { min-width: 0; }
.nl-band h2 { color: var(--ink); margin-bottom: .3em; }
.nl-band p { margin: 0; color: #2A1507; }
.cta-band { background: var(--ink); color: #fff; text-align: center; padding-block: clamp(3.5rem, 7vw, 5.5rem); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(40rem 20rem at 50% 120%, rgba(255,107,44,.25), transparent 70%); pointer-events: none; }
.cta-band .wrap { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--soft); max-width: 34em; margin-inline: auto; }
.cta-band .actions { justify-content: center; }

/* ---------- En-tête de page ---------- */
.page-head { background: var(--ink); color: #fff; padding-block: clamp(2.2rem, 5vw, 3.75rem) clamp(2.5rem, 5vw, 4rem); position: relative; overflow: hidden; }
.page-head::before { content: ""; position: absolute; inset: 0; background: radial-gradient(34rem 18rem at 90% 0%, rgba(255,107,44,.16), transparent 70%); pointer-events: none; }
.page-head .wrap { position: relative; }
.crumbs { font: 500 .8rem/1.4 var(--ff-mono); color: var(--soft); margin-bottom: 1.25rem; }
.crumbs a { color: var(--soft); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs span[aria-hidden] { margin-inline: .5rem; opacity: .6; }
.page-head h1 { color: #fff; margin-bottom: .35em; font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
.page-head .lead { color: var(--soft); margin: 0; }

/* ---------- Pages internes ---------- */
.with-aside { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.aside { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.toc ul { list-style: none; display: grid; gap: .25rem; }
.toc a { display: block; padding: .5rem .85rem; border-radius: 8px; color: var(--muted); text-decoration: none; font-weight: 550; }
.toc a:hover { background: var(--white); color: var(--ink); }
.toc a.is-active { background: var(--ink); color: #fff; }
.block { padding-bottom: 3rem; margin-bottom: 3rem; border-bottom: 1px solid var(--line); max-width: 46rem; }
.block:last-child { border-bottom: 0; }
.block h2 { margin-bottom: .5rem; }
.block > p { color: var(--muted); }
.block h3 { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 1.6rem 0 .8rem; font-family: var(--ff-mono); }
.block-links { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.75rem; }
.ticks { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .55rem 2rem; }
.ticks.one { grid-template-columns: 1fr; }
.ticks li { position: relative; padding-inline-start: 1.5rem; }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: .5em; width: .55rem; height: .55rem; border-radius: 2px; background: var(--orange); transform: rotate(45deg); }
.cards3, .cards4 { display: grid; gap: 1.25rem; margin-top: 1.75rem; }
.cards3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { padding: 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); border-top: 3px solid var(--orange); }
.card h3 { margin-bottom: .4rem; }
.card p { margin: 0; color: var(--muted); font-size: .98rem; }
.section-alt .card { background: var(--paper); }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.two-col > * { min-width: 0; }
.mt { margin-top: 2rem; }
.mini-steps { list-style: none; counter-reset: ms; display: grid; gap: 1.1rem; margin-top: 1.25rem; }
.mini-steps li { counter-increment: ms; position: relative; padding-inline-start: 3.2rem; min-height: 2.4rem; display: grid; gap: .1rem; }
.mini-steps li::before { content: counter(ms); position: absolute; inset-inline-start: 0; top: 0; width: 2.3rem; height: 2.3rem; display: grid; place-items: center; border-radius: 10px; background: var(--ink); color: var(--orange); font: 700 .95rem var(--ff-mono); }
.mini-steps strong { color: var(--ink); }
.mini-steps span { color: var(--muted); }
.about-card { padding: 2rem; background: var(--ink); color: #E3E8F6; border-radius: var(--radius-lg); }
.about-card h2 { color: #fff; }
.about-card .checks li { color: #E3E8F6; }
.note { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; margin-top: 2.5rem; padding: 1.75rem 2rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.note p { margin: 0; font-weight: 600; }
.faq { display: grid; gap: .75rem; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.faq details[open] { border-color: var(--orange); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.2rem 1.4rem; cursor: pointer; list-style: none; font-weight: 700; font-size: 1.1rem; line-height: 1.35; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: var(--tint); color: var(--orange-ink); font-size: 1.3rem; line-height: 1; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 1.4rem 1.3rem; color: var(--muted); max-width: 44em; }
.faq details > div p { margin: 0; }
.prose p { color: var(--muted); }
.legal h2 { font-size: 1.35rem; margin-top: 2rem; }
.legal h2:first-child { margin-top: 0; }
.legal-table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 1rem; }
.legal-table th, .legal-table td { padding: .65rem .9rem; border-bottom: 1px solid var(--line); text-align: start; font-size: .95rem; vertical-align: top; }
.legal-table th { width: 38%; color: var(--muted); font-weight: 600; }
.todo { display: inline-block; padding: .05rem .5rem; border-radius: 6px; background: #FFF4CC; color: #7A5A00; font-size: .85rem; }

/* ---------- Formulaires ---------- */
.field { display: grid; gap: .4rem; margin: 0 0 1.25rem; border: 0; padding: 0; min-width: 0; }
.field-label { font-weight: 650; font-size: .93rem; color: var(--ink); }
.req { color: var(--err); }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], select, textarea { width: 100%; min-height: 48px; padding: .7rem .95rem; font: inherit; font-size: 1rem; color: var(--text); background: #fff; border: 1.5px solid #C9D0E0; border-radius: var(--radius); transition: border-color .15s ease, box-shadow .15s ease; }
textarea { resize: vertical; min-height: 140px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255,107,44,.2); }
[aria-invalid="true"] { border-color: var(--err) !important; box-shadow: 0 0 0 3px rgba(180,35,24,.12) !important; }
.choice { display: flex; gap: .7rem; align-items: flex-start; padding: .45rem 0; cursor: pointer; }
.choice input { flex: none; width: 1.15rem; height: 1.15rem; margin-top: .3rem; accent-color: var(--orange); }
.consent { font-size: .93rem; color: var(--muted); margin-bottom: 1.4rem; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.25rem; align-items: end; }
.row2 > * { min-width: 0; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 1rem 0 0; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-ok, .nl-status.is-ok { color: var(--ok); }
.form-status.is-error, .nl-status.is-error { color: var(--err); }
.spam-hint { display: block; margin-top: .75rem; padding: .8rem 1rem; border-inline-start: 3px solid var(--orange); background: var(--tint); color: var(--text); font-weight: 400; font-size: .95rem; line-height: 1.5; border-radius: 4px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-grid > * { min-width: 0; }
.form-sheet { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.5rem); }
.info-card { background: var(--ink); color: #E3E8F6; border-radius: var(--radius-lg); padding: 1.75rem; }
.info-card h2 { color: #fff; font-size: 1.4rem; }
.info { list-style: none; display: grid; gap: 1.1rem; }
.info li { display: flex; gap: .9rem; align-items: flex-start; }
.info .i { width: 22px; height: 22px; color: var(--orange); margin-top: .15rem; }
.info strong { display: block; font: 600 .78rem/1.4 var(--ff-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--soft); }
.info a { color: #fff; }
.info a:hover { color: var(--orange); }

/* Newsletter */
.nl-form .nl-row { display: flex; gap: .6rem; }
.nl-form input[type="email"] { flex: 1; min-width: 0; }
.nl-form .btn { flex: none; }
.nl-privacy { margin: .75rem 0 0; font-size: .82rem; line-height: 1.5; opacity: .85; }
.nl-privacy a { color: inherit; }
.nl-status { margin: .6rem 0 0; font-weight: 650; font-size: .95rem; }
.nl-status:empty { display: none; }
.nl-form.is-done .nl-fields, .nl-form.is-done .interests, .nl-form.is-done .nl-note, .nl-form.is-done > .btn, .nl-form.is-done .nl-row, .nl-form.is-done .consent, .nl-form.is-done .nl-privacy, .nl-form.is-done .field { display: none; }
.nl-band .nl-form input[type="email"] { border-color: transparent; }
.nl-band .btn-primary { background: var(--ink); color: #fff; }
.nl-band .btn-primary:hover { background: var(--ink-3); color: #fff; }
.nl-band .nl-status { color: var(--ink); }
.nl-band .nl-status.is-error { color: #7A0F06; }
.nl-page { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.nl-page > * { min-width: 0; }
.nl-card { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--orange); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.25rem); }
.nl-card .nl-row { flex-direction: column; }
.nl-card .nl-row .btn, .nl-card .nl-form > .btn { width: 100%; }
.nl-state { margin-bottom: 1.25rem; padding: .9rem 1.1rem; border-radius: var(--radius); background: #E8F7EE; color: #0F5F31; font-weight: 650; }
.nl-state.is-warn { background: #FFF4CC; color: #7A5A00; }
.nl-unsub { margin-bottom: 1.5rem; padding: 1.25rem; border-radius: var(--radius); background: var(--tint); }
.nl-unsub h2 { font-size: 1.25rem; }

.nl-note { margin: 1.1rem 0 1rem; }
.nl-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; align-items: start; }
.nl-fields > * { min-width: 0; }
.nl-fields .fine, .field .fine { margin: 0; }
.interests legend { margin-bottom: .55rem; }
.pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.pill span { display: inline-block; padding: .45rem .9rem; border: 1.5px solid #C9D0E0; border-radius: 999px; background: #fff; font-size: .93rem; font-weight: 550; color: var(--ink-3); transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.pill input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.pill input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.nl-profile { margin-bottom: 1.5rem; }
.nl-profile > p { color: var(--muted); }
.nl-v-profile > .btn { width: 100%; margin-top: .5rem; }

/* Fenêtre d'inscription */
.nl-dialog { width: min(480px, calc(100% - 2rem)); padding: 0; border: 0; border-radius: 20px; background: #fff; color: var(--text); box-shadow: 0 40px 90px -20px rgba(0,0,0,.65); overflow: visible; }
.nl-dialog::backdrop { background: rgba(11,16,32,.62); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.nl-dialog[open] { animation: pop-in .35s cubic-bezier(.2,.9,.3,1.1); }
@keyframes pop-in { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
.nl-dialog::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 6px; border-radius: 20px 20px 0 0; background: linear-gradient(90deg, var(--orange), #FFB27F); }
.nl-close { position: absolute; inset-inline-end: .75rem; top: .9rem; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); cursor: pointer; }
.nl-close:hover { background: var(--paper); color: var(--ink); }
.nl-pop-body { padding: 2.25rem 2rem 1.5rem; text-align: center; }
.nl-badge { display: inline-flex; align-items: center; gap: .45rem; padding: .3rem .8rem; border-radius: 999px; background: var(--tint); color: var(--orange-ink); font: 700 .75rem/1.4 var(--ff-mono); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 1rem; }
.nl-pop-body h2 { font-size: 1.75rem; margin-bottom: .35em; }
.nl-pop-body > p { color: var(--muted); margin-bottom: 1.25rem; }
.nl-pop-body .nl-row { flex-direction: column; }
.nl-pop-body .nl-row .btn { width: 100%; }
.nl-pop-body .nl-privacy { color: var(--muted); text-align: center; }
.nl-pop-body .link-btn { margin-top: .6rem; }
@media (max-width: 600px) {
  .nl-dialog { margin: auto 0 0; width: 100%; max-width: none; border-radius: 20px 20px 0 0; }
  .nl-dialog[open] { animation: sheet-in .35s cubic-bezier(.2,.9,.3,1); }
  .nl-pop-body { padding: 2rem 1.25rem 1.1rem; }
  .nl-pop-body h2 { font-size: 1.5rem; }
}
@keyframes sheet-in { from { transform: translateY(100%); } to { transform: none; } }

/* ---------- Pied de page ---------- */
.site-footer { background: #070B17; color: var(--soft); padding-top: clamp(3.5rem, 6vw, 4.5rem); font-size: .95rem; }
.site-footer a { color: #E6EAF7; text-decoration: none; }
.site-footer a:hover { color: var(--orange); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-brand p { max-width: 26em; margin-top: 1rem; }
.footer-h { font: 700 .78rem/1.4 var(--ff-mono); letter-spacing: .08em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.footer-links { list-style: none; display: grid; gap: .5rem; }
.social-row { display: flex; gap: .5rem; margin: 1rem 0 0; }
.social { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.2); border-radius: 9px; font: 700 .8rem var(--ff-mono); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; padding-block: 1.5rem 2rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem; }
.footer-bottom p { margin: 0; max-width: 60em; }
.wa-float { position: fixed; inset-inline-end: 1.25rem; bottom: 1.25rem; z-index: 40; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #1E7B52; color: #fff; box-shadow: 0 10px 24px -10px rgba(0,0,0,.6); }
.wa-float:hover { background: #17633F; color: #fff; }
.wa-float .i { width: 26px; height: 26px; }
.page-root, .page-root body { background: var(--paper); }
.e404 { min-height: 70vh; display: grid; align-content: center; padding-block: 3rem; }

/* ---------- Apparition au défilement (seulement si le navigateur le gère) ---------- */
.reveal-on .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal-on .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .svc-grid, .cards3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-grid, .cards4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .with-aside { grid-template-columns: 1fr; }
  .aside { position: static; }
  .toc ul { display: flex; flex-wrap: wrap; gap: .5rem; }
  .toc a { border: 1px solid var(--line); background: var(--white); }
}
@media (max-width: 880px) {
  .hero-grid, .spot-grid, .nl-band-grid, .two-col, .contact-grid, .nl-page, .section-head { grid-template-columns: 1fr; }
  .hero-visual { max-width: 340px; }
  .mail-mock { transform: none; }
  .process { grid-template-columns: 1fr; gap: 1.5rem; }
  .process li { padding-top: 0; padding-inline-start: 3.8rem; }
  .process li::after { display: none; }
}
@media (max-width: 600px) {
  .lead, .lead-dark { font-size: 1.1rem; }
  .btn { white-space: normal; text-align: center; }
  .actions .btn { flex: 1 1 auto; }
  .svc-grid, .cards3, .cards4, .why-grid, .footer-grid, .row2, .ticks { grid-template-columns: 1fr; }
  .nl-form .nl-row { flex-direction: column; }
  .nl-form .nl-row .btn { width: 100%; }
  .nl-fields { grid-template-columns: 1fr; }
  .note { padding: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media print {
  .site-header, .site-footer, .wa-float, .nl-dialog, .nl-band, .cta-band, .skip { display: none !important; }
  body { background: #fff; color: #000; }
  .page-head, .hero { background: none; color: #000; padding: 0 0 8mm; }
  .page-head h1, .hero-title { color: #000; }
  a { color: #000; text-decoration: none; }
}

/* ---------- Arabe : de droite à gauche ----------
   Les marges utilisent des propriétés logiques : la mise en page se retourne seule.
   Ici : police arabe, pas d'espacement entre les lettres (il casse la liaison des lettres arabes), flèches et coches retournées. */
[dir="rtl"] { --ff: "Segoe UI", Tahoma, "Noto Naskh Arabic", "Noto Sans Arabic", system-ui, -apple-system, Arial, sans-serif; --ff-mono: var(--ff); }
[dir="rtl"] body { font-size: 1.125rem; line-height: 1.85; }
[dir="rtl"] :where(h1, h2, h3) { letter-spacing: 0; line-height: 1.35; font-weight: 700; }
[dir="rtl"] .hero-title { line-height: 1.3; font-size: clamp(2.1rem, 3.7vw, 3.1rem); }
[dir="rtl"] :where(.eyebrow, .crumbs, .footer-h, .info strong, .block h3, .nl-badge, .why .num) { letter-spacing: 0; text-transform: none; }
[dir="rtl"] .eyebrow, [dir="rtl"] .crumbs, [dir="rtl"] .nl-badge { font-size: .9rem; }
[dir="rtl"] .svc-card .more .i { transform: scaleX(-1); }
[dir="rtl"] .svc-card:hover .more .i { transform: scaleX(-1) translateX(4px); }
[dir="rtl"] .mail-mock { transform: rotate(-2deg); }
[dir="rtl"] .chips li, [dir="rtl"] .mm-bar, [dir="rtl"] .mm-tags span { font-family: var(--ff-mono-latin, ui-monospace, Consolas, monospace); direction: ltr; }
[dir="rtl"] .btn { font-weight: 700; }
[dir="rtl"] .lang-switch a[lang="ar"] { font-family: var(--ff); font-size: .9rem; }
[dir="rtl"] .nav-list a { padding-inline: .45rem; font-size: .92rem; }
[dir="rtl"] .nav-panel { gap: .9rem; }
