/*
 * BizzNoir — Direction visuelle 6.0
 * Couche finale et maintenable appliquée après style.css.
 * Elle harmonise toutes les pages sans modifier la logique PHP.
 */

:root {
  --bn-bg: #f7f4ee;
  --bn-surface: #fffdf9;
  --bn-surface-soft: #f1ece4;
  --bn-navy: #111827;
  --bn-navy-soft: #273346;
  --bn-text: #2b313c;
  --bn-muted: #69717d;
  --bn-line: rgba(17, 24, 39, .11);
  --bn-brand: #c95f40;
  --bn-brand-dark: #a9472d;
  --bn-brand-soft: #f6e6df;
  --bn-success: #34735a;
  --bn-warning: #9a651f;
  --bn-danger: #a63f36;
  --bn-radius-xs: 10px;
  --bn-radius-sm: 14px;
  --bn-radius-md: 22px;
  --bn-radius-lg: 32px;
  --bn-shadow-xs: 0 8px 24px rgba(17, 24, 39, .045);
  --bn-shadow-sm: 0 14px 38px rgba(17, 24, 39, .07);
  --bn-shadow-md: 0 24px 65px rgba(17, 24, 39, .11);
  --bn-display: "Plus Jakarta Sans", "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
  --bn-body: "Inter", "Segoe UI Variable", "Segoe UI", Arial, sans-serif;

  --cream: var(--bn-bg);
  --cream-deep: var(--bn-surface-soft);
  --navy: var(--bn-navy);
  --navy-soft: var(--bn-navy-soft);
  --terracotta: var(--bn-brand);
  --terracotta-dark: var(--bn-brand-dark);
  --ink: var(--bn-text);
  --muted: var(--bn-muted);
  --line: var(--bn-line);
  --shadow: var(--bn-shadow-md);
  --font-display: var(--bn-display);
  --font-sans: var(--bn-body);
}

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

html {
  scroll-behavior: smooth;
  background: var(--bn-bg);
}

body {
  margin: 0;
  color: var(--bn-text);
  background:
    radial-gradient(circle at 0 0, rgba(201, 95, 64, .025), transparent 26rem),
    var(--bn-bg);
  font-family: var(--bn-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body,
button,
input,
select,
textarea {
  font-family: var(--bn-body);
}

h1,
h2,
h3,
h4,
h5,
h6,
.brand-name,
.button {
  font-family: var(--bn-display);
}

h1,
h2,
h3,
h4,
p {
  text-wrap: pretty;
}

img {
  max-width: 100%;
}

::selection {
  color: #fff;
  background: var(--bn-brand);
}

a,
button,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(201, 95, 64, .34);
  outline-offset: 3px;
}

.container {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  z-index: 9999;
  border-radius: 0 0 10px 10px;
  color: #fff;
  background: var(--bn-navy);
  font-weight: 700;
}

/* En-tête commun */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(17, 24, 39, .07);
  background: rgba(250, 248, 244, .92);
  box-shadow: 0 8px 30px rgba(17, 24, 39, .035);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 82px;
  gap: 26px;
}

.brand {
  gap: 12px;
}

.brand-mark {
  width: 48px;
  height: 54px;
  border-width: 3px;
  color: var(--bn-brand);
}

.brand-mark > span {
  font-family: var(--bn-display);
  font-size: 12px;
  font-weight: 800;
}

.brand-name {
  color: var(--bn-navy);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -.05em;
}

.main-nav {
  gap: clamp(18px, 2vw, 32px);
}

.main-nav a {
  padding-block: 29px 27px;
  color: #3c4350;
  font-family: var(--bn-body);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -.01em;
}

.main-nav a::after {
  bottom: 19px;
  height: 3px;
  border-radius: 999px;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--bn-brand-dark);
}

.header-tools,
.header-actions {
  gap: 13px;
}

.header-signin {
  color: var(--bn-navy);
  font-family: var(--bn-display);
  font-size: 14px;
  font-weight: 700;
}

.language-switcher {
  min-height: 44px;
  padding: 4px;
  border: 1px solid var(--bn-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .66);
  box-shadow: var(--bn-shadow-xs);
}

.language-choice {
  min-width: 58px;
  min-height: 34px;
  padding: 0 9px;
  border-radius: 999px;
  font-family: var(--bn-body);
  font-size: 12px;
  font-weight: 700;
}

.language-choice.is-active {
  color: var(--bn-navy);
  background: #fff;
  box-shadow: 0 4px 12px rgba(17, 24, 39, .09);
}

.account-chip {
  min-height: 44px;
  padding: 5px 14px 5px 6px;
  border-color: var(--bn-line);
  background: rgba(255, 255, 255, .72);
  font-family: var(--bn-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -.02em;
  box-shadow: var(--bn-shadow-xs);
}

.account-chip > span {
  width: 32px;
  height: 32px;
  flex-basis: 32px;
  background: var(--bn-brand);
  font-family: var(--bn-display);
  font-size: 12px;
  font-weight: 750;
}

.menu-button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--bn-line);
  border-radius: 13px;
  color: var(--bn-navy);
  background: #fff;
}

/* Boutons et éléments interactifs */
.button {
  min-height: 50px;
  padding: 0 22px;
  border-radius: 13px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.2;
  transition:
    transform .18s ease,
    border-color .18s ease,
    color .18s ease,
    background .18s ease,
    box-shadow .18s ease;
}

.button-compact {
  min-height: 44px;
  padding-inline: 17px;
  border-radius: 12px;
  font-size: 13px;
}

/* En-tête large : garde les actions sur une ligne et parfaitement centrées. */
@media (min-width: 1181px) {
  .site-header .container {
    width: min(1580px, calc(100% - 48px));
  }

  .site-header .header-inner {
    align-items: center;
    justify-content: center;
    gap: clamp(14px, 1.3vw, 24px);
  }

  .site-header .main-nav {
    min-width: 0;
    margin-left: clamp(18px, 1.6vw, 30px);
    gap: clamp(13px, 1.25vw, 24px);
  }

  .site-header .header-tools {
    margin-left: clamp(8px, 1vw, 16px);
  }

  .site-header .header-tools,
  .site-header .header-actions {
    flex: 0 0 auto;
    align-items: center;
  }

  .site-header .language-switcher,
  .site-header .header-signin,
  .site-header .header-actions .button-compact,
  .site-header .account-chip {
    min-height: 46px;
    height: 46px;
  }

  .site-header .header-signin,
  .site-header .header-actions .button-compact,
  .site-header .account-chip {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .site-header .header-actions .button-compact {
    padding-inline: 18px;
    line-height: 1;
    text-align: center;
  }
}

/* À largeur intermédiaire, on resserre doucement sans casser les libellés. */
@media (min-width: 1181px) and (max-width: 1450px) {
  .site-header .container {
    width: calc(100% - 32px);
  }

  .site-header .header-inner {
    gap: 11px;
  }

  .site-header .main-nav {
    margin-left: 12px;
    gap: 12px;
  }

  .site-header .header-tools {
    margin-left: 6px;
  }

  .site-header .main-nav > a {
    font-size: 13px;
  }

  .site-header .header-tools,
  .site-header .header-actions {
    gap: 8px;
  }

  .site-header .header-signin {
    padding-inline: 8px;
    font-size: 13px;
  }

  .site-header .header-actions .button-compact {
    padding-inline: 14px;
    font-size: 13px;
  }

  .site-header .language-choice {
    min-width: 52px;
    padding-inline: 7px;
  }
}

/* Évite toute compression juste avant le passage au menu mobile. */
@media (min-width: 1181px) and (max-width: 1320px) {
  .site-header .header-actions .button-secondary {
    display: none;
  }
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, #d06949, var(--bn-brand));
  box-shadow: 0 10px 24px rgba(201, 95, 64, .22);
}

.button-primary:hover {
  background: linear-gradient(135deg, var(--bn-brand), var(--bn-brand-dark));
  box-shadow: 0 15px 32px rgba(201, 95, 64, .29);
}

.button-secondary {
  border: 1px solid rgba(17, 24, 39, .16);
  color: var(--bn-navy);
  background: rgba(255, 255, 255, .62);
}

.button-secondary:hover {
  border-color: var(--bn-navy);
  color: #fff;
  background: var(--bn-navy);
}

.button-light {
  border: 1px solid rgba(17, 24, 39, .09);
  color: var(--bn-navy);
  background: #fff;
  box-shadow: var(--bn-shadow-xs);
}

.button:hover {
  transform: translateY(-2px);
}

.eyebrow {
  color: var(--bn-brand-dark);
  font-family: var(--bn-body);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .17em;
  line-height: 1.4;
}

.pill {
  min-height: 32px;
  padding-inline: 12px;
  color: var(--bn-brand-dark);
  background: var(--bn-brand-soft);
  font-family: var(--bn-body);
  font-size: 11px;
  font-weight: 750;
}

.panel {
  border: 1px solid var(--bn-line);
  border-radius: var(--bn-radius-md);
  background: rgba(255, 255, 255, .84);
  box-shadow: var(--bn-shadow-sm);
}

.flash {
  position: fixed;
  top: 96px;
  right: 22px;
  z-index: 1300;
  width: min(430px, calc(100% - 44px));
  padding: 15px 18px;
  border: 1px solid var(--bn-line);
  border-radius: 14px;
  color: var(--bn-navy);
  background: #fff;
  box-shadow: var(--bn-shadow-md);
  font-family: var(--bn-body);
  font-size: 14px;
  font-weight: 600;
}

.flash.success {
  border-color: rgba(52, 115, 90, .25);
  background: #f1faf5;
}

.flash.error {
  border-color: rgba(166, 63, 54, .25);
  background: #fff4f2;
}

/* Héros des pages intérieures */
.page-hero {
  min-height: 300px;
  padding: 72px 0 66px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(17, 24, 39, .06);
  background:
    radial-gradient(circle at 85% 10%, rgba(201, 95, 64, .14), transparent 18rem),
    linear-gradient(135deg, #eee8df, #faf8f4 72%);
}

.page-hero::after {
  width: 220px;
  height: 220px;
  right: 7%;
  top: -115px;
  border-color: rgba(201, 95, 64, .12);
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero .eyebrow {
  width: fit-content;
  margin-bottom: 17px;
  padding: 7px 11px;
  border: 1px solid rgba(201, 95, 64, .13);
  border-radius: 999px;
  background: rgba(255, 255, 255, .55);
}

.page-hero h1 {
  max-width: 920px;
  color: var(--bn-navy);
  font-family: var(--bn-display);
  font-size: clamp(42px, 5vw, 66px);
  font-weight: 750;
  letter-spacing: -.055em;
  line-height: 1.02;
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 20px 0 0;
  color: var(--bn-muted);
  font-family: var(--bn-body);
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 400;
  line-height: 1.7;
}

.page-content {
  padding-block: 64px 104px;
}

.section {
  padding-block: 96px;
}

.section-heading {
  margin-bottom: 40px;
}

.section-heading h1,
.section-heading h2,
.owner-cta h2,
.newsletter-section h2 {
  color: var(--bn-navy);
  font-family: var(--bn-display);
  font-weight: 750;
  letter-spacing: -.045em;
}

.section-heading p:not(.eyebrow) {
  color: var(--bn-muted);
  font-family: var(--bn-body);
  font-size: 17px;
  line-height: 1.65;
}

/* Accueil */
.page-home .hero {
  min-height: 760px;
  background: #f4efe7;
}

.page-home .hero::before {
  inset: 0 43% 0 0;
  background:
    linear-gradient(90deg, #f7f3ec 76%, rgba(247, 243, 236, .72) 89%, transparent);
}

.page-home .hero-media {
  inset: 0 0 0 43%;
}

.page-home .hero-media img {
  object-position: center 40%;
  filter: saturate(.84) contrast(.96);
}

.page-home .hero-media::after {
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0), rgba(17, 24, 39, .035)),
    linear-gradient(0deg, rgba(17, 24, 39, .14), transparent 48%);
}

.page-home .hero-inner {
  min-height: 760px;
  padding-bottom: 112px;
}

.page-home .hero-copy {
  width: 61%;
  max-width: 760px;
}

.page-home .hero h1 {
  max-width: 760px;
  color: var(--bn-navy);
  font-family: var(--bn-display);
  font-size: clamp(56px, 6.4vw, 92px);
  font-weight: 750;
  letter-spacing: -.065em;
  line-height: .98;
}

.page-home .hero-lede {
  max-width: 650px;
  margin-top: 26px;
  color: var(--bn-muted);
  font-family: var(--bn-body);
  font-size: clamp(17px, 1.55vw, 21px);
  font-weight: 400;
  line-height: 1.65;
}

.hero-actions {
  margin-top: 32px;
  gap: 12px;
}

.hero-actions .button {
  min-height: 56px;
  padding-inline: 25px;
  font-size: 15px;
}

.hero-search {
  bottom: 44px;
}

.search-bar {
  min-height: 104px;
  padding: 14px;
  border-color: rgba(17, 24, 39, .1);
  border-radius: 20px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 24px 60px rgba(17, 24, 39, .14);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.search-field {
  height: 62px;
  padding-inline: 20px;
  color: var(--bn-brand-dark);
  border-color: rgba(17, 24, 39, .1);
}

.search-field input,
.search-field select {
  color: var(--bn-text);
  font-family: var(--bn-body);
  font-size: 15px;
  font-weight: 500;
}

.search-submit {
  height: 62px;
  border-radius: 14px;
}

.category-showcase-heading {
  align-items: end;
}

.category-all-button {
  min-height: 52px;
  padding: 8px 9px 8px 18px;
  border: 1px solid var(--bn-line);
  border-radius: 999px;
  color: var(--bn-navy);
  background: #fff;
  box-shadow: var(--bn-shadow-xs);
  font-family: var(--bn-display);
  font-size: 13px;
  font-weight: 700;
}

.category-all-button strong {
  min-width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #fff;
  background: var(--bn-brand);
}

.category-grid {
  gap: 20px;
}

.category-card {
  min-height: 168px;
  padding: 23px;
  border-color: var(--bn-line);
  border-radius: 22px;
  background: rgba(255, 255, 255, .82);
  box-shadow: var(--bn-shadow-xs);
}

.category-card:hover {
  border-color: rgba(201, 95, 64, .28);
  box-shadow: var(--bn-shadow-sm);
}

.category-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  color: var(--bn-brand);
  background: var(--bn-brand-soft);
}

.category-name {
  padding-right: 38px;
  color: var(--bn-navy);
  font-family: var(--bn-display);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.category-number {
  color: #a6adb7;
  font-family: var(--bn-body);
  font-size: 11px;
  font-weight: 700;
}

.card-arrow {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--bn-line);
  border-radius: 50%;
  background: #fff;
}

.region-section {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 85% 10%, rgba(201, 95, 64, .22), transparent 24rem),
    linear-gradient(145deg, #0d1522, #172438);
}

.region-section::before {
  content: "";
  position: absolute;
  left: -130px;
  bottom: -170px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 50%;
}

.region-section .section-heading h2 {
  color: #fff;
}

.region-section .section-heading p:not(.eyebrow) {
  color: #c6cfdb;
}

.region-grid {
  gap: 20px;
}

.region-card {
  min-height: 245px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 23px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .16);
}

.region-card::after {
  background: linear-gradient(0deg, rgba(8, 19, 33, .9), rgba(8, 19, 33, .1));
}

.region-card span {
  font-family: var(--bn-display);
  font-size: 27px;
  font-weight: 700;
  letter-spacing: -.04em;
}

.region-card small {
  color: rgba(255, 255, 255, .76);
  font-family: var(--bn-body);
  font-size: 12px;
}

.empty-state {
  padding: clamp(42px, 6vw, 70px) 28px;
  border: 1px dashed rgba(17, 24, 39, .2);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 0, rgba(201, 95, 64, .08), transparent 19rem),
    rgba(255, 255, 255, .65);
  box-shadow: var(--bn-shadow-xs);
}

.empty-state .empty-icon {
  width: 62px;
  height: 62px;
  margin-bottom: 21px;
  border-radius: 19px;
  color: var(--bn-brand);
  background: var(--bn-brand-soft);
  font-family: var(--bn-display);
}

.empty-state h2 {
  color: var(--bn-navy);
  font-family: var(--bn-display);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  letter-spacing: -.04em;
}

.empty-state p {
  color: var(--bn-muted);
  font-family: var(--bn-body);
  line-height: 1.65;
}

.how-section {
  background:
    radial-gradient(circle at 12% 110%, rgba(201, 95, 64, .1), transparent 22rem),
    #eee7dd;
}

.steps-grid {
  gap: 20px;
}

.steps-grid article {
  min-height: 270px;
  padding: 32px;
  border: 1px solid rgba(17, 24, 39, .08);
  border-radius: 23px;
  background: rgba(255, 255, 255, .75);
  box-shadow: var(--bn-shadow-xs);
}

.steps-grid article > span {
  color: #c7b9aa;
  font-family: var(--bn-display);
  font-size: 32px;
  font-weight: 700;
}

.steps-grid h3 {
  margin-top: 92px;
  color: var(--bn-navy);
  font-family: var(--bn-display);
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -.035em;
}

.steps-grid p {
  color: var(--bn-muted);
  font-family: var(--bn-body);
  line-height: 1.65;
}

.owner-cta {
  min-height: 430px;
  padding: clamp(44px, 6vw, 72px);
  border: 0;
  border-radius: 32px;
  background:
    radial-gradient(circle at 82% 30%, rgba(255, 255, 255, .18), transparent 18rem),
    linear-gradient(135deg, #d16b4c, #b84e32);
  box-shadow: 0 28px 70px rgba(169, 71, 45, .22);
}

.owner-cta h2 {
  color: #fff;
}

.owner-copy > p:not(.eyebrow) {
  color: rgba(255, 255, 255, .84);
  font-family: var(--bn-body);
  line-height: 1.7;
}

.owner-stat {
  border-color: rgba(255, 255, 255, .25);
  border-radius: 21px;
  background: rgba(17, 24, 39, .13);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.owner-stat strong {
  font-family: var(--bn-display);
}

/* Explorer, annuaire et cartes d’entreprises */
.directory-layout {
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.filter-panel {
  top: 104px;
  padding: 26px;
  border: 1px solid var(--bn-line);
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0, rgba(201, 95, 64, .07), transparent 14rem),
    rgba(255, 255, 255, .88);
  box-shadow: var(--bn-shadow-sm);
}

.filter-panel h2 {
  margin: 0 0 24px;
  color: var(--bn-navy);
  font-family: var(--bn-display);
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -.04em;
}

.filter-panel form {
  gap: 18px;
}

.filter-panel .button {
  width: 100%;
  margin-top: 4px;
}

.results-toolbar {
  min-height: 52px;
  margin-bottom: 18px;
  padding: 0 3px;
}

.results-toolbar p {
  width: fit-content;
  margin: 0;
  padding: 8px 13px;
  border: 1px solid var(--bn-line);
  border-radius: 999px;
  color: var(--bn-muted);
  background: rgba(255, 255, 255, .6);
  font-family: var(--bn-body);
  font-size: 12px;
  font-weight: 650;
}

.business-grid.grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.business-card {
  overflow: hidden;
  border: 1px solid var(--bn-line);
  border-radius: 23px;
  background: rgba(255, 255, 255, .88);
  box-shadow: var(--bn-shadow-xs);
  transition:
    transform .22s ease,
    border-color .22s ease,
    box-shadow .22s ease;
}

.business-card:hover {
  transform: translateY(-5px);
  border-color: rgba(201, 95, 64, .28);
  box-shadow: var(--bn-shadow-md);
}

.business-image {
  min-height: 210px;
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 255, 255, .62), transparent 8rem),
    linear-gradient(135deg, #e8dfd3, #d7dedb);
}

.business-image > span {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--bn-navy);
  background: rgba(255, 255, 255, .78);
  font-family: var(--bn-display);
  font-size: 30px;
  font-weight: 700;
  box-shadow: var(--bn-shadow-xs);
}

.business-card-body {
  padding: 24px 24px 18px;
}

.business-card-body > small {
  color: var(--bn-brand-dark);
  font-family: var(--bn-body);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}

.business-card h2 {
  margin-top: 8px;
  color: var(--bn-navy);
  font-family: var(--bn-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1.2;
}

.business-card-body p {
  color: var(--bn-muted);
  font-family: var(--bn-body);
  font-size: 13px;
  line-height: 1.55;
}

.business-card-footer {
  margin-top: 18px;
  padding-top: 15px;
  border-color: var(--bn-line);
  color: #747c87;
  font-family: var(--bn-body);
  font-size: 12px;
}

/* Pages Catégories et Régions */
.catalog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 21px;
}

.catalog-card {
  min-height: 172px;
  padding: 25px;
  gap: 19px;
  overflow: hidden;
  border: 1px solid var(--bn-line);
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0, rgba(201, 95, 64, .06), transparent 15rem),
    rgba(255, 255, 255, .84);
  box-shadow: var(--bn-shadow-xs);
  transition:
    transform .22s ease,
    border-color .22s ease,
    box-shadow .22s ease;
}

.catalog-card:hover {
  transform: translateY(-5px);
  border-color: rgba(201, 95, 64, .3);
  box-shadow: var(--bn-shadow-sm);
}

.catalog-card .category-icon {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  border-radius: 17px;
}

.catalog-card h2 {
  color: var(--bn-navy);
  font-family: var(--bn-display);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1.15;
}

.catalog-card p {
  margin-top: 7px;
  color: var(--bn-muted);
  font-family: var(--bn-body);
  font-size: 12px;
  line-height: 1.5;
}

.catalog-card small {
  color: var(--bn-brand-dark);
  font-family: var(--bn-body);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
}

/* Formulaires communs */
.form-grid {
  gap: 20px;
}

.form-control {
  gap: 8px;
}

.form-control > span,
.form-control > label,
.rating-control legend {
  color: #303744;
  font-family: var(--bn-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -.005em;
}

.form-control input,
.form-control select,
.form-control textarea,
.hours-row input[type="time"] {
  min-height: 52px;
  padding: 0 15px;
  border: 1px solid rgba(17, 24, 39, .14);
  border-radius: 12px;
  color: var(--bn-text);
  background: rgba(255, 255, 255, .9);
  font-family: var(--bn-body);
  font-size: 14px;
  font-weight: 450;
  box-shadow: inset 0 1px 2px rgba(17, 24, 39, .025);
  transition:
    border-color .18s ease,
    background .18s ease,
    box-shadow .18s ease;
}

.form-control textarea {
  min-height: 132px;
  padding-block: 14px;
  line-height: 1.55;
  resize: vertical;
}

.form-control input:hover,
.form-control select:hover,
.form-control textarea:hover {
  border-color: rgba(17, 24, 39, .23);
}

.form-control input:focus,
.form-control select:focus,
.form-control textarea:focus {
  outline: 0;
  border-color: var(--bn-brand);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(201, 95, 64, .1);
}

.form-control input::placeholder,
.form-control textarea::placeholder {
  color: #969ca5;
  opacity: 1;
}

.form-control small,
.email-change-help,
.profile-edit-help,
.security-copy {
  color: var(--bn-muted);
  font-family: var(--bn-body);
  font-size: 11px;
  line-height: 1.55;
}

.checkbox-control {
  min-height: 52px;
  padding: 14px 15px;
  align-items: flex-start;
  gap: 11px;
  border: 1px solid var(--bn-line);
  border-radius: 13px;
  color: #424955;
  background: rgba(255, 255, 255, .68);
  font-family: var(--bn-body);
  font-size: 12px;
  line-height: 1.5;
}

.checkbox-control input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--bn-brand);
}

.file-control {
  padding: 18px;
  border: 1px dashed rgba(17, 24, 39, .18);
  border-radius: 15px;
  background: rgba(247, 244, 238, .7);
}

.file-control input[type="file"] {
  min-height: auto;
  padding: 9px;
  border-radius: 10px;
}

.inline-notice {
  border-radius: 15px;
  font-family: var(--bn-body);
}

.inline-notice strong {
  font-family: var(--bn-display);
  font-weight: 700;
}

/* Ajout et modification d’une entreprise */
.business-submission-page {
  max-width: 1160px;
}

.form-intro-strip {
  margin-bottom: 24px;
  padding: 18px;
  gap: 12px;
  border: 1px solid var(--bn-line);
  border-radius: 20px;
  background: rgba(255, 255, 255, .7);
  box-shadow: var(--bn-shadow-xs);
}

.form-intro-strip > div {
  min-height: 74px;
  padding: 13px;
  border-radius: 14px;
  background: rgba(247, 244, 238, .76);
}

.form-intro-strip > div > span {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  color: #fff;
  background: var(--bn-brand);
  font-family: var(--bn-display);
  font-size: 11px;
  font-weight: 750;
}

.form-intro-strip strong {
  color: var(--bn-navy);
  font-family: var(--bn-display);
  font-size: 12px;
}

.form-intro-strip small {
  color: var(--bn-muted);
  font-family: var(--bn-body);
  font-size: 10px;
}

.business-form {
  max-width: 1040px;
  padding: clamp(26px, 5vw, 54px);
  border-radius: 28px;
}

.business-form-heading {
  margin: 0 0 34px;
  padding: 0 0 30px;
  gap: 17px;
  border-bottom: 1px solid var(--bn-line);
}

.business-form-heading-icon {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border-radius: 17px;
  color: var(--bn-brand);
  background: var(--bn-brand-soft);
}

.business-form-heading h2 {
  color: var(--bn-navy);
  font-family: var(--bn-display);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 700;
  letter-spacing: -.045em;
}

.business-form-heading p:not(.eyebrow) {
  color: var(--bn-muted);
  font-family: var(--bn-body);
  line-height: 1.6;
}

.business-form-section {
  margin-top: 24px;
  padding: 29px;
  border: 1px solid var(--bn-line);
  border-radius: 20px;
  background: rgba(248, 246, 242, .74);
}

.business-section-heading {
  margin-bottom: 24px;
  padding-bottom: 19px;
  border-bottom: 1px solid var(--bn-line);
}

.business-section-step {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 13px;
  color: #fff;
  background: var(--bn-navy);
  font-family: var(--bn-display);
  font-size: 11px;
  font-weight: 750;
  line-height: 1;
  text-align: center;
  box-sizing: border-box;
  overflow: hidden;
}

.business-section-heading h2 {
  color: var(--bn-navy);
  font-family: var(--bn-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.035em;
}

.business-section-heading p {
  color: var(--bn-muted);
  font-family: var(--bn-body);
  font-size: 12px;
}

.hours-editor {
  overflow: hidden;
  border: 1px solid var(--bn-line);
  border-radius: 15px;
  background: #fff;
}

.hours-row {
  min-height: 64px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--bn-line);
  color: var(--bn-text);
  font-family: var(--bn-body);
  font-size: 12px;
}

.hours-row:last-child {
  border-bottom: 0;
}

.hours-row strong {
  color: var(--bn-navy);
  font-family: var(--bn-display);
  font-size: 12px;
}

.business-confirmation-section {
  border-color: rgba(201, 95, 64, .15);
  background: linear-gradient(135deg, #fff8f5, #fff);
}

.business-moderation-notice {
  border-radius: 14px;
  color: #4f5865;
  background: var(--bn-brand-soft);
}

.business-submit-button {
  min-height: 56px;
}

/* Fiche d’entreprise et avis */
.business-cover {
  min-height: 410px;
  background:
    radial-gradient(circle at 80% 20%, rgba(201, 95, 64, .15), transparent 23rem),
    linear-gradient(145deg, #ebe3d8, #dbe0dc);
}

.business-cover::after {
  background: linear-gradient(0deg, rgba(17, 24, 39, .3), transparent 62%);
}

.business-title-card {
  bottom: -74px;
  min-height: 150px;
  padding: 24px;
  gap: 22px;
  border: 1px solid rgba(17, 24, 39, .1);
  border-radius: 24px;
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--bn-shadow-md);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
}

.business-logo {
  width: 104px;
  height: 104px;
  flex: 0 0 104px;
  border: 1px solid var(--bn-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--bn-shadow-xs);
  font-family: var(--bn-display);
  font-size: 38px;
  font-weight: 700;
}

.business-meta {
  gap: 8px;
}

.business-meta span {
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--bn-brand-dark);
  background: var(--bn-brand-soft);
  font-family: var(--bn-body);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
}

.business-meta .verified {
  color: var(--bn-success);
  background: #e6f3eb;
}

.business-title-card h1 {
  color: var(--bn-navy);
  font-family: var(--bn-display);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 750;
  letter-spacing: -.055em;
  line-height: 1.06;
}

.business-title-card p {
  color: var(--bn-muted);
  font-family: var(--bn-body);
  font-size: 13px;
}

.business-detail-layout {
  margin-top: 120px;
  margin-bottom: 104px;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 34px;
}

.quick-actions {
  margin-bottom: 25px;
  padding: 14px;
  gap: 10px;
  border: 1px solid var(--bn-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .68);
  box-shadow: var(--bn-shadow-xs);
}

.detail-section {
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--bn-line);
  border-radius: 26px;
  background: rgba(255, 255, 255, .78);
  box-shadow: var(--bn-shadow-sm);
}

.detail-section + .detail-section {
  margin-top: 28px;
}

.detail-section h2 {
  color: var(--bn-navy);
  font-family: var(--bn-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1.18;
}

.long-copy {
  color: #58616d;
  font-family: var(--bn-body);
  font-size: 15px;
  line-height: 1.8;
}

.business-sidebar {
  gap: 20px;
}

.business-sidebar .panel,
.verification-explainer {
  padding: 25px;
  border: 1px solid var(--bn-line);
  border-radius: 22px;
  background: rgba(255, 255, 255, .84);
  box-shadow: var(--bn-shadow-sm);
}

.business-sidebar h2,
.verification-explainer strong {
  color: var(--bn-navy);
  font-family: var(--bn-display);
  font-weight: 700;
  letter-spacing: -.03em;
}

.hours-list div {
  min-height: 42px;
  border-color: var(--bn-line);
  color: var(--bn-muted);
  font-family: var(--bn-body);
  font-size: 12px;
}

.hours-list strong {
  color: var(--bn-navy);
  font-family: var(--bn-body);
  font-weight: 650;
}

.verification-explainer {
  border-color: rgba(52, 115, 90, .15);
  background: linear-gradient(145deg, #eff8f2, #fff);
}

.verification-explainer p {
  color: #617068;
  font-family: var(--bn-body);
  font-size: 12px;
  line-height: 1.6;
}

.reviews-title-row {
  align-items: center;
  gap: 18px;
}

.review-count {
  min-height: 38px;
  padding: 7px 12px;
  border: 1px solid var(--bn-line);
  border-radius: 999px;
  color: var(--bn-muted);
  background: #fff;
  font-family: var(--bn-body);
}

.review-count strong {
  color: var(--bn-navy);
  font-family: var(--bn-display);
  font-size: 14px;
}

.review-count span {
  font-size: 11px;
  font-weight: 600;
}

.review-list {
  gap: 15px;
}

.review-list article {
  padding: 24px;
  border: 1px solid var(--bn-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--bn-shadow-xs);
}

.review-stars {
  color: #d07a2f;
  letter-spacing: .08em;
}

.review-list h3 {
  color: var(--bn-navy);
  font-family: var(--bn-display);
  font-size: 18px;
  font-weight: 700;
}

.review-list p,
.review-list small {
  color: var(--bn-muted);
  font-family: var(--bn-body);
}

.review-form {
  margin-top: 25px;
  padding: clamp(24px, 4vw, 38px);
  border-radius: 23px;
  background:
    radial-gradient(circle at 100% 0, rgba(201, 95, 64, .07), transparent 18rem),
    rgba(255, 255, 255, .9);
}

.review-form-heading {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--bn-line);
}

.review-form-heading strong {
  color: var(--bn-navy);
  font-family: var(--bn-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.04em;
}

.review-form-heading p {
  color: var(--bn-muted);
  font-family: var(--bn-body);
}

.rating-selector {
  min-height: 122px;
  border: 1px solid var(--bn-line);
  border-radius: 17px;
  background: #fff;
}

.rating-star {
  width: 42px;
  height: 42px;
}

.rating-selection strong {
  color: var(--bn-navy);
  font-family: var(--bn-display);
}

.rating-selection small {
  color: var(--bn-muted);
  font-family: var(--bn-body);
}

/* Connexion, inscription et confirmations */
.auth-page {
  min-height: 560px;
}

.auth-layout,
.login-layout {
  gap: 26px;
  align-items: stretch;
}

.auth-card,
.login-card {
  padding: clamp(28px, 4.5vw, 50px);
  border: 1px solid var(--bn-line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0, rgba(201, 95, 64, .065), transparent 18rem),
    rgba(255, 255, 255, .91);
  box-shadow: var(--bn-shadow-md);
}

.auth-card-heading,
.login-card-heading {
  margin-bottom: 30px;
  gap: 16px;
}

.auth-icon,
.login-auth-icon,
.registration-auth-icon {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border-radius: 17px;
  color: #fff;
  background: var(--bn-navy);
  box-shadow: 0 12px 28px rgba(17, 24, 39, .15);
  font-family: var(--bn-display);
  font-size: 15px;
  font-weight: 750;
}

.auth-card h2,
.login-card h2 {
  color: var(--bn-navy);
  font-family: var(--bn-display);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 750;
  letter-spacing: -.055em;
  line-height: 1.05;
}

.auth-card p,
.login-card-intro {
  color: var(--bn-muted);
  font-family: var(--bn-body);
}

.auth-form {
  gap: 18px;
}

.auth-submit,
.login-submit {
  min-height: 54px;
  margin-top: 4px;
}

.auth-switch,
.login-switch {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--bn-line);
  color: var(--bn-muted);
  font-family: var(--bn-body);
  font-size: 12px;
}

.auth-switch a,
.login-switch a,
.login-help-row a,
.resend-form button,
.text-button {
  color: var(--bn-brand-dark);
  font-family: var(--bn-body);
  font-weight: 700;
  text-underline-offset: 4px;
}

.auth-benefits,
.login-benefits,
.registration-benefits {
  padding: clamp(32px, 4vw, 48px);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 95% 0, rgba(201, 95, 64, .25), transparent 19rem),
    linear-gradient(145deg, #111827, #273449);
  box-shadow: var(--bn-shadow-md);
}

.auth-benefits h2,
.login-benefits h2,
.registration-benefits h2 {
  color: #fff;
  font-family: var(--bn-display);
  font-weight: 700;
  letter-spacing: -.045em;
}

.auth-benefits p,
.login-benefits p,
.registration-benefits p,
.auth-benefits small,
.login-benefits small,
.registration-benefits small {
  color: #c7d0dc;
  font-family: var(--bn-body);
}

.auth-path-card {
  border-color: rgba(255, 255, 255, .11);
  border-radius: 18px;
  background: rgba(255, 255, 255, .07);
}

.verification-card-modern,
.lifecycle-confirm-card,
.lifecycle-delete-confirm {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.mail-illustration {
  width: 72px;
  height: 72px;
  margin-inline: auto;
  border-radius: 22px;
  color: var(--bn-brand);
  background: var(--bn-brand-soft);
  font-size: 25px;
}

.code-form input[data-code-input] {
  min-height: 72px;
  text-align: center;
  font-family: var(--bn-display);
  font-size: 27px;
  font-weight: 700;
  letter-spacing: .3em;
}

.danger-symbol {
  color: var(--bn-danger);
  background: #fae8e4;
}

/* Espace membre et entreprises du propriétaire */
.account-page {
  max-width: 1180px;
}

.account-grid {
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.account-sidebar {
  top: 104px;
  padding: 24px;
  border: 1px solid var(--bn-line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0, rgba(201, 95, 64, .08), transparent 15rem),
    rgba(255, 255, 255, .88);
  box-shadow: var(--bn-shadow-sm);
}

.account-avatar {
  width: 72px;
  height: 72px;
  border: 5px solid #fff;
  color: #fff;
  background: var(--bn-brand);
  box-shadow: 0 10px 28px rgba(201, 95, 64, .2);
  font-family: var(--bn-display);
  font-size: 23px;
  font-weight: 750;
}

.account-sidebar h2 {
  color: var(--bn-navy);
  font-family: var(--bn-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.035em;
}

.account-username,
.account-status {
  font-family: var(--bn-body);
}

.account-sidebar-nav {
  margin-top: 22px;
  gap: 6px;
}

.account-sidebar-nav a,
.account-sidebar-nav button {
  min-height: 42px;
  padding: 0 12px;
  border-radius: 11px;
  color: #515965;
  font-family: var(--bn-body);
  font-size: 12px;
  font-weight: 650;
}

.account-sidebar-nav a:hover,
.account-sidebar-nav a.active {
  color: var(--bn-brand-dark);
  background: var(--bn-brand-soft);
}

.account-content {
  padding: clamp(25px, 4vw, 42px);
  border-radius: 27px;
}

.account-content-heading {
  margin-bottom: 25px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--bn-line);
}

.account-content-heading h2,
.dashboard-heading h2 {
  color: var(--bn-navy);
  font-family: var(--bn-display);
  font-size: clamp(29px, 3vw, 38px);
  font-weight: 750;
  letter-spacing: -.05em;
}

.account-content-heading p,
.dashboard-heading p {
  color: var(--bn-muted);
  font-family: var(--bn-body);
  line-height: 1.65;
}

.account-profile-grid,
.profile-details {
  gap: 13px;
}

.account-field,
.profile-detail-copy {
  min-height: 78px;
  padding: 15px;
  border: 1px solid rgba(17, 24, 39, .07);
  border-radius: 14px;
  background: #f4f0e9;
}

.account-field small,
.profile-detail-copy small {
  color: #818893;
  font-family: var(--bn-body);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .1em;
}

.account-field strong,
.profile-detail-copy strong {
  color: var(--bn-navy);
  font-family: var(--bn-body);
  font-size: 12px;
  font-weight: 650;
}

.account-section-card {
  margin-top: 22px;
  padding: clamp(22px, 3.5vw, 32px);
  border: 1px solid var(--bn-line);
  border-radius: 21px;
  background:
    radial-gradient(circle at 100% 0, rgba(201, 95, 64, .045), transparent 16rem),
    rgba(255, 255, 255, .8);
  box-shadow: var(--bn-shadow-xs);
}

.account-section-heading {
  gap: 15px;
}

.account-section-heading > span {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  border-radius: 15px;
  color: var(--bn-brand-dark);
  background: var(--bn-brand-soft);
}

.account-section-heading h3 {
  color: var(--bn-navy);
  font-family: var(--bn-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -.045em;
}

.account-section-heading p,
.account-section-heading small {
  color: var(--bn-muted);
  font-family: var(--bn-body);
}

.account-preference-box,
.preference-box {
  border: 1px solid var(--bn-line);
  border-radius: 15px;
  background: #f7f4ee;
}

.account-save-button,
.profile-save-button,
.email-confirmation-button,
.account-password-submit {
  min-height: 50px;
  border-radius: 13px;
}

.lifecycle-danger-zone {
  border-color: rgba(166, 63, 54, .16);
  background: linear-gradient(145deg, #fff5f2, #fff);
}

.owner-business-list {
  gap: 17px;
}

.owner-business-row {
  padding: 22px;
  gap: 18px;
  border: 1px solid var(--bn-line);
  border-radius: 19px;
  background: rgba(255, 255, 255, .82);
  box-shadow: var(--bn-shadow-xs);
}

.owner-business-row h3 {
  color: var(--bn-navy);
  font-family: var(--bn-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.035em;
}

.owner-business-row p,
.owner-business-row small {
  color: var(--bn-muted);
  font-family: var(--bn-body);
}

.owner-business-controls {
  gap: 9px;
}

.moderation-notice,
.owner-moderation-feedback {
  border-radius: 15px;
  font-family: var(--bn-body);
}

/* Contenu mission, FAQ et pages informatives */
.legal-content {
  max-width: 880px;
  margin-inline: auto;
  padding: clamp(30px, 5vw, 54px);
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0, rgba(201, 95, 64, .065), transparent 18rem),
    rgba(255, 255, 255, .88);
}

.legal-content h2 {
  margin: 0 0 20px;
  color: var(--bn-navy);
  font-family: var(--bn-display);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 750;
  letter-spacing: -.05em;
  line-height: 1.12;
}

.legal-content p {
  color: #5f6874;
  font-family: var(--bn-body);
  font-size: 16px;
  line-height: 1.85;
}

.legal-content .button {
  margin-top: 15px;
}

/* Administration */
.page-admin {
  min-height: 100vh;
  background:
    radial-gradient(circle at 0 0, rgba(201, 95, 64, .05), transparent 28rem),
    var(--bn-bg);
}

.page-admin .site-header .header-inner {
  justify-content: space-between;
}

.admin-login {
  max-width: 520px;
  margin: 50px auto 0;
  padding: 40px;
  border-radius: 26px;
  text-align: center;
}

.admin-login .empty-icon {
  width: 62px;
  height: 62px;
  margin-inline: auto;
  border-radius: 18px;
  color: #fff;
  background: var(--bn-navy);
  font-family: var(--bn-display);
}

.admin-login h2 {
  color: var(--bn-navy);
  font-family: var(--bn-display);
  font-size: 30px;
  font-weight: 750;
  letter-spacing: -.045em;
}

.admin-login p {
  color: var(--bn-muted);
  font-family: var(--bn-body);
}

.admin-login .button {
  width: 100%;
}

.admin-dashboard {
  max-width: 1320px;
}

.admin-dashboard > .section-heading {
  margin-bottom: 36px;
  padding: 34px;
  border: 1px solid var(--bn-line);
  border-radius: 26px;
  background:
    radial-gradient(circle at 100% 0, rgba(201, 95, 64, .08), transparent 18rem),
    rgba(255, 255, 255, .75);
  box-shadow: var(--bn-shadow-sm);
}

.admin-dashboard > .section-heading h1 {
  margin: 0;
  color: var(--bn-navy);
  font-family: var(--bn-display);
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 750;
  letter-spacing: -.055em;
}

.admin-dashboard > .section-heading > p:not(.eyebrow) {
  margin-bottom: 0;
}

.admin-section {
  margin-top: 25px;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--bn-line);
  border-radius: 24px;
  background: rgba(255, 255, 255, .72);
  box-shadow: var(--bn-shadow-sm);
}

.admin-section > h2 {
  margin: 0 0 21px;
  color: var(--bn-navy);
  font-family: var(--bn-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -.04em;
}

.admin-section > h2 > span {
  min-width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  margin-left: 7px;
  border-radius: 999px;
  color: var(--bn-brand-dark);
  background: var(--bn-brand-soft);
  font-family: var(--bn-body);
  font-size: 12px;
}

.moderation-list {
  gap: 15px;
}

.moderation-list > article,
.business-moderation-card,
.moderation-history-row {
  padding: 22px;
  border: 1px solid var(--bn-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--bn-shadow-xs);
}

.moderation-list h3,
.business-moderation-card h3 {
  color: var(--bn-navy);
  font-family: var(--bn-display);
  font-weight: 700;
  letter-spacing: -.025em;
}

.moderation-list p,
.moderation-list small,
.moderation-history-row {
  color: var(--bn-muted);
  font-family: var(--bn-body);
}

.moderation-decision-box {
  padding: 17px;
  border: 1px solid var(--bn-line);
  border-radius: 15px;
  background: #f7f4ee;
}

.moderation-actions {
  gap: 9px;
}

/* Pied de page */
.site-footer {
  position: relative;
  overflow: hidden;
  color: #c5ceda;
  background:
    radial-gradient(circle at 10% 120%, rgba(201, 95, 64, .2), transparent 24rem),
    linear-gradient(145deg, #0b111c, #152235);
}

.site-footer::before {
  content: "";
  position: absolute;
  right: -150px;
  top: -170px;
  width: 390px;
  height: 390px;
  border: 1px solid rgba(255, 255, 255, .05);
  border-radius: 50%;
}

.footer-grid {
  position: relative;
  z-index: 2;
  padding-block: 72px 56px;
  gap: 42px;
}

.site-footer .brand-name {
  color: #fff;
}

.site-footer .brand-mark {
  color: #ef8565;
  border-color: #ef8565;
}

.footer-intro {
  color: #aeb8c6;
  font-family: var(--bn-body);
  line-height: 1.7;
}

.site-footer h2 {
  margin-bottom: 17px;
  color: #fff;
  font-family: var(--bn-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.site-footer a:not(.brand) {
  color: #b8c2cf;
  font-family: var(--bn-body);
  font-size: 13px;
  line-height: 2.1;
}

.site-footer a:not(.brand):hover {
  color: #fff;
}

.footer-bottom {
  position: relative;
  z-index: 2;
  min-height: 70px;
  border-color: rgba(255, 255, 255, .09);
  color: #8f9baa;
  font-family: var(--bn-body);
  font-size: 11px;
}

/* Adaptation tablette et mobile */
@media (max-width: 1180px) {
  .container {
    width: min(100% - 36px, 1180px);
  }

  .main-nav {
    gap: 17px;
  }

  .main-nav a {
    font-size: 13px;
  }

  .header-actions .button-secondary {
    display: none;
  }

  .business-grid.grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1040px) {
  .header-inner {
    min-height: 72px;
  }

  .brand-name {
    font-size: 25px;
  }

  .main-nav {
    top: 72px;
    padding: 14px 18px 22px;
    border-bottom: 1px solid var(--bn-line);
    background: rgba(250, 248, 244, .98);
    box-shadow: 0 18px 36px rgba(17, 24, 39, .09);
  }

  .main-nav a {
    min-height: 46px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    border-radius: 11px;
    font-size: 14px;
  }

  .main-nav a.active {
    background: var(--bn-brand-soft);
  }

  .main-nav a::after {
    display: none;
  }

  .page-home .hero {
    min-height: 780px;
  }

  .page-home .hero::before {
    inset: 0;
    background: linear-gradient(90deg, rgba(247, 243, 236, .98) 0%, rgba(247, 243, 236, .89) 63%, rgba(247, 243, 236, .52));
  }

  .page-home .hero-media {
    inset: 0;
  }

  .page-home .hero-copy {
    width: 76%;
  }

  .search-bar {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .search-field {
    border: 0;
    border-bottom: 1px solid var(--bn-line);
  }

  .search-submit {
    width: 100%;
    min-width: 0;
    margin-left: 0;
  }

  .category-grid,
  .region-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .directory-layout,
  .account-grid {
    grid-template-columns: 1fr;
  }

  .filter-panel,
  .account-sidebar {
    position: static;
  }

  .account-sidebar {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 18px;
  }

  .account-sidebar-nav {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .business-detail-layout {
    grid-template-columns: 1fr;
  }

  .business-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .auth-layout,
  .login-layout {
    grid-template-columns: 1fr;
  }

  .auth-benefits,
  .login-benefits,
  .registration-benefits {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 720px);
  }

  .site-header {
    position: sticky;
  }

  .brand-mark {
    width: 43px;
    height: 48px;
  }

  .brand-name {
    font-size: 23px;
  }

  .language-switcher {
    display: none;
  }

  .page-hero {
    min-height: auto;
    padding: 54px 0 48px;
  }

  .page-hero h1 {
    font-size: clamp(37px, 11vw, 50px);
  }

  .page-content {
    padding-block: 42px 72px;
  }

  .section {
    padding-block: 70px;
  }

  .page-home .hero {
    min-height: 890px;
  }

  .page-home .hero::before {
    background: linear-gradient(0deg, rgba(247, 243, 236, .98) 0%, rgba(247, 243, 236, .9) 72%, rgba(247, 243, 236, .65));
  }

  .page-home .hero-inner {
    min-height: 890px;
    align-items: flex-start;
    padding-top: 74px;
    padding-bottom: 320px;
  }

  .page-home .hero-copy {
    width: 100%;
  }

  .page-home .hero h1 {
    font-size: clamp(47px, 14.5vw, 67px);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-search {
    bottom: 32px;
  }

  .search-bar {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 12px;
  }

  .search-field {
    height: 54px;
    padding-inline: 14px;
  }

  .search-submit {
    height: 54px;
  }

  .split-heading,
  .category-showcase-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .category-all-button {
    align-self: flex-start;
  }

  .category-grid,
  .region-grid,
  .catalog-grid,
  .business-grid.grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .category-card {
    min-height: 150px;
  }

  .region-card {
    min-height: 205px;
  }

  .owner-cta {
    margin-block: 68px;
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .owner-art {
    margin-top: 28px;
  }

  .form-intro-strip {
    grid-template-columns: 1fr;
  }

  .business-form {
    padding: 20px;
  }

  .business-form-section {
    padding: 21px 17px;
  }

  .form-grid,
  .business-field-grid,
  .account-profile-grid,
  .profile-details {
    grid-template-columns: 1fr;
  }

  .business-title-card {
    bottom: -95px;
    align-items: flex-start;
  }

  .business-logo {
    width: 80px;
    height: 80px;
    flex-basis: 80px;
  }

  .business-detail-layout {
    margin-top: 135px;
  }

  .business-sidebar {
    grid-template-columns: 1fr;
  }

  .quick-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .quick-actions .button {
    width: 100%;
  }

  .reviews-title-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .rating-selector {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }

  .rating-star {
    width: 38px;
    height: 38px;
  }

  .account-sidebar {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .account-avatar-wrap {
    margin-inline: auto;
  }

  .account-sidebar-nav {
    grid-template-columns: 1fr;
  }

  .account-content,
  .auth-card,
  .login-card,
  .auth-benefits,
  .login-benefits,
  .registration-benefits {
    padding: 23px 18px;
    border-radius: 22px;
  }

  .owner-business-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .owner-business-controls {
    width: 100%;
  }

  .owner-business-controls .button {
    flex: 1;
  }

  .admin-dashboard > .section-heading,
  .admin-section {
    padding: 22px 17px;
    border-radius: 20px;
  }

  .moderation-actions {
    justify-content: flex-start;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px 24px;
  }

  .footer-brand-column {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    padding-block: 18px;
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 22px, 460px);
  }

  .header-inner {
    gap: 10px;
  }

  .brand {
    gap: 8px;
  }

  .brand-mark {
    width: 39px;
    height: 44px;
  }

  .brand-name {
    font-size: 21px;
  }

  .page-home .hero h1 {
    font-size: clamp(43px, 14.5vw, 58px);
  }

  .page-home .hero-lede {
    font-size: 16px;
  }

  .catalog-card {
    min-height: 154px;
    padding: 21px 60px 21px 18px;
  }

  .catalog-card .category-icon {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .catalog-card h2 {
    font-size: 19px;
  }

  .business-title-card {
    gap: 14px;
  }

  .business-title-card h1 {
    font-size: 31px;
  }

  .detail-section,
  .review-form {
    padding: 22px 17px;
    border-radius: 20px;
  }

  .rating-star {
    width: 34px;
    height: 34px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand-column {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* =========================================================
   Accueil — appel à l’action des propriétaires, version 6.1
   ========================================================= */
.page-home .owner-cta {
  position: relative;
  isolation: isolate;
  min-height: 520px;
  padding: clamp(48px, 6vw, 78px);
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr);
  gap: clamp(42px, 6vw, 90px);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 34px;
  background:
    radial-gradient(circle at 92% 0, rgba(225, 119, 87, .34), transparent 25rem),
    radial-gradient(circle at 3% 110%, rgba(201, 95, 64, .19), transparent 23rem),
    linear-gradient(135deg, #0d1522 0%, #162438 66%, #24334a 100%);
  box-shadow: 0 32px 80px rgba(17, 24, 39, .2);
}

.page-home .owner-cta::before {
  content: "";
  position: absolute;
  right: -95px;
  top: -120px;
  z-index: -1;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(255, 255, 255, .075);
  border-radius: 50%;
  box-shadow:
    0 0 0 42px rgba(255, 255, 255, .025),
    0 0 0 84px rgba(255, 255, 255, .015);
}

.page-home .owner-cta::after {
  content: "";
  position: absolute;
  left: 52%;
  bottom: -150px;
  z-index: -1;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(201, 95, 64, .08);
  filter: blur(1px);
}

.page-home .owner-copy {
  max-width: 650px;
}

.page-home .owner-copy .eyebrow {
  width: fit-content;
  margin-bottom: 18px;
  padding: 8px 12px;
  border: 1px solid rgba(240, 143, 113, .2);
  border-radius: 999px;
  color: #f2ad96;
  background: rgba(201, 95, 64, .11);
  font-size: 10px;
}

.page-home .owner-cta h2 {
  max-width: 630px;
  color: #fff;
  font-size: clamp(42px, 4.6vw, 66px);
  font-weight: 750;
  letter-spacing: -.06em;
  line-height: 1.02;
}

.page-home .owner-copy > p:not(.eyebrow) {
  max-width: 610px;
  margin-top: 24px;
  color: #c9d2de;
  font-size: clamp(15px, 1.45vw, 18px);
  line-height: 1.75;
}

.page-home .owner-actions {
  margin-top: 32px;
  gap: 18px;
}

.page-home .owner-actions .button-light {
  min-height: 56px;
  padding-inline: 25px;
  border-color: #fff;
  color: var(--bn-navy);
  background: #fff;
  box-shadow: 0 14px 32px rgba(0, 0, 0, .16);
}

.page-home .owner-actions .button-light:hover {
  color: #fff;
  border-color: var(--bn-brand);
  background: var(--bn-brand);
}

.page-home .owner-text-link {
  color: #f2b29d;
  font-family: var(--bn-body);
  font-size: 13px;
  font-weight: 700;
}

.page-home .owner-text-link:hover {
  color: #fff;
}

.page-home .owner-art {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.owner-process-card {
  width: min(100%, 470px);
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 26px;
  color: var(--bn-text);
  background:
    radial-gradient(circle at 100% 0, rgba(201, 95, 64, .08), transparent 14rem),
    rgba(255, 255, 255, .97);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .24);
}

.owner-process-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 21px;
  border-bottom: 1px solid var(--bn-line);
}

.owner-verified-icon {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(145deg, #d66d4e, var(--bn-brand));
  box-shadow: 0 10px 23px rgba(201, 95, 64, .23);
  font-family: var(--bn-display);
  font-size: 20px;
  font-weight: 800;
}

.owner-process-heading > div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.owner-process-heading small {
  color: var(--bn-brand-dark);
  font-family: var(--bn-body);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .13em;
  line-height: 1.3;
  text-transform: uppercase;
}

.owner-process-heading strong {
  color: var(--bn-navy);
  font-family: var(--bn-display);
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -.035em;
  line-height: 1.25;
}

.owner-process-steps {
  position: relative;
  margin: 22px 0;
  padding: 0;
  display: grid;
  gap: 12px;
  list-style: none;
}

.owner-process-steps::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 35px;
  bottom: 35px;
  width: 1px;
  background: linear-gradient(var(--bn-brand-soft), rgba(201, 95, 64, .3), var(--bn-brand-soft));
}

.owner-process-steps li {
  position: relative;
  z-index: 1;
  min-height: 64px;
  padding: 10px 12px 10px 0;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  border: 1px solid transparent;
  border-radius: 14px;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.owner-process-steps li:hover {
  border-color: rgba(201, 95, 64, .12);
  background: #fff8f5;
  transform: translateX(3px);
}

.owner-process-steps li > span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(201, 95, 64, .13);
  border-radius: 13px;
  color: var(--bn-brand-dark);
  background: var(--bn-brand-soft);
  font-family: var(--bn-display);
  font-size: 9px;
  font-weight: 800;
}

.owner-process-steps li > div {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.owner-process-steps strong {
  color: var(--bn-navy);
  font-family: var(--bn-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.3;
}

.owner-process-steps small {
  color: var(--bn-muted);
  font-family: var(--bn-body);
  font-size: 10px;
  line-height: 1.4;
}

.owner-process-footer {
  min-height: 62px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(52, 115, 90, .14);
  border-radius: 15px;
  background: linear-gradient(135deg, #eff8f2, #f8fcf9);
}

.owner-process-footer > span {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--bn-success);
  background: #dcefe3;
  font-size: 8px;
}

.owner-process-footer p {
  margin: 0;
  display: grid;
  gap: 1px;
}

.owner-process-footer strong {
  color: #285b46;
  font-family: var(--bn-display);
  font-size: 11px;
  font-weight: 750;
}

.owner-process-footer small {
  color: #667a70;
  font-family: var(--bn-body);
  font-size: 9px;
  line-height: 1.4;
}

@media (max-width: 1040px) {
  .page-home .owner-cta {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .page-home .owner-copy {
    max-width: 760px;
  }

  .page-home .owner-art {
    justify-content: flex-start;
  }

  .owner-process-card {
    width: min(100%, 620px);
  }
}

@media (max-width: 620px) {
  .page-home .owner-cta {
    padding: 38px 20px 22px;
    border-radius: 25px;
  }

  .page-home .owner-cta h2 {
    font-size: clamp(38px, 12vw, 50px);
  }

  .page-home .owner-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .page-home .owner-actions .button,
  .page-home .owner-text-link {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .owner-process-card {
    padding: 18px;
    border-radius: 20px;
  }

  .owner-process-heading strong {
    font-size: 16px;
  }

  .owner-process-steps li {
    padding-right: 5px;
  }
}

/* Avis liés aux comptes et révisions modérées */
.review-heading-cta {
  flex: 0 0 auto;
  min-height: 44px;
  padding-inline: 18px;
}

.review-compose-area {
  scroll-margin-top: 115px;
}

.review-access-card,
.review-owner-card {
  margin-top: 25px;
  padding: clamp(25px, 4vw, 38px);
  display: flex;
  align-items: flex-start;
  gap: 20px;
  border: 1px solid var(--bn-line);
  border-radius: 23px;
  background:
    radial-gradient(circle at 100% 0, rgba(201, 95, 64, .08), transparent 17rem),
    rgba(255, 255, 255, .92);
  box-shadow: var(--bn-shadow-sm);
}

.review-access-icon {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: var(--bn-brand-dark);
  background: var(--bn-brand-soft);
  font-family: var(--bn-display);
  font-size: 21px;
  font-weight: 750;
}

.review-access-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.review-access-copy,
.review-access-card > div {
  min-width: 0;
}

.review-access-card h3,
.review-owner-card h3,
.my-review-card h3 {
  margin: 4px 0 8px;
  color: var(--bn-navy);
  font-family: var(--bn-display);
  font-size: clamp(22px, 3vw, 29px);
  font-weight: 750;
  letter-spacing: -.045em;
}

.review-access-card p,
.review-owner-notice,
.review-edit-guidance {
  color: var(--bn-muted);
  font-family: var(--bn-body);
  font-size: 14px;
  line-height: 1.65;
}

.review-access-actions {
  margin-top: 19px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.review-access-warning {
  border-color: rgba(185, 126, 31, .24);
  background: linear-gradient(145deg, #fffaf0, #fff);
}

.review-owner-card {
  display: block;
}

.review-owner-heading,
.my-review-card-heading,
.my-review-card-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.review-status-stack {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.review-owner-notice {
  margin: 12px 0 0;
  padding: 14px 16px;
  border: 1px solid rgba(201, 95, 64, .12);
  border-radius: 13px;
  background: var(--bn-brand-soft);
}

.review-owner-card .review-form,
.my-review-card .review-form {
  margin-top: 20px;
  padding: 24px 0 0;
  border: 0;
  border-top: 1px solid var(--bn-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.review-account-identity {
  min-height: 66px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(52, 115, 90, .16);
  border-radius: 15px;
  background: #f2f8f4;
}

.review-account-identity > span {
  width: 39px;
  height: 39px;
  flex: 0 0 39px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--bn-success);
  font-family: var(--bn-display);
  font-weight: 750;
}

.review-account-identity p {
  margin: 0;
  display: grid;
  gap: 2px;
}

.review-account-identity strong {
  color: var(--bn-navy);
  font-family: var(--bn-body);
  font-size: 13px;
}

.review-account-identity small {
  color: #5f766b;
  font-family: var(--bn-body);
  font-size: 11px;
}

.review-delete-form {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--bn-line);
}

.my-reviews-page {
  max-width: 1080px;
}

.review-dashboard-heading {
  align-items: end;
}

.review-dashboard-heading > div {
  max-width: 700px;
}

.my-review-list {
  margin-top: 25px;
  display: grid;
  gap: 18px;
}

.my-review-card {
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--bn-line);
  border-radius: 23px;
  background:
    radial-gradient(circle at 100% 0, rgba(201, 95, 64, .055), transparent 17rem),
    rgba(255, 255, 255, .9);
  box-shadow: var(--bn-shadow-sm);
}

.my-review-card h3 a {
  color: inherit;
}

.my-review-card h3 a:hover {
  color: var(--bn-brand-dark);
}

.review-editor {
  margin-top: 20px;
  border-top: 1px solid var(--bn-line);
}

.review-editor > summary {
  padding: 18px 2px 0;
  color: var(--bn-navy);
  cursor: pointer;
  font-family: var(--bn-body);
  font-size: 13px;
  font-weight: 750;
}

.review-edit-guidance {
  margin: 0;
  font-size: 12px;
}

.my-review-card-footer {
  margin-top: 20px;
  padding-top: 16px;
  align-items: center;
  border-top: 1px solid var(--bn-line);
}

.my-review-card-footer small {
  color: var(--bn-muted);
  font-family: var(--bn-body);
  font-size: 11px;
}

.review-revision-admin-card {
  display: grid;
  gap: 18px;
}

.review-revision-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.review-revision-comparison > div {
  padding: 18px;
  border: 1px solid var(--bn-line);
  border-radius: 15px;
  background: #f8f5ef;
}

.review-revision-comparison h3 {
  margin: 12px 0 7px;
  color: var(--bn-navy);
  font-family: var(--bn-display);
}

.review-revision-comparison p {
  color: var(--bn-muted);
  font-family: var(--bn-body);
  line-height: 1.6;
}

.review-moderation-actions {
  grid-template-columns: 1fr auto auto;
  align-items: end;
}

.review-moderation-actions .form-control {
  grid-column: 1 / -1;
}

@media (max-width: 760px) {
  .reviews-heading,
  .review-owner-heading,
  .my-review-card-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .review-heading-cta {
    align-self: flex-start;
  }

  .review-status-stack {
    justify-content: flex-start;
  }

  .review-access-card {
    flex-direction: column;
  }

  .review-revision-comparison {
    grid-template-columns: 1fr;
  }

  .review-moderation-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .review-access-actions,
  .review-access-actions .button,
  .review-owner-card .review-submit,
  .my-review-card .button {
    width: 100%;
  }

  .review-access-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .my-review-card-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Centre d’aide et FAQ */
.faq-page {
  width: min(1120px, calc(100% - 32px));
  display: grid;
  gap: 34px;
}

.faq-search-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 5vw, 56px);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 30px;
  color: #fff;
  background:
    radial-gradient(circle at 92% 4%, rgba(216, 95, 61, .38), transparent 18rem),
    linear-gradient(135deg, #111827 0%, #18253a 100%);
  box-shadow: 0 24px 58px rgba(17, 24, 39, .14);
}

.faq-search-panel::after {
  content: "";
  position: absolute;
  top: -120px;
  right: -90px;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 50%;
  pointer-events: none;
}

.faq-search-copy,
.faq-search-box,
.faq-result-count {
  position: relative;
  z-index: 1;
}

.faq-search-copy {
  max-width: 760px;
}

.faq-search-copy .eyebrow {
  color: #e99a7f;
}

.faq-search-copy h2 {
  margin: 8px 0 12px;
  color: #fff;
  font-family: var(--bn-display);
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 750;
  letter-spacing: -.055em;
  line-height: 1.04;
}

.faq-search-copy > p:last-child {
  margin: 0;
  color: #c9d0dc;
  font-family: var(--bn-body);
  font-size: 16px;
  line-height: 1.7;
}

.faq-search-box {
  width: min(760px, 100%);
  min-height: 68px;
  margin-top: 30px;
  padding: 7px 8px 7px 20px;
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr) auto;
  gap: 13px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(0, 0, 0, .14);
}

.faq-search-box > span,
.faq-search-box > span svg {
  width: 24px;
  height: 24px;
}

.faq-search-box > span {
  display: grid;
  place-items: center;
  color: var(--bn-terracotta);
}

.faq-search-box svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.faq-search-box input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  color: var(--bn-navy);
  background: transparent;
  font-family: var(--bn-body);
  font-size: 16px;
}

.faq-search-box input::placeholder {
  color: #9299a4;
  opacity: 1;
}

.faq-search-box button {
  min-height: 46px;
  padding: 0 17px;
  border: 0;
  border-radius: 13px;
  color: var(--bn-navy);
  background: #f1ece5;
  cursor: pointer;
  font-family: var(--bn-body);
  font-size: 12px;
  font-weight: 750;
}

.faq-search-box button:hover {
  color: #fff;
  background: var(--bn-terracotta);
}

.faq-result-count {
  margin: 13px 0 0;
  color: #aeb8c6;
  font-family: var(--bn-body);
  font-size: 12px;
  font-weight: 650;
}

.faq-content {
  width: min(960px, 100%);
  margin-inline: auto;
}

.faq-section-heading {
  margin-bottom: 22px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
}

.faq-section-heading h2 {
  margin: 6px 0 0;
  color: var(--bn-navy);
  font-family: var(--bn-display);
  font-size: clamp(29px, 4vw, 42px);
  font-weight: 750;
  letter-spacing: -.05em;
  line-height: 1.08;
}

.faq-section-heading > span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex: 0 0 46px;
  border-radius: 14px;
  color: var(--bn-terracotta-dark);
  background: #f3e5de;
  font-family: var(--bn-display);
  font-size: 14px;
  font-weight: 800;
}

.faq-accordion {
  display: grid;
  gap: 13px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid var(--bn-line);
  border-radius: 20px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 9px 24px rgba(17, 24, 39, .045);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.faq-item[hidden] {
  display: none !important;
}

.faq-item:hover {
  border-color: #d7c4b8;
  transform: translateY(-1px);
}

.faq-item[open] {
  border-color: rgba(201, 95, 64, .42);
  box-shadow: 0 17px 38px rgba(17, 24, 39, .08);
}

.faq-item summary {
  min-height: 94px;
  padding: 20px 22px 20px 25px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  gap: 20px;
  align-items: center;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:focus-visible {
  outline: 3px solid rgba(201, 95, 64, .25);
  outline-offset: -3px;
}

.faq-item-copy {
  display: grid;
  gap: 6px;
}

.faq-item-copy small {
  color: var(--bn-terracotta-dark);
  font-family: var(--bn-body);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.faq-item-copy strong {
  color: var(--bn-navy);
  font-family: var(--bn-display);
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.28;
}

.faq-item-toggle {
  position: relative;
  width: 44px;
  height: 44px;
  display: block;
  border-radius: 14px;
  color: var(--bn-terracotta-dark);
  background: #f5eae4;
  transition: color .18s ease, background .18s ease, transform .18s ease;
}

.faq-item-toggle::before,
.faq-item-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 15px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform .18s ease, opacity .18s ease;
}

.faq-item-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-item-toggle {
  color: #fff;
  background: var(--bn-terracotta);
  transform: rotate(180deg);
}

.faq-item[open] .faq-item-toggle::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg) scaleX(0);
}

.faq-answer {
  margin: 0 25px;
  padding: 20px 0 25px;
  border-top: 1px solid #ece5dc;
}

.faq-answer p {
  max-width: 820px;
  margin: 0;
  color: var(--bn-muted);
  font-family: var(--bn-body);
  font-size: 15px;
  line-height: 1.75;
}

.faq-empty-state {
  padding: 45px 24px;
  border: 1px dashed #d7c9be;
  border-radius: 22px;
  text-align: center;
  background: rgba(255, 255, 255, .62);
}

.faq-empty-state > span {
  width: 56px;
  height: 56px;
  margin: 0 auto 15px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  color: var(--bn-terracotta-dark);
  background: #f3e5de;
}

.faq-empty-state svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.faq-empty-state h3 {
  margin: 0;
  color: var(--bn-navy);
  font-family: var(--bn-display);
  font-size: 24px;
}

.faq-empty-state p {
  margin: 8px auto 0;
  color: var(--bn-muted);
  font-family: var(--bn-body);
}

.faq-assistant-cta {
  padding: clamp(27px, 4vw, 40px);
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  border: 1px solid rgba(201, 95, 64, .22);
  border-radius: 26px;
  background:
    radial-gradient(circle at 100% 0, rgba(201, 95, 64, .13), transparent 17rem),
    #fff;
  box-shadow: 0 18px 42px rgba(17, 24, 39, .07);
}

.faq-assistant-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 19px;
  color: #fff;
  background: var(--bn-navy);
  box-shadow: 0 12px 26px rgba(17, 24, 39, .16);
}

.faq-assistant-icon svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.faq-assistant-cta h2 {
  margin: 5px 0 6px;
  color: var(--bn-navy);
  font-family: var(--bn-display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 750;
  letter-spacing: -.045em;
  line-height: 1.08;
}

.faq-assistant-cta div > p:last-child {
  margin: 0;
  color: var(--bn-muted);
  font-family: var(--bn-body);
  font-size: 13px;
  line-height: 1.6;
}

.faq-assistant-button {
  min-height: 52px;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  border-color: var(--bn-terracotta);
  color: #fff;
  background: var(--bn-terracotta);
  white-space: nowrap;
}

.faq-assistant-button:hover {
  color: #fff;
  background: var(--bn-terracotta-dark);
}

.faq-assistant-button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 760px) {
  .faq-page {
    width: min(100% - 22px, 1120px);
    gap: 25px;
  }

  .faq-search-panel {
    padding: 28px 21px;
    border-radius: 23px;
  }

  .faq-search-box {
    min-height: 61px;
    margin-top: 23px;
    padding-left: 15px;
    grid-template-columns: 22px minmax(0, 1fr) auto;
    gap: 9px;
  }

  .faq-search-box button {
    min-height: 42px;
    padding-inline: 12px;
  }

  .faq-section-heading {
    align-items: center;
  }

  .faq-item summary {
    min-height: 84px;
    padding: 18px;
    grid-template-columns: minmax(0, 1fr) 40px;
    gap: 13px;
  }

  .faq-item-toggle {
    width: 40px;
    height: 40px;
  }

  .faq-answer {
    margin-inline: 18px;
    padding: 18px 0 21px;
  }

  .faq-assistant-cta {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 17px;
  }

  .faq-assistant-icon {
    width: 56px;
    height: 56px;
  }

  .faq-assistant-button {
    width: 100%;
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .faq-search-box button {
    width: 42px;
    padding: 0;
    overflow: hidden;
    color: transparent;
    font-size: 0;
  }

  .faq-search-box button::before {
    content: "×";
    color: var(--bn-navy);
    font-family: var(--bn-body);
    font-size: 21px;
  }

  .faq-section-heading > span {
    display: none;
  }

  .faq-item-copy strong {
    font-size: 16px;
  }

  .faq-assistant-cta {
    padding: 24px 20px;
    grid-template-columns: 1fr;
    text-align: left;
  }

  .faq-assistant-icon {
    width: 52px;
    height: 52px;
  }
}

/* ==========================================================================
   Nous joindre — formulaire public et suivi administratif
   ========================================================================== */

.contact-page {
  padding-top: clamp(34px, 5vw, 72px);
  padding-bottom: clamp(72px, 8vw, 118px);
}

.contact-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(285px, .72fr);
  gap: clamp(24px, 3.2vw, 42px);
  align-items: start;
}

.contact-form-card {
  padding: clamp(25px, 4vw, 48px);
  overflow: hidden;
  border-color: rgba(17, 24, 39, .1);
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0, rgba(201, 95, 64, .09), transparent 24rem),
    #fff;
  box-shadow: 0 24px 60px rgba(17, 24, 39, .08);
}

.contact-card-heading {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--bn-line);
}

.contact-heading-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 21px;
  color: var(--bn-terracotta-dark);
  background: #f5e8e2;
}

.contact-heading-icon svg,
.contact-info-mini-icon svg,
.contact-submit svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-card-heading h2 {
  margin: 5px 0 7px;
  color: var(--bn-navy);
  font-family: var(--bn-display);
  font-size: clamp(27px, 3.2vw, 38px);
  font-weight: 750;
  letter-spacing: -.045em;
  line-height: 1.08;
}

.contact-card-heading > div > p:last-child {
  max-width: 660px;
  margin: 0;
  color: var(--bn-muted);
  font-family: var(--bn-body);
  font-size: 15px;
  line-height: 1.65;
}

.contact-member-note {
  margin-top: 26px;
  padding: 16px 18px;
  display: flex;
  gap: 13px;
  align-items: flex-start;
  border: 1px solid rgba(45, 122, 80, .22);
  border-radius: 16px;
  background: #f2f8f4;
}

.contact-member-note > span {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  background: #37855c;
}

.contact-member-note p {
  margin: 1px 0 0;
  color: #315f45;
  font-family: var(--bn-body);
  font-size: 13px;
  line-height: 1.55;
}

.contact-form-grid {
  position: relative;
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.contact-form-grid .form-control {
  min-width: 0;
}

.contact-form-grid > .full {
  grid-column: 1 / -1;
}

.contact-form-grid .form-control > span {
  margin-bottom: 9px;
  color: var(--bn-navy);
  font-family: var(--bn-body);
  font-size: 13px;
  font-weight: 700;
}

.contact-form-grid input,
.contact-form-grid select,
.contact-form-grid textarea {
  width: 100%;
  border: 1px solid #d8d1ca;
  border-radius: 15px;
  color: var(--bn-navy);
  background: rgba(255, 255, 255, .94);
  font-family: var(--bn-body);
  font-size: 15px;
  font-weight: 450;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.contact-form-grid input,
.contact-form-grid select {
  min-height: 58px;
  padding: 0 17px;
}

.contact-form-grid textarea {
  min-height: 310px;
  padding: 16px 17px;
  resize: vertical;
  line-height: 1.65;
}

.contact-form-grid input:focus,
.contact-form-grid select:focus,
.contact-form-grid textarea:focus {
  outline: none;
  border-color: var(--bn-terracotta);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(201, 95, 64, .11);
}

.contact-message-control small {
  margin-top: 8px;
  color: var(--bn-muted);
  font-family: var(--bn-body);
  font-size: 12px;
  line-height: 1.45;
}

.contact-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.contact-form-footer {
  padding-top: 3px;
  display: flex;
  gap: 19px;
  align-items: center;
}

.contact-submit {
  min-width: 230px;
  min-height: 57px;
  display: inline-flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  box-shadow: 0 14px 28px rgba(177, 75, 47, .2);
}

.contact-submit svg {
  width: 20px;
  height: 20px;
}

.contact-form-footer p {
  max-width: 340px;
  margin: 0;
  color: var(--bn-muted);
  font-family: var(--bn-body);
  font-size: 12px;
  line-height: 1.5;
}

.contact-sidebar {
  display: grid;
  gap: 18px;
}

.contact-info-card {
  padding: 25px;
  border: 1px solid var(--bn-line);
  border-radius: 22px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 14px 34px rgba(17, 24, 39, .055);
}

.contact-info-card-dark {
  padding: 31px 27px;
  color: rgba(255, 255, 255, .82);
  border-color: rgba(255, 255, 255, .1);
  background:
    radial-gradient(circle at 100% 0, rgba(201, 95, 64, .32), transparent 16rem),
    var(--bn-navy);
  box-shadow: 0 22px 44px rgba(17, 24, 39, .18);
}

.contact-info-card h2,
.contact-info-card h3 {
  color: var(--bn-navy);
  font-family: var(--bn-display);
  letter-spacing: -.035em;
}

.contact-info-card h2 {
  margin: 8px 0 14px;
  font-size: clamp(27px, 3vw, 35px);
  line-height: 1.08;
}

.contact-info-card h3 {
  margin: 15px 0 8px;
  font-size: 19px;
}

.contact-info-card p {
  margin: 0;
  color: var(--bn-muted);
  font-family: var(--bn-body);
  font-size: 13px;
  line-height: 1.65;
}

.contact-info-card-dark h2,
.contact-info-card-dark .eyebrow {
  color: #fff;
}

.contact-info-card-dark p {
  color: rgba(255, 255, 255, .72);
}

.contact-info-card-dark > a {
  margin-top: 24px;
  padding-top: 18px;
  display: flex;
  gap: 10px;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, .15);
  color: #fff;
  font-family: var(--bn-body);
  font-size: 13px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.contact-info-card-dark > a span {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  background: rgba(255, 255, 255, .12);
}

.contact-info-mini-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--bn-terracotta-dark);
  background: #f5e8e2;
  font-family: var(--bn-display);
  font-size: 13px;
  font-weight: 800;
}

.contact-info-mini-icon svg {
  width: 24px;
  height: 24px;
}

.contact-inline-link {
  margin-top: 13px;
  display: inline-flex;
  color: var(--bn-terracotta-dark);
  font-family: var(--bn-body);
  font-size: 13px;
  font-weight: 750;
}

/* Boîte de réception de l’administration */
.admin-contact-section-heading {
  margin-bottom: 19px;
  display: flex;
  gap: 24px;
  align-items: end;
  justify-content: space-between;
}

.admin-contact-section-heading h2 {
  margin: 4px 0 0;
}

.admin-contact-section-heading > p {
  max-width: 490px;
  margin: 0 0 4px;
  color: var(--bn-muted);
  font-family: var(--bn-body);
  font-size: 13px;
  line-height: 1.55;
}

.admin-contact-list {
  display: grid;
  gap: 17px;
}

.admin-contact-card {
  padding: 24px;
  border-left: 4px solid #d8d1ca;
  border-radius: 21px;
}

.admin-contact-card-new {
  border-left-color: var(--bn-terracotta);
  box-shadow: 0 16px 38px rgba(17, 24, 39, .075);
}

.admin-contact-card-top,
.admin-contact-actions {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

.admin-contact-sender {
  min-width: 0;
  display: flex;
  gap: 15px;
  align-items: center;
}

.admin-contact-avatar {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #fff;
  background: var(--bn-navy);
  font-family: var(--bn-display);
  font-weight: 800;
}

.admin-contact-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.admin-contact-sender h3 {
  margin: 9px 0 3px;
  color: var(--bn-navy);
  font-family: var(--bn-display);
  font-size: 20px;
}

.admin-contact-sender a {
  color: var(--bn-terracotta-dark);
  font-family: var(--bn-body);
  font-size: 13px;
  font-weight: 650;
}

.contact-status-new {
  color: #914122;
  background: #f8e5dc;
}

.contact-mail-sent {
  color: #2c7550;
  background: #eaf6ee;
}

.contact-mail-failed {
  color: #9a3d30;
  background: #fff0ed;
}

.admin-contact-meta {
  flex: 0 0 auto;
  display: grid;
  gap: 4px;
  justify-items: end;
  color: var(--bn-muted);
  font-family: var(--bn-body);
  font-size: 11px;
}

.admin-contact-meta strong {
  color: var(--bn-navy);
  font-size: 12px;
}

.admin-contact-account-note {
  margin: 17px 0 0;
  padding: 11px 13px;
  border-radius: 11px;
  color: #5f6671;
  background: #f6f3ef;
  font-family: var(--bn-body);
  font-size: 12px;
}

.admin-contact-message {
  margin: 15px 0 19px;
  padding: 18px;
  border: 1px solid #e6ded7;
  border-radius: 14px;
  color: #303744;
  background: #fbfaf8;
  font-family: var(--bn-body);
  font-size: 14px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.admin-contact-actions {
  padding-top: 17px;
  border-top: 1px solid var(--bn-line);
}

.admin-contact-actions .moderation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.admin-contact-actions .button,
.admin-contact-actions .danger-link {
  min-height: 43px;
}

@media (max-width: 900px) {
  .contact-shell {
    grid-template-columns: 1fr;
  }

  .contact-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-info-card-dark {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .contact-page {
    width: min(100% - 22px, 1120px);
  }

  .contact-form-card {
    padding: 24px 19px;
    border-radius: 22px;
  }

  .contact-card-heading {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 14px;
  }

  .contact-heading-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
  }

  .contact-heading-icon svg {
    width: 24px;
    height: 24px;
  }

  .contact-form-grid,
  .contact-sidebar {
    grid-template-columns: 1fr;
  }

  .contact-info-card-dark {
    grid-column: auto;
  }

  .contact-form-footer,
  .admin-contact-section-heading,
  .admin-contact-card-top,
  .admin-contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-submit {
    width: 100%;
  }

  .admin-contact-meta {
    justify-items: start;
  }

  .admin-contact-actions .moderation-actions,
  .admin-contact-actions .button,
  .admin-contact-actions .danger-link {
    width: 100%;
  }
}

/*
 * Les navigateurs Microsoft peuvent ajouter leur propre bouton de révélation
 * aux champs de mot de passe. BizzNoir possède déjà un bouton accessible et
 * cohérent avec son interface : on masque donc uniquement le contrôle natif
 * afin d'éviter l'affichage de deux yeux.
 */
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

/*
 * Cadrage des photos d'entreprise
 *
 * Les couvertures sont souvent des photos de personnes. Le cadrage natif au
 * centre coupait leur visage dans le bandeau très horizontal de la fiche.
 * On conserve object-fit: cover (aucune déformation ni bande vide), mais on
 * donne davantage de hauteur au bandeau et on remonte son point d'intérêt.
 */
.business-cover {
  height: clamp(470px, 31vw, 620px);
  min-height: 470px;
}

.business-cover > img {
  object-position: center 22%;
}

@media (max-width: 800px) {
  .business-cover {
    height: 370px;
    min-height: 370px;
  }

  .business-cover > img {
    object-position: center 26%;
  }
}

@media (max-width: 520px) {
  .business-cover {
    height: 320px;
    min-height: 320px;
  }
}

/* Pages juridiques — politique de confidentialité et conditions */
.legal-page-shell {
  width: min(1180px, calc(100% - 48px));
  padding-block: clamp(42px, 6vw, 84px);
}

.legal-document {
  overflow: hidden;
  padding: clamp(30px, 5.5vw, 72px);
  border-radius: 34px;
  background:
    radial-gradient(circle at 100% 0, rgba(201, 95, 64, .09), transparent 30rem),
    linear-gradient(155deg, rgba(255, 255, 255, .98), rgba(255, 253, 249, .94));
  box-shadow: 0 28px 80px rgba(17, 24, 39, .08);
}

.legal-document-header {
  max-width: 900px;
  margin-bottom: 34px;
}

.legal-document-header .eyebrow {
  margin: 0 0 13px;
  color: var(--bn-brand-dark);
}

.legal-document-header h1 {
  max-width: 860px;
  margin: 0;
  color: var(--bn-navy);
  font-size: clamp(42px, 6.5vw, 72px);
  font-weight: 800;
  letter-spacing: -.065em;
  line-height: .98;
}

.legal-document-intro {
  max-width: 820px;
  margin: 24px 0 0;
  color: var(--bn-muted);
  font-family: var(--bn-body);
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 400;
  line-height: 1.7;
}

.legal-document-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.legal-document-meta span {
  padding: 7px 12px;
  border: 1px solid var(--bn-line);
  border-radius: 999px;
  color: #626b77;
  background: rgba(255, 255, 255, .72);
  font-size: 12px;
  font-weight: 650;
}

.legal-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 34px;
}

.legal-summary-grid > div {
  min-height: 135px;
  padding: 22px;
  border: 1px solid var(--bn-line);
  border-radius: 20px;
  background: rgba(247, 244, 238, .65);
}

.legal-summary-grid strong,
.legal-summary-grid span {
  display: block;
}

.legal-summary-grid strong {
  margin-bottom: 8px;
  color: var(--bn-navy);
  font-family: var(--bn-display);
  font-size: 16px;
  font-weight: 750;
}

.legal-summary-grid span {
  color: var(--bn-muted);
  font-size: 14px;
  line-height: 1.6;
}

.legal-table-of-contents {
  margin-bottom: 16px;
  padding: 25px 27px;
  border: 1px solid rgba(201, 95, 64, .16);
  border-radius: 22px;
  background: var(--bn-brand-soft);
}

.legal-table-of-contents > strong {
  display: block;
  margin-bottom: 14px;
  color: var(--bn-brand-dark);
  font-family: var(--bn-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.legal-table-of-contents ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 22px;
  margin: 0;
  padding-left: 21px;
}

.legal-table-of-contents li {
  color: var(--bn-brand-dark);
  font-size: 13px;
}

.legal-table-of-contents a {
  color: var(--bn-navy);
  font-weight: 650;
  text-decoration: none;
}

.legal-table-of-contents a:hover {
  color: var(--bn-brand-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-section {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 22px;
  padding-block: 38px;
  border-top: 1px solid var(--bn-line);
  scroll-margin-top: 110px;
}

.legal-section-number {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: var(--bn-navy);
  font-family: var(--bn-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
}

.legal-section h2,
.legal-section h3 {
  color: var(--bn-navy);
  font-family: var(--bn-display);
}

.legal-section h2 {
  margin: 1px 0 17px;
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 780;
  letter-spacing: -.045em;
  line-height: 1.15;
}

.legal-section h3 {
  margin: 27px 0 8px;
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -.02em;
}

.legal-section p,
.legal-section li {
  color: #5e6672;
  font-family: var(--bn-body);
  font-size: 15px;
  line-height: 1.78;
}

.legal-section p {
  margin: 0 0 14px;
}

.legal-check-list,
.legal-prohibited-list {
  display: grid;
  gap: 9px;
  margin: 18px 0;
  padding: 0;
  list-style: none;
}

.legal-check-list li {
  position: relative;
  padding: 13px 15px 13px 43px;
  border: 1px solid var(--bn-line);
  border-radius: 14px;
  background: rgba(247, 244, 238, .55);
}

.legal-check-list li::before {
  position: absolute;
  top: 13px;
  left: 15px;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--bn-success);
  content: "✓";
  font-size: 11px;
  font-weight: 900;
}

.legal-prohibited-list li::before {
  background: var(--bn-danger);
  content: "×";
  font-size: 15px;
}

.legal-data-table {
  overflow: hidden;
  margin: 20px 0 24px;
  border: 1px solid var(--bn-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .76);
}

.legal-data-row {
  display: grid;
  grid-template-columns: minmax(110px, .7fr) minmax(260px, 2fr) minmax(190px, 1.2fr);
  border-top: 1px solid var(--bn-line);
}

.legal-data-row:first-child {
  border-top: 0;
}

.legal-data-row > * {
  margin: 0;
  padding: 14px 16px;
  border-left: 1px solid var(--bn-line);
  color: #59616d;
  font-family: var(--bn-body);
  font-size: 12px;
  font-style: normal;
  line-height: 1.55;
}

.legal-data-row > *:first-child {
  border-left: 0;
  color: var(--bn-navy);
}

.legal-data-head {
  color: #fff;
  background: var(--bn-navy);
}

.legal-data-head > * {
  color: #fff;
  font-weight: 750;
}

.legal-provider-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  margin: 19px 0;
}

.legal-provider-grid > div,
.legal-notice-card {
  padding: 20px;
  border: 1px solid var(--bn-line);
  border-radius: 17px;
  background: rgba(247, 244, 238, .62);
}

.legal-provider-grid strong,
.legal-provider-grid span {
  display: block;
}

.legal-provider-grid strong,
.legal-notice-card strong {
  margin-bottom: 6px;
  color: var(--bn-navy);
  font-family: var(--bn-display);
  font-size: 15px;
  font-weight: 750;
}

.legal-provider-grid span,
.legal-notice-card p {
  margin: 0;
  color: var(--bn-muted);
  font-size: 13px;
  line-height: 1.65;
}

.legal-acceptance-notice {
  margin: 0 0 28px;
  border-color: rgba(201, 95, 64, .22);
  background: var(--bn-brand-soft);
}

.legal-contact-card {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 21px;
  margin-top: 12px;
  padding: clamp(25px, 4vw, 38px);
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0, rgba(201, 95, 64, .32), transparent 19rem),
    var(--bn-navy);
  box-shadow: var(--bn-shadow-sm);
}

.legal-contact-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 17px;
  color: #fff;
  background: rgba(255, 255, 255, .11);
}

.legal-contact-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.legal-contact-card h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: -.035em;
}

.legal-contact-card p {
  margin: 0;
  color: rgba(255, 255, 255, .76);
  font-size: 14px;
  line-height: 1.75;
}

.legal-contact-card strong,
.legal-contact-card a {
  color: #fff;
}

.legal-contact-card a {
  text-decoration-color: rgba(255, 255, 255, .45);
  text-underline-offset: 3px;
}

.checkbox-control a {
  color: var(--bn-brand-dark);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

@media (max-width: 820px) {
  .legal-summary-grid,
  .legal-table-of-contents ol,
  .legal-provider-grid {
    grid-template-columns: 1fr;
  }

  .legal-summary-grid > div {
    min-height: 0;
  }

  .legal-data-row {
    grid-template-columns: 1fr;
    padding: 14px 16px;
  }

  .legal-data-row > * {
    padding: 4px 0;
    border-left: 0;
  }

  .legal-data-head {
    display: none;
  }
}

@media (max-width: 560px) {
  .legal-page-shell {
    width: min(100% - 24px, 1180px);
    padding-block: 24px 44px;
  }

  .legal-document {
    padding: 25px 19px;
    border-radius: 24px;
  }

  .legal-document-header h1 {
    font-size: clamp(37px, 12vw, 52px);
  }

  .legal-section {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-block: 30px;
  }

  .legal-section-number {
    width: 42px;
    height: 42px;
  }

  .legal-table-of-contents {
    padding: 21px;
  }

  .legal-contact-card {
    grid-template-columns: 1fr;
  }
}
