/* ==========================================================================
   Valeur Enseignement Plus — feuille de style
   Charte Valeurs'Immo : bleu nuit #0A1128, or #D4AF37, Outfit + Playfair Display
   ========================================================================== */

:root {
  --marine: #0A1128;
  --marine-2: #162650;
  --marine-3: #23366E;
  --or: #D4AF37;
  --or-fonce: #856A12;
  --or-clair: #F3E5AB;
  --or-pale: #FBF7E8;
  --texte: #1E293B;
  --gris: #64748B;
  --gris-clair: #94A3B8;
  --fond: #F4F6F9;
  --blanc: #FFFFFF;
  --bord: #E2E8F0;
  --vert: #15803D;
  --vert-pale: #ECFDF3;
  --rouge: #B42318;
  --rouge-pale: #FEF3F2;
  --bleu-pale: #EEF2FB;
  --rayon: 18px;
  --rayon-grand: 28px;
  --ombre: 0 18px 40px rgba(10, 17, 40, .07);
  --ombre-forte: 0 28px 60px rgba(10, 17, 40, .14);
  --transition: all .45s cubic-bezier(.16, 1, .3, 1);
  --largeur: 1200px;
  --gouttiere: clamp(1rem, 4vw, 2.5rem);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--texte);
  background: var(--blanc);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--marine-3); text-decoration-color: rgba(35, 54, 110, .35); text-underline-offset: 3px; }
a:hover { color: var(--or-fonce); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--marine); line-height: 1.2; margin: 0 0 .6em; font-weight: 600; }
h1 { font-size: clamp(2rem, 4vw, 3.05rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.conteneur { width: 100%; max-width: var(--largeur); margin: 0 auto; padding: 0 var(--gouttiere); }
.etroit { max-width: 820px; }
.centre { text-align: center; }
.muet { color: var(--gris); }
.petit { font-size: .9rem; }
.visuellement-cache { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.aller-contenu { position: absolute; left: -999px; top: 8px; background: var(--or); color: var(--marine); padding: .6rem 1rem; border-radius: 8px; z-index: 100; }
.aller-contenu:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--or); outline-offset: 2px; }

.surtitre {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--or-fonce);
  margin: 0 0 .5rem;
}
.surtitre--trait { display: inline-flex; align-items: center; gap: .75rem; }
.surtitre--trait::before { content: ""; width: 34px; height: 2px; background: var(--or); }
.chapeau { font-size: 1.15rem; color: var(--gris); max-width: 680px; }
.centre .chapeau { margin-left: auto; margin-right: auto; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--sans); font-weight: 600; font-size: .86rem; letter-spacing: .09em; text-transform: uppercase;
  padding: 1rem 1.9rem; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: var(--transition); line-height: 1.2;
}
.btn .ico { width: 1.1em; height: 1.1em; }
.btn--or { background: var(--or); color: var(--marine); box-shadow: 0 10px 24px rgba(212, 175, 55, .35); }
.btn--or:hover { background: #C9A22B; color: var(--marine); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(212, 175, 55, .45); }
.btn--marine { background: var(--marine); color: #fff; }
.btn--marine:hover { background: var(--marine-2); color: #fff; transform: translateY(-2px); }
.btn--contour { border-color: var(--marine); color: var(--marine); background: transparent; }
.btn--contour:hover { background: var(--marine); color: #fff; }
.btn--clair { border-color: rgba(255, 255, 255, .8); color: #fff; background: transparent; }
.btn--clair:hover { background: #fff; color: var(--marine); }
.btn--petit { padding: .7rem 1.25rem; font-size: .78rem; white-space: nowrap; }
.btn--bloc { width: 100%; }
.btn--danger { background: var(--rouge-pale); color: var(--rouge); border-color: #FECDCA; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.lien-fleche { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--marine-3); text-decoration: none; }
.lien-fleche:hover { gap: .7rem; color: var(--or-fonce); }
.lien-discret { color: var(--marine); text-decoration: none; font-weight: 500; display: inline-flex; align-items: center; gap: .35rem; }
.lien-discret:hover { color: var(--or-fonce); }

/* ---------- En-tête ---------- */
.entete { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: var(--transition); }
.entete.defile { border-bottom-color: var(--bord); box-shadow: 0 8px 30px rgba(10, 17, 40, .06); }
.entete__barre { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 78px; }
.logo { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--marine); flex: none; }
.logo img { width: 72px; height: auto; }
.logo__texte { display: flex; flex-direction: column; line-height: 1.05; }
.logo__nom { font-family: var(--serif); font-weight: 600; font-style: italic; font-size: 1.28rem; letter-spacing: -.01em; }
.logo__nom b { color: var(--or); font-style: normal; font-weight: 700; margin-left: 2px; font-size: 1.15em; line-height: 1; }
.logo__sous { font-size: .7rem; text-transform: uppercase; letter-spacing: .16em; color: var(--gris); margin-top: 4px; }
.logo--clair { color: #fff; }
.logo--clair .logo__sous { color: var(--or-clair); }
.nav { display: flex; align-items: center; gap: 1.8rem; }
.nav__liens { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.nav__liens a { color: var(--texte); text-decoration: none; font-weight: 500; font-size: .98rem; padding: .4rem 0; position: relative; }
.nav__liens a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--or); transition: var(--transition); }
.nav__liens a:hover::after, .nav__liens a[aria-current]::after { right: 0; }
.nav__liens a[aria-current] { color: var(--marine); font-weight: 600; }
.nav__compte { display: flex; align-items: center; gap: 1rem; }
.burger { display: none; background: none; border: 0; color: var(--marine); padding: .4rem; cursor: pointer; }
.burger .ico { width: 28px; height: 28px; }

@media (max-width: 1080px) {
  .burger { display: inline-flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch;
    gap: 0; padding: .5rem var(--gouttiere) 1.5rem; border-bottom: 1px solid var(--bord); box-shadow: var(--ombre);
    display: none;
  }
  .nav.ouvert { display: flex; }
  .nav__liens { flex-direction: column; gap: 0; }
  .nav__liens a { display: block; padding: .85rem 0; border-bottom: 1px solid var(--bord); }
  .nav__liens a::after { display: none; }
  .nav__compte { padding-top: 1rem; justify-content: space-between; }
}

/* ---------- Messages ---------- */
.flashs { padding-top: 1.2rem; display: grid; gap: .6rem; }
.flash { display: flex; gap: .7rem; align-items: flex-start; padding: .95rem 1.2rem; border-radius: 14px; background: var(--bleu-pale); color: var(--marine-2); border: 1px solid #D7E0F5; }
.flash--succes { background: var(--vert-pale); color: #0B5D2A; border-color: #BBF2CF; }
.flash--erreur { background: var(--rouge-pale); color: var(--rouge); border-color: #FECDCA; }
.flash .ico { margin-top: .2rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section--fond { background: var(--fond); }
.section--pale { background: linear-gradient(180deg, var(--or-pale), #fff); }
.section--marine { background: var(--marine); color: #CBD5E1; position: relative; overflow: hidden; }
.section--marine h2, .section--marine h3 { color: #fff; }
.section--marine .surtitre { color: var(--or); }
.section--marine .chapeau { color: #AAB6CB; }
.section__tete { margin-bottom: 3rem; }
.section__tete.centre { max-width: 760px; margin-left: auto; margin-right: auto; }

/* ---------- Accueil : héros ---------- */
.heros { position: relative; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3.5rem, 7vw, 6rem); overflow: hidden;
  background: radial-gradient(1100px 520px at 88% -10%, rgba(212, 175, 55, .16), transparent 60%),
              radial-gradient(900px 600px at -10% 110%, rgba(22, 38, 80, .08), transparent 60%), var(--fond); }
.heros__grille { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.heros h1 { margin-bottom: 1.2rem; }
.heros h1 em { font-style: italic; color: var(--or-fonce); }
.heros__texte { font-size: 1.18rem; color: #475569; max-width: 560px; }
.heros__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin: 2rem 0 2.2rem; }
.heros__confiance { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; list-style: none; padding: 0; margin: 0; color: var(--marine-2); font-weight: 500; font-size: .95rem; }
.heros__confiance li { display: inline-flex; gap: .45rem; align-items: center; }
.heros__confiance .ico { color: var(--or-fonce); }
.heros__visuel { position: relative; isolation: isolate; }
.heros__photo { position: relative; border-radius: var(--rayon-grand); overflow: hidden; box-shadow: var(--ombre-forte); aspect-ratio: 16 / 11; background: linear-gradient(135deg, var(--marine-2), var(--marine-3)); }
.heros__photo img { width: 100%; height: 100%; object-fit: cover; }
.heros__visuel::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 2px solid var(--or); border-radius: var(--rayon-grand); z-index: -1; }
.pastille {
  position: absolute; display: flex; align-items: center; gap: .8rem; background: #fff; border-radius: 16px;
  padding: .85rem 1.1rem; box-shadow: var(--ombre-forte); font-size: .92rem; line-height: 1.3; color: var(--marine);
}
.pastille strong { display: block; font-size: 1.02rem; }
.pastille span.muet { font-size: .82rem; }
.pastille__ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--or-pale); color: var(--or-fonce); flex: none; }
.pastille__ico .ico { width: 22px; height: 22px; }
.pastille--haut { top: 8%; left: -8%; }
.pastille--bas { bottom: -6%; right: 6%; }
@media (max-width: 960px) {
  .heros__grille { grid-template-columns: 1fr; }
  .heros__visuel { max-width: 620px; margin: 0 auto; width: 100%; }
  .pastille--haut { left: 4%; top: -5%; }
}
@media (max-width: 520px) {
  .pastille { font-size: .82rem; padding: .6rem .8rem; }
  .pastille__ico { width: 36px; height: 36px; }
  .heros__visuel::before { inset: 14px -10px -14px 12px; }
}

/* ---------- Chiffres ---------- */
.chiffres { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: -2.8rem; position: relative; z-index: 2; }
.chiffre { background: #fff; border-radius: var(--rayon); padding: 1.4rem 1.2rem; box-shadow: var(--ombre); text-align: center; border: 1px solid var(--bord); }
.chiffre b { display: block; font-family: var(--serif); font-size: 2rem; color: var(--marine); line-height: 1.1; }
.chiffre span { color: var(--gris); font-size: .92rem; }
@media (max-width: 760px) { .chiffres { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Grilles et cartes ---------- */
.grille { display: grid; gap: 1.5rem; }
.grille--2 { grid-template-columns: repeat(2, 1fr); }
.grille--3 { grid-template-columns: repeat(3, 1fr); }
.grille--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grille--4 { grid-template-columns: repeat(2, 1fr); } .grille--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .grille--2, .grille--3, .grille--4 { grid-template-columns: 1fr; } }

.carte { background: #fff; border-radius: var(--rayon); padding: 1.8rem; box-shadow: var(--ombre); border: 1px solid var(--bord); transition: var(--transition); }
.carte--survol:hover { transform: translateY(-6px); box-shadow: var(--ombre-forte); }
.carte h3 { font-size: 1.22rem; }
.carte p:last-child { margin-bottom: 0; }
.rond-ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--or-pale); color: var(--or-fonce); margin-bottom: 1.1rem; }
.rond-ico .ico { width: 26px; height: 26px; }
.section--marine .carte { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); box-shadow: none; }
.section--marine .carte p { color: #AAB6CB; }
.section--marine .rond-ico { background: rgba(212, 175, 55, .14); color: var(--or); }

/* Pour qui */
.profil { display: flex; gap: 1rem; align-items: flex-start; }
.profil .rond-ico { margin: 0; flex: none; }
.profil h3 { margin-bottom: .3rem; font-size: 1.12rem; }
.profil p { color: var(--gris); font-size: .98rem; }

/* ---------- Modules ---------- */
.modules { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 1.4rem; }
.module-carte { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--rayon); padding: 1.6rem 1.5rem 1.3rem; border: 1px solid var(--bord); box-shadow: var(--ombre); text-decoration: none; color: var(--texte); transition: var(--transition); overflow: hidden; }
.module-carte::after { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 0; background: var(--or); transition: var(--transition); }
.module-carte:hover { transform: translateY(-6px); box-shadow: var(--ombre-forte); color: var(--texte); }
.module-carte:hover::after { width: 100%; }
.module-carte__tete { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.module-carte__num { font-family: var(--serif); font-size: 2.3rem; font-weight: 600; color: var(--or); line-height: 1; }
.module-carte .rond-ico { margin: 0; width: 46px; height: 46px; border-radius: 13px; }
.module-carte h3 { font-size: 1.12rem; margin-bottom: .45rem; }
.module-carte p { font-size: .95rem; color: var(--gris); flex: 1; }
.module-carte__pied { display: flex; align-items: center; justify-content: space-between; font-size: .85rem; color: var(--gris); border-top: 1px dashed var(--bord); padding-top: .9rem; margin-top: .4rem; }
.module-carte__pied span { display: inline-flex; align-items: center; gap: .35rem; }
.module-carte--fait { border-color: #BBF2CF; }
.module-carte--appel { background: linear-gradient(135deg, var(--marine), var(--marine-3)); border-color: var(--marine); color: #CBD5E1; }
.module-carte--appel:hover { color: #CBD5E1; }
.module-carte--appel h3 { color: #fff; }
.module-carte--appel p { color: #AAB6CB; }
.module-carte--appel .module-carte__num .ico { width: 42px; height: 42px; color: var(--or); }
.module-carte--appel .module-carte__pied { color: var(--or); border-top-color: rgba(255,255,255,.15); font-weight: 600; }

.badge { display: inline-flex; align-items: center; gap: .3rem; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: .28rem .6rem; border-radius: 999px; background: var(--bleu-pale); color: var(--marine-3); white-space: nowrap; }
.badge .ico { width: 1em; height: 1em; }
.badge--or, .badge--offert { background: var(--or-pale); color: var(--or-fonce); border: 1px solid var(--or-clair); }
.badge--expert { background: var(--marine); color: var(--or-clair); }
.badge--abonne { background: #FFF4E5; color: #9A5B00; }
.badge--vert, .badge--fait { background: var(--vert-pale); color: var(--vert); }
.badge--rouge { background: var(--rouge-pale); color: var(--rouge); }
.badge--gris { background: #F1F5F9; color: var(--gris); }

/* ---------- Bloc image + texte ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.duo--inverse .duo__image { order: 2; }
.duo__image { position: relative; isolation: isolate; }
.duo__image img { border-radius: var(--rayon-grand); box-shadow: var(--ombre-forte); width: 100%; aspect-ratio: 7 / 5; object-fit: cover; background: var(--fond); }
.duo__image::after { content: ""; position: absolute; width: 38%; height: 38%; border-radius: var(--rayon-grand); background: repeating-linear-gradient(45deg, var(--or-clair) 0 2px, transparent 2px 12px); z-index: -1; right: -18px; bottom: -18px; }
.duo--inverse .duo__image::after { right: auto; left: -18px; }
.liste-coche { list-style: none; padding: 0; margin: 1.4rem 0; display: grid; gap: .75rem; }
.liste-coche li { display: flex; gap: .7rem; align-items: flex-start; }
.liste-coche li::before { content: ""; flex: none; width: 24px; height: 24px; margin-top: .1rem; border-radius: 50%; background: var(--or-pale) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23856A12' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat; border: 1px solid var(--or-clair); }
.section--marine .liste-coche li::before { background-color: rgba(212, 175, 55, .15); border-color: rgba(212, 175, 55, .3); }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } .duo--inverse .duo__image { order: 0; } .duo__image::after { right: -8px; bottom: -8px; } .duo--inverse .duo__image::after { left: -8px; } }

/* ---------- Étapes ---------- */
.etapes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; counter-reset: etape; position: relative; }
.etape { position: relative; text-align: center; padding: 0 1rem; }
.etape__num { width: 64px; height: 64px; margin: 0 auto 1.2rem; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-size: 1.6rem; font-weight: 600; background: var(--marine); color: var(--or); box-shadow: 0 0 0 8px rgba(212, 175, 55, .15); position: relative; z-index: 1; }
.etapes::before { content: ""; position: absolute; top: 32px; left: 16%; right: 16%; border-top: 2px dashed var(--or-clair); }
.etape p { color: var(--gris); }
@media (max-width: 760px) { .etapes { grid-template-columns: 1fr; } .etapes::before { display: none; } }

/* ---------- Offres ---------- */
.offres { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: stretch; }
.offre { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--bord); border-radius: var(--rayon-grand); padding: 2.2rem 1.9rem; box-shadow: var(--ombre); }
.offre h3 { font-size: 1.35rem; margin-bottom: .3rem; }
.offre__pour { color: var(--gris); font-size: .95rem; min-height: 3em; }
.offre__prix { margin: 1.2rem 0 .2rem; font-family: var(--serif); font-size: 3rem; font-weight: 600; color: var(--marine); line-height: 1; }
.offre__prix small { font-family: var(--sans); font-size: 1rem; font-weight: 500; color: var(--gris); }
.offre__ttc { font-size: .88rem; color: var(--gris); margin-bottom: 1.2rem; }
.offre ul { flex: 1; }
.offre .liste-coche { margin: 1rem 0 1.8rem; font-size: .97rem; }
.offre--vedette { background: var(--marine); border: 2px solid var(--or); color: #CBD5E1; transform: translateY(-12px); box-shadow: 0 30px 70px rgba(10, 17, 40, .3); }
.offre--vedette h3, .offre--vedette .offre__prix { color: #fff; }
.offre--vedette .offre__pour, .offre--vedette .offre__ttc, .offre--vedette .offre__prix small { color: #AAB6CB; }
.offre--vedette .liste-coche li::before { background-color: rgba(212, 175, 55, .15); border-color: rgba(212, 175, 55, .35); }
.offre__ruban { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--or); color: var(--marine); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .4rem 1rem; border-radius: 999px; white-space: nowrap; }
@media (max-width: 980px) { .offres { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } .offre--vedette { transform: none; } }

/* ---------- Témoignage d'expertise / citation ---------- */
.citation { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.45; color: #fff; margin: 0 0 1.5rem; }
.citation::before { content: "“"; display: block; font-size: 4rem; line-height: .6; color: var(--or); margin-bottom: .6rem; }
.signature-bloc { display: flex; align-items: center; gap: 1rem; }
.signature-bloc img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 2px solid var(--or); }
.signature-bloc strong { color: #fff; display: block; }
.decor-maison { position: absolute; right: -60px; bottom: -40px; width: 380px; opacity: .06; pointer-events: none; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .9rem; }
.faq details { background: #fff; border: 1px solid var(--bord); border-radius: 16px; padding: 0 1.4rem; transition: var(--transition); }
.faq details[open] { box-shadow: var(--ombre); border-color: var(--or-clair); }
.faq summary { cursor: pointer; list-style: none; padding: 1.2rem 2rem 1.2rem 0; font-weight: 600; color: var(--marine); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--or-pale); color: var(--or-fonce); display: grid; place-items: center; font-size: 1.3rem; font-weight: 400; transition: var(--transition); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding: 0 0 1.3rem; color: #475569; }

/* ---------- Appel à l'action ---------- */
.appel { position: relative; overflow: hidden; border-radius: var(--rayon-grand); padding: clamp(2.5rem, 5vw, 4rem); background: linear-gradient(120deg, var(--marine) 0%, var(--marine-2) 60%, var(--marine-3) 100%); color: #CBD5E1; display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; }
.appel h2 { color: #fff; margin-bottom: .5rem; font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.appel p { margin: 0; }
.appel::after { content: ""; position: absolute; width: 420px; height: 420px; right: -140px; top: -180px; border-radius: 50%; background: radial-gradient(circle, rgba(212, 175, 55, .35), transparent 65%); }
.appel__actions { display: flex; flex-wrap: wrap; gap: .8rem; position: relative; z-index: 1; }
@media (max-width: 820px) { .appel { grid-template-columns: 1fr; } }

/* ---------- Bandeau des pages intérieures ---------- */
.bandeau { background: radial-gradient(900px 400px at 90% 0%, rgba(212, 175, 55, .18), transparent 60%), var(--marine); color: #CBD5E1; padding: clamp(3rem, 7vw, 5rem) 0; position: relative; overflow: hidden; }
.bandeau--image::before { content: ""; position: absolute; inset: 0; background: var(--img) center / cover no-repeat; opacity: .22; }
.bandeau--image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--marine) 30%, rgba(10, 17, 40, .55)); }
.bandeau__contenu { position: relative; z-index: 1; }
.bandeau h1 { color: #fff; max-width: 860px; }
.bandeau .surtitre { color: var(--or); }
.bandeau__texte { font-size: 1.15rem; max-width: 720px; color: #C3CCDB; margin: 0; }
.fil { font-size: .88rem; margin-bottom: 1rem; color: #94A3B8; }
.fil a { color: #CBD5E1; }

/* ---------- Formulaires ---------- */
.formulaire { display: grid; gap: 1.1rem; }
.champ { display: grid; gap: .4rem; }
.champ label, .etiquette { font-weight: 600; color: var(--marine); font-size: .95rem; }
.champ small { color: var(--gris); font-size: .84rem; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], input[type=date], input[type=search], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--texte); background: #fff; border: 1.5px solid #D5DDE8; border-radius: 12px; padding: .8rem 1rem; transition: border-color .2s, box-shadow .2s;
}
textarea { min-height: 160px; resize: vertical; line-height: 1.6; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--or); box-shadow: 0 0 0 4px rgba(212, 175, 55, .18); }
.champs-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .champs-2 { grid-template-columns: 1fr; } }
.case { display: flex; gap: .6rem; align-items: flex-start; font-size: .93rem; color: #475569; }
.case input { margin-top: .3rem; accent-color: var(--marine); width: 18px; height: 18px; flex: none; }
.pot-de-miel { position: absolute; left: -5000px; }

.boite-auth { max-width: 520px; margin: 0 auto; }
.boite-auth .carte { padding: clamp(1.6rem, 4vw, 2.6rem); }
.auth-grille { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 78px); }
.auth-grille__visuel { position: relative; background: var(--marine) center / cover no-repeat; }
.auth-grille__visuel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 17, 40, .1), rgba(10, 17, 40, .85)); }
.auth-grille__legende { position: absolute; z-index: 1; left: 2.5rem; right: 2.5rem; bottom: 2.5rem; color: #fff; }
.auth-grille__legende p { font-family: var(--serif); font-style: italic; font-size: 1.5rem; line-height: 1.4; }
.auth-grille__form { display: flex; align-items: center; padding: 3rem var(--gouttiere); background: var(--fond); }
.auth-grille__form > div { width: 100%; max-width: 480px; margin: 0 auto; }
@media (max-width: 900px) { .auth-grille { grid-template-columns: 1fr; } .auth-grille__visuel { min-height: 220px; } .auth-grille__legende p { font-size: 1.15rem; } }

/* ---------- Forum ---------- */
.forum-grille { display: grid; grid-template-columns: 270px 1fr; gap: 2rem; align-items: start; }
.forum-cotes { position: sticky; top: 100px; display: grid; gap: 1.2rem; }
.forum-cats { list-style: none; margin: 0; padding: .6rem; background: #fff; border: 1px solid var(--bord); border-radius: var(--rayon); }
.forum-cats a { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .6rem .8rem; border-radius: 10px; color: var(--texte); text-decoration: none; font-size: .95rem; }
.forum-cats a span:first-child { display: inline-flex; align-items: center; gap: .55rem; }
.forum-cats a .ico { color: var(--or-fonce); }
.forum-cats a:hover { background: var(--fond); }
.forum-cats a.actif { background: var(--marine); color: #fff; }
.forum-cats a.actif .ico { color: var(--or); }
.forum-cats small { color: inherit; opacity: .6; }
.forum-outils { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: space-between; align-items: center; margin-bottom: 1.2rem; }
.forum-outils form { display: flex; gap: .5rem; flex: 1; max-width: 420px; }
.onglets { display: inline-flex; background: #fff; border: 1px solid var(--bord); border-radius: 999px; padding: 4px; }
.onglets a { padding: .45rem 1rem; border-radius: 999px; text-decoration: none; color: var(--gris); font-size: .9rem; font-weight: 500; }
.onglets a.actif { background: var(--marine); color: #fff; }
.sujets { display: grid; gap: .8rem; }
.sujet { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; background: #fff; border: 1px solid var(--bord); border-radius: var(--rayon); padding: 1.1rem 1.3rem; transition: var(--transition); }
.sujet:hover { border-color: var(--or-clair); box-shadow: var(--ombre); }
.sujet h3 { font-family: var(--sans); font-size: 1.05rem; font-weight: 600; margin: 0 0 .25rem; }
.sujet h3 a { color: var(--marine); text-decoration: none; }
.sujet h3 a:hover { color: var(--or-fonce); }
.sujet__meta { display: flex; flex-wrap: wrap; gap: .4rem .8rem; align-items: center; font-size: .84rem; color: var(--gris); }
.sujet__compteur { text-align: center; min-width: 74px; padding: .5rem; border-radius: 12px; background: var(--fond); font-size: .78rem; color: var(--gris); line-height: 1.2; }
.sujet__compteur b { display: block; font-size: 1.25rem; color: var(--marine); font-family: var(--serif); }
.sujet__compteur--resolu { background: var(--vert-pale); color: var(--vert); }
.sujet__compteur--resolu b { color: var(--vert); }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center; background: #E6ECF7; color: var(--marine-3); font-weight: 700; font-size: .9rem; flex: none; }
.avatar--expert { background: var(--marine); color: var(--or); box-shadow: 0 0 0 3px var(--or-clair); }
.message { background: #fff; border: 1px solid var(--bord); border-radius: var(--rayon); padding: 1.5rem 1.6rem; }
.message + .message { margin-top: 1rem; }
.message__tete { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; margin-bottom: 1rem; }
.message__tete strong { color: var(--marine); }
.message__corps { overflow-wrap: anywhere; }
.message__corps ul, .message__corps ol { padding-left: 1.3rem; }
.message__corps p:last-child { margin-bottom: 0; }
.message--question { border-top: 4px solid var(--marine); }
.message--expert { border-color: var(--or-clair); background: linear-gradient(180deg, var(--or-pale), #fff 120px); }
.message--retenue { border: 2px solid #86E0A8; }
.message__actions { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-top: 1rem; padding-top: .9rem; border-top: 1px dashed var(--bord); }
.message__actions form { display: inline; }
.bouton-texte { background: none; border: 0; padding: .3rem .1rem; font: inherit; font-size: .88rem; color: var(--gris); cursor: pointer; display: inline-flex; gap: .35rem; align-items: center; }
.bouton-texte:hover { color: var(--marine); }
.bouton-texte.actif { color: var(--or-fonce); font-weight: 600; }
.retenue-etiquette { display: inline-flex; align-items: center; gap: .35rem; color: var(--vert); font-weight: 600; font-size: .88rem; }
@media (max-width: 900px) { .forum-grille { grid-template-columns: 1fr; } .forum-cotes { position: static; } .forum-cats { display: flex; overflow-x: auto; gap: .3rem; } .forum-cats a { white-space: nowrap; } .forum-cats small { display: none; } }
@media (max-width: 560px) { .sujet { grid-template-columns: 1fr; } .sujet .avatar { display: none; } .sujet__compteur { display: inline-block; justify-self: start; } }

/* ---------- Module (lecture) ---------- */
.lecture { display: grid; grid-template-columns: 290px 1fr; gap: 3rem; align-items: start; padding: 2.5rem 0 5rem; }
.sommaire { position: sticky; top: 100px; background: #fff; border: 1px solid var(--bord); border-radius: var(--rayon); padding: 1.2rem; max-height: calc(100vh - 120px); overflow: auto; }
.sommaire h2 { font-family: var(--sans); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gris); margin: .3rem .4rem .8rem; }
.sommaire ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; }
.sommaire a { display: grid; grid-template-columns: 28px 1fr auto; gap: .5rem; align-items: center; padding: .55rem .5rem; border-radius: 10px; text-decoration: none; color: var(--texte); font-size: .92rem; line-height: 1.3; }
.sommaire a:hover { background: var(--fond); }
.sommaire a.actif { background: var(--marine); color: #fff; }
.sommaire__n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .78rem; font-weight: 700; background: var(--fond); color: var(--marine); }
.sommaire a.actif .sommaire__n { background: var(--or); color: var(--marine); }
.sommaire__etat .ico { width: 16px; height: 16px; }
.sommaire__etat--fait { color: var(--vert); }
.sommaire a.actif .sommaire__etat--fait { color: #86E0A8; }
.sommaire__etat--verrou { color: var(--gris-clair); }
.progression { height: 8px; border-radius: 99px; background: var(--fond); overflow: hidden; margin: .4rem .4rem 1rem; }
.progression span { display: block; height: 100%; background: linear-gradient(90deg, var(--or), #E8C75A); border-radius: 99px; }

.article-tete { background: linear-gradient(120deg, var(--marine), var(--marine-2)); color: #CBD5E1; border-radius: var(--rayon-grand); padding: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 2.5rem; position: relative; overflow: hidden; }
.article-tete::after { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(212, 175, 55, .3), transparent 65%); }
.article-tete h1 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.article-tete .surtitre { color: var(--or); }
.article-tete__meta { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; font-size: .92rem; margin-bottom: 1.4rem; }
.article-tete__meta span { display: inline-flex; align-items: center; gap: .4rem; }
.objectifs { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px; padding: 1.1rem 1.3rem; position: relative; z-index: 1; }
.objectifs h2 { font-family: var(--sans); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--or); margin: 0 0 .6rem; }
.objectifs ul { margin: 0; padding-left: 1.2rem; }
.objectifs li { margin: .2rem 0; }

.prose { max-width: 780px; font-size: 1.06rem; }
.prose h2 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); margin: 2.6rem 0 1rem; padding-top: .4rem; position: relative; scroll-margin-top: 100px; }
.prose h2::before { content: ""; display: block; width: 44px; height: 3px; background: var(--or); margin-bottom: .9rem; border-radius: 2px; }
.prose h3 { font-size: 1.2rem; margin: 1.8rem 0 .6rem; }
.prose ul, .prose ol { padding-left: 1.35rem; }
.prose li { margin: .35rem 0; }
.prose li::marker { color: var(--or-fonce); }
.prose strong { color: var(--marine); }
.prose table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 1.4rem 0; font-size: .95rem; border: 1px solid var(--bord); border-radius: 14px; overflow: hidden; }
.prose th { background: var(--marine); color: #fff; text-align: left; font-weight: 600; padding: .75rem .9rem; }
.prose td { padding: .7rem .9rem; border-top: 1px solid var(--bord); vertical-align: top; }
.prose tr:nth-child(even) td { background: #FAFBFD; }
.tableau-defile { overflow-x: auto; }
.encadre { border-radius: 16px; padding: 1.2rem 1.4rem 1.2rem 3.6rem; margin: 1.6rem 0; position: relative; background: var(--bleu-pale); border: 1px solid #D7E0F5; }
.encadre::before { content: ""; position: absolute; left: 1.1rem; top: 1.25rem; width: 26px; height: 26px; background: center / contain no-repeat; }
.encadre > :last-child { margin-bottom: 0; }
.encadre__titre { display: block; font-weight: 700; color: var(--marine); margin-bottom: .35rem; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.encadre--retenir { background: var(--or-pale); border-color: var(--or-clair); }
.encadre--retenir::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23856A12' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18h6M10 22h4'/%3E%3Cpath d='M12 2a7 7 0 0 0-4 12.7c.6.5 1 1.3 1 2.3h6c0-1 .4-1.8 1-2.3A7 7 0 0 0 12 2z'/%3E%3C/svg%3E"); }
.encadre--piege { background: var(--rouge-pale); border-color: #FECDCA; }
.encadre--piege .encadre__titre { color: var(--rouge); }
.encadre--piege::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B42318' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m21.7 18-8-14a2 2 0 0 0-3.5 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.7-3z'/%3E%3Cpath d='M12 9v4M12 17h.01'/%3E%3C/svg%3E"); }
.encadre--conseil { background: #fff; border: 1px solid var(--bord); border-left: 4px solid var(--marine); }
.encadre--conseil::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A1128' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='6'/%3E%3Cpath d='M15.5 12.9 17 22l-5-3-5 3 1.5-9.1'/%3E%3C/svg%3E"); }
.encadre--exemple { background: #F8FAFC; border-style: dashed; }
.encadre--exemple::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2323366E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='2' width='16' height='20' rx='2'/%3E%3Cpath d='M8 6h8M8 10h8M8 14h5'/%3E%3C/svg%3E"); }
.encadre--modele { background: #fff; border: 1px solid var(--bord); padding: 1.3rem 1.4rem; }
.encadre--modele::before { display: none; }
.encadre--modele pre { white-space: pre-wrap; font-family: var(--sans); font-size: .95rem; background: var(--fond); border-radius: 10px; padding: 1rem; margin: .6rem 0 0; }
.check { list-style: none; padding-left: 0 !important; }
.check li { position: relative; padding-left: 2rem; }
.check li::before { content: ""; position: absolute; left: 0; top: .2rem; width: 20px; height: 20px; border-radius: 6px; border: 2px solid var(--or); }
.sources { font-size: .88rem; color: var(--gris); border-top: 1px solid var(--bord); margin-top: 2.5rem; padding-top: 1rem; }

.verrou { text-align: center; background: #fff; border: 1px solid var(--bord); border-radius: var(--rayon-grand); padding: clamp(2rem, 4vw, 3rem); box-shadow: var(--ombre); }
.verrou .rond-ico { margin: 0 auto 1rem; width: 64px; height: 64px; }
.plan { text-align: left; max-width: 520px; margin: 1.5rem auto 2rem; padding: 0; list-style: none; counter-reset: plan; }
.plan li { counter-increment: plan; padding: .6rem 0 .6rem 2.6rem; border-bottom: 1px dashed var(--bord); position: relative; color: var(--marine); }
.plan li::before { content: counter(plan); position: absolute; left: 0; top: .5rem; width: 28px; height: 28px; border-radius: 50%; background: var(--or-pale); color: var(--or-fonce); display: grid; place-items: center; font-weight: 700; font-size: .85rem; }

/* Quiz */
.quiz { margin-top: 3rem; background: var(--fond); border-radius: var(--rayon-grand); padding: clamp(1.5rem, 4vw, 2.5rem); max-width: 780px; }
.quiz h2 { display: flex; align-items: center; gap: .7rem; }
.question-quiz { background: #fff; border-radius: 16px; padding: 1.3rem 1.4rem; margin-top: 1.1rem; border: 1px solid var(--bord); }
.question-quiz legend { font-weight: 600; color: var(--marine); padding: 0; margin-bottom: .8rem; }
.question-quiz fieldset { border: 0; margin: 0; padding: 0; }
.option { display: flex; gap: .7rem; align-items: flex-start; padding: .7rem .9rem; border: 1.5px solid var(--bord); border-radius: 12px; margin-top: .5rem; cursor: pointer; transition: border-color .2s, background .2s; }
.option:hover { border-color: var(--or-clair); background: var(--or-pale); }
.option input { margin-top: .3rem; accent-color: var(--marine); flex: none; }
.option--bonne { border-color: #86E0A8; background: var(--vert-pale); }
.option--fausse { border-color: #FDA29B; background: var(--rouge-pale); }
.explication { margin-top: .8rem; font-size: .93rem; color: #475569; background: var(--bleu-pale); border-radius: 10px; padding: .7rem .9rem; }
.resultat { display: flex; gap: 1rem; align-items: center; border-radius: 16px; padding: 1.1rem 1.3rem; margin: 1.2rem 0; }
.resultat--ok { background: var(--vert-pale); color: #0B5D2A; }
.resultat--ko { background: #FFF4E5; color: #8A4B00; }
.resultat .ico { width: 30px; height: 30px; flex: none; }
.nav-modules { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; max-width: 780px; }
@media (max-width: 1000px) { .lecture { grid-template-columns: 1fr; } .sommaire { position: static; max-height: none; } }

/* ---------- Espace membre ---------- */
.tableau-bord { display: grid; grid-template-columns: 1.6fr 1fr; gap: 1.5rem; align-items: start; }
@media (max-width: 960px) { .tableau-bord { grid-template-columns: 1fr; } }
.accueil-membre { display: flex; align-items: center; gap: 1.2rem; }
.jauge { display: flex; align-items: center; gap: 1.2rem; }
.jauge__cercle { --p: 0; width: 92px; height: 92px; border-radius: 50%; flex: none; display: grid; place-items: center; background: conic-gradient(var(--or) calc(var(--p) * 1%), var(--fond) 0); }
.jauge__cercle span { width: 72px; height: 72px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--marine); }
.liste-modules { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.liste-modules a { display: grid; grid-template-columns: 34px 1fr auto; gap: .8rem; align-items: center; padding: .75rem .9rem; border-radius: 12px; border: 1px solid var(--bord); text-decoration: none; color: var(--texte); transition: var(--transition); }
.liste-modules a:hover { border-color: var(--or-clair); background: var(--or-pale); }
.statut-ligne { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: .8rem 0; border-bottom: 1px dashed var(--bord); }
.statut-ligne:last-child { border-bottom: 0; }

/* ---------- Tableaux (admin) ---------- */
.tableau { width: 100%; border-collapse: collapse; font-size: .93rem; background: #fff; }
.tableau th { text-align: left; font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gris); padding: .7rem .8rem; border-bottom: 2px solid var(--bord); white-space: nowrap; }
.tableau td { padding: .75rem .8rem; border-bottom: 1px solid var(--bord); vertical-align: top; }
.tableau tr:hover td { background: #FAFBFD; }
.tableau form { display: inline-flex; gap: .4rem; align-items: center; flex-wrap: wrap; }
.tableau input, .tableau select { padding: .4rem .6rem; font-size: .88rem; border-radius: 8px; width: auto; }
.admin-onglets { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.admin-onglets a { padding: .55rem 1.1rem; border-radius: 999px; background: #fff; border: 1px solid var(--bord); text-decoration: none; color: var(--texte); font-weight: 500; font-size: .92rem; display: inline-flex; gap: .45rem; align-items: center; }
.admin-onglets a.actif { background: var(--marine); color: #fff; border-color: var(--marine); }
.compteur-rouge { background: var(--rouge); color: #fff; font-size: .72rem; border-radius: 99px; padding: .05rem .45rem; font-weight: 700; }

/* ---------- Pied de page ---------- */
.pied { background: var(--marine); color: #94A3B8; padding: 4.5rem 0 0; font-size: .95rem; }
.pied__grille { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; }
.pied h3 { font-family: var(--sans); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--or); margin-bottom: 1rem; }
.pied ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.pied a { color: #CBD5E1; text-decoration: none; }
.pied a:hover { color: var(--or); }
.pied__marque p { margin-top: 1.2rem; max-width: 340px; }
.pied__reseaux { display: flex; flex-wrap: wrap; gap: 1rem; }
.pied__reseaux a { display: inline-flex; gap: .35rem; align-items: center; }
.pied__contact li { display: flex; gap: .6rem; align-items: flex-start; }
.pied__contact .ico { color: var(--or); margin-top: .25rem; }
.pied__bas { border-top: 1px solid rgba(255, 255, 255, .08); padding: 1.4rem var(--gouttiere); font-size: .82rem; color: #64748B; }
.pied__bas p { margin: 0; }
@media (max-width: 900px) { .pied__grille { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pied__grille { grid-template-columns: 1fr; } }

/* ---------- Pages de texte (mentions, CGV) ---------- */
.texte-legal h2 { font-size: 1.35rem; margin-top: 2rem; }

/* ---------- Attestation ---------- */
.attestation { max-width: 900px; margin: 2rem auto; background: #fff; border: 1px solid var(--bord); padding: 3.5rem; position: relative; text-align: center; box-shadow: var(--ombre); }
.attestation::before { content: ""; position: absolute; inset: 14px; border: 2px solid var(--or); pointer-events: none; }
.attestation h1 { font-size: 2.4rem; margin: 1rem 0 .4rem; }
.attestation__nom { font-family: var(--serif); font-style: italic; font-size: 2.2rem; color: var(--or-fonce); margin: 1.5rem 0; }
.attestation__pied { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 3rem; text-align: left; font-size: .92rem; }
@media print {
  .entete, .pied, .flashs, .no-print { display: none !important; }
  body { background: #fff; }
  .attestation { box-shadow: none; border: 0; margin: 0; }
}

/* ---------- Animations d'apparition ---------- */
.apparait { opacity: 0; transform: translateY(24px); transition: opacity .9s cubic-bezier(.16, 1, .3, 1), transform .9s cubic-bezier(.16, 1, .3, 1); }
.apparait.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .apparait { opacity: 1; transform: none; }
}

/* Programme détaillé */
.module-detail { margin-bottom: 1.4rem; display: grid; grid-template-columns: auto 1fr; gap: 1.6rem; align-items: start; scroll-margin-top: 100px; }
@media (max-width: 640px) { .module-detail { grid-template-columns: 1fr; } .module-detail > div:first-child { display: flex; align-items: center; gap: 1rem; } .module-detail > div:first-child .rond-ico { margin: 0 !important; } }

/* Parties du module en cours, dans le sommaire */
.sommaire__parties { list-style: none; margin: .2rem 0 .6rem; padding: 0 0 0 .5rem; display: grid; gap: .05rem; border-left: 2px solid var(--or-clair); margin-left: 1.3rem; }
.sommaire .sommaire__parties a { display: block; padding: .35rem .6rem; font-size: .84rem; color: var(--gris); border-radius: 8px; }
.sommaire .sommaire__parties a:hover { color: var(--marine); background: var(--fond); }
.sommaire .sommaire__parties a.partie-active { color: var(--or-fonce); font-weight: 600; background: var(--or-pale); }

/* Chiffres alignés (Playfair affiche par défaut des chiffres « elzéviriens ») */
.module-carte__num, .chiffre b, .offre__prix, .etape__num, .jauge__cercle span, .sujet__compteur b, h1, h2, h3 { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }

/* Signaler un message du forum */
.signaler { display: inline-block; }
.signaler summary { list-style: none; cursor: pointer; }
.signaler summary::-webkit-details-marker { display: none; }
.signaler[open] { display: block; width: 100%; }
.signaler__form { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .6rem; }
.signaler__form select, .signaler__form input { width: auto; flex: 1; min-width: 180px; padding: .5rem .7rem; font-size: .9rem; }
.message__actions:not(:has(*)) { display: none; }
