/**
 * Default style
*/
/*!
Theme Name: Prigent & Associés
Theme URI: http://underscores.me/
Author: Netcurd
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: granule-service
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Zan & vous is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/
/* Normalize
--------------------------------------------- */
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
	 ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
	 ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
	 ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
  appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box;
  padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield;
  appearance: textfield;
  outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

/* Interactive
	 ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
	 ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

/* Box sizing
--------------------------------------------- */
/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/
/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
  color: #404040;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both;
}

p {
  margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
  font-style: italic;
}

blockquote {
  margin: 0 1.5em;
}

address {
  margin: 0 0 1.5em;
}

pre {
  background: #eee;
  font-family: "Courier 10 Pitch", courier, monospace;
  line-height: 1.6;
  margin-bottom: 1.6em;
  max-width: 100%;
  overflow: auto;
  padding: 1.6em;
}

code,
kbd,
tt,
var {
  font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
  border-bottom: 1px dotted #666;
  cursor: help;
}

mark,
ins {
  background: #fff9c0;
  text-decoration: none;
}

big {
  font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
  background: #fff;
}

hr {
  background-color: #ccc;
  border: 0;
  height: 1px;
  margin-bottom: 1.5em;
}

ul,
ol {
  margin: 0 0 1.5em 3em;
}

ul {
  list-style: disc;
}

ol {
  list-style: decimal;
}

li > ul,
li > ol {
  margin-bottom: 0;
  margin-left: 1.5em;
}

dt {
  font-weight: 700;
}

dd {
  margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
  max-width: 100%;
}

img {
  height: auto;
  max-width: 100%;
}

figure {
  margin: 1em 0;
}

table {
  margin: 0 0 1.5em;
  width: 100%;
}

/* Links
--------------------------------------------- */
a {
  color: #4169e1;
}

a:hover,
a:focus,
a:active {
  color: #111111;
}

a:focus {
  outline: thin dotted;
}

a:hover,
a:active {
  outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type=button],
input[type=reset],
input[type=submit] {
  border: 1px solid;
  border-color: #ccc #ccc #bbb;
  border-radius: 3px;
  background: #e6e6e6;
  color: rgba(0, 0, 0, 0.8);
  line-height: 1;
  padding: 0.6em 1em 0.4em;
}

button:hover,
input[type=button]:hover,
input[type=reset]:hover,
input[type=submit]:hover {
  border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type=button]:active,
input[type=button]:focus,
input[type=reset]:active,
input[type=reset]:focus,
input[type=submit]:active,
input[type=submit]:focus {
  border-color: #aaa #bbb #bbb;
}

input[type=text],
input[type=email],
input[type=url],
input[type=password],
input[type=search],
input[type=number],
input[type=tel],
input[type=range],
input[type=date],
input[type=month],
input[type=week],
input[type=time],
input[type=datetime],
input[type=datetime-local],
input[type=color],
textarea {
  color: #666;
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: 3px;
}

input[type=text]:focus,
input[type=email]:focus,
input[type=url]:focus,
input[type=password]:focus,
input[type=search]:focus,
input[type=number]:focus,
input[type=tel]:focus,
input[type=range]:focus,
input[type=date]:focus,
input[type=month]:focus,
input[type=week]:focus,
input[type=time]:focus,
input[type=datetime]:focus,
input[type=datetime-local]:focus,
input[type=color]:focus,
textarea:focus {
  color: #111;
}

select {
  border: 1px solid #ccc;
}

textarea {
  width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/
/* Navigation
--------------------------------------------- */
.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
  margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
  display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
  flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
  text-align: end;
  flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
  display: block;
}

.updated:not(.published) {
  display: none;
}

.page-content,
.entry-content,
.entry-summary {
  margin: 1.5em 0 0;
}

.page-links {
  clear: both;
  margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
  word-wrap: break-word;
}

.bypostauthor {
  display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
  margin: 0 0 1.5em;
}

.widget select {
  max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
  display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
  margin-bottom: 1.5em;
  max-width: 100%;
}

.wp-caption img[class*=wp-image-] {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption .wp-caption-text {
  margin: 0.8075em 0;
}

.wp-caption-text {
  text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
  margin-bottom: 1.5em;
  display: grid;
  grid-gap: 1.5em;
}

.gallery-item {
  display: inline-block;
  text-align: center;
  width: 100%;
}

.gallery-columns-2 {
  grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
  grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
  grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
  grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
  grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
  grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
  grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
  display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/
/* Jetpack infinite scroll
--------------------------------------------- */
/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
  display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
  display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/
/* Accessibility
--------------------------------------------- */
/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
  outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {
  /*rtl:ignore*/
  float: left;
  /*rtl:ignore*/
  margin-right: 1.5em;
  margin-bottom: 1.5em;
}

.alignright {
  /*rtl:ignore*/
  float: right;
  /*rtl:ignore*/
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5em;
}

:root{
  --green: #b8cf3a;
  --orange: #d79a2c;
  --dark: #282828;
  --dark-2: #1f1f1f;
  --kaki: #b1af99;
  --beige: #f9f7ed;
  --beige-2: #efede4;
  --white: #ffffff;
  --text-soft: rgba(40,40,40,.72);
  --text-soft-dark: rgba(255,255,255,.82);
  --border-soft: rgba(0,0,0,.08);
  --shadow: 0 12px 30px rgba(0,0,0,.12);
  --shadow-soft: 0 14px 34px rgba(0,0,0,.08);
  --shadow-card: 0 18px 38px rgba(0,0,0,.08);
  --radius: 24px;
  --container: 1200px;
  --header-height: 104px;

  /* Brand palette used by page templates (references, recherche-immo, etc.) */
  --rose: #b92778;
  --cyan: #4c9b93;
  --vert: #b8cf3a; /* aligné sur --green (home/boutons) */
  --bleu: #346076;
  --gris: #272727;
  --gris-clair: #4E4D44;
}

html{
  box-sizing: border-box;
  scroll-behavior: smooth;
}

*,
*::before,
*::after{
  box-sizing: inherit;
}

body{
  margin: 0;
  color: var(--dark);
  background: #fff;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

img{
  display: block;
  max-width: 100%;
  height: auto;
}

a{
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select{
  font: inherit;
}

button{
  cursor: pointer;
}

.container{
  width: min(100% - 80px, var(--container));
  margin-inline: auto;
}

.page-width{
  width: min(100% - 80px, var(--container));
  margin-inline: auto;
}

.accueil-page{
  overflow: clip;
}

.screen-reader-text{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus{
  clip: auto;
  width: auto;
  height: auto;
  margin: 1rem;
  padding: .75rem 1rem;
  background: #000;
  color: #fff;
  z-index: 100000;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
details:focus-visible{
  outline: 3px solid var(--green);
  outline-offset: 3px;
}

/* =========================
   TOPBAR
========================= */

:root{
  --topbar-height: 42px;
}

.topbar{
  position: relative;
  z-index: 1100;
  width: 100%;
  min-height: var(--topbar-height);
  background:#f5f5f3;
  color: #111111;
}

.topbar__inner{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: var(--topbar-height);
  gap: 18px;
}

.topbar__link{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 2px;
  color: #111111;
  text-decoration: none;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color .2s ease;
}

.topbar__link:visited{
  color: #111111;
}

.topbar__link:hover{
  color: var(--green);
}

.topbar__arrow{
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green);
  color: #000;
  font-size: .95rem;
  line-height: 1;
  transition: transform .2s ease, background .2s ease;
}

.topbar__link:hover .topbar__arrow{
  transform: translateX(3px);
  background: #fff;
}

@media (max-width: 720px){
  :root{ --topbar-height: 38px; }
  .topbar__link{ font-size: .7rem; letter-spacing: .06em; }
  .topbar__arrow{ width: 20px; height: 20px; font-size: .85rem; }
}

/* =========================
   HEADER
========================= */

.site-header{
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background-color .25s ease,
    border-color .25s ease,
    box-shadow .25s ease,
    backdrop-filter .25s ease;
}

.site-header__row{
  display: grid;
  grid-template-columns: 260px 1fr auto;
  align-items: center;
  gap: 2.5rem;
  min-height: var(--header-height);
}

.site-header.is-scrolled{
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

.site-branding .custom-logo-link{
  display: inline-flex;
  align-items: center;
}

.site-branding .custom-logo{
  max-height: 54px;
  width: 200px;
  transition: filter .25s ease;
}

.site-header.is-scrolled .custom-logo{
  filter: none;
}

.brand--text{
  display: inline-flex;
  align-items: center;
  gap: .875rem;
}

.brand__mark{
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green);
  flex: 0 0 auto;
}

.brand__text{
  display: inline-flex;
  flex-direction: column;
  font-weight: 500;
  line-height: 1.05;
  transition: color .25s ease;
}

.brand__text small{
  margin-top: .35rem;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color .25s ease;
}

.main-navigation{
  justify-self: center;
}

.main-navigation .menu{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-navigation .menu > li{
  position: relative;
}

.main-navigation .menu > li > a{
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 500;
  font-size: .92rem;
  letter-spacing: .02em;
  text-transform: uppercase;
  transition: color .25s ease;
}

.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a{
  color: var(--green)!important;
}

.site-header__cta{
  display: flex;
  align-items: center;
}

.cta-btn{
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  min-height: 52px;
  padding: .45rem .7rem .45rem .55rem;
  border-radius: 999px;
  font-weight: 900;
  font-size: .92rem;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
}

.cta-btn__icon{
  display: inline-grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
}

.menu-toggle{
  display: none;
  position: relative;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  z-index: 110;
  transition: background-color .25s ease;
}

.menu-toggle__bars{
  position: relative;
  display: block;
  width: 22px;
  height: 18px;
  margin: 0 auto;
}

.menu-toggle__line{
  position: absolute;
  left: 0;
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  transform-origin: center center;
  transition: transform .35s cubic-bezier(.6,.05,.28,1), opacity .2s ease, background-color .25s ease, top .35s cubic-bezier(.6,.05,.28,1);
}

.menu-toggle__line--top{ top: 2px; }
.menu-toggle__line--mid{ top: 8px; }
.menu-toggle__line--bot{ top: 14px; }

.menu-toggle.is-active .menu-toggle__line--top{
  top: 8px;
  transform: rotate(45deg);
}

.menu-toggle.is-active .menu-toggle__line--mid{
  opacity: 0;
  transform: scaleX(0);
}

.menu-toggle.is-active .menu-toggle__line--bot{
  top: 8px;
  transform: rotate(-45deg);
}

.site-header:not(.is-scrolled) .main-navigation .menu > li > a,
.site-header:not(.is-scrolled) .brand--text,
.site-header:not(.is-scrolled) .brand__text,
.site-header:not(.is-scrolled) .brand__text small{
  color: #fff;
}

.site-header:not(.is-scrolled) .cta-btn{
  background: rgba(184,207,58,.92);
  color: #fff;
  border: 1px solid rgba(255,255,255,.15);
}

.site-header:not(.is-scrolled) .cta-btn__icon{
  background: rgba(255,255,255,.2);
}

.site-header:not(.is-scrolled) .menu-toggle{
  background: rgba(255,255,255,.12);
}

.site-header:not(.is-scrolled) .menu-toggle__line{
  background: #fff;
}

.site-header.is-scrolled .main-navigation .menu > li > a,
.site-header.is-scrolled .brand--text,
.site-header.is-scrolled .brand__text,
.site-header.is-scrolled .brand__text small{
  color: var(--dark);
}

.site-header.is-scrolled .cta-btn{
  background: var(--dark);
  color: #fff;
  border: 1px solid transparent;
}

.site-header.is-scrolled .cta-btn__icon{
  background: rgba(255,255,255,.12);
}

.site-header.is-scrolled .menu-toggle{
  background: var(--beige);
}

.site-header.is-scrolled .menu-toggle__line{
  background: var(--dark);
}

/* =========================
   BOUTONS
========================= */

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 56px;
  min-width: 250px;
  padding: 0 0 0 1.15rem;
  border-radius: 0;
  font-size: .9rem;
  font-weight: 900;
  letter-spacing: .02em;
  text-transform: uppercase;
  border: 0;
  box-shadow: 0 10px 22px rgba(0,0,0,.16);
  transition: transform .2s ease, box-shadow .2s ease;
}

.btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(0,0,0,.18);
}

.btn__arrow{
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 0;
  font-size: 1.5rem;
  line-height: 1;
  flex: 0 0 auto;
}

.btn--light{
  background: #fff;
  color: #3f3f3f;
  border-left: 5px solid var(--green);
}

.btn--light:visited {
  color: #3f3f3f;
}

.btn--light .btn__arrow{
  background: var(--green);
  color: #fff;
}

.btn--orange{
  background: #fff;
  color: #3f3f3f;
  border-left: 5px solid var(--orange);
}

.btn--orange .btn__arrow{
  background: var(--orange);
  color: #fff;
}

/* Bouton vert plein (CTA sobriété). */
.btn--green{
  background: var(--green);
  color: #fff;
}

.btn--green:visited{
  color: #fff;
}

.btn--green .btn__arrow{
  background: rgba(0, 0, 0, .14);
  color: #fff;
}

/* Compact size for in-card / inline CTAs */
.btn--sm{
  min-height: 44px;
  min-width: 0;
  max-width: 350px;
  padding: .25rem .25rem .25rem 1rem;
  margin: 15px;
  font-size: .78rem;
  gap: .75rem;
}

.btn--sm .btn__arrow{
  width: 2.4rem;
  height: 2.4rem;
  font-size: 1.1rem;
}

.section-tag{
  margin: 0 0 1rem;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--green);
}

.section-tag--light{
  color: #fff;
}

/* =========================
   HERO
========================= */

.hero{
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(6,14,20,.82) 0%,
      rgba(6,14,20,.68) 24%,
      rgba(6,14,20,.30) 50%,
      rgba(6,14,20,.12) 100%
    );
}

.hero__content{
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 100%;
  padding-top: 178px;
  padding-bottom: 110px;
}

.hero__copy{
  width: min(100%, 780px);
  margin-left: clamp(4rem, 8vw, 11rem);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero__title{
  margin: 0 0 1.4rem;
  font-size: clamp(4.2rem, 5vw, 5.5rem);
  line-height: .88;
  font-weight: 900;
  color: #fff;
  max-width: 700px;
  line-height: 1.1;
}

.hero__title .line{
  display: block;
  line-height: 1.05;
}

.hl-green,
.hl-white,
.hl-orange{
  display: inline-block;
  padding: .04em .15em .10em;
  line-height: .88;
  vertical-align: baseline;
}

.hl-green{
  background: var(--green);
  color: #fff;
}

.hl-white,
.hl-orange{
  background: #fff;
  color: var(--orange);
}

.hero__subtitle{
  max-width: 530px;
  margin: 0 0 2.25rem;
  font-size: 1.02rem;
  line-height: 1.18;
  font-weight: 500;
  color: rgba(255,255,255,.96);
}

.hero__lead{
  max-width: 700px;
  margin: 0 0 2.4rem;
  font-size: 1.16rem;
  line-height: 1.42;
  font-weight: 500;
  color: rgba(255,255,255,.92);
}

.hero__lead p{
  margin: 0;
}

.hero__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}


@media (min-width: 1800px){
  .hero{
    min-height: 1260px;
  }

  .hero__content{
    padding-top: 190px;
    padding-bottom: 120px;
  }

  .hero__copy{
    width: 800px;
    margin-left: 11rem;
  }
}

@media (max-width: 1400px){
  .hero{
    min-height: 980px;
  }

  .hero__content{
    padding-top: 160px;
    padding-bottom: 90px;
  }

  .hero__copy{
    width: min(100%, 690px);
    margin-left: 4rem;
  }

  .hero__title{
    font-size: clamp(4rem, 5.4vw, 6.25rem);
  }

  .hero__subtitle{
    max-width: 470px;
    font-size: .98rem;
  }
}

@media (max-width: 980px){
  .hero{
    min-height: 860px;
  }

  .hero__content{
    padding-top: calc(var(--header-height) + 2rem);
    padding-bottom: 4rem;
  }

  .hero__copy{
    width: 100%;
    margin-left: 0;
  }

  .hero__title{
    font-size: clamp(3.3rem, 9vw, 5rem);
    line-height: .93;
  }

  .hero__subtitle{
    max-width: 420px;
    font-size: .95rem;
  }

  .hero .btn{
    min-width: 220px;
  }
}

@media (max-width: 680px){
  .hero{
    min-height: 92svh;
  }

  .hero__content{
    padding-top: calc(var(--header-height) + 1.5rem);
    padding-bottom: 3rem;
  }

  .hero__title{
    font-size: clamp(2.45rem, 11vw, 4rem);
    line-height: .95;
  }

  .hero__subtitle{
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.3;
  }

  .hero__actions{
    width: 100%;
  }

  .hero .btn{
    width: 100%;
    min-width: 0;
  }
}

/* =========================
   LOGOS
========================= */

.home-logos{
  position: relative;
  padding: 3rem 0 3.75rem;
  background: #fff;
}

.home-logos__title{
  text-align: center;
  margin: 0 0 2rem;
  /* Même couleur que l'eyebrow "Nos expertises" juste en dessous
     (.expertises-intro__eyebrow, qui hérite du dark par défaut du body) —
     .section-tag est vert par défaut, on l'écrase ici. */
  color: var(--dark);
}

.home-logos__list{
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: center;
  align-items: center;
  column-gap: clamp(3rem, 8vw, 10rem);
  row-gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-logos__item{
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-logos__list img{
  height: 58px;
  width: 100%;
  object-fit: contain;
}

/* =========================
   INTRO EXPERTISES
========================= */

.expertises-intro{
  padding: 2.5rem 0 3rem;
  background: #fff;
}

.expertises-intro__head{
  max-width: 980px;
  margin: 0 auto 2rem;
  text-align: center;
}

.expertises-intro__head h2{
  margin: 0;
  font-size: clamp(2.15rem, 4vw, 4.25rem);
  line-height: .98;
  font-weight: 900;
  letter-spacing: -.045em;
  color: var(--dark);
}

.expertises-intro__schema{
  max-width: 1180px;
  margin: 0 auto;
}

.expertises-intro__schema svg{
  display: block;
  width: 100%;
  height: auto;
}

.expertises-list{
  position: relative;
}

.expertises-line{
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  display: flex;
  justify-content: center;
}

.expertises-line svg{
  width: 260px;
  height: 100%;
}

.expertises-line path{
  fill: none;
  stroke: var(--green);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;

  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;

  animation: drawLine 2.8s ease forwards;
}

@keyframes drawLine{
  to{
    stroke-dashoffset: 0;
  }
}

/* =========================
   LISTE EXPERTISES
========================= */

.expertises-intro{
  padding: 0rem 0 3.5rem;
}

.expertises-intro__header{
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

.expertises-intro__eyebrow{
  text-transform: uppercase;
  font-size: 40px;
  margin-bottom: 10px;
}

.expertises-intro__title{
  margin: 0;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -.03em;
  color: var(--kaki);
}

.expertises-list{
  position: relative;
  padding: 3rem 0 6rem;
  background: #fff;
}

.expertises-list .container{
  position: relative;
}

.expertises-list__grid{
  position: relative;
  display: grid;
  gap: 2.2rem;
  z-index: 2;
}

.expertises-line{
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 240px;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
  display: flex;
  justify-content: center;
}

.expertises-line svg{
  width: 100%;
  height: 100%;
}

.expertise-card{
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  min-height: 280px;
  align-items: stretch;
  overflow: visible;
  /* Marge latérale symétrique : la carte occupe 91% du container et reste
     centrée. Remplace l'ancien décalage en quinconce (margin-right 9% sur les
     impaires, margin-left 9% sur les paires), qui la collait d'un côté. */
  margin: 50px 4.5%;
  padding: 25px 50px
}

/* Une carte sur deux inverse le ratio des colonnes : le média est alors à
   droite, et c'est lui qui reçoit la colonne la plus large. */
.expertise-card:nth-child(even){
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
}

.expertise-card--dark{
  background: #222;
  color: #fff;
  border-radius: 999px;
}

/* Forme pilule : image un peu plus petite pour respirer à l'intérieur. */
.expertise-card--dark .shape-media{
  width: min(100%, 450px);
}

.expertise-card--light{
  background: #f3f0e7;
  border-radius: 22px;
}

.expertise-card__content{
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* top, right, bottom, left */
  padding: 15% 0 15% 15%;
  position: relative;
  z-index: 2;
}

.expertise-card__kicker{
  margin: 0 0 .7rem;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--green);
}

.expertise-card--dark .expertise-card__kicker{
  color: var(--green);
}

.expertise-card__top{
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: .8rem;
}

.expertise-card__number{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  height: 42px;
  padding: 0 .8rem;
  background: var(--green);
  color: #fff;
  font-weight: 900;
  font-size: 1rem;
  line-height: 1;
  box-shadow: none;
}

.expertise-card__title{
  margin: 0;
  font-size: clamp(2rem, 2.8vw, 3.25rem);
  line-height: .92;
  font-weight: 900;
  letter-spacing: -.05em;
}

.expertise-card__text{
  margin: 0 0 1.2rem;
  max-width: 34rem;
  font-size: .98rem;
  line-height: 1.35;
  font-weight: 700;
  color: rgba(40,40,40,.72);
}

.expertise-card--dark .expertise-card__text{
  color: rgba(255,255,255,.84);
}

.expertise-card__tags{
  display: flex;
  flex-wrap: wrap;
  gap: .45rem .55rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.expertise-card__tags li{
  padding: .32rem .6rem;
  background: #fff;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: .03em;
  box-shadow: none;
}

.expertise-card--dark .expertise-card__tags li{
  background: rgba(255,255,255,.1);
  color: #fff;
}

.expertise-card__cta{
  align-self: flex-start;
  margin: 1.75rem 0 .25rem;
}

.expertise-card__media{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  /* top, right, bottom, left */
  padding: 15% 15% 15% 0;
  overflow: visible;
}

.expertise-card__media img{
  width: min(100%, 520px);
  height: 220px;
  object-fit: cover;
  transition: transform .45s ease;
  filter: drop-shadow(0 18px 28px rgba(0,0,0,.14));
}

.expertise-card:hover .expertise-card__media img{
  transform: scale(1.02);
}

.shape-media{
  position: absolute;
  width: min(100%, 520px);
}

.shape-media svg{
  display: block;
  width: 100%;
  height: auto;
  max-height: 400px;
}

.shape-media--2{
  width: min(100%, 540px);
}

.shape-media--3{
  width: min(100%, 560px);
}

.shape-media--3 svg{
  display: block;
  width: 100%;
  height: auto;
}

.shape-media--4{
  width: min(100%, 520px);
}

.shape-media--4 svg{
  display:block;
  width:100%;
  height:auto;
}

.expertise-card--01 .expertise-card__media,
.expertise-card--03 .expertise-card__media,
.expertise-card--07 .expertise-card__media,
.expertise-card--09 .expertise-card__media{
  justify-content: flex-start;
}

.expertise-card--02 .expertise-card__media,
.expertise-card--04 .expertise-card__media,
.expertise-card--05 .expertise-card__media,
.expertise-card--06 .expertise-card__media,
.expertise-card--08 .expertise-card__media{
  justify-content: flex-end;
}

/* Ajustements de gouttière par carte.
   Cantonnés à min-width 681px : en dessous, .expertise-card__content repasse à
   padding 1.5rem, et ces sélecteurs plus spécifiques écraseraient ce réglage.
   Rappel de l'ordre : top, right, bottom, left. */
@media (min-width: 681px){

  /* Carte 03 (média puis contenu) : gouttière centrale conservée, respiration
     verticale réduite. */
  .expertise-card--03 .expertise-card__content{
    padding: 5% 0 5% 15%;
  }

  /* Carte 04 (média puis contenu) : plus de padding latéral, les deux colonnes
     se rejoignent au centre. */
  .expertise-card--04 .expertise-card__content,
  .expertise-card--04 .expertise-card__media{
    padding: 15% 0 15% 0;
  }

  /* Carte 05 (contenu puis média) : les paddings de base sont écrits pour le
     sens média-d'abord, ils atterrissent donc sur les bords extérieurs et
     laissent le centre à zéro. On les inverse pour rétablir la gouttière
     centrale, comme sur les cartes 01/03/07/09. */
  .expertise-card--05 .expertise-card__content{
    padding: 15% 15% 15% 0;
  }

  .expertise-card--05 .expertise-card__media{
    padding: 15% 0 15% 15%;
  }
}

/* =========================
   BANNIÈRE INTERMÉDIAIRE
========================= */

.home-banner{
  position: relative;
  min-height: 860px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.home-banner__overlay{
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(7, 28, 41, .88) 0%,
      rgba(7, 28, 41, .72) 26%,
      rgba(7, 28, 41, .34) 50%,
      rgba(7, 28, 41, .10) 100%
    );
}

.home-banner__inner{
  position: relative;
  z-index: 3;
  width: 100%;
}

.home-banner__content{
  position: relative;
  max-width: 980px;
  padding: 3rem 0;
  color: #fff;
}

.home-banner__title{
  margin: 0 0 2rem;
  font-size: clamp(3.4rem, 5.5vw, 6.3rem);
  line-height: .92;
  font-weight: 900;
  letter-spacing: -.055em;
  color: #fff;
}

.home-banner__line{
  display: block;
}

.highlight{
  display: inline-block;
  padding: .02em .18em .08em;
  line-height: .92;
}

.highlight--green{
  background: var(--green);
  color: #fff;
}

.highlight--white{
  background: #fff;
  color: var(--green);
}

.highlight--orange{
  background: var(--orange);
  color: #fff;
}

.home-banner__text{
  max-width: 860px;
  margin: 0 0 2.2rem;
  font-size: 1.05rem;
  line-height: 1.15;
  font-weight: 500;
  color: rgba(255,255,255,.95);
}

.home-banner__cta{
  display: inline-flex;
  align-items: stretch;
  min-height: 64px;
  background: #fff;
  color: #111111;
  font-size: .92rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .01em;
  box-shadow: 0 16px 30px rgba(0,0,0,.18);
}

.home-banner__cta > span:first-child{
  display: inline-flex;
  align-items: center;
  padding: 0 2rem;
}

.home-banner__cta-arrow{
  display: inline-grid;
  place-items: center;
  width: 64px;
  background: var(--green);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
}

/* =========================
   PROCESS
========================= */

.process{
  padding: 6rem 0;
  background: #fff;
}

.process__head{
  max-width: 900px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.process__head h2{
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: .98;
  letter-spacing: -.04em;
  font-weight: 900;
}

.process__grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.process-card{
  padding: 2rem 1.6rem;
  background: var(--beige);
  box-shadow: 0 12px 24px rgba(0,0,0,.06);
}

.process-card__number{
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--orange);
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: .08em;
}

.process-card h3{
  margin: 0 0 .75rem;
  font-size: 1.55rem;
  line-height: 1.05;
  font-weight: 900;
}

.process-card p{
  margin: 0;
  color: rgba(40,40,40,.74);
  font-weight: 600;
}

/* =========================
   ACTUALITÉS ACCUEIL
========================= */

.actualites-home{
  padding: 6rem 0;
  background: #262626;
  color: #fff;
}

.actualites-home__head{
  max-width: 780px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.actualites-home__head h2{
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: .98;
  letter-spacing: -.04em;
  font-weight: 900;
}

.actualites-home__grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
}

.actu-card{
  display: flex;
  flex-direction: column;
  background: transparent;
  border: 0;
  padding: 5%;
  transition: transform .25s ease;
}

.actu-card:hover{
  transform: translateY(-4px);
}

.actu-card__media{
  display: block;
  margin-bottom: 1.6rem;
  overflow: visible;
  background: transparent;
  position: relative;
}

.actu-card__media .shape-media{
  position: relative;
  width: 100%;
  max-width: none;
}

.actu-card__media .shape-media svg{
  width: 100%;
  height: auto;
  max-height: none;
  transition: transform .35s ease;
}

.actu-card:hover .actu-card__media .shape-media svg{
  transform: scale(1.02);
}

.actu-card__media--placeholder{
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  font-size: 2rem;
  font-weight: 900;
  color: rgba(255,255,255,.18);
  letter-spacing: .05em;
  border-radius: 32px;
  background: rgba(255,255,255,.04);
}

.actu-card__body{
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.actu-card__kicker{
  margin: 0 0 .8rem;
  font-size: .85rem;
  font-weight: 500;
  color: rgba(255,255,255,.45);
}

.actu-card__title{
  margin: 0 0 1rem;
  font-size: 1.05rem;
  line-height: 1.25;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .01em;
}

.actu-card__title a{
  color: #fff;
  text-decoration: none;
}

.actu-card__title a:hover{
  color: var(--green);
}

.actu-card__rule{
  height: 1px;
  margin: 0 0 1.1rem;
  border: 0;
  background: rgba(255,255,255,.18);
}

.actu-card__excerpt{
  margin: 0 0 1.4rem;
  font-size: .92rem;
  line-height: 1.55;
  color: rgba(255,255,255,.7);
  font-weight: 400;
}

.actu-card__more{
  display: inline-block;
  margin-top: auto;
  font-size: .9rem;
  font-weight: 500;
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: .25rem;
  transition: color .2s ease;
}

.actu-card__more:hover{
  color: #fff;
}

.actualites-home__cta{
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
}

@media (max-width: 900px){
  .actualites-home__grid{
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }
}

@media (max-width: 680px){
  .actualites-home{
    padding: 4rem 0;
  }
}

/* =========================
   FAQ - style maquette
========================= */

.faq-home{
  position: relative;
  padding: 7rem 0;
  background: #f5f5f3;
  overflow: hidden;
}

.faq-home__grid{
  display: grid;
  grid-template-columns: minmax(380px, 520px) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: center;
}

.faq-home__media{
  position: relative;
}

.faq-home__media img{
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: 120px 120px 120px 120px / 70px 70px 70px 70px;
  box-shadow: 0 18px 38px rgba(0,0,0,.08);
}

.faq-home__content{
  max-width: 760px;
}

.faq-home__head{
  margin-bottom: 2rem;
}

.faq-home__head .section-tag{
  display: inline-block;
  margin: 0 0 .75rem;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: .9;
  letter-spacing: -.03em;
  font-weight: 900;
  text-transform: uppercase;
  color: #222;
}

.faq-home__head .section-tag::after{
  content: " FRÉQUENTES";
  display: inline-block;
  margin-left: .25rem;
  padding: .1em .22em .14em;
  background: var(--green);
  color: #fff;
}

.faq-home__head .section-title{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.faq-home__items{
  display: grid;
  gap: .9rem;
}

.faq-item{
  border: 0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
  overflow: hidden;
}

.faq-item summary{
  position: relative;
  display: flex;
  align-items: center;
  min-height: 25px;
  padding: 1.15rem 1.5rem 1.15rem 4.1rem;
  list-style: none;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.25;
  color: #b1af99;
}

.faq-item[open] summary{
  background: var(--dark);
  color: #fff;
}

.faq-item summary::-webkit-details-marker{
  display: none;
}

.faq-item summary::before{
  content: "";
  position: absolute;
  left: 1.3rem;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 3px solid var(--green);
  border-bottom: 3px solid var(--green);
  transform: translateY(-65%) rotate(45deg);
  transition: transform .2s ease;
}

.faq-item[open] summary::before{
  transform: translateY(-35%) rotate(-135deg);
}

.faq-item__body{
  padding: 1.6rem;
}

.faq-item__body p{
  margin: 0;
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 600;
  color: #222;
}

/* faux bouton du bas */
.faq-home__cta{
  margin-top: 2rem;
}

.faq-home__more{
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 56px;
  min-width: 250px;
  padding: 0 0 0 1.15rem;
  background: #fff;
  color: #3f3f3f;
  border-left: 5px solid var(--green);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 900;
  font-size: .9rem;
  letter-spacing: .02em;
  box-shadow: 0 10px 22px rgba(0,0,0,.16);
  transition: transform .2s ease, box-shadow .2s ease;
}

.faq-home__more:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(0,0,0,.18);
  color: #3f3f3f;
}

.faq-home__more-label{
  display: inline-flex;
  align-items: center;
}

.faq-home__more-arrow{
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  background: var(--green);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  flex: 0 0 auto;
}

@media (max-width: 1080px){
  .faq-home__grid{
    grid-template-columns: 1fr;
    align-items: start;
  }

  .faq-home__media{
    max-width: 520px;
  }

  .faq-home__media img{
    height: 480px;
  }
}

@media (max-width: 680px){
  .faq-home{
    padding: 4rem 0;
  }

  .faq-home__media img{
    height: 360px;
    border-radius: 70px;
  }

  .faq-home__head .section-tag{
    font-size: clamp(1.8rem, 10vw, 3rem);
  }

  .faq-item summary{
    padding: 1rem 1rem 1rem 3.2rem;
    font-size: .95rem;
  }

  .faq-item summary::before{
    left: 1rem;
    width: 10px;
    height: 10px;
  }

  .faq-home__more{
    width: 100%;
    min-width: 0;
  }
}

/* =========================
   CTA TERRITOIRE
========================= */

.territoire-cta{
  position: relative;
  padding: 0;
  background: #fff;
  overflow: hidden;
}

.territoire-cta__inner{
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 640px);
  align-items: stretch;
}

/* Photo pleine hauteur débordant jusqu'au bord gauche ; seul le bord droit est courbé.
   Le padding-left aligne le texte sur la gouttière du conteneur du site (--container). */
.territoire-cta__media{
  position: relative;
  display: flex;
  align-items: center;
  min-height: 600px;
  padding: 4rem 9% 4rem max(40px, calc((100vw - var(--container)) / 2));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 0 34% 34% 0 / 0 50% 50% 0;
  overflow: hidden;
}

.territoire-cta__overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(23,23,23,.9) 0%, rgba(23,23,23,.66) 55%, rgba(23,23,23,.3) 100%);
}

.territoire-cta__content{
  position: relative;
  z-index: 1;
  max-width: 560px;
  color: #fff;
}

.territoire-cta__title{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .16em;
  margin: 0 0 1.4rem;
  font-size: clamp(2.45rem, 4vw, 4.6rem);
  line-height: .95;
  font-weight: 900;
  letter-spacing: -.03em;
}

.territoire-cta__text{
  margin: 0 0 1.8rem;
  max-width: 34rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: rgba(255,255,255,.9);
}

.territoire-cta__visual{
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem max(40px, calc((100vw - var(--container)) / 2)) 3rem 2rem;
}

.territoire-cta__visual img{
  max-width: 100%;
  width: 380px;
  /* Logo Sobricité en couleur (aucun filtre). */
  filter: drop-shadow(0 18px 40px rgba(0,0,0,.12));
}

/* =========================
   BLOG — HERO
========================= */

.blog-hero{
  padding: 4rem 0 4rem;
  background: var(--dark);
  color: #fff;
  text-align: center;
}

.blog-hero .section-tag{
  color: var(--green);
}

.blog-hero__title{
  margin: 0 0 1rem;
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: .95;
  font-weight: 900;
  letter-spacing: -.05em;
}

.blog-hero__subtitle{
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
  color: rgba(255,255,255,.65);
}

/* =========================
   BLOG — LISTING GRID
========================= */

.blog-listing{
  padding: 4rem 0 5rem;
  background: #fff;
}

.blog-listing__grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.blog-card{
  display: flex;
  flex-direction: column;
  background: transparent;
  border: 0;
  box-shadow: none;
  transition: transform .25s ease;
}

.blog-card:hover{
  transform: translateY(-4px);
}

.blog-card__media{
  display: block;
  margin-bottom: 1.6rem;
  overflow: visible;
  background: transparent;
  position: relative;
}

.blog-card__media .shape-media{
  position: relative;
  width: 100%;
  max-width: none;
}

.blog-card__media .shape-media svg{
  width: 100%;
  height: auto;
  max-height: none;
  transition: transform .35s ease;
}

.blog-card:hover .blog-card__media .shape-media svg{
  transform: scale(1.02);
}

.blog-card__media--placeholder{
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  font-size: 2rem;
  font-weight: 900;
  color: rgba(0,0,0,.12);
  letter-spacing: .05em;
  border-radius: 32px;
  background: rgba(0,0,0,.03);
  margin-bottom: 1.6rem;
}

.blog-card__body{
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card__kicker{
  margin: 0 0 .8rem;
  font-size: .85rem;
  font-weight: 500;
  color: rgba(40,40,40,.55);
}

.blog-card__title{
  margin: 0 0 1rem;
  font-size: 1.05rem;
  line-height: 1.25;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .01em;
}

.blog-card__title a{
  color: var(--dark);
  text-decoration: none;
}

.blog-card__title a:hover{
  color: var(--green);
}

.blog-card__rule{
  height: 1px;
  margin: 0 0 1.1rem;
  border: 0;
  background: rgba(40,40,40,.18);
}

.blog-card__excerpt{
  margin: 0 0 1.4rem;
  font-size: .92rem;
  line-height: 1.55;
  color: rgba(40,40,40,.7);
  font-weight: 400;
}

.blog-card__more{
  display: inline-block;
  margin-top: auto;
  font-size: .9rem;
  font-weight: 500;
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: .25rem;
  transition: color .2s ease;
}

.blog-card__more:hover{
  color: var(--dark);
}

/* Pagination */

.blog-pagination{
  margin-top: 3rem;
  text-align: center;
}

.blog-pagination .nav-links{
  display: inline-flex;
  gap: .4rem;
  align-items: center;
}

.blog-pagination .page-numbers{
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  padding: 0 .6rem;
  font-size: .9rem;
  font-weight: 900;
  color: var(--dark);
  background: #fff;
  border: 1px solid var(--border-soft);
  text-decoration: none;
  transition: background .2s, color .2s;
}

.blog-pagination .page-numbers.current,
.blog-pagination .page-numbers:hover{
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

.blog-pagination .prev,
.blog-pagination .next{
  font-size: .82rem;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.blog-empty{
  text-align: center;
  padding: 4rem 0;
}

.blog-empty h2{
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--dark);
}

.blog-empty p{
  color: var(--text-soft);
  font-weight: 600;
}

@media (max-width: 1024px){
  .blog-listing__grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px){
  .blog-hero{
    padding: 6rem 0 3rem;
  }

  .blog-listing__grid{
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }

  .blog-listing{
    padding: 3rem 0 4rem;
  }
}

/* =========================
   SINGLE ARTICLE
========================= */

.article__header{
  padding: 8rem 0 3rem;
  background: var(--dark);
  color: #fff;
  text-align: center;
}

.article__cat{
  display: inline-block;
  margin-bottom: 1rem;
  padding: .22em .7em .28em;
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  transition: background .2s;
}

.article__cat:hover{
  background: var(--orange);
}

.article__title{
  margin: 0 0 1.2rem;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -.04em;
  max-width: 860px;
  margin-inline: auto;
}

.article__meta{
  font-size: .85rem;
  font-weight: 700;
  color: rgba(255,255,255,.55);
  letter-spacing: .02em;
}

.article__meta-sep{
  margin: 0 .45rem;
}

.article__hero{
  background: var(--dark);
  padding-bottom: 3rem;
}

.article__hero-img{
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  display: block;
}

.article__content{
  padding: 4rem 0;
  background: #fff;
}

.article__content-inner{
  max-width: 780px;
}

.article__content-inner h2{
  margin-top: 2.5rem;
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1.1;
  color: var(--dark);
}

.article__content-inner h3{
  margin-top: 2rem;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--dark);
}

.article__content-inner p{
  font-size: 1.05rem;
  line-height: 1.65;
  color: #3f3f3f;
  font-weight: 500;
}

.article__content-inner img{
  max-width: 100%;
  height: auto;
  margin: 2rem 0;
}

.article__content-inner blockquote{
  margin: 2rem 0;
  padding: 1.5rem 2rem;
  border-left: 4px solid var(--green);
  background: var(--beige);
  font-style: italic;
  font-weight: 600;
}

.article__content-inner blockquote p{
  margin: 0;
  color: var(--dark);
}

.article__content-inner ul,
.article__content-inner ol{
  padding-left: 1.5rem;
}

.article__content-inner li{
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: .5rem;
  color: #3f3f3f;
  font-weight: 500;
}

.article__footer{
  padding: 0 0 3rem;
  background: #fff;
}

.article__tags{
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  max-width: 780px;
  padding-top: 2rem;
  border-top: 1px solid var(--border-soft);
}

.article__tag{
  display: inline-block;
  padding: .3em .7em .35em;
  font-size: .78rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--dark);
  background: var(--beige);
  border: 1px solid var(--border-soft);
  transition: background .2s, color .2s;
}

.article__tag:hover{
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

/* Article navigation */

.article-nav{
  background: #f5f5f3;
  padding: 2.5rem 0;
}

.article-nav__inner{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.article-nav__link{
  display: flex;
  flex-direction: column;
  gap: .35rem;
  text-decoration: none;
  padding: 1.5rem;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,.05);
  transition: transform .2s, box-shadow .2s;
}

.article-nav__link:hover{
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,.09);
}

.article-nav__link--next{
  text-align: right;
}

.article-nav__label{
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--green);
}

.article-nav__title{
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--dark);
  line-height: 1.2;
}

/* Related posts */

.related-posts{
  padding: 4rem 0 5rem;
  background: #f5f5f3;
}

.related-posts__title{
  margin: 0 0 2rem;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--dark);
}

.related-posts__grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

@media (max-width: 1024px){
  .related-posts__grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-nav__inner{
    grid-template-columns: 1fr;
  }

  .article-nav__link--next{
    text-align: left;
  }
}

@media (max-width: 680px){
  .article__header{
    padding: 6rem 0 2rem;
  }

  .article__content{
    padding: 2.5rem 0;
  }

  .article__content-inner p{
    font-size: 1rem;
  }

  .related-posts__grid{
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }

  .related-posts{
    padding: 3rem 0 4rem;
  }
}

/* =========================
   FOOTER
========================= */

.site-footer{
  background: #2b2b2b;
  color: #fff;
  padding: 4.5rem 2rem;
}

.site-footer a{
  color: #fff;
  text-decoration: none;
  transition: opacity .2s ease;
}

.site-footer a:hover,
.site-footer a:focus{
  opacity: .78;
}

.site-footer p{
  margin: 0;
}

.site-footer ul{
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__inner{
  width: 100%;
}

.site-footer__top{
  display: grid;
  grid-template-columns: 1.15fr .9fr .95fr 1.05fr;
  gap: 5rem;
  align-items: start;
}

.site-footer__col{
  min-width: 0;
}

.site-footer__logo{
  margin-bottom: 1.8rem;
}

.site-footer__logo .custom-logo{
  width: 200px;
  max-width: 230px;
  max-height: 95px;
  object-fit: contain;
}

.site-footer__text{
  max-width: 360px;
}

.site-footer__text p{
  font-size: 1rem;
  line-height: 1.15;
  font-weight: 700;
  color: #fff;
}

.site-footer__title{
  margin: 0 0 1.5rem;
  font-size: 1rem;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
  color: #fff;
}

.site-footer__menu-list,
.site-footer__legal-list,
.site-footer__contact-list{
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.site-footer__menu-list a,
.site-footer__legal-list a{
  font-size: 1rem;
  line-height: 1.15;
  font-weight: 500;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: #fff;
}

.site-footer__contact-list{
  gap: 1.1rem;
}

.site-footer__contact-list li{
  position: relative;
  display: flex;
  align-items: flex-start;
  min-height: 2.75rem;
  padding-left: 3.5rem;
}

.site-footer__contact-list li::before{
  content: "";
  position: absolute;
  left: 0;
  top: -.05rem;
  width: 2.25rem;
  height: 2.25rem;
  border: 2px solid #fff;
  border-radius: 50%;
}

/* Picto contact : vrai SVG centré dans le cercle (remplace les anciens glyphes Unicode). */
.site-footer__contact-icon{
  position: absolute;
  left: 0;
  top: -.05rem;
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  color: #fff;
}

.site-footer__contact-icon svg{
  width: 1.15rem;
  height: 1.15rem;
}

.site-footer__contact-list a,
.site-footer__address{
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}

.site-footer__partners{
  padding: 4rem 0 2.75rem;
}

.site-footer__partners-logos{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6rem;
  flex-wrap: wrap;
}

.site-footer__partner{
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-footer__partner img{
  max-height: 95px;
  width: auto;
  object-fit: contain;
}

.site-footer__bottom{
  border-top: 3px solid rgba(255,255,255,.9);
  padding-top: 2rem;
  text-align: center;
}

.site-footer__bottom p{
  margin: 0;
  font-size: .95rem;
  font-weight: 700;
  color: #fff;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1280px){
  .hero__copy{
    margin-left: 5rem;
  }

  .home-logos__list{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .process__grid,
  .engagement__grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__top{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem 2rem;
  }

  .site-footer__partners-logos{
    gap: 3rem;
  }
}

/* Bouton retour du drilldown mobile : caché hors mobile (overrides plus bas dans la media query). */
.main-navigation__back{
  display: none;
}

@media (max-width: 1080px){
  .site-header__row{
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .menu-toggle{
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* === Mobile nav : overlay plein écran === */
  .main-navigation{
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100dvh;
    height: 100vh;
    padding: calc(var(--header-height, 80px) + 16px) 28px 40px;
    background: #161616;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    z-index: 100;
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s;
  }

  .main-navigation.is-open{
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition: opacity .3s ease, transform .3s ease, visibility 0s;
  }

  /* --- Bouton retour (drilldown) --- */
  .main-navigation__back{
    display: none;
    align-items: center;
    gap: 10px;
    width: auto;
    padding: 8px 14px 8px 8px;
    margin: 0 0 18px;
    background: transparent;
    border: 0;
    color: rgba(255, 255, 255, .8);
    font: inherit;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 999px;
    transition: background-color .2s ease, color .2s ease;
  }

  .main-navigation__back-arrow{
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    color: var(--green);
    font-size: 1.4rem;
    line-height: 1;
  }

  .main-navigation__back:hover{
    color: #fff;
    background: rgba(255, 255, 255, .04);
  }

  .main-navigation.is-submenu-open .main-navigation__back{
    display: inline-flex;
  }

  /* --- Liste principale --- */
  .main-navigation .menu{
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    list-style: none;
    margin: 0;
  }

  .main-navigation .menu > li{
    width: 100%;
    opacity: 0;
    transform: translateX(-16px);
    transition: opacity .3s ease, transform .3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }

  .main-navigation.is-open .menu > li{
    opacity: 1;
    transform: translateX(0);
  }

  /* Stagger fade-in pour chaque item top-level */
  .main-navigation.is-open .menu > li:nth-child(1){ transition-delay: .04s; }
  .main-navigation.is-open .menu > li:nth-child(2){ transition-delay: .08s; }
  .main-navigation.is-open .menu > li:nth-child(3){ transition-delay: .12s; }
  .main-navigation.is-open .menu > li:nth-child(4){ transition-delay: .16s; }
  .main-navigation.is-open .menu > li:nth-child(5){ transition-delay: .20s; }
  .main-navigation.is-open .menu > li:nth-child(6){ transition-delay: .24s; }
  .main-navigation.is-open .menu > li:nth-child(7){ transition-delay: .28s; }

  .main-navigation .menu > li > a{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.1rem 0;
    color: #fff;
    font-size: 1.35rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .03em;
    text-decoration: none;
  }

  .main-navigation .menu > li.menu-item-has-children > a::after{
    content: '\203A';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-left: 16px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    color: var(--green);
    font-size: 1.4rem;
    line-height: 1;
    flex: 0 0 auto;
    transition: background-color .2s ease, color .2s ease;
  }

  .main-navigation .menu > li.menu-item-has-children > a:hover::after{
    background: var(--green);
    color: #fff;
  }

  /* --- État drilldown : on cache les autres items, on garde l'actif comme titre --- */
  .main-navigation.is-submenu-open .menu > li:not(.is-submenu-active){
    display: none;
  }

  .main-navigation.is-submenu-open .menu > li.is-submenu-active{
    border-bottom: 0;
    transition-delay: 0s;
  }

  .main-navigation.is-submenu-open .menu > li.is-submenu-active > a{
    pointer-events: none;
    padding: 0 0 18px;
    font-size: 1.6rem;
    color: var(--green);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    margin-bottom: 18px;
  }

  .main-navigation.is-submenu-open .menu > li.is-submenu-active > a::after{
    display: none;
  }

  /* --- Sous-menus (drilldown) --- */
  .main-navigation .menu > li .sub-menu{
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .main-navigation.is-submenu-open .menu > li.is-submenu-active > .sub-menu{
    display: block;
    animation: navSubmenuIn .3s ease both;
  }

  @keyframes navSubmenuIn{
    from{ opacity: 0; transform: translateX(20px); }
    to  { opacity: 1; transform: translateX(0); }
  }

  .main-navigation .menu .sub-menu li{
    border-bottom: 1px solid rgba(255, 255, 255, .06);
  }

  .main-navigation .menu .sub-menu li:last-child{
    border-bottom: 0;
  }

  .main-navigation .menu .sub-menu a{
    display: block;
    padding: 1rem 0;
    color: rgba(255, 255, 255, .82);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: none;
    letter-spacing: 0;
  }

  .main-navigation .menu .sub-menu a:hover{
    color: var(--green);
  }

  /* Cacher le mega-panel desktop sur mobile. .mega-discovery est exclu : c'est
     le panneau "Vos projets" déplacé dans le sub-menu du drilldown mobile
     (voir header.php) ; le masquer ici rendait ce sous-menu vide. Sa visibilité
     reste gérée par .sub-menu > .mega-discovery{display:flex} plus bas. */
  .main-navigation .mega-panel{
    display: none !important;
  }

  /* Reset agressif : aucun fond clair sur les éléments injectés dans le sub-menu */
  .main-navigation .sub-menu,
  .main-navigation .sub-menu *,
  .main-navigation .mega-link__title,
  .main-navigation .mega-link__text{
    background: transparent !important;
    box-shadow: none !important;
  }

  /* Restaure des couleurs lisibles sur fond sombre */
  .main-navigation .mega-link__title{
    color: #fff !important;
    text-transform: none !important;
    padding: 0 !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
  }

  .main-navigation .mega-link__text{
    color: rgba(255, 255, 255, .6) !important;
    padding: 0 !important;
    font-size: .82rem !important;
    margin-top: 2px !important;
    line-height: 1.4 !important;
  }

  /* Annule les style="display:none" inline posés par le script discovery */
  .main-navigation .sub-menu > li{
    display: block !important;
  }

  .main-navigation .sub-menu > li > a{
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    color: #fff !important;
  }

  .main-navigation .sub-menu > li > a:hover .mega-link__title,
  .main-navigation .sub-menu > li > a:focus-visible .mega-link__title{
    color: var(--green) !important;
  }

  /* Couleurs forcées sur le bouton, peu importe le scroll-state */
  .site-header .menu-toggle{
    background: rgba(255, 255, 255, .12);
  }

  .site-header.is-scrolled .menu-toggle{
    background: var(--beige);
  }

  .site-header .menu-toggle__line{
    background: #fff;
  }

  .site-header.is-scrolled .menu-toggle__line{
    background: var(--dark);
  }

  /* Quand le menu est ouvert, le bouton reste blanc même si le header n'est pas scrolled */
  .menu-toggle.is-active{
    background: rgba(255, 255, 255, .15);
  }

  .menu-toggle.is-active .menu-toggle__line{
    background: #fff;
  }

  .site-header__cta{
    display: none;
  }

  /* Body scroll lock when nav open */
  body.nav-open{
    overflow: hidden;
  }

  /* Bascule en 1 colonne : cible odd ET even (spécificité 0,2,0) pour battre
     la règle desktop .expertise-card:nth-child(even) qui inverse les colonnes.
     Annule aussi la marge latérale de 4.5% : la carte prend toute la largeur
     du container sur petit écran. */
  .expertise-card:nth-child(odd),
  .expertise-card:nth-child(even){
    grid-template-columns: 1fr;
    margin-left: 0;
    margin-right: 0;
  }

  /* Pilule 999px trop extrême une fois la carte empilée en vertical. */
  .expertise-card--dark{
    border-radius: 44px;
  }

  .faq-home .container,
  .territoire-cta__inner{
    grid-template-columns: 1fr;
  }

  .faq-home__media{
    order: 2;
  }

  .faq-home__content{
    order: 1;
  }

  /* Empilé : bande photo pleine largeur, sans grande courbe. */
  .territoire-cta__media{
    min-height: 420px;
    padding: 3rem 1.5rem;
    border-radius: 0;
  }

  .territoire-cta__visual{
    justify-content: center;
    padding: 2.5rem 1.5rem;
  }
}

@media (max-width: 980px){
  .hero__content{
    padding-top: calc(var(--header-height) + 1.5rem);
  }

  .hero__copy{
    margin-left: 0;
  }

  .home-logos{
    padding-top: 2rem;
  }

  .home-logos__list{
    gap: 1.2rem 2rem;
    margin-top: 2rem;
  }

  .expertises-intro,
  .expertises-list,
  .home-banner,
  .process,
  .engagement,
  .faq-home,
  .territoire-cta{
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

@media (max-width: 768px){
  .page-width{
    width: min(100% - 2rem, var(--container));
  }

  .container{
    width: min(100% - 2rem, var(--container));
  }

  .home-logos__list{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process__grid,
  .engagement__grid{
    grid-template-columns: 1fr;
  }

  .site-footer{
    padding: 3rem 0 1.5rem;
  }

  .site-footer__top{
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .site-footer__title{
    margin-bottom: 1rem;
    font-size: 1.25rem;
  }

  .site-footer__text p{
    font-size: 1rem;
  }

  .site-footer__menu-list a,
  .site-footer__legal-list a,
  .site-footer__contact-list a,
  .site-footer__address{
    font-size: 1rem;
  }

  .site-footer__partners{
    padding: 3rem 0 2rem;
  }

  .site-footer__partners-logos{
    gap: 2rem;
  }

  .site-footer__partner img{
    max-height: 70px;
  }

  .site-footer__bottom{
    padding-top: 1.5rem;
  }

  .site-footer__bottom p{
    font-size: 1rem;
  }
}

@media (max-width: 680px){
  :root{
    --header-height: 76px;
  }

  .site-branding .custom-logo{
    max-height: 44px;
  }

  .hero{
    min-height: 92vh;
  }

  .hero__content{
    padding-top: calc(var(--header-height) + 1.25rem);
    padding-bottom: 3rem;
  }

  .hero__title{
    max-width: none;
    font-size: clamp(2.2rem, 11vw, 3.6rem);
  }

  .hero__lead{
    font-size: 1rem;
  }

  .hero__actions{
    width: 100%;
  }

  .btn{
    width: 100%;
    min-width: 0;
  }

  .expertises-intro__head h2,
  .home-banner__content h2,
  .process__head h2,
  .engagement__head h2,
  .faq-home__content h2,
  .territoire-cta__content h2{
    font-size: clamp(2rem, 10vw, 3rem);
  }

  /* Réduit le padding externe de la carte (25px 50px) qui écrase le contenu
     sur petit écran, en plus du padding interne du contenu. */
  .expertise-card{
    padding: 15px 18px;
  }

  .expertise-card__content{
    padding: 1.5rem;
  }

  /* La carte passe en 1 colonne (voir règle à 980px) mais .expertise-card__media
     garde son padding en % pensé pour la mise en page desktop à 2 colonnes :
     combiné à .shape-media (position: absolute, largeur jusqu'à 520px), la forme
     déborde du cadre sur petit écran. On la repasse en flux normal, centrée. */
  .expertise-card__media{
    min-height: 220px;
    padding: 0;
  }

  .expertise-card__media .shape-media{
    position: static;
    width: min(100%, 320px);
    margin: 0 auto;
  }

  .expertise-card__top{
    align-items: flex-start;
    flex-direction: column;
  }

  .expertise-card__title{
    font-size: clamp(1.8rem, 8vw, 2.6rem);
  }

  .expertise-card__tags{
    gap: .65rem;
  }

  .expertise-card__tags li{
    width: 100%;
  }

  .faq-item summary{
    padding-right: 3.5rem;
  }

  .territoire-cta__visual img{
    width: 250px;
  }
}

@media (max-width: 520px){
  .home-logos__list{
    grid-template-columns: 1fr;
  }

  .home-logos__list img{
    height: 48px;
  }
}

@media (prefers-reduced-motion: reduce){
  html{
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after{
    animation: none !important;
    transition: none !important;
  }
}



/* ==========================================================
   PAGE SITUATION / BESOIN
   Version 2 — harmonisée avec la charte (home / about / offre)
   ========================================================== */

.situation-page{
  overflow-x: clip;
}

.situation-page .section-tag{
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.situation-page .section-tag::before{
  content: "";
  display: inline-block;
  width: 24px;
  height: 2px;
  background: currentColor;
}

/* --- 1. Hero : ellipse cream comme home/about --- */

.situ-hero{
  position: relative;
  padding: 90px 0 110px;
  overflow: hidden;
  isolation: isolate;
}

.situ-hero::before{
  content: "";
  position: absolute;
  top: -170%;
  left: 50%;
  transform: translateX(-50%);
  width: 4500px;
  height: 2500px;
  border-radius: 50%;
  background: #F0F4F5;
  z-index: -2;
}

.situ-hero::after{
  content: "";
  position: absolute;
  top: -168%;
  left: 50%;
  transform: translateX(-50%);
  width: 4500px;
  height: 2500px;
  border-radius: 50%;
  background: #fff;
  z-index: -1;
}

.situ-hero__inner{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 60px;
  align-items: center;
}

.situ-breadcrumb{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 6px;
  margin-bottom: 24px;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(40, 40, 40, .45);
}

.situ-breadcrumb a{
  color: rgba(40, 40, 40, .5);
  text-decoration: none;
  transition: color .2s ease;
}

.situ-breadcrumb a:hover{
  color: var(--vert);
}

.situ-breadcrumb span[aria-hidden]{
  color: rgba(40, 40, 40, .3);
  margin: 0 2px;
}

.situ-breadcrumb [aria-current]{
  color: var(--vert);
}

.situ-hero__title{
  margin: 0 0 26px;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: .95;
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--gris);
  text-transform: uppercase;
}

.situ-hero__title mark{
  background: var(--vert);
  color: #fff;
  padding: 0 14px;
  font-style: italic;
  text-transform: uppercase;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.situ-hero__subtitle{
  max-width: 600px;
  margin: 0 0 34px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
  color: rgba(40, 40, 40, .62);
}

.situ-hero__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

/* Composition décorative à droite du hero */
.situ-hero__visual{
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.15;
  max-width: 320px;
  justify-self: end;
}

.situ-hero__shape{
  position: absolute;
  display: block;
  box-shadow: 0 24px 50px rgba(0, 0, 0, .08);
}

.situ-hero__shape--1{
  top: 0; right: 0;
  width: 62%;
  height: 72%;
  border-radius: 120px 120px 28px 28px;
  background: linear-gradient(160deg, var(--vert) 0%, #7ea533 100%);
}

.situ-hero__shape--2{
  bottom: 6%; left: 0;
  width: 48%;
  height: 44%;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--orange) 0%, #d67a25 100%);
}

.situ-hero__visual::before{
  content: "";
  position: absolute;
  top: 18%;
  left: 24%;
  width: 38%;
  height: 38%;
  border-radius: 50%;
  border: 2px dashed rgba(40, 40, 40, .18);
  z-index: 1;
}

/* --- Section heads : tag + title harmonisés --- */

.situ-section-head{
  margin: 0 0 44px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 780px;
}

.situ-section-title{
  margin: 0;
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.01em;
  color: var(--gris);
  text-transform: uppercase;
}

.situ-section-title mark{
  background: var(--vert);
  color: #fff;
  padding: 0 12px;
  font-style: italic;
  text-transform: uppercase;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.situ-section-title--light{
  color: #fff;
}

.situ-section-title--light mark{
  background: var(--vert);
  color: #fff;
}

.situ-cta-final__title mark{
  background: var(--vert);
  color: #fff;
  padding: 0 14px;
  font-style: italic;
  text-transform: uppercase;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* --- 2. Concerné si --- */

.situ-concerne{
  padding: 90px 0;
  background: #F0F4F5;
}

.situ-concerne__grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.situ-check-card{
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 26px 24px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .04);
  transition: transform .25s ease, box-shadow .25s ease;
}

.situ-check-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .08);
}

.situ-check-card__icon{
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--vert);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 6px 16px rgba(154, 189, 67, .35);
}

.situ-check-card p{
  margin: 0;
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--gris);
}

/* --- 3. Comprendre --- */

.situ-comprendre{
  padding: 100px 0;
}

.situ-comprendre__inner{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 60px;
  align-items: start;
}

.situ-comprendre__text .situ-section-head{
  margin-bottom: 28px;
}

.situ-comprendre__text p{
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(40, 40, 40, .72);
  font-weight: 500;
  margin: 0 0 18px;
}

.situ-comprendre__text strong{
  color: var(--gris);
  font-weight: 900;
}

.situ-aside-card{
  position: sticky;
  top: 120px;
  padding: 32px 30px;
  background: var(--gris);
  color: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .18);
}

.situ-aside-card::before{
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--vert);
  opacity: .12;
  z-index: 0;
}

.situ-aside-card > *{
  position: relative;
  z-index: 1;
}

.situ-aside-card__label{
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 16px;
  border-radius: 50px;
  background: var(--vert);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
}

.situ-aside-card p{
  margin: 0 0 12px;
  font-size: .92rem;
  font-weight: 600;
  line-height: 1.6;
  color: rgba(255, 255, 255, .78);
}

.situ-aside-card p:last-child{
  margin-bottom: 0;
}

.situ-aside-card strong{
  color: #fff;
  font-weight: 900;
}

/* --- 4. Cas d'intervention --- */

.situ-cas{
  padding: 100px 0;
  background: #F0F4F5;
  position: relative;
  overflow: hidden;
}

.situ-cas__grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.situ-cas-card{
  position: relative;
  padding: 32px 28px 30px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .04);
  transition: transform .25s ease, box-shadow .25s ease;
  overflow: hidden;
  isolation: isolate;
}

.situ-cas-card::before{
  content: attr(data-big-number);
  position: absolute;
  top: -24px;
  right: -10px;
  font-size: 7rem;
  font-weight: 900;
  color: var(--vert);
  opacity: .06;
  line-height: 1;
  z-index: -1;
  letter-spacing: -.05em;
}

.situ-cas-card::after{
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 4px;
  background: var(--vert);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}

.situ-cas-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .1);
}

.situ-cas-card:hover::after{
  transform: scaleX(1);
}

.situ-cas-card__number{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 6px 14px 6px 10px;
  border-radius: 50px;
  background: rgba(154, 189, 67, .14);
  color: var(--vert);
  font-weight: 900;
  font-size: .75rem;
  letter-spacing: .06em;
}

.situ-cas-card__number::before{
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--vert);
}

.situ-cas-card__title{
  margin: 0 0 12px;
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1.2;
  color: var(--gris);
}

.situ-cas-card p{
  margin: 0;
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.55;
  color: rgba(40, 40, 40, .58);
}

/* --- 5. Accompagnement --- */

.situ-accomp{
  padding: 100px 0;
}

.situ-accomp__grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.situ-accomp-item{
  position: relative;
  text-align: center;
  padding: 34px 22px 28px;
  background: #F0F4F5;
  border-radius: 20px;
  transition: transform .25s ease, box-shadow .25s ease;
}

.situ-accomp-item:hover{
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .08);
}

.situ-accomp-item__icon{
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  background: var(--vert);
  color: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(154, 189, 67, .35);
  transition: transform .25s ease;
}

.situ-accomp-item:hover .situ-accomp-item__icon{
  transform: scale(1.06) rotate(-4deg);
}

.situ-accomp-item h3{
  margin: 0 0 10px;
  font-size: .95rem;
  font-weight: 900;
  line-height: 1.25;
  color: var(--gris);
}

.situ-accomp-item p{
  margin: 0;
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.5;
  color: rgba(40, 40, 40, .58);
}

/* Rotation de couleur sur les icônes (sans nth-child rigide) */
.situ-accomp-item:nth-child(5n+2) .situ-accomp-item__icon{
  background: var(--orange);
  box-shadow: 0 10px 24px rgba(238, 146, 54, .35);
}
.situ-accomp-item:nth-child(5n+3) .situ-accomp-item__icon{
  background: var(--green);
  box-shadow: 0 10px 24px rgba(76, 155, 147, .35);
}
.situ-accomp-item:nth-child(5n+4) .situ-accomp-item__icon{
  background: var(--rose);
  box-shadow: 0 10px 24px rgba(185, 39, 120, .3);
}
.situ-accomp-item:nth-child(5n+5) .situ-accomp-item__icon{
  background: var(--bleu);
  box-shadow: 0 10px 24px rgba(52, 96, 118, .35);
}

/* --- 6. Étapes — cartes avec gros numéros et connecteur --- */

.situ-etapes{
  padding: 110px 0;
  background: var(--gris);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.situ-etapes::before{
  content: "";
  position: absolute;
  top: 20%;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--vert);
  opacity: .06;
  filter: blur(40px);
}

.situ-etapes .situ-section-head{
  position: relative;
  z-index: 1;
}

.situ-etapes__list{
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: etape;
}

.situ-etape{
  position: relative;
  padding: 34px 26px 28px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 20px;
  transition: background .25s ease, transform .25s ease, border-color .25s ease;
  counter-increment: etape;
}

.situ-etape:hover{
  background: rgba(255, 255, 255, .07);
  transform: translateY(-3px);
  border-color: var(--vert);
}

.situ-etape__number{
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--vert);
  color: #fff;
  font-size: .9rem;
  font-weight: 900;
  letter-spacing: -.01em;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(154, 189, 67, .4);
}

.situ-etape__title{
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.2;
  color: #fff;
}

.situ-etape p{
  margin: 0;
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.55;
  color: rgba(255, 255, 255, .6);
}

/* --- 7. Réassurance --- */

.situ-reassurance{
  padding: 100px 0;
  background: #F0F4F5;
}

.situ-reassurance__grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.situ-reassurance-card{
  position: relative;
  padding: 34px 26px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .04);
  transition: transform .25s ease, box-shadow .25s ease;
  overflow: hidden;
}

.situ-reassurance-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .09);
}

.situ-reassurance-card__icon{
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 16px;
  color: var(--vert);
  background: rgba(154, 189, 67, .12);
  border-radius: 50%;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}

.situ-reassurance-card:hover .situ-reassurance-card__icon{
  background: var(--vert);
  color: #fff;
  transform: rotate(-6deg);
}

.situ-reassurance-card h3{
  margin: 0 0 8px;
  font-size: .98rem;
  font-weight: 900;
  line-height: 1.25;
  color: var(--gris);
}

.situ-reassurance-card p{
  margin: 0;
  font-size: .85rem;
  font-weight: 600;
  line-height: 1.5;
  color: rgba(40, 40, 40, .55);
}

/* --- 8. FAQ --- */

.situ-faq{
  background: #fff;
  padding: 80px 0;
}

/* --- 9. Pages associées --- */

.situ-related{
  padding: 100px 0;
  background: #F0F4F5;
}

.situ-related__grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.situ-related-card{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  background: #fff;
  border-radius: 18px;
  text-decoration: none;
  color: var(--gris);
  font-weight: 900;
  font-size: 1rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .04);
  transition: background .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.situ-related-card:hover{
  background: var(--gris);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .18);
}

.situ-related-card__title{
  flex: 1;
  min-width: 0;
}

.situ-related-card__arrow{
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--vert);
  color: #fff;
  font-size: 1.2rem;
  flex: 0 0 auto;
  transition: transform .25s ease;
}

.situ-related-card:hover .situ-related-card__arrow{
  transform: translateX(4px);
}

/* --- 10. CTA Final --- */

.situ-cta-final{
  position: relative;
  padding: 110px 0;
  background: var(--gris);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.situ-cta-final::before{
  content: "";
  position: absolute;
  top: -120px;
  right: -160px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle at center, var(--vert) 0%, transparent 70%);
  opacity: .22;
  z-index: -1;
}

.situ-cta-final::after{
  content: "";
  position: absolute;
  bottom: -100px;
  left: -60px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle at center, var(--orange) 0%, transparent 70%);
  opacity: .18;
  z-index: -1;
}

.situ-cta-final__inner{
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.situ-cta-final__title{
  margin: 0 0 22px;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -.01em;
  text-transform: uppercase;
}

.situ-cta-final__text{
  max-width: 540px;
  margin: 0 auto 34px;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.6;
  color: rgba(255, 255, 255, .72);
}

.situ-cta-final__actions{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* --- Responsive --- */

@media (max-width: 1100px){
  .situ-hero{
    padding: 70px 0 90px;
  }
  .situ-hero__inner{
    grid-template-columns: 1fr 240px;
    gap: 40px;
  }
  .situ-accomp__grid,
  .situ-reassurance__grid,
  .situ-etapes__list{
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px){
  .situ-hero__inner{
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .situ-hero__visual{
    max-width: 260px;
    aspect-ratio: 1.2 / 1;
    justify-self: center;
  }
  .situ-comprendre__inner{
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .situ-aside-card{
    position: static;
  }
  .situ-accomp__grid,
  .situ-reassurance__grid{
    grid-template-columns: repeat(2, 1fr);
  }
  .situ-etapes__list{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px){
  .situ-concerne,
  .situ-comprendre,
  .situ-cas,
  .situ-accomp,
  .situ-reassurance,
  .situ-related{
    padding: 70px 0;
  }
  .situ-etapes{
    padding: 80px 0;
  }
  .situ-cta-final{
    padding: 80px 0;
  }
  .situ-concerne__grid,
  .situ-cas__grid,
  .situ-related__grid{
    grid-template-columns: 1fr;
  }
  .situ-section-head{
    margin-bottom: 32px;
  }
}

@media (max-width: 520px){
  .situ-hero{
    padding: 50px 0 70px;
  }
  .situ-hero__visual{
    display: none;
  }
  .situ-accomp__grid,
  .situ-reassurance__grid,
  .situ-etapes__list{
    grid-template-columns: 1fr;
  }
  .situ-hero__actions{
    flex-direction: column;
    align-items: stretch;
  }
  .situ-hero__actions .btn{
    min-width: 0;
    width: 100%;
  }
}

/* =========================
   PAGE ÉQUIPE
========================= */

.equipe-hero{
  padding: 4rem 0 4rem;
  background: var(--dark);
  color: #fff;
  text-align: center;
}

.equipe-hero__title{
  margin: 0 0 1.2rem;
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: .95;
  font-weight: 900;
  letter-spacing: -.05em;
}

.equipe-hero__subtitle{
  max-width: 680px;
  margin: 0 auto;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.45;
  color: rgba(255,255,255,.6);
}

/* Sections */

.equipe-section{
  padding: 5rem 0;
}

.equipe-section:nth-child(odd){
  background: #f5f5f3;
}

.equipe-section:nth-child(even){
  background: #fff;
}

.equipe-section__head{
  max-width: 680px;
  margin: 0 auto 3rem;
  text-align: center;
}

.equipe-section__title{
  margin: 0 0 .8rem;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--dark);
}

.equipe-section__desc{
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-soft);
  line-height: 1.45;
}

/* Grid */

.equipe-grid{
  display: grid;
  gap: 2rem;
}

.equipe-grid--4{
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Membre card */

.membre-card{
  background: #fff;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}

.equipe-section:nth-child(even) .membre-card{
  background: var(--beige);
}

.membre-card:hover{
  transform: translateY(-5px);
  box-shadow: 0 22px 48px rgba(0,0,0,.12);
}

.membre-card__media{
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--beige-2);
}

.membre-card__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.membre-card:hover .membre-card__media img{
  transform: scale(1.06);
}

.membre-card__body{
  padding: 1.3rem 1.4rem 1.5rem;
  text-align: center;
}

.membre-card__name{
  margin: 0 0 .25rem;
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1.15;
  color: var(--dark);
}

.membre-card__role{
  margin: 0;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--kaki);
}

/* Featured (associés) */

.membre-card--featured .membre-card__role{
  color: var(--green);
}

.membre-card--featured::after{
  content: "";
  display: block;
  height: 3px;
  background: var(--green);
}

/* CTA */

.equipe-cta{
  padding: 6rem 0;
  background: var(--dark);
  color: #fff;
}

.equipe-cta__inner{
  max-width: 780px;
  text-align: center;
}

.equipe-cta__title{
  margin: 0 0 1.2rem;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -.04em;
}

.equipe-cta__text{
  max-width: 580px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(255,255,255,.6);
  line-height: 1.45;
}

/* Responsive */

@media (max-width: 1024px){
  .equipe-grid--4{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px){
  .equipe-grid--4{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .equipe-section{
    padding: 3.5rem 0;
  }

  .equipe-hero{
    padding: 6rem 0 3rem;
  }
}

@media (max-width: 480px){
  .equipe-grid--4{
    grid-template-columns: 1fr;
    max-width: 320px;
    margin-inline: auto;
  }

  .equipe-cta{
    padding: 4rem 0;
  }
}

/* MENU */

body:not(.home) #masthead{
  background-color: #111;
}

@media (min-width: 1081px){
.main-navigation{
  position: static;
}

.main-navigation .menu{
  position: static;
}

.main-navigation .menu > li{
  position: static;
}

.main-navigation .menu > li.menu-item-has-children > .sub-menu{
  position: absolute;
  top: 100%;
  left: 0;
  width: 100vw;
  margin: 0;
  padding: 38px clamp(42px, 8vw, 150px) 44px;
  list-style: none;
  background: #ffffff;
  box-shadow: 0 20px 45px rgba(0,0,0,.12);
  display: grid;
  grid-template-columns: minmax(0, 54%) minmax(360px, 46%);
  column-gap: 40px;
  row-gap: 10px;
  align-content: start;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1200;
  min-height: 420px;
}

.main-navigation .menu > li.menu-item-has-children > .sub-menu > li{
  grid-column: 1;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-navigation .menu > li.menu-item-has-children > .sub-menu > li > a{
  display: grid;
  grid-template-columns: 1fr 50px;
  grid-template-rows: auto auto;
  align-items: center;
  width: 100%;
  min-height: 92px;
  padding: 0 0 0 28px;
  background: #f7f7f4;
  color: #2f2f2f;
  overflow: hidden;
  transition: background-color .2s ease, color .2s ease;
}

.main-navigation .menu > li.menu-item-has-children > .sub-menu > li > a::before{
  display: none;
  content: none;
}

.main-navigation .menu > li.menu-item-has-children > .sub-menu > li > a::after{
  content: "›";
  grid-column: 2;
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 50px;
  height: 100%;
  min-height: 50px;
  background: #646157;
  color: #fff;
  font-size: 2rem;
  font-weight: 400;
  transition: background-color .2s ease;
}

.main-navigation .menu > li.menu-item-has-children > .sub-menu > li > a:hover,
.main-navigation .menu > li.menu-item-has-children > .sub-menu > li > a:focus-visible{
  background: #ffffff;
}

.main-navigation .menu > li.menu-item-has-children > .sub-menu > li > a:hover::after,
.main-navigation .menu > li.menu-item-has-children > .sub-menu > li > a:focus-visible::after{
  background: var(--green);
}

.main-navigation .menu > li.menu-item-has-children > .sub-menu > li:first-child > a::after{
  background: var(--green);
}

.main-navigation .menu > li.menu-item-has-children > .sub-menu::after{
  content: "";
  grid-column: 2;
  display: block;
}

.main-navigation .menu > li.menu-item-has-children.is-mega-open > .sub-menu{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mega-link__title{
  grid-column: 1;
  grid-row: 1;
  display: block;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
  color: #2f2f2f;
  padding-top: 15px;
}

.mega-link__text{
  grid-column: 1;
  grid-row: 2;
  display: block;
  padding-right: 24px;
  font-size: .86rem;
  font-weight: 600;
  line-height: 1.2;
  text-transform: none;
  color: rgba(45,45,45,.72);
  padding-bottom: 15px;
}

.mega-panel{
  position: absolute;
  top: 100%;
  left: 0;
  width: 100vw;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1250;
}

.mega-panel.is-open{
  opacity: 1;
  visibility: visible;
  pointer-events: none;
}

.mega-panel__aside{
  pointer-events: auto;
  margin-left: 54%;
  width: 46%;
  padding: 38px clamp(42px, 8vw, 150px) 44px 0;
}

.mega-card{
  position: relative;
  min-height: 300px;
  height: 100%;
  overflow: hidden;
  border-radius: 5px;
  background: #0b2330;
}

.mega-card__image{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mega-card__overlay{
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 300px;
  padding: 3.4rem;
  background: linear-gradient(90deg, rgba(7,27,38,.76) 0%, rgba(7,27,38,.30) 100%);
}

.mega-card__title{
  margin: 0 0 1.5rem;
  font-size: clamp(2.8rem, 3vw, 3.9rem);
  line-height: .95;
  font-weight: 900;
  color: #fff;
}

.mega-card__cta{
  display: inline-flex;
  align-items: stretch;
  min-height: 58px;
  background: #fff;
  color: #444;
  font-size: .9rem;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 10px 20px rgba(0,0,0,.14);
}

.mega-card__cta-label{
  display: inline-flex;
  align-items: center;
  padding: 0 1.6rem;
}

.mega-card__cta-arrow{
  display: grid;
  place-items: center;
  width: 58px;
  background: var(--green);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
}
} /* end @media (min-width: 1081px) — desktop mega-nav */

/* ==========================================
   MEGA-DISCOVERY PANEL
   ========================================== */

.mega-discovery{
  display: none;
}

.sub-menu > .mega-discovery{
  grid-column: 1;
  grid-row: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* --- Search bar with integrated audience select --- */
.mega-discovery__bar{
  display: flex;
  align-items: stretch;
  background: #f7f7f4;
  overflow: hidden;
  min-height: 50px;
}

.mega-discovery__search{
  flex: 1;
  min-width: 0;
  padding: 0 16px;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: .88rem;
  font-weight: 600;
  color: #2f2f2f;
  outline: none;
}

.mega-discovery__search::placeholder{
  color: #9a9a94;
  font-weight: 600;
}

.mega-discovery__audience,
.mega-discovery__category{
  appearance: none;
  border: none;
  border-left: 2px solid #e4e4e0;
  background: #f7f7f4;
  padding: 0 36px 0 16px;
  font-family: inherit;
  font-size: .82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: #2f2f2f;
  cursor: pointer;
  outline: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23646157' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px;
  min-width: 150px;
  transition: background-color .15s ease;
}

.mega-discovery__audience:hover,
.mega-discovery__audience:focus,
.mega-discovery__category:hover,
.mega-discovery__category:focus{
  background-color: #eeeee9;
}

/* --- Results list --- */
.mega-discovery__results{
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 600px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #d9d9d4 transparent;
}

.mega-discovery__item{
  display: grid;
  grid-template-columns: 1fr 46px;
  grid-template-rows: auto auto;
  align-items: center;
  width: 100%;
  height: 88px;
  min-height: 88px;
  max-height: 88px;
  padding: 0 0 0 24px;
  background: #f7f7f4;
  color: #2f2f2f;
  text-decoration: none;
  overflow: hidden;
  border-left: 3px solid transparent;
  transition: background-color .2s ease, border-color .2s ease;
  animation: discoveryFadeIn .2s ease both;
}

/* Masquage réel des items filtrés : la règle .mega-discovery__item{display:grid}
   a la même spécificité que [hidden]{display:none} mais est plus bas dans la
   feuille, donc elle gagnerait. On rétablit le masquage via un sélecteur plus
   spécifique (classe + attribut). Sans ça, la recherche live ne cache rien. */
.mega-discovery__item[hidden]{
  display: none;
}

.mega-discovery__item::after{
  content: "\203A";
  grid-column: 2;
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 100%;
  background: transparent;
  color: #c0bfb8;
  font-size: 1.6rem;
  font-weight: 400;
  transition: color .2s ease;
}

.mega-discovery__item:hover,
.mega-discovery__item:focus-visible{
  background: #fff;
  border-left-color: var(--green);
}

.mega-discovery__item:hover::after,
.mega-discovery__item:focus-visible::after{
  color: var(--green);
}

.mega-discovery__item-title{
  grid-column: 1;
  grid-row: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: .86rem;
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: .01em;
  color: #2f2f2f;
  align-self: end;
}

.mega-discovery__item-text{
  grid-column: 1;
  grid-row: 2;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 3px;
  padding-right: 12px;
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.3;
  text-transform: none;
  color: rgba(45, 45, 45, .55);
  align-self: start;
}

/* --- Empty state --- */
.mega-discovery__empty{
  padding: 24px;
  text-align: center;
  font-size: .9rem;
  font-weight: 700;
  color: #646157;
}

.mega-discovery__empty a{
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --- "See all" button --- */
.mega-discovery__more[hidden]{
  display: none;
}

.mega-discovery__more{
  appearance: none;
  border: none;
  background: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0 0;
  font-family: inherit;
  font-size: .82rem;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--green);
  cursor: pointer;
  transition: color .2s ease;
}

.mega-discovery__more-arrow{
  font-size: 1.2rem;
  line-height: 1;
  transition: translate .2s ease;
}

.mega-discovery__more:hover{
  color: var(--bleu);
}

.mega-discovery__more:hover .mega-discovery__more-arrow{
  translate: 4px 0;
}

@keyframes discoveryFadeIn{
  from{ opacity: 0; translate: 0 6px; }
  to{ opacity: 1; translate: 0 0; }
}

/* --- Mega-menu + discovery responsive --- */

@media (max-width: 1080px){
  .main-navigation .menu > li.menu-item-has-children > .sub-menu{
    position: static;
    width: 100%;
    padding: .5rem 0;
    display: none;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .main-navigation .menu > li.menu-item-has-children.is-mega-open > .sub-menu{
    display: block;
  }

  .main-navigation .menu > li.menu-item-has-children > .sub-menu > li > a{
    grid-template-columns: 1fr 48px;
    grid-template-rows: auto auto;
    min-height: 56px;
    padding: .9rem 0 .9rem 1rem;
    font-size: .9rem;
    background: rgba(255, 255, 255, .04);
    color: #fff;
  }

  .main-navigation .menu > li.menu-item-has-children > .sub-menu > li > a:hover,
  .main-navigation .menu > li.menu-item-has-children > .sub-menu > li > a:focus-visible{
    background: rgba(255, 255, 255, .1);
  }

  .main-navigation .menu > li.menu-item-has-children > .sub-menu > li > a::before{
    display: none;
  }

  .main-navigation .menu > li.menu-item-has-children > .sub-menu > li > a::after{
    min-height: 56px;
    background: transparent;
    color: var(--green);
  }

  .mega-link__title{
    grid-column: 1;
    grid-row: 1;
    color: #fff;
    padding-top: 0;
  }

  .mega-link__text{
    grid-column: 1;
    grid-row: 2;
    padding-right: 1rem;
    color: rgba(255, 255, 255, .72);
    padding-bottom: 0;
  }

  .mega-panel{
    display: none;
  }

  .sub-menu > .mega-discovery{
    padding: 8px;
    gap: 8px;
  }

  .mega-discovery__bar{
    flex-direction: column;
  }

  .mega-discovery__search{
    padding: 10px 14px;
  }

  .mega-discovery__audience{
    border-left: none;
    border-top: 2px solid #e4e4e0;
    padding: 10px 36px 10px 14px;
    min-width: unset;
  }

  .mega-discovery__results{
    max-height: 240px;
  }

  .mega-discovery__item{
    height: 72px;
    min-height: 72px;
    max-height: 72px;
    padding: 0 0 0 14px;
  }

  .mega-discovery__item::after{
    width: 38px;
  }

  .mega-discovery__item-title{
    font-size: .8rem;
  }

  .mega-discovery__item-text{
    font-size: .74rem;
  }
}

/* ==========================================
   PAGE PÔLE FONCIER
========================================== */

.pole-page{
  background: #fff;
}

.pole-breadcrumb{
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 0 0 1.5rem;
  font-size: .8rem;
  font-weight: 500;
  text-transform: uppercase;
  color: rgba(40,40,40,.65);
}

.pole-breadcrumb a{
  color: inherit;
}

.pole-hero{
  background: #fff;
}

.pole-hero__banner{
  position: relative;
  width: 100%;
  height: clamp(220px, 22vw, 300px);
}

.pole-hero__shape{
  display: block;
  width: 100%;
  height: 100%;
}

.pole-hero__title{
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  line-height: .95;
  font-weight: 900;
  letter-spacing: -.04em;
  text-transform: uppercase;
  pointer-events: none;
}

/* INTRO */

.pole-intro{
  padding: 1rem 0 2rem;
}

.pole-intro__grid{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 2rem;
  align-items: start;
}

.pole-intro__content {
  margin: 50px 0;
}

.pole-intro__title{
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: .95;
  font-weight: 900;
  letter-spacing: -.04em;
}

.pole-intro__text{
  margin: 0 0 1rem;
  max-width: 60rem;
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 600;
  color: rgba(40,40,40,.76);
}

.pole-help-card{
  padding: 1.5rem;
  background: var(--beige);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}

.pole-help-card__eyebrow{
  margin: 0 0 1rem;
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--dark);
}

/* BLOCS EXPERTISES */

.pole-expertises{
  padding: 2rem 0 5rem;
}

.pole-expertises__grid{
  display: grid;
  gap: 2.5rem;
}

.pole-card{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.pole-card--02{
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.pole-card--02 .pole-card__media{
  order: 2;
}

.pole-card--02 .pole-card__content{
  order: 1;
}

.pole-card__media{
  position: relative;
  min-height: 320px;
}

.pole-card__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pole-card__content{
  position: relative;
  max-width: 520px;
}

.pole-card__number{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 62px;
  height: 38px;
  margin-bottom: 1rem;
  padding: 0 .8rem;
  background: rgba(184,207,58,.22);
  color: var(--green);
  font-weight: 900;
  font-size: 1.35rem;
  line-height: 1;
}

.pole-card__title{
  margin: 0 0 1rem;
  font-size: clamp(0.2rem, 3vw, 4rem);
  line-height: .88;
  font-weight: 900;
  letter-spacing: -.05em;
  color: var(--dark);
}

.pole-card__title span{
  display: inline-block;
  padding: .03em .16em .08em;
  background: var(--green);
  color: #fff;
}

.pole-card__text{
  margin: 0 0 1.25rem;
  max-width: 34rem;
  font-size: .98rem;
  line-height: 1.35;
  font-weight: 600;
  color: rgba(40,40,40,.72);
}

.pole-card__link{
  display: inline-flex;
  align-items: stretch;
  min-height: 42px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(0,0,0,.08);
  text-transform: uppercase;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .04em;
}

.pole-card__link span:first-child{
  display: inline-flex;
  align-items: center;
  padding: 0 1rem;
  border-left: 4px solid var(--green);
}

.pole-card__link span:last-child{
  display: inline-grid;
  place-items: center;
  width: 42px;
  background: var(--green);
  color: #fff;
  font-size: 1.25rem;
}

.pole-card--beige .pole-card__content{
  background: #f2f0e7;
  padding: 2rem;
  border-radius: 34px;
}

.pole-card--kaki .pole-card__content{
  background: #b1af99;
  padding: 2rem;
  border-radius: 80px 80px 0 0;
}

.pole-card--kaki .pole-card__title,
.pole-card--kaki .pole-card__text{
  color: #fff;
}

/* BANNIÈRE */

.pole-banner{
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.pole-banner__overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,18,22,.76) 0%, rgba(10,18,22,.34) 100%);
}

.pole-banner__inner{
  position: relative;
  z-index: 2;
}

.pole-banner__content{
  max-width: 760px;
  color: #fff;
}

.pole-banner__title{
  margin: 0 0 1.4rem;
  font-size: clamp(3rem, 5vw, 5.8rem);
  line-height: .9;
  font-weight: 900;
  letter-spacing: -.05em;
}

.pole-banner__title span{
  display: block;
}

.pole-banner__title strong{
  display: inline-block;
  padding: .03em .16em .08em;
  background: var(--green);
  color: #fff;
}

.pole-banner__text{
  max-width: 42rem;
  margin: 0 0 2rem;
  font-size: 1.05rem;
  line-height: 1.2;
  font-weight: 700;
  color: rgba(255,255,255,.92);
}

/* ACTUALITÉS */

.pole-news{
  padding: 5rem 0;
  background: #fff;
}

.pole-news__head{
  margin: 0 0 2.5rem;
  text-align: center;
}

.pole-news__title{
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: .9;
  font-weight: 900;
  letter-spacing: -.04em;
  text-transform: uppercase;
}

.pole-news__grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.pole-news__empty{
  text-align: center;
  color: var(--text-soft);
  font-size: 1rem;
}

.news-card__inner{
  display: block;
  text-decoration: none;
  color: inherit;
}

.news-card__media{
  display: block;
  margin-bottom: 1.6rem;
  overflow: visible;
  background: transparent;
  position: relative;
}

.news-card__media .shape-media{
  position: relative;
  width: 100%;
  max-width: none;
}

.news-card__media .shape-media svg{
  width: 100%;
  height: auto;
  max-height: none;
  transition: transform .35s ease;
}

.news-card:hover .news-card__media .shape-media svg{
  transform: scale(1.02);
}

.news-card img{
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 999px 999px 36px 36px;
  margin-bottom: 1rem;
}

.news-card__kicker{
  margin: 0 0 .8rem;
  font-size: .85rem;
  font-weight: 500;
  color: rgba(40,40,40,.55);
}

.news-card__rule{
  height: 1px;
  margin: 0 0 1.1rem;
  border: 0;
  background: rgba(40,40,40,.18);
}

.news-card__body h3{
  margin: 0 0 .7rem;
  font-size: 1.1rem;
  line-height: 1.05;
  font-weight: 900;
  text-transform: uppercase;
}

.news-card__body p{
  margin: 0 0 .8rem;
  font-size: .92rem;
  line-height: 1.35;
  color: rgba(40,40,40,.74);
  font-weight: 600;
}

.news-card__more{
  display: inline-block;
  margin-bottom: .45rem;
  color: var(--green);
  font-size: .82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.news-card__meta{
  display: block;
  font-size: .82rem;
  font-weight: 700;
  color: rgba(40,40,40,.58);
}

/* FAQ variante centrée */

.faq-home__grid--single{
  grid-template-columns: 1fr;
}

.faq-home__content--wide{
  max-width: 920px;
  margin: 0 auto;
}

.faq-home__head--center,
.faq-home__cta--center{
  text-align: center;
}

.faq-home__cta--center{
  display: flex;
  justify-content: center;
}

/* RESPONSIVE */

@media (max-width: 1080px){
  .pole-intro__grid,
  .pole-card,
  .pole-card--02,
  .pole-news__grid{
    grid-template-columns: 1fr;
  }

  .pole-card--02 .pole-card__media,
  .pole-card--02 .pole-card__content{
    order: initial;
  }

  .pole-hero__banner{
    border-radius: 42px;
  }
}

@media (max-width: 768px){
  .pole-hero{
    padding-top: calc(var(--header-height) + 1.5rem);
  }

  .pole-hero__banner,
  .pole-hero__title{
    min-height: 180px;
  }

  .pole-card__media{
    min-height: 240px;
  }

  .pole-banner{
    min-height: 460px;
  }

  .pole-banner__title{
    font-size: clamp(2.3rem, 10vw, 3.8rem);
  }
}

/* ==========================================
   PAGE CONTACT
   ========================================== */

.page-template-contact{
  background: #fff;
}

/* Header fond noir sur pages sans hero image */
.page-template-contact #masthead{
  background: #111;
}

/* --- Section principale : formulaire + agences --- */
.contact-main{
  padding: 80px 0 100px;
}

.contact-main__inner{
  display: block;
}

/* Formulaire centré (plus de sidebar) */
.contact-main__form{
  max-width: 680px;
  margin: 0 auto;
}

.contact-main__title{
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: .95;
  color: var(--gris);
  margin: 0 0 20px;
  text-align: center;
}

.contact-main__intro{
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.55;
  color: rgba(40, 40, 40, .55);
  margin: 0 auto 44px;
  max-width: 560px;
  text-align: center;
}

/* --- Contact Form 7 styling --- */
.contact-main__cf7 .wpcf7-form{
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-main__cf7 .wpcf7-form p{
  margin-bottom: 0;
}

.contact-main__cf7 .wpcf7-form-control-wrap{
  display: block;
  width: 100%;
}

.contact-main__cf7 input[type="text"],
.contact-main__cf7 input[type="email"],
.contact-main__cf7 input[type="tel"],
.contact-main__cf7 textarea{
  width: 100%;
  padding: 10px;
  border: none;
  box-shadow: 0 12px 20px -16px rgba(0, 0, 0, 0.45);
  background: transparent;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 600;
  color: var(--gris);
  outline: none;
  transition: border-color .2s ease;
}

.contact-main__cf7 input[type="text"]::placeholder,
.contact-main__cf7 input[type="email"]::placeholder,
.contact-main__cf7 input[type="tel"]::placeholder,
.contact-main__cf7 textarea::placeholder{
  color: #999;
  font-weight: 600;
}

.contact-main__cf7 input[type="text"]:focus,
.contact-main__cf7 input[type="email"]:focus,
.contact-main__cf7 input[type="tel"]:focus,
.contact-main__cf7 textarea:focus{
  border-bottom-color: var(--green);
}

.contact-main__cf7 textarea{
  min-height: 120px;
  resize: vertical;
}

/* Select CF7 : aligné sur les autres champs + flèche personnalisée. */
.contact-main__cf7 select,
.contact-main__cf7 .wpcf7-select{
  width: 100%;
  padding: 10px 40px 10px 10px;
  border: none;
  box-shadow: 0 12px 20px -16px rgba(0, 0, 0, 0.45);
  background-color: transparent;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 600;
  color: var(--gris);
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23646157' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  transition: box-shadow .2s ease;
}

.contact-main__cf7 select:focus,
.contact-main__cf7 .wpcf7-select:focus{
  box-shadow: 0 12px 20px -16px rgba(0, 0, 0, 0.55), inset 0 -2px 0 var(--green);
}

/* Liste déroulante (support variable selon navigateur). */
.contact-main__cf7 select option{
  color: var(--gris);
  font-weight: 600;
  background: #fff;
}

/* Deux champs sur une ligne (Nom + Email) */
.contact-main__cf7 .cf7-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

/* Texte d aide sous le formulaire */
.contact-main__cf7 .cf7-help{
  font-size: .85rem;
  font-weight: 600;
  color: rgba(40, 40, 40, .45);
  margin: 24px 0 20px;
  line-height: 1.4;
}

/* Bouton submit — CF7 wraps the input + arrow in a <p>, so we turn that <p>
   into the unified button container to match the site .btn .btn--light style. */
.contact-main__cf7 .contact-submit-wrap{
  display: inline-block;
  margin-top: 8px;
}

.contact-main__cf7 .contact-submit-wrap > p{
  display: inline-flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
  min-height: 56px;
  min-width: 250px;
  padding: 0 0 0 1.15rem;
  background: #fff;
  color: #3f3f3f;
  border-left: 5px solid var(--green);
  box-shadow: 0 10px 22px rgba(0,0,0,.16);
  transition: transform .2s ease, box-shadow .2s ease;
}

.contact-main__cf7 .contact-submit-wrap > p:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(0,0,0,.18);
}

.contact-main__cf7 .contact-submit-wrap > p br{
  display: none;
}

.contact-main__cf7 .wpcf7-submit{
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  font-family: inherit;
  font-size: .9rem;
  font-weight: 900;
  letter-spacing: .02em;
  text-transform: uppercase;
  padding: 0;
  min-height: 56px;
  text-align: left;
  cursor: pointer;
  flex: 1 1 auto;
}

.contact-main__cf7 .wpcf7-submit:hover{
  background: transparent;
}

/* Hide CF7 spinner sauf en cours d'envoi */
.contact-main__cf7 .wpcf7-spinner{
  width: 0;
  height: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  background: none;
}

.contact-main__cf7 .wpcf7-form.submitting .wpcf7-spinner{
  width: 20px;
  height: 20px;
  align-self: center;
  margin: 0 8px;
  opacity: 1;
  visibility: visible;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23b8cf3a'><circle cx='12' cy='12' r='10' fill='none' stroke='%23b8cf3a' stroke-width='3' stroke-dasharray='40 20'><animateTransform attributeName='transform' type='rotate' from='0 12 12' to='360 12 12' dur='.8s' repeatCount='indefinite'/></circle></svg>") center / contain no-repeat;
}

.contact-main__cf7 .contact-submit-arrow{
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  background: var(--green);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  flex: 0 0 auto;
  transition: background-color .2s ease;
}

.contact-main__cf7 .contact-submit-wrap > p:hover .contact-submit-arrow{
  background: #8aaa38;
}

/* --- Colonne droite : cartes agences --- */
.contact-main__aside{
  position: relative;
}

.contact-main__line{
  position: absolute;
  top: -120px;
  right: -80px;
  width: 260px;
  height: 130%;
  z-index: 1;
  pointer-events: none;
  object-fit: contain;
  object-position: top right;
}

/* Bloc agences en tuiles, sous le formulaire */
.contact-agences{
  margin-top: 90px;
}

.contact-agences__title{
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 900;
  line-height: 1;
  color: var(--gris);
  text-align: center;
  margin: 0 0 40px;
}

.contact-agences__select-wrap{
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 22px;
  padding: 0 8px;
}

.contact-agences__select-label{
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
  pointer-events: none;
}

.contact-agences__select{
  flex: 1;
  height: 50px;
  padding: 0 42px 0 168px;
  border: 0;
  border-radius: 999px;
  background: #1a1a1a;
  color: #fff;
  font-family: inherit;
  font-size: .85rem;
  font-weight: 700;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23b8cf3a' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
}

.contact-agences__select:focus{
  outline: 2px solid rgba(184, 207, 58, .4);
  outline-offset: 2px;
}

.contact-agences__select option{
  background: #1a1a1a;
  color: #fff;
}

.contact-main__cards{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.contact-card{
  background: #f7f5f0;
  border-radius: 16px;
  padding: 28px;
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
  border: 1px solid #e8e4da;
}

.contact-card:hover{
  border-color: var(--vert);
  box-shadow: 0 14px 32px rgba(0, 0, 0, .08);
  transform: translateY(-3px);
}

.contact-card__icon{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card__icon svg{
  width: 32px;
  height: 32px;
  color: var(--gris);
  stroke-width: 1.6;
}

.contact-card__header{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.contact-card__title{
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--gris);
  margin: 0;
}

.contact-card__list{
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  clear: both;
}

.contact-card__list li{
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .88rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--gris);
  margin-bottom: 10px;
}

.contact-card__list li.contact-card__line--cont{
  margin-top: -6px;
  margin-bottom: 10px;
}

.contact-card__line-icon{
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  color: var(--vert);
}

.contact-card__line-icon svg{
  width: 100%;
  height: 100%;
}

.contact-card__line-text{
  flex: 1;
  min-width: 0;
}

/* --- Section CTA Rencontrer --- */
.contact-cta{
  position: relative;
  min-height: 520px;
  background:
    url('https://images.unsplash.com/photo-1600880292203-757bb62b4baf?w=1600&q=80')
    center / cover no-repeat;
  margin-bottom: 0;
}

.contact-cta__overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 20, 25, .55) 0%, rgba(15, 20, 25, .75) 100%);
  display: flex;
  align-items: center;
}

.contact-cta__content{
  padding: 60px 0;
}

.contact-cta__title{
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1;
  color: #fff;
  margin: 0 0 24px;
}

.contact-cta__title mark{
  background: var(--vert);
  color: #fff;
  padding: 2px 12px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.contact-cta__text{
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  color: rgba(255, 255, 255, .85);
  margin: 0;
  max-width: 520px;
}

/* --- Responsive Contact --- */
@media (max-width: 1080px){
  .contact-main{
    padding: 40px 0 60px;
  }

  .contact-agences{
    margin-top: 60px;
  }

  .contact-main__cards{
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .contact-cta{
    min-height: 400px;
  }

  .contact-cta__title{
    font-size: clamp(2rem, 8vw, 3rem);
  }
}

@media (max-width: 600px){
  .contact-main__cf7 .cf7-row{
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-main__cards{
    grid-template-columns: 1fr;
  }
}


/* ==========================================
   PAGE REFERENCES
   ========================================== */

.page-template-references #masthead{
  background: #111;
}

.refs-page{
  background: #fff;
}

/* --- Hero --- */
.refs-hero{
  padding: 50px 0 40px;
  text-align: center;
}

.refs-hero__title{
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  font-weight: 900;
  line-height: .95;
  letter-spacing: -.02em;
  color: var(--gris);
  margin: 0 0 24px;
  text-transform: uppercase;
}

.refs-hero__intro{
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.6;
  color: rgba(40, 40, 40, .5);
  margin: 0 auto;
  max-width: 560px;
}

/* --- Filters bar --- */
.refs-filters{
  position: relative;
  margin-bottom: 50px;
  z-index: 2;
  max-width: 1100px;
  margin: 0px auto 50px auto;
}

.refs-filters__bar{
  display: flex;
  align-items: stretch;
  background: #2b2b2b;
  border-radius: 9999px;
  min-height: 64px;
  padding: 0 28px;
  gap: 18px;
}

.refs-filter{
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  gap: 14px;
}

.refs-filter__label{
  flex-shrink: 0;
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #fff;
  white-space: nowrap;
}

.refs-filter__select{
  flex: 1;
  min-width: 0;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: 0;
  background-color: #fff;
  border-radius: 9999px;
  padding: 0 36px 0 18px;
  height: 40px;
  font-family: inherit;
  font-size: .82rem;
  font-weight: 600;
  color: var(--gris, #282828);
  outline: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23282828' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  transition: background-color .15s ease;
}

.refs-filter__select:hover,
.refs-filter__select:focus-visible{
  background-color: #f5f5f5;
}

.refs-filter__select:focus-visible{
  outline: 2px solid rgba(255,255,255,.4);
  outline-offset: 3px;
}

.refs-filter__select option{
  background: #fff;
  color: var(--gris, #282828);
  font-weight: 600;
}

.refs-filter__select option[value=""]{
  color: rgba(40,40,40,.5);
}

/* Muted text when no choice is made (placeholder-like) */
.refs-filter__select:has(option[value=""]:checked){
  color: rgba(40,40,40,.45);
  font-weight: 500;
}

/* --- Reference cards grid --- */
.refs-grid{
  position: relative;
  margin-bottom: 0;
}

.refs-grid__line{
  position: absolute;
  top: -100px;
  right: 50%;
  transform: translateX(60%);
  width: 220px;
  height: 120%;
  z-index: 1;
  pointer-events: none;
  object-fit: contain;
  object-position: top center;
}

.refs-grid__inner{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.refs-grid__empty{
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 0;
}

/* --- Single reference card --- */
.ref-card{
  display: flex;
  flex-direction: column;
  background: transparent;
  animation: refCardFadeIn .4s ease both;
}

.ref-card__media{
  position: relative;
  display: block;
  margin-bottom: 24px;
  text-decoration: none;
  aspect-ratio: 940 / 400;
}

/* SVG unifié : image + rect overlay clippés au même path, même viewBox, même stretching */
.ref-card__svg{
  display: block;
  width: 100%;
  height: 100%;
}

/* --- Survol des tuiles .ref-card ----------------------------------------
   S'applique partout où le composant est utilisé : grille de la page
   Références et tuiles "références connexes" du bas des pages référence. */

/* Voile vert clippé sur la forme de la tuile (même path que l'image).
   Équivalent de .immo-card__overlay, dont la forme est différente. */
.ref-card__overlay{
  fill: var(--green);
  fill-opacity: 0;
  transition: fill-opacity .3s ease;
}

.ref-card__media:hover .ref-card__overlay,
.ref-card__media:focus-visible .ref-card__overlay{
  fill-opacity: .82;
}

/* Léger zoom de la tuile entière, comme sur les tuiles immo. On transforme le
   <svg> et non l'<image> : un transform sur l'image emporterait son clip-path
   (userSpaceOnUse), donc la forme grossirait sans l'overlay. */
.ref-card__svg{
  transition: transform .35s ease;
}

.ref-card__media:hover .ref-card__svg{
  transform: scale(1.02);
}

/* Label "Voir le projet" centré au-dessus du SVG au hover */
.ref-card__hover{
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  z-index: 2;
}

.ref-card__hover-label{
  color: #fff;
  font-size: .95rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
}

.ref-card__media:hover .ref-card__hover,
.ref-card__media:focus-visible .ref-card__hover{
  opacity: 1;
}

.ref-card__body{
  padding: 0 8px;
}

.ref-card__title{
  margin: 0 0 6px;
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -.01em;
}

.ref-card__title a{
  color: var(--green);
  text-decoration: none;
}

.ref-card__title a:hover{
  color: var(--dark);
}

.ref-card__subtitle{
  margin: 0 0 22px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--dark);
}

.ref-card__tags{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ref-card__tags li{
  padding: 8px 18px;
  border: 1.5px solid rgba(40,40,40,.45);
  border-radius: 2px;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--dark);
  background: transparent;
}

/* --- "Afficher +" button --- */
.refs-grid__more{
  display: flex;
  justify-content: center;
  padding: 60px 0;
}

.refs-more-btn{
  display: inline-flex;
  align-items: center;
  gap: 0;
  appearance: none;
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

.refs-more-btn__bar{
  display: block;
  width: 4px;
  height: 40px;
  background: var(--vert);
  border-radius: 2px;
  margin-right: 16px;
}

.refs-more-btn__label{
  font-size: .82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--gris);
  margin-right: 12px;
}

.refs-more-btn__arrow{
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--vert);
  color: #fff;
  font-size: 1.3rem;
  line-height: 1;
}

.refs-more-btn:hover .refs-more-btn__label{
  color: var(--green);
}

.refs-more-btn:hover .refs-more-btn__arrow{
  background: var(--green);
}

/* --- CTA Section --- */
.refs-cta{
  position: relative;
  min-height: 560px;
  background:
    url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1600&q=80')
    center / cover no-repeat;
  margin-bottom: 0;
}

.refs-cta__overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,20,25,.35) 0%, rgba(15,20,25,.7) 100%);
  display: flex;
  align-items: center;
}

.refs-cta__content{
  padding: 60px 0;
}

.refs-cta__title{
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.05;
  color: #fff;
  margin: 0 0 20px;
  font-style: italic;
}

.refs-cta__title mark{
  background: var(--vert);
  color: #fff;
  padding: 2px 14px;
  font-style: italic;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.refs-cta__text{
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  color: rgba(255,255,255,.8);
  margin: 0 0 32px;
}

.refs-cta__btn{
  display: inline-flex;
  align-items: stretch;
  text-decoration: none;
  max-width: fit-content;
}

.refs-cta__btn-label{
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  background: #fff;
  color: var(--gris);
  font-size: .82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .04em;
  transition: background-color .2s ease;
}

.refs-cta__btn-arrow{
  display: grid;
  place-items: center;
  width: 48px;
  background: var(--vert);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  transition: background-color .2s ease;
}

.refs-cta__btn:hover .refs-cta__btn-label{
  background: #f5f5f5;
}

.refs-cta__btn:hover .refs-cta__btn-arrow{
  background: #8aaa38;
}

/* --- Responsive References --- */
@media (max-width: 1080px){
  .refs-hero{
    padding: 60px 0 30px;
  }

  .refs-hero__title{
    font-size: clamp(2.2rem, 8vw, 3.5rem);
  }

  .refs-filters__bar{
    flex-direction: column;
    border-radius: 28px;
    min-height: auto;
    padding: 14px 18px;
    gap: 4px;
  }

  .refs-filter{
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }

  .refs-filter:last-child{
    border-bottom: 0;
  }

  .refs-filter__select{
    width: 100%;
    padding: 6px 24px 8px 0;
    background-position: right 0 center;
  }

  .refs-grid__inner{
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .ref-card:nth-child(even){
    margin-top: 0;
  }

  .refs-grid__line{
    display: none;
  }

  .ref-card__media{
    aspect-ratio: 5 / 2.4;
  }

  .refs-cta{
    min-height: 420px;
  }

  .refs-cta__title{
    font-size: clamp(2rem, 8vw, 3rem);
  }
}


/* ==========================================
   SINGLE REFERENCE PAGE
   ========================================== */

.page-template-single-reference #masthead{
  background: var(--gris);
}

.sref-page{
  background: #fff;
}

/* --- Hero --- */
.sref-hero{
  position: relative;
  min-height: 320px;
  margin-bottom: 75px;
}

/* .sref-hero__bg (position:absolute) est un enfant non stylé en z-index de
   .container (statique), donc il se peint APRÈS .sref-hero__content — la
   photo passait au-dessus du texte et du dégradé posé sur .sref-hero__overlay
   (qui, lui, restait invisible en dessous de tout). On rend l'empilement
   explicite avec des z-index : photo (0) < voile (::after, 1) < texte (2). */
.sref-hero__bg{
  position: absolute;
  inset: 0;
  z-index: 0;
  background: center / cover no-repeat;
}

.sref-hero__bg::after{
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.1) 0%, rgba(0,0,0,.45) 100%);
}

.sref-hero__overlay{
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  min-height: 320px;
  padding-bottom: 40px;
}

.sref-hero__content{
  position: relative;
  z-index: 2;
  width: 100%;
}

.sref-breadcrumb{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  /* Yoast rend le "»" et le libellé de page courante en texte nu (pas de
     <a>) : sans couleur ici, ils héritaient du dark par défaut du body,
     illisibles sur la photo et lus comme un bloc collé au titre en dessous. */
  color: rgba(255,255,255,.6);
  line-height: 1.5;
}

.sref-breadcrumb a{
  color: rgba(255,255,255,.6);
  text-decoration: none;
}

.sref-breadcrumb a:hover{
  color: #fff;
}

.sref-breadcrumb span[aria-hidden]{
  color: rgba(255,255,255,.4);
}

/* Yoast rend la page courante avec sa propre classe "breadcrumb_last" (pas
   .sref-breadcrumb__current, gardée pour compat si une autre source la pose). */
.sref-breadcrumb__current,
.sref-breadcrumb .breadcrumb_last{
  color: var(--vert);
}

.sref-hero__title{
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  color: #fff;
  margin: 0;
  line-height: 1.1;
  position: relative;
  display: inline-block;
}

.sref-hero__title::after{
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  background: var(--vert);
  margin-top: 8px;
}

.sref-hero__subtitle{
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255,255,255,.8);
  margin: 12px 0 0;
}

/* --- Section titles with <mark> --- */
.sref-section-title{
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--gris);
  margin: 0 0 24px;
}

.sref-section-title--sm{
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.sref-section-title mark{
  background: var(--vert);
  color: #fff;
  padding: 1px 10px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* --- Contexte & Enjeux --- */
.sref-contexte{
  margin-bottom: 75px;
}

.sref-contexte__inner{
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: start;
}

.sref-contexte__text p{
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.6;
  color: rgba(40,40,40,.7);
  margin: 0 0 16px;
  max-width: 520px;
}

.sref-contexte__defis-title{
  color: var(--gris) !important;
  font-weight: 800 !important;
  margin-top: 24px !important;
}

.sref-contexte__defis{
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

.sref-contexte__defis li{
  position: relative;
  padding-left: 20px;
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.8;
  color: rgba(40,40,40,.7);
}

.sref-contexte__defis li::before{
  content: "";
  position: absolute;
  left: 0;
  top: .65em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--vert);
}

/* Competences card */
.sref-competences{
  background: #f5f3ee;
  border-radius: 20px;
  padding: 36px 32px;
}

.sref-competences__tags{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sref-competences__tags li{
  padding: 7px 18px;
  border: 1.5px solid #c8c6be;
  border-radius: 4px;
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--gris);
}

/* Informations projet : libellé à gauche, valeur à sa droite.
   Sans ces règles, la <dl> garde le rendu natif du navigateur — le <dd> passe
   à la ligne avec un retrait de 40px. */
.sref-infos{
  margin: 0;
}

.sref-infos__row{
  display: grid;
  grid-template-columns: minmax(0, 8.5rem) minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
  padding: 11px 0;
  border-bottom: 1px solid rgba(40,40,40,.1);
}

.sref-infos__row:first-child{
  padding-top: 0;
}

.sref-infos__row:last-child{
  padding-bottom: 0;
  border-bottom: 0;
}

.sref-infos dt{
  margin: 0;
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--gris);
}

.sref-infos dd{
  /* Annule le margin-inline-start: 40px par défaut du <dd>. */
  margin: 0;
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.45;
  color: rgba(40,40,40,.7);
}

/* --- Missions realisees --- */
.sref-missions{
  margin-bottom: 75px;
}

.sref-missions__inner{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.sref-missions__checks{
  list-style: none;
  margin: 0;
  padding: 0;
}

.sref-missions__checks li{
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #e8e8e4;
  font-size: .92rem;
  font-weight: 700;
  color: var(--gris);
}

.sref-check{
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--vert);
}

.sref-check svg{
  width: 16px;
  height: 16px;
  color: #fff;
}

.sref-missions__image{
  border-radius: 20px;
  overflow: hidden;
}

.sref-missions__image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 360px;
}

/* --- Resultats --- */
.sref-resultats{
  margin-bottom: 75px;
}

.sref-resultats__inner{
  max-width: 720px;
}

.sref-resultats__inner p{
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.6;
  color: rgba(40,40,40,.7);
  margin: 0;
}

/* --- Autres references --- */
.sref-others{
  margin-bottom: 0;
  /* Le padding-top s'ajoute aux 75px de margin-bottom de .sref-missions qui
     précède, pour détacher franchement le titre "Nos autres références".
     Le padding-bottom décolle la grille du bloc .refs-cta qui suit, en
     pleine largeur et sans marge haute. En padding et non en marge : la
     section reste ainsi insensible aux fusions de marges. */
  padding-top: 70px;
  padding-bottom: 70px;
}

.sref-others__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

/* --- Responsive single ref --- */
@media (max-width: 1080px){
  .sref-hero{
    min-height: 240px;
  }

  .sref-hero__overlay{
    min-height: 240px;
  }

  .sref-contexte__inner{
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .sref-missions__inner{
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .sref-others{
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .sref-others__grid{
    grid-template-columns: 1fr;
    gap: 24px;
  }
}


/* ==========================================
   PAGE A PROPOS
   ========================================== */

.page-template-about #masthead,
.page-template-a-propos #masthead{
  background: #111;
}

.about-page{
  position: relative;
  background: #fff;
  overflow: hidden;
}

/* --- Wavy decorative line --- */
.about-line{
  position: absolute;
  top: 220px;
  left: 50%;
  width: 80px;
  height: 2400px;
  transform: translateX(-50%);
  z-index: 0;
  pointer-events: none;
  opacity: .9;
}

.about-page > section{
  position: relative;
  z-index: 1;
}

/* --- Section titles --- */
.about-section-head{
  text-align: center;
  margin: 0 0 40px;
}

.about-section-head--left{
  text-align: left;
}

.about-section-title{
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.05;
  color: var(--gris);
}

/* --- Hero --- */
.about-hero{
  padding: 80px 0 60px;
}

.about-hero__inner{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 60px;
  align-items: start;
}

.about-hero__title{
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--gris);
  margin: 0 0 32px;
  letter-spacing: -.02em;
}

.about-hero__title mark{
  display: inline-block;
  margin-top: 6px;
  padding: 2px 18px;
  background: var(--vert);
  color: #fff;
  border-radius: 4px;
}

.about-hero__text p{
  font-size: .92rem;
  font-weight: 500;
  line-height: 1.6;
  color: rgba(40,40,40,.6);
  margin: 0 0 14px;
  max-width: 540px;
}

.about-hero__shapes{
  display: flex;
  align-items: flex-start;
  gap: 18px;
  justify-content: flex-end;
  padding-top: 10px;
}

.about-hero__shape{
  display: block;
}

.about-hero__shape--vert{
  width: 110px;
  height: 200px;
  background: var(--vert);
  border-radius: 60% 40% 55% 45% / 60% 50% 50% 40%;
}

.about-hero__shape--gris{
  width: 70px;
  height: 220px;
  background: #b1af99;
  border-radius: 50% 50% 50% 50% / 30% 30% 70% 70%;
  margin-top: 20px;
}

.about-hero__shape--orange{
  width: 70px;
  height: 90px;
  background: var(--orange);
  border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
  margin-top: 80px;
  align-self: flex-start;
}

/* --- Nos Valeurs --- */
.about-valeurs{
  padding: 40px 0 60px;
}

.about-valeurs__panel{
  background: #f3f0e7;
  border-radius: 50px;
  padding: 60px 50px;
}

.about-valeurs__grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.about-valeur{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #fff;
  border-radius: 28px;
  padding: 28px 18px 22px;
  box-shadow: 0 8px 18px rgba(0,0,0,.04);
}

.about-valeur__icon{
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}

.about-valeur__icon img{
  width: 56px;
  height: 56px;
}

.about-valeur__title{
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .04em;
  color: var(--gris);
  margin: 0 0 6px;
}

.about-valeur__text{
  font-size: .78rem;
  font-weight: 500;
  line-height: 1.4;
  color: rgba(40,40,40,.5);
  margin: 0;
}

/* --- Notre Approche --- */
.about-approche{
  padding: 60px 0 80px;
}

.about-approche__grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 30px;
}

.about-approche__card{
  display: flex;
  flex-direction: column;
}

.about-approche__tab{
  position: relative;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  background: #1a1a1a;
  color: #fff;
  padding: 14px 42px 14px 28px;
  border-radius: 24px;
  margin-left: 20px;
  z-index: 2;
}

.about-approche__tab-label{
  font-size: 1rem;
  font-weight: 900;
}

.about-approche__tab-accent{
  position: absolute;
  right: -4px;
  top: -4px;
  width: 30px;
  height: calc(100% + 18px);
  background: var(--vert);
  border-radius: 14px;
  z-index: -1;
}

.about-approche__body{
  margin-top: -14px;
  padding: 38px 28px 24px;
  border-left: 4px solid var(--vert);
  background: #fff;
  flex: 1;
}

.about-approche__card-lead{
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1.15;
  color: var(--vert);
  margin: 0 0 12px;
}

.about-approche__card-text{
  font-size: .85rem;
  font-weight: 500;
  line-height: 1.55;
  color: rgba(40,40,40,.6);
  margin: 0;
}

/* --- Equipe --- */
.about-equipe{
  margin: 40px 0 60px;
  background: var(--vert);
}

.about-equipe__inner{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  min-height: 460px;
}

.about-equipe__image{
  padding: 40px 0 40px 60px;
  position: relative;
}

.about-equipe__image img{
  width: 100%;
  height: 100%;
  max-height: 460px;
  object-fit: cover;
  display: block;
  border-radius: 55% 45% 55% 45% / 60% 50% 50% 40%;
}

.about-equipe__content{
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 50px 60px;
}

.about-equipe__title{
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  font-weight: 900;
  line-height: 1;
  color: #fff;
  margin: 0 0 24px;
  letter-spacing: -.02em;
}

.about-equipe__title mark{
  display: inline-block;
  padding: 2px 16px;
  background: #fff;
  color: var(--vert);
  border-radius: 4px;
}

.about-equipe__content p:not(.section-tag){
  font-size: .95rem;
  font-weight: 500;
  line-height: 1.6;
  color: rgba(255,255,255,.92);
  margin: 0 0 28px;
  max-width: 480px;
}

/* --- Engagements --- */
.about-engagements{
  padding: 40px 0 80px;
}

.about-engagements__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.about-engagement{
  border-radius: 22px;
  padding: 28px 32px;
}

.about-engagement--orange{
  background: var(--orange);
  color: #fff;
}

.about-engagement--dark{
  background: #1a1a1a;
  color: #fff;
}

.about-engagement--light{
  background: #f3f0e7;
  color: var(--gris);
}

.about-engagement--kaki{
  background: #93957f;
  color: #fff;
}

.about-engagement__title{
  font-size: 1.25rem;
  font-weight: 900;
  margin: 0 0 8px;
  color: inherit;
}

.about-engagement p{
  font-size: .82rem;
  font-weight: 500;
  line-height: 1.5;
  margin: 0;
  opacity: .9;
}

.about-engagement--light p{
  color: rgba(40,40,40,.65);
  opacity: 1;
}

/* --- CTA --- */
.about-cta{
  position: relative;
  min-height: 560px;
  background:
    url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?w=1600&q=80')
    center / cover no-repeat;
  margin-bottom: 0;
}

.about-cta__overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,20,25,.45) 0%, rgba(15,20,25,.75) 100%);
  display: flex;
  align-items: center;
}

.about-cta__content{
  padding: 60px 0;
}

.about-cta__title{
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.05;
  color: #fff;
  margin: 0 0 20px;
  letter-spacing: -.02em;
}

.about-cta__title mark{
  display: inline-block;
  padding: 2px 14px;
  background: var(--vert);
  color: #fff;
  border-radius: 4px;
}

.about-cta__text{
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  color: rgba(255,255,255,.85);
  margin: 0 0 32px;
  max-width: 520px;
}

.about-cta__buttons{
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.about-hero__lead{
  font-size: 1.1rem !important;
  font-weight: 900 !important;
  color: var(--gris) !important;
  margin-bottom: 18px !important;
}

/* --- Nos pôles d'activité --- */
.about-poles{
  padding: 40px 0 60px;
}

.about-poles__grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 30px;
}

.about-pole{
  display: flex;
  flex-direction: column;
}

.about-pole__tab{
  position: relative;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  background: #1a1a1a;
  color: #fff;
  padding: 14px 42px 14px 28px;
  border-radius: 24px;
  margin-left: 20px;
  z-index: 2;
}

.about-pole__tab-label{
  font-size: 1rem;
  font-weight: 900;
}

.about-pole__tab-accent{
  position: absolute;
  right: -4px;
  top: -4px;
  width: 30px;
  height: calc(100% + 18px);
  background: var(--vert);
  border-radius: 14px;
  z-index: -1;
}

.about-pole__body{
  margin-top: -14px;
  padding: 38px 28px 24px;
  border-left: 4px solid var(--vert);
  background: #fff;
  flex: 1;
}

.about-pole__list{
  margin: 0;
  padding: 0 0 0 1.1em;
  list-style: disc;
}

.about-pole__list li{
  font-size: .85rem;
  font-weight: 500;
  line-height: 1.55;
  color: rgba(40,40,40,.6);
  margin: 0 0 6px;
}

.about-poles__text{
  margin: 36px 0 0;
  font-size: .95rem;
  font-weight: 500;
  line-height: 1.65;
  color: rgba(40,40,40,.65);
  max-width: 900px;
}

/* --- Nos certifications et qualifications --- */
.about-certifications{
  padding: 40px 0 60px;
}

.about-certifications__grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 30px;
  align-items: start;
}

.about-certification{
  background: #f3f0e7;
  border-radius: 22px;
  padding: 28px 26px;
}

.about-certification__title{
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--gris);
  margin: 0 0 12px;
}

.about-certification p{
  font-size: .85rem;
  font-weight: 500;
  line-height: 1.6;
  color: rgba(40,40,40,.65);
  margin: 0 0 12px;
}

.about-certification ul{
  margin: 0;
  padding: 0 0 0 1.1em;
  list-style: disc;
}

.about-certification li{
  font-size: .82rem;
  font-weight: 500;
  line-height: 1.55;
  color: rgba(40,40,40,.65);
  margin: 0 0 8px;
}

/* --- Nos partenariats --- */
.about-partenariats{
  padding: 20px 0 60px;
}

.about-partenariats__text{
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.65;
  color: rgba(40,40,40,.65);
  max-width: 780px;
  margin: 0 0 36px;
}

/* Grille de logos partenaires : même traitement "carte blanche sur fond
   beige" que .about-valeurs__panel/.about-valeur, pour rester dans le
   langage visuel de la page. */
.about-partenariats__logos{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 0;
  padding: 36px;
  list-style: none;
  background: #f3f0e7;
  border-radius: 32px;
}

.about-partenariats__logo{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 96px;
  padding: 14px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 18px rgba(0,0,0,.04);
}

.about-partenariats__logo img{
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .7;
  transition: filter .25s ease, opacity .25s ease;
}

.about-partenariats__logo:hover img,
.about-partenariats__logo:focus-within img{
  filter: grayscale(0);
  opacity: 1;
}

@media (max-width: 680px){
  .about-partenariats__logos{
    padding: 24px;
    gap: 14px;
  }

  .about-partenariats__logo{
    width: 130px;
    height: 80px;
    padding: 10px 14px;
  }
}

/* --- Engagement climat (CEC) --- */
.about-cec{
  padding: 20px 0 60px;
}

.about-cec__panel{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 40px;
  align-items: center;
  background: var(--gris);
  border-radius: 32px;
  padding: 48px 50px;
  max-width: 1100px;
}

.about-cec__title{
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 900;
  color: #fff;
  margin: 0 0 18px;
  letter-spacing: -.01em;
}

.about-cec__text p:not(.section-tag){
  font-size: .92rem;
  font-weight: 500;
  line-height: 1.65;
  color: rgba(255,255,255,.82);
  margin: 0 0 16px;
}

.about-cec__text p:last-child{
  margin-bottom: 0;
}

.about-cec__media{
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 24px;
  padding: 20px;
}

.about-cec__media img{
  width: 100%;
  height: auto;
}

/* --- Responsive A propos --- */
@media (max-width: 1080px){
  .about-line{
    display: none;
  }

  .about-hero__inner{
    grid-template-columns: 1fr;
  }

  .about-hero__shapes{
    display: none;
  }

  .about-valeurs__panel{
    padding: 36px 24px;
    border-radius: 32px;
  }

  .about-valeurs__grid{
    grid-template-columns: repeat(2, 1fr);
  }

  .about-approche__grid{
    grid-template-columns: 1fr;
  }

  .about-poles__grid{
    grid-template-columns: 1fr;
  }

  .about-certifications__grid{
    grid-template-columns: 1fr;
  }

  .about-equipe__inner{
    grid-template-columns: 1fr;
  }

  .about-equipe__image{
    padding: 30px 30px 0;
  }

  .about-equipe__content{
    padding: 30px 30px 40px;
  }

  .about-engagements__grid{
    grid-template-columns: 1fr;
  }

  .about-cec__panel{
    grid-template-columns: 1fr;
    padding: 32px 26px;
  }

  .about-cec__media{
    max-width: 200px;
    margin: 0 auto;
  }

  .about-cta{
    min-height: 420px;
  }

  .about-cta__title{
    font-size: clamp(1.8rem, 7vw, 2.8rem);
  }
}


/* --- Shape cards (single reference "autres refs") --- */
.sref-shape-card{
  position: relative;
}

.sref-shape-card .shape-media svg{
  width: 100%;
  height: auto;
  display: block;
}

.sref-shape-card__content{
  position: absolute;
  bottom: 30px;
  left: 30px;
  z-index: 2;
}

.sref-shape-card__title{
  font-size: 1.2rem;
  font-weight: 900;
  color: #fff;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}

.sref-shape-card__subtitle{
  font-size: .9rem;
  font-weight: 700;
  color: rgba(255,255,255,.85);
  margin: 4px 0 12px;
  text-shadow: 0 1px 4px rgba(0,0,0,.3);
}

.sref-shape-card .ref-card__tags li{
  border-color: rgba(255,255,255,.6);
}

/* Survol : même voile vert que les tuiles de la page Références. Ici le lien
   survolé est .shape-media (et non .ref-card__media) et le titre est posé sur
   l'image en z-index 2, donc il reste lisible au-dessus du voile. Pas de label
   "Voir le projet" : il entrerait en collision avec ce titre. */
.sref-shape-card .shape-media svg{
  transition: transform .35s ease;
}

.sref-shape-card .shape-media:hover svg,
.sref-shape-card .shape-media:focus-visible svg{
  transform: scale(1.02);
}

.sref-shape-card .shape-media:hover .ref-card__overlay,
.sref-shape-card .shape-media:focus-visible .ref-card__overlay{
  fill-opacity: .82;
}


/* --- Spacing below masthead (all pages except home) --- */
body:not(.home) #masthead{
  position: relative;
  top: 0; /* annule le top: var(--topbar-height) hérité de .site-header (absolu sur home uniquement) */
}

body:not(.home):not(.blog):not(.page-template-single-reference):not(.single-reference):not(.single-post):not(.page-template-equipe):not(.page-template-recherche-immo) #masthead + main,
body:not(.home):not(.blog):not(.page-template-single-reference):not(.single-reference):not(.single-post):not(.page-template-equipe):not(.page-template-recherche-immo) #masthead ~ main {
  padding-top: 75px;
}

/* ==========================================================
 * Recherche immobilière — listing + single bien
 * Aligné sur la charte Prigent & Associés (réécrit 2026-04-23)
 * ========================================================== */

.immo-page,
.sbien-page {
  color: var(--gris);
  background: #fff;
}

.immo-page section,
.sbien-page section {
  margin-bottom: 25px;
}

/* ---------- shared section titles (match .sref-section-title) ---------- */

.immo-title,
.sbien-section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--gris);
  margin: 0 0 28px;
}

.sbien-section-title--sm {
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  margin-top: 8px;
  margin-bottom: 16px;
}

.immo-title mark,
.sbien-section-title mark,
.immo-hero__title mark {
  background: var(--vert);
  color: #fff;
  padding: 1px 10px;
  font-style: italic;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* =========================================================================
   HERO LISTING
   ========================================================================= */

.immo-hero {
  padding: 60px 0 30px;
  text-align: center;
}

.immo-hero__title {
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--gris);
  margin: 0 0 22px;
}

.immo-hero__title mark {
  display: inline-block;
  margin-top: 6px;
  padding: 4px 22px;
  background: var(--vert);
  color: #fff;
  border-radius: 4px;
  font-style: normal;
}

.immo-hero__intro {
  font-size: .92rem;
  font-weight: 500;
  line-height: 1.6;
  color: rgba(40, 40, 40, .5);
  margin: 0 auto;
  max-width: 640px;
}

/* =========================================================================
   NAV CARTES — Acheter / Louer / Estimer / Faire gérer
   ========================================================================= */

.immo-nav {
  margin: 0 auto 50px;
  background: transparent;
  border: 0;
}

.immo-nav__list {
  list-style: none;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.immo-nav__item {
  position: relative;
  text-align: center;
}

.immo-nav__link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: rgba(40, 40, 40, .55);
  transition: color .2s ease;
}

.immo-nav__card {
  position: relative;
  display: grid;
  place-items: center;
  width: 116px;
  height: 116px;
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .07);
  color: var(--vert);
  transition: background .25s ease, color .25s ease, transform .2s ease, box-shadow .25s ease;
}

.immo-nav__card::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 38px;
  height: 18px;
  background: inherit;
  border-radius: 18px 18px 0 0;
  box-shadow: inherit;
  z-index: -1;
}

.immo-nav__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
}

.immo-nav__icon svg {
  width: 100%;
  height: 100%;
}

.immo-nav__label {
  font-size: .82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: inherit;
}

.immo-nav__link:hover {
  color: #282828;
}

.immo-nav__link:hover .immo-nav__card {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .1);
}

.immo-nav__item.is-active .immo-nav__card {
  background: var(--vert);
  color: #fff;
}

.immo-nav__item.is-active .immo-nav__link {
  color: var(--vert);
}

@media (max-width: 700px) {
  .immo-nav__list {
    gap: 18px;
  }
  .immo-nav__card {
    width: 94px;
    height: 94px;
    border-radius: 22px;
  }
  .immo-nav__icon {
    width: 50px;
    height: 50px;
  }
  .immo-nav__label {
    font-size: .72rem;
  }
}

/* =========================================================================
   FILTRES — tabs orange + barre sombre + bouton Rechercher
   ========================================================================= */

.immo-filters {
  margin: 0 auto 30px;
}

.immo-filters__inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* --- Top bar : tabs Tout/Vente/Location + Réinitialiser --- */

.immo-filters__topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.immo-tabs {
  display: inline-flex;
  gap: 6px;
}

.immo-tab {
  display: inline-flex;
  align-items: center;
  padding: 9px 22px;
  border-radius: 8px;
  background: #1a1a1a;
  color: #fff;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}

.immo-tab:hover {
  background: #333;
}

.immo-tab.is-active {
  background: var(--orange);
  color: #fff;
}

.immo-filters__reset {
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--orange);
  text-decoration: none;
  transition: color .2s ease;
}

.immo-filters__reset:hover {
  color: var(--gris);
}

/* --- Barre filtres sombre --- */

.immo-filters__bar {
  background: #1a1a1a;
  border-radius: 999px;
  padding: 10px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: stretch;
}

.immo-filter {
  display: flex;
  align-items: center;
  background: transparent;
  border-radius: 0;
  padding: 6px 14px;
  min-height: 44px;
  min-width: 0;
  flex: 1 1 0;
  position: relative;
}

.immo-filter + .immo-filter::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 1px;
  background: rgba(255, 255, 255, .12);
}

.immo-filter__label {
  flex-shrink: 0;
  padding-right: 10px;
  font-size: .62rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .55);
  white-space: nowrap;
}

.immo-filter input,
.immo-filter select {
  flex: 1;
  min-width: 0;
  height: 34px;
  padding: 0 6px;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: inherit;
  font-size: .8rem;
  font-weight: 700;
  color: #fff;
  appearance: none;
  -webkit-appearance: none;
}

.immo-filter select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%239abd43' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 6px center;
  padding-right: 22px;
}

.immo-filter select option {
  background: #1a1a1a;
  color: #fff;
}

.immo-filter input::placeholder {
  color: rgba(255, 255, 255, .35);
  font-weight: 600;
}

/* --- Bouton Rechercher centré --- */

.immo-filters__submit {
  display: flex;
  justify-content: center;
  margin-top: 25px;
}

.immo-filters__submit .btn {
  min-width: 220px;
}

/* --- Meta : count + sort --- */

.immo-filters__meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

/* =========================================================================
   RESULTATS : grid + cartes
   ========================================================================= */

.immo-results__count {
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--vert);
  margin: 0;
}

.immo-results__count strong {
  font-weight: 900;
  margin-right: 4px;
}

.immo-results__sort {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.immo-results__sort label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.immo-results__sort label span {
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(40, 40, 40, .55);
}

.immo-results__sort select {
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: #1a1a1a;
  color: #fff;
  font-family: inherit;
  font-weight: 700;
  font-size: .8rem;
  padding: 0 30px 0 16px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%239abd43' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.immo-results__sort select option {
  background: #1a1a1a;
  color: #fff;
}

.immo-results__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 50px 30px;
}

.immo-empty {
  grid-column: 1 / -1;
  padding: 70px 20px;
  text-align: center;
  color: rgba(40, 40, 40, .55);
  font-size: 1rem;
  font-weight: 700;
  border: 1.5px dashed rgba(40, 40, 40, .18);
  border-radius: 24px;
  background: #fafaf7;
}

/* =========================================================================
   CARTES BIENS — blob image + body
   ========================================================================= */

.immo-card {
  display: flex;
  flex-direction: column;
  background: transparent;
  text-decoration: none;
  color: inherit;
  transition: transform .25s ease;
}

.immo-card:hover {
  transform: translateY(-4px);
}

.immo-card__media {
  position: relative;
  margin-bottom: 18px;
}

.immo-card__media .shape-media {
  position: relative;
  width: 100%;
  max-width: none;
}

.immo-card__media .shape-media svg {
  width: 100%;
  height: auto;
  max-height: none;
  transition: transform .35s ease;
}

.immo-card:hover .immo-card__media .shape-media svg {
  transform: scale(1.02);
}

.immo-card__badge {
  position: absolute;
  top: 22px;
  left: 14px;
  padding: 6px 18px;
  border-radius: 4px;
  font-size: .7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #fff;
  z-index: 2;
}

.immo-card__badge--vente { background: var(--orange); }
.immo-card__badge--loc   { background: var(--orange); }

/* Overlay au hover : vert + "VOIR LE BIEN" */
.immo-card__overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(184, 207, 58, .82);
  opacity: 0;
  border-radius: inherit;
  transition: opacity .25s ease;
  pointer-events: none;
  z-index: 1;
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576.865 600'><path d='M23.746,69.577c0,131.922-13.916,251.269-13.916,372.149,0,226.86,530.846,146.236,530.846,85.277,0-121.543,22.368-254.524,22.368-372.245C563.044-46.161,23.746-6.207,23.746,69.577Z'/></svg>");
  -webkit-mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576.865 600'><path d='M23.746,69.577c0,131.922-13.916,251.269-13.916,372.149,0,226.86,530.846,146.236,530.846,85.277,0-121.543,22.368-254.524,22.368-372.245C563.044-46.161,23.746-6.207,23.746,69.577Z'/></svg>");
  mask-size: 100% 100%;
  mask-repeat: no-repeat;
}

.immo-card:hover .immo-card__overlay {
  opacity: 1;
}

.immo-card__overlay-cta {
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.immo-card__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 6px;
}

.immo-card__price {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--vert);
  letter-spacing: -.01em;
  margin: 0;
}

.immo-card__price-cur {
  font-size: .85em;
  font-weight: 900;
  vertical-align: baseline;
  margin-left: 1px;
}

.immo-card__price-unit {
  font-size: .55em;
  font-weight: 900;
  margin-left: 2px;
}

.immo-card__title {
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1.25;
  color: var(--gris);
  margin: 0 0 6px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(40, 40, 40, .14);
}

.immo-card__meta {
  font-size: .82rem;
  font-weight: 500;
  color: rgba(40, 40, 40, .55);
  margin: 0;
}

@media (max-width: 1024px) {
  .immo-results__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .immo-results__grid {
    grid-template-columns: 1fr;
  }
  .immo-filters__bar {
    flex-direction: column;
    border-radius: 24px;
    padding: 14px;
  }
  .immo-filter + .immo-filter::before {
    display: none;
  }
}

/* =========================================================================
   SINGLE BIEN
   ========================================================================= */

.sbien-page {
  padding-bottom: 40px;
  background: #fff;
}

.page-template-recherche-immo #masthead {
  background: transparent;
}

/* --- Hero : image full + panneau sombre dégradé à gauche --- */

.sbien-hero {
  position: relative;
  min-height: 460px;
  margin-bottom: 60px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.sbien-hero__panel {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20,20,20,.85) 0%, rgba(20,20,20,.85) 35%, rgba(20,20,20,.55) 55%, rgba(20,20,20,0) 75%);
  pointer-events: none;
}

.sbien-hero__inner {
  position: relative;
  z-index: 2;
  padding: 50px 20px 60px;
  color: #fff;
  width: 100%;
}

.sbien-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  font-size: .82rem;
  font-weight: 600;
}

.sbien-breadcrumb a {
  color: rgba(255,255,255,.85);
  text-decoration: none;
  transition: color .2s ease;
}

.sbien-breadcrumb a:hover {
  color: var(--green);
}

.sbien-breadcrumb__sep {
  color: var(--green);
  font-size: 1rem;
  font-weight: 900;
}

.sbien-breadcrumb__current {
  color: var(--green);
  font-weight: 800;
}

.sbien-badge {
  display: inline-block;
  padding: 5px 14px;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 18px;
}

.sbien-badge--vente { background: var(--green); color: #fff; }
.sbien-badge--loc   { background: var(--bleu);  color: #fff; }

.sbien-hero__title {
  font-size: clamp(2rem, 3.4vw, 2.6rem);
  font-weight: 900;
  line-height: 1.05;
  color: #fff;
  margin: 0 0 14px;
  letter-spacing: -.01em;
}

.sbien-hero__loc {
  margin: 0 0 18px;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,.92);
}

.sbien-hero__price {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 900;
  margin: 0;
  color: #fff;
  letter-spacing: -.02em;
}

.sbien-hero__price-cur {
  margin-left: 2px;
}

.sbien-hero__price-unit {
  font-size: .9rem;
  font-weight: 700;
  color: rgba(255,255,255,.85);
  margin-left: 8px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* --- Galerie pill avec nav --- */

.sbien-gallery {
  margin: 30px 0 50px;
  --g-gap: 18px;
  --g-visible: 4;
}

.sbien-gallery__inner {
  display: flex;
  align-items: center;
  gap: 18px;
}

.sbien-gallery__nav {
  flex: 0 0 auto;
  align-self: center;
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  border: 0;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .14);
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.sbien-gallery__nav svg {
  width: 20px;
  height: 20px;
}

.sbien-gallery__nav:hover:not(:disabled) {
  background: #a3b834;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .18);
}

.sbien-gallery__nav:active:not(:disabled) {
  transform: translateY(0);
}

.sbien-gallery__nav:disabled {
  opacity: .3;
  cursor: default;
  box-shadow: none;
}

.sbien-gallery__track {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  min-width: 0;
  display: flex;
  gap: var(--g-gap);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.sbien-gallery__track::-webkit-scrollbar {
  display: none;
}

.sbien-gallery__slide {
  flex: 0 0 calc((100% - (var(--g-visible) - 1) * var(--g-gap)) / var(--g-visible));
  scroll-snap-align: start;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  border-radius: 22px;
  background: #eee;
}

.sbien-gallery__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.sbien-gallery__slide:hover img {
  transform: scale(1.04);
}

.sbien-gallery__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
}

.sbien-gallery__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 9999px;
  background: rgba(40, 40, 40, .22);
  cursor: pointer;
  transition: background-color .2s ease, width .25s ease;
}

.sbien-gallery__dot:hover {
  background: rgba(40, 40, 40, .42);
}

.sbien-gallery__dot.is-active {
  width: 26px;
  background: var(--green);
}

/* When every photo already fits, hide the controls entirely. */
.sbien-gallery--static .sbien-gallery__nav,
.sbien-gallery--static .sbien-gallery__dots {
  display: none;
}

/* --- Specs --- */

.sbien-specs {
  margin-bottom: 60px;
}

.sbien-specs__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.sbien-specs__grid li {
  background: #f3efe1;
  border-radius: 12px;
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sbien-specs__label {
  font-size: .72rem;
  font-weight: 600;
  color: rgba(40, 40, 40, .55);
}

.sbien-specs__value {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--green);
}

/* --- Body (description + DPE aside + équipements) --- */

.sbien-body {
  margin-bottom: 0;
}

.sbien-body__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 60px;
  align-items: start;
}

.sbien-body__main .sbien-section-title {
  margin-bottom: 18px;
}

.sbien-body__main p {
  font-size: .95rem;
  font-weight: 500;
  line-height: 1.55;
  color: rgba(40, 40, 40, .8);
  margin: 0 0 14px;
  max-width: 560px;
}

/* --- Equipements --- */

.sbien-equip-title {
  margin: 36px 0 18px;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--dark);
  letter-spacing: -.01em;
}

.sbien-equip {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 240px));
  gap: 10px 28px;
}

.sbien-equip li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .92rem;
  font-weight: 600;
  color: var(--dark);
}

.sbien-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  background: var(--green);
  color: #fff;
  flex-shrink: 0;
}

.sbien-check svg {
  width: 16px;
  height: 16px;
}

/* --- DPE pill panel --- */

.sbien-body__aside {
  position: relative;
}

.sbien-dpe {
  background: #f5efe1;
  border-radius: 220px 220px 24px 24px;
  padding: 38px 38px 36px;
}

.sbien-dpe__title {
  margin: 0 0 22px;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--dark);
  letter-spacing: -.01em;
}

.sbien-dpe__scales {
  display: flex;
  gap: 30px;
  margin-top: 4px;
}

.sbien-dpe__scale {
  flex: 1;
}

.sbien-dpe__scale-title {
  display: block;
  font-size: .85rem;
  font-weight: 900;
  letter-spacing: .04em;
  color: var(--dark);
  margin-bottom: 10px;
}

.sbien-dpe__row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 4px 12px;
  margin-bottom: 5px;
  font-weight: 900;
  font-size: .8rem;
  color: #fff;
  border-radius: 0 12px 12px 0;
  opacity: .9;
  transition: width .2s ease, transform .2s ease, box-shadow .2s ease;
}

.sbien-dpe__row.is-active {
  box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
  transform: translateX(4px);
}

/* Étiquette ÉNERGIE (DPE) — palette officielle vert → rouge. */
.sbien-dpe__row--a { background: #319834; width: 55%; }
.sbien-dpe__row--b { background: #33cc31; width: 62%; }
.sbien-dpe__row--c { background: #cbe939; width: 69%; color: #3a4000; }
.sbien-dpe__row--d { background: #fff32a; width: 76%; color: #4a3b00; }
.sbien-dpe__row--e { background: #fdc70c; width: 83%; color: #4a3600; }
.sbien-dpe__row--f { background: #f18a2c; width: 90%; }
.sbien-dpe__row--g { background: #e30613; width: 97%; }

/* Étiquette CLIMAT (GES) — palette officielle : dégradé de violets clair → foncé. */
.sbien-dpe__scale--ges .sbien-dpe__row--a { background: #eadcf0; color: #4a2a5a; }
.sbien-dpe__scale--ges .sbien-dpe__row--b { background: #d9bfe6; color: #4a2a5a; }
.sbien-dpe__scale--ges .sbien-dpe__row--c { background: #c49fd8; color: #3a1f4a; }
.sbien-dpe__scale--ges .sbien-dpe__row--d { background: #a878c4; color: #fff; }
.sbien-dpe__scale--ges .sbien-dpe__row--e { background: #8e56b0; color: #fff; }
.sbien-dpe__scale--ges .sbien-dpe__row--f { background: #713d97; color: #fff; }
.sbien-dpe__scale--ges .sbien-dpe__row--g { background: #52237a; color: #fff; }

/* --- CTA banner pleine largeur --- */

.sbien-cta-banner {
  position: relative;
  margin: 80px 0 60px;
  min-height: 360px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  text-align: center;
  color: #fff;
}

.sbien-cta-banner__overlay {
  position: absolute;
  inset: 0;
  background: rgba(20,20,20,.55);
}

.sbien-cta-banner__inner {
  position: relative;
  z-index: 2;
  padding: 60px 20px;
  width: 100%;
}

.sbien-cta-banner__title {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.05;
  color: #fff;
  letter-spacing: -.01em;
}

.sbien-cta-banner__text {
  margin: 0 0 28px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  color: rgba(255,255,255,.92);
}

.sbien-cta-banner__btn {
  margin: 0 auto;
}

.sbien-cta-banner__ref {
  margin: 22px 0 0;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: rgba(255,255,255,.65);
}

/* --- Map --- */

.sbien-map {
  margin-bottom: 80px;
}

.sbien-map__hint {
  margin: 0 0 18px;
  font-size: .85rem;
  font-weight: 600;
  color: rgba(40, 40, 40, .55);
}

.sbien-map__frame {
  width: 100%;
  aspect-ratio: 16 / 7;
  overflow: hidden;
  border-radius: 12px;
  border: 0;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .08);
}

.sbien-map__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* --- Autres biens --- */

.sbien-others {
  margin-bottom: 60px;
}

.sbien-others__title {
  margin: 0 0 36px;
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--dark);
  text-align: center;
  letter-spacing: -.01em;
}

/* Mêmes colonnes et même gouttière que .immo-results__grid : la section
   réutilise le composant .immo-card, le rendu doit être identique. */
.sbien-others__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 50px 30px;
}

/* Le composant .sbien-other-card a été remplacé par .immo-card (voir la
   section AUTRES BIENS de recherche-immo.php) : ses règles ont été retirées. */

.sbien-others__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.sbien-others__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(40,40,40,.25);
}

.sbien-others__dot.is-active {
  background: var(--green);
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */

@media (max-width: 1080px) {
  .immo-filters__row {
    grid-template-columns: repeat(3, 1fr);
  }

  .immo-filter--actions {
    grid-column: span 3;
    justify-content: flex-end;
  }

  .immo-results__grid,
  .sbien-others__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sbien-specs__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .sbien-body__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .sbien-gallery {
    --g-visible: 3;
  }
}

@media (max-width: 720px) {
  .immo-page section,
  .sbien-page section {
    margin-bottom: 60px;
  }

  .immo-hero {
    padding: 40px 0 20px;
  }

  .immo-filters__bar {
    padding: 14px 14px;
    border-radius: 24px;
  }

  .immo-filters__row {
    grid-template-columns: repeat(2, 1fr);
  }

  .immo-filter--actions {
    grid-column: span 2;
  }

  .immo-filter {
    padding-left: 12px;
    min-height: 42px;
  }

  .immo-filter__label {
    font-size: .6rem;
    padding-right: 6px;
  }

  .immo-results__head {
    flex-direction: column;
    align-items: stretch;
  }

  .immo-results__sort label {
    justify-content: flex-end;
  }

  .immo-results__grid,
  .sbien-others__grid {
    grid-template-columns: 1fr;
  }

  .sbien-specs__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sbien-equip {
    grid-template-columns: 1fr;
  }

  .sbien-dpe__scales {
    flex-direction: column;
    gap: 14px;
  }

  .sbien-hero {
    min-height: 380px;
    align-items: flex-end;
  }

  .sbien-hero__panel {
    background: linear-gradient(180deg, rgba(20,20,20,.4) 0%, rgba(20,20,20,.85) 70%);
  }

  .sbien-hero__inner {
    padding: 40px 20px;
  }

  .sbien-gallery {
    --g-gap: 12px;
    --g-visible: 1.15;
  }

  .sbien-gallery__inner {
    gap: 10px;
  }

  .sbien-gallery__nav {
    width: 40px;
    height: 40px;
  }

  .sbien-cta-banner {
    min-height: 280px;
  }
}

/* ==========================================
   SOUS-EXPERTISE PAGE (template sous-expertise.php)
   ========================================== */

.expertise-page{
  background: #fff;
  color: var(--dark);
}

/* --- HERO --- */
.expertise-hero{
  padding: clamp(28px, 6vw, 64px) 0 clamp(48px, 8vw, 96px);
  position: relative;
}

.expertise-hero::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(40,40,40,.12) 30%, rgba(40,40,40,.12) 70%, transparent 100%);
}

.expertise-hero__breadcrumb{
  margin: 0 0 clamp(20px, 3vw, 36px);
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(40,40,40,.55);
}

.expertise-hero__breadcrumb a{
  color: inherit;
  text-decoration: none;
  transition: color .2s ease;
}

.expertise-hero__breadcrumb a:hover{
  color: var(--green);
}

.expertise-hero__breadcrumb [aria-current="page"]{
  color: var(--green);
}

.expertise-hero__inner{
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

/* Hero sans média : le contenu occupe toute la largeur. */
.expertise-hero__inner--no-media{
  grid-template-columns: 1fr;
}

.expertise-hero__content .section-tag{
  margin-bottom: 14px;
}

.expertise-hero__title{
  margin: 0 0 28px;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -.015em;
  color: var(--dark);
  text-transform: uppercase;
}

.expertise-hero__intro{
  max-width: 58ch;
}

.expertise-hero__intro p{
  margin: 0 0 16px;
  font-size: clamp(1rem, 1.05vw, 1.08rem);
  font-weight: 500;
  line-height: 1.65;
  color: rgba(40,40,40,.78);
}

.expertise-hero__intro p:last-child{
  margin-bottom: 0;
}

.expertise-hero__media .shape-media{
  position: relative;
  width: 100%;
}

.expertise-hero__media .shape-media svg{
  width: 100%;
  height: auto;
  display: block;
}

/* --- SECTIONS --- */
.expertise-section{
  padding: clamp(48px, 7vw, 88px) 0;
  position: relative;
}

.expertise-section--alt{
  background: var(--beige);
}

.expertise-section__inner{
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  position: relative;
}

.expertise-section--reverse .expertise-section__content{
  order: 2;
}

.expertise-section--reverse .expertise-section__media{
  order: 1;
}

.expertise-section__media{
  width: 100%;
}

.expertise-section__media .shape-media{
  position: relative;
  width: 100%;
}

.expertise-section__media .shape-media svg{
  width: 100%;
  height: auto;
  display: block;
}

.expertise-section__head{
  display: flex;
  align-items: flex-start;
  gap: 22px;
  margin: 0 0 28px;
  padding-bottom: 24px;
  position: relative;
}

.expertise-section__head::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 72px;
  height: 3px;
  background: var(--green);
  border-radius: 3px;
}

.expertise-section__num{
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green);
  color: var(--dark);
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.expertise-section--alt .expertise-section__num{
  background: var(--dark);
  color: var(--green);
}

.expertise-section__title{
  margin: 10px 0 0;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -.005em;
  color: var(--dark);
  text-transform: uppercase;
}

.expertise-section__intro{
  margin: 0;
  max-width: 70ch;
}

.expertise-section__intro p{
  margin: 0 0 14px;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.65;
  color: rgba(40,40,40,.78);
}

.expertise-section__intro p:last-child{
  margin-bottom: 0;
}

.expertise-section__intro strong{
  color: var(--dark);
  font-weight: 900;
}

/* --- Items (liste plate) --- */
.expertise-section__content > .expertise-section__list{
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.expertise-section__content > .expertise-section__list li{
  position: relative;
  padding: 14px 8px 14px 38px;
  font-size: .97rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--dark);
  border-bottom: 1px solid rgba(40,40,40,.08);
  transition: padding-left .2s ease, color .2s ease;
}

.expertise-section--alt .expertise-section__content > .expertise-section__list li{
  border-bottom-color: rgba(40,40,40,.12);
}

.expertise-section__content > .expertise-section__list li:hover{
  padding-left: 44px;
  color: var(--green);
}

.expertise-section__content > .expertise-section__list li::before{
  content: "";
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: var(--green);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='9 18 15 12 9 6'/></svg>") no-repeat center / contain;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='9 18 15 12 9 6'/></svg>") no-repeat center / contain;
}

/* --- Groupes (listes regroupées) --- */
.expertise-section__groups{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin: 28px 0 0;
}

.expertise-section__group{
  position: relative;
  background: #fff;
  border: 1px solid rgba(40,40,40,.08);
  border-left: 4px solid var(--green);
  padding: 26px 28px;
  border-radius: 0 12px 12px 0;
  transition: transform .25s ease, box-shadow .25s ease, border-left-color .25s ease;
}

.expertise-section--alt .expertise-section__group{
  background: #fff;
  border-color: rgba(40,40,40,.04);
}

.expertise-section__group:hover{
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(40,40,40,.08);
  border-left-color: var(--orange);
}

.expertise-section__subtitle{
  margin: 0 0 14px;
  padding-bottom: 12px;
  font-size: .9rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--dark);
  border-bottom: 1px solid rgba(40,40,40,.08);
}

.expertise-section__group .expertise-section__list{
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.expertise-section__group .expertise-section__list li{
  position: relative;
  padding: 10px 0 10px 28px;
  font-size: .92rem;
  font-weight: 500;
  line-height: 1.45;
  color: rgba(40,40,40,.85);
  border-bottom: 1px solid rgba(40,40,40,.06);
  transition: padding-left .2s ease, color .2s ease;
}

.expertise-section__group .expertise-section__list li:last-child{
  border-bottom: 0;
}

.expertise-section__group .expertise-section__list li:hover{
  padding-left: 32px;
  color: var(--dark);
}

.expertise-section__group .expertise-section__list li::before{
  content: "";
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  background: var(--green);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='9 18 15 12 9 6'/></svg>") no-repeat center / contain;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='9 18 15 12 9 6'/></svg>") no-repeat center / contain;
}

/* --- Autres expertises (cross-linking) --- */
.expertise-others{
  padding: clamp(56px, 8vw, 96px) 0;
  background: #fff;
}

.expertise-others__head{
  text-align: center;
  margin-bottom: clamp(36px, 4vw, 56px);
}

.expertise-others__head .section-tag{
  margin: 0 0 14px;
}

.expertise-others__title{
  margin: 0;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.01em;
  color: var(--dark);
  text-transform: uppercase;
}

.expertise-others__title mark{
  background: var(--green);
  color: var(--dark);
  padding: 2px 14px;
  border-radius: 4px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.expertise-others__grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.expertise-other-card{
  display: flex;
}

.expertise-other-card__link{
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 28px 26px;
  background: var(--beige);
  border: 1px solid transparent;
  border-radius: 14px;
  text-decoration: none;
  color: var(--dark);
  transition: transform .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.expertise-other-card__link:hover,
.expertise-other-card__link:focus-visible{
  transform: translateY(-4px);
  background: #fff;
  border-color: var(--green);
  box-shadow: 0 18px 36px rgba(40,40,40,.08);
  outline: none;
}

.expertise-other-card__title{
  margin: 0 0 12px;
  font-size: 1.12rem;
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--dark);
}

.expertise-other-card__excerpt{
  margin: 0 0 22px;
  font-size: .9rem;
  font-weight: 500;
  line-height: 1.5;
  color: rgba(40,40,40,.7);
  flex: 1;
}

.expertise-other-card__cta{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dark);
  transition: gap .2s ease, color .2s ease;
}

.expertise-other-card__link:hover .expertise-other-card__cta,
.expertise-other-card__link:focus-visible .expertise-other-card__cta{
  gap: 14px;
  color: var(--green);
}

.expertise-other-card__arrow{
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green);
  color: var(--dark);
  font-size: 1.15rem;
  line-height: 1;
  flex: 0 0 auto;
  transition: transform .2s ease;
}

.expertise-other-card__link:hover .expertise-other-card__arrow{
  transform: translateX(3px);
}

/* --- CTA final --- */
.expertise-cta{
  position: relative;
  padding: clamp(56px, 8vw, 96px) 0;
  background:
    linear-gradient(180deg, rgba(15,20,25,.55) 0%, rgba(15,20,25,.92) 100%),
    url('https://preprod.prigent-associes.com/wp-content/uploads/2026/03/footpath-amidst-buildings-against-sky-scaled.jpg')
    center / cover no-repeat;
  color: #fff;
  margin-bottom: 0;
  overflow: hidden;
}

.expertise-cta__inner{
  position: relative;
  z-index: 2;
  text-align: center;
}

.expertise-cta__title{
  margin: 0 0 18px;
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  color: #fff;
}

.expertise-cta__title mark{
  background: var(--green);
  color: var(--dark);
  padding: 2px 14px;
  border-radius: 4px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.expertise-cta__text{
  margin: 0 auto 32px;
  max-width: 48ch;
  font-size: 1.05rem;
  font-weight: 500;
  color: rgba(255,255,255,.86);
}

/* --- Responsive --- */
@media (max-width: 980px){
  .expertise-hero__inner{
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .expertise-hero__media{
    order: -1;
    max-width: 480px;
    margin: 0 auto;
  }

  .expertise-section__inner{
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .expertise-section--reverse .expertise-section__content,
  .expertise-section--reverse .expertise-section__media{
    order: initial;
  }

  .expertise-section__media{
    max-width: 480px;
    margin: 0 auto;
  }

  .expertise-section__head{
    gap: 16px;
  }

  .expertise-section__num{
    width: 48px;
    height: 48px;
    font-size: .96rem;
  }
}

@media (max-width: 600px){
  .expertise-hero{
    padding: 24px 0 48px;
  }

  .expertise-section__group{
    padding: 22px 22px;
  }

  .expertise-others__grid{
    grid-template-columns: 1fr;
  }

  .expertise-other-card__link{
    padding: 24px 22px;
  }
}

/* ==========================================
   PAGE PAR DÉFAUT (page.php / template-parts/content-page.php)
========================================== */
.default-page{
  padding-bottom: 100px;
}

.default-page__inner{
  max-width: 900px;
}

.default-page__header{
  margin-bottom: 2.5rem;
  text-align: center;
}

.default-page__title{
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--dark);
  margin: 0;
}

.default-page__content{
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-soft);
}

.default-page__content h2{
  font-size: clamp(1.5rem, 2.5vw, 1.9rem);
  font-weight: 700;
  color: var(--dark);
  margin: 2.5rem 0 1rem;
}

.default-page__content h3{
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin: 2rem 0 .75rem;
}

.default-page__content h4{
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin: 1.5rem 0 .5rem;
}

.default-page__content p{
  margin: 0 0 1.5em;
}

.default-page__content a{
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.default-page__content a:hover{
  text-decoration: none;
}

.default-page__content ul,
.default-page__content ol{
  margin: 0 0 1.5em;
  padding-left: 1.4em;
}

.default-page__content li{
  margin-bottom: .5em;
}

.default-page__content li::marker{
  color: var(--green);
}

.default-page__content blockquote{
  margin: 2em 0;
  padding: 1.25em 1.75em;
  border-left: 4px solid var(--green);
  background: var(--beige);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--dark);
}

.default-page__content img{
  border-radius: 16px;
  margin: 1.5em 0;
}

.default-page__content figcaption{
  font-size: .85rem;
  color: var(--text-soft);
  text-align: center;
  margin-top: .5em;
}

.default-page__content table{
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
}

.default-page__content th,
.default-page__content td{
  padding: .75em 1em;
  border: 1px solid var(--border-soft);
  text-align: left;
}

.default-page .page-links{
  margin-top: 2rem;
  font-weight: 700;
}

@media screen and (max-width: 600px){
  .default-page{
    padding-bottom: 60px;
  }
}
