/* gestion-de-patrimoine-annecy.fr
   Lac et sommets : bleu nuit, turquoise du lac, neige, lueur du soir sur la
   Tournette. Angles adoucis à 10 px, panneaux translucides, titres en Sora. */

@font-face { font-family: "Sora"; src: url(fonts/sora.woff2) format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url(fonts/nunito-sans.woff2) format("woff2"); font-weight: 300 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url(fonts/nunito-sans-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --neige: #F5F8F8;
  --brume: #E3ECEC;
  --blanc: #FFFFFF;
  --nuit: #0F2233;
  --nuit-2: #18344A;
  --lac: #0E6B78;
  --lac-clair: #3FA6B2;
  --glacier: #BFE3E6;
  --lueur: #E2734A;
  --lueur-2: #F08F63;
  --sapin: #2E4B3F;
  --encre: #142230;
  --encre-2: #50606C;
  --ligne: #D3DEDF;
  --titre: "Sora", ui-sans-serif, system-ui, sans-serif;
  --texte: "Nunito Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --large: 1220px;
  --gouttiere: clamp(1rem, 4vw, 2.4rem);
  --r: 10px;
  --ombre: 0 1px 2px rgba(15,34,51,.06), 0 12px 28px -14px rgba(15,34,51,.25);
}

/* ---------- socle */
/* GeneratePress (thème classique) enveloppe chaque groupe dans un div
   intermédiaire : effacé 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(--neige); color: var(--encre); font-family: var(--texte); font-size: 17.5px; line-height: 1.7; -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(--lac); text-underline-offset: 3px; }
a:hover { color: var(--nuit); }
h1, h2, h3, h4 { font-family: var(--titre); font-weight: 650; letter-spacing: -0.03em; color: var(--nuit); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.12; }
h3 { font-size: 1.22rem; line-height: 1.3; font-weight: 600; letter-spacing: -0.015em; }
strong { font-weight: 700; }
::selection { background: var(--lac); color: #fff; }
:focus-visible { outline: 3px solid var(--lueur); outline-offset: 3px; border-radius: 4px; }
.c-wrap, .x-wrap { max-width: var(--large); margin-inline: auto; padding-inline: var(--gouttiere); }

/* ---------- barre et en-tête */
.c-barre { background: var(--nuit); color: var(--glacier); font-size: 0.8rem; }
.c-barre-in { display: flex; justify-content: space-between; gap: 1rem; padding-block: 0.5rem; }
.c-barre a { color: #fff; text-decoration: none; font-weight: 700; }
@media (max-width: 700px) { .c-barre-in span { display: none; } .c-barre-in { justify-content: center; } }

.c-entete { background: rgba(245,248,248,.9); backdrop-filter: blur(12px) saturate(1.3); -webkit-backdrop-filter: blur(12px) saturate(1.3); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--ligne); }
.admin-bar .c-entete { top: 32px; }
.c-entete-in { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 80px; }
.c-marque { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 0.8rem; align-items: center; text-decoration: none; color: var(--nuit); }
.c-logo { grid-row: 1 / span 2; width: 60px; height: 60px; display: grid; place-items: center; }
.c-logo img { width: 60px; height: 60px; display: block; }
.c-marque-nom { grid-column: 2; align-self: end; font-family: var(--titre); font-weight: 700; font-size: 1.22rem; letter-spacing: -0.03em; line-height: 1; }
.c-marque-ville { grid-column: 2; align-self: start; font-size: 0.8rem; color: var(--lac); font-weight: 700; letter-spacing: 0.04em; margin-top: 0.3rem; }

.c-nav { display: flex; align-items: center; gap: 1.4rem; }
.c-nav-liste { display: flex; gap: 0.2rem; list-style: none; margin: 0; padding: 0; }
.c-nav-liste > li { position: relative; }
.c-nav-liste a { color: var(--nuit); text-decoration: none; font-size: 0.96rem; font-weight: 650; padding: 0.6rem 0.85rem; border-radius: var(--r); display: inline-block; transition: background .15s, color .15s; }
.c-nav-liste > li > a:hover, .c-nav-liste > li:focus-within > a { background: var(--brume); color: var(--lac); }
.c-nav-liste .menu-item-has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); margin-left: 0.5rem; opacity: .7; }
.c-nav-liste .sub-menu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 280px; background: var(--blanc); border-radius: var(--r); box-shadow: var(--ombre); border-top: 3px solid var(--lac); list-style: none; margin: 0; padding: 0.5rem; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s; }
.c-nav-liste .sub-menu::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.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 0.85rem; font-weight: 600; }
.c-nav-liste .sub-menu a:hover { background: var(--neige); color: var(--lac); }
.c-entete-cta { background: var(--lueur); color: #fff !important; text-decoration: none; padding: 0.8rem 1.35rem; font-weight: 700; font-size: 0.95rem; border-radius: var(--r); transition: background .15s, transform .15s; }
.c-entete-cta:hover { background: var(--lueur-2); transform: translateY(-1px); }

.c-burger { display: none; background: var(--brume); border: 0; border-radius: var(--r); width: 48px; height: 48px; padding: 0; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.c-burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--nuit); transition: transform .2s; }
.c-menu-ouvert .c-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.c-menu-ouvert .c-burger span:nth-child(2) { opacity: 0; }
.c-menu-ouvert .c-burger span:nth-child(3) { transform: translateY(-7px) 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.1rem; }
  .c-nav-liste a { display: block; }
  .c-nav-liste .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border-top: 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 : nuit qui descend sur le lac */
.x-hero { background: linear-gradient(170deg, var(--nuit) 0%, var(--nuit-2) 55%, #1C4A5A 100%); color: #DCEBEE; padding-block: clamp(3rem, 7vw, 5.5rem) clamp(4rem, 8vw, 6.5rem); position: relative; overflow: hidden; }
.x-hero::before { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(40px, 7vw, 90px); background: var(--neige); clip-path: polygon(0 100%, 0 70%, 8% 45%, 14% 60%, 22% 25%, 30% 50%, 37% 30%, 45% 62%, 54% 38%, 63% 58%, 72% 20%, 80% 48%, 88% 35%, 95% 55%, 100% 40%, 100% 100%); z-index: 0; }
.x-hero::after { content: ""; position: absolute; right: 12%; top: 8%; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(226,115,74,.28), transparent 65%); pointer-events: none; }
.x-hero-grille { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; position: relative; z-index: 1; }
.x-hero .x-surtitre { color: var(--glacier); border-color: rgba(191,227,230,.35); }
.x-hero .x-surtitre::before { background: var(--lueur); }
.x-h1 { color: #fff; font-size: clamp(2.4rem, 5.4vw, 4.3rem); line-height: 1.04; letter-spacing: -0.045em; font-weight: 700; margin: 1.1rem 0 1.4rem; }
.x-h1 em { font-style: normal; color: var(--lueur-2); }
.x-accroche { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: #C9DDE1; max-width: 38rem; margin-bottom: 1.6rem; }
.x-puces { list-style: none; padding: 0; margin: 0 0 2.2rem; display: grid; gap: 0.6rem; }
.x-puces li { padding-left: 1.9rem; position: relative; color: #EAF3F4; }
.x-puces li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 1rem; height: 0.55rem; background: var(--lac-clair); clip-path: polygon(0 100%, 35% 20%, 55% 60%, 75% 0, 100% 100%); }
.x-hero-visuel { background: rgba(255,255,255,.05); border: 1px solid rgba(191,227,230,.18); border-radius: var(--r); padding: clamp(1rem, 2.5vw, 1.5rem); backdrop-filter: blur(4px); }
.x-hero-visuel svg { width: 100%; height: auto; display: block; }
.l-soleil { fill: var(--lueur); opacity: .85; }
.l-crete-arriere { fill: #2B5368; }
.l-crete-avant { fill: #3D7487; }
.l-neige { fill: #F5F8F8; }
.l-eau { fill: #12475A; }
.l-reflet { fill: #3D7487; opacity: .35; }
.l-rive { stroke: var(--glacier); stroke-width: 1.5; opacity: .6; }
.l-onde { stroke: var(--glacier); stroke-width: 1.5; opacity: .3; stroke-linecap: round; }
@media (max-width: 900px) { .x-hero-grille { grid-template-columns: 1fr; } }
.x-fil { font-size: 0.85rem; color: #9FBFC6; margin-bottom: 1.25rem; display: flex; gap: 0.5rem; flex-wrap: wrap; }
.x-fil a { color: #DCEBEE; }
.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: var(--r); font-family: var(--texte); font-weight: 700; font-size: 1rem; padding: 1rem 1.6rem; transition: all .15s; border: 2px solid transparent; }
.wp-block-button.is-style-primaire .wp-block-button__link { background: var(--lueur); color: #fff; }
.wp-block-button.is-style-primaire .wp-block-button__link:hover { background: var(--lueur-2); transform: translateY(-1px); }
.wp-block-button.is-style-secondaire .wp-block-button__link { background: transparent; color: var(--lac); border-color: var(--ligne); }
.wp-block-button.is-style-secondaire .wp-block-button__link:hover { border-color: var(--lac); }
.x-hero .wp-block-button.is-style-secondaire .wp-block-button__link, .x-cta .wp-block-button.is-style-secondaire .wp-block-button__link { color: #fff; border-color: rgba(255,255,255,.3); }
.x-hero .wp-block-button.is-style-secondaire .wp-block-button__link:hover, .x-cta .wp-block-button.is-style-secondaire .wp-block-button__link:hover { border-color: #fff; }

/* ---------- sections */
.x-section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.x-section:nth-of-type(even) { background: var(--blanc); }
.x-entete { max-width: 50rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.x-surtitre { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--titre); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lac); margin: 0 0 1rem; }
.x-surtitre::before { content: ""; width: 18px; height: 10px; background: currentColor; clip-path: polygon(0 100%, 35% 20%, 55% 60%, 75% 0, 100% 100%); }
.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.2rem; }
.x-section .x-wrap > ul li::marker { color: var(--lac); }

/* résumé de tête : panneau translucide qui chevauche la ligne de crête */
.x-en-bref { max-width: calc(var(--large) - 2 * var(--gouttiere)); margin: calc(-1 * clamp(2rem, 4vw, 3rem)) auto 0; position: relative; z-index: 2; background: var(--blanc); border-radius: var(--r); box-shadow: var(--ombre); border-left: 4px solid var(--lac); padding: clamp(1.4rem, 3vw, 2rem) clamp(1.4rem, 3vw, 2.25rem); display: grid; grid-template-columns: 11rem 1fr; gap: 1.5rem; }
@media (max-width: 1260px) { .x-en-bref { margin-inline: var(--gouttiere); } }
.x-en-bref-titre { font-family: var(--titre); font-weight: 700; font-size: 1.05rem; color: var(--nuit); margin: 0; }
.x-en-bref-liste { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0.75rem 2rem; font-size: 0.98rem; }
.x-en-bref-liste li { padding-left: 1.3rem; position: relative; }
.x-en-bref-liste li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 8px; height: 8px; border-radius: 50%; background: var(--lueur); }
@media (max-width: 800px) { .x-en-bref { grid-template-columns: 1fr; } .x-en-bref-liste { grid-template-columns: 1fr; } }

/* chiffres : cartes avec une jauge de crête */
.x-chiffres { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; margin-block: 2rem; }
.x-chiffre { background: var(--nuit); color: #DCEBEE; border-radius: var(--r); padding: 1.6rem 1.5rem 1.4rem; position: relative; overflow: hidden; }
.x-chiffre::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 14px; background: var(--lac); clip-path: polygon(0 100%, 0 60%, 15% 20%, 30% 70%, 48% 0, 64% 55%, 80% 25%, 100% 65%, 100% 100%); opacity: .8; }
.x-chiffre-valeur { font-family: var(--titre); font-weight: 700; font-size: clamp(1.9rem, 3.2vw, 2.6rem); line-height: 1; letter-spacing: -0.04em; color: #fff; margin: 0 0 0.6rem; }
.x-chiffre-libelle { margin: 0; font-size: 0.96rem; }
.x-chiffre-source { margin: 0.6rem 0 0.8rem; font-size: 0.75rem; color: #8FB0B8; }

/* cartes */
.x-cartes { display: grid; gap: 1rem; }
.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 { background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--r); padding: 1.6rem 1.6rem 1.5rem; display: flex; flex-direction: column; position: relative; transition: border-color .15s, box-shadow .15s, transform .15s; }
.x-section:nth-of-type(even) .x-carte { background: var(--neige); }
.x-carte::before { content: ""; position: absolute; left: 1.6rem; top: -1px; width: 44px; height: 4px; background: var(--lac); border-radius: 0 0 4px 4px; }
.x-carte:has(.x-carte-lien):hover { border-color: var(--lac-clair); box-shadow: var(--ombre); transform: translateY(-2px); }
.x-carte-titre { margin: 0.4rem 0 0.6rem; }
.x-carte p { margin: 0 0 0.75rem; font-size: 0.98rem; color: var(--encre-2); }
.x-carte-lien { margin-top: auto !important; padding-top: 0.5rem; }
.x-lien-fleche { font-weight: 700; text-decoration: none; }
.x-lien-fleche::after { content: " →"; }
.x-carte-lien a::before { content: ""; position: absolute; inset: 0; border-radius: var(--r); }
@media (max-width: 960px) { .x-col-3, .x-col-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .x-col-2, .x-col-3, .x-col-4 { grid-template-columns: 1fr; } }

/* étapes : un sentier qui monte */
.x-etapes { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; counter-reset: e; }
.x-etape { background: var(--blanc); border-radius: var(--r); padding: 1.6rem; border: 1px solid var(--ligne); position: relative; }
.x-section:nth-of-type(even) .x-etape { background: var(--neige); }
.x-etape-num { display: inline-flex; align-items: center; justify-content: center; min-width: 52px; height: 36px; padding: 0 0.6rem; border-radius: var(--r); background: var(--nuit); color: #fff; font-family: var(--titre); font-weight: 700; font-size: 0.95rem; margin: 0 0 1rem; }
.x-etape:nth-child(2) .x-etape-num { background: var(--lac); }
.x-etape:nth-child(3) .x-etape-num, .x-etape:nth-child(n+4) .x-etape-num { background: var(--lueur); }
.x-etape-titre { margin: 0 0 0.5rem; }
.x-etape p:last-child { color: var(--encre-2); margin: 0; }

.x-2col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3.5rem); }
.x-2col p { margin-bottom: 1rem; }
@media (max-width: 800px) { .x-2col { grid-template-columns: 1fr; } }

/* encadré */
.x-encadre { background: var(--brume); border-radius: var(--r); padding: 1.5rem 1.75rem; margin-block: 2rem; max-width: 52rem; border-left: 4px solid var(--lac); }
.x-encadre-attention { background: #FBEDE6; border-left-color: var(--lueur); }
.x-encadre-titre { font-family: var(--titre); font-weight: 700; font-size: 1.1rem; margin: 0 0 0.5rem; color: var(--nuit); }
.x-encadre p:last-child { margin-bottom: 0; }

.x-citation { margin: 2.5rem 0; padding: 2rem 2.25rem; background: var(--nuit); color: #DCEBEE; border-radius: var(--r); max-width: 52rem; position: relative; }
.x-citation::before { content: "“"; position: absolute; left: 1.2rem; top: -0.4rem; font-family: var(--titre); font-size: 5rem; color: var(--lueur); line-height: 1; }
.x-citation-texte { font-family: var(--titre); font-weight: 600; font-size: clamp(1.25rem, 2.3vw, 1.6rem); line-height: 1.35; margin: 0 0 0.8rem; color: #fff; letter-spacing: -0.02em; }
.x-citation-auteur { font-size: 0.88rem; margin: 0; opacity: .8; }

.x-tableau { margin: 2rem 0; overflow-x: auto; background: var(--blanc); border-radius: var(--r); border: 1px solid var(--ligne); }
.x-tableau table { border-collapse: collapse; width: 100%; font-size: 0.95rem; min-width: 560px; }
.x-tableau th { text-align: left; font-family: var(--titre); font-weight: 600; font-size: 0.85rem; background: var(--nuit); color: #fff; padding: 0.9rem 1.1rem; }
.x-tableau td { border-bottom: 1px solid var(--ligne); padding: 0.85rem 1.1rem; vertical-align: top; }
.x-tableau tr:nth-child(even) td { background: var(--neige); }
.x-tableau tr:last-child td { border-bottom: 0; }
.x-tableau td:first-child { font-weight: 700; color: var(--nuit); }

/* FAQ */
.x-faq { display: grid; gap: 0.6rem; max-width: 54rem; }
.x-faq .wp-block-details { background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--r); padding: 0 1.4rem; margin: 0; transition: border-color .15s; }
.x-faq .wp-block-details[open] { border-color: var(--lac-clair); }
.x-section:nth-of-type(even) .x-faq .wp-block-details { background: var(--neige); }
.x-faq summary { list-style: none; cursor: pointer; font-family: var(--titre); font-weight: 600; font-size: 1.05rem; letter-spacing: -0.015em; line-height: 1.35; padding: 1.15rem 2.6rem 1.15rem 0; position: relative; color: var(--nuit); }
.x-faq summary::-webkit-details-marker { display: none; }
.x-faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 8px; background: var(--brume); color: var(--lac); display: grid; place-items: center; font-weight: 700; transition: transform .2s; }
.x-faq details[open] summary::after { transform: rotate(45deg); }
.x-faq details p { color: var(--encre-2); margin: 0 0 1.3rem; }

/* agréments */
.x-agrements { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.x-agrement { background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--r); padding: 1.4rem; }
.x-section:nth-of-type(even) .x-agrement { background: var(--neige); }
.x-agrement-sigle { font-family: var(--titre); font-weight: 700; font-size: 1.4rem; letter-spacing: -0.03em; color: var(--lac); margin: 0 0 0.5rem; }
.x-agrement-texte { font-size: 0.93rem; color: var(--encre-2); margin: 0; }
.x-note { margin-top: 1.75rem; font-size: 0.98rem; }
@media (max-width: 900px) { .x-agrements { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .x-agrements { grid-template-columns: 1fr; } }
.x-zones { margin-top: 1.75rem; font-size: 0.95rem; color: var(--encre-2); background: var(--brume); border-radius: var(--r); padding: 1rem 1.25rem; }

.x-liens { list-style: none; padding: 0 !important; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 0.75rem; max-width: none !important; }
.x-liens li { max-width: none !important; }
.x-liens a { display: block; height: 100%; padding: 1.1rem 1.3rem; text-decoration: none; color: var(--encre); background: var(--blanc); border-radius: var(--r); border: 1px solid var(--ligne); transition: border-color .15s, transform .15s; }
.x-section:nth-of-type(even) .x-liens a { background: var(--neige); }
.x-liens a strong { display: block; font-family: var(--titre); font-weight: 650; letter-spacing: -0.02em; color: var(--nuit); }
.x-liens a span { display: block; font-size: 0.9rem; color: var(--encre-2); margin-top: 0.2rem; }
.x-liens a:hover { border-color: var(--lac); transform: translateY(-2px); }

/* CTA */
.x-cta { background: linear-gradient(160deg, var(--nuit), #1C4A5A); color: #DCEBEE; padding-block: clamp(3.5rem, 8vw, 5.5rem); position: relative; overflow: hidden; }
.x-cta::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: clamp(30px, 5vw, 60px); background: var(--neige); clip-path: polygon(0 0, 100% 0, 100% 30%, 90% 70%, 78% 35%, 66% 80%, 52% 40%, 40% 75%, 26% 30%, 12% 65%, 0 35%); }
.x-cta-titre { color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); max-width: 40rem; margin: 0 0 1rem; position: relative; }
.x-cta-texte { color: #C9DDE1; font-size: 1.1rem; max-width: 38rem; margin-bottom: 2rem; }
.x-cta-note { margin: 1.5rem 0 0; font-size: 0.85rem; color: #8FB0B8; }
.x-cta-avec-portrait { display: grid !important; grid-template-columns: minmax(0, 1fr) 210px; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; position: relative; }
.x-cta-portrait img { aspect-ratio: 1; object-fit: cover; border-radius: var(--r); border: 1px solid rgba(191,227,230,.3); padding: 6px; background: rgba(255,255,255,.05); }
.x-cta-portrait figcaption { color: #C9DDE1; text-align: left; font-size: 0.92rem; margin-top: 0.6rem; }
@media (max-width: 720px) { .x-cta-avec-portrait { grid-template-columns: 1fr; } .x-cta-visage { order: -1; max-width: 130px; } .x-cta-portrait figcaption { display: none; } }

.x-section-mentions { padding-block: 1.5rem 2.5rem; background: transparent !important; }
.x-mentions-texte { font-size: 0.8rem; color: var(--encre-2); max-width: 60rem !important; margin: 0; }

/* ---------- photos du conseiller : couleur, cadre fin façon panneau */
.x-photo { margin: 0; }
.x-photo img { display: block; width: 100%; height: auto; border-radius: var(--r); }
.x-photo figcaption { font-size: 0.9rem; color: var(--encre-2); margin-top: 0.7rem; text-align: left; }
.x-hero-media { max-width: 430px; justify-self: end; width: 100%; background: rgba(255,255,255,.06); border: 1px solid rgba(191,227,230,.22); border-radius: calc(var(--r) + 6px); padding: 10px; }
.x-photo-hero img { aspect-ratio: 4 / 5; object-fit: cover; }
.x-photo-hero figcaption { color: var(--glacier); font-weight: 600; padding: 0.3rem 0.4rem 0.1rem; margin-top: 0.5rem; }
@media (max-width: 900px) { .x-hero-media { justify-self: start; max-width: 340px; } }
.x-conseiller { align-items: center; }
.x-photo-conseiller img { aspect-ratio: 4 / 5; object-fit: cover; box-shadow: var(--ombre); }
.x-photo-large { margin-top: 2.5rem; }
.x-photo-large img { aspect-ratio: 16 / 9; object-fit: cover; }
.x-puces-conseiller { list-style: none; padding: 0 !important; margin: 1.5rem 0 !important; display: grid; gap: 0.6rem; }
.x-puces-conseiller li { padding-left: 1.7rem; position: relative; }
.x-puces-conseiller li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 1rem; height: 0.6rem; background: var(--lac); clip-path: polygon(0 100%, 35% 20%, 55% 60%, 75% 0, 100% 100%); }

/* ---------- saison fiscale */
.x-fiscal-zone { margin-block: clamp(2rem, 4vw, 3rem) 0; }
.c-fiscal[hidden] { display: none; }
.c-fiscal { background: linear-gradient(120deg, #FBEDE6, #FDF6F1); border: 1px solid #F3CDBB; border-radius: var(--r); display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; padding: clamp(1.6rem, 4vw, 2.4rem) clamp(1.5rem, 4vw, 2.75rem); position: relative; overflow: hidden; }
.c-fiscal-surtitre { display: inline-flex; align-items: center; gap: 0.7rem; margin: 0 0 0.7rem; font-family: var(--titre); font-size: 0.74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--lueur); }
.c-fiscal-jours { background: var(--lueur); color: #fff; border-radius: 6px; padding: 0.25rem 0.6rem; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.c-fiscal h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0 0 0.6rem; }
.c-fiscal-corps { color: var(--encre-2); margin: 0; max-width: 40rem; }
.c-fiscal-bouton { display: inline-flex; align-items: center; gap: 0.6rem; background: var(--nuit); color: #fff !important; text-decoration: none; font-weight: 700; padding: 1rem 1.5rem; border-radius: var(--r); white-space: nowrap; transition: background .15s; }
.c-fiscal-bouton:hover { background: var(--lac); }
.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; } }

/* ---------- formulaire Tally */
.c-form-zone { max-width: 46rem; background: var(--blanc); border: 1px solid var(--ligne); border-top: 4px solid var(--lac); border-radius: var(--r); padding: clamp(1.25rem, 3vw, 2rem); }
.c-form-zone iframe { display: block; min-height: 600px; }
.c-form-alt { font-size: 0.92rem; color: var(--encre-2); margin: 1rem 0 0; }

/* ---------- pied */
.c-pied { background: var(--nuit); color: #A9C2C8; font-size: 0.93rem; padding-top: clamp(3rem, 6vw, 4.5rem); position: relative; }
.c-pied a { color: #fff; text-decoration: none; }
.c-pied a:hover { color: var(--lueur-2); }
.c-pied-grille { display: grid; grid-template-columns: minmax(0, 1.6fr); grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(191,227,230,.12); }
.c-pied-logo { width: 84px; height: 84px; display: block; margin-bottom: 1rem; }
.c-pied-marque { font-family: var(--titre); font-weight: 700; font-size: 1.5rem; color: #fff; margin: 0 0 0.75rem; letter-spacing: -0.03em; }
.c-pied-marque span { display: block; font-family: var(--texte); font-weight: 600; font-size: 0.85rem; letter-spacing: 0; color: var(--lac-clair); margin-top: 0.2rem; }
.c-pied-titre { font-family: var(--titre); font-weight: 600; color: #fff; 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.8rem; color: #7E9AA2; }
.c-pied-legal p { margin: 0 0 0.5rem; }
@media (max-width: 900px) { .c-pied-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: row; } .c-pied-cabinet { grid-column: 1 / -1; } }
@media (max-width: 520px) { .c-pied-grille { grid-template-columns: 1fr; } }

/* Pages non refondues : 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.4rem); line-height: 1.08; margin: 0; }

.site-footer .footer-bar, .generate-back-to-top { 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; }
