/* Pages Intégrations d'Olbo : annuaire et pages d'outil.
   Tokens repris de README.md et de « Olbo Design System.md ». */

:root {
  --ink: #0A0A0B;
  --grey: #6E6E73;
  --grey-light: #8A8A90;
  --line: #EAEAEC;
  --line-fine: #F1F1F3;
  --surface: #F6F6F7;
  --white: #FFFFFF;
  --blue: #0000A0;
  --blue-50: #EEEEFF;
  --blue-night: #0A0A2E;
  --cream: #F7EFE2;
  --yellow: #FFD84A;
  --pink: #FF9EC4;
  --success: #2FBF6B;
  --success-bg: #E8F8EE;
  --error: #E5484D;
  --wa-out: #D9FDD3;
  --wa-text: #111B21;
  --wa-meta: #667781;
  --wa-ticks: #53BDEB;
  --sans: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --wa-font: -apple-system, 'Helvetica Neue', 'Segoe UI', sans-serif;
  --pad: 56px;
  --gap-section: 140px;
  --shadow-tile: 0 0 0 1px var(--line), 0 6px 16px -10px rgba(0, 0, 40, .2);
  --shadow-mini: 0 1px 2px rgba(10, 10, 11, .05), 0 8px 20px -12px rgba(10, 10, 40, .18);
  --shadow-bubble: 0 18px 40px -18px rgba(0, 0, 80, .45);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 16px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }
a { color: var(--blue); }
a:hover { color: var(--ink); }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 12px; color: var(--white); }
.mono { font: 400 13px/1.3 var(--mono); color: var(--grey); letter-spacing: -0.01em; }

main, .nav, .foot { width: 100%; max-width: 1440px; margin: 0 auto; }

/* ---------- Galet Olbo ---------- */
.blob {
  --h: calc(var(--s) * .9);
  position: relative;
  flex: none;
  display: inline-block;
  width: var(--s);
  height: var(--h);
  background: var(--blue);
  border-radius: 58% 42% 55% 45% / 52% 48% 52% 48%;
  box-shadow: inset calc(var(--s) * -.1) calc(var(--s) * -.13) 0 rgba(0, 0, 40, .3), inset calc(var(--s) * .08) calc(var(--s) * .08) 0 rgba(255, 255, 255, .22);
  animation: morph 6s ease-in-out infinite;
}
.blob-r { position: absolute; left: 24%; top: 14%; width: 24%; height: 12%; border-radius: 50%; background: rgba(255, 255, 255, .4); transform: rotate(-28deg); }
.blob-e { position: absolute; left: 50%; top: 38%; transform: translateX(-50%); display: flex; gap: calc(var(--s) * .13); }
.blob-e i { display: block; width: calc(var(--s) * .1); height: calc(var(--s) * .16); min-width: 2px; min-height: 3px; border-radius: 50%; background: var(--cream); animation: blink 4s infinite; }
.blob-yellow { background: var(--yellow); }
.blob-pink { background: var(--pink); }
.blob-yellow .blob-e i, .blob-pink .blob-e i { background: var(--blue-night); }
.floaty { animation: floaty 5s ease-in-out infinite; }

@keyframes morph {
  0%, 100% { border-radius: 58% 42% 55% 45% / 52% 48% 52% 48%; }
  33% { border-radius: 45% 55% 40% 60% / 60% 42% 58% 40%; }
  66% { border-radius: 52% 48% 62% 38% / 45% 58% 42% 55%; }
}
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Boutons, pastilles ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: 500 15px/1.2 var(--sans);
  padding: 12px 20px;
  border: 0; border-radius: 999px;
  text-decoration: none; white-space: nowrap;
  transition: background .2s, color .2s;
}
.btn-sm { font-size: 14px; padding: 9px 15px; }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: var(--blue); color: var(--white); }
.btn-soft { background: var(--surface); color: var(--ink); }
.btn-soft:hover { background: var(--line); color: var(--ink); }
.btn-white { background: var(--white); color: var(--ink); }
.btn-white:hover { background: var(--blue-50); color: var(--ink); }
.btn-glass { background: rgba(255, 255, 255, .18); color: var(--white); }
.btn-glass:hover { background: rgba(255, 255, 255, .3); color: var(--white); }
.cta-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills-center { justify-content: center; }
.pill {
  font: 500 14px/1.2 var(--sans);
  padding: 10px 16px;
  border: 0; border-radius: 999px;
  background: var(--surface); color: var(--ink);
  white-space: nowrap;
  transition: background .2s, color .2s;
}
.pill:hover { background: var(--line); }
.pill.is-on { background: var(--ink); color: var(--white); }
.no-js .pills, .no-js .search { display: none; }
.pills:not(.is-open) .pill-more:not(.is-on) { display: none; }
.pill-toggle { background: none; box-shadow: inset 0 0 0 1px #DADADF; color: var(--grey); }
.pill-toggle:hover { background: var(--surface); color: var(--ink); }
.tools .pills { flex: 1 1 560px; min-width: 0; }

.soon {
  display: inline-block; vertical-align: middle;
  font: 500 11px/1 var(--mono); letter-spacing: 0;
  color: var(--blue); background: var(--blue-50);
  padding: 4px 8px; border-radius: 999px; white-space: nowrap;
}
h1 .soon { font-size: 13px; padding: 6px 12px; margin-left: 6px; }

/* ---------- Navigation ---------- */
.nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 18px var(--pad); }
/* Barre collée en haut de l'écran pendant le défilement, sur toutes les largeurs (même fond que sur mobile). */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; gap: 8px; justify-self: start; font: 600 20px/1 var(--sans); letter-spacing: -0.04em; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.nav-links { display: flex; gap: 28px; font-size: 14px; }
.nav-links a { color: var(--grey); text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--ink); }
.nav-actions { display: flex; gap: 10px; align-items: center; justify-self: end; }
.nav-menu { display: none; position: relative; }
.nav-menu summary { list-style: none; width: 40px; height: 40px; border-radius: 50%; background: var(--surface); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; cursor: pointer; }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary span { width: 15px; height: 1.5px; background: var(--ink); border-radius: 2px; }
.nav-panel { position: absolute; right: 0; top: 48px; min-width: 220px; background: var(--white); border-radius: 18px; padding: 8px; box-shadow: 0 30px 60px -20px rgba(0, 0, 60, .35), 0 0 0 1px rgba(10, 10, 40, .06); display: flex; flex-direction: column; }
.nav-panel a { padding: 13px 14px; border-radius: 12px; font-size: 15px; color: var(--ink); text-decoration: none; }
.nav-panel a:hover, .nav-panel a[aria-current] { background: var(--surface); }

/* ---------- Hero ---------- */
.hero { padding: 64px var(--pad) 0; display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.hero h1 { font: 500 clamp(46px, 6.6vw, 96px)/1 var(--sans); letter-spacing: -0.06em; max-width: 1100px; text-wrap: balance; }
.hero-tool h1 { font-size: clamp(38px, 5vw, 72px); letter-spacing: -0.055em; max-width: 980px; overflow-wrap: anywhere; }
.lead { font: 400 18px/1.55 var(--sans); color: var(--grey); max-width: 640px; text-wrap: pretty; }
.hero .cta-row { margin-top: 6px; }
.reassure { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; font-size: 14px; color: var(--grey); margin-top: 4px; }
.reassure span { display: inline-flex; align-items: center; gap: 8px; }
.reassure span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.soon-note { font: 400 13px/1.4 var(--mono); color: var(--grey); }

.logo-tile { flex: none; width: 52px; height: 52px; border-radius: 15px; background: var(--white); box-shadow: var(--shadow-tile); display: inline-flex; align-items: center; justify-content: center; }
.logo-tile img { object-fit: contain; }
.logo-tile-lg { width: 72px; height: 72px; border-radius: 20px; }
.logo-tile-xl { width: 88px; height: 88px; border-radius: 24px; }
.logo-tile-olbo { width: 112px; height: 112px; border-radius: 30px; }
.logo-tile-xl.logo-tile-olbo { width: 88px; height: 88px; border-radius: 24px; }
.initial { width: var(--s); height: var(--s); display: inline-flex; align-items: center; justify-content: center; border-radius: 28%; background: var(--blue-50); color: var(--blue); font: 500 calc(var(--s) * .58)/1 var(--sans); }

.hero-strip { margin-top: 36px; display: flex; align-items: center; justify-content: center; gap: 12px; max-width: 100%; }
.duo { display: flex; align-items: center; margin-bottom: 6px; }
.duo-link { width: 44px; border-top: 2px dashed #C9C9CE; }

/* ---------- Sections ---------- */
.section { padding: var(--gap-section) var(--pad) 0; }
.section-head { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; margin-bottom: 48px; }
.section-head h2, .faq h2, .callout h2 { font: 500 clamp(34px, 4.2vw, 56px)/1.05 var(--sans); letter-spacing: -0.045em; text-wrap: balance; }
.section-head-left { align-items: flex-start; text-align: left; margin-bottom: 0; }

/* ---------- Bulles WhatsApp ---------- */
.wa { position: relative; max-width: 340px; padding: 8px 12px 6px; border-radius: 16px; font: 400 15.5px/1.35 var(--wa-font); color: var(--wa-text); box-shadow: var(--shadow-bubble); text-align: left; overflow-wrap: anywhere; }
.wa p { margin: 0; }
.wa-out { background: var(--wa-out); border-top-right-radius: 4px; margin-left: auto; }
.wa-in { background: var(--white); border-top-left-radius: 4px; }
.wa-meta { display: flex; align-items: center; justify-content: flex-end; gap: 4px; margin-top: 2px; font-size: 11px; line-height: 1.2; color: var(--wa-meta); }
.wa-ticks { color: var(--wa-ticks); }
.wa-row { display: flex; align-items: flex-start; gap: 8px; }
.wa-avatar { margin-top: 2px; }
.wa-actions { display: flex; gap: 6px; margin: 8px 0 4px; }
.wa-btn { flex: 1; text-align: center; font: 500 12px/1 var(--sans); padding: 8px 0; border-radius: 8px; background: var(--surface); color: var(--ink); }
.wa-btn-on { background: var(--blue); color: var(--white); }

/* ---------- Étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.step { background: var(--surface); border-radius: 24px; padding: 12px 12px 30px; display: flex; flex-direction: column; }
.step-art { min-height: 250px; border-radius: 16px; padding: 28px 24px; margin-bottom: 26px; display: flex; flex-direction: column; justify-content: center; }
.step-art-1 { background: radial-gradient(70% 70% at 80% 10%, #FFE9A8 0%, transparent 60%), radial-gradient(90% 90% at 0% 100%, #3A3AD8 0%, transparent 60%), linear-gradient(200deg, #FFF6DA, #B8B8F6); align-items: center; }
.step-art-2 { background: radial-gradient(90% 80% at 15% 0%, #DCDDFF 0%, transparent 60%), radial-gradient(80% 90% at 100% 100%, #0000A0 0%, transparent 65%), linear-gradient(165deg, #EEEEFF 0%, #8A8AF0 55%, #2323C0 100%); }
.step-art-3 { background: radial-gradient(80% 80% at 10% 90%, #FFC9DE 0%, transparent 60%), linear-gradient(150deg, #F0F0FF, #7C7CEA 70%, #1A1AB0); }
.step > .mono, .step h3, .step > p { padding: 0 16px; }
.step h3 { font: 500 22px/1.15 var(--sans); letter-spacing: -0.03em; margin: 10px 0 8px; }
.step > p { font-size: 15px; line-height: 1.55; color: var(--grey); text-wrap: pretty; }

.mini { width: 100%; max-width: 250px; background: var(--white); border-radius: 14px; box-shadow: var(--shadow-mini); font: 400 13px/1.2 var(--sans); }
.mini-list { padding: 4px 12px; }
.mini-line { display: flex; align-items: center; gap: 8px; padding: 10px 0; }
.mini-line + .mini-line { border-top: 1px solid var(--line-fine); }
.mini-logo { flex: none; width: 18px; height: 18px; display: inline-flex; }
.mini-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; }
.mini-muted { color: var(--grey); }
.mini code { font: 400 10px/1 var(--mono); color: var(--grey); }
.badge-ok { font: 500 10px/1 var(--sans); color: var(--success); background: var(--success-bg); padding: 4px 7px; border-radius: 999px; }
.mini-ask { padding: 12px; display: flex; flex-direction: column; gap: 10px; max-width: 220px; }
.mini-q { display: flex; align-items: center; gap: 8px; font-size: 12px; white-space: nowrap; }
.mini-btns { display: flex; gap: 6px; }
.mini-btns span { flex: 1; text-align: center; font: 500 11px/1 var(--sans); padding: 7px 0; border-radius: 8px; background: var(--surface); }
.mini-btns .on { background: var(--blue); color: var(--white); }
.toggle { flex: none; width: 30px; height: 18px; border-radius: 999px; background: var(--line); position: relative; }
.toggle::after { content: ''; position: absolute; left: 2px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--white); box-shadow: 0 1px 2px rgba(0, 0, 0, .2); }
.toggle.on { background: var(--blue); }
.toggle.on::after { left: 14px; }

/* ---------- Cartes d'intégration ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.grid-big { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.card a { height: 100%; display: flex; align-items: flex-start; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); color: var(--ink); text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s; }
.card a:hover { border-color: var(--ink); box-shadow: 0 24px 40px -28px rgba(0, 0, 60, .35); transform: translateY(-2px); }
.card-body { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.card-body b { font: 500 17px/1.25 var(--sans); letter-spacing: -0.02em; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.card-cat { font: 400 12px/1.3 var(--mono); color: var(--grey); letter-spacing: -0.01em; }
.card-tag { font-size: 14px; line-height: 1.45; color: var(--grey); margin-top: 4px; text-wrap: pretty; }
.card-big a { flex-direction: column; gap: 22px; padding: 26px; border: 0; background: var(--surface); border-radius: 24px; }
.card-big a:hover { background: var(--blue-50); box-shadow: none; }
.card-big .logo-tile { width: 64px; height: 64px; border-radius: 18px; }
.card-big .card-body b { font-size: 22px; letter-spacing: -0.03em; }
.card-big .card-tag { font-size: 15px; }
.card.is-out, .az li.is-out, .az-group.is-out, .az-nav a.is-out { display: none; }

.tools { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 28px; }
.search { display: flex; align-items: center; gap: 10px; flex: 0 1 300px; padding: 0 16px; height: 44px; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1px #DADADF; color: var(--grey); }
.search:focus-within { box-shadow: inset 0 0 0 2px var(--blue); }
.search svg { flex: none; }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: 400 15px/1 var(--sans); color: var(--ink); -webkit-appearance: none; appearance: none; }
.search input::placeholder { color: #A0A0A8; }
.empty { padding: 40px 0; text-align: center; color: var(--grey); }

.az { margin-top: 72px; }
.az > h3 { font: 500 clamp(24px, 2.6vw, 32px)/1.1 var(--sans); letter-spacing: -0.035em; margin-bottom: 20px; }
.az-nav { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 28px; }
.az-nav a { min-width: 34px; height: 34px; padding: 0 8px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--surface); font: 400 13px/1 var(--mono); color: var(--ink); text-decoration: none; }
.az-nav a:hover { background: var(--ink); color: var(--white); }
.az-group { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 0 16px; padding: 22px 0; border-top: 1px solid var(--line); scroll-margin-top: 96px; }
.az-group h4 { font: 500 28px/1 var(--sans); letter-spacing: -0.04em; }
.az-group ul { columns: 4 200px; column-gap: 24px; }
.az-group li { break-inside: avoid; padding: 4px 0; font-size: 15px; line-height: 1.35; }
.az-group a { color: var(--ink); text-decoration: none; }
.az-group a:hover { color: var(--blue); text-decoration: underline; }
.az-group small { margin-left: 6px; font: 400 11px/1 var(--mono); color: var(--blue); }

/* ---------- Encart navigateur ---------- */
.callout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; background: var(--surface); border-radius: 28px; padding: 64px; }
.callout-text { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.callout h2 { font-size: clamp(30px, 3.4vw, 46px); }
.callout p { font-size: 17px; line-height: 1.55; color: var(--grey); max-width: 520px; text-wrap: pretty; }
.callout-art { display: flex; justify-content: center; }
.browser { width: 100%; max-width: 400px; background: var(--white); border-radius: 18px; box-shadow: 0 30px 60px -20px rgba(0, 0, 60, .35), 0 0 0 1px rgba(10, 10, 40, .06); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line-fine); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.browser-bar span { margin-left: 8px; flex: 1; font: 400 11px/1 var(--mono); color: var(--grey); background: var(--surface); padding: 7px 10px; border-radius: 999px; }
.browser-body { position: relative; padding: 28px 36px 34px; display: flex; flex-direction: column; gap: 10px; }
.field { height: 38px; border: 1px solid var(--line); border-radius: 9px; display: flex; align-items: center; padding: 0 12px; }
.field em { font: 400 12px/1 var(--sans); font-style: normal; color: var(--grey-light); }
.field:first-child { border-color: var(--blue); }
.browser-btn { height: 38px; border-radius: 9px; background: #3A3A40; color: var(--white); font: 500 12px/1 var(--sans); display: flex; align-items: center; justify-content: center; }
.cursor { position: absolute; right: 22px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; font: 500 11px/1 var(--sans); color: var(--white); background: var(--blue); padding: 6px 10px 6px 7px; border-radius: 999px; box-shadow: 0 8px 18px -8px rgba(0, 0, 160, .7); }
.cursor .blob { background: var(--white); box-shadow: none; }
.cursor .blob-r { display: none; }
.cursor .blob-e i { background: var(--blue); }

/* ---------- Sécurité ---------- */
.secu { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.secu li { background: var(--surface); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.secu-art { height: 120px; margin-bottom: 16px; display: flex; align-items: center; justify-content: center; }
.secu h3 { font: 500 17px/1.25 var(--sans); letter-spacing: -0.02em; }
.secu p { font-size: 14px; line-height: 1.5; color: var(--grey); text-wrap: pretty; }
.lock { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lock span { width: 46px; height: 46px; border-radius: 14px; background: var(--white); box-shadow: var(--shadow-mini); display: flex; align-items: center; justify-content: center; }
.lock code { font: 400 11px/1 var(--mono); color: #9A9AA0; letter-spacing: .04em; }
.lock code i { font-style: normal; color: #C9C9CE; }

/* ---------- Page d'outil ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.prose { display: flex; flex-direction: column; gap: 14px; padding-top: 30px; }
.prose p { font-size: 18px; line-height: 1.55; color: var(--grey); text-wrap: pretty; }
.prose p:first-child { color: var(--ink); }

.flow { margin-top: 56px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; counter-reset: flow; }
.flow li { position: relative; background: var(--surface); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 8px; counter-increment: flow; }
.flow li::before { content: '0' counter(flow); position: absolute; right: 22px; top: 24px; font: 400 12px/1 var(--mono); color: var(--grey-light); }
.flow li + li::after { content: ''; position: absolute; left: -19px; top: 44px; width: 26px; border-top: 2px dashed #C9C9CE; z-index: 1; }
.flow-ico { width: 52px; height: 52px; border-radius: 15px; background: var(--white); box-shadow: var(--shadow-tile); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; position: relative; z-index: 2; }
.flow-ok { color: var(--success); }
.flow b { font: 500 17px/1.25 var(--sans); letter-spacing: -0.02em; }
.flow p { font-size: 14px; line-height: 1.5; color: var(--grey); }

.prompts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.prompt { background: #EEF0FF; border-radius: 24px; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; min-height: 190px; }
.prompt .wa { max-width: 420px; }
.copy { align-self: flex-start; font: 500 13px/1 var(--sans); padding: 9px 14px; border: 0; border-radius: 999px; background: var(--white); color: var(--ink); box-shadow: 0 0 0 1px rgba(10, 10, 40, .08); transition: background .2s, color .2s; }
.copy:hover { background: var(--ink); color: var(--white); }
.copy.is-done { background: var(--blue); color: var(--white); }
.no-js .copy { display: none; }

.actions { margin-top: 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.action { border: 1px solid var(--line); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.action h3 { font: 500 17px/1.25 var(--sans); letter-spacing: -0.02em; margin-top: 6px; }
.action p { font-size: 14px; line-height: 1.5; color: var(--grey); text-wrap: pretty; }
.tag { font: 500 12px/1 var(--sans); color: var(--blue); background: var(--blue-50); padding: 5px 10px; border-radius: 999px; }
.accord { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; font: 400 12px/1.2 var(--mono); color: var(--grey-light); }
.accord::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); }
.js .action.is-out { display: none; }
.more { display: flex; margin: 28px auto 0; }
.all-link { display: flex; justify-content: center; margin-top: 28px; }
.all-link-solo { margin-top: 72px; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 22px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font: 500 17px/1.35 var(--sans); }
.pm { flex: none; position: relative; width: 14px; height: 14px; margin-top: 4px; color: var(--grey); }
.pm::before, .pm::after { content: ''; position: absolute; left: 0; right: 0; top: 6px; height: 1.5px; background: currentColor; border-radius: 2px; }
.pm::after { transform: rotate(90deg); transition: transform .2s; }
details[open] .pm::after { transform: rotate(0); }
.faq details p { margin: -10px 0 22px; font-size: 15px; line-height: 1.55; color: var(--grey); max-width: 620px; text-wrap: pretty; }

/* ---------- CTA final ---------- */
.final { padding: var(--gap-section) 24px 24px; }
.final-panel { min-height: 560px; border-radius: 28px; background: radial-gradient(80% 90% at 50% 0%, #5A5AE8 0%, transparent 70%), linear-gradient(180deg, #1414B8, #0000A0); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 48px; text-align: center; overflow: hidden; }
.final h2 { font: 500 clamp(40px, 5vw, 72px)/1 var(--sans); letter-spacing: -0.055em; color: var(--white); text-wrap: balance; }
.final p { font-size: 18px; color: rgba(255, 255, 255, .85); }

/* ---------- Footer ---------- */
.foot { padding: 116px var(--pad) 24px; }
.foot-cols { display: grid; grid-template-columns: 1fr auto auto auto; gap: 96px; }
.foot-col { display: flex; flex-direction: column; gap: 18px; font-size: 15px; }
.foot-col b { font: 500 22px/1.2 var(--sans); letter-spacing: -0.03em; margin-bottom: 8px; }
.foot-col a { color: var(--ink); text-decoration: none; }
.foot-col a:hover { color: var(--blue); }
.foot-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 96px; font-size: 14px; color: var(--grey); }
.foot-contact { display: flex; align-items: center; gap: 16px; }
.foot-contact a { color: var(--grey); text-decoration: none; }
.foot-contact a:hover { color: var(--blue); }
.foot-social { width: 36px; height: 36px; border-radius: 50%; background: #F6F6F7; display: flex; align-items: center; justify-content: center; }
.foot-mark { margin-top: 64px; padding-bottom: 48px; display: flex; align-items: center; gap: 2.8vw; overflow: hidden; }
.foot-mark .foot-blob { --s: min(23.6vw, 340px); }
.foot-mark > span { font: 600 min(33.3vw, 480px)/0.78 var(--sans); letter-spacing: -0.075em; }

/* ---------- Tablette : desktop resserré ---------- */
@media (max-width: 1023px) {
  :root { --pad: 32px; --gap-section: 112px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 12px; padding: 12px; align-content: center; }
  .step-art { grid-row: 1 / span 4; margin-bottom: 0; min-height: 220px; }
  .step > .mono { align-self: end; }
  .secu, .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow li:nth-child(3)::after { display: none; }
  .actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .callout { padding: 44px; gap: 32px; }
  .split, .faq { gap: 40px; }
  .foot-cols { gap: 40px; }
  .hero-strip .logo-tile-lg:nth-child(1), .hero-strip .logo-tile-lg:nth-last-child(1) { display: none; }
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
  :root { --pad: 20px; --gap-section: 88px; }
  .nav { position: sticky; top: 0; z-index: 30; display: flex; justify-content: space-between; padding: 10px 16px 10px 20px; background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
  .nav-links { display: none; }
  .nav-menu { display: block; }
  .nav-actions { gap: 6px; }
  .nav .btn-sm { font-size: 13px; padding: 9px 14px; }

  .hero { padding-top: 32px; }
  .hero h1 { font-size: 46px; }
  .hero-tool h1 { font-size: 38px; }
  .lead { font-size: 16px; }
  .hero .cta-row, .final .cta-row { flex-direction: column; align-self: stretch; }
  .hero .btn, .final .btn { padding: 15px 20px; }
  .reassure { flex-direction: column; align-items: center; }
  .hero-strip { margin-top: 24px; gap: 8px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); align-self: stretch; margin-left: -20px; margin-right: -20px; max-width: none; overflow: hidden; }
  .hero-strip .logo-tile-lg { width: 56px; height: 56px; border-radius: 16px; display: inline-flex !important; }
  .hero-strip .logo-tile-lg img { width: 28px; height: 28px; }
  .hero-strip .logo-tile-olbo { width: 84px; height: 84px; border-radius: 24px; }
  .logo-tile-xl, .logo-tile-xl.logo-tile-olbo { width: 72px; height: 72px; border-radius: 20px; }

  .section-head { margin-bottom: 28px; gap: 12px; }
  .section-head h2, .faq h2 { font-size: 34px; }
  .step { display: flex; padding: 10px 10px 24px; border-radius: 22px; }
  .step-art { min-height: 200px; padding: 22px 16px; margin-bottom: 22px; }
  .step > .mono, .step h3, .step > p { padding: 0 12px; }
  .step > .mono { align-self: auto; }
  .wa { font-size: 15px; }

  .grid, .grid-big { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .card-big a { padding: 22px; gap: 18px; }
  .tools { flex-direction: column-reverse; flex-wrap: nowrap; align-items: stretch; gap: 14px; margin-bottom: 20px; }
  .search { flex: none; height: 48px; }
  .search input { font-size: 16px; }
  .pills { flex-wrap: nowrap; overflow-x: auto; margin: 0 -20px; padding: 0 20px; scrollbar-width: none; }
  .pills::-webkit-scrollbar { display: none; }
  .pill { flex: none; min-height: 44px; }
  .pills-center { justify-content: flex-start; }
  .tools .pills { flex: none; }
  .pills .pill-more { display: block !important; }
  .pill-toggle { display: none; }

  .az { margin-top: 56px; }
  .az-group { grid-template-columns: 1fr; gap: 12px; padding: 18px 0; }
  .az-group h4 { font-size: 22px; }
  .az-group ul { columns: 2 130px; column-gap: 16px; }
  .az-group li { padding: 7px 0; }
  .az-nav a { min-width: 40px; height: 40px; }

  .callout { grid-template-columns: 1fr; padding: 32px 22px; border-radius: 24px; gap: 32px; }
  .callout h2 { font-size: 30px; }
  .callout p { font-size: 16px; }
  .browser-body { padding: 22px 24px 30px; }
  .secu, .flow, .prompts, .actions { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .flow li + li::after { display: none; }
  .flow { margin-top: 32px; }
  .flow li { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 16px; row-gap: 4px; padding: 18px; align-items: start; }
  .flow-ico { grid-row: 1 / span 2; margin-bottom: 0; }
  .flow b { padding-right: 28px; }
  .flow li::before { right: 18px; top: 20px; }
  .split { grid-template-columns: 1fr; gap: 20px; }
  .prose { padding-top: 0; }
  .prose p { font-size: 16px; }
  .prompt { padding: 20px 16px; min-height: 0; border-radius: 22px; }
  .copy { min-height: 40px; }
  .action { padding: 20px; }

  .faq { grid-template-columns: 1fr; gap: 12px; }
  .faq summary h3 { font-size: 16px; }
  .final { padding: 88px 0 0; }
  .final-panel { min-height: 0; border-radius: 0; padding: 56px 20px; }
  .final .blob { --s: 96px !important; }
  .final h2 { font-size: 40px; }
  .final p { font-size: 16px; line-height: 1.5; }

  .foot { padding: 64px 20px 20px; }
  .foot-cols { grid-template-columns: 1fr 1fr; gap: 32px 16px; }
  .foot-col { gap: 12px; font-size: 14px; }
  .foot-col b { font-size: 17px; margin-bottom: 4px; }
  .foot-bar { margin-top: 56px; }
  .foot-mark { margin-top: 32px; padding-bottom: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Page Demander un accès ---------- */
.acces { padding-bottom: 8px; }
.acces-box { width: 100%; max-width: 480px; margin-top: 14px; padding: 32px; display: flex; flex-direction: column; gap: 20px; text-align: left; background: var(--surface); border-radius: 28px; scroll-margin-top: 80px; }
.acces-form { display: flex; flex-direction: column; gap: 18px; }
.acces-field { display: flex; flex-direction: column; gap: 8px; }
.acces-field label { font: 500 15px/1.3 var(--sans); }
.acces-optional { font-weight: 400; color: var(--grey); margin-left: 4px; }
.acces-field input { width: 100%; box-sizing: border-box; height: 48px; padding: 0 14px; font: 400 16px/1.2 var(--sans); color: var(--ink); background: var(--white); border: 1px solid #DADADF; border-radius: 12px; }
.acces-field input:focus-visible { outline: 2px solid var(--blue); outline-offset: 0; border-radius: 12px; }
.acces-field input[aria-invalid="true"] { border-color: var(--error); }
.acces-phone { display: flex; gap: 8px; }
.acces-phone input { flex: 1; min-width: 0; }
.acces-cc { position: relative; flex: none; display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 12px 0 14px; box-sizing: border-box; font: 500 16px/1 var(--sans); color: var(--ink); background: var(--white); border: 1px solid #DADADF; border-radius: 12px; }
.acces-cc::after { content: ""; width: 7px; height: 7px; margin-top: -4px; border-right: 1.5px solid var(--grey); border-bottom: 1.5px solid var(--grey); transform: rotate(45deg); }
.acces-cc-label { white-space: nowrap; font-variant-numeric: tabular-nums; }
.acces-cc select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 16px; }
.acces-cc:focus-within { outline: 2px solid var(--blue); outline-offset: 0; }
.acces-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.acces-submit { width: 100%; padding: 15px 20px; }
.acces-submit[aria-disabled="true"] { background: var(--ink); opacity: .6; cursor: progress; }
.acces-status { font: 400 15px/1.45 var(--sans); padding: 12px 14px; border-radius: 12px; background: var(--white); }
.acces-status:empty { padding: 0; margin-top: -20px; }
.acces-status:focus { outline: none; }
.acces-status.is-error { box-shadow: inset 0 0 0 1px var(--error); }
.acces-status.is-success { background: var(--success-bg); font-weight: 500; }
.acces-note { font: 400 13px/1.45 var(--sans); color: var(--grey); }
.acces-nojs { font: 400 15px/1.45 var(--sans); }
.js .acces-nojs { display: none; }
.no-js .acces-form { display: none; }

/* Page /merci/ (après un envoi depuis /acces/ ou /rappel/) */
.merci { gap: 18px; }
.merci-check { width: 64px; height: 64px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--success-bg); color: var(--success); }
.merci .lead b { color: var(--ink); font-weight: 600; white-space: nowrap; }
.merci-delay { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: var(--surface); font: 400 14px/1.4 var(--sans); color: var(--ink); text-align: left; text-wrap: pretty; }
.merci-delay span { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--success); }
.merci-box { gap: 18px; }
.merci-box h2 { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.merci-steps { display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 0; list-style: none; }
.merci-steps li { display: flex; align-items: flex-start; gap: 14px; }
.merci-steps p { font: 400 15px/1.5 var(--sans); color: var(--grey); padding-top: 3px; }
.merci-steps b { font-weight: 500; color: var(--ink); }
.merci-num { flex: none; width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--blue); color: var(--white); font: 500 13px/1 var(--mono); }
.merci-note { max-width: 480px; }
.merci > .btn { margin-top: 4px; }
@media (max-width: 767px) {
  .merci-delay { border-radius: 18px; align-items: flex-start; }
  .merci-delay span { margin-top: 6px; }
  .acces-box.merci-box { padding: 24px; }
  .merci > .btn { align-self: stretch; padding: 15px 20px; }
}

/* ---------- Pages légales (/cgv/, /mentions-legales/, /confidentialite/) ---------- */
.legal { width: 100%; max-width: calc(720px + 2 * var(--pad)); margin: 0 auto; padding: 56px var(--pad) 0; font: 400 17px/1.65 var(--sans); color: var(--ink); overflow-wrap: break-word; }
.legal h1 { font: 500 clamp(36px, 4.4vw, 56px)/1.05 var(--sans); letter-spacing: -0.05em; text-wrap: balance; }
.legal .legal-version { margin-top: 14px; font: 400 16px/1.4 var(--sans); color: var(--grey); }
.legal h2 { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); font: 500 24px/1.25 var(--sans); letter-spacing: -0.03em; scroll-margin-top: 96px; }
.legal h1 + h2 { margin-top: 40px; }
.legal p, .legal ul, .legal .legal-table { margin-top: 16px; }
.legal h2 + p, .legal h2 + ul, .legal h2 + .legal-table { margin-top: 14px; }
.legal ul { padding-left: 22px; }
.legal li + li { margin-top: 6px; }
.legal li::marker { color: var(--grey-light); }
.legal strong { font-weight: 600; }
.legal a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--ink); }
.legal-table { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 16px; }
.legal-table:focus-visible { outline-offset: 2px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.5; }
.legal th, .legal td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); min-width: 140px; }
.legal th { background: var(--surface); font-weight: 500; }
.legal tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 767px) {
  .legal { padding: 32px max(16px, var(--pad)) 0; font-size: 16px; }
  .legal h1 { font-size: 34px; }
  .legal h2 { margin-top: 40px; padding-top: 24px; font-size: 21px; }
  .legal th, .legal td { padding: 10px 12px; min-width: 150px; }
}
