/* ---------- Polices hebergees par le site ----------
   Aucune requete vers Google : le site s'affiche a l'identique
   en Chine, ou fonts.googleapis.com est bloque. */
@font-face {
  font-family: 'Inter'; /* latin-ext */
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter'; /* latin */
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Ma Shan Zheng'; /* filigrane des pages francaises */
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/ma-shan-zheng.woff2') format('woff2');
  unicode-range: U+53cb, U+5706, U+5f71, U+6587, U+6625, U+827a;
}
@font-face {
  font-family: 'Petit Formal Script'; /* filigrane des pages chinoises */
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/petit-formal-script.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================================
   Association Franco-Chinoise — Feuille de style principale
   Palette : bleu profond #003366 · rouge #C8102E
   ============================================================ */

:root {
  --bleu: #1E2A38;
  --bleu-fonce: #16202B;
  --bleu-clair: #E4E9EE;
  --rouge: #A03830;
  --rouge-fonce: #8A2E26;
  --rouge-clair: #F5E7E2;
  --encre: #1F2733;
  --gris: #5B6472;
  --gris-clair: #8A919C;
  /* Papier : clair #F8F4EC | moyen #F3EDE0 (actif) | marque #EDE5D3 */
  --fond: #F3EDE0;
  --blanc: #FFFCF6;
  --ligne: #E2DACA;
  --ombre: 0 10px 30px rgba(30, 42, 56, 0.10);
  --rayon: 14px;
  --police: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --police-zh: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--police);
  color: var(--encre);
  /* Fibres de papier : bruit SVG genere en CSS, aucun fichier image. */
  background-color: var(--fond);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23g)' opacity='0.05'/%3E%3C/svg%3E");
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--bleu); text-decoration: none; }
a:hover { color: var(--rouge); }

.conteneur {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- En-tête ---------- */
.entete {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bleu);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: box-shadow 0.3s;
}
.entete.defile {
  box-shadow: 0 6px 24px rgba(22, 32, 43, 0.35);
}
.entete-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}
.logo:hover { color: #fff; }
.logo-sceau {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: var(--rouge);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--police-zh);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 1px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
.logo-texte {
  line-height: 1.15;
  /* Le nom garde ses trois lignes voulues (Cercle / Franco-Chinois /
     nom chinois) et ne se casse jamais sur le trait d'union. */
  white-space: nowrap;
}
.logo-texte .sur-titre {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.logo-texte .nom {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.2px;
}

.nav-principale {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-principale a {
  /* Aucun libelle du bandeau ne se casse en deux lignes, pas meme
     les deux caracteres du bouton de langue. */
  white-space: nowrap;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition: background 0.2s, color 0.2s;
}
.nav-principale a:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.nav-principale a.actif { color: #fff; font-weight: 700; }
.nav-principale a.actif::after {
  content: "";
  display: block;
  height: 2.5px;
  margin-top: 1px;
  border-radius: 2px;
  background: var(--rouge);
}

.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s, color 0.2s;
}
.bouton:hover { transform: translateY(-1px); }
.bouton-rouge {
  background: var(--rouge);
  color: #fff;
  box-shadow: 0 6px 16px rgba(160, 56, 48, 0.3);
}
.bouton-rouge:hover { background: var(--rouge-fonce); color: #fff; }
.bouton-bleu {
  background: var(--bleu);
  color: #fff;
  box-shadow: 0 6px 16px rgba(30, 42, 56, 0.28);
}
.bouton-bleu:hover { background: var(--bleu-fonce); color: #fff; }
.bouton-contour {
  background: transparent;
  color: var(--bleu);
  border-color: var(--bleu);
}
.bouton-contour:hover { background: var(--bleu-clair); color: var(--bleu); }
.bouton-blanc {
  background: #fff;
  color: var(--bleu);
}
.bouton-blanc:hover { color: var(--rouge); }

/* Menu mobile */
.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.burger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: #fff;
  border-radius: 2px;
  margin: 5px 0;
  transition: transform 0.25s, opacity 0.2s;
}
.burger.ouvert span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.ouvert span:nth-child(2) { opacity: 0; }
.burger.ouvert span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Héros ---------- */
.heros {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 900px 500px at 85% -10%, rgba(30, 42, 56, 0.07), transparent),
    radial-gradient(ellipse 700px 450px at -5% 110%, rgba(160, 56, 48, 0.05), transparent);
  padding: 90px 0 100px;
}
.heros-grille {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 60px;
  align-items: center;
}
.sur-ligne {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--rouge);
  margin-bottom: 20px;
}
.sur-ligne::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--rouge);
  border-radius: 2px;
}
h1 {
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -1.2px;
  color: var(--bleu);
}
h1 .accent-rouge { color: var(--rouge); }
.heros p.chapeau {
  margin: 22px 0 34px;
  font-size: 19px;
  color: var(--gris);
  max-width: 540px;
}
.heros-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Sceau décoratif du héros */
.heros-visuel { display: flex; justify-content: center; }
.grand-sceau {
  position: relative;
  width: 260px;
  height: 260px;
  background: var(--rouge);
  border-radius: 26px;
  transform: rotate(-4deg);
  box-shadow: 0 30px 60px rgba(160, 56, 48, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.grand-sceau::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 18px;
}
.grand-sceau .caracteres {
  font-family: var(--police-zh);
  font-size: 92px;
  font-weight: 700;
  line-height: 1.1;
}
.grand-sceau .legende {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  opacity: 0.85;
}
.pastille-bleue {
  position: absolute;
  width: 92px;
  height: 92px;
  background: var(--bleu);
  border-radius: 22px;
  transform: rotate(8deg);
  right: -28px;
  bottom: -24px;
  box-shadow: 0 16px 32px rgba(30, 42, 56, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 30px;
}

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-blanche { background: var(--blanc); border-top: 1px solid var(--ligne); border-bottom: 1px solid var(--ligne); }
.section-bleue { background: var(--bleu); color: #fff; }

.tete-section { max-width: 640px; margin-bottom: 48px; }
.tete-section.centre { margin-left: auto; margin-right: auto; text-align: center; }
.tete-section.centre .sur-ligne { justify-content: center; }
.tete-section.centre .sur-ligne::before { display: none; }
h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.6px;
  color: var(--bleu);
  line-height: 1.2;
}
.section-bleue h2 { color: #fff; }
.tete-section p { margin-top: 14px; color: var(--gris); font-size: 17px; }
.section-bleue .tete-section p { color: rgba(255, 255, 255, 0.75); }

h3 { font-size: 20px; font-weight: 700; color: var(--bleu); letter-spacing: -0.3px; }

/* ---------- Cartes ---------- */
.grille-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grille-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.carte {
  background: var(--blanc);
  border: 1px solid var(--ligne);
  border-radius: var(--rayon);
  padding: 30px 28px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.carte:hover { transform: translateY(-4px); box-shadow: var(--ombre); }
.carte .icone {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.icone-bleu { background: var(--bleu-clair); color: var(--bleu); }
.icone-rouge { background: var(--rouge-clair); color: var(--rouge); }
.carte h3 { margin-bottom: 10px; }
.carte p { color: var(--gris); font-size: 15.5px; }
.carte .lien-suite {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 14.5px;
  font-weight: 600;
}

/* ---------- Bande de faits ---------- */
.faits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.fait .valeur {
  font-size: 30px;
  font-weight: 800;
  color: var(--bleu);
  letter-spacing: -0.5px;
}
.fait .valeur .zh { font-family: var(--police-zh); }
.fait .etiquette {
  margin-top: 6px;
  font-size: 14px;
  color: var(--gris);
}
.section-bleue .fait .valeur { color: #fff; }
.section-bleue .fait .etiquette { color: rgba(255, 255, 255, 0.7); }

/* ---------- Bande d'appel ---------- */
.appel {
  background: linear-gradient(120deg, var(--bleu) 0%, var(--bleu-fonce) 100%);
  border-radius: 22px;
  padding: 60px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.appel::after {
  content: "中法";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--police-zh);
  font-size: 150px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.05);
  pointer-events: none;
}
.appel h2 { color: #fff; margin-bottom: 8px; }
.appel p { color: rgba(255, 255, 255, 0.78); max-width: 480px; }

/* ---------- Listes à puces stylées ---------- */
.liste-points { list-style: none; display: grid; gap: 14px; }
.liste-points li {
  position: relative;
  padding-left: 26px;
  color: var(--gris);
}
.liste-points li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rouge);
}
.liste-points li strong { color: var(--encre); }

/* ---------- Bloc encadré ---------- */
.encadre {
  background: var(--bleu-clair);
  border-left: 4px solid var(--bleu);
  border-radius: 0 var(--rayon) var(--rayon) 0;
  padding: 22px 26px;
  color: var(--bleu-fonce);
  font-size: 15.5px;
}
.encadre.rouge {
  background: var(--rouge-clair);
  border-left-color: var(--rouge);
  color: var(--rouge-fonce);
}

/* ---------- Page intérieure : bannière ---------- */
.banniere-page {
  background:
    radial-gradient(ellipse 800px 400px at 90% -20%, rgba(160, 56, 48, 0.06), transparent),
    var(--blanc);
  border-bottom: 1px solid var(--ligne);
  padding: 64px 0 56px;
}
.banniere-page h1 { font-size: clamp(30px, 4vw, 44px); }
.banniere-page p.chapeau {
  margin-top: 16px;
  font-size: 18px;
  color: var(--gris);
  max-width: 640px;
}

/* ---------- Documents ---------- */
.doc-liste { display: grid; gap: 16px; }
.doc {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--blanc);
  border: 1px solid var(--ligne);
  border-radius: var(--rayon);
  padding: 22px 26px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.doc:hover { box-shadow: var(--ombre); transform: translateY(-2px); }
.doc .icone-doc {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--rouge-clair);
  color: var(--rouge);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.doc .infos { flex: 1; }
.doc .infos h3 { font-size: 17px; }
.doc .infos p { font-size: 14px; color: var(--gris); margin-top: 2px; }
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}
.badge-attente { background: var(--bleu-clair); color: var(--bleu); }
.badge-dispo { background: #E6F4EA; color: #1E7A38; }

/* ---------- Événements ---------- */
.evenement {
  display: flex;
  gap: 22px;
  background: var(--blanc);
  border: 1px solid var(--ligne);
  border-radius: var(--rayon);
  padding: 24px 26px;
}
.evenement .date-bloc {
  flex-shrink: 0;
  width: 70px;
  text-align: center;
  background: var(--bleu-clair);
  border-radius: 12px;
  padding: 12px 6px;
  color: var(--bleu);
}
.evenement .date-bloc .jour { font-size: 24px; font-weight: 800; line-height: 1; }
.evenement .date-bloc .mois { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }
.evenement h3 { font-size: 18px; }
.evenement p { font-size: 15px; color: var(--gris); margin-top: 4px; }

/* ---------- Contact ---------- */
.contact-carte {
  background: var(--blanc);
  border: 1px solid var(--ligne);
  border-radius: var(--rayon);
  padding: 32px;
}
.contact-ligne {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--ligne);
}
.contact-ligne:last-child { border-bottom: none; }
.contact-ligne .icone {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--bleu-clair);
  color: var(--bleu);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-ligne .detail strong { display: block; font-size: 15px; }
.contact-ligne .detail span { font-size: 14.5px; color: var(--gris); }

/* ---------- Médias : galerie et vidéos ---------- */
.galerie { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tuile {
  aspect-ratio: 4 / 3;
  background: var(--blanc);
  border: 1.5px dashed var(--ligne);
  border-radius: var(--rayon);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  text-align: center;
  color: var(--gris-clair);
}
.tuile-video { aspect-ratio: 16 / 9; }
.tuile .etiquette { font-size: 13.5px; font-weight: 600; color: var(--gris); }
.tuile .sous-etiquette { font-size: 12px; color: var(--gris-clair); }
.bouton-lecture {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--rouge-clair);
  color: var(--rouge);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Barre de citations (fixe en bas d'écran) ---------- */
.barre-citations {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  background: var(--bleu);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 -6px 24px rgba(22, 32, 43, 0.25);
  transition: transform 0.3s ease;
}
.barre-citations.cachee { transform: translateY(105%); }
.barre-citations .inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 9px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.citation-defile {
  flex: 1;
  min-width: 0;
  text-align: center;
  line-height: 1.5;
  transition: opacity 0.4s ease;
}
.citation-defile.masque { opacity: 0; }
.citation-texte {
  font-size: 14.5px;
  font-style: italic;
  color: #fff;
}
.citation-texte.zh {
  font-style: normal;
  font-family: var(--police-zh);
  letter-spacing: 1.5px;
  font-weight: 500;
}
.citation-seconde {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-left: 10px;
}
.citation-seconde.zh {
  font-family: var(--police-zh);
  letter-spacing: 1px;
}
.citation-signature {
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  margin-left: 10px;
  white-space: nowrap;
}
.citation-fleche-barre,
.citation-fermer {
  flex-shrink: 0;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.65);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.citation-fleche-barre:hover,
.citation-fermer:hover { color: #fff; background: rgba(255, 255, 255, 0.12); }
.citation-fermer { font-size: 17px; }
.citations-reouvrir {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 89;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--bleu);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(22, 32, 43, 0.35);
  display: none;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s, background 0.2s;
}
.citations-reouvrir.visible { display: flex; }
.citations-reouvrir:hover { background: var(--rouge); transform: scale(1.06); }
@media (max-width: 760px) {
  .citation-seconde { display: none; }
  .citation-texte {
    font-size: 13px;
    /* Réglage mesuré sur l'ensemble du recueil : à 13 px, cinq lignes
       suffisent à afficher toutes les citations sans en tronquer une
       seule, tout en gardant la barre autour de 96 px (l'en-tête en
       fait 77). Le plafond reste là comme garde-fou si une citation
       plus longue est ajoutée un jour. */
    display: -webkit-box;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .citation-signature { display: block; margin-left: 0; white-space: normal; }
  /* Sur téléphone on garde le nom de l'auteur, pas le titre de l'œuvre. */
  .sig-oeuvre { display: none; }
}

/* ---------- Sélecteur de langue ---------- */
.nav-principale a.lang-bouton {
  margin-left: 6px;
  padding: 7px 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #fff;
}
.nav-principale a.lang-bouton:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }

/* ---------- Pages en chinois ---------- */
html[lang="zh-Hans"] body,
html[lang="zh-Hans"] .bouton,
html[lang="zh-Hans"] .chip,
html[lang="zh-Hans"] .onglet {
  font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", "Inter", sans-serif;
}

/* ---------- Pied de page ---------- */
.pied {
  background: var(--bleu-fonce);
  color: rgba(255, 255, 255, 0.75);
  margin-top: 84px;
  padding: 60px 0 0;
  font-size: 14.5px;
}
.pied-grille {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 44px;
}
.pied .logo-texte .nom { color: #fff; }
.pied .logo-texte .sur-titre { color: rgba(255, 255, 255, 0.5); }
.pied p.baseline { margin-top: 16px; max-width: 320px; }
.pied h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}
.pied ul { list-style: none; display: grid; gap: 10px; }
.pied a { color: rgba(255, 255, 255, 0.75); }
.pied a:hover { color: #fff; }
.pied-bas {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- Animation d'apparition ---------- */
.apparait {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.apparait.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

/* Le bandeau complet (logo sur une ligne + huit entrees + bouton)
   reclame environ 1160 px. En dessous, on bascule sur le menu deroulant :
   ce seuil ne concerne que la navigation, la mise en page garde le sien. */
@media (max-width: 1180px) {
  .burger { display: block; }
  .nav-principale {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--bleu-fonce);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 24px;
    gap: 4px;
    display: none;
    box-shadow: 0 20px 40px rgba(22, 32, 43, 0.1);
  }
  .nav-principale.ouverte { display: flex; }
  .nav-principale a { padding: 13px 14px; font-size: 16px; }
  .nav-principale .bouton { margin-top: 10px; }
}
@media (max-width: 920px) {
  .heros-grille { grid-template-columns: 1fr; gap: 48px; }
  .heros-visuel { order: -1; }
  .grand-sceau { width: 200px; height: 200px; }
  .grand-sceau .caracteres { font-size: 68px; }
  .grille-3 { grid-template-columns: 1fr; }
  .grille-2 { grid-template-columns: 1fr; }
  .galerie { grid-template-columns: repeat(2, 1fr); }
  .faits { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .appel { flex-direction: column; align-items: flex-start; padding: 44px 32px; }
  .pied-grille { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 560px) {
  .section { padding: 60px 0; }
  .heros { padding: 56px 0 64px; }
  .faits { grid-template-columns: 1fr 1fr; }
  .logo-texte .nom { font-size: 16px; }
}

/* ---------- Filigrane calligraphié ----------
   Présent sur toutes les pages intérieures, jamais sur l'accueil qui a
   déjà son grand sceau rouge. Caractère chinois au pinceau sur les pages
   françaises, écriture attachée française sur les pages chinoises :
   chaque visiteur aperçoit en filigrane l'écriture de l'autre culture.
   La classe « filigrane » porte toute la mise en forme ; les classes
   « f-… » ne font que choisir le motif. */
.filigrane .banniere-page {
  position: relative;
  overflow: hidden;
}
.filigrane .banniere-page > .conteneur {
  position: relative;
  z-index: 1;
}
.filigrane .banniere-page::after {
  position: absolute;
  z-index: 0;
  /* En diagonale dans le vide de droite, débordant du bord : la bannière
     le recadre, ce qui se lit comme un cachet apposé. */
  right: -10px;
  top: 50%;
  transform: translateY(-50%) rotate(-22deg);
  transform-origin: center;
  font-family: "Ma Shan Zheng", serif;
  font-size: 210px;
  line-height: 1;
  color: rgba(30, 42, 56, 0.13);
  pointer-events: none;
  user-select: none;
}
.f-association .banniere-page::after { content: "\5706"; }
.f-activites .banniere-page::after { content: "\827A"; }
.f-medias .banniere-page::after { content: "\5F71"; }
.f-documents .banniere-page::after { content: "\6587"; }
.f-contact .banniere-page::after { content: "\53CB"; }
.f-calendrier .banniere-page::after { content: "\6625"; }

/* Pages chinoises : écriture attachée française */
html[lang="zh-Hans"] .filigrane .banniere-page::after {
  font-family: "Petit Formal Script", cursive;
  font-size: 78px;
}
html[lang="zh-Hans"] .f-association .banniere-page::after { content: "Cercle"; }
html[lang="zh-Hans"] .f-activites .banniere-page::after { content: "Arts"; }
html[lang="zh-Hans"] .f-medias .banniere-page::after { content: "Images"; }
html[lang="zh-Hans"] .f-documents .banniere-page::after { content: "Documents"; }
html[lang="zh-Hans"] .f-contact .banniere-page::after { content: "Amiti\00E9"; }
html[lang="zh-Hans"] .f-calendrier .banniere-page::after { content: "F\00EAtes"; }

/* Sur petit écran la place manque : le filigrane disparaît. */
@media (max-width: 920px) {
  .filigrane .banniere-page::after { display: none; }
}

/* ---------- Nom chinois sous le nom français ---------- */
.logo-texte .sous-titre {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  font-family: var(--police-zh);
  color: rgba(255, 255, 255, 0.55);
}
.pied .logo-texte .sous-titre { color: rgba(255, 255, 255, 0.5); }

/* ---------- Module cotisations et tarifs ----------
   Deux registres volontairement distincts : les trois formules
   d'adhésion en cartes, parce qu'il faut choisir entre elles ;
   les activités en lignes, parce qu'on les lit de haut en bas.
   Le prix est toujours à droite, aligné, y compris quand il n'est
   pas un montant (« gratuit », « nous contacter ») : c'est cette
   colonne unique qui rend le barème lisible d'un coup d'œil. */
.tarifs-adhesion { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tarif-carte {
  background: var(--blanc);
  border: 1px solid var(--ligne);
  border-radius: 14px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.tarif-carte:hover { transform: translateY(-4px); box-shadow: var(--ombre); }
.tarif-carte.mise-en-avant { border-color: var(--rouge); border-width: 2px; }
.tarif-carte .etiquette-avant {
  align-self: flex-start;
  background: var(--rouge-clair);
  color: var(--rouge);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 5px 11px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.tarif-carte h3 { margin-bottom: 6px; }
.tarif-carte .tarif-public { font-size: 14.5px; color: var(--gris); min-height: 42px; }
.tarif-montant {
  /* Pousse le montant en bas de la carte : les trois prix s'alignent
     alors sur une meme ligne, quelle que soit la longueur du public vise. */
  margin-top: auto;
  padding-top: 18px;
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  color: var(--bleu);
  letter-spacing: -1.5px;
}
.tarif-montant .unite {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--gris);
  margin-left: 6px;
}
.tarif-carte.mise-en-avant .tarif-montant { color: var(--rouge); }

/* ---------- Formules d'activités ---------- */
.formules { display: grid; gap: 14px; }
.formule {
  background: var(--blanc);
  border: 1px solid var(--ligne);
  border-radius: 14px;
  padding: 24px 26px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.formule .intitule { flex: 1; min-width: 240px; }
.formule .intitule h3 { margin-bottom: 6px; }
.formule .intitule p { font-size: 15px; color: var(--gris); }
.formule .prix {
  flex-shrink: 0;
  text-align: right;
  font-size: 22px;
  font-weight: 800;
  color: var(--bleu);
  letter-spacing: -0.5px;
  padding-top: 2px;
}
.formule .prix .mention {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--gris);
  margin-top: 4px;
}
.prix-gratuit { color: #1E7A38 !important; }
.prix-souple { font-size: 16px !important; color: var(--rouge) !important; }

/* Sous-tableau : les formules d'un même cours, sous leur intitulé. */
.formule-detail {
  flex-basis: 100%;
  margin-top: 20px;
  border-top: 1px solid var(--ligne);
  padding-top: 4px;
}
.formule-detail .ligne {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 11px 0;
  border-bottom: 1px solid var(--ligne);
  font-size: 15.5px;
}
.formule-detail .ligne:last-child { border-bottom: none; }
.formule-detail .ligne span:first-child { color: var(--encre); }
.formule-detail .ligne .m { font-weight: 700; color: var(--bleu); white-space: nowrap; }
.formule-detail .ligne.remise span:first-child { color: var(--gris); }
.formule-detail .ligne.remise .m { color: var(--rouge); }

@media (max-width: 920px) {
  .tarifs-adhesion { grid-template-columns: 1fr; }
  .tarif-carte .tarif-public { min-height: 0; }
  .formule { padding: 22px 20px; }
  .formule .prix { text-align: left; }
}

/* Filigrane de la page Tarifs */
.f-tarifs .banniere-page::after { content: "\60E0"; }
html[lang="zh-Hans"] .f-tarifs .banniere-page::after { content: "Tarifs"; }

/* ---------- QR du compte Instagram ----------
   Sous la carte de coordonnees : le code n'a d'utilite que pour qui
   lit la page sur un autre ecran que son telephone, il reste donc
   discret et ne prend jamais la place d'une coordonnee ecrite. */
.qr-bloc {
  margin-top: 20px;
  background: var(--blanc);
  border: 1px solid var(--ligne);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
}
.qr-bloc img {
  width: 190px;
  height: auto;
  margin: 0 auto;
  border-radius: 10px;
}
.qr-bloc p {
  margin-top: 12px;
  font-size: 14px;
  color: var(--gris);
}

/* Ligne Instagram du pied de page : le logo tient lieu d'etiquette,
   le pseudo reste le texte du lien. */
.pied .lien-ig {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.pied .lien-ig svg { flex-shrink: 0; }

/* Encadre dont la question tient sa propre ligne, au-dessus de la reponse. */
.encadre .encadre-titre {
  display: block;
  margin-bottom: 6px;
}

/* Permanence : le libelle et chaque contact tiennent leur propre ligne,
   et un nom ne se separe jamais de son numero. */
.permanence {
  display: grid;
  gap: 4px;
}
.permanence-contact { display: block; }
.permanence-nom { white-space: nowrap; }
.permanence-langue,
.contact-ligne .detail span.permanence-langue {
  font-size: 0.86em;
  opacity: 0.72;
  white-space: nowrap;
}
