/*
Theme Name: AlmaWeb Immo
Theme URI: https://github.com/AlmaWeb-Dev/theme-almaweb-immo
Description: Portail d'immobilier commercial. Conçu pour le plugin AlmaWeb Immo : fiches de biens, fourchettes de marché par artère, pages hub routées par méta.
Author: AlmaWeb
Author URI: https://almaweb.fr
Version: 0.1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: almaweb-immo
Tags: real-estate, business, custom-menu, translation-ready
*/

/* =========================================================================
   1. Jetons
   ========================================================================= */

:root {
  --fc-brand-50:  #eef4fb;
  --fc-brand-100: #d6e4f4;
  --fc-brand-500: #1f5c9e;
  --fc-brand-600: #17497e;
  --fc-brand-700: #113961;

  --fc-accent-location: #0f766e;
  --fc-accent-vente:    #b45309;
  --fc-accent-cession:  #6d28d9;

  --fc-ink-900: #111827;
  --fc-ink-700: #374151;
  --fc-ink-500: #6b7280;
  --fc-ink-300: #9ca3af;

  --fc-surface-0:   #ffffff;
  --fc-surface-50:  #f9fafb;
  --fc-surface-100: #f3f4f6;
  --fc-surface-200: #e5e7eb;

  --fc-border: #e5e7eb;
  --fc-focus:  #1f5c9e;

  --fc-success: #15803d;
  --fc-warning: #b45309;
  --fc-danger:  #b91c1c;

  --fc-etat-en-ligne:       #15803d;
  --fc-etat-sous-option:    #b45309;
  --fc-etat-sous-compromis: #b45309;
  --fc-etat-terminal:       #6b7280;

  /* Échelle de 4 px */
  --fc-space-1: 0.25rem;
  --fc-space-2: 0.5rem;
  --fc-space-3: 0.75rem;
  --fc-space-4: 1rem;
  --fc-space-5: 1.25rem;
  --fc-space-6: 1.5rem;
  --fc-space-8: 2rem;
  --fc-space-10: 2.5rem;
  --fc-space-12: 3rem;
  --fc-space-16: 4rem;

  --fc-radius-sm:   4px;
  --fc-radius-md:   8px;
  --fc-radius-lg:   14px;
  --fc-radius-pill: 999px;

  --fc-shadow-1: 0 1px 2px rgba(17, 24, 39, .06);
  --fc-shadow-2: 0 4px 12px rgba(17, 24, 39, .08);
  --fc-shadow-3: 0 12px 28px rgba(17, 24, 39, .12);

  --fc-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --fc-text-xs:  0.75rem;
  --fc-text-sm:  0.875rem;
  --fc-text-md:  1rem;
  --fc-text-lg:  clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  --fc-text-xl:  clamp(1.25rem, 1.1rem + 0.7vw, 1.5rem);
  --fc-text-2xl: clamp(1.5rem, 1.25rem + 1.2vw, 2rem);
  --fc-text-3xl: clamp(1.875rem, 1.5rem + 1.8vw, 2.75rem);

  --fc-container: 1180px;
  --fc-container-etroit: 760px;

  --fc-z-header: 100;
  --fc-z-panneau: 200;
  --fc-z-modal: 300;
}

/* =========================================================================
   2. Réinitialisation
   ========================================================================= */

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

body {
  margin: 0;
  font-family: var(--fc-font);
  font-size: var(--fc-text-md);
  line-height: 1.6;
  color: var(--fc-ink-900);
  background: var(--fc-surface-0);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { margin: 0 0 var(--fc-space-4); line-height: 1.25; font-weight: 700; }
h1 { font-size: var(--fc-text-3xl); }
h2 { font-size: var(--fc-text-2xl); }
h3 { font-size: var(--fc-text-xl); }
h4 { font-size: var(--fc-text-lg); }

p, ul, ol, dl, table { margin: 0 0 var(--fc-space-4); }

a { color: var(--fc-brand-600); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--fc-brand-700); }

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

:focus-visible {
  outline: 2px solid var(--fc-focus);
  outline-offset: 2px;
  border-radius: var(--fc-radius-sm);
}

/* Réservé aux lecteurs d'écran. */
.fc-sr {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.fc-sr:focus {
  position: fixed;
  top: var(--fc-space-2); left: var(--fc-space-2);
  width: auto; height: auto;
  padding: var(--fc-space-3) var(--fc-space-4);
  clip: auto;
  background: var(--fc-surface-0);
  box-shadow: var(--fc-shadow-2);
  z-index: var(--fc-z-modal);
}

/* =========================================================================
   3. Mise en page
   ========================================================================= */

.fc-conteneur {
  width: 100%;
  max-width: var(--fc-container);
  margin-inline: auto;
  padding-inline: var(--fc-space-4);
}

.fc-conteneur--etroit { max-width: var(--fc-container-etroit); }

.fc-bloc { margin-bottom: var(--fc-space-12); }
.fc-bloc__titre { font-size: var(--fc-text-2xl); margin-bottom: var(--fc-space-5); }
.fc-bloc__intro { color: var(--fc-ink-700); max-width: 65ch; }

.fc-grille {
  display: grid;
  gap: var(--fc-space-4);
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .fc-grille--biens,
  .fc-grille--pros { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .fc-grille--biens { grid-template-columns: repeat(3, 1fr); }
  .fc-grille--pros  { grid-template-columns: repeat(4, 1fr); }
}

/* =========================================================================
   4. Chrome
   ========================================================================= */

.fc-header {
  position: sticky;
  top: 0;
  z-index: var(--fc-z-header);
  background: var(--fc-surface-0);
  border-bottom: 1px solid var(--fc-border);
}

.fc-header__inner {
  display: flex;
  align-items: center;
  gap: var(--fc-space-4);
  min-height: 64px;
}

.fc-header__marque {
  font-weight: 700;
  font-size: var(--fc-text-lg);
  color: var(--fc-ink-900);
  text-decoration: none;
}

.fc-nav { margin-left: auto; }
.fc-nav ul { display: flex; gap: var(--fc-space-5); list-style: none; margin: 0; padding: 0; }
.fc-nav a { color: var(--fc-ink-700); text-decoration: none; font-size: var(--fc-text-sm); }
.fc-nav a:hover, .fc-nav .current-menu-item > a { color: var(--fc-brand-600); }

.fc-nav-toggle {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: var(--fc-space-2);
  padding: var(--fc-space-2) var(--fc-space-3);
  border: 1px solid var(--fc-border);
  border-radius: var(--fc-radius-md);
  background: var(--fc-surface-0);
  font: inherit;
  font-size: var(--fc-text-sm);
  cursor: pointer;
}

@media (min-width: 860px) { .fc-nav-toggle { display: none; } }

@media (max-width: 859px) {
  .fc-nav {
    display: none;
    position: absolute;
    inset: 64px 0 auto;
    background: var(--fc-surface-0);
    border-bottom: 1px solid var(--fc-border);
    box-shadow: var(--fc-shadow-2);
    padding: var(--fc-space-4);
  }
  .fc-nav--ouvert { display: block; }
  .fc-nav ul { flex-direction: column; gap: var(--fc-space-3); }
}

.fc-footer {
  margin-top: var(--fc-space-16);
  padding-block: var(--fc-space-10);
  background: var(--fc-surface-50);
  border-top: 1px solid var(--fc-border);
  font-size: var(--fc-text-sm);
  color: var(--fc-ink-700);
}

.fc-footer__cols {
  display: grid;
  gap: var(--fc-space-8);
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .fc-footer__cols { grid-template-columns: repeat(3, 1fr); }
}

.fc-footer ul { list-style: none; margin: 0; padding: 0; }
.fc-footer li { margin-bottom: var(--fc-space-2); }
.fc-footer__legal {
  margin-top: var(--fc-space-8);
  padding-top: var(--fc-space-4);
  border-top: 1px solid var(--fc-border);
  color: var(--fc-ink-500);
  font-size: var(--fc-text-xs);
}

/* =========================================================================
   5. Boutons
   ========================================================================= */

.fc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--fc-space-2);
  padding: var(--fc-space-3) var(--fc-space-5);
  border: 1px solid transparent;
  border-radius: var(--fc-radius-md);
  font: inherit;
  font-weight: 600;
  font-size: var(--fc-text-sm);
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, border-color .15s;
}

.fc-btn--primaire { background: var(--fc-brand-500); color: #fff; }
.fc-btn--primaire:hover { background: var(--fc-brand-600); color: #fff; }

.fc-btn--secondaire {
  background: var(--fc-surface-0);
  border-color: var(--fc-border);
  color: var(--fc-ink-900);
}
.fc-btn--secondaire:hover { border-color: var(--fc-ink-300); color: var(--fc-ink-900); }

.fc-btn--whatsapp { background: #25d366; color: #06301a; }
.fc-btn--whatsapp:hover { background: #1eb356; color: #06301a; }

.fc-btn--bloc { width: 100%; }

/* =========================================================================
   6. Carte de bien — représentation unique
   ========================================================================= */

.fc-bien-card {
  background: var(--fc-surface-0);
  border: 1px solid var(--fc-border);
  border-radius: var(--fc-radius-lg);
  overflow: hidden;
  transition: box-shadow .15s, transform .15s;
}

.fc-bien-card:hover { box-shadow: var(--fc-shadow-2); }

.fc-bien-card__lien { display: block; color: inherit; text-decoration: none; height: 100%; }

.fc-bien-card__image {
  aspect-ratio: 4 / 3;
  background: var(--fc-surface-100);
  overflow: hidden;
}
.fc-bien-card__image img { width: 100%; height: 100%; object-fit: cover; }

.fc-bien-card__corps { padding: var(--fc-space-4); }

.fc-bien-card__titre {
  font-size: var(--fc-text-md);
  font-weight: 600;
  margin-bottom: var(--fc-space-2);
}

.fc-bien-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--fc-space-2) var(--fc-space-3);
  margin-bottom: var(--fc-space-3);
  font-size: var(--fc-text-sm);
  color: var(--fc-ink-500);
}

.fc-bien-card__prix {
  margin: 0;
  font-weight: 700;
  font-size: var(--fc-text-lg);
  color: var(--fc-brand-600);
}

.fc-bien-card--terminal { opacity: .8; }
.fc-bien-card--terminal .fc-bien-card__prix {
  text-decoration: line-through;
  color: var(--fc-ink-500);
}

.fc-bien-card--premium { border-color: var(--fc-brand-100); }

/* =========================================================================
   7. Badges d'état
   ========================================================================= */

.fc-etat-badge {
  display: inline-block;
  padding: var(--fc-space-1) var(--fc-space-3);
  margin-bottom: var(--fc-space-2);
  border-radius: var(--fc-radius-pill);
  background: var(--fc-surface-100);
  color: var(--fc-ink-700);
  font-size: var(--fc-text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.fc-etat-badge--loue,
.fc-etat-badge--vendu,
.fc-etat-badge--cede { background: var(--fc-etat-terminal); color: #fff; }

.fc-etat-badge--sous-option,
.fc-etat-badge--sous-compromis { background: var(--fc-warning); color: #fff; }

/* =========================================================================
   8. Fourchettes de marché
   ========================================================================= */

.fc-bloc--fourchette {
  padding: var(--fc-space-6);
  background: var(--fc-brand-50);
  border-radius: var(--fc-radius-lg);
}

.fc-fourchette__valeurs {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: var(--fc-space-3);
  margin-bottom: var(--fc-space-2);
  font-size: var(--fc-text-2xl);
  font-weight: 700;
  color: var(--fc-brand-700);
}

.fc-fourchette__sep { color: var(--fc-ink-300); font-weight: 400; }

.fc-fourchette__contexte {
  margin-bottom: var(--fc-space-2);
  font-size: var(--fc-text-sm);
  color: var(--fc-ink-700);
}

.fc-fourchette__remonte { display: block; color: var(--fc-ink-500); }

.fc-fourchette__confiance {
  margin: 0;
  color: var(--fc-brand-500);
  letter-spacing: .15em;
}

/* =========================================================================
   9. Tableaux
   ========================================================================= */

.fc-tableau-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.fc-tableau {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fc-text-sm);
}

.fc-tableau th, .fc-tableau td {
  padding: var(--fc-space-3);
  text-align: left;
  border-bottom: 1px solid var(--fc-border);
}

.fc-tableau thead th {
  background: var(--fc-surface-50);
  font-weight: 600;
  white-space: nowrap;
}

.fc-tableau tbody tr:hover { background: var(--fc-surface-50); }

/* =========================================================================
   10. Listes de liens
   ========================================================================= */

.fc-liste-liens {
  display: flex;
  flex-wrap: wrap;
  gap: var(--fc-space-2);
  list-style: none;
  margin: 0;
  padding: 0;
}

.fc-liste-liens a {
  display: inline-block;
  padding: var(--fc-space-2) var(--fc-space-4);
  border: 1px solid var(--fc-border);
  border-radius: var(--fc-radius-pill);
  background: var(--fc-surface-0);
  color: var(--fc-ink-700);
  font-size: var(--fc-text-sm);
  text-decoration: none;
}

.fc-liste-liens a:hover {
  border-color: var(--fc-brand-500);
  color: var(--fc-brand-600);
}

/* =========================================================================
   11. Fil d'Ariane
   ========================================================================= */

.fc-breadcrumb { padding-block: var(--fc-space-4); font-size: var(--fc-text-sm); }
.fc-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--fc-space-2);
  list-style: none;
  margin: 0;
  padding: 0;
}
.fc-breadcrumb__item { display: flex; gap: var(--fc-space-2); align-items: center; }
.fc-breadcrumb__sep { color: var(--fc-ink-300); }
.fc-breadcrumb [aria-current="page"] { color: var(--fc-ink-500); }

/* =========================================================================
   12. Fiche d'un bien
   ========================================================================= */

.fc-bien__entete { margin-bottom: var(--fc-space-6); }
.fc-bien__titre { margin-bottom: var(--fc-space-3); }

.fc-bien__resume {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--fc-space-3) var(--fc-space-6);
  padding-bottom: var(--fc-space-4);
  border-bottom: 1px solid var(--fc-border);
}

.fc-bien__prix {
  font-size: var(--fc-text-2xl);
  font-weight: 700;
  color: var(--fc-brand-600);
}

.fc-bien__surface { font-size: var(--fc-text-lg); color: var(--fc-ink-700); }
.fc-bien__reference { margin-left: auto; font-size: var(--fc-text-sm); color: var(--fc-ink-500); }

.fc-bien__bandeau {
  padding: var(--fc-space-4) var(--fc-space-5);
  margin-bottom: var(--fc-space-6);
  border-left: 4px solid var(--fc-etat-terminal);
  border-radius: var(--fc-radius-md);
  background: var(--fc-surface-100);
}

.fc-bien__bandeau strong { color: var(--fc-ink-900); }

.fc-bien__layout { display: grid; gap: var(--fc-space-8); }

@media (min-width: 960px) {
  .fc-bien__layout { grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); align-items: start; }
  .fc-bien__aside { position: sticky; top: 88px; }
}

.fc-caracteristiques { margin-bottom: var(--fc-space-8); }
.fc-caracteristiques__groupe { margin-bottom: var(--fc-space-6); }
.fc-caracteristiques__titre {
  font-size: var(--fc-text-md);
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--fc-ink-500);
  margin-bottom: var(--fc-space-3);
}

.fc-caracteristiques__liste {
  display: grid;
  gap: var(--fc-space-2) var(--fc-space-4);
  margin: 0;
}

@media (min-width: 560px) {
  .fc-caracteristiques__liste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.fc-caracteristiques__ligne {
  display: flex;
  justify-content: space-between;
  gap: var(--fc-space-3);
  padding: var(--fc-space-2) 0;
  border-bottom: 1px solid var(--fc-surface-200);
}

.fc-caracteristiques__cle { color: var(--fc-ink-500); }
.fc-caracteristiques__valeur { font-weight: 600; text-align: right; }

/* Coût réel : ce qui distingue une annonce honnête d'une annonce trompeuse. */
.fc-cout {
  padding: var(--fc-space-5);
  border: 1px solid var(--fc-border);
  border-radius: var(--fc-radius-lg);
  background: var(--fc-surface-50);
}

.fc-cout__total {
  display: flex;
  justify-content: space-between;
  gap: var(--fc-space-3);
  margin-top: var(--fc-space-3);
  padding-top: var(--fc-space-3);
  border-top: 2px solid var(--fc-border);
  font-weight: 700;
}

.fc-cout__note { margin: var(--fc-space-3) 0 0; font-size: var(--fc-text-xs); color: var(--fc-ink-500); }

.fc-galerie { display: grid; gap: var(--fc-space-2); margin-bottom: var(--fc-space-6); }
.fc-galerie__principale { border-radius: var(--fc-radius-lg); overflow: hidden; aspect-ratio: 16 / 10; }
.fc-galerie__principale img { width: 100%; height: 100%; object-fit: cover; }

.fc-carte { height: 340px; border-radius: var(--fc-radius-lg); overflow: hidden; background: var(--fc-surface-100); }

/* =========================================================================
   13. Formulaires
   ========================================================================= */

.fc-lead {
  padding: var(--fc-space-6);
  border: 1px solid var(--fc-border);
  border-radius: var(--fc-radius-lg);
  background: var(--fc-surface-0);
}

.fc-lead__titre { font-size: var(--fc-text-xl); }
.fc-lead__champ { margin-bottom: var(--fc-space-4); }
.fc-lead__champ label { display: block; margin-bottom: var(--fc-space-1); font-size: var(--fc-text-sm); font-weight: 600; }

.fc-lead input[type="text"],
.fc-lead input[type="tel"],
.fc-lead input[type="email"],
.fc-lead input[type="number"],
.fc-lead select,
.fc-lead textarea {
  width: 100%;
  padding: var(--fc-space-3);
  border: 1px solid var(--fc-border);
  border-radius: var(--fc-radius-md);
  font: inherit;
  font-size: var(--fc-text-md);
  background: var(--fc-surface-0);
  color: var(--fc-ink-900);
}

.fc-lead textarea { resize: vertical; min-height: 100px; }

.fc-lead__consentement {
  display: flex;
  gap: var(--fc-space-2);
  margin-bottom: var(--fc-space-5);
  font-size: var(--fc-text-sm);
  color: var(--fc-ink-700);
}

.fc-lead__consentement input { margin-top: 3px; flex-shrink: 0; }

/* Champ leurre : masqué visuellement, jamais avec display:none qui alerterait
   les robots les plus soignés. */
.fc-lead__pot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.fc-lead__message {
  padding: var(--fc-space-3) var(--fc-space-4);
  margin-bottom: var(--fc-space-4);
  border-radius: var(--fc-radius-md);
  background: #ecfdf5;
  color: var(--fc-success);
  font-size: var(--fc-text-sm);
}

.fc-lead__message--erreur { background: #fef2f2; color: var(--fc-danger); }

/* =========================================================================
   14. Recherche et suggestions
   ========================================================================= */

.fc-recherche { position: relative; }

.fc-recherche__form {
  display: grid;
  gap: var(--fc-space-2);
  padding: var(--fc-space-4);
  background: var(--fc-surface-0);
  border-radius: var(--fc-radius-lg);
  box-shadow: var(--fc-shadow-2);
}

@media (min-width: 760px) {
  .fc-recherche__form { grid-template-columns: 2fr 1fr 1fr auto; align-items: end; }
}

.fc-recherche__champ label { display: block; margin-bottom: var(--fc-space-1); font-size: var(--fc-text-xs); font-weight: 600; color: var(--fc-ink-500); }

.fc-recherche__champ input,
.fc-recherche__champ select {
  width: 100%;
  padding: var(--fc-space-3);
  border: 1px solid var(--fc-border);
  border-radius: var(--fc-radius-md);
  font: inherit;
  background: var(--fc-surface-0);
}

.fc-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: var(--fc-z-panneau);
  max-height: 340px;
  overflow-y: auto;
  margin: var(--fc-space-1) 0 0;
  padding: var(--fc-space-1);
  list-style: none;
  background: var(--fc-surface-0);
  border: 1px solid var(--fc-border);
  border-radius: var(--fc-radius-md);
  box-shadow: var(--fc-shadow-3);
}

.fc-suggestions__lien {
  display: flex;
  justify-content: space-between;
  gap: var(--fc-space-3);
  padding: var(--fc-space-3);
  border-radius: var(--fc-radius-sm);
  color: var(--fc-ink-900);
  text-decoration: none;
}

.fc-suggestions__item--actif .fc-suggestions__lien,
.fc-suggestions__lien:hover { background: var(--fc-surface-100); }

.fc-suggestions__contexte { color: var(--fc-ink-500); font-size: var(--fc-text-sm); white-space: nowrap; }

/* =========================================================================
   15. Facettes
   ========================================================================= */

.fc-facettes__declencheur { width: 100%; }

@media (min-width: 960px) { .fc-facettes__declencheur { display: none; } }

.fc-facettes {
  border: 1px solid var(--fc-border);
  border-radius: var(--fc-radius-lg);
  padding: var(--fc-space-5);
  background: var(--fc-surface-0);
}

/* Sur mobile, les filtres s'ouvrent en panneau bas d'écran : une colonne
   latérale y serait inutilisable. */
@media (max-width: 959px) {
  .fc-facettes {
    position: fixed;
    inset: auto 0 0;
    z-index: var(--fc-z-panneau);
    max-height: 85vh;
    overflow-y: auto;
    border-radius: var(--fc-radius-lg) var(--fc-radius-lg) 0 0;
    box-shadow: var(--fc-shadow-3);
    transform: translateY(100%);
    transition: transform .2s ease-out;
  }
  .fc-facettes--ouvert { transform: translateY(0); }
}

.fc-facettes__groupe { margin-bottom: var(--fc-space-5); }
.fc-facettes__legende { font-weight: 600; font-size: var(--fc-text-sm); margin-bottom: var(--fc-space-2); }
.fc-facettes__paire { display: flex; gap: var(--fc-space-2); }

.fc-facettes input, .fc-facettes select {
  width: 100%;
  padding: var(--fc-space-2) var(--fc-space-3);
  border: 1px solid var(--fc-border);
  border-radius: var(--fc-radius-md);
  font: inherit;
  font-size: var(--fc-text-sm);
}

.fc-resultats__entete {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--fc-space-3);
  margin-bottom: var(--fc-space-5);
}

.fc-resultats__compte { font-weight: 600; }
.fc-resultats__tri { margin-left: auto; }

.fc-vide {
  padding: var(--fc-space-8);
  text-align: center;
  border: 1px dashed var(--fc-border);
  border-radius: var(--fc-radius-lg);
  background: var(--fc-surface-50);
}

/* =========================================================================
   16. Professionnels
   ========================================================================= */

.fc-pro-card {
  padding: var(--fc-space-4);
  border: 1px solid var(--fc-border);
  border-radius: var(--fc-radius-lg);
  background: var(--fc-surface-0);
}

.fc-pro-card__lien { color: inherit; text-decoration: none; }
.fc-pro-card__titre { font-size: var(--fc-text-md); margin-bottom: var(--fc-space-1); }

.fc-pro-card__badge {
  display: inline-block;
  padding: var(--fc-space-1) var(--fc-space-2);
  border-radius: var(--fc-radius-sm);
  background: var(--fc-brand-50);
  color: var(--fc-brand-700);
  font-size: var(--fc-text-xs);
  font-weight: 600;
}

/* =========================================================================
   17. Réalisations et lexique
   ========================================================================= */

.fc-realisations { list-style: none; margin: 0; padding: 0; }

.fc-realisation {
  display: flex;
  flex-wrap: wrap;
  gap: var(--fc-space-2) var(--fc-space-4);
  padding: var(--fc-space-3) 0;
  border-bottom: 1px solid var(--fc-border);
  font-size: var(--fc-text-sm);
}

.fc-realisation__operation { font-weight: 600; }
.fc-realisation__lieu { color: var(--fc-ink-700); }
.fc-realisation__date { margin-left: auto; color: var(--fc-ink-500); }

.fc-lexique__nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--fc-space-2);
  margin-bottom: var(--fc-space-8);
}

.fc-lexique__nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  border: 1px solid var(--fc-border);
  border-radius: var(--fc-radius-md);
  text-decoration: none;
  font-weight: 600;
}

.fc-lexique__lettre { color: var(--fc-brand-600); }
.fc-lexique__terme { font-weight: 700; margin-top: var(--fc-space-4); }
.fc-lexique__definition { margin: var(--fc-space-1) 0 0; color: var(--fc-ink-700); }
.fc-lexique__avertissement { display: block; margin-top: var(--fc-space-1); font-size: var(--fc-text-sm); color: var(--fc-warning); }

.fc-terme { border-bottom: 1px dotted var(--fc-ink-300); cursor: help; text-decoration: none; }

/* =========================================================================
   18. Éditorial
   ========================================================================= */

.fc-editorial { max-width: 70ch; }
.fc-editorial h2 { margin-top: var(--fc-space-8); }
.fc-editorial h3 { margin-top: var(--fc-space-6); font-size: var(--fc-text-lg); }
.fc-editorial ul, .fc-editorial ol { padding-left: var(--fc-space-5); }
.fc-editorial li { margin-bottom: var(--fc-space-2); }

.fc-hero { padding-block: var(--fc-space-10) var(--fc-space-8); }
.fc-hero--accueil {
  background: linear-gradient(180deg, var(--fc-brand-50), var(--fc-surface-0));
  padding-block: var(--fc-space-12);
}
.fc-hero__titre { max-width: 20ch; }
.fc-hero__intro { max-width: 60ch; font-size: var(--fc-text-lg); color: var(--fc-ink-700); }

.fc-pagination { display: flex; justify-content: center; gap: var(--fc-space-2); margin-top: var(--fc-space-8); }
.fc-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding-inline: var(--fc-space-2);
  border: 1px solid var(--fc-border);
  border-radius: var(--fc-radius-md);
  text-decoration: none;
}
.fc-pagination .current { background: var(--fc-brand-500); border-color: var(--fc-brand-500); color: #fff; }

/* =========================================================================
   19. Impression et préférences système
   ========================================================================= */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .fc-header, .fc-footer, .fc-facettes, .fc-lead, .fc-btn { display: none !important; }
  body { color: #000; }
  a::after { content: " (" attr(href) ")"; font-size: 90%; }
}
