/* BizPilot — page vitrine.
   Une seule audace : le héros où le cahier de comptes rencontre le téléphone.
   Le reste reste sobre, aligné à gauche, sur fond « papier ». */

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; padding: .6rem 1rem; border-radius: var(--r-s); }
.skip:focus { left: 8px; }

.site { font-size: 17px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 720px) { .wrap { padding: 0 2rem; } }

.btn--lg { min-height: 54px; padding: 0 1.2em; font-size: 1.04rem; border-radius: 14px; }

/* ---------- Navigation ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(246, 247, 251, .9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; }
.nav__links { display: none; gap: 1.8rem; }
.nav__links a { color: var(--ink-2); text-decoration: none; font-weight: 600; }
.nav__links a:hover { color: var(--ink); }
@media (min-width: 820px) { .nav__links { display: flex; } }
@media (max-width: 400px) { .nav .logo__word small { display: none; } }

/* ---------- Héros ---------- */
.hero { overflow: hidden; }
.hero__in { display: grid; gap: 2.8rem; padding: 2.6rem 1.25rem 3.5rem; }
@media (min-width: 720px) { .hero__in { padding: 3rem 2rem 4rem; } }
@media (min-width: 980px) {
  .hero__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 3rem; padding-top: 4rem; padding-bottom: 3.5rem; }
}

/* La marge rouge du cahier sert d'alignement au texte */
.hero__copy { border-left: 2px solid var(--margin-red); padding-left: clamp(1rem, 3vw, 2rem); }

.hero__q {
  display: grid; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.45rem, 7.4vw, 3.9rem); line-height: 1.03; letter-spacing: -.04em;
  font-variation-settings: "opsz" 96;
}
.hero__q span {
  grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(.18em);
  transition: opacity .45s ease, transform .45s ease, visibility 0s linear .45s;
}
.hero__q span.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }

.hero__lead { font-size: clamp(1.08rem, 2.2vw, 1.24rem); color: var(--ink-2); max-width: 33em; margin-top: 1.4rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.9rem; }
@media (max-width: 480px) { .hero__cta .btn { width: 100%; } }

.qnav { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 2rem; }
.qnav button {
  padding: .4rem .8rem; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent;
  font-weight: 650; font-size: .88rem; color: var(--ink-2); cursor: pointer;
}
.qnav button:hover { border-color: var(--ink-3); color: var(--ink); }
.qnav button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

.hero__visual { position: relative; min-height: 600px; }
@media (max-width: 979px) { .hero__visual { max-width: 520px; width: 100%; margin: 0 auto; } }

/* Le cahier d'avant : réglure Seyès simplifiée, marge rouge, stylo bleu */
.cahier {
  position: absolute; left: -36px; top: 70px; width: 330px; z-index: 1;
  padding: 20px 18px 26px 56px; transform: rotate(-4deg);
  font-family: var(--font-hand); font-weight: 500; font-size: 1.42rem; line-height: 30px; color: #2b46b5;
  background-color: #fff;
  background-image:
    linear-gradient(to right, transparent 43px, rgba(232, 99, 90, .75) 43px, rgba(232, 99, 90, .75) 45px, transparent 45px),
    repeating-linear-gradient(to bottom, transparent 0 29px, #c8d5f1 29px 30px),
    repeating-linear-gradient(to bottom, transparent 0 7px, rgba(200, 213, 241, .35) 7px 7.5px);
  background-position: 0 0, 0 19px, 0 19px;
  border-radius: 4px 10px 10px 4px;
  box-shadow: 0 1px 0 #e7e9f0, 0 18px 40px -18px rgba(20, 26, 51, .35);
}
.cahier p { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: clip; }
.cahier span { color: #1f3bb3; }
.cahier__date { font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.cahier__x { color: #b8382d; }

/* Le téléphone */
.phone { position: absolute; right: 0; top: 0; z-index: 2; margin: 0; width: 272px; }
.phone__screen {
  position: relative; height: 548px; overflow: hidden;
  border: 10px solid var(--ink); border-radius: 42px; background: var(--paper);
  box-shadow: 0 40px 70px -30px rgba(20, 26, 51, .55), 0 0 0 1px rgba(20, 26, 51, .2);
  padding: 16px 14px 70px;
}
.phone__screen::before { content: ""; position: absolute; top: 8px; left: 50%; width: 74px; height: 20px; transform: translateX(-50%); background: var(--ink); border-radius: 999px; }
.phone__top { display: flex; align-items: center; gap: .45rem; padding: 26px 2px 14px; border-bottom: 1px solid var(--line); }
.phone__top img { width: 22px; height: 22px; }
.phone__top b { font-family: var(--font-display); font-weight: 800; font-size: 1rem; }
.phone__top span { margin-left: auto; font-size: .74rem; color: var(--ink-3); font-weight: 600; }

.pane {
  position: absolute; left: 14px; right: 14px; top: 92px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 14px 16px;
  opacity: 0; transform: translateY(10px); transition: opacity .4s ease, transform .4s ease;
}
.pane.is-on { opacity: 1; transform: none; }
.pane__label { font-size: .8rem; font-weight: 650; color: var(--ink-2); }
.pane__big { font-family: var(--font-display); font-weight: 800; font-size: 2.15rem; letter-spacing: -.035em; line-height: 1.1; margin-top: 2px; }
.pane__big small { font-family: var(--font-ui); font-size: .78rem; letter-spacing: 0; color: var(--ink-2); font-weight: 650; }
.pane__big--green { color: var(--green); }
.pane__big--red { color: var(--red); }
.pane__big--blue { color: var(--blue); }
.pane__sub { font-size: .76rem; color: var(--ink-2); margin-top: 2px; }
.pane__sub .up { color: var(--green); font-weight: 700; }
.pane__list, .pane__bars { list-style: none; margin: 10px 0 0; padding: 0; border-top: 1px dashed var(--line-strong); }
.pane__list li { display: flex; justify-content: space-between; gap: 8px; padding: 7px 0; font-size: .76rem; border-bottom: 1px dashed var(--line); }
.pane__list li:last-child { border-bottom: 0; }
.pane__list li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pane__list li b { white-space: nowrap; font-weight: 700; }
.pane__list li b.red { color: var(--red); }
.pane__list li.total { border-top: 1.5px solid var(--ink); font-weight: 800; margin-top: 2px; }
.pane__list li.total b { color: var(--green); }
.pane__btn { display: block; margin-top: 10px; padding: 9px; border-radius: 10px; background: var(--green); color: #fff; text-align: center; font-weight: 700; font-size: .78rem; }
.pane__bars li { display: grid; grid-template-columns: 1fr auto; gap: 3px 8px; padding: 7px 0 4px; font-size: .76rem; }
.pane__bars b { font-weight: 700; }
.pane__bars i { grid-column: 1 / -1; display: block; height: 7px; border-radius: 4px; background: var(--paper); overflow: hidden; }
.pane__bars i::before { content: ""; display: block; height: 100%; width: var(--w); background: var(--saffron); border-radius: 4px; }

.phone__tabs { position: absolute; left: 0; right: 0; bottom: 0; height: 58px; background: #fff; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-around; padding: 0 10px; }
.phone__tabs i { width: 18px; height: 18px; border-radius: 6px; background: var(--line); }
.phone__tabs i:first-child { background: var(--blue-soft); box-shadow: inset 0 0 0 2px var(--blue); }
.phone__tabs i.fab { width: 40px; height: 40px; border-radius: 50%; background: var(--blue); margin-top: -26px; box-shadow: 0 0 0 4px #fff; }

.phone figcaption { text-align: center; font-size: .82rem; color: var(--ink-3); margin-top: .7rem; }

@media (max-width: 979px) {
  .hero__visual { min-height: 720px; }
  .cahier { left: 0; top: 0; width: min(350px, 90%); }
  .phone { top: 175px; right: 0; width: 258px; }
  .phone__screen { height: 500px; }
}
@media (max-width: 420px) {
  .hero__visual { min-height: 690px; }
  .cahier { font-size: 1.3rem; line-height: 27px; padding: 16px 14px 20px 50px;
    background-image:
      linear-gradient(to right, transparent 39px, rgba(232, 99, 90, .75) 39px, rgba(232, 99, 90, .75) 41px, transparent 41px),
      repeating-linear-gradient(to bottom, transparent 0 26px, #c8d5f1 26px 27px),
      repeating-linear-gradient(to bottom, transparent 0 6px, rgba(200, 213, 241, .35) 6px 6.5px);
    background-position: 0 0, 0 15px, 0 15px; }
  .phone { top: 165px; width: 244px; }
  .phone__screen { height: 480px; }
}

/* ---------- Blocs ---------- */
.block { padding: clamp(3.8rem, 9vw, 6.8rem) 0; }
.block--white { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.95rem, 4.6vw, 3.1rem); line-height: 1.05; letter-spacing: -.035em; max-width: 15em; }
.h2--narrow { max-width: 13em; }

.split { display: grid; gap: 1.2rem 3.5rem; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: end; } }

.prose p { font-size: 1.08rem; color: var(--ink-2); max-width: 34em; }
.prose p + p { margin-top: .9em; }

/* Parcours d'une commande : une vraie séquence, d'où la numérotation */
.flow { list-style: none; counter-reset: step; margin: 3rem 0 0; padding: 0; display: grid; gap: 0; }
.flow li { counter-increment: step; position: relative; padding: 0 0 1.6rem 3.4rem; }
.flow li::before {
  content: counter(step); position: absolute; left: 0; top: -.1rem; width: 2.3rem; height: 2.3rem; border-radius: 50%;
  display: grid; place-items: center; background: #fff; border: 1.5px solid var(--ink); font-weight: 800; font-size: .95rem;
}
.flow li::after { content: ""; position: absolute; left: calc(1.15rem - 1px); top: 2.3rem; bottom: .1rem; width: 2px; background: var(--line-strong); }
.flow li:last-child::after { display: none; }
.flow li:last-child::before { background: var(--blue); border-color: var(--blue); color: #fff; }
.flow b { display: block; font-weight: 750; font-size: 1.08rem; }
.flow span { display: block; color: var(--ink-2); font-size: .96rem; }
@media (min-width: 900px) {
  .flow { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.4rem; }
  .flow li { padding: 3.3rem 0 0; }
  .flow li::after { left: 2.8rem; right: -1.4rem; top: calc(1.15rem - 1px); bottom: auto; width: auto; height: 2px; }
}
.flow__end { font-family: var(--font-display); font-weight: 750; font-size: clamp(1.3rem, 2.8vw, 1.7rem); letter-spacing: -.02em; color: var(--blue); margin-top: 1.4rem; }

/* Fonctionnalités */
.feat { display: grid; gap: 2.2rem; margin-top: 3rem; }
@media (min-width: 900px) { .feat { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.6rem; } }
.feat__group h3 { font-size: .98rem; font-weight: 750; color: var(--ink-2); padding-top: .9rem; border-top: 2px solid var(--ink); margin-bottom: 1.1rem; }
.feat dl { margin: 0; }
.feat dt { font-weight: 750; font-size: 1.12rem; }
.feat dd { margin: .2rem 0 1.3rem; color: var(--ink-2); }

.chat { display: grid; gap: 2rem; margin-top: 3.5rem; padding: clamp(1.4rem, 4vw, 3rem); border-radius: var(--r-l); background: var(--paper); border: 1px solid var(--line); }
@media (min-width: 900px) { .chat { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 3rem; } }
.chat__copy h3 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.45rem, 3vw, 1.9rem); letter-spacing: -.025em; line-height: 1.1; margin-bottom: .8rem; }
.chat__copy p { color: var(--ink-2); max-width: 32em; }
.chat__copy p + p { margin-top: .8em; }
.chat__thread { display: flex; flex-direction: column; gap: .8rem; padding: 1.2rem; border-radius: 18px; background: #e8ecf6; }
.bubble { max-width: 88%; padding: .7rem .85rem 1.3rem; border-radius: 14px; font-size: .94rem; position: relative; box-shadow: 0 1px 1px rgba(20, 26, 51, .08); }
.bubble p + p { margin-top: .5em; }
.bubble time { position: absolute; right: .7rem; bottom: .35rem; font-size: .72rem; color: var(--ink-3); }
.bubble--in { background: #fff; border-top-left-radius: 4px; align-self: flex-start; }
.bubble--out { background: #d9f0e3; border-top-right-radius: 4px; align-self: flex-end; }

/* Comparaison */
.compare { margin-top: 2.6rem; border-top: 2px solid var(--ink); }
.compare__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .25rem 1.2rem; padding: 1rem 0; border-bottom: 1px solid var(--line-strong); }
.compare__row > :first-child { grid-column: 1 / -1; font-weight: 750; }
.compare__row > :nth-child(2) { color: var(--ink-3); }
.compare__row > :nth-child(3) { font-weight: 600; padding-left: 1.5rem; position: relative; }
.compare__row > :nth-child(3)::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 1rem; height: 1rem; border-radius: 50%; background: var(--green-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312875a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") no-repeat center / 70%;
}
.compare__row--head { padding: .8rem 0; font-size: .9rem; }
.compare__row--head > :first-child { display: none; }
.compare__row--head > :nth-child(2) { color: var(--ink-3); font-weight: 650; }
.compare__row--head > :nth-child(3) { color: var(--blue); font-weight: 800; padding-left: 0; }
.compare__row--head > :nth-child(3)::before { display: none; }
@media (min-width: 760px) {
  .compare__row { grid-template-columns: minmax(0, .7fr) minmax(0, 1fr) minmax(0, 1fr); align-items: baseline; }
  .compare__row > :first-child { grid-column: auto; }
  .compare__row--head > :first-child { display: block; }
}

/* Tarifs */
.plans { display: grid; gap: 1rem; margin-top: 2.6rem; }
@media (min-width: 640px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .plans { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.plan { display: flex; flex-direction: column; padding: 1.5rem 1.35rem 1.35rem; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); }
.plan h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; }
.plan__for { color: var(--ink-2); font-size: .94rem; margin-top: .15rem; min-height: 2.8em; }
.plan__price { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; letter-spacing: -.035em; line-height: 1; margin: .9rem 0 1.1rem; }
.plan__price small { font-family: var(--font-ui); font-size: .88rem; font-weight: 650; letter-spacing: 0; color: var(--ink-3); }
.plan ul { list-style: none; margin: 0 0 1.4rem; padding: 0; }
.plan li { position: relative; padding: .35rem 0 .35rem 1.4rem; font-size: .96rem; }
.plan li::before { content: ""; position: absolute; left: .1rem; top: .85em; width: .6rem; height: .32rem; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.plan .btn { margin-top: auto; }
.plan--main { background: var(--blue-soft); border: 2px solid var(--blue); }
.plans__note { margin-top: 1.4rem; color: var(--ink-2); font-size: .96rem; }

/* Démarrer : trois étapes */
.steps3 { list-style: none; counter-reset: s; margin: 2.6rem 0 0; padding: 0; display: grid; gap: 1.8rem; }
@media (min-width: 820px) { .steps3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.4rem; } }
.steps3 li { counter-increment: s; }
.steps3 li::before { content: counter(s); display: block; font-family: var(--font-display); font-weight: 800; font-size: 3.2rem; line-height: 1; color: var(--blue); letter-spacing: -.04em; margin-bottom: .6rem; }
.steps3 b { display: block; font-size: 1.15rem; font-weight: 750; margin-bottom: .25rem; }
.steps3 span { color: var(--ink-2); }

/* Questions */
.faq { display: grid; gap: 2rem; }
@media (min-width: 900px) { .faq { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 4rem; } .faq .h2 { position: sticky; top: 96px; align-self: start; } }
.faq__list details { border-bottom: 1px solid var(--line-strong); }
.faq__list details:first-child { border-top: 1px solid var(--line-strong); }
.faq__list summary { list-style: none; cursor: pointer; padding: 1.15rem 2.4rem 1.15rem 0; font-weight: 700; font-size: 1.08rem; position: relative; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: ""; position: absolute; right: .4rem; top: 50%; width: .7rem; height: .7rem; margin-top: -.5rem;
  border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg); transition: transform .2s;
}
.faq__list details[open] summary::after { transform: rotate(-135deg); margin-top: -.15rem; }
.faq__list p { color: var(--ink-2); padding: 0 2rem 1.3rem 0; max-width: 40em; }

/* Dernier appel : la page de cahier, en grand */
.final {
  position: relative; color: #fff; background-color: var(--blue); padding: clamp(4rem, 10vw, 7rem) 0;
  background-image: repeating-linear-gradient(to bottom, transparent 0 39px, rgba(255, 255, 255, .09) 39px 40px);
}
.final__in { border-left: 2px solid rgba(232, 99, 90, .9); padding-left: clamp(1rem, 3vw, 2rem); }
.final h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 6.5vw, 4.2rem); letter-spacing: -.04em; line-height: 1.02; max-width: 12em; }
.final p { font-size: 1.15rem; opacity: .88; margin: 1rem 0 2rem; max-width: 30em; }

/* Pied de page */
.foot { padding: 2.6rem 0 3rem; }
.foot__in { display: grid; gap: 1rem; color: var(--ink-2); font-size: .94rem; }
.foot nav { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.foot nav a { color: var(--ink-2); font-weight: 600; text-decoration: none; }
.foot nav a:hover { color: var(--ink); text-decoration: underline; }
.foot__copy { color: var(--ink-3); font-size: .86rem; }
@media (min-width: 900px) { .foot__in { grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem 2.5rem; } .foot__copy { grid-column: 1 / -1; } }
