:root {
  --ink: #0e1a16;
  --muted: #5c6f67;
  --paper: #eef3f0;
  --paper-2: #e2ebe6;
  --line: #c5d3cb;
  --accent: #176a52;
  --accent-2: #0c3f32;
  --accent-soft: #d7ebe2;
  --danger: #9b2c2c;
  --ok: #176a52;
  --site-accent: var(--accent);
  --radius: 12px;
  --radius-lg: 20px;
  --font: "Source Sans 3", system-ui, sans-serif;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --shadow-soft: 0 18px 50px rgba(14, 26, 22, 0.08);
  --shadow-lift: 0 10px 28px rgba(14, 26, 22, 0.1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(ellipse 900px 420px at 8% -8%, rgba(23, 106, 82, 0.14), transparent 60%),
    radial-gradient(ellipse 700px 380px at 96% 4%, rgba(45, 90, 70, 0.1), transparent 55%),
    radial-gradient(ellipse 600px 300px at 50% 100%, rgba(23, 106, 82, 0.06), transparent 50%),
    linear-gradient(180deg, #f7faf8 0%, var(--paper) 40%, #e9f0ec 100%);
  background-attachment: fixed;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--accent);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: color .18s ease, text-decoration-color .18s ease;
}
a:hover { color: var(--accent-2); }

h1, h2, h3 {
  font-family: var(--display);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.muted { color: var(--muted); }
.field-hint {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 400;
}
.field-hint code {
  font-size: 0.9em;
}
.h-like {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
}
.soft-hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 1.25rem 0;
}
.brand-mark {
  font-family: var(--display);
  font-size: clamp(1.75rem, 4.2vw, 2.65rem);
  margin: 0 0 0.75rem;
  font-weight: 700;
  font-variation-settings: "SOFT" 50, "WONK" 0.4;
  letter-spacing: -0.03em;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem clamp(1rem, 4vw, 2.5rem);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 55%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  background: color-mix(in srgb, #f7faf8 78%, transparent);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.brand:hover { color: var(--accent); }

.topnav {
  display: flex;
  gap: 0.35rem 1.15rem;
  align-items: center;
  flex-wrap: wrap;
}
.topnav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: color .18s ease, border-color .18s ease;
}
.topnav a:hover {
  color: var(--accent);
  border-bottom-color: color-mix(in srgb, var(--accent) 45%, transparent);
}
.topnav .btn {
  border-bottom: 0 !important;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  background: var(--accent);
  color: #fff !important;
  text-decoration: none !important;
  font: inherit;
  font-weight: 700;
  padding: 0.72rem 1.25rem;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
  box-shadow: 0 8px 20px rgba(23, 106, 82, 0.22);
}
.btn:hover {
  background: var(--accent-2);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(12, 63, 50, 0.28);
}
.btn-sm { padding: 0.45rem 0.9rem; font-size: 0.92rem; box-shadow: none; }
.btn-lg { padding: 0.95rem 1.55rem; font-size: 1.06rem; }
.btn-outline {
  background: transparent;
  color: var(--accent) !important;
  border: 1.5px solid color-mix(in srgb, var(--accent) 55%, transparent);
  box-shadow: none;
}
.btn-outline:hover {
  background: color-mix(in srgb, var(--accent) 9%, transparent);
  filter: none;
  box-shadow: none;
}
.btn-accent { background: var(--site-accent); }
.btn-accent:hover { filter: brightness(0.9); }
.btn-danger { background: var(--danger); box-shadow: none; }
.btn-danger:hover { filter: brightness(0.92); }

.env-banner {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  letter-spacing: 0.02em;
}
.env-banner-dev { background: #fef3c7; color: #92400e; }
.env-banner-pprod { background: #dbeafe; color: #1e40af; }

.text-link { font-weight: 600; }
.text-link.light { color: #eef6f2; }

.flash-wrap {
  max-width: 960px;
  margin: 1rem auto 0;
  padding: 0 1rem;
  display: grid;
  gap: 0.5rem;
}
.flash-wrap-dash {
  max-width: none;
  margin: 0 0 1.25rem;
  padding: 0;
  scroll-margin-top: 1rem;
  position: sticky;
  top: 0.75rem;
  z-index: 20;
}
.dash-block > .flash-wrap-dash {
  margin-bottom: 1rem;
}
.flash {
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 8px 24px rgba(20, 32, 28, 0.08);
}
.flash-success { border-color: color-mix(in srgb, var(--ok) 40%, var(--line)); background: #eef7f2; }
.flash-error { border-color: color-mix(in srgb, var(--danger) 40%, var(--line)); background: #fdf2f2; }
.flash-info { border-color: color-mix(in srgb, var(--accent, #2a6f5b) 35%, var(--line)); background: #eef6f3; }

.hero-platform {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: end;
  padding: clamp(2.5rem, 9vh, 5.5rem) clamp(1rem, 4vw, 2.5rem) clamp(3.25rem, 9vh, 5.5rem);
  background:
    radial-gradient(ellipse 80% 55% at 12% 18%, rgba(120, 190, 160, 0.28), transparent 58%),
    radial-gradient(ellipse 55% 45% at 88% 12%, rgba(255, 255, 255, 0.12), transparent 50%),
    linear-gradient(185deg, transparent 28%, rgba(8, 22, 18, 0.62) 100%),
    linear-gradient(128deg, #145a46 0%, #1f6e55 38%, #0c3f32 78%, #082820 100%);
  color: #f4faf7;
}
.hero-platform::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.35;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 78%);
}
.hero-platform::after {
  content: "";
  position: absolute;
  width: min(52vw, 420px);
  height: min(52vw, 420px);
  right: -8%;
  top: 8%;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 240, 228, 0.22), transparent 68%);
  animation: hero-glow 9s ease-in-out infinite alternate;
  pointer-events: none;
}
.hero-platform-inner {
  position: relative;
  z-index: 1;
  max-width: 740px;
}
.hero-platform h1 {
  font-size: clamp(2.35rem, 6.2vw, 4rem);
  margin: 0 0 1.1rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  animation: rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-platform .lede {
  font-size: 1.18rem;
  max-width: 38rem;
  opacity: 0.94;
  line-height: 1.65;
  animation: rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}
.hero-platform .lede-secondary {
  margin-top: 0.9rem;
  font-size: 1.05rem;
  opacity: 0.88;
  animation-delay: 0.16s;
}
.hero-platform .cta-row { animation: rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.22s both; }
.hero-platform .hero-secondary-links {
  margin-top: 1.35rem;
  font-size: 0.95rem;
  opacity: 0.9;
  animation: rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}
.hero-platform .brand-mark {
  color: #dff3ea;
  animation: rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-platform .text-link,
.hero-platform a:not(.btn) {
  color: #eef6f2;
  text-decoration-color: rgba(238, 246, 242, 0.55);
}
.hero-platform .text-link:hover,
.hero-platform a:not(.btn):hover {
  color: #fff;
  text-decoration-color: #fff;
}
.hero-platform .btn {
  background: #fff;
  color: #0c3f32 !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}
.hero-platform .btn:hover {
  background: #eef6f2;
  filter: none;
}
.hero-platform .btn-outline {
  background: transparent;
  color: #eef6f2 !important;
  border-color: rgba(238, 246, 242, 0.7);
  box-shadow: none;
}
.hero-platform .btn-outline:hover {
  background: rgba(238, 246, 242, 0.12);
  color: #fff !important;
  border-color: #fff;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes hero-glow {
  from { transform: translate(0, 0) scale(1); opacity: 0.85; }
  to { transform: translate(-6%, 8%) scale(1.08); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-platform::after,
  .hero-platform h1,
  .hero-platform .lede,
  .hero-platform .cta-row,
  .hero-platform .hero-secondary-links,
  .hero-platform .brand-mark {
    animation: none !important;
  }
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1rem;
  align-items: center;
  margin-top: 1.65rem;
}

.platform-section {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(2.75rem, 7vw, 4.5rem) clamp(1rem, 4vw, 2rem);
}
.platform-section + .platform-section {
  border-top: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.platform-section.narrow { max-width: 640px; }
.platform-section h2 {
  font-size: clamp(1.65rem, 3.5vw, 2.15rem);
  margin: 0 0 0.65rem;
}
.section-lede {
  color: var(--muted);
  max-width: 40rem;
  font-size: 1.05rem;
  margin: 0;
  line-height: 1.65;
}
.feature-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 0.65rem;
  counter-reset: feat;
}
.feature-list li {
  position: relative;
  padding: 1.05rem 1.2rem 1.05rem 3.35rem;
  background: color-mix(in srgb, white 72%, transparent);
  border: 1px solid color-mix(in srgb, var(--line) 65%, transparent);
  border-radius: var(--radius);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.feature-list li::before {
  counter-increment: feat;
  content: counter(feat, decimal-leading-zero);
  position: absolute;
  left: 1rem;
  top: 1.05rem;
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
  opacity: 0.85;
}
.feature-list li:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
  border-color: color-mix(in srgb, var(--accent) 28%, var(--line));
}
.steps-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 1rem;
  counter-reset: step;
}
.steps-list li {
  position: relative;
  padding: 1.25rem 1.25rem 1.25rem 4.25rem;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent-soft) 55%, white), color-mix(in srgb, white 90%, transparent));
  border-radius: var(--radius-lg);
  border: 1px solid color-mix(in srgb, var(--accent) 12%, var(--line));
  font-size: 1.05rem;
  font-weight: 600;
  transition: transform .2s ease, box-shadow .2s ease;
}
.steps-list li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2.15rem;
  height: 2.15rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(23, 106, 82, 0.28);
}
.steps-list li:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}
.faq-list {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.5rem;
}
.faq-item {
  background: color-mix(in srgb, white 88%, transparent);
  border: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  border-radius: var(--radius);
  padding: 0.15rem 0.25rem;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.faq-item[open] {
  border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
  box-shadow: var(--shadow-soft);
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  padding: 0.85rem 1rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--accent);
  line-height: 1;
  transition: transform .2s ease;
}
.faq-item[open] summary::after {
  content: "−";
}
.faq-item p {
  margin: 0;
  padding: 0 1rem 1rem;
  color: var(--muted);
  line-height: 1.65;
}
.discover-grid {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}
.discover-card {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem;
  text-decoration: none;
  color: inherit;
  background: color-mix(in srgb, white 88%, transparent);
  border-top: 3px solid var(--accent);
  position: relative;
}
.discover-card-featured {
  border-top-color: #b45309;
  background: color-mix(in srgb, #fef3c7 55%, white);
}
.discover-badge {
  position: absolute;
  top: 0.45rem;
  right: 0.45rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: #b45309;
  color: #fff;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
}
.discover-card:hover { background: #fff; }
.discover-card img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
}
.discover-card strong { display: block; }
.discover-card p { margin: 0.35rem 0 0; color: var(--muted); font-size: 0.95rem; }
.discover-info {
  margin: 1rem 0 1.5rem;
  padding: 0.85rem 1rem;
  background: color-mix(in srgb, var(--accent) 8%, #fff);
  border-left: 4px solid var(--accent);
  color: var(--ink);
  font-size: 0.95rem;
}
.discover-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  align-items: center;
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.discover-breadcrumbs a { color: inherit; }
.discover-bc-sep { opacity: 0.5; }

.discover-home-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin: 1.5rem 0 1.75rem;
  padding: 1.15rem 1.35rem;
  background:
    linear-gradient(120deg,
      color-mix(in srgb, var(--accent, #1a5f4a) 12%, #fff),
      color-mix(in srgb, var(--accent, #1a5f4a) 4%, #f7faf8));
  border-left: 4px solid var(--accent, #1a5f4a);
}
.discover-home-cta-text {
  margin: 0;
  flex: 1 1 16rem;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  line-height: 1.35;
  font-weight: 600;
  color: var(--ink, #1a2e26);
}
.discover-home-cta-text strong {
  font-weight: 700;
  color: var(--accent, #1a5f4a);
  white-space: nowrap;
}
.discover-home-cta .btn {
  flex: 0 0 auto;
}

.discover-cat-grid {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}
.discover-cat-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none !important;
  color: inherit !important;
  background: #fff;
  border: 1px solid var(--line, #d5ddd8);
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.discover-cat-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--cat-color, var(--accent)) 55%, var(--line));
  box-shadow: 0 10px 24px color-mix(in srgb, var(--cat-color, var(--accent)) 18%, transparent);
  color: inherit !important;
}
.discover-cat-visual {
  position: relative;
  display: block;
  height: 7.5rem;
  min-height: 7.5rem;
  max-height: 7.5rem;
  background:
    linear-gradient(145deg,
      color-mix(in srgb, var(--cat-color, var(--accent)) 88%, #0a0a0a),
      color-mix(in srgb, var(--cat-color, var(--accent)) 55%, #fff) 55%,
      color-mix(in srgb, var(--cat-color, var(--accent)) 72%, #1a1a1a));
  color: #fff;
  overflow: hidden;
}
.discover-cat-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 18% 22%, rgba(255,255,255,0.55) 0 12%, transparent 13%),
    radial-gradient(circle at 82% 70%, rgba(255,255,255,0.35) 0 18%, transparent 19%),
    repeating-linear-gradient(
      -18deg,
      transparent 0 10px,
      rgba(255,255,255,0.08) 10px 11px
    );
}
.discover-cat-icon {
  position: absolute;
  right: 1rem;
  bottom: 0.85rem;
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(2px);
  overflow: hidden;
}
.discover-cat-icon svg {
  width: 1.45rem !important;
  height: 1.45rem !important;
  max-width: 1.45rem;
  max-height: 1.45rem;
  display: block;
}
.discover-cat-body {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1rem 1.05rem 1.15rem;
  flex: 1;
  border-top: 3px solid var(--cat-color, var(--accent));
}
.discover-cat-title {
  display: block;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
}
.discover-cat-desc {
  display: block;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--muted);
}
.directory-picker {
  display: grid;
  gap: 0.35rem;
  max-height: 22rem;
  overflow: auto;
  padding: 0.35rem 0.15rem;
  border: 1px solid var(--line, #d5ddd8);
  border-radius: 6px;
  background: #fff;
}
.directory-sector {
  border-bottom: 1px solid var(--line, #e4ebe6);
  padding: 0.25rem 0.5rem 0.5rem;
}
.directory-sector:last-child { border-bottom: 0; }
.directory-sector > summary {
  cursor: pointer;
  font-weight: 600;
  padding: 0.35rem 0;
}
.directory-metiers {
  display: grid;
  gap: 0.65rem;
  padding: 0.35rem 0 0.25rem 0.5rem;
}
.directory-specialites {
  display: grid;
  gap: 0.25rem;
  margin: 0.35rem 0 0 1.25rem;
  font-size: 0.92rem;
}
.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.75rem;
}
.pagination-pages {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
}
.pagination-pages a {
  display: inline-flex;
  min-width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: #fff;
}
.pagination-pages a:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.pagination-current {
  display: inline-flex;
  min-width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
}
.btn-disabled {
  opacity: 0.45;
  pointer-events: none;
  cursor: not-allowed;
}

.auth-card {
  max-width: 440px;
  margin: 3rem auto;
  padding: 0 1rem 3rem;
}
.auth-card h1 { margin-top: 0; }

.stack-form {
  display: grid;
  gap: 0.9rem;
}
.stack-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.95rem;
}
.stack-form input[type="text"],
.stack-form input[type="email"],
.stack-form input[type="password"],
.stack-form input[type="number"],
.stack-form input[type="url"],
.stack-form input[type="tel"],
.stack-form input[type="search"],
.stack-form input[type="file"],
.stack-form select,
.stack-form textarea {
  width: 100%;
  font: inherit;
  padding: 0.72rem 0.85rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.stack-form input:focus,
.stack-form select:focus,
.stack-form textarea:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
}
.stack-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23555' d='M1.4 0.6L6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 0.75rem;
  padding-right: 2.25rem;
  cursor: pointer;
}
.stack-form input[type="color"] {
  display: block;
  width: 3.25rem;
  height: 3.25rem;
  padding: 0.2rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.stack-form input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 0;
}
.stack-form input[type="color"]::-webkit-color-swatch {
  border: none;
  border-radius: 6px;
}
.stack-form input[type="color"]::-moz-color-swatch {
  border: none;
  border-radius: 6px;
}
.stack-form textarea { resize: vertical; }
.check {
  display: flex !important;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}
.check input { width: auto; }
.media-remove {
  margin: 0.35rem 0 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--danger);
}

.input-prefix {
  display: inline-block;
  color: var(--muted);
  margin-bottom: -0.2rem;
}
.with-prefix { margin-top: 0.2rem; }

.hp {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  pointer-events: none !important;
}

.site-footer {
  margin-top: 1rem;
  padding: 2.75rem 1.25rem 2.25rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
  background:
    linear-gradient(180deg, transparent, color-mix(in srgb, var(--accent-soft) 35%, transparent) 40%),
    color-mix(in srgb, white 40%, transparent);
  border-top: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
}
.site-footer p { margin: 0.35rem 0 0; }
.footer-legal, .legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  justify-content: center;
  margin-bottom: 1rem;
}
.footer-legal a,
.legal-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}
.footer-legal a:hover,
.legal-nav a:hover {
  color: var(--accent);
}
.legal-page h2 { margin-top: 1.75rem; }
.legal-page ul { padding-left: 1.2rem; }
.legal-page .legal-nav { margin-top: 2rem; justify-content: flex-start; }
.guide-article { padding-bottom: 3rem; }
.guide-kicker {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0 0 0.75rem;
}
.guide-steps {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: grid;
  gap: 1rem;
}
.guide-steps li {
  padding: 1rem 1.15rem;
  background: color-mix(in srgb, white 85%, transparent);
  border-left: 4px solid var(--accent);
}
.guide-steps h2 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
}
.guide-steps p { margin: 0; color: var(--muted); }
.guide-related {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.guide-related-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.85rem;
}
.guide-related-list li {
  display: grid;
  gap: 0.2rem;
}
.guide-cta { margin-top: 1.75rem; }

.metier-todo {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 2rem;
  counter-reset: metier-todo;
  display: grid;
  gap: 0.85rem;
}
.metier-todo > li {
  counter-increment: metier-todo;
  position: relative;
  padding: 0.9rem 1rem 0.9rem 3.1rem;
  background: color-mix(in srgb, var(--accent) 6%, #fff);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.metier-todo > li::before {
  content: counter(metier-todo);
  position: absolute;
  left: 0.75rem;
  top: 0.85rem;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.metier-todo > li p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.metier-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  align-items: center;
  margin: 1.25rem 0 1.75rem;
}
.metier-hub-list {
  columns: 2;
  column-gap: 2rem;
  margin: 0 0 2rem;
  padding-left: 1.2rem;
}
.metier-hub-list li {
  break-inside: avoid;
  margin-bottom: 0.35rem;
}
@media (max-width: 720px) {
  .metier-hub-list { columns: 1; }
}
.discover-metier-guide {
  margin: 0 0 1.25rem;
  padding: 0.75rem 1rem;
  border-left: 3px solid var(--accent);
  background: color-mix(in srgb, var(--accent) 7%, transparent);
}
.discover-metier-guide a {
  font-weight: 600;
  text-decoration: none;
}
.discover-metier-guide a:hover { text-decoration: underline; }
.discover-region-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 0.85rem;
  margin: 0 0 1.25rem;
  padding: 0.75rem 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  max-width: 28rem;
}
.discover-region-filter label {
  font-weight: 600;
  margin: 0;
}
.discover-region-filter select {
  flex: 1 1 12rem;
  min-width: 10rem;
  font: inherit;
  padding: 0.65rem 2.25rem 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background-color: #fff;
  color: var(--ink);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23555' d='M1.4 0.6L6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 0.75rem;
  cursor: pointer;
}
.discover-region-in {
  font-weight: 500;
  color: var(--muted);
  font-size: 0.85em;
}
.discover-card-region {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.dash-footer {
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, white 70%, transparent);
}

.dash-shell {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0;
  min-height: calc(100vh - 64px);
}
.dash-nav {
  padding: 1.5rem 1rem;
  border-right: 1px solid var(--line);
  background: color-mix(in srgb, white 65%, transparent);
  display: grid;
  gap: 0.85rem;
  align-content: start;
}
.dash-nav-priority,
.dash-nav-more {
  display: grid;
  gap: 0.45rem;
  align-content: start;
}
.dash-nav a,
.dash-nav-link {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  white-space: nowrap;
}
.dash-nav a:hover,
.dash-nav-link:hover { background: var(--paper-2); }
.dash-nav-link.is-active,
.topnav-billing.is-active {
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--accent-2);
}
.dash-nav-billing {
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
}
.dash-nav-billing.is-active {
  background: var(--accent);
  color: #fff !important;
  border-color: var(--accent);
}
.topnav-billing {
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent-2) !important;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}
.topnav-billing:hover {
  background: color-mix(in srgb, var(--accent) 22%, transparent);
}
.dash-main { padding: 1.5rem clamp(1rem, 3vw, 2rem) 3rem; }
.dash-block { margin-bottom: 2.5rem; scroll-margin-top: 5rem; }
.dash-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
}
.dash-head h1, .dash-block h2 { margin-top: 0; }

.panel {
  background: color-mix(in srgb, white 92%, transparent);
  border: 1px solid color-mix(in srgb, var(--line) 85%, transparent);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.4rem;
  margin-top: 0.75rem;
  box-shadow: var(--shadow-soft);
}
.panel.compact { padding: 0.85rem; }

.boost-counter {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 0.85rem 0 1rem;
}
.boost-counter-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.65rem 0.35rem;
  text-align: center;
  background: color-mix(in srgb, white 70%, transparent);
  min-width: 0;
}
.boost-counter-item strong {
  display: block;
  font-size: clamp(1.15rem, 4.5vw, 1.55rem);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.boost-counter-item span {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.75rem;
  color: var(--muted, #5c6570);
  line-height: 1.2;
  overflow-wrap: anywhere;
}

/* —— Abonnement / billing (mobile-first) —— */
.billing-page {
  max-width: 40rem;
  min-width: 0;
}
.billing-lead,
.billing-pack-desc,
.billing-boost-intro {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.billing-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.75rem;
  margin: 0.85rem 0;
}
.billing-actions {
  margin-top: 0.85rem;
}
.billing-btn {
  width: 100%;
  max-width: 100%;
  white-space: normal;
  text-align: center;
  line-height: 1.3;
  padding-inline: 1rem;
  box-sizing: border-box;
}
.billing-boosts {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.85rem;
  min-width: 0;
}
.billing-boosts > .h-like {
  margin: 0;
  font-size: 1.2rem;
}
.billing-boost-intro {
  margin: 0;
}
.billing-pack {
  margin-top: 0;
  background: color-mix(in srgb, var(--accent) 6%, #fff);
}
.billing-pack-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  margin-bottom: 0.35rem;
}
.billing-pack-head .h-like {
  margin: 0;
  font-size: 1.05rem;
}
.billing-pack-price {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.65rem;
  font-size: 0.95rem;
}
.billing-pack-price span {
  color: var(--accent);
  font-weight: 700;
}
.billing-pack-desc {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.45;
}

@media (min-width: 641px) {
  .billing-btn { width: auto; }
  .boost-counter-item span { font-size: 0.82rem; }
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.row-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.thumb {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  margin: 0.4rem 0;
}
.thumb-wide {
  width: 120px;
  height: 72px;
}
.social-fieldset {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.85rem 1rem 1rem;
  margin: 0;
}
.social-fieldset legend {
  font-weight: 700;
  padding: 0 0.35rem;
}
.check-inline {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-weight: 500;
  cursor: pointer;
}
.check-inline input {
  margin-top: 0.2rem;
  flex-shrink: 0;
}
.theme-picker {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr));
  gap: 0.75rem;
}
.theme-option {
  position: relative;
  display: grid !important;
  justify-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0.75rem 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  cursor: pointer;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 12px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.theme-option:hover {
  border-color: color-mix(in srgb, var(--swatch, var(--accent)) 55%, var(--line));
}
.theme-option:has(input:checked),
.theme-option.is-selected {
  border-color: var(--swatch, var(--accent));
  box-shadow: 0 0 0 1px var(--swatch, var(--accent));
}
.theme-option input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  pointer-events: none;
}
.theme-swatch {
  display: block;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 10px;
  background: var(--swatch);
  border: 1px solid color-mix(in srgb, var(--swatch) 70%, #000);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}
.badge {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: var(--paper-2);
  font-size: 0.85rem;
  font-weight: 700;
}
.badge-ok { background: #dcefe6; color: var(--ok); }
.badge-danger { background: #fde8e8; color: var(--danger); }

.data-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.data-table th, .data-table td {
  text-align: left;
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--line);
}
.message-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; }
.message-list header {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  align-items: baseline;
  margin-bottom: 0.5rem;
}
.panel-platform-msg {
  border-color: color-mix(in srgb, var(--accent, #2a6f5b) 35%, var(--line));
  background: color-mix(in srgb, #eef6f3 70%, white);
}

.page-tenant { background: #f7faf8; }
.tenant-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 2.5rem);
  background: #fff;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.tenant-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.2rem;
}
.tenant-logo {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 8px;
}
.tenant-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}
.tenant-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
}
.tenant-nav a:hover { color: var(--site-accent); }

.tenant-hero {
  min-height: 72vh;
  display: grid;
  align-items: end;
  color: #f4faf7;
  background:
    linear-gradient(180deg, transparent 10%, rgba(10, 24, 18, 0.62) 100%),
    linear-gradient(135deg, var(--site-accent), color-mix(in srgb, var(--site-accent) 55%, #0a1812));
  padding: clamp(2rem, 8vh, 4.5rem) clamp(1rem, 4vw, 2.5rem);
}
.tenant-hero.has-illustration {
  background:
    linear-gradient(180deg, rgba(10, 24, 18, 0.25) 0%, rgba(10, 24, 18, 0.72) 100%),
    var(--hero-image) center / cover no-repeat;
}
.tenant-hero h1 {
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  margin: 0 0 0.85rem;
  animation: rise 0.65s ease both;
}
.tenant-hero .lede {
  max-width: 36rem;
  opacity: 0.95;
  animation: rise 0.65s ease 0.08s both;
}
.tenant-hero .cta-row { animation: rise 0.65s ease 0.16s both; }
.tenant-hero .cta-row-social {
  margin-top: 0.85rem;
  animation: rise 0.65s ease 0.24s both;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.tenant-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1rem, 4vw, 2rem);
}
.tenant-section.alt { background: color-mix(in srgb, var(--site-accent) 6%, transparent); }
.tenant-section.narrow { max-width: 680px; }
.tenant-section h1, .tenant-section h2 { margin-top: 0; }

.item-grid, .product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin: 1.25rem 0;
}
.item-grid article, .product-card {
  padding: 1rem;
  background: #fff;
  border-top: 3px solid var(--site-accent);
}
.product-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  margin-bottom: 0.75rem;
}
.price {
  font-weight: 700;
  color: var(--site-accent);
  font-size: 1.1rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin: 1.25rem 0;
}
.testimonial-card {
  margin: 0;
  padding: 1.15rem 1.25rem;
  background: #fff;
  border-left: 4px solid var(--site-accent);
}
.testimonial-card p {
  margin: 0 0 0.85rem;
  font-style: italic;
  line-height: 1.55;
}
.testimonial-card footer {
  font-size: 0.95rem;
}
.realisation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin: 1.25rem 0;
}
.realisation-card {
  background: #fff;
  border-top: 3px solid var(--site-accent);
  padding: 0 0 1rem;
  overflow: hidden;
}
.realisation-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.realisation-card h2,
.realisation-card h3 {
  margin: 0.85rem 1rem 0.4rem;
  font-size: 1.15rem;
}
.realisation-card .prose {
  margin: 0 1rem 0.75rem;
}
.realisation-card .video-embed {
  margin: 0.75rem 1rem 0;
}

.newsletter-block, .newsletter-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}
.newsletter-block input[type="email"],
.newsletter-inline input[type="email"] {
  flex: 1 1 220px;
  font: inherit;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
}
@media (min-width: 900px) {
  .tenant-contact-block {
    width: 50vw;
    max-width: 100%;
    margin-inline: auto;
  }
}
.tenant-contact-block {
  display: grid;
  gap: 1rem;
  scroll-margin-top: 1rem;
}
.tenant-contact-block .newsletter-inline,
.tenant-contact-block .contact-inline {
  width: 100%;
  margin-inline: 0;
}
.tenant-contact-title {
  margin: 0 0 0.25rem;
  text-align: center;
}
.contact-block-coords {
  margin-bottom: 0;
}
.contact-block-hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0.25rem 0;
  width: 100%;
}
.social-links-mid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  margin: 0.15rem 0;
  justify-self: stretch;
}
.tenant-contact-block .social-links-mid {
  justify-content: center;
}
.contact-inline {
  display: grid;
  gap: 0.6rem;
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.contact-inline-label {
  margin: 0;
  font-weight: 700;
}
.contact-inline input[type="text"],
.contact-inline input[type="email"],
.contact-inline textarea {
  font: inherit;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  width: 100%;
  box-sizing: border-box;
}
.contact-block {
  max-width: 40rem;
}
.public-coords {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1rem;
}
.public-coord-line {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  align-items: baseline;
}
.public-coord-label {
  color: var(--muted);
  font-weight: 600;
}
.public-coords a {
  font-weight: 600;
}
.footer-coords,
.contact-block-coords {
  justify-items: start;
  text-align: left;
  margin-bottom: 0.25rem;
}
.tenant-footer .contact-block-coords {
  justify-items: center;
  text-align: center;
}
.tenant-footer .contact-block-coords .public-coord-line {
  justify-content: center;
}
.tenant-footer {
  margin-top: 2rem;
  padding: 2rem clamp(1rem, 4vw, 2.5rem);
  border-top: 1px solid var(--line);
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: stretch;
}
.footer-col {
  display: grid;
  gap: 1rem;
  width: 100%;
}
.powered {
  color: var(--muted);
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  width: 100%;
  text-align: center;
}

/* Pubs freemium (sites gratuits) */
.site-ads {
  margin: 1.25rem 0;
  padding: 0.85rem 1rem;
  border: 1px dashed var(--line, #d4d4d4);
  border-radius: 10px;
  background: #fafafa;
}
.site-ads-label {
  margin: 0 0 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted, #6b7280);
}
.site-ads-house {
  display: grid;
  gap: 0.4rem;
  margin: 0;
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1px solid var(--line, #e5e7eb);
  border-radius: 8px;
}
.site-ads-house-title {
  margin: 0;
  font-weight: 700;
  font-size: 0.95rem;
}
.site-ads-house-text {
  margin: 0 0 0.35rem;
  font-size: 0.9rem;
  color: var(--muted, #4b5563);
}
.site-ads-network {
  margin-top: 0.75rem;
  min-height: 90px;
}
.site-ads-top { margin-top: 0; }
.site-ads-bottom { margin-bottom: 0; }
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.social-links a {
  font-weight: 700;
  text-decoration: none;
  color: var(--site-accent);
}
.social-links a:hover { text-decoration: underline; }
.social-links-icons {
  gap: 0.85rem;
  align-items: center;
}
.social-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 999px;
  color: var(--site-accent);
  background: color-mix(in srgb, var(--site-accent) 12%, #fff);
  border: 1px solid color-mix(in srgb, var(--site-accent) 28%, transparent);
  text-decoration: none !important;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.social-icon-link:hover {
  background: color-mix(in srgb, var(--site-accent) 20%, #fff);
  transform: translateY(-1px);
}
.social-icon-link svg {
  display: block;
  fill: currentColor;
}
/* Hero : fond sombre / photo — icônes toujours lisibles */
.tenant-hero .social-links a.social-icon-link {
  color: #ffffff !important;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
}
.tenant-hero .social-links a.social-icon-link:hover {
  color: #ffffff !important;
  background: rgba(0, 0, 0, 0.6);
  border-color: #ffffff;
}
.tenant-hero .social-links a.social-icon-link svg {
  fill: #ffffff !important;
  color: #ffffff !important;
}
.video-embed {
  position: relative;
  width: 100%;
  max-width: 840px;
  aspect-ratio: 16 / 9;
  margin: 1rem 0;
  border-radius: 8px;
  overflow: hidden;
  background: #0a1812;
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.admin-users {
  display: grid;
  gap: 1rem;
}
.admin-users-head {
  align-items: flex-start;
}
.admin-users-search {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  margin: 0 0 1.25rem;
}
.admin-users-search input[type="search"] {
  flex: 1 1 220px;
  font: inherit;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  max-width: 28rem;
}
.admin-user-card { margin-top: 0; }
.admin-user-card.is-blacklisted {
  border-color: color-mix(in srgb, var(--danger) 35%, var(--line));
}
.admin-user-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
}
.admin-user-meta {
  display: grid;
  gap: 0.25rem;
  justify-items: end;
  text-align: right;
}
.admin-user-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem 1rem;
  margin: 0 0 0.75rem;
}
.admin-user-details dt {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin: 0 0 0.2rem;
}
.admin-user-details dd { margin: 0; }
.admin-user-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}
.admin-user-actions .btn {
  min-width: 8.5rem;
}
.admin-user-note {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.prose { white-space: normal; }

@media (max-width: 800px) {
  .dash-shell { grid-template-columns: 1fr; }
  .topnav .muted.topnav-user { display: none; }
  .topnav a[href^="/@"] { display: none; }
  .dash-nav {
    position: sticky;
    top: 0;
    z-index: 40;
    display: grid;
    gap: 0.45rem;
    padding: 0.65rem 0.75rem;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    background: color-mix(in srgb, #f3f6f4 92%, white);
    backdrop-filter: blur(8px);
  }
  .dash-nav-priority {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.4rem;
  }
  .dash-nav-priority a {
    text-align: center;
    font-size: 0.88rem;
    padding: 0.55rem 0.35rem;
    white-space: normal;
    line-height: 1.2;
  }
  .dash-nav-more {
    display: flex;
    gap: 0.35rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.15rem;
  }
  .dash-nav-more a {
    flex: 0 0 auto;
    font-size: 0.86rem;
    padding: 0.4rem 0.65rem;
    background: color-mix(in srgb, white 80%, transparent);
    border: 1px solid var(--line);
  }
  .dash-main {
    padding: 1rem 0.85rem 2.5rem;
    min-width: 0;
    overflow-x: clip;
  }
  .dash-block { margin-bottom: 1.75rem; }
  .panel { padding: 0.9rem 0.85rem; }
  .grid-2 { grid-template-columns: 1fr; }
  .tenant-hero { min-height: 60vh; }
}

/* —— Bandeau cookies CNIL —— */
.cookie-banner {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 10000;
  padding: 1rem;
  background: color-mix(in srgb, #0f1f18 94%, transparent);
  color: #f4faf7;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
}
.cookie-banner-inner {
  max-width: 920px;
  margin: 0 auto;
}
.cookie-banner-title {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  color: inherit;
}
.cookie-banner-text {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.45;
  opacity: 0.95;
}
.cookie-banner-text a {
  color: #b8e0d0;
  text-decoration: underline;
}
.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.cookie-banner .btn-ghost {
  background: transparent;
  color: #f4faf7;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.cookie-banner .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}
.cookie-cats {
  border: 0;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.cookie-cat {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
  cursor: pointer;
}
.cookie-cat .muted {
  display: block;
  margin-top: 0.15rem;
  color: rgba(244, 250, 247, 0.75);
  font-size: 0.88rem;
}
.cookie-manage {
  position: fixed;
  right: 0.85rem;
  bottom: 0.85rem;
  z-index: 9990;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink, #14201c);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}
.cookie-manage:hover { background: #f4faf7; }
.footer-cookie-btn {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
  color: inherit;
  text-decoration: underline;
}
.cookie-form-hint .text-link,
.cookie-form-hint button.text-link {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--site-accent, var(--accent, #1a5f4a));
  text-decoration: underline;
  cursor: pointer;
}
.video-consent {
  display: grid;
  place-items: center;
  min-height: 12rem;
  background: #0a1812;
  color: #eef6f2;
}
.video-consent-msg {
  text-align: center;
  padding: 1.25rem;
  max-width: 22rem;
}
.video-consent-msg p { margin: 0 0 0.85rem; }
@media (max-width: 640px) {
  .cookie-banner { padding: 0.85rem; }
  .cookie-banner-actions { flex-direction: column; }
  .cookie-banner-actions .btn { width: 100%; }
}

.flash-wrap-contact {
  max-width: 36rem;
  margin: 0 auto 1rem;
}
#contact {
  scroll-margin-top: 5rem;
}

.onboarding-wizard .onboarding-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 1.5rem;
  align-items: start;
}
.onboarding-preview-wrap {
  position: sticky;
  top: 1rem;
}
.onboarding-preview-label {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.onboarding-preview-card {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(10, 24, 18, 0.14);
  border: 1px solid rgba(10, 24, 18, 0.08);
}
.onboarding-preview-header {
  background: #fff;
  padding: 0.65rem 1rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(10, 24, 18, 0.06);
}
.onboarding-preview-hero {
  min-height: 0;
  padding: 1.5rem 1.25rem 1.75rem;
}
.onboarding-preview-hero h1 {
  font-size: 1.65rem;
}
.onboarding-preview-hero .brand-mark {
  font-size: 0.85rem;
}
.onboarding-preview-coords .public-coord-line.is-hidden {
  display: none;
}
.onboarding-preview-about.is-hidden {
  display: none;
}
.onboarding-preview-about {
  max-width: 100%;
  font-size: 0.92rem;
  opacity: 0.92;
  margin: 0 0 0.75rem;
}
.directory-picker-compact {
  max-height: 14rem;
  overflow: auto;
  padding-right: 0.25rem;
}
.onboarding-preview-coords .public-coord-line {
  color: rgba(244, 250, 247, 0.95);
  margin: 0.35rem 0;
  font-size: 0.92rem;
}
.onboarding-preview-hero .btn {
  pointer-events: none;
  font-size: 0.9rem;
  padding: 0.55rem 1rem;
}
@media (max-width: 960px) {
  .onboarding-wizard .onboarding-grid {
    grid-template-columns: 1fr;
  }
  .onboarding-preview-wrap {
    position: static;
    order: -1;
  }
}

.onboarding-mode-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.onboarding-mode-tab {
  display: block;
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(10, 24, 18, 0.12);
  background: #fff;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.onboarding-mode-tab:hover {
  border-color: var(--site-accent, #1a5f4a);
}
.onboarding-mode-tab.is-active {
  border-color: var(--site-accent, #1a5f4a);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--site-accent, #1a5f4a) 25%, transparent);
}
.onboarding-mode-tab-desc {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--muted);
}
.onboarding-mode-alt-link {
  margin-top: 1.25rem;
}
.dash-shell-onboarding {
  grid-template-columns: 1fr;
}
.dash-shell-onboarding .dash-main {
  max-width: 56rem;
  margin: 0 auto;
  width: 100%;
}
