/* Les Pros du Bâtiment — design system unique (public, espace pro, administration) */
:root {
  --brand: #ea580c; --brand-d: #c2410c; --brand-l: #fff1e8;
  --ink: #0f172a; --ink-2: #334155; --mute: #64748b; --line: #e2e8f0; --bg: #f6f7f9; --card: #fff;
  --ok: #059669; --ok-l: #d1fae5; --warn: #d97706; --warn-l: #fef3c7; --bad: #dc2626; --bad-l: #fee2e2; --info: #2563eb; --info-l: #dbeafe;
  --c1: #ea580c; --c2: #2563eb; --c3: #0d9488; --c4: #7c3aed; --c5: #db2777;
  --side: #0b1220; --r: 14px; --sh: 0 1px 2px rgba(15,23,42,.05), 0 4px 16px rgba(15,23,42,.06);
  --sh-l: 0 12px 40px rgba(15,23,42,.18);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-size: 15px; line-height: 1.5; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; letter-spacing: -.02em; }
h1 { font-size: clamp(1.7rem, 3vw + .5rem, 2.6rem); font-weight: 800; }
h2 { font-size: 1.25rem; font-weight: 700; }
h3 { font-size: 1.05rem; font-weight: 650; }
p { margin: 0 0 .8em; }
.mute { color: var(--mute); } .small { font-size: .85rem; } .xs { font-size: .76rem; } .right { text-align: right; } .center { text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ico { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: -.2em; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 20px; }
.row { display: flex; gap: 12px; align-items: center; } .row.wrap-r { flex-wrap: wrap; } .between { justify-content: space-between; }
.grow { flex: 1; min-width: 0; } .gap-s { gap: 6px; } .gap-l { gap: 24px; } .mt { margin-top: 16px; } .mt-l { margin-top: 28px; } .mb { margin-bottom: 16px; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-weight: 600; cursor: pointer; background: var(--ink); color: #fff; transition: transform .12s, box-shadow .12s, background .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--sh); }
.btn:active { transform: none; }
.btn-primary { background: var(--brand); } .btn-primary:hover { background: var(--brand-d); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); } .btn-ghost:hover { background: #f8fafc; }
.btn-ok { background: #16a34a; } .btn-wa { background: #16a34a; } .btn-danger { background: var(--bad); }
.btn-sm { padding: 6px 12px; font-size: .85rem; } .btn-block { display: flex; width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.link { color: var(--brand); font-weight: 600; } .link:hover { text-decoration: underline; }

/* ---------- Formulaires ---------- */
.field { display: grid; gap: 5px; margin-bottom: 14px; align-content: start; }
.field > label, .lbl { font-weight: 600; font-size: .85rem; color: var(--ink-2); }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=url], input[type=number], input[type=date], select, textarea {
  width: 100%; padding: 10px 13px; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff; font: inherit; color: var(--ink); transition: border .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(234,88,12,.15); }
textarea { min-height: 96px; resize: vertical; }
.hint { font-size: .78rem; color: var(--mute); } .err { color: var(--bad); font-size: .82rem; } .field.bad input { border-color: var(--bad); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; } .grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.check { display: flex; gap: 8px; align-items: flex-start; font-size: .88rem; } .check input { margin-top: 3px; accent-color: var(--brand); }
.hp { position: absolute; left: -9999px; }

/* ---------- Pastilles / badges ---------- */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 13px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: .85rem; font-weight: 550;
  cursor: pointer; color: var(--ink-2); transition: all .12s; user-select: none; }
.chip:hover { border-color: #94a3b8; }
.chip.on, .chip:has(input:checked) { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip.sm { padding: 3px 10px; font-size: .78rem; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 2px 10px; border-radius: 999px; font-size: .75rem; font-weight: 650; background: #f1f5f9; color: var(--ink-2); white-space: nowrap; }
.badge.ok { background: var(--ok-l); color: #065f46; } .badge.warn { background: var(--warn-l); color: #92400e; } .badge.bad { background: var(--bad-l); color: #991b1b; }
.badge.info { background: var(--info-l); color: #1e40af; } .badge.brand { background: var(--brand-l); color: var(--brand-d); } .badge.dark { background: var(--ink); color: #fff; }
.badge.gold { background: linear-gradient(135deg, #fde68a, #f59e0b); color: #451a03; }

/* ---------- En-tête public ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.88); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 18px; height: 64px; }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 1.15rem; letter-spacing: -.03em; }
.logo i { width: 32px; height: 32px; border-radius: 9px; background: linear-gradient(135deg, var(--brand), #f59e0b); display: grid; place-items: center; color: #fff; font-style: normal; }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a:not(.btn) { padding: 8px 12px; border-radius: 999px; font-weight: 550; color: var(--ink-2); } .nav a:not(.btn):hover { background: #f1f5f9; }
.foot { margin-top: 64px; padding: 36px 0; border-top: 1px solid var(--line); background: #fff; color: var(--mute); font-size: .88rem; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; }

/* ---------- Accueil / recherche ---------- */
.hero { padding: 44px 0 22px; text-align: center; background: radial-gradient(1000px 300px at 50% -50%, #ffe7d3 0%, transparent 70%); }
.hero p { color: var(--mute); max-width: 640px; margin: 10px auto 0; font-size: 1.05rem; }
.searchbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 24px auto 0; max-width: 880px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 8px 8px 20px; box-shadow: var(--sh); }
.searchbar input, .searchbar select { border: 0; box-shadow: none !important; background: transparent; padding: 8px 6px; }
.searchbar .sep { width: 1px; height: 26px; background: var(--line); }
.filters { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px; margin: 18px auto 0; max-width: 1000px; display: none; text-align: left; box-shadow: var(--sh); }
.filters.open { display: block; }
.fgroup { display: grid; grid-template-columns: 92px 1fr; gap: 10px 14px; align-items: start; padding: 11px 0; border-top: 1px solid var(--line); }
.fgroup:first-child { border-top: 0; }
.fgroup b { font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--mute); padding-top: 7px; }
.fchips { display: flex; flex-wrap: wrap; gap: 8px; }
.tagbox { border: 1px solid var(--line); border-radius: 12px; padding: 2px 16px; background: #fafbfc; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 14px 0 0; min-height: 4px; }
.results-meta { display: flex; justify-content: space-between; align-items: center; margin: 22px 0 14px; }
.masonry { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; align-items: stretch; }
.mcol { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.pin { position: relative; display: block; border-radius: 16px; overflow: hidden; background: #e2e8f0; cursor: zoom-in; animation: pop .35s ease both; }
.pin { aspect-ratio: 4 / 3; } .pin img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.pin:hover img { transform: scale(1.04); }
.pin .ov { position: absolute; inset: auto 0 0 0; padding: 36px 14px 12px; color: #fff; background: linear-gradient(transparent, rgba(2,6,23,.78)); opacity: 0; transition: opacity .2s; }
.pin:hover .ov, .pin:focus-within .ov { opacity: 1; }
.pin .ov .pt { display: block; font-size: .95rem; line-height: 1.25; } .pin .ov span { font-size: .8rem; opacity: .9; }
.pin .tl { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; }
@media (hover: none) { .pin .ov { opacity: 1; padding-top: 28px; } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.empty { text-align: center; padding: 70px 20px; color: var(--mute); } .empty .ico { width: 44px; height: 44px; margin-bottom: 10px; color: #cbd5e1; }
.sentinel { height: 60px; display: grid; place-items: center; color: var(--mute); }
.spin { width: 22px; height: 22px; border: 3px solid #e2e8f0; border-top-color: var(--brand); border-radius: 50%; animation: rot .7s linear infinite; }
@keyframes rot { to { transform: rotate(360deg); } }

/* ---------- Profil artisan ---------- */
.profile { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; margin-top: 26px; align-items: start; }
.phead { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; display: flex; gap: 22px; align-items: flex-start; box-shadow: var(--sh); }
.avatar { width: 84px; height: 84px; border-radius: 22px; background: linear-gradient(135deg, var(--ink), #334155); color: #fff; display: grid; place-items: center; font-size: 1.9rem; font-weight: 800; flex: none; }
.avatar.logo { background: #fff; border: 1px solid var(--line); padding: 6px; overflow: hidden; } .avatar.logo img { width: 100%; height: 100%; object-fit: contain; }
.avatar.sm { width: 38px; height: 38px; border-radius: 11px; font-size: .95rem; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--mute); font-size: .9rem; margin: 8px 0; } .meta span { display: inline-flex; gap: 6px; align-items: center; }
.cbar { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px; box-shadow: var(--sh); display: grid; gap: 10px; position: sticky; top: 84px; }
.cbar h3 { margin-bottom: 2px; }
.cbar .btn { width: 100%; padding: 13px; }
.sectionh { margin: 30px 0 14px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
@media (max-width: 900px) {
  .profile { grid-template-columns: 1fr; }
  .cbar { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; top: auto; border-radius: 18px 18px 0 0; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); gap: 8px; box-shadow: 0 -8px 30px rgba(15,23,42,.14); }
  .cbar h3, .cbar .hint { display: none; } .cbar .btn { padding: 12px 8px; font-size: .85rem; }
  .cbar .btn .lab { display: none; } .cbar .btn.primary-lab .lab { display: inline; }
  body.has-cbar { padding-bottom: 84px; }
  .phead { flex-direction: column; padding: 20px; }
}

/* ---------- Lightbox / modales ---------- */
dialog { border: 0; padding: 0; border-radius: 20px; max-width: 94vw; box-shadow: var(--sh-l); color: var(--ink); }
dialog::backdrop { background: rgba(2,6,23,.72); backdrop-filter: blur(3px); }
.modal { width: min(520px, 94vw); padding: 26px; }
.modal-x { position: absolute; top: 12px; right: 12px; background: #f1f5f9; border: 0; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; z-index: 5; color: var(--ink); }
.lb { width: min(1180px, 96vw); max-height: 94vh; overflow: auto; background: #fff; }
.lb-in { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); }
.lb-img { background: #0b1220; display: grid; place-items: center; min-height: 320px; position: relative; }
.lb-img img { max-height: 84vh; width: 100%; object-fit: contain; }
.lb-side { padding: 26px; display: grid; gap: 12px; align-content: start; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.92); border: 0; width: 42px; height: 42px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; box-shadow: var(--sh); }
.lb-nav.prev { left: 12px; } .lb-nav.next { right: 12px; }
@media (max-width: 800px) { .lb-in { grid-template-columns: 1fr; } .lb-img img { max-height: 55vh; } }
.ba { position: relative; width: 100%; max-height: 84vh; overflow: hidden; user-select: none; --pos: 50%; line-height: 0; background: #000; }
.ba img { width: 100%; max-height: 84vh; object-fit: cover; }
.ba .after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.ba .after img { height: 100%; }
.ba .line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 10px rgba(0,0,0,.4); pointer-events: none; }
.ba .line::after { content: "↔"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 1.1rem; line-height: 1; box-shadow: var(--sh); }
.ba input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba .lbl-a, .ba .lbl-b { position: absolute; top: 12px; padding: 3px 10px; background: rgba(2,6,23,.7); color: #fff; border-radius: 999px; font-size: .75rem; font-weight: 700; line-height: 1.4; }
.ba .lbl-a { left: 12px; } .ba .lbl-b { right: 12px; }

/* ---------- Toasts / flash ---------- */
.flash { padding: 12px 16px; border-radius: 12px; margin-bottom: 16px; font-weight: 550; background: var(--ok-l); color: #065f46; display: flex; gap: 10px; align-items: center; }
.flash.err { background: var(--bad-l); color: #991b1b; } .flash.info { background: var(--info-l); color: #1e40af; }
#toasts { position: fixed; right: 18px; bottom: 18px; z-index: 200; display: grid; gap: 8px; }
.toast { background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; box-shadow: var(--sh-l); animation: pop .25s; max-width: 340px; } .toast.err { background: var(--bad); }

/* ---------- Authentification / onboarding ---------- */
.authwrap { min-height: 100vh; display: grid; place-items: center; padding: 28px 16px; background: linear-gradient(160deg, #e9eef5 0%, #dde5ef 100%); }
.authcard { width: min(480px, 100%); background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 32px; box-shadow: var(--sh-l); }
.authcard.wide { width: min(940px, 100%); }
.steps { display: flex; gap: 8px; margin: 18px 0 26px; }
.steps div { flex: 1; text-align: center; font-size: .78rem; color: var(--mute); font-weight: 600; }
.steps div::before { content: ""; display: block; height: 5px; border-radius: 9px; background: var(--line); margin-bottom: 7px; transition: background .3s; }
.steps div.done::before, .steps div.cur::before { background: var(--brand); } .steps div.cur { color: var(--ink); }
.drop { border: 2px dashed #cbd5e1; border-radius: 16px; padding: 30px; text-align: center; background: #f8fafc; cursor: pointer; transition: all .15s; }
.drop.over { border-color: var(--brand); background: var(--brand-l); } .drop .ico { width: 34px; height: 34px; color: var(--brand); }
.stage { display: grid; gap: 14px; margin-top: 16px; }
.stage-item { display: grid; grid-template-columns: 120px 1fr auto; gap: 14px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; align-items: start; }
.stage-item img { width: 120px; height: 100px; object-fit: cover; border-radius: 10px; }
.tagpick { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.plan { position: relative; border: 2px solid var(--line); border-radius: 20px; padding: 24px; background: #fff; display: grid; gap: 12px; align-content: start; transition: all .15s; }
.plan.pop { border-color: var(--brand); box-shadow: 0 10px 30px rgba(234,88,12,.15); }
.plan.sel { border-color: var(--ink); box-shadow: var(--sh-l); }
.plan .price { font-size: 2.1rem; font-weight: 800; letter-spacing: -.03em; } .plan .price small { font-size: .9rem; color: var(--mute); font-weight: 500; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .9rem; }
.plan li { display: flex; gap: 8px; } .plan li .ico { color: var(--ok); margin-top: 3px; }
.plan .ribbon { position: absolute; top: -12px; left: 20px; }
.toggle { display: inline-flex; background: #f1f5f9; border-radius: 999px; padding: 4px; } .toggle button { border: 0; background: transparent; padding: 7px 16px; border-radius: 999px; font: inherit; font-weight: 600; cursor: pointer; color: var(--mute); }
.toggle button.on { background: #fff; color: var(--ink); box-shadow: var(--sh); }

/* ---------- Favoris, partage, SEO ---------- */
.fav { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); display: grid; place-items: center; cursor: pointer; box-shadow: var(--sh); color: #475569; transition: transform .12s, color .12s; z-index: 2; padding: 0; }
.fav svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fav:hover { transform: scale(1.1); } .fav.on { color: #e11d48; } .fav.on svg { fill: currentColor; }
.fav.inline { position: static; flex: none; border: 1px solid var(--line); box-shadow: none; }
.pin .fav { opacity: 0; transition: opacity .2s, transform .12s; } .pin:hover .fav, .pin .fav.on, .pin .fav:focus-visible { opacity: 1; } @media (hover: none) { .pin .fav { opacity: 1; } }
.share { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 12px; }
.crumbs { font-size: .85rem; color: var(--mute); margin: 22px 0 10px; } .crumbs a:hover { color: var(--brand); } .crumbs span { color: var(--ink-2); }
.simgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.sim { display: grid; grid-template-rows: auto 1fr; align-content: start; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: box-shadow .15s, transform .15s; } .sim:hover { box-shadow: var(--sh); transform: translateY(-2px); }
.sim { position: relative; } .sim .mlogo { position: absolute; top: 10px; left: 10px; width: 46px; height: 46px; border-radius: 12px; background: #fff; box-shadow: var(--sh); padding: 4px; display: grid; place-items: center; } .sim .mlogo img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: contain; background: none; }
.sim img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #e2e8f0; } .sim div { padding: 11px 13px; display: grid; gap: 2px; align-content: start; } .sim span { font-size: .8rem; color: var(--mute); }
.metgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; } .metcard { display: grid; gap: 4px; transition: transform .15s; } .metcard:hover { transform: translateY(-2px); border-color: var(--brand); }
.photopg { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); gap: 28px; align-items: start; margin-top: 10px; }
.photopg .media { border-radius: 18px; overflow: hidden; background: #0b1220; } .photopg .phot { width: 100%; height: auto; max-height: 82vh; object-fit: contain; }
.photopg .pside { position: sticky; top: 84px; } @media (max-width: 900px) { .photopg { grid-template-columns: 1fr; } .photopg .pside { position: static; } }
.foot-links { display: contents; } .foot-links > div { display: grid; gap: 4px; align-content: start; min-width: 190px; } .foot-links b { color: var(--ink); margin-bottom: 4px; } .foot-links a:hover { color: var(--brand); }
body.widget { background: #fff; padding: 0; margin: 0; }
.wg-grid { display: grid; grid-template-columns: repeat(var(--cols, 5), minmax(0, 1fr)); gap: 8px; } .wg-grid a { display: block; position: relative; overflow: hidden; border-radius: 10px; min-width: 0; } .wg-grid img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 10px; background: #e2e8f0; transition: transform .2s; } .wg-grid a:hover img { transform: scale(1.03); }
@media (max-width: 640px) { .wg-grid { grid-template-columns: repeat(var(--cols-m, 3), minmax(0, 1fr)); gap: 6px; } } @media (max-width: 380px) { .wg-grid { grid-template-columns: repeat(var(--cols-s, 2), minmax(0, 1fr)); } }

/* ---------- Application (pro + admin) ---------- */
.app { display: grid; grid-template-columns: 252px minmax(0, 1fr); min-height: 100vh; }
.side { background: var(--side); color: #cbd5e1; padding: 20px 14px; position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 4px; overflow-y: auto; }
.side .logo { color: #fff; padding: 4px 10px 20px; }
.side .it { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; font-weight: 550; color: #94a3b8; transition: all .12s; }
.side button.it { color: #94a3b8; }
.side .it:hover { background: rgba(255,255,255,.06); color: #fff; }
.side .it.on { background: rgba(234,88,12,.16); color: #fdba74; }
.side .it .n { margin-left: auto; background: var(--brand); color: #fff; border-radius: 99px; font-size: .7rem; padding: 1px 8px; font-weight: 700; }
.side .sp { flex: 1; } .side .lab { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: #475569; padding: 14px 12px 6px; font-weight: 700; }
.main { min-width: 0; }
.bar { display: flex; align-items: center; gap: 14px; padding: 16px 28px; background: rgba(255,255,255,.85); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
.bar h1 { font-size: 1.35rem; } .burger { display: none; }
.content { padding: 26px 28px 60px; max-width: 1400px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh); padding: 20px; min-width: 0; }
.card > header { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; margin-bottom: 20px; }
.kpi { display: grid; gap: 4px; position: relative; overflow: hidden; }
.kpi .l { color: var(--mute); font-size: .82rem; font-weight: 600; display: flex; gap: 8px; align-items: center; }
.kpi .l .ico { background: var(--brand-l); color: var(--brand); padding: 6px; width: 30px; height: 30px; border-radius: 9px; }
.kpi .v { font-size: 1.9rem; font-weight: 800; letter-spacing: -.03em; margin-top: 4px; }
.delta { font-size: .78rem; font-weight: 700; } .delta.up { color: var(--ok); } .delta.down { color: var(--bad); } .delta.flat { color: var(--mute); }
.cols { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; margin-bottom: 16px; } .c4 { grid-column: span 4; } .c5 { grid-column: span 5; } .c6 { grid-column: span 6; } .c7 { grid-column: span 7; } .c8 { grid-column: span 8; } .c12 { grid-column: span 12; }
@media (max-width: 1100px) { .c4, .c5, .c6, .c7, .c8 { grid-column: span 12; } }
.tabs { display: inline-flex; background: #f1f5f9; border-radius: 10px; padding: 3px; } .tabs a { padding: 6px 14px; border-radius: 8px; font-size: .85rem; font-weight: 600; color: var(--mute); } .tabs a.on { background: #fff; color: var(--ink); box-shadow: var(--sh); }
table.t { width: 100%; border-collapse: collapse; font-size: .9rem; }
table.t th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--mute); padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.t td { padding: 12px; border-bottom: 1px solid #f1f5f9; vertical-align: middle; } table.t tr:last-child td { border-bottom: 0; } table.t tbody tr:hover { background: #fafbfc; }
.tscroll { overflow-x: auto; }
.chart { position: relative; width: 100%; } .chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart .tip { position: absolute; pointer-events: none; background: var(--ink); color: #fff; border-radius: 10px; padding: 8px 12px; font-size: .78rem; box-shadow: var(--sh-l); opacity: 0; transition: opacity .1s; white-space: nowrap; z-index: 5; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .8rem; color: var(--ink-2); margin-top: 10px; } .legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; }
.bars { display: grid; gap: 12px; } .bars .b { display: grid; gap: 5px; } .bars .bt { height: 8px; background: #f1f5f9; border-radius: 9px; overflow: hidden; } .bars .bt i { display: block; height: 100%; border-radius: 9px; background: var(--brand); }
.lock { position: relative; } .lock > .blur { filter: blur(6px); pointer-events: none; user-select: none; opacity: .7; }
.lock > .cta { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 10px; padding: 20px; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.thumb { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; display: grid; }
.thumb img { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: #e2e8f0; } .thumb .tb { padding: 10px 12px; display: grid; gap: 6px; }
.thumb.off img { filter: grayscale(1) opacity(.5); }
.progress { height: 8px; border-radius: 9px; background: #f1f5f9; overflow: hidden; } .progress i { display: block; height: 100%; background: var(--brand); border-radius: 9px; transition: width .3s; }
.mini-av { display: flex; align-items: center; gap: 10px; }
.list { display: grid; gap: 0; } .list > div { display: flex; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid #f1f5f9; } .list > div:last-child { border: 0; }
.dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
@media (max-width: 900px) {
  .app { grid-template-columns: 1fr; }
  .side { position: fixed; z-index: 90; left: 0; top: 0; bottom: 0; width: 270px; transform: translateX(-100%); transition: transform .25s; }
  .side.open { transform: none; box-shadow: var(--sh-l); } .burger { display: grid; }
  .bar { padding: 12px 16px; } .content { padding: 18px 16px 60px; }
  .grid2, .grid3 { grid-template-columns: 1fr; } .fgroup b { width: 100%; } .stage-item { grid-template-columns: 1fr; }
  .searchbar { border-radius: 22px; padding: 12px; } .searchbar .sep { display: none; } .searchbar > * { flex: 1 1 100%; }
  .nav a:not(.btn):not(.keep) { display: none; }
}
@media print { .side, .bar, .no-print { display: none !important; } .app { display: block; } .content { padding: 0; } body { background: #fff; } }

/* ---------- Mode administrateur (agir comme l'artisan) ---------- */
.actbar { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; justify-content: space-between; background: linear-gradient(90deg, #ea580c, #f59e0b); color: #fff; padding: 9px 20px; font-size: .88rem; position: relative; z-index: 45; }
.actbar .btn-ghost { color: var(--ink); } .actbar .ico { vertical-align: -.25em; }

.kpi-link { text-decoration: none; color: inherit; transition: transform .12s, box-shadow .12s, border-color .12s; }
.kpi-link:hover, .kpi-link:focus-visible { transform: translateY(-2px); box-shadow: var(--shadow-md, 0 8px 22px rgba(0,0,0,.1)); border-color: var(--brand); }
.kpi .go { font-size: .75rem; color: var(--brand); font-weight: 600; margin-top: 2px; }

a.sort { color: inherit; text-decoration: none; white-space: nowrap; display: inline-flex; gap: 5px; align-items: center; }
a.sort .arr { font-size: .7rem; opacity: .35; }
a.sort.on, a.sort:hover { color: var(--brand); }
a.sort.on .arr, a.sort:hover .arr { opacity: 1; }

.cals { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.cal-h { font-weight: 700; text-transform: capitalize; margin-bottom: 8px; }
.cal-g { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal .dow { font-size: .7rem; color: var(--mute); text-align: center; font-weight: 600; }
.cal .d { aspect-ratio: 1; display: grid; place-items: center; border-radius: 9px; border: 1px solid var(--line); background: #fff; font: inherit; font-size: .85rem; cursor: pointer; padding: 0; color: inherit; }
.cal .d.past { opacity: .35; cursor: default; background: transparent; border-color: transparent; }
.cal .d:not(.past):hover { border-color: var(--brand); }
.cal .d.off { background: #fee2e2; border-color: #fca5a5; color: #b91c1c; font-weight: 700; }
.cal .d.today { box-shadow: inset 0 0 0 2px var(--ink, #0f172a); }
.cal .d.sel { background: var(--brand); border-color: var(--brand); color: #fff; }
.legend-d { display: inline-block; width: 14px; height: 14px; border-radius: 4px; border: 1px solid var(--line); background: #fff; vertical-align: -2px; }
.legend-d.off { background: #fee2e2; border-color: #fca5a5; }
.btn.disabled { pointer-events: none; opacity: .4; }

.side .it.grp { color: #64748b; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; padding-bottom: 2px; margin-top: 8px; cursor: default; }
.side .it.grp:hover { background: none; color: #64748b; }
.side .it.sub { margin-left: 18px; padding-left: 14px; border-left: 2px solid rgba(255,255,255,.1); border-radius: 0 10px 10px 0; }
.sw { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 600; }
.sw input { appearance: none; -webkit-appearance: none; width: 48px; height: 28px; border-radius: 999px; background: #cbd5e1; position: relative; transition: background .15s; cursor: pointer; flex: none; margin: 0; }
.sw input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.sw input:checked { background: var(--brand); }
.sw input:checked::after { transform: translateX(20px); }
.sw input:focus-visible { outline: 3px solid var(--brand-l); }

.side button.it.grp { width: 100%; background: 0; border: 0; font: inherit; font-weight: 550; text-align: left; cursor: pointer; text-transform: none; letter-spacing: 0; font-size: inherit; color: #94a3b8; margin-top: 0; padding-bottom: 10px; }
.side button.it.grp:hover { background: rgba(255,255,255,.06); color: #fff; }
.side button.it.grp.open { color: #fff; }
.side .chev { margin-left: auto; transition: transform .15s; font-size: 1.1rem; }
.side .grp.open .chev { transform: rotate(90deg); }
.side .subm[hidden] { display: none; }
.side .subm { display: grid; gap: 2px; margin-bottom: 4px; }

.rmap { margin: 8px 0 0; }
.rmap > svg { width: 100%; max-width: 560px; height: auto; display: block; border-radius: 12px; border: 1px solid var(--line); }
.rmap .rm-sea { fill: #f1f5f9; }
.rmap .rm-be { fill: #fff; stroke: #94a3b8; stroke-width: 1; stroke-linejoin: round; }
.rmap .rm-v { fill: #94a3b8; }
.rmap .rm-t { font-size: 6.5px; fill: #64748b; font-family: inherit; }
.rmap .rm-c { fill: rgba(234,88,12,.18); stroke: #ea580c; stroke-width: 1.4; stroke-dasharray: 4 3; }
.rmap .rm-p { fill: #ea580c; stroke: #fff; stroke-width: 1.2; }
.rmap .rm-n { font-size: 7px; fill: #94a3b8; font-style: italic; font-family: inherit; }

.rmap-map { height: 360px; width: 100%; max-width: 100%; border-radius: 12px; border: 1px solid var(--line); position: relative; z-index: 0; isolation: isolate; }
.rmap-map[hidden] { display: none; }
.rmap.live > svg { display: none; }
.leaflet-container { font: inherit; }

.mailprev { background: #f8fafc; border: 1px solid var(--line); border-radius: 12px; padding: 16px; font-size: .92rem; }
code { background: #f1f5f9; padding: 1px 6px; border-radius: 5px; font-size: .85em; }

/* ---- Mobile : menu burger (site public et back-offices) ---- */
.burger-pub { display: none; }
@media (max-width: 900px) {
  .top .wrap { gap: 10px; }
  .burger-pub { display: grid; place-items: center; margin-left: auto; width: 46px; height: 46px; padding: 0; border-radius: 12px; }
  .top .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px; margin: 0; padding: 12px 16px 18px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(15,23,42,.12); }
  .top .nav.open { display: flex; }
  .top .nav a:not(.btn):not(.keep) { display: flex; }
  .top .nav a { padding: 13px 14px; border-radius: 12px; justify-content: flex-start; text-align: left; font-size: 1.02rem; }
  .top .nav a.btn { justify-content: center; }
  /* back-offices : barre fixe, bouton plus visible, fond assombri derrière le menu */
  .bar { position: sticky; top: 0; z-index: 40; background: #fff; gap: 10px; }
  .bar .burger { width: 46px; height: 46px; padding: 0; place-items: center; border-radius: 12px; flex: none; background: var(--brand); border-color: var(--brand); color: #fff; }
  .bar h1 { font-size: 1.1rem; line-height: 1.2; }
  .bar .mini-av .small { display: none; }
  .side.open { box-shadow: 0 0 0 100vmax rgba(15,23,42,.5); }
}

/* ---------- Vitrine artisan : mise en page professionnelle ---------- */
.profile { grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; }
.pmain { min-width: 0; }
.phero { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--sh); overflow: hidden; }
.pcover { height: 116px; background: radial-gradient(circle at 85% 20%, rgba(234,88,12,.55), transparent 55%), linear-gradient(120deg, #0f172a 0%, #1e293b 60%, #334155 100%); }
.pbody { display: flex; gap: 22px; align-items: flex-start; padding: 0 30px; margin-top: -46px; }
.phero .avatar { width: 104px; height: 104px; border-radius: 26px; border: 4px solid #fff; box-shadow: 0 8px 22px rgba(15,23,42,.18); font-size: 2.2rem; }
.phero .avatar.logo { padding: 8px; }
.pid { padding-top: 58px; min-width: 0; } .pid .row { margin-bottom: 8px; }
.pid h1 { font-size: 2rem; line-height: 1.15; letter-spacing: -.02em; margin: 0; }
.pid .meta { margin: 8px 0 0; gap: 6px 18px; }
.pgar { display: flex; flex-wrap: wrap; gap: 8px; padding: 18px 30px 0; }
.pspec { display: flex; flex-wrap: wrap; gap: 8px; padding: 18px 30px 0; }
.pdesc { padding: 22px 30px 4px; }  .pdesc h2 { font-size: 1.05rem; margin-bottom: 8px; } .pdesc p { margin: 0; color: var(--ink-2); line-height: 1.7; }
.phero > .share { margin: 22px 30px 26px; padding-top: 18px; border-top: 1px solid var(--line); }
.paside { position: sticky; top: 84px; display: grid; gap: 18px; align-self: start; }
.pinline { display: none; }
.cblk { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: var(--sh); }
.cblk h3 { font-size: 1.1rem; margin: 0 0 4px; } .cblk .hint { margin: 0 0 14px; }
.cbtns { display: grid; gap: 10px; } .cblk .crows + .cbtns { margin-top: 16px; }
.cbtns .btn { width: 100%; padding: 14px 16px; font-size: 1rem; justify-content: center; }
.crows { display: grid; gap: 0; margin-top: 14px; }
.crow { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid #f1f5f9; } .crow:last-child { border-bottom: 0; }
.crow .ci { width: 38px; height: 38px; border-radius: 11px; background: var(--brand-l); color: var(--brand); display: grid; place-items: center; flex: none; } .crow .ci .ico { width: 18px; height: 18px; }
.crow .cl { font-size: .74rem; color: var(--mute); text-transform: uppercase; letter-spacing: .05em; font-weight: 650; }
.crow .cv { font-weight: 600; word-break: break-word; } .crow .cv a { color: var(--ink); } .crow .cv a:hover { color: var(--brand); }
@media (max-width: 900px) {
  .profile { grid-template-columns: 1fr; gap: 18px; margin-top: 14px; }
  .paside { display: none; }
  .pinline { display: grid; gap: 14px; }
  .pcover { height: 88px; }
  .pbody { flex-direction: column; align-items: flex-start; gap: 12px; padding: 0 20px; margin-top: -42px; } .pid { padding-top: 0; }
  .phero .avatar { width: 88px; height: 88px; border-radius: 22px; }
  .pid h1 { font-size: 1.55rem; }
  .pgar, .pspec { padding: 14px 20px 0; } .pdesc { padding: 18px 20px 2px; }
  .phero > .share { margin: 18px 20px 22px; }
  .cblk { padding: 20px; }
  body.has-cbar { padding-bottom: 0; }
}

.phero { margin-bottom: 18px; } .pgar + .pspec { padding-top: 10px; } .phero:not(.pabout) { padding-bottom: 24px; }
.pabout { padding: 4px 0 26px; } .pabout .pdesc { padding-top: 24px; }
@media (max-width: 900px) { .phero { margin-bottom: 0; } .phero:not(.pabout) { padding-bottom: 20px; } .pinline { margin: 14px 0; } .pabout { padding-bottom: 22px; } }

.btn-ok:hover, .btn-wa:hover { background: #15803d; }

/* ---------- Statistiques : page de présentation (offre gratuite) ---------- */
.stx-hero { text-align: center; padding: 38px 28px; margin-bottom: 20px; background: radial-gradient(circle at 80% 0, rgba(234,88,12,.10), transparent 55%), #fff; }
.stx-hero h2 { font-size: 1.7rem; letter-spacing: -.02em; margin: 12px auto 8px; max-width: 640px; } .stx-hero p { max-width: 640px; margin: 0 auto; line-height: 1.65; }
.stx-cta { margin-top: 22px; } .stx-cta .btn { padding: 14px 24px; font-size: 1.02rem; }
.stx-shots { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; align-items: start; } .stx-shot { margin: 0; } .stx-shot.wide { grid-column: 1 / -1; }
.stx-shot { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--sh); overflow: hidden; }
.stx-frame { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #f1f5f9; border-bottom: 1px solid var(--line); font-size: .78rem; color: var(--mute); }
.stx-frame i { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; } .stx-frame span { margin-left: 8px; font-weight: 600; }
.stx-shot img { display: block; width: 100%; height: auto; background: #f8fafc; }
.stx-shot:not(.wide) img { max-height: 380px; object-fit: cover; object-position: top; }
.stx-shot figcaption { padding: 12px 16px; font-size: .88rem; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
.stx-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin-top: 14px; }
.stx-it { display: flex; gap: 14px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; } .stx-it.on { background: var(--ok-l); border-color: #a7f3d0; }
.stx-it .ci { width: 40px; height: 40px; border-radius: 12px; background: var(--brand-l); color: var(--brand); display: grid; place-items: center; flex: none; } .stx-it.on .ci { background: #fff; color: #047857; }
.stx-it .badge { flex: none; }
.stx-end { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; justify-content: space-between; margin-top: 20px; background: linear-gradient(120deg, #0f172a, #1e293b); color: #fff; border: 0; }
.stx-end h2 { color: #fff; } .stx-end .mute { color: #cbd5e1; }
@media (max-width: 900px) { .stx-shots, .stx-list { grid-template-columns: 1fr; } .stx-hero { padding: 28px 18px; } .stx-hero h2 { font-size: 1.35rem; } .stx-end { text-align: center; justify-content: center; } .stx-it { align-items: flex-start; flex-wrap: wrap; } }

/* ---------- Abonnement : popup de résiliation et bandeau de reprise ---------- */
.confirm-dlg { max-width: 520px; text-align: center; padding: 34px 30px 26px; }
.confirm-dlg h2 { font-size: 1.45rem; margin: 6px 0 16px; }
.cd-ico { width: 64px; height: 64px; margin: 0 auto 8px; border-radius: 50%; background: #fee2e2; color: #b91c1c; display: grid; place-items: center; } .cd-ico .ico { width: 30px; height: 30px; }
.cd-list { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 12px; text-align: left; }
.cd-list li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; } .cd-list li .ico { color: var(--ok); flex: none; margin-top: 3px; }
.cd-actions { display: grid; gap: 10px; } .cd-actions .btn { width: 100%; padding: 14px; font-size: 1rem; justify-content: center; }
dialog.confirm-dlg::backdrop { background: rgba(15,23,42,.62); backdrop-filter: blur(3px); }
.resbox { margin-top: 16px; padding: 16px 18px; border-radius: 14px; background: var(--warn-l); border: 1px solid #fcd34d; color: #78350f; display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; } .resbox .small { margin-top: 4px; max-width: 720px; }
@media (min-width: 560px) { .cd-actions { grid-template-columns: 1fr 1fr; } }

/* ---------- Sous-traitance : résultats de recherche ---------- */
.stres { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; margin-bottom: 16px; }
.stcard { cursor: pointer; display: block; transition: border-color .12s, box-shadow .12s; } .stcard:hover, .stcard:has(.stck:checked) { border-color: var(--brand); box-shadow: 0 8px 24px rgba(234,88,12,.14); }
.stck { width: 22px; height: 22px; accent-color: var(--brand); flex: none; }
.stph { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; } .stph img { width: 100%; height: 70px; object-fit: cover; border-radius: 8px; }
.stbar { margin-bottom: 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; box-shadow: var(--sh-l); z-index: 20; }
.resbox.ok { background: var(--ok-l); border-color: #6ee7b7; color: #065f46; display: block; padding: 10px 14px; }

/* ---------- Page d'accueil : en-tête, moteur de recherche, grille uniforme ---------- */
.hero2 { position: relative; padding: 52px 0 34px; text-align: center; color: #fff; background: radial-gradient(900px 380px at 85% -10%, rgba(234,88,12,.55), transparent 60%), radial-gradient(700px 320px at 0% 110%, rgba(59,130,246,.25), transparent 60%), linear-gradient(135deg, #0f172a 0%, #1e293b 100%); }
.hero2 h1 { color: #fff; font-size: clamp(1.9rem, 4.2vw, 3.1rem); line-height: 1.12; letter-spacing: -.03em; margin: 14px auto 12px; max-width: 820px; }
.hero2 p { color: #cbd5e1; max-width: 640px; margin: 0 auto; font-size: 1.05rem; line-height: 1.6; }
.kicker { display: inline-flex; gap: 8px; align-items: center; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); font-size: .82rem; font-weight: 600; color: #fed7aa; }
.hsearch { display: grid; grid-template-columns: minmax(200px, 1fr) minmax(240px, 1.3fr) auto; align-items: stretch; gap: 0; max-width: 900px; margin: 28px auto 0; background: #fff; border-radius: 20px; padding: 8px; box-shadow: 0 24px 60px rgba(2,6,23,.45); text-align: left; }
.hf { display: grid; gap: 2px; padding: 10px 18px; border-right: 1px solid var(--line); min-width: 0; color: var(--ink); } .hf > span { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--mute); font-weight: 700; }
.hf select, .hf input { border: 0 !important; box-shadow: none !important; background: transparent; padding: 2px 0; font-size: 1.02rem; font-weight: 600; color: var(--ink); width: 100%; outline: none; text-overflow: ellipsis; }
.hf:focus-within { background: #fff7ed; border-radius: 14px; }
.hbtn { border-radius: 14px; padding: 0 28px; font-size: 1rem; margin-left: 8px; }
.hmore { margin-top: 14px; } .linkbtn { background: none; border: 0; color: #fed7aa; font: inherit; font-weight: 600; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; } .linkbtn:hover { color: #fff; }
.hero2 .filters { color: var(--ink); } .hero2 .active-filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 12px; } .hero2 .active-filters:empty { display: none; }
.statband { display: flex; justify-content: center; gap: 44px; margin-top: 30px; flex-wrap: wrap; } .statband div { display: grid; } .statband b { font-size: 1.7rem; letter-spacing: -.02em; } .statband span { color: #94a3b8; font-size: .85rem; }
.sughost { position: relative; }
.sug { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 80; margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 40px rgba(15,23,42,.18); max-height: 320px; overflow: auto; text-align: left; color: var(--ink); }
.sug li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; cursor: pointer; font-weight: 500; } .sug li .ico { color: var(--brand); flex: none; } .sug li span { flex: 1; } .sug li small { color: var(--mute); }
.sug li:hover, .sug li.on { background: var(--brand-l); } .sug li b { color: var(--brand-d); }
.qtrades { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 24px 0 4px; }
.qchip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 14px; font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; color: var(--ink-2); transition: all .12s; } .qchip small { color: var(--mute); font-weight: 500; margin-left: 2px; }
.qchip:hover { border-color: var(--brand); color: var(--brand-d); } .qchip.on { background: var(--brand); border-color: var(--brand); color: #fff; } .qchip.on small { color: #ffedd5; }
.rcount { font-size: 1.25rem; margin: 0; }
.pin { border-radius: 18px; box-shadow: 0 1px 2px rgba(15,23,42,.06); transition: box-shadow .2s, transform .2s; } .pin:hover { box-shadow: 0 14px 30px rgba(15,23,42,.18); transform: translateY(-3px); }
.ctaband { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; margin: 48px 0 10px; padding: 34px 38px; border-radius: 24px; color: #fff; background: radial-gradient(500px 200px at 90% 0, rgba(234,88,12,.5), transparent 70%), linear-gradient(135deg, #0f172a, #1e293b); }
.ctaband h2 { color: #fff; margin: 0 0 6px; } .ctaband p { color: #cbd5e1; margin: 0; max-width: 560px; } .ctaband .btn { padding: 14px 26px; }
@media (max-width: 800px) {
  .hero2 { padding: 34px 0 26px; } .hsearch { grid-template-columns: 1fr; border-radius: 18px; padding: 6px; } .hf { border-right: 0; border-bottom: 1px solid var(--line); padding: 10px 14px; } .hbtn { margin: 8px 2px 2px; padding: 15px; }
  .statband { gap: 26px; } .masonry { grid-template-columns: repeat(2, 1fr); gap: 10px; } .ctaband { padding: 26px 22px; text-align: center; justify-content: center; }
}
@media (max-width: 420px) { .masonry { grid-template-columns: 1fr; } }

/* ---------- Accueil : en-tête compact avec photo de fond, barre de recherche à icônes ---------- */
.hero2 { padding: 46px 0 22px; background: linear-gradient(180deg, rgba(var(--hf,15,23,42), var(--ha,.5)), rgba(var(--hf,15,23,42), var(--hb,.32)) 55%, rgba(var(--hf,15,23,42), var(--hc,.72))), var(--hero) center / cover no-repeat, #0f172a; }
.hero2 h1 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin: 0 auto 22px; max-width: none; text-shadow: 0 2px 18px rgba(0,0,0,.45); }
.hero2 h1 .hl { color: #fb923c; }
.hsearch { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1.15fr) auto; max-width: 900px; margin-top: 0; padding: 6px; border-radius: 16px; align-items: center; box-shadow: 0 18px 44px rgba(2,6,23,.5); }
.hsearch .hf { display: flex; align-items: center; gap: 10px; padding: 0 14px; height: 48px; border-right: 1px solid var(--line); border-bottom: 0; }
.hsearch .hf:nth-of-type(3) { border-right: 0; }
.hsearch .hf > .ico { width: 20px; height: 20px; color: var(--brand); flex: none; }
.hsearch .hf input, .hsearch .hf select { font-size: .95rem; font-weight: 500; padding: 0; height: 100%; min-width: 0; }
.hsearch .hf input::placeholder { color: #94a3b8; font-weight: 500; }
.hsearch .hf:focus-within { background: #fff7ed; border-radius: 10px; }
.hsearch .hbtn { height: 48px; padding: 0 26px; margin: 0 0 0 6px; border-radius: 12px; font-size: .88rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.hmore { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; align-items: center; margin-top: 14px; }
.statline { color: #cbd5e1; font-size: .85rem; }
@media (max-width: 800px) {
  .hero2 { padding: 28px 0 18px; }
  .hsearch { grid-template-columns: 1fr; padding: 6px; gap: 0; }
  .hsearch .hf { border-right: 0; border-bottom: 1px solid var(--line); }
  .hsearch .hf:nth-of-type(3) { border-bottom: 0; }
  .hsearch .hbtn { margin: 6px 0 0; height: 50px; }
}

/* ---------- Pagination numérotée de l'accueil ---------- */
.pagenav { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; align-items: center; margin: 30px 0 6px; }
.pg { min-width: 40px; height: 40px; padding: 0 12px; display: inline-grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; text-decoration: none; transition: all .12s; }
.pg:hover { border-color: var(--brand); color: var(--brand-d); } .pg.on { background: var(--brand); border-color: var(--brand); color: #fff; } .pgd { color: var(--mute); padding: 0 4px; }
.masonry { transition: opacity .15s; } .masonry.loading { opacity: .45; pointer-events: none; }
.qchip { text-decoration: none; display: inline-block; } .qall { margin-left: auto; font-size: .88rem; font-weight: 600; color: var(--brand-d); text-decoration: none; } .qall:hover { text-decoration: underline; }

/* ---------- Vitrine : bloc « Partager » à icônes ---------- */
.shareblk h3 { margin-bottom: 14px; }
.sicons { display: grid; grid-template-columns: repeat(auto-fit, minmax(74px, 1fr)); gap: 10px; }
.sic { display: grid; justify-items: center; gap: 6px; background: none; border: 0; padding: 4px 0; cursor: pointer; text-decoration: none; color: var(--ink-2); font: inherit; }
.sic em { font-style: normal; font-size: .76rem; font-weight: 600; }
.sico { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #fff; transition: transform .15s, box-shadow .15s; }
.sico .ico { width: 22px; height: 22px; }
.sic:hover .sico, .sic:focus-visible .sico { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(15,23,42,.22); }
.s-whatsapp { background: #25d366; } .s-facebook { background: #1877f2; } .s-pinterest { background: #e60023; } .s-email { background: #475569; } .s-lien { background: var(--ink); }
/* ---------- Page « Artisans par métier » : cartes avec photo ---------- */
.metgrid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.metcard { padding: 0; overflow: hidden; gap: 0; text-decoration: none; color: var(--ink); border-radius: 18px; }
.metcard .mimg { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s; }
.metcard:hover .mimg { transform: scale(1.05); }
.metcard .mph { display: grid; place-items: center; background: linear-gradient(135deg, #1e293b, #334155); color: #fb923c; } .metcard .mph .ico { width: 44px; height: 44px; }
.metcard b { padding: 14px 16px; font-size: 1.05rem; background: #fff; position: relative; z-index: 1; }
.metcard { overflow: hidden; }
.metcard .mimg { height: auto; max-height: none; }

/* Connexion : carte sobre, onglets, champs gris */
.authcard.login { width: min(440px, 100%); padding: 30px 30px 26px; border-radius: 16px; }
.authtabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); margin: 18px 0 20px; }
.authtabs a { text-align: center; padding: 10px 6px; font-weight: 700; color: var(--mute); border-bottom: 3px solid transparent; margin-bottom: -1px; }
.authtabs a.on { color: var(--ink); border-bottom-color: var(--brand); }
.authcard.login .field label { text-transform: uppercase; font-size: .72rem; letter-spacing: .06em; color: var(--mute); }
.authcard.login .field input { background: #eef1f5; border-color: transparent; }
.authcard.login .field input:focus { background: #fff; border-color: var(--brand); }
.authbtns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }
.legalnote { font-size: .78rem; color: var(--mute); margin-top: 16px; line-height: 1.5; }
.navlogin { display: inline-flex; align-items: center; gap: 6px; }
.navlogin svg { width: 18px; height: 18px; }
.rmap-step { margin: 4px 0 14px; }
.plans .plan { display: flex; flex-direction: column; } .plans .plan [data-pick], .plans .plan [data-choose], .plans .plan [data-sel] { margin-top: auto; }

.plan.sel { border-color: var(--brand); box-shadow: 0 10px 30px rgba(234,88,12,.18); }
.plan.sel .ribbon { display: none; }
.authcard.wide .plans { margin-bottom: 8px; }
hr.sep { border: 0; border-top: 1px solid var(--line); margin: 26px 0 22px; }
#wizard .plan.pop:not(.sel) { border-color: var(--line); box-shadow: none; }

.recap { border: 1px solid var(--line); border-radius: 14px; padding: 6px 18px; background: #fafbfc; margin-top: 10px; }
.rc-row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.rc-row:last-child { border-bottom: 0; }
.rc-total { font-size: 1.15rem; }
.rc-total b { color: var(--brand); font-size: 1.35rem; }

.rc-code { margin-top: 16px; }
.rc-code label { display: block; font-weight: 600; font-size: .85rem; margin-bottom: 6px; }
.rc-code input { flex: 1; }
.card input[type=date] { min-width: 0; width: 100%; } .grid2 > .field { min-width: 0; }

/* Accordéon (Garanties & assurances) */
details.acc > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: space-between; }
details.acc > summary::-webkit-details-marker { display: none; }
details.acc > summary h2 { margin: 0; display: flex; align-items: center; gap: 10px; }
details.acc > summary h2::before { content: ""; width: 9px; height: 9px; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(-45deg); transition: transform .15s; }
details.acc[open] > summary h2::before { transform: rotate(45deg); }
.acc-body { margin-top: 16px; }
h3.subh { font-size: .95rem; margin: 18px 0 8px; color: var(--ink); }
h3.subh:first-of-type { margin-top: 6px; }

.rmap-rc { background: #fff; border: 2px solid rgba(0,0,0,.2); border-radius: 6px; padding: 5px 10px; font: 600 .78rem/1 inherit; cursor: pointer; color: var(--ink); }
.rmap-rc:hover { background: #f4f4f4; }
.rmap-map.leaflet-grab { cursor: grab; } .rmap-map.leaflet-dragging { cursor: grabbing; }

/* Cartes : plein écran */
.rmap-map:fullscreen, #gps-map:fullscreen { width: 100vw !important; height: 100vh !important; border-radius: 0; border: 0; }
.rmap-map.rmap-full, #gps-map.rmap-full { position: fixed !important; inset: 0; width: 100vw !important; height: 100vh !important; z-index: 100000; border-radius: 0; border: 0; }
.rmap-fs { margin-top: 6px !important; }

/* Modification d'une réalisation */
.modal.wide { width: min(940px, 95vw); max-height: 92vh; overflow-y: auto; }
.edit-grid { display: grid; grid-template-columns: 290px 1fr; gap: 28px; align-items: start; }
.edit-media { display: grid; gap: 10px; position: sticky; top: 0; }
.emedia { margin: 0; }
.emedia img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); background: #f1f5f9; }
.emedia figcaption { font-size: .75rem; color: var(--mute); margin-top: 6px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.emedia.avant img { aspect-ratio: 4 / 3; }
.filebtn { display: flex; align-items: center; justify-content: center; gap: 8px; border: 1.5px dashed #cbd5e1; border-radius: 10px; padding: 9px 12px; font-size: .85rem; font-weight: 600; cursor: pointer; color: var(--ink); background: #fff; position: relative; overflow: hidden; }
.filebtn:hover { border-color: var(--brand); color: var(--brand); }
.filebtn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.filebtn svg { width: 16px; height: 16px; }
.grid2e { display: grid; grid-template-columns: 1fr 200px; gap: 14px; }
.edit-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
@media (max-width: 760px) { .edit-grid { grid-template-columns: 1fr; gap: 18px; } .edit-media { position: static; } .grid2e { grid-template-columns: 1fr; } .fgroup { grid-template-columns: 1fr; gap: 6px; } .fgroup b { padding-top: 0; } .edit-actions .btn { flex: 1; } }

.btn-del { color: var(--bad); border-color: #fecaca; margin-right: auto; } .btn-del:hover { background: #fef2f2; }
@media (max-width: 760px) { .edit-actions { flex-wrap: wrap; } .btn-del { margin-right: 0; flex: 1 1 100%; } }

.emedia { position: relative; }
.emedia-del { position: absolute; top: 8px; right: 8px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(15,23,42,.72); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .15s; backdrop-filter: blur(4px); }
.emedia-del:hover { background: var(--bad); }
.emedia-del svg { width: 17px; height: 17px; }
.emedia figcaption { position: static; }

.cd-msg { margin: 0 0 12px; color: var(--mute); line-height: 1.5; } .confirm-dlg .cd-actions { margin-top: 18px; } .confirm-dlg[open] { animation: cdpop .16s ease-out; }
@keyframes cdpop { from { transform: scale(.94); opacity: 0; } to { transform: none; opacity: 1; } }

.emedia img[hidden] { display: none; }

.rot-bar { position: absolute; left: 8px; top: 8px; display: flex; gap: 6px; }
.rot-bar[hidden] { display: none; }
.rot { width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(15,23,42,.72); color: #fff; font-size: 1.15rem; line-height: 1; cursor: pointer; display: grid; place-items: center; backdrop-filter: blur(4px); }
.rot:hover { background: var(--brand); }
.emedia img { object-fit: contain; }

/* Outils : sauvegarde / restauration */
.pbar { height: 12px; border-radius: 9px; background: #e2e8f0; overflow: hidden; margin-top: 16px; } .pbar i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), #fb923c); transition: width .35s; } .pbar.bad i { background: var(--bad); }
.bkrow { padding: 14px 0; border-top: 1px solid var(--line); } .bkrow:first-of-type { border-top: 0; }
.rsopt { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; } .rsopt input { margin-top: 5px; }

.it.grp.open .n { display: none; }   /* la pastille du menu parent n'apparaît que lorsqu'il est replié */
.it.grp .n { margin-left: auto; margin-right: 6px; }

/* Actions groupées */
.bulkbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 14px; margin-bottom: 10px; background: #fff7ed; border: 1px solid #fdba74; border-radius: 12px; }
.bulkbar[hidden] { display: none; }
.ck { width: 18px; height: 18px; accent-color: var(--brand); cursor: pointer; }
tr.sel td { background: #fff7ed; }

/* Demandes de devis : pastilles de statut, tableau, note, rappel */
.st { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 4px 11px; font-size: .78rem; font-weight: 700; border: 0; line-height: 1.3; }
select.st { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 26px; font-family: inherit; background-repeat: no-repeat; background-position: right 9px center; background-size: 9px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23475569' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); }
.s-a { background-color: #ffedd5; color: #9a3412; } .s-r { background-color: #dbeafe; color: #1e40af; } .s-d { background-color: #ede9fe; color: #5b21b6; } .s-g { background-color: #dcfce7; color: #166534; } .s-p { background-color: #fee2e2; color: #991b1b; } .s-c { background-color: #e5e7eb; color: #374151; }
.dvt .who b { display: block; } .dvt .who span { font-size: .78rem; color: var(--mute); }
.dvt tr.new td { background: #fffaf5; } .dvt td { vertical-align: middle; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); margin-right: 8px; vertical-align: middle; }
.ico2 { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; margin-left: 4px; } .ico2 svg { width: 16px; height: 16px; } .ico2:hover { border-color: var(--brand); color: var(--brand); }
.ico2.wa { background: #16a34a; border-color: #16a34a; color: #fff; } .ico2.wa:hover { background: #15803d; color: #fff; }
.note { display: inline-block; margin-top: 4px; font-size: .76rem; color: #92400e; background: #fef3c7; border-radius: 6px; padding: 2px 7px; }
.rel { font-size: .8rem; color: #1e40af; } .rel.late { color: var(--bad); font-weight: 700; } .dvcard .rel { display: inline-block; margin-top: 4px; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; } .seg a { padding: 7px 12px; font-size: .82rem; font-weight: 600; color: #475569; } .seg a.on { background: #0f172a; color: #fff; }
.dvbox { background: #f8fafc; border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; max-height: 38vh; overflow: auto; }
@media (max-width: 760px) {
  .dvt thead { display: none; } .dvt, .dvt tbody { display: block; } .dvt tr { display: block; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; padding: 10px 14px; background: #fff; }
  .dvt td { display: flex; justify-content: space-between; align-items: center; gap: 12px; border: 0 !important; padding: 6px 0 !important; text-align: right; max-width: none !important; } .dvt td::before { content: attr(data-l); color: var(--mute); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; text-align: left; }
  .dvt td:first-child { display: block; padding: 0 !important; } .dvt td:first-child::before { content: none; }
}
.dvt select.st { min-width: 156px; } .dvt td[data-l="Projet"] { min-width: 250px; } .dvt td[data-l="Client"] { min-width: 170px; } .dvt td[data-l="Statut"] { white-space: nowrap; }
@media (max-width: 760px) { .dvt td[data-l="Projet"], .dvt td[data-l="Client"] { min-width: 0; } .dvt select.st { min-width: 0; } }

.tabs { max-width: 100%; overflow-x: auto; scrollbar-width: thin; } .tabs a { white-space: nowrap; }
@media (max-width: 760px) { .dvt .who, .dvt .pj { text-align: right; } .dvt td[data-l="Projet"] .pj { max-width: 70%; } }
.dvt th, .dvt td { padding-left: 9px; padding-right: 9px; } .dvt td[data-l="Projet"] { min-width: 210px; max-width: 280px !important; } .dvt td[data-l="Client"] { min-width: 150px; } .dvt select.st { min-width: 148px; } .dvt td[data-l="Reçue le"] { font-size: .84rem; }
.dvt td[data-l="Projet"] { min-width: 190px; } .dvt select.st { min-width: 140px; } .dvt .ico2 { margin-left: 2px; }
.mailtxt { margin: 0; white-space: pre-wrap; word-wrap: break-word; font: inherit; line-height: 1.5; }
@media (min-width: 900px) { .mailsticky { position: sticky; top: 16px; align-self: start; } }

/* Aide artisan */
.aide-hero { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; background: linear-gradient(135deg,#0f172a,#1e293b); color: #fff; border-radius: 16px; padding: 24px 28px; margin-bottom: 20px; }
.aide-hero h2 { margin: 0 0 6px; color: #fff; } .aide-hero p { margin: 0; color: #cbd5e1; max-width: 560px; } .aide-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.aide-h { margin: 36px 0 6px; font-size: 1.5rem; } .aide-lead { margin: 0 0 16px; max-width: 760px; }
.shot { margin: 0; } .shot img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 30px rgba(15,23,42,.14); background: #fff; }
.shot figcaption { font-size: .85rem; color: var(--mute, #64748b); margin-top: 8px; text-align: center; }
.aide-step, .aide-adv { display: grid; grid-template-columns: minmax(0,5fr) minmax(0,7fr); gap: 28px; align-items: center; margin-bottom: 18px; }
.aide-adv.rev .shot { order: -1; } .aide-adv.rev { grid-template-columns: minmax(0,7fr) minmax(0,5fr); }
.aide-txt h3 { margin: 6px 0 8px; font-size: 1.25rem; } .aide-txt ul { padding-left: 18px; margin: 8px 0; } .aide-txt li { margin: 4px 0; }
.aide-n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand, #ea580c); color: #fff; font-weight: 700; }
.aide-ic { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #fff1e6; color: var(--brand, #ea580c); margin-right: 8px; } .aide-ic svg { width: 22px; height: 22px; }
.aide-pitch { background: #fff7ed; border: 1px solid #fed7aa; border-radius: 16px; padding: 22px 26px; margin-bottom: 20px; } .aide-pitch h3 { margin: 0 0 8px; font-size: 1.35rem; } .aide-pitch p { margin: 0; max-width: 820px; }
.aide-plans { display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 16px; margin-bottom: 24px; }
.aide-plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; } .aide-plan.pop { border: 2px solid var(--brand, #ea580c); box-shadow: 0 14px 34px rgba(234,88,12,.18); }
.aide-plan h3 { margin: 0 0 2px; } .aide-prix { font-size: 2rem; font-weight: 800; margin: 10px 0 0; } .aide-prix small { font-size: .9rem; font-weight: 500; color: #64748b; }
.aide-plan ul { list-style: none; padding: 0; margin: 14px 0; } .aide-plan li { display: flex; gap: 8px; margin: 7px 0; font-size: .92rem; } .aide-plan li svg { flex: none; width: 16px; height: 16px; color: #16a34a; margin-top: 3px; }
.aide-flag { position: absolute; top: -12px; right: 18px; background: var(--brand, #ea580c); color: #fff; font-size: .75rem; font-weight: 700; padding: 3px 12px; border-radius: 99px; }
.aide-final { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; background: #0f172a; color: #fff; border: 0; } .aide-final h3 { color: #fff; margin: 0 0 4px; } .aide-final p { margin: 0; color: #cbd5e1; }
@media (max-width: 900px) { .aide-step, .aide-adv, .aide-adv.rev { grid-template-columns: 1fr; gap: 14px; } .aide-adv.rev .shot { order: 0; } .aide-hero { padding: 18px; } }
.aide-final .btn, .aide-nav .btn, .aide-txt .btn { white-space: normal; text-align: center; max-width: 100%; } @media (max-width: 900px) { .aide-final .btn { width: 100%; justify-content: center; } }
.promo { margin: 0 0 18px; text-align: center; } .promo summary { cursor: pointer; display: inline-flex; gap: 6px; align-items: center; color: var(--brand, #ea580c); font-weight: 600; } .promo[open] summary { margin-bottom: 4px; } .promo .row { justify-content: center; } .plan .price s { text-decoration-thickness: 1.5px; }
.plan li.off, .aide-plan li.off { color: #94a3b8; text-decoration: line-through; } .plan li.off svg, .aide-plan li.off svg { color: #cbd5e1 !important; }
.avl { display: grid; grid-template-columns: auto 1fr auto auto auto; gap: 8px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); } .avl.hid input[type=text] { opacity: .5; } .avl .btn { padding: 4px 9px; }

/* Accueil : hero de hauteur standard, « Plus de filtres » à côté du moteur */
.hero2 { display: flex; align-items: center; min-height: 440px; padding: 56px 0 40px; }
.hero2 > .wrap { width: 100%; }
.hrow { display: flex; align-items: center; justify-content: center; gap: 12px; max-width: 1060px; margin: 0 auto; }
.hrow .hsearch { flex: 1 1 auto; max-width: 900px; margin: 0; }
.hmorebtn { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 60px; padding: 0 20px; border-radius: 16px; font: inherit; font-weight: 700; font-size: .92rem; color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.4); cursor: pointer; white-space: nowrap; backdrop-filter: blur(6px); }
.hmorebtn:hover { background: rgba(255,255,255,.24); }
.hmorebtn .ico { width: 18px; height: 18px; }
.hero2 .hmore { margin-top: 18px; }
@media (max-width: 1100px) { .hrow { flex-wrap: wrap; } .hrow .hsearch { flex-basis: 100%; max-width: 900px; } }
@media (max-width: 700px) { .hero2 { min-height: 360px; padding: 32px 0 24px; } .hmorebtn { width: 100%; justify-content: center; height: 48px; } }

/* Logo : pictogramme maison + photo, mot-symbole en deux tons */
.logo i { background: linear-gradient(135deg, #ea580c, #f59e0b); box-shadow: 0 4px 10px rgba(234,88,12,.28); }
.logo i svg { width: 32px; height: 32px; display: block; }
.logo b { font-weight: 800; letter-spacing: -.03em; } .logo .lg2 { color: var(--brand); }
.side .logo, .foot .logo { color: #fff; } .side .logo .lg2, .foot .logo .lg2 { color: #fdba74; }

.plan .save { color: #15803d; font-weight: 700; margin-top: 4px; }
.plan .price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; } .plan .price small { white-space: nowrap; } .plan .price s { white-space: nowrap; }

/* « Plus de filtres » : simple lien à côté du moteur */
.hmorebtn { height: auto; padding: 4px 2px; border: 0; border-radius: 0; background: none; backdrop-filter: none; color: #fed7aa; font-weight: 600; font-size: .95rem; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(254,215,170,.45); }
.hmorebtn:hover { background: none; color: #fff; text-decoration-color: #fff; }
.hmorebtn .ico { width: 16px; height: 16px; }
@media (max-width: 700px) { .hmorebtn { width: auto; height: auto; justify-content: center; margin: 4px auto 0; } }

/* Panneau de filtres : libellé à gauche, pastilles alignées à droite, mêmes hauteurs */
.hero2 .filters { max-width: 1000px; padding: 22px 26px 18px; border: 0; border-radius: 18px; box-shadow: 0 24px 60px rgba(2,6,23,.45); margin-top: 20px; }
.fhead { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; padding-bottom: 14px; }
.fhead b { font-size: 1.05rem; letter-spacing: -.01em; } .fhead span { color: var(--mute); font-size: .85rem; }
.fgroup { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 10px 20px; align-items: start; padding: 14px 0; border-top: 1px solid var(--line); }
.fgroup b { padding-top: 8px; font-size: .74rem; letter-spacing: .08em; }
.fchips { display: flex; flex-wrap: wrap; gap: 8px; }
.fchips .chip { height: 36px; padding: 0 16px; justify-content: center; white-space: nowrap; font-size: .88rem; }
.ffoot { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 4px; }
.linkreset { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; font-size: .9rem; color: var(--mute); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; } .linkreset:hover { color: var(--ink); }
@media (max-width: 700px) { .fgroup { grid-template-columns: 1fr; gap: 8px; padding: 12px 0; } .fgroup b { padding-top: 0; } .hero2 .filters { padding: 18px 16px 14px; } .fchips .chip { height: 34px; padding: 0 13px; } }

/* Pied de page */
.foot { margin-top: 72px; padding: 56px 0 0; border-top: 0; background: #0f172a; color: #94a3b8; font-size: .92rem; }
.foot .wrap { display: block; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px 40px; padding-bottom: 44px; }
.foot-brand .logo { font-size: 1.25rem; margin-bottom: 14px; display: inline-flex; }
.foot-brand p { margin: 0 0 8px; color: #e2e8f0; font-weight: 600; font-size: 1rem; line-height: 1.45; max-width: 300px; }
.foot-brand p.foot-sub { color: #94a3b8; font-weight: 400; font-size: .88rem; }
.foot-links { display: contents; }
.foot-links > div, .foot-nav { display: grid; gap: 9px; align-content: start; min-width: 0; }
.foot-links b, .foot-nav b { color: #fff; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.foot a { color: #94a3b8; text-decoration: none; transition: color .15s; }
.foot a:hover { color: #fdba74; }
.foot-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding: 20px 0 26px; border-top: 1px solid rgba(148,163,184,.22); font-size: .84rem; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .foot { padding-top: 40px; } .foot-grid { grid-template-columns: 1fr; gap: 28px; } .foot-bar { flex-direction: column; } }

.foot-legal { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.pagetxt h2 { font-size: 1.25rem; margin: 26px 0 8px; } .pagetxt h3 { font-size: 1.05rem; margin: 18px 0 6px; } .pagetxt p { margin: 0 0 12px; line-height: 1.65; } .pagetxt ul, .pagetxt ol { margin: 0 0 14px; padding-left: 22px; line-height: 1.65; } .pagetxt li { margin: 3px 0; } .pagetxt hr { border: 0; border-top: 1px solid var(--line); margin: 22px 0; } .pagetxt a { color: var(--brand-d); text-decoration: underline; }
#pg-prev { max-height: 70vh; overflow: auto; font-size: .92rem; } #pg-prev h2 { font-size: 1.05rem; margin-top: 16px; }

.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 16px; margin-bottom: 8px; } .faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; } .faq summary::-webkit-details-marker { display: none; } .faq summary::after { content: '+'; font-size: 1.3rem; line-height: 1; color: var(--brand); } .faq details[open] summary::after { content: '−'; } .faq details p { margin: 0 0 14px; color: #475569; line-height: 1.6; }
.seo-snip { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: #fff; } .seo-snip .u { color: #166534; font-size: .8rem; } .seo-snip .t { color: #1a0dab; font-size: 1.15rem; line-height: 1.3; margin: 2px 0; } .seo-snip .d { color: #4d5156; font-size: .88rem; line-height: 1.5; }
.cnt { font-size: .78rem; color: var(--mute); text-align: right; } .cnt.warn { color: #b45309; font-weight: 700; }

/* Accueil : « Comment ça marche » (bandeau crème) */
.steps2 { position: relative; background: #fff7ed; margin-top: 64px; padding: 56px 0 60px; overflow: hidden; }
.steps2 h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.1; margin: 0 0 30px; max-width: 760px; }
.st2-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; z-index: 1; }
.st2-card { background: #fff; border-radius: 22px; padding: 28px 28px 30px; box-shadow: 0 1px 0 rgba(15,23,42,.04); }
.st2-n { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 1.5rem; font-weight: 800; margin-bottom: 18px; }
.st2-card h3 { font-size: 1.3rem; line-height: 1.25; letter-spacing: -.02em; margin: 0 0 8px; max-width: 280px; } .st2-card p { color: #475569; line-height: 1.55; margin: 0; }
.st2-cta { text-align: center; margin: 34px 0 0; }
.btn-yel { display: inline-flex; align-items: center; gap: 10px; background: var(--brand); color: #fff; font-weight: 700; padding: 15px 26px; border-radius: 14px; text-decoration: none; transition: background .15s, transform .1s; } .btn-yel:hover { background: var(--brand-d); } .btn-yel .ico { width: 18px; height: 18px; }
.st2-photos { position: absolute; right: 24px; top: 22px; width: 330px; height: 150px; pointer-events: none; z-index: 0; } .st2-photos img { position: absolute; width: 150px; height: 112px; object-fit: cover; border: 5px solid #fff; border-radius: 16px; box-shadow: 0 12px 28px rgba(15,23,42,.18); }
.st2-photos .ph1 { right: 170px; top: 18px; transform: rotate(-6deg); } .st2-photos .ph2 { right: 14px; top: 0; transform: rotate(4deg); } .st2-photos .ph3 { display: none; }
.st2-own { position: absolute; right: 0; bottom: 0; height: 88%; max-height: 420px; width: auto; z-index: 2; pointer-events: none; }
/* Accueil : grand bandeau d'inscription des artisans */
.pb-wrap { margin-top: 56px; margin-bottom: 8px; }
.probanner { display: grid; grid-template-columns: 1.1fr .9fr; min-height: 400px; border-radius: 26px; overflow: hidden; background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); color: #fff; box-shadow: 0 24px 60px rgba(15,23,42,.25); }
.pb-txt { padding: 48px 52px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.pb-txt .logo { font-size: 1.15rem; margin-bottom: 38px; color: #fff; } .pb-txt .logo .lg2 { color: #fdba74; }
.pb-txt h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.08; margin: 0 0 12px; }
.pb-sub { color: #e2e8f0; font-size: 1.08rem; margin: 0 0 22px; }
.pb-txt ul { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 12px; } .pb-txt li { position: relative; padding-left: 22px; font-weight: 600; } .pb-txt li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: #fb923c; }
.pb-img { position: relative; min-height: 260px; } .pb-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1100px) { .st2-photos { display: none; } .st2-own { display: none; } }
@media (max-width: 900px) { .st2-grid { grid-template-columns: 1fr; } .probanner { grid-template-columns: 1fr; } .pb-img { order: -1; min-height: 200px; height: 220px; } .pb-txt { padding: 32px 26px 36px; } .pb-txt .logo { margin-bottom: 24px; } .steps2 { padding: 40px 0 44px; margin-top: 44px; } }

.coeur { border: 0; background: none; cursor: pointer; font-size: 1rem; line-height: 1; padding: 0 0 0 6px; color: #cbd5e1; vertical-align: baseline; } .coeur:hover { color: #f59e0b; } .coeur.on { color: #f59e0b; }
.st2-photos a { position: absolute; display: block; } .st2-photos a img { position: static; display: block; }
.st2-photos { pointer-events: none; } .st2-photos a { pointer-events: auto; }

.imgprev { background: #f1f5f9; border-radius: 12px; padding: 8px; } .imgprev img { display: block; width: 100%; max-height: 220px; object-fit: contain; border-radius: 8px; } .imgprev.chk { background: repeating-conic-gradient(#e2e8f0 0 25%, #f8fafc 0 50%) 0 0 / 16px 16px; }
.pb-img img { object-position: 55% 50%; }

.coeur-ck { padding: 4px 8px; border-radius: 8px; border: 1px solid var(--line); background: #f8fafc; width: fit-content; } .coeur-ck.on { border-color: #f59e0b; background: #fffbeb; color: #b45309; font-weight: 700; }

/* « Comment ça marche » : photos du décor agrandies */
.st2-photos { right: 24px; top: 14px; width: 440px; height: 190px; }
.st2-photos img { width: 200px; height: 150px; border-width: 6px; border-radius: 18px; }
.st2-photos .ph1 { right: 226px; top: 34px; transform: rotate(-6deg); } .st2-photos .ph2 { right: 14px; top: 0; transform: rotate(4deg); }
@media (min-width: 1101px) { .steps2.has-deco h2 { max-width: min(760px, calc(100% - 480px)); } }
@media (min-width: 1101px) { .steps2.has-deco { padding-top: 88px; } .st2-photos { top: 12px; } }

/* Pied de page : colonnes de liens à gauche, carte de la Belgique à droite */
.foot-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 400px); gap: 24px 48px; align-items: center; }
.foot-cols { display: grid; grid-auto-flow: column; grid-template-columns: minmax(230px, 1.5fr); grid-auto-columns: minmax(130px, 1fr); gap: 36px 36px; align-items: start; }
.foot-map { display: flex; justify-content: flex-end; } .foot-map img { display: block; width: 100%; max-width: 400px; height: auto; }
@media (max-width: 1100px) { .foot-grid { grid-template-columns: 1fr; } .foot-map { display: none; } }
@media (max-width: 900px) { .foot-cols { grid-auto-flow: row; grid-template-columns: 1fr 1fr; } .foot-cols .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .foot-cols { grid-template-columns: 1fr; } }
.foot .logo .lg2 { color: #ea580c; }   /* « du Bâtiment » : même orange que le reste du site */

.favn { display: inline-block; min-width: 20px; padding: 0 6px; margin-left: 2px; border-radius: 99px; background: var(--brand); color: #fff; font-size: .75rem; font-weight: 800; line-height: 20px; text-align: center; } .favn:empty { display: none; }

/* Administration : réglage du filtre du bandeau d'accueil */
.hfprev { position: relative; height: 170px; border-radius: 14px; overflow: hidden; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 1.25rem; text-shadow: 0 2px 14px rgba(0,0,0,.45); background: linear-gradient(180deg, rgba(var(--hf,15,23,42), var(--ha,.5)), rgba(var(--hf,15,23,42), var(--hb,.32)) 55%, rgba(var(--hf,15,23,42), var(--hc,.72))), var(--hero) center / cover no-repeat, #0f172a; }
.hfrow { display: grid; grid-template-columns: 90px 1fr 70px; gap: 14px; align-items: center; } .hfrow input[type=color] { width: 90px; height: 44px; padding: 3px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; } .hfrow input[type=range] { width: 100%; accent-color: var(--brand); } .hfrow output { font-weight: 800; text-align: right; }
@media (max-width: 600px) { .hfrow { grid-template-columns: 70px 1fr 56px; gap: 10px; } .hfrow input[type=color] { width: 70px; } }

/* Réalisations : titre et description toujours visibles (plus seulement au survol) */
.pin .ov, .pin:hover .ov, .pin:focus-within .ov { opacity: 1; padding: 44px 14px 12px; background: linear-gradient(transparent, rgba(2,6,23,.84) 62%); }
.pin .ov .pt { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.pin .ov span { display: block; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ============ Fiche artisan : en-tête clair ============ */
.phx { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 34px 38px 30px; margin-bottom: 20px; box-shadow: var(--sh); }
.phx::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 5px; background: linear-gradient(90deg, #ea580c, #f59e0b 60%, #fdba74); }
.phx-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.phx-logo { flex: none; display: grid; place-items: center; min-width: 120px; min-height: 104px; max-width: 280px; padding: 12px 20px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 24px rgba(15,23,42,.08); }
.phx-logo img { display: block; width: auto; height: auto; max-height: 88px; max-width: 240px; object-fit: contain; }
.phx-mono { flex: none; width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; font-size: 2.2rem; font-weight: 800; letter-spacing: -.02em; color: #fff; background: linear-gradient(135deg, #ea580c, #f59e0b); box-shadow: 0 10px 26px rgba(234,88,12,.35); }
.phx-badges { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.phx h1 { margin: 18px 0 0; font-size: clamp(1.45rem, 2.4vw, 1.9rem); line-height: 1.1; letter-spacing: -.03em; overflow-wrap: anywhere; }
.phx-meta { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 10px; color: var(--mute); font-size: .98rem; } .phx-meta span { display: inline-flex; align-items: center; gap: 7px; } .phx-meta a { color: var(--brand); font-weight: 650; } .phx-meta a:hover { text-decoration: underline; }
.phx-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 0; padding: 0; }
.phx-facts li { display: flex; flex-direction: column; min-width: 120px; padding: 12px 18px; border-radius: 16px; background: #f8fafc; border: 1px solid var(--line); }
.phx-facts b { font-size: 1.4rem; line-height: 1.1; letter-spacing: -.02em; color: var(--ink); } .phx-facts span { color: var(--mute); font-size: .8rem; margin-top: 2px; }
.phx-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.phx-tags a { padding: 7px 14px; border-radius: 999px; font-size: .84rem; font-weight: 650; color: #c2410c; background: #ffedd5; transition: background .15s, color .15s; } .phx-tags a:hover { background: var(--brand); color: #fff; }
.phx-gar { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.phero.pabout { border-radius: 24px; border-left: 4px solid var(--brand); } .pabout .pdesc h2 { letter-spacing: -.02em; }
@media (max-width: 700px) {
  .phx { padding: 26px 20px 22px; border-radius: 22px; } .phx-top { flex-direction: column; gap: 14px; } .phx-badges { justify-content: flex-start; }
  .phx-logo { min-width: 104px; min-height: 88px; max-width: 100%; padding: 10px 16px; border-radius: 18px; } .phx-logo img { max-height: 70px; max-width: 100%; } .phx-mono { width: 80px; height: 80px; font-size: 1.9rem; }
  .phx h1 { margin-top: 16px; } .phx-facts { gap: 8px; margin-top: 18px; } .phx-facts li { min-width: 0; flex: 1 1 0; padding: 10px 12px; } .phx-facts b { font-size: 1.2rem; }
}

/* Bouton et fenêtre « Besoin d'aide ? » */
.aide-btn { background: #fff; color: #128c7e; border: 1px solid #b7e4dc; font-weight: 600; } .aide-btn:hover { background: #ecfdf5; }
.aide-dlg { text-align: center; padding: 34px 28px 26px; border-radius: 20px; width: min(430px, 94vw); }
.aide-ico { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #25d366, #128c7e); box-shadow: 0 8px 20px rgba(18,140,126,.35); } .aide-ico svg { width: 34px; height: 34px; }
.aide-dlg h2 { margin: 0 0 6px; font-size: 1.4rem; } .aide-lead { margin: 0 0 20px; line-height: 1.5; }
.aide-wa { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 15px 20px; border-radius: 14px; background: linear-gradient(135deg, #25d366, #1ebe5a); color: #fff; text-decoration: none; text-align: left; box-shadow: 0 8px 18px rgba(37,211,102,.35); transition: transform .15s, box-shadow .15s; }
.aide-wa:hover { transform: translateY(-1px); box-shadow: 0 12px 24px rgba(37,211,102,.45); } .aide-wa svg { flex: none; width: 34px; height: 34px; }
.aide-wa span { display: flex; flex-direction: column; line-height: 1.25; } .aide-wa b { font-size: 1.08rem; } .aide-wa small { opacity: .92; font-size: .8rem; }
.aide-hint { margin: 12px 4px 0; font-size: .82rem; color: var(--mute, #64748b); line-height: 1.45; }
.aide-tel { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 9px 16px; border-radius: 999px; background: #f1f5f9; color: inherit; text-decoration: none; font-size: .9rem; } .aide-tel:hover { background: #e2e8f0; } .aide-tel svg { width: 16px; height: 16px; }
.aide-hor { margin: 14px 0 0; font-size: .8rem; color: var(--mute, #64748b); display: flex; align-items: center; justify-content: center; gap: 6px; } .aide-hor svg { width: 14px; height: 14px; }
@media (max-width: 640px) { .aide-btn { padding: 6px 10px; font-size: .8rem; } }

/* Icône œil des champs mot de passe */
.pw-wrap { position: relative; display: block; } .pw-wrap > input { width: 100%; padding-right: 44px; }
.pw-eye { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; background: transparent; color: #64748b; border-radius: 8px; cursor: pointer; display: grid; place-items: center; } .pw-eye:hover { color: var(--brand, #ea580c); background: #f1f5f9; } .pw-eye[aria-pressed=true] { color: var(--brand, #ea580c); }

/* Réseaux sociaux de l'artisan (fiche publique) */
.rsoc { display: flex; flex-wrap: wrap; gap: 8px; } .rs { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #f1f5f9; color: #334155; transition: background .15s, color .15s, transform .15s; } .rs:hover { background: var(--brand); color: #fff; transform: translateY(-1px); } .rs svg { width: 18px; height: 18px; }

.phx-soc { margin: 10px 0 2px; }
.s-instagram { background: linear-gradient(45deg, #f09433, #dc2743 55%, #bc1888); } .s-linkedin { background: #0a66c2; } .s-youtube { background: #ff0000; } .s-tiktok { background: #111; }

/* Page réalisation : bouton « Voir la fiche de l'artisan » plus visible, icônes des réseaux en dessous */
.btn-fiche { border-color: var(--brand); color: var(--brand-d, #c2410c); font-weight: 700; gap: 8px; } .btn-fiche:hover { background: var(--brand-l, #fff1e8); } .btn-fiche svg { width: 18px; height: 18px; }
.psoc { display: flex; justify-content: center; } .psoc .rsoc { justify-content: center; }

/* Interrupteur compact (liste des métiers) : le texte reste lisible par les lecteurs d'écran */
.sw-sm { gap: 0; } .sw-sm input { width: 38px; height: 22px; } .sw-sm input::after { top: 2px; left: 2px; width: 18px; height: 18px; } .sw-sm input:checked::after { transform: translateX(16px); }
.sw-sm span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* « Trouvez votre artisan en 3 étapes » : les deux photos passent au premier plan, devant les cartes */
.st2-photos { z-index: 3; }

/* un champ masqué par l'attribut hidden doit vraiment disparaître (n° d'entreprise en offre gratuite) */
.field[hidden] { display: none; }

/* Fenêtre « Créer mon compte » */
.signup-dlg { width: min(480px, 94vw); padding: 28px 26px 22px; border-radius: 20px; max-height: 94vh; overflow-y: auto; } .signup-dlg h2 { margin: 0 0 12px; font-size: 1.35rem; }
.su-offre { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 12px 14px; margin-bottom: 16px; border-radius: 12px; background: var(--brand-l, #fff1e8); border: 1px solid #fed7aa; } .su-offre span { font-size: .8rem; color: #9a3412; } .su-offre b { font-size: 1.05rem; } .su-offre em { font-style: normal; font-weight: 700; color: var(--brand-d, #c2410c); margin-left: auto; }
.pw-sugg { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 6px; } .pw-sugg .link { background: none; border: 0; padding: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; } .pw-sugg svg { width: 14px; height: 14px; } .pw-sugg .hint { margin: 0; }

.su-cond { display: grid; gap: 3px; padding: 10px 12px; margin: 4px 0 12px; border-radius: 10px; background: #f1f5f9; font-size: .84rem; color: #334155; line-height: 1.45; } .su-cond > b { font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: #64748b; }

/* « Ajouter un métier à ma fiche » (formulaire de réalisation) */
.addmet { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .addmet-box { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; } .addmet-box select { padding: 7px 10px; border-radius: 10px; border: 1px solid var(--line); max-width: 230px; } .addmet .hint { margin: 0; }
.addmet [hidden] { display: none !important; }

/* Retouche photo */
dialog.retouche { width: min(1040px, 96vw); max-height: 94vh; overflow: auto; }
.rt-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr); gap: 22px; margin-top: 10px; }
.rt-stage { position: relative; background: #0f172a; border-radius: 14px; padding: 8px; display: grid; place-items: center; min-height: 220px; }
.rt-stage canvas { display: block; max-width: 100%; max-height: 62vh; border-radius: 8px; touch-action: none; cursor: grab; background: #fff; }
.rt-lab { position: absolute; left: 16px; right: 16px; top: 16px; display: flex; justify-content: space-between; pointer-events: none; } .rt-lab span { background: rgba(15,23,42,.75); color: #fff; font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; text-transform: uppercase; letter-spacing: .05em; }
.rt-cmp { margin-top: 8px; } .rt-cmp input, .rt-sl input { width: 100%; accent-color: var(--brand); }
.rt-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.rt-tabs button, .chip-b { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 12px; font-size: .82rem; font-weight: 600; cursor: pointer; color: var(--ink); font-family: inherit; }
.rt-tabs button.on, .chip-b.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.rt-hint { font-size: .8rem; color: var(--mute); margin-top: 8px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rt-panel { display: grid; gap: 18px; align-content: start; } .rt-panel h3 { margin: 0 0 8px; font-size: .95rem; }
.rt-panel section { display: grid; gap: 10px; align-content: start; border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.rt-chips, .rt-rot { display: flex; gap: 6px; flex-wrap: wrap; }
.rt-sl { display: grid; gap: 4px; font-size: .84rem; font-weight: 600; } .rt-sl span { display: flex; justify-content: space-between; } .rt-sl output { color: var(--mute); font-weight: 500; }
.rt-panel [data-rt=auto].on { border-color: var(--brand); color: var(--brand); background: #fff7ed; }
.rt-msg { min-height: 1.2em; font-size: .85rem; margin-top: 10px; color: var(--mute); } .rt-link[hidden] { display: none; }
@media (max-width: 760px) { .rt-grid { grid-template-columns: 1fr; } dialog.retouche { padding: 18px; } }
.rt-tabs[hidden], .rt-cmp[hidden], .rt-lab[hidden] { display: none; }
dialog.retouche .edit-actions { position: sticky; bottom: -26px; background: #fff; padding: 12px 0 4px; margin-top: 8px; z-index: 2; }

.rt-manual { justify-content: center; } .rt-manual.on { box-shadow: 0 0 0 3px #fed7aa; }
.rt-man { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; background: #fff7ed; border: 1px solid #fed7aa; border-radius: 10px; padding: 8px 12px; margin-bottom: 8px; font-size: .84rem; font-weight: 600; } .rt-man span { flex: 1 1 200px; } .rt-man[hidden] { display: none; }
.rt-tabs.lock { opacity: .5; pointer-events: none; }
[data-retouch].btn-block { margin-top: 4px; font-weight: 700; }

.edit-media { grid-template-columns: minmax(0, 1fr); } .edit-media [data-retouch] { white-space: normal; }

.rt-pulse { animation: rtpulse 1.2s ease-in-out 3; } @keyframes rtpulse { 50% { box-shadow: 0 0 0 7px rgba(234,88,12,.35); } }
.rt-applied { font-weight: 700; margin: 8px 0; }

.rt-op { margin-top: 8px; } .rt-op label { display: grid; gap: 4px; font-size: .84rem; font-weight: 600; } .rt-op output { color: var(--mute); font-weight: 500; float: right; } .rt-op input { width: 100%; accent-color: var(--brand); } .rt-op[hidden], .rt-align[hidden] { display: none; }
.rt-pad { display: grid; grid-template-columns: repeat(3, 44px); gap: 6px; justify-content: center; } .rt-pad .btn { padding: 8px 0; justify-content: center; font-size: 1.05rem; }
.rt-note { font-size: .8rem; color: var(--mute); margin: 0; }
.rt-tabs button.on[data-rt=grid], .rt-hint .btn.on { border-color: var(--brand); color: var(--brand); background: #fff7ed; }
.rt-panel .rt-note { font-size: .8rem; color: var(--mute); margin: 0; line-height: 1.4; }

.rt-op { display: grid; gap: 8px; } .rt-op[hidden], .rt-alpha[hidden], .rt-legend[hidden] { display: none; }
.lg { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -1px; } .lg.r { background: #eb1e1e; } .lg.b { background: #145aeb; } .lg.v { background: #aa28c8; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.sim .simimg { display: block; width: 100%; aspect-ratio: 4 / 3; background: #e2e8f0 center / cover no-repeat; }
.sim .mlogo { background-color: #fff; background-position: center; background-size: contain; background-repeat: no-repeat; background-origin: content-box; }
.dict-tip { display: flex; gap: 10px; align-items: flex-start; background: #fff7ed; border: 1px solid #fed7aa; border-radius: 12px; padding: 10px 12px; font-size: .85rem; margin-bottom: 12px; line-height: 1.4; } .dict-tip > span { font-size: 1.2rem; }

.dict-btn { padding: 3px 10px; margin-left: 8px; } .dict-btn[hidden] { display: none; } .dict-btn.rec { background: #fef2f2; border-color: #fca5a5; color: #b91c1c; animation: dictrec 1.1s ease-in-out infinite; } @keyframes dictrec { 50% { box-shadow: 0 0 0 5px rgba(220,38,38,.18); } }
.dict-msg { color: var(--bad); } .dict-msg:empty { display: none; } .dict-tip [hidden] { display: none; }

.wg-pager { display: flex; gap: 6px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 14px; } .wg-pager a, .wg-pager span { padding: 6px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: .85rem; font-weight: 600; color: var(--ink); background: #fff; }
.wg-pager a:hover { border-color: var(--wg-accent, var(--brand)); color: var(--wg-accent, var(--brand)); } .wg-pager .on { background: var(--wg-accent, var(--brand)); border-color: var(--wg-accent, var(--brand)); color: var(--wg-accent-ink, #fff); } .wg-pager .off, .wg-pager .gap { color: var(--mute); border-color: transparent; background: transparent; }

/* Galerie intégrable : agrandissement dans la galerie (quand le script n'est pas installé sur le site de l'artisan) */
.wg-lb { position: fixed; inset: 0; z-index: 50; background: rgba(15,23,42,.92); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 12px; box-sizing: border-box; }
.wg-lb img { max-width: 100%; max-height: calc(100% - 110px); min-height: 0; object-fit: contain; border-radius: 10px; background: #e2e8f0; } .wg-lb-t { color: #fff; font-weight: 600; text-align: center; font-size: .9rem; } .wg-lb-c { color: #cbd5e1; font-size: .75rem; }
.wg-lb-a { background: var(--wg-accent, var(--brand)); color: var(--wg-accent-ink, #fff); font-weight: 700; font-size: .82rem; padding: 8px 14px; border-radius: 10px; text-decoration: none; }
.wg-lb button { position: absolute; border: 0; background: rgba(255,255,255,.16); color: #fff; font-size: 24px; line-height: 1; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; } .wg-lb-x { top: 10px; right: 10px; } .wg-lb-p { left: 10px; top: 50%; margin-top: -20px; } .wg-lb-n { right: 10px; top: 50%; margin-top: -20px; }

/* Galerie intégrable : titre dans un cadre noir translucide, en bas de la photo (2 lignes au plus) */
.wg-t { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 10px; background: rgba(0, 0, 0, .62); color: #fff; font-size: .8rem; font-weight: 600; line-height: 1.25; text-align: left; pointer-events: none; transition: background .2s; }
.wg-t > span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.wg-grid a:hover .wg-t { background: rgba(0, 0, 0, .8); }
@media (max-width: 640px) { .wg-t { font-size: .72rem; padding: 6px 7px; } }

/* Galerie intégrable : éléments cliquables sans adresse affichée au survol */
.wg-grid a, .wg-pager a { cursor: pointer; } .wg-grid a:focus-visible, .wg-pager a:focus-visible { outline: 2px solid var(--wg-accent, var(--brand)); outline-offset: 2px; }
.wg-lb-a { border: 0; cursor: pointer; font-family: inherit; }

/* Fonctionnalités : bouton « i » et fenêtre d'explication */
.plabel { display: flex; align-items: flex-start; gap: 8px; } .plabel > label { flex: 1 1 auto; min-width: 0; }
.pinfo { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--brand); background: #fff; color: var(--brand); font: italic 700 .8rem/1 Georgia, 'Times New Roman', serif; cursor: pointer; display: inline-grid; place-items: center; padding: 0; margin-top: 1px; }
.pinfo:hover, .pinfo:focus-visible { background: var(--brand); color: #fff; outline: none; }
.pinfo-dlg { width: min(620px, 94vw); max-height: 88vh; overflow-y: auto; }
.pinfo-dlg h3 { margin: 0 34px 10px 0; font-size: 1.15rem; } .pinfo-dlg h4 { margin: 16px 0 4px; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--brand); } .pinfo-dlg p { margin: 0 0 8px; line-height: 1.55; color: var(--ink-2); }
.pi-val { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 16px; padding: 10px 12px; background: #f8fafc; border: 1px solid var(--line); border-radius: 10px; font-size: .85rem; color: var(--ink-2); }

.pinfo { margin-left: 6px; vertical-align: middle; font-style: italic; text-transform: none; letter-spacing: 0; } .plabel .pinfo { margin-left: 0; } .plabel > label { flex: 0 1 auto !important; }
h1 .pinfo, h2 .pinfo, h3 .pinfo { width: 20px; height: 20px; font-size: .75rem; } .kpi .l .pinfo { margin-left: 6px; }

/* Mes réalisations : outils, affichage en liste, partage */
.phtools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; } .phsearch { position: relative; flex: 1 1 240px; max-width: 420px; } .phsearch svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--mute); pointer-events: none; }
.phsearch input { width: 100%; padding: 10px 12px 10px 38px; border: 1px solid var(--line); border-radius: 12px; font: inherit; background: #fff; }
.vswitch { display: inline-flex; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; } .vswitch button { display: inline-flex; align-items: center; gap: 6px; padding: 9px 12px; border: 0; background: #fff; cursor: pointer; font: inherit; font-size: .85rem; font-weight: 600; color: var(--ink-2); } .vswitch button svg { width: 16px; height: 16px; } .vswitch button.on { background: var(--brand); color: #fff; }
.phtools .btn-primary { margin-left: auto; }
.thumb[hidden] { display: none; } .thumb .tdesc { display: none; } .thumb .trow { align-items: center; }
.thumbs.is-list { grid-template-columns: 1fr; gap: 8px; }
.thumbs.is-list .thumb { grid-template-columns: 88px minmax(0, 1fr); align-items: center; border-radius: 12px; }
.thumbs.is-list .thumb img { width: 88px; height: 66px; aspect-ratio: auto; border-radius: 0; }
.thumbs.is-list .tb { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: 'tt tbd tvw' 'tdesc tbd tvw'; column-gap: 14px; row-gap: 2px; align-items: center; padding: 6px 12px 6px 4px; }
.thumbs.is-list .tt { grid-area: tt; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .thumbs.is-list .tdesc { display: block; grid-area: tdesc; font-size: .78rem; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.thumbs.is-list .tbd { grid-area: tbd; } .thumbs.is-list .trow { display: contents; } .thumbs.is-list .tvw { grid-area: tvw; white-space: nowrap; } .thumbs.is-list .tac { grid-column: 4; grid-row: 1 / span 2; }
.thumbs.is-list .tb { grid-template-columns: minmax(0, 1fr) auto auto auto; }
@media (max-width: 720px) {
  .thumbs.is-list .thumb { grid-template-columns: 76px minmax(0, 1fr); } .thumbs.is-list .thumb img { width: 76px; height: 76px; }
  .thumbs.is-list .tb { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'tt tac' 'tdesc tac' 'tbd tvw'; row-gap: 4px; } .thumbs.is-list .tac { grid-column: 2; grid-row: 1 / span 2; } .thumbs.is-list .tdesc { display: none; }
  .vswitch button span { display: none; } .phtools .btn-primary { margin-left: 0; width: 100%; justify-content: center; }
}
.sh-dlg { width: min(560px, 94vw); max-height: 92vh; overflow-y: auto; } .sh-h { margin: 0 34px 12px 0; font-size: 1.15rem; }
.sh-prev { display: flex; gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: #f8fafc; } .sh-prev img { width: 72px; height: 54px; object-fit: cover; border-radius: 8px; background: #e2e8f0; flex: 0 0 auto; } .sh-prev b { display: block; font-size: .92rem; } .sh-prev .xs { word-break: break-all; }
.sh-dlg textarea { width: 100%; font: inherit; line-height: 1.45; }
.sh-btns { display: grid; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 8px; margin-top: 10px; }
.sh-b { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 10px; border-radius: 12px; color: #fff; font-weight: 700; font-size: .85rem; text-decoration: none; cursor: pointer; background: #475569; } .sh-b svg { width: 18px; height: 18px; } .sh-b b { font-size: 1.05rem; }
.sh-b.s-whatsapp { background: #25d366; } .sh-b.s-facebook { background: #1877f2; } .sh-b.s-linkedin { background: #0a66c2; } .sh-b.s-x { background: #111; } .sh-b.s-pinterest { background: #e60023; } .sh-b.s-mail { background: #64748b; } .sh-b.s-instagram { background: linear-gradient(45deg, #f09433, #dc2743 55%, #bc1888); }
.sh-b:hover { filter: brightness(1.08); } .sh-sec { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); } .sh-sec .btn { justify-content: center; }
.sh-dlg [hidden] { display: none !important; } .sh-sec { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } .sh-sec .btn { white-space: normal; text-align: center; line-height: 1.25; }
@media (max-width: 720px) { .thumbs.is-list .tt { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } }

/* Partage : aperçu par réseau */
.sh-ap { margin-top: 14px; border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: #f8fafc; } .sh-aph { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; margin-bottom: 8px; }
.sh-tabs { display: flex; flex-wrap: wrap; gap: 6px; } .sh-tab { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 5px 12px; font: inherit; font-size: .8rem; font-weight: 600; cursor: pointer; color: var(--ink-2); } .sh-tab.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.sh-pv { margin-top: 10px; } .pv-txt { white-space: pre-wrap; overflow-wrap: anywhere; font-size: .88rem; line-height: 1.45; color: var(--ink); } .pv-note { margin-top: 8px; font-size: .76rem; color: var(--mute); line-height: 1.4; }
.pv-link { color: #0b57d0; text-decoration: underline; font-size: .85rem; overflow-wrap: anywhere; margin-top: 4px; }
.pv-wa { background: #dcf8c6; border-radius: 12px 12px 4px 12px; padding: 8px; max-width: 360px; margin-left: auto; display: grid; gap: 6px; box-shadow: 0 1px 1px rgba(0,0,0,.12); }
.pv-card { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; } .pv-card img { width: 100%; aspect-ratio: 1.91 / 1; object-fit: cover; display: block; background: #e2e8f0; } .pv-cb { padding: 8px 10px; display: grid; gap: 2px; } .pv-dom { font-size: .68rem; text-transform: uppercase; letter-spacing: .04em; color: var(--mute); } .pv-ct { font-weight: 700; font-size: .88rem; line-height: 1.25; } .pv-cd { font-size: .78rem; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pv-wac { background: #f1f5f9; } .pv-wac img { aspect-ratio: 2.4 / 1; }
.pv-post { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: grid; gap: 10px; max-width: 460px; } .pv-ph { display: flex; gap: 8px; align-items: center; font-size: .8rem; color: var(--mute); } .pv-av { width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; font-size: .62rem; font-weight: 800; display: grid; place-items: center; }
.pv-fb .pv-card { background: #f0f2f5; } .pv-lin .pv-card { border-radius: 4px; }
.pv-x, .pv-mail, .pv-pin, .pv-ig { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; max-width: 460px; display: grid; gap: 8px; } .pv-pin img, .pv-ig img { width: 100%; max-height: 260px; object-fit: cover; border-radius: 10px; background: #e2e8f0; } .pv-ig img { aspect-ratio: 1; max-height: none; }
.pv-subj { font-weight: 700; font-size: .88rem; border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.pv-cnt { margin-top: 6px; font-size: .78rem; color: var(--mute); font-weight: 600; } .pv-cnt.bad { color: var(--bad); }

.sh-dlg input[type=text] { width: 100%; font: inherit; }

/* Fenêtre « Complétez votre profil » */
.profil-bandeau { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 16px; } .profil-bandeau .btn { flex: 0 0 auto; }
.profil-dlg { max-height: 94vh; overflow-y: auto; } .profil-dlg .subh { margin: 14px 0 6px; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--brand); }

/* Galerie intégrable : couleur au survol des photos (voile + cadre + bandeau du titre) quand l'artisan en a choisi une */
.wg-hv .wg-grid a::after { content: ''; position: absolute; inset: 0; border-radius: 10px; background: var(--wg-hover); opacity: 0; transition: opacity .25s; pointer-events: none; }
.wg-hv .wg-grid a:hover::after { opacity: .22; } .wg-hv .wg-grid a:hover { outline: 4px solid var(--wg-hover); outline-offset: -4px; border-radius: 10px; } .wg-hv .wg-grid a:hover .wg-t { background: var(--wg-hover-bg); }
/* Espace artisan : réglage des couleurs de la galerie */
.wgc input[type=color] { width: 54px; height: 40px; padding: 2px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; } .wgc-chips { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.wgc-p { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); cursor: pointer; padding: 0; } .wgc-p:hover, .wgc-p:focus-visible { box-shadow: 0 0 0 2px var(--ink); outline: none; } .wgc-row .check { margin-top: 6px; }
/* Agrandissement dans la galerie : le bouton « Voir la réalisation… » est un <button> et ne doit pas hériter du style des boutons ronds (flèches, fermer) */
.wg-lb .wg-lb-a { position: static; width: auto; height: auto; border-radius: 10px; font-size: .82rem; line-height: 1.2; padding: 9px 16px; font-weight: 700; background: var(--wg-accent, var(--brand)); color: var(--wg-accent-ink, #fff); }

.wgc-pulse { animation: wgcp 1.4s ease-in-out infinite; } @keyframes wgcp { 0%,100% { box-shadow: 0 0 0 0 rgba(234,88,12,.45); } 50% { box-shadow: 0 0 0 8px rgba(234,88,12,0); } }
.wgc-dirty[hidden] { display: none; }
.wgc-dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; vertical-align: -2px; border: 1px solid var(--line); }
.wgc-hex { width: 110px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-family: ui-monospace, Menlo, Consolas, monospace; text-transform: lowercase; } .wgc-hex.bad { border-color: var(--bad); background: #fef2f2; } .wgc-err[hidden] { display: none; } .wgc-err { margin-top: 4px; }

/* Réalisations : où afficher la photo (portail / site de l'artisan) */
.pvis { display: flex; flex-wrap: wrap; gap: 6px 14px; padding-top: 4px; }
.sw.sw-t { gap: 8px; font-size: .8rem; font-weight: 600; color: var(--ink-2); }
.sw.sw-t input { width: 34px; height: 20px; } .sw.sw-t input::after { top: 2px; left: 2px; width: 16px; height: 16px; } .sw.sw-t input:checked::after { transform: translateX(14px); }
.sw.sw-t.busy { opacity: .55; pointer-events: none; }
.thumbs.is-list .pvis { grid-column: 1 / -1; padding-top: 0; }

/* Inscription : détail des services de la formule choisie */
.su-det { margin: 0 0 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.su-det > summary { cursor: pointer; padding: 10px 14px; font-weight: 700; font-size: .9rem; color: var(--ink); }
#su-det-l { display: grid; gap: 8px; padding: 2px 14px 12px; max-height: 260px; overflow-y: auto; }
.su-det .sd { display: grid; grid-template-columns: 20px 1fr; gap: 8px; font-size: .84rem; line-height: 1.4; }
.su-det .sd i { font-style: normal; font-weight: 800; color: #16a34a; } .su-det .sd.no i { color: #94a3b8; }
.su-det .sd b { display: inline; color: var(--ink); } .su-det .sd.no b { color: #94a3b8; font-weight: 600; }
.su-det .sd em { font-style: normal; font-size: .72rem; color: #94a3b8; border: 1px solid #cbd5e1; border-radius: 999px; padding: 0 7px; margin-left: 4px; }
.su-det .sd span { display: block; color: var(--mute, #64748b); font-size: .8rem; }
.panel > .su-det #su-det-l { max-height: none; overflow: visible; }

/* Inscription : message de confiance et sous-titres du détail */
.su-trust { display: flex; align-items: flex-start; gap: 10px; padding: 11px 14px; margin: 0 0 14px; border-radius: 12px; background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; font-weight: 600; font-size: .9rem; line-height: 1.4; }
.su-trust svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.su-det .sd-h { margin: 8px 0 0; font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: #94a3b8; } .su-det .sd-h:first-child { margin-top: 0; } .su-det .sd-h.ok { color: #15803d; }

/* Inscription : bouton « ? » à côté de chaque service et fenêtre d'explication */
.su-det .sd-q { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; margin-left: 6px; padding: 0; border-radius: 50%; border: 1.5px solid var(--brand, #ea580c); background: #fff; color: var(--brand, #ea580c); font: 800 .72rem/1 inherit; cursor: pointer; vertical-align: 1px; }
.su-det .sd-q:hover, .su-det .sd-q:focus-visible { background: var(--brand, #ea580c); color: #fff; outline: none; }
.sd-dlg { width: min(560px, calc(100vw - 24px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 18px; overflow: hidden; }
.sd-dlg[open] { display: flex; flex-direction: column; padding: 22px 22px 18px; }
.sd-dlg::backdrop { background: rgba(15, 23, 42, .6); }
.sd-dlg #sd-body { overflow-y: auto; padding-right: 4px; }
.sd-dlg h3 { margin: 0 34px 10px 0; font-size: 1.2rem; line-height: 1.25; }
.sd-dlg .sdst { padding: 10px 12px; border-radius: 10px; font-size: .88rem; font-weight: 600; margin-bottom: 12px; line-height: 1.4; }
.sd-dlg .sdst.ok { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; } .sd-dlg .sdst.no { background: #f1f5f9; color: #475569; border: 1px solid #e2e8f0; font-weight: 500; }
.sd-dlg .sdp { margin: 0 0 12px; padding: 12px 14px; border-radius: 12px; background: #f8fafc; border: 1px solid var(--line, #e2e8f0); }
.sd-dlg .sdp h4 { margin: 0 0 6px; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: #64748b; }
.sd-dlg .sdp p { margin: 0; font-size: .92rem; line-height: 1.5; color: #1e293b; } .sd-dlg .sdp ul { margin: 0; padding-left: 20px; display: grid; gap: 5px; font-size: .92rem; line-height: 1.45; color: #1e293b; }
.sd-dlg .sdp.a { background: #fff7ed; border-color: #fed7aa; } .sd-dlg .sdp.a h4 { color: #c2410c; }
.sd-dlg .sdp.g { background: #eff6ff; border-color: #bfdbfe; } .sd-dlg .sdp.g h4 { color: #1d4ed8; }
.sd-dlg .sdp.r { background: #ecfdf5; border-color: #a7f3d0; } .sd-dlg .sdp.r h4 { color: #047857; }

/* Administration : référencement Google d'une fiche */
.seo-etat { padding: 12px 14px; border-radius: 12px; margin-bottom: 14px; font-size: .92rem; line-height: 1.45; }
.seo-etat.ok { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; } .seo-etat.no { background: #fff7ed; border: 1px solid #fdba74; color: #9a3412; }
.seo-etat ul { margin: 6px 0 0; padding-left: 20px; display: grid; gap: 3px; font-weight: 500; }
.seo-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: start; } @media (max-width: 900px) { .seo-cols { grid-template-columns: 1fr; } }
.seo-cnt { font-size: .78rem; color: #64748b; margin-top: 4px; } .seo-cnt.over { color: #b45309; font-weight: 700; }
.seo-imgs { display: grid; grid-template-columns: repeat(auto-fill, minmax(74px, 1fr)); gap: 8px; max-height: 250px; overflow-y: auto; padding: 2px; }
.seo-img { position: relative; display: block; cursor: pointer; } .seo-img input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seo-img img, .seo-img .seo-auto { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; border: 2px solid var(--line, #e2e8f0); background: #f8fafc; font-size: .72rem; font-weight: 700; text-align: center; color: #475569; }
.seo-auto small { font-weight: 500; color: #94a3b8; }
.seo-img input:checked + img, .seo-img input:checked + .seo-auto { border-color: var(--brand, #ea580c); box-shadow: 0 0 0 3px rgba(234, 88, 12, .2); } .seo-img input:focus-visible + img, .seo-img input:focus-visible + .seo-auto { outline: 3px solid var(--brand-l, #fed7aa); }
.seo-prevh { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }
.serp { background: #fff; border: 1px solid var(--line, #e2e8f0); border-radius: 14px; padding: 14px 16px; font-family: Arial, Helvetica, sans-serif; } .serp.off { opacity: .6; }
.serp-top { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; } .serp-fav { display: inline-flex; width: 28px; height: 28px; border-radius: 50%; background: #f1f5f9; align-items: center; justify-content: center; color: #64748b; flex: none; } .serp-fav svg { width: 15px; height: 15px; }
.serp-u { display: grid; line-height: 1.25; min-width: 0; } .serp-site { font-size: .86rem; color: #202124; } .serp-url { font-size: .76rem; color: #4d5156; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.serp-row { display: flex; gap: 12px; align-items: flex-start; } .serp-txt { min-width: 0; flex: 1; }
.serp-t { color: #1a0dab; font-size: 1.15rem; line-height: 1.3; margin-bottom: 3px; word-wrap: break-word; } .serp-d { color: #4d5156; font-size: .88rem; line-height: 1.5; }
.serp-img { width: 92px; height: 92px; object-fit: cover; border-radius: 8px; flex: none; background: #e2e8f0; }
.og { display: grid; border: 1px solid var(--line, #e2e8f0); border-radius: 12px; overflow: hidden; background: #f1f5f9; } .og img { width: 100%; aspect-ratio: 1.91; object-fit: cover; background: #e2e8f0; }
.og > div { padding: 10px 12px; display: grid; gap: 2px; } .og-h { font-size: .7rem; letter-spacing: .04em; color: #65676b; } .og b { font-size: .95rem; color: #050505; } .og span:last-child { font-size: .82rem; color: #65676b; }

/* Visibilité de la fiche (en ligne / hors ligne) */
.fiche-off { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; } .fiche-off .btn { flex: none; }
.fiche-vis .btn { flex: none; }

/* Listes de photos publiques : affichage en liste (même contenu que la grille, présentation différente) */
.vs-pub { margin-left: auto; flex: none; }

/* En-tête des résultats : titre, sous-titre et sélecteur Grille / Liste bien espacés */
.results-meta { flex-wrap: wrap; align-items: center; gap: 6px 18px; }
.results-meta .rcount { margin: 0; }
@media (max-width: 700px) { .results-meta .mute { order: 3; flex-basis: 100%; } .results-meta .rcount { flex: 1 1 0; min-width: 0; font-size: 1.15rem; } }

/* Liste sur téléphone : les badges s'empilent sur la photo (ils ne débordent plus sur le titre) */
@media (max-width: 560px) { .masonry.is-list .pin .tl { flex-direction: column; align-items: flex-start; gap: 4px; max-width: 96px; } .masonry.is-list .pin .tl .badge { font-size: .64rem; padding: 2px 7px; } }

/* Slogans du bandeau d'accueil : fondu doux entre deux phrases */
.hero2 h1[data-slogans] { transition: opacity .35s ease, transform .35s ease; }
.hero2 h1.sl-out { opacity: 0; transform: translateY(-6px); }
@media (prefers-reduced-motion: reduce) { .hero2 h1[data-slogans] { transition: none; } }

/* Pages de connexion : liens légaux sous le cadre blanc */
.authcol { display: grid; justify-items: center; gap: 16px; width: 100%; }
.authbelow { margin: 0; font-size: .82rem; color: #475569; text-align: center; line-height: 1.6; }
.authbelow a { color: #334155; text-decoration: underline; text-underline-offset: 3px; } .authbelow a:hover { color: var(--brand, #ea580c); }

/* Vignettes de photos : <article> (lien photo + lien fiche = vrais liens frères, explorables) ; liste stylisée */
.pin .pl { display: contents; color: inherit; }
.pin .pt { margin: 0; font: inherit; font-weight: 700; }
.pin .who { display: none; font-style: normal; } .pin .who i { font-style: normal; }
.pin .pact { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pin .pact:focus-within { width: auto; height: auto; clip: auto; left: 10px; bottom: 10px; z-index: 3; background: #fff; padding: 6px 10px; border-radius: 10px; }
.pin .pgo { display: none; } .pin .pact:focus-within .pgo { display: none; }
.pin .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.masonry.is-list { grid-template-columns: 1fr; gap: 12px; }
.masonry.is-list .pin { aspect-ratio: auto; display: grid; grid-template-columns: minmax(150px, 230px) minmax(0, 1fr); grid-template-rows: 1fr auto; align-items: stretch; cursor: default; background: #fff; border: 1px solid var(--line, #e2e8f0); border-radius: 16px; }
.masonry.is-list .pin img { grid-column: 1; grid-row: 1 / span 2; width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; cursor: pointer; }
.masonry.is-list .pin .ov { grid-column: 2; grid-row: 1; position: static; opacity: 1; background: none; color: var(--ink, #0f172a); padding: 16px 20px 6px; display: grid; align-content: end; gap: 6px; }
.masonry.is-list .pin .ov .pt { font-size: 1.05rem; line-height: 1.25; -webkit-line-clamp: 2; }
.masonry.is-list .pin .who { display: flex; align-items: center; gap: 8px; }
.masonry.is-list .pin .wm { font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--brand, #ea580c); }
.masonry.is-list .pin .wm:not(:last-child)::after { content: '·'; margin-left: 8px; color: #94a3b8; font-weight: 400; }
.masonry.is-list .pin .wv { display: inline-flex; align-items: center; gap: 4px; font-size: .84rem; font-weight: 600; color: #475569; }
.masonry.is-list .pin .wv::before { content: ''; width: 14px; height: 14px; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-5.6-7-11a7 7 0 0 1 14 0c0 5.4-7 11-7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.4'/%3E%3C/svg%3E"); }
.masonry.is-list .pin .ov span { font-size: .86rem; color: var(--mute, #64748b); opacity: 1; margin: 0; white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.masonry.is-list .pin .ov .fb { display: none; }
.masonry.is-list .pin .pact { grid-column: 2; grid-row: 2; position: static; width: auto; height: auto; clip: auto; overflow: visible; white-space: normal; display: flex; flex-wrap: wrap; gap: 10px; padding: 6px 20px 16px; background: none; }
.masonry.is-list .pin .pgo { display: inline-flex; align-items: center; background: var(--brand, #ea580c); color: #fff; border-radius: 999px; padding: 8px 16px; font-size: .84rem; font-weight: 700; text-decoration: none; }
.masonry.is-list .pin .fiche { display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid #cbd5e1; color: var(--ink, #0f172a); border-radius: 999px; padding: 7px 14px; font-size: .84rem; font-weight: 700; text-decoration: none; }
.masonry.is-list .pin .fiche::before { content: ''; width: 15px; height: 15px; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f172a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E"); }
.masonry.is-list .pin .pgo:hover { filter: brightness(.94); } .masonry.is-list .pin .fiche:hover, .masonry.is-list .pin .fiche:focus-visible { border-color: var(--brand, #ea580c); color: var(--brand, #ea580c); }
.masonry.is-list .pin:hover, .masonry.is-list .pin:hover img { transform: none; }
.masonry.is-list .pin .tl { top: 8px; left: 8px; }
@media (max-width: 560px) {
  .masonry.is-list .pin { grid-template-columns: 112px minmax(0, 1fr); }
  .masonry.is-list .pin .ov { padding: 10px 12px 4px; } .masonry.is-list .pin .ov span, .masonry.is-list .pin .pgo { display: none; }
  .masonry.is-list .pin .pact { padding: 2px 12px 10px; } .masonry.is-list .pin .fiche { padding: 5px 10px; font-size: .76rem; } .masonry.is-list .pin .wm { font-size: .7rem; }
}

/* Inscription gratuite (sans abonnements) : colonne orange « 0 € GRATUIT » + formulaire ; détail des services fermé par défaut */
.authcard.wide.su-wide { width: min(1060px, 100%); }
.panel.su-a { padding: 0; border: 0; box-shadow: none; background: none; }
.sua { display: grid; grid-template-columns: 380px minmax(0, 1fr); margin: 6px 0 0; border-radius: 20px; overflow: hidden; border: 1px solid var(--line, #e2e8f0); }
.sua-l { background: linear-gradient(160deg, #ea580c, #c2410c); color: #fff; padding: 30px 28px; display: flex; flex-direction: column; gap: 18px; }
.sua-price { display: flex; align-items: baseline; gap: 10px; } .sua-price b { font-size: 3.6rem; line-height: 1; font-weight: 900; letter-spacing: -.03em; }
.sua-price span { font-weight: 800; font-size: 1.05rem; background: rgba(255,255,255,.2); padding: 3px 12px; border-radius: 999px; }
.sua-l h2 { margin: 0; font-size: 1.35rem; line-height: 1.25; color: #fff; } .sua-s { margin: 0; opacity: .92; font-size: .95rem; }
.sua-ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 12px; }
.sua-ul li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; font-size: .94rem; line-height: 1.35; }
.sua-ul li i { width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,.22); display: grid; place-items: center; } .sua-ul li i svg { width: 14px; height: 14px; stroke: #fff; fill: none; stroke-width: 2.6; }
.sua-ul li b { display: block; } .sua-ul li span { display: block; opacity: .88; font-size: .84rem; }
.sua-foot { margin-top: auto; display: flex; gap: 8px; align-items: center; font-size: .84rem; background: rgba(0,0,0,.16); padding: 10px 12px; border-radius: 12px; } .sua-foot svg { width: 18px; height: 18px; flex: none; stroke: #fff; fill: none; stroke-width: 2.4; }
.sua-r { padding: 28px 30px; background: #fff; } .sua-r h2 { margin: 0 0 4px; font-size: 1.4rem; } .sua-i { margin: 0 0 16px; color: var(--mute, #64748b); font-size: .92rem; }
.panel.su-a > .su-det { margin: 14px 0 0; }
@media (max-width: 860px) { .sua { grid-template-columns: 1fr; } .sua-l { padding: 22px 20px; gap: 14px; } .sua-price b { font-size: 2.8rem; } .sua-r { padding: 22px 18px; } }

/* Page /professionnels : avantages gratuits, référencement, site web */
.pb-more { margin-top: 14px; color: #fdba74; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; font-size: .92rem; } .pb-more:hover { color: #fff; }
.pp { display: block; }
.pp-in { max-width: 1180px; margin: 0 auto; padding: 0 24px; } .pp-narrow { max-width: 860px; }
.pp-hero { background: linear-gradient(120deg, #0f172a, #1e293b 60%, #9a3412); color: #fff; padding: 54px max(24px, calc(50% - 590px)); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 36px; align-items: center; }
.pp-pill { display: inline-flex; gap: 7px; align-items: center; background: #16a34a; color: #fff; font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; padding: 5px 13px; border-radius: 999px; } .pp-pill svg { width: 15px; height: 15px; stroke-width: 2.6; }
.pp-hero h1 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); line-height: 1.15; margin: 16px 0 14px; color: #fff; letter-spacing: -.02em; }
.pp-hero p { color: #cbd5e1; font-size: 1.05rem; margin: 0 0 22px; max-width: 580px; line-height: 1.55; }
.pp-cta { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; } .pp-more { color: #fed7aa; font-weight: 700; text-decoration: none; } .pp-more:hover { color: #fff; }
.pp-meta { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 7px; color: #e2e8f0; font-size: .9rem; } .pp-meta li { display: flex; gap: 8px; align-items: center; } .pp-meta svg { width: 16px; height: 16px; color: #4ade80; flex: none; stroke-width: 2.6; }
.pp-mock { display: grid; gap: 12px; } .pp-sr { background: #fff; color: #202124; border-radius: 16px; padding: 18px 20px; box-shadow: 0 20px 40px rgba(0,0,0,.35); } .pp-u { font-size: .78rem; color: #4d5156; overflow-wrap: anywhere; } .pp-t { font-size: 1.15rem; color: #1a0dab; margin: 3px 0 4px; } .pp-d { font-size: .88rem; color: #4d5156; line-height: 1.45; }
.pp-sr2 { color: #e2e8f0; font-size: .88rem; padding-left: 6px; } .pp-sr2 b { color: #fdba74; } .pp-sr2 em { opacity: .7; font-style: normal; }
.pp-sec { padding: 54px 0 6px; } .pp-sec h2, .pp-seo h2, .pp-why h2 { font-size: clamp(1.45rem, 2.6vw, 1.85rem); margin: 0 0 6px; letter-spacing: -.02em; } .pp-lead { color: #475569; margin: 0 0 24px; max-width: 760px; line-height: 1.55; }
.pp-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } .pp-g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pp-c { border: 1px solid #e2e8f0; border-radius: 18px; padding: 20px; background: #fff; display: grid; gap: 8px; align-content: start; box-shadow: 0 1px 2px rgba(15,23,42,.05); }
.pp-c i { width: 44px; height: 44px; border-radius: 13px; background: #fff7ed; color: #ea580c; display: grid; place-items: center; } .pp-c i svg { width: 23px; height: 23px; }
.pp-c h3 { font-size: 1rem; margin: 0; } .pp-c p { font-size: .86rem; color: #64748b; line-height: 1.45; margin: 0; }
.pp-why { background: linear-gradient(120deg, #fff7ed, #ffedd5); margin-top: 54px; padding: 54px 0; } .pp-why-in { max-width: 1180px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
.pp-why-l p { color: #475569; line-height: 1.55; margin: 0 0 12px; } .pp-why-btn { margin-top: 10px; }
.pp-why-r { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; } .pp-why-r li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; background: #fff; border: 1px solid #fed7aa; border-radius: 16px; padding: 14px 16px; box-shadow: 0 2px 6px rgba(154,52,18,.08); }
.pp-why-r li i { width: 30px; height: 30px; border-radius: 50%; background: #16a34a; color: #fff; display: grid; place-items: center; } .pp-why-r li i svg { width: 16px; height: 16px; stroke-width: 2.6; } .pp-why-r b { display: block; color: #0f172a; } .pp-why-r span { display: block; font-size: .88rem; color: #64748b; line-height: 1.4; }
.pp-k { display: inline-block; font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #ea580c; margin-bottom: 6px; }
.pp-seo { background: #f1f5f9; margin-top: 54px; padding: 54px 0; }
.pp-note { margin: 18px 0 0; font-size: .84rem; color: #64748b; border-left: 3px solid #fdba74; padding-left: 12px; }
.pp-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 20px; } .pp-steps > div { border: 1px solid #e2e8f0; border-radius: 18px; padding: 20px; background: #fff; } .pp-steps b { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #ea580c; color: #fff; margin-bottom: 10px; } .pp-steps h3 { margin: 0 0 4px; font-size: 1.02rem; } .pp-steps p { margin: 0; color: #64748b; font-size: .88rem; }
.pp-faq details { border: 1px solid #e2e8f0; border-radius: 14px; background: #fff; padding: 14px 18px; margin-top: 10px; } .pp-faq summary { font-weight: 700; cursor: pointer; } .pp-faq p { margin: 8px 0 0; color: #475569; line-height: 1.55; }
.pp-final { text-align: center; margin: 20px 0 54px; border-radius: 24px; background: linear-gradient(120deg, #ea580c, #c2410c); color: #fff; padding: 40px 24px; } .pp-final h2 { color: #fff; font-size: 1.75rem; margin: 0 0 6px; } .pp-final p { margin: 0 0 18px; opacity: .92; }
.pp-final-btn { background: #fff; color: #c2410c; } .pp-final-btn:hover { background: #fff7ed; } .pp-login { display: block; margin-top: 14px; color: #ffedd5; font-size: .9rem; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1000px) { .pp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pp-g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pp-hero, .pp-why-in { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .pp-grid, .pp-g3, .pp-steps { grid-template-columns: 1fr; } .pp-hero { padding-top: 36px; padding-bottom: 36px; } .pp-sec, .pp-why, .pp-seo { padding-top: 38px; } .pp-why, .pp-seo { margin-top: 38px; } .pp-in, .pp-why-in { padding: 0 18px; } .pp-final { padding: 30px 18px; } }
