.elementor-kit-6{--e-global-color-primary:#6EC1E4;--e-global-color-secondary:#54595F;--e-global-color-text:#7A7A7A;--e-global-color-accent:#61CE70;--e-global-typography-primary-font-family:"Inter";--e-global-typography-primary-font-weight:400;--e-global-typography-secondary-font-family:"Playfair Display";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Inter";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Inter";--e-global-typography-accent-font-weight:400;}.elementor-kit-6 e-page-transition{background-color:#FFBC7D;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}.site-header .site-branding{flex-direction:column;align-items:stretch;}.site-header{padding-inline-end:0px;padding-inline-start:0px;}.site-footer .site-branding{flex-direction:column;align-items:stretch;}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}:root { --bordeaux:#5D120E; --charbon:#211E1B; --grege:#F5F1E9; --camel:#B2A388; --blanc:#FFFFFF; --inter:Inter; --playfair:Playfair Display; }
/* Start custom CSS *//* =========================================================
   CBCH LEGAL – feuille de style du site (Kit Elementor)
   Convention éditoriale pour les titres :
   - Ctrl+I (italique)  : Playfair Display italique, couleur d'accent
                          (bordeaux par défaut, camel avec la classe accent-camel).
                          Dans un surtitre : graisse fine (ex. « 01 » de « 01 · le cabinet »).
   - Maj+Entrée         : retour à la ligne sur ordinateur et tablette, ignoré sur mobile.
   - Ctrl+U sur l'espace : retour à la ligne sur mobile uniquement.
   - Les deux ensemble  : retour à la ligne partout.
   - Classe sauts-mobile sur un titre : garde tous ses Maj+Entrée sur mobile.
   ========================================================= */

html { scroll-behavior: smooth; }
body { background-color: #FFFFFF; }

/* --- Italique = accent --- */
.e-heading-base em, .e-heading-base i {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  line-height: 0;
  color: var(--bordeaux, #5D120E);
}
.accent-camel em, .accent-camel i { color: var(--camel, #B2A388); }
.surtitre em, .surtitre i {
  font-family: inherit;
  font-style: normal;
  font-weight: 300;
  letter-spacing: inherit;
  text-transform: inherit;
  color: inherit;
}
.texte strong, .texte b { font-weight: 700; }

/* --- Retours à la ligne desktop / mobile --- */
.e-heading-base u, .e-paragraph-base u { text-decoration: none; }
@media (max-width: 767px) {
  .e-heading-base br { display: none; }
  .e-heading-base.sauts-mobile br { display: inline; }
  .e-heading-base u, .e-paragraph-base u { display: block; height: 0; }
}

/* --- Ancres : compense le menu fixe --- */
.ancre { scroll-margin-top: 110px; }

/* --- Menu fixe : le logo devient l'emblème au scroll --- */
.nav-site { position: sticky; top: 0; z-index: 100; }
.nav-embleme { opacity: 0; pointer-events: none; }
@supports (animation-timeline: scroll()) {
  .nav-site { animation: cb-nav linear both; animation-timeline: scroll(root); animation-range: 0 160px; }
  .nav-logo { animation: cb-sortie linear both; animation-timeline: scroll(root); animation-range: 30px 130px; }
  .nav-embleme { animation: cb-entree linear both; animation-timeline: scroll(root); animation-range: 90px 170px; pointer-events: auto; }
}
@keyframes cb-nav { to { padding-top: 14px; padding-bottom: 14px; box-shadow: 0 1px 0 rgba(33, 30, 27, 0.08); } }
@keyframes cb-sortie { to { opacity: 0; visibility: hidden; } }
@keyframes cb-entree { from { opacity: 0; } to { opacity: 1; } }

/* --- Menu collé : liens et boutons centrés verticalement sur l'emblème --- */
.elementor-element-48ac8bbb { --h-logo: 68px; }
@media (max-width: 767px) {
  .elementor-element-48ac8bbb { --h-logo: 45px; }
  .elementor-element-48ac8bbb { width: 120px !important; }
  .nav-logo { width: 120px !important; height: 45px !important; }
  .elementor-element-6ea72c32 { gap: 12px !important; }
  .elementor-element-2af08f4d { flex-shrink: 0; }
  .elementor-element-6ea72c32 .btn-bordeaux { padding-left: 16px !important; padding-right: 16px !important; }
}
@supports (animation-timeline: scroll()) {
  .elementor-element-48ac8bbb { animation: cb-bloc-logo linear both; animation-timeline: scroll(root); animation-range: 90px 170px; }
  .elementor-element-aafd25b, .elementor-element-6ea72c32 { animation: cb-centre linear both; animation-timeline: scroll(root); animation-range: 90px 170px; }
}
@keyframes cb-bloc-logo { from { height: var(--h-logo); } to { height: 52px; } }
@keyframes cb-centre { to { margin-top: 4px; } }

/* --- Menu : lien actif selon la section affichée (CSS seul, pilotée par le défilement)
   La section est « active » quand elle passe sur une ligne située à 40 % de la hauteur de l'écran. --- */
@supports (animation-timeline: view()) {
  body { timeline-scope: --t-cabinet, --t-approche, --t-expertises, --t-interlocuteurs, --t-publications; }
  #cabinet { view-timeline: --t-cabinet block; }
  #approche { view-timeline: --t-approche block; }
  #expertises { view-timeline: --t-expertises block; }
  #interlocuteurs { view-timeline: --t-interlocuteurs block; }
  #publications { view-timeline: --t-publications block; }
  #cabinet, #approche, #expertises, #interlocuteurs, #publications { view-timeline-inset: 40% 59%; }
  .lien-nav {
    background: linear-gradient(currentColor, currentColor) left bottom / 0% 1px no-repeat;
  }
  [data-id="45e2c540"], [data-id="6b2b6c6d"], [data-id="3f16a243"], [data-id="1204e871"], [data-id="1e6712d2"] {
    animation: cb-actif linear none; animation-range: cover 0% cover 100%;
  }
  [data-id="45e2c540"] { animation-timeline: --t-cabinet; }
  [data-id="6b2b6c6d"] { animation-timeline: --t-approche; }
  [data-id="3f16a243"] { animation-timeline: --t-expertises; }
  [data-id="1204e871"] { animation-timeline: --t-interlocuteurs; }
  [data-id="1e6712d2"] { animation-timeline: --t-publications; }
}
@keyframes cb-actif {
  0%, 100% { color: var(--charbon, #211E1B); background-size: 0% 1px; }
  6%, 94% { color: var(--bordeaux, #5D120E); background-size: 100% 1px; }
}

/* --- Menu burger (tablette et mobile), sans JavaScript : le bouton ouvre #menu --- */
[data-id="261449f7"], [data-id="1938a37d"] { display: none !important; }
@media (max-width: 1024px) {
  .elementor-element-6f634c66 { align-items: center; }
  .elementor-element-6ea72c32 { animation: none; }
  [data-id="261449f7"] {
    display: block !important; position: relative !important; flex-shrink: 0; width: 40px !important; height: 44px !important; min-width: 0 !important; padding: 0 !important;
    background: transparent !important; border: 0 !important; font-size: 0 !important; color: transparent !important;
  }
  [data-id="261449f7"]::before, [data-id="261449f7"]::after {
    content: ""; position: absolute; left: 8px; right: 8px; height: 1.5px;
    background: var(--charbon, #211E1B); transition: transform 0.4s ease;
  }
  [data-id="261449f7"]::before { top: 16px; box-shadow: 0 6px 0 var(--charbon, #211E1B); }
  [data-id="261449f7"]::after { top: 28px; }
  [data-id="261449f7"]:hover::after { transform: scaleX(0.6); transform-origin: right; }

  #menu {
    display: flex !important; position: fixed; inset: 0; z-index: 200;
    flex-direction: column; align-items: center; justify-content: center; gap: 28px;
    background: var(--grege, #F5F1E9);
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.19, 1, 0.22, 1), visibility 0s 0.6s;
    margin: 0 !important; animation: none;
  }
  #menu:target { opacity: 1; visibility: visible; transform: none; transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.19, 1, 0.22, 1); }
  #menu .lien-nav, #menu .lien-nav a { font-size: 24px !important; line-height: 1.3 !important; }
  [data-id="1938a37d"] {
    display: block !important; position: absolute !important; top: 22px !important; right: 20px !important; width: 44px !important; height: 44px !important; min-width: 0 !important; padding: 0 !important; margin: 0 !important;
    background: transparent !important; border: 0 !important; font-size: 0 !important; color: transparent !important;
  }
  [data-id="1938a37d"]::before, [data-id="1938a37d"]::after {
    content: ""; position: absolute; left: 10px; right: 10px; top: 21px; height: 1.5px; background: var(--charbon, #211E1B);
  }
  [data-id="1938a37d"]::before { transform: rotate(45deg); }
  [data-id="1938a37d"]::after { transform: rotate(-45deg); }
}

/* --- Mobile : FR | EN passe dans le menu burger pour que Contact ne touche plus le logo --- */
@media (max-width: 767px) {
  .elementor-element-2af08f4d { display: none !important; }
  .nav-logo > .e-svg-base { width: 100% !important; height: 100% !important; }
  body:has(#menu:target) .elementor-element-2af08f4d { display: flex !important; position: fixed; left: 0; right: 0; bottom: 56px; justify-content: center; z-index: 201; animation: cb-logo 0.6s ease; }
}
@media (max-width: 359px) {
  .elementor-element-48ac8bbb { --h-logo: 39px; width: 104px !important; }
  .nav-logo { width: 104px !important; height: 39px !important; }
}

/* --- Apparition du logo au chargement (opacité seule : le SVG reste net) --- */
.nav-logo svg { animation: cb-logo 1.6s ease-out; }
@keyframes cb-logo { from { opacity: 0; } to { opacity: 1; } }

/* --- Rendu net des SVG (logos, emblème, icônes) --- */
.e-svg-base svg, .nav-logo svg, .nav-embleme svg { shape-rendering: geometricPrecision; transform: none; }

/* --- Photo qui change au survol --- */
.photo-survol { position: relative; overflow: hidden; border-radius: 8px; }
.photo-survol .photo-2, .photo-survol .photo-2 img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 0.9s ease;
}
.photo-survol:hover .photo-2, .photo-survol:hover .photo-2 img { opacity: 1; }
.photo img, img.photo { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }

/* --- Icônes SVG : couleurs au survol --- */
.icone-linkedin svg circle, .icone-linkedin svg path,
.fleche svg circle, .fleche svg path { transition: fill 0.4s, stroke 0.4s; }
.icone-linkedin:hover svg circle { fill: #000000; }
.icone-linkedin:hover svg path { fill: var(--grege, #F5F1E9); }
.fleche { cursor: pointer; }
.fleche svg circle { fill: transparent; }
.fleche svg path { fill: none; }
.fleche:hover svg circle { fill: var(--bordeaux, #5D120E); }
.fleche:hover svg path { stroke: var(--grege, #F5F1E9); }

/* --- Cartes expertises : le + tourne au survol --- */
.carte-expertise summary { list-style: none; }
.carte-expertise summary::-webkit-details-marker { display: none; }
.expertise-icone svg { transition: transform 0.7s ease; }
/* Le + tourne au survol quand la carte est fermée ; le − (carte ouverte) ne tourne pas */
.carte-expertise details:not([open]) summary:hover .e-accordion-item-icon-base svg { transform: rotate(90deg); }
.carte-expertise details[open] summary:hover .e-accordion-item-icon-base svg { transform: scaleX(1.2); }

/* Carte ouverte : la barre verticale du + s'efface, il reste un − pour refermer */
.carte-expertise .e-accordion-item-icon-open-base { display: none !important; }
.carte-expertise details[open] .e-accordion-item-icon-base { display: flex !important; }
.carte-expertise .e-accordion-item-icon-base svg line { transition: opacity 0.5s ease, transform 0.5s ease; transform-box: fill-box; transform-origin: center; }
.carte-expertise details[open] .e-accordion-item-icon-base svg line + line { opacity: 0; transform: scaleY(0); }
.carte-expertise summary { cursor: pointer; }

/* Cartes fermées : même hauteur (calée sur la plus haute) ; une carte ouverte s'agrandit seule */
@media (min-width: 1025px) { .carte-expertise { min-height: 475px !important; } }
@media (min-width: 768px) and (max-width: 1024px) { .carte-expertise { min-height: 464px; } }

/* --- Emblème : le rectangle coloré exporté de Figma s'arrêtait avant le bas du « C » --- */
svg g[mask] > rect { height: 640px; }

/* --- 01 Le cabinet et 04 Interlocuteurs : le bas de la photo tombe sur la ligne de base
   de la dernière ligne de texte (la photo suit la hauteur de la colonne de texte) --- */
@media (min-width: 1025px) {
  .elementor-element-2e84a87f { height: auto !important; align-self: stretch; margin-bottom: 7px; }
  .elementor-element-2e84a87f [data-id="6163c966"], .elementor-element-2e84a87f [data-id="21ee9992"] { height: 100% !important; }
  .elementor-element-bc94350 > [data-id="7ac8db2a"] { height: auto !important; min-height: 0 !important; align-self: stretch; margin-bottom: 6px; }
}

/* --- Survol des images (sauf le portrait de 01 Le cabinet) : contraste légèrement renforcé --- */
[data-id="698411d3"], [data-id="7ac8db2a"], [data-id="3242e262"] { filter: contrast(1) saturate(1); transition: filter 0.9s cubic-bezier(0.19, 1, 0.22, 1) !important; }
[data-id="698411d3"]:hover, [data-id="7ac8db2a"]:hover, [data-id="3242e262"]:hover { filter: contrast(1.12) saturate(1.06); }

/* --- Liens dans les textes : gardent la couleur du texte --- */
.texte a, .e-paragraph-base a { color: inherit; text-decoration: none; transition: color 0.3s; }
.c-grege a:hover { color: var(--camel, #B2A388); }

/* --- Carrousel publications : cartes de 546 px --- */
.slide-pub { flex: 0 0 546px; max-width: 546px; }
@media (max-width: 767px) { .slide-pub { flex: 0 0 85%; max-width: 85%; } }

/* --- Carte Google en niveaux de gris doux --- */
.carte-maps, .carte-maps iframe { border-radius: 10px; filter: grayscale(1) contrast(0.95); }
/* Plan d'accès (image cliquable vers Google Maps) : la couleur revient légèrement au survol */
[data-id="1c92df01"] { transition: filter 0.9s cubic-bezier(0.19, 1, 0.22, 1); cursor: pointer; }
[data-id="1c92df01"]:hover { filter: grayscale(0.55) contrast(1); }

/* --- Apparition des titres (script « Titres animés » dans Elementor > Code personnalisé)
   Classes : anim-lettres | anim-mots | anim-lignes --- */
.cb-js .anim-lettres:not(.cb-split), .cb-js .anim-mots:not(.cb-split), .cb-js .anim-lignes:not(.cb-split) { visibility: hidden; }
.cb-split .cb-mot { display: inline-block; white-space: nowrap; }
.anim-lettres.cb-split .cb-car {
  display: inline-block; opacity: 0; transform: translateY(0.35em);
  transition: opacity 0.8s cubic-bezier(0.2, 0.65, 0.25, 1), transform 1s cubic-bezier(0.2, 0.65, 0.25, 1);
  transition-delay: calc(var(--i) * var(--pas, 28ms));
}
.anim-lettres.cb-vu .cb-car { opacity: 1; transform: none; }
/* H1 du héro : apparition un peu plus posée */
.titre-hero.anim-lettres.cb-split .cb-car {
  transition-duration: 1.2s, 1.4s;
  transition-delay: calc(var(--i) * 26ms);
}
.anim-mots.cb-split .cb-mot {
  opacity: 0; transform: translateY(0.4em);
  transition: opacity 0.9s cubic-bezier(0.2, 0.65, 0.25, 1), transform 1.1s cubic-bezier(0.2, 0.65, 0.25, 1);
  transition-delay: calc(var(--i) * var(--pas, 80ms));
}
.anim-mots.cb-vu .cb-mot { opacity: 1; transform: none; }
.anim-lignes.cb-split .cb-mot {
  overflow: hidden; line-height: 1.15; vertical-align: -0.22em;
  padding: 0 0.12em 0.2em 0; margin: 0 -0.12em -0.2em 0;
}
.anim-lignes.cb-split .cb-int {
  display: inline-block; transform: translateY(115%);
  transition: transform 1.7s cubic-bezier(0.19, 1, 0.22, 1);
  transition-delay: calc(var(--l, 0) * 220ms);
}
.anim-lignes.cb-vu .cb-int { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .nav-logo svg, .nav-logo img { animation: none; }
}/* End custom CSS */