/* Annuaire pro — module indépendant (tests) */
@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Source+Sans+3:wght@400;500;600;700&display=swap");

:root {
  --ink: #1a2330;
  --muted: #5a6573;
  --line: #d9d3c7;
  --paper: #f4f0e8;
  --surface: #fffcf7;
  --green: #1a6b3c;
  --green-deep: #145730;
  --red: #c41e3a;
  --gold: #9a7344;
  --gold-soft: #e8dcc8;
  --shadow: 0 14px 40px rgba(26, 35, 48, 0.1);
  --radius: 16px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 8% -8%, #e4efe8 0%, transparent 55%),
    radial-gradient(700px 380px at 100% 0%, #f5e4e6 0%, transparent 48%),
    var(--paper);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 24px 72px;
}
@media (min-width: 1400px) {
  .wrap {
    max-width: 1280px;
    padding-left: 32px;
    padding-right: 32px;
  }
}

.banner {
  background: linear-gradient(135deg, #1a6b3c 0%, #1e3a5f 55%, #8b1e2d 100%);
  color: #fff;
  border-radius: 18px;
  padding: 26px 22px;
  margin-bottom: 14px;
  box-shadow: var(--shadow);
}
.banner.banner-hero {
  position: relative;
  overflow: hidden;
  padding: 0;
  min-height: clamp(220px, 36vw, 340px);
  background: #142033;
}
.banner-hero-media {
  position: absolute;
  inset: 0;
}
.banner-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 45%;
  display: block;
}
.banner-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(12, 22, 34, 0.88) 0%, rgba(12, 22, 34, 0.62) 46%, rgba(26, 107, 60, 0.28) 72%, rgba(139, 30, 45, 0.22) 100%),
    linear-gradient(180deg, rgba(12, 22, 34, 0.2) 0%, rgba(12, 22, 34, 0.55) 100%);
}
.banner-hero-content {
  position: relative;
  z-index: 1;
  padding: clamp(22px, 4vw, 36px) clamp(18px, 3vw, 28px);
  max-width: 36rem;
}
.banner .brand {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.9;
  margin-bottom: 8px;
}
.banner-hero .brand {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.2vw, 2.85rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: none;
  line-height: 1.1;
  opacity: 1;
  margin-bottom: 10px;
}
.banner .brand .red { color: #ffb3b3; }
.banner .brand .green { color: #b8f0c8; }
.banner h1 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.8vw, 2.15rem);
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.banner-hero h1 {
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 500;
  opacity: 0.95;
}
.panel h2,
.price-card h3,
.card h3 {
  font-family: var(--font-display);
  font-weight: 600;
}
.banner p {
  font-size: 0.95rem;
  opacity: 0.92;
  max-width: 40rem;
}
.banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.banner-hero .btn-secondary {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
}


.nav-local {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.nav-local a {
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 8px 12px;
  border-radius: 999px;
}
.nav-local a:hover,
.nav-local a.is-active {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.nav-local a.nav-back {
  background: linear-gradient(135deg, #1a6b3c, #1e3a5f);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(26, 107, 60, 0.22);
}
.nav-local a.nav-back:hover {
  background: linear-gradient(135deg, #145730, #8b1e2d);
  color: #fff;
  border-color: transparent;
}

/* —— Carrousel « À la une » —— */
.spotlight {
  margin-bottom: 14px;
}
.spotlight-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  padding: 0 2px;
}
.spotlight-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2px;
}
.spotlight-head h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
}
.spotlight-offer {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--green-deep);
  text-decoration: none;
  border-bottom: 1px solid rgba(26, 107, 60, 0.35);
}
.spotlight-offer:hover { color: var(--red); border-bottom-color: var(--red); }

.carousel {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: 0 44px 18px;
}
.carousel-viewport {
  overflow: hidden;
  border-radius: 12px;
}
.carousel-track {
  display: flex;
  transition: transform 0.45s ease;
  will-change: transform;
}
.carousel-slide {
  flex: 0 0 100%;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
.carousel-slide-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  padding: 22px 8px 8px;
  min-height: 148px;
}
.carousel-slide.has-cover .carousel-slide-inner {
  border-radius: 14px;
  padding: 22px 18px;
  min-height: 168px;
  background-size: cover;
  background-position: center;
  color: #fff;
}
.carousel-slide.has-cover .carousel-kicker,
.carousel-slide.has-cover .carousel-meta,
.carousel-slide.has-cover .carousel-tagline {
  color: rgba(255, 255, 255, 0.88);
}
.carousel-slide.has-cover .carousel-name {
  color: #fff;
}
.carousel-slide.has-cover .carousel-cta {
  color: #c8f0d4;
}
.carousel-slide.has-cover .carousel-avatar {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  box-shadow: none;
}
.carousel-avatar {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(145deg, #9a7344, #6e4f2a);
  box-shadow: 0 8px 20px rgba(26, 35, 48, 0.16);
}
.carousel-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.carousel-kicker {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6e4f2a;
}
.carousel-name {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 1.45rem);
  font-weight: 600;
  line-height: 1.15;
  color: #1a2330;
}
.carousel-meta {
  font-size: 0.88rem;
  color: #3d4a5c;
  font-weight: 600;
}
.carousel-tagline {
  font-size: 0.95rem;
  color: #3d4a5c;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.carousel-cta {
  margin-top: 4px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #145730;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-56%);
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(26, 35, 48, 0.08);
}
.carousel-btn:hover { background: var(--green); color: #fff; border-color: var(--green); }
.carousel-btn.prev { left: 8px; }
.carousel-btn.next { right: 8px; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 50%;
  background: #cfc6b8;
  cursor: pointer;
  padding: 0;
}
.carousel-dot.is-active { background: var(--gold); width: 18px; border-radius: 999px; }

@media (max-width: 639px) {
  .carousel { padding: 0 38px 14px; }
  .carousel-slide-inner {
    grid-template-columns: 1fr;
    justify-items: start;
    padding-top: 18px;
    min-height: 0;
    gap: 10px;
  }
  .carousel-btn {
    width: 32px;
    height: 32px;
    top: auto;
    bottom: 40px;
    transform: none;
  }
  .carousel-btn.prev { left: 6px; }
  .carousel-btn.next { right: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  .carousel-track { transition: none; }
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 16px;
  margin-bottom: 14px;
  box-shadow: var(--shadow);
}
.panel h2 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}
.hint {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 14px;
}

.btn {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  background: var(--red);
  padding: 10px 18px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
}
.btn:hover { background: #9e1830; }
.btn-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.55);
}
.btn-secondary:hover { background: rgba(255,255,255,0.12); }
.btn-outline {
  background: #fff;
  color: var(--green);
  border: 1px solid var(--green);
}
.btn-outline:hover { background: #e8f5ee; }

.filters {
  display: grid;
  gap: 10px;
}
@media (min-width: 640px) {
  .filters { grid-template-columns: 1.4fr 1fr 1fr auto; align-items: end; }
}
.filters label {
  display: grid;
  gap: 5px;
  font-size: 0.82rem;
  font-weight: 600;
}
.filters input,
.filters select,
.form-box input,
.form-box select,
.form-box textarea {
  font: inherit;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-weight: 400;
}
.filters button {
  padding: 10px 16px;
  border: 0;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  height: 42px;
}

.meta-count {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 12px;
}

.listings {
  display: grid;
  gap: 12px;
}
@media (min-width: 700px) {
  .listings { grid-template-columns: 1fr 1fr; }
}

.card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 14px 12px;
  background: #fff;
  display: grid;
  gap: 8px;
  align-content: start;
  overflow: hidden;
}
.card.has-cover {
  padding: 0;
  gap: 0;
}
.card-cover {
  height: 118px;
  background-size: cover;
  background-position: center;
  background-color: #1e3a5f;
}
.card-body {
  display: grid;
  gap: 8px;
  padding: 14px 14px 12px;
}
a.card-link {
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
a.card-link:hover {
  border-color: var(--green);
  box-shadow: var(--shadow);
}
.card-cta {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--green);
}
.card.is-entreprise {
  border-color: #c9b59a;
  background: linear-gradient(180deg, #fffdf8 0%, #fff 40%);
}
.card-promo {
  border-style: dashed;
  border-color: #b8c4a8;
  background: linear-gradient(180deg, #f4faf6 0%, #fff 55%);
}
.card-promo:hover {
  border-color: var(--green);
}
.card-promo-banner {
  height: 118px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(125deg, rgba(26, 107, 60, 0.9), rgba(30, 58, 95, 0.85) 55%, rgba(139, 30, 45, 0.88));
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}
.card-promo-banner span {
  border: 1px dashed rgba(255, 255, 255, 0.55);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.plan-badge.promo {
  background: #dcefe3;
  color: #0f4a2a;
}
.region-promo-cover {
  background:
    linear-gradient(125deg, rgba(26, 107, 60, 0.88), rgba(30, 58, 95, 0.82) 50%, rgba(139, 30, 45, 0.88)),
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 14px,
      rgba(255, 255, 255, 0.04) 14px,
      rgba(255, 255, 255, 0.04) 15px
    ) !important;
  background-size: cover !important;
}
.card-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: flex-start;
}
.card h3 {
  font-size: 1.05rem;
  line-height: 1.25;
}
.plan-badge {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  background: #e8f5ee;
  color: var(--green);
}
.plan-badge.entreprise {
  background: #f3ebe0;
  color: #7a5a32;
}
.card-meta {
  font-size: 0.84rem;
  color: var(--muted);
}
.card-meta strong { color: var(--ink); font-weight: 600; }
.card p {
  font-size: 0.9rem;
  color: var(--muted);
}
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.card-actions a {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--green);
  text-decoration: none;
}
.card-actions a:hover { text-decoration: underline; }

.empty {
  text-align: center;
  padding: 28px 16px;
  color: var(--muted);
  font-size: 0.95rem;
}

.pricing {
  display: grid;
  gap: 16px;
}
@media (min-width: 700px) {
  .pricing { grid-template-columns: 1fr 1fr; }
}
.pricing-single {
  grid-template-columns: 1fr;
  max-width: none;
}
.pricing-3 {
  display: grid;
  gap: 14px;
}
@media (min-width: 900px) {
  .pricing-3 { grid-template-columns: 1fr 1fr 1fr; }
}

/* —— Page tarifs —— */
.page-tarifs .banner-tarifs {
  text-align: center;
}
.page-tarifs .banner-tarifs .brand {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: none;
  line-height: 1.15;
  opacity: 1;
  margin-bottom: 8px;
}
.page-tarifs .banner-tarifs h1 {
  font-size: clamp(1.2rem, 2.6vw, 1.45rem);
  font-weight: 500;
  margin-bottom: 10px;
}
.page-tarifs .banner-tarifs p {
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
}
.page-tarifs .nav-local {
  justify-content: center;
}
.page-tarifs .promo-hero {
  text-align: center;
}
.page-tarifs .promo-hero-top {
  justify-content: center;
}
.page-tarifs .promo-hero h2 {
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
}
.page-tarifs .promo-hero .lead {
  margin-left: auto;
  margin-right: auto;
}
.page-tarifs .promo-hero-points {
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}
.page-tarifs .promo-hero-actions {
  justify-content: center;
}

.section-head {
  margin-bottom: 18px;
  max-width: 40rem;
}
.section-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 6px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 8px;
  color: var(--ink);
}
.section-lead {
  margin: 0;
  font-size: 0.98rem;
  color: var(--muted);
  line-height: 1.55;
}

.panel-tarifs {
  padding: 22px 20px 24px;
}
.panel-tarifs + .panel-tarifs {
  margin-top: 4px;
}

.promo-hero {
  margin-bottom: 18px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(158, 24, 48, 0.25);
  box-shadow: 0 16px 40px rgba(158, 24, 48, 0.12);
  background:
    linear-gradient(135deg, #8b1e2d 0%, #1a6b3c 55%, #1e3a5f 100%);
  color: #fff;
  padding: clamp(22px, 4vw, 32px) clamp(18px, 3vw, 28px);
  position: relative;
}
.promo-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(500px 180px at 10% 0%, rgba(255,255,255,0.14), transparent 55%),
    radial-gradient(400px 160px at 100% 100%, rgba(154, 115, 68, 0.25), transparent 50%);
  pointer-events: none;
}
.promo-hero > * { position: relative; z-index: 1; }
.promo-hero-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.promo-hero .promo-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8b1e2d;
  background: #fff;
  padding: 5px 10px;
  border-radius: 999px;
}
.promo-hero .promo-urgency {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 232, 176, 0.95);
}
.promo-hero h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.6vw, 1.9rem);
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 12px;
  color: #fff;
  max-width: 22ch;
}
.promo-hero .lead {
  font-size: 1.05rem;
  opacity: 0.94;
  max-width: 38rem;
  margin: 0 0 18px;
  line-height: 1.55;
  font-weight: 400;
}
.promo-hero-points {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 10px;
  max-width: 36rem;
}
.promo-hero-points li {
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.4;
  padding: 10px 12px 10px 2.1rem;
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
}
.promo-hero-points li::before {
  content: "✓";
  position: absolute;
  left: 12px;
  top: 10px;
  color: #b8f0c8;
  font-weight: 700;
}
.promo-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.promo-hero .btn {
  background: #fff;
  color: #8b1e2d;
}
.promo-hero .btn:hover { background: #ffe8ea; }
.promo-hero .btn-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.65);
}
.promo-hero .btn-secondary:hover { background: rgba(255,255,255,0.12); }

.promo-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: linear-gradient(90deg, #fde8ea, #e8f5ee);
  border: 1px solid #e0c9a0;
}
.promo-strip p {
  margin: 0;
  font-size: 0.92rem;
  color: #1a2330;
  font-weight: 600;
  line-height: 1.35;
}
.promo-strip span {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: #5a6573;
  margin-top: 2px;
}
.promo-strip .btn {
  flex-shrink: 0;
  font-size: 0.85rem;
  padding: 9px 14px;
}

.price-was {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: #8a93a0;
  text-decoration: line-through;
  margin-bottom: 4px;
}
.price-save {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #0f4a2a;
  background: #dcefe3;
  padding: 4px 10px;
  border-radius: 999px;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 20px 20px;
  background: #fff;
  min-height: 100%;
}
.price-card.featured {
  border-color: var(--gold);
  box-shadow: var(--shadow);
  background: linear-gradient(180deg, #fffdf8 0%, #fff 42%);
}
.price-card-top {
  margin-bottom: 4px;
  padding-right: 4.5rem;
}
.price-card .promo-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9e1830;
  background: #fde8ea;
  padding: 5px 9px;
  border-radius: 999px;
}
.price-card h3 {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 600;
  margin: 0 0 6px;
  line-height: 1.2;
}
.price-card .who {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.4;
}
.price-block {
  margin: 16px 0 4px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.price-card .amount {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.15rem);
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.price-card .amount span {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
}
.price-card .amount-note {
  font-size: 0.8rem;
  font-weight: 600;
  color: #9e1830;
  margin: -2px 0 10px;
}
.price-card ul,
.price-features {
  list-style: none;
  margin: 16px 0 18px;
  padding: 0;
  color: var(--ink);
  font-size: 0.94rem;
  display: grid;
  gap: 8px;
  flex: 1;
}
.price-card li,
.price-features li {
  margin: 0;
  padding-left: 1.2rem;
  position: relative;
  line-height: 1.4;
  color: #2f3b4a;
}
.price-card li::before,
.price-features li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}
.price-card > .btn {
  margin-top: auto;
  align-self: flex-start;
}

.price-card-wide .price-card-wide-grid {
  display: grid;
  gap: 8px;
}
@media (min-width: 700px) {
  .price-card-wide .price-card-wide-grid {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 28px;
    align-items: start;
  }
  .price-card-wide .price-block {
    margin-bottom: 0;
    border-bottom: 0;
  }
  .price-card-wide .price-features {
    margin-top: 0;
  }
}

.tarifs-note {
  margin: 18px 0 0;
  padding: 12px 14px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--muted);
  background: var(--paper);
  border-radius: 10px;
  border-left: 3px solid var(--gold);
}

.why-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.why-list li {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  background: var(--paper);
  border-radius: 12px;
  border: 1px solid var(--line);
}
.why-list strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
}
.why-list span {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.45;
}
.tarifs-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.panel:has(.formbricks-embed) {
  padding: 14px 10px 18px;
}
.formbricks-embed {
  margin-top: 4px;
  margin-left: -4px;
  margin-right: -4px;
}
.formbricks-embed iframe {
  display: block;
  width: 100%;
  height: min(1200px, 92vh);
  min-height: 1000px;
  border: 0;
  border-radius: 12px;
  background: #fff;
}
.formbricks-embed-fallback {
  margin: 14px 0 4px;
  font-size: 0.92rem;
  color: var(--muted, #555);
  text-align: center;
  line-height: 1.45;
}
.formbricks-embed-fallback a {
  color: var(--green, #1a6b3c);
  font-weight: 600;
}
@media (max-width: 639px) {
  .formbricks-embed iframe {
    height: 85vh;
    min-height: 720px;
  }
}

.form-box { display: grid; gap: 12px; }
.form-box label {
  display: grid;
  gap: 5px;
  font-size: 0.88rem;
  font-weight: 600;
}
.field-hint {
  display: block;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.35;
}
.form-row-2 {
  display: grid;
  gap: 12px;
}
@media (min-width: 640px) {
  .form-row-2 { grid-template-columns: 1fr 1fr; }
}
.form-box textarea { min-height: 110px; resize: vertical; }
.form-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.84rem;
  font-weight: 400;
  color: #555;
  line-height: 1.4;
  cursor: pointer;
}
.form-box label.form-check {
  display: flex;
  font-weight: 400;
}
.form-check input {
  margin-top: 0.2em;
  flex-shrink: 0;
  width: 1.05em;
  height: 1.05em;
}
.form-note {
  font-size: 0.84rem;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.45;
}
.form-feedback {
  display: none;
  text-align: center;
  padding: 14px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.92rem;
}
.form-feedback-success { background: #d4edda; color: #155724; }
.form-box button[type="submit"] {
  justify-self: start;
  background: var(--green);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 11px 20px;
  font-weight: 700;
  cursor: pointer;
}

.charte-list {
  margin: 10px 0 14px 1.15rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.charte-list li { margin-bottom: 6px; }

.foot {
  text-align: center;
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--muted);
}
.foot .badge {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: #eee;
  padding: 4px 8px;
  border-radius: 999px;
}

/* —— Mobile —— */
@media (max-width: 639px) {
  .wrap {
    padding: 12px 12px 56px;
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
    padding-bottom: max(56px, env(safe-area-inset-bottom));
  }

  .banner {
    padding: 18px 16px;
    border-radius: 14px;
  }
  .banner.banner-hero {
    padding: 0;
  }
  .banner-hero-content {
    padding: 20px 16px 22px;
  }
  .banner h1 { font-size: 1.35rem; }
  .banner-hero .brand { font-size: clamp(1.75rem, 8vw, 2.35rem); }
  .banner-hero h1 { font-size: 1.1rem; }
  .banner p { font-size: 0.9rem; }
  
  .banner-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .banner-actions .btn {
    text-align: center;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-local {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 6px;
    padding-bottom: 4px;
    margin-left: -4px;
    margin-right: -4px;
    padding-left: 4px;
    padding-right: 4px;
    scrollbar-width: none;
  }
  .nav-local::-webkit-scrollbar { display: none; }
  .nav-local a {
    flex: 0 0 auto;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    font-size: 0.82rem;
    padding: 8px 14px;
  }

  .panel {
    padding: 14px 12px;
    border-radius: 12px;
  }
  .panel h2 { font-size: 1.1rem; }

  .filters button {
    width: 100%;
    min-height: 44px;
    height: auto;
  }
  .filters input,
  .filters select,
  .form-box input,
  .form-box select,
  .form-box textarea {
    font-size: 16px; /* évite le zoom iOS */
    min-height: 44px;
    width: 100%;
  }

  .card:not(.has-cover) { padding: 12px; }
  .card.has-cover .card-body { padding: 12px; }
  .card-cover { height: 100px; }
  .card-actions a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    padding: 4px 2px;
  }

  .price-card { padding: 16px 14px; }
  .price-card .amount { font-size: 1.6rem; }
  .price-card .btn {
    display: flex;
    width: 100%;
    text-align: center;
    justify-content: center;
    min-height: 44px;
    align-items: center;
  }

  .form-box button[type="submit"] {
    width: 100%;
    min-height: 48px;
    justify-self: stretch;
  }

  .charte-list { margin-left: 1rem; font-size: 0.9rem; }
  .panel .btn-outline {
    display: flex;
    width: 100%;
    margin-left: 0 !important;
    margin-top: 8px;
    text-align: center;
    justify-content: center;
    min-height: 44px;
    align-items: center;
  }
  .panel > p .btn {
    display: flex;
    width: 100%;
    text-align: center;
    justify-content: center;
    min-height: 44px;
    align-items: center;
  }
}

/* —— Page pro premium (structure type profil, look FI — pas LinkedIn bleu) —— */
.pro-page { margin-bottom: 14px; }

.pro-cover {
  position: relative;
  height: clamp(120px, 22vw, 180px);
  border-radius: var(--radius) var(--radius) 0 0;
  background:
    linear-gradient(120deg, rgba(26, 107, 60, 0.92), rgba(30, 58, 95, 0.88) 48%, rgba(139, 30, 45, 0.9)),
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 12px,
      rgba(255,255,255,0.03) 12px,
      rgba(255,255,255,0.03) 13px
    );
  overflow: hidden;
}
.pro-cover.is-premium {
  background:
    linear-gradient(125deg, #1a2330 0%, #1a6b3c 42%, #8b1e2d 100%),
    radial-gradient(circle at 80% 20%, rgba(154, 115, 68, 0.35), transparent 45%);
}
.pro-cover.has-photo {
  background-size: cover;
  background-position: center;
}
.pro-cover::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(transparent, rgba(0,0,0,0.18));
}

.pro-shell {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow);
  padding: 52px 18px 22px; /* place pour l’avatar ; le texte reste sur fond clair */
}

.pro-identity {
  display: grid;
  gap: 12px;
  margin-top: 0;
  position: relative;
  z-index: 1;
}
@media (min-width: 640px) {
  .pro-identity {
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 18px;
  }
}

.pro-avatar {
  width: 88px;
  height: 88px;
  margin-top: -96px; /* seul l’avatar chevauche le bandeau */
  border-radius: 18px;
  border: 4px solid var(--surface);
  background: linear-gradient(145deg, var(--green), var(--green-deep));
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(26, 35, 48, 0.22);
  letter-spacing: 0.02em;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
}
.pro-avatar.premium {
  background: linear-gradient(145deg, #8a652f, #5a3f1f);
}

.pro-id-text {
  min-width: 0;
  padding: 2px 0 4px;
  /* toujours sur le fond clair du shell — jamais sur le bandeau */
}
.pro-id-text h1 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.5vw, 1.95rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 4px;
  color: var(--ink);
}
.pro-headline {
  font-size: 1.02rem;
  color: #3d4a5c; /* contraste renforcé vs fond crème */
  margin-bottom: 10px;
}
.pro-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pro-chip {
  font-size: 0.75rem;
  font-weight: 600;
  color: #1a2330;
  background: #fff;
  border: 1px solid #cfc6b8;
  padding: 5px 10px;
  border-radius: 999px;
}
.pro-chip.plan {
  background: #dcefe3;
  border-color: transparent;
  color: #0f4a2a;
}
.pro-chip.plan.premium,
.pro-chip.plan.entreprise {
  background: #e5d4b8;
  color: #4a3214;
}
.pro-chip.distance {
  background: #e8eef6;
  border-color: transparent;
  color: #1e3a5f;
}

.pro-cta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 4px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.pro-cta-bar .btn,
.pro-cta-bar .btn-outline {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
}
.btn-contact {
  gap: 8px;
}
.contact-icon {
  width: 1.05em;
  height: 1.05em;
  flex: 0 0 auto;
  display: block;
}
.fiche-dl dt .contact-icon {
  width: 14px;
  height: 14px;
  color: var(--green);
}
.fiche-dl dd a.contact-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.fiche-dl dd a.contact-link:hover {
  color: var(--green);
  border-bottom-color: var(--green);
}

.pro-layout {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}
@media (min-width: 780px) {
  .pro-layout {
    grid-template-columns: 1.55fr 0.85fr;
    align-items: start;
  }
  .pro-side { position: sticky; top: 12px; }
}

.pro-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 16px;
  box-shadow: 0 6px 20px rgba(26, 35, 48, 0.05);
}
.pro-block h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.pro-block + .pro-block { margin-top: 12px; }
.fiche-body {
  color: #2f3b4a;
  font-size: 1.02rem;
  line-height: 1.65;
}

.fiche-services {
  list-style: none;
  margin: 0;
  display: grid;
  gap: 8px;
}
.fiche-services li {
  margin: 0;
  padding: 10px 12px;
  background: var(--paper);
  border-left: 3px solid var(--green);
  border-radius: 0 8px 8px 0;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
}
.pro-page.is-premium .fiche-services li { border-left-color: var(--gold); }

.fiche-dl {
  display: grid;
  gap: 12px;
  margin: 4px 0 0;
}
.fiche-dl dt {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4a5568;
  margin-bottom: 2px;
}
.fiche-dl dd {
  font-size: 0.98rem;
  color: #1a2330;
  font-weight: 600;
}

.pro-verified {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #5c3f18; /* or sur crème : contraste OK */
  margin-bottom: 8px;
}

@media (max-width: 380px) {
  .banner h1 { font-size: 1.25rem; }
  .plan-badge { font-size: 0.62rem; }
}
