/* BizOS — v4 « Bleu ». Objets blancs et bleu #007AFF sur blanc pur. */

:root {
  color-scheme: light;
  --bg: #ffffff;
  --ink: #0b1220;
  --blue: #007aff;
  --blue-hover: #0a84ff;
  --muted: #4b5563;
  --muted-2: #6b7280;
  --line: rgba(11, 18, 32, .10);
  --sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --gutter: clamp(24px, 4.2vw, 68px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); scroll-padding-top: 92px; }
body { margin: 0; overflow-x: hidden; background: var(--bg); color: var(--ink); font-family: var(--sans); font-weight: 400; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, a { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, summary:focus-visible, [tabindex="0"]:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; border-radius: 4px; }
button[hidden], a[hidden] { display: none; }
::selection { background: #cfe4ff; color: var(--ink); }
p, h1, h2 { margin: 0; }

h1, h2 { font-weight: 600; }
h1 { font-size: clamp(3.2rem, 6.2vw, 5.8rem); letter-spacing: -.045em; line-height: 1.0; }
h2 { font-size: clamp(2.3rem, 4.4vw, 4rem); letter-spacing: -.04em; line-height: 1.05; }
.ink-blue { color: var(--blue); }

.section-copy, .intro { font-size: clamp(1.05rem, 1.35vw, 1.2rem); line-height: 1.55; color: var(--muted); max-width: 34em; letter-spacing: -.012em; }

.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; background: #fff; padding: 14px 20px; border-radius: 10px; box-shadow: 0 8px 24px rgba(11,18,32,.18); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.skip-link:not(:focus) { opacity: 0; box-shadow: none; } /* retouche: masque l'ombre du skip-link non focus (filet gris en haut à gauche) */

/* ---------- Header ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 30; height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 var(--gutter); transition: background .3s, box-shadow .3s; }
.site-header.scrolled { background: rgba(255,255,255,.85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 1px var(--line); }
.brand { display: flex; align-items: center; min-height: 44px; gap: 8px; }
.brand img { object-fit: contain; }
.wordmark, .footer-brand { font-family: Georgia, "Times New Roman", serif; font-size: 27px; letter-spacing: -.06em; color: var(--ink); }
.beta { align-self: flex-start; font-size: 10px; letter-spacing: .07em; margin: 8px 0 0 1px; font-weight: 600; color: var(--muted-2); }
.header-links { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 32px); font-size: 14px; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-weight: 500; }
.text-link:hover { color: var(--blue); }
.header-cta { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 16px; background: #fff; border: 1px solid rgba(11,18,32,.14); border-radius: 12px; font-size: 14px; font-weight: 500; transition: border-color .2s, color .2s; }
.header-cta:hover { border-color: var(--ink); }

/* ---------- Boutons ---------- */
.btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 22px; border-radius: 14px; background: var(--blue); color: #fff; font-size: 15px; font-weight: 600; letter-spacing: -.012em; box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 8px 22px rgba(0,122,255,.28); transition: background .2s, transform .2s, box-shadow .2s; }
.btn-primary:hover { background: var(--blue-hover); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.apple-icon { flex: 0 0 auto; margin-top: -2px; }
.button-arrow { font-size: 17px; font-weight: 400; margin-left: 2px; }
.text-cta { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ink); font-size: 15px; font-weight: 500; transition: color .2s; }
.text-cta:hover { color: var(--blue); }

/* ---------- Sections ---------- */
.section { position: relative; isolation: isolate; overflow: clip; background: var(--bg); }
.content { position: relative; width: min(100%, 1180px); margin-inline: auto; padding-inline: var(--gutter); }
.scene-art { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.scene-art img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- 1. Hero ---------- */
.hero { min-height: 100svh; display: grid; align-content: start; padding-bottom: 72px; }
.hero-copy { padding-top: 152px; text-align: center; }
.hero .intro { margin: 24px auto 0; text-wrap: balance; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 26px; margin-top: 30px; }
.availability { margin-top: 18px; font-size: 13px; line-height: 1.5; color: var(--muted-2); }
/* La masse de papier reste dans le bas du cadre, sous la copy. */
.hero-art { inset: auto 0 0 0; height: 72%; } /* retouche: réduit la hauteur pour éloigner le papier de la rangée de boutons */
.hero-art img { object-fit: contain; object-position: center bottom; } /* retouche: contain pour que le papier ne touche plus les boutons */

/* ---------- 2. Comment ça marche ---------- */
.comment { min-height: 100svh; display: grid; align-content: center; padding: 132px 0 116px; }
.comment-layout { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 48px; align-items: center; }
.comment-copy { max-width: 560px; }
/* Écart au brief : le H2 est plafonné ici pour que « Tout commence par » tienne sur une ligne dans la colonne 6fr. */
.comment h2 { font-size: clamp(2.3rem, 3.8vw, 3.4rem); }
.comment .section-copy { margin-top: 22px; }
.steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; margin-top: 40px; max-width: 520px; }
.steps > div { display: grid; gap: 7px; align-content: start; padding-top: 18px; border-top: 1px solid var(--line); }
.steps strong { font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.steps span { font-size: 15px; line-height: 1.5; color: var(--muted); }
.comment-spacer { min-height: 1px; }

.conversation-demo { width: 100%; max-width: 520px; margin-top: 40px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 20px 60px -30px rgba(11,18,32,.25); }
.demo-header { display: flex; align-items: center; gap: 10px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.demo-header img { flex: 0 0 auto; }
.demo-header > div { display: grid; gap: 2px; }
.demo-header strong { font-size: 14px; font-weight: 600; }
.demo-header div span { font-size: 12px; color: var(--muted-2); }
.example-label { margin-left: auto; font-size: 10px; letter-spacing: .12em; color: var(--muted-2); }
.demo-messages { padding: 24px 20px 20px; min-height: 268px; }
.message { font-size: 14px; line-height: 1.5; }
.user-message { max-width: 88%; margin-left: auto; padding: 12px 16px; border-radius: 16px 16px 4px 16px; background: var(--blue); color: #fff; }
.agent-message { display: flex; align-items: flex-start; gap: 9px; margin-top: 22px; }
.agent-message img { flex: 0 0 24px; }
.message-author { font-size: 11px; color: var(--muted-2); }
.agent-message p { margin-top: 4px; font-size: 14px; line-height: 1.55; color: var(--ink); }
.demo-deliverable { display: flex; align-items: center; gap: 11px; margin: 20px 0 0 33px; padding-top: 14px; border-top: 1px solid var(--line); }
.deliverable-icon { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 31px; height: 33px; border: 1px solid var(--line); border-radius: 8px; color: var(--blue); }
.demo-deliverable > div { display: grid; gap: 4px; }
.demo-deliverable strong { font-size: 12px; font-weight: 600; }
.demo-deliverable div span { font-size: 10px; line-height: 1.4; color: var(--muted-2); }
.draft-label { margin-left: auto; font-size: 10px; padding: 4px 7px; border-radius: 6px; background: #eaf3ff; color: #0b63c5; }
.demo-footer { padding: 16px 18px; border-top: 1px solid var(--line); }
.demo-footer > span { display: block; margin: 0 0 9px 2px; font-size: 10px; letter-spacing: .12em; color: var(--muted-2); }
.scenario-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.scenario-tabs button { min-height: 40px; padding: 0 13px; border: 1px solid transparent; border-radius: 10px; background: transparent; color: var(--muted); font-size: 13px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.scenario-tabs button:hover { background: #f1f5fb; }
.scenario-tabs button[aria-selected="true"] { background: #eaf3ff; border-color: #cfe4ff; color: #0b63c5; font-weight: 500; }
.demo-caption { max-width: 520px; margin-top: 14px; font-size: 11px; line-height: 1.5; color: var(--muted-2); }

/* ---------- 3. Features ---------- */
.features { min-height: min(100svh, 920px); display: grid; align-content: start; padding: 120px 0 116px; } /* retouche: plafonne la hauteur pour éviter le vide sur grands écrans */
.features-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.features .section-copy { margin-top: 22px; }
.callouts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.callouts > div { display: grid; gap: 9px; align-content: start; padding-top: 18px; border-top: 1px solid var(--line); }
.callouts strong { font-size: 20px; font-weight: 600; letter-spacing: -.025em; color: var(--ink); }
.callouts span { font-size: 15px; line-height: 1.5; color: var(--muted); }
.features-art img { object-position: left bottom; }

/* ---------- 4. Pilotage ---------- */
.pilotage { min-height: min(100svh, 920px); display: grid; align-content: center; padding: 132px 0 116px; } /* retouche: plafonne la hauteur pour éviter le vide sur grands écrans */
.pilotage-copy { max-width: min(560px, 42vw); } /* retouche: la copy reste bien à gauche du mobile sur grands écrans */
.pilotage .section-copy { margin-top: 22px; }
.guarantees { margin-top: 40px; max-width: 520px; }
.guarantees > div { display: grid; gap: 6px; padding: 20px 0; border-top: 1px solid var(--line); }
.guarantees strong { font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.guarantees span { font-size: 15px; line-height: 1.5; color: var(--muted); }
.pilotage-art img { object-position: 78% center; }

/* ---------- 5. FAQ ---------- */
.faq { padding: 140px 0; }
.faq-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.faq-heading h2 { position: sticky; top: 120px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-size: 18px; font-weight: 500; line-height: 1.4; color: var(--ink); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 50%; margin-top: -13px; width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 400; line-height: 1; color: var(--muted-2); transition: transform .25s, color .25s; }
.faq-list details[open] summary::after { transform: rotate(45deg); color: var(--blue); }
.faq-list p { max-width: 40em; padding-bottom: 22px; font-size: 16px; line-height: 1.6; color: var(--muted); }

/* ---------- 6. Finale ---------- */
.download { padding: 120px 0 0; text-align: center; }
.close-copy { display: grid; justify-items: center; }
.download .section-copy { margin-top: 18px; }
.team-composition { position: relative; width: min(100%, 1180px); margin: 26px auto 34px; }
.team-art-crop { width: 100%; overflow: hidden; }
/* Seule la marge blanche du haut est rognée ; le fichier source reste intact. */
.team-art-crop > img { display: block; width: 100%; height: auto; margin-top: -4.7%; mix-blend-mode: multiply; }
.team-invitation { position: absolute; top: 68%; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 14px; width: 36%; }
.team-invitation .btn-primary { white-space: nowrap; }
.download-status { margin: 0; font-size: 13px; line-height: 1.6; color: var(--muted-2); }
.web-alternative { font-size: 13px; line-height: 1.6; text-decoration: underline; text-underline-offset: 4px; }

.site-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px 28px; margin-top: 24px; padding: 28px var(--gutter); border-top: 1px solid var(--line); font-size: 13px; color: var(--muted-2); text-align: left; }
.footer-identity { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.footer-brand { font-size: 24px; }
.footer-tagline { font-size: 14px; color: var(--muted-2); }
.footer-links { display: flex; align-items: center; gap: 26px; }
.footer-links a { min-height: 44px; display: inline-flex; align-items: center; }
.footer-links a:hover { color: var(--blue); }

/* ---------- Mouvement ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- ≤ 1000px ---------- */
@media (max-width: 1000px) {
  .comment, .features, .pilotage { min-height: 0; display: block; padding: 116px 0 96px; }
  .comment-layout, .features-layout, .faq-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .comment-copy, .pilotage-copy { max-width: 640px; }
  .comment-spacer { display: none; }
  .conversation-demo, .demo-caption, .steps, .guarantees { max-width: 560px; }
  .callouts { grid-template-columns: minmax(0, 1fr); gap: 0; max-width: 640px; }
  .callouts > div { padding: 20px 0; }
  .faq-heading h2 { position: static; }
  .faq { padding: 104px 0 116px; }

  .comment .scene-art, .features .scene-art, .pilotage .scene-art { position: static; z-index: auto; width: 100%; margin-top: 44px; }
  .comment .scene-art img, .features .scene-art img, .pilotage .scene-art img { height: auto; }
  .comment-art { aspect-ratio: 16 / 10; }
  .comment-art img { aspect-ratio: 16 / 10; object-fit: cover; object-position: 80% center; }
  .features-art { aspect-ratio: 16 / 10; }
  .features-art img { aspect-ratio: 16 / 10; object-fit: cover; object-position: 30% bottom; }
  .pilotage-art { aspect-ratio: 4 / 3; }
  .pilotage-art img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 70% center; }

  .team-invitation { width: 46%; top: 66%; }
  .download { padding-top: 104px; }
}

/* ---------- ≤ 760px ---------- */
@media (max-width: 760px) {
  html { scroll-padding-top: 76px; }
  .site-header { height: 64px; padding: 0 20px; gap: 12px; }
  .brand { gap: 6px; }
  .brand img { width: 30px; height: 30px; }
  .wordmark { font-size: 24px; }
  .beta { font-size: 9px; margin-top: 7px; }
  .header-links .text-link { display: none; }
  .header-cta { height: 38px; padding: 0 13px; font-size: 13px; gap: 8px; }

  .hero { min-height: auto; display: block; padding-bottom: 0; }
  .hero-copy { padding-top: 108px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 26px; }
  .hero-actions .btn-primary { width: 100%; max-width: 360px; margin-inline: auto; }
  .hero-actions .text-cta { justify-content: center; }
  .hero-art { position: static; z-index: auto; width: 100%; margin-top: 34px; aspect-ratio: 4 / 3; }
  .hero-art img { height: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 75%; }

  .comment, .features, .pilotage { padding: 88px 0 76px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .steps > div { padding: 18px 0; }
  .steps > div + div { border-top: 1px solid var(--line); }
  .conversation-demo { margin-top: 32px; border-radius: 18px; }
  .demo-messages { padding: 20px 16px; min-height: 0; }
  .demo-header { padding: 16px; }
  .demo-footer { padding: 14px 16px; }
  .scenario-tabs button { padding: 0 11px; font-size: 12px; min-height: 44px; }
  .draft-label { display: none; }
  .demo-deliverable { margin-left: 0; }
  .guarantees { margin-top: 32px; }
  .callouts > div { padding: 18px 0; }

  .faq { padding: 84px 0 92px; }
  .faq-layout { gap: 30px; }
  .faq-list summary { font-size: 17px; padding: 20px 36px 20px 0; }
  .faq-list p { font-size: 15px; }

  .download { padding-top: 88px; }
  .team-composition { margin: 20px auto 0; }
  .team-invitation { position: static; transform: none; width: 100%; max-width: 360px; margin: 18px auto 0; gap: 14px; }
  .team-invitation .btn-primary { width: 100%; }
  .site-footer { margin-top: 34px; padding: 24px 20px; gap: 14px; }
  .footer-identity { gap: 8px; flex-direction: column; align-items: flex-start; }
  .footer-links { gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .btn-primary:hover { transform: none; }
}
