/* TrustEntList — front public
   Style « Confiance sobre » : fond clair, vert émeraude, étoiles colorées.
   Aucune dépendance externe : polices système, pas de framework, pas de CDN. */

:root {
  --brand: #047857;
  --brand-600: #059669;
  --brand-700: #065f46;
  --brand-900: #053b2c;
  --brand-50: #ecfdf5;
  --brand-100: #d1fae5;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --line-2: #f1f5f9;
  --bg: #f6f8f7;
  --danger: #be123c;
  --warn: #c2410c;
  --radius: 16px;
  --radius-sm: 11px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 12px 32px -12px rgba(15, 23, 42, .12);
  --shadow-lg: 0 18px 44px rgba(15, 23, 42, .08);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.55; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand); }
button { font: inherit; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -.02em; line-height: 1.2; }
h1 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 2.9rem); line-height: 1.1; letter-spacing: -.025em; }
h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); }
h3 { font-size: 1.05rem; line-height: 1.35; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: min(1200px, 100%); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.xsmall { font-size: .78rem; }
.strong { font-weight: 600; }
.center { text-align: center; }
.stack > * + * { margin-top: var(--gap, 1rem); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; max-width: 100vw; background: #fff; padding: .6rem 1rem; z-index: 60; }
.skip:focus { left: .5rem; top: .5rem; border: 2px solid var(--brand); border-radius: 8px; }
:focus-visible { outline: 2px solid var(--brand-600); outline-offset: 2px; }

/* ---------------------------------------------------------- en-tête */
.header { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.header__in { display: flex; align-items: center; gap: 1.25rem; min-height: 68px; }
.brand { display: inline-flex; align-items: center; font-weight: 700; font-size: 1.15rem; letter-spacing: -.02em; white-space: nowrap; }
.brand__logo { flex: 0 0 auto; margin-right: .5rem; display: block; }
.brand em, .brand__accent { font-style: normal; color: var(--brand); }
.brand__word { white-space: nowrap; }
.footer .brand__accent { color: #34d399; }

/* Origine du nom : Trust + Ent(reprise) + List (l'annuaire). */
.name-formula { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .5rem; margin: .9rem 0 0; font-size: .82rem; color: var(--muted); }
.name-formula b { color: var(--brand); font-weight: 700; }
.name-formula__plus { color: #cbd5e1; font-weight: 700; }
.name-formula--center { justify-content: center; font-size: .92rem; }
.name-formula--footer { max-width: 17rem; }
.footer .name-formula { color: #94a3b8; }
.footer .name-formula b { color: #34d399; }
.footer .name-formula__plus { color: #334155; }
.header__nav { display: flex; gap: 1.5rem; font-size: .92rem; font-weight: 500; color: var(--ink-2); }
.header__right { margin-left: auto; display: flex; align-items: center; gap: .7rem; }
.header__search { flex: 1; max-width: 460px; }
.header__burger { display: none; }

.lang { display: inline-flex; gap: .2rem; padding: .15rem; border: 1px solid var(--line); border-radius: 999px; }
.lang a { padding: .25rem .6rem; border-radius: 999px; font-size: .78rem; font-weight: 700; color: var(--muted); }
.lang a[aria-current="true"] { background: var(--brand-50); color: var(--brand); }

/* --------------------------------------------------------- boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 44px; padding: 0 1.15rem; border-radius: var(--radius-sm); border: 1px solid transparent; background: #fff; color: var(--ink); font-size: .92rem; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background-color .15s, border-color .15s, color .15s; }
.btn:hover { color: inherit; }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-700); color: #fff; }
.btn--ghost { border-color: var(--line); color: var(--ink-2); }
.btn--ghost:hover { border-color: var(--muted); }
.btn--line { border-color: var(--brand); color: var(--brand); }
.btn--white { background: #fff; color: var(--brand); }
.btn--outline-light { border-color: #34d399; color: #fff; background: transparent; }
.btn--lg { min-height: 52px; padding: 0 1.5rem; font-size: 1rem; border-radius: 12px; }
.btn--sm { min-height: 36px; padding: 0 .8rem; font-size: .84rem; border-radius: 9px; }
.btn--block { width: 100%; }

/* ------------------------------------------------------------ chips */
.chip { display: inline-flex; align-items: center; gap: .4rem; min-height: 36px; padding: 0 .85rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: .84rem; font-weight: 500; color: var(--ink-2); }
.chip:hover { border-color: var(--brand-600); color: var(--brand); }
.chip[aria-current="true"], .chip--on { border-color: var(--brand); background: var(--brand-50); color: var(--brand); }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }

/* ----------------------------------------------------------- badges */
.badge { display: inline-flex; align-items: center; gap: .3rem; min-height: 24px; padding: 0 .55rem; border-radius: 7px; font-size: .74rem; font-weight: 600; background: var(--line-2); color: var(--ink-2); }
.badge--verified { background: var(--brand-50); color: var(--brand-700); }
.badge--claimed { background: #eff6ff; color: #1d4ed8; }
.badge--sponsored { background: #fff7ed; color: var(--warn); }
.badge--muted { background: var(--line-2); color: var(--muted); }
.badge svg { flex: 0 0 auto; }

/* Les quatre niveaux de vérification : une couleur qui monte, une forme
   par niveau. La forme distingue, la couleur hiérarchise. */
.badge--v0 { background: var(--line-2); color: var(--muted); }
.badge--v1 { background: #e0f2fe; color: #0369a1; }
.badge--v2 { background: #ccfbf1; color: #0f766e; }
.badge--v3 { background: var(--brand-50); color: var(--brand-700); }
.badge--v4 { background: #fef3c7; color: #a16207; }

.levels__row { display: flex; align-items: flex-start; gap: .9rem; padding: 1rem 1.2rem; }
.levels__mark { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; }
.levels__mark--v1 { background: #0369a1; }
.levels__mark--v2 { background: #0f766e; }
.levels__mark--v3 { background: var(--brand); }
.levels__mark--v4 { background: #b45309; }

/* ---------------------------------------------------------- étoiles */
.stars { display: inline-flex; gap: 2px; line-height: 1; vertical-align: middle; }
.stars .star { width: 20px; height: 20px; border-radius: 4px; display: grid; place-items: center; color: #fff; font-size: .78rem; }
.stars--sm .star { width: 15px; height: 15px; border-radius: 3px; font-size: .6rem; }
.stars--lg .star { width: 28px; height: 28px; border-radius: 6px; font-size: 1.05rem; }
.stars--xl .star { width: 38px; height: 38px; border-radius: 9px; font-size: 1.45rem; }

/* ------------------------------------------------------------ carte */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.35rem; }
.card--flat { box-shadow: none; }
.card--soft { background: var(--bg); }
.card--brand { background: var(--brand-50); border-color: var(--brand-100); }
.card--link:hover { border-color: var(--brand-600); box-shadow: var(--shadow); }

.logo-sq { width: 56px; height: 56px; border-radius: 13px; display: grid; place-items: center; font-weight: 700; font-size: 1.15rem; color: #fff; flex: 0 0 auto; overflow: hidden; }
.logo-sq img { width: 100%; height: 100%; object-fit: cover; }
/* Un logo normalisé est centré sur fond blanc : un filet le détache de la carte. */
.logo-sq--image { background: #fff; border: 1px solid var(--line); }
.logo-sq--sm { width: 44px; height: 44px; border-radius: 11px; font-size: .95rem; }
.logo-sq--xl { width: 84px; height: 84px; border-radius: 19px; font-size: 1.7rem; }
.tone-1 { background: #0f766e; } .tone-2 { background: #b45309; } .tone-3 { background: #1d4ed8; } .tone-4 { background: #9333ea; }
.tone-5 { background: #be123c; } .tone-6 { background: #0369a1; } .tone-7 { background: #4d7c0f; } .tone-8 { background: #475569; }

.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--line); color: var(--ink-2); display: grid; place-items: center; font-weight: 600; font-size: .92rem; flex: 0 0 auto; }
.avatar--sm { width: 34px; height: 34px; font-size: .8rem; }

/* --------------------------------------------------------- sections */
.section { padding: clamp(2.2rem, 1rem + 4vw, 3.9rem) 0; }
.section--tight { padding: clamp(1.8rem, 1rem + 3vw, 2.8rem) 0; }
.section--soft { background: var(--bg); }
.section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.6rem; }
.lead { font-size: 1.02rem; color: var(--ink-2); line-height: 1.6; }

.grid { display: grid; gap: 1.1rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.row { display: flex; align-items: center; gap: .85rem; flex-wrap: wrap; }
.row--top { align-items: flex-start; }
.row--tight { gap: .5rem; }

/* ------------------------------------------------- héros & recherche */
.hero { background: linear-gradient(180deg, var(--brand-50), #fff); padding: clamp(2rem, 1rem + 4vw, 4.2rem) 0 clamp(2rem, 1rem + 3vw, 3.4rem); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 3rem; align-items: center; }
.hero__lead { max-width: 34rem; margin-top: 1rem; }

.searchbar { display: flex; align-items: center; gap: .5rem; padding: .5rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); }
.searchbar--compact { box-shadow: none; padding: .3rem; }
.searchbar__field { flex: 2 1 200px; display: flex; align-items: center; gap: .6rem; padding: 0 .85rem; min-height: 52px; border-radius: 10px; }
.searchbar--compact .searchbar__field { min-height: 40px; }
.searchbar__field + .searchbar__field { flex: 1 1 130px; border-left: 1px solid var(--line); }
.searchbar__field svg { color: var(--brand); flex: 0 0 auto; }
.searchbar input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: .95rem; color: var(--ink); text-overflow: ellipsis; }
.searchbar input::placeholder { color: var(--muted); }

.counters { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; padding: 1.7rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.counter { text-align: center; }
.counter b { display: block; font-size: clamp(1.4rem, 1rem + 1.4vw, 1.9rem); letter-spacing: -.02em; }
.counter span { font-size: .84rem; color: var(--muted); }

/* ------------------------------------------------------------- tuile */
.tile { display: flex; flex-direction: column; gap: .5rem; padding: 1.1rem; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.tile:hover { border-color: var(--brand-600); }
.tile__icon { width: 40px; height: 40px; border-radius: 11px; background: var(--brand-50); display: grid; place-items: center; color: var(--brand-700); }
.step { width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; font-size: .85rem; font-weight: 700; display: grid; place-items: center; flex: 0 0 auto; }

/* ------------------------------------------------------- résultats */
.layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 1.8rem; align-items: start; }
.layout--reverse { grid-template-columns: minmax(0, 1fr) 320px; }
.filters { display: grid; gap: 1rem; }
.filters__box { border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 1.1rem; }
.filters__box > summary { list-style: none; cursor: pointer; }
.filters__box > summary::-webkit-details-marker { display: none; }
.filters h4, .filters__title { font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; margin-bottom: .7rem; }
.option { display: flex; align-items: center; gap: .6rem; padding: .35rem 0; font-size: .9rem; color: var(--ink-2); }
.option__count { margin-left: auto; font-size: .76rem; color: var(--muted); }
.box { width: 18px; height: 18px; border: 1.5px solid #cbd5e1; border-radius: 5px; flex: 0 0 auto; display: grid; place-items: center; color: #fff; font-size: .68rem; }
.box--round { border-radius: 50%; }
.box--on { background: var(--brand); border-color: var(--brand); }
.box--round.box--on { background: #fff; border: 5px solid var(--brand); }

.result { display: flex; gap: 1.1rem; align-items: flex-start; }
.result__body { flex: 1; min-width: 0; }
.result__actions { display: flex; flex-direction: column; gap: .5rem; width: 168px; flex: 0 0 auto; }

.pagination { display: flex; justify-content: center; gap: .4rem; margin-top: 1.6rem; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 38px; height: 38px; padding: 0 .5rem; border: 1px solid var(--line); border-radius: 10px; display: grid; place-items: center; font-size: .88rem; color: var(--ink-2); }
.pagination [aria-current="page"] { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.pagination .disabled { color: #cbd5e1; }

/* ------------------------------------------------------------- avis */
.tabs { display: flex; gap: 1.6rem; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tabs a, .tabs span { padding: .85rem 0; font-size: .95rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.tabs [aria-current="true"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--brand); }

.review { padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.review:last-child { border-bottom: 0; }
.review__head { display: flex; gap: .85rem; align-items: flex-start; }
.review__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; margin-top: .5rem; }
.review__footer { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: .75rem; font-size: .82rem; color: var(--muted); }
.reply { margin-top: 1rem; margin-left: 3.6rem; padding: .9rem 1.1rem; border-left: 3px solid var(--brand); background: var(--brand-50); border-radius: 0 12px 12px 0; }

.bars { display: grid; gap: .55rem; }
.bar { display: flex; align-items: center; gap: .7rem; }
.bar__label { width: 2.6rem; font-size: .82rem; font-weight: 600; color: var(--ink-2); }
.bar__track { flex: 1; height: 10px; border-radius: 5px; background: var(--line-2); overflow: hidden; }
.bar__track i { display: block; height: 100%; border-radius: 5px; }
.bar__value { width: 2.6rem; text-align: right; font-size: .78rem; color: var(--muted); }

.breadcrumb { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; font-size: .82rem; color: var(--muted); }
.company-head { background: linear-gradient(180deg, var(--brand-50), #fff); border-bottom: 1px solid var(--line); padding: 1.3rem 0 1.9rem; }
.company-head__grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 2.4rem; align-items: start; }
.score { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; }
.score b { font-size: 1.15rem; }

.info-line { display: grid; gap: .6rem; font-size: .88rem; color: var(--ink-2); }
.info-line dt { color: var(--muted); font-size: .8rem; }
.map { height: 150px; border-radius: 12px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); font-size: .82rem; text-align: center; padding: 1rem;
  background: repeating-linear-gradient(45deg, #e8efe9, #e8efe9 12px, #eef4ef 12px, #eef4ef 24px); }

/* ------------------------------------------------------------- CTA */
.cta { background: var(--brand-700); color: #fff; border-radius: 22px; padding: clamp(1.6rem, 1rem + 2vw, 3rem); }
.cta h2 { color: #fff; }
.cta p { color: var(--brand-100); }
.cta__grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 2.4rem; align-items: center; }
.cta__panel { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); border-radius: 16px; padding: 1.2rem; }

/* ----------------------------------------------------------- pied */
.footer { background: #0b1220; color: #94a3b8; padding: 3.2rem 0 1.6rem; font-size: .9rem; margin-top: auto; }
.footer__grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 1.8rem; }
.footer h5 { margin: 0 0 .8rem; color: #fff; font-size: .74rem; text-transform: uppercase; letter-spacing: .07em; }
/* Seuls les liens de colonne prennent l'allure « liste » : sinon la règle
   écrase les boutons du bandeau d'accès entreprise. */
.footer__grid > div > a:not(.brand) { display: block; padding: .28rem 0; color: #94a3b8; }
.footer__grid > div > a:not(.brand):hover { color: #fff; }
.footer .brand { display: inline-flex; padding: 0; color: #fff; }
.footer .lang a { display: inline-block; padding: .25rem .6rem; }
.footer .brand em { color: #34d399; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: space-between; border-top: 1px solid #1e293b; margin-top: 2rem; padding-top: 1.2rem; font-size: .8rem; }

.page { display: flex; flex-direction: column; min-height: 100vh; }
.notice { padding: 1.2rem; border: 1px dashed var(--line); border-radius: 14px; background: var(--bg); color: var(--muted); text-align: center; }

/* ------------------------------------------------ barre d'action mobile */
.actionbar { display: none; }

/* ------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .hero__aside { display: none; }
  .company-head__grid, .layout--reverse { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
  .cta__grid { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
  .footer__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .header__nav, .header__search, .header__business { display: none; }
  .header__burger { display: inline-flex; }
  .layout { grid-template-columns: minmax(0, 1fr); }
  .result { flex-wrap: wrap; }
  .result__actions { flex-direction: row; width: 100%; }
  .result__actions .btn { flex: 1; }
}

@media (max-width: 720px) {
  body { font-size: 15px; }
  .container { padding: 0 16px; }
  .searchbar { flex-direction: column; align-items: stretch; }
  .searchbar__field + .searchbar__field { border-left: 0; border-top: 1px solid var(--line); }
  .searchbar .btn { width: 100%; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .reply { margin-left: 0; }
  .actionbar { display: flex; position: sticky; bottom: 0; z-index: 30; gap: .6rem; padding: .7rem 16px; background: #fff; border-top: 1px solid var(--line); }
  .actionbar .btn { flex: 1; }
  .has-actionbar .footer { padding-bottom: 1.6rem; }
}

/* ------------------------------------------- menu mobile (sans script) */
.menu { position: relative; }
.menu > summary { list-style: none; cursor: pointer; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 11px; }
.menu > summary::-webkit-details-marker { display: none; }
.menu__panel { position: absolute; right: 0; top: calc(100% + .5rem); width: min(280px, calc(100vw - 32px)); background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: .6rem; display: grid; gap: .1rem; z-index: 50; }
.menu__panel a { padding: .6rem .7rem; border-radius: 9px; font-size: .95rem; color: var(--ink-2); }
.menu__panel a:hover { background: var(--bg); }
.menu__panel hr { border: 0; border-top: 1px solid var(--line-2); margin: .4rem 0; }

@media print {
  .header, .footer, .actionbar, .filters { display: none; }
}

/* =====================================================================
   Lot F2 — annuaire, page entreprises, à propos, dépôt d'avis
   ===================================================================== */

/* Classement numéroté des pages catégorie et ville */
.rank { width: 30px; height: 30px; border-radius: 9px; background: var(--brand-50); color: var(--brand-700); font-weight: 700; font-size: .88rem; display: grid; place-items: center; flex: 0 0 auto; }
.listing__badges { display: flex; gap: .4rem; flex-wrap: wrap; justify-content: flex-end; }
ol.stack { list-style: none; }

/* Héros sombre de la page « Pour les entreprises » */
.hero-dark { background: var(--brand-900); color: #fff; padding: clamp(2.4rem, 1rem + 4vw, 4rem) 0; }
.hero-dark h1, .hero-dark h2 { color: #fff; }
.chip--onDark { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); color: var(--brand-100); }
.hero-dark .hero__aside { color: var(--ink); }

/* Offres */
.price { border: 1px solid var(--line); border-radius: 18px; padding: 1.5rem; background: #fff; }
.price--featured { border: 2px solid var(--brand); box-shadow: 0 14px 34px rgba(4, 120, 87, .10); }
.price__amount { font-size: 1.9rem; font-weight: 700; letter-spacing: -.02em; }
.price ul { margin-top: 1.1rem; }
.price li { display: flex; gap: .6rem; align-items: flex-start; padding: .4rem 0; font-size: .88rem; color: var(--ink-2); }
.tick { color: var(--brand); font-weight: 700; flex: 0 0 auto; }

/* Blocs de texte long (à propos, explications) */
.prose { margin-bottom: 2.2rem; }
.prose h2 { margin-bottom: .7rem; }
.prose p { color: var(--ink-2); margin-bottom: .7rem; max-width: 65ch; }
.prose p:last-child { margin-bottom: 0; }
.checks { display: grid; gap: .6rem; margin-top: .9rem; }
.checks li { display: flex; gap: .7rem; align-items: flex-start; color: var(--ink-2); }
.checks li span { color: var(--danger); font-weight: 700; flex: 0 0 auto; }
.name-formula--hero { margin-top: 1.2rem; justify-content: flex-start; font-size: 1rem; }

/* Détails repliables (FAQ) */
details.card > summary::-webkit-details-marker { display: none; }
details.card > summary::marker { content: ''; }
details.card > summary::after { content: '+'; float: right; color: var(--muted); font-weight: 700; }
details.card[open] > summary::after { content: '–'; }

/* ------------------------------------------------ formulaire d'avis */
.form-page { background: var(--bg); padding: clamp(1.4rem, 1rem + 2vw, 2.4rem) 0 3rem; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.2rem, 1rem + 1.5vw, 2rem); }
.field { margin-top: 1.1rem; }
.field > label, .label { display: block; font-size: .85rem; font-weight: 600; color: var(--ink-2); margin-bottom: .4rem; }
.field input[type="text"], .field input[type="email"], .field input[type="date"], .field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff;
  padding: .75rem .9rem; font: inherit; font-size: .95rem; color: var(--ink); }
.field textarea { min-height: 8.5rem; resize: vertical; line-height: 1.55; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--brand-600); outline-offset: 1px; border-color: var(--brand-600); }
.hint { font-size: .78rem; color: var(--muted); margin-top: .35rem; }
.error { font-size: .82rem; color: var(--danger); margin-top: .35rem; font-weight: 500; }
.field--invalid input, .field--invalid textarea { border-color: var(--danger); }
.alert { border: 1px solid #fecdd3; background: #fff1f2; color: #9f1239; border-radius: var(--radius-sm); padding: .8rem 1rem; font-size: .9rem; }
.step-head { display: flex; gap: .7rem; align-items: center; margin-top: 1.8rem; }
.step-head:first-of-type { margin-top: 0; }
.step-head h2 { font-size: 1.05rem; }
.consent { display: flex; gap: .7rem; align-items: flex-start; margin-top: 1rem; font-size: .88rem; color: var(--ink-2); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: .15rem 0 0; accent-color: var(--brand); flex: 0 0 auto; }
.honeypot { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Notation par étoiles : boutons radio stylés, utilisables au clavier */
.rating { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; }
.rating input { position: absolute; opacity: 0; width: 0; height: 0; }
.rating label { cursor: pointer; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
  background: var(--line); color: #fff; transition: background-color .12s, transform .12s; }
.rating label:hover { transform: translateY(-2px); }
.rating input:focus-visible + label { outline: 2px solid var(--brand-600); outline-offset: 2px; }
.rating__box { text-align: center; border: 1px solid var(--line); border-radius: 14px; padding: 1.3rem 1rem; margin-top: 1rem; }
.rating__word { display: none; flex-basis: 100%; margin-top: .6rem; font-size: .92rem; font-weight: 600; color: var(--brand-700); }
.rating__word--empty { display: block; font-weight: 400; font-size: .82rem; color: var(--muted); }
.rating input:checked ~ .rating__word--empty { display: none; }
.r1:checked ~ .w1, .r2:checked ~ .w2, .r3:checked ~ .w3, .r4:checked ~ .w4, .r5:checked ~ .w5 { display: block; }
.r1:checked ~ label.l1 { background: #ef4444; }
.r2:checked ~ label.l1, .r2:checked ~ label.l2 { background: #f97316; }
.r3:checked ~ label.l1, .r3:checked ~ label.l2, .r3:checked ~ label.l3 { background: #eab308; }
.r4:checked ~ label.l1, .r4:checked ~ label.l2, .r4:checked ~ label.l3, .r4:checked ~ label.l4 { background: #22c55e; }
.r5:checked ~ label.l1, .r5:checked ~ label.l2, .r5:checked ~ label.l3, .r5:checked ~ label.l4, .r5:checked ~ label.l5 { background: #00b67a; }

@media (max-width: 900px) {
  .listing__badges { justify-content: flex-start; }
}
.message__mark { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--brand-50); color: var(--brand); }

/* =====================================================================
   Lot V1 — vitrine : galerie, services, coordonnées
   ===================================================================== */
.gallery-strip { border-bottom: 1px solid var(--line); background: #fff; padding: 1.1rem 0; }
.gallery { display: flex; gap: .7rem; overflow-x: auto; padding-bottom: .3rem; scroll-snap-type: x mandatory; }
.gallery li { flex: 0 0 auto; scroll-snap-align: start; }
.gallery a { position: relative; display: block; width: 240px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.gallery img { width: 240px; height: 160px; object-fit: cover; display: block; }
.gallery__caption { position: absolute; left: 0; right: 0; bottom: 0; padding: .45rem .6rem; font-size: .74rem; color: #fff;
  background: linear-gradient(to top, rgba(15, 23, 42, .78), rgba(15, 23, 42, 0)); }

.service h3 { font-size: 1rem; }
.service-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .6rem; }
.service-tags li { font-size: .76rem; font-weight: 500; color: var(--brand-700); background: var(--brand-50); border-radius: 7px; padding: .18rem .5rem; }
.service-tags__more { color: var(--muted) !important; background: var(--line-2) !important; }

.contact-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .9rem; }
.contact-actions--inline { margin-top: .7rem; }
.contact-actions .btn { gap: .35rem; }

@media (max-width: 720px) {
  .gallery a, .gallery img { width: 180px; }
  .gallery img { height: 124px; }
}

/* =====================================================================
   Lot V2 — accès entreprise visible
   ===================================================================== */
.header__login { white-space: nowrap; }
.header__login svg { flex: 0 0 auto; }
.menu__actions { display: grid; gap: .4rem; padding: .2rem; }
.menu__actions .btn { display: inline-flex; width: 100%; }
.menu__panel .btn--primary { color: #fff; }
.menu__panel .btn--ghost { color: var(--ink-2); }

.footer__cta { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; justify-content: space-between;
  border: 1px solid #1e293b; border-radius: 16px; padding: 1.1rem 1.3rem; margin-bottom: 2.2rem; background: #0f1a2e; }
.footer__cta-title { color: #fff; font-weight: 600; font-size: 1rem; }
.footer__cta p { margin-top: .2rem; }
.footer__cta-actions { display: flex; flex-wrap: wrap; gap: .5rem; }

@media (max-width: 1080px) {
  .header__nav { gap: 1.1rem; font-size: .88rem; }
}
@media (max-width: 900px) {
  .header__cta { display: none; }
}
/* Sur petit écran, le bouton se réduit à son icône : la connexion reste
   atteignable à toutes les largeurs, jamais reléguée au seul menu. */
@media (max-width: 620px) {
  .header__in { gap: .6rem; }
  .header__right { gap: .45rem; }
}
/* Le mot « Connexion » ne disparaît qu'en tout dernier recours : sous
   380 px, le bouton garde son icône et reste au même endroit. */
@media (max-width: 380px) {
  .header__login-label { display: none; }
  .header__login { padding: 0 .65rem; }
}
/* Sous 470 px, le sélecteur de langue passe dans le menu : la place
   restante va à la connexion, qui doit rester atteignable d'un geste. */
@media (max-width: 470px) {
  .header__lang { display: none; }
  .brand { font-size: 1.05rem; }
}
.menu__lang { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: .5rem .7rem .2rem; }

/* Très petits écrans : le pied de page passe en une colonne.
   min-width:0 empêche un mot long d'élargir une colonne de grille. */
.footer__grid > * { min-width: 0; }
@media (max-width: 430px) {
  .footer__grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .footer__cta { padding: 1rem; }
}

/* =========================================================== lot V3
   La fiche entreprise complete : panneaux lateraux, horaires, carte
   chargee a la demande, reseaux, partage, interlocuteurs, video —
   et les emplacements publicitaires.
   ================================================================ */

.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.35rem; }
.panel + .panel, .panel + .adslot, .adslot + .panel, .adslot + .adslot { margin-top: 1rem; }
.panel__title { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin: 0 0 .9rem; }
.panel__head { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin-bottom: .9rem; }
.panel__head .panel__title { margin: 0; }

.infolist { display: grid; gap: .75rem; margin: 0; }
.infolist__row { display: flex; gap: .7rem; align-items: flex-start; }
.infolist__ico { flex: 0 0 auto; width: 32px; height: 32px; border-radius: 9px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; }
.infolist__k { font-size: .72rem; color: var(--muted); display: block; }
.infolist__v { font-size: .9rem; color: var(--ink); font-weight: 600; word-break: break-word; }
.infolist__v a { color: var(--ink); }
.infolist__v a:hover { color: var(--brand); }

.openstate { display: inline-flex; align-items: center; gap: .4rem; font-size: .76rem; font-weight: 700; padding: .25rem .6rem; border-radius: 999px; white-space: nowrap; }
.openstate::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.openstate--open { background: #dcfce7; color: #15803d; }
.openstate--closed { background: var(--line-2); color: var(--muted); }

.hours { display: grid; gap: .1rem; margin: 0; }
.hours__row { display: flex; justify-content: space-between; gap: 1rem; padding: .42rem .55rem; border-radius: 8px; font-size: .85rem; }
.hours__row--today { background: var(--brand-50); font-weight: 700; }
.hours__day { color: var(--ink-2); }
.hours__row--today .hours__day { color: var(--brand); }
.hours__time { color: var(--ink); font-variant-numeric: tabular-nums; text-align: right; }
.hours__time--closed { color: var(--muted); font-weight: 500; }

.map { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.map__teaser { position: relative; min-height: 180px; padding: 1.1rem .9rem; display: grid; place-items: center; text-align: center; border: 0; width: 100%; cursor: pointer;
  background: repeating-linear-gradient(45deg, #eef2f7, #eef2f7 12px, #e6ecf3 12px, #e6ecf3 24px); }
.map__pin { width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 16px rgba(4,120,87,.35); margin: 0 auto .6rem; }
.map__hint { display: block; font-size: .74rem; line-height: 1.45; color: var(--muted); margin-top: .5rem; }
.map__teaser .btn { display: inline-flex; }
.map iframe { display: block; width: 100%; height: 240px; border: 0; }

.socials { display: flex; flex-wrap: wrap; gap: .5rem; }
/* Le pictogramme porte la couleur de son réseau : on le reconnaît avant de le lire. */
.social { width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--net, var(--ink-2)); background: #fff; transition: border-color .15s, transform .15s, background .15s; }
.social:hover { border-color: var(--net, var(--brand)); background: color-mix(in srgb, var(--net, var(--brand)) 8%, #fff); transform: translateY(-1px); }

.share { display: flex; flex-wrap: wrap; gap: .5rem; }
.share__btn { display: inline-flex; align-items: center; gap: .4rem; min-height: 36px; padding: 0 .75rem; border-radius: 9px; border: 1px solid var(--line); background: #fff; font-size: .82rem; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.share__btn:hover { border-color: var(--brand); color: var(--brand); }

.media-rail { display: flex; gap: .7rem; overflow-x: auto; padding-bottom: .3rem; scroll-snap-type: x mandatory; }
.media-rail > * { flex: 0 0 auto; scroll-snap-align: start; }
.video-card { position: relative; width: 300px; height: 170px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); display: block; background: #0f172a; }
.video-card img { width: 100%; height: 100%; object-fit: cover; opacity: .75; display: block; }
.video-card__play { position: absolute; inset: 0; display: grid; place-items: center; }
.video-card__play span { width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.94); display: grid; place-items: center; box-shadow: 0 8px 22px rgba(0,0,0,.3); }
.video-card__label { position: absolute; left: 0; right: 0; bottom: 0; padding: .45rem .65rem; font-size: .75rem; font-weight: 600; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.75)); }
.video-frame { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; display: block; }

.team { display: grid; gap: .85rem; }
.team__member { display: flex; align-items: center; gap: .8rem; }
.team__avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; font-weight: 800; font-size: .85rem; flex: 0 0 auto; }
.team__name { font-size: .9rem; font-weight: 700; }
.team__role { font-size: .78rem; color: var(--muted); }

.about p { line-height: 1.75; color: var(--ink-2); }
.about p + p { margin-top: .8rem; }

.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.svc { border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.1rem; }
.svc h3 { font-size: .98rem; margin: 0 0 .3rem; }
.svc p { font-size: .85rem; color: var(--ink-2); line-height: 1.6; margin: 0; }

/* ---------------------------------------------- emplacements publicitaires */
.adslot { position: relative; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.adslot__tag { position: absolute; top: .5rem; inset-inline-end: .5rem; z-index: 2; font-size: .64rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: .18rem .45rem; border-radius: 5px; background: rgba(15,23,42,.72); color: #fff; }
.adslot__link { display: block; color: inherit; }
.adslot__link img { width: 100%; height: auto; display: block; object-fit: cover; }
.adslot__body { display: block; padding: 1.1rem 1.25rem; }
.adslot__eyebrow { display: block; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--brand); }
.adslot__title { display: block; font-size: 1rem; font-weight: 700; color: var(--ink); margin-top: .3rem; }
.adslot__text { display: block; font-size: .84rem; line-height: 1.6; color: var(--ink-2); margin-top: .35rem; }
.adslot__cta { display: inline-block; font-size: .84rem; font-weight: 700; color: var(--brand); margin-top: .6rem; }
.adslot--house { background: linear-gradient(160deg, var(--brand-50), #fff); border-color: var(--brand-100); }
.adslot--house:hover { border-color: var(--brand-600); }
.adslot--inline .adslot__body { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1.1rem; }
.adslot--inline .adslot__eyebrow { flex: 0 0 auto; }
.adslot--inline .adslot__title { flex: 0 0 auto; margin-top: 0; }
.adslot--inline .adslot__text { flex: 1 1 12rem; margin-top: 0; }
.adslot--inline .adslot__cta { flex: 0 0 auto; margin: 0 0 0 auto; white-space: nowrap; }
.adslot--banner .adslot__body { text-align: center; }

@media (max-width: 760px) {
  .svc-grid { grid-template-columns: 1fr; }
  .adslot--inline .adslot__body { display: block; }
  .adslot--inline .adslot__text, .adslot--inline .adslot__cta { margin-top: .35rem; }
}

/* =========================================================== lot H1
   L'accueil : héros dont les messages se relaient, carrousel des
   secteurs, grandes tuiles de catégories et de villes, bandeau
   entreprises. Rien de tout cela ne dépend d'une donnée facultative
   pour rester d'aplomb.
   ================================================================ */

.hero2 { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--brand-50) 0%, #f6fdfa 55%, #fff 100%); padding: clamp(2.2rem, 1rem + 4vw, 4.4rem) 0 clamp(2rem, 1rem + 3vw, 3.2rem); }
.hero2::before, .hero2::after { content: ''; position: absolute; border-radius: 50%; pointer-events: none; }
.hero2::before { width: 520px; height: 520px; top: -230px; left: -160px; background: radial-gradient(circle, rgba(52,211,153,.30), transparent 68%); }
.hero2::after { width: 620px; height: 620px; top: -260px; right: -220px; background: radial-gradient(circle, rgba(4,120,87,.18), transparent 68%); }
.hero2__in { position: relative; text-align: center; }

.hero2__rotator { position: relative; }
.hero2__msg { display: none; }
.hero2__msg.is-on { display: block; animation: heroIn .5s ease both; }
@keyframes heroIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.hero2 h1, .hero2__title { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.05rem); line-height: 1.12; letter-spacing: -.028em; font-weight: 800; color: var(--ink); max-width: 19ch; margin: 1rem auto 0; }
.hero2__lead { max-width: 46ch; margin: .9rem auto 0; }
.hero2__search { max-width: 46rem; margin: 1.8rem auto 0; }
.hero2__chips { justify-content: center; margin-top: 1.1rem; }
.hero2__proof { display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem 1.6rem; margin-top: 1.6rem; color: var(--muted); font-size: .85rem; }
.hero2__proof span { display: inline-flex; align-items: center; gap: .4rem; }
.hero2__proof svg { color: var(--brand); flex: 0 0 auto; }

.rail { position: relative; }
.rail__track { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: .4rem; scrollbar-width: none; }
.rail__track::-webkit-scrollbar { display: none; }
.rail__track > * { flex: 0 0 100%; scroll-snap-align: center; }
.rail__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; color: var(--ink-2); box-shadow: var(--shadow); cursor: pointer; z-index: 2; }
.rail__nav--prev { left: -14px; }
.rail__nav--next { right: -14px; }
.rail__nav:hover { border-color: var(--brand); color: var(--brand); }
.rail__dots { display: flex; justify-content: center; gap: .45rem; margin-top: 1rem; }
.rail__dot { width: 8px; height: 8px; border-radius: 50%; border: 0; background: var(--line); cursor: pointer; padding: 0; transition: width .2s, background .2s; }
.rail__dot[aria-current="true"] { background: var(--brand); width: 24px; border-radius: 999px; }

.slide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 2rem;
         background: linear-gradient(120deg, var(--brand-900), var(--brand-700) 62%, var(--brand) 100%);
         border-radius: 22px; overflow: hidden; color: #fff; min-height: 330px; }
.slide__text { padding: 2.4rem clamp(1.4rem, 1rem + 2vw, 2.8rem); }
.slide__eyebrow { display: inline-flex; align-items: center; gap: .4rem; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; color: #6ee7b7; }
.slide__title { font-size: clamp(1.45rem, 1rem + 1.4vw, 2.05rem); line-height: 1.18; letter-spacing: -.02em; color: #fff; margin: .6rem 0 0; }
.slide__text p { color: #c7f0e0; font-size: .95rem; line-height: 1.65; margin: .7rem 0 0; max-width: 34ch; }
.slide__cta { display: inline-flex; align-items: center; gap: .45rem; margin-top: 1.3rem; background: #fff; color: var(--brand-700); font-weight: 700; font-size: .9rem; border-radius: 10px; padding: .7rem 1.1rem; }
.slide__cta:hover { background: var(--brand-50); }
.slide__art { height: 100%; min-height: 330px; }
.slide__art svg { width: 100%; height: 100%; display: block; }

.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.tile { display: flex; flex-direction: column; gap: .75rem; padding: 1.35rem 1.25rem; background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: border-color .15s, transform .15s, box-shadow .15s; }
.tile:hover { border-color: var(--brand-600); transform: translateY(-2px); box-shadow: var(--shadow); }
.tile__ico { width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); flex: 0 0 auto; }
.tile__name { font-weight: 700; font-size: .98rem; color: var(--ink); line-height: 1.3; min-height: 2.6em; }
.tile__meta { font-size: .8rem; color: var(--muted); }
.tile--t1 .tile__ico { background: #e0f2fe; color: #0369a1; }
.tile--t2 .tile__ico { background: #ede9fe; color: #6d28d9; }
.tile--t3 .tile__ico { background: #ffedd5; color: #c2410c; }
.tile--t4 .tile__ico { background: #ccfbf1; color: #0f766e; }
.tile--t5 .tile__ico { background: #fce7f3; color: #be185d; }
.tile--t6 .tile__ico { background: #fef3c7; color: #b45309; }
.tile--t7 .tile__ico { background: #d1fae5; color: #047857; }
.tile--t8 .tile__ico { background: #e0e7ff; color: #4338ca; }

.city { position: relative; overflow: hidden; border-radius: 16px; min-height: 168px; display: flex; align-items: flex-end; padding: 1.1rem 1.2rem; color: #fff; }
.city::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,59,44,.05) 0%, rgba(5,59,44,.35) 45%, rgba(5,59,44,.88) 100%); }
.city:hover::after { background: linear-gradient(180deg, rgba(5,59,44,.05) 0%, rgba(5,59,44,.3) 45%, rgba(5,59,44,.8) 100%); }
.city__bg { position: absolute; inset: 0; }
.city__in { position: relative; z-index: 1; display: block; }
.city__name { display: block; font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; color: #fff; }
.city__meta { display: block; font-size: .78rem; color: #c7f0e0; }

.pitch { background: var(--brand-900); color: #fff; border-radius: 22px; padding: clamp(1.8rem, 1rem + 2.4vw, 3rem); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 2.4rem; align-items: center; }
.pitch h2 { color: #fff; font-size: clamp(1.4rem, 1rem + 1.3vw, 2rem); letter-spacing: -.02em; }
.pitch p { color: #c7f0e0; margin-top: .7rem; line-height: 1.7; }
.pitch__actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.4rem; }
.pitch__ghost { background: transparent; border: 1px solid #1d5c49; color: #fff; }
.pitch__ghost:hover { border-color: #34d399; color: #6ee7b7; }
.pitch__list { display: grid; gap: .8rem; }
.pitch__item { display: flex; gap: .7rem; align-items: flex-start; font-size: .9rem; color: #e2f7ee; }
.pitch__item svg { color: #6ee7b7; flex: 0 0 auto; margin-top: .15rem; }

.name-formula--center { justify-content: center; }

@media (max-width: 980px) {
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .slide { grid-template-columns: 1fr; min-height: 0; }
  .slide__art { min-height: 210px; order: -1; }
  .pitch { grid-template-columns: 1fr; gap: 1.6rem; }
}
@media (max-width: 680px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rail__nav { display: none; }
  .hero2__proof { gap: .35rem 1rem; font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero2__msg.is-on { animation: none; }
  .rail__track { scroll-behavior: auto; }
}

/* ============================================================================
   Carte de visite numérique (lot C1)
   Page autonome : ni en-tête ni pied de page du site. Le visiteur est venu
   voir quelqu'un, pas l'annuaire — l'annuaire se propose en bas, il ne
   s'impose pas en haut.
   ========================================================================== */
.vc { --accent: var(--brand); --accent-dark: var(--brand-900);
  max-width: 30rem; margin: 0 auto; background: #fff; min-height: 100vh; box-shadow: var(--shadow-lg); }

.vc__cover { position: relative; height: 138px; overflow: hidden;
  background: linear-gradient(130deg, var(--accent-dark), var(--accent) 70%, #10b981); }
.vc__cover::after { content: ''; position: absolute; inset: 0;
  background: radial-gradient(420px 200px at 82% -20%, rgba(255,255,255,.22), transparent 70%); }
.vc__brandline { position: absolute; z-index: 2; top: .8rem; inset-inline: 1.15rem;
  display: flex; align-items: center; justify-content: space-between; gap: .75rem; color: #fff; }
.vc__brandline a, .vc__brandline span { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; opacity: .85; color: #fff; }
.vc__brandline a:hover { opacity: 1; color: #fff; }

.vc__head { position: relative; padding: 0 1.25rem 1.3rem; margin-top: -46px; text-align: center; }
.vc__photo { width: 108px; height: 108px; border-radius: 50%; border: 4px solid #fff; object-fit: cover;
  margin: 0 auto; box-shadow: var(--shadow-lg); background: #fff; }
.vc__photo--mono { display: grid; place-items: center; background: var(--accent); color: #fff; font-weight: 800; font-size: 2rem; }
.vc__name { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; margin-top: .75rem; }
.vc__role { font-size: .95rem; color: var(--ink-2); margin-top: .15rem; }
.vc__org { display: inline-flex; align-items: center; gap: .45rem; margin-top: .7rem; font-size: .85rem; font-weight: 700;
  color: var(--accent); background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: 999px; padding: .3rem .75rem; }
.vc__org img, .vc__org .logo { width: 20px; height: 20px; border-radius: 5px; object-fit: contain; background: var(--brand-700);
  color: #fff; display: grid; place-items: center; font-size: .6rem; font-weight: 800; }
.vc__trust { margin-top: .6rem; display: flex; flex-direction: column; align-items: center; gap: .3rem; }
.vc__trust-why { font-size: .74rem; color: var(--muted); line-height: 1.5; max-width: 26rem; }
.vc__tag { font-size: .88rem; color: var(--muted); margin-top: .8rem; line-height: 1.6; }

.vc__actions { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: .55rem; padding: 0 1.25rem; }
.vc__act { display: flex; flex-direction: column; align-items: center; gap: .35rem; padding: .8rem .3rem;
  border-radius: 14px; border: 1px solid var(--line); background: #fff; font-size: .74rem; font-weight: 700; color: var(--ink-2); }
.vc__act svg { color: var(--accent); }
.vc__act:hover { border-color: var(--accent); color: var(--accent); }
.vc__save { display: flex; align-items: center; justify-content: center; gap: .5rem; margin: .8rem 1.25rem 0;
  padding: .95rem; border-radius: 14px; background: var(--accent); color: #fff; font-weight: 700; font-size: .95rem; }
.vc__save:hover { background: var(--brand-700); color: #fff; }

.vc__sec { padding: 1.6rem 1.25rem 0; }
.vc__sec h2 { font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: .8rem; }
.vc__bio { font-size: .92rem; line-height: 1.75; color: var(--ink-2); }

.vc__svc { display: grid; gap: .6rem; }
.vc__svc article { border: 1px solid var(--line); border-radius: 13px; padding: .85rem 1rem; }
.vc__svc h3 { font-size: .92rem; margin: 0; }
.vc__svc p { font-size: .82rem; color: var(--ink-2); line-height: 1.55; margin: .25rem 0 0; }

.vc__rows { display: grid; gap: .7rem; }
.vc__row { display: flex; gap: .7rem; align-items: flex-start; }
.vc__ico { width: 34px; height: 34px; border-radius: 10px; background: var(--brand-50); color: var(--accent); display: grid; place-items: center; flex: 0 0 auto; }
.vc__k { font-size: .7rem; color: var(--muted); display: block; }
.vc__v { font-size: .88rem; font-weight: 600; color: var(--ink); word-break: break-word; }

.vc__qr { margin-top: 1.6rem; padding: 1.25rem; text-align: center; background: var(--bg); border-top: 1px solid var(--line); }
.vc__qr-box { width: 172px; height: 172px; margin: 0 auto; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; display: grid; place-items: center; padding: 11px; }
.vc__qr-box svg { width: 100%; height: 100%; }
.vc__qr p { font-size: .76rem; color: var(--muted); margin-top: .7rem; word-break: break-all; }
.vc__share { justify-content: center; margin-top: .9rem; }

.vc__foot { padding: 1.3rem 1.25rem 2.2rem; text-align: center; background: var(--bg); display: grid; gap: .5rem; justify-items: center; }
.vc__foot a { font-size: .8rem; color: var(--muted); }
.vc__foot a:hover { color: var(--brand); }
.brand--center { justify-content: center; font-size: .92rem; }

@media (max-width: 360px) {
  .vc__act { font-size: .68rem; }
  .vc__qr-box { width: 150px; height: 150px; }
}

/* ============================================================================
   Page publique « Cartes de visite » (lot C1b)
   ========================================================================== */
.lead--dark { color: var(--brand-100); }

/* Trois colonnes imposées : avec `auto-fit`, six tuiles tombent en 4 + 2 sur
   un grand écran et laissent une rangée bancale — le défaut déjà corrigé sur
   l'accueil. Ici le compte est connu, on impose donc le nombre de colonnes. */
.grid--trio { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid--trio { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid--trio { grid-template-columns: 1fr; } }

/* Le recto de la carte, présenté en biais dans le héros. */
.cardshow { border-radius: 14px; overflow: hidden; box-shadow: 0 26px 60px -24px rgba(0, 0, 0, .65);
  transform: rotate(-3deg); transition: transform .25s ease; }
.cardshow:hover { transform: rotate(0deg); }
.cardshow svg { display: block; width: 100%; height: auto; }

/* L'argument central, mis à part du reste. */
.proof { margin-top: 1.8rem; background: #fff; border: 1px solid var(--brand-100); border-left: 4px solid var(--brand);
  border-radius: 16px; padding: 1.4rem 1.5rem; font-size: 1rem; line-height: 1.75; color: var(--ink-2); }
.proof a { text-decoration: none; }

/* Les quatre étapes. */
.steps { display: grid; gap: 1rem; counter-reset: step; }
.steps li { display: flex; gap: 1rem; align-items: flex-start; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; padding: 1.1rem 1.25rem; }
.steps__n { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; background: var(--brand-50);
  color: var(--brand); display: grid; place-items: center; font-weight: 800; font-size: .95rem; }
.steps h3 { font-size: 1rem; }

/* Recto et verso côte à côte. */
.cardfaces { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; max-width: 56rem; margin: 0 auto; }
.cardfaces > div > :first-child { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-lg); }
.cardfaces svg { display: block; width: 100%; height: auto; }

/* Questions fréquentes. */
.faq { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.15rem; }
.faq summary { font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; float: right; color: var(--muted); font-weight: 400; }
.faq[open] summary::after { content: '−'; }
.faq p { font-size: .9rem; color: var(--ink-2); line-height: 1.7; margin-top: .7rem; }

@media (max-width: 720px) {
  .cardfaces { grid-template-columns: 1fr; }
  .cardshow { transform: none; }
}
