/*
	Theme Name: Kraft Design
	Theme URI: https://www.kraftdesign.eu
	Description: Thème enfant de Hello Elementor pour le site Kraft Design.
	Author: Mix Web
	Author URI: https://mixweb.fr
	Template: hello-elementor
	Version: 1.0.1
	Requires at least: 6.0
	Tested up to: 6.8
	Requires PHP: 7.4
	License: GNU General Public License v3 or later.
	License URI: https://www.gnu.org/licenses/gpl-3.0.html
	Text Domain: kraft-design
*/

/* ==========================================================================
   FONTS — Euclid Circular A (custom)
   ========================================================================== */

@font-face {
	font-family: 'Euclid Circular A';
	src: url('fonts/EuclidCircularA-Light.woff') format('woff'),
	     url('fonts/EuclidCircularA-Light.ttf') format('truetype');
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Euclid Circular A';
	src: url('fonts/EuclidCircularA-LightItalic.woff') format('woff'),
	     url('fonts/EuclidCircularA-LightItalic.ttf') format('truetype');
	font-weight: 300;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: 'Euclid Circular A';
	src: url('fonts/EuclidCircularA-Regular.woff') format('woff'),
	     url('fonts/EuclidCircularA-Regular.ttf') format('truetype');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Euclid Circular A';
	src: url('fonts/EuclidCircularA-Italic.woff') format('woff'),
	     url('fonts/EuclidCircularA-Italic.ttf') format('truetype');
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: 'Euclid Circular A';
	src: url('fonts/EuclidCircularA-Medium.woff') format('woff'),
	     url('fonts/EuclidCircularA-Medium.ttf') format('truetype');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Euclid Circular A';
	src: url('fonts/EuclidCircularA-MediumItalic.woff') format('woff'),
	     url('fonts/EuclidCircularA-MediumItalic.ttf') format('truetype');
	font-weight: 500;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: 'Euclid Circular A';
	src: url('fonts/EuclidCircularA-SemiBold.woff') format('woff'),
	     url('fonts/EuclidCircularA-SemiBold.ttf') format('truetype');
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Euclid Circular A';
	src: url('fonts/EuclidCircularA-SemiBoldItalic.woff') format('woff'),
	     url('fonts/EuclidCircularA-SemiBoldItalic.ttf') format('truetype');
	font-weight: 600;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: 'Euclid Circular A';
	src: url('fonts/EuclidCircularA-Bold.woff') format('woff'),
	     url('fonts/EuclidCircularA-Bold.ttf') format('truetype');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Euclid Circular A';
	src: url('fonts/EuclidCircularA-BoldItalic.woff') format('woff'),
	     url('fonts/EuclidCircularA-BoldItalic.ttf') format('truetype');
	font-weight: 700;
	font-style: italic;
	font-display: swap;
}

/* ==========================================================================
   LAYOUT — Conteneur principal
   Box : 1280px max-width, 40px padding gauche/droite (desktop)
   ========================================================================== */

.e-con-boxed > .e-con-inner,
.elementor-container.elementor-column-gap-default {
	max-width: 1280px !important;
	padding-left: 40px !important;
	padding-right: 40px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

/* ==========================================================================
   DESIGN TOKENS — CSS Custom Properties
   ========================================================================== */

:root {
	/* -- Couleurs ---------------------------------------------------------- */
	--kd-blue:    #26406B;   /* Bleu marine principal */
	--kd-coral:   #FF5E53;   /* Rouge corail — CTA, accents */
	--kd-green:   #648D6D;   /* Vert secondaire */
	--kd-sky:     #77D7FF;   /* Bleu ciel tertiaire */
	--kd-white:   #FFFFFF;
	--kd-black:   #000000;

	/* -- Typographies ------------------------------------------------------ */
	--kd-font-primary:   'Space Grotesk', sans-serif;
	--kd-font-secondary: 'Euclid Circular A', sans-serif;

	/* -- Tailles de texte -------------------------------------------------- */
	--kd-h1:      60px;
	--kd-h2:      73px;   /* 55pt ≈ 73px */
	--kd-h3:      64px;   /* 48pt ≈ 64px */
	--kd-h4:      24px;
	--kd-body:    20px;
	--kd-body-sm: 17px;

	/* -- Font weights ------------------------------------------------------ */
	--kd-light:    300;
	--kd-regular:  400;
	--kd-medium:   500;
	--kd-semibold: 600;
	--kd-bold:     700;

	/* -- Border radius ------------------------------------------------------ */
	--kd-radius-btn: 50px;   /* Boutons pill */
	--kd-radius-card: 8px;

	/* -- Transitions ------------------------------------------------------- */
	--kd-transition: 0.3s ease;
}

/* ==========================================================================
   BASE
   ========================================================================== */

body {
	font-family: var(--kd-font-primary);
	color: var(--kd-blue);
	-webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   BOUTONS — Styles globaux
   ========================================================================== */

/* CTA Primaire — rouge corail (rempli) */
.kd-btn-primary,
.elementor-button.kd-btn-primary {
	background-color: var(--kd-coral);
	color: var(--kd-white) !important;
	border: 2px solid var(--kd-coral);
	border-radius: var(--kd-radius-btn);
	font-weight: var(--kd-semibold);
	transition: background-color var(--kd-transition), border-color var(--kd-transition), color var(--kd-transition);
}
.kd-btn-primary:hover {
	background-color: #e64e44;
	border-color: #e64e44;
}

/* CTA Secondaire — outline bleu marine */
.kd-btn-outline,
.elementor-button.kd-btn-outline {
	background-color: transparent;
	color: var(--kd-blue) !important;
	border: 2px solid var(--kd-blue);
	border-radius: var(--kd-radius-btn);
	font-weight: var(--kd-semibold);
	transition: background-color var(--kd-transition), color var(--kd-transition);
}
.kd-btn-outline:hover {
	background-color: var(--kd-blue);
	color: var(--kd-white) !important;
}

/* CTA Bleu marine (rempli) */
.kd-btn-blue,
.elementor-button.kd-btn-blue {
	background-color: var(--kd-blue);
	color: var(--kd-white) !important;
	border: 2px solid var(--kd-blue);
	border-radius: var(--kd-radius-btn);
	font-weight: var(--kd-semibold);
	transition: background-color var(--kd-transition);
}
.kd-btn-blue:hover {
	background-color: #1c3054;
	border-color: #1c3054;
}

/* ==========================================================================
   HEADER — Sticky avec changement de style au scroll
   ========================================================================== */

/* Header : transparent par défaut — la hero de chaque page donne la couleur */
.elementor-location-header {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 999;
}

/* Container principal du header : transparent */
.elementor-location-header > .elementor-section-wrap > .elementor-element,
.elementor-location-header .e-con.elementor-sticky {
	background: transparent !important;
	transition: background-color var(--kd-transition), box-shadow var(--kd-transition);
}

/* Header sticky (au scroll) : fond blanc */
.elementor-location-header .elementor-sticky--effects,
.kd-header-scrolled {
	background-color: var(--kd-white) !important;
	box-shadow: 0 2px 12px rgba(38, 64, 107, 0.12);
}

/* Nav links — état initial (sur fond bleu) */
.elementor-nav-menu .elementor-item {
	font-weight: var(--kd-regular);
	text-decoration: none !important;
	transition: color var(--kd-transition);
}

/* Astuce anti-layout-shift : pseudo-element bold en invisible pour réserver l'espace */
.elementor-nav-menu .elementor-item::before {
	content: attr(data-text);
	display: block;
	font-weight: var(--kd-semibold);
	height: 0;
	overflow: hidden;
	visibility: hidden;
	pointer-events: none;
}

/* Hover → Semi-Bold */
.elementor-nav-menu .elementor-item:hover,
.elementor-nav-menu .elementor-item:focus {
	font-weight: var(--kd-semibold) !important;
}

/* Page active → blanc + bold (header transparent, non scrollé) */
.elementor-nav-menu .elementor-item.elementor-item-active,
.elementor-nav-menu .current-menu-item > .elementor-item {
	font-weight: 700 !important;
	color: var(--kd-white) !important;
}

/* Page active → bleu + bold (header scrollé, fond blanc) */
.kd-header-scrolled .elementor-nav-menu .elementor-item.elementor-item-active,
.kd-header-scrolled .elementor-nav-menu .current-menu-item > .elementor-item {
	font-weight: 700 !important;
	color: var(--kd-blue) !important;
}

/* ==========================================================================
   HERO HOME — Positionnement images flottantes + marquee Print
   ========================================================================== */

/* Marquee Print First — géré entièrement en inline dans le widget HTML */

/* ==========================================================================
   HERO HOME — Images flottantes (classes custom, zéro JS)
   ========================================================================== */

/* Colonne "Print management" (f0b5bb5) : coin mirrored en haut à droite sur tablette */
@media (min-width: 768px) and (max-width: 1024px) {
  .elementor-element-f0b5bb5 {
    position: relative !important;
  }
  /* Cacher le fond original */
  .elementor-element-f0b5bb5:not(.elementor-motion-effects-element-type-background),
  .elementor-element-f0b5bb5 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
    background-image: none !important;
  }
  /* Recréer le fond via ::before avec scaleX(-1) pour mirror */
  .elementor-element-f0b5bb5::before {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    background-image: url("https://www.kraftdesign.eu/wp-content/uploads/2026/03/Fond-Service-Bleu-2.svg") !important;
    background-position: top left !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    transform: scaleX(-1) !important;
    z-index: 0 !important;
  }
  /* S'assurer que le contenu reste au-dessus */
  .elementor-element-f0b5bb5 > * {
    position: relative !important;
    z-index: 1 !important;
  }
}

/* Symbole KD flottant → teinte #77D7FF */
[data-id="400de8e"] img {
  filter: invert(58%) sepia(100%) saturate(300%) hue-rotate(170deg) brightness(105%) !important;
}

/* Container hero : position relative pour les absolus */
[data-id="kd-hero-section"] {
	position: relative !important;
	overflow: visible !important;
}

/* Contenu texte au-dessus des images */
.kd-hero-content {
	position: relative !important;
	z-index: 2 !important;
}

/* RSE — haut droite, collée au bord droit, 400px */
.kd-hero-img-rse {
	position: absolute !important;
	top: 60px !important;
	right: 0 !important;
	left: auto !important;
	bottom: auto !important;
	width: 400px !important;
	transform: none !important;
	z-index: 3 !important;
}
.kd-hero-img-rse img {
	width: 100% !important;
	transform: none !important;
}

/* Pru — bas gauche, collée au bord gauche, 425px */
.kd-hero-img-pru {
	position: absolute !important;
	bottom: 180px !important;
	left: 0 !important;
	top: auto !important;
	right: auto !important;
	width: 425px !important;
	transform: none !important;
	z-index: 3 !important;
}
.kd-hero-img-pru img {
	width: 100% !important;
	transform: none !important;
}

/* Loomstack — bas, centrée colonne droite, 286px */
.kd-hero-img-loom {
	position: absolute !important;
	bottom: 100px !important;
	right: 15% !important;
	left: auto !important;
	top: auto !important;
	width: 286px !important;
	transform: none !important;
	z-index: 3 !important;
}
.kd-hero-img-loom img {
	width: 100% !important;
	transform: none !important;
}

/* Scrollez — bas centre */
.kd-hero-scrollez {
	position: absolute !important;
	bottom: 32px !important;
	left: 50% !important;
	transform: translateX(-50%) !important;
	top: auto !important;
	right: auto !important;
	width: 50px !important;
	z-index: 4 !important;
}

/* ==========================================================================
   MARQUEE — "PRINT FIRST" défilement infini
   ========================================================================== */

.kd-marquee-wrapper {
	overflow: hidden;
	width: 100%;
	background-color: var(--kd-blue);
	padding: 16px 0;
}

.kd-marquee-track {
	display: flex;
	width: max-content;
	animation: kd-marquee-scroll 20s linear infinite;
}

.kd-marquee-track:hover {
	animation-play-state: paused;
}

.kd-marquee-item {
	display: flex;
	align-items: center;
	padding: 0 40px;
	white-space: nowrap;
	color: var(--kd-white);
}

.kd-marquee-item img {
	height: 32px;
	width: auto;
}

@keyframes kd-marquee-scroll {
	0%   { transform: translateX(0); }
	100% { transform: translateX(-50%); }
}

/* ==========================================================================
   SCROLL REVEAL — Animations d'entrée (Fade Up)
   Base : Elementor Motion Effects complète.
   Classes utilitaires pour usage custom.
   ========================================================================== */

.kd-reveal {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.kd-reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.kd-reveal-delay-1 { transition-delay: 0.1s; }
.kd-reveal-delay-2 { transition-delay: 0.2s; }
.kd-reveal-delay-3 { transition-delay: 0.3s; }
.kd-reveal-delay-4 { transition-delay: 0.4s; }

/* ==========================================================================
   PROJETS — Slider custom
   ========================================================================== */

/* Navigation slider */
.kd-slider-nav {
	display: flex;
	align-items: center;
	gap: 16px;
}

.kd-slider-btn {
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
	transition: opacity var(--kd-transition);
}
.kd-slider-btn:hover { opacity: 0.7; }
.kd-slider-btn img  { width: 40px; height: auto; }

/* Alternance layout projet (pair/impair) */
.kd-project-item:nth-child(even) .kd-project-inner {
	flex-direction: row-reverse;
	background-color: var(--kd-blue);
	color: var(--kd-white);
}

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

.kd-footer {
	background-color: var(--kd-blue);
	color: var(--kd-white);
}

.kd-footer a {
	color: var(--kd-white);
	text-decoration: none;
	transition: opacity var(--kd-transition);
}

.kd-footer a:hover {
	opacity: 0.75;
}

/* Back to top */
.kd-back-to-top {
	position: fixed;
	bottom: 32px;
	right: 32px;
	z-index: 999;
	opacity: 0;
	pointer-events: none;
	transition: opacity var(--kd-transition);
}

.kd-back-to-top.is-visible {
	opacity: 1;
	pointer-events: auto;
}

/* ==========================================================================
   HELPERS
   ========================================================================== */

/* Fond bleu marine */
.kd-bg-blue  { background-color: var(--kd-blue); }
/* Fond blanc */
.kd-bg-white { background-color: var(--kd-white); }
/* Fond texture béton */
.kd-bg-concrete {
	background-image: url('images/concrete-texture.jpg');
	background-size: cover;
	background-position: center;
}

/* Textes */
.kd-text-white { color: var(--kd-white) !important; }
.kd-text-blue  { color: var(--kd-blue) !important; }
.kd-text-coral { color: var(--kd-coral) !important; }

/* Puce Check SVG */
.kd-list-check {
	list-style: none;
	padding: 0;
}
.kd-list-check li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 12px;
}
.kd-list-check li::before {
	content: '';
	width: 20px;
	height: 20px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23FF5E53' d='M16.7 5.3l-8 8-4-4 1.4-1.4 2.6 2.6 6.6-6.6z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	flex-shrink: 0;
	margin-top: 2px;
}

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

@media (max-width: 767px) {
	:root {
		--kd-h1: 36px;
		--kd-h2: 32px;
		--kd-h3: 28px;
		--kd-h4: 20px;
		--kd-body: 16px;
		--kd-body-sm: 14px;
	}

	.kd-marquee-track {
		animation-duration: 12s;
	}
}

@media (max-width: 1024px) and (min-width: 768px) {
	:root {
		--kd-h1: 48px;
		--kd-h2: 52px;
		--kd-h3: 44px;
	}
}

/* ==========================================================================
   MENU — Switcher langue FR / EN (items 258 & 259)
   ========================================================================== */

/* Switcher langue FR / EN — espacement serré */
#menu-1-fc530e6 li.menu-item-258 {
	margin: 0 0 0 16px !important;
	padding: 0 !important;
}

#menu-1-fc530e6 li.menu-item-259 {
	margin: 0 !important;
	padding: 0 !important;
}

#menu-1-fc530e6 li.menu-item-258 a,
#menu-1-fc530e6 li.menu-item-259 a {
	padding-left: 4px !important;
	padding-right: 4px !important;
}

/* ==========================================================================
   LISTES — Puces rondes, alignement gauche, espacement
   ========================================================================== */

/* Global : reset tirets */
.elementor-widget-text-editor ul {
  list-style: none;
  padding-left: 0;
}
.elementor-widget-text-editor ul li::before {
  content: '– ';
}

/* Section services (4961567) : puces rondes, texte aligné à gauche */
[data-id="4961567"] .elementor-widget-text-editor ul {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 0 !important;
}
[data-id="4961567"] .elementor-widget-text-editor ul li {
  display: flex !important;
  align-items: baseline !important;
  gap: 10px !important;
  padding-top: 5px !important;
  padding-bottom: 5px !important;
  line-height: inherit !important;
}
[data-id="4961567"] .elementor-widget-text-editor ul li::before {
  content: '' !important;
  display: inline-block !important;
  width: 7px !important;
  height: 7px !important;
  min-width: 7px !important;
  border-radius: 50% !important;
  background-color: currentColor !important;
  margin-top: 0.2em !important;
}

/* ==========================================================================
   CAROUSEL — Scroll horizontal aligné sur la grille
   ========================================================================== */
.kd-carousel-track {
  overflow-x: scroll;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding-left: calc((100vw - 1280px) / 2 + 40px) !important;
}
.kd-carousel-track::-webkit-scrollbar { display: none; }
.kd-carousel-prev img,
.kd-carousel-next img { cursor: pointer; }

/* Forcer largeur fixe des cartes carousel */
.kd-carousel-card {
  min-width: 375px !important;
  max-width: 375px !important;
  flex-shrink: 0 !important;
}

/* Supprimer le padding auto de e-con-inner sur les cartes carousel */
.kd-carousel-track .kd-carousel-card.e-con-boxed > .e-con-inner {
  padding-left: 0 !important;
  padding-right: 0 !important;
  max-width: 100% !important;
}

/* Force overflow scroll sur le track carousel — écrase e-con-full */
.elementor-element.kd-carousel-track,
.kd-carousel-track.e-con,
.kd-carousel-track.e-flex,
.kd-carousel-track {
  overflow-x: scroll !important;
  overflow-y: visible !important;
  flex-wrap: nowrap !important;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.kd-carousel-track::-webkit-scrollbar { display: none !important; }

/* Icon-box : neutraliser fill/border forcés par Elementor sur les SVG */
.elementor-widget-icon-box .elementor-icon svg,
.elementor-widget-icon-box .elementor-view-framed .elementor-icon svg,
.elementor-widget-icon-box .elementor-view-default .elementor-icon svg {
  fill: unset !important;
}
.elementor-widget-icon-box .elementor-view-framed .elementor-icon {
  border: none !important;
  background: transparent !important;
}

/* Carousel cards : ne pas forcer la couleur fill sur les icônes icon-box */
.kd-carousel-card .elementor-widget-icon-box .elementor-icon,
.kd-carousel-card .elementor-widget-icon-box.elementor-view-default .elementor-icon,
.kd-carousel-card .elementor-widget-icon-box.elementor-view-framed .elementor-icon {
  fill: unset !important;
  color: unset !important;
  border-color: transparent !important;
}

/* Hero : masquer le débordement du logo RSE positionné en absolu */
.elementor-element-kd-hero-section {
  overflow: hidden !important;
}

/* ==========================================================================
   HEADER — Transparent au départ, blanc au scroll
   ========================================================================== */

/* État initial : transparent */
#masthead,
.site-header,
header.elementor-location-header,
.e-header {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  transition: background-color 0.3s ease, min-height 0.3s ease, box-shadow 0.3s ease;
  background-color: transparent !important;
  min-height: 90px;
}

/* Barre WordPress admin — décalage du header */
.admin-bar #masthead,
.admin-bar .site-header,
.admin-bar header.elementor-location-header,
.admin-bar .e-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar #masthead,
  .admin-bar .site-header,
  .admin-bar header.elementor-location-header,
  .admin-bar .e-header {
    top: 46px;
  }
}

/* État scrollé */
header.elementor-location-header.kd-header-scrolled,
.e-header.kd-header-scrolled,
#masthead.kd-header-scrolled,
.site-header.kd-header-scrolled {
  background-color: #ffffff !important;
  min-height: 70px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

/* ==========================================================================
   HEADER — Swap logo + couleurs au scroll
   ========================================================================== */

/* Logo blanc → bleu au scroll */
.kd-header-scrolled .kd-logo-initial img {
  content: url('https://www.kraftdesign.eu/wp-content/uploads/2026/03/Logo-KD-Menu1-26406b-1.svg') !important;
}

/* Icône espace client blanc → bleu */
.kd-header-scrolled .elementor-element-6ef44c7 img {
  content: url('https://www.kraftdesign.eu/wp-content/uploads/2026/03/Icon-EspaceClient-26406b-1.svg') !important;
  filter: none !important;
}

/* Liens du menu : blanc → bleu */
header.elementor-location-header .elementor-nav-menu a,
header.elementor-location-header .elementor-nav-menu .menu-item a {
  transition: color 0.3s ease;
}
.kd-header-scrolled .elementor-nav-menu a,
.kd-header-scrolled .elementor-nav-menu .menu-item a {
  color: #26406B !important;
}

/* ==========================================================================
   HEADER — Correctifs icône + alignement vertical
   ========================================================================== */

/* Icône espace client : ne pas utiliser content:url — utiliser filter */
/* Annuler le content:url précédent */
.kd-header-scrolled .elementor-element-6ef44c7 img {
  content: normal !important;
}

/* Icône blanche visible par défaut */
.elementor-element-6ef44c7 img {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Au scroll : passer l'icône blanche en bleu via filter */
.kd-header-scrolled .elementor-element-6ef44c7 img {
  filter: brightness(0) saturate(100%) invert(22%) sepia(49%) saturate(617%) hue-rotate(181deg) brightness(89%) contrast(96%) !important;
}

/* Alignement vertical header au scroll */
header.elementor-location-header,
header.elementor-location-header > .e-con,
header.elementor-location-header > div {
  display: flex !important;
  align-items: center !important;
}

header.elementor-location-header .elementor-element.e-con {
  align-items: center !important;
}

/* Hauteur de transition sur les conteneurs internes */
header.elementor-location-header .elementor-element-b0bb5fc,
header.elementor-location-header .elementor-element-cc66049 {
  transition: min-height 0.3s ease, padding 0.3s ease;
  align-items: center !important;
}

.kd-header-scrolled .elementor-element-b0bb5fc,
.kd-header-scrolled .elementor-element-cc66049 {
  min-height: 70px !important;
  align-items: center !important;
}

/* ==========================================================================
   HEADER MENU — Espacement items principaux
   ========================================================================== */

/* Augmenter l'espace entre les items du menu principal */
/* Augmenter l'espace entre les items du menu principal */
.elementor-element-fc530e6 .elementor-nav-menu > li > a {
  padding-left: 15px !important;
  padding-right: 15px !important;
  }

/* Écrans 1025–1199px : réduire pour tenir sur une ligne */
@media (min-width: 1025px) and (max-width: 1199px) {
  .elementor-element-fc530e6 .elementor-nav-menu > li > a {
    padding-left: 7px !important;
    padding-right: 7px !important;
  }
}

/* Écrans > 1200px : espacement normal */
@media (min-width: 1200px) {
  .elementor-element-fc530e6 .elementor-nav-menu > li > a {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

/* Supprimer l'aplat noir au hover sur le menu mobile */
.elementor-nav-menu--dropdown .elementor-nav-menu > li > a:hover,
.elementor-nav-menu--dropdown .elementor-nav-menu > li > a:focus {
background-color: transparent !important;
}

/* Désactiver le blink effect dans le dropdown mobile/tablette */
@media (max-width: 1024px) {
  .elementor-nav-menu--dropdown .blink--padder {
    display: contents !important;
  }
  .elementor-nav-menu--dropdown .blink--hover {
    display: none !important;
  }
  .elementor-nav-menu--dropdown .blink--normal {
    display: block !important;
    animation: none !important;
    -webkit-animation: none !important;
    transform: none !important;
    opacity: 1 !important;
    height: auto !important;
    overflow: visible !important;
  }
}

/* Réduire l'espace sur les items de langue FR/EN/JP */
.elementor-element-fc530e6 .elementor-nav-menu > li.menu-item-258 > a,
.elementor-element-fc530e6 .elementor-nav-menu > li.menu-item-259 > a,
.elementor-element-fc530e6 .elementor-nav-menu > li.menu-item-294 > a {
  padding-left: 6px !important;
  padding-right: 6px !important;
}

/* Espace avant FR (sans séparateur) */
.elementor-element-fc530e6 .elementor-nav-menu > li.menu-item-258 {
  margin-left: 15px !important;
}

/* Padding langue dropdown mobile */
@media (max-width: 1023px) {
  .elementor-nav-menu--dropdown .kd-lang-switcher-wrap {
    padding-left: 0 !important;
  }
  .elementor-nav-menu--dropdown .kd-lang-switcher {
    padding-left: 15px !important;
  }
}
/* Footer menu — item Espace privé avec icône */
#menu-1-b4083a7 li.menu-item-500 a.elementor-item,
#menu-2-b4083a7 li.menu-item-500 a.elementor-item {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-top: 8px !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  overflow: visible !important;
  height: auto !important;
}
/* Espace privé — icône injectée via JS (voir kraft-design.js) */
#menu-1-b4083a7 li.menu-item-500 a.elementor-item,
#menu-2-b4083a7 li.menu-item-500 a.elementor-item {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  overflow: visible !important;
  height: auto !important;
}
.kd-espace-prive-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  min-width: 18px;
  flex-shrink: 0;
  background-image: url('https://www.kraftdesign.eu/wp-content/uploads/2026/03/Icon-EspaceClient-White-1.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.8;
}

/* Scroll to top depuis un élément inline (image, texte) */
.kd-scroll-top {
  cursor: pointer;
}

/* ==========================================================================
   HEADER — Hamburger blanc / bleu au scroll
   ========================================================================== */

/* Blanc par défaut */
.elementor-element-fc530e6 .elementor-menu-toggle svg {
  fill: #FFFFFF !important;
  transition: fill 0.3s ease;
}

/* Bleu au scroll */
.kd-header-scrolled .elementor-element-fc530e6 .elementor-menu-toggle svg {
  fill: #26406B !important;
}

/* Hamburger — supprimer fond gris */
.elementor-element-fc530e6 .elementor-menu-toggle {
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* ==========================================================================
   HEADER MOBILE — Menu dropdown
   ========================================================================== */

/* Dropdown pleine hauteur */
.elementor-element-fc530e6 .elementor-nav-menu--dropdown {
  height: auto !important;
  max-height: 100vh !important;
  overflow: visible !important;
}

/* Item actif dropdown mobile/tablette : fond transparent + bleu #26406B */
.elementor-element-fc530e6 .elementor-nav-menu--dropdown .elementor-item.elementor-item-active,
.elementor-element-fc530e6 .elementor-nav-menu--dropdown .current-menu-item > .elementor-item {
  background: transparent !important;
  background-color: transparent !important;
  color: #26406B !important;
}

/* FIX MOBILE : menu dropdown ancré sur le header, pleine largeur */
@media (max-width: 1024px) {
  .elementor-location-header,
  .elementor-element-b0bb5fc {
    overflow: visible !important;
  }
  .elementor-element-fc530e6 {
    position: static !important;
  }
  .elementor-element-fc530e6 .elementor-nav-menu--dropdown {
    position: fixed !important;
    top: 70px !important;
    left: 0 !important;
    width: 100vw !important;
    z-index: 99999 !important;
    max-height: calc(100dvh - 70px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
}
.elementor-element-fc530e6 .elementor-nav-menu--dropdown .elementor-nav-menu {
  height: auto !important;
  overflow: visible !important;
}

/* Plus d'espace entre les items dropdown mobile/tablette */
.elementor-element-fc530e6 .elementor-nav-menu--dropdown li a.elementor-item {
  padding-top: 22px !important;
  padding-bottom: 22px !important;
}

/* Masquer FR/EN/JP de la liste verticale */
.elementor-element-fc530e6 .elementor-nav-menu--dropdown li.menu-item-258,
.elementor-element-fc530e6 .elementor-nav-menu--dropdown li.menu-item-259,
.elementor-element-fc530e6 .elementor-nav-menu--dropdown li.menu-item-294 {
  display: none !important;
}

/* Bloc langues horizontal injecté via JS */
.kd-lang-switcher-wrap {
  list-style: none !important;
  padding: 0 !important;
}
.kd-lang-switcher {
  display: flex !important;
  flex-direction: row !important;
  gap: 16px !important;
  padding: 22px 20px 32px 20px !important;
}
.kd-lang-switcher a {
  font-family: 'Euclid Circular A', sans-serif !important;
  font-size: 13px !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  color: #26406B !important;
  text-decoration: none !important;
  opacity: 0.4 !important;
  padding: 0 !important;
}
.kd-lang-switcher a.active,
.kd-lang-switcher a:hover {
  opacity: 1 !important;
}

/* ==========================================================================
   CAROUSEL — Cartes 80% largeur sur mobile (peek effet)
   ========================================================================== */
@media (max-width: 767px) {
  .kd-carousel-card {
    min-width: 80vw !important;
    max-width: 80vw !important;
  }
  /* Padding haut/bas des cartes carousel sur mobile */
  .kd-carousel-card.e-con {
    --padding-top: 30px !important;
    --padding-bottom: 30px !important;
  }
  .kd-carousel-card.e-con-boxed > .e-con-inner {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
  }
}

/* ==========================================================================
   CAROUSEL — Scroll snap avec offset marge gauche Elementor
   ========================================================================== */

/* Tablette : marge gauche 30px, gap 15px */
@media (min-width: 768px) and (max-width: 1024px) {
  .kd-carousel-track {
    scroll-padding-left: 30px !important;
    gap: 15px !important;
  }
}

/* Mobile : marge gauche 20px, gap 10px */
@media (max-width: 767px) {
  .kd-carousel-track {
    scroll-padding-left: 20px !important;
    gap: 10px !important;
  }
}

/* ==========================================================================
   HERO MARQUEE — Taille responsive (tablette + mobile)
   ========================================================================== */

/* Desktop : durée gérée par kd-scroll-desktop-xl */

/* ancien bloc tablette px fixes supprimé */

/* ancien bloc mobile px fixes supprimé */

@keyframes kd-scroll-tablet {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-13365px); }
}

@keyframes kd-scroll-mobile {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-8361px); }
}





/* ==========================================================================
   GLOBAL — Reset padding e-con-inner sur tous les e-con-boxed
   (Elementor injecte un padding par défaut que le thème KD met à 0)
   ========================================================================== */
@media (max-width: 767px) {
  .e-con-boxed > .e-con-inner {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* ==========================================================================
   GLOBAL — Bloquer overflow horizontal sur mobile
   ========================================================================== */
@media (max-width: 767px) {
  html {
    overflow-x: hidden !important;
  }
  body {
    overflow-x: clip !important;
  }

  /* Images hero absolues — positionnement géré via CSS personnalisé Elementor */
}

/* ==========================================================================
   FIX OVERFLOW — Marquee et header sticky ne débordent plus sur mobile
   ========================================================================== */
@media (max-width: 767px) {
  /* Bloquer le débordement du marquee */
  #kd-mq {
    max-width: 100vw !important;
    overflow: hidden !important;
  }

  /* Header sticky — ne pas dépasser la largeur de l'écran */
  .elementor-location-header,
  .elementor-element-b0bb5fc {
    max-width: 100vw !important;
    overflow: visible !important;
  }
}

/* ==========================================================================
   HERO SECTION — Hauteur minimum mobile (dvh = exclut barre navigateur)
   ========================================================================== */
@media (max-width: 767px) {
  .elementor-element-890bd9d {
    min-height: 100dvh !important;
  }
}

/* ==========================================================================
   HEADER — Supprimer l'ombre sticky
   ========================================================================== */
.elementor-element-b0bb5fc.elementor-sticky--active {
  box-shadow: none !important;
}

/* ==========================================================================
   CAROUSEL PROJETS — Pagination pill overlay (dots blancs sur fond gris)
   ========================================================================== */

/* Positionner la pagination en overlay sur l'image */
.elementor-element-e718a2f {
  position: relative;
}

.elementor-element-e718a2f .swiper-pagination {
  position: absolute !important;
  bottom: 8% !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  display: inline-flex !important;
  align-items: center;
  gap: 12px;
  background: #1C1C1C !important;
  opacity: 0.7 !important;
  border-radius: 999px !important;
  padding: 8px 16px !important;
  width: auto !important;
  z-index: 10;
}

.elementor-element-e718a2f .swiper-pagination-bullet {
  width: 10px !important;
  height: 10px !important;
  border-radius: 50% !important;
  background: #D8D8D8 !important;
  opacity: 0.5 !important;
  border: none !important;
  opacity: 1 !important;
  margin: 0 !important;
  transition: background 0.3s ease;
}

.elementor-element-e718a2f .swiper-pagination-bullet-active {
  background: #FFFFFF !important;
}

/* Pagination slider — ajustement vertical responsive */
@media (min-width: 768px) and (max-width: 1024px) {
  .elementor-element-e718a2f .swiper-pagination {
    bottom: 15% !important;
  }
}
@media (max-width: 767px) {
  .elementor-element-e718a2f .swiper-pagination {
    bottom: 5% !important;
  }
}





}

/* ==========================================================================
   FIX padding-left: 0 sur les boutons hero mobile (Elementor inline)
   ========================================================================== */
@media (max-width: 767px) {
    .elementor-273 .elementor-element-b4083a7 li,
    .elementor-273 .elementor-element-b4083a7 a {
        padding-left: 25px !important;
    }
}

/* ==========================================================================
   FIX GLOBAL — padding-left 0 sur les boutons Elementor mobile
   ========================================================================== */
@media (max-width: 1024px) {
    .elementor-widget-button .elementor-button {
        padding-left: 25px !important;
    }
}

/* ==========================================================================
   FIX — Centrage texte boutons Elementor sur mobile (hors menus nav)
   ========================================================================== */
@media (max-width: 1024px) {
    .elementor-widget-button .elementor-button {
        padding-left: 25px !important;
        text-align: center !important;
    }
    .elementor-widget-button .elementor-button-content-wrapper {
        justify-content: center !important;
    }
}

/* ==========================================================================
   HERO SLIDESHOWS — CSS pur, pas de transition
   ========================================================================== */

/* Conteneur commun */
.kd-slideshow {
  position: relative;
  display: block;
}
/* Première image : flow normal → donne sa taille au container */
.kd-slideshow img:first-child {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  opacity: 0;
}
/* Images suivantes : superposées */
.kd-slideshow img:not(:first-child) {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}
/* Image unique (sh2) : visible en relatif */
.kd-sh2 img:first-child {
  opacity: 1 !important;
  animation: none !important;
}

/* ---- SH1 : 2 images, cycle 8s (4s par image, fondu 0.4s) ---- */
.kd-sh1 img:nth-child(1) { animation: kd-sh1 8s ease-in-out infinite 0s; }
.kd-sh1 img:nth-child(2) { animation: kd-sh1 8s ease-in-out infinite 4s; }
@keyframes kd-sh1 {
  0%      { opacity: 0; }
  5%      { opacity: 1; }
  45%     { opacity: 1; }
  50%     { opacity: 0; }
  100%    { opacity: 0; }
}

/* ---- SH3 : 11 images, cycle 11s (1s par image) ---- */
.kd-sh3 img:nth-child(1)  { animation: kd-sh3 11s ease-in-out infinite 0s; }
.kd-sh3 img:nth-child(2)  { animation: kd-sh3 11s ease-in-out infinite 1s; }
.kd-sh3 img:nth-child(3)  { animation: kd-sh3 11s ease-in-out infinite 2s; }
.kd-sh3 img:nth-child(4)  { animation: kd-sh3 11s ease-in-out infinite 3s; }
.kd-sh3 img:nth-child(5)  { animation: kd-sh3 11s ease-in-out infinite 4s; }
.kd-sh3 img:nth-child(6)  { animation: kd-sh3 11s ease-in-out infinite 5s; }
.kd-sh3 img:nth-child(7)  { animation: kd-sh3 11s ease-in-out infinite 6s; }
.kd-sh3 img:nth-child(8)  { animation: kd-sh3 11s ease-in-out infinite 7s; }
.kd-sh3 img:nth-child(9)  { animation: kd-sh3 11s ease-in-out infinite 8s; }
.kd-sh3 img:nth-child(10) { animation: kd-sh3 11s ease-in-out infinite 9s; }
.kd-sh3 img:nth-child(11) { animation: kd-sh3 11s ease-in-out infinite 10s; }
@keyframes kd-sh3 {
  0%      { opacity: 0; }
  1.36%   { opacity: 1; }
  7.73%   { opacity: 1; }
  9.09%   { opacity: 0; }
  100%    { opacity: 0; }
}

/* ==========================================================================
   GLOBAL — Spans en gras dans titres et paragraphes Elementor
   ========================================================================== */
.elementor-heading-title span,
.elementor-widget-heading .elementor-heading-title span,
.elementor-widget-text-editor span,
.elementor-widget-text-editor p span,
.elementor-icon-box-description span,
.elementor-icon-box-title span {
  font-weight: 700 !important;
}

/* ==========================================================================
   ICON-BOX — Alignement icône checkbox sur la première ligne de texte
   ========================================================================== */
.elementor-widget-icon-box.elementor-position-inline-start .elementor-icon-box-wrapper {
  align-items: flex-start !important;
}
.elementor-widget-icon-box.elementor-position-inline-start .elementor-icon-box-icon {
  margin-top: 8px !important;
  flex-shrink: 0 !important;
  line-height: 1 !important;
}
.elementor-widget-icon-box.elementor-position-inline-start .elementor-icon-box-icon .elementor-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
}

/* ==========================================================================
MARQUEE PRINT FIRST — Hauteur massive responsive (surcharge inline)
========================================================================== */

/* Desktop : 85vh */
@media (min-width: 1025px) {
#kd-mq { height: 85vh !important; }
#kd-mq-inner { height: 85vh !important; }
.kd-mq-img {
height: 85vh !important;
width: calc(85vh * 8.4444) !important;
min-width: calc(85vh * 8.4444) !important;
}
}
/* Tablette : 55vh */
@media (min-width: 768px) and (max-width: 1024px) {
#kd-mq { height: 55vh !important; }
#kd-mq-inner { height: 55vh !important; }
.kd-mq-img {
height: 55vh !important;
width: calc(55vh * 8.4444) !important;
min-width: calc(55vh * 8.4444) !important;
}
}

/* Mobile : 45vh */
@media (max-width: 767px) {
#kd-mq { height: 45vh !important; }
#kd-mq-inner { height: 45vh !important; }
.kd-mq-img {
height: 45vh !important;
width: calc(45vh * 8.4444) !important;
min-width: calc(45vh * 8.4444) !important;
}
}

/* Keyframes — animation gérée en inline via kd-scroll-mq */
/* kd-scroll-desktop-xl / tablet / mobile supprimés — remplacés par kd-scroll-mq */




/* ==========================================================================
   SINGLE POST — Typographie responsive du contenu article
   Cible le contenu rendu par Elementor Theme Builder (widget theme-post-content)
   et les blocs Gutenberg natifs
   ========================================================================== */

.elementor-widget-theme-post-content h1,
.elementor-widget-theme-post-content .wp-block-heading.h1,
.wp-block-post-content h1 {
	font-size: var(--kd-h1, 60px);
	font-family: 'Space Grotesk', Sans-serif;
	font-weight: 500;
	line-height: 1.1;
}

.elementor-widget-theme-post-content h2,
.wp-block-post-content h2 {
	font-size: var(--kd-h2, 55px);
	font-family: 'Space Grotesk', Sans-serif;
	font-weight: 500;
	line-height: 1.15;
}

.elementor-widget-theme-post-content h3,
.wp-block-post-content h3 {
	font-size: var(--kd-h3, 44px);
	font-family: 'Space Grotesk', Sans-serif;
	font-weight: 500;
	line-height: 1.2;
}

.elementor-widget-theme-post-content h4,
.wp-block-post-content h4 {
	font-size: var(--kd-h4, 24px);
	font-family: 'Space Grotesk', Sans-serif;
	font-weight: 600;
}

.elementor-widget-theme-post-content p,
.wp-block-post-content p {
	font-size: var(--kd-body, 18px);
	line-height: 1.7;
}

/* Mobile ≤ 767px — les variables sont déjà redéfinies dans :root,
   donc h1→36px, h2→32px, h3→28px s'appliquent automatiquement */

/* Tablette 768–1024px — idem via les variables */

/* Single post — Titre principal (widget Theme Post Title Elementor) */
.single .elementor-widget-theme-post-title .elementor-heading-title,
.single h1.entry-title,
.single .wp-block-post-title {
	font-size: var(--kd-h1, 60px) !important;
	font-family: 'Space Grotesk', Sans-serif !important;
	font-weight: 500 !important;
	line-height: 1.1 !important;
}

@media (max-width: 767px) {
	.single .elementor-widget-theme-post-title .elementor-heading-title,
	.single h1.entry-title,
	.single .wp-block-post-title {
		font-size: 30px !important;
	}
	.elementor-widget-theme-post-content h1,
	.wp-block-post-content h1 {
		font-size: 30px !important;
	}
	.elementor-widget-theme-post-content h2,
	.wp-block-post-content h2 {
		font-size: 25px !important;
	}
	.elementor-widget-theme-post-content h3,
	.wp-block-post-content h3 {
		font-size: 22px !important;
	}
}

@media (max-width: 1024px) and (min-width: 768px) {
	.single .elementor-widget-theme-post-title .elementor-heading-title,
	.single h1.entry-title,
	.single .wp-block-post-title {
		font-size: 42px !important;
	}
}

/* Single post — Listes alignées sur la taille du corps de texte */
.elementor-widget-theme-post-content ul,
.elementor-widget-theme-post-content ol,
.elementor-widget-theme-post-content li,
.wp-block-post-content ul,
.wp-block-post-content ol,
.wp-block-post-content li {
	font-size: var(--kd-body, 18px);
	line-height: 1.7;
}

/* Single post — Marge en haut des titres (desktop + mobile) */
.elementor-widget-theme-post-content h1,
.elementor-widget-theme-post-content h2,
.elementor-widget-theme-post-content h3,
.elementor-widget-theme-post-content h4,
.wp-block-post-content h1,
.wp-block-post-content h2,
.wp-block-post-content h3,
.wp-block-post-content h4 {
	margin-top: 1.8em;
	margin-bottom: 0.4em;
}

@media (max-width: 767px) {
	.elementor-widget-theme-post-content ul,
	.elementor-widget-theme-post-content ol,
	.elementor-widget-theme-post-content li,
	.wp-block-post-content ul,
	.wp-block-post-content ol,
	.wp-block-post-content li {
		font-size: var(--kd-body, 16px);
	}
	.elementor-widget-theme-post-content h2,
	.wp-block-post-content h2 {
		margin-top: 2em;
	}
	.elementor-widget-theme-post-content h3,
	.wp-block-post-content h3 {
		margin-top: 1.6em;
	}
}

/* Formulaire contact — bordure focus #26406B */
.kd_form .elementor-field-textual:focus {
	border-color: #26406B !important;
	outline: none;
}

/* Formulaire contact — bordure focus 3px */
.kd_form .elementor-field-textual:focus {
	border-width: 3px !important;
}

/* Formulaire contact — bordure focus 3px #77D7FF */
.kd_form .elementor-field-textual:focus {
	border-color: #77D7FF !important;
}

/* Formulaire contact — bordure focus 5px */
.kd_form .elementor-field-textual:focus {
	border-width: 5px !important;
}

/* Formulaire contact — bordure focus 2px */
.kd_form .elementor-field-textual:focus {
	border-width: 2px !important;
}

/* Contact — #form_prospect : underline sur "formulaire" au hover (clic géré en JS) */
#form_prospect, #form_prospect * { cursor: pointer !important; }
#form_prospect a { text-decoration: none; }
#form_prospect:hover .form_link {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Espace privé — icône Kraft avec effet cercles concentriques */
#kd-smash-icon {
	display: flex;
	align-items: center;
	justify-content: center;
}
#kd-smash-icon .elementor-image {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 180px;
	height: 180px;
	background: #fff;
	border-radius: 50%;
	box-shadow:
		0 0 0 18px rgba(255,255,255,0.12),
		0 0 0 36px rgba(255,255,255,0.07);
	padding: 36px;
}
#kd-smash-icon .elementor-image img {
	width: 90px;
	height: auto;
	display: block;
}

/* Footer menu — Espace Privé nouvel item 1457 (remplace 500) */
#menu-1-b4083a7 li.menu-item-1457 a.elementor-item,
#menu-2-b4083a7 li.menu-item-1457 a.elementor-item {
	display: flex !important;
	align-items: center !important;
	gap: 8px !important;
	margin-top: 8px !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	overflow: visible !important;
	height: auto !important;
}

/* Espace privé — icône Smash cercles concentriques (fix sélecteur) */
#kd-smash-icon .elementor-widget-container {
	display: flex;
	align-items: center;
	justify-content: center;
}
#kd-smash-icon .elementor-widget-container img {
	width: 90px !important;
	height: 90px !important;
	background: #fff;
	border-radius: 50%;
	padding: 24px;
	box-shadow:
		0 0 0 20px rgba(255,255,255,0.12),
		0 0 0 40px rgba(255,255,255,0.07);
	box-sizing: content-box !important;
	max-width: none !important;
}

/* Espace privé — rond blanc 122px + anneaux concentriques */
.kd-smash-icon .elementor-widget-container {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 122px !important;
	height: 122px !important;
	background: #fff !important;
	border-radius: 50% !important;
	box-shadow:
		0 0 0 16px rgba(255,255,255,0.18),
		0 0 0 32px rgba(255,255,255,0.09) !important;
	margin: 0 auto !important;
}
.kd-smash-icon .elementor-widget-container img {
	width: 58px !important;
	height: auto !important;
	border-radius: 0 !important;
	padding: 0 !important;
	box-shadow: none !important;
	background: none !important;
}

/* Espace privé — rond blanc 122px direct sur widget */
.kd-smash-icon {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 122px !important;
	height: 122px !important;
	min-height: 122px !important;
	background: #fff !important;
	border-radius: 50% !important;
	box-shadow:
		0 0 0 16px rgba(255,255,255,0.18),
		0 0 0 32px rgba(255,255,255,0.09) !important;
	margin: 0 auto !important;
}
.kd-smash-icon img {
	width: 58px !important;
	height: auto !important;
	box-shadow: none !important;
	background: none !important;
	border-radius: 0 !important;
	padding: 0 !important;
	max-width: none !important;
}

/* Menu header — switcher langue nouveaux items 1485/1486/1487 */
#menu-1-fc530e6 li.menu-item-1485,
#menu-1-fc530e6 li.menu-item-1486,
#menu-1-fc530e6 li.menu-item-1487 {
	margin: 0 0 0 4px !important;
	padding: 0 !important;
}
#menu-1-fc530e6 li.menu-item-1485 a,
#menu-1-fc530e6 li.menu-item-1486 a,
#menu-1-fc530e6 li.menu-item-1487 a {
	padding: 0 !important;
	letter-spacing: 0 !important;
}
.elementor-element-fc530e6 .elementor-nav-menu > li.menu-item-1485 > a,
.elementor-element-fc530e6 .elementor-nav-menu > li.menu-item-1486 > a,
.elementor-element-fc530e6 .elementor-nav-menu > li.menu-item-1487 > a {
	padding-left: 2px !important;
	padding-right: 2px !important;
}
.elementor-element-fc530e6 .elementor-nav-menu > li.menu-item-1485,
.elementor-element-fc530e6 .elementor-nav-menu > li.menu-item-1486,
.elementor-element-fc530e6 .elementor-nav-menu > li.menu-item-1487 {
	margin-left: 0px !important;
}

/* Menu — espace avant FR pour dissocier du reste du menu */
.elementor-element-fc530e6 .elementor-nav-menu > li.menu-item-1486 {
margin-left: 24px !important;
}

/* Projets — masquer les projets au-delà de 8 par défaut */
.kraft-projet-outer[data-projet-index="8"],
.kraft-projet-outer[data-projet-index="9"],
.kraft-projet-outer[data-projet-index="10"],
.kraft-projet-outer[data-projet-index="11"],
.kraft-projet-outer[data-projet-index="12"],
.kraft-projet-outer[data-projet-index="13"],
.kraft-projet-outer[data-projet-index="14"] {
	display: none;
}
.kraft-projet-outer[data-projet-index].kd-visible {
	display: block !important;
}

/* Projets — curseur pointer sur bouton charger plus */
#plus_de_projets { cursor: pointer; }
/* Contact — #form_recrutement : underline sur "formulaire" au hover (clic géré en JS) */
#form_recrutement, #form_recrutement * { cursor: pointer !important; }
#form_recrutement a { text-decoration: none; }
#form_recrutement:hover .form_link {
	text-decoration: underline;
	text-underline-offset: 3px;
}



/* Header — icône user alignée même avec WP admin-bar */
.elementor-element-b0bb5fc {
	align-items: center !important;
}
.admin-bar .elementor-sticky--active .elementor-element-6ef44c7 { display: none !important; }

/* Header — icône user : forcer align-self center dans flex container */
.elementor-element-cc66049 > .elementor-element-6ef44c7 {
  align-self: center !important;
  flex-shrink: 0 !important;
}

/* Header — icône user injectée dans le nav menu */
/* Header — alignement vertical icône user dans li nav */
/* Header — fix alignement vertical icône user dans nav Elementor */
  display: inline-flex !important;
  align-items: center !important;
  vertical-align: middle !important;
  padding: 0 !important;
  margin: 0 0 0 8px !important;
}
  display: flex !important;
  align-items: center !important;
  padding: 0 !important;
  height: 100% !important;
  line-height: 0 !important;
}
  display: none !important;
}

/* Header — override padding Elementor sur lien icône user */
  padding: 0 4px !important;
}

/* Header — espacement icône user = même que FR/EN/JA */
  margin-left: 15px !important;
}

/* Header — icône user dans nav menu */
li.kd-user-icon-item {
  margin-left: 15px !important;
  padding: 0 !important;
}
a.kd-user-icon-link,
a.kd-user-icon-link:hover,
a.kd-user-icon-link:focus {
  padding: 0 !important;
  line-height: 0 !important;
}
a.kd-user-icon-link::before,
a.kd-user-icon-link::after { display: none !important; }
.kd-user-icon-img { display: block !important; width: 16px !important; height: 16px !important; }
.kd-header-scrolled .kd-user-icon-img { filter: brightness(0) saturate(100%) invert(22%) sepia(49%) saturate(617%) hue-rotate(181deg) brightness(89%) contrast(96%) !important; }

/* Services home — H3 réduits à 38px entre 1024px et 1200px */
@media (min-width: 1024px) and (max-width: 1200px) {
  .elementor-element-49eabfe .elementor-heading-title,
  .elementor-element-49b1e14 .elementor-heading-title,
  .elementor-element-4694494 .elementor-heading-title,
  .elementor-element-e759992 .elementor-heading-title {
    font-size: 38px !important;
  }
}

/* Engagements — flèches SVG en bleu #77D7FF */
.elementor-element-949ccc2 .elementor-icon svg .cls-1,
.elementor-element-1cf1bdf .elementor-icon svg .cls-1 {
stroke: #77D7FF !important;
}




/* À propos — puces rondes, texte aligné gauche */
.elementor-element-9763aba ul {
list-style: none;
padding-left: 0;
margin-left: 0;
}
.elementor-element-9763aba ul li {
position: relative;
padding-left: 18px;
text-align: left;
margin-bottom: 8px;
}
.elementor-element-9763aba ul li::before {
	content: '';
position: absolute;
left: 0;
top: 0.55em;
width: 7px;
height: 7px;
border-radius: 50%;
background-color: currentColor;
}

.elementor-field-type-submit{
	margin-top: 20px;
}


/* Icon-box — SVG flèche remonté de 1px */
.svg_fleche .elementor-icon-box-icon {
transform: translateY(-1px);
}

/* Icon-box — SVG flèche 1% for the planet remonté de 3px */
.svg_fleche_2 .elementor-icon-box-icon {
transform: translateY(-3px);
}


/* Liste puces rondes — alignement texte sur 33px */
.elementor-element-0670721 ul {
list-style: none !important;
padding-left: 0 !important;
margin-left: 33px !important;
}
.elementor-element-0670721 ul li {
position: relative;
padding-left: 18px !important;
margin-bottom: 0px !important;
margin-top: 0px !important;
}
.elementor-element-0670721 ul li::before {
content: '';
position: absolute;
left: 0;
top: 0.55em;
width: 7px;
height: 7px;
border-radius: 50%;
background-color: currentColor;
}


/* =========================================================
BLOG — Articles : typographie H2 / H3
========================================================= */

/* H2 : 48px */
.elementor-widget-theme-post-content h2,
.elementor-widget-theme-post-content h2.wp-block-heading {
font-size: 48px !important;
font-weight: 600 !important;
color: #26406B !important;
margin-top: 40px !important;
margin-bottom: 12px !important;
}

/* H3 : 24px bold vert */
.elementor-widget-theme-post-content h3,
.elementor-widget-theme-post-content h3.wp-block-heading {
font-size: 24px !important;
font-weight: bold !important;
color: #648D6D !important;
margin-top: 28px !important;
margin-bottom: 8px !important;
}

/* Liens articles blog — bleu souligné */
.elementor-widget-theme-post-content a {
color: #26406B !important;
text-decoration: underline !important;
font-weight: inherit !important;
}
.elementor-widget-theme-post-content a:hover {
color: #26406B !important;
text-decoration: underline !important;
}

/* Blog — Boutons Gutenberg (wp-block-button) */
.elementor-widget-theme-post-content .wp-block-button,
.wp-block-post-content .wp-block-button {
	text-align: center !important;
}
.elementor-widget-theme-post-content .wp-block-button__link,
.wp-block-post-content .wp-block-button__link {
	display: inline-block !important;
	padding: 15px 35px !important;
	background-color: #26406B !important;
	color: #fff !important;
	border-radius: 20px !important;
	border: none !important;
	font-family: "Space Grotesk", sans-serif !important;
	font-size: 18px !important;
	font-weight: 500 !important;
	text-decoration: none !important;
	transition: opacity 0.2s !important;
}
.elementor-widget-theme-post-content .wp-block-button__link:hover,
.wp-block-post-content .wp-block-button__link:hover {
	background-color: #26406B !important;
	color: #fff !important;
	text-decoration: none !important;
	opacity: 0.8 !important;
}
/* Slider projets — reset complet des boutons (Elementor 4.0 ajoute accent rouge) */
.kraft-slider__btn,
.kraft-slider__btn:hover,
.kraft-slider__btn:focus,
.kraft-slider__btn:focus-visible,
.kraft-slider__btn:active {
	outline: none !important;
	border: none !important;
	box-shadow: none !important;
	background: none !important;
	background-color: transparent !important;
	color: inherit !important;
	-webkit-appearance: none !important;
}
.kraft-slider__btn:hover {
	transform: scale(1.1);
}
.kraft-slider__btn:hover svg .kd-stroke {
	opacity: 1 !important;
}

/* ==========================================================================
   BLOG — Style par défaut du widget Button d'Elementor sur les articles
   Couvre : page frontend (body.single-post) + éditeur Elementor (data-elementor-type="single-post")
   + contenu article via Theme Builder (.elementor-widget-theme-post-content)
   ========================================================================== */
body.single-post .elementor-widget-button,
[data-elementor-type="single-post"] .elementor-widget-button,
.elementor-widget-theme-post-content .elementor-widget-button {
	text-align: center !important;
}
body.single-post .elementor-widget-button .elementor-button,
[data-elementor-type="single-post"] .elementor-widget-button .elementor-button,
.elementor-widget-theme-post-content .elementor-widget-button .elementor-button {
	display: inline-block !important;
	padding: 15px 35px !important;
	background-color: #26406B !important;
	color: #fff !important;
	border-radius: 20px !important;
	border: none !important;
	font-family: "Space Grotesk", sans-serif !important;
	font-size: 18px !important;
	font-weight: 500 !important;
	text-decoration: none !important;
	transition: opacity 0.2s !important;
	fill: #fff !important;
}
body.single-post .elementor-widget-button .elementor-button .elementor-button-text,
[data-elementor-type="single-post"] .elementor-widget-button .elementor-button .elementor-button-text,
.elementor-widget-theme-post-content .elementor-widget-button .elementor-button .elementor-button-text {
	color: #fff !important;
	text-decoration: none !important;
}
body.single-post .elementor-widget-button .elementor-button:hover,
body.single-post .elementor-widget-button .elementor-button:focus,
[data-elementor-type="single-post"] .elementor-widget-button .elementor-button:hover,
[data-elementor-type="single-post"] .elementor-widget-button .elementor-button:focus,
.elementor-widget-theme-post-content .elementor-widget-button .elementor-button:hover,
.elementor-widget-theme-post-content .elementor-widget-button .elementor-button:focus {
	background-color: #26406B !important;
	color: #fff !important;
	text-decoration: none !important;
	opacity: 0.8 !important;
}

/* ==========================================================================
   BLOG — Listes à puces dans les articles : puces rondes (pas de tirets)
   Override du style global qui ajoute des tirets aux text-editor Elementor
   ========================================================================== */
body.single-post .elementor-widget-text-editor ul,
[data-elementor-type="single-post"] .elementor-widget-text-editor ul,
.elementor-widget-theme-post-content ul,
.wp-block-post-content ul {
	list-style: disc !important;
	padding-left: 1.5em !important;
}
body.single-post .elementor-widget-text-editor ul li::before,
[data-elementor-type="single-post"] .elementor-widget-text-editor ul li::before,
.elementor-widget-theme-post-content ul li::before,
.wp-block-post-content ul li::before {
	content: none !important;
}
body.single-post .elementor-widget-text-editor ul li,
[data-elementor-type="single-post"] .elementor-widget-text-editor ul li,
.elementor-widget-theme-post-content ul li,
.wp-block-post-content ul li {
	padding-left: 0 !important;
}

/* Listes numérotées : numéros natifs */
body.single-post .elementor-widget-text-editor ol,
[data-elementor-type="single-post"] .elementor-widget-text-editor ol,
.elementor-widget-theme-post-content ol,
.wp-block-post-content ol {
	list-style: decimal !important;
	padding-left: 1.5em !important;
}

/* ==========================================================================
   BLOG — Ajustements rythme éditorial
   - Interlignage légèrement réduit (1.7 → 1.55) pour meilleure lisibilité structure
   - H3 : plus d'espace avant (sauf si directement après un H2)
   - Listes : pas d'espace supplémentaire avant (collées au texte précédent)
   ========================================================================== */

/* Interlignage resserré */
.elementor-widget-theme-post-content p,
.elementor-widget-theme-post-content li,
.wp-block-post-content p,
.wp-block-post-content li {
	line-height: 1.55 !important;
}

/* H3 : plus d'espace avant pour mieux marquer la section */
.elementor-widget-theme-post-content h3,
.wp-block-post-content h3 {
	margin-top: 2.6em !important;
}

/* H3 directement après H2 : annuler l'espace supplémentaire */
.elementor-widget-theme-post-content h2 + h3,
.wp-block-post-content h2 + h3 {
	margin-top: 0.8em !important;
}

/* Listes : pas d'espace supplémentaire avant (comme un paragraphe classique) */
.elementor-widget-theme-post-content ul,
.elementor-widget-theme-post-content ol,
.wp-block-post-content ul,
.wp-block-post-content ol {
	margin-top: 0 !important;
	margin-bottom: 1em !important;
}

/* Paragraphe qui précède une liste : pas de margin-bottom (collé à la liste) */
.elementor-widget-theme-post-content p:has(+ ul),
.elementor-widget-theme-post-content p:has(+ ol),
.wp-block-post-content p:has(+ ul),
.wp-block-post-content p:has(+ ol) {
	margin-bottom: 0 !important;
}

/* Mobile : masquer le switcher de langue desktop dans le menu dropdown                                                                                      
     (le switcher gris .kd-lang-switcher en bas reste visible) */                                                                                              
@media (max-width: 1024px) {                                                                                                                                 
    #menu-2-fc530e6 li.trp-menu-ls-desktop {                                                                                                                 
        display: none !important;                                                                                                                            
    }                                                           
}

@media (max-width: 1024px) {                                                                                                                                 
      .elementor-nav-menu--dropdown li.hide-on-mobile {           
          display: none !important;                                                                                                                            
      }
  }

/* Maillage interne SEO — liens invisibles dans le corps du texte (hors blog) */
  a.kd-seo-link,                                                                                      
  a.kd-seo-link:hover,                                                                                
  a.kd-seo-link:focus,                                                                                
  a.kd-seo-link:visited,                                                                              
  a.kd-seo-link:active {                                                                              
      color: inherit !important;                                  
      text-decoration: none !important;                                                               
      border-bottom: none !important;
      font-weight: inherit !important;                                                                
      background: none !important;       
	  cursor: pointer !important;
  }