/* Bonne App — Expérience smartphone V4 (13/11/2026)
   Règles visibles limitées aux écrans ≤700 px et à html.ba64-on (posée par mobile-impact.js).
   Palette et typographie du site : vert #004d45, sauge #8ca695, corail #ff7f50, papier #f9f7f4. */

/* Éléments ajoutés par les scripts : jamais visibles sur ordinateur. */
.ba66-more,.ba66-deck-ui,.ba65-progress,.ba-mobile-sheet,.ba-mobile-sheet__backdrop{display:none}

@media screen and (max-width:700px){

/* ================= 0. PASTILLE « + » COMMUNE (dessinée, parfaitement centrée) ================= */
html.ba64-on .ba6-problem-grid>article::after,
html.ba64-on .ba6-impact-grid>article::after,
html.ba64-on .ba6-why-copy>p::after,
html.ba64-on .ba26-timeline>.ba26-step::after,
html.ba64-on .faq summary::after{
  content:""!important;position:absolute;box-sizing:border-box;width:30px;height:30px;border-radius:50%;
  border:1px solid rgba(0,77,69,.16);background-color:#fff;
  background-image:linear-gradient(#004d45,#004d45),linear-gradient(#004d45,#004d45);
  background-size:12px 1.8px,1.8px 12px;background-position:center;background-repeat:no-repeat;
  transition:transform .4s cubic-bezier(.2,.8,.2,1),background-color .3s ease,border-color .3s ease;
  font-size:0!important;line-height:0!important}
html.ba64-on .is-open::after,html.ba64-on .faq details[open] summary::after{
  transform:rotate(45deg);background-color:#ff7f50!important;border-color:#ff7f50!important}

/* ================= 1. NAVIGATION : onglet « Plus » et panneau ================= */
.ba-mobile-dock{grid-template-columns:repeat(5,minmax(0,1fr))!important;width:min(334px,calc(100vw - 32px))!important}
.ba-mobile-dock__bubble{width:calc((100% - 8px)/5)!important}
button.ba-mobile-dock__link{border:0;background:none;padding:0;font:inherit;cursor:pointer;-webkit-appearance:none;appearance:none}
.ba-mobile-dock__link:focus{outline:none}
.ba-mobile-dock__link:focus-visible{outline:2px solid #ff7f50;outline-offset:-2px}

.ba-mobile-sheet__backdrop{display:block;position:fixed;inset:0;z-index:9997;background:rgba(0,40,35,.3);
  -webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);opacity:0;pointer-events:none;transition:opacity .28s ease}
.ba-mobile-sheet__backdrop.is-open{opacity:1;pointer-events:auto}
.ba-mobile-sheet{display:block;position:fixed;z-index:9998;left:12px;right:12px;bottom:calc(66px + env(safe-area-inset-bottom,0px));
  padding:10px 12px 12px;border-radius:28px;background:rgba(249,247,244,.96);border:1px solid rgba(255,255,255,.75);
  -webkit-backdrop-filter:blur(24px) saturate(1.5);backdrop-filter:blur(24px) saturate(1.5);box-shadow:0 22px 60px rgba(0,42,36,.24);
  transform:translateY(28px) scale(.97);opacity:0;pointer-events:none;transition:transform .38s cubic-bezier(.2,.8,.2,1),opacity .24s ease}
.ba-mobile-sheet.is-open{transform:none;opacity:1;pointer-events:auto}
.ba-mobile-sheet__grip{width:38px;height:4px;border-radius:4px;background:#c9d5c7;margin:0 auto 12px}
.ba-mobile-sheet__eyebrow{margin:0 6px 10px!important;font-size:10px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:#789788}
.ba-mobile-sheet__list{display:grid;gap:8px}
.ba-mobile-sheet__link{position:relative;display:flex;align-items:center;gap:12px;padding:10px 12px 10px 10px;border-radius:18px;
  text-decoration:none!important;color:#004d45!important;background:#fff;border:1px solid rgba(0,77,69,.07);
  -webkit-tap-highlight-color:transparent;transition:transform .18s ease,background .2s ease}
.ba-mobile-sheet__link:active{transform:scale(.98);background:#eef2ec}
.ba-mobile-sheet__link:focus{outline:none}
.ba-mobile-sheet__link:focus-visible{outline:none;box-shadow:inset 0 0 0 2px #ff7f50}
.ba-mobile-sheet__link.is-current{background:#e9ede4;border-color:#c9d5c7}
.ba-mobile-sheet__icon{flex:0 0 40px;width:40px;height:40px;border-radius:13px;display:grid;place-items:center;background:rgba(140,166,149,.18);color:#004d45}
.ba-mobile-sheet__link:last-child .ba-mobile-sheet__icon{background:#ff7f50}
.ba-mobile-sheet__icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ba-mobile-sheet__text{display:flex;flex-direction:column;min-width:0;flex:1}
.ba-mobile-sheet__text strong{font-size:14px;line-height:1.25}
.ba-mobile-sheet__text small{font-size:11.5px;color:#5d796d;line-height:1.35}
.ba-mobile-sheet__arrow{flex:0 0 30px;width:30px;height:30px;border-radius:50%;border:1px solid rgba(0,77,69,.14);display:grid;place-items:center;color:#004d45}
.ba-mobile-sheet__arrow svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.ba-mobile-sheet__actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}
.ba-mobile-sheet__actions a{display:flex;align-items:center;justify-content:center;gap:8px;min-height:46px;border-radius:999px;font-size:14px;font-weight:700;text-decoration:none!important;-webkit-tap-highlight-color:transparent}
.ba-mobile-sheet__actions a:focus{outline:none}
.ba-mobile-sheet__actions a:focus-visible{box-shadow:0 0 0 2px #f9f7f4,0 0 0 4px #ff7f50}
.ba-mobile-sheet__actions svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ba-mobile-sheet__call{background:#004d45;color:#f9f7f4!important}
.ba-mobile-sheet__mail{border:1px solid rgba(0,77,69,.35);color:#004d45!important;background:#fff}
html.ba-sheet-open,html.ba-sheet-open body{overflow:hidden}

/* Barre de lecture + en-tête rétractable */
html.ba64-on .ba65-progress{display:block;position:fixed;top:0;left:0;right:0;height:3px;z-index:10000;background:#ff7f50;transform-origin:0 50%;transform:scaleX(0);pointer-events:none}
html.ba64-on .header{transition:transform .38s cubic-bezier(.2,.8,.2,1),box-shadow .3s,border-color .3s!important}
html.ba64-on .header.ba65-hide{transform:translateY(-100%)}

/* ================= 2. HÉROS ================= */
.ba26-hero{padding:44px 0 40px!important}
.ba26-hero h1{margin:16px 0 18px!important}
.ba26-hero .ba26-hero-grid>div:first-child>p:nth-of-type(n+2){display:none!important}
.ba26-hero .ba26-discover{margin-top:12px!important}
/* Visuel circulaire entièrement contenu dans le fond beige */
.ba26-hero .ba37-art{height:236px!important;min-height:236px!important;margin:22px auto 0!important;transform:none!important}
.ba26-hero .ba37-ring{width:212px!important;height:212px!important}
/* Texte de la bulle centré entre les 6 carrés et le bord du cercle */
.ba26-hero .ba37-art-copy{margin-top:-16px!important}
/* Notre approche : un seul et même fond beige du haut de page à la frise */
.ba26-timeline-section{background:#f9f7f4!important;padding-top:34px!important}
html body.home-mobile-v1 .ba6-hero .stage{width:min(58vw,225px)!important;margin:6px auto 0!important}

.ba26-hero .eyebrow,.ba26-hero h1,.ba26-hero p,.ba26-hero .ba26-discover,
.ba6-hero .ba42-home-eyebrow,.ba6-hero h1,.ba6-hero .ba6-lead,.ba6-hero .ba6-actions,
.ba43-hero .ba43-eyebrow,.ba43-hero h1,.ba43-hero .ba43-intro,.ba43-hero .ba43-link,
.contact-v53-intro>*{animation:ba65-rise .8s cubic-bezier(.2,.8,.2,1) both}
.ba26-hero h1,.ba6-hero h1,.ba43-hero h1,.contact-v53-intro>h1{animation-delay:.08s}
.ba26-hero p,.ba6-hero .ba6-lead,.ba43-hero .ba43-intro,.contact-v53-intro>p:not(:first-child){animation-delay:.18s}
.ba26-hero .ba26-discover,.ba6-hero .ba6-actions,.ba43-hero .ba43-link,.contact-v53-intro>a{animation-delay:.28s}
.ba26-hero .ba37-art,.ba43-hero .ba48-origin-art,.contact-v53-art{animation:ba65-pop 1s .3s cubic-bezier(.2,.8,.2,1) both}

/* ================= 3. TUILES QUI S'OUVRENT ================= */
html.ba64-on .ba6-problem-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;
  background:none!important;box-shadow:none!important;border:0!important;padding:0!important;margin-top:6px!important}
html.ba64-on .ba6-problem-grid>article{
  position:relative;display:flex!important;flex-direction:column!important;justify-content:flex-start!important;
  min-height:132px!important;margin:0!important;padding:16px 14px 50px!important;
  border:1px solid rgba(0,77,69,.08)!important;border-radius:20px!important;background:#f3f5f0!important;box-shadow:none!important;
  cursor:pointer;-webkit-tap-highlight-color:transparent;transition:background .3s ease,transform .18s ease}
html.ba64-on .ba6-problem-grid>article::before{display:none!important}
html.ba64-on .ba6-problem-grid>article:active{transform:scale(.98)}
html.ba64-on .ba6-problem-grid>article::after{right:12px;bottom:12px}
html.ba64-on .ba6-problem-grid>article .ba6-index{color:#ff7f50!important;font-weight:700;font-size:12px!important;margin:0 0 8px!important}
html.ba64-on .ba6-problem-grid>article h3{font-size:15.5px!important;line-height:1.28!important;margin:0!important;min-height:0!important;color:#004d45}
html.ba64-on .ba6-problem-grid>article p{display:none!important}
html.ba64-on .ba6-problem-grid>article.is-open{grid-column:1/-1;background:#004d45!important;border-color:#004d45!important}
html.ba64-on .ba6-problem-grid>article.is-open h3{color:#f9f7f4!important;font-size:18px!important}
html.ba64-on .ba6-problem-grid>article.is-open p{display:block!important;color:#dae4d9!important;font-size:14.5px!important;line-height:1.6!important;margin:10px 0 0!important;animation:ba64-in .4s ease both}
html.ba64-on .ba6-problem-grid>article:focus{outline:none}
html.ba64-on .ba6-problem-grid>article:focus-visible{box-shadow:0 0 0 2px #ff7f50!important}

html body.ba-premium .ba6-section .ba6-impact-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important}
html body.ba-premium .ba6-section .ba6-impact-grid>article{position:relative;padding:16px 14px 50px!important;min-height:0!important;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:transform .18s ease}
html body.ba-premium .ba6-section .ba6-impact-grid>article:active{transform:scale(.98)}
html body.ba-premium .ba6-section .ba6-impact-grid>article::after{right:12px;bottom:12px}
html body.ba-premium .ba6-section .ba6-impact-grid>article>span{margin:0 0 12px!important;font-size:10px!important;letter-spacing:.12em!important}
html body.ba-premium .ba6-section .ba6-impact-grid .ba9-impact-title{flex-direction:column-reverse!important;align-items:flex-start!important;justify-content:flex-end!important;gap:12px!important;font-size:15.5px!important;line-height:1.25!important;margin:0!important}
html body.ba-premium .ba6-section .ba6-impact-grid .ba9-impact-icon{width:28px!important;height:28px!important;min-width:28px!important;margin:0!important}
html.ba64-on body .ba6-section .ba6-impact-grid>article>p{display:none!important}
html.ba64-on body .ba6-section .ba6-impact-grid>article.is-open{grid-column:1/-1}
html.ba64-on body .ba6-section .ba6-impact-grid>article.is-open>p{display:block!important;margin:10px 0 0!important;font-size:14.5px!important;animation:ba64-in .4s ease both}
html.ba64-on .ba6-impact-grid>article:focus{outline:none}

/* ================= 4. LIGNES DÉPLIABLES (« Pourquoi Bonne App ? ») ================= */
html.ba64-on .ba6-why-copy{border:0!important;padding:0!important;counter-reset:ba64}
html.ba64-on .ba6-why-copy>p{position:relative;margin:0!important;padding:18px 48px 18px 0!important;border-bottom:1px solid #d9dfd7;cursor:pointer;-webkit-tap-highlight-color:transparent}
html.ba64-on .ba6-why-copy>p:first-child{border-top:1px solid #d9dfd7}
html.ba64-on .ba6-why-copy>p::before{counter-increment:ba64;content:counter(ba64,decimal-leading-zero);display:block;font-size:11px;font-weight:700;letter-spacing:.16em;color:#ff7f50;margin-bottom:6px}
html.ba64-on .ba6-why-copy>p::after{right:0;top:22px}
html.ba64-on .ba6-why-copy>p:focus{outline:none}
html.ba64-on .ba6-why-copy .ba64-lead{display:block;font-size:17px;line-height:1.3;color:#004d45}
html.ba64-on .ba6-why-copy .ba64-more{display:none}
html.ba64-on .ba6-why-copy>p.is-open .ba64-more{display:block;margin-top:8px;font-size:15px;line-height:1.6;animation:ba64-in .4s ease both}

/* ================= 5. FRISE « NOTRE APPROCHE » ================= */
html.ba64-on .ba26-timeline>.ba26-step{position:relative;cursor:pointer;-webkit-tap-highlight-color:transparent;padding-bottom:26px!important}
html.ba64-on .ba26-timeline>.ba26-step::after{right:0;top:6px}
html.ba64-on .ba26-timeline>.ba26-step:focus{outline:none}
html.ba64-on .ba26-timeline .ba26-step-content{padding-right:46px!important}
html.ba64-on .ba26-timeline .ba26-step-content p{display:none!important}
html.ba64-on .ba26-timeline .ba26-step.is-open .ba26-step-content p{display:block!important;animation:ba64-in .4s ease both}
html.ba64-on .ba26-section-head{margin-bottom:30px!important}

/* ================= 6. JEU DE CARTES (Solutions, étapes « Qui suis-je ») ================= */
html.ba64-on .ba66-deck{position:relative!important;display:block!important;margin:8px 0 0!important;padding:0!important;touch-action:pan-y}
html.ba64-on .ba66-deck>article{position:absolute!important;top:0;left:0;box-sizing:border-box;width:calc(100% - 26px)!important;max-width:none!important;margin:0!important;
  will-change:transform;transform-origin:50% 100%;user-select:none;-webkit-user-select:none;touch-action:pan-y;box-shadow:0 18px 40px rgba(0,54,45,.12)!important}
html.ba64-on .ba66-deck>article:not(.ba66-top){box-shadow:0 8px 20px rgba(0,54,45,.08)!important}
html.ba64-on .ba66-deck>article:hover{transform:none}
/* Le contenu des cartes reste toujours visible (aucun fondu au changement de carte). */
html.ba64-on .ba6-solutions,html.ba64-on .ba43-people,html.ba64-on .ba43-about{overflow:visible!important}
html.ba64-on body{overflow-x:clip}

html.ba64-on .ba66-deck-ui{display:flex;align-items:center;gap:12px;margin:22px 0 0}
html.ba64-on .ba66-deck-btn{flex:0 0 44px;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;padding:0;cursor:pointer;
  border:1px solid #8ca695;background:transparent;color:#004d45;-webkit-tap-highlight-color:transparent;transition:transform .18s ease,background .25s ease,border-color .25s ease}
html.ba64-on .ba66-deck-btn svg{width:18px;height:18px;display:block}
html.ba64-on .ba66-deck-btn--next{background:#004d45;border-color:#004d45;color:#f9f7f4}
html.ba64-on .ba66-deck-btn:active{transform:scale(.92)}
html.ba64-on .ba66-deck-btn:focus{outline:none}
html.ba64-on .ba66-deck-btn:focus-visible{box-shadow:0 0 0 2px #f9f7f4,0 0 0 4px #ff7f50}
html.ba64-on .ba66-deck-dots{display:flex;gap:6px;align-items:center}
html.ba64-on .ba66-deck-dots span{width:7px;height:7px;border-radius:999px;background:#c9d5c7;transition:width .35s cubic-bezier(.2,.8,.2,1),background .3s ease}
html.ba64-on .ba66-deck-dots span.is-active{width:22px;background:#ff7f50}
html.ba64-on .ba66-deck-count{margin-left:auto;font-size:11px;font-weight:700;letter-spacing:.16em;color:#789788;font-variant-numeric:tabular-nums}
html.ba64-on .ba66-deck-count+.ba66-deck-btn{margin-left:0}

/* ================= 7. « LIRE LA SUITE » (style des liens du site) ================= */
html.ba64-on .ba64-fold{display:none!important}
html.ba64-on .ba64-unfolded .ba64-fold{display:block!important;animation:ba64-in .4s ease both}
html.ba64-on .ba66-more{display:inline-flex!important;align-items:center;gap:16px;margin-top:20px!important;padding:0;border:0;background:none;cursor:pointer;
  font:inherit;font-size:16px!important;font-weight:700;color:#004d45!important;-webkit-tap-highlight-color:transparent}
html.ba64-on .ba66-more b{font-weight:700}
html.ba64-on .ba66-more>span{width:39px;height:39px;border:1px solid #8ca695;border-radius:50%;display:grid;place-items:center;transition:transform .4s cubic-bezier(.2,.8,.2,1),background .25s,border-color .25s}
html.ba64-on .ba66-more>span svg{width:20px;height:20px;display:block;stroke:#004d45}
html.ba64-on .ba66-more[aria-expanded="true"]>span{transform:rotate(180deg);background:#ff7f50;border-color:#ff7f50}
html.ba64-on .ba66-more:focus{outline:none}
html.ba64-on .ba66-more:focus-visible>span{box-shadow:0 0 0 2px #f9f7f4,0 0 0 4px #ff7f50}

/* ================= 8. FAQ ================= */
html.ba64-on .faq summary{position:relative;padding-right:50px!important;-webkit-tap-highlight-color:transparent}
html.ba64-on .faq summary::after{right:0;top:50%;margin-top:-15px}
html.ba64-on .faq details[open] summary::after{transform:rotate(45deg)}
html.ba64-on .faq summary:focus{outline:none}
html.ba64-on .faq details[open]>p{animation:ba64-in .4s ease both}

/* ================= 9. CONTACT ================= */
html body.ba53-contact .contact-v53-layout{display:flex!important;flex-direction:column!important;gap:22px!important}
html body.ba53-contact .contact-v53-layout>.contact-v53-aside{order:-1!important;padding-top:0!important;display:grid!important;grid-template-columns:1fr 1fr;gap:10px}
html body.ba53-contact .contact-v53-layout>.contact-v53-form-shell{order:2!important}
.contact-v53-aside>*{grid-column:1/-1}
.contact-v53-aside>h3,.contact-v53-aside>p:not(.contact-v53-aside-label),.contact-v53-aside .contact-v53-note{display:none!important}
.contact-v53-aside .contact-v53-aside-label{margin:0!important}
.contact-v53-aside .contact-v53-contact-link{grid-column:auto;order:2;display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:6px!important;
  margin:0!important;padding:16px 14px!important;border:1px solid rgba(0,77,69,.1)!important;border-radius:20px!important;background:#e9ede4!important;
  font-size:13px!important;line-height:1.35!important;white-space:nowrap;text-decoration:none;-webkit-tap-highlight-color:transparent;transition:transform .18s ease}
.contact-v53-aside .contact-v53-contact-link:active{transform:scale(.97)}
.contact-v53-aside .contact-v53-contact-link[href^="tel:"]{order:1;background:#004d45!important;border-color:#004d45!important;color:#f9f7f4!important}
.contact-v53-aside .contact-v53-contact-link[href^="tel:"] span{color:#bad0bd!important}
.contact-v53-aside .contact-v53-contact-link[href^="mailto:"]{font-size:12px!important}
.contact-v53-aside .contact-v53-contact-link b{display:none!important}
.contact-v53-art{transform:scale(.72);transform-origin:center top;margin-bottom:-56px!important}

/* ================= 10. APPARITIONS ET ICÔNES ================= */
html.ba64-on .ba65-rev{opacity:0;transform:translateY(22px);transition:opacity .7s ease,transform .7s cubic-bezier(.2,.8,.2,1);transition-delay:var(--ba65-d,0ms)}
html.ba64-on .ba65-rev.ba65-in{opacity:1;transform:none}
html.ba64-on .ba65-draw *{stroke-dasharray:1;stroke-dashoffset:1;transition:stroke-dashoffset 1.3s cubic-bezier(.4,0,.2,1) .15s}
html.ba64-on .ba65-draw.ba65-drawn *{stroke-dashoffset:0}
::view-transition-group(*){animation-duration:.42s;animation-timing-function:cubic-bezier(.2,.8,.2,1)}
}

@keyframes ba64-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@keyframes ba65-rise{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}
@keyframes ba65-pop{from{opacity:0;transform:scale(.88) translateY(14px)}}
@media (prefers-reduced-motion:reduce){
  .ba26-hero *,.ba6-hero *,.ba43-hero *,.contact-v53-intro>*,.contact-v53-art,.ba37-art{animation:none!important}
  html.ba64-on .ba65-rev{opacity:1!important;transform:none!important;transition:none!important}
  html.ba64-on .ba65-draw *{stroke-dashoffset:0!important;transition:none!important}
  .ba-mobile-sheet,.ba-mobile-sheet__backdrop,html.ba64-on .header{transition:none!important}
  html.ba64-on *{animation-duration:.01ms!important}
}
