/* Cabinet Chauvel Immobilier — feuille de styles */
/* ============================================================
   1. Design tokens
   ============================================================ */
/* Registre « quiet luxury » : noir/blanc, une seule teinte de bleu déclinée.
   N'introduire aucun autre bleu que ces trois nuances — c'est la contrainte
   qui fait la sobriété. */
:root {
	--cc-bg:          #FFFFFF;
	--cc-bg-alt:      #E9EFF4; /* Bleu pâle — sections alternées */
	--cc-card:        #FFFFFF;
	--cc-text:        #14161A; /* noir encre, jamais noir pur */
	--cc-text-soft:   #5A6273;
	--cc-text-mute:   #616877;

	--cc-accent:      #002A4A; /* bleu nuit — CTA, chiffres, liens */
	--cc-accent-mid:  #001D33; /* nuance intermédiaire — survols */
	--cc-accent-soft: #E9EFF4; /* Bleu pâle — aplats discrets */
	--cc-gold:        #C9A24B; /* doré laiton — étoiles d'avis */

	--cc-border:      #DAE3EA;
	--cc-border-dark: #2A2E36;
	--cc-footer-bg:   #14161A;
	--cc-footer-text: #FFFFFF;
	--cc-footer-soft: #A8B0BF;
	--cc-placeholder: #DAE3EA;
	--cc-on-accent:      #FFFFFF; /* texte principal sur fond marine */
	--cc-on-accent-soft: #DAE3EA; /* texte secondaire sur fond marine */

	--cc-serif: 'Cormorant Garamond', Garamond, Georgia, 'Times New Roman', serif;
	--cc-sans:  'Lora', Georgia, 'Times New Roman', serif; /* police de texte à empattement (nom conservé) */

	/* Traitement commun aux labels, eyebrows et items de navigation. */
	--cc-label-spacing: 2px;

	--cc-max:     1440px;
	--cc-gutter:  64px;
	--cc-radius:  2px;
	--cc-radius-lg: 4px;
	--cc-section: 72px;
}

/* ============================================================
   2. Reset / base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--cc-bg);
	color: var(--cc-text);
	font-family: var(--cc-sans);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--cc-accent); text-decoration: none; transition: color .18s ease; }
a:hover, a:focus-visible { color: var(--cc-text); }

h1, h2, h3, h4 {
	font-family: var(--cc-serif);
	font-weight: 600;
	line-height: 1.12;
	margin: 0;
	color: var(--cc-text);
}

p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }

:focus-visible {
	outline: 2px solid var(--cc-accent);
	outline-offset: 3px;
}

.cc-screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden; clip: rect(1px,1px,1px,1px);
	white-space: nowrap;
}

.cc-skip-link {
	position: absolute; left: -9999px; top: 0; z-index: 999;
	background: #fff; color: var(--cc-accent);
	padding: 12px 20px; font-weight: 600;
}
.cc-skip-link:focus { left: 0; color: var(--cc-accent); }

/* ============================================================
   3. Layout
   ============================================================ */
.cc-wrap {
	max-width: var(--cc-max);
	margin-inline: auto;
	padding-inline: var(--cc-gutter);
	width: 100%;
}

.cc-section { padding-block: var(--cc-section); }
.cc-section--alt { background: var(--cc-bg-alt); }

.cc-grid-3 {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
}
.cc-grid-2 {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px;
}

/* ============================================================
   4. Typographie utilitaire
   ============================================================ */
.cc-eyebrow {
	font-size: 13px;
	letter-spacing: var(--cc-label-spacing);
	font-weight: 600;
	color: var(--cc-accent);
	text-transform: uppercase;
}

.cc-h2 { font-size: 36px; }
.cc-h3 { font-size: 26px; }

.cc-lead {
	font-size: 18px;
	color: var(--cc-text-soft);
	line-height: 1.6;
}

.cc-muted { color: var(--cc-text-soft); }
.cc-meta  { font-size: 13px; color: var(--cc-text-mute); }

.cc-section-head {
	text-align: center;
	margin-bottom: 48px;
}
.cc-section-head p {
	font-size: 16px;
	color: var(--cc-text-soft);
	margin: 8px 0 0;
}

/* ============================================================
   5. Boutons
   ============================================================ */
.cc-btn {
	display: inline-block;
	font-family: var(--cc-sans);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	padding: 16px 28px;
	border-radius: var(--cc-radius);
	border: 1.5px solid transparent;
	cursor: pointer;
	transition: background .18s ease, color .18s ease, opacity .18s ease;
	text-align: center;
}
.cc-btn--sm { padding: 12px 22px; font-size: 14px; }
.cc-header__cta { white-space: nowrap; }
.cc-btn { transition: background .18s ease, color .18s ease, opacity .18s ease, transform .18s ease; }

.cc-btn--primary { background: var(--cc-accent); color: #fff; }
.cc-btn--primary:hover, .cc-btn--primary:focus-visible { opacity: .9; color: #fff; }

.cc-btn--outline { background: transparent; color: var(--cc-accent); border-color: var(--cc-accent); }
.cc-btn--outline:hover, .cc-btn--outline:focus-visible { background: var(--cc-accent); color: #fff; }

.cc-btn--light { background: #fff; color: var(--cc-accent); }
.cc-btn--light:hover, .cc-btn--light:focus-visible { opacity: .9; color: var(--cc-accent); }

/* ============================================================
   6. Header / navigation
   ============================================================ */
/* En-tête marine, pleine largeur. Tout ce qu'il contient est inversé :
   texte, liens, soulignement, bouton et menu déroulant mobile. */
.cc-header {
	border-bottom: none;
	background: var(--cc-accent);
	position: sticky;
	top: 0;
	z-index: 100;
}
body.admin-bar .cc-header { top: 32px; }

.cc-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	padding-block: 15px;
}

.cc-brand {
	font-family: var(--cc-serif);
	font-size: 25px;
	font-weight: 600;
	color: var(--cc-on-accent);
	white-space: nowrap;
}
.cc-brand:hover { color: var(--cc-on-accent-soft); }
.cc-brand img { max-height: 48px; width: auto; }

/* Navigation en casse normale : lisible, sombre, sur une seule ligne.
   Les sur-titres (.cc-eyebrow) gardent, eux, les petites capitales espacées. */
.cc-nav ul {
	list-style: none;
	margin: 0; padding: 0;
	display: flex;
	gap: clamp(18px, 1.9vw, 28px);
	font-size: 15px;
	font-weight: 400;
	text-transform: none;
	letter-spacing: normal;
}
.cc-nav a { color: var(--cc-on-accent-soft); white-space: nowrap; }
.cc-nav a:hover { color: var(--cc-on-accent); }
.cc-nav .current-menu-item > a,
.cc-nav .current_page_item > a { color: var(--cc-on-accent); font-weight: 600; }

.cc-nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	background: transparent;
	border: 1px solid rgb(255 255 255 / .38);
	border-radius: var(--cc-radius);
	padding: 0 12px;
	cursor: pointer;
	color: var(--cc-on-accent);
}
.cc-nav-toggle svg { display: block; }

/* ============================================================
   7. Hero
   ============================================================ */

/* Bandeau d'ouverture : hero + bandeau de confiance sur une photo de fond,
   affichee en pleine intensite. La lisibilite ne depend plus de l'image : le
   texte repose sur un panneau blanc plein, le bandeau de confiance sur une
   bande blanche pleine largeur. Le blanc plein donne 14:1 sur le texte encre. */
.cc-hero-band { position: relative; }
.cc-hero-band.has-bg {
	background-color: var(--cc-bg-alt);
	overflow: hidden; /* la bande blanche du bandeau de confiance deborde volontairement */
}
/* Photo du salon (banque d'images, grilles d'aération retouchées) : centrée et
   cadrée un peu sous le milieu pour montrer le canapé. `cover` garantit
   qu'aucun vide n'apparaît, quelle que soit la hauteur de l'écran. */
.cc-hero-band.has-bg::before {
	content: '';
	position: absolute;
	top: 0; bottom: 0; left: 0;
	width: 100%;
	background: var(--cc-hero-bg) 50% 63% / cover no-repeat;
	z-index: 0;
}
/* Écran en hauteur (téléphone, tablette tenue droite) : photo verticale dédiée
   (salle à manger, fauteuils bleus), cadrée vers le bas. */
@media (orientation: portrait) {
	.cc-hero-band.has-bg::before { background-image: var(--cc-hero-bg-portrait, var(--cc-hero-bg)); background-position: 50% 55%; }
}
.cc-hero-band.has-bg > .cc-hero,
.cc-hero-band.has-bg > .cc-trust { position: relative; z-index: 1; }
/* Rectangle bleu nuit très transparent, texte blanc en gras. */
.cc-hero-band.has-bg .cc-hero__col {
	background: rgb(0 42 74 / .5);
	color: #fff;
	padding: clamp(22px, 3.4vh, 40px) clamp(24px, 3vw, 44px);
	box-shadow: 0 12px 40px rgb(20 22 26 / .14);
}
.cc-hero-band.has-bg .cc-hero__col h1 { color: #fff; font-weight: 700; }
.cc-hero-band.has-bg .cc-hero__col .cc-lead,
.cc-hero-band.has-bg .cc-hero__col .cc-eyebrow { color: #fff; font-weight: 600; }
.cc-hero-band.has-bg .cc-hero__col .cc-btn { font-weight: 600; }
.cc-hero-band.has-bg .cc-hero__col .cc-btn--primary { background: #fff; color: var(--cc-accent); }
.cc-hero-band.has-bg .cc-hero__col .cc-btn--primary:hover,
.cc-hero-band.has-bg .cc-hero__col .cc-btn--primary:focus-visible { color: var(--cc-accent); }
.cc-hero-band.has-bg .cc-hero__col .cc-btn--outline { color: #fff; border-color: #fff; }
.cc-hero-band.has-bg .cc-hero__col .cc-btn--outline:hover,
.cc-hero-band.has-bg .cc-hero__col .cc-btn--outline:focus-visible { background: #fff; color: var(--cc-accent); }
/* Un seul écran à l'arrivée : le bandeau occupe la hauteur restante sous
   l'en-tête (mesurée par navigation.js). Le rectangle de texte est centré dans
   l'espace libre, le bandeau de confiance reste collé en bas. Rien de la section
   suivante ne dépasse. Plancher de 520 px pour les écrans très courts. */
.cc-hero-band.has-bg {
	display: flex;
	flex-direction: column;
	min-height: max(520px, calc(100vh - var(--cc-header-h, 88px)));
}
@supports (height: 100svh) {
	.cc-hero-band.has-bg { min-height: max(520px, calc(100svh - var(--cc-header-h, 88px))); }
}
.cc-hero-band.has-bg .cc-hero { flex: 1 0 auto; }
.cc-hero-band.has-bg .cc-hero { padding-block: clamp(20px, 4vh, 48px); }
.cc-hero-band.has-bg .cc-hero--solo .cc-hero__col { max-width: 820px; }
.cc-hero-band.has-bg .cc-trust {
	background: #fff;
	padding-block: 9px;
	gap: 20px;
	/* Bande blanche pleine largeur, sans quitter le conteneur centre. */
	box-shadow: 0 0 0 100vmax #fff;
	clip-path: inset(0 -100vmax);
}
/* Bande de confiance compacte : chiffre et libellé sur une seule ligne,
   pour laisser le maximum de hauteur à la photo. */
@media (min-width: 601px) {
	.cc-hero-band.has-bg .cc-trust__stats { gap: 36px; }
	.cc-hero-band.has-bg .cc-trust__stat { display: flex; align-items: baseline; gap: 8px; }
	.cc-hero-band.has-bg .cc-trust__num { font-size: 21px; }
	.cc-hero-band.has-bg .cc-trust__label { font-size: 12px; max-width: none; }
	.cc-hero-band.has-bg .cc-trust__rating { font-size: 14px; }
	.cc-hero-band.has-bg .cc-trust__sep { height: 20px; }
}

/* Hauteurs fluides : le bandeau de confiance doit rester au-dessus de la
   ligne de flottaison, y compris sur un portable 1440 × 720. */
.cc-hero {
	display: flex;
	gap: 56px;
	align-items: center;
	padding-block: clamp(26px, 4.5vh, 64px);
}
.cc-hero__col {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 20px;
	min-width: 0;
}
.cc-hero h1 { font-size: clamp(36px, 3.2vw, 58px); }

/* Hero sans photo : pleine largeur, texte contenu à une mesure lisible. */
.cc-hero--solo { padding-block: clamp(48px, 8vh, 104px); }
.cc-hero--solo .cc-hero__col { max-width: 880px; gap: 24px; }
.cc-hero--solo h1 { font-size: clamp(38px, 4vw, 66px); }
.cc-hero__actions { display: flex; gap: 16px; margin-top: 4px; flex-wrap: wrap; }

.cc-hero__media {
	flex: 1;
	min-width: 0;
	position: relative;
}
/* Filet or décalé derrière la photo — détail de finition. */
.cc-hero__media::before {
	content: "";
	position: absolute;
	inset: 18px -18px -18px 18px;
	border: 1px solid var(--cc-accent-soft);
	border-radius: var(--cc-radius-lg);
}
.cc-hero__media > * { position: relative; z-index: 1; }
.cc-hero__media img {
	width: 100%;
	height: clamp(250px, 44vh, 440px);
	object-fit: cover;
	border-radius: var(--cc-radius-lg);
}
.cc-placeholder {
	background: var(--cc-border);
	border-radius: var(--cc-radius-lg);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--cc-text-soft);
	font-size: 14px;
	text-align: center;
	padding: 16px;
}
.cc-hero__media .cc-placeholder { height: clamp(250px, 44vh, 440px); }

/* ============================================================
   8. Bandeau de confiance
   ============================================================ */
.cc-trust {
	display: flex;
	align-items: center;
	gap: 32px;
	flex-wrap: wrap;
	padding-bottom: clamp(22px, 4vh, 48px);
}
/* Ligne avis : texte simple, volontairement distinct du style des stats. */
.cc-trust__rating {
	margin: 0;
	font-family: var(--cc-sans);
	font-size: 15px;
	font-weight: 600;
	color: var(--cc-text);
}
.cc-trust__rating .cc-stars { color: var(--cc-gold); letter-spacing: 1px; }
.cc-trust__rating a { color: inherit; }
.cc-trust__rating a:hover,
.cc-trust__rating a:focus-visible { color: var(--cc-accent); text-decoration: underline; }

.cc-trust__sep { flex: 0 0 auto; width: 1px; height: 32px; background: var(--cc-border); }

/* Stats groupées : chiffre display au-dessus, libellé gris en dessous. */
.cc-trust__stats { display: flex; gap: 48px; flex-wrap: wrap; }
.cc-trust__num {
	font-family: var(--cc-serif);
	font-size: 28px;
	font-weight: 600;
	color: var(--cc-accent);
}
.cc-trust__label { font-size: 13px; color: var(--cc-text-soft); max-width: 200px; }

/* ============================================================
   9. Double entrée investisseur / vendeur
   ============================================================ */
.cc-doors { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 32px; }

.cc-door {
	background: var(--cc-card);
	border: 1px solid var(--cc-border);
	border-radius: var(--cc-radius-lg);
	padding: 40px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.cc-door h3 { font-size: 30px; }
.cc-door p { color: var(--cc-text-soft); font-size: 15px; margin: 0; }
.cc-door ul {
	list-style: none;
	margin: 0; padding: 0;
	display: flex; flex-direction: column; gap: 10px;
	font-size: 15px; color: var(--cc-text-soft);
}
.cc-door li { display: flex; gap: 10px; align-items: flex-start; }
.cc-door li::before {
	content: "";
	flex: 0 0 auto;
	width: 7px; height: 7px;
	margin-top: 9px;
	border-radius: 50%;
	background: var(--cc-accent);
}
.cc-door .cc-btn { align-self: flex-start; margin-top: 8px; }

/* ============================================================
   10. Piliers méthode
   ============================================================ */
.cc-pillars { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 40px; }
.cc-pillar__num {
	font-family: var(--cc-serif);
	font-size: 46px;
	font-weight: 500;
	color: var(--cc-accent);
}
.cc-pillar__title { font-size: 18px; font-weight: 600; margin: 8px 0; font-family: var(--cc-sans); }
.cc-pillar p { font-size: 14px; color: var(--cc-text-soft); line-height: 1.6; }

/* ============================================================
   11. Partenaires — conservé pour la page Recherche investisseur
        (retiré de l'accueil, cf. brief section « Réseau en appui »)
   ============================================================ */
.cc-partner {
	background: var(--cc-card);
	border: 1px solid var(--cc-border);
	border-radius: var(--cc-radius-lg);
	padding: 28px;
}
.cc-partner__role {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .5px;
	text-transform: uppercase;
	color: var(--cc-accent);
}
.cc-partner__name { font-size: 18px; font-weight: 600; margin: 8px 0; font-family: var(--cc-sans); }
.cc-partner p { font-size: 14px; color: var(--cc-text-soft); }

/* ============================================================
   12. Articles
   ============================================================ */
.cc-articles-head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 24px;
	margin-bottom: 40px;
	flex-wrap: wrap;
}
.cc-articles-head h2 { font-size: 34px; }

.cc-card-post { display: flex; flex-direction: column; gap: 12px; position: relative; }
.cc-card-post__thumb {
	height: 200px;
	background: var(--cc-placeholder);
	border-radius: 6px;
	overflow: hidden;
}
.cc-card-post__thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Cadrage des vignettes : le cadre est large (≈ 2:1), la photo est donc recadrée
   en hauteur. On choisit la bande utile de chaque photo, par catégorie d'article
   (classe category-… ajoutée par WordPress). Le reste de la photo s'affiche sur la page de l'article. */
.category-fiscalite-investisseur .cc-card-post__thumb img { object-position: center 90%; } /* salon : on descend sur les meubles */
.category-marche-grand-ouest .cc-card-post__thumb img { object-position: center 42%; }     /* tour et voilier ensemble */
.category-guide-pratique .cc-card-post__thumb img { object-position: center 70%; }         /* canal et bateaux, moins de ciel */
.cc-card-post__cat {
	font-size: 12px;
	font-weight: 600;
	color: var(--cc-accent);
	text-transform: uppercase;
	letter-spacing: .5px;
}
.cc-card-post__title { font-size: 16px; font-weight: 600; line-height: 1.4; font-family: var(--cc-sans); }
.cc-card-post__title a { color: var(--cc-text); }
.cc-card-post__title a:hover { color: var(--cc-accent); }

/* Carte entièrement cliquable (image, catégorie, titre, date) avec un seul lien :
   le lien du titre est étiré sur toute la carte. Un seul lien pour les lecteurs
   d'écran et le clavier, pas de doublon. */
.cc-card-post__title a::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
}
.cc-card-post:hover .cc-card-post__title a { color: var(--cc-accent); }
.cc-card-post__title a:focus-visible { outline: none; }
.cc-card-post:has(.cc-card-post__title a:focus-visible) {
	outline: 2px solid var(--cc-accent);
	outline-offset: 8px;
	border-radius: 6px;
}

/* ============================================================
   13. Avis
   ============================================================ */
.cc-review {
	background: var(--cc-card);
	border: 1px solid var(--cc-border);
	border-radius: var(--cc-radius-lg);
	padding: 24px;
}
.cc-review blockquote {
	margin: 0;
	font-size: 14px;
	font-style: italic;
	line-height: 1.6;
}
.cc-review figcaption { font-size: 13px; color: var(--cc-text-mute); margin-top: 16px; }

/* Carrousel d'avis : défilement natif, sans autoplay. Les flèches et les
   points sont ajoutés par assets/js/carousel.js ; sans JavaScript, la
   rangée reste défilable au doigt, à la souris et au clavier. */
.cc-carousel__track {
	display: flex;
	gap: 24px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: 2px;
	padding: 4px 2px 10px;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}
.cc-carousel__track::-webkit-scrollbar { display: none; }
.cc-carousel__track:focus-visible { outline: 2px solid var(--cc-accent); outline-offset: 4px; }

.cc-carousel .cc-review {
	flex: 0 0 calc((100% - 72px) / 4); /* 4 avis par page */
	scroll-snap-align: start;
	margin: 0;
	display: flex;
	flex-direction: column;
	padding: 24px;
	box-shadow: 0 6px 24px rgb(20 22 26 / .06);
}
.cc-review__stars {
	margin: 0 0 14px;
	font-size: 18px;
	letter-spacing: 3px;
	line-height: 1;
	color: var(--cc-gold);
}
.cc-carousel .cc-review blockquote {
	font-style: normal;
	font-size: 15px;
	line-height: 1.65;
	color: var(--cc-text);
	flex: 1 1 auto;
}
/* Avis long : replié sur 6 lignes tant que « Lire la suite » n'est pas cliqué. */
.cc-carousel .cc-review.is-long:not(.is-open) blockquote {
	display: -webkit-box;
	-webkit-line-clamp: 6;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.cc-carousel .cc-review figcaption {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin-top: 20px;
	padding-top: 16px;
	border-top: 1px solid var(--cc-border);
	color: var(--cc-text-mute);
}
.cc-carousel .cc-review figcaption strong { font-size: 15px; color: var(--cc-accent); font-weight: 600; }
.cc-review__more {
	align-self: flex-start;
	margin-top: 12px;
	padding: 0;
	background: none;
	border: 0;
	border-bottom: 1px solid currentColor;
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	color: var(--cc-accent);
	cursor: pointer;
}

.cc-carousel__nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	margin-top: 26px;
}
.cc-carousel__arrow {
	width: 44px; height: 44px;
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--cc-card);
	border: 1px solid var(--cc-border);
	border-radius: 50%;
	color: var(--cc-accent);
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.cc-carousel__arrow:hover:not(:disabled),
.cc-carousel__arrow:focus-visible { background: var(--cc-accent); color: #fff; border-color: var(--cc-accent); }
.cc-carousel__arrow:disabled { opacity: .35; cursor: default; }
.cc-carousel__dots { display: flex; gap: 4px; }
.cc-carousel__dot {
	/* Zone cliquable de 24 px pour un point de 10 px. */
	width: 24px; height: 24px;
	display: inline-flex; align-items: center; justify-content: center;
	background: none; border: 0; padding: 0; cursor: pointer;
}
.cc-carousel__dot::before {
	content: '';
	width: 9px; height: 9px;
	border-radius: 50%;
	background: var(--cc-border);
	transition: background .18s ease, transform .18s ease;
}
.cc-carousel__dot:hover::before { background: var(--cc-text-mute); }
.cc-carousel__dot[aria-current="true"]::before { background: var(--cc-accent); transform: scale(1.3); }
.cc-carousel__dot:focus-visible { outline: 2px solid var(--cc-accent); outline-offset: 1px; border-radius: 50%; }

@media (max-width: 1000px) {
	.cc-carousel .cc-review { flex-basis: calc((100% - 24px) / 2); }
}
.cc-carousel__count { display: none; font-size: 14px; color: var(--cc-text-mute); min-width: 4.5em; text-align: center; }

@media (max-width: 640px) {
	/* Un avis par page : 12 points ne tiennent pas, on affiche « 3 / 12 ». */
	.cc-carousel__dots { display: none; }
	.cc-carousel__count { display: inline-block; }
	.cc-carousel__track { gap: 16px; }
	.cc-carousel .cc-review { flex-basis: 88%; padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
	.cc-carousel__track { scroll-behavior: auto; }
}

/* ============================================================
   14. CTA final
   ============================================================ */
.cc-cta {
	background: var(--cc-accent);
	color: #fff;
	padding-block: 64px;
	text-align: center;
}
.cc-cta h2 { color: #fff; font-size: 36px; margin-bottom: 12px; }
.cc-cta p { font-size: 16px; opacity: .9; margin-bottom: 28px; }

/* ============================================================
   15. Footer
   ============================================================ */
.cc-footer {
	background: var(--cc-footer-bg);
	color: var(--cc-footer-text);
	padding-block: 56px;
}
.cc-footer__cols {
	display: flex;
	justify-content: space-between;
	gap: 48px;
	flex-wrap: wrap;
}
.cc-footer__col { flex: 1; min-width: 220px; }
.cc-footer__brand {
	font-family: var(--cc-serif);
	font-size: 23px;
	font-weight: 600;
	margin-bottom: 12px;
	color: var(--cc-footer-text);
}
.cc-footer, .cc-footer p, .cc-footer li { font-size: 14px; color: var(--cc-footer-soft); line-height: 1.6; }
.cc-footer a { color: var(--cc-footer-soft); }
.cc-footer a:hover { color: #fff; }
.cc-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.cc-footer__bottom {
	border-top: 1px solid var(--cc-border-dark);
	padding-top: 20px;
	margin-top: 32px;
	font-size: 13px;
	color: var(--cc-footer-soft);
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 10px 24px;
}
.cc-footer .cc-footer__legal { flex-direction: row; flex-wrap: wrap; gap: 6px 20px; }
.cc-footer .cc-footer__legal li { font-size: 13px; }

/* ============================================================
   15 bis. Interactions & finitions
   ============================================================ */

/* --- Boutons : très léger soulèvement --- */
.cc-btn:hover, .cc-btn:focus-visible { transform: translateY(-1px); }
.cc-btn:active { transform: translateY(0); }

/* --- Navigation : soulignement qui se déploie --- */
.cc-nav a { position: relative; padding-block: 4px; }
.cc-nav a::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 1.5px;
	background: var(--cc-on-accent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .22s ease;
}
.cc-nav a:hover::after, .cc-nav a:focus-visible::after { transform: scaleX(1); }
.cc-nav .current-menu-item > a::after,
.cc-nav .current_page_item > a::after { transform: scaleX(1); }

/* --- Cartes investisseur / vendeur --- */
.cc-door {
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.cc-door:hover, .cc-door:focus-within {
	transform: translateY(-4px);
	border-color: var(--cc-accent);
	box-shadow: 0 18px 40px -22px rgba(31, 42, 36, .45);
}
.cc-door__media {
	height: 190px;
	margin: -40px -40px 8px;
	border-radius: var(--cc-radius-lg) var(--cc-radius-lg) 0 0;
	overflow: hidden;
	background: var(--cc-placeholder);
}
.cc-door__media img {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform .5s ease;
}
.cc-door:hover .cc-door__media img { transform: scale(1.04); }

/* --- Stats du bandeau de confiance --- */
.cc-trust__stat { transition: transform .2s ease; }
.cc-trust__stat:hover { transform: translateY(-2px); }
.cc-trust__num { transition: color .2s ease; }
.cc-trust__stat:hover .cc-trust__num { color: var(--cc-accent-mid); }

/* --- Cartes articles : zoom discret sur la vignette --- */
.cc-card-post__thumb img { transition: transform .5s ease; }
.cc-card-post:hover .cc-card-post__thumb img { transform: scale(1.05); }
.cc-card-post__title a { transition: color .2s ease; }

/* --- Cartes avis & partenaires --- */
.cc-review, .cc-partner {
	transition: transform .25s ease, box-shadow .25s ease;
}
.cc-review:hover, .cc-partner:hover {
	transform: translateY(-3px);
	box-shadow: 0 14px 32px -20px rgba(31, 42, 36, .4);
}

/* --- Apparition au défilement --- */
/* Conditionné à .cc-js : sans JavaScript, rien n'est masqué.
   Animation et non transition : une transition sur .cc-reveal écraserait
   celle du survol des cartes (même propriété `transition`). Le JS retire
   les classes une fois l'animation finie, pour ne rien laisser derrière. */
.cc-js .cc-reveal { opacity: 0; }
.cc-js .cc-reveal.is-visible { animation: cc-reveal-in .55s ease both; }
.cc-js .cc-reveal.is-visible:nth-child(2) { animation-delay: .08s; }
.cc-js .cc-reveal.is-visible:nth-child(3) { animation-delay: .16s; }

@keyframes cc-reveal-in {
	from { opacity: 0; transform: translateY(18px); }
	to   { opacity: 1; transform: none; }
}

/* --- Respect des préférences système --- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: .01ms !important;
		transition-duration: .01ms !important;
	}
	.cc-js .cc-reveal { opacity: 1; animation: none; }
	.cc-btn:hover, .cc-door:hover, .cc-review:hover,
	.cc-partner:hover, .cc-trust__stat:hover { transform: none; }
	.cc-door:hover .cc-door__media img,
	.cc-card-post:hover .cc-card-post__thumb img { transform: none; }
}

/* ============================================================
   16. Contenu éditorial (pages / articles)
   ============================================================ */
.cc-entry { max-width: 760px; margin-inline: auto; }
.cc-entry h1 { font-size: 46px; margin-bottom: 24px; }
.cc-entry h2 { font-size: 33px; margin: 40px 0 16px; }
.cc-entry h3 { font-size: 26px; margin: 32px 0 12px; }
.cc-entry ul, .cc-entry ol { padding-left: 22px; margin: 0 0 1.2em; }
.cc-entry li { margin-bottom: 8px; }
.cc-entry blockquote {
	border-left: 2px solid var(--cc-accent);
	margin: 24px 0;
	padding: 4px 0 4px 20px;
	font-style: italic;
	color: var(--cc-text-soft);
}
.cc-entry img { border-radius: var(--cc-radius-lg); margin-block: 24px; }
.cc-entry table { width: 100%; border-collapse: collapse; margin-block: 24px; }
.cc-entry th, .cc-entry td { border: 1px solid var(--cc-border); padding: 10px 14px; text-align: left; }
.cc-entry th { background: var(--cc-bg-alt); font-weight: 600; }

/* Pages légales : titres d'articles plus sobres, lecture continue. */
.cc-entry--legal h1 { font-size: 40px; }
.cc-entry--legal h2 { font-size: 24px; margin: 44px 0 14px; scroll-margin-top: 96px; }
.cc-entry--legal h3 { font-size: 19px; margin: 28px 0 10px; }
.cc-entry--legal td, .cc-entry--legal th { font-size: 15px; line-height: 1.5; vertical-align: top; }
@media (max-width: 640px) {
	.cc-entry--legal h1 { font-size: 30px; }
	.cc-entry--legal h2 { font-size: 21px; }
	/* Tableau à 4 colonnes : chaque ligne devient une fiche, sans défilement horizontal. */
	.cc-table-stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.cc-table-stack, .cc-table-stack tbody, .cc-table-stack tr, .cc-table-stack td { display: block; width: 100%; }
	.cc-table-stack tr { border: 1px solid var(--cc-border); border-radius: var(--cc-radius); margin-bottom: 14px; overflow: hidden; }
	.cc-table-stack td { border: 0; border-top: 1px solid var(--cc-border); padding: 10px 14px; }
	.cc-table-stack td:first-child { border-top: 0; background: var(--cc-bg-alt); font-weight: 600; }
	.cc-table-stack td::before { content: attr(data-label); display: block; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--cc-text-mute); font-weight: 400; margin-bottom: 2px; }
}

/* ============================================================
   16 ter. Page Honoraires — une colonne centrée, beaucoup d'air
   ============================================================ */
.cc-fee__wrap { max-width: 820px; }
.cc-fee-hero { background: var(--cc-bg-alt); padding-block: 96px 72px; text-align: center; }
.cc-fee-hero h1 { font-size: 56px; font-weight: 500; margin: 16px 0 24px; }
.cc-fee-hero .cc-lead { max-width: 640px; margin: 0 auto 40px; font-size: 17px; }
.cc-fee-nav { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 16px; font-size: 15px; }
.cc-fee-nav span { color: var(--cc-text-mute); }
.cc-fee-nav a { border-bottom: 1px solid transparent; padding-bottom: 2px; }
.cc-fee-nav a:hover, .cc-fee-nav a:focus-visible { border-bottom-color: var(--cc-accent); color: var(--cc-accent); }

.cc-fee { padding-block: 104px; scroll-margin-top: 64px; }
.cc-fee + .cc-fee { border-top: 1px solid var(--cc-border); }
.cc-fee__kicker {
	display: flex; align-items: center; gap: 14px;
	font-size: 12px; letter-spacing: var(--cc-label-spacing); text-transform: uppercase;
	font-weight: 600; color: var(--cc-accent); margin-bottom: 18px;
}
.cc-fee__kicker span { font-family: var(--cc-serif); font-size: 20px; letter-spacing: 0; font-weight: 500; color: var(--cc-gold); }
.cc-fee h2 { font-size: 42px; font-weight: 500; margin-bottom: 16px; }
.cc-fee__sub { color: var(--cc-text-soft); font-size: 17px; max-width: 680px; margin-bottom: 48px; }

.cc-fee-table { width: 100%; border-collapse: collapse; margin: 0 0 20px; }
.cc-fee-table + .cc-fee__who + .cc-fee-table, .cc-fee__who + .cc-fee-table { margin-top: 64px; }
.cc-fee-table caption { text-align: left; font-family: var(--cc-serif); font-size: 26px; font-weight: 500; padding-bottom: 20px; }
.cc-fee-table thead th {
	font-size: 11px; letter-spacing: 1.8px; text-transform: uppercase; font-weight: 600;
	color: var(--cc-text-mute); text-align: left; padding: 0 0 14px;
	border-bottom: 1px solid var(--cc-text);
}
.cc-fee-table thead th:last-child, .cc-fee-table td { text-align: right; }
.cc-fee-table tbody tr { border-bottom: 1px solid var(--cc-border); }
.cc-fee-table tbody th { font-weight: 400; font-size: 16px; text-align: left; padding: 22px 24px 22px 0; color: var(--cc-text); }
.cc-fee-table td { padding: 16px 0; white-space: nowrap; font-family: var(--cc-serif); font-size: 30px; font-weight: 500; color: var(--cc-accent); line-height: 1.2; }
.cc-fee-table td { font-variant-numeric: lining-nums tabular-nums; }
.cc-fee h2 + .cc-fee-table, .cc-fee h2 + .cc-fee-conds { margin-top: 40px; }
.cc-fee-table td span { display: block; font-family: var(--cc-sans); font-size: 13px; color: var(--cc-text-mute); white-space: normal; }

.cc-fee__who { font-size: 15px; color: var(--cc-text-soft); font-style: italic; margin: 0; }
.cc-fee__note { margin-top: 48px; padding-left: 24px; border-left: 2px solid var(--cc-gold); }
.cc-fee__note p { color: var(--cc-text-soft); font-size: 16px; line-height: 1.75; }
.cc-fee__label { font-family: var(--cc-serif); font-size: 21px; font-weight: 600; color: var(--cc-text) !important; margin-bottom: 8px; }
.cc-fee__fine { margin-top: 40px; font-size: 14px; color: var(--cc-text-mute); line-height: 1.7; }

.cc-fee-conds { margin: 0; }
.cc-fee-conds div { display: grid; grid-template-columns: 240px 1fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--cc-border); }
.cc-fee-conds div:first-child { border-top: 1px solid var(--cc-text); }
.cc-fee-conds dt { font-family: var(--cc-serif); font-size: 21px; font-weight: 600; }
.cc-fee-conds dd { margin: 0; color: var(--cc-text-soft); line-height: 1.7; }

@media (max-width: 600px) {
	.cc-fee-hero { padding-block: 56px 48px; }
	.cc-fee-hero h1 { font-size: 38px; }
	.cc-fee { padding-block: 64px; }
	.cc-fee h2 { font-size: 30px; }
	.cc-fee__sub { margin-bottom: 32px; font-size: 16px; }
	.cc-fee-table tbody th { font-size: 15px; padding-right: 12px; }
	.cc-fee-table td { font-size: 24px; }
	.cc-fee-conds div { grid-template-columns: 1fr; gap: 6px; }
}

/* ============================================================
   16 quater. Documents juridiques — sobre, encre noire, façon acte
   ============================================================ */
.cc-doc { --cc-ink: #14161A; --cc-rule: #CFD3D9; padding-block: 72px 88px; color: var(--cc-ink); }
.cc-doc__wrap { max-width: 820px; }
.cc-doc a { color: var(--cc-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.cc-doc a:hover { color: var(--cc-text-soft); }

.cc-doc__head {
	text-align: center;
	border-top: 1px solid var(--cc-ink);
	border-bottom: 4px double var(--cc-ink);
	padding: 44px 0 40px;
}
.cc-doc__issuer { font-size: 11px; letter-spacing: 4px; text-transform: uppercase; color: var(--cc-text-soft); margin-bottom: 20px; }
.cc-doc__head h1 {
	font-size: 38px; font-weight: 500; line-height: 1.2;
	text-transform: uppercase; letter-spacing: .06em;
	color: var(--cc-ink); margin: 0 auto 18px; max-width: 640px;
}
.cc-doc__ref { font-style: italic; font-size: 14px; color: var(--cc-text-soft); margin: 0; }

.cc-doc__toc { margin: 48px 0 16px; }
.cc-doc__toc-title { font-size: 11px; letter-spacing: 4px; text-transform: uppercase; color: var(--cc-text-soft); margin-bottom: 16px; }
.cc-doc__toc ol { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 48px; }
.cc-doc__toc li { break-inside: avoid; border-bottom: 1px solid var(--cc-rule); }
.cc-doc .cc-doc__toc a { display: flex; gap: 14px; padding: 10px 0; font-size: 15px; text-decoration: none; }
.cc-doc .cc-doc__toc a:hover { color: var(--cc-text-soft); }
.cc-doc__toc a span { flex: 0 0 48px; font-family: var(--cc-serif); font-size: 16px; color: var(--cc-text-soft); font-variant-numeric: lining-nums; }

.cc-doc__art {
	display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 32px;
	padding: 26px 0; border-top: 1px solid var(--cc-rule);
	scroll-margin-top: 72px;
}
.cc-doc__toc + .cc-doc__art { border-top: 0; }
.cc-doc__num {
	margin: 0; font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--cc-text-soft);
	display: flex; flex-direction: column; gap: 2px;
}
.cc-doc__num span {
	font-family: var(--cc-serif); font-size: 34px; font-weight: 400; letter-spacing: 0;
	line-height: 1; color: var(--cc-ink); font-variant-numeric: lining-nums;
}
.cc-doc__body h2 {
	font-family: var(--cc-sans); font-size: 14px; font-weight: 600;
	text-transform: uppercase; letter-spacing: .14em; line-height: 1.5;
	color: var(--cc-ink); margin: 4px 0 12px;
}
.cc-doc__body h3 { font-family: var(--cc-sans); font-size: 15px; font-weight: 600; font-style: italic; margin: 18px 0 6px; color: var(--cc-ink); }
.cc-doc__body p, .cc-doc__body li {
	font-size: 16px; line-height: 1.7; color: var(--cc-ink);
	text-align: justify; hyphens: auto; -webkit-hyphens: auto;
}
.cc-doc__body p { margin-bottom: .75em; }
/* Blocs d'adresse ou de coordonnées (lignes forcées) : alignés à gauche, pas justifiés. */
.cc-doc__body p:has(br) { text-align: left; }
.cc-doc__body p:last-child { margin-bottom: 0; }
.cc-doc__body ul { list-style: none; padding: 0; margin: 0 0 .75em; }
.cc-doc__body li { position: relative; padding-left: 28px; margin-bottom: 4px; }
.cc-doc__body li::before { content: "—"; position: absolute; left: 0; color: var(--cc-text-soft); }
.cc-doc__body strong { font-weight: 600; }
.cc-doc__body table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 14px; }
.cc-doc__body th, .cc-doc__body td { border: 0; border-bottom: 1px solid var(--cc-rule); padding: 12px 12px 12px 0; text-align: left; vertical-align: top; line-height: 1.6; }
.cc-doc__body thead th { border-bottom: 1px solid var(--cc-ink); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; }

.cc-doc__end { text-align: center; border-top: 4px double var(--cc-ink); padding-top: 24px; margin-top: 4px; }
.cc-doc__end p { font-size: 11px; letter-spacing: 4px; text-transform: uppercase; color: var(--cc-text-soft); margin: 0; }

@media (max-width: 700px) {
	.cc-doc { padding-block: 40px 64px; }
	.cc-doc__head { padding: 32px 0 28px; }
	.cc-doc__head h1 { font-size: 26px; }
	.cc-doc__toc { margin-top: 36px; }
	.cc-doc__toc ol { columns: 1; }
	.cc-doc__art { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 22px 0; }
	.cc-doc__num { flex-direction: row; align-items: baseline; gap: 10px; }
	.cc-doc__num span { font-size: 26px; }
	.cc-doc__body p, .cc-doc__body li { text-align: left; font-size: 15.5px; }
	.cc-doc__body .cc-table-stack tr { border-color: var(--cc-rule); border-radius: 0; }
	.cc-doc__body .cc-table-stack td { padding: 10px 14px; border-bottom: 0; border-top: 1px solid var(--cc-rule); }
	.cc-doc__body .cc-table-stack td:first-child { border-top: 0; background: #F2F3F5; }
}

@media print {
	.cc-header, .cc-footer, .cc-wa, .cc-skip-link, .cc-doc__toc { display: none !important; }
	.cc-doc { padding: 0; }
	.cc-doc__art { padding: 18pt 0; break-inside: avoid-page; }
	.cc-doc__body p, .cc-doc__body li { font-size: 10.5pt; line-height: 1.6; }
	.cc-doc a { text-decoration: none; }
}

.cc-pagination { display: flex; gap: 8px; justify-content: center; margin-top: 48px; flex-wrap: wrap; }
.cc-pagination .page-numbers {
	padding: 10px 16px;
	border: 1px solid var(--cc-border);
	border-radius: var(--cc-radius);
	background: var(--cc-card);
}
.cc-pagination .current { background: var(--cc-accent); color: #fff; border-color: var(--cc-accent); }

/* ============================================================
   17. Responsive
   ============================================================ */

/* Écrans courts (portables 1366×768 et moins) : on comprime le hero pour
   que le bandeau de confiance reste visible sans défiler. */
@media (min-width: 901px) and (max-height: 760px) {
	.cc-hero { padding-block: 24px; gap: 40px; }
	.cc-hero__col { gap: 12px; }
	.cc-hero .cc-eyebrow { font-size: 12px; letter-spacing: 1.5px; }
	.cc-hero h1 { font-size: clamp(29px, 2.5vw, 42px); }
	.cc-hero .cc-lead { font-size: 16px; }
	.cc-hero__media img,
	.cc-hero__media .cc-placeholder { height: clamp(215px, 32vh, 290px); }
	.cc-hero__actions .cc-btn { padding: 13px 24px; }
	.cc-trust { padding-bottom: 16px; gap: 24px; }
	.cc-trust__stats { gap: 32px; }
	.cc-hero-band.has-bg .cc-hero { padding-block: 16px; }
	.cc-hero-band.has-bg .cc-hero__col { padding: 18px 28px; }
	.cc-hero-band.has-bg .cc-trust { padding-block: 12px; }
}

@media (max-width: 1100px) {
	:root { --cc-gutter: 40px; --cc-section: 56px; }
	.cc-hero { gap: 40px; padding-block: 64px; }
	.cc-hero h1 { font-size: 40px; }
	.cc-trust__stats { gap: 32px; }
}

/* Seuil de bascule du menu : calé sur la largeur réelle de la barre
   (marque + nav + bouton). Avec 5 libellés courts la nav tient jusqu'à ~980 px.
   Rallonger les libellés dans wp-admin oblige à remonter ce seuil. */
@media (max-width: 1000px) {
	.cc-header__inner { position: relative; }
	.cc-nav-toggle { display: inline-flex; }
	.cc-nav {
		display: none;
		position: absolute;
		left: 0; right: 0; top: 100%;
		background: var(--cc-accent);
		border-top: 1px solid rgb(255 255 255 / .18);
		padding: 16px var(--cc-gutter) 24px;
	}
	.cc-nav.is-open { display: block; }
	.cc-nav ul { flex-direction: column; gap: 4px; }
	.cc-nav a { display: block; padding: 12px 0; }
	.cc-nav a::after { display: none; } /* pas de soulignement pleine largeur */
	.cc-header__cta { display: none; }
}

@media (max-width: 900px) {
	.cc-hero { flex-direction: column; align-items: stretch; }
	/* Accueil sur photo : le rectangle épouse son contenu et se centre dans la hauteur libre. */
	.cc-hero-band.has-bg .cc-hero { justify-content: center; }
	.cc-hero-band.has-bg .cc-hero__col { flex: 0 0 auto; }
	.cc-hero__media img, .cc-hero__media .cc-placeholder { height: 320px; }
	.cc-hero__media::before { display: none; } /* le filet marine déborderait */

	.cc-grid-3, .cc-pillars, .cc-doors, .cc-grid-2 { grid-template-columns: 1fr; gap: 24px; }
	.cc-trust__sep { display: none; }
}

@media (max-width: 600px) {
	:root { --cc-gutter: 20px; --cc-section: 48px; }
	.cc-header__inner { gap: 12px; }
	.cc-brand { font-size: 18px; white-space: normal; line-height: 1.2; }
	.cc-hero h1 { font-size: 32px; }
	.cc-h2, .cc-cta h2, .cc-articles-head h2 { font-size: 24px; }
	.cc-lead { font-size: 16px; }
	.cc-door { padding: 28px; }
	.cc-door__media { margin: -28px -28px 8px; height: 170px; }
	.cc-hero__actions .cc-btn { flex: 1 1 100%; }
	.cc-trust__stats { gap: 24px; }
	.cc-entry h1 { font-size: 34px; }

	/* Accueil sur téléphone : tout doit tenir dans un seul écran, avec le bandeau
	   de confiance en bas et rien de la section suivante. On compacte donc le
	   rectangle de texte et on met les 3 chiffres sur une seule ligne. */
	.cc-hero-band.has-bg .cc-hero { padding-block: 14px; }
	.cc-hero-band.has-bg .cc-hero__col { padding: 18px 18px 20px; gap: 12px; }
	.cc-hero-band.has-bg .cc-hero .cc-eyebrow { font-size: 11px; letter-spacing: 1.4px; }
	.cc-hero-band.has-bg .cc-hero h1 { font-size: 27px; }
	.cc-hero-band.has-bg .cc-hero .cc-lead { font-size: 15px; line-height: 1.5; }
	.cc-hero-band.has-bg .cc-hero__actions { gap: 10px; }
	.cc-hero-band.has-bg .cc-hero__actions .cc-btn { flex: 1 1 calc(50% - 5px); padding: 12px 8px; font-size: 14px; }
	.cc-hero-band.has-bg .cc-trust { padding-block: 10px; gap: 8px; }
	.cc-hero-band.has-bg .cc-trust__rating { font-size: 13px; }
	.cc-hero-band.has-bg .cc-trust__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: 100%; }
	.cc-hero-band.has-bg .cc-trust__num { font-size: 21px; line-height: 1.1; }
	.cc-hero-band.has-bg .cc-trust__label { font-size: 11px; line-height: 1.25; max-width: none; }
}

/* ============================================================
   Bulle de contact flottante
   ============================================================ */
.cc-wa[hidden], .cc-wa [hidden] { display: none !important; }
.cc-wa { position: fixed; right: 20px; bottom: 20px; z-index: 110; font-family: var(--cc-sans); max-width: calc(100vw - 32px); }

.cc-wa__bubble {
	display: flex; align-items: center; gap: 12px;
	min-height: 64px; padding: 8px 26px 8px 14px;
	background: #fff; color: var(--cc-accent);
	border: 1px solid var(--cc-border); border-radius: 999px;
	box-shadow: 0 8px 28px rgb(20 22 26 / .14);
	cursor: pointer; text-align: left; font-family: inherit;
	transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.cc-wa__bubble:hover { transform: translateY(-2px); border-color: var(--cc-accent); box-shadow: 0 12px 32px rgb(20 22 26 / .18); }
.cc-wa__bubble:focus-visible, .cc-wa__dismiss:focus-visible, .cc-wa__close:focus-visible,
.cc-wa__form input:focus-visible, .cc-wa__form select:focus-visible { outline: 2px solid var(--cc-accent); outline-offset: 2px; }
.cc-wa__icon { flex: none; width: 48px; height: auto; display: block; }
.cc-wa__txt { display: flex; flex-direction: column; gap: 2px; line-height: 1.25; }
.cc-wa__txt strong { font-size: 16px; font-weight: 600; color: var(--cc-accent); }
.cc-wa__txt span { font-size: 14px; color: var(--cc-text-soft); }
.cc-wa.is-open .cc-wa__bubble, .cc-wa.is-open .cc-wa__dismiss { display: none; }

.cc-wa__dismiss {
	position: absolute; top: -14px; right: -6px;
	width: 44px; height: 44px; display: grid; place-items: center;
	background: #fff; color: var(--cc-text); border: 0; border-radius: 50%;
	box-shadow: 0 2px 10px rgb(20 22 26 / .16); cursor: pointer;
}

.cc-wa__panel {
	position: relative; width: 380px; max-width: calc(100vw - 32px); max-height: calc(100vh - 40px); overflow-y: auto;
	background: #fff; border: 1px solid var(--cc-border); border-radius: var(--cc-radius-lg);
	box-shadow: 0 16px 48px rgb(20 22 26 / .22);
}
.cc-wa__close {
	position: absolute; top: 6px; right: 6px; z-index: 1;
	width: 44px; height: 44px; display: grid; place-items: center;
	background: transparent; color: var(--cc-text); border: 0; border-radius: 50%; cursor: pointer;
}
.cc-wa__hello {
	margin: 0; padding: 22px 56px 22px 22px;
	background: var(--cc-accent-soft); color: var(--cc-text);
	font-size: 16px; line-height: 1.5;
}
.cc-wa__form, .cc-wa__done { padding: 20px 22px 22px; }
.cc-wa__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.cc-wa__row--tel { grid-template-columns: 112px 1fr; }
.cc-wa__form input[type="text"], .cc-wa__form input[type="tel"], .cc-wa__form select {
	width: 100%; min-height: 48px; padding: 10px 14px;
	font-family: inherit; font-size: 16px; color: var(--cc-text);
	background: #fff; border: 1px solid var(--cc-border); border-radius: var(--cc-radius-lg);
}
.cc-wa__form input::placeholder { color: var(--cc-text-mute); }
.cc-wa__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cc-wa__consent { display: flex; gap: 12px; align-items: flex-start; margin: 16px 0; font-size: 14px; line-height: 1.45; color: var(--cc-text-soft); cursor: pointer; }
.cc-wa__consent input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--cc-accent); }
.cc-wa__msg { margin: 0 0 12px; padding: 10px 12px; font-size: 14px; color: #8A1F1F; background: #FBEDED; border-radius: var(--cc-radius-lg); }
.cc-wa__submit { width: 100%; }
.cc-wa__submit:disabled { opacity: .6; cursor: progress; }
.cc-wa__legal { margin: 14px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--cc-text-mute); text-align: center; }
.cc-wa__legal a { color: var(--cc-accent); font-weight: 600; }
.cc-wa__done p { margin: 0 0 6px; font-size: 16px; color: var(--cc-text); }

.cc-js .cc-wa:not(.is-open) .cc-wa__bubble { animation: cc-wa-in .5s ease-out; }
@keyframes cc-wa-in { from { transform: translateY(16px); opacity: .01; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
	.cc-js .cc-wa:not(.is-open) .cc-wa__bubble { animation: none; }
	.cc-wa__bubble { transition: none; }
}

@media (max-width: 600px) {
	.cc-wa { right: 12px; left: 12px; bottom: 12px; max-width: none; }
	.cc-wa__bubble { width: 100%; padding: 10px 20px 10px 16px; }
	.cc-wa__txt strong { font-size: 15px; }
	.cc-wa__txt span { font-size: 13px; }
	.cc-wa__panel { width: 100%; max-width: none; }
	.cc-wa__dismiss { top: -18px; right: 0; }
}

/* ============================================================
   18. Réglages validés le 24/09/2026
   ============================================================ */

/* Logo dans l'en-tête (version sans filets, capitales EB Garamond + signature) */
.cc-brand--logo { display: block; line-height: 0; }
.cc-brand--logo img { height: 34px; max-height: none; width: auto; }
@media (max-width: 1100px) { .cc-brand--logo img { height: 28px; } }
@media (max-width: 600px) { .cc-brand--logo img { height: 24px; } }

/* Menu dans la police des capitales du logo, survol laiton */
.cc-nav ul { font-family: 'EB Garamond', Garamond, Georgia, serif; font-size: 17px; font-weight: 600; letter-spacing: .01em; }
.cc-nav a { color: var(--cc-on-accent); transition: color .2s ease; }
.cc-nav a:hover, .cc-nav a:focus-visible { color: var(--cc-gold); }
.cc-nav a::after { background: var(--cc-gold); }

/* Boutons du bandeau d'accueil : même style pour les deux (fond blanc, texte bleu nuit), survol laiton */
.cc-hero-band.has-bg .cc-hero__col .cc-btn--primary,
.cc-hero-band.has-bg .cc-hero__col .cc-btn--outline {
	background: #fff; color: var(--cc-accent); border: 1.5px solid #fff; opacity: 1;
	transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.cc-hero-band.has-bg .cc-hero__col .cc-btn--primary:hover,
.cc-hero-band.has-bg .cc-hero__col .cc-btn--outline:hover {
	background: var(--cc-gold); border-color: var(--cc-gold); color: var(--cc-accent); opacity: 1;
}
.cc-hero-band.has-bg .cc-hero__col .cc-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* Formulaire de la bulle */
.cc-wa__hello { padding: 16px 52px 16px 20px; font-size: 15px; line-height: 1.5; color: var(--cc-text-soft); }
.cc-wa__hello strong { display: block; margin-bottom: 4px; font-family: var(--cc-serif); font-size: 21px; font-weight: 600; line-height: 1.2; color: var(--cc-text); }
.cc-wa__form input[type="email"] {
	width: 100%; min-height: 48px; padding: 10px 14px;
	font-family: inherit; font-size: 16px; color: var(--cc-text);
	background: #fff; border: 1px solid var(--cc-border); border-radius: var(--cc-radius-lg);
}
.cc-wa__form input[type="email"]:focus-visible { outline: 2px solid var(--cc-accent); outline-offset: 2px; }
.cc-wa__row--full { grid-template-columns: 1fr; }
.cc-wa__alt { margin-top: 14px !important; padding-top: 14px; border-top: 1px solid var(--cc-border); font-size: 14px !important; color: var(--cc-text-soft) !important; }
.cc-wa__alt a { color: var(--cc-accent); font-weight: 600; }
.cc-wa__done:focus { outline: none; }
/* Ordinateur : champs plus fins. Tablette et téléphone inchangés (16 px, 48 px de haut). */
@media (min-width: 1025px) {
	.cc-wa__panel { width: 360px; }
	.cc-wa__form, .cc-wa__done { padding: 16px 20px 18px; }
	.cc-wa__row { gap: 10px; margin-bottom: 10px; }
	.cc-wa__row--tel { grid-template-columns: 100px 1fr; }
	.cc-wa__form input[type="text"], .cc-wa__form input[type="tel"],
	.cc-wa__form input[type="email"], .cc-wa__form select { min-height: 40px; padding: 7px 12px; font-size: 15px; }
	.cc-wa__consent { margin: 12px 0 14px; font-size: 13.5px; gap: 10px; }
	.cc-wa__consent input { width: 18px; height: 18px; margin-top: 2px; }
	.cc-wa__submit { padding-block: 12px; }
	.cc-wa__legal { margin-top: 12px; }
}

/* Bulle : posée sur la bande de confiance tant qu'elle est visible (voir contact.js),
   contour laiton au survol, croix discrète. */
.cc-wa { transition: bottom .3s ease, opacity .3s ease, transform .3s ease; }
/* Descendue de 20 px : la bulle chevauche légèrement la bande, sans toucher son texte. */
.cc-wa.is-above-trust:not(.is-open) { bottom: calc(var(--cc-wa-lift, 20px) - 20px); }
@media (min-width: 601px) {
	.cc-wa.is-above-trust:not(.is-open) .cc-wa__bubble:hover { transform: none; }
}
.cc-wa__bubble:hover { border-color: var(--cc-gold); box-shadow: 0 10px 30px rgb(20 22 26 / .16); }
.cc-wa__dismiss { top: -8px; right: -4px; width: 22px; height: 22px; box-shadow: 0 1px 5px rgb(20 22 26 / .18); }
.cc-wa__dismiss svg { width: 9px; height: 9px; }
.cc-wa__dismiss::before { content: ""; position: absolute; inset: -11px; } /* zone cliquable élargie */
.cc-wa__dismiss:hover { color: var(--cc-gold); }
@media (max-width: 600px) {
	/* Téléphone : la bulle (pleine largeur) attend le premier défilement. */
	.cc-wa.is-above-trust:not(.is-open) { bottom: 12px; opacity: 0; transform: translateY(20px); pointer-events: none; }
	.cc-wa__dismiss { top: -8px; right: -4px; }
}
@media (prefers-reduced-motion: reduce) { .cc-wa { transition: none; } }

/* Logo Google (gris neutre) après « 5/5 — avis » dans la bande de confiance */
.cc-trust__google { display: inline-block; height: 17px; width: auto; vertical-align: -4px; margin-left: 3px; }

/* Bande de confiance à la même hauteur que l'en-tête bleu (mesurée par navigation.js) :
   la photo est encadrée par deux bandes symétriques. Téléphone : bande plus haute, inchangée. */
@media (min-width: 601px) {
	.cc-hero-band.has-bg .cc-trust { box-sizing: border-box; min-height: var(--cc-header-h, 72px); padding-block: 0; }
}

/* Pied de page : liens légaux à gauche (la bulle occupe le coin droit) ;
   sur téléphone, marge sous le pied de page pour que la bulle ne les masque pas. */
.cc-footer__bottom { justify-content: flex-start; }
@media (max-width: 600px) { .cc-footer { padding-bottom: 104px; } }

/* Calendly : lien de réservation dans la bulle ; bandeau bas de page sans phrase. */
.cc-wa__rdv { margin: 12px 0 0; font-size: 13.5px; line-height: 1.45; color: var(--cc-text-soft); text-align: center; }
.cc-wa__rdv a { color: var(--cc-accent); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.cc-wa__rdv a:hover { color: var(--cc-gold); }
.cc-cta h2 { margin-bottom: 24px; }

/* Politique de confidentialité : case de refus Matomo. */
.cc-optout { margin: 8px 0 18px; padding: 12px 16px; background: #F2F3F5; border-left: 3px solid var(--cc-gold); }
.cc-optout:empty { display: none; }
.cc-optout p { margin: 0; }
.cc-optout input { margin-right: 8px; accent-color: var(--cc-accent); }
