/* Poppins hébergée par le site (sous-ensemble latin : couvre tout le français). Licence SIL OFL 1.1, voir assets/fonts/LICENSE.txt.
   font-display: swap affiche le texte tout de suite avec une police de secours, puis bascule sans attente. */
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/poppins-latin-400.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/poppins-latin-500.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/poppins-latin-600.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/poppins-latin-700.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/poppins-latin-800.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ==========================================================================
   Presstivo : feuille de style commune à toutes les pages
   ========================================================================== */

:root {
  --navy: #0A2A7A;
  --blue: #0B3FB8;
  --blue-dark: #0935A0;
  --orange: #F58A0B;
  --orange-dark: #E07A00;
  --orange-text: #F58A0B; /* orange de la charte, aussi pour le texte */
  --red: #E5484D;
  --green: #13774A;
  --bg-soft: #EEF4FF;
  --gray: #4A5568;
  --border: #E6EAF2;
  --white: #FFFFFF;
  --radius: 14px;
  --shadow-soft: 0 6px 18px rgba(10, 42, 122, 0.07);
  --shadow-hover: 0 16px 34px rgba(10, 42, 122, 0.14);
  --container: 1320px;
  --header-h: 80px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--gray);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; }
ul { list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 8px; }

.container { width: min(100% - 48px, var(--container)); margin-inline: auto; }
.container.narrow { width: min(100% - 48px, 860px); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 18px; border-radius: 999px; transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- Icônes ---------- */
.ico {
  width: 24px; height: 24px; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 1.75;
  stroke-linecap: round; stroke-linejoin: round;
}
.ico.star { fill: var(--orange); stroke: none; width: 16px; height: 16px; }
.ico.star.off { fill: #D5DCE8; }
.ico.or { color: var(--orange); }
.ico.red { color: var(--red); }
.ico-cat { width: 36px; height: 36px; color: var(--blue); stroke-width: 1.6; }
.ico-cat.or { color: var(--orange); }
.ico-cat.red { color: var(--red); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 24px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 600; font-size: 0.9375rem; line-height: 1; white-space: nowrap; cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.btn .ico { width: 18px; height: 18px; }
.btn-lg { padding: 15px 28px; }
.btn-sm { padding: 9px 18px; font-size: 0.8125rem; font-weight: 500; }
.btn-block { width: 100%; }
.btn-orange { background: var(--orange); color: #fff; box-shadow: 0 8px 18px rgba(245, 138, 11, .28); }
.btn-orange:hover { background: var(--orange-dark); box-shadow: 0 12px 24px rgba(245, 138, 11, .36); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dark); box-shadow: 0 10px 20px rgba(11, 63, 184, .25); }
.btn-outline { background: #fff; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--bg-soft); box-shadow: 0 10px 20px rgba(11, 63, 184, .12); }
.link-btn {
  display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 600; font-size: .875rem;
  text-decoration: underline; text-underline-offset: 3px; padding: 4px 2px; cursor: pointer;
}
.link-btn:hover { color: var(--navy); }
.link-btn .ico { width: 16px; height: 16px; }
.see-link {
  display: inline-flex; align-items: center; gap: 6px; font-size: .875rem; font-weight: 500; color: var(--blue);
  text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px;
  transition: text-decoration-color .2s, gap .2s;
}
.see-link:hover { text-decoration-color: currentColor; gap: 10px; }
.see-link .ico { width: 16px; height: 16px; }

/* ---------- En-tête ---------- */
/* En-tête fixe : reste en haut de l’écran pendant tout le défilement (les pages reçoivent un espaceur). */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(255, 255, 255, .97); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
/* Hauteur de secours : en-tête + sa bordure basse (1 px). La hauteur réelle est recalculée par app.js. */
.site-header-spacer { height: calc(var(--header-h) + 1px); }
/* Avant l’injection de l’en-tête par app.js, la place est déjà réservée :
   le contenu ne saute pas au premier affichage (pas de clignotement). */
#site-header:empty { height: calc(var(--header-h) + 1px); }
/* En-tête et contenu s’affichent ensemble : tant que app.js n’a pas posé l’en-tête, le reste de la page
   reste invisible (la place est réservée, donc rien ne bouge). Si le script ne s’exécute pas,
   la page est révélée d’elle-même au bout de 2,5 s. */
#site-header:empty ~ * { visibility: hidden; animation: header-reveal 0s linear 2.5s forwards; }
@keyframes header-reveal { to { visibility: visible; } }
.header-inner { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; border-radius: 10px; }
.logo-mark { width: 46px; height: 46px; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text strong { font-size: 1.6rem; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; }
.logo-text small { font-size: .5625rem; font-weight: 400; color: var(--gray); margin-top: 4px; white-space: nowrap; }
.cat-wrap { position: relative; flex-shrink: 0; }
.cat-btn { background: var(--blue); color: #fff; padding: 11px 18px; }
.cat-btn:hover { background: var(--blue-dark); }
.cat-btn .chev { width: 14px; height: 14px; transition: transform .2s; }
.cat-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.cat-menu {
  position: absolute; top: calc(100% + 14px); left: 0; width: 540px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-hover); padding: 10px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.cat-menu.open { opacity: 1; visibility: visible; transform: none; }
.cat-menu a {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px;
  font-size: .875rem; font-weight: 500; color: var(--navy); transition: background .2s, color .2s;
}
.cat-menu a .ico { width: 18px; height: 18px; color: var(--blue); }
.cat-menu a:hover { background: var(--bg-soft); color: var(--blue); }
.main-nav { flex: 1; display: flex; justify-content: center; align-items: center; gap: 22px; min-width: 0; }
.main-nav a {
  position: relative; font-size: .9375rem; font-weight: 500; color: var(--navy);
  padding: 8px 2px; white-space: nowrap; transition: color .2s;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: var(--orange); border-radius: 2px; transition: width .25s ease;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--blue); }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { width: 100%; }
.main-nav .mobile-only { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header-actions .btn-sm { padding: 10px 16px; }
.burger {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  align-items: center; justify-content: center; color: var(--navy); margin-left: auto; transition: background .2s;
}
.burger:hover { background: var(--bg-soft); }
.burger .ico { width: 26px; height: 26px; }

/* ---------- Titres de section et pages ---------- */
.section { padding: 56px 0; }
/* En haut de page, l’espaceur fixe la distance avec l’en-tête : la section ne rajoute rien. */
.section.first { padding-top: 0; }
.section.tight { padding-top: 12px; }
.section-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap; margin-bottom: 26px;
}
.title-accent {
  display: flex; align-items: center; gap: 14px;
  font-size: clamp(1.3rem, 2.2vw, 1.75rem); font-weight: 700; color: var(--navy);
}
.title-accent::before { content: ""; width: 44px; height: 4px; border-radius: 4px; background: var(--orange); flex-shrink: 0; }
.title-accent.no-bar::before { display: none; }
.title-accent .crown { width: 38px; height: 38px; flex-shrink: 0; }
.page-title { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -0.02em; margin: 14px 0 8px; }
.page-lead { font-size: 1rem; max-width: 46em; margin-bottom: 26px; }
.breadcrumb { font-size: .8125rem; color: var(--gray); }
.breadcrumb a { color: var(--blue); }
.breadcrumb a:hover { text-decoration: underline; }
.muted { color: #6B7893; font-size: .875rem; }

/* ---------- Accueil : héros ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #F2F7FF 0%, #E9F1FF 55%, #FFFFFF 100%);
  padding: 36px 0 0;
}
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.02fr 1fr; gap: 32px; align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 4.7vw, 4.1rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.06; }
.hero h1 .navy { display: block; color: var(--navy); }
.hero h1 .accent { display: block; color: var(--orange); }
.hero-sub { font-size: clamp(1rem, 1.4vw, 1.125rem); margin: 18px 0 30px; max-width: 34em; }
.search {
  display: flex; align-items: center; max-width: 640px;
  background: #fff; border-radius: 999px; padding: 8px;
  box-shadow: 0 14px 34px rgba(10, 42, 122, .12); transition: box-shadow .25s ease;
}
.search:focus-within { box-shadow: 0 0 0 4px rgba(11, 63, 184, .16), 0 14px 34px rgba(10, 42, 122, .14); }
.search-field {
  display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0;
  height: 52px; padding: 0 16px; color: var(--blue);
}
.search-field + .search-field { border-left: 1px solid var(--border); }
.search-field.loc { flex: 0 0 180px; color: var(--navy); font-size: .9375rem; }
.search-field input {
  border: 0; outline: 0; background: transparent; width: 100%; min-width: 0;
  font-size: .9375rem; color: var(--navy);
}
.search-field input::placeholder { color: #6B7893; opacity: 1; }
.search .btn { height: 52px; padding: 0 26px; }
.popular { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 20px; font-size: .875rem; font-weight: 500; color: var(--navy); }
.chip {
  padding: 6px 18px; border-radius: 999px; background: #E7EBF2; color: var(--navy);
  font-size: .8125rem; font-weight: 500; transition: background .2s, transform .2s;
}
.chip:hover { background: #D8E1F0; transform: translateY(-1px); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-visual { position: relative; min-height: 540px; }
.hero-bg {
  position: absolute; right: -2%; top: 4%; width: 74%; height: 84%; object-fit: cover; border-radius: 28px 0 0 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 32%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 32%);
}
.hero-man {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: min(340px, 72%); height: 490px; object-fit: cover; object-position: top;
  border-radius: 200px 200px 0 0; z-index: 2;
}
.hero-thumb {
  position: absolute; z-index: 3; width: 150px; height: 124px; object-fit: cover;
  border: 6px solid #fff; border-radius: 14px; background: #fff;
  box-shadow: 0 14px 28px rgba(10, 42, 122, .2); transition: transform .3s ease;
}
.hero-thumb:hover { transform: rotate(0deg) scale(1.04) !important; }
.t1 { top: 4%; left: 2%; transform: rotate(-8deg); }
.t2 { top: 12%; right: 6%; transform: rotate(7deg); }
.t3 { top: 48%; right: 0; transform: rotate(-5deg); }
.t4 { bottom: 8%; left: 3%; transform: rotate(8deg); width: 132px; height: 116px; }
.hero-curve { position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: 1; pointer-events: none; }
.hero-curve svg { width: 100%; height: 100%; display: block; }

/* ---------- Catégories et villes ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.cat-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  min-height: 124px; padding: 22px 14px; text-align: center;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-soft);
  color: var(--navy); font-weight: 500; font-size: .9rem; line-height: 1.35;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); background: #F8FAFF; border-color: #C9D8F5; }
.city-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.city {
  position: relative; isolation: isolate; height: 160px; overflow: hidden; background: linear-gradient(135deg, #0A2A7A, #4A79C9);
  border-radius: var(--radius); box-shadow: var(--shadow-soft); transition: transform .25s ease, box-shadow .25s ease;
}
.city-link { position: absolute; inset: 0; display: block; }
.city img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.city::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(10, 42, 122, 0) 35%, rgba(10, 42, 122, .88) 100%);
  pointer-events: none;
}
.city-name { position: absolute; left: 14px; bottom: 12px; z-index: 2; display: flex; align-items: center; gap: 6px; color: #fff; font-weight: 700; font-size: 1rem; }
.city-name .ico { width: 16px; height: 16px; }
.city-credit {
  position: absolute; top: 8px; right: 8px; z-index: 3; display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 7px; border-radius: 6px; background: rgba(10, 25, 55, .72); color: #fff; font-size: .625rem; line-height: 1.2;
}
.city-credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.city-credit a:hover { color: #FFCF91; }
.city:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.city:hover img { transform: scale(1.06); }

/* ---------- Cartes prestataires ---------- */
.pro-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pro-grid > .state-box { grid-column: 1 / -1; }
.pro-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.pro-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: #C9D8F5; }
.pro-media { position: relative; height: 150px; overflow: hidden; }
.pro-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.pro-card:hover .pro-media img { transform: scale(1.04); }
.badge {
  position: absolute; top: 12px; right: 12px; z-index: 1;
  background: var(--orange); color: #fff; font-size: .75rem; font-weight: 600;
  padding: 4px 14px; border-radius: 999px; box-shadow: 0 4px 10px rgba(245, 138, 11, .35);
}
.pro-body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 16px 18px 18px; }
.pro-name { font-size: 1.05rem; font-weight: 700; color: var(--navy); line-height: 1.3; }
.pro-name a:hover { color: var(--blue); }
.pro-job { font-size: .9rem; color: var(--gray); }
.rating { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: .875rem; margin-top: 2px; }
.rating .score { color: var(--orange-text); font-weight: 700; }
.rating .count { color: var(--gray); font-size: .8125rem; }
.loc { display: flex; align-items: center; gap: 6px; font-size: .8125rem; color: var(--gray); }
.loc .ico { width: 16px; height: 16px; color: var(--orange); }
.pro-actions { display: grid; gap: 10px; margin-top: auto; padding-top: 10px; }
.pro-actions .btn { padding: 11px 16px; font-size: .875rem; font-weight: 500; }
.card-tools { display: flex; gap: 8px; }
.icon-btn {
  flex: 1; height: 40px; border-radius: 999px; border: 1px solid var(--border); background: #fff; color: var(--blue);
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: .8125rem; font-weight: 500;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.icon-btn:hover { background: var(--bg-soft); border-color: #C9D8F5; transform: translateY(-2px); }
.icon-btn .ico { width: 16px; height: 16px; }
.icon-btn.wa { color: var(--green); }
.badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badges:empty { display: none; }
.tag { display: inline-flex; align-items: center; gap: 4px; font-size: .7rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; width: fit-content; }
.tag .ico { width: 12px; height: 12px; stroke-width: 2.4; }
.tag-verif { background: #E3F6EC; color: var(--green); }

/* ---------- Services et devis ---------- */
.dual { display: grid; grid-template-columns: 1.55fr 1fr; gap: 28px; align-items: stretch; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.svc-card {
  display: flex; align-items: center; gap: 14px; padding: 18px 16px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-soft);
  color: var(--navy); font-weight: 600; font-size: .9rem; line-height: 1.3;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.svc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: #C9D8F5; }
.svc-ico { width: 48px; height: 48px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; background: #E6EEFF; color: var(--blue); }
.svc-ico.or { background: #FFF1DF; color: var(--orange); }
.svc-ico .ico { width: 24px; height: 24px; }
.quote {
  position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: 18px; align-items: center;
  padding: 28px 30px; background: var(--bg-soft); border-radius: 18px;
}
.quote-art { width: 100%; height: auto; max-height: 240px; }
.quote h3 { font-size: 1.5rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.quote p { font-size: .9375rem; margin-bottom: 22px; }

/* ---------- Comment ça marche ---------- */
.steps { display: flex; align-items: flex-start; gap: 12px; }
.step { display: flex; align-items: flex-start; gap: 14px; flex: 1; min-width: 0; }
.step-num {
  width: 30px; height: 30px; flex-shrink: 0; margin-top: 4px; border-radius: 50%;
  background: var(--blue); color: #fff; font-weight: 700; font-size: .9rem;
  display: grid; place-items: center; box-shadow: 0 4px 10px rgba(11, 63, 184, .3);
}
.step-ico { width: 54px; height: 54px; color: var(--blue); stroke-width: 1.5; }
.step--or .step-ico { color: var(--orange); }
.step h3 { font-size: 1.05rem; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.step p { font-size: .875rem; line-height: 1.5; }
.step-arrow { align-self: center; color: #B9C8EA; flex-shrink: 0; }
.step-arrow .ico { width: 26px; height: 26px; }

/* ---------- Bandeau professionnels ---------- */
.pro-wrap { margin-top: 64px; }
.pro-banner {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px; align-items: center; padding: 40px 44px 40px 270px; color: #fff; border-radius: 24px;
}
.pro-banner-bg {
  position: absolute; inset: 0; z-index: 0; border-radius: 24px; overflow: hidden;
  background: linear-gradient(100deg, #0A2A7A 0%, #0B3FB8 100%);
}
.skyline { position: absolute; right: 0; bottom: 0; width: 55%; height: 100%; }
.pro-banner > *:not(.pro-banner-bg):not(.pro-woman) { position: relative; z-index: 1; }
.pro-woman {
  position: absolute; left: 24px; bottom: 0; z-index: 2; width: 215px; height: 262px;
  object-fit: cover; object-position: top; border-radius: 20px 20px 0 0;
}
.pro-banner h2 { color: var(--orange); font-size: clamp(1.4rem, 2.2vw, 1.75rem); font-weight: 700; margin-bottom: 8px; }
.pro-banner p { color: #fff; font-size: .9375rem; }
.pro-banner-col { padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, .2); }
.pro-banner-col h3 { color: #fff; font-size: .9375rem; font-weight: 600; margin-bottom: 14px; }
.pro-banner-col .sub { color: #D4E0FF; font-size: .8125rem; margin-top: 2px; }
.social { display: flex; gap: 10px; }
.social a {
  width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--blue);
  display: grid; place-items: center; transition: transform .2s ease, background .2s, color .2s;
}
.social a:hover { transform: translateY(-3px); background: var(--orange); color: #fff; }
.social .ico { width: 18px; height: 18px; }
.newsletter { display: flex; align-items: center; background: #fff; border-radius: 999px; padding: 4px 4px 4px 18px; margin-top: 12px; max-width: 320px; }
.newsletter:focus-within { box-shadow: 0 0 0 3px rgba(245, 138, 11, .5); }
.newsletter input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: .875rem; color: var(--navy); }
.newsletter input::placeholder { color: #6B7893; opacity: 1; }
.nl-btn {
  width: 40px; height: 40px; border-radius: 12px; background: var(--orange); color: #fff;
  display: grid; place-items: center; flex-shrink: 0; transition: background .2s, transform .2s;
}
.nl-btn:hover { background: var(--orange-dark); transform: translateX(2px); }
.nl-btn .ico { width: 18px; height: 18px; }
.form-status { min-height: 1.4em; font-size: .8125rem; color: #D4E0FF; margin-top: 8px; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--navy); color: #C9D6F2; padding: 52px 0 0; margin-top: 56px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-logo .logo-text strong { color: #fff; }
.footer-logo .logo-text small { color: #C9D6F2; }
.footer-logo p { font-size: .875rem; margin-top: 16px; max-width: 22em; }
.footer-grid h4 { color: #fff; font-size: .9375rem; font-weight: 600; margin-bottom: 14px; }
.footer-grid ul { display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { font-size: .875rem; transition: color .2s; }
.footer-grid a:hover { color: var(--orange); }
.footer-bottom {
  margin-top: 40px; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .14);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-size: .8125rem; color: #AFC0E6; flex-wrap: wrap;
}
.footer-bottom .sep { margin: 0 10px; opacity: .5; }
.flag { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 500; }
.flag svg { width: 26px; height: 18px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .2); }
.heart { color: var(--red); }

/* ---------- Annuaire ---------- */
.f-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.f-label { font-size: .8125rem; font-weight: 600; color: var(--navy); }
.f-input, .f-select, .f-textarea {
  width: 100%; min-height: 46px; padding: 0 14px; border-radius: 12px;
  border: 1px solid var(--border); background-color: #fff; color: var(--navy);
  font-size: .9rem; outline: none; transition: border-color .2s, box-shadow .2s;
}
.f-textarea { min-height: 120px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.f-input::placeholder, .f-textarea::placeholder { color: #8A96AE; opacity: 1; }
.f-input:focus, .f-select:focus, .f-textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(11, 63, 184, .12); }
.f-select {
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230B3FB8' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.f-select--pill { min-height: 40px; border-radius: 999px; }
.dir-toolbar {
  background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-soft);
  padding: 20px; margin: 26px 0 22px; display: grid; gap: 16px;
}
.dir-row { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 14px; }
.dir-row2 { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.toggles, .tools-right { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.inline-field { display: inline-flex; align-items: center; gap: 8px; }
.inline-field .f-select { width: auto; }
.toggle { position: relative; cursor: pointer; }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle span {
  display: inline-flex; align-items: center; padding: 9px 16px; border-radius: 999px;
  border: 1px solid var(--border); background: #fff; color: var(--navy); font-size: .8125rem; font-weight: 500;
  transition: background .2s, color .2s, border-color .2s;
}
.toggle:hover span { border-color: #C9D8F5; }
.toggle input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.toggle input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 3px; }
.results-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.dir-count { font-size: .9rem; color: var(--gray); }
.dir-count strong { color: var(--navy); }
.more-wrap { display: flex; justify-content: center; margin-top: 32px; }

/* ---------- Fiche prestataire ---------- */
.fiche-hero { padding: 28px 0 8px; }
.fiche-cover { position: relative; height: 320px; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-soft); }
.fiche-cover img { width: 100%; height: 100%; object-fit: cover; }
.fiche-cover .badge { top: 18px; right: 18px; }
.fiche-head { display: flex; flex-direction: column; gap: 8px; padding: 22px 0 0; }
.fiche-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -0.02em; }
.fiche-job { font-size: 1rem; color: var(--gray); }
.fiche-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; padding: 28px 0 56px; }
.fiche-main { display: flex; flex-direction: column; gap: 32px; min-width: 0; }
.fiche-aside { position: sticky; top: 104px; }
.block h2 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.block h2::before { content: ""; width: 4px; height: 18px; border-radius: 2px; background: var(--orange); }
.block p { font-size: .95rem; }
.price-list { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 6px 18px; }
.price-list li { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px dashed var(--border); font-size: .9rem; color: var(--navy); }
.price-list li:last-child { border-bottom: 0; }
.price-list strong { color: var(--orange-text); font-weight: 700; white-space: nowrap; }
.chips-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-row span { padding: 6px 14px; border-radius: 999px; background: var(--bg-soft); color: var(--blue); font-size: .8125rem; font-weight: 500; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.info-box { background: var(--bg-soft); border-radius: 12px; padding: 12px 14px; font-size: .875rem; }
.info-box small { display: block; color: var(--gray); font-size: .75rem; }
.info-box strong { color: var(--navy); font-weight: 600; }
.map-frame { width: 100%; height: 260px; border: 1px solid var(--border); border-radius: 14px; }
.review { padding: 16px 0; border-bottom: 1px solid var(--border); }
.review:last-child { border-bottom: 0; }
.review-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 6px; font-size: .9rem; color: var(--navy); }
.review-head .count { margin-left: auto; font-size: .75rem; color: #6B7893; }
.review p { font-size: .9rem; }
.review .reply { margin-top: 8px; padding: 10px 14px; background: var(--bg-soft); border-radius: 10px; font-size: .85rem; }
.stars { display: inline-flex; gap: 2px; align-items: center; }
.aside-card { background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-soft); padding: 24px; display: grid; gap: 12px; }
.aside-card h2 { font-size: 1.1rem; font-weight: 700; color: var(--navy); }
.aside-card .btn { width: 100%; }
.aside-note { font-size: .8125rem; color: var(--gray); }
.notice { display: flex; gap: 10px; align-items: flex-start; background: #FFF6EA; color: #8A4B00; border-radius: 12px; padding: 12px 14px; font-size: .8125rem; line-height: 1.5; }
.notice .ico { width: 18px; height: 18px; margin-top: 2px; color: var(--orange); }

/* ---------- États : chargement, erreur, vide ---------- */
.state-box {
  text-align: center; padding: 40px 24px; background: var(--bg-soft); border-radius: 18px; color: var(--gray);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.state-box h2, .state-box h3 { font-size: 1.05rem; color: var(--navy); }
.state-box .btn { margin-top: 8px; }
.state-error { background: #FDECEC; color: #8A1C1C; }
.state-error .ico { color: #C62828; width: 32px; height: 32px; }
.skeleton-card { height: 360px; border-radius: var(--radius); background: linear-gradient(90deg, #EEF2F9 25%, #F7F9FD 50%, #EEF2F9 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite linear; }
.skeleton-line { height: 120px; border-radius: 18px; background: linear-gradient(90deg, #EEF2F9 25%, #F7F9FD 50%, #EEF2F9 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite linear; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

@keyframes regSectionEnter {
  0% { opacity: 0; transform: perspective(800px) rotateX(20deg) translateZ(-80px) translateY(40px); }
  60% { transform: perspective(800px) rotateX(-5deg) translateZ(20px) translateY(-8px); }
  100% { opacity: 1; transform: perspective(800px) rotateX(0) translateZ(0) translateY(0); }
}

@keyframes regNumEnter {
  0% { opacity: 0; transform: perspective(600px) rotateY(-60deg) translateZ(-60px) scale(0.6); }
  50% { transform: perspective(600px) rotateY(15deg) translateZ(30px) scale(1.1); }
  100% { opacity: 1; transform: perspective(600px) rotateY(0) translateZ(0) scale(1); }
}

@keyframes fFieldEnter {
  0% { opacity: 0; transform: perspective(700px) rotateX(25deg) translateZ(-50px) translateY(30px); }
  60% { transform: perspective(700px) rotateX(-8deg) translateZ(15px) translateY(-6px); }
  100% { opacity: 1; transform: perspective(700px) rotateX(0) translateZ(0) translateY(0); }
}

@keyframes float3D {
  0%, 100% { transform: perspective(1000px) translateZ(0) rotateX(0) rotateY(0); }
  25% { transform: perspective(1000px) translateZ(12px) rotateX(2deg) rotateY(-1deg); }
  50% { transform: perspective(1000px) translateZ(0) rotateX(-1deg) rotateY(2deg); }
  75% { transform: perspective(1000px) translateZ(-8px) rotateX(1deg) rotateY(1deg); }
}

.reg-section {
  transform-style: preserve-3d;
  animation: regSectionEnter 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  opacity: 0;
}
.reg-section:nth-of-type(1) { animation-delay: 0.1s; }
.reg-section:nth-of-type(2) { animation-delay: 0.25s; }
.reg-section:nth-of-type(3) { animation-delay: 0.4s; }

.reg-num {
  display: inline-flex;
  transform-style: preserve-3d;
}

.f-field {
  transform-style: preserve-3d;
  animation: fFieldEnter 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  opacity: 0;
}
.f-field:nth-of-type(1) { animation-delay: 0.15s; }
.f-field:nth-of-type(2) { animation-delay: 0.2s; }
.f-field:nth-of-type(3) { animation-delay: 0.25s; }
.f-field:nth-of-type(4) { animation-delay: 0.3s; }
.f-field:nth-of-type(5) { animation-delay: 0.35s; }
.f-field:nth-of-type(6) { animation-delay: 0.4s; }
.f-field:nth-of-type(7) { animation-delay: 0.45s; }
.f-field:nth-of-type(8) { animation-delay: 0.5s; }
.f-field:nth-of-type(9) { animation-delay: 0.55s; }
.f-field:nth-of-type(10) { animation-delay: 0.6s; }

.reg-section:hover .reg-num {
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  .reg-section, .f-field {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ---------- Devis et formulaires ---------- */
.card-panel { background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-soft); padding: 28px; }
.target-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; background: var(--bg-soft); border-radius: 12px; padding: 12px 16px; margin-bottom: 22px; font-size: .9rem; color: var(--navy); }
.target-box a { color: var(--blue); font-weight: 600; font-size: .8125rem; text-decoration: underline; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.hint-text { font-size: .75rem; color: #6B7893; }
.form-error { color: #C62828; font-size: .8125rem; min-height: 1.2em; font-weight: 500; }
.form-actions { display: flex; justify-content: flex-end; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.file-drop {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 14px 16px;
  border: 1.5px dashed #B9C8EA; border-radius: 12px; background: #FAFCFF; cursor: pointer; font-size: .875rem; color: var(--navy);
}
.file-drop:hover { border-color: var(--blue); }
.file-drop input { font-size: .8125rem; max-width: 100%; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .8125rem; color: var(--gray); line-height: 1.5; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--blue); flex-shrink: 0; }
.check a { color: var(--blue); text-decoration: underline; }
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 300; transform: translate(-50%, 160%);
  background: var(--navy); color: #fff; padding: 14px 22px; border-radius: 999px;
  box-shadow: 0 16px 40px rgba(10, 42, 122, .3); font-size: .875rem; font-weight: 500;
  max-width: calc(100% - 32px); text-align: center; transition: transform .35s ease;
}
.toast.show { transform: translate(-50%, 0); }

/* ---------- Connexion ---------- */
.auth-card { max-width: 480px; margin: 0 auto; background: #fff; border: 1px solid var(--border); border-radius: 0; box-shadow: var(--shadow-soft); padding: 32px; }
.auth-title { font-size: 1.5rem; font-weight: 700; color: var(--navy); margin-bottom: 18px; text-align: center; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg-soft); border-radius: 999px; padding: 4px; margin-bottom: 20px; }
.tab { padding: 10px; border-radius: 999px; font-weight: 600; font-size: .875rem; color: var(--navy); transition: background .2s, color .2s; }
.tab[aria-selected="true"] { background: #fff; color: var(--blue); box-shadow: 0 4px 12px rgba(10, 42, 122, .12); }
.phone-field { display: flex; align-items: center; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: #fff; transition: border-color .2s, box-shadow .2s; }
.phone-field:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(11, 63, 184, .12); }
.phone-field .pre { padding: 0 14px; height: 46px; display: flex; align-items: center; background: var(--bg-soft); color: var(--navy); font-weight: 600; font-size: .875rem; border-right: 1px solid var(--border); }
.phone-field input { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border: 0; outline: 0; background: transparent; font-size: .95rem; color: var(--navy); }
.otp { display: flex; justify-content: center; gap: 10px; margin: 6px 0 4px; }
.otp input { width: 48px; height: 56px; text-align: center; font-size: 1.4rem; font-weight: 700; color: var(--navy); border: 1px solid var(--border); border-radius: 12px; outline: none; transition: border-color .2s, box-shadow .2s; }
.otp input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(11, 63, 184, .12); }
.otp-txt { text-align: center; margin-bottom: 14px; font-size: .9rem; }
.hint { font-size: .8125rem; background: #FFF6EA; color: #8A4B00; border-radius: 12px; padding: 10px 14px; margin: 12px 0; line-height: 1.5; }
.auth-foot { font-size: .75rem; color: #7A869E; text-align: center; margin-top: 12px; }
.auth-links { display: flex; justify-content: space-between; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.auth-switch { text-align: center; margin-top: 18px; }
.auth-forgot { text-align: right; margin: -8px 0 0; }
.auth-card form { display: grid; gap: 14px; }

/* ---------- Mes demandes ---------- */
.req-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.req-list > .state-box { grid-column: 1 / -1; }
.req-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-soft); padding: 22px; display: flex; flex-direction: column; gap: 14px; transition: transform .25s ease, box-shadow .25s ease; }
.req-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.req-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.req-head h3 { font-size: 1.02rem; font-weight: 700; color: var(--navy); }
.req-head small { font-size: .75rem; color: #6B7893; }
.req-desc { font-size: .875rem; line-height: 1.55; }
.req-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .8125rem; color: var(--gray); }
.req-meta span { display: inline-flex; align-items: center; gap: 6px; }
.req-meta .ico { width: 15px; height: 15px; color: var(--blue); }
.status { font-size: .75rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
.st-envoyee { background: #E6EEFF; color: var(--blue); }
.st-vue { background: #EEE9FF; color: #5B3FC4; }
.st-repondue { background: #FFF1DF; color: #B45F00; }
.st-acceptee { background: #E3F6EC; color: var(--green); }
.st-refusee { background: #FDE8E8; color: #B42318; }
.st-cloturee { background: #EDF0F5; color: var(--gray); }
.st-expiree { background: #F3F4F6; color: #6B7280; }
.progress { height: 6px; border-radius: 999px; background: #E9EEF8; overflow: hidden; }
.progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--orange)); transition: width .4s ease; }
.progress-labels { display: flex; justify-content: space-between; gap: 4px; font-size: .6875rem; color: var(--gray); margin-top: 6px; }
.offer { background: var(--bg-soft); border-radius: 12px; padding: 14px; display: grid; gap: 10px; }
.offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; font-size: .8125rem; }
.offer-grid strong { display: block; color: var(--navy); font-size: 1rem; }
.offer-msg { font-size: .8125rem; }
.req-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.req-actions .btn { padding: 9px 16px; font-size: .8125rem; }
.review-form { display: flex; flex-direction: column; gap: 10px; padding-top: 14px; border-top: 1px dashed var(--border); }
.stars-input { display: flex; gap: 4px; }
.stars-input button { color: #D5DCE8; padding: 2px; border-radius: 6px; transition: color .15s, transform .15s; }
.stars-input button.on { color: var(--orange); }
.stars-input button:hover { transform: scale(1.12); }
.stars-input .ico { fill: currentColor; stroke: none; width: 24px; height: 24px; }

/* ---------- Pages juridiques ---------- */
.prose { max-width: 820px; }
.prose h2 { font-size: 1.25rem; margin: 40px 0 12px; }
.prose h3 { font-size: 1rem; margin: 22px 0 8px; }
.prose p, .prose li { font-size: .95rem; margin-bottom: 10px; }
.prose ul { list-style: disc; padding-left: 22px; }
.prose a { color: var(--blue); text-decoration: underline; }

/* ---------- Navigation : descriptions (visibles dans le menu mobile) ---------- */
/* Navigation : libellés seuls, sans description au survol. */


/* ---------- Pages Tarifs et À propos ---------- */
.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.offer-card {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-soft);
  padding: 28px 26px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.offer-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.offer-card.featured { border: 2px solid var(--orange); }
.offer-tag {
  position: absolute; top: -12px; left: 26px; background: var(--orange); color: #fff;
  font-size: .75rem; font-weight: 600; padding: 4px 14px; border-radius: 999px;
}
.offer-card h2 { font-size: 1.25rem; font-weight: 700; color: var(--navy); }
.offer-price { font-size: 1.5rem; font-weight: 800; color: var(--navy); }
.offer-price small { font-size: .8125rem; font-weight: 500; color: var(--gray); }
.offer-card ul { display: flex; flex-direction: column; gap: 10px; font-size: .9rem; }
.offer-card li { display: flex; gap: 10px; align-items: flex-start; }
.offer-card li .ico { width: 18px; height: 18px; color: var(--green); margin-top: 3px; stroke-width: 2.2; }
.offer-card .btn { margin-top: auto; }
.steps-list { counter-reset: step; display: grid; gap: 14px; margin: 16px 0; }
.steps-list li { counter-increment: step; display: flex; gap: 14px; align-items: flex-start; }
.steps-list li::before {
  content: counter(step); width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%;
  background: var(--blue); color: #fff; font-weight: 700; font-size: .9rem; display: grid; place-items: center;
}
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 18px 0 8px; }
.value-card { background: var(--bg-soft); border-radius: 14px; padding: 20px 22px; }
.value-card h3 { font-size: 1rem; margin-bottom: 6px; }
.value-card p { font-size: .9rem; }
.page-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* ---------- Inscription : choix du profil et fiche prestataire ---------- */
.auth-card { max-width: 640px; }
.auth-sub { text-align: center; font-size: .9rem; margin: -8px 0 20px; }
.role-fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.role-fieldset legend { margin-bottom: 10px; }
.radio-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.radio-card { position: relative; display: block; cursor: pointer; }
.radio-card input { position: absolute; opacity: 0; pointer-events: none; }
.radio-box {
  display: block; height: 100%; border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.radio-box strong { display: block; color: var(--navy); font-size: .9rem; font-weight: 600; }
.radio-box small { display: block; font-size: .75rem; color: var(--gray); line-height: 1.4; margin-top: 2px; }
.radio-card:hover .radio-box { border-color: #C9D8F5; }
.radio-card input:checked + .radio-box { border-color: var(--blue); background: #F4F8FF; box-shadow: 0 0 0 3px rgba(11, 63, 184, .12); }
.radio-card input:focus-visible + .radio-box { outline: 3px solid var(--orange); outline-offset: 2px; }
.prov-block { background: var(--bg-soft); border-radius: 14px; padding: 18px; display: grid; gap: 12px; }
.prov-title { font-size: .9rem; font-weight: 600; color: var(--navy); }
.prov-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.prov-grid .full { grid-column: 1 / -1; }
.prov-block .hint { margin: 0; background: #fff; }

/* Contact du client dans une demande reçue (nom + appeler / WhatsApp). */
.req-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 10px 0 2px; }
.req-contact .req-client { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--navy); }
.req-contact .ico { width: 16px; height: 16px; }

/* Densité de la carte d'inscription (prestataire) : moins d'espace vertical. */
.auth-card form { gap: 10px; }
.prov-block { padding: 14px; gap: 10px; }
.prov-grid { gap: 10px; }
.auth-done { text-align: center; padding: 28px 12px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.auth-done .ico { width: 44px; height: 44px; color: var(--green); }

/* ---------- Connexion / inscription : le panneau de gauche (choix du rôle) n'apparaît qu'à l'inscription ---------- */
.auth-card.auth-split {
  max-width: 980px; padding: 0; overflow: hidden;
  display: grid; grid-template-columns: 5fr 6fr; align-items: stretch;
}
.auth-aside {
  background: linear-gradient(160deg, #0A2A7A 0%, #0B3FB8 100%); color: #fff;
  padding: 40px 36px; display: flex; flex-direction: column; justify-content: center; gap: 24px;
}
.auth-aside[hidden] { display: none; }
.auth-aside .f-label { color: #fff; }
.auth-aside .radio-cards { grid-template-columns: 1fr; gap: 10px; }
/* Cartes du choix : fond orange, titre en bleu, description en blanc (lisible comme les boutons de la marque). */
.auth-aside .radio-box { background: var(--orange); border: 2px solid var(--orange); }
.auth-aside .radio-box strong { color: var(--navy); }
.auth-aside .radio-box small { color: #fff; }
.auth-aside .radio-card:hover .radio-box { filter: brightness(1.06); }
.auth-aside .radio-card input:checked + .radio-box { background: var(--orange); border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255, 255, 255, .6); }
.auth-aside .radio-card input:focus-visible + .radio-box { outline-color: #fff; }
.auth-main { min-width: 0; }
/* En mode deux colonnes, la colonne du formulaire garde son espace : les champs ne touchent pas le panneau bleu. */
.auth-card.auth-split .auth-main { padding: 34px 38px; }
@media (max-width: 860px) {
  .auth-card { padding: 24px 20px; }
  .auth-card.auth-split { grid-template-columns: 1fr; }
  .auth-card.auth-split .auth-main { padding: 26px 22px; }
  .auth-aside { padding: 28px 24px; }
}

/* ---------- Tarifs détaillés et page Comment ça marche (v0.7) ---------- */
.offer-kicker { font-size: .8125rem; font-weight: 600; color: var(--orange-text); margin-top: -8px; }
.offer-card li.off { color: #8A96AE; }
.offer-card li.off .ico { color: #B4BDCD; }
.offer-note {
  margin-top: 26px; display: flex; gap: 12px; align-items: flex-start;
  background: #FFF6EA; color: #8A4B00; border-radius: 14px; padding: 16px 18px; font-size: .875rem; line-height: 1.5;
}
.offer-note .ico { color: var(--orange); width: 20px; height: 20px; margin-top: 2px; }

.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.how-card {
  background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-soft);
  padding: 28px 26px; display: flex; flex-direction: column; gap: 14px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.how-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.how-head { display: flex; align-items: center; justify-content: space-between; }
.how-num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff;
  font-weight: 700; font-size: 1.05rem; display: grid; place-items: center; box-shadow: 0 6px 14px rgba(11, 63, 184, .3);
}
.how-icon { width: 56px; height: 56px; border-radius: 16px; background: #E6EEFF; color: var(--blue); display: grid; place-items: center; }
.how-icon .ico { width: 28px; height: 28px; }
.how-card.or .how-num { background: var(--orange); color: #fff; box-shadow: 0 6px 14px rgba(245, 138, 11, .3); }
.how-card.or .how-icon { background: #FFF1DF; color: var(--orange); }
.how-card h2 { font-size: 1.2rem; font-weight: 700; color: var(--navy); }
.how-card ul { display: grid; gap: 10px; font-size: .9rem; }
.how-card li { display: flex; gap: 10px; align-items: flex-start; }
.how-card li::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); margin-top: .55em; flex-shrink: 0;
}
.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 26px; }
.split-2 h2 { font-size: 1.15rem; font-weight: 700; color: var(--navy); margin-bottom: 14px; }
.split-2 ul { display: grid; gap: 10px; font-size: .9rem; }
.split-2 li { display: flex; gap: 10px; align-items: flex-start; }
.split-2 li .ico { width: 18px; height: 18px; color: var(--green); margin-top: 3px; stroke-width: 2.2; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 34px; }
@media (max-width: 960px) {
  .how-grid, .split-2 { grid-template-columns: 1fr; }
  .offers { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
}

/* ---------- Paiement et formules (v0.8) ---------- */
.plan-msg { margin-top: 18px; font-size: .9rem; border-radius: 12px; padding: 12px 16px; background: var(--bg-soft); color: var(--navy); }
.plan-msg.warn { background: #FFF6EA; color: #8A4B00; }
.plan-msg.error { background: #FDECEC; color: #8A1C1C; }
.plan-msg.ok { background: #E3F6EC; color: var(--green); }
.secure-note { display: flex; gap: 10px; align-items: center; justify-content: center; margin-top: 16px; font-size: .8125rem; color: var(--gray); }
.secure-note .ico { width: 16px; height: 16px; color: var(--green); }
.retour { max-width: 560px; margin: 0 auto; text-align: center; padding: 40px 28px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.retour .big { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; }
.retour .big .ico { width: 30px; height: 30px; }
.retour.ok .big { background: #E3F6EC; color: var(--green); }
.retour.wait .big { background: #E6EEFF; color: var(--blue); }
.retour.ko .big { background: #FDECEC; color: #C62828; }
.spinner { width: 28px; height: 28px; border: 3px solid #D5E3FF; border-top-color: var(--blue); border-radius: 50%; animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Page À propos (v0.8) ---------- */
.about-hero {
  position: relative; overflow: hidden; border-radius: 24px; padding: 48px 44px; color: #fff;
  background: linear-gradient(120deg, #0A2A7A 0%, #0B3FB8 65%, #2A6BE0 100%);
}
.about-hero::after {
  content: ""; position: absolute; right: -90px; bottom: -130px; width: 340px; height: 340px;
  border-radius: 50%; background: rgba(245, 138, 11, .22);
}
.about-hero .kicker { position: relative; z-index: 1; color: #FFB45C; font-weight: 600; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.about-hero h1 { position: relative; z-index: 1; color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 800; letter-spacing: -.02em; max-width: 18em; margin-top: 8px; }
.about-hero p:not(.kicker) { position: relative; z-index: 1; color: #DCE6FF; max-width: 40em; margin-top: 14px; font-size: 1.02rem; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 26px 0 8px; }
.fact { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px; box-shadow: var(--shadow-soft); }
.fact strong { display: block; font-size: 1.5rem; font-weight: 800; color: var(--navy); line-height: 1.15; }
.fact span { font-size: .85rem; color: var(--gray); }
.about-block { padding: 48px 0 0; }
.about-block h2 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); font-weight: 700; color: var(--navy); margin-bottom: 12px; display: flex; align-items: center; gap: 14px; }
.about-block h2::before { content: ""; width: 44px; height: 4px; border-radius: 4px; background: var(--orange); flex-shrink: 0; }
.about-block .lead { max-width: 48em; font-size: 1rem; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 24px; }
.info-card {
  background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-soft);
  padding: 24px; display: flex; flex-direction: column; gap: 10px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.badge-ico { width: 48px; height: 48px; border-radius: 14px; background: #E6EEFF; color: var(--blue); display: grid; place-items: center; }
.badge-ico.or { background: #FFF1DF; color: var(--orange); }
.badge-ico .ico { width: 24px; height: 24px; }
.info-card h3 { font-size: 1.02rem; font-weight: 700; color: var(--navy); }
.info-card p { font-size: .9rem; }
.trust { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }
.trust-item { display: flex; gap: 14px; align-items: flex-start; background: var(--bg-soft); border-radius: 14px; padding: 18px 20px; }
.trust-item .ico { color: var(--green); width: 22px; height: 22px; margin-top: 2px; stroke-width: 2; }
.trust-item strong { color: var(--navy); display: block; font-size: .95rem; margin-bottom: 2px; }
.trust-item p { font-size: .875rem; }
.audience { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 24px; }
.audience .card-panel { display: flex; flex-direction: column; gap: 6px; }
.audience h3 { font-size: 1.15rem; color: var(--navy); }
.audience ul { display: grid; gap: 10px; margin: 14px 0 22px; font-size: .9rem; }
.audience li { display: flex; gap: 10px; align-items: flex-start; }
.audience li .ico { width: 18px; height: 18px; color: var(--green); stroke-width: 2.2; margin-top: 3px; }
.where { background: var(--bg-soft); border-radius: 18px; padding: 30px 32px; margin-top: 24px; display: grid; grid-template-columns: 1fr 1.3fr; gap: 26px; align-items: center; }
.where p { font-size: .95rem; }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-list span { background: #fff; color: var(--navy); border: 1px solid var(--border); border-radius: 999px; padding: 6px 13px; font-size: .8125rem; font-weight: 500; }
.faq { display: grid; gap: 12px; margin-top: 24px; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 16px 20px; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--navy); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; color: var(--orange); line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 10px; font-size: .9rem; }
.faq details a { color: var(--blue); text-decoration: underline; }
.about-cta {
  margin-top: 48px; background: linear-gradient(120deg, #0A2A7A, #0B3FB8); border-radius: 20px;
  padding: 36px 40px; color: #fff; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px;
}
.about-cta h2 { color: #fff; font-size: 1.4rem; font-weight: 700; }
.about-cta p { color: #DCE6FF; font-size: .95rem; margin-top: 4px; }
.about-cta .btn-outline { background: transparent; color: #fff; border-color: #fff; }
.about-cta .btn-outline:hover { background: rgba(255, 255, 255, .12); }
@media (max-width: 1100px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .cards-3, .trust, .audience, .where { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .about-hero { padding: 32px 22px; }
  .cards-4 { grid-template-columns: 1fr; }
  .about-cta { padding: 28px 22px; }
}

/* ---------- Annuaire : filtres latéraux et résultats côte à côte ---------- */
/* Espace sous l’en-tête avant « Catégories populaires », sous le bouton du héros. */
#categories { padding-top: 72px; }
@media (max-width: 720px) { #categories { padding-top: 48px; } }

.ann-title { margin: 0 0 14px; }
.ann-form { margin: 0; }
.ann-layout { display: grid; grid-template-columns: minmax(230px, 270px) minmax(0, 1fr); gap: 24px; align-items: start; }
.ann-side {
  position: sticky; top: calc(var(--sticky-top, var(--header-h, 80px)) + 16px); align-self: start;
  max-height: calc(100vh - var(--sticky-top, var(--header-h, 80px)) - 32px); overflow-y: auto;
  background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-soft); padding: 18px;
}
.ann-side-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.ann-side-head strong { font-size: 1rem; font-weight: 700; color: var(--navy); }
.ann-toolbar { display: grid; gap: 14px; }
.ann-toolbar .f-input, .ann-toolbar .f-select { min-height: 44px; }
.ann-checks { display: grid; gap: 10px; min-width: 0; }
.ann-checks .toggle span { padding: 7px 14px; }
.ann-fold { display: none; }
.ann-main { min-width: 0; }
.ann-head {
  position: sticky; top: var(--sticky-top, var(--header-h, 80px)); z-index: 30; background: #fff;
  margin: 0 0 6px; padding: 8px 0 12px; border-bottom: 1px solid var(--border);
  box-shadow: 0 12px 16px -14px rgba(10, 42, 122, .35);
}
.ds .ann-head { background: #F3F6FC; }
.ann-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin: 0; padding: 0; border: 0;
}
.ann-bar .dir-count { margin: 0; }
.ann-bar .inline-field { display: inline-flex; align-items: center; gap: 8px; }
.ann-bar .f-select--pill { width: auto; min-width: 190px; min-height: 40px; }
.ann-scroll { flex: none; min-height: 0; overflow: visible; padding: 18px 0 0; }
.ann-scroll .pager { margin-top: 28px; }
.ann-grid { grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 22px; margin: 0; }
@media (max-width: 900px) {
  .ann-layout { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .ann-side { position: static; max-height: none; overflow: visible; padding: 14px 16px; }
  .ann-toolbar { display: none; margin-top: 14px; }
  .ann-side.is-open .ann-toolbar { display: grid; }
  .ann-head { position: static; padding: 0 0 12px; box-shadow: none; }
  .ann-fold {
    display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 16px;
    border-radius: 999px; border: 1px solid var(--blue); background: #fff; color: var(--blue);
    font: inherit; font-weight: 600; font-size: .85rem; cursor: pointer;
  }
  .ann-bar .f-select--pill { min-width: 160px; }
}

/* ---------- Fiches prestataires : cartes régulières et fiche détaillée (v0.17.0) ---------- */
/* Cartes : même hauteur, image fixe, nom sur une ligne, contacts alignés en bas. */
.ann-grid, .ann-grid.is-grid { grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 22px; }
.pro-card { border-radius: 16px; min-width: 0; }
.pro-media { height: 172px; background: #EEF2F9; }
.pro-media img { object-position: center; }
.pro-media .badge { top: 12px; right: 12px; font-size: .72rem; padding: 4px 12px; }
.pro-body { padding: 16px 18px 18px; gap: 8px; min-width: 0; }
.pro-body .tag-verif { margin-bottom: 2px; }
.pro-name { font-size: 1.05rem; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pro-job { font-size: .88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pro-body .rating { margin-top: 0; font-size: .86rem; }
.pro-body .loc { font-size: .84rem; min-width: 0; }
.pro-body .loc span, .pro-body .loc { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pro-actions { margin-top: auto; padding-top: 14px; gap: 10px; }
.pro-actions .btn { min-height: 42px; }
.card-tools { gap: 8px; }
.card-tools .icon-btn { height: 40px; min-width: 0; font-size: .82rem; }
@media (max-width: 420px) {
  .card-tools { flex-direction: column; }
}

/* Fiche détaillée : bandeau, titre lisible, colonnes alignées. */
.fiche-hero { padding: 24px 0 0; }
.fiche-cover { height: 300px; border-radius: 20px; }
.fiche-cover::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 42, 122, 0) 55%, rgba(10, 42, 122, .35) 100%);
  pointer-events: none;
}
.fiche-cover .badge { z-index: 2; top: 18px; right: 18px; }
.fiche-head { padding: 20px 0 0; gap: 6px; }
.fiche-head .tag { margin-bottom: 2px; }
.fiche-title { font-size: clamp(1.6rem, 2.8vw, 2.2rem); line-height: 1.2; }
.fiche-job { font-size: 1rem; }
.fiche-head .rating { font-size: .95rem; margin-top: 2px; }
.fiche-head .loc { font-size: .92rem; }
.fiche-layout { padding: 26px 0 56px; gap: 36px; grid-template-columns: minmax(0, 1fr) 340px; }
.fiche-main { gap: 26px; }
.fiche-main .block { background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-soft); padding: 22px; }
.fiche-main .block > p { color: var(--gray); line-height: 1.7; }
.fiche-main .block h2 { margin-bottom: 14px; }
.fiche-main .price-list { border: 0; padding: 0; background: none; }
.fiche-main .price-list li { padding: 12px 0; }
.fiche-aside { top: calc(var(--sticky-top, 81px) + 16px); }
.fiche-aside .aside-card { box-shadow: var(--shadow-hover); border-radius: 18px; }
.fiche-aside .aside-card h2 { font-size: 1.05rem; }
.map-frame { height: 240px; }
@media (max-width: 1100px) {
  .fiche-layout { grid-template-columns: minmax(0, 1fr); }
  .fiche-aside { position: static; }
}
@media (max-width: 720px) {
  .fiche-cover { height: 210px; }
  .fiche-main .block { padding: 18px; }
}

/* ---------- Page Nous contacter (v0.15.1) ---------- */
.contact-list { display: grid; gap: 14px; margin: 26px 0 24px; }
.contact-card {
  display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--border);
  border-radius: 16px; box-shadow: var(--shadow-soft); padding: 18px 20px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.contact-ico { width: 52px; height: 52px; border-radius: 16px; background: #E6EEFF; color: var(--blue); display: grid; place-items: center; flex-shrink: 0; }
.contact-ico .ico { width: 24px; height: 24px; }
.contact-body { flex: 1; min-width: 0; }
.contact-body h3 { font-size: .85rem; font-weight: 600; color: #6B7893; }
.contact-body p { font-size: 1.02rem; font-weight: 600; color: var(--navy); word-break: break-word; }
.contact-act { flex-shrink: 0; }
.contact-empty {
  display: grid; justify-items: center; gap: 10px; text-align: center; margin: 26px 0 24px;
  padding: 30px 22px; background: var(--bg-soft); border-radius: 16px; color: var(--gray);
}
.contact-empty .ico { width: 30px; height: 30px; color: var(--blue); }
@media (max-width: 560px) {
  .contact-card { flex-wrap: wrap; }
  .contact-act { width: 100%; }
  .contact-act .btn { width: 100%; }
}

.ann-h2 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); font-weight: 800; color: var(--navy); letter-spacing: -.02em; margin-bottom: 4px; }


.offer-list { display: grid; gap: 10px; }
.offer-row {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) auto auto; gap: 14px; align-items: center;
  background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px; box-shadow: var(--shadow-soft);
}
.offer-row .ds-row-ico { width: 44px; height: 44px; }
.or-main { min-width: 0; }
.or-main strong { display: block; font-size: .95rem; color: var(--navy); }
.or-main small { display: block; font-size: .78rem; color: #6B7893; margin-top: 2px; }
.or-msg {
  font-size: .82rem; color: var(--gray); margin-top: 6px; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.or-price { text-align: right; white-space: nowrap; }
.or-price strong { display: block; color: var(--orange-text); font-size: 1.05rem; }
.or-price small { font-size: .78rem; color: #6B7893; }
.or-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.or-actions .btn { padding: 8px 14px; font-size: .8rem; }
@media (max-width: 760px) {
  .offer-row { grid-template-columns: 40px minmax(0, 1fr); }
  .offer-row .ds-row-ico { width: 40px; height: 40px; }
  .or-price { text-align: left; grid-column: 2; }
  .or-actions { grid-column: 1 / -1; align-items: stretch; flex-direction: row; flex-wrap: wrap; }
  .or-actions .btn { flex: 1 1 140px; }
}

.pf-hero {
  display: flex; align-items: center; gap: 18px; background: #fff; border: 1px solid var(--border);
  border-radius: 16px; box-shadow: var(--shadow-soft); padding: 22px;
}
.pf-avatar {
  width: 72px; height: 72px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--orange)); color: #fff; font-weight: 800; font-size: 1.4rem;
}
.pf-hero h2 { font-size: 1.3rem; font-weight: 800; color: var(--navy); }
.pf-hero p { color: var(--gray); font-size: .9rem; }
.pf-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.pf-chip { font-size: .75rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; background: var(--bg-soft); color: var(--blue); }
.pf-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.pf-stat { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px; }
.pf-stat strong { display: block; font-size: 1.35rem; font-weight: 800; color: var(--navy); }
.pf-stat span { font-size: .8rem; color: var(--gray); }
.pf-form { display: grid; gap: 14px; }
.pf-form .hint-text { display: block; margin-top: 4px; }
.pf-ro .f-input { background: #F5F7FB; color: #6B7893; }
@media (max-width: 960px) { .pf-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Accès de test (développement uniquement, v0.9.4) ---------- */



/* ---------- Connexion : diagnostic serveur et comptes de démonstration (v0.9.1) ---------- */
.server-notice { background: #FDECEC; color: #8A1C1C; border-radius: 12px; padding: 12px 14px; font-size: .85rem; line-height: 1.5; margin-bottom: 16px; }
.demo-box { background: var(--bg-soft); border-radius: 14px; padding: 16px 18px; margin-bottom: 18px; display: grid; gap: 10px; }
.demo-title { font-size: .9rem; font-weight: 600; color: var(--navy); }
.demo-box .hint { margin: 0; background: #fff; }
.demo-list { display: grid; gap: 8px; }
.demo-btn { flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 16px; text-align: left; border-radius: 12px; }
.demo-btn span { font-size: .75rem; font-weight: 400; color: #6B7893; }

/* ---------- Profils par formule, espaces prestataire et administration (v0.9) ---------- */
.badge-pro { background: var(--blue); box-shadow: 0 4px 10px rgba(11, 63, 184, .35); }
.badge-plan { display: inline-block; font-size: .75rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; color: #fff; margin-right: 8px; }
.badge-plan.gratuit { background: #8A96AE; }
.badge-plan.premium { background: var(--orange); }
.badge-plan.premium { color: #fff; }
.badge-plan.pro { background: var(--blue); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery figure { margin: 0; border-radius: 12px; overflow: hidden; background: var(--bg-soft); aspect-ratio: 4 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.kicker-sm { font-size: .8rem; font-weight: 600; color: var(--orange-text); text-transform: uppercase; letter-spacing: .06em; }
.esp-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin: 24px 0 18px; }
.esp-head h1 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.esp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.esp-card, .esp-block {
  background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-soft); padding: 24px;
}
.esp-card { display: flex; flex-direction: column; gap: 12px; }
.esp-block { margin-top: 24px; }
.esp-card h2, .esp-block h2 { font-size: 1.05rem; font-weight: 700; color: var(--navy); }
.esp-card.locked, .esp-block.locked { background: #F7F9FD; border-style: dashed; }
.esp-plan { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.meter { display: grid; gap: 6px; }
.meter-head { display: flex; justify-content: space-between; font-size: .85rem; color: var(--navy); }
.meter.over .meter-head strong { color: #C62828; }
.feature-list { display: grid; gap: 8px; font-size: .875rem; }
.feature-list li { display: flex; gap: 10px; align-items: center; }
.feature-list li .ico { width: 18px; height: 18px; color: var(--green); stroke-width: 2.2; }
.feature-list li.off { color: #8A96AE; }
.feature-list li.off .ico { color: #B4BDCD; }
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.stat-box { background: var(--bg-soft); border-radius: 14px; padding: 14px 16px; }
.stat-box strong { display: block; font-size: 1.4rem; font-weight: 800; color: var(--navy); }
.stat-box span { font-size: .8rem; color: var(--gray); }
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--border); border-radius: 14px; }
.tbl { width: 100%; border-collapse: collapse; font-size: .85rem; }
.tbl th, .tbl td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.tbl th { background: var(--bg-soft); color: var(--navy); font-weight: 600; white-space: nowrap; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .act { white-space: nowrap; }
.tbl .act .btn { margin: 2px 6px 2px 0; }
.admin-tabs { display: flex; flex-wrap: wrap; gap: 6px; border-radius: 16px; background: var(--bg-soft); padding: 6px; margin-bottom: 20px; }
.admin-tabs .tab { flex: 1 1 auto; white-space: nowrap; padding: 10px 14px; background: transparent; }
.admin-tabs .tab[aria-selected="true"] { background: #fff; }
.admin-filter { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; flex-wrap: wrap; }
.admin-filter .f-select { width: auto; min-width: 200px; }
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.kpi-grid.todo { margin-top: 16px; }
.kpi { background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-soft); padding: 20px; }
.kpi strong { display: block; font-size: 1.6rem; font-weight: 800; color: var(--navy); }
.kpi span { font-size: .85rem; color: var(--gray); }
.todo { margin-top: 18px; }
@media (max-width: 960px) {
  .esp-grid { grid-template-columns: 1fr; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .kpi-grid, .stat-grid { grid-template-columns: 1fr; }
}

/* ---------- Espaces : tableaux de bord avec menu latéral (v0.10.0) ---------- */
.dash { min-height: 100vh; display: grid; grid-template-columns: 252px minmax(0, 1fr); background: #F5F8FF; }
.dash-side {
  position: sticky; top: 0; height: 100vh; overflow-y: auto; z-index: 60;
  background: linear-gradient(180deg, #0A2A7A 0%, #0B3FB8 100%); color: #DCE6FF;
  display: flex; flex-direction: column; gap: 18px; padding: 20px 14px;
}
.dash-brand { display: flex; align-items: center; gap: 10px; color: #fff; padding: 6px 8px; border-radius: 12px; }
.dash-brand .logo-mark { width: 40px; height: 40px; flex-shrink: 0; background: #fff; border-radius: 10px; padding: 4px; box-sizing: border-box; }
.dash-brand strong { display: block; font-size: 1.2rem; font-weight: 800; line-height: 1.1; }
.dash-brand small { display: block; font-size: .72rem; font-weight: 500; color: #B9CBF5; }
.dash-nav { display: grid; gap: 4px; }
.dash-nav a {
  position: relative; display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px;
  color: #DCE6FF; font-size: .92rem; font-weight: 500; transition: background .2s, color .2s;
}
.dash-nav a .ico { width: 20px; height: 20px; }
.dash-nav a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.dash-nav a[aria-current="page"] { background: #fff; color: var(--navy); font-weight: 600; box-shadow: 0 8px 18px rgba(0, 0, 0, .12); }
.dash-nav a[aria-current="page"] .ico { color: var(--orange); }
.dash-nav a[aria-current="page"]::before {
  content: ""; position: absolute; left: -14px; top: 10px; bottom: 10px; width: 4px; border-radius: 4px; background: var(--orange);
}
.dash-side-foot { margin-top: auto; display: grid; gap: 4px; border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 14px; }
.dash-side-foot a, .dash-side-foot button {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border: 0; border-radius: 12px;
  background: none; color: #DCE6FF; font: inherit; font-size: .88rem; text-align: left; cursor: pointer;
}
.dash-side-foot a:hover, .dash-side-foot button:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.dash-side-foot .ico { width: 18px; height: 18px; }

.dash-main { min-width: 0; display: flex; flex-direction: column; }
.dash-top {
  position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 16px; padding: 14px 28px;
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--border);
}
.dash-top-title { min-width: 0; flex: 1; }
.dash-top-title h1 { font-size: 1.35rem; font-weight: 700; color: var(--navy); line-height: 1.2; }
.dash-burger {
  display: none; width: 42px; height: 42px; border-radius: 12px; align-items: center; justify-content: center;
  background: var(--bg-soft); color: var(--navy); flex-shrink: 0;
}
.dash-burger .ico { width: 22px; height: 22px; }
.dash-user { display: flex; align-items: center; gap: 10px; font-size: .82rem; }
.dash-user strong { display: block; font-weight: 600; color: var(--navy); }
.dash-user small { color: #6B7893; }
.dash-avatar {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue), var(--orange)); color: #fff; font-weight: 700; font-size: .85rem;
}
.dash-content { padding: 26px 28px 56px; outline: none; }
.dash-overlay { position: fixed; inset: 0; z-index: 55; background: rgba(10, 42, 122, .45); }

.dash-sec { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.dash-sec h2 { font-size: 1.1rem; font-weight: 700; color: var(--navy); }
.dash-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 22px; }
.dash-kpi {
  display: flex; align-items: center; gap: 14px; padding: 18px; background: #fff;
  border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-soft);
}
.dash-kpi-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: #E6EEFF; color: var(--blue); flex-shrink: 0; }
.dash-kpi-ico.orange { background: #FFF1DF; color: var(--orange); }
.dash-kpi-ico.green { background: #E3F6EC; color: var(--green); }
.dash-kpi-ico.navy { background: #E2E8F5; color: var(--navy); }
.dash-kpi-ico .ico { width: 22px; height: 22px; }
.dash-kpi strong { display: block; font-size: 1.5rem; font-weight: 800; line-height: 1.1; color: var(--navy); }
.dash-kpi span { font-size: .8rem; color: var(--gray); }
.dash-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.dash-grid.even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.dash-stack { display: grid; gap: 20px; align-content: start; }
.dash-card { background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-soft); padding: 22px; min-width: 0; }
.dash-card h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.dash-card .table-wrap { border: 0; border-radius: 0; }
.dash-list { display: grid; gap: 10px; }
.dash-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px;
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
}
.dash-row strong { display: block; font-size: .92rem; color: var(--navy); }
.dash-row small { display: block; font-size: .78rem; color: #6B7893; }
.dash-bars { display: grid; gap: 14px; }
.dash-bar-row { display: grid; gap: 6px; }
.dash-bar-head { display: flex; justify-content: space-between; gap: 12px; font-size: .85rem; color: var(--navy); }
.dash-bar-track { height: 10px; border-radius: 999px; background: #E9EEF8; overflow: hidden; }
.dash-bar-fill { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--orange)); }
.dash-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.dash-chip {
  border: 1px solid var(--border); background: #fff; color: var(--navy); border-radius: 999px;
  padding: 8px 16px; font: inherit; font-size: .82rem; font-weight: 500; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.dash-chip:hover { border-color: #C9D8F5; }
.dash-chip[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.dash-locked {
  display: grid; justify-items: center; gap: 10px; padding: 36px 24px; text-align: center;
  background: #F7F9FD; border: 1.5px dashed #B9C8EA; border-radius: 18px;
}
.dash-locked .lock { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: #fff; color: var(--orange); box-shadow: var(--shadow-soft); }
.dash-locked .lock .ico { width: 26px; height: 26px; }
.dash-notice {
  display: flex; gap: 12px; align-items: flex-start; margin-bottom: 20px; padding: 14px 16px;
  border-radius: 14px; background: #FFF6EA; color: #8A4B00; font-size: .88rem; line-height: 1.5;
}
.dash-notice .ico { width: 20px; height: 20px; margin-top: 2px; color: var(--orange); }
.plan-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.plan-head strong { font-size: 1.1rem; color: var(--navy); }
.admin-row-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.admin-row-actions .btn { padding: 8px 14px; }
.dash-gate { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: #F5F8FF; }
.dash-gate-card {
  display: grid; justify-items: center; gap: 12px; width: 100%; max-width: 440px; padding: 36px 30px;
  text-align: center; background: #fff; border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow-soft);
}
.dash-gate-card h1 { font-size: 1.3rem; color: var(--navy); }
.dash-gate-card p { font-size: .92rem; }
.dash-gate-card .lock-big { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: #E6EEFF; color: var(--blue); }
.dash-gate-card .lock-big .ico { width: 28px; height: 28px; }
.dash-loading { min-height: 100vh; display: grid; place-items: center; color: #6B7893; }

@media (max-width: 1280px) {
  .dash-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
  .dash { display: block; }
  .dash-side {
    position: fixed; top: 0; left: 0; bottom: 0; width: 272px; max-width: 86vw; height: auto;
    transform: translateX(-100%); transition: transform .25s ease; box-shadow: 0 20px 40px rgba(10, 42, 122, .35);
  }
  .dash.nav-open .dash-side { transform: none; }
  .dash-burger { display: inline-flex; }
  .dash-top { padding: 12px 16px; }
  .dash-content { padding: 20px 16px 48px; }
  .dash-grid, .dash-grid.even { grid-template-columns: minmax(0, 1fr); }
  .dash-user > span:last-child { display: none; }
}
@media (max-width: 640px) {
  .dash-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .dash-kpi { flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px; }
  .dash-kpi strong { font-size: 1.2rem; }
  .dash-top-title h1 { font-size: 1.1rem; }
  .dash-locked { padding: 24px 16px; }
}

/* ---------- Annuaire partagé et pagination (v0.13.0) ---------- */
.ann-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.ann-grid > .state-box { grid-column: 1 / -1; }
.ann-grid .pro-card { height: 100%; }
.pager { margin-top: 30px; display: grid; gap: 12px; justify-items: center; }
.pg-wrap { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; }
.pg-btn {
  border: 1px solid var(--border); background: #fff; color: var(--navy); border-radius: 999px; padding: 9px 16px;
  font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; transition: background .2s, border-color .2s;
}
.pg-btn:hover:not(:disabled) { border-color: #C9D8F5; background: var(--bg-soft); }
.pg-btn:disabled { opacity: .45; cursor: not-allowed; }
.pg-nums { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.pg-num {
  min-width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--border); background: #fff;
  color: var(--navy); font: inherit; font-weight: 600; cursor: pointer; transition: background .2s, border-color .2s;
}
.pg-num:hover { border-color: #C9D8F5; background: var(--bg-soft); }
.pg-num[aria-current="page"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.pg-gap { min-width: 24px; text-align: center; color: #8A96AE; align-self: center; }
.pg-info { font-size: .85rem; color: var(--gray); }

/* ---------- Fenêtre de demande de devis et notes par étoiles (v0.14.0) ---------- */
.pv-modal {
  margin: auto; border: 0; padding: 0; border-radius: 20px; width: min(640px, calc(100% - 32px));
  max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow: auto;
  background: #fff; color: var(--gray); box-shadow: 0 30px 70px rgba(10, 42, 122, .35);
}
.pv-modal::backdrop { background: rgba(10, 42, 122, .55); backdrop-filter: blur(3px); }
.pv-modal[open] { animation: pvIn .25s ease; }
@keyframes pvIn { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.pv-modal-head {
  position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 22px; background: #fff; border-bottom: 1px solid var(--border);
}
.pv-modal-head h2 { font-size: 1.15rem; font-weight: 700; color: var(--navy); }
.pv-close { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--navy); background: none; border: 0; cursor: pointer; }
.pv-close:hover { background: var(--bg-soft); }
.pv-modal-body { padding: 22px; }
.pv-modal .form-actions { margin-top: 16px; }
.pv-gate { display: grid; justify-items: center; gap: 12px; text-align: center; padding: 14px 8px; }
.pv-gate .ico { width: 40px; height: 40px; color: var(--blue); }
.pv-gate h3 { color: var(--navy); font-size: 1.1rem; }
.pv-target { background: var(--bg-soft); border-radius: 12px; padding: 12px 16px; margin-bottom: 18px; font-size: .9rem; color: var(--navy); }
.pv-target strong { color: var(--blue); }
.rate-box { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 18px; box-shadow: var(--shadow-soft); display: grid; gap: 10px; }
.rate-title { font-size: .95rem; color: var(--navy); }
.rate-stars { display: flex; gap: 6px; flex-wrap: wrap; }
.rate-star {
  width: 44px; height: 44px; border-radius: 50%; border: 0; background: #F1F4FA; color: #B4BDCD;
  display: grid; place-items: center; cursor: pointer; transition: transform .15s ease, background .2s ease, color .2s ease;
}
.rate-star .ico { width: 22px; height: 22px; fill: currentColor; stroke: none; }
.rate-star:hover { transform: scale(1.1); }
.rate-star.on { background: #FFF1DF; color: var(--orange); }
.rate-star:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.rate-text { font-size: .85rem; }

/* ---------- Favoris (v0.12.0) ---------- */
.fav-heart {
  position: absolute; top: 12px; left: 12px; z-index: 2; width: 46px; height: 46px; border-radius: 50%;
  border: 0; background: #fff; color: #E5484D; display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 6px 18px rgba(10, 42, 122, .3); transition: transform .2s ease, background .2s ease, color .2s ease;
}
.fav-heart:hover { transform: scale(1.1); }
.fav-heart:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.fav-heart .ico { width: 24px; height: 24px; stroke-width: 2.4; }
.fav-heart[aria-pressed="true"] { background: #E5484D; color: #fff; }
.fav-heart[aria-pressed="true"] .ico { fill: currentColor; }
/* Bouton principal du héros : contour bleu, pastille bleue pleine, flèche qui avance au survol. */
.btn-hero {
  display: inline-flex; align-items: center; gap: 14px; padding: 8px 26px 8px 8px; border-radius: 999px;
  background: #fff; color: var(--navy); border: 2px solid var(--blue); font-weight: 700; font-size: 1rem;
  box-shadow: 0 10px 24px rgba(11, 63, 184, .16); transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn-hero:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(11, 63, 184, .24); background: #F4F8FF; }
.btn-hero:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.btn-hero-ico {
  width: 46px; height: 46px; border-radius: 50%; background: var(--blue); color: #fff;
  display: grid; place-items: center; flex-shrink: 0; box-shadow: 0 6px 14px rgba(11, 63, 184, .35);
}
.btn-hero-ico .ico { width: 22px; height: 22px; stroke-width: 2.2; }
.btn-hero-txt { color: var(--navy); }
.btn-hero-arrow { width: 18px; height: 18px; color: var(--blue); transition: transform .2s ease; }
.btn-hero:hover .btn-hero-arrow { transform: translateX(4px); }

.btn-circle {
  width: 32px; height: 32px; border-radius: 50%; background: #E6EEFF; color: var(--blue);
  display: inline-grid; place-items: center; flex-shrink: 0; transition: background .2s ease;
}
.btn-circle .ico { width: 17px; height: 17px; }
.btn-outline:hover .btn-circle { background: #fff; }
.fav-block {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 46px;
  padding: 12px 20px; border-radius: 999px; border: 2px solid var(--border); background: #fff; color: var(--navy);
  font: inherit; font-size: .9375rem; font-weight: 600; cursor: pointer;
  transition: border-color .2s, background .2s, transform .2s;
}
.fav-block:hover { border-color: #C9D8F5; transform: translateY(-2px); }
.fav-block .ico { width: 18px; height: 18px; color: #E5484D; }
.fav-block[aria-pressed="true"] { border-color: #F5C2C3; background: #FFF5F5; }
.fav-block[aria-pressed="true"] .ico { fill: currentColor; }
.fav-heart:focus-visible, .fav-block:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.ds-fav-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.ds-rec { position: relative; }

/* ---------- Tableaux de bord v2 (v0.11.0), maquette « Espace client / prestataire / administration » ---------- */
.ds { min-height: 100vh; display: grid; grid-template-columns: 248px minmax(0, 1fr); background: #F3F6FC; }
.ds-side {
  position: sticky; top: 0; height: 100vh; overflow-y: auto; z-index: 60;
  display: flex; flex-direction: column; gap: 18px; padding: 22px 16px;
  background: linear-gradient(180deg, #0A2A7A 0%, #0B2F8F 100%); color: #CFDBF5;
}
.ds-brand { display: flex; align-items: center; gap: 12px; padding: 4px 8px; color: #fff; }
.ds-logo { width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; background: #fff; padding: 5px; box-sizing: border-box; }
.ds-brand strong { display: block; font-size: 1.3rem; font-weight: 800; line-height: 1.1; }
.ds-brand small { display: block; font-size: .68rem; line-height: 1.3; color: #AFC4F0; margin-top: 2px; max-width: 170px; }
.ds-space { font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #FFB45C; padding: 0 12px; }
.ds-nav { display: grid; gap: 4px; }
.ds-nav a {
  position: relative; display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px;
  color: #CFDBF5; font-size: .9rem; font-weight: 500; transition: background .2s, color .2s;
}
.ds-nav a .ico { width: 20px; height: 20px; flex-shrink: 0; }
.ds-nav a > span:first-of-type { flex: 1; min-width: 0; line-height: 1.3; }
.ds-nav a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.ds-nav a[aria-current="page"] { background: #E9F1FF; color: var(--navy); font-weight: 600; }
.ds-nav a[aria-current="page"] .ico { color: var(--blue); }
.ds-badge {
  min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--orange); color: #fff;
  font-size: .72rem; font-weight: 700; display: inline-grid; place-items: center;
}
.ds-badge[hidden] { display: none; }
.ds-tag { font-size: .66rem; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: rgba(255, 255, 255, .14); color: #E4ECFF; }
.ds-lock { color: #FFB45C; display: inline-flex; }
.ds-lock .ico { width: 16px; height: 16px; }
.ds-help {
  margin-top: auto; background: rgba(255, 255, 255, .08); border-radius: 16px; padding: 16px;
  display: grid; gap: 8px; justify-items: start; color: #fff;
}
.ds-help strong { font-size: .95rem; }
.ds-help p { font-size: .8rem; color: #CFDBF5; line-height: 1.5; }
.ds-help-ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: #FFB45C; color: #fff; }
.ds-help-ico .ico { width: 20px; height: 20px; }
.ds-logout {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 0; border-radius: 12px;
  background: none; color: #CFDBF5; font: inherit; font-size: .88rem; text-align: left; cursor: pointer;
}
.ds-logout:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.ds-logout .ico { width: 18px; height: 18px; }

.ds-main { min-width: 0; display: flex; flex-direction: column; }
.ds-top {
  position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 14px; padding: 14px 28px;
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--border);
}
.ds-burger {
  display: none; width: 42px; height: 42px; border-radius: 12px; align-items: center; justify-content: center;
  background: var(--bg-soft); color: var(--navy); flex-shrink: 0;
}
.ds-burger .ico { width: 22px; height: 22px; }
.ds-search {
  flex: 1; max-width: 560px; min-width: 0; display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px;
  border-radius: 999px; background: #F3F6FC; border: 1px solid var(--border); color: #6B7893;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.ds-search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(11, 63, 184, .12); background: #fff; }
.ds-search .ico { width: 18px; height: 18px; flex-shrink: 0; }
.ds-search input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: .9rem; color: var(--navy);
}
.ds-search input::placeholder { color: #8A96AE; opacity: 1; }
.ds-top-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.ds-bell {
  position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: #F3F6FC; color: var(--navy); border: 1px solid var(--border); flex-shrink: 0;
}
.ds-bell .ico { width: 20px; height: 20px; }
/* Cloche : la pastille est un vrai compteur géré en JS (voir #dsBellBadge). */
.ds-bell[aria-expanded="true"] { background: #FFF1E3; border-color: var(--orange); color: var(--orange); }
.ds-bell-badge {
  position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--orange); color: #fff; border: 2px solid #fff;
  font-size: 11px; font-weight: 700; line-height: 14px; text-align: center;
}
/* Panneau des notifications (déroulant sous la cloche). */
.ds-bell-wrap { position: relative; flex-shrink: 0; }
.ds-notif {
  position: absolute; top: calc(100% + 12px); right: 0; width: min(370px, calc(100vw - 32px));
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  box-shadow: 0 18px 44px rgba(16, 32, 64, .18); z-index: 60; overflow: hidden;
}
.ds-notif-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 13px 15px; border-bottom: 1px solid var(--border); background: #FBFCFF;
}
.ds-notif-head strong { font-size: .95rem; color: var(--navy); }
.ds-notif-all {
  background: none; border: 0; padding: 0; cursor: pointer;
  color: var(--orange-text); font-size: .78rem; font-weight: 600; font-family: inherit;
}
.ds-notif-all:hover { text-decoration: underline; }
.ds-notif-list { max-height: 360px; overflow-y: auto; }
.ds-notif-item {
  display: flex; gap: 11px; width: 100%; text-align: left; padding: 13px 15px;
  background: none; border: 0; border-bottom: 1px solid var(--border); cursor: pointer; font-family: inherit;
}
.ds-notif-item:last-child { border-bottom: 0; }
.ds-notif-item:hover { background: #F6F8FD; }
.ds-notif-item.is-new { background: #FFF7EF; }
.ds-notif-item.is-new:hover { background: #FFF1E3; }
.ds-notif-dot { width: 8px; height: 8px; border-radius: 50%; background: #D4DBE9; margin-top: 6px; flex-shrink: 0; }
.ds-notif-item.is-new .ds-notif-dot { background: var(--orange); }
.ds-notif-body { display: grid; gap: 3px; min-width: 0; }
.ds-notif-body strong { font-size: .86rem; font-weight: 600; color: var(--navy); }
.ds-notif-body span { font-size: .8rem; line-height: 1.45; color: #5B6B8C; }
.ds-notif-body time { font-size: .7rem; color: #8A96AE; }
.ds-notif-empty { padding: 26px 18px; text-align: center; font-size: .85rem; color: #8A96AE; }
.ds-user { display: flex; align-items: center; gap: 10px; }
.ds-avatar {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue), var(--orange)); color: #fff; font-weight: 700; font-size: .85rem;
}
.ds-user-txt strong { display: block; font-size: .88rem; font-weight: 600; color: var(--navy); }
.ds-user-txt small { font-size: .74rem; color: #6B7893; }
.ds-content { padding: 26px 28px 56px; outline: none; min-width: 0; }
.ds-overlay { position: fixed; inset: 0; z-index: 55; background: rgba(10, 42, 122, .45); }

.ds-hello { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.ds-hello h2 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); font-weight: 800; color: var(--navy); letter-spacing: -.02em; line-height: 1.2; }
.ds-hello p { color: var(--gray); margin-top: 4px; }
.ds-chip-plan { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; color: #fff; font-weight: 600; font-size: .8rem; white-space: nowrap; }
.ds-chip-plan.gratuit { background: #8A96AE; }
.ds-chip-plan.premium { background: var(--orange); }
.ds-chip-plan.premium { color: #fff; }
.ds-chip-plan.pro { background: var(--blue); }

.ds-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; margin-bottom: 22px; }
.ds-kpi {
  display: flex; flex-direction: column; gap: 10px; padding: 20px; min-width: 0;
  background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-soft);
}
.ds-kpi-ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: #E6EEFF; color: var(--blue); }
.ds-kpi-ico.orange { background: #FFF1DF; color: var(--orange); }
.ds-kpi-ico.green { background: #E3F6EC; color: var(--green); }
.ds-kpi-ico.navy { background: #E2E8F5; color: var(--navy); }
.ds-kpi-ico .ico { width: 22px; height: 22px; }
.ds-kpi strong { font-size: 1.7rem; font-weight: 800; color: var(--navy); line-height: 1.1; }
.ds-kpi .lbl { font-size: .84rem; color: var(--gray); }
.ds-kpi.is-locked { background: #F7F9FD; border-style: dashed; }
.ds-kpi.is-locked strong { font-size: 1.05rem; color: #6B7893; }

.ds-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-soft); padding: 22px; min-width: 0; }
.ds-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.ds-card-head h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); }
.ds-grid2 { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.ds-grid2.eq { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.ds-stack { display: grid; gap: 18px; align-content: start; min-width: 0; }
.ds-sec { margin-top: 22px; }
.ds-sec .ds-card-head { margin-bottom: 14px; }
.ds-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.ds-tab {
  border: 1px solid var(--border); background: #fff; color: var(--navy); border-radius: 999px; padding: 9px 16px;
  font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
}
.ds-tab .n {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #EEF2F9; color: var(--navy);
  font-size: .72rem; display: inline-grid; place-items: center;
}
.ds-tab[aria-pressed="true"] { color: #fff; border-color: transparent; }
.ds-tab[aria-pressed="true"] .n { background: rgba(255, 255, 255, .25); color: #fff; }
.ds-tab[data-tone="orange"][aria-pressed="true"] { background: var(--orange); color: #fff; }
.ds-tab[data-tone="orange"][aria-pressed="true"] .n { background: rgba(255, 255, 255, .25); color: #fff; }
.ds-tab[data-tone="blue"][aria-pressed="true"] { background: var(--blue); }
.ds-tab[data-tone="green"][aria-pressed="true"] { background: var(--green); }
.ds-list { display: grid; gap: 10px; }
.ds-row-item {
  display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 14px; align-items: center;
  padding: 14px; border: 1px solid var(--border); border-radius: 12px; background: #fff;
}
.ds-row-item + .ds-row-item { margin-top: 10px; }
.ds-row-ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: #E6EEFF; color: var(--blue); }
.ds-row-ico.orange { background: #FFF1DF; color: var(--orange); }
.ds-row-ico.green { background: #E3F6EC; color: var(--green); }
.ds-row-ico .ico { width: 22px; height: 22px; }
.ds-row-item strong { display: block; font-size: .95rem; color: var(--navy); }
.ds-row-item small { display: block; font-size: .8rem; color: #6B7893; margin-top: 2px; }
.ds-row-end { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.ds-recs { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.ds-rec {
  background: #fff; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--shadow-soft); transition: transform .25s ease, box-shadow .25s ease;
}
.ds-rec:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.ds-rec img { width: 100%; height: 118px; object-fit: cover; }
.ds-rec-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.ds-rec-body strong { font-size: .92rem; color: var(--navy); line-height: 1.3; }
.ds-rec-body small { font-size: .78rem; color: #6B7893; }
.ds-rec-body .rating { font-size: .8rem; }
.ds-rec-body .btn { margin-top: auto; }
.ds-tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 18px; background: #EAF1FF; border-radius: 14px; margin-top: 22px; }
.ds-tier { display: grid; gap: 6px; font-size: .82rem; color: var(--gray); line-height: 1.5; }
.ds-tier strong { display: flex; align-items: center; gap: 8px; color: var(--navy); font-size: .9rem; }
.ds-tier strong .ico { width: 18px; height: 18px; color: var(--blue); }
.ds-plan-box { border: 1px solid #FFD9A8; background: #FFF8EE; border-radius: 14px; padding: 18px; display: grid; gap: 12px; }
.ds-plan-box h3 { font-size: 1rem; color: var(--navy); }
.ds-check-list { display: grid; gap: 8px; font-size: .86rem; }
.ds-check-list li { display: flex; gap: 10px; align-items: flex-start; }
.ds-check-list .ico { width: 18px; height: 18px; color: var(--green); margin-top: 2px; stroke-width: 2.2; }
.ds-check-list li.off { color: #8A96AE; }
.ds-check-list li.off .ico { color: #B4BDCD; }
.ds-prog-label { display: flex; justify-content: space-between; font-size: .85rem; color: var(--navy); margin-bottom: 8px; font-weight: 600; }
.ds-locked {
  display: grid; justify-items: center; gap: 10px; padding: 36px 24px; text-align: center;
  background: #F7F9FD; border: 1.5px dashed #B9C8EA; border-radius: 14px;
}
.ds-locked .lk {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  background: #fff; color: var(--orange); box-shadow: var(--shadow-soft);
}
.ds-locked .lk .ico { width: 26px; height: 26px; }
.ds-locked h3 { font-size: 1.05rem; color: var(--navy); }
.ds-locked p { font-size: .9rem; max-width: 36em; }
.ds-notice {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; margin-bottom: 18px; border-radius: 12px;
  background: #FFF6EA; color: #8A4B00; font-size: .88rem; line-height: 1.5;
}
.ds-notice .ico { width: 20px; height: 20px; margin-top: 2px; color: var(--orange); flex-shrink: 0; }
.ds-notice .link-btn { color: #8A4B00; }
.ds-chart { display: flex; align-items: stretch; gap: 10px; height: 230px; padding-top: 8px; border-bottom: 1px solid var(--border); }
.ds-col { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.ds-pair { flex: 1; width: 100%; min-height: 0; display: flex; align-items: flex-end; justify-content: center; gap: 4px; }
.ds-bar { width: 16px; border-radius: 6px 6px 0 0; min-height: 3px; }
.ds-bar.c { background: var(--blue); }
.ds-bar.p { background: var(--orange); }
.ds-col-label { font-size: .75rem; color: #6B7893; text-transform: capitalize; }
.ds-legend { display: flex; gap: 16px; font-size: .8rem; color: var(--gray); margin-bottom: 14px; flex-wrap: wrap; }
.ds-legend span::before {
  content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; background: var(--blue);
}
.ds-legend .p::before { background: var(--orange); }
.ds-meta-list { display: grid; gap: 10px; }
.ds-meta-list div { display: flex; justify-content: space-between; gap: 12px; font-size: .9rem; padding-bottom: 10px; border-bottom: 1px dashed var(--border); }
.ds-meta-list div:last-child { border-bottom: 0; }
.ds-meta-list span { color: #6B7893; }
.ds-meta-list strong { color: var(--navy); text-align: right; }
.ds-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.ds-actions .btn { flex: 1 1 200px; }
.provider-profile-form { display: grid; gap: 14px; margin-top: 16px; }
.ds-plan-head, .plan-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.ds-photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.ds-photo-grid figure { margin: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; background: #EEF2F9; }
.ds-photo-grid img { width: 100%; height: 100%; object-fit: cover; }
.ds-slot {
  display: grid; place-items: center; border: 1.5px dashed #B9C8EA; border-radius: 12px; aspect-ratio: 4 / 3;
  color: #8A96AE; font-size: .8rem; text-align: center; padding: 10px;
}
.ds-svc-row { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px dashed var(--border); font-size: .92rem; color: var(--navy); }
.ds-svc-row:last-child { border-bottom: 0; }
.ds-svc-row strong { color: var(--orange-text); white-space: nowrap; }
.ds-scroll { overflow-x: auto; }
.ds-matrix { width: 100%; border-collapse: collapse; font-size: .86rem; }
.ds-matrix th, .ds-matrix td { padding: 12px 10px; border-bottom: 1px solid var(--border); text-align: center; color: var(--navy); }
.ds-matrix th:first-child, .ds-matrix td:first-child { text-align: left; }
.ds-matrix th { background: #F3F6FC; font-weight: 600; }
.ds-matrix th.cur { background: #E9F1FF; }
.ds-matrix .yes { color: var(--green); display: inline-flex; }
.ds-matrix .no { color: #B4BDCD; display: inline-flex; }
.ds-matrix .ico { width: 18px; height: 18px; stroke-width: 2.2; }
.ds-prog-note, .ds-foot-note { font-size: .8rem; color: #6B7893; margin-top: 14px; }
.ds-cities details { border: 1px solid var(--border); border-radius: 12px; padding: 12px 16px; background: #fff; }
.ds-cities details + details { margin-top: 10px; }
.ds-cities summary { cursor: pointer; font-weight: 600; color: var(--navy); display: flex; justify-content: space-between; gap: 12px; list-style: none; }
.ds-cities summary::-webkit-details-marker { display: none; }
.ds-cities ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ds-cities li { background: #EEF4FF; color: var(--navy); border-radius: 999px; padding: 6px 12px; font-size: .8rem; }
.ds-cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.ds-cat {
  display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--border); border-radius: 12px;
  background: #fff; color: var(--navy); font-weight: 600; font-size: .9rem;
}
.ds-cat .ds-row-ico { width: 40px; height: 40px; border-radius: 10px; }
.ds-cat .ds-row-ico .ico { width: 20px; height: 20px; }

@media (max-width: 1100px) {
  .ds { display: block; }
  .ds-side {
    position: fixed; top: 0; left: 0; bottom: 0; width: 280px; max-width: 86vw; height: auto;
    transform: translateX(-100%); transition: transform .25s ease; box-shadow: 0 20px 40px rgba(10, 42, 122, .35);
  }
  .ds.nav-open .ds-side { transform: none; }
  .ds-burger { display: inline-flex; }
  .ds-grid2, .ds-grid2.eq { grid-template-columns: minmax(0, 1fr); }
  .ds-tiers { grid-template-columns: minmax(0, 1fr); }
  .ds-user-txt { display: none; }
  .ds-top { padding: 12px 18px; }
  .ds-content { padding: 22px 18px 48px; }
}
@media (max-width: 640px) {
  .ds-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ds-kpi { padding: 14px; }
  .ds-kpi strong { font-size: 1.3rem; }
  .ds-row-item { grid-template-columns: 44px minmax(0, 1fr); }
  .ds-row-end { grid-column: 1 / -1; align-items: flex-start; flex-direction: row; flex-wrap: wrap; }
  .ds-chart { height: 190px; gap: 6px; }
  .ds-bar { width: 11px; }
  .ds-top { gap: 10px; }
  .ds-bell { width: 40px; height: 40px; }
}

/* ---------- Fenêtres fiche et réponse, champs de paramètres (v0.27.0) ---------- */
.pv-profile-modal, .pv-reply-modal { width: min(760px, calc(100% - 32px)); }
.pv-profile-modal .fiche-cover { height: 200px; border-radius: 14px; }
.pv-profile-modal .fiche-cover::after { display: none; }
.pv-profile-head { margin: 16px 0 4px; }
.pv-profile-head h3 { font-size: 1.3rem; font-weight: 800; color: var(--navy); }
.pv-profile-grid { display: grid; gap: 16px; margin-top: 14px; align-items: start; }
@media (min-width: 900px) { .pv-profile-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); } }
.pv-profile-modal .gallery { grid-template-columns: repeat(3, 1fr); }
.pv-recap { background: var(--bg-soft); border-radius: 12px; padding: 14px 16px; display: grid; gap: 8px; margin-bottom: 16px; }
.pv-recap .req-head { margin-bottom: 0; }
.pv-recap .req-head h3 { font-size: 1rem; }
.pv-recap .req-desc { font-size: .875rem; }
.field-hint { display: block; margin-top: 6px; font-size: .78rem; color: var(--gray); }
.field-hint strong { color: var(--navy); }

/* ---------- Paramètres en onglets, lecture seule et édition de ligne (v0.29.0) ---------- */
.ds-tab.is-active, .ds-tab[aria-selected="true"] { background: var(--blue); color: #fff; border-color: transparent; }
.ds-settings-body { max-width: 780px; }
.ds-read-list { display: grid; }
.ds-read-row {
  display: flex; justify-content: space-between; gap: 18px; padding: 12px 0;
  border-bottom: 1px dashed var(--border); font-size: .92rem;
}
.ds-read-row:last-child { border-bottom: 0; }
.ds-read-row span { color: var(--gray); }
.ds-read-row strong { color: var(--navy); font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.ds-row-actions { display: flex; gap: 6px; flex: none; }
.ds-row-actions .icon-btn, .ds-photo-actions .icon-btn { flex: none; width: 36px; height: 36px; padding: 0; }
.ds-row-actions .icon-btn.danger, .ds-photo-actions .icon-btn.danger { color: #C62828; border-color: #F1C7C7; }
.ds-photo-actions { position: absolute; top: 8px; right: 8px; display: flex; gap: 6px; }
.ds-photo-grid figure { position: relative; }
.ds-row-preview { margin: 0 0 14px; }
.ds-row-preview img { display: block; width: 100%; height: 200px; object-fit: cover; border-radius: 12px; background: #EEF2F9; }
.ds-row-danger { display: flex; justify-content: flex-end; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--border); }

/* ---------- Fenêtre d’aperçu de fiche agrandie, badges et métadonnées ---------- */
.pv-row-modal { width: min(560px, calc(100% - 32px)); }
.pv-profile-modal { width: min(920px, calc(100% - 32px)); }
.pv-profile-modal .pv-profile-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 8px; }
.pv-profile-modal .pv-profile-tags .badge { position: static; }
.pv-profile-modal .gallery { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .logo-text small { display: none; }
  .main-nav { gap: 18px; }
}
@media (max-width: 1200px) {
  .cat-wrap { display: none; }
  .burger { display: inline-flex; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; display: none;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px;
    background: #fff; border-bottom: 1px solid var(--border); box-shadow: 0 18px 30px rgba(10, 42, 122, .12);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 15px 4px; border-bottom: 1px solid var(--border); font-size: .9375rem; }
  .main-nav a::after { display: none; }
  /* Menu mobile : libellés seuls. */
  
  .site-header-spacer { height: calc(var(--header-h) + 1px); }
}
@media (max-width: 1100px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .city-grid { grid-template-columns: repeat(3, 1fr); }
  .city { height: 140px; }
  .pro-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .fiche-layout { grid-template-columns: 1fr; }
  .fiche-aside { position: static; }
  .dir-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .hero { padding-top: 28px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 480px; margin-top: 8px; }
  .hero-man { height: 430px; }
  .dual { grid-template-columns: 1fr; }
  .quote { grid-template-columns: 1fr; text-align: center; }
  .quote-art { margin: 0 auto; max-height: 200px; }
  .quote .btn { margin-inline: auto; }
  .steps { flex-direction: column; gap: 22px; }
  .step-arrow { display: none; }
  .pro-banner { grid-template-columns: 1fr; padding: 0 28px 32px; margin-top: 0; }
  .pro-woman { position: relative; left: auto; bottom: auto; margin: -110px auto 0; width: 190px; height: 230px; border-radius: 20px; display: block; }
  .pro-banner-col { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .2); padding-top: 24px; }
  .pro-wrap { margin-top: 90px; }
  .req-list { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .container { width: min(100% - 32px, var(--container)); }
  .container.narrow { width: min(100% - 32px, 860px); }
  :root { --header-h: 72px; }
  .logo-mark { width: 40px; height: 40px; }
  .logo-text strong { font-size: 1.35rem; }
  .btn-login .lbl { display: none; }
  .btn-login { width: 42px; height: 42px; padding: 0; border-radius: 50%; }
  .header-actions .lbl { display: none; }
  .header-actions .btn-sm { padding: 10px 14px; }
  .hero { padding-top: 20px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .search { flex-direction: column; align-items: stretch; border-radius: 22px; padding: 8px; }
  .search-field { height: 50px; }
  .search-field + .search-field { border-left: 0; border-top: 1px solid var(--border); }
  .search-field.loc { flex: none; }
  .search .btn { width: 100%; height: 50px; margin-top: 6px; }
  .hero-visual { min-height: 400px; }
  .hero-man { height: 370px; width: 260px; }
  .hero-bg { width: 90%; height: 70%; }
  .hero-thumb { width: 96px; height: 84px; border-width: 4px; }
  .t1 { top: 2%; left: 0; }
  .t2 { top: 4%; right: 0; }
  .t3 { top: 52%; right: 0; }
  .t4 { bottom: 14%; left: 0; width: 92px; height: 82px; }
  .section { padding: 44px 0; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cat-card { min-height: 112px; padding: 16px 10px; font-size: .8125rem; }
  .city-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .city { height: 130px; }
  .pro-grid { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .svc-card { padding: 14px 12px; font-size: .8125rem; gap: 10px; }
  .svc-ico { width: 42px; height: 42px; }
  .quote { padding: 22px; }
  .quote h3 { font-size: 1.3rem; }
  .dir-row { grid-template-columns: 1fr; }
  .dir-toolbar { padding: 16px; }
  .dir-row2 { flex-direction: column; align-items: stretch; }
  .tools-right { justify-content: space-between; }
  .fiche-cover { height: 200px; }
  .info-grid { grid-template-columns: 1fr; }
  .card-panel { padding: 20px; }
  .auth-card { padding: 22px; }
  .otp { gap: 6px; }
  .otp input { width: 42px; height: 50px; font-size: 1.2rem; }
  .offer-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .pro-banner-col .newsletter { max-width: 100%; }
}
@media (max-width: 480px) {
  /* La barre déborde déjà avec le libellé court « Inscription » : sous 480 px on
     conserve la seule marque dans l’en-tête (le slogan reste au pied de page). */
  .header-inner .logo-text { display: none; }
  .header-inner { gap: 10px; }
}
@media (max-width: 360px) {
  /* Très petits écrans (320 px) : resserrer la barre pour que « Devenir Prestataire »
     tient entièrement (en-tête fixe : un débordement rendrait le bouton injoignable). */
  .header-inner { gap: 6px; }
  .header-actions { gap: 6px; }
  .header-actions .btn-sm { padding: 8px 10px; }
}
@media (max-width: 420px) {
  .cat-grid, .svc-grid { gap: 10px; }
  .title-accent { font-size: 1.2rem; gap: 10px; }
  .title-accent::before { width: 30px; }
  .footer-grid { grid-template-columns: 1fr; }
  .pro-woman { width: 170px; height: 200px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Inscription (refonte) : choix du type de compte et formulaires dédiés
   ========================================================================== */

/* ---------- Page de choix : deux cartes côte à côte, empilées sur téléphone ---------- */
.choice-title { max-width: 22em; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 26px; }
.choice-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  background: #fff; border: 1px solid var(--border); border-radius: 18px;
  box-shadow: var(--shadow-soft); padding: 28px 26px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.choice-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: #C9D8F5; }
.choice-ico {
  width: 52px; height: 52px; border-radius: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--orange); color: #fff; flex-shrink: 0;
}
.choice-ico--blue { background: var(--bg-soft); color: var(--blue); }
.choice-name { font-size: 1.25rem; font-weight: 700; }
.choice-desc { font-size: .9375rem; color: var(--gray); flex: 1; }
.choice-card .btn { margin-top: 6px; }

/* ---------- Inscription prestataire ---------- */
.req { color: var(--red); font-weight: 700; }
@media (max-width: 760px) {
  .choice-grid { grid-template-columns: 1fr; }
  .choice-card { padding: 24px 20px; }
}

[data-page="inscription"] { background: #F4F7FD; }
.pr { padding: 40px 0 72px; }
.pr-wrap {
  width: min(1080px, 100% - 32px); margin: 0 auto;
  display: grid; grid-template-columns: 360px 1fr; gap: 28px; align-items: start;
}

.pr-aside {
  position: sticky; top: calc(var(--header-h) + 20px);
  background: linear-gradient(160deg, var(--navy) 0%, var(--blue) 100%);
  color: #fff; border-radius: 20px; padding: 32px 28px;
  box-shadow: 0 18px 40px rgba(10, 42, 122, .25);
  display: grid; gap: 18px;
}
.pr-badge {
  justify-self: start; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px; padding: 5px 14px; font-size: .75rem; font-weight: 600; letter-spacing: .02em;
}
.pr-title { font-size: 1.65rem; line-height: 1.25; font-weight: 700; color: #fff; }
.pr-lead { font-size: .9375rem; color: #D4E0FF; }
.pr-perks { list-style: none; display: grid; gap: 16px; margin-top: 4px; }
.pr-perks li { display: flex; gap: 12px; align-items: flex-start; }
.pr-perks strong { display: block; font-size: .9rem; font-weight: 600; color: #fff; }
.pr-perks small { display: block; font-size: .8125rem; color: #C3D3FA; line-height: 1.45; }
.pr-perk-ico {
  width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0;
  background: var(--orange); color: #fff; display: inline-flex; align-items: center; justify-content: center;
}
.pr-perk-ico .ico { width: 17px; height: 17px; }
.pr-aside-foot { font-size: .8125rem; color: #C3D3FA; border-top: 1px solid rgba(255, 255, 255, .18); padding-top: 16px; }
.pr-aside-foot a { color: #fff; font-weight: 600; text-decoration: underline; }

.pr-card {
  background: #fff; border: 1px solid var(--border); border-radius: 20px;
  box-shadow: var(--shadow-soft); padding: 32px 34px; min-width: 0;
}
.pr-head { margin-bottom: 22px; }
.pr-card-title { font-size: 1.4rem; font-weight: 700; color: var(--navy); }
.pr-sub { font-size: .875rem; margin-top: 4px; color: var(--gray); }
.pr-progress { height: 6px; border-radius: 999px; background: var(--bg-soft); margin-top: 16px; overflow: hidden; }
.pr-progress-bar { height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--orange), #FFB04D); transition: width .35s ease; }
.pr-progress-txt { font-size: .75rem; font-weight: 600; color: var(--blue); margin-top: 6px; }

.pr-form { display: grid; gap: 22px; }
.pr-form[hidden], .pr-head[hidden] { display: none; }
.pr-step { display: grid; gap: 14px; padding-bottom: 22px; border-bottom: 1px dashed var(--border); }
.pr-step-title { display: flex; align-items: center; gap: 10px; font-size: 1rem; font-weight: 700; color: var(--navy); }
.pr-num {
  width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: .8125rem; font-weight: 700;
}
.pr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pr-grid .full { grid-column: 1 / -1; }
.pr .f-field { animation: none; opacity: 1; transform: none; }
.pr .f-input, .pr .f-select, .pr .f-textarea { background-color: #FAFBFE; }
.pr .f-input:focus, .pr .f-select:focus, .pr .f-textarea:focus,
.pr .phone-field:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(11, 63, 184, .12); background-color: #fff; }
.pr .phone-field { background: #FAFBFE; }

.pr-err { display: none; font-size: .78rem; font-weight: 500; color: var(--red); }
.f-field.has-error .pr-err { display: block; }
.f-field.has-error .f-input, .f-field.has-error .f-select, .f-field.has-error .f-textarea,
.f-field.has-error .phone-field, .f-field.has-error .photo-drop { border-color: var(--red); }
.f-field.has-error .f-input:focus, .f-field.has-error .f-select:focus, .f-field.has-error .f-textarea:focus { box-shadow: 0 0 0 4px rgba(229, 72, 77, .14); }
.pr-count { display: flex; justify-content: space-between; gap: 10px; }

/* Mot de passe : bouton afficher / masquer et jauge de robustesse */
.pw-field { position: relative; display: block; }
.pw-field .f-input { padding-right: 50px; }
.pw-toggle {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  border: 0; background: transparent; color: var(--gray);
  width: 38px; height: 38px; display: grid; place-items: center; border-radius: 8px; cursor: pointer;
}
.pw-toggle .ico { width: 20px; height: 20px; }
.pw-toggle:hover { background: var(--bg-soft); }
.pw-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.pw-meter i { height: 4px; border-radius: 4px; background: var(--border); transition: background .25s; }
.pw-meter[data-level="1"] i:nth-child(-n+1) { background: var(--red); }
.pw-meter[data-level="2"] i:nth-child(-n+2) { background: var(--orange); }
.pw-meter[data-level="3"] i:nth-child(-n+3) { background: #D8B800; }
.pw-meter[data-level="4"] i:nth-child(-n+4) { background: #2E9E6B; }

/* Photo de réalisation : zone de dépôt, aperçu et retrait */
.photo-pick { display: grid; gap: 12px; }
.f-file { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.photo-drop {
  display: grid; justify-items: center; gap: 4px; text-align: center;
  padding: 26px 16px; border: 2px dashed #BFCDEB; border-radius: 16px; background: #F7FAFF;
  color: var(--navy); cursor: pointer; transition: border-color .2s, background .2s, transform .2s;
}
.photo-drop[hidden] { display: none; }
.photo-drop strong { font-size: .9375rem; }
.photo-drop small { font-size: .78rem; color: #6B7893; }
.photo-drop:hover, .photo-drop.is-over { border-color: var(--blue); background: var(--bg-soft); }
.photo-drop.is-over { transform: scale(1.01); }
.photo-drop-ico {
  width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--blue);
  display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--shadow-soft); margin-bottom: 4px;
}
.photo-drop-ico .ico { width: 22px; height: 22px; }
.photo-preview { display: grid; gap: 10px; border: 1px solid var(--border); border-radius: 16px; padding: 10px; background: #fff; }
.photo-preview[hidden] { display: none; }
.photo-preview img { width: 100%; max-height: 300px; object-fit: cover; border-radius: 12px; }
.photo-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.photo-name { font-size: .8125rem; color: var(--gray); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.pr-consent { background: var(--bg-soft); border-radius: 12px; padding: 14px 16px; display: grid; gap: 6px; }
.pr-consent-row { display: flex; gap: 10px; align-items: flex-start; }
.pr-consent-row input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--blue); flex-shrink: 0; }
.pr-consent a { color: var(--blue); text-decoration: underline; }
.pr .form-error:empty { display: none; }
.pr .form-error { background: #FDECEC; border: 1px solid #F6C4C6; border-radius: 12px; padding: 10px 14px; }
.pr-foot { text-align: center; font-size: .75rem; color: #7A869E; margin-top: -8px; }

/* Confirmation */
.pr-done { text-align: center; display: grid; justify-items: center; gap: 12px; padding: 24px 8px; }
.pr-done[hidden] { display: none; }
.pr-done-ico {
  width: 64px; height: 64px; border-radius: 50%; background: #E6F5EC; color: var(--green);
  display: inline-flex; align-items: center; justify-content: center;
}
.pr-done-ico .ico { width: 30px; height: 30px; }
.pr-done h2 { font-size: 1.35rem; color: var(--navy); }
.pr-done-cta { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 8px; }

@media (max-width: 900px) {
  .pr { padding: 20px 0 48px; }
  .pr-wrap { grid-template-columns: 1fr; gap: 18px; }
  .pr-aside { position: static; padding: 20px; gap: 12px; }
  .pr-lead, .pr-aside-foot, .pr-perks small { display: none; }
  .pr-perks { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pr-perk-ico { width: 30px; height: 30px; }
}
@media (max-width: 640px) {
  .pr-card { padding: 22px 16px; border-radius: 16px; }
  .pr-grid { grid-template-columns: 1fr; }
  .pr-perks { grid-template-columns: 1fr; }
  .pr-title { font-size: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  .pr * { transition: none !important; }
}
