/*
 * 4C Impulsion — charte du site (thème enfant de Mahymedia Base).
 *
 * Couleurs du logo : pétrole #507C85, pétrole foncé #366169, noir #181818, et le dégradé pétrole → noir de la charte.
 * Polices hébergées dans le thème : Montserrat (titres, fine, lettres serrées), DM Sans (sous-titres),
 * Inter (texte), Oooh Baby (citation manuscrite).
 * Signature : la flèche ascendante du logo, tracée sous les titres de section et dans le pied de page.
 *
 * Sommaire : 1. Variables · 2. Base · 3. En-tête · 4. Boutons et liens · 5. Sections · 6. Accueil
 * 7. Hauts de page · 8. Cartes de services · 9. Duo texte/photo · 10. Étapes · 11. Piliers, valeurs, encadrés
 * 12. Témoignages · 13. FAQ · 14. Appel à l'action · 15. Contact et formulaire · 16. Pied de page
 * 17. Pages simples (mentions légales) · 18. Apparition au défilement · 19. Éditeur
 */

/* ---------- 1. Variables ---------- */
:root {
	--qci-petrole: #507C85;
	--qci-petrole-fonce: #366169;
	--qci-noir: #181818;
	--qci-brume: #EEF3F4;
	--qci-ligne: #D9DEDF;
	--qci-gris: #5E6466;
	--qci-degrade: linear-gradient(160deg, #507C85 0%, #366169 45%, #181818 100%);
	--qci-ombre: 6px 7px 10px rgba(0, 0, 0, .35);
	--qci-ombre-douce: 0 18px 40px -18px rgba(24, 24, 24, .35);
	--qci-section: clamp(64px, 9vw, 128px);
	--qci-large: 1280px;
	--qci-titre: Montserrat, system-ui, sans-serif;
	--qci-sous-titre: 'DM Sans', system-ui, sans-serif;
	--qci-texte: Inter, system-ui, sans-serif;
	--qci-manuscrit: 'Oooh Baby', 'Segoe Script', cursive;
	--qci-ease: cubic-bezier(.22, .8, .24, 1);
	--mm-header-height: 76px;
	--mm-gutter: clamp(20px, 4vw, 56px);
	--mm-color-accent: var(--qci-petrole);
	--mm-burger-size: 44px;
	--mm-burger-close: #fff;
}

/* ---------- 2. Base ---------- */
body { font-family: var(--qci-texte); color: var(--qci-noir); letter-spacing: -0.01em; }
::selection { background: var(--qci-petrole); color: #fff; }
p { margin: 0 0 1em; }
strong, b { font-weight: 600; }
a { color: var(--qci-petrole-fonce); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--qci-petrole); }
h1, h2, h3, h4 { margin: 0 0 .6em; text-wrap: balance; }
:focus-visible { outline-color: var(--qci-petrole); }

/* Listes : petit carré pétrole (le « séparateur » carré de l'ancien site) */
.mm-content ul.wp-block-list, .qci-section ul.wp-block-list { list-style: none; padding-left: 0; margin: 0 0 1.4em; }
.mm-content ul.wp-block-list > li, .qci-section ul.wp-block-list > li { position: relative; padding-left: 1.6em; margin-bottom: .45em; }
.mm-content ul.wp-block-list > li::before, .qci-section ul.wp-block-list > li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; background: var(--qci-petrole); }
.qci-section--sombre ul.wp-block-list > li::before { background: #fff; }

/* Grilles : pas de marge de « flux » WordPress entre les éléments d'une grille */
.qci-cartes > *, .qci-piliers > *, .qci-valeurs > *, .qci-etapes > *, .qci-encadres > *, .qci-faq > * { margin-block: 0 !important; }

/* Conteneur des pages composées */
.mm-content--full > .qci-ariane { max-width: none !important; padding-inline: 0 !important; }

/* ---------- 3. En-tête ---------- */
.qci-header { color: #fff; }
.qci-navbar { background: var(--qci-petrole); transition: background-color var(--mm-transition), box-shadow var(--mm-transition); }
.qci-header.is-scrolled .qci-navbar { background: rgba(80, 124, 133, .96); box-shadow: 0 8px 30px -12px rgba(0, 0, 0, .45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.qci-navbar__inner { min-height: var(--mm-header-height); padding-inline: var(--mm-gutter); max-width: 1600px; margin-inline: auto; }
.qci-marque { display: inline-flex; align-items: center; padding-block: 8px; }
.qci-marque__logo { height: 58px; width: auto; transition: transform .5s var(--qci-ease); }
.qci-marque:hover .qci-marque__logo { transform: rotate(-6deg) scale(1.04); }

.qci-header .mm-nav__menu { gap: 0 clamp(24px, 3vw, 48px); }
.qci-header .mm-nav__menu > li > a { color: #fff; font-size: 14px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; padding: 10px 0; position: relative; cursor: pointer; }
.qci-header .mm-nav__menu > li > a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 4px; height: 1px; background: currentColor; transition: right .35s var(--qci-ease); }
.qci-header .mm-nav__menu > li > a:hover::after,
.qci-header .mm-nav__menu > li.current-menu-item > a::after,
.qci-header .mm-nav__menu > li.current-menu-ancestor > a::after,
.qci-header .mm-nav__menu > li.current-page-ancestor > a::after { right: 0; }
.qci-header .mm-nav__menu > .menu-item-has-children > a { padding-right: 16px; }
.qci-header .mm-nav__menu > .menu-item-has-children > a::before { content: ""; position: absolute; right: 0; top: 50%; width: 6px; height: 6px; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: translateY(-70%) rotate(45deg); }

/* Contact en bouton contour blanc */
.qci-header .mm-nav__menu > li.qci-nav-contact > a { border: 1px solid rgba(255, 255, 255, .8); border-radius: 80px; padding: 12px 26px; transition: background-color var(--mm-transition), color var(--mm-transition); }
.qci-header .mm-nav__menu > li.qci-nav-contact > a::after { display: none; }
.qci-header .mm-nav__menu > li.qci-nav-contact > a:hover { background: #fff; color: var(--qci-petrole-fonce); }

/* Sous-menus */
.qci-header .sub-menu { background: #fff; border-top: 2px solid var(--qci-petrole-fonce); border-radius: 0 0 6px 6px; min-width: 260px; }
.qci-header .sub-menu a { color: var(--qci-noir); font-size: 15px; text-transform: none; letter-spacing: -0.01em; cursor: pointer; }
.qci-header .sub-menu a:hover, .qci-header .sub-menu .current-menu-item > a { color: var(--qci-petrole-fonce); background: var(--qci-brume); }
.qci-header .sub-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 4px 14px; min-width: 0; }
.qci-header .sub-menu .menu-item-has-children > a { font-weight: 600; }
.qci-header .sub-menu .qci-nav-sans-lien { cursor: default; }
.qci-header .sub-menu .qci-nav-sans-lien:hover { background: transparent; color: inherit; }

/* Burger « ME / NU » en blanc */
.qci-header .mm-nav__toggle { color: #fff; }

@media (max-width: 1024px) {
	.qci-marque__logo { height: 50px; }
	.qci-header .mm-nav__menu { background: var(--qci-petrole-fonce); box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .5); padding-bottom: 12px; }
	.qci-header .mm-nav__menu > li { border-bottom-color: rgba(255, 255, 255, .14); }
	.qci-header .mm-nav__menu > li > a { padding: 18px var(--mm-gutter); font-size: 15px; }
	.qci-header .mm-nav__menu > li > a::after { display: none; }
	.qci-header .mm-nav__menu > .menu-item-has-children > a::before { right: var(--mm-gutter); }
	.qci-header .sub-menu { background: transparent; border: 0; padding: 0 0 10px calc(var(--mm-gutter) + 8px); }
	.qci-header .sub-menu a { color: rgba(255, 255, 255, .88); padding: 10px var(--mm-gutter) 10px 0; }
	.qci-header .sub-menu a:hover, .qci-header .sub-menu .current-menu-item > a { background: transparent; color: #fff; }
	.qci-header .mm-nav__menu > li.qci-nav-contact { border: 0; padding: 18px var(--mm-gutter) 6px; }
	.qci-header .mm-nav__menu > li.qci-nav-contact > a { display: inline-block; padding: 14px 30px; }
}

/* ---------- 4. Boutons et liens ---------- */
.wp-block-button__link, .qci-bouton {
	display: inline-flex; align-items: center; justify-content: center; gap: 12px;
	font-family: var(--qci-texte); font-weight: 500; font-size: 14px; line-height: 1; letter-spacing: .02em; text-transform: uppercase; text-decoration: none;
	color: #fff; background: var(--qci-petrole); border: 1px solid var(--qci-petrole-fonce); border-radius: 80px; padding: 20px 40px;
	box-shadow: var(--qci-ombre); cursor: pointer;
	transition: background-color .3s ease, color .3s ease, box-shadow .3s ease, transform .3s var(--qci-ease);
}
.wp-block-button__link:hover, .qci-bouton:hover { background: var(--qci-petrole-fonce); color: #fff; transform: translateY(-2px); box-shadow: 8px 10px 16px rgba(0, 0, 0, .3); }
.wp-block-button__link:active, .qci-bouton:active { transform: translateY(0); box-shadow: 2px 3px 6px rgba(0, 0, 0, .3); }
/* La flèche du logo s'invite au survol */
.wp-block-button__link::after {
	content: ""; width: 0; height: 12px; margin-left: -12px; opacity: 0;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 12'%3E%3Cpath d='M1 10.5C9 9.6 17 8 26.5 5.2' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'/%3E%3Cpath d='M20.5 2.6 27 4.8 22.4 9.9' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 12'%3E%3Cpath d='M1 10.5C9 9.6 17 8 26.5 5.2' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'/%3E%3Cpath d='M20.5 2.6 27 4.8 22.4 9.9' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: width .35s var(--qci-ease), margin .35s var(--qci-ease), opacity .25s ease;
}
.wp-block-button__link:hover::after { width: 30px; margin-left: 0; opacity: 1; }

.wp-block-button.is-style-noir .wp-block-button__link { background: var(--qci-noir); border-color: var(--qci-noir); box-shadow: none; }
.wp-block-button.is-style-noir .wp-block-button__link:hover { background: var(--qci-petrole-fonce); border-color: var(--qci-petrole-fonce); }
.wp-block-button.is-style-contour .wp-block-button__link { background: transparent; color: var(--qci-noir); border-color: currentColor; box-shadow: none; }
.wp-block-button.is-style-contour .wp-block-button__link:hover { background: var(--qci-noir); color: #fff; border-color: var(--qci-noir); }
.wp-block-button.is-style-clair .wp-block-button__link { background: #fff; color: var(--qci-petrole-fonce); border-color: #fff; }
.wp-block-button.is-style-clair .wp-block-button__link:hover { background: transparent; color: #fff; }
.qci-section--sombre .wp-block-button.is-style-contour .wp-block-button__link,
.qci-page-haut .wp-block-button.is-style-contour .wp-block-button__link { color: #fff; }
.qci-section--sombre .wp-block-button.is-style-contour .wp-block-button__link:hover,
.qci-page-haut .wp-block-button.is-style-contour .wp-block-button__link:hover { background: #fff; color: var(--qci-noir); border-color: #fff; }
.wp-block-buttons { gap: 14px; margin-top: 28px; }

/* Lien « texte + flèche » (cartes de services) */
.qci-lien { display: inline-flex; align-items: center; gap: 12px; font-weight: 500; font-size: 14px; letter-spacing: .02em; text-transform: uppercase; color: var(--qci-noir); text-decoration: none; padding: 6px 0; }
.qci-lien::after {
	content: ""; width: 22px; height: 10px; background: currentColor; flex: none;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22.34 9.14'%3E%3Cpath d='M22.16,4.13S18.21.18,18.21.18a.62.62,0,0,0-.88,0,.62.62,0,0,0,0,.88l2.89,2.89H0V5.19H20.22L17.33,8.08a.62.62,0,0,0,0,.88.62.62,0,0,0,.88,0l3.95-3.95A.62.62,0,0,0,22.16,4.13Z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22.34 9.14'%3E%3Cpath d='M22.16,4.13S18.21.18,18.21.18a.62.62,0,0,0-.88,0,.62.62,0,0,0,0,.88l2.89,2.89H0V5.19H20.22L17.33,8.08a.62.62,0,0,0,0,.88.62.62,0,0,0,.88,0l3.95-3.95A.62.62,0,0,0,22.16,4.13Z'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform .35s var(--qci-ease);
}
.qci-lien:hover { color: var(--qci-petrole-fonce); }
.qci-lien:hover::after { transform: translateX(6px); }

/* ---------- 5. Sections et titres ---------- */
.qci-section { padding: var(--qci-section) var(--mm-gutter); position: relative; overflow-x: clip; }
.qci-section > * { max-width: var(--qci-large); margin-inline: auto; }
.qci-section--alt { background: var(--qci-brume); }
.qci-section--sombre { background: var(--qci-noir); color: rgba(255, 255, 255, .88); }
.qci-section--sombre a:not(.wp-block-button__link) { color: #fff; }
.qci-section--sombre strong { color: #fff; }

.qci-titre { font-family: var(--qci-titre); font-weight: 400; font-size: clamp(34px, 4.2vw, 56px); line-height: 1.04; letter-spacing: -0.045em; color: var(--qci-petrole-fonce); margin: 0 auto clamp(36px, 5vw, 64px); max-width: 22ch; position: relative; }
.qci-titre.has-text-align-center { text-align: center; }
.qci-titre--gauche { margin-inline: 0; max-width: none; margin-bottom: 28px; }
.qci-titre--moyen { font-size: clamp(28px, 3vw, 40px); }
.qci-titre--clair { color: #fff; }

/* La flèche du logo sous le titre : elle se trace quand la section apparaît */
.qci-titre__fleche { display: block; width: 110px; height: 18px; margin-top: 18px; overflow: visible; }
.qci-titre.has-text-align-center .qci-titre__fleche { margin-inline: auto; }
.qci-signature path { fill: none; stroke: var(--qci-petrole); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.qci-titre--clair .qci-signature path, .qci-section--sombre .qci-signature path, .qci-page-haut .qci-signature path { stroke: #fff; }
.qci-js .qci-reveal .qci-signature__trait { stroke-dasharray: 160; stroke-dashoffset: 160; transition: stroke-dashoffset 1.1s var(--qci-ease) .25s; }
.qci-js .qci-reveal .qci-signature__pointe { stroke-dasharray: 30; stroke-dashoffset: 30; transition: stroke-dashoffset .4s var(--qci-ease) 1.15s; }
.qci-js .qci-reveal.is-visible .qci-signature__trait,
.qci-js .qci-reveal.is-visible .qci-signature__pointe { stroke-dashoffset: 0; }

/* Paragraphe « manuscrit » (style de bloc) */
.is-style-qci-manuscrit, .qci-citation { font-family: var(--qci-manuscrit); font-size: clamp(24px, 2.6vw, 34px); line-height: 1.5; letter-spacing: 0; color: var(--qci-petrole-fonce); }
.qci-chapeau { font-size: 19px; line-height: 1.6; max-width: 760px; margin-inline: auto; }

/* Image « cadre pétrole décalé » */
.is-style-qci-cadre, .qci-portrait, .qci-duo__photo { position: relative; isolation: isolate; }
.is-style-qci-cadre::before, .qci-portrait::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 1px solid var(--qci-petrole); z-index: -1; transition: inset .6s var(--qci-ease); }
.is-style-qci-cadre:hover::before, .qci-portrait:hover::before { inset: 14px -14px -14px 14px; }

/* ---------- 6. Accueil ---------- */
.qci-hero {
	position: relative; overflow: hidden; isolation: isolate; color: #fff; text-align: center;
	min-height: calc(100svh - var(--mm-header-height)); display: flex; flex-direction: column; justify-content: center;
	padding: clamp(72px, 10vw, 140px) var(--mm-gutter) clamp(96px, 12vw, 160px);
	background: linear-gradient(180deg, var(--qci-petrole) 0%, #45707a 28%, #2b4a50 62%, var(--qci-noir) 100%);
}
.qci-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 50% at 80% 70%, rgba(80, 124, 133, .45), transparent 70%); pointer-events: none; }
.qci-hero__cube { position: absolute; z-index: -1; right: clamp(-160px, -6vw, -40px); bottom: clamp(-120px, -4vw, -30px); width: clamp(320px, 46vw, 720px); margin: 0; opacity: .5; pointer-events: none; }
.qci-hero__cube img { width: 100%; height: auto; will-change: transform; }
.qci-hero__inner { max-width: 1100px; margin-inline: auto; }
.qci-hero__titre { font-family: var(--qci-titre); font-weight: 500; color: #fff; font-size: clamp(44px, 6.6vw, 96px); line-height: 1; letter-spacing: -0.055em; margin: 0 0 clamp(48px, 8vw, 110px); }
.qci-hero__vision { max-width: 860px; margin-inline: auto; }
.qci-hero__vision-titre { font-family: var(--qci-titre); font-weight: 300; color: #fff; font-size: clamp(32px, 3.6vw, 48px); letter-spacing: -0.04em; margin-bottom: 10px; }
.qci-hero__citation { font-family: var(--qci-manuscrit); font-size: clamp(22px, 2.4vw, 32px); line-height: 1.55; letter-spacing: 0; color: #fff; margin-bottom: 36px; }
.qci-hero__texte { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.65; color: rgba(255, 255, 255, .9); max-width: 760px; margin-inline: auto; }
.qci-hero__texte strong { color: #fff; }
.qci-hero__boutons { margin-top: 40px; }
.qci-hero__suite { position: absolute; left: 50%; bottom: 26px; width: 24px; height: 60px; margin-left: -12px; color: rgba(255, 255, 255, .7); }
.qci-hero__suite svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.4; }
.qci-js .qci-hero__suite svg { animation: qci-descendre 2.4s var(--qci-ease) infinite; }
@keyframes qci-descendre { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(8px); opacity: 1; } }
/* Entrée du haut de page */
.qci-js .qci-hero__titre, .qci-js .qci-hero__vision, .qci-js .qci-hero__boutons { animation: qci-monter 1s var(--qci-ease) both; }
/* Ordinateur : textes à gauche, le cube 4C (Management, Direction, Équipe…) bien visible à droite, comme l'ancien site */
@media (min-width: 1025px) {
	.qci-hero { text-align: left; padding: clamp(40px, 7vh, 100px) clamp(40px, 6vw, 110px) clamp(72px, 10vh, 120px); }
	.qci-hero::after { background: radial-gradient(55% 60% at 74% 55%, rgba(120, 165, 174, .35), transparent 70%), linear-gradient(90deg, rgba(24, 24, 24, .25) 0%, transparent 55%); }
	.qci-hero__inner { max-width: 1440px; width: 100%; margin-inline: auto; }
	.qci-hero__inner > * { max-width: min(52%, 700px); }
	.qci-hero__inner > .qci-hero__titre { max-width: min(62%, 900px); }
	.qci-hero__titre { font-size: clamp(52px, 5vw, 86px); margin-bottom: clamp(36px, 4.4vw, 64px); }
	.qci-hero__vision { margin-inline: 0; padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, .35); }
	.qci-hero__vision-titre { margin-bottom: 6px; }
	.qci-hero__citation { margin-bottom: 26px; }
	.qci-hero__texte { margin-inline: 0; max-width: 600px; }
	.qci-hero__boutons { justify-content: flex-start !important; margin-top: 36px; }
	/* Centré sur le premier écran (et non sur toute la hauteur du bloc) */
	.qci-hero__cube { right: clamp(-30px, 2vw, 60px); bottom: auto; top: calc((100svh - var(--mm-header-height)) / 2); transform: translateY(-50%); width: clamp(460px, 42vw, 760px); opacity: .92; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .35)); }
	.qci-hero__suite { left: clamp(40px, 6vw, 110px); margin-left: 0; }
}
@media (min-width: 1025px) and (max-height: 760px) { .qci-hero__titre { font-size: clamp(48px, 4.6vw, 76px); } }

.qci-js .qci-hero__vision { animation-delay: .25s; }
.qci-js .qci-hero__boutons { animation-delay: .45s; }
@keyframes qci-monter { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* Présentation */
.qci-presentation { gap: clamp(40px, 7vw, 110px) !important; align-items: center !important; }
.qci-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 25%; filter: grayscale(1) contrast(1.05); }
.qci-presentation__pied { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 32px; }
.qci-presentation__pied .wp-block-buttons { margin: 0; }
.qci-presentation__hbdi { margin: 0; }
.qci-presentation__hbdi img { height: 54px; width: auto; }

/* ---------- 7. Hauts de page ---------- */
.qci-page-haut { position: relative; overflow: hidden; isolation: isolate; color: #fff; padding: clamp(80px, 11vw, 150px) var(--mm-gutter) clamp(64px, 8vw, 110px); background: var(--qci-degrade); }
.qci-page-haut__inner { max-width: 980px; margin-inline: auto; text-align: center; position: relative; }
.qci-page-haut__titre { font-family: var(--qci-titre); font-weight: 400; color: #fff; font-size: clamp(40px, 5.6vw, 80px); line-height: 1; letter-spacing: -0.05em; margin: 0 0 24px; }
.qci-page-haut__sous { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.65; color: rgba(255, 255, 255, .9); max-width: 820px; margin-inline: auto; }
.qci-page-haut__sous strong { color: #fff; }
.qci-page-haut--degrade::before { content: ""; position: absolute; z-index: -1; width: min(70vw, 900px); aspect-ratio: 1; right: -18%; top: -40%; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 0 0 60px rgba(255, 255, 255, .025), 0 0 0 140px rgba(255, 255, 255, .02); }

/* Pages de service : photo + voile pétrole */
.qci-service-haut { min-height: min(72vh, 680px); display: flex; align-items: center; justify-content: center; background: var(--qci-petrole); }
.qci-service-haut__photo { position: absolute !important; inset: 0; margin: 0; z-index: -2; max-width: none !important; }
.qci-service-haut__photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.qci-js .qci-service-haut__photo img { animation: qci-respirer 14s ease-out both; }
@keyframes qci-respirer { from { transform: scale(1.12); } to { transform: scale(1.02); } }
.qci-service-haut::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(54, 97, 105, .55) 0%, rgba(54, 97, 105, .35) 45%, rgba(24, 24, 24, .7) 100%); }
.qci-service-haut .qci-page-haut__sous { font-family: var(--qci-titre); font-style: italic; font-weight: 300; font-size: clamp(19px, 2vw, 26px); letter-spacing: -0.01em; }

/* Sommaire des services (page Services) */
.qci-sommaire { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 36px; }
.qci-sommaire a { color: #fff; text-decoration: none; font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .03em; padding: 11px 20px; border: 1px solid rgba(255, 255, 255, .5); border-radius: 80px; transition: background-color .3s, color .3s; }
.qci-sommaire a:hover { background: #fff; color: var(--qci-petrole-fonce); }

/* À propos */
.qci-page-haut--apropos { padding-bottom: clamp(56px, 7vw, 100px); }
.qci-apropos-haut { max-width: var(--qci-large); margin-inline: auto; align-items: center !important; gap: clamp(40px, 6vw, 96px) !important; }
.qci-apropos-haut .qci-page-haut__titre, .qci-apropos-haut .qci-page-haut__sous { text-align: left; margin-inline: 0; }
.qci-apropos__nom { font-family: var(--qci-manuscrit); color: #fff; font-size: clamp(30px, 3.4vw, 46px); letter-spacing: 0; line-height: 1.2; margin: 0 0 18px; }
.qci-page-haut .qci-portrait::before { border-color: rgba(255, 255, 255, .5); }

/* Fil d'Ariane */
.qci-ariane { background: var(--qci-brume); border-bottom: 1px solid var(--qci-ligne); }
.qci-ariane ol { list-style: none; margin: 0 auto; padding: 14px var(--mm-gutter); max-width: calc(var(--qci-large) + 2 * var(--mm-gutter)); display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 13px; text-transform: uppercase; letter-spacing: .03em; }
.qci-ariane li { display: inline-flex; align-items: center; }
.qci-ariane li + li::before { content: ""; width: 5px; height: 5px; margin: 0 12px; background: var(--qci-petrole); }
.qci-ariane a { color: var(--qci-gris); text-decoration: none; }
.qci-ariane a:hover { color: var(--qci-petrole-fonce); }
.qci-ariane [aria-current] { color: var(--qci-noir); font-weight: 500; }

/* ---------- 8. Cartes de services ---------- */
.qci-cartes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: clamp(20px, 2.4vw, 32px); }
@media (min-width: 1100px) { .qci-cartes:not(.qci-cartes--trois) { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .qci-cartes--trois { grid-template-columns: repeat(3, 1fr); } }
.qci-carte { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--qci-ligne); padding: clamp(28px, 3.4vw, 48px); transition: border-color .4s, box-shadow .4s, transform .4s var(--qci-ease); }
.qci-section--alt .qci-carte { border-color: transparent; }
.qci-carte:hover { border-color: var(--qci-petrole); box-shadow: var(--qci-ombre-douce); transform: translateY(-4px); }
.qci-carte::before { content: ""; position: absolute; left: -1px; top: -1px; width: 0; height: 3px; background: var(--qci-petrole); transition: width .5s var(--qci-ease); }
.qci-carte:hover::before { width: calc(100% + 2px); }
.qci-carte > * { margin-block: 0 16px; }
.qci-carte p { font-size: 15px; line-height: 1.7; }
.qci-carte__titre { font-family: var(--qci-sous-titre); font-weight: 500; font-size: clamp(26px, 2.4vw, 32px); letter-spacing: -0.045em; color: var(--qci-noir); margin-top: 24px; }
.qci-carte__liens { margin-top: auto !important; padding-top: 8px; margin-bottom: 0 !important; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 28px; }
/* Une seule destination : toute la carte est cliquable */
.qci-carte--un-lien .qci-lien::before { content: ""; position: absolute; inset: 0; }
.qci-carte--un-lien:hover .qci-lien::after { transform: translateX(6px); }

.qci-icone { display: inline-flex; width: 50px; height: 50px; color: var(--qci-petrole); }
.qci-icone svg { width: 100%; height: 100%; fill: currentColor; }
.qci-icone .qci-icone__noir { fill: var(--qci-noir); }
.qci-section--sombre .qci-icone .qci-icone__noir { fill: #fff; }
.qci-carte .qci-icone svg { transition: transform .6s var(--qci-ease); }
.qci-carte:hover .qci-icone svg { transform: rotate(-8deg) scale(1.06); }
.qci-autres__bouton { margin-top: clamp(32px, 4vw, 56px); }

/* ---------- 9. Duo texte / photo ---------- */
.qci-duo { gap: clamp(40px, 6vw, 96px) !important; align-items: center !important; }
.qci-duo--inverse { flex-direction: row-reverse; }
/* La photo reste en vue pendant la lecture d'un texte long */
.qci-duo__media { align-self: flex-start; position: sticky; top: calc(var(--mm-header-height) + 40px); }
.qci-duo__photo { margin: 0; }
.qci-duo__photo img { width: 100%; aspect-ratio: 4 / 5; max-height: min(78vh, 720px); object-fit: cover; }
.qci-duo__photo::after { content: ""; position: absolute; width: 38%; aspect-ratio: 1; border: 1px solid var(--qci-petrole); right: -18px; bottom: -18px; z-index: -1; }
.qci-duo--inverse .qci-duo__photo::after { right: auto; left: -18px; }
.qci-section--sombre .qci-duo__photo::after { border-color: rgba(255, 255, 255, .35); }
.qci-duo__texte .qci-icone { margin-bottom: 20px; }
.qci-duo__texte > p:last-child { margin-bottom: 0; }

/* « Pour qui ? » */
.qci-pourqui { border-left: 3px solid var(--qci-petrole); padding: 4px 0 4px 24px; margin-bottom: 40px; }
.qci-pourqui__label { font-family: var(--qci-manuscrit); font-size: 30px; line-height: 1; color: var(--qci-petrole); letter-spacing: 0; margin-bottom: 10px !important; }
.qci-pourqui__texte { font-family: var(--qci-titre); font-weight: 300; font-size: clamp(20px, 1.9vw, 26px); line-height: 1.35; letter-spacing: -0.03em; color: var(--qci-noir); margin: 0 !important; }

@media (max-width: 781px) {
	.qci-duo--inverse { flex-direction: column; }
	.qci-duo__media { order: -1; position: static; }
	.qci-duo__photo img { aspect-ratio: 4 / 3; }
	.qci-duo__photo::after { display: none; }
}

/* ---------- 10. Étapes ---------- */
.qci-etapes__intro { text-align: center; color: var(--qci-gris); margin-top: -32px !important; margin-bottom: 48px !important; }
.qci-etapes { counter-reset: etape; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 0; position: relative; }
.qci-etape { counter-increment: etape; position: relative; padding: 72px clamp(18px, 2vw, 32px) 8px 0; }
.qci-etape::before { content: counter(etape, decimal-leading-zero); position: absolute; top: 0; left: 0; font-family: var(--qci-titre); font-weight: 300; font-size: 44px; line-height: 1; letter-spacing: -0.05em; color: var(--qci-petrole); }
/* Le fil des étapes : un trait qui relie les numéros, avec le petit carré de l'ancien site */
.qci-etape::after { content: ""; position: absolute; top: 56px; left: 0; right: 0; height: 1px; background: var(--qci-ligne); }
.qci-etape__titre { font-family: var(--qci-sous-titre); font-weight: 500; font-size: 21px; line-height: 1.2; letter-spacing: -0.03em; color: var(--qci-noir); margin: 0 0 10px; position: relative; padding-top: 0; }
.qci-etape__titre::before { content: ""; position: absolute; left: 0; top: -20px; width: 9px; height: 9px; background: var(--qci-petrole); transform: translateY(-1px); }
.qci-etape p { font-size: 15px; line-height: 1.65; color: #333; }
.qci-etape ul.wp-block-list > li { font-size: 15px; }
.qci-etapes > .qci-etape:last-child::after { right: 40px; }
.qci-etapes::after { content: ""; position: absolute; top: 49px; right: 0; width: 28px; height: 14px; background: var(--qci-petrole);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 14'%3E%3Cpath d='M1 7h27M21 1.5 28 7l-7 5.5' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 14'%3E%3Cpath d='M1 7h27M21 1.5 28 7l-7 5.5' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
@media (min-width: 1100px) { .qci-etapes:has(> :nth-child(6)) { grid-template-columns: repeat(3, 1fr); row-gap: 40px; } .qci-etapes:has(> :nth-child(6))::after { display: none; } }
@media (min-width: 1100px) { .qci-etapes:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 700px) {
	.qci-etapes { grid-template-columns: 1fr; }
	.qci-etapes::after { display: none; }
	.qci-etape { padding: 0 0 32px 72px; }
	.qci-etape::before { font-size: 34px; }
	.qci-etape::after { top: 46px; bottom: 0; left: 22px; right: auto; width: 1px; height: auto; }
	.qci-etape:last-child::after { display: none; }
	.qci-etape__titre::before { display: none; }
}
/* Apparition en cascade */
.qci-js .qci-reveal .qci-etape { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s var(--qci-ease); }
.qci-js .qci-reveal.is-visible .qci-etape { opacity: 1; transform: none; }
.qci-js .qci-reveal.is-visible .qci-etape:nth-child(2) { transition-delay: .1s; }
.qci-js .qci-reveal.is-visible .qci-etape:nth-child(3) { transition-delay: .2s; }
.qci-js .qci-reveal.is-visible .qci-etape:nth-child(4) { transition-delay: .3s; }
.qci-js .qci-reveal.is-visible .qci-etape:nth-child(5) { transition-delay: .4s; }
.qci-js .qci-reveal.is-visible .qci-etape:nth-child(6) { transition-delay: .5s; }

/* ---------- 11. Piliers, valeurs, encadrés ---------- */
.qci-piliers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(28px, 3vw, 48px); }
.qci-pilier { border-top: 1px solid rgba(255, 255, 255, .25); padding-top: 28px; }
.qci-pilier .qci-pilier__num { font-family: var(--qci-titre); font-weight: 300; font-size: 56px; line-height: 1; letter-spacing: -0.05em; color: var(--qci-petrole); margin-bottom: 18px !important; }
.qci-pilier__titre { font-family: var(--qci-sous-titre); color: #fff; font-size: 24px; letter-spacing: -0.03em; }
.qci-pilier p { font-size: 15px; }

.qci-vision { text-align: center; max-width: 900px; margin-bottom: clamp(48px, 6vw, 80px) !important; }
.qci-vision .qci-titre { margin-bottom: 28px; }
.qci-valeurs { display: grid; grid-template-columns: 1fr; gap: clamp(20px, 2.4vw, 32px); max-width: 1080px !important; }
@media (min-width: 760px) { .qci-valeurs { grid-template-columns: repeat(2, 1fr); } }
.qci-valeur { background: var(--qci-brume); padding: clamp(28px, 3vw, 40px); position: relative; }
.qci-valeur::before { content: ""; display: block; width: 26px; height: 13px; background: var(--qci-petrole); margin-bottom: 22px; }
.qci-valeur__titre { font-family: var(--qci-sous-titre); font-size: 26px; letter-spacing: -0.04em; color: var(--qci-noir); }
.qci-valeur p { font-size: 15px; }

.qci-encadres { display: grid; gap: 20px; }
.qci-encadre { background: #fff; padding: 28px 30px; border-left: 3px solid var(--qci-petrole); }
.qci-encadre__titre { font-family: var(--qci-sous-titre); font-size: 22px; letter-spacing: -0.03em; color: var(--qci-noir); }
.qci-encadre p, .qci-encadre li { font-size: 15px; }
.qci-encadre > :last-child { margin-bottom: 0; }
.qci-parcours { gap: clamp(40px, 6vw, 80px) !important; }

.qci-methode { align-items: center !important; gap: clamp(32px, 5vw, 80px) !important; }
.qci-methode__logo img { max-width: 260px; margin-inline: auto; }
.qci-liste-etapes { display: flex; flex-wrap: wrap; gap: 10px; }
.qci-section ul.qci-liste-etapes > li { padding: 10px 18px 10px 18px; margin: 0; background: var(--qci-petrole); color: #fff; font-size: 13px; font-weight: 500; letter-spacing: .06em; }
.qci-section ul.qci-liste-etapes > li::before { display: none; }
.qci-section ul.qci-liste-etapes > li:nth-child(2) { background: var(--qci-petrole-fonce); }
.qci-section ul.qci-liste-etapes > li:nth-child(3) { background: #2b4a50; }
.qci-section ul.qci-liste-etapes > li:nth-child(4) { background: var(--qci-noir); }
.qci-methode__exemple { font-family: var(--qci-sous-titre); font-size: 20px; margin-top: 32px; }
.qci-methode__schema img { box-shadow: var(--qci-ombre-douce); }
.qci-lecture { max-width: 820px !important; }

/* ---------- 12. Témoignages ---------- */
.qci-temoignages { background: linear-gradient(180deg, #fff 0%, var(--qci-brume) 100%); }
.qci-carrousel { position: relative; }
.qci-carrousel__piste { align-items: start; display: grid; grid-auto-flow: column; grid-auto-columns: min(100%, 560px); gap: clamp(20px, 2.4vw, 32px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0; padding: 8px 2px 24px; scrollbar-width: none; overscroll-behavior-x: contain; }
.qci-carrousel__piste::-webkit-scrollbar { display: none; }
.qci-carrousel__piste:focus-visible { outline-offset: 6px; }
@media (min-width: 1240px) { .qci-carrousel__piste { grid-auto-columns: calc((100% - 2 * 32px) / 3); } }
/* Un ou deux témoignages seulement (pages de service) : centrés */
.qci-carrousel__piste:not(:has(> :nth-child(3))) { justify-content: center; }
.qci-temoin { scroll-snap-align: start; margin: 0; background: #fff; padding: clamp(28px, 3vw, 44px); display: flex; flex-direction: column; box-shadow: 0 1px 0 var(--qci-ligne); border-top: 3px solid var(--qci-petrole); }
.qci-temoin__guillemet { width: 40px; height: 30px; fill: var(--qci-petrole); opacity: .35; margin-bottom: 20px; }
.qci-temoin__texte { margin: 0 0 28px; font-size: 16px; line-height: 1.7; color: #2a2a2a; }
.qci-temoin__texte p:last-child { margin-bottom: 0; }
/* Témoignage long : replié sur une dizaine de lignes, « Lire la suite » le déplie */
.qci-temoin.is-replie .qci-temoin__texte { max-height: 17em; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 65%, transparent); mask-image: linear-gradient(180deg, #000 65%, transparent); margin-bottom: 8px; }
.qci-temoin__suite { align-self: flex-start; background: none; border: 0; padding: 4px 0; margin: 0 0 20px; font: inherit; font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; color: var(--qci-petrole-fonce); cursor: pointer; text-decoration: underline; text-underline-offset: .3em; }
.qci-temoin__suite:hover { color: var(--qci-noir); }
.qci-temoin__auteur { margin-top: auto; display: flex; flex-direction: column; gap: 6px; padding-top: 22px; border-top: 1px solid var(--qci-ligne); }
.qci-temoin__nom { font-family: var(--qci-sous-titre); font-weight: 700; font-size: 24px; letter-spacing: -0.03em; line-height: 1.1; }
.qci-temoin__fonction { font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; color: var(--qci-petrole-fonce); }
.qci-carrousel.is-fixe .qci-carrousel__nav { display: none; }
.qci-carrousel__nav { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 18px; }
.qci-carrousel__btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--qci-noir); background: transparent; color: var(--qci-noir); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background-color .3s, color .3s, opacity .3s; }
.qci-carrousel__btn svg { width: 20px; height: 20px; fill: currentColor; }
.qci-carrousel__btn:hover:not(:disabled) { background: var(--qci-noir); color: #fff; }
.qci-carrousel__btn:disabled { opacity: .25; cursor: default; }
.qci-carrousel__points { display: flex; gap: 8px; }
.qci-carrousel__point { width: 8px; height: 8px; background: var(--qci-ligne); transition: background-color .3s, width .3s var(--qci-ease); }
.qci-carrousel__point.is-actif { background: var(--qci-petrole); width: 26px; }

/* ---------- 13. Questions fréquentes ---------- */
.qci-faq { max-width: 920px !important; }
.qci-faq__item, .wp-block-details.is-style-qci-faq { background: #fff; border-bottom: 1px solid var(--qci-ligne); margin: 0 !important; }
.qci-faq__item + .qci-faq__item { border-top: 0; }
.qci-faq__item summary, .wp-block-details.is-style-qci-faq summary { list-style: none; cursor: pointer; position: relative; padding: 26px 72px 26px 30px; font-family: var(--qci-sous-titre); font-weight: 500; font-size: clamp(18px, 1.6vw, 21px); letter-spacing: -0.02em; line-height: 1.3; transition: color .3s; }
.qci-faq__item summary::-webkit-details-marker { display: none; }
.qci-faq__item summary::before, .qci-faq__item summary::after { content: ""; position: absolute; right: 30px; top: 50%; width: 16px; height: 1.5px; background: var(--qci-petrole); transition: transform .4s var(--qci-ease); }
.qci-faq__item summary::after { transform: rotate(90deg); }
.qci-faq__item[open] summary::after { transform: rotate(0); }
.qci-faq__item summary:hover { color: var(--qci-petrole-fonce); }
.qci-faq__item > :not(summary) { padding-inline: 30px; max-width: 760px; }
.qci-faq__item > :last-child { padding-bottom: 26px; margin-bottom: 0; }
.qci-faq__item[open] { box-shadow: inset 3px 0 0 var(--qci-petrole); }
.qci-faq__item p, .qci-faq__item li { font-size: 15.5px; }

/* ---------- 14. Appel à l'action ---------- */
.qci-section-cta { background: var(--qci-petrole-fonce); color: #fff; padding: 0 !important; overflow: hidden; }
.qci-section-cta > * { max-width: none; }
.qci-cta { gap: 0 !important; align-items: stretch !important; margin: 0 !important; }
.qci-cta__texte-col { padding: clamp(64px, 8vw, 120px) clamp(28px, 6vw, 110px); display: flex; flex-direction: column; justify-content: center; text-align: center; align-items: center; }
.qci-cta__titre { font-family: var(--qci-titre); font-weight: 400; color: #fff; font-size: clamp(32px, 3.6vw, 52px); letter-spacing: -0.045em; line-height: 1.05; max-width: 16ch; }
.qci-cta__texte { color: rgba(255, 255, 255, .88); max-width: 560px; }
.qci-cta__boutons { justify-content: center; }
.qci-cta__photo-col { position: relative; min-height: 340px; }
.qci-cta__photo { position: absolute !important; inset: 0; margin: 0 !important; }
.qci-cta__photo img { width: 100%; height: 100%; object-fit: cover; }
.qci-cta__photo-col::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(54, 97, 105, .55), transparent 40%); pointer-events: none; }
.qci-cta__seul { max-width: 900px; margin-inline: auto; padding: clamp(64px, 8vw, 110px) var(--mm-gutter); text-align: center; display: flex; flex-direction: column; align-items: center; }
@media (max-width: 781px) { .qci-cta__photo-col { min-height: 260px; order: -1; } .qci-cta__photo-col::before { background: linear-gradient(0deg, rgba(54, 97, 105, .8), transparent 50%); } }

/* ---------- 15. Contact et formulaire ---------- */
.qci-contact { gap: clamp(40px, 6vw, 96px) !important; }
.qci-coordonnees { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 22px; }
.qci-coordonnees li { border-top: 1px solid var(--qci-ligne); padding-top: 18px; display: flex; flex-direction: column; gap: 6px; }
.qci-coordonnees__label { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--qci-gris); }
.qci-coordonnees a, .qci-coordonnees li > span:not(.qci-coordonnees__label) { display: inline-flex; align-items: center; gap: 12px; font-family: var(--qci-sous-titre); font-size: clamp(20px, 1.8vw, 24px); letter-spacing: -0.03em; color: var(--qci-noir); text-decoration: none; }
.qci-coordonnees li > span:not(.qci-coordonnees__label) { font-size: 17px; font-family: var(--qci-texte); letter-spacing: -0.01em; }
.qci-coordonnees a:hover { color: var(--qci-petrole-fonce); }
.qci-coordonnees .qci-ico { width: 20px; height: 20px; fill: var(--qci-petrole); flex: none; }

.qci-form { background: var(--qci-brume); padding: clamp(28px, 4vw, 56px); }
.qci-form form { display: flex; flex-wrap: wrap; gap: 0 20px; }
.qci-champ { flex: 1 1 100%; margin: 0 0 20px; display: flex; flex-direction: column; gap: 8px; }
.qci-champ--demi { flex-basis: calc(50% - 10px); }
@media (max-width: 600px) { .qci-champ--demi { flex-basis: 100%; } }
.qci-champ label { font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; }
.qci-champ label span { color: var(--qci-petrole-fonce); }
.qci-champ input, .qci-champ textarea { font: inherit; font-size: 16px; color: var(--qci-noir); background: #fff; border: 1px solid var(--qci-ligne); border-radius: 0; padding: 15px 16px; width: 100%; transition: border-color .3s, box-shadow .3s; }
.qci-champ input:focus, .qci-champ textarea:focus { outline: none; border-color: var(--qci-petrole); box-shadow: 0 0 0 3px rgba(80, 124, 133, .2); }
.qci-champ--erreur input, .qci-champ--erreur textarea { border-color: #b3261e; }
.qci-champ--case { flex-direction: row; align-items: flex-start; gap: 12px; }
.qci-champ--case input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--qci-petrole); }
.qci-champ--case label { text-transform: none; letter-spacing: -0.01em; font-weight: 400; font-size: 14px; line-height: 1.5; }
.qci-form__piege { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.qci-form__envoi { flex-basis: 100%; margin: 8px 0 16px; }
.qci-bouton { gap: 14px; }
.qci-bouton__fleche { width: 34px; height: 12px; transition: transform .35s var(--qci-ease); }
.qci-bouton__fleche path { stroke: currentColor; }
.qci-bouton:hover .qci-bouton__fleche { transform: translateX(5px); }
.qci-form__note { flex-basis: 100%; font-size: 13px; color: var(--qci-gris); margin: 0; }
.qci-avis { flex-basis: 100%; padding: 18px 22px; margin-bottom: 24px; border-left: 3px solid; background: #fff; }
.qci-avis ul { margin: 0; padding-left: 18px; }
.qci-avis--ok { border-color: var(--qci-petrole); }
.qci-avis--erreur { border-color: #b3261e; color: #6d1a14; }

/* ---------- 16. Pied de page ---------- */
.qci-pied { background: var(--qci-noir); color: rgba(255, 255, 255, .8); position: relative; overflow: hidden; }
.qci-pied a { color: #fff; text-decoration: none; }
.qci-pied a:hover { color: #a9c6cc; }
.qci-pied__fleche { display: block; width: 120px; height: 18px; margin-top: 4px; overflow: visible; }
.qci-pied__fleche path { stroke: #a9c6cc; }
.qci-pied__main { max-width: var(--qci-large); padding-block: clamp(56px, 7vw, 96px) 40px; grid-template-columns: 1.3fr 1fr 1.2fr .8fr; gap: 40px 56px; position: relative; }
@media (max-width: 960px) { .qci-pied__main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .qci-pied__main { grid-template-columns: 1fr; } }
.qci-pied__marque img { width: 110px; height: auto; }
.qci-pied__accroche { margin-top: 18px; font-family: var(--qci-titre); font-style: italic; font-weight: 300; font-size: 18px; color: #fff; }
.qci-pied__titre { font-family: var(--qci-texte); font-weight: 500; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: #fff; margin: 0 0 20px; }
.qci-pied__liste li { margin-bottom: 10px; font-size: 15px; }
.qci-pied__contact li { display: flex; gap: 10px; align-items: flex-start; }
.qci-pied__contact a { display: inline-flex; gap: 10px; align-items: center; }
.qci-pied .qci-ico { width: 16px; height: 16px; fill: #a9c6cc; flex: none; margin-top: 4px; }
.qci-pied__contact a .qci-ico { margin-top: 0; }
.qci-pied__zone span { color: rgba(255, 255, 255, .7); }
.qci-pied__linkedin { display: inline-flex; align-items: center; gap: 12px; }
.qci-pied__linkedin .qci-ico { width: 36px; height: 36px; padding: 9px; margin: 0; background: #fff; fill: var(--qci-noir); border-radius: 50%; transition: background-color .3s; }
.qci-pied__linkedin:hover .qci-ico { background: var(--qci-petrole); fill: #fff; }
.qci-pied__bas { border-top: 1px solid rgba(255, 255, 255, .12); max-width: var(--qci-large); margin-inline: auto; padding: 22px var(--mm-gutter) 30px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: 13px; color: rgba(255, 255, 255, .6); position: relative; }
.qci-pied__bas p { margin: 0; }
.qci-pied__legal { display: flex; gap: 24px; }

/* ---------- 17. Pages simples (mentions légales…) ---------- */
.mm-page-header { background: var(--qci-degrade); color: #fff; padding: clamp(72px, 9vw, 120px) var(--mm-gutter) clamp(48px, 6vw, 80px); margin-bottom: clamp(40px, 5vw, 72px); }
.mm-page-title { color: #fff; font-size: clamp(36px, 5vw, 64px); letter-spacing: -0.05em; }
.mm-content h2 { font-size: clamp(28px, 3vw, 40px); margin-top: 1.8em; }
.mm-content h3 { font-size: 22px; margin-top: 1.6em; }
.mm-content .wp-block-separator { border: 0; border-top: 1px solid var(--qci-ligne); margin-block: 48px; }
.qci-tableau table { width: 100%; border-collapse: collapse; font-size: 14px; }
.qci-tableau th, .qci-tableau td { border: 1px solid var(--qci-ligne); padding: 10px 12px; text-align: left; vertical-align: top; }
.qci-tableau th { background: var(--qci-brume); font-weight: 600; }
@media (max-width: 600px) { .qci-tableau { overflow-x: auto; } }

/* 404 */
.qci-404 { min-height: calc(80svh - var(--mm-header-height)); display: flex; align-items: center; }
.qci-404__code { font-family: var(--qci-titre); font-weight: 300; font-size: clamp(96px, 16vw, 220px); line-height: 1; letter-spacing: -0.07em; margin: 0 0 12px; color: rgba(255, 255, 255, .22); }
.qci-404__boutons { display: flex; flex-wrap: wrap; justify-content: center; }

/* ---------- 18. Apparition au défilement ---------- */
.qci-js .qci-reveal > * { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s var(--qci-ease); }
.qci-js .qci-reveal.is-visible > * { opacity: 1; transform: none; }
.qci-js .qci-reveal.is-visible > *:nth-child(2) { transition-delay: .12s; }
.qci-js .qci-reveal.is-visible > *:nth-child(3) { transition-delay: .24s; }
.qci-js .qci-reveal .qci-carte { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s var(--qci-ease), border-color .4s, box-shadow .4s; }
.qci-js .qci-reveal.is-visible .qci-carte { opacity: 1; transform: none; }
.qci-js .qci-reveal.is-visible .qci-carte:nth-child(2) { transition-delay: .1s, .1s, 0s, 0s; }
.qci-js .qci-reveal.is-visible .qci-carte:nth-child(3) { transition-delay: .2s, .2s, 0s, 0s; }
.qci-js .qci-reveal.is-visible .qci-carte:nth-child(4) { transition-delay: .3s, .3s, 0s, 0s; }
.qci-js .qci-reveal.is-visible .qci-carte:hover { transform: translateY(-4px); transition-delay: 0s; }
@media (prefers-reduced-motion: reduce) {
	.qci-js .qci-reveal > *, .qci-js .qci-reveal .qci-carte, .qci-js .qci-reveal .qci-etape { opacity: 1 !important; transform: none !important; }
	.qci-js .qci-reveal .qci-signature__trait, .qci-js .qci-reveal .qci-signature__pointe { stroke-dashoffset: 0 !important; }
	.qci-hero__cube img { transform: none !important; }
}

/* ---------- 19. Éditeur ---------- */
.editor-styles-wrapper .qci-reveal > *, .editor-styles-wrapper .qci-carte, .editor-styles-wrapper .qci-etape { opacity: 1 !important; transform: none !important; }
.editor-styles-wrapper .qci-hero, .editor-styles-wrapper .qci-page-haut { min-height: 0; }
