/* ==========================================================================
   Les Compagnons du Viager — feuille de style
   Principes : le bleu nuit porte le texte, l'or souligne sans jamais porter
   d'information sur fond clair, corps de texte généreux, cibles de 48 px.
   ========================================================================== */

:root {
  --nuit: #0D1B2E;          /* bleu encre profond (contraste >15:1 sur blanc/sable) */
  --nuit-profond: #081220;  /* pied de page & profondeur */
  --cypres: #1B3027;        /* vert cyprès patrimonial (rupture organique) */
  --blanc: #FFFFFF;         /* blanc craie lumineux */
  --ivoire: #F6F1E7;        /* sable chaud éditorial */
  --papier: #FFFFFF;        /* surfaces surélevées lumineuses */
  --or: #C2A265;            /* or champagne : filets, ornements, accents sur sombre */
  --or-texte: #765A22;      /* or encre lisible sur blanc/sable (>5,5:1 AA) */
  --sauge: #7C877E;         /* ornement */
  --sauge-texte: #525B55;   /* texte secondaire (>6,2:1 AA) */
  --trait: rgba(13, 27, 46, .12);

  --f-titre: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --f-texte: "Atkinson Hyperlegible", "Atkinson Hyperlegible Next", Verdana, "Segoe UI", sans-serif;

  --mesure: 39rem;
  --large: 76rem;
  --pas: clamp(1.1rem, 3vw, 2rem);
}

/* Taille de texte choisie par le visiteur (bouton « Agrandir le texte ») */
html { font-size: 100%; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html[data-taille="2"] { font-size: 112.5%; }
html[data-taille="3"] { font-size: 125%; }

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

body {
  margin: 0;
  background: var(--blanc);
  color: var(--nuit);
  font-family: var(--f-texte);
  font-size: 1.125rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

/* ---------- Typographie ---------- */
h1, h2, h3 {
  font-family: var(--f-titre);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 em, h2 em, h3 em { font-style: italic; font-weight: 500; }
h1 { font-size: clamp(2.6rem, 5.2vw, 4.4rem); }
h2 { font-size: clamp(2.1rem, 3.6vw, 3.1rem); }
h3 { font-size: 1.65rem; }
h4 { font-size: 1.1875rem; margin: 1.5em 0 .25em; }
p, ul, ol { margin: 0 0 1em; }
.chapo { font-size: 1.25rem; line-height: 1.58; max-width: var(--mesure); color: var(--sauge-texte); }
.discret { color: var(--sauge-texte); font-size: .98rem; }

a { color: var(--nuit); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--or-texte); text-decoration-thickness: 2px; }

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

.visuellement-cache {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.lien-evitement { position: absolute; left: -999px; top: 0; background: var(--nuit); color: var(--ivoire); padding: .75rem 1rem; z-index: 10; }
.lien-evitement:focus { left: 1rem; }

/* ---------- Mise en page ---------- */
.conteneur { width: min(100% - 2 * var(--pas), var(--large)); margin-inline: auto; }
.bloc { padding-block: clamp(3rem, 8vw, 6rem); }
.bloc + .bloc { border-top: 1px solid var(--trait); }
.texte { max-width: var(--mesure); }

/* ---------- Boutons ---------- */
.bouton, button.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3.1rem; padding: .8rem 1.6rem;
  font: 700 1.02rem/1.2 var(--f-texte);
  letter-spacing: .02em;
  background: var(--nuit); color: var(--blanc);
  border: 1.5px solid var(--nuit); border-radius: 2px;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .15s ease;
}
.bouton:hover { background: var(--nuit-profond); border-color: var(--or); color: var(--blanc); }
.bouton-clair { background: transparent; color: var(--nuit); border-color: rgba(13, 27, 46, .35); }
.bouton-clair:hover { background: var(--nuit); border-color: var(--nuit); color: var(--blanc); }
.bouton-or { background: var(--or); color: var(--nuit-profond); border-color: var(--or); }
.bouton-or:hover { background: #D4B77A; border-color: #D4B77A; color: var(--nuit-profond); }
.bouton-fantome { background: rgba(255, 255, 255, .08); color: var(--blanc); border-color: rgba(255, 255, 255, .55); backdrop-filter: blur(4px); }
.bouton-fantome:hover { background: var(--blanc); border-color: var(--blanc); color: var(--nuit); }
.sur-nuit .bouton, .sur-cypres .bouton { background: var(--blanc); color: var(--nuit); border-color: var(--blanc); }
.sur-nuit .bouton:hover, .sur-cypres .bouton:hover { background: var(--or); border-color: var(--or); color: var(--nuit-profond); }
.sur-nuit .bouton-or, .sur-cypres .bouton-or { background: var(--or); color: var(--nuit-profond); border-color: var(--or); }
.sur-nuit .bouton-or:hover, .sur-cypres .bouton-or:hover { background: #D4B77A; border-color: #D4B77A; color: var(--nuit-profond); }
.sur-nuit .bouton-clair, .sur-cypres .bouton-clair,
.sur-nuit .bouton-fantome, .sur-cypres .bouton-fantome { background: transparent; color: var(--blanc); border-color: rgba(255, 255, 255, .55); }
.sur-nuit .bouton-clair:hover, .sur-cypres .bouton-clair:hover,
.sur-nuit .bouton-fantome:hover, .sur-cypres .bouton-fantome:hover { background: var(--blanc); border-color: var(--blanc); color: var(--nuit); }
.actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.75rem; }

/* ---------- En-tête ---------- */
.bandeau-utile { background: var(--nuit); color: var(--ivoire); font-size: 1rem; }
.bandeau-utile .conteneur { display: flex; justify-content: space-between; align-items: center; gap: .75rem 1.25rem; min-height: 3.1rem; padding-block: .25rem; flex-wrap: wrap; }
.bandeau-actions { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.bandeau-utile a { color: var(--ivoire); }
.bandeau-utile a:hover { color: var(--or); }
.taille-texte { background: none; border: 1px solid rgba(243,239,230,.55); color: var(--ivoire); font: inherit; padding: .35rem .85rem; border-radius: 2px; cursor: pointer; min-height: 2.75rem; }
.taille-texte:hover { border-color: var(--or); color: var(--or); }

.entete { border-bottom: 1px solid var(--trait); background: var(--blanc); }
.entete .conteneur { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 5.5rem; }

.marque { display: flex; align-items: center; gap: .85rem; text-decoration: none; color: var(--nuit); }
.marque:hover { color: var(--nuit); }
.monogramme { font-family: var(--f-titre); font-weight: 600; font-size: 2.3rem; line-height: 1; letter-spacing: -.12em; }
.monogramme span { color: var(--or); margin-left: -.05em; }
.monogramme-svg { flex-shrink: 0; display: block; }
.marque-nom { font-family: var(--f-titre); font-weight: 600; font-size: 1.15rem; line-height: 1.05; letter-spacing: .14em; text-transform: uppercase; }
.marque-nom small { display: flex; align-items: center; gap: .45rem; font-size: .76em; letter-spacing: .22em; margin-top: .18rem; }
.filet-or { display: inline-block; width: 1.4rem; height: 1px; background: var(--or); }

.surtitre-or {
  font-family: var(--f-texte);
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--or-texte);
  margin: 0 0 .65rem;
  display: flex;
  align-items: center;
  gap: .65rem;
}
.surtitre-or::before {
  content: "";
  display: inline-block;
  width: 1.75rem;
  height: 2px;
  background: var(--or);
}

.nav-principale ul { list-style: none; display: flex; align-items: center; gap: .35rem 1.35rem; margin: 0; padding: 0; flex-wrap: wrap; }
.nav-principale a { display: block; padding: .5rem 0; text-decoration: none; font-weight: 700; font-size: 1.02rem; border-bottom: 2px solid transparent; }
.nav-principale a:hover, .nav-principale a[aria-current="page"] { border-bottom-color: var(--or); color: var(--nuit); }
.nav-principale .bouton-nav {
  display: inline-flex;
  min-height: 2.75rem;
  padding: .45rem 1rem;
  font-size: .98rem;
  border-bottom: 2px solid var(--nuit);
  color: var(--ivoire);
}
.nav-principale .bouton-nav:hover,
.nav-principale .bouton-nav[aria-current="page"] {
  background: var(--nuit-profond);
  border-color: var(--or);
  color: var(--ivoire);
}
.menu-mobile { display: none; }

@media (max-width: 66rem) {
  .nav-principale { display: none; }
  .menu-mobile { display: block; }
  .menu-mobile summary { list-style: none; cursor: pointer; font-weight: 700; padding: .6rem 1rem; min-height: 2.75rem; display: inline-flex; align-items: center; border: 2px solid var(--nuit); border-radius: 2px; }
  .menu-mobile summary::-webkit-details-marker { display: none; }
  .menu-mobile[open] summary { background: var(--nuit); color: var(--ivoire); }
  .menu-mobile ul { position: absolute; left: 0; right: 0; background: var(--papier); list-style: none; margin: 0; padding: 1rem var(--pas) 1.5rem; border-bottom: 2px solid var(--or); z-index: 5; }
  .menu-mobile li a { display: block; padding: .8rem 0; font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--trait); }
  .menu-mobile li a[aria-current="page"] { color: var(--or-texte); }
  .entete { position: relative; }
  .marque-nom { font-size: 1rem; }
}

/* ---------- Accueil : Hero plein cadre & Salon de simulation ---------- */
.hero-maison {
  position: relative;
  min-height: clamp(32rem, 74vh, 46rem);
  display: flex;
  align-items: flex-end;
  padding-block: clamp(4rem, 8vw, 6.5rem) clamp(6.5rem, 11vw, 8.5rem);
  background: var(--nuit-profond);
  color: var(--blanc);
  overflow: hidden;
}
.hero-fond {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-fond img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  display: block;
  filter: saturate(.92) contrast(1.04) brightness(.86);
}
.hero-fond::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(8, 18, 32, .84) 0%,
    rgba(8, 18, 32, .62) 48%,
    rgba(8, 18, 32, .22) 100%
  ), linear-gradient(
    180deg,
    rgba(8, 18, 32, .18) 0%,
    rgba(8, 18, 32, .55) 100%
  );
}
.hero-contenu {
  position: relative;
  z-index: 1;
}
.hero-surtitre {
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--or);
  margin: 0 0 1.1rem;
  display: flex;
  align-items: center;
  gap: .85rem;
}
.hero-surtitre::before {
  content: "";
  width: 2.2rem;
  height: 1px;
  background: var(--or);
}
.hero-maison h1 {
  max-width: 19ch;
  font-size: clamp(2.65rem, 5.2vw, 4.5rem);
  color: var(--blanc);
  margin: 0 0 .45em;
  text-shadow: 0 2px 24px rgba(8, 18, 32, .35);
}
.hero-maison h1 em {
  color: #EBD8AE;
}
.hero-chapo {
  max-width: 38rem;
  font-size: 1.22rem;
  line-height: 1.58;
  color: rgba(255, 255, 255, .92);
  margin: 0 0 2rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-bottom: 2.25rem;
}
.hero-garanties {
  list-style: none;
  padding: 1.25rem 0 0;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, .24);
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 2.25rem;
  font-size: .96rem;
  color: rgba(255, 255, 255, .88);
}
.hero-garanties li {
  display: flex;
  align-items: center;
  gap: .55rem;
}
.hero-garanties li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--or);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.salon-simulation {
  position: relative;
  z-index: 2;
  margin-top: -4.25rem;
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
}
.salon-titre {
  font-size: clamp(1.75rem, 2.8vw, 2.35rem);
  margin: 0;
  color: var(--nuit);
}

.carte-simulateur-hero {
  background: var(--blanc);
  border: 1px solid rgba(194, 162, 101, .45);
  box-shadow: 0 28px 60px -24px rgba(13, 27, 46, .22);
  padding: clamp(1.75rem, 4vw, 3rem) clamp(1.5rem, 4.5vw, 3.5rem);
  position: relative;
}
.carte-simulateur-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--nuit) 0%, var(--or) 50%, var(--nuit) 100%);
}
.carte-simulateur-entete {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--trait);
}
.badge-or {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--or-texte);
}
.salon-grille {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(18rem, .92fr);
  gap: 2.25rem 3rem;
  align-items: stretch;
}
.salon-saisie {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.salon-apercu {
  background: var(--nuit);
  color: var(--blanc);
  padding: 1.75rem 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
}
.salon-apercu::before {
  content: "";
  position: absolute;
  inset: .5rem;
  border: 1px solid rgba(194, 162, 101, .45);
  pointer-events: none;
}
.salon-apercu-titre {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--or);
  margin: 0;
  display: flex;
  align-items: center;
  gap: .65rem;
}
.salon-apercu-titre::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(194, 162, 101, .45);
}
.salon-apercu-chiffres {
  display: grid;
  gap: 1.15rem;
}
.salon-apercu-bloc {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.salon-apercu-bloc + .salon-apercu-bloc {
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, .14);
}
.salon-apercu-label {
  font-size: .92rem;
  color: rgba(246, 241, 231, .84);
}
.salon-apercu-valeur {
  font-family: var(--f-titre);
  font-size: clamp(2.1rem, 3vw, 2.75rem);
  font-weight: 600;
  line-height: 1.05;
  color: #EBD8AE;
  font-variant-numeric: lining-nums tabular-nums;
}
.salon-apercu-sous {
  font-size: .88rem;
  color: rgba(246, 241, 231, .72);
}
.salon-apercu-note {
  margin: 0;
  padding-top: .85rem;
  border-top: 1px solid rgba(194, 162, 101, .35);
  font-family: var(--f-titre);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.3;
  color: var(--ivoire);
}
.groupe-insecable { white-space: nowrap; }
@media (max-width: 60rem) {
  .salon-grille { grid-template-columns: 1fr; gap: 1.75rem; }
}

.carte-simulateur-liens {
  margin: 1.75rem 0 0;
  padding-top: 1.15rem;
  border-top: 1px solid var(--trait);
  font-size: 1rem;
}

/* ---------- Bandeau des 3 piliers (Sable chaud, esprit planche de marque) ---------- */
.bandeau-piliers {
  background: var(--ivoire);
  color: var(--nuit);
  padding-block: clamp(3.25rem, 6.5vw, 4.75rem);
  border-top: 1px solid rgba(194, 162, 101, .35);
  border-bottom: 1px solid rgba(194, 162, 101, .35);
}
.piliers-signature {
  text-align: center;
  font-family: var(--f-titre);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  color: var(--nuit);
  margin: 0 0 2.5rem;
}
.piliers-signature::after {
  content: "";
  display: block;
  width: 3.5rem;
  height: 1px;
  background: var(--or);
  margin: .85rem auto 0;
}
.piliers-grille {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 3rem;
  text-align: center;
}
.pilier-item {
  padding: 0 1rem;
  position: relative;
}
.pilier-item + .pilier-item::before {
  content: "";
  position: absolute;
  left: -1.5rem;
  top: 12%;
  bottom: 12%;
  width: 1px;
  background: rgba(194, 162, 101, .45);
}
.pilier-icone {
  color: var(--or-texte);
  margin-bottom: .9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.pilier-item h2 {
  font-size: 1.65rem;
  color: var(--nuit);
  margin-bottom: .45rem;
}
.pilier-item p {
  font-size: 1rem;
  color: var(--sauge-texte);
  margin: 0 auto;
  max-width: 26ch;
}
@media (max-width: 52rem) {
  .salon-simulation { margin-top: -2rem; }
  .piliers-grille { grid-template-columns: 1fr; gap: 2.25rem; }
  .pilier-item + .pilier-item::before { display: none; }
}

.phrase {
  font-family: var(--f-titre);
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  font-weight: 500;
  line-height: 1.65;
  max-width: 48ch;
  margin: 0;
}
.salon-saisie .phrase { max-width: none; }
.phrase label { display: inline; }
.phrase input, .phrase select {
  font: inherit; font-weight: 700; color: var(--nuit);
  background: transparent; border: 0; border-bottom: 2px solid var(--or);
  padding: 0 .15em; border-radius: 0; text-align: center;
  appearance: none; -webkit-appearance: none;
}
.phrase select {
  padding-right: 1em; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--or-texte) 50%), linear-gradient(-45deg, transparent 50%, var(--or-texte) 50%);
  background-size: .3em .3em; background-repeat: no-repeat;
  background-position: right .45em top 58%, right .15em top 58%;
}
.phrase input:focus, .phrase select:focus { background-color: var(--papier); outline-offset: 2px; }
.phrase input[name="age1"], .phrase input[name="age2"] { width: 2.4ch; }
.phrase input[name="valeur"] { width: 7.2ch; }
.phrase-suite[hidden] { display: none; }
.phrase .lien-phrase { font-family: var(--f-texte); font-size: 1rem; font-weight: 700; background: none; border: 0; color: var(--or-texte); text-decoration: underline; text-underline-offset: .2em; cursor: pointer; padding: .25rem 0; vertical-align: middle; }
.phrase-envoi { margin-top: 1.75rem; display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.erreur { color: #8A1C1C; font-weight: 700; background: #F8E9E6; border-left: 4px solid #8A1C1C; padding: .75rem 1rem; max-width: var(--mesure); }

/* ---------- Le résultat : la « lettre » ---------- */
.lettre {
  background: var(--nuit); color: var(--ivoire);
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 5vw, 4rem);
  margin-top: 2.5rem;
  position: relative;
}
.lettre::before { /* double filet doré, rappel du logo */
  content: ""; position: absolute; inset: .6rem; border: 1px solid rgba(185,154,91,.55); pointer-events: none;
}
.lettre-titre { display: flex; align-items: center; gap: 1rem; color: var(--or); font-size: 1rem; font-weight: 700; margin-bottom: 1.5rem; }
.lettre-titre::after { content: ""; flex: 1; height: 1px; background: var(--or); opacity: .6; }
.lettre-phrase { font-family: var(--f-titre); font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.3; font-weight: 500; margin: 0 0 1.5rem; max-width: 26ch; }
.lettre-phrase span { display: block; }
.lettre-phrase strong { font-weight: 700; white-space: nowrap; }
.lettre .discret, .sur-nuit .discret { color: rgba(243,239,230,.82); }
.lettre a { color: var(--ivoire); }
.lettre a:hover { color: var(--or); }
.lettre details { margin-top: 1.5rem; border-top: 1px solid rgba(243,239,230,.25); padding-top: 1rem; }
.lettre summary { cursor: pointer; font-weight: 700; padding: .4rem 0; }
.calcul-detail { display: grid; grid-template-columns: 1fr auto; gap: .35rem 2rem; max-width: 34rem; margin: 1rem 0; font-variant-numeric: tabular-nums; }
.calcul-detail dt { color: rgba(243,239,230,.85); }
.calcul-detail dd { margin: 0; text-align: right; font-weight: 700; }
@media (prefers-reduced-motion: no-preference) {
  .lettre.apparait { animation: deplie .6s ease-out both; }
  @keyframes deplie { from { opacity: 0; transform: translateY(.75rem); } to { opacity: 1; transform: none; } }
}
@media print {
  @page { size: A4; margin: 14mm 15mm; }
  * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
  .bandeau-utile, .entete, .pied, .actions, .phrase-envoi, .ne-pas-imprimer, .lien-evitement,
  .hero-maison, .bandeau-piliers, .carte-simulateur-hero { display: none !important; }
  .salon-simulation { margin-top: 0 !important; padding: 0 !important; }
  .lettre {
    background: #F6F1E7 !important;
    color: #0D1B2E !important;
    border: 1.5px solid #0D1B2E !important;
    padding: 16pt 18pt !important;
    margin-top: 0 !important;
    break-inside: avoid;
  }
  .lettre::before { border-color: #C2A265 !important; }
  .lettre .discret, .lettre .lettre-titre, .lettre .kpi-label, .lettre .kpi-sous,
  .lettre .calcul-detail dt, .lettre .decomposition-titre { color: #525B55 !important; }
  .lettre .kpi-carte { background: #fff !important; border: 1px solid #D4CFC3 !important; border-top: 2px solid #C2A265 !important; }
  .lettre .kpi-valeur { color: #0D1B2E !important; }
  .lettre .decomposition-bloc { background: #fff !important; border: 1px solid #D4CFC3 !important; }
  .lettre a { color: #0D1B2E !important; text-decoration: none; }
}

/* ---------- Rythmes de sections & En-têtes éditoriaux ---------- */
.sur-blanc { background: var(--blanc); }
.sur-sable { background: var(--ivoire); }
.sur-cypres { background: var(--cypres); color: var(--blanc); }
.sur-cypres h2, .sur-cypres h3 { color: var(--blanc); }
.sur-cypres h2 em { color: #EBD8AE; }
.sur-cypres .chapo { color: rgba(255, 255, 255, .9); }
.sur-cypres a { color: var(--blanc); }
.surtitre-clair { color: var(--or); }

.entete-section {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 1.5rem 4rem;
  align-items: end;
  margin-bottom: 3rem;
}
.entete-section h2 { margin-bottom: 0; }
.entete-section .chapo { margin-bottom: 0; }
@media (max-width: 58rem) {
  .entete-section { grid-template-columns: 1fr; gap: 1rem; margin-bottom: 2.25rem; }
}

/* ---------- Trois formules (mise en page éditoriale sans boîtes lourdes) ---------- */
.formules-editorial {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--trait);
  padding-top: 2.25rem;
}
.formule-col {
  display: flex;
  flex-direction: column;
  padding-inline: 0 2.25rem;
}
.formule-col + .formule-col {
  padding-inline: 2.25rem;
  border-left: 1px solid var(--trait);
}
.formule-col:last-child { padding-right: 0; }
.formule-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1rem;
}
.chiffre-editorial {
  font-family: var(--f-titre);
  font-size: 2.6rem;
  font-weight: 500;
  line-height: 1;
  color: var(--or);
}
.etiquette-fine {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--or-texte);
}
.formule-col h3 { font-size: 1.9rem; margin-bottom: .65rem; }
.formule-col h3 a { text-decoration: none; }
.formule-col h3 a:hover { color: var(--or-texte); }
.formule-col .pour-qui {
  color: var(--sauge-texte);
  font-size: .98rem;
  padding-top: 1rem;
  margin-top: auto;
  border-top: 1px solid var(--trait);
}
.formule-lien { margin: .85rem 0 0; font-weight: 700; font-size: 1rem; }
.formule-lien a { color: var(--nuit); text-decoration: none; border-bottom: 1px solid var(--or); padding-bottom: 2px; }
.formule-lien a:hover { color: var(--or-texte); }
@media (max-width: 58rem) {
  .formules-editorial { grid-template-columns: 1fr; gap: 2.25rem; }
  .formule-col, .formule-col + .formule-col { padding: 0; border-left: 0; }
  .formule-col + .formule-col { padding-top: 2rem; border-top: 1px solid var(--trait); }
}

.formules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2.5rem; }
.formule {
  background: var(--blanc);
  border: 1px solid var(--trait);
  border-top: 2px solid var(--or);
  padding: 2rem 1.85rem 1.75rem;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.formule:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -18px rgba(13, 27, 46, .14);
}
.formule h3 { margin-bottom: .5rem; font-size: 1.75rem; }
.formule h3 a { text-decoration: none; }
.formule h3 a:hover { text-decoration: underline; }
@media (max-width: 58rem) {
  .formules { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ---------- Situations types (Cartes visuelles) ---------- */
.situations-grille {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 2.25rem;
}
.situation-carte {
  background: var(--blanc);
  border: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 18px 40px -22px rgba(13, 27, 46, .16);
  transition: transform .25s ease, box-shadow .25s ease;
}
.situation-carte:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 48px -22px rgba(13, 27, 46, .22);
}
.situation-visuel {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #E5DFD2;
}
.situation-visuel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(.92) contrast(1.03);
}
.situation-badge {
  position: absolute;
  bottom: .75rem;
  left: .75rem;
  background: var(--nuit);
  color: var(--ivoire);
  border: 1px solid var(--or);
  font-size: .88rem;
  font-weight: 700;
  padding: .25rem .7rem;
}
.situation-corps {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.situation-corps h3 {
  font-size: 1.65rem;
  margin-bottom: .5rem;
}
.situation-corps h3 small {
  display: block;
  font-family: var(--f-texte);
  font-size: .98rem;
  font-weight: 400;
  color: var(--sauge-texte);
  margin-top: .2rem;
}
.situation-corps .envie {
  font-style: italic;
  color: var(--nuit);
  margin-bottom: 1.25rem;
}
.situation-chiffres {
  margin-top: auto;
  background: var(--ivoire);
  border-top: 2px solid var(--or);
  padding: 1rem 1.1rem;
  display: grid;
  gap: .55rem;
}
.chiffre-principal {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: .5rem;
}
.chiffre-label {
  font-size: .95rem;
  color: var(--sauge-texte);
}
.chiffre-principal strong {
  font-family: var(--f-titre);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--nuit);
  font-variant-numeric: lining-nums;
}
.chiffre-base {
  margin: .25rem 0 0;
  padding-top: .45rem;
  border-top: 1px solid var(--trait);
  font-size: .92rem;
}
@media (max-width: 62rem) {
  .situations-grille { grid-template-columns: 1fr; }
}

/* ---------- Étapes & Engagements côte à côte ---------- */
.etapes-engagements-grille {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .95fr);
  gap: 3rem 4rem;
  align-items: start;
}
.etapes { list-style: none; padding: 0; margin: 2rem 0 0; counter-reset: etape; display: grid; gap: 1.5rem; }
.etapes li { counter-increment: etape; display: grid; grid-template-columns: 3.2rem 1fr; gap: 1.1rem; align-items: start; }
.etapes li::before {
  content: counter(etape);
  font-family: var(--f-titre);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
  color: var(--nuit);
  background: var(--papier);
  border: 2px solid var(--or);
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.etapes h3 { font-family: var(--f-texte); font-size: 1.1875rem; font-weight: 700; margin: .15rem 0 .25rem; }
.etapes p { margin: 0; }

.carte-engagements {
  background: var(--ivoire);
  border: 1px solid rgba(194, 162, 101, .45);
  padding: 2.25rem 2.5rem;
  position: relative;
}
.carte-engagements::before {
  content: "";
  position: absolute;
  inset: .55rem;
  border: 1px solid rgba(194, 162, 101, .28);
  pointer-events: none;
}
.engagements-liste {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.25rem;
}
.engagements-liste > div {
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--trait);
}
.engagements-liste > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.engagements-liste h3 { font-size: 1.35rem; margin-bottom: .2rem; }
.engagements-liste p { margin: 0; font-size: 1.05rem; }
@media (max-width: 58rem) {
  .etapes-engagements-grille { grid-template-columns: 1fr; }
}

/* ---------- Bandeaux Proches & Territoires ---------- */
.sur-nuit { background: var(--nuit); color: var(--ivoire); }
.sur-nuit a { color: var(--ivoire); }
.sur-nuit a:hover { color: var(--or); }
.sur-sauge { background: #E4E6DF; }

.proches-grille {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 2.5rem 3.5rem;
  align-items: center;
}
.proches-visuel {
  margin: 0;
  background: transparent;
  padding: .65rem;
  border: 1px solid rgba(194, 162, 101, .55);
}
.proches-visuel img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  filter: saturate(.92) contrast(1.03);
}
@media (max-width: 56rem) {
  .proches-grille { grid-template-columns: 1fr; }
}

.grille-territoires {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr));
  gap: 1.5rem;
  margin-top: 2.25rem;
}
.carte-territoire {
  display: flex;
  flex-direction: column;
  background: var(--nuit-profond);
  border: 1px solid rgba(185, 154, 91, .35);
  text-decoration: none;
  color: var(--ivoire);
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease;
}
.carte-territoire:hover {
  transform: translateY(-3px);
  border-color: var(--or);
  color: var(--ivoire);
}
.carte-territoire-claire {
  background: var(--papier);
  color: var(--nuit);
  border: 1px solid var(--trait);
  box-shadow: 0 10px 26px -14px rgba(20, 45, 78, .12);
}
.carte-territoire-claire:hover {
  color: var(--nuit);
  border-color: var(--or);
}
.carte-territoire-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #1B365D;
}
.carte-territoire-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(.9) contrast(1.04);
  transition: transform .55s ease, filter .35s ease;
}
.carte-territoire:hover .carte-territoire-image img {
  transform: scale(1.04);
  filter: saturate(1) contrast(1.05);
}
.carte-territoire-corps {
  padding: 1.35rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.carte-territoire-corps h2, .carte-territoire-corps h3 {
  font-size: 1.55rem;
  margin-bottom: .4rem;
  color: inherit;
}
.carte-territoire-corps p {
  font-size: 1rem;
  line-height: 1.5;
  opacity: .9;
  margin-bottom: 1rem;
}
.carte-territoire-lien {
  margin-top: auto;
  font-weight: 700;
  font-size: .98rem;
  color: var(--or);
}
.carte-territoire-claire .carte-territoire-lien {
  color: var(--or-texte);
}

/* ---------- Cartes Articles ---------- */
.grille-articles-accueil {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.grille-articles-page {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}
.carte-article {
  background: var(--blanc);
  border: 0;
  border-top: 1px solid var(--nuit);
  padding: 1.5rem 0 .5rem;
  display: flex;
  flex-direction: column;
}
.carte-article-entete {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: .75rem;
}
.numero-or {
  font-family: var(--f-titre);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--or-texte);
}
.carte-article h2, .carte-article h3 {
  font-size: 1.5rem;
  margin: .4rem 0 .6rem;
}
.carte-article h2 a, .carte-article h3 a {
  text-decoration: none;
}
.carte-article h2 a:hover, .carte-article h3 a:hover {
  text-decoration: underline;
}
.carte-article p {
  font-size: 1.02rem;
  color: var(--sauge-texte);
}
.carte-article-pied {
  margin: auto 0 0;
  padding-top: .75rem;
  font-weight: 700;
}
@media (max-width: 58rem) {
  .grille-articles-accueil, .grille-articles-page { grid-template-columns: 1fr; }
}

/* ---------- Pages éditoriales ---------- */
.fil { font-size: .96rem; padding-top: 1.25rem; background: var(--ivoire); }
.fil ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .25rem; }
.fil li + li::before { content: "/"; margin-right: .35rem; color: var(--or-texte); }
.page-entete { background: var(--ivoire); padding-block: 2rem 3rem; border-bottom: 1px solid rgba(194, 162, 101, .35); }
.page-entete h1 { max-width: 32ch; }
.page-entete .chapo { max-width: 54rem; }
.page-entete-grille {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .95fr);
  gap: 2rem 3.5rem;
  align-items: center;
}
.page-entete-grille h1 { max-width: 20ch; }
.page-entete-grille .chapo { max-width: var(--mesure); }
@media (max-width: 58rem) {
  .page-entete-grille { grid-template-columns: 1fr; }
}
.page-corps { display: grid; grid-template-columns: minmax(0, 1fr) minmax(18rem, 22rem); gap: 3rem; padding-block: 3rem 5rem; }
.page-corps .formulaire { max-width: 100%; }
.page-corps .prose { max-width: 48rem; }
@media (max-width: 58rem) { .page-corps { grid-template-columns: 1fr; gap: 2.5rem; } }
.prose h2 { font-size: 2rem; margin-top: 2.2em; }
.prose h3 { font-size: 1.5rem; margin-top: 1.8em; }
.prose li { margin-bottom: .4em; }
.prose blockquote { margin: 2rem 0; padding: .25rem 0 .25rem 1.5rem; border-left: 2px solid var(--or); font-family: var(--f-titre); font-size: 1.6rem; line-height: 1.35; }
.prose table { border-collapse: collapse; width: 100%; margin: 1.5rem 0; font-size: 1.0625rem; font-variant-numeric: tabular-nums; }
.prose th, .prose td { text-align: left; padding: .6rem .75rem .6rem 0; border-bottom: 1px solid var(--trait); vertical-align: top; }
.prose th { font-weight: 700; border-bottom: 2px solid var(--nuit); }
.prose dt { font-weight: 700; margin-top: 1rem; }
.prose dd { margin: 0 0 .5rem; }
.tableau-defile { overflow-x: auto; }

.encart {
  background: var(--papier);
  border: 1px solid var(--trait);
  border-top: 3px solid var(--or);
  padding: 1.5rem 1.6rem;
  position: sticky;
  top: 1.5rem;
  align-self: start;
  box-shadow: 0 10px 24px -14px rgba(20, 45, 78, .08);
}
.encart h2 { font-size: 1.55rem; }
.encart ul { list-style: none; padding: 0; }
.encart li { padding: .45rem 0; border-bottom: 1px solid var(--trait); }

.sommaire-enfants { display: grid; gap: 1.25rem; margin: 2.25rem 0; }
.sommaire-enfants a {
  display: block;
  padding: 1.35rem 1.6rem;
  background: var(--papier);
  border: 1px solid var(--trait);
  border-left: 3px solid var(--or);
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.sommaire-enfants a:hover {
  transform: translateX(3px);
  box-shadow: 0 8px 20px -12px rgba(20, 45, 78, .12);
}
.sommaire-enfants strong { display: block; font-family: var(--f-titre); font-size: 1.65rem; font-weight: 600; margin-bottom: .25rem; }
.sommaire-enfants span { color: var(--sauge-texte); display: block; }
.sommaire-enfants .carte-enfant-lien {
  margin-top: .6rem;
  font-weight: 700;
  font-size: .98rem;
  color: var(--or-texte);
}
.sommaire-enfants a:hover strong { text-decoration: underline; }

/* ---------- Formulaires & Cartes de saisie ---------- */
.formulaire { display: grid; gap: 1.25rem; max-width: 36rem; }
.carte-saisie {
  background: var(--papier);
  border: 1px solid rgba(185, 154, 91, .45);
  border-top: 4px solid var(--nuit);
  padding: clamp(1.5rem, 3vw, 2.1rem);
  box-shadow: 0 14px 34px -16px rgba(20, 45, 78, .12);
  max-width: 100%;
}
.carte-saisie-large {
  max-width: 100%;
  margin-bottom: 2.75rem;
}
.carte-saisie-entete {
  padding-bottom: 1rem;
  margin-bottom: .35rem;
  border-bottom: 1px solid var(--trait);
}
.carte-saisie-entete h2 {
  font-size: 1.65rem;
  margin: 0;
  color: var(--nuit);
}
.carte-saisie-entete p {
  margin: .25rem 0 0;
  font-size: .98rem;
  color: var(--sauge-texte);
}
.champ { display: grid; gap: .35rem; }
.champ label, .champ legend { font-weight: 700; font-size: 1.02rem; }
.champ .aide { font-size: .94rem; color: var(--sauge-texte); line-height: 1.4; }
.champ input, .champ select, .champ textarea {
  font: inherit; color: var(--nuit); background: #fff;
  border: 1.5px solid rgba(20,45,78,.38); border-radius: 2px; padding: .6rem .8rem; min-height: 2.9rem; width: 100%;
  font-variant-numeric: tabular-nums;
}
.champ input:focus, .champ select:focus, .champ textarea:focus { border-color: var(--nuit); outline: 3px solid var(--or); outline-offset: 1px; }
.champ-ligne { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: 1rem; }
.champ-ligne-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 1.15rem; }
fieldset.champ { border: 0; padding: 0; margin: 0; }
.choix { display: flex; flex-wrap: wrap; gap: .5rem; }
.choix label {
  display: inline-flex; align-items: center; gap: .5rem; font-weight: 400;
  padding: .55rem .85rem; border: 1.5px solid rgba(20,45,78,.28); background: #fff;
  border-radius: 2px; cursor: pointer; min-height: 2.85rem; font-size: .98rem;
  transition: border-color .15s ease, background-color .15s ease;
}
.choix input { width: 1.15rem; height: 1.15rem; min-height: 0; accent-color: var(--nuit); margin: 0; }
.choix label:has(input:checked) {
  border-color: var(--nuit);
  background: rgba(185, 154, 91, .16);
  font-weight: 700;
}
.choix-vertical {
  display: grid;
  gap: .55rem;
}
.choix-vertical label {
  display: grid;
  grid-template-columns: 1.25rem 1fr;
  align-items: start;
  gap: .65rem;
  padding: .75rem .95rem;
  border: 1.5px solid rgba(20,45,78,.25);
  background: #fff;
  border-radius: 2px;
  cursor: pointer;
  font-weight: 400;
}
.choix-vertical label input {
  width: 1.15rem;
  height: 1.15rem;
  min-height: 0;
  margin-top: .2rem;
  accent-color: var(--nuit);
}
.choix-vertical label strong {
  display: block;
  font-weight: 700;
  color: var(--nuit);
  font-size: 1.02rem;
}
.choix-vertical label small {
  display: block;
  font-size: .9rem;
  color: var(--sauge-texte);
  line-height: 1.35;
  margin-top: .1rem;
}
.choix-vertical label:has(input:checked) {
  border-color: var(--nuit);
  border-left: 4px solid var(--or);
  background: rgba(185, 154, 91, .14);
}
.presets {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: .25rem;
}
.preset-btn {
  font: inherit;
  font-size: .92rem;
  font-weight: 700;
  color: var(--nuit);
  background: var(--ivoire);
  border: 1px solid rgba(20, 45, 78, .28);
  padding: .45rem .85rem;
  min-height: 2.75rem;
  cursor: pointer;
  border-radius: 2px;
  transition: all .15s ease;
}
.preset-btn:hover {
  border-color: var(--or);
  background: rgba(185, 154, 91, .22);
}
.sous-bloc-saisie {
  background: var(--ivoire);
  border-left: 3px solid var(--or);
  padding: .9rem 1rem;
  display: grid;
  gap: .85rem;
}
.piege { position: absolute; left: -9999px; }
.flash { background: var(--papier); border-left: 4px solid var(--or); padding: .9rem 1.1rem; max-width: var(--mesure); }

/* ---------- Simulateurs & Tableaux de bord ---------- */
.simu { display: grid; grid-template-columns: minmax(0, 27rem) minmax(0, 1fr); gap: 2.75rem; padding-block: 2.5rem 5rem; align-items: start; }
.simu .lettre { margin-top: 0; }
@media (max-width: 62rem) { .simu { grid-template-columns: 1fr; } }

/* Cartes KPI dans les résultats (.lettre ou clair) */
.kpi-grille {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11.5rem, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.kpi-carte {
  background: rgba(251, 249, 244, .07);
  border: 1px solid rgba(185, 154, 91, .42);
  border-top: 3px solid var(--or);
  padding: 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.kpi-carte-claire {
  background: var(--papier);
  border: 1px solid var(--trait);
  border-top: 3px solid var(--or);
  box-shadow: 0 8px 22px -14px rgba(20, 45, 78, .1);
}
.kpi-label {
  font-size: .88rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: rgba(243, 239, 230, .8);
  font-weight: 700;
}
.kpi-carte-claire .kpi-label {
  color: var(--sauge-texte);
}
.kpi-valeur {
  font-family: var(--f-titre);
  font-size: clamp(1.7rem, 2.8vw, 2.25rem);
  font-weight: 700;
  color: var(--or);
  line-height: 1.15;
  font-variant-numeric: lining-nums tabular-nums;
}
.kpi-carte-claire .kpi-valeur {
  color: var(--nuit);
}
.kpi-sous {
  font-size: .88rem;
  color: rgba(243, 239, 230, .78);
  line-height: 1.35;
}
.kpi-carte-claire .kpi-sous {
  color: var(--sauge-texte);
}

/* Barre visuelle de décomposition patrimoniale */
.decomposition-bloc {
  background: rgba(251, 249, 244, .05);
  border: 1px solid rgba(243, 239, 230, .18);
  padding: 1.15rem 1.25rem;
  margin: 1.5rem 0;
}
.decomposition-titre {
  font-size: .92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--or);
  margin: 0 0 .75rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
}
.barre-decomposition {
  display: flex;
  height: 1.6rem;
  width: 100%;
  border-radius: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(185, 154, 91, .45);
}
.barre-seg {
  height: 100%;
  transition: width .35s ease;
}
.barre-seg.seg-duh { background: #6E8273; }
.barre-seg.seg-comptant { background: #B99A5B; }
.barre-seg.seg-terme { background: #4A749C; }
.barre-seg.seg-impot { background: #A64B4B; }
.barre-legende {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: .65rem 1rem;
  margin-top: .85rem;
  font-size: .92rem;
}
.barre-legende-item {
  display: flex;
  align-items: baseline;
  gap: .5rem;
}
.pastille-couleur {
  width: .75rem;
  height: .75rem;
  display: inline-block;
  flex-shrink: 0;
  border-radius: 1px;
  transform: translateY(1px);
}
.pastille-couleur.seg-duh { background: #6E8273; }
.pastille-couleur.seg-comptant { background: #B99A5B; }
.pastille-couleur.seg-terme { background: #4A749C; }
.pastille-couleur.seg-impot { background: #A64B4B; }

/* Tableaux dans la lettre (.sur-nuit) */
.tableau-nuit {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
  font-size: .96rem;
  margin-top: .75rem;
}
.tableau-nuit th {
  text-align: left;
  padding: .55rem .6rem;
  border-bottom: 1.5px solid rgba(185, 154, 91, .55);
  color: var(--or);
  font-size: .88rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.tableau-nuit td {
  padding: .55rem .6rem;
  border-bottom: 1px solid rgba(243, 239, 230, .14);
}
.tableau-nuit tr.ligne-ev {
  background: rgba(185, 154, 91, .22);
  font-weight: 700;
  color: var(--ivoire);
  border-left: 3px solid var(--or);
}

/* Encart de comparaison côte à côte (ex: Vente à terme vs Viager) */
.comparaison-encart {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(243, 239, 230, .22);
}
.comparaison-grille {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1rem;
  margin-top: .75rem;
}
.comparaison-col {
  background: rgba(251, 249, 244, .05);
  border: 1px solid rgba(243, 239, 230, .2);
  padding: 1rem 1.15rem;
}
.comparaison-col.col-active {
  border-color: var(--or);
  background: rgba(185, 154, 91, .12);
}
.comparaison-col h4 {
  font-family: var(--f-titre);
  font-size: 1.35rem;
  color: var(--or);
  margin: 0 0 .5rem;
}
.comparaison-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: .94rem;
  display: grid;
  gap: .35rem;
}

/* Tableaux comparatifs pleines pages (Comparateur & Projections) */
.tableau-patrimoine {
  background: var(--papier);
  border: 1px solid rgba(185, 154, 91, .45);
  box-shadow: 0 12px 30px -16px rgba(20, 45, 78, .1);
  padding: 1.25rem 1.5rem;
  overflow-x: auto;
}
.tableau-patrimoine table {
  margin: 0;
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.tableau-patrimoine th {
  background: var(--nuit);
  color: var(--ivoire);
  padding: .85rem 1rem;
  font-size: .92rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  border-bottom: 2px solid var(--or);
}
.tableau-patrimoine td {
  padding: .9rem 1rem;
  border-bottom: 1px solid var(--trait);
  vertical-align: middle;
}
.tableau-patrimoine tbody tr:hover {
  background: rgba(185, 154, 91, .08);
}
.tableau-patrimoine tr.ligne-ev-claire {
  background: rgba(185, 154, 91, .2);
  font-weight: 700;
}
@media (max-width: 48rem) {
  .tableau-patrimoine { padding: .75rem; }
  .tableau-patrimoine thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .tableau-patrimoine tbody,
  .tableau-patrimoine tr,
  .tableau-patrimoine td { display: block; width: 100%; }
  .tableau-patrimoine tr {
    background: #fff;
    border: 1px solid var(--trait);
    border-top: 3px solid var(--or);
    padding: .75rem 1rem;
    margin-bottom: 1rem;
  }
  .tableau-patrimoine tr.ligne-ev-claire {
    background: rgba(185, 154, 91, .16);
    border-top-color: var(--nuit);
  }
  .tableau-patrimoine td {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: .75rem;
    padding: .5rem 0;
    text-align: right;
  }
  .tableau-patrimoine td:first-child {
    display: block;
    text-align: left;
    border-bottom: 1.5px solid var(--trait);
    padding-bottom: .65rem;
    margin-bottom: .25rem;
  }
  .tableau-patrimoine td[data-label]::before {
    content: attr(data-label);
    font-weight: 700;
    color: var(--sauge-texte);
    text-align: left;
    font-size: .92rem;
    flex-shrink: 0;
  }
  .tableau-patrimoine td:first-child::before { display: none; }
}
.badge-oui {
  display: inline-block;
  background: rgba(110, 130, 115, .18);
  color: #2E4736;
  border: 1px solid #6E8273;
  font-weight: 700;
  font-size: .85rem;
  padding: .15rem .55rem;
  border-radius: 2px;
}
.badge-non {
  display: inline-block;
  background: rgba(20, 45, 78, .07);
  color: var(--sauge-texte);
  font-size: .85rem;
  padding: .15rem .55rem;
  border-radius: 2px;
}

.outils { display: grid; grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); gap: 1.75rem; margin-top: 1rem; }
.outils-2x2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.outils-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.outil-banniere {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem 2.5rem;
  padding: 2rem 2.25rem;
}
.outil-banniere h2 { font-size: clamp(1.75rem, 2.8vw, 2.3rem); margin-bottom: .45rem; }
.outil-banniere h2 a { text-decoration: none; }
.outil-banniere h2 a:hover { text-decoration: underline; }
.outil-banniere p { margin: 0; max-width: 52rem; }
@media (max-width: 58rem) {
  .outils-3 { grid-template-columns: 1fr; }
  .outil-banniere { grid-template-columns: 1fr; }
}
@media (max-width: 48rem) { .outils-2x2 { grid-template-columns: 1fr; } }

/* Guide-simulateur global d'orientation (/simulateurs/quelle-formule) */
.orient-questions { display: grid; gap: 1.75rem; }
.orient-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.75rem; height: 1.75rem; border-radius: 50%;
  background: var(--nuit); color: var(--or);
  font-family: var(--f-titre); font-size: 1.05rem; font-weight: 700;
  margin-right: .5rem;
}
.orient-choix-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; margin-top: .5rem; }
.orient-choix-4 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; margin-top: .5rem; }
.orient-carte-choix {
  display: grid; grid-template-columns: 1.25rem 1fr; align-items: start; gap: .75rem;
  padding: 1rem 1.15rem; background: #fff;
  border: 1.5px solid rgba(13, 27, 46, .22); border-radius: 2px;
  cursor: pointer; font-weight: 400;
  transition: border-color .15s ease, background-color .15s ease;
}
.orient-carte-choix input { width: 1.15rem; height: 1.15rem; min-height: 0; margin-top: .2rem; accent-color: var(--nuit); }
.orient-carte-choix strong { display: block; font-size: 1.04rem; color: var(--nuit); line-height: 1.3; }
.orient-carte-choix small { display: block; font-size: .9rem; color: var(--sauge-texte); line-height: 1.4; margin-top: .2rem; }
.orient-carte-choix:has(input:checked) {
  border-color: var(--nuit); border-left: 4px solid var(--or);
  background: rgba(194, 162, 101, .14);
}
.orient-reco { margin-top: 0; }
.orient-reco-titre { font-size: clamp(2rem, 3.6vw, 2.9rem); color: var(--blanc); margin: .25rem 0 .4rem; }
.orient-reco-resume { font-size: 1.15rem; color: rgba(255, 255, 255, .88); max-width: 52rem; margin-bottom: 1.25rem; }
.orient-explications {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 1.75rem;
  margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .18);
}
.orient-explications h3 { font-size: 1.35rem; color: var(--or); margin-bottom: .65rem; }
.orient-explications ul { margin: 0; padding-left: 1.2rem; display: grid; gap: .55rem; font-size: 1.02rem; }
.orient-attention {
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(194, 162, 101, .35);
  padding: 1.15rem 1.25rem;
}
.orient-attention p { font-size: .98rem; margin: 0 0 .65rem; }
.orient-attention p:last-child { margin-bottom: 0; }
.orient-meta { color: rgba(255, 255, 255, .85); font-size: .94rem !important; }
.orient-duel, .orient-panorama { margin-top: 3rem; }
.orient-duel-grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin-top: 1.25rem; }
.orient-duel-carte {
  background: var(--papier); border: 1px solid var(--trait); border-top: 4px solid var(--sauge);
  padding: 1.6rem 1.75rem; display: flex; flex-direction: column;
}
.orient-duel-carte.est-reco { border-top-color: var(--or); background: linear-gradient(180deg, rgba(194, 162, 101, .1) 0%, #fff 35%); }
.orient-duel-carte h3 { font-size: 1.65rem; margin: .75rem 0 .25rem; }
.orient-duel-dl { margin: 1rem 0; display: grid; gap: .65rem; }
.orient-duel-dl > div { padding-bottom: .6rem; border-bottom: 1px solid var(--trait); }
.orient-duel-dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.orient-duel-dl dt { font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; color: var(--sauge-texte); font-weight: 700; }
.orient-duel-dl dd { margin: .15rem 0 0; font-size: 1rem; color: var(--nuit); }
@media (max-width: 54rem) {
  .orient-choix-2, .orient-choix-4, .orient-explications, .orient-duel-grille { grid-template-columns: 1fr; }
}
.outil {
  background: var(--papier);
  border: 1px solid var(--trait);
  border-top: 3px solid var(--or);
  padding: 1.6rem 1.75rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px -14px rgba(20, 45, 78, .08);
  transition: transform .2s ease, box-shadow .2s ease;
}
.outil:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -12px rgba(20, 45, 78, .15);
}
.outil-vedette {
  border-top-color: var(--nuit);
  background: linear-gradient(180deg, rgba(185, 154, 91, .1) 0%, var(--papier) 45%);
}
.outil-pro {
  background: var(--nuit);
  color: var(--ivoire);
  border-color: var(--or);
}
.outil-pro h3 a, .outil-pro .outil-pied a { color: var(--ivoire); }
.outil-pro h3 a:hover, .outil-pro .outil-pied a:hover { color: var(--or); }
.outil-pro .etiquette { color: var(--or); border-color: var(--or); }
.outil-pro .outil-icone { color: var(--or); }
.outil-entete {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  margin-bottom: .9rem;
}
.outil-icone {
  color: var(--or-texte);
  display: inline-flex;
}
.outil h3 { font-size: 1.55rem; margin-bottom: .45rem; }
.outil h3 a { text-decoration: none; }
.outil h3 a:hover { text-decoration: underline; }
.outil p { font-size: 1.02rem; }
.outil-pied {
  margin: auto 0 0;
  padding-top: .85rem;
  font-weight: 700;
  font-size: 1rem;
}
.etiquette { display: inline-block; font-size: .88rem; font-weight: 700; color: var(--sauge-texte); border: 1px solid var(--sauge); padding: .1rem .55rem; border-radius: 2px; }
.projection { display: flex; align-items: flex-end; gap: 3px; height: 9rem; margin: 1.5rem 0 .5rem; }
.projection span { flex: 1; background: var(--or); opacity: .85; min-width: 4px; }
.projection-legende { display: flex; justify-content: space-between; font-size: 1rem; }

/* ---------- Pied de page ---------- */
.pied { background: var(--nuit-profond); color: var(--ivoire); padding-block: 3rem 2rem; font-size: 1.0625rem; border-top: 2px solid var(--or); }
.pied-territoires-bandeau {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem 1.15rem;
  padding-bottom: 2.25rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid rgba(185, 154, 91, .35);
  font-family: var(--f-titre);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: .18em;
  color: var(--ivoire);
}
.pied-territoires-bandeau .sep {
  color: var(--or);
}
.pied a { color: var(--ivoire); }
.pied a:hover { color: var(--or); }
.marque-pied { color: var(--ivoire); }
.marque-pied:hover { color: var(--ivoire); }
.monogramme-pied {
  background: var(--ivoire);
  padding: 4px 6px;
  border-radius: 2px;
  border: 1px solid var(--or);
}
.pied-colonnes { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2.5rem; }
.pied h2 { font-size: 1.45rem; color: var(--or); }
.pied ul { list-style: none; padding: 0; margin: 0; }
.pied li { padding: .3rem 0; }
.pied-legal { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(185,154,91,.4); font-size: 1rem; color: rgba(243,239,230,.8); }
@media (max-width: 58rem) { .pied-colonnes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 36rem) { .pied-colonnes { grid-template-columns: 1fr; } }

/* ---------- Mode intégré (iframe agences) ---------- */
body.integre { background: var(--papier); }
body.integre .lettre { margin-top: 1.5rem; }
.integre-signature { font-size: .95rem; color: var(--sauge-texte); margin-top: 1.25rem; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* Code (page d'intégration agences) */
.prose pre { background: var(--nuit); color: var(--ivoire); padding: 1.25rem; overflow-x: auto; font-size: .95rem; line-height: 1.5; border-radius: 2px; }
.prose code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .92em; }
.prose :not(pre) > code { background: var(--papier); padding: .1em .35em; border-radius: 2px; }

/* ---------- Lots A, B, C, D, E : Deux voix, Vie, Page du dimanche, Mode rendez-vous ---------- */
.choix-voix {
  display: inline-flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.voix-onglet {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  padding: .55rem 1.15rem;
  font-weight: 700;
  font-size: .98rem;
  text-decoration: none;
  color: var(--nuit);
  background: var(--ivoire);
  border: 1.5px solid var(--trait);
  border-radius: 2px;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.voix-onglet:hover { border-color: var(--or); color: var(--nuit); }
.voix-onglet.actif {
  background: var(--nuit);
  border-color: var(--nuit);
  color: var(--blanc);
}
.salon-intro {
  font-size: 1.08rem;
  color: var(--sauge-texte);
  max-width: 44rem;
  margin: 0 0 1.5rem;
}

/* Lot B : La rente racontée en vie */
.rente-en-vie {
  background: var(--ivoire);
  border: 1px solid rgba(194, 162, 101, .45);
  border-left: 4px solid var(--or);
  padding: clamp(1.5rem, 3.5vw, 2.25rem) clamp(1.5rem, 4vw, 2.75rem);
  margin-top: 1.5rem;
}
.rente-en-vie h3 {
  font-size: clamp(1.5rem, 2.5vw, 1.95rem);
  color: var(--nuit);
  margin: 0 0 1.1rem;
}
.vie-liste {
  margin: 0;
  padding-left: 1.35rem;
  display: grid;
  gap: .75rem;
  font-size: 1.06rem;
}
.vie-liste li::marker {
  font-family: var(--f-titre);
  font-weight: 700;
  color: var(--or-texte);
}

/* Lot C : La page du dimanche */
.dimanche-entete-impression { display: none; }
.dimanche-bloc { margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid var(--trait); }
.questions-famille {
  display: grid;
  gap: 1.25rem;
  margin: 1.5rem 0 0;
}
.questions-famille > div {
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--trait);
}
.questions-famille dt {
  font-family: var(--f-titre);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--nuit);
  margin-bottom: .25rem;
}
.questions-famille dd { margin: 0; color: var(--sauge-texte); font-size: 1.05rem; }
.engagements-courts {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: grid;
  gap: .75rem;
}
.engagements-courts li {
  padding: .9rem 1.2rem;
  background: var(--ivoire);
  border-left: 3px solid var(--or);
}
.dimanche-appel {
  margin-top: 3rem;
  padding: 2.25rem;
  background: var(--nuit);
  color: var(--blanc);
  text-align: center;
}
.dimanche-appel h2 { color: var(--blanc); margin-bottom: .5rem; }
.dimanche-tel {
  font-family: var(--f-titre);
  font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 600;
  margin: .25rem 0 1.25rem;
}
.dimanche-tel a { color: #EBD8AE; text-decoration: none; }
.dimanche-pied-mention {
  margin-top: 2.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--trait);
  font-size: .95rem;
  color: var(--sauge-texte);
}

/* Lot D : Page « Est-ce pour moi ? » (pleine largeur équilibrée) */
.page-entete-large h1 { max-width: none; }
.page-entete-large .chapo { max-width: 52rem; }
.grille-franche {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
.grille-franche li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--ivoire);
  border: 1px solid rgba(194, 162, 101, .4);
  border-left: 4px solid var(--or);
  padding: 1.25rem 1.4rem;
}
.grille-franche-num {
  font-family: var(--f-titre);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  color: var(--or-texte);
  flex-shrink: 0;
  padding-top: .1rem;
}
.grille-franche p {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--nuit);
}
.champ-ligne-5 {
  display: grid;
  grid-template-columns: 1.15fr .75fr .95fr 1.15fr auto;
  gap: 1rem;
  align-items: end;
}
.champ-ligne-5 .champ-submit .bouton {
  width: 100%;
  white-space: nowrap;
}
.conclusion-franche {
  margin-top: 2.25rem;
  padding: 1.75rem 2rem;
  background: var(--papier);
  border: 1px solid rgba(194, 162, 101, .45);
  border-left: 4px solid var(--or);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
}
.conclusion-franche .chapo {
  margin: 0;
  max-width: 34rem;
}
.conclusion-franche .actions {
  margin: 0;
}
@media (max-width: 62rem) {
  .champ-ligne-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .champ-ligne-5 .champ-submit { grid-column: 1 / -1; }
}
@media (max-width: 48rem) {
  .grille-franche { grid-template-columns: 1fr; }
  .champ-ligne-5 { grid-template-columns: 1fr; }
}

/* Lot E : Mode rendez-vous tablette */
.rdv-shell { min-height: calc(100vh - 56px); display: flex; flex-direction: column; background: var(--blanc); }
.rdv-bandeau { background: var(--ivoire); border-bottom: 1px solid rgba(194, 162, 101, .4); padding-block: 1.15rem; }
.rdv-bandeau-ligne { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.rdv-agence { display: block; font-family: var(--f-titre); font-size: 1.6rem; color: var(--nuit); }
.rdv-etapes { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin: 0; padding: 0; font-size: .95rem; color: var(--sauge-texte); }
.rdv-etapes li.actif { font-weight: 700; color: var(--nuit); border-bottom: 2px solid var(--or); padding-bottom: 2px; }
.rdv-corps { flex: 1; padding-block: clamp(2rem, 5vw, 3.5rem); }
.rdv-ecran h1 { margin-bottom: .4rem; }
.rdv-grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.35rem; margin: 2rem 0; }
.rdv-curseur-bloc {
  background: var(--ivoire);
  border: 1px solid rgba(194, 162, 101, .45);
  padding: 1.5rem 1.75rem;
  margin: 1.5rem 0 2rem;
}
.rdv-curseur-labels { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; margin-bottom: .75rem; font-size: 1rem; }
.rdv-curseur-bloc input[type="range"] { width: 100%; height: 2.75rem; accent-color: var(--nuit); cursor: pointer; }
.rdv-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1px solid var(--trait); }
.rdv-pied { background: var(--nuit); color: var(--ivoire); padding-block: 1rem; font-size: .96rem; margin-top: auto; }
.etude-entete { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 1rem; padding-bottom: 1.5rem; margin-bottom: 1.5rem; border-bottom: 2px solid var(--or); }

/* Hub /simulateurs : 2e étage sobre (outils complémentaires) */
.outils-complementaires {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--trait);
}
.outils-comp-entete { margin-bottom: 1.5rem; }
.outils-comp-entete h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin-bottom: .35rem; }
.outils-comp-liste {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--trait);
}
.outils-comp-liste li { border-bottom: 1px solid var(--trait); }
.outils-comp-liste a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.15rem .75rem;
  text-decoration: none;
  color: var(--nuit);
  transition: background-color .15s ease;
}
.outils-comp-liste a:hover,
.outils-comp-liste a:focus-visible {
  background: var(--ivoire);
  color: var(--nuit);
}
.outils-comp-texte { display: flex; flex-direction: column; gap: .2rem; }
.outils-comp-texte strong { font-size: 1.08rem; color: var(--nuit); }
.outils-comp-texte span { font-size: .96rem; color: var(--sauge-texte); }
.outils-comp-fleche {
  flex-shrink: 0;
  font-size: 1.3rem;
  color: var(--or-texte);
  transition: transform .15s ease;
}
.outils-comp-liste a:hover .outils-comp-fleche { transform: translateX(4px); }

@media print {
  body.page-dimanche { background: #fff !important; color: #000 !important; font-size: 14pt !important; line-height: 1.45 !important; }
  .dimanche-entete-impression { display: flex !important; align-items: center; gap: 1rem; border-bottom: 2px solid #000; padding-bottom: .75rem; margin-bottom: 1rem; }
  .dimanche-entete-impression span { display: block; font-style: italic; font-size: 12pt; }
  .rente-en-vie, .dimanche-appel, .engagements-courts li { background: #fff !important; color: #000 !important; border: 1px solid #000 !important; }
  .dimanche-appel h2, .dimanche-tel a { color: #000 !important; }
  .page-entete { background: #fff !important; padding-block: .5rem 1rem !important; }
  .dimanche-bloc { margin-top: 1.25rem !important; padding-top: 1rem !important; page-break-inside: avoid; }
  .orient-reco-titre, .orient-reco-resume, .orient-explications h3, .orient-meta { color: #0D1B2E !important; }
  .orient-attention { background: #fff !important; border: 1px solid #C2A265 !important; color: #0D1B2E !important; }
  .orient-duel-carte { break-inside: avoid; }
}
