/* gestion-de-patrimoine-paris.fr
   Éditorial rive gauche : papier ivoire, encre, vert Wallace.
   Angles droits, filets d'un pixel, titres en Instrument Serif. */

@font-face { font-family: "Instrument Serif"; src: url(fonts/instrument-serif.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url(fonts/instrument-serif-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Geist"; src: url(fonts/geist.woff2) format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }

:root {
  --papier: #F4F1EA;
  --papier-2: #EAE5D8;
  --blanc: #FBFAF6;
  --encre: #15171A;
  --encre-2: #4B4E54;
  --ligne: #D6CFBF;
  --vert: #1E4D3B;
  --vert-2: #2C6A52;
  --or: #A8844E;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --large: 1240px;
  --gouttiere: clamp(1rem, 4vw, 2.5rem);
}

/* ---------- socle */
/* GeneratePress est un thème classique : WordPress enveloppe le contenu de chaque
   groupe dans un div intermédiaire. On l'efface pour que nos grilles s'appliquent. */
.entry-content .wp-block-group > .wp-block-group__inner-container { display: contents; }

html { scroll-behavior: smooth; }
body { background: var(--papier); color: var(--encre); font-family: var(--sans); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body .site, body .site-content, body .inside-article, body .container { background: transparent; }
.site-content .content-area { width: 100%; }
.separate-containers .inside-article, .one-container .site-content { padding: 0; }
.entry-content > * { margin-top: 0; margin-bottom: 0; }
.entry-content { margin: 0; }
a { color: var(--vert); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--encre); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; color: var(--encre); }
h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; }
h3 { font-size: 1.55rem; line-height: 1.2; }
strong { font-weight: 600; }
em { font-style: italic; }
::selection { background: var(--vert); color: var(--papier); }
:focus-visible { outline: 2px solid var(--vert); outline-offset: 3px; }

.c-wrap, .x-wrap { max-width: var(--large); margin-inline: auto; padding-inline: var(--gouttiere); }

/* ---------- barre et en-tête */
.c-barre { background: var(--encre); color: #CFCAC0; font-size: 0.8rem; letter-spacing: 0.02em; }
.c-barre-in { display: flex; justify-content: space-between; gap: 1rem; padding-block: 0.45rem; }
.c-barre a { color: var(--papier); text-decoration: none; font-weight: 500; }
@media (max-width: 700px) { .c-barre-in span { display: none; } .c-barre-in { justify-content: center; } }

.c-entete { background: var(--papier); border-bottom: 1px solid var(--encre); position: sticky; top: 0; z-index: 50; }
.admin-bar .c-entete { top: 32px; }
.c-entete-in { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 76px; }
.c-marque { display: flex; flex-direction: column; text-decoration: none; color: var(--encre); line-height: 1.05; }
.c-marque-nom { font-family: var(--serif); font-size: 1.85rem; letter-spacing: -0.01em; }
.c-marque-ville { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.22em; color: var(--encre-2); margin-top: 0.25rem; }
.c-marque:hover { color: var(--vert); }

.c-nav { display: flex; align-items: center; gap: 1.75rem; }
.c-nav-liste { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.c-nav-liste > li { position: relative; }
.c-nav-liste a { color: var(--encre); text-decoration: none; font-size: 0.95rem; font-weight: 500; padding-block: 1.6rem; display: inline-block; }
.c-nav-liste > li > a:hover, .c-nav-liste > li:focus-within > a { color: var(--vert); }
.c-nav-liste .menu-item-has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-3px); margin-left: 0.5rem; }
.c-nav-liste .sub-menu { position: absolute; top: 100%; left: -1.25rem; min-width: 270px; background: var(--blanc); border: 1px solid var(--encre); list-style: none; margin: 0; padding: 0.5rem 0; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s; }
.c-nav-liste li:hover > .sub-menu, .c-nav-liste li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.c-nav-liste .sub-menu a { display: block; padding: 0.55rem 1.25rem; font-weight: 400; }
.c-nav-liste .sub-menu a:hover { background: var(--papier); color: var(--vert); }
.c-entete-cta { background: var(--vert); color: var(--papier) !important; text-decoration: none; padding: 0.75rem 1.3rem; font-weight: 500; font-size: 0.92rem; border: 1px solid var(--vert); transition: background .15s; }
.c-entete-cta:hover { background: var(--encre); border-color: var(--encre); }

.c-burger { display: none; background: none; border: 1px solid var(--encre); width: 46px; height: 46px; padding: 0; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.c-burger span { display: block; width: 20px; height: 1.5px; background: var(--encre); transition: transform .2s; }
.c-menu-ouvert .c-burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.c-menu-ouvert .c-burger span:nth-child(2) { opacity: 0; }
.c-menu-ouvert .c-burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 1024px) {
  .c-burger { display: flex; }
  .c-entete-in { flex-wrap: wrap; }
  .js .c-nav { display: none; }
  .c-nav { width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 1.25rem; }
  .c-menu-ouvert .c-nav { display: flex; }
  .c-nav-liste { flex-direction: column; gap: 0; }
  .c-nav-liste a { padding-block: 0.8rem; border-bottom: 1px solid var(--ligne); display: block; }
  .c-nav-liste .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; border: 0; background: transparent; padding: 0 0 0 1rem; display: none; }
  .c-nav-liste .c-ouvert > .sub-menu, .c-nav-liste li:focus-within > .sub-menu { display: block; }
  .c-entete-cta { margin-top: 1rem; text-align: center; }
}

/* ---------- hero */
.x-hero { border-bottom: 1px solid var(--encre); padding-block: clamp(2.5rem, 6vw, 5.5rem) clamp(2.5rem, 5vw, 4.5rem); background:
  linear-gradient(90deg, transparent calc(50% - 0.5px), rgba(21,23,26,.05) calc(50% - 0.5px), rgba(21,23,26,.05) calc(50% + 0.5px), transparent calc(50% + 0.5px)); }
.x-hero-grille { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.x-hero .x-surtitre { margin-bottom: 1.5rem; }
.x-h1 { font-size: clamp(2.6rem, 6.2vw, 5.4rem); line-height: 0.98; letter-spacing: -0.025em; margin: 0 0 1.6rem; }
.x-h1 em { color: var(--vert); }
.x-accroche { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--encre-2); max-width: 38rem; margin-bottom: 1.75rem; }
.x-puces { list-style: none; padding: 0; margin: 0 0 2.25rem; display: grid; gap: 0.55rem; }
.x-puces li { padding-left: 1.6rem; position: relative; }
.x-puces li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 0.9rem; height: 1px; background: var(--vert); }
.x-hero-visuel svg { width: 100%; height: auto; display: block; }
.e-spirale { fill: none; stroke: var(--encre); stroke-width: 1; opacity: .55; }
.e-seine { fill: none; stroke: var(--vert); stroke-width: 10; opacity: .14; stroke-linecap: round; }
.e-n { font-family: var(--serif); fill: var(--encre); }
.e-n-fort { fill: var(--vert); font-style: italic; }
.e-legende { font-family: var(--sans); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; fill: var(--encre-2); }
@media (max-width: 900px) { .x-hero-grille { grid-template-columns: 1fr; } .x-hero-visuel { max-width: 380px; } .x-hero { background: none; } }

.x-fil { font-size: 0.82rem; color: var(--encre-2); margin-bottom: 1.5rem; display: flex; gap: 0.6rem; flex-wrap: wrap; }
.x-fil a { color: var(--encre-2); }
.x-fil-sep { opacity: .5; }

/* ---------- boutons */
.wp-block-buttons.x-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.wp-block-button .wp-block-button__link { border-radius: 0; font-family: var(--sans); font-weight: 500; font-size: 1rem; padding: 1rem 1.6rem; transition: all .15s; border: 1px solid var(--encre); }
.wp-block-button.is-style-primaire .wp-block-button__link { background: var(--encre); color: var(--papier); }
.wp-block-button.is-style-primaire .wp-block-button__link:hover { background: var(--vert); border-color: var(--vert); }
.wp-block-button.is-style-primaire .wp-block-button__link::after { content: "  →"; }
.wp-block-button.is-style-secondaire .wp-block-button__link { background: transparent; color: var(--encre); }
.wp-block-button.is-style-secondaire .wp-block-button__link:hover { background: var(--encre); color: var(--papier); }

/* ---------- sections */
.x-section { padding-block: clamp(3.5rem, 8vw, 6.5rem); border-bottom: 1px solid var(--ligne); }
.x-section:nth-of-type(even) { background: var(--blanc); }
.x-entete { max-width: 52rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.x-surtitre { font-family: var(--sans); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--vert); display: flex; align-items: center; gap: 0.85rem; margin: 0 0 1rem; }
.x-surtitre::before { content: ""; width: 2.5rem; height: 1px; background: currentColor; }
.x-titre { margin: 0 0 1rem; }
.x-intro { font-size: 1.12rem; color: var(--encre-2); margin: 0; }
.x-section p, .x-section li { max-width: 46rem; }
.x-section .x-wrap > p, .x-section .x-wrap > ul, .x-section .x-wrap > ol, .x-section .x-wrap > h3 { margin-bottom: 1.1rem; }
.x-section .x-wrap > h3 { margin-top: 2.25rem; }
.x-section .x-wrap > ul { padding-left: 1.1rem; }

/* résumé de tête */
.x-en-bref { max-width: var(--large); margin: clamp(2rem, 4vw, 3rem) auto 0; padding: 0 var(--gouttiere); }
.x-en-bref > * { max-width: none; }
.x-en-bref-titre, .x-en-bref-liste { margin: 0; }
.x-en-bref { display: grid; grid-template-columns: 13rem 1fr; gap: 1.5rem; }
.x-en-bref-titre { font-family: var(--serif); font-style: italic; font-size: 1.45rem; line-height: 1.15; border-top: 2px solid var(--encre); padding-top: 0.9rem; }
.x-en-bref-liste { list-style: none; padding: 0.9rem 0 0; border-top: 1px solid var(--encre); display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0.85rem 2rem; font-size: 0.97rem; }
.x-en-bref-liste li { padding-left: 1.2rem; position: relative; }
.x-en-bref-liste li::before { content: "§"; position: absolute; left: 0; color: var(--vert); font-family: var(--serif); }
@media (max-width: 800px) { .x-en-bref { grid-template-columns: 1fr; } .x-en-bref-liste { grid-template-columns: 1fr; } }

/* chiffres */
.x-chiffres { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); border-top: 1px solid var(--encre); border-bottom: 1px solid var(--encre); margin-block: 2rem; }
.x-chiffre { padding: 1.75rem 1.5rem 1.5rem; border-right: 1px solid var(--ligne); }
.x-chiffre:last-child { border-right: 0; }
.x-chiffre-valeur { font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; margin: 0 0 0.6rem; color: var(--vert); }
.x-chiffre-libelle { margin: 0; font-size: 0.95rem; }
.x-chiffre-source { margin: 0.5rem 0 0; font-size: 0.75rem; color: var(--encre-2); letter-spacing: .02em; }
@media (max-width: 640px) { .x-chiffre { border-right: 0; border-bottom: 1px solid var(--ligne); } }

/* cartes */
.x-cartes { display: grid; gap: 0; border-top: 1px solid var(--encre); }
.x-col-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.x-col-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.x-col-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.x-carte { padding: 1.75rem 1.75rem 1.75rem 0; border-bottom: 1px solid var(--ligne); position: relative; }
.x-cartes > .x-carte + .x-carte { padding-left: 1.75rem; border-left: 1px solid var(--ligne); }
.x-col-2 > .x-carte:nth-child(2n+1), .x-col-3 > .x-carte:nth-child(3n+1), .x-col-4 > .x-carte:nth-child(4n+1) { padding-left: 0; border-left: 0; }
.x-carte-titre { font-size: 1.6rem; margin: 0 0 0.75rem; }
.x-carte p { margin: 0 0 0.75rem; font-size: 0.98rem; color: var(--encre-2); }
.x-carte-lien { margin-top: 1rem !important; }
.x-lien-fleche { font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.x-lien-fleche::after { content: " →"; }
@media (max-width: 900px) {
  .x-col-3, .x-col-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .x-col-3 > .x-carte, .x-col-4 > .x-carte { padding-left: 1.5rem !important; border-left: 1px solid var(--ligne) !important; }
  .x-col-3 > .x-carte:nth-child(2n+1), .x-col-4 > .x-carte:nth-child(2n+1) { padding-left: 0 !important; border-left: 0 !important; }
}
@media (max-width: 640px) {
  .x-col-2, .x-col-3, .x-col-4 { grid-template-columns: 1fr; }
  .x-cartes > .x-carte { padding-left: 0 !important; border-left: 0 !important; padding-right: 0; }
}

/* étapes */
.x-etapes { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); counter-reset: e; }
.x-etape { border-top: 1px solid var(--encre); padding-top: 1.25rem; }
.x-etape-num { font-family: var(--serif); font-style: italic; font-size: 4.2rem; line-height: 1; color: var(--vert); margin: 0 0 1rem; }
.x-etape-titre { font-size: 1.6rem; margin: 0 0 0.6rem; }
.x-etape p:last-child { color: var(--encre-2); margin: 0; }

/* deux colonnes */
.x-2col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 4.5rem); }
.x-2col p { margin-bottom: 1rem; }
@media (max-width: 800px) { .x-2col { grid-template-columns: 1fr; } }

/* encadré */
.x-encadre { background: var(--papier-2); border-left: 3px solid var(--vert); padding: 1.6rem 1.75rem; margin-block: 2rem; max-width: 52rem; }
.x-encadre-attention { border-left-color: var(--or); }
.x-encadre-titre { font-family: var(--serif); font-size: 1.5rem; margin: 0 0 0.6rem; }
.x-encadre p:last-child { margin-bottom: 0; }

/* citation */
.x-citation { margin: 2.5rem 0; padding: 0; max-width: 50rem; }
.x-citation-texte { font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.2; margin: 0 0 0.8rem; }
.x-citation-auteur { font-size: 0.85rem; text-transform: uppercase; letter-spacing: .15em; color: var(--encre-2); margin: 0; }

/* tableau */
.x-tableau { margin: 2rem 0; overflow-x: auto; }
.x-tableau table { border-collapse: collapse; width: 100%; font-size: 0.95rem; min-width: 560px; }
.x-tableau th { text-align: left; font-weight: 600; font-size: 0.78rem; text-transform: uppercase; letter-spacing: .12em; border-bottom: 1px solid var(--encre); padding: 0.75rem 1rem 0.75rem 0; }
.x-tableau td { border-bottom: 1px solid var(--ligne); padding: 0.85rem 1rem 0.85rem 0; vertical-align: top; }
.x-tableau td:first-child { font-family: var(--serif); font-size: 1.15rem; }

/* FAQ */
.x-faq { border-top: 1px solid var(--encre); max-width: 56rem; }
.x-faq .wp-block-details { border-bottom: 1px solid var(--ligne); padding: 0; margin: 0; }
.x-faq summary { list-style: none; cursor: pointer; font-family: var(--serif); font-size: 1.4rem; line-height: 1.25; padding: 1.35rem 3rem 1.35rem 0; position: relative; }
.x-faq summary::-webkit-details-marker { display: none; }
.x-faq summary::after { content: "+"; position: absolute; right: 0.25rem; top: 1.1rem; font-family: var(--sans); font-weight: 300; font-size: 1.8rem; color: var(--vert); transition: transform .2s; }
.x-faq details[open] summary::after { transform: rotate(45deg); }
.x-faq details p { color: var(--encre-2); margin: 0 0 1.5rem; }

/* agréments */
.x-agrements { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--encre); }
.x-agrement { padding: 1.5rem 1.25rem 1.5rem 0; border-bottom: 1px solid var(--ligne); }
.x-agrement + .x-agrement { padding-left: 1.25rem; border-left: 1px solid var(--ligne); }
.x-agrement-sigle { font-family: var(--serif); font-size: 2.2rem; margin: 0 0 0.4rem; color: var(--vert); }
.x-agrement-texte { font-size: 0.92rem; color: var(--encre-2); margin: 0; }
.x-note { margin-top: 2rem; font-size: 0.98rem; }
@media (max-width: 900px) { .x-agrements { grid-template-columns: repeat(2, minmax(0, 1fr)); } .x-agrement:nth-child(3) { padding-left: 0; border-left: 0; } }
@media (max-width: 520px) { .x-agrements { grid-template-columns: 1fr; } .x-agrement { padding-left: 0 !important; border-left: 0 !important; } }

.x-zones { margin-top: 2rem; font-size: 0.95rem; color: var(--encre-2); border-top: 1px solid var(--ligne); padding-top: 1.25rem; }

/* liens internes */
.x-liens { list-style: none; padding: 0 !important; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0; border-top: 1px solid var(--encre); max-width: none !important; }
.x-liens li { max-width: none !important; border-bottom: 1px solid var(--ligne); }
.x-liens a { display: block; padding: 1.2rem 1.5rem 1.2rem 0; text-decoration: none; color: var(--encre); }
.x-liens a strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.35rem; }
.x-liens a span { display: block; font-size: 0.9rem; color: var(--encre-2); margin-top: 0.2rem; }
.x-liens a:hover strong { color: var(--vert); }

/* CTA */
.x-cta { background: var(--encre); color: var(--papier); padding-block: clamp(3.5rem, 8vw, 6rem); }
.x-cta-titre { color: var(--papier); font-size: clamp(2.2rem, 5vw, 3.8rem); max-width: 48rem; margin: 0 0 1rem; line-height: 1.02; }
.x-cta-texte { color: #CFCAC0; font-size: 1.1rem; max-width: 40rem; margin-bottom: 2rem; }
.x-cta .wp-block-button.is-style-primaire .wp-block-button__link { background: var(--papier); color: var(--encre); border-color: var(--papier); }
.x-cta .wp-block-button.is-style-primaire .wp-block-button__link:hover { background: var(--vert-2); color: var(--papier); border-color: var(--vert-2); }
.x-cta .wp-block-button.is-style-secondaire .wp-block-button__link { color: var(--papier); border-color: rgba(244,241,234,.4); }
.x-cta .wp-block-button.is-style-secondaire .wp-block-button__link:hover { background: var(--papier); color: var(--encre); }
.x-cta-note { margin: 1.75rem 0 0; font-size: 0.8rem; letter-spacing: .12em; text-transform: uppercase; color: #9C978D; }

/* mentions */
.x-section-mentions { padding-block: 2rem; background: var(--papier) !important; border-bottom: 0; }
.x-mentions-texte { font-size: 0.8rem; color: var(--encre-2); max-width: 60rem !important; margin: 0; }

/* formulaire */
.c-form { display: grid; gap: 1.1rem; max-width: 46rem; }
.c-form-ligne { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 640px) { .c-form-ligne { grid-template-columns: 1fr; } }
.c-form label { display: grid; gap: 0.4rem; font-size: 0.82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.c-form input, .c-form select, .c-form textarea { font: inherit; font-size: 1rem; text-transform: none; letter-spacing: 0; font-weight: 400; background: var(--blanc); border: 1px solid var(--encre); border-radius: 0; padding: 0.85rem 0.95rem; color: var(--encre); width: 100%; }
.c-form input:focus, .c-form select:focus, .c-form textarea:focus { outline: 2px solid var(--vert); outline-offset: 0; }
.c-form .c-form-rgpd { display: flex; gap: 0.7rem; align-items: flex-start; text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 0.88rem; color: var(--encre-2); }
.c-form .c-form-rgpd input { width: auto; margin-top: 0.3rem; }
.c-form button { justify-self: start; background: var(--encre); color: var(--papier); border: 0; border-radius: 0; padding: 1.05rem 1.9rem; font: inherit; font-weight: 500; cursor: pointer; }
.c-form button:hover { background: var(--vert); }
.c-form-piege { position: absolute; left: -9999px; }
.c-form-ok, .c-form-erreur { padding: 1rem 1.25rem; border-left: 3px solid var(--vert); background: var(--papier-2); }
.c-form-erreur { border-left-color: #A33; }

/* ---------- pied */
.c-pied { background: var(--encre); color: #BDB8AE; font-size: 0.92rem; padding-top: clamp(3rem, 6vw, 4.5rem); }
.c-pied a { color: var(--papier); text-decoration: none; }
.c-pied a:hover { text-decoration: underline; }
.c-pied-grille { display: grid; grid-template-columns: 1.6fr repeat(auto-fit, minmax(170px, 1fr)); gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid #2E3136; }
.c-pied-marque { font-family: var(--serif); font-size: 2rem; color: var(--papier); margin: 0 0 0.75rem; line-height: 1; }
.c-pied-marque span { display: block; font-family: var(--sans); font-size: 0.68rem; letter-spacing: .22em; text-transform: uppercase; color: #8F8A80; margin-top: 0.5rem; }
.c-pied-titre { font-size: 0.72rem; letter-spacing: .2em; text-transform: uppercase; color: #8F8A80; margin: 0 0 1rem; }
.c-pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.c-pied-legal { padding-block: 1.75rem 2.5rem; font-size: 0.78rem; color: #8F8A80; }
.c-pied-legal p { margin: 0 0 0.5rem; }
@media (max-width: 900px) { .c-pied-grille { grid-template-columns: 1fr 1fr; } .c-pied-cabinet { grid-column: 1 / -1; } }
@media (max-width: 520px) { .c-pied-grille { grid-template-columns: 1fr; } }

/* GeneratePress : ce qu'on neutralise */
.site-footer .footer-bar, .generate-back-to-top { display: none; }

/* Pages non refondues (simulateurs) : titre du thème recadré sur notre grille */
.entry-header { max-width: var(--large); margin: 0 auto; padding: clamp(2rem, 5vw, 3.5rem) var(--gouttiere) 0; }
.entry-header .entry-title { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.05; margin: 0; }

/* ---------- photos du conseiller : noir et blanc éditorial, cadre droit */
.x-photo { margin: 0; }
.x-photo img { display: block; width: 100%; height: auto; }
.x-photo figcaption { font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--encre-2); margin-top: 0.85rem; text-align: left; }
.x-hero-media { position: relative; max-width: 460px; justify-self: end; width: 100%; }
.x-photo-hero { position: relative; }
.x-photo-hero::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--encre); z-index: 0; pointer-events: none; }
.x-photo-hero img { position: relative; z-index: 1; aspect-ratio: 4 / 5; object-fit: cover; }
.x-photo-hero figcaption { position: relative; z-index: 1; margin-top: 1.6rem; padding-left: 1.6rem; border-left: 1px solid var(--vert); }
@media (max-width: 900px) { .x-hero-media { justify-self: start; max-width: 360px; margin-right: 18px; } }
.x-conseiller { align-items: center; }
.x-photo-conseiller img { aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1); }
.x-photo-large img { aspect-ratio: 3 / 2; object-fit: cover; filter: grayscale(1); }
.x-puces-conseiller { list-style: none; padding: 0 !important; margin: 1.5rem 0 !important; border-top: 1px solid var(--encre); }
.x-puces-conseiller li { padding: 0.7rem 0; border-bottom: 1px solid var(--ligne); }
/* CTA signé */
.x-cta-avec-portrait { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: clamp(2rem, 5vw, 4rem); align-items: end; }
.x-cta-portrait img { aspect-ratio: 1; object-fit: cover; filter: grayscale(1) contrast(1.05); border: 1px solid rgba(244,241,234,.35); padding: 6px; }
.x-cta-portrait figcaption { color: #CFCAC0; font-size: 1rem; text-align: left; }
@media (max-width: 720px) { .x-cta-avec-portrait { grid-template-columns: 1fr; } .x-cta-visage { order: -1; max-width: 140px; } .x-cta-portrait figcaption { display: none; } }

/* ---------- logo 2AP : posé sur une tuile encre, pour que le A beige reste lisible */
.c-marque { flex-direction: row; align-items: center; gap: 0.9rem; }
.c-marque > span:not(.c-logo) { display: block; }
.c-marque { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 0.9rem; }
.c-logo { grid-row: 1 / span 2; width: 52px; height: 52px; background: var(--encre); display: grid; place-items: center; }
.c-logo img { width: 44px; height: 44px; display: block; }
.c-marque-nom, .c-marque-ville { grid-column: 2; }
.c-marque-nom { align-self: end; }
.c-marque-ville { align-self: start; }
.c-pied-logo { width: 84px; height: 84px; display: block; margin-bottom: 1rem; }
/* Formulaire Tally */
.c-form-zone { max-width: 46rem; border-top: 1px solid var(--encre); padding-top: 1.5rem; }
.c-form-zone iframe { display: block; min-height: 600px; }
.c-form-alt { font-size: 0.92rem; color: var(--encre-2); margin-top: 1rem; }

/* Logo affiché tel quel, transparent, sans tuile (demande du client) */
.c-logo { background: none; width: 60px; height: 60px; }
.c-logo img { width: 60px; height: 60px; }

/* Pied de page : `1.6fr repeat(auto-fit, …)` est invalide en CSS (une répétition
   automatique n'admet que des pistes de taille fixe à côté d'elle), la grille
   tombait sur une seule colonne. Première colonne large, les suivantes créées
   automatiquement, quel que soit le nombre de groupes de liens. */
.c-pied-grille { grid-template-columns: minmax(0, 1.6fr); grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
@media (max-width: 900px) { .c-pied-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: row; } }
@media (max-width: 520px) { .c-pied-grille { grid-template-columns: 1fr; } }

/* ---------- saison fiscale : bandeau encre, compte à rebours vert Wallace */
.x-fiscal-zone { margin-block: clamp(2rem, 4vw, 3rem) 0; }
.c-fiscal[hidden] { display: none; }
.c-fiscal { background: var(--encre); color: var(--papier); display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.5rem, 4vw, 3rem); position: relative; overflow: hidden; }
.c-fiscal::after { content: ""; position: absolute; right: 2rem; top: 0; bottom: 0; width: 1px; background: rgba(244,241,234,.12); }
.c-fiscal-surtitre { display: flex; align-items: center; gap: 0.85rem; margin: 0 0 0.75rem; font-size: 0.74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #CFCAC0; }
.c-fiscal-jours { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.6rem; letter-spacing: 0; text-transform: none; color: var(--papier); background: var(--vert); padding: 0.1rem 0.7rem; font-variant-numeric: tabular-nums; }
.c-fiscal h2 { color: var(--papier); font-size: clamp(1.8rem, 3.6vw, 2.7rem); line-height: 1.05; margin: 0 0 0.75rem; }
.c-fiscal-corps { color: #CFCAC0; margin: 0; max-width: 40rem; }
.c-fiscal-bouton { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 0.6rem; background: var(--papier); color: var(--encre) !important; text-decoration: none; font-weight: 500; padding: 1rem 1.5rem; border: 1px solid var(--papier); white-space: nowrap; transition: background .15s, color .15s; }
.c-fiscal-bouton:hover { background: var(--vert-2); border-color: var(--vert-2); color: var(--papier) !important; }
.c-fiscal-bouton svg { width: 18px; height: 18px; }
@media (max-width: 820px) { .c-fiscal { grid-template-columns: 1fr; } .c-fiscal-bouton { white-space: normal; justify-content: center; } .c-fiscal::after { display: none; } }

.c-fiscal::after { display: none; }

/* Bordures par défaut du bloc Tableau de WordPress : on ne garde que nos filets horizontaux */
.x-tableau th, .x-tableau td { border-left: 0; border-right: 0; border-top: 0; }
.x-tableau table { border: 0; }
