/* =========================================================================
   Numeris Patrimoine v0.2 — feuille de style
   -------------------------------------------------------------------------
   Direction : des nuances de blanc, du navy, un filet d'or.

   Le rythme vient de l'alternance blanc / papier et de filets fins — jamais
   d'une bande de couleur. La seule surface sombre est le pied de page.
   Trois matières, trois rôles :
     · le papier (#F6F5F2)  = le fond des sections alternées
     · la carte  (#FFFFFF)  = ce qui est posé dessus, ombré
     · l'or      (#B19F69)  = l'annotation : filet, surtitre, survol — jamais un fond
   Typographie : Abril Fatface (titres, comme la plaquette), Barlow (étiquettes
   en capitales espacées), Poppins (texte), Plex Mono (chiffres des simulateurs).
   ========================================================================= */

:root {
  --blanc:       #FFFFFF;
  --papier:      #F6F5F2;
  --pierre:      #ECEBE7;
  --filet:       rgba(13, 28, 63, .10);
  --filet-fort:  rgba(13, 28, 63, .18);
  --encre:       #0D1C3F;
  --ardoise:     #374362;
  --sourdine:    #6B7386;
  --nuit:        #0D162B;
  --or:          #B19F69;
  --or-texte:    #8E7D4B;
  --or-pale:     rgba(177, 159, 105, .16);

  --f-display:  "Abril Fatface", Georgia, "Times New Roman", serif;
  --f-label:    "Barlow", "Helvetica Neue", Arial, sans-serif;
  --f-corps:    "Poppins", "Segoe UI", system-ui, sans-serif;
  --f-registre: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  /* Ressorts. Aucune transition ne doit être linéaire ou ease-in-out. */
  --sortie:  cubic-bezier(.16, 1, .3, 1);
  --entree:  cubic-bezier(.32, .72, 0, 1);
  --ressort: cubic-bezier(.34, 1.56, .64, 1);

  --gouttiere: clamp(1.25rem, 4vw, 2.75rem);
  --largeur:   1240px;
  --souffle:   clamp(5rem, 9vw, 8.5rem);
  --rayon:     18px;
  --ombre:     0 24px 60px -28px rgba(13, 28, 63, .22), 0 1px 0 rgba(13, 28, 63, .04);
  --ombre-haute: 0 34px 70px -30px rgba(13, 28, 63, .28), 0 1px 0 rgba(13, 28, 63, .04);

  --z-page: 1;
  --z-flottant: 10;
  --z-entete: 40;
}

/* ---------------------------------------------------------------- Socle */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 6.5rem; }

body {
  margin: 0;
  background: var(--blanc);
  color: var(--ardoise);
  font-family: var(--f-corps);
  font-size: 16.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* height:auto : sans lui, l'attribut height des <img> (réservé au CLS) écrase les aspect-ratio. */
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.005em;
  color: var(--encre);
  margin: 0 0 .55em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 5.2vw, 4.4rem); line-height: 1.04; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); line-height: 1.12; }
h3 { font-size: clamp(1.2rem, 1.7vw, 1.4rem); }
h1 em, h2 em { font-style: italic; color: var(--or-texte); }

/* h4 est une étiquette, pas un titre : Barlow, capitales, or sourd. */
h4 {
  font-family: var(--f-label); font-weight: 600; font-size: .68rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--sourdine);
  margin: 0 0 1.1rem;
}

p { margin: 0 0 1.15em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
strong { color: var(--encre); font-weight: 600; }

.container {
  width: 100%; max-width: var(--largeur);
  margin-inline: auto; padding-inline: var(--gouttiere);
  position: relative; z-index: var(--z-page);
}

.surtitre {
  font-family: var(--f-label); font-size: .74rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--or-texte); margin: 0 0 1.3rem;
  display: flex; align-items: center; gap: .8rem;
}

.chapo { font-size: clamp(1.02rem, 1.35vw, 1.12rem); color: var(--ardoise); max-width: 58ch; }
.sourdine { color: var(--sourdine); }

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

.saut-contenu {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--encre); color: #fff; padding: .85rem 1.3rem; border-radius: 999px;
}
.saut-contenu:focus { left: 1rem; top: 1rem; }

/* ---------------------------------------------------------------- Boutons */
.btn {
  display: inline-flex; align-items: center; gap: .9rem;
  font-family: var(--f-label); font-size: .78rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .5rem .5rem .5rem 1.45rem;
  border: 1px solid transparent; border-radius: 999px;
  cursor: pointer; position: relative; line-height: 1.2;
  transition: background .6s var(--entree), color .6s var(--entree),
              border-color .6s var(--entree), transform .5s var(--ressort),
              box-shadow .6s var(--entree);
}
.btn:active { transform: scale(.975); }
.btn .rond {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; font-size: .95rem;
  transition: transform .6s var(--entree), background .6s var(--entree);
}
.btn:hover .rond { transform: translate(3px, -3px) scale(1.06); }

.btn-encre { background: var(--encre); color: #fff; }
.btn-encre .rond { background: rgba(255, 255, 255, .14); }
.btn-encre:hover { background: #17284f; box-shadow: var(--ombre); }

.btn-or { border-color: var(--or); color: var(--encre); background: transparent; }
.btn-or .rond { background: var(--or-pale); }
.btn-or:hover { background: var(--or-pale); }

.btn-filet { border-color: var(--filet-fort); color: var(--encre); background: transparent; }
.btn-filet .rond { background: var(--papier); }
.btn-filet:hover { border-color: var(--encre); }

button.btn { font: inherit; font-family: var(--f-label); font-size: .78rem; font-weight: 600; }

.lien-texte {
  display: inline-flex; align-items: center; gap: .55rem;
  font-weight: 600; font-size: .92rem; color: var(--encre);
  position: relative; padding-bottom: 3px;
}
.lien-texte::after {
  content: ""; position: absolute; left: 0; right: 30px; bottom: 0; height: 1px;
  background: var(--or); opacity: .55; transition: opacity .5s var(--entree), right .6s var(--entree);
}
.lien-texte:hover::after { opacity: 1; }
.lien-texte span {
  display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--or-pale); color: var(--or-texte); font-size: .85rem;
  transition: transform .5s var(--entree), background .5s var(--entree), color .5s var(--entree);
}
.lien-texte:hover span { transform: translateX(4px); background: var(--encre); color: #fff; }

/* ---------------------------------------------------------------- En-tête */
/* Blanc, pleine largeur, un filet qui apparaît au défilement. */
.site-entete {
  position: fixed; inset: 0 0 auto; z-index: var(--z-entete);
  background: rgba(255, 255, 255, .84);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background .7s var(--entree), border-color .7s var(--entree), box-shadow .7s var(--entree);
}
.site-entete.condense {
  background: rgba(255, 255, 255, .96);
  border-bottom-color: var(--filet);
  box-shadow: 0 12px 30px -24px rgba(13, 28, 63, .25);
}
.entete-inner {
  max-width: 1400px; margin-inline: auto;
  display: flex; align-items: center; gap: 1.1rem;
  padding: .8rem var(--gouttiere);
  transition: padding .7s var(--entree);
}
.site-entete.condense .entete-inner { padding-block: .55rem; }

.marque { display: flex; align-items: center; gap: .85rem; flex-shrink: 0; }
.marque img { height: 40px; width: auto; transition: height .7s var(--entree); }   /* logo du 21 octobre 2026, format 4:1 */
.site-entete.condense .marque img { height: 32px; }
.marque .branche {
  font-family: var(--f-label); font-size: .68rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--or-texte);
  padding-left: .85rem; border-left: 1px solid var(--filet-fort);
}

.nav-principale { margin-left: auto; }
.nav-principale ul { display: flex; align-items: center; gap: 1.15rem; list-style: none; margin: 0; padding: 0; }
.nav-principale a {
  font-size: .84rem; font-weight: 500; color: var(--ardoise); white-space: nowrap;
  position: relative; padding-block: .35rem;
  transition: color .5s var(--entree);
}
.nav-principale a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; right: 100%;
  background: var(--or); transition: right .6s var(--entree);
}
.nav-principale a:hover { color: var(--encre); }
.nav-principale a:hover::after, .nav-principale .actif a::after { right: 0; }
.nav-principale .actif a { color: var(--encre); }

.entete-cta { padding: .42rem .42rem .42rem 1.1rem; font-size: .72rem; flex-shrink: 0; }
.entete-cta .rond { width: 28px; height: 28px; font-size: .8rem; }

.bascule-nav {
  display: none; width: 42px; height: 42px; margin-left: auto; flex-shrink: 0;
  background: var(--papier); border: 1px solid var(--filet);
  border-radius: 50%; cursor: pointer; padding: 0; position: relative;
}
.bascule-nav span {
  position: absolute; left: 50%; width: 16px; height: 1.5px; background: var(--encre);
  transform: translateX(-50%); transition: transform .6s var(--entree), opacity .35s var(--entree);
}
.bascule-nav span:nth-child(1) { top: 15px; }
.bascule-nav span:nth-child(2) { top: 20px; }
.bascule-nav span:nth-child(3) { top: 25px; }
.bascule-nav[aria-expanded="true"] span:nth-child(1) { transform: translate(-50%, 5px) rotate(45deg); }
.bascule-nav[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.bascule-nav[aria-expanded="true"] span:nth-child(3) { transform: translate(-50%, -5px) rotate(-45deg); }

/* ---------------------------------------------------------------- Sections */
.section { padding-block: var(--souffle); position: relative; }
.section-papier, .section-creux { background: var(--papier); }
.entete-section { max-width: 800px; margin-bottom: clamp(2.6rem, 5vw, 4.2rem); }
.entete-section .chapo { max-width: 60ch; }
.entete-ligne {
  max-width: none; display: flex; align-items: flex-end; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.entete-ligne h2 { margin-bottom: 0; }

/* ---------------------------------------------------------------- La carte */
/* Une carte blanche ombrée sur le papier ; sur le blanc, elle devient papier
   et perd son ombre — la matière du fond change, la carte s'y adapte. */
.carte {
  background: var(--blanc); color: var(--ardoise);
  border: 1px solid var(--filet); border-radius: var(--rayon);
  box-shadow: var(--ombre); padding: 1.9rem 2rem;
}
.section:not(.section-papier) .carte { background: var(--papier); box-shadow: none; }
.carte-pierre { background: var(--pierre) !important; box-shadow: none !important; }
.carte h2, .carte h3 { color: var(--encre); }

/* ---------------------------------------------------------------- Héros */
.heros {
  position: relative; background: var(--papier);
  padding-block: clamp(8rem, 14vw, 11rem) clamp(3rem, 6vw, 5rem);
}
.heros-accueil { padding-bottom: 0; }
.heros-grille {
  display: grid; grid-template-columns: 1.02fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.heros-texte h1 { margin-bottom: 1.4rem; }
.verbes {
  font-family: var(--f-label); font-size: .72rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--encre);
  display: flex; flex-wrap: wrap; gap: .55rem .6rem; margin: 0 0 1.6rem;
}
.verbes .sep { color: var(--or); }
.heros-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }
.heros-media { margin: 0; position: relative; }
.heros-media img {
  width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 28px; box-shadow: var(--ombre-haute);
}
/* Un filet d'or décalé derrière l'image : le cadre de la plaquette. */
.heros-media::before {
  content: ""; position: absolute; inset: 1.1rem -1.1rem -1.1rem 1.1rem; z-index: -1;
  border: 1px solid var(--or); border-radius: 28px; opacity: .55;
}

/* La carte de preuve chevauche la limite du héros : elle est posée sur les deux. */
.carte-preuve {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.2rem, 3vw, 2.5rem);
  margin-top: clamp(2.6rem, 5vw, 4rem); margin-bottom: -4.5rem;
  position: relative; z-index: var(--z-flottant);
  padding: 2rem 2.2rem;
}
#connaitre { padding-top: calc(var(--souffle) + 4.5rem); }
.preuve { padding-top: 1.1rem; border-top: 1px solid var(--filet); position: relative; }
.preuve-chiffre {
  font-family: var(--f-display); font-size: clamp(2.1rem, 3.2vw, 2.8rem);
  line-height: 1; color: var(--encre); margin: 0 0 .55rem;
  font-variant-numeric: tabular-nums;
}
.preuve p:last-child { font-size: .88rem; color: var(--sourdine); max-width: 24ch; }

.heros-court h1 { max-width: 22ch; }
.heros-court .chapo { max-width: 62ch; }

/* ---------------------------------------------------------------- Édito */
.edito { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.edito-haut, .edito-axe { align-items: start; }
.edito-axe { grid-template-columns: .9fr 1.1fr; }

/* ---------------------------------------------------------------- Nous connaître */
.portraits { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; align-items: start; }
.portrait { padding: 1.3rem 1.3rem 1.6rem; }
.portrait img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top;
  border-radius: 14px; margin-bottom: 1.3rem; background: var(--pierre);
}
.portrait .surtitre { margin-bottom: .6rem; }
.portrait h3 { font-size: 1.45rem; margin-bottom: .25rem; }
.portrait-titre {
  font-family: var(--f-label); font-size: .72rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--sourdine); margin-bottom: 1rem;
}
.portrait p:not(.surtitre):not(.portrait-titre) { font-size: .9rem; color: var(--ardoise); margin-bottom: 1.2rem; }
.portraits .portrait:nth-child(2) { margin-top: 2.2rem; }

.groupe {
  margin-top: calc(var(--souffle) * .7); padding-top: 2.6rem; border-top: 1px solid var(--filet);
  display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: start;
}
.groupe .surtitre { margin-bottom: .6rem; }
.groupe .cabinets { padding-top: .35rem; }
.groupe p { font-size: .95rem; color: var(--ardoise); }
.cabinets { display: flex; flex-wrap: wrap; gap: .5rem; }
.cabinet-jeton {
  font-family: var(--f-label); font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  border: 1px solid var(--filet-fort); border-radius: 999px; padding: .5rem 1rem; color: var(--ardoise);
  transition: border-color .6s var(--entree), transform .6s var(--ressort), color .6s var(--entree);
}
.cabinet-jeton:hover { border-color: var(--or); color: var(--encre); transform: translateY(-2px); }

/* ---------------------------------------------------------------- Notre différence */
.numero {
  display: block; font-family: var(--f-label); font-size: .72rem; font-weight: 600;
  letter-spacing: .16em; color: var(--or-texte); margin-bottom: 1rem;
}
.pourquoi { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; margin-top: -.4rem; }
.pourquoi-carte h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.pourquoi-carte p { font-size: .92rem; color: var(--sourdine); }

.difference-methode { margin-top: calc(var(--souffle) * .8); }
/* Quatre colonnes séparées d'un filet vertical. Pas d'escalier, pas de barre qui se remplit :
   un chiffre romain, le titre, le texte. */
.entete-ligne.haut { align-items: flex-start; }
.entete-ligne.haut > div { max-width: 560px; }
.entete-ligne.haut .chapo { max-width: 440px; margin-top: .4rem; }
.methode { display: grid; grid-template-columns: repeat(4, 1fr); }
.etape {
  border-left: 1px solid var(--filet-fort); padding: .5rem 2rem .5rem 1.75rem;
  display: flex; flex-direction: column; gap: 1.5rem;
}
.etape .rang { font-family: var(--f-label); font-size: .84rem; font-weight: 600; letter-spacing: .2em; color: var(--or-texte); }
.etape h3 { font-size: 1.2rem; margin-bottom: .6rem; }
.etape p { font-size: .9rem; color: var(--sourdine); margin: 0; }

.citation-bloc {
  margin: calc(var(--souffle) * .9) 0 calc(var(--souffle) * .8);
  display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
.citation-media {
  width: 100%; aspect-ratio: 3 / 4; max-height: 520px; object-fit: cover;
  border-radius: 22px; box-shadow: var(--ombre-haute);
}
.citation {
  font-family: var(--f-display); font-size: clamp(1.6rem, 2.8vw, 2.35rem);
  line-height: 1.25; color: var(--encre); margin: 0; position: relative; padding-left: 2.8rem;
}
.citation::before {
  content: "“"; position: absolute; left: 0; top: -.08em;
  font-size: 2em; line-height: 1; color: var(--or);
}
.citation cite {
  display: block; margin-top: 1.4rem; font-style: normal;
  font-family: var(--f-label); font-size: .7rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--sourdine);
}

.domaines { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem 2.6rem; }
.domaine { padding-top: 1.3rem; border-top: 1px solid var(--filet); }
.domaine h3 { font-size: 1.22rem; margin-bottom: .5rem; }
.domaine p { font-size: .9rem; color: var(--sourdine); }

/* ---------------------------------------------------------------- Nos expertises */
.solutions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.solution {
  display: block; position: relative; padding: 1.9rem 2rem 4.6rem;
  transition: transform .7s var(--sortie), box-shadow .7s var(--entree),
              background .7s var(--entree), border-color .7s var(--entree);
}
.solution .surtitre { margin-bottom: 1rem; }
.solution h3 { font-size: 1.3rem; margin-bottom: .6rem; }
.solution p:last-of-type { font-size: .92rem; color: var(--sourdine); }
.solution .rond {
  position: absolute; right: 1.5rem; bottom: 1.5rem; width: 38px; height: 38px;
  border-radius: 50%; border: 1px solid var(--filet-fort); display: grid; place-items: center;
  font-size: .95rem; color: var(--encre);
  transition: background .6s var(--entree), color .6s var(--entree), border-color .6s var(--entree), transform .6s var(--ressort);
}
.solution:hover { transform: translateY(-5px); background: var(--blanc); box-shadow: var(--ombre-haute); border-color: transparent; }
.section-papier .solution:hover { box-shadow: var(--ombre-haute); }
.solution:hover .rond { background: var(--encre); color: #fff; border-color: var(--encre); transform: translate(2px, -2px); }

.puces { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; gap: .5rem; }
.puces li { font-size: .9rem; color: var(--ardoise); padding-left: 1.3rem; position: relative; }
.puces li::before { content: ""; position: absolute; left: 0; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--or); }
.puces-larges { gap: .8rem; }
.puces-larges li { font-size: 1rem; padding-left: 1.5rem; }

.colonne ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.colonne li { font-size: .94rem; color: var(--ardoise); padding-left: 1.3rem; position: relative; line-height: 1.55; }
.colonne li::before { content: ""; position: absolute; left: 0; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--or); }

.attention {
  margin-top: 1.7rem; padding: 1.2rem 1.4rem;
  background: var(--or-pale); border-left: 2px solid var(--or); border-radius: 0 12px 12px 0;
}
.attention h4 { margin-bottom: .5rem; color: var(--or-texte); }
.attention p { font-size: .92rem; color: var(--ardoise); }

/* ---------------------------------------------------------------- Triptyque */
.triptyque { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 1.1rem; align-items: start; }
.tuile {
  display: block; padding: 1.9rem 1.8rem; border-radius: 22px;
  border: 1px solid var(--filet); background: var(--papier);
  transition: border-color .7s var(--entree), transform .7s var(--sortie), background .7s var(--entree), box-shadow .7s var(--entree);
}
.tuile:hover { background: var(--blanc); box-shadow: var(--ombre); transform: translateY(-5px); }
.triptyque .tuile:nth-child(1) { padding-block: 2.6rem; }
.triptyque .tuile:nth-child(2) { margin-top: 1.8rem; }
.triptyque .tuile:nth-child(3) { margin-top: 3.6rem; }
.tuile .cle {
  font-family: var(--f-label); font-size: .68rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--or-texte); display: block; margin-bottom: 1rem;
}
.tuile h3 { font-size: 1.15rem; margin-bottom: .6rem; }
.tuile p { font-size: .92rem; color: var(--sourdine); margin: 0; }

/* ---------------------------------------------------------------- Partenaires */
.partenaires { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.partenaire {
  aspect-ratio: 3 / 2; display: grid; place-items: center; padding: 1.2rem; border-radius: 14px;
}
.partenaire img { max-height: 46px; max-width: 80%; width: auto; height: auto; object-fit: contain; filter: grayscale(1) opacity(.7); transition: filter .6s var(--entree); }
.partenaire:hover img { filter: none; }
.partenaire-attente {
  border: 1px dashed var(--filet-fort);
  font-family: var(--f-label); font-size: .66rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--sourdine);
}

/* ---------------------------------------------------------------- Actualités */
.articles-grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem 1.5rem; }
.article-carte { display: block; }
.article-media { border-radius: 16px; overflow: hidden; background: var(--pierre); }
.article-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 1.3s var(--sortie); }
.article-carte:hover .article-media img { transform: scale(1.04); }
.article-carte .surtitre { justify-content: space-between; margin: 1.2rem 0 .6rem; }
.article-carte .surtitre time { color: var(--sourdine); font-weight: 500; letter-spacing: .06em; }
.article-carte h3 { font-size: 1.3rem; margin-bottom: .5rem; transition: color .5s var(--entree); }
.article-carte:hover h3 { color: var(--or-texte); }
.article-texte p:last-child { font-size: .9rem; color: var(--sourdine); }

.articles-liste .article-carte.large {
  grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; margin-bottom: 1rem;
}
.article-carte.large .article-media img { aspect-ratio: 16 / 9; }
.article-carte.large h3 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
.article-carte.large .article-texte p:last-child { font-size: 1rem; }

.article-corps { max-width: 70ch; margin-inline: auto; }
.article-meta {
  display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin-bottom: 2.4rem;
  padding-bottom: 1.2rem; border-bottom: 1px solid var(--filet);
  font-family: var(--f-label); font-size: .7rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--sourdine);
}
.article-corps h2 { font-size: clamp(1.5rem, 2.4vw, 1.95rem); margin: 2.6rem 0 .8rem; }
.article-corps h3 { font-size: 1.25rem; margin: 2rem 0 .6rem; }
.article-corps p { color: var(--ardoise); }
.article-corps a { color: var(--or-texte); text-decoration: underline; text-underline-offset: 3px; }
.article-corps ul, .article-corps ol { padding-left: 1.3rem; margin: 0 0 1.3rem; }
.article-corps li { margin-bottom: .5rem; }
.article-corps li::marker { color: var(--or); }
.article-corps blockquote {
  margin: 2.2rem 0; padding-left: 1.5rem; border-left: 2px solid var(--or);
}
.article-corps blockquote p { font-family: var(--f-display); font-size: 1.35rem; line-height: 1.35; color: var(--encre); }
.article-corps table { width: 100%; border-collapse: collapse; margin: 1.8rem 0; font-size: .92rem; }
.article-corps th {
  text-align: left; font-family: var(--f-label); font-size: .68rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--sourdine);
  padding: .6rem .9rem; border-bottom: 1px solid var(--filet-fort);
}
.article-corps td { padding: .75rem .9rem; border-bottom: 1px solid var(--filet); color: var(--ardoise); font-variant-numeric: tabular-nums; }
.article-corps tr:hover td { background: var(--papier); }
.article-corps hr { border: 0; border-top: 1px solid var(--filet); margin: 2.6rem 0; }
.article-corps em { color: var(--sourdine); }

/* ---------------------------------------------------------------- Contact */
.contact-grille { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.implantations { display: grid; gap: 1.1rem; }
.implantations-4 { grid-template-columns: repeat(4, 1fr); }
.formulaire-hote { max-width: 880px; margin: 2.6rem auto 0; }
.implantation .surtitre { margin-bottom: .8rem; }
.implantation .adresse { font-size: 1.02rem; font-weight: 500; color: var(--encre); margin-bottom: .5rem; }
.implantation .tel { margin-bottom: .3rem; }
.implantation .tel a { font-family: var(--f-display); font-size: 1.45rem; color: var(--encre); transition: color .5s var(--entree); }
.implantation .tel a:hover { color: var(--or-texte); }
.implantation .sourdine { font-size: .86rem; }
.referent {
  display: flex; align-items: center; gap: .85rem; margin-top: 1.3rem; padding-top: 1.1rem;
  border-top: 1px solid var(--filet); font-size: .92rem; color: var(--encre); font-weight: 500; line-height: 1.35;
}
.referent img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: center top; background: var(--pierre); }
.referent small { font-weight: 400; font-size: .78rem; color: var(--sourdine); }

.rdv-bande { text-align: center; }
.rdv-bande .surtitre { justify-content: center; }
.rdv-bande h2 { max-width: 20ch; margin-inline: auto; }
.rdv-bande .chapo { margin: 0 auto 2.4rem; }
.rdv-bande .actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }

/* ---------------------------------------------------------------- Formulaire */
.form-grille { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem 1.3rem; }
.champ { display: flex; flex-direction: column; gap: .45rem; }
.champ.pleine { grid-column: 1 / -1; }
.champ label {
  font-family: var(--f-label); font-size: .68rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--sourdine);
}
.champ input, .champ select, .champ textarea {
  font-family: var(--f-corps); font-size: .95rem; color: var(--encre);
  padding: .85rem 1rem; background: var(--papier);
  border: 1px solid var(--filet-fort); border-radius: 12px;
  transition: border-color .5s var(--entree), box-shadow .5s var(--entree), background .5s var(--entree);
}
.champ textarea { min-height: 148px; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus {
  outline: none; background: var(--blanc); border-color: var(--or); box-shadow: 0 0 0 3px var(--or-pale);
}
.consentement { grid-column: 1 / -1; display: flex; gap: .8rem; align-items: flex-start; }
.consentement input { margin-top: .32rem; accent-color: var(--encre); }
.consentement label { font-size: .83rem; color: var(--ardoise); line-height: 1.55; }
.consentement a { color: var(--or-texte); text-decoration: underline; text-underline-offset: 2px; }
.form-etat { grid-column: 1 / -1; font-size: .9rem; margin: 0; }
.form-etat.ok { color: #1e6b4a; }
.form-etat.ko { color: #8c2f2f; }
.form-grille .btn { grid-column: 1 / -1; justify-self: start; }
/* Envoi en cours : champs grisés et figés, bouton avec roue de chargement.
   Bloc commun à tous les sites du groupe (même code dans chaque style.css). */
form[aria-busy="true"] { cursor: progress; }
form[aria-busy="true"] label { opacity: .6; }
form[aria-busy="true"] :is(input, select, textarea):disabled {
  background: #eef1f5; border-color: #dde2ea; color: #6b7280; opacity: 1; cursor: progress;
}
form button[type="submit"]:disabled { opacity: .7; cursor: progress; transform: none; }
.spinner {
  display: inline-block; width: .85em; height: .85em; margin-right: .55em; vertical-align: -.1em;
  border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; border-right-color: currentColor; opacity: .6; } }

.prefill-note {
  grid-column: 1 / -1; margin: -.4rem 0 0; font-size: .82rem; color: var(--or-texte);
  display: flex; align-items: center; gap: .7rem; flex-wrap: wrap;
}
.prefill-note[hidden] { display: none; }
.prefill-vider {
  font: inherit; font-size: .8rem; color: var(--ardoise); background: none; border: 0;
  border-bottom: 1px solid var(--filet-fort); padding: 0 0 1px; cursor: pointer;
  transition: color .4s var(--entree), border-color .4s var(--entree);
}
.prefill-vider:hover { color: var(--encre); border-color: var(--encre); }

/* ---------------------------------------------------------------- Bandeau final */
.bandeau-final { background: var(--papier); text-align: center; }
.bandeau-final .surtitre { justify-content: center; }
.bandeau-final h2 { max-width: 18ch; margin-inline: auto; font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
.bandeau-final .chapo { margin: 0 auto 2.6rem; }
.bandeau-final .actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }

/* ---------------------------------------------------------------- Texte long */
.texte-long { max-width: 70ch; }
.texte-long h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); margin-top: 3rem; }
.texte-long h2:first-child { margin-top: 0; }
.texte-long p { color: var(--ardoise); }
.texte-long a { color: var(--or-texte); text-decoration: underline; text-underline-offset: 3px; }
.a-completer {
  display: inline-block; background: var(--or-pale); border-left: 2px solid var(--or);
  padding: .35rem .7rem; font-family: var(--f-label); font-size: .82rem; color: var(--encre);
}

/* ---------------------------------------------------------------- Pied */
.site-pied { background: var(--nuit); color: rgba(255, 255, 255, .72); padding-block: clamp(4rem, 7vw, 6rem) 2.2rem; }
.pied-haut { display: grid; grid-template-columns: 1.5fr 1fr 1fr .8fr 1.1fr; gap: 2.4rem; }
.pied-marque img { height: 40px; width: auto; margin-bottom: 1.4rem; }
.pied-marque p { font-size: .88rem; max-width: 30ch; color: rgba(255, 255, 255, .6); }
.site-pied h3 {
  font-family: var(--f-label); font-weight: 600; font-size: .66rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--or); margin-bottom: 1.2rem;
}
.site-pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.site-pied li, .site-pied a { font-size: .87rem; color: rgba(255, 255, 255, .8); }
.site-pied a { transition: color .5s var(--entree); }
.site-pied a:hover { color: #fff; }
.pied-ville {
  font-family: var(--f-label); font-size: .64rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--or); margin-right: .35rem;
}
.avertissement, .reglementaire {
  margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .74rem; line-height: 1.7; color: rgba(255, 255, 255, .5); max-width: 92ch;
}
.reglementaire { margin-top: 1.2rem; padding-top: 0; border-top: 0; }
.pied-bas {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .76rem; color: rgba(255, 255, 255, .55);
}

/* =========================================================================
   Outils hérités de la v0 : relevé de signaux, cas concrets, questions,
   simulateurs. Mêmes matières que le reste — le papier porte, la carte
   reçoit, l'or annote.
   ========================================================================= */

/* ---------------------------------------------------------------- Signaux */
.signaux-grille { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.signaux-liste { display: grid; gap: .4rem; }
.signal {
  display: flex; align-items: flex-start; gap: 1rem; position: relative;
  padding: .95rem 1.2rem; cursor: pointer; border-radius: 14px; border: 1px solid transparent;
  transition: background .5s var(--entree), border-color .5s var(--entree), transform .5s var(--entree);
}
.signal:hover { background: var(--blanc); border-color: var(--filet); transform: translateX(4px); }
.signal:has(input:checked) { background: var(--blanc); border-color: var(--or); }
.signal input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.signal .case {
  flex-shrink: 0; width: 18px; height: 18px; margin-top: 3px;
  border: 1px solid var(--filet-fort); border-radius: 5px; position: relative; background: var(--blanc);
  transition: background .45s var(--entree), border-color .45s var(--entree), transform .45s var(--ressort);
}
.signal .case::after {
  content: ""; position: absolute; left: 5.5px; top: 1.5px; width: 5px; height: 10px;
  border: solid #fff; border-width: 0 1.7px 1.7px 0;
  transform: rotate(45deg) scale(0); transition: transform .45s var(--ressort);
}
.signal input:checked ~ .case { background: var(--encre); border-color: var(--encre); transform: scale(1.06); }
.signal input:checked ~ .case::after { transform: rotate(45deg) scale(1); }
.signal input:focus-visible ~ .case { outline: 2px solid var(--encre); outline-offset: 4px; }
.signal .enonce { font-size: .95rem; line-height: 1.55; color: var(--ardoise); transition: color .45s var(--entree); }
.signal input:checked ~ .enonce { color: var(--encre); font-weight: 500; }

.panneau-hote { position: sticky; top: 6.5rem; z-index: var(--z-flottant); }
.panneau-entete {
  font-family: var(--f-label); font-size: .66rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--sourdine);
  padding-bottom: 1.1rem; border-bottom: 1px solid var(--filet); margin-bottom: 1.4rem;
}
.panneau-vide { color: var(--sourdine); font-size: .94rem; margin: 0; }
.panneau-resultats { list-style: none; margin: 0 0 1.7rem; padding: 0; display: grid; gap: 1.05rem; }
.panneau-resultats li {
  display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: baseline;
  animation: remonte .55s var(--sortie);
}
.panneau-resultats .rang { font-family: var(--f-label); font-weight: 600; font-size: .74rem; letter-spacing: .1em; color: var(--or-texte); }
.panneau-resultats .axe { font-weight: 600; font-size: .98rem; color: var(--encre); }
.panneau-resultats .detail { grid-column: 2; font-size: .86rem; color: var(--sourdine); margin: 0; }
@keyframes remonte { from { transform: translateY(12px); } }
.panneau-pieds { border-top: 1px solid var(--filet); padding-top: 1.4rem; }
.panneau-pieds .btn { width: 100%; justify-content: space-between; }
.panneau-mention { font-size: .77rem; color: var(--sourdine); margin: 1rem 0 0; }

/* ---------------------------------------------------------------- Axes (registre) */
.axes { border-top: 1px solid var(--filet); }
.axe-bloc { border-bottom: 1px solid var(--filet); position: relative; }
.axe-bloc::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; right: 100%; background: var(--or); transition: right .9s var(--entree); }
.axe-bloc.ouvert::after { right: 0; }
.axe-tete {
  display: grid; grid-template-columns: 190px 1fr auto; gap: clamp(1rem, 3vw, 2.5rem);
  align-items: center; width: 100%; text-align: left; padding: clamp(1.4rem, 3vw, 2rem) 0;
  background: none; border: 0; cursor: pointer; font: inherit; color: inherit;
}
.axe-cle { font-family: var(--f-label); font-size: .7rem; font-weight: 600; letter-spacing: .14em; color: var(--or-texte); text-transform: uppercase; transition: transform .7s var(--entree); }
.axe-bloc:hover .axe-cle, .axe-bloc.ouvert .axe-cle { transform: translateX(6px); }
.axe-tete h3 { margin: 0; transition: transform .7s var(--entree); }
.axe-bloc:hover .axe-tete h3 { transform: translateX(6px); }
.axe-signe { width: 38px; height: 38px; border: 1px solid var(--filet-fort); border-radius: 50%; position: relative; flex-shrink: 0; transition: border-color .6s var(--entree), background .6s var(--entree), transform .6s var(--ressort); }
.axe-signe::before, .axe-signe::after { content: ""; position: absolute; left: 28%; right: 28%; top: 50%; height: 1px; background: var(--encre); transform: translateY(-.5px); transition: transform .7s var(--entree), background .6s var(--entree); }
.axe-signe::after { transform: translateY(-.5px) rotate(90deg); }
.axe-bloc.ouvert .axe-signe { background: var(--encre); border-color: var(--encre); }
.axe-bloc.ouvert .axe-signe::before, .axe-bloc.ouvert .axe-signe::after { background: #fff; }
.axe-bloc.ouvert .axe-signe::after { transform: translateY(-.5px) rotate(0deg); }
.axe-panneau { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .8s var(--entree); }
.axe-bloc.ouvert .axe-panneau { grid-template-rows: 1fr; }
.axe-panneau > div { overflow: hidden; }
.axe-corps {
  display: grid; grid-template-columns: 190px 1fr 1fr; gap: clamp(1.5rem, 4vw, 2.5rem);
  padding: 0 0 clamp(2rem, 4vw, 2.8rem); opacity: 0; transform: translateY(12px);
  transition: opacity .7s var(--sortie) .12s, transform .7s var(--sortie) .12s;
}
.axe-bloc.ouvert .axe-corps { opacity: 1; transform: none; }
.axe-corps .axe-vide { grid-column: 1; }

/* ---------------------------------------------------------------- Relevé & fiches */
.fiche-entete {
  display: flex; justify-content: space-between; gap: 1rem;
  font-family: var(--f-label); font-size: .66rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--sourdine);
  padding-bottom: 1rem; border-bottom: 1px solid var(--filet); margin-bottom: 1.2rem;
}
.releve { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.releve-ligne, .releve li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1.2rem;
  font-family: var(--f-registre); font-size: .85rem; font-variant-numeric: tabular-nums;
  padding: .55rem 0; border-bottom: 1px dashed var(--filet-fort);
}
.releve-ligne:last-child, .releve li:last-child { border-bottom: 0; }
.releve .poste { color: var(--sourdine); }
.releve .valeur { color: var(--encre); font-weight: 500; white-space: nowrap; }

/* ---------------------------------------------------------------- Cas */
.cas-liste { display: grid; gap: clamp(3rem, 6vw, 5rem); }
.cas { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.cas:nth-child(even) .cas-releve { order: 2; }
.cas-releve .carte { position: sticky; top: 7rem; padding: 1.4rem 1.5rem; }
.cas-situation { font-size: .95rem; color: var(--sourdine); padding-left: 1.3rem; border-left: 1px solid var(--filet-fort); margin-bottom: 1.6rem; }
.cas h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 1.2rem; }
.cas-reponse { color: var(--ardoise); }
.cas-ancre { font-size: .92rem; color: var(--sourdine); padding-top: 1.1rem; border-top: 1px solid var(--filet); margin-top: 1.5rem; }
.centre-lien { text-align: center; margin: -2rem 0 0; }

/* ---------------------------------------------------------------- Questions */
.qr-liste { columns: 2; column-gap: clamp(2rem, 5vw, 4.5rem); }
.qr { break-inside: avoid; padding-bottom: 1.8rem; margin-bottom: 1.8rem; border-bottom: 1px solid var(--filet); }
.qr h3 { font-size: 1.12rem; margin-bottom: .6rem; }
.qr p { font-size: .93rem; color: var(--sourdine); margin: 0; }

/* ---------------------------------------------------------------- Simulateur */
.simu { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.simu-champs { display: grid; gap: 1.2rem; padding-top: .4rem; }
.champ-unite { display: flex; align-items: stretch; }
.champ-unite input { flex: 1; min-width: 0; border-radius: 12px 0 0 12px; border-right: 0; font-family: var(--f-registre); font-variant-numeric: tabular-nums; }
.champ-unite span {
  display: grid; place-items: center; padding-inline: .9rem;
  font-family: var(--f-registre); font-size: .78rem; color: var(--sourdine);
  background: var(--pierre); border: 1px solid var(--filet-fort); border-left: 0; border-radius: 0 12px 12px 0;
}
.simu-plafond { font-size: .8rem; color: var(--sourdine); margin: 0; }
.simu-plafond.depasse { color: var(--or-texte); font-weight: 500; }
.simu-resultat { border-top: 1px solid var(--or); padding-top: 1.6rem; }
.simu-cle { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .4rem 1.5rem; font-family: var(--f-label); font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--or-texte); margin-bottom: .6rem; }
/* Le domaine dont relève l'outil, en étiquette à droite de la ligne, comme « Votre situation / Estimation » à gauche. */
.simu-domaine { display: inline-flex; align-items: center; gap: .45rem; margin-left: auto; color: var(--sourdine); border-bottom: 1px solid transparent; transition: color .5s var(--entree), border-color .5s var(--entree); }
.simu-domaine span { color: var(--or-texte); font-size: .95rem; letter-spacing: 0; transition: transform .5s var(--entree); }
.simu-domaine:hover { color: var(--encre); border-color: var(--or); }
.simu-domaine:hover span { transform: translateX(3px); }
.simu-chiffre { font-family: var(--f-registre); font-weight: 400; font-size: clamp(2.6rem, 6vw, 4.2rem); line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; color: var(--encre); margin: 0 0 .7rem; }
.simu-detail { font-size: .93rem; color: var(--sourdine); margin: 0; max-width: 40ch; }
.simu-lignes { margin: 2.2rem 0 0; padding: 0; display: grid; gap: 0; }
.simu-lignes > div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--filet); }
.simu-lignes dt { font-size: .89rem; color: var(--sourdine); }
.simu-lignes dd { margin: 0; font-family: var(--f-registre); font-size: .95rem; color: var(--encre); font-variant-numeric: tabular-nums; }
.simu-suite { margin-top: 2rem; }
.simu-hypotheses { margin-top: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--filet); }
.simu-hypotheses summary {
  cursor: pointer; list-style: none; padding: 1.3rem 0;
  font-family: var(--f-label); font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--sourdine);
  display: flex; align-items: center; gap: .8rem; transition: color .5s var(--entree);
}
.simu-hypotheses summary::-webkit-details-marker { display: none; }
.simu-hypotheses summary::before { content: "+"; font-size: 1rem; color: var(--or); transition: transform .6s var(--entree); }
.simu-hypotheses[open] summary::before { transform: rotate(45deg); }
.simu-hypotheses summary:hover { color: var(--encre); }
.simu-hypotheses-corps { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); padding-bottom: 2.5rem; }
.simu-hypotheses .releve li { border-bottom-color: var(--filet); }
.simu-note { font-size: .85rem; color: var(--sourdine); margin: 0 0 .9rem; }
.simu-note strong { color: var(--encre); }

.simu-onglets { display: flex; flex-wrap: wrap; gap: 0; border-bottom: 1px solid var(--filet); margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.simu-onglet {
  font-family: var(--f-label); font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sourdine);
  background: none; border: 0; cursor: pointer; padding: 1rem 1.5rem 1.1rem; margin-bottom: -1px; border-bottom: 1px solid transparent;
}
body.pret .simu-onglet { transition: color .5s var(--entree), border-color .5s var(--entree); }
.simu-onglet:first-child { padding-left: 0; }
.simu-onglet:hover { color: var(--encre); }
.simu-onglet[aria-selected="true"] { color: var(--encre); border-bottom-color: var(--or); }
.simu-volet .entete-section { margin-bottom: clamp(2rem, 4vw, 3rem); }

/* ---------------------------------------------------------------- Motion */
/* Entrée lourde : le flou qui se dissipe est ce qui donne la sensation de
   masse. Sans lui, un fade-up fait « template ». */
.js [data-reveal] { opacity: 0; transform: translateY(26px); filter: blur(7px); }
body.pret [data-reveal] { transition: opacity .95s var(--sortie), transform .95s var(--sortie), filter .95s var(--sortie); }
[data-reveal].vu { opacity: 1; transform: none; filter: none; }
[data-serie] > * { transition-delay: calc(var(--i, 0) * 90ms); }

.ligne { display: block; overflow: hidden; padding-bottom: .06em; }
.ligne-inner { display: block; transition: transform 1.15s var(--sortie); }
.js .ligne-inner { transform: translateY(108%); }
body.pret .ligne-inner { transform: none; }
.ligne:nth-child(2) .ligne-inner { transition-delay: .11s; }
.ligne:nth-child(3) .ligne-inner { transition-delay: .22s; }

.js [data-fondu] { opacity: 0; transform: translateY(18px); filter: blur(6px); }
body.pret [data-fondu] {
  opacity: 1; transform: none; filter: none;
  transition: opacity 1s var(--sortie) var(--retard, .45s), transform 1s var(--sortie) var(--retard, .45s), filter 1s var(--sortie) var(--retard, .45s);
}

/* ---------------------------------------------------------------- Responsive */
@media (max-width: 1080px) {
  .heros-grille, .edito, .edito-axe, .contact-grille, .groupe, .citation-bloc { grid-template-columns: 1fr; }
  .heros-media { order: -1; }
  .heros-media img { aspect-ratio: 16 / 11; }
  .heros-media::before { display: none; }
  .carte-preuve { grid-template-columns: 1fr 1fr; }
  .pourquoi, .domaines, .solutions, .articles-grille { grid-template-columns: 1fr 1fr; }
  .partenaires { grid-template-columns: repeat(3, 1fr); }
  .citation-media { aspect-ratio: 16 / 9; max-height: 320px; }
  .methode { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }
  .triptyque { grid-template-columns: 1fr 1fr; }
  .triptyque .tuile:nth-child(n) { margin-top: 0; }
  .pied-haut { grid-template-columns: 1fr 1fr; }
  .signaux-grille, .simu, .simu-hypotheses-corps, .cas { grid-template-columns: 1fr; }
  .panneau-hote { position: static; }
  .cas:nth-child(even) .cas-releve { order: 0; }
  .cas-releve .carte { position: static; }
  .qr-liste { columns: 1; }
  .centre-lien { margin-top: 0; }
  .axe-tete { grid-template-columns: 1fr auto; }
  .axe-corps { grid-template-columns: 1fr 1fr; }
  .axe-corps .axe-vide { display: none; }
  .articles-liste .article-carte.large { grid-template-columns: 1fr; }
  .portraits .portrait:nth-child(2) { margin-top: 0; }
}

@media (max-width: 1340px) {
  .marque .branche { display: none; }
}

@media (max-width: 1100px) {
  .nav-principale {
    position: fixed; left: var(--gouttiere); right: var(--gouttiere); top: 5.2rem;
    background: rgba(255, 255, 255, .98);
    -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px);
    border: 1px solid var(--filet); border-radius: 22px; box-shadow: var(--ombre-haute);
    max-height: 0; overflow: hidden; opacity: 0;
    transition: max-height .8s var(--entree), opacity .5s var(--entree);
  }
  .nav-principale.ouverte { max-height: 70vh; overflow-y: auto; opacity: 1; }
  .nav-principale ul { flex-direction: column; align-items: stretch; gap: 0; padding: .6rem 1.4rem 1.2rem; }
  .nav-principale a { display: block; padding: .9rem 0; border-bottom: 1px solid var(--filet); }
  .nav-principale li:last-child a { border-bottom: 0; }
  .nav-principale a::after { display: none; }
  .nav-principale li { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--sortie), transform .5s var(--sortie); }
  .nav-principale.ouverte li { opacity: 1; transform: none; }
  .nav-principale.ouverte li:nth-child(1) { transition-delay: .08s; }
  .nav-principale.ouverte li:nth-child(2) { transition-delay: .14s; }
  .nav-principale.ouverte li:nth-child(3) { transition-delay: .2s; }
  .nav-principale.ouverte li:nth-child(4) { transition-delay: .26s; }
  .nav-principale.ouverte li:nth-child(5) { transition-delay: .32s; }
  .nav-principale.ouverte li:nth-child(6) { transition-delay: .38s; }
  .bascule-nav { display: block; }
  .entete-cta { display: none; }
}

@media (max-width: 700px) {
  .carte-preuve, .pourquoi, .domaines, .solutions, .articles-grille, .portraits, .methode, .triptyque, .form-grille { grid-template-columns: 1fr; }
  .partenaires { grid-template-columns: 1fr 1fr; }
  .pied-haut { grid-template-columns: 1fr; }
  .carte-preuve { padding: 1.6rem 1.5rem; }
  .heros-actions .btn, .bandeau-final .btn, .rdv-bande .btn { width: 100%; justify-content: space-between; }
  .axe-tete { grid-template-columns: 1fr auto; row-gap: .55rem; }
  .axe-cle { grid-column: 1 / -1; }
  .axe-corps { grid-template-columns: 1fr; gap: 1.8rem; }
  .marque .branche { display: none; }
}

/* ---------------------------------------------------------------- Sobriété */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal], [data-fondu], .axe-corps { opacity: 1 !important; transform: none !important; filter: none !important; }
  .ligne-inner { transform: none !important; }
}


/* =========================================================================
   v0.3 : sous-menus, pages de section, équipe, histoire, implantations
   ========================================================================= */

/* ---------------------------------------------------------------- Sous-menus */
.a-sous-menu { position: relative; display: flex; align-items: center; gap: .15rem; }
.sous-menu-bascule {
  width: 22px; height: 22px; border: 0; background: none; cursor: pointer; padding: 0; position: relative;
  border-radius: 50%; flex-shrink: 0;
}
.sous-menu-bascule::before {
  content: ""; position: absolute; left: 7px; top: 5px; width: 6px; height: 6px;
  border-right: 1.5px solid var(--ardoise); border-bottom: 1.5px solid var(--ardoise);
  transform: rotate(45deg); transition: transform .5s var(--entree), border-color .4s var(--entree);
}
.a-sous-menu:hover .sous-menu-bascule::before, .a-sous-menu.ouvert .sous-menu-bascule::before {
  transform: translateY(3px) rotate(225deg); border-color: var(--encre);
}
.nav-principale ul.sous-menu {
  display: block; gap: 0;
  position: absolute; top: calc(100% + .7rem); left: -1rem; min-width: 260px;
  list-style: none; margin: 0; padding: .6rem;
  background: var(--blanc); border: 1px solid var(--filet); border-radius: 14px; box-shadow: var(--ombre-haute);
  opacity: 0; visibility: hidden; transform: translateY(8px); z-index: 5;
  transition: opacity .35s var(--entree), transform .5s var(--sortie), visibility 0s linear .35s;
}
/* Le pont invisible : la souris peut descendre du lien au panneau sans le fermer. */
.sous-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -.8rem; height: .8rem; }
.a-sous-menu:hover .sous-menu, .a-sous-menu:focus-within .sous-menu, .a-sous-menu.ouvert .sous-menu {
  opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
}
.nav-principale .sous-menu li a { display: block; padding: .55rem .9rem; border-radius: 8px; font-size: .86rem; color: var(--ardoise); }
.nav-principale .sous-menu li a:hover { background: var(--papier); color: var(--encre); }
.nav-principale .sous-menu li a::after { display: none; }
.sous-menu .sous-titre {
  font-family: var(--f-label); font-size: .64rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--or-texte); padding: .8rem .9rem .3rem; margin-top: .4rem;
  border-top: 1px solid var(--filet);
}

/* ---------------------------------------------------------------- Histoire */
.jalons { max-width: 920px; }
.jalon {
  display: grid; grid-template-columns: 150px 1fr; gap: 2rem; padding: 1.9rem 0;
  border-top: 1px solid var(--filet);
}
.jalon:last-child { border-bottom: 1px solid var(--filet); }
.jalon-date { font-family: var(--f-display); font-size: 1.7rem; line-height: 1.1; color: var(--or-texte); margin: 0; }
.jalon h3 { font-size: 1.3rem; margin-bottom: .45rem; }
.jalon p:last-child { color: var(--ardoise); font-size: .95rem; }

/* ---------------------------------------------------------------- Équipe */
.equipe-ville + .equipe-ville { margin-top: calc(var(--souffle) * .8); }
.equipe-grille { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem 1.2rem; }
.membre img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top;
  border-radius: 14px; background: var(--pierre); margin-bottom: 1rem;
}
.membre h3 { font-size: 1.22rem; margin-bottom: .25rem; }
.membre-titre {
  font-family: var(--f-label); font-size: .68rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--or-texte); margin-bottom: .6rem; line-height: 1.5;
}
.membre-bio { font-size: .87rem; color: var(--sourdine); }
.equipe-referents { grid-template-columns: 1fr 1fr 2fr; }
.membre-duo img { aspect-ratio: 3 / 2; }

/* ---------------------------------------------------------------- Implantations */
.implantations-grille { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.carte-hote { margin: 0; }
.carte-france { width: 100%; height: auto; }
.implantations-grille .implantations { grid-template-columns: 1fr 1fr; }
.quartier {
  font-family: var(--f-label); font-size: .7rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--sourdine); margin: -.7rem 0 .6rem;
}
.referents { margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--filet); display: grid; gap: .7rem; }
.referents .ref { display: flex; align-items: center; gap: .7rem; font-size: .88rem; color: var(--encre); font-weight: 500; line-height: 1.3; }
.referents img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: center top; background: var(--pierre); flex-shrink: 0; }
.referents small { font-weight: 400; font-size: .74rem; color: var(--sourdine); }
.implantations-4 .implantation { padding: 1.5rem 1.5rem 1.6rem; }

/* ---------------------------------------------------------------- Pages de section */
.pourquoi-detail { font-size: .88rem; color: var(--ardoise); margin-top: .9rem; padding-top: .9rem; border-top: 1px solid var(--filet); }
.methode-detail { margin-top: calc(var(--souffle) * .8); }
.domaines-detail { grid-template-columns: 1fr 1fr; gap: 2.2rem 3rem; }
.domaine-detail .puces { margin: 1rem 0; }
.partenaires-categorie + .partenaires-categorie { margin-top: calc(var(--souffle) * .6); }
.groupe-page { border-top: 0; padding-top: 0; margin-top: 0; grid-template-columns: 1.1fr 1fr; }
.groupe-page h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }

@media (max-width: 1080px) {
  .equipe-grille, .equipe-referents { grid-template-columns: 1fr 1fr; }
  .membre-duo { grid-column: 1 / -1; }
  .implantations-grille, .groupe-page { grid-template-columns: 1fr; }
  .implantations-4 { grid-template-columns: 1fr 1fr; }
  .domaines-detail { grid-template-columns: 1fr; }
}
@media (max-width: 1100px) {
  .a-sous-menu { flex-wrap: wrap; }
  .a-sous-menu > a { flex: 1; }
  .sous-menu-bascule { width: 40px; height: 40px; }
  .sous-menu-bascule::before { left: 16px; top: 14px; }
  .nav-principale ul.sous-menu {
    position: static; min-width: 0; width: 100%; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-radius: 0; padding: 0 0 .5rem .9rem; display: none;
  }
  .nav-principale .a-sous-menu.ouvert ul.sous-menu { display: block; }
  .nav-principale .sous-menu li a { padding: .55rem .6rem; border-bottom: 0; }
}
@media (max-width: 700px) {
  .equipe-grille, .equipe-referents, .implantations-4, .implantations-grille .implantations { grid-template-columns: 1fr; }
  .jalon { grid-template-columns: 1fr; gap: .4rem; }
}


/* =========================================================================
   v0.4 : photos d'ambiance, renvois, simulateurs
   ========================================================================= */
.heros-photo .heros-grille { grid-template-columns: 1.15fr .85fr; }
.heros-media-page img { aspect-ratio: 4 / 3.4; }
.heros-photo .heros-media::before { inset: 1rem -1rem -1rem 1rem; }
.heros-photo h1 { max-width: none; }

.entete-simu { padding: .42rem .42rem .42rem .95rem; }
.entete-simu .rond { width: 26px; height: 26px; }
.btn-petit { padding: .35rem .35rem .35rem 1rem; font-size: .7rem; }
.btn-petit .rond { width: 26px; height: 26px; font-size: .8rem; }

.solution-pied {
  position: absolute; left: 2rem; right: 1.5rem; bottom: 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-family: var(--f-label); font-size: .7rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--or-texte);
}
.solution .solution-pied .rond { position: static; }
.article-texte .lien-texte { margin-top: .7rem; font-size: .86rem; }

.simu-cartes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.simu-carte { display: block; padding: 1.9rem 2rem 2rem; transition: transform .7s var(--sortie), box-shadow .7s var(--entree); }
.simu-carte h3 { font-size: 1.3rem; margin-bottom: .6rem; }
.simu-carte p:not(.surtitre) { font-size: .92rem; color: var(--sourdine); margin-bottom: 1.2rem; }
.simu-carte:hover { transform: translateY(-4px); box-shadow: var(--ombre-haute); }
.simu-ancres { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.simu-volet + .simu-volet { margin-top: calc(var(--souffle) * .9); padding-top: calc(var(--souffle) * .7); border-top: 1px solid var(--filet); }
.simu-volet .entete-section h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); }

@media (max-width: 1080px) {
  .heros-photo .heros-grille { grid-template-columns: 1fr; }
  .heros-media-page img { aspect-ratio: 16 / 10; }
  .simu-cartes { grid-template-columns: 1fr; }
}
@media (max-width: 1260px) { .entete-simu { display: none; } }


/* =========================================================================
   v0.5 : animations. Une règle tenue : chaque mouvement dit quelque chose du
   contenu (la carte se dessine, la méthode se déroule, un chiffre s'ajuste).
   ========================================================================= */

/* Les titres de section se révèlent en rideau plutôt qu'en flou. */
.js h2[data-reveal] {
  opacity: 1; filter: none; transform: translateY(18px);
  clip-path: inset(0 0 100% 0);
}
body.pret h2[data-reveal] { transition: clip-path 1s var(--sortie), transform 1s var(--sortie); }
.js h2[data-reveal].vu { clip-path: inset(-10% -2% -12% -2%); transform: none; }

/* La méthode : le filet d'or descend, puis la colonne apparaît, l'une après l'autre. */
.etape { position: relative; }
.etape::before {
  content: ""; position: absolute; left: -1px; top: 0; width: 1px; height: 100%;
  background: var(--or); transform: scaleY(0); transform-origin: top;
}
.js .methode .etape { opacity: 0; transform: translateY(10px); }
body.pret .methode .etape { transition: opacity .8s var(--sortie) calc(var(--i, 0) * 160ms + .25s), transform .8s var(--sortie) calc(var(--i, 0) * 160ms + .25s); }
body.pret .methode .etape::before { transition: transform .9s var(--entree) calc(var(--i, 0) * 160ms); }
.methode.vu .etape { opacity: 1; transform: none; }
.methode.vu .etape::before { transform: scaleY(1); }

/* La carte de France se dessine, puis les villes se posent et respirent. */
.js .carte-hote path { stroke-dasharray: 1; stroke-dashoffset: 1; fill-opacity: 0; }
.carte-hote.vu path {
  stroke-dashoffset: 0; fill-opacity: 1;
  transition: stroke-dashoffset 2.4s var(--entree) .2s, fill-opacity 1.2s ease 1.6s;
}
.js .carte-hote circle, .js .carte-hote text { opacity: 0; transform: scale(.6); transform-box: fill-box; transform-origin: center; }
.carte-hote.vu circle, .carte-hote.vu text {
  opacity: 1; transform: none;
  transition: opacity .7s var(--sortie) 2s, transform .9s var(--ressort) 2s;
}
.carte-hote.vu .halo { animation: respirer 3.2s ease-out 3s infinite; }
@keyframes respirer {
  0% { transform: scale(.7); opacity: .9; }
  70% { transform: scale(1.9); opacity: 0; }
  100% { transform: scale(1.9); opacity: 0; }
}

/* Les photos : un zoom d'ouverture très lent, et un léger décalage au défilement. */
.js .heros-media img { transform: scale(1.06); transition: transform 2.2s var(--sortie) .15s; }
body.pret .heros-media img { transform: none; }
.heros-media { will-change: transform; }
.membre img, .portrait img { transition: transform 1.3s var(--sortie); }
.membre:hover img, .portrait:hover img { transform: scale(1.03); }

/* Le filet d'or de progression, en haut de page. */
.progression {
  position: fixed; top: 0; left: 0; z-index: 60; width: 100%; height: 2px;
  background: var(--or); transform-origin: left; transform: scaleX(var(--progression, 0));
  pointer-events: none;
}

/* Les chiffres des simulateurs s'ajustent au lieu de sauter. */
.simu-chiffre.ajuste { color: var(--or-texte); }
.simu-chiffre { transition: color .5s var(--entree); }

@media (prefers-reduced-motion: reduce) {
  .js h2[data-reveal] { clip-path: none !important; transform: none !important; }
  .js .methode .etape { opacity: 1 !important; transform: none !important; }
  .etape::before { transform: scaleY(1) !important; }
  .js .carte-hote path { stroke-dashoffset: 0 !important; fill-opacity: 1 !important; }
  .js .carte-hote circle, .js .carte-hote text { opacity: 1 !important; transform: none !important; }
  .carte-hote.vu .halo { animation: none !important; }
  .js .heros-media img { transform: none !important; }
  .progression { display: none; }
}

/* L'étiquette déplacée en fin d'en-tête : de l'air au-dessus, plus rien dessous. */
.surtitre-apres { margin: 1.2rem 0 0; }
.entete-ligne .surtitre-apres { margin-top: .9rem; }

/* Dans les bandeaux centrés, l'étiquette suit le chapô de près et laisse de l'air aux boutons. */
.bandeau-final .surtitre-apres, .rdv-bande .surtitre-apres { margin: -1.3rem 0 2.8rem; }


/* =========================================================================
   v0.6 : retours de relecture. Deux bureaux, l'équipe patrimoine seule,
   les autres services du groupe, le bandeau des cabinets.
   ========================================================================= */
.implantations-2 { grid-template-columns: repeat(2, 1fr); }
.implantations-2 .implantation { padding: 1.5rem 1.5rem 1.6rem; }

/* Liens dans un chapô : soulignés d'or, sans changer de couleur. */
.chapo a { color: inherit; text-decoration: underline; text-decoration-color: var(--or); text-decoration-thickness: 1px; text-underline-offset: 4px; transition: text-decoration-color .4s var(--entree); }
.chapo a:hover { text-decoration-color: var(--encre); }

/* Les groupes de l'équipe (Paris, Marseille) sous le titre de section. */
.titre-groupe { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.15; color: var(--encre); margin: 0; }
.entete-ligne .surtitre-apres { margin-top: .8rem; }
#equipe .entete-section + .equipe-ville { margin-top: 0; }

/* Nos autres services : deux cartes. */
.services { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.service { padding: 2rem 2rem 2.1rem; }
.service h3 { font-size: 1.45rem; margin: .5rem 0 .8rem; }
.service p:not(.surtitre) { color: var(--ardoise); font-size: .95rem; margin: 0 0 1.4rem; }
.a-venir { display: inline-block; font-family: var(--f-label); font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--sourdine); border: 1px solid var(--filet-fort); border-radius: 999px; padding: .4rem .9rem; }

/* Le groupe : texte seul, puis le bandeau des cabinets, comme sur numeris-groupe.fr. */
.groupe-seul { grid-template-columns: 1fr; max-width: 760px; }
.logos-bande { list-style: none; margin: 2.6rem 0 0; padding: 2rem 0 0; border-top: 1px solid var(--filet); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.4rem 2.2rem; }
.logos-bande li { margin: 0; }
.logos-bande a { display: block; line-height: 0; }
.logos-bande img { height: 34px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1); opacity: .62; transition: filter .6s var(--entree), opacity .6s var(--entree), transform .6s var(--entree); }
.logos-bande a:hover img { filter: none; opacity: 1; transform: translateY(-2px); }

@media (max-width: 1003px) {
  .implantations-2 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .implantations-2, .services { grid-template-columns: 1fr; }
  .logos-bande { justify-content: center; gap: 1.2rem 1.8rem; }
  .logos-bande img { height: 28px; }
}

/* v0.6 : logo officiel Numeris Patrimoine, plus haut que le logo du groupe. */
@media (max-width: 760px) {
  .marque img, .site-entete.condense .marque img { height: 34px; }
}

/* =========================================================================
   Bandeau de consentement (mesure d'audience, assets/js/analytics.js).
   Une carte blanche posée en bas à gauche, dans les matières du site : filet,
   rayon et ombre haute. Les deux boutons ont le même poids ; le bouton
   « Accepter » (classe btn-solid, commune aux sites du groupe) est en encre.
   ========================================================================= */
.cookie-banner {
  position: fixed; left: var(--gouttiere); right: var(--gouttiere); bottom: 1.25rem;
  z-index: var(--z-flottant); display: flex; justify-content: flex-start; pointer-events: none;
}
/* L'attribut hidden (posé par analytics.js) doit gagner sur le display: flex ci-dessus. */
.cookie-banner[hidden] { display: none; }
.cookie-banner-inner {
  pointer-events: auto; width: 100%; max-width: 460px;
  background: var(--blanc); color: var(--ardoise);
  border: 1px solid var(--filet); border-radius: var(--rayon); box-shadow: var(--ombre-haute);
  padding: 1.5rem 1.6rem 1.6rem;
}
.cookie-banner-title {
  font-family: var(--f-label); font-weight: 600; font-size: .74rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--encre);
  margin: 0 0 .6rem;
}
.cookie-banner-inner p { margin: 0; font-size: .9rem; line-height: 1.6; }
.cookie-banner-inner a { color: var(--or-texte); text-decoration: underline; text-underline-offset: 3px; }
.cookie-banner-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.2rem; }
.cookie-banner-actions .btn { padding: .8rem 1.4rem; border-color: var(--filet-fort); color: var(--encre); }
.cookie-banner-actions .btn:hover { border-color: var(--encre); }
.cookie-banner-actions .btn-solid { background: var(--encre); border-color: var(--encre); color: #fff; }
.cookie-banner-actions .btn-solid:hover { background: #17284f; }
@media (max-width: 620px) {
  .cookie-banner { left: .75rem; right: .75rem; bottom: .75rem; }
  .cookie-banner-actions .btn { flex: 1 1 0; justify-content: center; }
}
@media print { .cookie-banner { display: none; } }

/* Bouton habillé en lien : « Gérer les cookies » dans le pied de page. */
.link-button {
  background: none; border: 0; padding: 0; margin: 0; font: inherit; color: inherit;
  letter-spacing: inherit; cursor: pointer; transition: color .5s var(--entree);
}
.pied-bas .link-button:hover { color: #fff; }

/* Envoi réussi : la confirmation prend la place du formulaire, dans son cadre (main.js, 20 octobre 2026) */
.form-confirmation {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .8rem; padding: 2.6rem 1.4rem; text-align: center;
  grid-column: 1 / -1; flex: 1 1 100%;   /* le formulaire peut être une grille ou une ligne flex */
  animation: form-confirmation-entree .45s ease-out both;
}
.form-confirmation:focus { outline: none; }
.form-confirmation-icone {
  width: 58px; height: 58px; fill: none; stroke: var(--or);
  stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
}
.form-confirmation-icone path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: form-confirmation-coche .5s .25s ease-out forwards; }
.form-confirmation h3 { margin: .4rem 0 0; }
.form-confirmation p { margin: 0; max-width: 44ch; }
.form-confirmation-lien { margin-top: .5rem; font-weight: 700; color: var(--or-texte); text-decoration: underline; text-underline-offset: .2em; }
@keyframes form-confirmation-entree { from { opacity: 0; transform: translateY(8px); } }
@keyframes form-confirmation-coche { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .form-confirmation { animation: none; }
  .form-confirmation-icone path { animation: none; stroke-dashoffset: 0; }
}
