/* ==========================================================================
   PAUPY PATRIMOINE — feuille de style commune
   Couleurs et polices reprises des maquettes Claude Design.
   ========================================================================== */

:root {
  /* Verts */
  --vert: #2d5a3a;
  --vert-2: #3d6b48;
  --vert-cta: #1f3f2a;
  --vert-bouton: #1f3a28;
  --vert-pied: #16301f;
  --vert-video: #1c3a26;
  /* Ors */
  --or: #c9a854;
  --or-survol: #d8bb6c;
  --or-fonce: #a3843a;
  --or-texte: #7a5f22;
  --or-clair: #dcc27a;
  --or-bordure: #c9b98a;
  /* Neutres */
  --creme: #f9f8f5;
  --sable: #efebe0;
  --ligne: #e4dfd0;
  --ligne-2: #d9d2bd;
  --encre: #1e2a22;
  --texte: #3a463e;
  --texte-clair: #d7ded8;

  --serif: 'Spectral', Georgia, serif;
  --sans: 'Literata', Georgia, serif;

  /* Marges : 120 px sur un écran de 1440 px, contenu limité à 1200 px au-delà */
  --gx: clamp(20px, 8.333vw, 120px);
  --px: max(var(--gx), calc((100% - 1200px) / 2));
  --sy: clamp(64px, 7.8vw, 112px);
  --gap: clamp(40px, 6.67vw, 96px);
  --header-h: 88px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--creme);
  font-family: var(--sans);
  color: var(--encre);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; }
a { color: var(--vert); }
a:hover { color: var(--vert-2); }
:focus-visible { outline: 2px solid var(--or); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  padding: 12px 18px; background: var(--vert); color: var(--creme);
  font-size: 14px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 16px; color: var(--creme); }

/* --- Typographie -------------------------------------------------------- */

.eyebrow, .eyebrow-l {
  margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
}
.eyebrow { color: var(--or-texte); }
.eyebrow-l { color: var(--or-clair); }

.h1 {
  margin: 0; font-family: var(--serif); font-weight: 500;
  font-size: clamp(40px, 4.72vw, 68px); line-height: 1; letter-spacing: -.01em; color: var(--creme);
}
.h2 {
  margin: 0; font-family: var(--serif); font-weight: 500;
  font-size: clamp(30px, 2.78vw, 40px); line-height: 1.08; color: var(--vert);
}
.h3 {
  margin: 0; font-family: var(--serif); font-weight: 600;
  font-size: var(--h3-size, 24px); line-height: 1.2; color: var(--vert);
}
.h3--lg { --h3-size: 28px; }
/* « PAUPY PATRIMOINE » gardé sur une ligne, la suite du titre passe dessous */
.nowrap-line { display: block; white-space: nowrap; }
.lead { margin: 0; font-size: clamp(18px, 1.39vw, 20px); line-height: 1.6; color: #e2e8e3; }
.lead strong { color: var(--creme); font-weight: 600; }
.p { margin: 0; font-size: 17px; line-height: 1.7; color: var(--texte); }
.p-18 { font-size: 18px; }
.p-19 { font-size: 19px; }
.p-20 { font-size: 20px; line-height: 1.65; }
.p--ink { color: var(--encre); }
.p--light { color: var(--texte-clair); }
.p strong { font-weight: 600; color: var(--encre); }
.num { font-family: var(--serif); font-size: 46px; font-weight: 500; line-height: 1; color: var(--or-fonce); }
.num--gold { color: var(--or); }
.num--xl { font-size: 72px; line-height: .9; }
.tool {
  margin: 0; font-family: var(--serif); font-weight: 600; color: var(--vert);
  font-size: var(--tool-size, 28px); line-height: var(--tool-lh, 1.1);
}
.tag { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--or-texte); }
.name { margin: 0; font-family: var(--serif); font-size: 32px; font-weight: 600; line-height: 1; color: var(--vert); }

/* Partenaires : cartes 3 × 3, nom souligné d'un trait doré */
.partner { gap: 14px; }
.partner__name {
  margin: 0; padding-bottom: 14px; font-family: var(--serif); font-size: 28px; font-weight: 600;
  line-height: 1.15; color: var(--vert); text-align: left; position: relative;
}
.partner__name::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 2px; background: var(--or); }
/* Logos en couleurs d'origine, dans une même zone pour tous (le trait doré reste aligné) */
.partner__name--logo { height: 72px; display: flex; align-items: flex-end; box-sizing: content-box; }
.partner__logo { display: block; width: auto; height: var(--h, 40px); max-width: 100%; }
.pill {
  align-self: flex-start; padding: 6px 10px; font-size: 12px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--vert); background: #e7eee8;
}

/* Texte justifié sur tout le site, sans coupure de mots */
p, .td, li { text-align: justify; hyphens: manual; -webkit-hyphens: manual; }
/* Colonnes étroites (3 à 6 par ligne) : alignées à gauche, le justifié y creuserait de grands blancs */
.grid-3 p, .grid-4 p, .grid-6 p, .grid-3 li, .grid-4 li, .grid-6 li { text-align: left; }
/* Titres et intitulés : jamais justifiés, jamais coupés */
h1, h2, h3, h4, .h1, .h2, .h3, .num, .tool, .name, .tag, .eyebrow, .eyebrow-l, .step-k, .step-t,
.hz-k, .hz-v, .li-n, .pill, .th, strong { text-align: left; hyphens: manual; -webkit-hyphens: manual; }

/* --- Boutons et liens --------------------------------------------------- */

.btn, .btn-o {
  display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 30px;
  font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; border-radius: 2px;
}
.btn { background: var(--or); color: var(--vert-bouton); flex-shrink: 0; }
.btn:hover { background: var(--or-survol); color: var(--vert-bouton); }
.btn-o { border: 1px solid var(--vert); color: var(--vert); }
.btn-o:hover { background: var(--vert); color: var(--creme); }
.link {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; align-self: flex-start;
  font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; color: var(--vert); border-bottom: 1px solid var(--or);
}
.link--light, .link--light:hover { color: var(--creme); }
.row {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 62px;
  border-top: 1px solid var(--ligne); font-size: 18px; color: var(--encre); text-decoration: none;
}
.row:hover { color: var(--vert); }
.row svg { flex-shrink: 0; }

/* --- Mise en page ------------------------------------------------------- */

.section { padding: var(--sy) var(--px); }
.section--s { padding-block: clamp(60px, 7.2vw, 104px); }
.section--flush { padding-top: 0; }
.section--sand { background: var(--sable); }
.section--green { background: var(--vert); }
.stack { display: flex; flex-direction: column; }
.sec-head { display: flex; flex-direction: column; gap: 20px; }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px 64px; }

.split { display: flex; gap: var(--gap); align-items: flex-start; }
.split--center { align-items: center; }
.split__aside { flex: 0 0 min(var(--w, 460px), 45%); display: flex; flex-direction: column; gap: 20px; }
.split__main { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.split__offset { padding-top: 44px; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.span-2 { grid-column: span 2; }
.span-3 { grid-column: span 3; }
.plain-list { margin: 0; padding: 0; list-style: none; }

.card {
  display: flex; flex-direction: column; gap: 18px; padding: 40px 36px;
  background: #ffffff; border: 1px solid var(--ligne);
}
.card--gold { border-top: 3px solid var(--or); }
.card--lg { padding: 48px; gap: 24px; }
.card--xl { padding: 44px 38px; }
.card--row { flex-direction: row; align-items: flex-start; gap: 28px; }
.card--wide { padding: 40px 44px; gap: 32px; }
.card__body { display: flex; flex-direction: column; gap: 14px; }

/* Listes numérotées « PAUPY PATRIMOINE à vos côtés » */
.li-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; flex: 1 1 0; min-width: 0; }
.li { display: flex; gap: 28px; padding: 28px 0; border-top: 1px solid var(--ligne-2); }
.li:last-child { border-bottom: 1px solid var(--ligne-2); }
.li-n { flex-shrink: 0; width: 44px; font-family: var(--serif); font-size: 26px; font-weight: 600; line-height: 1.2; color: var(--or-fonce); }

/* Bandeau d'appel avant le pied de page */
.cta {
  display: flex; justify-content: space-between; align-items: center; gap: 64px;
  padding: clamp(56px, 6.67vw, 96px) var(--px); background: var(--vert-cta);
}
.cta__text { display: flex; flex-direction: column; gap: 18px; max-width: 760px; }
.cta .h2 { font-size: clamp(32px, 3.2vw, 46px); color: var(--creme); }
.cta .lead { font-size: 18px; color: var(--texte-clair); }
.cta__text--wide { max-width: none; flex: 1 1 auto; min-width: 0; }
.cta .cta__phrase { font-size: clamp(26px, 2.5vw, 36px); text-wrap: balance; }
/* Encadré en retrait des marges */
.band {
  margin: 0 var(--px) var(--sy);
  padding: clamp(40px, 6.1vw, 88px) clamp(24px, 6.67vw, 96px);
  display: flex; justify-content: space-between; align-items: center; gap: clamp(32px, 5vw, 72px);
}
.band--sand { background: var(--sable); }
.band--green { background: var(--vert); justify-content: flex-start; padding: clamp(40px, 5vw, 72px) clamp(24px, 5.56vw, 80px); }
/* Encadré « note importante » : fond sable, fin trait doré à gauche */
.band--note { background: var(--sable); border-left: 3px solid var(--or); justify-content: flex-start; padding: clamp(32px, 4vw, 56px) clamp(24px, 4.5vw, 64px); }
.band__actions { display: flex; flex-direction: column; gap: 16px; flex-shrink: 0; }

/* --- En-tête ------------------------------------------------------------ */

.site-header {
  position: relative; z-index: 50;
  background: var(--creme); border-bottom: 1px solid var(--ligne);
  font-family: var(--sans); color: var(--encre);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: var(--header-h);
  padding: 0 max(clamp(20px, 4.44vw, 64px), calc((100% - 1312px) / 2));
}
.brand { display: flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.brand img { display: block; width: auto; }
.site-header .brand img { height: 54px; }

.site-nav { flex: 1 1 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 100%; }
.main-nav { display: flex; align-items: center; gap: 4px; height: 100%; margin: 0 auto; }
.nav-item { position: relative; height: 100%; display: flex; align-items: center; }
.nav-btn {
  display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px;
  background: transparent; border: 0; border-bottom: 2px solid transparent;
  font-family: inherit; font-size: 15px; font-weight: 500; color: #2f3a32; cursor: pointer;
  text-decoration: none;
}
a.nav-btn:hover { color: var(--vert); border-bottom-color: var(--or); }
.nav-btn svg { flex-shrink: 0; transition: transform .2s ease; }
.nav-item.is-open .nav-btn svg { transform: rotate(180deg); }
.nav-item.is-active .nav-btn,
.nav-item.is-open .nav-btn { color: var(--vert); border-bottom-color: var(--or); }
.nav-sub {
  display: none; flex-direction: column;
  position: absolute; top: 100%; left: 0; min-width: 280px; padding: 10px;
  background: #ffffff; border: 1px solid var(--ligne); border-top: 3px solid var(--or);
  box-shadow: 0 18px 40px rgba(31, 58, 40, .14);
}
.nav-item.is-open .nav-sub { display: flex; }
.nav-sub a {
  display: flex; align-items: center; min-height: 44px; padding: 10px 16px;
  font-size: 16px; font-weight: 600; color: var(--vert); text-decoration: none;
}
.nav-sub a:hover, .nav-sub a[aria-current="page"] { background: var(--creme); }
.header-cta {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px;
  background: var(--or); color: var(--vert-bouton); border-radius: 2px; white-space: nowrap;
  font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
}
.header-cta:hover { background: var(--or-survol); color: var(--vert-bouton); }

.nav-toggle {
  display: none; align-items: center; gap: 12px; min-height: 44px; padding: 0 14px;
  background: transparent; border: 1px solid var(--ligne); border-radius: 2px; cursor: pointer;
  font-family: inherit; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--vert);
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 18px; height: 2px; background: currentColor; transition: transform .2s ease, background .2s ease;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.is-menu-open .nav-toggle__bars { background: transparent; }
.is-menu-open .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.is-menu-open .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* --- Pied de page ------------------------------------------------------- */

.site-footer {
  display: flex; flex-direction: column; gap: 48px;
  padding: 72px var(--px) 36px; background: var(--vert-pied); color: var(--texte-clair); font-family: var(--sans);
}
.site-footer__top { display: flex; justify-content: space-between; gap: 48px; }
.site-footer__brand { flex: 0 0 330px; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.site-footer .brand img { height: 68px; }
.site-footer__quote {
  margin: 0; font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.3;
  color: var(--creme); text-align: left;
}
.site-footer__mail { font-size: 15px; color: var(--or-clair); }
.site-footer__mail:hover { color: var(--or); }
.site-footer__phone { font-size: 15px; }
.site-footer__phone a { color: inherit; }
.site-footer__cols { display: flex; gap: 56px; }
.site-footer__col { display: flex; flex-direction: column; gap: 14px; }
.site-footer__title { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--or-clair); }
.site-footer__col a { font-size: 15px; color: var(--texte-clair); text-decoration: none; }
.site-footer__col a:hover { color: var(--creme); text-decoration: underline; }
.site-footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px;
  padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 13px; color: #aebbb1;
}
.site-footer__bottom a { display: inline-flex; align-items: center; min-height: 44px; color: var(--texte-clair); }
.site-footer__bottom a:hover { color: var(--creme); }

/* --- Bandeau de titre des pages intérieures ------------------------------ */

.page-hero {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 24px;
  padding: clamp(48px, 5vw, 72px) var(--px) clamp(64px, 6.67vw, 96px); background: var(--vert);
}
.page-hero > :not(.page-hero__lines) { position: relative; }
.page-hero__lines { position: absolute; right: 0; bottom: 0; width: min(620px, 70%); height: auto; }
.page-hero .eyebrow-l { margin-top: 24px; }
.page-hero .lead { max-width: 740px; }
.page-hero--legal { gap: 22px; padding: clamp(48px, 4.44vw, 64px) var(--px) clamp(56px, 5vw, 72px); }
.page-hero--legal .h1 { margin-top: 20px; font-size: clamp(40px, 4.17vw, 60px); letter-spacing: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 14px; color: #c8d3ca; }
.crumb { color: #c8d3ca; text-decoration: none; }
.crumb:hover { color: var(--creme); }

/* --- Accueil ------------------------------------------------------------ */

.home-hero {
  position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center;
  min-height: clamp(560px, 57vw, 820px); padding: 72px var(--px); background: var(--vert-video);
}
.home-hero__media { position: absolute; left: 0; top: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.home-hero__still { opacity: 0; transition: opacity .6s ease; }
/* Pas de bouton lecture de Safari par-dessus la vidéo d'accueil */
.home-hero__media::-webkit-media-controls,
.home-hero__media::-webkit-media-controls-start-playback-button { display: none !important; -webkit-appearance: none; }
.home-hero.is-ended .home-hero__still { opacity: 1; }
.home-hero__veil { position: absolute; inset: 0; background: rgba(20, 42, 28, .42); }
.home-hero__gradient {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20, 42, 28, .78) 0%, rgba(20, 42, 28, .5) 45%, rgba(20, 42, 28, 0) 80%);
}
.home-hero__content { position: relative; max-width: 1000px; display: flex; flex-direction: column; gap: 32px; }
.home-hero .h1 { font-size: clamp(44px, 5.83vw, 84px); line-height: .98; font-style: italic; }
.home-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 32px; margin-top: clamp(16px, 3.33vw, 48px); }

.method li { display: flex; flex-direction: column; gap: 16px; padding-top: 28px; border-top: 1px solid rgba(220, 194, 122, .5); }

/* Accueil : la méthode présentée comme la carte d'un restaurant */
.menu-card {
  width: 100%; max-width: 640px; margin: 0 auto; padding: 44px clamp(24px, 5vw, 60px) 48px;
  background: var(--creme); outline: 1px solid var(--or); outline-offset: -10px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .18);
}
.menu-card__title {
  display: flex; align-items: center; gap: 18px; margin: 0 0 30px;
  font-family: var(--serif); font-style: italic; font-size: 26px; color: var(--vert);
}
.menu-card__title::before, .menu-card__title::after { content: ""; flex: 1; height: 1px; background: var(--or); }
.menu-card__list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 20px; }
.menu-card__list li { display: flex; align-items: baseline; gap: 12px; }
.menu-card__item { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--vert); text-align: left; }
.menu-card__dots { flex: 1; min-width: 24px; border-bottom: 2px dotted var(--or); transform: translateY(-5px); }
.menu-card__num { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--or-texte); }
/* Version détaillée (page Notre méthode) : une courte description sous chaque étape, comme sous un plat */
.menu-card--detail { max-width: 760px; background: #ffffff; }
.menu-card--detail .menu-card__list { gap: 26px; }
.menu-card--detail .menu-card__list li { display: block; }
.menu-card__line { display: flex; align-items: baseline; gap: 12px; }
.menu-card__line .menu-card__item { margin: 0; }
.menu-card__desc { margin: 6px 0 0; font-style: italic; font-size: 17px; line-height: 1.5; color: var(--texte); text-align: left; text-wrap: balance; }
#methode { scroll-margin-top: 24px; }

/* Petit arbre doré en bas de la carte, comme une signature */
.menu-card__sign { display: flex; justify-content: center; margin-top: 30px; }
.menu-card__sign .compass { width: 34px; stroke-width: 11; }
@media (max-width: 640px) {
  .menu-card__item, .menu-card__num { font-size: 19px; }
  .menu-card__list { gap: 16px; }
}

/* --- Pages intérieures : composants ------------------------------------- */

/* Histoire */
.portrait {
  display: block; width: 100%; height: auto; aspect-ratio: 440 / 560; object-fit: cover;
  background: var(--ligne); border: 1px solid var(--ligne-2);
}
.signature { display: flex; align-items: center; gap: 16px; margin-top: 8px; }
.signature__line { flex-shrink: 0; width: 48px; height: 1px; background: var(--or); }
.signature p { margin: 0; font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--vert); text-align: left; }
.compass { flex-shrink: 0; width: 200px; height: auto; }
/* Accueil : portrait rond du fondateur (même largeur que la boussole pour aligner les textes) */
.avatar { flex-shrink: 0; width: 200px; height: 200px; border-radius: 50%; object-fit: cover; object-position: center 20%; border: 2px solid var(--or); }

/* Accueil : citation du fondateur */
.home-quote { margin: 0; padding-left: 22px; border-left: 2px solid var(--or); }
.home-quote p { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(20px, 1.7vw, 24px); line-height: 1.45; color: var(--vert); text-align: left; text-wrap: balance; }
.home-quote footer { margin-top: 10px; font-size: 15px; color: var(--texte); }

/* Accueil : bande de repères (réseau, ORIAS, CNCEF) */
.trust-band { padding: 34px var(--px); border-top: 1px solid var(--ligne); border-bottom: 1px solid var(--ligne); }
.trust { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, auto); justify-content: center; row-gap: 12px; }
.trust li { padding: 0 22px; font-family: var(--serif); font-size: 17px; color: var(--vert); text-align: center; }
.trust li + li { border-left: 1px solid var(--or); }
/* Écran moyen : 2 × 2, séparateur seulement entre les deux éléments d'une même ligne */
@media (max-width: 1180px) {
  .trust { grid-template-columns: repeat(2, auto); }
  .trust li:nth-child(odd) { border-left: 0; }
}
@media (max-width: 760px) {
  .avatar { width: 150px; height: 150px; }
  .trust { grid-template-columns: auto; }
  .trust li + li { border-left: 0; }
}

/* Emblème plus discret à côté d'un titre de section */
.emblem-head { gap: 40px; }
.emblem-head .compass { width: 120px; }
.quote-lg { margin: 0; font-family: var(--serif); font-size: clamp(22px, 1.94vw, 28px); line-height: 1.3; color: var(--creme); }

/* Vision : tableau des honoraires */
.fees { width: 100%; border-collapse: collapse; background: #ffffff; border: 1px solid var(--ligne); }
.th {
  padding: 18px 28px; text-align: left; font-size: 12px; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: var(--or-clair); background: var(--vert);
}
.td { padding: 30px 28px; border-top: 1px solid var(--ligne); vertical-align: top; font-size: 17px; line-height: 1.6; color: var(--texte); }
.td strong { display: block; margin-bottom: 4px; font-size: 19px; color: var(--encre); }
.td--price { font-family: var(--serif); font-size: 30px; font-weight: 600; line-height: 1; color: var(--vert); }

/* Immobilier : mécanisme du crédit */
.mech { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.mech li { display: flex; align-items: center; gap: 20px; padding: 24px 28px; background: #ffffff; border: 1px solid var(--ligne); }
.mech .li-n { width: auto; }
.mech__text { font-size: 18px; color: var(--encre); }
.mech .is-strong { background: var(--vert); border-color: var(--vert); }
.mech .is-strong .li-n { color: var(--or); }
.mech .is-strong .mech__text { color: var(--creme); }
.mech__text { display: flex; flex-direction: column; gap: 2px; }
.mech__key { font-family: var(--serif); font-size: 22px; font-weight: 600; line-height: 1.2; color: var(--vert); }
.mech__sub { font-size: 16px; line-height: 1.4; }
.mech .is-strong .mech__key { color: var(--creme); }

/* Épargne : horizons */
.hz { display: flex; flex-direction: column; gap: 6px; padding: 26px 28px; background: #ffffff; border: 1px solid var(--ligne); }
.hz-k { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--or-texte); }
.hz-v { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--vert); }
.hz--strong { background: var(--vert); border-color: var(--vert); }
.hz--strong .hz-k { color: var(--or-clair); }
.hz--strong .hz-v { color: var(--creme); }
.motto { margin: 8px 0 0; font-family: var(--serif); font-style: italic; font-size: clamp(20px, 1.6vw, 23px); line-height: 1.3; color: var(--vert); }

/* Épargne salariale : sources */
.dash-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.dash-list li { position: relative; padding-left: 28px; font-size: 18px; line-height: 1.6; color: var(--texte); text-align: left; }
.dash-list li::before { content: "–"; position: absolute; left: 0; top: 0; color: var(--or-fonce); font-weight: 600; }
.dash-list strong { font-weight: 600; color: var(--encre); }

/* Revendre : étapes de l'apport-cession */
.flow { margin: 0; padding: 0; list-style: none; display: flex; align-items: stretch; gap: 16px; }
.step { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 32px 28px; background: #ffffff; border: 1px solid var(--ligne); }
.step-k { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--or-texte); }
.step-t { font-family: var(--serif); font-size: 22px; font-weight: 600; line-height: 1.15; color: var(--vert); }
.step--strong { background: var(--vert); border-color: var(--vert); }
.step--strong .step-k { color: var(--or-clair); }
.step--strong .step-t { color: var(--creme); }
.flow__arrow { display: flex; align-items: center; justify-content: center; }
.band__icon { flex-shrink: 0; width: 120px; height: auto; }

/* Devenir CGP : raisons */
.reason { display: flex; gap: 64px; align-items: flex-start; padding: 56px 0; border-top: 1px solid var(--ligne-2); }
.reason:last-child { border-bottom: 1px solid var(--ligne-2); }
.reason .num { width: 140px; flex-shrink: 0; }
.reason .h2 { width: 400px; flex-shrink: 0; }
.reason .p { flex: 1 1 0; min-width: 0; }

/* Avertissement sur les risques (bas des pages produits) */
.risk-note { padding: 28px var(--px); background: var(--creme); border-top: 1px solid var(--ligne); }
.risk-note p { margin: 0; max-width: 900px; font-size: 13px; line-height: 1.6; color: #5b665e; }
.risk-note strong { font-weight: 600; color: var(--encre); }

/* Mentions légales */
.section--legal { padding-top: clamp(48px, 5vw, 72px); }
.legal { max-width: 900px; display: flex; flex-direction: column; }
.legal .h2 { font-weight: 600; font-size: 26px; line-height: 1.15; }
.blk { display: flex; flex-direction: column; gap: 16px; padding: 44px 0; border-top: 1px solid var(--ligne); }
.blk:last-child { border-bottom: 1px solid var(--ligne); }
.blk--notice { border-top: 0; padding: 40px 44px; background: var(--sable); }
.blk--notice + .blk { margin-top: 32px; }
.legal-list { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; font-size: 17px; line-height: 1.6; color: var(--texte); }
.ph { background: #f3ecd6; color: #6b5a2e; padding: 0 4px; }

/* ==========================================================================
   Adaptation aux écrans
   ========================================================================== */

/* Tablette large : menu mobile, pied de page empilé */
@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; height: auto;
    flex-direction: column; align-items: stretch; gap: 0;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    padding: 8px var(--gx) 28px; background: var(--creme);
    border-bottom: 1px solid var(--ligne); box-shadow: 0 18px 40px rgba(31, 58, 40, .14);
  }
  .is-menu-open .site-nav { display: flex; }
  .main-nav { flex-direction: column; align-items: stretch; gap: 0; height: auto; margin: 0; }
  .nav-item { height: auto; flex-direction: column; align-items: stretch; border-bottom: 1px solid var(--ligne); }
  .nav-btn { width: 100%; height: auto; min-height: 56px; justify-content: space-between; padding: 0; border-bottom: 0; font-size: 17px; }
  .nav-item.is-active .nav-btn { font-weight: 600; }
  .nav-sub {
    position: static; min-width: 0; margin: 0 0 14px; padding: 0 0 0 12px;
    background: transparent; border: 0; border-left: 3px solid var(--or); box-shadow: none;
  }
  .nav-sub a { padding: 8px 12px; }
  .header-cta { margin-top: 24px; min-height: 52px; font-size: 13px; }

  .site-footer__top { flex-direction: column; }
  .site-footer__brand { flex-basis: auto; }
  .site-footer__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 32px; }
}

@media (max-width: 1100px) {
  .grid-4, .grid-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-6 > * { grid-column: auto; }
  .grid-6 > :last-child:nth-child(odd) { grid-column: 1 / -1; }

  .reason { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: end; gap: 20px 40px; }
  .reason .num, .reason .h2 { width: auto; }
  .reason .p { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
  .flow { flex-direction: column; }
  .flow__arrow svg { transform: rotate(90deg); }
}

/* Tablette : colonnes empilées */
@media (max-width: 960px) {
  .split { flex-direction: column; align-items: stretch; }
  .split__aside { flex-basis: auto; width: 100%; }
  .split__offset { padding-top: 0; }
  .portrait { max-width: 440px; }
  .compass { width: 150px; }
}

@media (max-width: 860px) {
  .grid-3 { grid-template-columns: minmax(0, 1fr); }
  .cta, .band { flex-direction: column; align-items: flex-start; }
  .cta { gap: 32px; }
}

@media (max-width: 760px) {
  .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .site-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .home-hero__gradient { background: linear-gradient(180deg, rgba(20, 42, 28, .5) 0%, rgba(20, 42, 28, .78) 100%); }

  /* Tableau des honoraires en fiches */
  .fees thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .fees, .fees tbody, .fees tr, .fees td { display: block; width: 100% !important; }
  .fees tr { padding: 12px 0; border-top: 1px solid var(--ligne); }
  .fees tr:first-child { border-top: 0; }
  .td { padding: 10px 22px; border-top: 0; text-align: left; }
  .td[data-label]::before {
    content: attr(data-label); display: block; margin-bottom: 6px;
    font-family: var(--sans); font-size: 11px; font-weight: 600; line-height: 1.4;
    letter-spacing: .2em; text-transform: uppercase; color: var(--or-texte);
  }
}

/* Mobile */
@media (max-width: 640px) {
  :root { --header-h: 76px; }
  /* Sur téléphone, texte aligné à gauche : le justifié crée de grands blancs sur une colonne étroite */
  p, .td, li { text-align: left; }
  .site-header .brand img { height: 52px; }
  .nav-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .nav-toggle { padding: 0 13px; }

  .grid-4, .grid-6 { grid-template-columns: minmax(0, 1fr); }
  .grid-6 > :last-child:nth-child(odd) { grid-column: auto; }

  .card, .card--lg, .card--xl, .card--wide { padding: 30px 24px; }
  .card--wide, .card--row { gap: 20px; }
  .li { gap: 18px; padding: 22px 0; }
  .p-19, .p-20 { font-size: 18px; }
  .row { font-size: 17px; }
  .num { font-size: 40px; }
  .num--xl { font-size: 56px; }
  .signature p { font-size: 20px; }
  .compass { width: 120px; }
  .band__icon { width: 88px; }
  .dash-list li { font-size: 17px; padding-left: 22px; }
  .step { padding: 24px 22px; }
  .hz { padding: 22px 22px; }
  .mech li { padding: 20px 22px; }

  .reason { grid-template-columns: minmax(0, 1fr); padding: 40px 0; gap: 16px; }
  .blk--notice { padding: 28px 22px; }

  .home-hero { min-height: 600px; padding-block: 56px; }
  .home-hero__actions .btn { width: 100%; justify-content: space-between; }
  .band__actions { width: 100%; }
  .band__actions .btn-o { justify-content: center; }
  .cta .btn { width: 100%; justify-content: space-between; }
}

@media (max-width: 420px) {
  .site-footer__cols { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 360px) {
  .nowrap-line { white-space: normal; }
}

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