/* Mano — la DA épurée (essai 03 du labo, adoptée pour toute l'app le 13/11/2026).
   Couche posée APRÈS styles.css, soleil.css et outils.css, active sous html.epure (index.html).
   Le système du site 03 et du Bureau appliqué à l'app : fond gris chaud, cartes blanches groupées,
   filets fins, une seule police (General Sans), l'orange réservé à l'essentiel (115, boutons
   principaux), le vert pour « ouvert », l'ambre pour « sur démarche », le gris pour « fermé ».
   Ni bleu ni rouge, ni aplat noir. Le mode « gros contraste » (.hc) garde son propre thème. */

/* ---------- Jetons ---------- */
.epure .phone:not(.hc) {
  --ink: #1D1915;
  --paper: #F6F4F1;
  --card: #FFFFFF;
  --cardrow: #FFFFFF;
  --muted: #6B635C;
  --gray: #A0978E;
  --chipbg: #F1EDE8;
  --border: rgba(29, 25, 21, .12);
  --hair: rgba(29, 25, 21, .08);
  --terra: #F2742F;
  --terra-dark: #C94E16;
  --terra-deep: #B8440E;
  --terra-text: #B8440E;
  --peach: #FFF1E8;
  --apricot: #FFE5D4;
  --green: #1B7F50;
  --green-tint: #E6F3EB;
  --amber: #D9880F;
  --amber-text: #B86E00;
  --amber-tint: #FFF4E0;
  --font-d: 'General Sans', system-ui, -apple-system, sans-serif;
  --e-remplir: rgba(118, 105, 92, .11);
  --e-gris-tuile: #EFEBE6;
  --e-ombre: 0 0 0 1px rgba(29, 25, 21, .045), 0 1px 2px rgba(60, 40, 20, .05);
  --e-ombre-haute: 0 0 0 1px rgba(29, 25, 21, .05), 0 10px 28px -8px rgba(60, 40, 20, .16);
  --shadow-card: var(--e-ombre);
  --shadow-soft: 0 0 0 1px rgba(29, 25, 21, .05), 0 6px 18px -10px rgba(60, 40, 20, .25);
  --shadow-terra: none;
  --elev: var(--e-ombre-haute);
  --shadow-sheet: 0 0 0 1px rgba(29, 25, 21, .05), 0 -14px 36px -22px rgba(60, 40, 20, .35);
  --fab-bg: #C94E16;
  --e-ease: cubic-bezier(.32, .72, 0, 1);
  font-feature-settings: 'ss01' 0;
  -webkit-font-smoothing: antialiased;
}
/* Cadre sur ordinateur : fond clair, pas de grand aplat sombre autour du téléphone */
.epure body { background: #E9E5DF; }
.epure .phone { box-shadow: 0 30px 80px -20px rgba(60, 40, 20, .35), 0 0 0 10px #1D1915, 0 0 0 11px #4A4139; }
.epure .phone:not(.hc) .screen { background: var(--paper); }
.epure .phone:not(.hc) .screen-home, .epure .phone:not(.hc) .screen-detail { background: transparent; }

/* ---------- Pastille 115 : le seul orange plein, partout ---------- */
.epure .phone:not(.hc) .pastille-115 {
  min-height: 36px; padding: 0 13px 0 11px; gap: 5px; background: var(--terra-dark); color: #fff;
  font-size: 0.875rem; font-weight: 600; letter-spacing: 0; box-shadow: none;
}
.epure .phone:not(.hc) .pastille-115 svg { width: 13px; height: 13px; }
.epure .phone:not(.hc) .d-band .pastille-115.sur-bandeau { background: rgba(255, 255, 255, .94); color: var(--terra-text); box-shadow: var(--e-ombre); }

/* ---------- Barre d'onglets : capsule de verre, à la manière d'iOS ---------- */
.epure .phone:not(.hc) .tabbar {
  height: 62px; padding: 5px; gap: 2px; width: min(360px, calc(100% - 32px)); border: 0;
  background: rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: blur(22px) saturate(1.7); backdrop-filter: blur(22px) saturate(1.7);
  box-shadow: 0 0 0 1px rgba(29, 25, 21, .06), 0 12px 32px -12px rgba(60, 40, 20, .32);
}
.epure .phone:not(.hc) .tabbar .tab {
  gap: 3px; border-radius: 100px; color: #5F5750; font-size: 0.6875rem; font-weight: 500; letter-spacing: 0;
  transition: background-color .25s var(--e-ease), color .25s var(--e-ease);
}
.epure .phone:not(.hc) .tabbar .tab svg { width: 22px; height: 22px; }
.epure .phone:not(.hc) .tabbar .tab.on { background: var(--e-remplir); color: var(--terra-text); font-weight: 600; }
.epure .phone:not(.hc) .tabbar .tab.on svg { transform: none; }
html.eco.epure .phone:not(.hc) .tabbar { background: #FFFFFF; -webkit-backdrop-filter: none; backdrop-filter: none; }

/* ---------- Puces (catégories) ---------- */
.epure .phone:not(.hc) .chip {
  height: 38px; padding: 0 15px; gap: 6px; border: 0; border-radius: 100px; background: #FFFFFF; color: var(--ink);
  font-size: 0.875rem; font-weight: 500; box-shadow: var(--shadow-soft);
}
.epure .phone:not(.hc) .chip svg { color: var(--muted); }
.epure .phone:not(.hc) .chip.on { background: var(--peach); color: var(--terra-text); box-shadow: inset 0 0 0 1.5px var(--terra), 0 6px 16px -10px rgba(200, 80, 10, .35); }
.epure .phone:not(.hc) .chip.on svg { color: var(--terra-dark); }
.epure .phone:not(.hc) .acc-body .chip { box-shadow: var(--e-ombre); }
.epure .phone:not(.hc) .acc-body .chip.on { box-shadow: inset 0 0 0 1.5px var(--terra); }

/* ---------- Boutons ---------- */
.epure .phone:not(.hc) .btn { height: 50px; border-radius: 100px; font-size: 1rem; font-weight: 600; letter-spacing: 0; }
.epure .phone:not(.hc) .btn.primary { background: var(--terra-dark); color: #FFFFFF; box-shadow: none; }
.epure .phone:not(.hc) .btn.primary svg { color: #FFFFFF; fill: #FFFFFF; }
.epure .phone:not(.hc) .btn.outline, .epure .phone:not(.hc) .btn.neutral { background: #FFFFFF; color: var(--ink); box-shadow: var(--e-ombre); }

/* ============================================================
   ACCUEIL
   ============================================================ */
/* En-tête : la date sur toute la largeur, puis « Bonjour. » avec le 115 et le guide sur la même ligne */
.epure .phone:not(.hc) .acc-head {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; column-gap: 10px;
  padding: calc(var(--top-inset) + 14px) 20px 0;
}
.epure .phone:not(.hc) .acc-head > div:first-child { display: contents; }
.epure .phone:not(.hc) .acc-head .acc-date { grid-column: 1 / -1; grid-row: 1; }
.epure .phone:not(.hc) .acc-head .acc-greet { grid-column: 1; grid-row: 2; min-width: 0; }
.epure .phone:not(.hc) .acc-head .pastille-115 { grid-row: 2; grid-column: 2; margin: 0; }
.epure .phone:not(.hc) .acc-head .acc-avatar { grid-row: 2; grid-column: 3; }
.epure .phone:not(.hc) .acc-date { font-size: 0.875rem; font-weight: 500; color: var(--muted); }
.epure .phone:not(.hc) .acc-greet { margin-top: 4px; font-family: var(--font-d); font-size: 2.125rem; font-weight: 700; letter-spacing: -.03em; line-height: 1.05; }
.epure .phone:not(.hc) .acc-avatar { width: 40px; height: 40px; background: #FFFFFF; box-shadow: var(--e-ombre); }

/* Héros : le bloc orange de Mano (demande de Bryan, 9/11 : « ça faisait toute l'identité de la première page »),
   affiné : chiffre et texte en blanc, flèche vers la carte, carte miniature claire cerclée de blanc. */
.epure .phone:not(.hc) .acc-hero {
  margin-top: 18px; padding: 20px; gap: 16px; border-radius: 24px;
  background: var(--grad); color: #FFFFFF; box-shadow: 0 22px 44px -22px rgba(150, 62, 18, .55);
  transition: transform .2s var(--e-ease);
}
.epure .phone:not(.hc) .acc-hero:active { transform: scale(.985); }
.epure .phone:not(.hc) .ah-num b {
  font-family: var(--font-d); font-weight: 600; font-size: 3.25rem; letter-spacing: -.045em; line-height: .9; color: #FFFFFF;
  font-variant-numeric: tabular-nums;
}
.epure .phone:not(.hc) .ah-num span { margin-top: 10px; font-size: 1.0625rem; font-weight: 600; line-height: 1.25; color: #FFFFFF; }
.epure .phone:not(.hc) .ah-num small { padding-top: 10px; font-size: 0.8125rem; font-weight: 500; color: rgba(255, 255, 255, .9); }
.epure .phone:not(.hc) .ah-num small:empty { display: none; }
.epure .phone:not(.hc) .ah-num::after {
  content: ''; display: block; margin-top: auto; padding-top: 12px; width: 22px; height: 22px;
  background: #FFFFFF;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M5 11h11M11.5 6l5 5-5 5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/22px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M5 11h11M11.5 6l5 5-5 5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/22px no-repeat;
}
.epure[dir="rtl"] .phone:not(.hc) .ah-num::after { transform: scaleX(-1); }
.epure .phone:not(.hc) .ah-num:has(small:not(:empty))::after { margin-top: 10px; }
.epure .phone:not(.hc) .ah-map { width: 124px; height: 144px; border: 3px solid rgba(255, 255, 255, .75); border-radius: 18px; box-shadow: 0 10px 24px -14px rgba(90, 30, 5, .55); background: #EFEAE3; }
.epure .phone:not(.hc) .ah-map svg rect:first-child { fill: #EFEAE3; }
.epure .phone:not(.hc) .ah-map svg path { stroke: #FFFFFF; }
.epure .phone:not(.hc) .ah-map svg rect:not(:first-child) { fill: #E3DCD2; }
.epure .phone:not(.hc) .ah-map .ob-mk { background: var(--green); border-width: 2px; box-shadow: 0 2px 6px -1px rgba(20, 60, 40, .35); }
.epure .phone:not(.hc) .ah-map .ob-mk svg { color: #FFFFFF; fill: #FFFFFF; }
.epure .phone:not(.hc) .ah-map i { width: 14px; height: 14px; background: var(--terra); border: 2.5px solid #fff; box-shadow: 0 0 0 6px rgba(242, 116, 47, .18), 0 1px 3px rgba(0, 0, 0, .2); }

/* Raccourcis : quatre tuiles blanches, pictogramme orange sur pastel */
.epure .phone:not(.hc) .acc-qa { gap: 8px; margin-top: 10px; }
.epure .phone:not(.hc) .qa-it {
  gap: 6px; padding: 14px 4px 12px; border-radius: 18px; background: #FFFFFF; box-shadow: var(--e-ombre);
  transition: transform .2s var(--e-ease);
}
.epure .phone:not(.hc) .qa-it:active { transform: scale(.96); }
.epure .phone:not(.hc) .qa-it .tile { width: 44px; height: 44px; border-radius: 13px; background: var(--peach); box-shadow: none; }
.epure .phone:not(.hc) .qa-it .tile svg { width: 22px; height: 22px; color: var(--terra-dark); fill: var(--terra-dark); }
.epure .phone:not(.hc) .qa-it b { margin-top: 2px; font-size: 0.8125rem; font-weight: 600; line-height: 1.2; }
.epure .phone:not(.hc) .qa-it small { margin-top: -3px; font-size: 0.75rem; font-weight: 500; line-height: 1.25; color: var(--muted); }

/* Titres de section, en phrase */
.epure .phone:not(.hc) .acc-sec { padding: 30px 2px 10px; }
.epure .phone:not(.hc) .acc-sec h2 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; }
.epure .phone:not(.hc) .acc-sec span { font-size: 0.875rem; font-weight: 500; }

/* Météo utile / observatoire : des rangées blanches */
.epure .phone:not(.hc) .wx-card, .epure .phone:not(.hc) .obs-band {
  margin-top: 10px; padding: 12px 14px; gap: 12px; border-radius: 18px; background: #FFFFFF; box-shadow: var(--e-ombre);
}
.epure .phone:not(.hc) .wx-card .wx-ic, .epure .phone:not(.hc) .obs-band .ob-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--peach) !important; color: var(--terra-dark) !important; }
.epure .phone:not(.hc) .wx-card .wx-tx b, .epure .phone:not(.hc) .obs-band .ob-tx b { font-size: 0.9375rem; font-weight: 600; }
.epure .phone:not(.hc) .wx-card .wx-tx span, .epure .phone:not(.hc) .obs-band .ob-tx span { font-size: 0.8125rem; }
.epure .phone:not(.hc) .obs-band { margin-top: 30px; }

/* « Ouvre bientôt » : une liste groupée (plus de carrousel coupé au bord) */
.epure .phone:not(.hc) .soon-row {
  flex-direction: column; gap: 0; margin: 0; padding: 0; overflow: visible;
  border-radius: 18px; background: #FFFFFF; box-shadow: var(--e-ombre);
}
.epure .phone:not(.hc) .soon-card {
  position: relative; width: auto; gap: 12px; padding: 11px 16px 11px 14px; border-radius: 0; background: none; box-shadow: none;
}
.epure .phone:not(.hc) .soon-card + .soon-card::before { content: ''; position: absolute; top: 0; inset-inline: 64px 0; height: 1px; background: var(--hair); }
.epure .phone:not(.hc) .soon-card:active { transform: none; background: rgba(29, 25, 21, .03); }
.epure .phone:not(.hc) .soon-card:first-child { border-radius: 18px 18px 0 0; }
.epure .phone:not(.hc) .soon-card:last-child { border-radius: 0 0 18px 18px; }
.epure .phone:not(.hc) .soon-card .sc-ic { width: 38px; height: 38px; border-radius: 11px; background: var(--e-gris-tuile); color: #7C736A; }
.epure .phone:not(.hc) .soon-card .sc-ic svg { width: 19px; height: 19px; color: #7C736A; fill: #7C736A; }
.epure .phone:not(.hc) .soon-card .sc-tx b { max-width: none; font-size: 0.9375rem; font-weight: 600; white-space: normal; overflow: visible; line-height: 1.25; }
.epure .phone:not(.hc) .soon-card .sc-tx .when { font-size: 0.8125rem; font-weight: 500; }
.epure .phone:not(.hc) .soon-card::after {
  content: ''; flex: none; align-self: center; width: 8px; height: 13px; margin-inline-start: auto; opacity: .35; background: var(--ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 13'%3E%3Cpath d='M1.5 1.5l5 5-5 5' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/8px 13px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 13'%3E%3Cpath d='M1.5 1.5l5 5-5 5' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/8px 13px no-repeat;
}
.epure[dir="rtl"] .phone:not(.hc) .soon-card::after { transform: scaleX(-1); }

/* « Gratuit à Nîmes cette semaine » : des cartes blanches empilées, l'étiquette en pastille */
.epure .phone:not(.hc) .actus-row { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; overflow: visible; }
.epure .phone:not(.hc) .actu-card {
  flex: none; width: auto; max-width: none; height: auto; min-height: 0; gap: 5px; padding-block: 15px; padding-inline: 16px 64px; border-radius: 18px; text-align: start;
  background: #FFFFFF !important; color: var(--ink); box-shadow: var(--e-ombre);
}
.epure .phone:not(.hc) .actu-card:active { transform: scale(.985); }
.epure .phone:not(.hc) .actu-card .actu-tag {
  align-self: flex-start; display: inline-block; padding: 3px 9px; border-radius: 100px; background: var(--peach);
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0; line-height: 1.3; color: var(--terra-text); opacity: 1;
}
.epure .phone:not(.hc) .actu-card .actu-title { max-width: none; margin-top: 3px; font-size: 1.0625rem; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; color: var(--ink); }
.epure .phone:not(.hc) .actu-card .actu-txt { max-width: none; font-size: 0.875rem; line-height: 1.4; color: var(--muted); opacity: 1; -webkit-line-clamp: 3; }
.epure .phone:not(.hc) .actu-card .actu-lieu { margin-top: 2px; }
.epure .phone:not(.hc) .actu-card .actu-lieu { color: var(--muted); }
.epure .phone:not(.hc) .actu-card .actu-lieu svg { color: var(--muted); fill: var(--muted); }
.epure .phone:not(.hc) .actu-card .actu-ic {
  position: absolute; inset-inline-end: 16px; inset-inline-start: auto; top: 15px; bottom: auto;
  width: 38px; height: 38px; border-radius: 11px; background: var(--peach); display: flex; align-items: center; justify-content: center; opacity: 1;
}
.epure .phone:not(.hc) .actu-card .actu-ic svg { width: 19px !important; height: 19px !important; color: var(--terra-dark) !important; fill: var(--terra-dark) !important; }

/* « Tous les lieux » */
.epure .phone:not(.hc) .acc-body .search-entry, .epure .phone:not(.hc) .search-entry {
  height: 48px; gap: 10px; padding: 0 16px; border-radius: 14px; background: var(--e-remplir); box-shadow: none;
  color: var(--muted); font-size: 1rem; font-weight: 500;
}
.epure .phone:not(.hc) .acc-body .sortbtn { height: 38px; padding: 0 14px; background: #FFFFFF; box-shadow: var(--e-ombre); font-size: 0.875rem; font-weight: 500; }
.epure .phone:not(.hc) .list-cards { gap: 10px; }

/* ============================================================
   CARTES DE LIEU (accueil, carte, recherche)
   ============================================================ */
.epure .phone:not(.hc) .place-card, .epure .phone:not(.hc) .screen-list .place-card {
  gap: 13px; padding: 14px; border-radius: 18px; background: #FFFFFF; box-shadow: var(--e-ombre);
}
.epure .phone:not(.hc) .place-card .pc-ico, .epure .phone:not(.hc) .place-card.poser .pc-ico {
  width: 44px; height: 44px; border-radius: 13px; background: var(--e-gris-tuile); color: #7C736A;
}
.epure .phone:not(.hc) .place-card .pc-ico svg { width: 22px; height: 22px; color: currentColor; fill: currentColor; }
/* L'icône prend la couleur de l'état, comme l'épingle sur la carte */
.epure .phone:not(.hc) .place-card:has(.st.open) .pc-ico { background: var(--green-tint); color: var(--green); }
.epure .phone:not(.hc) .place-card:has(.st.soon) .pc-ico,
.epure .phone:not(.hc) .place-card:has(.st.call) .pc-ico,
.epure .phone:not(.hc) .place-card:has(.st.request) .pc-ico { background: var(--amber-tint); color: var(--amber-text); }
.epure .phone:not(.hc) .place-card .pc-main { gap: 3px; }
.epure .phone:not(.hc) .place-card .pc-tags { margin-top: 5px; min-height: 0; }
.epure .phone:not(.hc) .place-card .pc-name { font-size: 1rem; font-weight: 600; line-height: 1.25; letter-spacing: -.005em; }
.epure .phone:not(.hc) .place-card .pc-status { font-size: 0.875rem; }
.epure .phone:not(.hc) .st { font-weight: 500; }
.epure .phone:not(.hc) .st .dot { width: 7px; height: 7px; }
.epure .phone:not(.hc) .pc-qui { font-size: 0.8125rem; color: var(--muted); }
.epure .phone:not(.hc) .tag { padding: 3px 9px; border-radius: 8px; background: var(--chipbg); box-shadow: none; font-size: 0.78125rem; font-weight: 500; color: #554D46; }
.epure .phone:not(.hc) .tag.tag-more { background: var(--chipbg); color: var(--muted); }
.epure .phone:not(.hc) .pc-call { width: 40px; height: 40px; margin-top: 0; background: var(--peach); color: var(--terra-dark); box-shadow: none; }
.epure .phone:not(.hc) .pc-call svg { color: var(--terra-dark); fill: var(--terra-dark); }
.epure .phone:not(.hc) .pc-call:active { background: var(--apricot); }
.epure .phone:not(.hc) .pc-dist { font-size: 0.75rem; font-weight: 500; color: var(--muted); }

/* Dans le panneau de la carte : des rangées séparées par un filet, comme dans Plans */
.epure .phone:not(.hc) .sheet .sheet-body { gap: 0; padding-inline: 16px; }
.epure .phone:not(.hc) .sheet .sheet-body .place-card { padding: 13px 2px; border-radius: 0; background: none; box-shadow: none; }
.epure .phone:not(.hc) .sheet .sheet-body .place-card + .place-card { box-shadow: inset 0 1px 0 var(--hair); }

/* ============================================================
   CARTE
   ============================================================ */
.epure .phone:not(.hc) .m-search {
  height: 50px; margin: 10px 16px 0; padding: 0 7px 0 16px; gap: 10px; border-radius: 100px;
  background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6);
  box-shadow: 0 0 0 1px rgba(29, 25, 21, .06), 0 10px 28px -12px rgba(60, 40, 20, .3);
  color: var(--muted); font-size: 1rem; font-weight: 500;
}
.epure .phone:not(.hc) .m-search > svg { color: var(--muted); }
.epure .phone:not(.hc) .m-search .ms-filter { width: 36px; height: 36px; background: var(--e-remplir); color: var(--ink); }
html.eco.epure .phone:not(.hc) .m-search { background: #FFFFFF; -webkit-backdrop-filter: none; backdrop-filter: none; }
.epure .phone:not(.hc) .chips-row { padding: 10px 16px 8px; gap: 8px; }

.epure .phone:not(.hc) .night-band, .epure .phone:not(.hc) .alert-band { border-radius: 18px; background: #FFFFFF; box-shadow: var(--e-ombre-haute); }
.epure .phone:not(.hc) .night-band .nb-ico { width: 34px; height: 34px; border-radius: 10px; background: var(--peach); color: var(--terra-dark); }
.epure .phone:not(.hc) .night-band .nb-ico svg { color: var(--terra-dark); fill: var(--terra-dark); }
.epure .phone:not(.hc) .night-band .nb-t { font-weight: 600; }
.epure .phone:not(.hc) .night-band .nb-cta, .epure .phone:not(.hc) .night-band .nb-quit, .epure .phone:not(.hc) .alert-band .ab-cta { color: var(--terra-text); font-weight: 600; }
.epure .phone:not(.hc) .weather-pill { background: #FFFFFF; box-shadow: var(--e-ombre-haute); }

.epure .phone:not(.hc) .locate-btn { width: 46px; height: 46px; background: rgba(255, 255, 255, .92); color: var(--ink); box-shadow: 0 0 0 1px rgba(29, 25, 21, .06), 0 8px 22px -10px rgba(60, 40, 20, .35); }
.epure .phone:not(.hc) .fab115 { background: var(--terra-dark); color: #FFFFFF; box-shadow: 0 10px 24px -10px rgba(170, 60, 10, .55); }
.epure .phone:not(.hc) .fab115 .n { font-family: var(--font-d); font-size: 1.125rem; font-weight: 600; letter-spacing: 0; }

.epure .phone:not(.hc) .sheet { background: #FFFFFF; border-radius: 28px 28px 0 0; box-shadow: var(--shadow-sheet); }
.epure .phone:not(.hc) .sheet-grab > div { background: rgba(29, 25, 21, .16); }
.epure .phone:not(.hc) .sheet-title { padding: 4px 18px 6px; font-size: 1.125rem; font-weight: 600; }
.epure .phone:not(.hc) .sheet-title .sh-num {
  margin-bottom: 4px; font-family: var(--font-d); font-weight: 600; font-size: 2.75rem; letter-spacing: -.045em; line-height: .95;
  background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--ink); font-variant-numeric: tabular-nums;
}
.epure .phone:not(.hc) .sheet-title .sh-lab { letter-spacing: -.01em; }
.epure .phone:not(.hc) .sheet-title .sh-sub { font-size: 0.8125rem; font-weight: 500; }
.epure .phone:not(.hc) .sheet[data-pos="mini"] .sheet-title .sh-num { font-size: 1.75rem; }
.epure .phone:not(.hc) .sheet[data-pos="mini"] .sheet-title .sh-lab { font-size: 1.0625rem; }

/* ============================================================
   FICHE D'UN LIEU
   ============================================================ */
.epure .phone:not(.hc) .detail-sheet { background: var(--paper); border-radius: 28px 28px 0 0; }
.epure .phone:not(.hc) .detail-sheet .sheet-grab > div { background: rgba(29, 25, 21, .2); }
.epure .phone:not(.hc) .d-band { height: 132px; background: #EFEAE3; }
.epure .phone:not(.hc) .d-band .d-band-map { opacity: 1; }
.epure .phone:not(.hc) .d-band .d-band-map path { stroke: #FFFFFF; }
.epure .phone:not(.hc) .d-band .d-band-map rect { fill: #E3DCD2; }
.epure .phone:not(.hc) .d-band .d-pin { background: #A0978E; color: #fff; box-shadow: 0 6px 14px -6px rgba(40, 30, 20, .45); }
.epure .phone:not(.hc) .d-band .d-pin::after { background: #A0978E; }
.epure .phone:not(.hc) .d-band .d-pin svg { color: #fff; fill: #fff; }
.epure .phone:not(.hc) .detail-body:has(.d-pill.open) .d-pin, .epure .phone:not(.hc) .detail-body:has(.d-pill.open) .d-pin::after { background: var(--green); }
.epure .phone:not(.hc) .detail-body:has(.d-pill.soon) .d-pin, .epure .phone:not(.hc) .detail-body:has(.d-pill.soon) .d-pin::after { background: #FFFFFF; }
.epure .phone:not(.hc) .detail-body:has(.d-pill.soon) .d-pin { box-shadow: inset 0 0 0 3px var(--amber), 0 6px 14px -6px rgba(40, 30, 20, .45); }
.epure .phone:not(.hc) .detail-body:has(.d-pill.soon) .d-pin svg { color: var(--amber-text); fill: var(--amber-text); }
.epure .phone:not(.hc) .d-band .d-close { width: 36px; height: 36px; top: 20px; background: rgba(255, 255, 255, .94); color: var(--ink); box-shadow: var(--e-ombre); }

.epure .phone:not(.hc) .d-main { gap: 14px; padding: 18px 16px 0; }
.epure .phone:not(.hc) .d-cat { font-size: 0.8125rem; font-weight: 500; color: var(--muted); gap: 6px; }
.epure .phone:not(.hc) .d-cat svg { color: var(--terra-dark); fill: var(--terra-dark); }
.epure .phone:not(.hc) .d-name { font-family: var(--font-d); font-size: 1.875rem; font-weight: 700; letter-spacing: -.03em; line-height: 1.08; }
.epure .phone:not(.hc) .d-pill { font-size: 0.9375rem; font-weight: 600; }
.epure .phone:not(.hc) .d-dist { font-size: 0.9375rem; color: var(--muted); }
.epure .phone:not(.hc) .d-qui { font-size: 0.875rem; color: var(--muted); }
.epure .phone:not(.hc) .d-today { font-size: 0.9375rem; }
.epure .phone:not(.hc) .d-today b { font-weight: 600; }
.epure .phone:not(.hc) .d-banner { border-radius: 16px; background: #FFFFFF; box-shadow: var(--e-ombre); color: var(--ink); font-weight: 600; }
.epure .phone:not(.hc) .d-banner svg { stroke: var(--terra-dark); }
.epure .phone:not(.hc) .d-banner.soon { background: var(--amber-tint); box-shadow: none; }

/* Quatre actions : des boutons égaux, l'appel en orange plein */
.epure .phone:not(.hc) .qacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 8px; padding: 2px 0; }
.epure .phone:not(.hc) .qact {
  gap: 4px; min-height: 64px; padding: 11px 4px 9px; border-radius: 16px; background: #FFFFFF; box-shadow: var(--e-ombre);
  font-size: 0.78125rem; font-weight: 600; line-height: 1.15; color: var(--ink); justify-content: center;
  transition: transform .15s var(--e-ease), background-color .2s;
}
.epure .phone:not(.hc) .qact:active { transform: scale(.96); }
.epure .phone:not(.hc) .qact i { width: auto; height: auto; background: none; box-shadow: none; color: var(--terra-dark); }
.epure .phone:not(.hc) .qact i svg { width: 22px; height: 22px; }
.epure .phone:not(.hc) .qact:active i { transform: none; }
.epure .phone:not(.hc) .qact.primary { background: var(--terra-dark); color: #FFFFFF; box-shadow: none; }
.epure .phone:not(.hc) .qact.primary i { background: none; color: #FFFFFF; }
.epure .phone:not(.hc) .qact.primary i svg { color: #FFFFFF; fill: #FFFFFF; }
.epure .phone:not(.hc) .qact.on { background: var(--peach); }
.epure .phone:not(.hc) .qact.on i { background: none; color: var(--terra-dark); }

.epure .phone:not(.hc) .d-sec { margin-top: 8px; font-size: 1.0625rem; font-weight: 700; letter-spacing: -.015em; }
/* « Ici, c'est possible » : une liste groupée */
.epure .phone:not(.hc) .d-access { gap: 0; padding: 2px 14px; border-radius: 18px; background: #FFFFFF; box-shadow: var(--e-ombre); }
.epure .phone:not(.hc) .d-access-chip { position: relative; gap: 12px; padding: 10px 0; border-radius: 0; font-size: 0.9375rem; font-weight: 500; }
.epure .phone:not(.hc) .d-access-chip + .d-access-chip::before { content: ''; position: absolute; top: 0; inset-inline: 44px 0; height: 1px; background: var(--hair); }
.epure .phone:not(.hc) .d-access-chip svg { width: 32px; height: 32px; padding: 7px; border-radius: 9px; background: var(--peach); color: var(--terra-dark); fill: var(--terra-dark); }
.epure .phone:not(.hc) .d-services .tag { padding: 8px 13px; border-radius: 12px; background: #FFFFFF; box-shadow: var(--e-ombre); font-size: 0.875rem; font-weight: 500; color: var(--ink); }
.epure .phone:not(.hc) .amen { border-radius: 16px; background: #FFFFFF; box-shadow: var(--e-ombre); }
.epure .phone:not(.hc) .amen svg { color: var(--terra-dark); }
.epure .phone:not(.hc) .amen.hi { background: var(--peach); box-shadow: none; }
.epure .phone:not(.hc) .detail-body .d-note { border-radius: 18px; background: #FFFFFF; box-shadow: var(--e-ombre); font-size: 0.9375rem; line-height: 1.5; }
.epure .phone:not(.hc) .detail-body .d-note::before { width: 36px; height: 36px; box-shadow: var(--e-ombre); }

/* Horaires : un tableau groupé, aujourd'hui en gras */
.epure .phone:not(.hc) .hours { gap: 0; padding: 4px 14px; border-radius: 18px; background: #FFFFFF; box-shadow: var(--e-ombre); }
.epure .phone:not(.hc) .hrow { height: auto; min-height: 42px; padding: 0; border-radius: 0; font-size: 0.9375rem; }
.epure .phone:not(.hc) .hrow + .hrow { box-shadow: inset 0 1px 0 var(--hair); }
.epure .phone:not(.hc) .hrow .t { font-variant-numeric: tabular-nums; }
.epure .phone:not(.hc) .hrow.today, .epure .phone:not(.hc) .hrow.next { height: auto; background: none; font-weight: 600; }
.epure .phone:not(.hc) .hrow.today .t { color: var(--green); }
.epure .phone:not(.hc) .hrow.today.closedday .t { color: var(--muted); }
.epure .phone:not(.hc) .hrow.next .t { color: var(--terra-text); }

.epure .phone:not(.hc) .d-addr { padding: 14px; border-radius: 18px; background: #FFFFFF; box-shadow: var(--e-ombre); font-size: 0.9375rem; }
.epure .phone:not(.hc) .d-addr > svg { color: var(--terra-dark); fill: var(--terra-dark); }
.epure .phone:not(.hc) .d-addr .addr-link { color: var(--terra-text); font-weight: 600; font-size: 0.875rem; }
.epure .phone:not(.hc) .helped-btn { min-height: 48px; border-radius: 100px; background: #FFFFFF; color: var(--terra-text); box-shadow: var(--e-ombre); font-weight: 600; }
.epure .phone:not(.hc) .helped-btn.done { background: var(--green-tint); color: var(--green); box-shadow: none; }
.epure .phone:not(.hc) .d-foot { justify-content: center; }
.epure .phone:not(.hc) .d-foot button, .epure .phone:not(.hc) .d-foot a { font-size: 0.875rem; font-weight: 500; color: var(--muted); }

/* ============================================================
   RECHERCHE, FILTRES, URGENCES, RÉGLAGES COMMUNS
   ============================================================ */
/* Petits titres : en phrase (epure.js remet les majuscules d'origine en minuscules), sans espacement */
.epure .phone:not(.hc) .d-sec-label, .epure .phone:not(.hc) .d-eyebrow { font-size: 0.875rem; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.epure .phone:not(.hc) .search-bar {
  height: 44px; border-radius: 12px; background: var(--e-remplir); border: 1px solid transparent; box-shadow: none;
  transition: background-color .15s, border-color .15s, box-shadow .15s;
}
.epure .phone:not(.hc) .search-bar:focus-within { background: #FFFFFF; border-color: var(--terra); box-shadow: 0 0 0 4px rgba(242, 116, 47, .15); }
.epure .phone:not(.hc) .search-bar input { font-size: 1rem; color: var(--ink); }
.epure .phone:not(.hc) .search-cancel { color: var(--terra-text); font-weight: 500; }
.epure .phone:not(.hc) .sr-row { border-radius: 14px; }
.epure .phone:not(.hc) .sr-row .sr-ico { width: 38px; height: 38px; border-radius: 11px; background: var(--peach); color: var(--terra-dark); }
.epure .phone:not(.hc) .sr-row .sr-ico svg { color: var(--terra-dark); fill: var(--terra-dark); }
.epure .phone:not(.hc) .sr-row .sr-t { font-weight: 600; }
.epure .phone:not(.hc) .camp-chip { height: 38px; padding: 0 14px; border: 0; border-radius: 100px; background: #FFFFFF; box-shadow: var(--e-ombre); font-size: 0.875rem; font-weight: 500; color: var(--ink); }
.epure .phone:not(.hc) .camp-chip svg { color: var(--terra-dark); fill: var(--terra-dark); }
.epure .phone:not(.hc) .recent-row svg { color: var(--muted); }

/* Fenêtres (filtres, partage…) */
.epure .phone:not(.hc) .modal-scrim { background: rgba(29, 25, 21, .32); }
.epure .phone:not(.hc) .modal-sheet { background: var(--paper); border-radius: 28px 28px 0 0; }
.epure .phone:not(.hc) .modal-sheet .sheet-grab > div { background: rgba(29, 25, 21, .18); }
.epure .phone:not(.hc) .block-card { border: 0; border-radius: 16px; background: #FFFFFF; box-shadow: var(--e-ombre); color: var(--ink); }
.epure .phone:not(.hc) .block-card svg { color: var(--terra-dark); }
.epure .phone:not(.hc) .block-card.on { background: var(--peach); color: var(--terra-text); box-shadow: inset 0 0 0 1.5px var(--terra); }
.epure .phone:not(.hc) .block-card.on svg { color: var(--terra-dark); }
.epure .phone:not(.hc) .block-card .bc-check { background: var(--terra-dark); color: #FFFFFF; }
.epure .phone:not(.hc) .fchip { height: 38px; padding: 0 14px; background: #FFFFFF; box-shadow: var(--e-ombre); font-size: 0.875rem; font-weight: 500; color: var(--ink); }
.epure .phone:not(.hc) .fchip svg { color: var(--muted); fill: var(--muted); }
.epure .phone:not(.hc) .fchip.on { background: var(--peach); color: var(--terra-text); box-shadow: inset 0 0 0 1.5px var(--terra); font-weight: 600; }
.epure .phone:not(.hc) .fchip.on svg { color: var(--terra-dark); fill: var(--terra-dark); }
.epure .phone:not(.hc) .trow .lb { font-size: 0.9375rem; }
.epure .phone:not(.hc) .seg { height: 40px; padding: 3px; border-radius: 12px; background: var(--e-remplir); }
.epure .phone:not(.hc) .seg > button { border-radius: 9px; font-size: 0.875rem; font-weight: 500; color: var(--ink); }
.epure .phone:not(.hc) .seg > button.on { background: #FFFFFF; box-shadow: 0 1px 3px rgba(60, 40, 20, .14), 0 0 0 .5px rgba(29, 25, 21, .06); font-weight: 600; }
/* Interrupteurs à la manière d'iOS : vert quand c'est activé, comme dans le Bureau */
.epure .phone:not(.hc) .switch { width: 51px; height: 31px; background: rgba(120, 112, 104, .22); }
.epure .phone:not(.hc) .switch::after { top: 2px; left: 2px; width: 27px; height: 27px; box-shadow: 0 3px 8px rgba(0, 0, 0, .15), 0 1px 1px rgba(0, 0, 0, .12); }
.epure .phone:not(.hc) .switch.on { background: var(--green); }
.epure .phone:not(.hc) .switch.on::after { left: 22px; }

/* Urgences : le 115 reste la grande carte orange, les autres numéros en cartes blanches */
.epure .phone:not(.hc) .u-intro .t { font-family: var(--font-d); font-size: 2.125rem; font-weight: 700; letter-spacing: -.03em; line-height: 1.08; }
.epure .phone:not(.hc) .u-card { border-radius: 20px; box-shadow: var(--e-ombre); }
.epure .phone:not(.hc) .u-card .num { font-family: var(--font-d); font-weight: 600; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.epure .phone:not(.hc) .u-card .lb { font-weight: 600; }
.epure .phone:not(.hc) .u-card:first-child { box-shadow: 0 14px 30px -16px rgba(200, 80, 10, .55); }
.epure .phone:not(.hc) .u-close { width: 36px; height: 36px; background: var(--e-remplir); box-shadow: none; }

/* ============================================================
   MES DROITS (passage 2)
   ============================================================ */
.epure .phone:not(.hc) .d-title { font-family: var(--font-d); font-size: 2.125rem; font-weight: 700; letter-spacing: -.03em; line-height: 1.05; }
.epure .phone:not(.hc) .d-sub { font-size: 0.9375rem; line-height: 1.45; color: var(--muted); }
.epure .phone:not(.hc) .page-head .pt { font-family: var(--font-d); font-weight: 700; letter-spacing: -.03em; }
.epure .phone:not(.hc) .page-head .back { width: 40px; height: 40px; background: #FFFFFF; box-shadow: var(--e-ombre); color: var(--ink); }

/* Le test : une carte blanche, le castor dans une tuile pêche, le bouton en orange plein */
.epure .phone:not(.hc) .dr-hero {
  align-items: center; gap: 14px; padding: 18px; border-radius: 22px; background: #FFFFFF; color: var(--ink);
  box-shadow: var(--e-ombre); transition: transform .2s var(--e-ease);
}
.epure .phone:not(.hc) .dr-hero:active { transform: scale(.985); }
.epure .phone:not(.hc) .dr-hero::before, .epure .phone:not(.hc) .dr-hero::after { display: none; }
.epure .phone:not(.hc) .dr-hero-k { font-size: 0.8125rem; font-weight: 500; color: var(--muted); }
.epure .phone:not(.hc) .dr-hero-s { font-size: 0.875rem; color: var(--muted); }
.epure .phone:not(.hc) .dr-hero-t { font-family: var(--font-d); font-size: 1.5rem; font-weight: 700; letter-spacing: -.025em; line-height: 1.12; color: var(--ink); }
.epure .phone:not(.hc) .dr-hero-cta {
  align-self: flex-start; margin-top: 12px; height: 42px; padding: 0 18px; gap: 6px; border-radius: 100px;
  background: var(--terra-dark); color: #FFFFFF; font-size: 0.9375rem; font-weight: 600; box-shadow: none;
}
.epure .phone:not(.hc) .dr-hero-cta svg { color: #FFFFFF; fill: #FFFFFF; }
.epure .phone:not(.hc) .dr-hero-img { width: 104px; height: 116px; margin: 0; border-radius: 20px; transform: none; background: var(--peach); box-shadow: none; }
.epure .phone:not(.hc) .dr-path { padding: 16px 4px 0; }
.epure .phone:not(.hc) .dr-path span { font-size: 0.78125rem; font-weight: 500; }
.epure .phone:not(.hc) .dr-path span b { width: 26px; height: 26px; background: var(--peach); color: var(--terra-text); box-shadow: none; font-size: 0.78125rem; font-weight: 600; }
.epure .phone:not(.hc) .dr-path i { margin-top: 13px; background: var(--border); }

/* Les quatre outils : des tuiles blanches, pictogramme orange sur pastel (plus de pêche ni de vert d'eau) */
.epure .phone:not(.hc) .dr-tools { gap: 10px; margin-top: 20px; }
.epure .phone:not(.hc) .dr-tool, .epure .phone:not(.hc) .dr-tool.peach, .epure .phone:not(.hc) .dr-tool.mint {
  min-height: 136px; gap: 3px; padding: 15px; border-radius: 20px; background: #FFFFFF; box-shadow: var(--e-ombre);
  transition: transform .2s var(--e-ease);
}
.epure .phone:not(.hc) .dr-tool:active { transform: scale(.97); }
.epure .phone:not(.hc) .dr-tool > span, .epure .phone:not(.hc) .dr-tool.mint > span { width: 40px; height: 40px; margin-bottom: 10px; border-radius: 12px; background: var(--peach); color: var(--terra-dark); }
.epure .phone:not(.hc) .dr-tool > span svg { color: var(--terra-dark); fill: var(--terra-dark); }
.epure .phone:not(.hc) .dr-tool b { font-size: 0.96875rem; font-weight: 600; line-height: 1.22; }
.epure .phone:not(.hc) .dr-tool small { font-size: 0.8125rem; line-height: 1.35; color: var(--muted); }
.epure .phone:not(.hc) .dr-sec { font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; }

/* « Que faire si… » : la liste groupée, pictogrammes en tuile pêche */
.epure .phone:not(.hc) .dr-list { border-radius: 18px; box-shadow: var(--e-ombre); }
.epure .phone:not(.hc) .fiche-row, .epure .phone:not(.hc) .fiche-row.urgent { position: relative; min-height: 54px; padding: 11px 14px; gap: 12px; font-size: 0.96875rem; font-weight: 500; background: transparent; border: 0; }
.epure .phone:not(.hc) .fiche-row + .fiche-row { border-top: 0; }
.epure .phone:not(.hc) .fiche-row + .fiche-row::before { content: ''; position: absolute; top: 0; inset-inline: 54px 0; height: 1px; background: var(--hair); }
.epure .phone:not(.hc) .fiche-row .fr-ic { width: 30px; height: 30px; border-radius: 9px; background: var(--peach); color: var(--terra-dark); align-items: center; justify-content: center; }
.epure .phone:not(.hc) .fiche-row .fr-ic svg { width: 17px; height: 17px; color: var(--terra-dark); fill: var(--terra-dark); }
.epure .phone:not(.hc) .fiche-row.urgent { font-weight: 600; }
.epure .phone:not(.hc) .fiche-row.urgent .fr-ic { background: var(--terra-dark); color: #FFFFFF; }
.epure .phone:not(.hc) .fiche-row.urgent .fr-ic svg { color: #FFFFFF; fill: #FFFFFF; }
.epure .phone:not(.hc) .fiche-row .fr-urgent { padding: 3px 9px; border-radius: 100px; background: var(--peach); color: var(--terra-text); font-size: 0.75rem; font-weight: 600; letter-spacing: 0; }
.epure .phone:not(.hc) .fiche-row > svg, .epure .phone:not(.hc) .fiche-row.urgent > svg { color: var(--gray); }
.epure .phone:not(.hc) .dr-note { font-size: 0.8125rem; line-height: 1.5; color: var(--muted); }

/* Fiche « Que faire si… » : les étapes dans une liste groupée numérotée */
.epure .phone:not(.hc) .call-strip { gap: 12px; padding: 14px 16px; border-radius: 18px; background: var(--terra-dark); }
.epure .phone:not(.hc) .call-strip span { font-size: 0.9375rem; color: #FFFFFF; }
.epure .phone:not(.hc) .step-row { position: relative; gap: 12px; padding: 14px 16px; background: #FFFFFF; font-size: 0.96875rem; line-height: 1.45; box-shadow: 0 0 0 1px rgba(29, 25, 21, .045); }
.epure .phone:not(.hc) .step-row:not(.step-row + .step-row) { border-radius: 18px 18px 0 0; }
.epure .phone:not(.hc) .step-row + .step-row { margin-top: -12px; }
.epure .phone:not(.hc) .step-row + .step-row::before { content: ''; position: absolute; top: 0; inset-inline: 54px 0; height: 1px; background: var(--hair); }
.epure .phone:not(.hc) .step-row:not(:has(+ .step-row)) { border-radius: 0 0 18px 18px; }
.epure .phone:not(.hc) .step-row:not(.step-row + .step-row):not(:has(+ .step-row)) { border-radius: 18px; }
.epure .phone:not(.hc) .step-row .step-n { width: 26px; height: 26px; margin-top: 0; border-radius: 50%; background: var(--peach); color: var(--terra-text); font-size: 0.8125rem; font-weight: 600; }
.epure .phone:not(.hc) .screen-fiche .d-note, .epure .phone:not(.hc) .screen-demarche .d-note { border-radius: 18px; background: #FFFFFF; box-shadow: var(--e-ombre); font-size: 0.9375rem; }
.epure .phone:not(.hc) .screen-fiche .aid-link {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 50px; padding: 12px 16px;
  border-radius: 16px; background: #FFFFFF; box-shadow: var(--e-ombre); color: var(--terra-text); font-size: 0.9375rem; font-weight: 600; text-align: start;
}
.epure .phone:not(.hc) .aid-link { color: var(--terra-text); font-weight: 600; }

/* Le test « Quelles aides pour moi ? » */
.epure .phone:not(.hc) .q-prog i { background: rgba(29, 25, 21, .12); }
.epure .phone:not(.hc) .q-prog i.on { background: var(--terra); }
.epure .phone:not(.hc) .q-n { font-size: 0.8125rem; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.epure .phone:not(.hc) .q-ask .q-bub { border-radius: 20px 20px 20px 6px; background: #FFFFFF; box-shadow: var(--e-ombre); font-size: 1.1875rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.epure .phone:not(.hc) .q-face { box-shadow: var(--e-ombre); }
.epure .phone:not(.hc) .quiz-opt { min-height: 58px; padding: 14px 16px; border: 0; border-radius: 16px; background: #FFFFFF; box-shadow: var(--e-ombre); font-size: 1rem; font-weight: 500; }
.epure .phone:not(.hc) .quiz-opt:active { background: var(--peach); box-shadow: inset 0 0 0 1.5px var(--terra); }
.epure .phone:not(.hc) .screen-quiz .btn.ghost { color: var(--muted); font-weight: 500; background: none; box-shadow: none; border: 0; }
.epure .phone:not(.hc) .q-priv { font-size: 0.8125rem; color: var(--muted); }
.epure .phone:not(.hc) .think-ico { background: var(--peach); color: var(--terra-dark); box-shadow: none; }

/* Résultats du test */
.epure .phone:not(.hc) .aid-card, .epure .phone:not(.hc) .res-card { gap: 8px; padding: 16px; border: 0; border-radius: 18px; background: #FFFFFF; box-shadow: var(--e-ombre); }
.epure .phone:not(.hc) .aid-badge { padding: 4px 10px; border-radius: 100px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0; }
.epure .phone:not(.hc) .aid-badge.probable { background: var(--green-tint); color: var(--green); }
.epure .phone:not(.hc) .aid-badge.possible { background: var(--amber-tint); color: var(--amber-text); }
.epure .phone:not(.hc) .aid-title { font-size: 1.125rem; font-weight: 700; letter-spacing: -.015em; }
.epure .phone:not(.hc) .aid-why { font-size: 0.9375rem; line-height: 1.45; color: var(--muted); }
.epure .phone:not(.hc) .aid-row { padding-top: 8px; border-top: 1px solid var(--hair); font-size: 0.9375rem; }
.epure .phone:not(.hc) .aid-row + .aid-row { border-top: 0; padding-top: 2px; }
.epure .phone:not(.hc) .aid-row .aid-lb { width: 72px; padding-top: 1px; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.epure .phone:not(.hc) .anon-note { border-radius: 16px; background: #FFFFFF; box-shadow: var(--e-ombre); font-size: 0.875rem; color: var(--muted); }
.epure .phone:not(.hc) .anon-note svg circle { fill: var(--peach); }
.epure .phone:not(.hc) .anon-note svg rect, .epure .phone:not(.hc) .anon-note svg circle + rect + circle { fill: var(--terra-dark); }

/* Vrai ou faux */
.epure .phone:not(.hc) .idees-tag { padding: 4px 10px; border-radius: 100px; background: var(--peach); color: var(--terra-text); font-size: 0.75rem; font-weight: 600; letter-spacing: 0; }
.epure .phone:not(.hc) .vf-btn { min-height: 58px; border: 0; border-radius: 16px; background: #FFFFFF; box-shadow: var(--e-ombre); font-size: 1rem; font-weight: 600; }
.epure .phone:not(.hc) .vf-btn svg { color: var(--terra-dark); }
.epure .phone:not(.hc) .vf-verdict { border-radius: 16px; font-size: 0.96875rem; }
.epure .phone:not(.hc) .vf-verdict.good { background: var(--green-tint); color: var(--green); }
.epure .phone:not(.hc) .vf-verdict.bad { background: var(--peach); color: var(--terra-text); }
.epure .phone:not(.hc) .vf-expl { font-size: 0.96875rem; line-height: 1.55; }
.epure .phone:not(.hc) .idees-score { border-radius: 22px; box-shadow: var(--e-ombre); }
.epure .phone:not(.hc) .idees-score-n { font-family: var(--font-d); font-weight: 700; letter-spacing: -.04em; color: var(--ink); }
.epure .phone:not(.hc) .idees-msg { border-radius: 16px; background: #FFFFFF; box-shadow: var(--e-ombre); }

/* Comprendre un courrier */
.epure .phone:not(.hc) .crr-bandeau { border-radius: 16px; font-size: 0.9375rem; }
.epure .phone:not(.hc) .crr-bandeau.vert { background: var(--green-tint); color: var(--green); }
.epure .phone:not(.hc) .crr-bandeau.neutre { background: #FFFFFF; border: 0; box-shadow: var(--e-ombre); }
.epure .phone:not(.hc) .crr-bandeau.peche { background: var(--amber-tint); color: var(--amber-text); }
.epure .phone:not(.hc) .crr-bandeau.terra { background: var(--terra-dark); color: #FFFFFF; }
.epure .phone:not(.hc) .crr-carte, .epure .phone:not(.hc) .crr-date { border: 0; border-radius: 18px; background: #FFFFFF; box-shadow: var(--e-ombre); }
.epure .phone:not(.hc) .crr-date.chaud { background: var(--peach); box-shadow: none; }
.epure .phone:not(.hc) .crr-de { text-transform: none; letter-spacing: 0; font-size: 0.8125rem; font-weight: 500; color: var(--muted); }
.epure .phone:not(.hc) .crr-qui { font-family: var(--font-d); font-size: 1.375rem; font-weight: 700; letter-spacing: -.02em; }
.epure .phone:not(.hc) .crr-quoi { font-weight: 600; color: var(--terra-text); }
.epure .phone:not(.hc) .crr-clair { font-size: 0.96875rem; line-height: 1.55; }
.epure .phone:not(.hc) .crr-date-lb { font-size: 0.8125rem; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.epure .phone:not(.hc) .crr-date-j { font-family: var(--font-d); font-size: 1.375rem; letter-spacing: -.02em; }
.epure .phone:not(.hc) .crr-faits { gap: 0; background: #FFFFFF; border-radius: 18px; box-shadow: var(--e-ombre); }
.epure .phone:not(.hc) .crr-fait { padding: 12px 16px; background: none; }
.epure .phone:not(.hc) .crr-fait + .crr-fait { box-shadow: inset 0 1px 0 var(--hair); }
.epure .phone:not(.hc) .crr-fait-v { font-weight: 600; font-variant-numeric: tabular-nums; }
.epure .phone:not(.hc) .crr-actions { gap: 0; border-radius: 18px; background: #FFFFFF; box-shadow: var(--e-ombre); }
.epure .phone:not(.hc) .crr-action { position: relative; padding: 13px 16px; border: 0; border-radius: 0; background: none; box-shadow: none; font-size: 0.9375rem; line-height: 1.45; }
.epure .phone:not(.hc) .crr-action + .crr-action::before { content: ''; position: absolute; top: 0; inset-inline: 54px 0; height: 1px; background: var(--hair); }
.epure .phone:not(.hc) .crr-num { width: 26px; height: 26px; font-size: 0.8125rem; font-weight: 600; color: var(--terra-text); }
.epure .phone:not(.hc) .crr-mots { gap: 0; border-radius: 18px; background: #FFFFFF; box-shadow: var(--e-ombre); overflow: hidden; }
.epure .phone:not(.hc) .crr-mot { padding: 12px 16px; border: 0; border-radius: 0; background: none; box-shadow: none; font-size: 0.9375rem; line-height: 1.45; }
.epure .phone:not(.hc) .crr-mot + .crr-mot { box-shadow: inset 0 1px 0 var(--hair); }
.epure .phone:not(.hc) .crr-ajout { border-radius: 18px; background: #FFFFFF; box-shadow: var(--e-ombre); }
.epure .phone:not(.hc) .crr-ajout-t { color: var(--ink); font-weight: 600; }
.epure .phone:not(.hc) .crr-ajout-btns .btn.ghost { background: var(--e-remplir); border: 0; color: var(--ink); }
.epure .phone:not(.hc) .consent-box { border-radius: 18px; box-shadow: var(--e-ombre); font-size: 0.875rem; line-height: 1.5; color: var(--muted); }
.epure .phone:not(.hc) .consent-box svg { color: var(--terra-dark); }
.epure .phone:not(.hc) .benev-hit { border: 0; border-radius: 16px; background: #FFFFFF; box-shadow: var(--e-ombre); }
.epure .phone:not(.hc) .tour-step { text-transform: none; letter-spacing: 0; font-weight: 600; }

/* Choix en pastilles (formulaires, campagnes) : sélection en pêche cerclée d'orange, comme les catégories */
.epure .phone:not(.hc) .dem-seg-opt, .epure .phone:not(.hc) .camp-chip { border: 0; background: #FFFFFF; box-shadow: var(--e-ombre); color: var(--ink); font-weight: 500; }
.epure .phone:not(.hc) .dem-seg-opt.on, .epure .phone:not(.hc) .camp-chip.on { background: var(--peach); color: var(--terra-text); box-shadow: inset 0 0 0 1.5px var(--terra); font-weight: 600; }
.epure .phone:not(.hc) .dem-lb { font-size: 0.875rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
/* Encadrés « Expliqué par Claude », « Vos réponses restent… » : le pictogramme à côté du texte */
.epure .phone:not(.hc) .consent-box:has(> svg) { flex-direction: row; align-items: flex-start; gap: 12px; }
.epure .phone:not(.hc) .consent-box > svg { flex: none; margin-top: 1px; }

/* ============================================================
   MENU, PREMIÈRE OUVERTURE, STRUCTURES, BÉNÉVOLES (passage 3)
   ============================================================ */
/* Menu : listes groupées à la manière des Réglages, pictogrammes sur tuile pêche */
.epure .phone:not(.hc) .menu-group { border-radius: 18px; box-shadow: var(--e-ombre); }
.epure .phone:not(.hc) .menu-group .menu-item { position: relative; min-height: 54px; padding: 10px 14px; gap: 12px; }
.epure .phone:not(.hc) .menu-group .menu-item + .menu-item { border-top: 0; }
.epure .phone:not(.hc) .menu-group .menu-item + .menu-item::before { content: ''; position: absolute; top: 0; inset-inline: 56px 0; height: 1px; background: var(--hair); }
.epure .phone:not(.hc) .menu-item .mi-ico { flex: none; width: 30px; height: 30px; border-radius: 9px; background: var(--peach); color: var(--terra-dark); display: flex; align-items: center; justify-content: center; }
.epure .phone:not(.hc) .menu-item .mi-ico svg { width: 17px; height: 17px; color: var(--terra-dark); fill: var(--terra-dark); }
.epure .phone:not(.hc) .menu-item .mi-t { font-size: 0.96875rem; font-weight: 500; letter-spacing: -.005em; }
.epure .phone:not(.hc) .menu-item .mi-s { font-size: 0.8125rem; line-height: 1.35; color: var(--muted); }
.epure .phone:not(.hc) .menu-item .mi-chev, .epure .phone:not(.hc) .mi-chev { color: var(--gray); }
.epure .phone:not(.hc) .menu-item:active { background: rgba(29, 25, 21, .04); }
.epure .phone:not(.hc) .screen-menu .page-head .pt { font-size: 2.125rem; }

/* Choix dans une liste (signaler une erreur, structures trouvées) : la sélection en pêche cerclée d'orange */
.epure .phone:not(.hc) .opt-item { min-height: 50px; padding: 0 16px; border: 0; border-radius: 14px; background: #FFFFFF; box-shadow: var(--e-ombre); font-size: 0.96875rem; font-weight: 500; }
.epure .phone:not(.hc) .opt-item.on { background: var(--peach); color: var(--terra-text); box-shadow: inset 0 0 0 1.5px var(--terra); font-weight: 600; }
.epure .phone:not(.hc) .q-item { min-height: 52px; padding: 0 16px; border-radius: 14px; box-shadow: var(--e-ombre); font-size: 0.96875rem; font-weight: 600; }

/* Champs : le contour orange et un halo léger quand on écrit, comme dans le Bureau */
.epure .phone:not(.hc) input:not([type="search"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="range"]):focus,
.epure .phone:not(.hc) textarea:focus, .epure .phone:not(.hc) select:focus {
  outline: none; border-color: var(--terra) !important; box-shadow: 0 0 0 4px rgba(242, 116, 47, .15);
}

/* Bienvenue (choix de la langue) : le dégradé d'accueil reste, les langues comme les autres choix */
.epure .phone:not(.hc) .lang-item { min-height: 44px; padding: 0 16px; box-shadow: var(--e-ombre); font-size: 0.96875rem; font-weight: 500; }
.epure .phone:not(.hc) .lang-item.on { background: var(--peach); color: var(--terra-text); box-shadow: inset 0 0 0 1.5px var(--terra); font-weight: 600; }
.epure .phone:not(.hc) .ob-title { font-family: var(--font-d); font-weight: 700; letter-spacing: -.03em; }
.epure .phone:not(.hc) .ob-title em { color: var(--terra-dark); }
.epure .phone:not(.hc) .ob-dots span.on { background: var(--terra-dark); }

/* Guide pas à pas */
.epure .phone:not(.hc) .tour-primary { background: var(--terra-dark); color: #FFFFFF; box-shadow: none; font-weight: 600; }
.epure .phone:not(.hc) .tour-primary svg { color: #FFFFFF; fill: #FFFFFF; }
.epure .phone:not(.hc) .tour-ghost { color: var(--muted); font-weight: 500; }
.epure .phone:not(.hc) .tour-step { color: var(--terra-text); font-size: 0.8125rem; }
.epure .phone:not(.hc) .tour-ov.no-target .tour-t { font-family: var(--font-d); font-weight: 700; letter-spacing: -.025em; }

/* Espace des structures */
.epure .phone:not(.hc) .pro-search {
  height: 52px; padding: 0 6px 0 8px; gap: 10px; border-radius: 14px; background: #FFFFFF;
  box-shadow: var(--e-ombre); border: 1px solid transparent;
}
.epure .phone:not(.hc) .pro-search:focus-within { border-color: var(--terra); box-shadow: 0 0 0 4px rgba(242, 116, 47, .15); }
.epure .phone:not(.hc) .pro-search .ps-ico, .epure .phone:not(.hc) .pro-search:focus-within .ps-ico { width: 36px; height: 36px; border-radius: 10px; background: var(--peach); color: var(--terra-dark); }
.epure .phone:not(.hc) .pro-search input { font-size: 1rem; }
.epure .phone:not(.hc) .pro-search .ps-clear { width: 36px; height: 36px; background: var(--e-remplir); color: var(--ink); }
.epure .phone:not(.hc) .pro-etapes { border-radius: 18px; box-shadow: var(--e-ombre); }
.epure .phone:not(.hc) .pro-etapes li::marker { color: var(--terra-text); font-weight: 600; }
.epure .phone:not(.hc) .pro-ok-t { font-family: var(--font-d); font-weight: 700; }
.epure .phone:not(.hc) .pro-demande { border-radius: 16px; }

/* Espace bénévole */
.epure .phone:not(.hc) .stat-card { border-radius: 18px; background: #FFFFFF; box-shadow: var(--e-ombre); }
.epure .phone:not(.hc) .stat-card .stat-n { font-family: var(--font-d); font-weight: 700; letter-spacing: -.03em; }
.epure .phone:not(.hc) .stat-card .stat-l { font-size: 0.8125rem; }
.epure .phone:not(.hc) .benev-tile { border: 0; border-radius: 18px; background: #FFFFFF; box-shadow: var(--e-ombre); }
.epure .phone:not(.hc) .benev-tile-ico { border-radius: 11px; background: var(--peach); color: var(--terra-dark); }
.epure .phone:not(.hc) .benev-tile-t { font-weight: 600; }
.epure .phone:not(.hc) .demo-tag { padding: 3px 10px; border-radius: 100px; background: var(--e-remplir); color: var(--muted); font-size: 0.75rem; font-weight: 600; letter-spacing: 0; }

/* Pictogrammes des cartes d'outils (Mon espace, espace des structures) : tous sur pêche, plus de vert d'eau */
.epure .phone:not(.hc) .esp-ic, .epure .phone:not(.hc) .esp-ic.peach, .epure .phone:not(.hc) .esp-ic.mint { width: 42px; height: 42px; border-radius: 12px; background: var(--peach); color: var(--terra-dark); }
.epure .phone:not(.hc) .esp-ic.petit { width: 36px; height: 36px; border-radius: 10px; }
.epure .phone:not(.hc) .esp-carte { border: 0; border-radius: 18px; background: #FFFFFF; box-shadow: var(--e-ombre); }

/* Filtres de la galerie des modèles de CV */
.epure .phone:not(.hc) .cv-filtre { border: 0; background: #FFFFFF; box-shadow: var(--e-ombre); color: var(--ink); font-weight: 500; }
.epure .phone:not(.hc) .cv-filtre.on { background: var(--peach); color: var(--terra-text); box-shadow: inset 0 0 0 1.5px var(--terra); font-weight: 600; }

/* ============================================================
   POP-UPS, PARTAGE, MESSAGES (passage 4, 13/11)
   Demande de Bryan : des fenêtres aussi calmes que le reste. Cartes blanches pleines (plus de verre),
   titres en demi-gras, castor posé comme une icône d'application, orange réservé au bouton principal,
   plus d'anneau noir épais ni de message noir.
   ============================================================ */
/* Anneau de focus, au clavier seulement (html.clavier, posé par app.js) : fin et orange foncé au lieu de 3 px de noir */
html.epure.clavier .phone:not(.hc) :focus-visible { outline: 2px solid var(--terra-dark); outline-offset: 3px; }
.epure .phone:not(.hc) .focus-titre:focus, .epure .phone:not(.hc) .focus-titre:focus-visible { outline: none; }

/* Fenêtres du bas : titres et bouton secondaire */
.epure .phone:not(.hc) .m-title { font-size: 1.25rem; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.epure .phone:not(.hc) .modal-sheet .btn.ghost { background: none; border: 0; box-shadow: none; color: var(--muted); font-weight: 500; }

/* « Voir ce qui est ouvert près de vous ? » */
.epure .phone:not(.hc) .geo-ask { gap: 8px; padding: 6px 24px calc(22px + var(--bot-inset)); }
.epure .phone:not(.hc) .geo-ask-ico { width: 60px; height: 60px; border-radius: 18px; background: var(--peach); color: var(--terra-dark); margin-bottom: 8px; }
.epure .phone:not(.hc) .geo-ask-t { font-size: 1.375rem; font-weight: 600; letter-spacing: -.015em; line-height: 1.2; color: var(--ink); text-wrap: balance; }
.epure .phone:not(.hc) .geo-ask-s { font-size: 0.96875rem; line-height: 1.45; color: var(--muted); margin-bottom: 10px; text-wrap: pretty; }
.epure .phone:not(.hc) .geo-ask .btn.ghost { height: 44px !important; }

/* Astuces et annonces (cartes du bas) */
.epure .phone:not(.hc) .pop-ov::before { background: rgba(29, 25, 21, .32); }
.epure .phone:not(.hc) .pop-card {
  background: #FFFFFF; -webkit-backdrop-filter: none; backdrop-filter: none; border-radius: 30px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(29, 25, 21, .05), 0 24px 60px -24px rgba(60, 40, 20, .38);
}
.epure .phone:not(.hc) .pop-hero { height: auto; padding-top: 28px; overflow: visible; }
.epure .phone:not(.hc) .pop-hero::before { display: none; }
.epure .phone:not(.hc) .pop-sticker, .epure .phone:not(.hc) .pop-sticker.app {
  width: 76px; height: 76px; border-radius: 20px; transform: none; background: var(--peach);
  box-shadow: 0 0 0 1px rgba(29, 25, 21, .06), 0 6px 16px -8px rgba(60, 40, 20, .35);
}
.epure .phone:not(.hc) .pop-sticker.app { background: none; box-shadow: none; }
.epure .phone:not(.hc) .pop-ico { width: 64px; height: 64px; border-radius: 18px; background: var(--peach); color: var(--terra-dark); box-shadow: none; }
.epure .phone:not(.hc) .pop-badge { width: 28px; height: 28px; bottom: -6px; margin-left: 26px; background: var(--terra-dark); color: #FFFFFF; box-shadow: 0 0 0 3px #FFFFFF; }
.epure .phone:not(.hc) .pop-badge svg { color: #FFFFFF; fill: #FFFFFF; }
.epure .phone:not(.hc) .pop-body { gap: 6px; padding: 18px 24px 14px; }
.epure .phone:not(.hc) .pop-t { font-size: 1.375rem; font-weight: 600; letter-spacing: -.015em; line-height: 1.2; color: var(--ink); }
.epure .phone:not(.hc) .pop-s { font-size: 0.96875rem; line-height: 1.45; color: var(--muted); }
.epure .phone:not(.hc) .pop-cta { margin-top: 14px; height: 50px; }
.epure .phone:not(.hc) .pop-later { height: 44px; color: var(--muted); font-weight: 500; }
.epure .phone:not(.hc) .pop-step { background: var(--e-remplir); box-shadow: none; border-radius: 14px; }

/* Le guide : bulles et écrans d'ouverture en cartes blanches pleines */
.epure .phone:not(.hc) .tour-card {
  background: #FFFFFF; -webkit-backdrop-filter: none; backdrop-filter: none; border-radius: 24px;
  box-shadow: 0 0 0 1px rgba(29, 25, 21, .05), 0 22px 56px -22px rgba(60, 40, 20, .42);
}
.epure .phone:not(.hc) .tour-card::before { background: #FFFFFF; }
.epure .phone:not(.hc) .tour-ov.no-target .tour-card { border-radius: 30px; overflow: hidden; }
.epure .phone:not(.hc) .tour-card .pop-hero { height: auto; padding-top: 28px; }
.epure .phone:not(.hc) .tour-card .pop-sticker { width: 76px; height: 76px; border-radius: 20px; }
.epure .phone:not(.hc) .tour-ov.no-target .tour-t { font-size: 1.375rem; font-weight: 600; letter-spacing: -.015em; line-height: 1.2; }
.epure .phone:not(.hc) .tour-t { font-weight: 600; letter-spacing: -.01em; }
.epure .phone:not(.hc) .tour-s { color: var(--muted); }
.epure .phone:not(.hc) .tour-back { background: var(--e-remplir); box-shadow: none; }
.epure .phone:not(.hc) .tour-bar { background: var(--e-remplir); }
.epure .phone:not(.hc) .tour-bar i { background: var(--terra-dark); }

/* Partager ce lieu : pastilles en carrés arrondis, comme les icônes d'applications */
.epure .phone:not(.hc) .share-op .so-ico { width: 58px; height: 58px; border-radius: 18px; box-shadow: none; }
.epure .phone:not(.hc) .share-op .so-ico[style*="chipbg"] { background: #FFFFFF !important; box-shadow: var(--e-ombre); color: var(--ink); }
.epure .phone:not(.hc) .share-op .so-ico[style*="141210"] { background: var(--peach) !important; color: var(--terra-dark) !important; }
.epure .phone:not(.hc) .share-op .so-ico[style*="2E7D5B"] { background: var(--green) !important; }
.epure .phone:not(.hc) .share-op span { font-weight: 500; color: var(--ink); }
.epure .phone:not(.hc) .share-note { background: var(--e-remplir); }

/* Messages (« Lien copié »…) : une capsule claire, plus de pavé noir */
.epure .phone:not(.hc) .toast {
  background: rgba(255, 255, 255, .97); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 0 0 1px rgba(29, 25, 21, .07), 0 14px 32px -12px rgba(60, 40, 20, .4);
}
.epure .phone:not(.hc) .toast span { color: var(--ink); font-weight: 500; }

/* Courrier : liens officiels et adresse pour répondre (13/11) — même famille que « les mots difficiles » */
.epure .phone:not(.hc) .crr-liens { gap: 0; border-radius: 18px; background: #FFFFFF; box-shadow: var(--e-ombre); overflow: hidden; }
.epure .phone:not(.hc) .crr-lien { padding: 13px 16px; border-radius: 0; background: none; box-shadow: none; }
.epure .phone:not(.hc) .crr-lien + .crr-lien { box-shadow: inset 0 1px 0 var(--hair); }
.epure .phone:not(.hc) .crr-lien .mi-chev { color: var(--gray); }
.epure .phone:not(.hc) .crr-adresse { border-radius: 18px; background: #FFFFFF; box-shadow: var(--e-ombre); }
.epure .phone:not(.hc) .crr-adresse .btn.ghost { align-self: flex-start; padding: 0 14px; background: var(--e-remplir); border: 0; color: var(--ink); font-weight: 500; }

/* ============================================================
   TITRES DU MILIEU DES PAGES EN DEMI-GRAS (13/11, demande de Bryan)
   Les grands titres de page restent en gras, à la manière d'Apple ; les titres d'encart, de section
   et les messages au centre des écrans passent en demi-gras, comme les pop-ups.
   ============================================================ */
.epure .phone:not(.hc) .empty-hero .t,
.epure .phone:not(.hc) .dr-hero-t,
.epure .phone:not(.hc) .acc-sec h2,
.epure .phone:not(.hc) .dr-sec,
.epure .phone:not(.hc) .d-sec { font-weight: 600; }
/* Titres écrits directement dans le code de l'app (« Impossible de charger… », À propos, Rapport d'hiver,
   l'affirmation du « Vrai ou faux »…) */
.epure .phone:not(.hc) .screen [style*="font-weight:700"] { font-weight: 600 !important; }
