/*!
Theme Name: change maker
Theme URI: http://underscores.me/
Author: Underscores.me
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: change-maker
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.

change maker 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/
*/
/* 1) Import Google Fonts (Josefin Sans & Zen Maru Gothic) */
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@300;400;600;700&family=Zen+Maru+Gothic:wght@400;500;700&display=swap');

/* 2) Déclaration Agrandir (remplace les URLs par tes fichiers réels) */
@font-face {
  font-family: "Agrandir";
  src: url("/wp-content/themes/change-maker/assets/fonts/Agrandir-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Agrandir";
  src: url("/wp-content/themes/change-maker/assets/fonts/Agrandir-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Agrandir";
  src: url("/wp-content/themes/change-maker/assets/fonts/Agrandir-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
/*--------------------------------------------------------------
>>> 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
--------------------------------------------------------------*/

html {
  scroll-behavior: smooth;
}


/* 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;
}

/**
 * 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;
	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 0.3em;
}

ul {
	list-style: disc;
}

ol {
  list-style: none; /* enlève la numérotation par défaut */
  counter-reset: custom-counter; /* initialise le compteur */
  padding-left: 0;
}

ol li {
  counter-increment: custom-counter; /* incrémente le compteur */
  position: relative;
  margin-bottom: 12px;
  padding-left: 28px; /* espace pour le cercle */
}

ol li::before {
  content: counter(custom-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  background-color: #6F0025; /* cercle bordeaux */
  color: #fff; /* chiffre en blanc */
  border-radius: 50%; /* rond parfait */
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
}


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

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Remplace les puces classiques par ton icône SVG */
ul {
  list-style: none; /* supprime les puces par défaut */
  padding-left: 0;  /* enlève le retrait */
}

ul li {
  position: relative;
  padding-left: 20px; /* espace pour ton icône */
  margin-bottom: 10px; /* un peu d’air entre les éléments */
}

ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px; /* ajuste pour aligner verticalement */
  width: 18px;
  height: 18px;
  background: url(img/checked.svg) no-repeat center center;
  background-size: contain;
}

/* 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:visited {
	color: #800080;
}

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

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
--------------------------------------------------------------*/
:root{
  /* ajuste l’opacité/couleur ici */
  --header-bg-scrolled: rgba(255,255,255,0.52);
  --header-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

/* Fond full width + sticky */
.site-header{
  position: fixed;
  inset: 0 0 auto 0;
  width: 100%;
  background: var(--header-bg-scrolled);
  z-index: 9999;
  transition: background-color .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}

/* Container centré 1260px */
/* Forcer l'alignement vertical logo + menu */
.header-container {
    display: flex;
    align-items: center; /* centre verticalement */
    justify-content: space-between;
    max-width: 1260px;
    margin: 0 auto;
    padding: 10px 20px;
}

/* Empêcher le lien logo de décaler */
.site-branding,
.site-branding .custom-logo-link {
    display: flex;
    align-items: center; /* centre verticalement l'image */
    margin: 0;
    padding: 0;
}

/* Taille contrôlée du logo */
.site-branding .custom-logo {
    display: block;
    height: auto; /* ajuste selon ton design */
    width: auto;
    max-height: 100%;
    max-width: 75%;
}
body.home {
  --header-h: 0;
  padding-top: 0;
}

body.page-transformation-manageriale-leadership {
  --header-h: 0;
  padding-top: 0;
}
body.page-contact {
  --header-h: 0;
  padding-top: 0;
  background: #F7F7F7;
}
/* Logo + menu (identique) */
.site-branding{ flex-shrink: 0; }
.main-navigation{ flex-grow: 1; text-align: right; position: relative; }
.main-navigation ul{
  display:flex; gap:20px; list-style:none; margin:0; padding:0;
}
.main-navigation a{ text-decoration:none; color:#1A1A1A; }

/* État après scroll : semi-transparence + flou + ombre légère */
.site-header.scrolled{
  background: var(--header-bg-scrolled);
  box-shadow: var(--header-shadow);
}

/* Flou si supporté (Safari/Chrome/Edge) */
@supports (backdrop-filter: blur(8px)) or (-webkit-backdrop-filter: blur(8px)) {
  .site-header.scrolled{
    backdrop-filter: saturate(160%) blur(8px);
    -webkit-backdrop-filter: saturate(160%) blur(8px);
  }
}

/* Accessibilité : si l’utilisateur préfère moins d’effets */
@media (prefers-reduced-transparency: reduce) {
  .site-header.scrolled{
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}

/* Compense la hauteur du header fixed (à ajuster selon ton header) */
body{ --header-h: 160px; padding-top: var(--header-h); }
@media (max-width:768px){
  .header-container{ flex-direction: column; }
  .main-navigation{ text-align:center; margin-top:10px; }
  .main-navigation ul{ flex-direction:column; gap:10px; }
  body{ --header-h: 96px; } /* header un peu plus haut en mobile */
}


#quadmenu.quadmenu-default_theme {
    background-color: transparent !important;
    color: #1A1A1A !important;
    font-family: "Agrandir" !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    font-style: normal;
    letter-spacing: inherit;
}
/* 2) Même style pour hover + focus + active + item ouvert */
.quadmenu .quadmenu-item:hover > .quadmenu-item-link,
.quadmenu .quadmenu-item:focus-within > .quadmenu-item-link,
.quadmenu .quadmenu-item > .quadmenu-item-link:focus,
.quadmenu .quadmenu-item > .quadmenu-item-link:active,
.quadmenu .quadmenu-item.open > .quadmenu-item-link {
	background-color: transparent !important;
  color: #fff;
}
.quadmenu-has-link:hover {
	background-color: transparent !important;
	transition: none; /* enlève l'animation qui clignote au mouseout */
	border-bottom: solid 2px #6F0025;
}
/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

.breadcrumb {
  font-size: 15px;
  color: #6F0025;
  margin-bottom: 18px;
  margin-top: 30px;
      padding-inline: clamp(16px, 4vw, 32px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.breadcrumb a {
  color: #6F0025;
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb a:hover {
  color: #6F0025;
  text-decoration: underline;
}
.breadcrumb span {
  color: #6F0025;
  font-weight: 600;
}

/* Footer
--------------------------------------------- */
/* Layout footer widgets */
.footer-widgets {
  background: #1A1A1A;
  color: #fff;
}
.footer-widgets a {
  color: #fff;
  text-decoration: none;
}
.footer-widgets a:hover {
	text-decoration: underline;
}
.footer-widgets-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1260px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Cartes widgets */
.footer-column {
  padding: 16px;
}

.footer-column .footer-title {
  margin: 0 0 10px;
  font-size: 1.5rem;
  font-weight: 600;
}
.site-info {
	text-align: center;
}
/* --------- Breakpoints --------- */
/* ≤ 1024px : 2 colonnes */
@media (max-width: 1024px) {
  .footer-widgets-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 32px 16px;
  }
}

/* ≤ 640px : 1 colonne */
@media (max-width: 640px) {
  .footer-widgets-inner {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px 14px;
  }
  .footer-column {
    padding: 14px;
  }
}

/* Ligne de bas de page */
.site-info {
  text-align: center;
  font-size: .95rem;
  color: #757575;
  padding: 16px 20px 28px;
}


/* Navigation
--------------------------------------------- */
/* Footer menu container */
.footer-column-2 .menu-footer-container {
  margin: 0;
  padding: 0;
}

/* UL du menu */
#menu-footer {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Liens du menu */
#menu-footer li {
  margin: 0 0 8px; /* espace entre les items */
}

#menu-footer li:last-child {
  margin-bottom: 0;
}

#menu-footer a {
  display: inline-block;
  text-decoration: none;
  font-size: 0.95rem;
  padding: 4px 0;
  transition: color 0.3s ease, padding-left 0.3s ease;
}

/* Effet hover */
#menu-footer a:hover {
  padding-left: 6px;      /* petit décalage visuel */
}

/* Accessibilité : focus clavier */
#menu-footer a:focus {
  outline: 2px solid #fff;
  outline-offset: 2px;
}


/* Posts and pages
--------------------------------------------- */
/* ====== CONTENEUR GLOBAL (1260px) ====== */
.single .site-main,
.single .hentry,
article.post {
  max-width: 1260px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 32px);
  box-sizing: border-box;
}

/* ====== ENTÊTE ====== */
.entry-header {
  margin: 24px 0 12px;
}

.entry-title {
  font-size: clamp(28px, 4.2vw, 44px);
  line-height: 1.15;
  color: #1A1A1A;
  margin: 0 0 .25em;
}

.entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 14px;
  color: #56607a;
}

.entry-meta a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dotted rgba(0,0,0,.2);
}
.entry-meta a:hover { border-bottom-color: #1A1A1A; }

/* ====== IMAGE À LA UNE ====== */
.post-thumbnail {
  margin: 20px 0 28px;
  border-radius: 14px;
  overflow: hidden;
  background: #f4f6fa;
}
.post-thumbnail img {
  display: block;
  width: 100%;
  height: auto;
}

/* ====== CONTENU ====== */
.entry-content {
  font-size: clamp(16px, 2.2vw, 18px);
  line-height: 1.7;
  color: #1A1A1A;
}

/* Paragraphes & largeur de ligne confortable */
.entry-content > p,
.entry-content > ul,
.entry-content > ol,
.entry-content > blockquote,
.entry-content > table,
.entry-content > pre {
  max-width: 72ch;
}

/* Titres */
.entry-content h2,
.entry-content h3 {
  color: #6F0025;
  line-height: 1.25;
  scroll-margin-top: var(--header-h, 90px); /* offset si header sticky */
}
.entry-content h2 {
  font-size: clamp(22px, 3.6vw, 30px);
  margin: 28px 0 10px;
}
.entry-content h3 {
  font-size: clamp(18px, 3vw, 22px);
  margin: 22px 0 8px;
}

/* Listes */
.entry-content ul,
.entry-content ol {
  padding-left: 1.3em;
  margin: 0 0 1em;
}
.entry-content li { margin: .35em 0; }

/* Citations */
.entry-content blockquote {
  border-left: 4px solid #6F0025;
  background: #f4f6fb;
  padding: 12px 16px;
  border-radius: 10px;
  margin: 18px 0;
  color: #6F0025;
}

/* Images dans le contenu */
.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Tables responsives */
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: .98em;
}
.entry-content table th,
.entry-content table td {
  border: 1px solid #e5e9f2;
  padding: 10px 12px;
}
.entry-content table th {
  background: #f1f4fa;
  color: #6F0025;
  text-align: left;
}
.entry-content .wp-block-table { overflow-x: auto; }

/* Code / pre */
.entry-content pre,
.entry-content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}
.entry-content pre {
  background: #0f172a;
  color: #e2e8f0;
  padding: 14px;
  border-radius: 10px;
  overflow: auto;
  margin: 16px 0;
}
.entry-content code {
  background: #f3f4f6;
  padding: .15em .35em;
  border-radius: 6px;
}

/* ====== PIED D’ARTICLE ====== */
.entry-footer {
  margin: 28px 0 40px;
  padding-top: 16px;
  border-top: 1px solid #e9edf5;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  font-size: 14px;
  color: #56607a;
}
.entry-footer a {
  color: #6F0025;
  text-decoration: none;
  border-bottom: 1px dotted rgba(30,66,138,.4);
}
.entry-footer a:hover { border-bottom-color: #1E428A; }

/* ====== ACCESSOIRES ====== */

/* Espacement sous l’article si tu as des blocs “articles liés / commentaires” */
.single .site-main { padding-bottom: 48px; }

/* Harmonise les marges verticales entre les blocs Gutenberg */
.entry-content > * + * { margin-top: .9rem; }

/* Si tu as un header sticky, définis --header-h au bon pixel ailleurs :
:root{ --header-h: 72px; }  */




.sticky {
	display: block;
}

.post,
.page {
	margin: 0;
}

.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;
}

/* Archive */
.page-header-archives {
	max-width: 1260px;
	margin: 0 auto;
	padding: 20px;
}
/* ===== Grille Archives (3 colonnes) ===== */
#archive .site-main {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
  max-width: 1260px;   /* largeur max centrée */
  margin-inline: auto;
  padding: 20px;
  box-sizing: border-box;
}

/* ===== Carte d’article ===== */
#archive article {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .3s ease, transform .3s ease;
}

#archive article:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,.08);
}

/* ===== Image à la une ===== */
#archive .post-thumbnail {
  aspect-ratio: 16/9;   /* ratio fixe */
  overflow: hidden;
  background: #f5f5f5;
}
#archive .post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== Contenu ===== */
#archive .entry-header {
  padding: 16px;
}
#archive .entry-title {
  font-family: "Playfair", serif;
  font-size: 20px;
  line-height: 1.3;
  margin: 0 0 8px;
  color: #6F0025;   /* couleur titres */
}
#archive .entry-title a {
  color: inherit;
  text-decoration: none;
}
#archive .entry-title a:hover {
  text-decoration: underline;
}

#archive .entry-meta {
  font-family: "Raleway", sans-serif;
  font-size: 13px;
  color: #666;
  margin-bottom: 12px;
}

/* Extrait */
#archive .entry-content {
  flex: 1;
  padding: 0 16px 16px;
  color: #1A1A1A;   /* texte */
  font-size: 15px;
  line-height: 1.5;
}

/* Footer (catégories, tags) */
#archive .entry-footer {
  padding: 12px 16px;
  border-top: 1px solid #eee;
  font-size: 13px;
  color: #666;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  #archive .site-main {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  #archive .site-main {
    grid-template-columns: 1fr;
  }
}


/* 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
 {
    position: relative;
    display: block;
    z-index: 999;
    margin: 30px auto;
}

/* 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;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/

/* ====== Grille ====== */
/* Force la grille en 2 colonnes, quoi qu'il arrive */
.cm-form .row.two{
  display:grid !important;
  grid-template-columns:repeat(2, minmax(0,1fr)) !important;
  gap:1rem !important;
}
.cm-form .row.one{
	margin-bottom: 30px;
}
/* Chaque enfant direct (label/div) devient une colonne flexible */
.cm-form .row.two > *{
  display:flex !important;
  flex-direction:column !important;
  width:100% !important;
  min-width:0; /* évite les débordements */
  margin:0 !important;
  grid-column:auto !important;
}

/* CF7 wrap interne */
.cm-form .wpcf7-form-control-wrap{
  display:block;
  width:100%;
}

/* Les input/select/textarea s’étirent correctement */
.cm-form input[type="text"],
.cm-form input[type="email"],
.cm-form input[type="tel"],
.cm-form input[type="file"],
.cm-form select,
.cm-form textarea{
  width:100%;
  box-sizing:border-box;
  margin-top:.4rem;
}

/* Responsive */
@media (max-width: 768px){
  .cm-form .row.two{ grid-template-columns:1fr !important; }
}


/* Pour CF7 : le wrapper interne */
.cm-form .wpcf7-form-control-wrap { display:block; width:100%; }

/* ====== Typo labels ====== */
.cm-form label { font-weight:600; font-size:.95rem; color:#333;margin-bottom:30px !important; }
.cm-form .label { display:block; font-weight:600;  }

/* ====== Champs ====== */
.cm-form input[type="text"],
.cm-form input[type="email"],
.cm-form input[type="tel"],
.cm-form input[type="file"],
.cm-form select,
.cm-form textarea {
  width: 100%;
  margin-top: .4rem;
  padding: .9rem .95rem;
  border: 1px solid #ddd;
  border-radius: 12px;
  background: #fff;
  font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.cm-form textarea { min-height: 160px; resize: vertical; }
.cm-form input:focus,
.cm-form select:focus,
.cm-form textarea:focus {
  outline: none;
  border-color: #6F0025;
  box-shadow: 0 0 0 3px rgba(111,0,37,.12);
}

/* ====== Checkboxes (pref + consent) ====== */
.cm-form .check { display:flex; align-items:center; gap:.5rem; }
.cm-form .check input[type="checkbox"]{
  appearance:none; width:18px; height:18px;
  border:2px solid #6F0025; border-radius:6px;
  background:#fff; position:relative; cursor:pointer; margin-right:8px;
}
.cm-form .check input[type="checkbox"]:checked{
  background:#6F0025; border-color:#6F0025;
}
.cm-form a {
color:#6F0025;
}
.cm-form .check input[type="checkbox"]:checked::after{
  content:"✓"; position:absolute; color:#fff; font-size:12px;
  top:50%; left:50%; transform:translate(-50%,-56%);
}
.cm-form .choices label{ display:inline-flex; align-items:center; margin-right:12px; }

/* ====== Boutons ====== */
.cm-form .btn{ border:none; border-radius:999px; padding:.95rem 1.4rem; font-weight:700; cursor:pointer }
.cm-form .btn-primary{ background:#6F0025; color:#fff }
.cm-form .btn-ghost{ background:#fff; border:1px solid #ddd }
.cm-form .row.actions{ display:flex; gap:1rem; flex-wrap:wrap; }
@media (max-width: 768px){
  .cm-form .row.actions{ flex-direction:column; }
}

/* ====== Messages CF7 ====== */
.wpcf7 form.submitting .wpcf7-submit{ opacity:.75; pointer-events:none }
.wpcf7 form .wpcf7-response-output{
  margin-top:12px; border-radius:12px; padding:12px;
  border:1px dashed #6F0025; background:#fff; color:#1A1A1A;
}
.wpcf7 form.sent .wpcf7-response-output{ border-color:#2e7d32 }
.wpcf7 form.invalid .wpcf7-response-output{ border-color:#c62828 }



/* 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;
}


/* -----------------------------------------
   TYPO & COULEURS (starter + Elementor)
   À coller en bas de style.css
------------------------------------------*/



/* 3) Variables de thème (utiles partout, y compris Elementor) */
:root{
  --cm-color-text: #1A1A1A;
  --cm-font-body: "Agrandir", "Inter", "Helvetica Neue", Arial, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  --cm-font-h1: "Josefin Sans", "Helvetica Neue", Arial, system-ui, sans-serif;
  --cm-font-hx: "Zen Maru Gothic", "Hiragino Kaku Gothic ProN", "Meiryo", "Noto Sans JP", system-ui, sans-serif;

  /* Optionnel : échelles (tu peux ajuster) */
  --cm-h1-size: clamp(2rem, 1.2rem + 3vw, 3.25rem);
  --cm-h2-size: clamp(1.5rem, 1rem + 1.8vw, 2.25rem);
  --cm-h3-size: clamp(1.25rem, 0.95rem + 1.2vw, 1.75rem);
  --cm-line-height: 1.6;
}

/* 4) Corps de texte */
body,
button,
input,
select,
optgroup,
textarea{
  color: var(--cm-color-text);
  font-family: var(--cm-font-body);
  line-height: var(--cm-line-height);
  font-size: 16px; /* garde ta base */
}

/* 5) Titres natifs (posts, pages, etc.) */
h1{ font-family: var(--cm-font-h1); font-weight: 700; font-size: var(--cm-h1-size); line-height: 1.15; }
h2{ font-family: var(--cm-font-hx); font-weight: 700; font-size: var(--cm-h2-size); line-height: 1.2; }
h3{ font-family: var(--cm-font-hx); font-weight: 600; font-size: var(--cm-h3-size); line-height: 1.25; }
h4, h5, h6{ font-family: var(--cm-font-hx); font-weight: 600; line-height: 1.3; }

/* 6) Elementor – forcer les mêmes typos
   (les styles Elementor peuvent surcharger, donc on cible précisément) */
.elementor-widget-heading h1,
.elementor-widget-heading .elementor-heading-title.elementor-size-xxl,
.elementor-widget-heading .elementor-heading-title.elementor-size-xl{
  font-family: var(--cm-font-h1) !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
}

.elementor-widget-heading h2,
.elementor-widget-heading h3,
.elementor-widget-heading h4,
.elementor-widget-heading h5,
.elementor-widget-heading h6,
.elementor-widget-heading .elementor-heading-title:not(h1){
  font-family: var(--cm-font-hx) !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
}

.elementor-widget-text-editor,
.elementor-widget-theme-post-content,
.elementor-widget-theme-post-excerpt,
.elementor-widget-icon-box .elementor-icon-box-description,
.elementor-widget-heading + .elementor-text-editor{
  font-family: var(--cm-font-body) !important;
  /*color: var(--cm-color-text) !important;*/
  line-height: var(--cm-line-height) !important;
}

/* 7) Couleur du texte globale dans Elementor (sélecteurs courants) */
.elementor-section, .elementor-column, .elementor-widget{
  color: var(--cm-color-text);
}

/* 8) Liens – garder la couleur du texte par défaut (si tu veux) */
a{ color: inherit; }
a:hover, a:focus{ text-decoration: underline; }

/* 9) Petits ajustements de compatibilité */
.entry-content p, .elementor p{ margin-bottom: 1em; }
.entry-content li, .elementor li{ margin-bottom: .4em; }
.elementor-button {
	height: 50px;
	border-radius: 50%;
}


.offre p {
	margin: 0;
}


.offre h2 {
    position: relative;
    display: inline-block;
    z-index: 1;
    padding: 0 11px 0 20px;
}


.offre h2::before {
    content: "";
    position: absolute;
    left: -10px;
    top: 87%;
    transform: translateY(-50%);
    width: 100%;
    height: 0.7em;
    background: #1A1A1A;
    z-index: -1;
}

.offre-2 p {
	margin: 0;
}


.offre-2 h2 {
    position: relative;
    display: inline-block;
    z-index: 1;
    padding: 0 11px 0 20px;
}


.offre-2 h2::before {
    content: "";
    position: absolute;
    left: -10px;
    top: 87%;
    transform: translateY(-50%);
    width: 100%;
    height: 0.7em;
    background: #6F0025;
    z-index: -1;
}


/* ===== Approche 360° – version Containers Elementor ===== */
:root{
  --brand:#6F0025;
  --muted:#1A1A1A;
  --card-bg:#fff;
  --radius:18px;
  --shadow:0 10px 30px rgba(0,0,0,.06);
}



/* Responsive */
@media (max-width:1024px){
  .approche360 > .e-con-inner{ grid-template-columns: repeat(2,1fr); }
}
@media (max-width:640px){
  .approche360 > .e-con-inner{ grid-template-columns: 1fr; }
}

/* Carte (chaque .e-child) */
.approche360 > .e-con-inner > .e-con.e-child{
  position: relative;
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;

}

/* Hover carte */
.approche360 > .e-con-inner > .e-con.e-child:hover{
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0,0,0,.10);
}

/* Enso décoratif (clin d’œil Asie) */
.approche360 > .e-con-inner > .e-con.e-child::before{
  content:"";
  position:absolute;
  top:10px; left:10px;
  width:140px; height:140px;
  background:
    radial-gradient(closest-side, transparent 64%, rgba(232,88,79,0.12) 66% 72%, transparent 74%),
    conic-gradient(from 210deg at 50% 50%, rgba(111,0,37,.18), rgba(111,0,37,0) 65%);
  border-radius:50%;
  pointer-events:none;
  transform: rotate(-6deg);
}

/* Titre (widget Heading) */
.approche360 .elementor-widget-heading .elementor-heading-title{
  color: var(--brand);
  font-size: clamp(18px,1.7vw,22px);
  line-height: 1.25;
  margin: 48px 0 6px;  /* laisse la place à l’enso au-dessus */
}

/* Texte (widget Text Editor) */
.approche360 .elementor-widget-text-editor{
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.7;
}
.approche360 .elementor-widget-text-editor p{ margin: 0; }

/* Petits espacements sur tablette/mobile */
@media (max-width:1024px){
  .approche360 > .e-con-inner > .e-con.e-child{ padding: 22px 20px; }
}
