/*
Theme Name: Delta Finance
Theme URI: https://www.deltafinance.ch/
Author: Nexyweb
Description: Thème sur mesure pour Delta Finance SA (Family Office, Genève). Reproduction fidèle de la charte validée. Phase 1 : page d'accueil pour validation.
Version: 0.1.0
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: delta-finance
*/

/* ====== Styles portés depuis la maquette validée (injectés ci-dessous) ====== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --dark: #262a32;
  --dark2: #2e333c;
  --green: #7ddb9b;
  --cream: #f1eee9;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--dark); color: var(--cream); overflow-x: hidden; font-size: 16px; line-height: 1.6; }

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 60px;
  background: rgba(38,42,50,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(125,219,155,0.08);
}
.logo { display: flex; align-items: center; gap: 0; text-decoration: none; }
.logo-text { font-family: var(--font-body); font-weight: 500; font-size: 16px; color: var(--cream); letter-spacing: 0.01em; }
.nav-links { display: flex; align-items: center; gap: 24px; list-style: none; flex-wrap: wrap; }
.nav-links a { font-size: 13px; font-weight: 400; color: rgba(241,238,233,0.65); text-decoration: none; letter-spacing: 0.03em; transition: color 0.2s; }
.nav-links a:hover { color: var(--green); }
.nav-lang { border: 1px solid rgba(125,219,155,0.3); border-radius: 20px; padding: 4px 12px; font-size: 12px; color: var(--green); font-weight: 500; letter-spacing: 0.05em; }
.nav-cta { background: var(--green); color: var(--dark); font-size: 13px; font-weight: 500; padding: 9px 22px; border-radius: 25px; text-decoration: none; transition: opacity 0.2s, transform 0.2s; letter-spacing: 0.02em; white-space: nowrap; }
.nav-cta:hover { opacity: 0.85; transform: translateY(-1px); }

/* ─── SECTION 1 : HERO SPLASH ─── */
.hero-splash {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 90px 24px 60px; position: relative; overflow: hidden; text-align: center;
}
@media (min-width: 769px) { .hero-splash { padding: 80px 40px 60px; } }
@media (min-width: 1025px) { .hero-splash { padding: 80px 80px 60px; } }
.hero-splash-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background-image: linear-gradient(rgba(125,219,155,0.025) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(125,219,155,0.025) 1px, transparent 1px);
  background-size: 52px 52px;
}
.hero-logo-bg {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  pointer-events: none; z-index: 2;
}
.hero-logo-bg svg { width: min(72vw, 640px); height: auto; opacity: 0.045; }
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-splash-content { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: center; }
.hero-brand {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  margin-bottom: 52px;
  animation: heroFadeUp 1s cubic-bezier(0.22,1,0.36,1) 0s both;
}
.hero-brand svg { width: clamp(200px, 28vw, 340px); height: auto; }
.hero-brand-sub {
  font-size: 11px; letter-spacing: 0.22em; color: rgba(241,238,233,0.38);
  text-transform: uppercase; font-weight: 400;
}
.hero-tagline {
  font-family: var(--font-body); font-size: clamp(14px, 1.5vw, 18px); letter-spacing: 0.28em; font-weight: 500;
  color: var(--green); text-transform: uppercase; margin-bottom: 60px;
  display: flex; align-items: center; gap: 20px;
  animation: heroFadeUp 1s cubic-bezier(0.22,1,0.36,1) 0.25s both;
}
.hero-tagline::before, .hero-tagline::after { content: none; }
.btn-primary {
  background: var(--green); color: var(--dark); font-size: 15px; font-weight: 500;
  padding: 18px 44px; border-radius: 50px; text-decoration: none; transition: all 0.3s ease;
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); letter-spacing: 0.05em;
  animation: heroFadeUp 1s cubic-bezier(0.22,1,0.36,1) 0.4s both;
}
.btn-primary::after { content: '→'; font-size: 16px; transition: transform 0.25s ease; }
.btn-primary:hover { background: #8aeaa8; transform: translateY(-3px); }
.btn-primary:hover::after { transform: translateX(5px); }
.hero-content { padding: 70px 24px; background: var(--dark2); }
@media (min-width: 769px) { .hero-content { padding: 90px 40px; } }
@media (min-width: 1025px) { .hero-content { padding: 100px 80px; } }
.hero-content-inner { max-width: 1200px; margin: 0 auto; }
.hero-title { font-family: var(--font-display); font-size: clamp(38px, 4.5vw, 64px); line-height: 1.06; color: var(--cream); margin-bottom: 24px; font-weight: 400; }
.hero-intro { font-size: 15px; color: rgba(241,238,233,0.58); max-width: 660px; line-height: 1.85; margin-bottom: 64px; font-weight: 300; }
.hero-sub-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.hero-sub-card { background: var(--dark); padding: 48px 44px; transition: background 0.3s; }
.hero-sub-card:first-child { border-radius: 14px 0 0 14px; }
.hero-sub-card:last-child { border-radius: 0 14px 14px 0; }
.hero-sub-card:hover { background: rgba(125,219,155,0.04); }
.hero-sub-title { font-family: var(--font-display); font-size: 22px; color: var(--cream); margin-bottom: 16px; font-weight: 400; line-height: 1.3; }
.hero-sub-text { font-size: 14px; color: rgba(241,238,233,0.58); line-height: 1.85; font-weight: 300; }
.hero-mission .mission-label { font-size: 12px; letter-spacing: 0.15em; color: var(--green); font-weight: 500; text-transform: uppercase; display: block; margin-bottom: 22px; }
.hero-mission ul { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.hero-mission ul li { font-size: 14px; color: rgba(241,238,233,0.65); display: flex; align-items: center; gap: 12px; font-weight: 300; }
.hero-mission ul li::before { content: ''; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid rgba(125,219,155,0.5); background: rgba(125,219,155,0.08); flex-shrink: 0; }

/* ─── SHARED SECTION STYLES ─── */
.section { padding: 70px 24px; }
@media (min-width: 769px) { .section { padding: 90px 40px; } }
@media (min-width: 1025px) { .section { padding: 100px 80px; } }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-label { font-size: 11px; letter-spacing: 0.2em; color: var(--green); font-weight: 500; text-transform: uppercase; margin-bottom: 16px; }
.section-title { font-family: var(--font-display); font-size: clamp(26px, 3vw, 42px); color: var(--cream); font-weight: 400; line-height: 1.15; margin-bottom: 16px; }
.section-sub { font-size: 15px; color: rgba(241,238,233,0.55); line-height: 1.8; font-weight: 300; max-width: 680px; margin-bottom: 60px; }

/* ─── VALEURS ─── */
.valeurs-grid { display: grid; grid-template-columns: 1fr; gap: 2px; }
@media (min-width: 1025px) { .valeurs-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 769px) and (max-width: 1024px) { .valeurs-grid { grid-template-columns: 1fr 1fr; } }
.valeur-card { background: var(--dark); padding: 40px 28px; transition: background 0.3s; cursor: default; }
.valeur-card:first-child { border-radius: 14px 0 0 14px; }
.valeur-card:last-child { border-radius: 0 14px 14px 0; }
.valeur-card:hover { background: rgba(125,219,155,0.06); }
.valeur-card h3 { font-family: var(--font-display); font-size: 20px; font-weight: 400; color: var(--cream); margin-bottom: 12px; }
.valeur-card p { font-size: 13.5px; color: rgba(241,238,233,0.5); line-height: 1.7; font-weight: 300; }
.valeur-num { font-size: 11px; letter-spacing: 0.15em; color: rgba(125,219,155,0.4); font-weight: 500; margin-bottom: 20px; display: block; }

/* ─── PHILOSOPHIE ─── */
/* ─── SECTION 4 : PHILOSOPHIE ─── */
.philo-section { background: var(--dark); padding: 70px 24px; }
@media (min-width: 769px) { .philo-section { padding: 90px 40px; } }
@media (min-width: 1025px) { .philo-section { padding: 100px 80px; } }
.philo-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
@media (min-width: 1025px) { .philo-inner { grid-template-columns: 1fr 1fr; gap: 100px; } }
.philo-left .section-label { margin-bottom: 20px; }
.philo-left h2 { font-family: var(--font-display); font-size: clamp(26px, 3vw, 40px); color: var(--cream); font-weight: 400; line-height: 1.15; margin-bottom: 40px; }
.philo-block { margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid rgba(241,238,233,0.07); }
.philo-block:last-of-type { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.philo-block h3 { font-family: var(--font-display); font-size: 18px; color: var(--cream); font-weight: 400; margin-bottom: 8px; }
.philo-block p { font-size: 14px; color: rgba(241,238,233,0.55); line-height: 1.75; font-weight: 300; }
.philo-right-visual { background: var(--dark2); border-radius: 16px; padding: 52px 44px; border: 1px solid rgba(125,219,155,0.08); position: relative; overflow: hidden; }
.philo-right-visual::before { content: ''; position: absolute; top: -60px; right: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(125,219,155,0.07) 0%, transparent 70%); }
.philo-quote { font-family: var(--font-display); font-size: clamp(18px, 2vw, 24px); color: var(--cream); font-weight: 400; line-height: 1.5; font-style: italic; margin-bottom: 40px; position: relative; z-index: 1; }
.philo-stats { display: flex; flex-direction: column; gap: 0; position: relative; z-index: 1; }
.philo-stat { display: flex; align-items: center; gap: 20px; padding: 20px 0; border-top: 1px solid rgba(241,238,233,0.06); }
.philo-stat-num { font-family: var(--font-display); font-size: 36px; color: var(--green); font-weight: 400; line-height: 1; min-width: 64px; }
.philo-stat-label { font-size: 13px; color: rgba(241,238,233,0.5); line-height: 1.5; font-weight: 300; }
.btn-link { font-size: 14px; color: var(--green); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; font-weight: 400; margin-top: 32px; transition: gap 0.2s; }
.btn-link:hover { gap: 14px; }
/* ─── SECTION 5 : NOS SERVICES ─── */
.services-section { background: var(--dark2); padding: 70px 24px; }
@media (min-width: 769px) { .services-section { padding: 90px 40px; } }
@media (min-width: 1025px) { .services-section { padding: 100px 80px; } }
.services-inner { max-width: 1200px; margin: 0 auto; }
.services-intro { max-width: 700px; margin-bottom: 60px; }
.services-intro p { font-size: 15px; color: rgba(241,238,233,0.55); line-height: 1.8; font-weight: 300; margin-top: 16px; }
.services-grid { display: grid; grid-template-columns: 1fr; gap: 2px; margin-bottom: 48px; }
@media (min-width: 769px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
.service-card { background: var(--dark); padding: 44px 36px; transition: background 0.3s; }
.service-card:nth-child(1) { border-radius: 14px 0 0 0; }
.service-card:nth-child(2) { border-radius: 0 14px 0 0; }
.service-card:nth-child(3) { border-radius: 0 0 0 14px; }
.service-card:nth-child(4) { border-radius: 0 0 14px 0; }
.service-card:hover { background: rgba(125,219,155,0.05); }
.service-card h3 { font-family: var(--font-display); font-size: 19px; color: var(--cream); font-weight: 400; margin-bottom: 12px; line-height: 1.25; }
.service-card p { font-size: 13.5px; color: rgba(241,238,233,0.5); line-height: 1.75; font-weight: 300; }
.service-num { font-size: 11px; letter-spacing: 0.15em; color: rgba(125,219,155,0.4); font-weight: 500; margin-bottom: 18px; display: block; }

/* ─── CHIFFRES CLÉS ─── */
.chiffres-section { background: var(--dark); padding: 64px 24px; }
@media (min-width: 769px) { .chiffres-section { padding: 80px 40px; } }
@media (min-width: 1025px) { .chiffres-section { padding: 90px 80px; } }
.chiffres-inner { max-width: 1200px; margin: 0 auto; }
.chiffres-intro { font-size: 15px; color: rgba(241,238,233,0.55); line-height: 1.8; font-weight: 300; max-width: 700px; margin: 0 auto 60px; text-align: center; }
.chiffres-grid { display: grid; grid-template-columns: 1fr; gap: 2px; max-width: 700px; margin: 0 auto; }
@media (min-width: 769px) { .chiffres-grid { grid-template-columns: repeat(2, 1fr); } }
.chiffre-cell { background: var(--dark2); padding: 50px 36px; text-align: center; }
.chiffre-cell:first-child { border-radius: 14px 0 0 14px; }
.chiffre-cell:last-child { border-radius: 0 14px 14px 0; }
.chiffre-num { font-family: var(--font-display); font-size: 64px; line-height: 1; color: var(--green); margin-bottom: 14px; font-weight: 400; }
.chiffre-label { font-size: 12px; letter-spacing: 0.1em; color: rgba(241,238,233,0.4); text-transform: uppercase; font-weight: 400; }

/* ─── SEO BLOCKS ─── */
.seo-section { background: var(--dark2); padding: 56px 24px; }
@media (min-width: 769px) { .seo-section { padding: 72px 40px; } }
@media (min-width: 1025px) { .seo-section { padding: 80px; } }
.seo-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 2px; }
@media (min-width: 1025px) { .seo-inner { grid-template-columns: 1fr 1fr 1fr; } }
.seo-block { background: var(--dark); padding: 44px 36px; transition: background 0.3s; }
.seo-block:first-child { border-radius: 14px 0 0 14px; }
.seo-block:last-child { border-radius: 0 14px 14px 0; }
.seo-block:hover { background: rgba(125,219,155,0.04); }
.seo-block h3 { font-family: var(--font-display); font-size: 20px; color: var(--cream); font-weight: 400; margin-bottom: 16px; line-height: 1.25; }
.seo-block p { font-size: 13.5px; color: rgba(241,238,233,0.5); line-height: 1.8; font-weight: 300; }

/* ─── PARTENAIRES MARQUEE ─── */
.partners-section { background: var(--dark); padding: 80px 0; }
.partners-inner { max-width: 100%; }
.partners-inner .section-label { padding: 0 80px; margin-bottom: 48px; }
.marquee-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 72px;
  width: max-content;
  animation: marquee-scroll 40s linear infinite;
  padding: 16px 0;
}
.marquee-track:hover { animation-play-state: paused; }
.partner-logo {
  height: 40px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  opacity: 0.5;
  transition: opacity 0.3s;
  flex-shrink: 0;
}
.partner-logo:hover { opacity: 1; }
@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── CONTACT ─── */
.contact-section { background: var(--green); padding: 70px 24px; }
@media (min-width: 769px) { .contact-section { padding: 90px 40px; } }
@media (min-width: 1025px) { .contact-section { padding: 100px 80px; } }
.contact-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
@media (min-width: 1025px) { .contact-inner { grid-template-columns: 1fr 1fr; gap: 80px; } }
.contact-left .section-label { color: rgba(38,42,50,0.55); }
.contact-left h2 { font-family: var(--font-display); font-size: clamp(26px, 3vw, 40px); color: var(--dark); font-weight: 400; line-height: 1.15; margin-bottom: 20px; }
.contact-left p { font-size: 15px; color: rgba(38,42,50,0.65); line-height: 1.8; font-weight: 300; }
.contact-form { display: flex; flex-direction: column; gap: 12px; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 600px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-field {
  background: rgba(241,238,233,0.06); border: 1px solid rgba(241,238,233,0.14);
  border-radius: 8px; padding: 14px 18px; font-size: 14px;
  color: var(--dark); font-family: var(--font-body); font-weight: 300;
  outline: none; width: 100%; transition: all 0.2s;
}
.form-field::placeholder { color: rgba(241,238,233,0.3); }
.form-field:focus { background: rgba(241,238,233,0.1); border-color: rgba(125,219,155,0.45); }
textarea.form-field { resize: vertical; min-height: 130px; }
.btn-submit {
  background: var(--dark); color: var(--green); font-size: 14px; font-weight: 500;
  padding: 14px 30px; border-radius: 28px; border: none; cursor: pointer;
  font-family: var(--font-body); transition: all 0.25s; align-self: flex-start;
  letter-spacing: 0.02em;
}
.btn-submit:hover { background: var(--dark2); transform: translateY(-2px); }

/* ─── FOOTER ─── */
footer { background: #111317; padding: 56px 24px; border-top: none; }
@media (min-width: 769px) { footer { padding: 64px 40px; } }
@media (min-width: 1025px) { footer { padding: 80px; } }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 36px; margin-bottom: 40px; }
@media (min-width: 769px) and (max-width: 1024px) { .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (min-width: 1025px) { .footer-inner { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 60px; } }
.footer-brand { display: flex; flex-direction: column; }
.footer-brand p { font-size: 13.5px; color: rgba(241,238,233,0.38); line-height: 1.75; font-weight: 300; max-width: 240px; margin-top: 16px; }
.footer-social { margin-top: 20px; }
.footer-social a { font-size: 13px; color: rgba(241,238,233,0.35); text-decoration: none; transition: color 0.2s; display: inline-flex; align-items: center; gap: 6px; }
.footer-social a:hover { color: var(--green); }
.footer-col h4 { font-size: 11px; letter-spacing: 0.15em; color: rgba(241,238,233,0.28); text-transform: uppercase; font-weight: 500; margin-bottom: 20px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col ul a { font-size: 13.5px; color: rgba(241,238,233,0.48); text-decoration: none; font-weight: 300; transition: color 0.2s; line-height: 1.5; }
.footer-col ul a:hover { color: var(--green); }
.footer-bottom {
  max-width: 1200px; margin: 0 auto; padding-top: 28px;
  border-top: 1px solid rgba(241,238,233,0.07);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 12px; color: rgba(241,238,233,0.2); font-weight: 300; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { font-size: 12px; color: rgba(241,238,233,0.2); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--green); }
/* Footer responsive */
@media (min-width: 769px) and (max-width: 1024px) {
	footer { padding: 64px 40px; }
	.footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 768px) {
	footer { padding: 56px 24px; }
	.footer-inner { grid-template-columns: 1fr; gap: 36px; margin-bottom: 36px; }
	.footer-bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
	.footer-links { flex-wrap: wrap; gap: 16px; }
}

/* ─── OVERRIDES GRAISSES — Plus Jakarta Sans (Lock Sans approx.) ─── */
/* Les titres principaux : Plus Jakarta Sans 600 pour remplacer le serif 400 */
.hero-title       { font-weight: 600; letter-spacing: -0.01em; }
.section-title    { font-weight: 600; letter-spacing: -0.01em; }
.philo-left h2    { font-weight: 600; letter-spacing: -0.01em; }
.contact-left h2  { font-weight: 600; letter-spacing: -0.01em; }

/* Sous-titres de cartes et blocks : 500 */
.hero-sub-title   { font-weight: 500; }
.valeur-card h3   { font-weight: 500; }
.philo-block h3   { font-weight: 500; }
.service-card h3  { font-weight: 500; }
.seo-block h3     { font-weight: 500; }

/* Stats et grands chiffres : 700 pour l'impact visuel */
.philo-stat-num   { font-weight: 700; letter-spacing: -0.02em; }
.chiffre-num      { font-weight: 700; letter-spacing: -0.03em; }

/* Citation en italique : conserver la légèreté */
.philo-quote      { font-weight: 400; font-style: italic; letter-spacing: -0.005em; }

/* Nav et boutons : ajustements fins */
.logo-text        { font-weight: 600; letter-spacing: 0.02em; }
.nav-cta          { font-weight: 600; }
.btn-primary      { font-weight: 600; }
.btn-submit       { font-weight: 600; }

/* Hero tagline en small caps */
.hero-tagline     { font-weight: 600; letter-spacing: 0.3em; }
.hero-brand-sub   { font-weight: 300; letter-spacing: 0.25em; }

/* Section labels */
.section-label    { font-weight: 600; letter-spacing: 0.18em; }
.valeur-num, .service-num { font-weight: 500; letter-spacing: 0.14em; }


/* 1. SECTION LABELS — pill crème très subtil en fond */
.section-label {
  display: inline-block;
  background: rgba(241,238,233,0.06);
  border: 1px solid rgba(241,238,233,0.14);
  border-radius: 20px;
  padding: 4px 14px;
  color: rgba(241,238,233,0.65);
  letter-spacing: 0.18em;
  font-size: 11px;
}

/* 2. NUMÉROS DE CARTES — crème au lieu du vert délavé */
.valeur-num {
  color: rgba(241,238,233,0.35);
  font-size: 10px;
  letter-spacing: 0.2em;
}
.service-num {
  color: rgba(241,238,233,0.35);
  font-size: 10px;
  letter-spacing: 0.2em;
}

/* 3. BORDURE GAUCHE crème sur hover des cartes */
.valeur-card {
  border-left: 2px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}
.valeur-card:hover {
  background: rgba(125,219,155,0.05);
  border-left-color: rgba(241,238,233,0.2);
}
.service-card {
  border-left: 2px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}
.service-card:hover {
  background: rgba(125,219,155,0.04);
  border-left-color: rgba(241,238,233,0.2);
}
.seo-block {
  border-left: 2px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}
.seo-block:hover {
  background: rgba(125,219,155,0.04);
  border-left-color: rgba(241,238,233,0.18);
}

/* 4. LIGNES DE SÉPARATION — teinte crème au lieu de blanc */
.philo-stat {
  border-top: 1px solid rgba(241,238,233,0.09);
}
.philo-block {
  border-bottom: 1px solid rgba(241,238,233,0.09);
}

/* 5. GUILLEMET DÉCORATIF crème sur la citation */
.philo-right-visual {
  position: relative;
  overflow: hidden;
}
.philo-right-visual::after {
  content: 'C';
  position: absolute;
  bottom: -20px;
  right: 20px;
  font-family: var(--font-display);
  font-size: 180px;
  line-height: 1;
  color: rgba(241,238,233,0.05);
  pointer-events: none;
  z-index: 0;
  font-weight: 700;
}

/* 6. NAV — fine trace crème sur la bordure bottom */
nav {
  border-bottom: 1px solid rgba(241,238,233,0.07);
}

/* 7. CHAMPS FORMULAIRE — focus crème */
.form-field:focus {
  background: rgba(38,42,50,0.13);
  border-color: rgba(241,238,233,0.45);
}

/* 8. FOOTER — filet crème discret sur les colonnes */
.footer-col {
  border-top: 1px solid rgba(241,238,233,0.06);
  padding-top: 4px;
}
.footer-col h4 {
  color: rgba(241,238,233,0.35);
}

/* 9. HERO CONTENT — fine ligne crème sous le titre principal */
.hero-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 2px;
  background: rgba(241,238,233,0.2);
  margin-top: 20px;
}

/* 10. CHIFFRES CLÉS — label en crème légère */
.chiffre-label {
  color: rgba(241,238,233,0.45);
  letter-spacing: 0.12em;
}

/* 11. HERO SUB-CARDS — fine bordure crème en haut */
.hero-sub-card {
  border-top: 1px solid rgba(241,238,233,0.06);
  transition: background 0.3s, border-top-color 0.3s;
}
.hero-sub-card:hover {
  background: rgba(125,219,155,0.04);
  border-top-color: rgba(241,238,233,0.14);
}



/* ═══════════════════════════════════════════════════
   CRÈME VISIBLE — refonte du système de couleur crème
   ═══════════════════════════════════════════════════ */

/* 1. SECTION CHIFFRES CLÉS → fond crème complet */
.chiffres-section {
  background: var(--cream) !important;
}
.chiffres-section .section-label {
  background: rgba(38,42,50,0.07);
  border: 1px solid rgba(38,42,50,0.15);
  color: rgba(38,42,50,0.55);
}
.chiffres-section .section-title {
  color: var(--dark);
}
.chiffres-intro {
  color: rgba(38,42,50,0.6) !important;
}
.chiffre-cell {
  background: rgba(38,42,50,0.05) !important;
}
.chiffre-cell:first-child { border-radius: 14px 0 0 14px; }
.chiffre-cell:last-child  { border-radius: 0 14px 14px 0; }
.chiffre-num {
  color: var(--dark) !important;
  font-weight: 700;
}
.chiffre-label {
  color: rgba(38,42,50,0.5) !important;
}

/* 2. SECTION LABELS — pill crème vraiment visible */
.section-label {
  display: inline-block;
  background: rgba(241,238,233,0.1);
  border: 1px solid rgba(241,238,233,0.28);
  border-radius: 20px;
  padding: 4px 14px;
  color: rgba(241,238,233,0.75) !important;
  letter-spacing: 0.18em;
  font-size: 11px;
}

/* 3. NUMÉROS DE CARTES — crème opaque et visible */
.valeur-num, .service-num {
  color: rgba(241,238,233,0.45) !important;
  font-size: 10px;
  letter-spacing: 0.2em;
  font-weight: 500;
}

/* 4. LIGNE DÉCO HERO — une des deux lignes en crème */
.hero-tagline::before {
  background: var(--cream) !important;
  opacity: 0.3;
}

/* 5. CARTE PHILOSOPHIE — bordure crème visible sur accent box */
.philo-right-visual {
  border: 1px solid rgba(241,238,233,0.18) !important;
}
.philo-stat-num {
  color: var(--green);
}

/* 6. FOOTER — quasi-noir */
footer {
  background: #111317 !important;
  border-top: none !important;
}
footer .logo svg { filter: none; }
footer .logo-text { color: var(--cream) !important; }

/* 7. HERO CONTENT — sous-titre avec trait crème bien visible */
.hero-title::after {
  content: '';
  display: block;
  width: 52px;
  height: 2px;
  background: rgba(241,238,233,0.35);
  margin-top: 22px;
}

/* 8. HOVER CARTES — ligne gauche crème franche */
.valeur-card:hover { border-left: 2px solid rgba(241,238,233,0.5) !important; }
.service-card:hover { border-left: 2px solid rgba(241,238,233,0.5) !important; }

/* Supprimer les anciens overrides trop discrets */


/* ─── CITATION PHILOSOPHIE ─── */
.philo-citation {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 600;
  font-style: italic;
  color: rgba(241,238,233,0.85);
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 40px;
}
/* Override Elementor heading widget inline styles for design classes */
.philo-citation .elementor-heading-title,
.elementor-widget.philo-citation .elementor-heading-title {
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  font-style: inherit !important;
  color: inherit !important;
  line-height: inherit !important;
}

/* ─── CAROUSEL EXPERTISE ─── */
.carousel-section { background: var(--dark2); padding: 70px 24px; }
@media (min-width: 769px) { .carousel-section { padding: 90px 40px; } }
@media (min-width: 1025px) { .carousel-section { padding: 100px 80px; } }
.carousel-inner { max-width: 1200px; margin: 0 auto; }
.carousel-header { margin-bottom: 48px; }
.carousel-track {
  display: grid;
}
.carousel-slide {
  grid-row: 1;
  grid-column: 1;
  background: var(--dark);
  border-radius: 16px;
  padding: 56px 52px 40px;
  border: 1px solid rgba(241,238,233,0.07);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.45s ease;
}
.carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  animation: carouselFade 0.45s ease;
}
@keyframes carouselFade {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.carousel-slide h3 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 30px);
  color: var(--cream);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 22px;
  letter-spacing: -0.01em;
  max-width: 720px;
}
.carousel-slide p {
  font-size: 15px;
  color: rgba(241,238,233,0.55);
  line-height: 1.85;
  font-weight: 300;
  max-width: 780px;
}
.carousel-progress {
  height: 2px;
  background: rgba(241,238,233,0.07);
  border-radius: 2px;
  margin-top: 36px;
  overflow: hidden;
}
.carousel-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, rgba(125,219,155,0.4), var(--green));
  border-radius: 2px;
  width: 0%;
}
.carousel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 32px;
}
.carousel-dots { display: flex; gap: 8px; align-items: center; }
.carousel-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(125,219,155,0.25);
  cursor: pointer;
  transition: all 0.3s ease;
}
.carousel-dot.active { width: 28px; border-radius: 3px; background: var(--green); }
.carousel-arrows { display: flex; gap: 10px; }
.carousel-arrow {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(241,238,233,0.18);
  background: transparent;
  color: rgba(241,238,233,0.6);
  font-size: 15px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s ease;
  font-family: var(--font-body);
  line-height: 1;
}
.carousel-arrow:hover { border-color: var(--green); color: var(--green); background: rgba(125,219,155,0.06); }

/* ─── PARTNERS LABEL ALIGNEMENT ─── */
.partners-label-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0 0 0;
}
.partners-inner .section-label { margin-left: 0; }

/* ─── CONTACT — hiérarchie des textes ─── */
.contact-left h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.8vw, 38px);
  font-weight: 600;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
.contact-left p {
  font-size: 14px;
  color: rgba(38,42,50,0.6);
  line-height: 1.8;
  font-weight: 300;
}
.contact-inner { align-items: center !important; }

/* ─── CHIFFRES — forcer couleurs sombres (priorité) ─── */
.chiffres-section .section-label,
.chiffres-section .section-label[style] {
  color: rgba(38,42,50,0.65) !important;
  border-color: rgba(38,42,50,0.2) !important;
  background: rgba(38,42,50,0.08) !important;
}
.chiffres-section .section-title { color: var(--dark) !important; }


/* ═══ ANIMATIONS ═══ */
.nav-links a { position: relative; padding-bottom: 2px; }
.nav-links a::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 1px; background: var(--green); transition: width 0.28s cubic-bezier(0.22,1,0.36,1); }
.nav-links a:hover::after { width: 100%; }
.logo svg { transition: filter 0.3s ease; }
.logo:hover svg { filter: drop-shadow(0 0 8px rgba(125,219,155,0.45)); }
.sr { opacity: 0; transform: translateY(28px); transition: opacity 0.75s cubic-bezier(0.22,1,0.36,1), transform 0.75s cubic-bezier(0.22,1,0.36,1); }
.sr.in { opacity: 1; transform: translateY(0); }
.sr-left { opacity: 0; transform: translateX(-32px); transition: opacity 0.85s cubic-bezier(0.22,1,0.36,1), transform 0.85s cubic-bezier(0.22,1,0.36,1); }
.sr-left.in { opacity: 1; transform: translateX(0); }
.sr-right { opacity: 0; transform: translateX(32px); transition: opacity 0.85s cubic-bezier(0.22,1,0.36,1), transform 0.85s cubic-bezier(0.22,1,0.36,1); }
.sr-right.in { opacity: 1; transform: translateX(0); }
.sr-label { opacity: 0; transform: translateX(-14px); transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22,1,0.36,1); }
.sr-label.in { opacity: 1; transform: translateX(0); }
.valeur-card { transition: background 0.3s, border-color 0.3s, transform 0.35s cubic-bezier(0.22,1,0.36,1), box-shadow 0.35s ease !important; }
.valeur-card:hover { transform: translateY(-5px) !important; }
.service-card { transition: background 0.3s, border-color 0.3s, transform 0.35s cubic-bezier(0.22,1,0.36,1), box-shadow 0.35s ease !important; }
.service-card:hover { transform: translateY(-5px) !important; }
.philo-right-visual { transition: box-shadow 0.35s ease, transform 0.35s cubic-bezier(0.22,1,0.36,1); }
.philo-right-visual:hover { transform: translateY(-3px); }

/* ─── CAROUSEL progress bar — @keyframes (fiable dès le 1er slide) ─── */
@keyframes carouselProgress {
  from { width: 0%; }
  to   { width: 100%; }
}
.carousel-progress-bar { height: 100%; background: linear-gradient(90deg, rgba(125,219,155,0.4), var(--green)); border-radius: 2px; width: 0%; }
.carousel-progress-bar.running { animation: carouselProgress 5s linear forwards; }



/* ─── VIDÉO HERO BACKGROUND ─── */
.hero-splash-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
  pointer-events: none;
}
.hero-splash-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(38,42,50,0.42) 0%,
    rgba(38,42,50,0.28) 50%,
    rgba(38,42,50,0.55) 100%
  );
  z-index: 1; pointer-events: none;
}

/* ─── HERO SLIDESHOW ARRIÈRE-PLAN (désactivé — la vidéo fusée suffit) ─── */
.hero-slideshow { display: none; }
.hero-slide-bg { display: none; }
.hero-splash { background: var(--dark); }

/* ─── PHOTO STRIP ─── */
.photo-strip {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  height: 380px; overflow: hidden;
}
@media (max-width: 900px) { .photo-strip { grid-template-columns: 1fr; height: 240px; } }
.photo-strip-item {
  background-size: cover; background-position: center;
  position: relative; overflow: hidden;
  transition: transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.photo-strip-item:hover { transform: scale(1.05); z-index: 1; }
.photo-strip-item::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(26,28,35,0.38);
  transition: background 0.5s ease;
  pointer-events: none;
}
.photo-strip-item:hover::after { background: rgba(26,28,35,0.10); }

/* ─── PHILOSOPHIE — photo à droite ─── */
.philo-right-photo {
  position: relative; border-radius: 16px; overflow: hidden;
  min-height: 500px;
  background-size: cover; background-position: center;
}
.philo-right-photo::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom,
    rgba(38,42,50,0.18) 0%,
    rgba(38,42,50,0.72) 100%);
  z-index: 1;
}
.philo-photo-stats {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 36px 36px 36px;
  z-index: 2;
}
.philo-photo-stat {
  display: flex; align-items: center; gap: 20px;
  padding: 16px 0; border-top: 1px solid rgba(241,238,233,0.18);
}
.philo-photo-stat:first-child { border-top: none; }
.philo-photo-stat-num {
  font-family: var(--font-display); font-size: 34px;
  color: var(--green); font-weight: 700; min-width: 60px; line-height: 1;
  letter-spacing: -0.02em;
}
.philo-photo-stat-label {
  font-size: 13px; color: rgba(241,238,233,0.78);
  line-height: 1.5; font-weight: 300;
}

/* ─── CAROUSEL — photo en fond ─── */
.carousel-slide { position: relative; overflow: hidden; }
.carousel-slide-photo-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.14; z-index: 0;
  transition: opacity 0.45s ease;
}
.carousel-slide.active .carousel-slide-photo-bg { opacity: 0.20; }
.carousel-slide-content { position: relative; z-index: 1; }

/* ─── CONTACT — photo en fond ─── */
.contact-section { position: relative; overflow: hidden; }
.contact-photo-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  z-index: 0;
}
.contact-photo-overlay {
  position: absolute; inset: 0;
  background: rgba(125,219,155,0.90);
  z-index: 1;
}
.contact-inner { position: relative; z-index: 2; }

/* ─── CONTACT SPLIT avec photo ─── (mobile-first) */
.contact-section {
  background: var(--dark) !important;
  padding: 70px 24px !important;
}
@media (min-width: 769px) { .contact-section { padding: 90px 40px !important; } }
@media (min-width: 1025px) { .contact-section { padding: 100px 80px !important; } }
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .contact-split { grid-template-columns: 1fr; gap: 48px; }
}
.contact-form-panel {
  background: rgba(241,238,233,0.04);
  border: 1px solid rgba(241,238,233,0.08);
  border-radius: 16px;
  padding: 60px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-form-panel .section-label {
  color: var(--green) !important;
}
.contact-form-panel h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 34px);
  font-weight: 400;
  color: var(--cream);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.contact-form-panel p {
  font-size: 14px;
  color: rgba(241,238,233,0.55);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 28px;
}

/* ─── SÉPARATEURS DE SECTIONS ─── */
section, .photo-strip, .style-gallery {
  border-top: 1px solid rgba(125,219,155,0.12);
}
.hero-splash { border-top: none; }

/* ─── STYLE GALLERY ─── */
.style-gallery { position: relative; height: 520px; overflow: hidden; cursor: pointer; }
.style-gallery-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.8s ease;
}
.style-gallery-slide.active { opacity: 1; }
.style-gallery-gradient {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(38,42,50,0.18) 0%,
    transparent 35%,
    transparent 55%,
    rgba(38,42,50,0.72) 100%
  );
}
.style-gallery-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 3; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(38,42,50,0.55); border: 1px solid rgba(241,238,233,0.18);
  color: var(--cream); font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
  backdrop-filter: blur(8px);
}
.style-gallery-arrow:hover { background: rgba(125,219,155,0.22); border-color: var(--green); transform: translateY(-50%) scale(1.08); }
.style-gallery-arrow.prev { left: 32px; }
.style-gallery-arrow.next { right: 32px; }
.style-gallery-ui {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  padding: 28px 44px;
  display: flex; align-items: flex-end; justify-content: space-between;
}
.style-gallery-label {
  font-size: 11px; letter-spacing: 0.2em; color: var(--green);
  font-weight: 500; text-transform: uppercase;
}
.style-gallery-counter {
  font-family: var(--font-display); font-size: 13px;
  color: rgba(241,238,233,0.55); letter-spacing: 0.06em;
  display: flex; align-items: center; gap: 10px;
}
.style-gallery-counter span.current { color: var(--cream); font-size: 18px; font-weight: 300; }
.style-gallery-dots { display: flex; gap: 8px; align-items: center; }
.style-gallery-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: rgba(241,238,233,0.28); border: none; padding: 0; cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.style-gallery-dot.active { background: var(--green); transform: scale(1.5); }


/* ====== PAGES INTÉRIEURES (Nexyweb) ====== */
.page-hero { background: var(--dark2); padding: 130px 24px 64px; position: relative; overflow: hidden; }
@media (min-width: 769px) { .page-hero { padding: 150px 40px 80px; } }
@media (min-width: 1025px) { .page-hero { padding: 172px 80px 90px; } }
.page-hero-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 3; }
.page-eyebrow { font-size: 11px; letter-spacing: 0.2em; color: var(--green); font-weight: 500; text-transform: uppercase; margin-bottom: 20px; }
.page-title { font-family: var(--font-display); font-size: clamp(38px, 5vw, 70px); line-height: 1.05; color: var(--cream); font-weight: 400; margin-bottom: 26px; }
.page-title em { font-style: italic; color: var(--green); }
.page-lead { font-size: 16px; color: rgba(241,238,233,0.6); max-width: 640px; line-height: 1.85; font-weight: 300; }
.page-badge { margin-top: 38px; font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(241,238,233,0.32); }
.valeurs-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.tag { display: inline-block; background: rgba(125,219,155,0.12); color: var(--green); font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; padding: 7px 16px; border-radius: 30px; margin-bottom: 24px; }
.quote-band { background: var(--dark); padding: 96px 80px; }
.quote-band-inner { max-width: 900px; margin: 0 auto; border-left: 2px solid var(--green); padding-left: 48px; }
.quote-band-inner p { font-family: var(--font-display); font-size: clamp(21px, 2.4vw, 30px); font-style: italic; font-weight: 300; color: var(--cream); line-height: 1.55; }
.quote-band-inner cite { display: block; margin-top: 26px; font-style: normal; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; gap: 48px; } .valeurs-grid.cols-3 { grid-template-columns: 1fr; } .valeurs-grid { grid-template-columns: 1fr; } }

/* ====== ÉQUIPE (page À propos) ====== */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 40px; }
.team-card { background: var(--dark2); padding: 36px 30px; transition: background 0.3s; }
.team-card:hover { background: rgba(125,219,155,0.05); }
.team-photo { width: 76px; height: 76px; border-radius: 50%; background: linear-gradient(135deg, var(--dark) 0%, #313742 100%); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; border: 1px solid rgba(125,219,155,0.25); }
.team-initials { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--green); letter-spacing: 1px; }
.team-name { font-family: var(--font-display); font-size: 19px; font-weight: 500; color: var(--cream); margin-bottom: 5px; }
.team-role { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); margin-bottom: 14px; }
.team-bio { font-size: 13px; font-weight: 300; line-height: 1.7; color: rgba(241,238,233,0.5); }

/* ====== PILIERS (page Services) ====== */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 40px; }
.pillar { background: var(--dark2); padding: 48px 34px; border-top: 2px solid var(--green); }
.pillar-num { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--green); margin-bottom: 16px; display: block; }
.pillar-title { font-family: var(--font-display); font-size: 22px; font-weight: 500; color: var(--cream); margin-bottom: 22px; }
.pillar-list { list-style: none; }
.pillar-list li { font-size: 13.5px; font-weight: 300; color: rgba(241,238,233,0.55); padding: 11px 0; border-bottom: 1px solid rgba(125,219,155,0.08); line-height: 1.5; }
.pillar-list li:last-child { border-bottom: none; }

/* ====== INFO GRID (page Contact) ====== */
.info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; margin-top: 48px; }
.info-block { background: var(--dark2); padding: 38px 30px; border-top: 2px solid var(--green); }
.info-label { font-family: var(--font-display); font-size: 17px; font-weight: 500; color: var(--cream); margin-bottom: 16px; }
.info-lines p { font-size: 13.5px; font-weight: 300; color: rgba(241,238,233,0.55); line-height: 2; margin: 0; }
.info-lines a { color: var(--green); text-decoration: none; border-bottom: 1px solid rgba(125,219,155,0.3); }
.info-lines a:hover { border-bottom-color: var(--green); }

/* ====== FORMULAIRE simple (page Contact) ====== */
.cform { max-width: 720px; margin: 40px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cform .full { grid-column: 1 / -1; }
.cform label { display: block; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(241,238,233,0.45); margin-bottom: 8px; }
.cform input, .cform textarea { width: 100%; background: var(--dark2); border: 1px solid rgba(125,219,155,0.15); color: var(--cream); padding: 13px 16px; font-family: var(--font-body); font-size: 14px; font-weight: 300; border-radius: 6px; }
.cform input:focus, .cform textarea:focus { outline: none; border-color: var(--green); }
.cform textarea { min-height: 130px; resize: vertical; }
.disclaimer { max-width: 900px; margin: 56px auto 0; font-size: 11.5px; font-weight: 300; color: rgba(241,238,233,0.3); line-height: 1.7; text-align: center; }
@media (max-width: 900px) { .team-grid, .pillars { grid-template-columns: 1fr; } .info-grid { grid-template-columns: 1fr 1fr; } .cform { grid-template-columns: 1fr; } }

/* ====== EFFET PHOTO « forme de logo » (démo Gregory) ====== */
.fx-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.fx-label { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); margin: 18px 0 6px; }
.fx-desc { font-size: 13px; color: rgba(241,238,233,0.5); line-height: 1.6; font-weight: 300; }
.fx-stage { position: relative; aspect-ratio: 261 / 131; background: var(--dark2); overflow: hidden; border-radius: 8px; }
.fx-photo { position: absolute; inset: 0; background-size: cover; background-position: center; }
.fx-clip { clip-path: url(#deltaClip); }
.fx-shade { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(34,39,47,0.10), rgba(34,39,47,0.50)); pointer-events: none; }
.fx-emblem-logo { position: absolute; right: -3%; bottom: -10%; width: 46%; height: auto; opacity: 0.92; pointer-events: none; }
.fx-emblem-logo polygon { fill: var(--green); }
.fx-bevel { clip-path: polygon(0 0, 100% 0, 100% 66%, 50% 100%, 0 66%); }
@media (max-width: 900px) { .fx-row { grid-template-columns: 1fr; } }

/* ====== EFFETS PHOTO v2 — variations style A (logo) & C (géométrique) ====== */
.fx2-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; }
.fx2-stage { position: relative; aspect-ratio: 261 / 131; background: var(--dark2); overflow: hidden; border-radius: 8px; }
.fx2-photo { position: absolute; inset: 0; background-size: cover; background-position: center; }
/* A2 — découpe logo + contour vert */
.fx-clip-outline { position: absolute; inset: 0; background: var(--green); clip-path: url(#deltaClip); transform: scale(1.07); }
/* A3 — découpe logo duotone vert */
.fx-duo { position: absolute; inset: 0; background: var(--green); clip-path: url(#deltaClip); mix-blend-mode: color; opacity: 0.6; pointer-events: none; }
/* C2 — double biseau haut + bas */
.fx-bevel2 { clip-path: polygon(0 12%, 50% 0, 100% 12%, 100% 88%, 50% 100%, 0 88%); }
/* C3 — encoche delta en haut */
.fx-notch { clip-path: polygon(0 0, 42% 0, 50% 15%, 58% 0, 100% 0, 100% 100%, 0 100%); }
@media (max-width: 900px) { .fx2-row { grid-template-columns: 1fr; } }

/* ====== HERO — grand logo delta décalé à droite (inspiré du site actuel) ====== */
.hero-delta-graphic {
  position: absolute;
  top: 50%; right: -7%;
  transform: translateY(-50%);
  width: 54%; max-width: 860px;
  z-index: 1; pointer-events: none;
}
.hero-delta-graphic svg { width: 100%; height: auto; display: block; }
.hero-delta-graphic polygon {
  fill: rgba(125,219,155,0.07);
  stroke: rgba(125,219,155,0.5);
  stroke-width: 1.1;
  stroke-linejoin: round;
}
/* léger éclaircissement de la vidéo dans la forme du logo */
.hero-splash::after {
  content: '';
  position: absolute;
  top: 50%; right: -7%;
  transform: translateY(-50%);
  width: 54%; height: 64%;
  z-index: 1;
  clip-path: url(#deltaClipFx);
  -webkit-clip-path: url(#deltaClipFx);
  -webkit-backdrop-filter: brightness(1.14) saturate(1.1);
  backdrop-filter: brightness(1.14) saturate(1.1);
  pointer-events: none;
}
@media (max-width: 768px) {
  .hero-delta-graphic { width: 92%; right: -18%; }
  .hero-splash::after { display: none; }
}

/* ====== LAYOUTS PHOTO CRÉATIFS (pages) ====== */
/* A — split asymétrique photo / légende */
.ph-split { display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; }
.ph-split.rev .ph-img { order:2; }
.ph-img { position:relative; aspect-ratio:4/3; background-size:cover; background-position:center; border-radius:14px; overflow:hidden; }
.ph-img::after { content:''; position:absolute; right:0; bottom:0; width:38%; height:38%; background:rgba(125,219,155,0.16); clip-path:polygon(100% 0,100% 100%,0 100%); }
.ph-cap .k { font-size:11px; letter-spacing:.2em; text-transform:uppercase; color:var(--green); margin-bottom:14px; }
.ph-cap p { font-size:15px; line-height:1.85; color:rgba(241,238,233,.6); font-weight:300; }
/* B — bande pleine largeur + logo en surimpression */
.ph-band { position:relative; min-height:440px; background-size:cover; background-position:center; border-radius:16px; overflow:hidden; display:flex; align-items:center; }
.ph-band-shade { position:absolute; inset:0; background:linear-gradient(90deg, rgba(34,39,47,.88) 0%, rgba(34,39,47,.45) 60%, rgba(34,39,47,.2) 100%); }
.ph-band-logo { position:absolute; right:-2%; top:50%; transform:translateY(-50%); width:38%; opacity:.55; }
.ph-band-logo polygon { fill:none; stroke:rgba(125,219,155,.6); stroke-width:1.3; }
.ph-band-txt { position:relative; z-index:2; padding:48px 56px; max-width:560px; }
.ph-band-txt h3 { font-family:var(--font-display); font-size:30px; color:var(--cream); font-weight:400; margin-bottom:12px; }
.ph-band-txt p { font-size:14.5px; color:rgba(241,238,233,.65); line-height:1.8; font-weight:300; }
/* C — photo découpée en forme de logo */
.ph-delta { position:relative; aspect-ratio:2/1; background:var(--dark2); border-radius:12px; overflow:hidden; }
.ph-delta-img { position:absolute; inset:5% 7%; background-size:cover; background-position:center; clip-path:url(#deltaClipFx); -webkit-clip-path:url(#deltaClipFx); }
@media(max-width:900px){ .ph-split{grid-template-columns:1fr;gap:32px;} .ph-split.rev .ph-img{order:0;} .ph-band-logo{display:none;} .ph-band-txt{padding:32px;} }

/* ====== MENU BURGER MOBILE ====== */
.nav-burger { display:none; flex-direction:column; justify-content:center; gap:5px; width:42px; height:42px; background:none; border:0; cursor:pointer; padding:9px; z-index:101; }
.nav-burger span { display:block; width:24px; height:2px; background:var(--cream); border-radius:2px; transition:transform .3s, opacity .3s; }
nav.open .nav-burger span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
nav.open .nav-burger span:nth-child(2){ opacity:0; }
nav.open .nav-burger span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }
@media (max-width: 1024px) {
  nav { padding: 16px 22px; }
  .nav-burger { display:flex; }
  nav .nav-links {
    position:fixed; top:70px; left:0; right:0;
    flex-direction:column; align-items:flex-start;
    background:rgba(34,39,47,0.98); -webkit-backdrop-filter:blur(12px); backdrop-filter:blur(12px);
    padding:26px 28px 30px; gap:20px; margin:0;
    border-bottom:1px solid rgba(125,219,155,.12);
    max-height:0; overflow:hidden; opacity:0; pointer-events:none;
    transition:max-height .38s ease, opacity .25s ease;
  }
  nav .nav-links a { font-size:15px; }
  nav .nav-cta { display:none; }
}

/* ====== PAGES LÉGALES ====== */
.legal { max-width: 820px; }
.legal h2 { font-family: var(--font-display); font-size: 22px; color: var(--cream); font-weight: 500; margin: 34px 0 12px; }
.legal p, .legal li { font-size: 14.5px; line-height: 1.85; color: rgba(241,238,233,0.62); font-weight: 300; margin-bottom: 16px; }
.legal ul { padding-left: 20px; }
.legal .legal-note { font-size: 12.5px; color: rgba(125,219,155,0.8); border-left: 2px solid var(--green); padding: 10px 16px; background: rgba(125,219,155,0.05); margin-bottom: 28px; }

/* ====== MESSAGE FORMULAIRE ====== */
.cform-msg { max-width:720px; margin:0 auto 22px; padding:14px 18px; border-radius:8px; font-size:14px; text-align:center; }
.cform-msg.ok { background:rgba(125,219,155,0.12); color:var(--green); border:1px solid rgba(125,219,155,0.3); }
.cform-msg.err { background:rgba(219,125,125,0.12); color:#e6a3a3; border:1px solid rgba(219,125,125,0.35); }

/* ====== DÉMO VARIANTES DE HERO ====== */
.hv { position:relative; min-height:74vh; display:flex; align-items:center; justify-content:center; overflow:hidden; background:#1f242b; }
.hv + .hv { margin-top:2px; }
.hv-bg { position:absolute; inset:0; background-size:cover; background-position:center; }
.hv-veil { position:absolute; inset:0; background:linear-gradient(rgba(38,42,50,.5),rgba(38,42,50,.6)); z-index:1; }
.hv-content { position:relative; z-index:5; text-align:center; padding:0 24px; }
.hv-wordmark { font-family:var(--font-display); font-size:clamp(34px,5vw,60px); font-weight:600; color:#fff; letter-spacing:-0.01em; }
.hv-wordmark span { color:var(--green); }
.hv-tag { font-size:clamp(11px,1.4vw,15px); letter-spacing:.28em; text-transform:uppercase; color:var(--green); margin-top:18px; font-weight:500; }
.hv-label { position:absolute; top:18px; left:22px; z-index:6; font-size:11px; letter-spacing:.18em; text-transform:uppercase; color:#fff; background:rgba(0,0,0,.45); padding:7px 14px; border-radius:20px; border:1px solid rgba(125,219,155,.35); }
.hv svg { display:block; }
/* V1 — delta XXL outline à droite */
.hv1-delta { position:absolute; right:-7%; top:50%; transform:translateY(-50%); width:52%; z-index:2; }
.hv1-delta polygon { fill:rgba(125,219,155,.07); stroke:rgba(125,219,155,.5); stroke-width:1.1; stroke-linejoin:round; }
/* V2 — logo RETOURNÉ (pointe en bas) */
.hv2-delta { position:absolute; left:50%; top:48%; transform:translate(-50%,-50%) rotate(180deg); width:60%; max-width:780px; z-index:2; }
.hv2-delta polygon { fill:none; stroke:rgba(125,219,155,.4); stroke-width:1.1; stroke-linejoin:round; }
/* V3 — image DANS le delta (découpe géante) */
.hv3 { background:#15191e; }
.hv3-clip { position:absolute; inset:6% 16%; background-size:cover; background-position:center; clip-path:url(#deltaClipFx); -webkit-clip-path:url(#deltaClipFx); z-index:1; }
.hv3 .hv-content { mix-blend-mode:difference; }
/* V4 — split : delta-clip à droite, texte à gauche */
.hv4 { justify-content:flex-start; }
.hv4-img { position:absolute; right:0; top:0; bottom:0; width:52%; background-size:cover; background-position:center; clip-path:polygon(18% 0,100% 0,100% 100%,0 100%); z-index:1; }
.hv4-img::after { content:''; position:absolute; inset:0; background:linear-gradient(90deg,#1f242b 0%,transparent 45%); }
.hv4 .hv-content { text-align:left; max-width:560px; margin-left:7%; z-index:5; }
@media(max-width:768px){ .hv1-delta,.hv2-delta{width:92%;opacity:.7} .hv4-img{width:100%;opacity:.35} .hv4 .hv-content{margin-left:24px} }

/* ====== HERO V4 — split (variante choisie) ====== */
.hero-splash { flex-direction: row; align-items: center; justify-content: flex-start; text-align: left; }
.hero-slideshow, .hero-splash-video {
  left: auto; right: 0; width: 54%;
  clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%);
  -webkit-clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%);
}
.hero-splash-overlay { background: linear-gradient(90deg, var(--dark) 0%, var(--dark) 38%, rgba(38,42,50,0.30) 64%, transparent 92%); }
.hero-splash-content { align-items: flex-start; text-align: left; max-width: 600px; margin-left: 7%; }
.hero-brand { align-items: flex-start; }
.hero-tagline { justify-content: flex-start; }
.hero-delta-graphic, .hero-logo-bg { display: none; }
.hero-splash::after { display: none; }
@media (max-width: 820px) {
  .hero-splash { flex-direction: column; justify-content: center; text-align: center; padding: 90px 24px 60px; }
  .hero-slideshow, .hero-splash-video { left:0; right:0; width: 100%; clip-path: none; -webkit-clip-path: none; opacity: 1; }
  .hero-splash-overlay { background: linear-gradient(rgba(38,42,50,.55), rgba(38,42,50,.72)); }
  .hero-splash-content { align-items: center; text-align: center; margin: 0 auto; }
  .hero-brand { align-items: center; }
  .hero-tagline { justify-content: center; }
}

/* ====== SÉLECTEUR DE LANGUE (Polylang) ====== */
.nav-lang { display:inline-flex; gap:7px; align-items:center; border:none; padding:0; }
.nav-lang a { color: rgba(241,238,233,0.5); text-decoration:none; font-size:12px; font-weight:600; letter-spacing:.06em; transition:color .2s; }
.nav-lang a.active { color: var(--green); }
.nav-lang a:hover { color: var(--green); }
.nav-lang i { color: rgba(241,238,233,0.25); font-style:normal; font-weight:400; }

/* ====== HEADER — recentrage du menu (sélecteur + CTA à droite) ====== */
nav .nav-links { flex: 1 1 auto; justify-content: center; }
nav .nav-lang { margin-left: auto; }
@media (max-width: 1024px) {
  nav .nav-links { flex: none; }
  nav .nav-lang { margin-left: 0; }
}

/* ====== PHOTOS PAGES — versions enrichies ====== */
/* Découpe logo + contour vert (plus créatif) */
.ph-delta { margin: 0 auto; max-width: 1040px; }
.ph-delta::before { content:''; position:absolute; inset:5% 7%; background:var(--green); opacity:.45; clip-path:url(#deltaClipFx); -webkit-clip-path:url(#deltaClipFx); transform:scale(1.025); }
.ph-delta .ph-delta-img { z-index:1; }
.ph-delta-cap { text-align:center; margin-top:18px; font-size:12px; letter-spacing:.18em; text-transform:uppercase; color:var(--green); }
/* Bande cinématographique : coupe angulaire haut + bas + légende */
.ph-cinema { position:relative; min-height:380px; background-size:cover; background-position:center; overflow:hidden; clip-path:polygon(0 0,100% 6%,100% 94%,0 100%); display:flex; align-items:flex-end; }
.ph-cinema::after { content:''; position:absolute; inset:0; background:linear-gradient(0deg, rgba(34,39,47,.85) 0%, rgba(34,39,47,.25) 50%, rgba(34,39,47,.55) 100%); }
.ph-cinema .ph-cine-txt { position:relative; z-index:2; padding:40px 56px; }
.ph-cinema .ph-cine-txt .k { font-size:11px; letter-spacing:.2em; text-transform:uppercase; color:var(--green); margin-bottom:8px; }
.ph-cinema .ph-cine-txt h3 { font-family:var(--font-display); font-size:28px; color:var(--cream); font-weight:400; }
/* Split : accent vert + légende sur la photo */
.ph-img .ph-on { position:absolute; left:0; bottom:0; background:var(--green); color:var(--dark); font-size:11px; font-weight:600; letter-spacing:.12em; text-transform:uppercase; padding:8px 16px; }
@media(max-width:900px){ .ph-cinema{clip-path:polygon(0 0,100% 3%,100% 97%,0 100%);} .ph-cinema .ph-cine-txt{padding:28px;} }

/* ====== PHOTO « BORD ANGULAIRE » (façon site actuel) ====== */
.edge { display:grid; grid-template-columns:1fr 1fr; align-items:stretch; min-height:520px; background:var(--dark2); overflow:hidden; }
.edge-photo { background-size:cover; background-position:center; min-height:520px; }
.edge-text { display:flex; flex-direction:column; justify-content:center; padding:64px clamp(40px,6vw,96px); }
.edge-text .k { font-size:11px; letter-spacing:.2em; text-transform:uppercase; color:var(--green); margin-bottom:16px; }
.edge-text h3 { font-family:var(--font-display); font-size:clamp(24px,3vw,38px); color:var(--cream); font-weight:400; line-height:1.15; margin-bottom:18px; }
.edge-text h3 em { font-style:italic; color:var(--green); }
.edge-text p { font-size:15px; color:rgba(241,238,233,.6); line-height:1.85; font-weight:300; }
.edge.right .edge-photo { order:2; clip-path:polygon(14% 0, 100% 0, 100% 100%, 0 100%); }
.edge.left  .edge-photo { clip-path:polygon(0 0, 100% 0, 86% 100%, 0 100%); }
@media(max-width:900px){ .edge{grid-template-columns:1fr;} .edge.right .edge-photo,.edge.left .edge-photo{order:0;clip-path:polygon(0 0,100% 0,100% 90%,0 100%);min-height:300px;} .edge-text{padding:40px 28px;} }

/* ====== CORRECTIFS ====== */
/* header : espace entre sélecteur de langue et bouton RDV */
nav .nav-lang { flex-shrink:0; }
nav .nav-cta { margin-left: 24px; flex-shrink:0; }
/* edge : photo à gauche -> ordre correct */
.edge.left .edge-photo { order: 0; }
.edge.left .edge-text { order: 1; }
/* variante parallélogramme (coupe sur les 2 bords) */
.edge.para.right .edge-photo { clip-path: polygon(16% 0, 100% 0, 84% 100%, 0 100%); }
.edge.para.left  .edge-photo { clip-path: polygon(0 0, 84% 0, 100% 100%, 16% 100%); }

/* ====== V2 — DESIGN « MAQUETTE CONTENU » (Cormorant) — namespacé .cm- ====== */
.cm-hero { background:#22272F; padding:160px 56px 90px; position:relative; overflow:hidden; }
.cm-hero::before { content:''; position:absolute; inset:0; background-image:linear-gradient(rgba(125,219,155,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(125,219,155,.04) 1px,transparent 1px); background-size:60px 60px; pointer-events:none; }
.cm-inner { max-width:1100px; margin:0 auto; position:relative; z-index:2; }
.cm-eyebrow { display:inline-flex; align-items:center; gap:12px; font-size:10px; letter-spacing:3px; text-transform:uppercase; color:var(--green); margin-bottom:36px; font-weight:400; }
.cm-eyebrow::before { content:''; width:20px; height:1px; background:var(--green); }
.cm-title { font-family:'Cormorant Garamond',serif; font-size:clamp(44px,5.5vw,72px); font-weight:300; line-height:1.06; color:#fff; margin-bottom:26px; }
.cm-title em { color:var(--green); font-style:italic; }
.cm-vline { display: none; }
.cm-sub { font-size:15px; font-weight:300; line-height:1.8; color:rgba(255,255,255,.5); max-width:580px; }
.cm-badge { margin-top:48px; font-size:10px; letter-spacing:1.5px; text-transform:uppercase; color:rgba(255,255,255,.22); }
.cm-sec { padding:96px 56px; background:#2E333C; }
.cm-sec.dd { background:#22272F; }
.cm-sec.dc { background:#353B45; }
.cm-label { font-size:10px; letter-spacing:3px; text-transform:uppercase; color:var(--green); margin-bottom:16px; }
.cm-stitle { font-family:'Cormorant Garamond',serif; font-size:clamp(28px,3vw,44px); font-weight:300; line-height:1.15; color:#fff; margin-bottom:14px; }
.cm-stitle em { color:var(--green); font-style:italic; }
.cm-srule { display: none; }
.cm-g3 { display:grid; grid-template-columns:repeat(3,1fr); gap:1px; }
/* grilles à 4 cartes (About / DeltaCense) → 2×2 propre au lieu de 3+orphelin */
.cm-g3:has(.cm-card:nth-child(4)) { grid-template-columns:1fr 1fr; }
.cm-g2 { display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center; }
.cm-card { background:#2E333C; padding:44px 36px; border-top:2px solid var(--green); }
.cm-sec .cm-card { background:#22272F; }
.cm-card .cnum { font-family:'Cormorant Garamond',serif; font-size:40px; font-weight:300; color:var(--green); opacity:.5; display:block; margin-bottom:14px; }
.cm-card h3 { font-family:'Cormorant Garamond',serif; font-size:21px; font-weight:500; color:#fff; margin-bottom:14px; }
.cm-card p { font-size:13.5px; font-weight:300; line-height:1.8; color:rgba(255,255,255,.55); }
.cm-quote { background:#353B45; border-left:3px solid var(--green); padding:48px 52px; }
.cm-quote p { font-family:'Cormorant Garamond',serif; font-size:23px; font-style:italic; font-weight:300; color:#fff; line-height:1.6; }
.cm-quote cite { display:block; font-style:normal; font-size:10px; letter-spacing:1.5px; text-transform:uppercase; color:var(--green); margin-top:22px; }
.cm-tag { display:inline-block; background:var(--green); color:#22272F; font-size:9px; font-weight:600; letter-spacing:2px; text-transform:uppercase; padding:6px 14px; margin-bottom:20px; }
.cm-team { display:grid; grid-template-columns:repeat(3,1fr); gap:1px; }
.cm-tcard { background:#353B45; padding:40px 32px; border-top:2px solid transparent; transition:border-color .25s; }
.cm-tcard:hover { border-top-color:var(--green); }
.cm-tphoto { width:72px; height:72px; border-radius:2px; background:linear-gradient(135deg,#22272F,#353B45); display:flex; align-items:center; justify-content:center; margin-bottom:18px; }
.cm-tphoto span { font-family:'Cormorant Garamond',serif; font-size:22px; color:var(--green); letter-spacing:2px; }
.cm-tname { font-family:'Cormorant Garamond',serif; font-size:19px; color:#fff; margin-bottom:4px; }
.cm-trole { font-size:10px; letter-spacing:1.2px; text-transform:uppercase; color:var(--green); margin-bottom:14px; }
.cm-tbio { font-size:13px; font-weight:300; line-height:1.7; color:rgba(255,255,255,.4); }
.cm-pillars { display:grid; grid-template-columns:repeat(3,1fr); gap:1px; }
.cm-pillar { background:#2E333C; padding:52px 38px; border-top:2px solid var(--green); }
.cm-pillar .pnum { font-size:10px; letter-spacing:2.5px; text-transform:uppercase; color:var(--green); margin-bottom:18px; display:block; }
.cm-pillar h3 { font-family:'Cormorant Garamond',serif; font-size:22px; color:#fff; margin-bottom:18px; }
.cm-pillar ul { list-style:none; } .cm-pillar li { font-size:13px; font-weight:300; color:rgba(255,255,255,.45); padding:9px 0; border-bottom:1px solid rgba(125,219,155,.08); line-height:1.5; }
.cm-pillar li:last-child { border-bottom:none; }
.cm-cgrid { display:grid; grid-template-columns:repeat(4,1fr); gap:1px; }
.cm-cblock { background:#2E333C; padding:42px 32px; border-top:2px solid var(--green); }
.cm-cblock h4 { font-family:'Cormorant Garamond',serif; font-size:18px; font-weight:500; color:#fff; margin-bottom:14px; }
.cm-cblock p { font-size:13px; font-weight:300; color:rgba(255,255,255,.5); line-height:1.9; }
.cm-cblock a { color:var(--green); text-decoration:none; }

/* ====== RESPONSIVE — système .cm- (pages internes v2) ====== */
/* TABLETTE & PETIT ÉCRAN : reflows intermédiaires (≤900px) */
@media (max-width: 900px) {
	.cm-hero { padding: 130px 36px 78px; }
	.cm-sec { padding: 78px 36px; }
	.cm-inner { padding: 0; }
	/* grilles à 3 items : passent en 1 col (sinon orphelin moche) */
	.cm-g3, .cm-pillars { grid-template-columns: 1fr !important; gap: 24px !important; }
	/* 2-col stack */
	.cm-g2 { grid-template-columns: 1fr !important; gap: 40px !important; }
	/* grilles denses : 2 col sur tablette (équipe 6 cartes, contact 4 blocs, about 4 cartes) */
	.cm-team, .cm-cgrid { grid-template-columns: 1fr 1fr !important; gap: 1px !important; }
	.cm-g3:has(.cm-card:nth-child(4)) { grid-template-columns: 1fr 1fr !important; gap: 1px !important; }
	.cm-card, .cm-pillar { padding: 36px 28px; }
	.cm-title { font-size: clamp(40px, 6.5vw, 60px); }
	.cm-stitle { font-size: clamp(28px, 4.5vw, 40px); }
}
/* MOBILE : tout en 1 col, paddings et tailles resserrés (≤600px) */
@media (max-width: 600px) {
	.cm-hero { padding: 110px 22px 58px; }
	.cm-sec { padding: 60px 22px; }
	.cm-team, .cm-cgrid { grid-template-columns: 1fr !important; }
	.cm-g3:has(.cm-card:nth-child(4)) { grid-template-columns: 1fr !important; }
	.cm-card, .cm-pillar, .cm-tcard, .cm-cblock { padding: 28px 20px; }
	.cm-quote { padding: 28px 22px; }
	.cm-quote p { font-size: 19px; }
	.cm-title { font-size: clamp(34px, 9vw, 48px); }
	.cm-stitle { font-size: clamp(24px, 7vw, 36px); }
	.cm-eyebrow { margin-bottom: 22px; }
	.cm-sub { font-size: 14px; line-height: 1.65; }
}

/* ====== TABLETTE 769-1024px : palier 2-col pour les grilles v1 héritées ====== */
@media (min-width: 769px) and (max-width: 1024px) {
	.team-grid { grid-template-columns: 1fr 1fr !important; }
	.pillars { grid-template-columns: 1fr 1fr !important; }
	.valeurs-grid.cols-3 { grid-template-columns: 1fr 1fr !important; }
	.valeurs-grid { grid-template-columns: 1fr 1fr !important; }
	.info-grid { grid-template-columns: 1fr 1fr !important; }
	.fx-row, .fx2-row { grid-template-columns: 1fr 1fr !important; }
	.photo-strip { grid-template-columns: 1fr 1fr !important; }
}

/* ====== MOBILE (≤768px) — empilage agressif : tout en 1 col, paddings réduits ====== */
@media (max-width: 768px) {
	.hero-sub-grid,
	.philo-inner,
	.services-grid,
	.chiffres-grid,
	.seo-inner,
	.contact-inner,
	.form-row,
	.two-col,
	.ph-split,
	.edge,
	.info-grid,
	.contact-split,
	.team-grid,
	.pillars,
	.valeurs-grid,
	.valeurs-grid.cols-3,
	.fx-row,
	.fx2-row,
	.photo-strip,
	.footer-inner {
		grid-template-columns: 1fr !important;
		gap: 32px !important;
	}
	.section, .philo-section, .services-section, .chiffres-section, .partners-section, .contact-section, .seo-section, .carousel-section { padding-left: 24px !important; padding-right: 24px !important; }
	.section-inner, .philo-inner, .services-inner, .chiffres-inner, .contact-inner { padding-left: 0 !important; padding-right: 0 !important; }
	.photo-strip { height: auto !important; }
	.photo-strip-item { height: 240px !important; min-height: 240px; }
	.philo-right-photo { min-height: 320px !important; }
	.section-title { font-size: clamp(28px, 7vw, 38px) !important; line-height: 1.2 !important; }
	.philo-citation { font-size: clamp(24px, 6.5vw, 32px) !important; line-height: 1.25 !important; }
	.hero-title { font-size: clamp(32px, 9vw, 48px) !important; line-height: 1.1 !important; }
	.valeur-card:first-child, .valeur-card:last-child { border-radius: 0 !important; }
	.valeur-card { padding: 32px 22px !important; }
	.service-card { padding: 32px 22px !important; }
}

/* ====== TABLETTE (769-1024) — empiler photos + contenu plutôt que côte à côte ====== */
@media (min-width: 769px) and (max-width: 1024px) {
	.philo-inner { grid-template-columns: 1fr !important; gap: 50px !important; }
	.philo-right-photo { min-height: 380px !important; }
	.photo-strip { grid-template-columns: 1fr !important; height: auto !important; }
	.photo-strip-item { height: 300px !important; min-height: 300px; }
	.contact-inner { grid-template-columns: 1fr !important; gap: 50px !important; }
	.hero-sub-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
	.seo-inner { grid-template-columns: 1fr !important; gap: 28px !important; }
	.ph-split { grid-template-columns: 1fr !important; gap: 36px !important; }
	.edge { grid-template-columns: 1fr !important; }
	.edge.right .edge-photo, .edge.left .edge-photo { order: 0 !important; clip-path: polygon(0 0,100% 0,100% 90%,0 100%) !important; min-height: 320px !important; }
	footer { padding: 56px 32px !important; }
	.footer-inner { grid-template-columns: 1fr 1fr !important; gap: 40px !important; max-width: 100% !important; }
	.footer-bottom { max-width: 100% !important; flex-wrap: wrap !important; }
}

/* ====== ANTI-OVERFLOW mobile/tablette ====== */
@media (max-width: 1024px) {
	html, body { overflow-x: hidden; max-width: 100vw; }
	header, footer, nav, .hero-splash, .section, .philo-section, .services-section, .chiffres-section, .partners-section, .contact-section, .seo-section, .carousel-section, .page-hero, .cm-hero, .cm-sec {
		max-width: 100vw;
		overflow-x: hidden;
	}
	img, iframe, video { max-width: 100%; }
	nav { padding-left: 16px; padding-right: 16px; }
	.nav-burger { z-index: 200; flex-shrink: 0; }
}

/* ====== HOME — pattern edge photo (alignement avec pages secondaires) ====== */

/* HERO CONTENT — bleed full-width + photo diagonale */
.hero-content { padding: 0 !important; background: var(--dark2); overflow: hidden; }
.hero-content-inner { max-width: none !important; margin: 0 !important; padding: 0 !important; }
.hero-presentation-grid { gap: 0 !important; align-items: stretch !important; }
.hero-presentation-grid > div:first-child {
	padding: 60px 24px;
	display: flex; flex-direction: column; justify-content: center;
}
.hero-presentation-grid > div:first-child > a { align-self: flex-start; }
.hero-presentation-grid > div:last-child {
	position: relative; overflow: hidden; min-height: 320px;
}
.hero-presentation-grid > div:last-child img {
	width: 100% !important; height: 100% !important;
	object-fit: cover !important; display: block !important;
	border-radius: 0 !important; opacity: 1 !important;
	position: absolute !important; inset: 0 !important;
	clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
}
@media (min-width: 769px) {
	.hero-presentation-grid > div:first-child { padding: 80px 40px; }
	.hero-presentation-grid > div:last-child { min-height: 420px; }
}
@media (min-width: 1025px) {
	.hero-presentation-grid > div:first-child { padding: 96px clamp(40px, 6vw, 96px); }
	.hero-presentation-grid > div:last-child { min-height: 600px; }
	.hero-presentation-grid > div:last-child img {
		clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
	}
}

/* Override des paddings forcés par le bloc anti-overflow ci-dessus */
@media (max-width: 1024px) {
	.hero-content {
		padding-left: 0 !important; padding-right: 0 !important;
	}
}

/* ===== Brief #2 : fix débordement du texte vert du hero ===== */
.hero-tagline { flex-wrap: wrap; max-width: 600px; letter-spacing: 0.16em; line-height: 1.7; }


/* ===== Brief #3 (v2) : section bateau en demi-largeur + bord angulaire (comme 'family office') ===== */
.philo-section { padding: 0 !important; background: var(--dark2) !important; }
.philo-inner { max-width: none !important; margin: 0 !important; gap: 0 !important; align-items: stretch !important; grid-template-columns: 1fr 1fr !important; min-height: 520px; }
.philo-left { padding: 64px clamp(40px,6vw,96px) !important; display: flex; flex-direction: column; justify-content: center; }
.philo-right-photo { min-height: 520px !important; border-radius: 0 !important; height: 100%; clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); }
@media (max-width: 900px) {
  .philo-inner { grid-template-columns: 1fr !important; }
  .philo-right-photo { clip-path: polygon(0 0,100% 0,100% 90%,0 100%) !important; min-height: 320px !important; }
  .philo-left { padding: 40px 28px !important; }
}

/* ─── Override Hello Elementor header/footer natif ─── */
.site-header, .site-footer, header.site-header, footer.site-footer,
.ehf-header .site-header, .ehf-footer .site-footer { display: none !important; }

/* Reset max-width et padding des conteneurs Elementor pour que les sections full-width s'appliquent */
/* Note: on ne force PAS display:block sur page-photo (casserait display:grid) */

/* ─── CSS CRITIQUE (injecté normalement par functions.php sur darksalmon) ─── */
.hero-presentation-grid { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
@media (min-width: 1025px) { .hero-presentation-grid { grid-template-columns: 1fr 1fr; gap: 80px; } }
@media (max-width: 1024px) {
  .philo-inner, .services-grid, .valeurs-grid, .chiffres-grid, .seo-inner, .contact-inner,
  .form-row, .two-col, .ph-split, .edge, .info-grid, .contact-split, .team-grid, .pillars,
  .fx-row, .fx2-row, .photo-strip, .footer-inner, .cm-g3, .cm-team, .cm-cgrid, .cm-pillars,
  .hero-presentation-grid { grid-template-columns: 1fr !important; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .footer-inner, .valeurs-grid, .team-grid, .pillars { grid-template-columns: 1fr 1fr !important; }
}

/* ─── FIX ELEMENTOR : forcer les règles perdues en spécificité ─── */
.partner-logo {
  height: 40px !important;
  width: auto !important;
  max-width: 140px !important;
  object-fit: contain !important;
  flex-shrink: 0 !important;
}
.marquee-wrapper { overflow: hidden !important; width: 100% !important; position: relative !important; }
.marquee-track {
  display: flex !important;
  align-items: center !important;
  gap: 72px !important;
  width: max-content !important;
  animation: marquee-scroll 40s linear infinite !important;
  padding: 16px 0 !important;
}
/* Reset images Elementor dans les widgets html pour qu'elles respectent les règles custom */
.elementor-widget-html img {
  max-width: none;
  height: auto;
}



/* ─── FIX HERO : Elementor force .elementor video { width: 100% } qui casse le split ─── */
.elementor .hero-splash-video,
.elementor-page .hero-splash-video,
.hero-splash-video {
  width: 54% !important;
  left: auto !important;
  right: 0 !important;
  clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%) !important;
  -webkit-clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%) !important;
  max-width: none !important;
}
@media (max-width: 820px) {
  .elementor .hero-splash-video,
  .elementor-page .hero-splash-video,
  .hero-splash-video {
    width: 100% !important;
    clip-path: none !important;
    -webkit-clip-path: none !important;
  }
}

/* ─── OVERRIDE ELEMENTOR : neutraliser les gaps SAUF sur les sections du design ─── */
/* Les sections du design (cm-hero, cm-sec, page-photo, etc.) gardent leur padding/display natif */
/* On ne force rien sur les containers Elementor — on laisse le CSS du design (max-width 1100px sur .cm-inner, etc.) opérer librement */
/* Les widget-html de transition display:contents */
.elementor-widget-html,
.elementor-widget-html > .elementor-widget-container {
  padding: 0;
  margin: 0;
}

/* ─── OVERRIDE : forcer les couleurs du design dans les widgets Elementor ─── */
/* Les widgets heading/text-editor héritent via leurs classes CSS (_css_classes), 
   mais Elementor met color via var(--e-global-color-primary) avec haute spécificité. */

/* Headings dans les sections du design — couleurs héritées de la class */
.cm-title.elementor-widget-heading .elementor-heading-title,
.cm-stitle.elementor-widget-heading .elementor-heading-title,
.cm-card .elementor-widget-heading .elementor-heading-title,
.cm-quote .elementor-widget-heading .elementor-heading-title,
.edge-text .elementor-widget-heading .elementor-heading-title { 
  color: inherit !important; font-family: inherit !important; font-weight: inherit !important; 
}

/* Headings heading-small (eyebrow, badge, cnum, tag, label) */
.cm-eyebrow.elementor-widget-heading .elementor-heading-title,
.cm-label.elementor-widget-heading .elementor-heading-title,
.cm-tag.elementor-widget-heading .elementor-heading-title,
.cm-badge.elementor-widget-heading .elementor-heading-title,
.cm-cnum.elementor-widget-heading .elementor-heading-title,
.cnum.elementor-widget-heading .elementor-heading-title,
.k.elementor-widget-heading .elementor-heading-title {
  color: inherit !important; font-family: inherit !important; font-weight: inherit !important;
  font-size: inherit !important; letter-spacing: inherit !important; text-transform: inherit !important;
}

/* Text-editor dans les sections */
.cm-sub.elementor-widget-text-editor .elementor-widget-container,
.edge-text .elementor-widget-text-editor .elementor-widget-container,
.cm-card .elementor-widget-text-editor .elementor-widget-container,
.cm-quote .elementor-widget-text-editor .elementor-widget-container {
  color: inherit !important; font-family: inherit !important;
}

/* Les widgets prennent le display/padding natif du CSS design via la class */
.elementor-widget.cm-eyebrow,
.elementor-widget.cm-label,
.elementor-widget.cm-tag,
.elementor-widget.cm-badge,
.elementor-widget.cm-title,
.elementor-widget.cm-stitle,
.elementor-widget.cm-sub,
.elementor-widget.cnum,
.elementor-widget.k {
  /* le CSS .cm-* du design va s'appliquer naturellement */
}

/* ─── Overrider les variables globales Elementor avec les couleurs du design ─── */
:root {
  --e-global-color-primary: var(--cream, #f1eee9);
  --e-global-color-secondary: var(--green, #7ddb9b);
  --e-global-color-text: rgba(241,238,233,0.6);
  --e-global-color-accent: var(--green, #7ddb9b);
  --e-global-typography-primary-font-family: 'Cormorant Garamond', serif;
  --e-global-typography-primary-font-weight: 400;
  --e-global-typography-text-font-family: 'DM Sans', system-ui, sans-serif;
  --e-global-typography-text-font-weight: 300;
}
/* Les headings Elementor dans les sections "small text" (eyebrows, labels) → vert */
.hero-brand-sub.elementor-widget-heading .elementor-heading-title,
.hero-tagline.elementor-widget-heading .elementor-heading-title {
  color: var(--green, #7ddb9b) !important;
}

/* ─── Force flex-direction du design sur les containers Elementor hero-splash ─── */
.hero-splash.e-con, .hero-splash {
  --flex-direction: row !important;
  --justify-content: flex-start !important;
  --align-items: center !important;
  flex-direction: row !important;
  justify-content: flex-start !important;
  align-items: center !important;
}
@media (max-width: 820px) {
  .hero-splash.e-con, .hero-splash {
    --flex-direction: column !important;
    flex-direction: column !important;
    justify-content: center !important;
    text-align: center !important;
  }
}
/* hero-content-inner contient le texte à gauche en flex-column */
.hero-splash-content, .hero-splash-content.e-con {
  --flex-direction: column !important;
  --align-items: flex-start !important;
  flex-direction: column !important;
  align-items: flex-start !important;
}

/* ─── Button widget Elementor : forcer apparence btn-primary du design ─── */
.btn-primary .elementor-button-wrapper,
.btn-primary .elementor-widget-container {
  display: contents;
}
.btn-primary .elementor-button {
  background: var(--green) !important;
  color: var(--dark) !important;
  font-family: var(--font-body) !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  padding: 14px 28px !important;
  border-radius: 999px !important;
  text-decoration: none !important;
  letter-spacing: 0.02em !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  transition: transform 0.2s, box-shadow 0.2s !important;
  border: none !important;
}
.btn-primary .elementor-button-text {
  text-decoration: none;
}

/* btn-primary clean */
.btn-primary .elementor-button {
  background: var(--green) !important;
  color: var(--dark) !important;
  font-family: var(--font-body) !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  padding: 14px 32px !important;
  border-radius: 999px !important;
  text-decoration: none !important;
  letter-spacing: 0.02em !important;
  border: none !important;
  box-shadow: none !important;
}
.btn-primary .elementor-button-text { text-decoration: none !important; }

/* ═════════════════════════════════════════════════════
   HYBRID FIX : neutralise les wrappers Elementor
   pour les sections HTML raw complexes (hero, page-photo, etc.)
   ═════════════════════════════════════════════════════ */

/* Les sections hybrides sont des <section class="xxx e-con"> wrappant un widget HTML.
   On veut que leurs enfants (via wrappers Elementor) se comportent comme si
   le HTML était direct sous la section. */
.hero-splash.e-con,
.page-photo.e-con,
.partners-section.e-con,
.philo-section.e-con,
.hero-content.e-con,
.services-section.e-con,
.contact-section.e-con,
.section.e-con,
.cm-hero.e-con,
.cm-sec.e-con {
  --padding-top: 0;
  --padding-bottom: 0;
  --padding-left: 0;
  --padding-right: 0;
  --margin-top: 0;
  --margin-bottom: 0;
  --flex-direction: column;
}

/* Container inner d'Elementor : display:contents fait "disparaître" le wrapper du layout
   pour que les enfants deviennent direct-children de la section parente (grid/flex intacts) */
.hero-splash > .e-con-inner,
.page-photo > .e-con-inner,
.partners-section > .e-con-inner,
.philo-section > .e-con-inner,
.hero-content > .e-con-inner,
.hero-content-inner > .e-con-inner,
.hero-presentation-grid > .e-con-inner,
.philo-inner > .e-con-inner,
.services-section > .e-con-inner,
.services-inner > .e-con-inner,
.services-grid > .e-con-inner,
.contact-section > .e-con-inner,
.contact-split > .e-con-inner,
.section > .e-con-inner,
.section-inner > .e-con-inner,
.valeurs-grid > .e-con-inner,
.cm-hero > .e-con-inner,
.cm-sec > .e-con-inner,
.cm-inner > .e-con-inner,
.cm-g3 > .e-con-inner,
.cm-g2 > .e-con-inner {
  display: contents !important;
}

/* Widget HTML wrappers dans sections complexes → display:contents = disparaissent du layout
   pour que le HTML raw flux directement dans la section (grid/flex intacts) */
.hero-splash > .e-con-inner > .elementor-widget-html,
.hero-splash > .e-con-inner > .elementor-widget-html > .elementor-widget-container,
.page-photo > .e-con-inner > .elementor-widget-html,
.page-photo > .e-con-inner > .elementor-widget-html > .elementor-widget-container,
.partners-section > .e-con-inner > .elementor-widget-html,
.partners-section > .e-con-inner > .elementor-widget-html > .elementor-widget-container,
.section > .e-con-inner > .elementor-widget-html,
.section > .e-con-inner > .elementor-widget-html > .elementor-widget-container,
.contact-section > .e-con-inner > .elementor-widget-html,
.contact-section > .e-con-inner > .elementor-widget-html > .elementor-widget-container,
.hero-splash > .elementor-widget-html,
.hero-splash > .elementor-widget-html > .elementor-widget-container,
.page-photo > .elementor-widget-html,
.page-photo > .elementor-widget-html > .elementor-widget-container,
.partners-section > .elementor-widget-html,
.partners-section > .elementor-widget-html > .elementor-widget-container {
  display: contents !important;
}

/* Les widgets HTML eux-mêmes : largeur 100%, pas d'espacement propre */
.hero-splash .elementor-element,
.page-photo .elementor-element,
.partners-section .elementor-element,
.philo-section .elementor-element,
.hero-content .elementor-element,
.services-section .elementor-element,
.contact-section .elementor-element {
  width: 100% !important;
  max-width: none !important;
}

/* Elementor force toujours les h1-h6 à hériter sa typo via globals. On force la font du design. */
.cm-title, .hero-title, .section-title,
.philo-citation, .cm-stitle,
.hero-splash h1, .hero-splash h2, .hero-splash h3,
.hero-content h1, .hero-content h2, .hero-content h3,
.cm-hero h1, .cm-sec h1, .cm-sec h2, .cm-sec h3 {
  font-family: var(--font-display, 'Cormorant Garamond', serif) !important;
}
.hero-tagline, .section-label, .cm-label, .cm-eyebrow, .cm-tag, .k,
.hero-brand-sub {
  font-family: var(--font-body, 'DM Sans', system-ui, sans-serif) !important;
}

/* Fix Elementor default link underline on .btn-primary */
.btn-primary, .btn-primary:hover, .btn-primary:focus, .btn-primary:visited,
a.btn-primary, .elementor .btn-primary {
  text-decoration: none !important;
}
.btn-link, a.btn-link, .elementor .btn-link {
  text-decoration: none !important;
}

/* Image widget wrappers → display:contents, l'img remonte au niveau du column container */
.hero-presentation-grid .elementor-widget-image,
.hero-presentation-grid .elementor-widget-image > .elementor-widget-container,
.philo-section .elementor-widget-image,
.philo-section .elementor-widget-image > .elementor-widget-container {
  display: contents !important;
}

/* L'img fille remplit le column container avec clip-path diagonal */
.hero-presentation-grid .elementor-widget-image img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 0 !important;
  opacity: 1 !important;
}
@media (min-width: 1025px) {
  .hero-presentation-grid .elementor-widget-image img {
    clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
  }
}
@media (max-width: 1024px) {
  .hero-presentation-grid .elementor-widget-image img {
    position: static !important;
    height: auto !important;
    clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
  }
}

/* Autres images natives dans sections hybrides : taille naturelle */
.cm-sec img, .cm-hero img, .hero-content img:not(.hero-presentation-grid img) {
  width: 100% !important;
  height: auto !important;
  display: block !important;
}

/* Elementor par défaut injecte un global sur h2.elementor-heading-title etc.
   On force la couleur cream pour toutes les headings dans sections design. */
.hero-splash h1, .hero-splash h2, .hero-splash h3,
.hero-content h1, .hero-content h2, .hero-content h3,
.philo-section h1, .philo-section h2, .philo-section h3,
.services-section h1, .services-section h2, .services-section h3,
.cm-hero h1, .cm-hero h2, .cm-hero h3,
.cm-sec h1, .cm-sec h2, .cm-sec h3,
.contact-section h1, .contact-section h2 {
  color: var(--cream, #f1eee9) !important;
}
.hero-title, .cm-title, .section-title, .philo-citation, .cm-stitle {
  color: var(--cream, #f1eee9) !important;
}

/* ─── Force heading widget text to inherit parent color (section-label, etc.) ─── */
.section-label .elementor-heading-title,
.section-label.elementor-widget-heading .elementor-heading-title,
.philo-citation .elementor-heading-title,
.cm-eyebrow .elementor-heading-title,
.cm-badge .elementor-heading-title,
.cm-tag .elementor-heading-title,
.cm-label .elementor-heading-title,
.cm-stitle .elementor-heading-title,
.cm-cnum .elementor-heading-title,
.cm-title .elementor-heading-title,
.hero-title .elementor-heading-title,
.k .elementor-heading-title {
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  font-style: inherit !important;
  color: inherit !important;
  line-height: inherit !important;
  letter-spacing: inherit !important;
  text-transform: inherit !important;
  margin: 0 !important;
}

/* Section-label widget wrapper (créé via <div class="section-label">XXX</div>) :
   le wrapper reste un bloc transparent, le heading INNER devient le pill */
.elementor-widget-heading.section-label,
.section-label.elementor-widget {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin-bottom: 20px !important;
  width: 100% !important;
  display: block !important;
  color: inherit !important;
  letter-spacing: normal !important;
  font-size: inherit !important;
}
.elementor-widget-heading.section-label > .elementor-widget-container,
.section-label.elementor-widget > .elementor-widget-container {
  padding: 0 !important;
  display: block !important;
}
.elementor-widget-heading.section-label .elementor-heading-title,
.section-label.elementor-widget .elementor-heading-title {
  display: inline-block !important;
  padding: 8px 20px !important;
  background: rgba(241,238,233,0.08) !important;
  border-radius: 999px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.2em !important;
  color: rgba(241,238,233,0.75) !important;
  text-transform: uppercase !important;
}

/* Les sections avec `.philo-left` ne doivent pas forcer leurs enfants heading à être full-width */
.philo-left > .elementor-widget {
  width: auto !important;
}
.philo-left > .elementor-widget-heading.philo-citation {
  width: 100% !important;
}

/* Hide Hello Elementor theme's page-header (title + breadcrumbs) — pushed content 64px down */
.page-header, header.entry-header, .site-main > .page-header,
.hello-elementor .entry-header {
  display: none !important;
}
/* Et aussi margins sur main pour coller en haut */
.site-main, main.site-main {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* ═════════════════════════════════════════════════════
   ROUND 2 — Fixes des différences visuelles vs production
   ═════════════════════════════════════════════════════ */

/* ─── 1. TOUS les petits badges pills : forcer align-self flex-start + shrink to content ─── */
.elementor-widget.section-label,
.elementor-widget.cm-tag,
.elementor-widget.cm-label,
.elementor-widget.cm-eyebrow,
.elementor-widget.cm-badge,
.elementor-widget.cm-cnum,
.elementor-widget.cnum,
.elementor-widget.k {
  align-self: flex-start !important;
  width: fit-content !important;
  max-width: fit-content !important;
  flex: 0 0 auto !important;
}

/* Les section-label ont déjà un pill via style sur heading-title.
   Le wrapper widget doit juste rester transparent et laisser l'inner titles être le pill. */
.cm-tag.elementor-widget {
  background: transparent !important;
  padding: 0 !important;
  color: inherit !important;
  letter-spacing: normal !important;
  font-size: inherit !important;
}
.cm-tag.elementor-widget .elementor-heading-title {
  display: inline-block !important;
  background: var(--green) !important;
  color: #22272F !important;
  font-size: 9px !important;
  font-weight: 600 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  padding: 6px 14px !important;
}
.cm-label.elementor-widget {
  background: transparent !important;
  padding: 0 !important;
  color: inherit !important;
  letter-spacing: normal !important;
  font-size: inherit !important;
}
.cm-label.elementor-widget .elementor-heading-title {
  font-size: 10px !important;
  letter-spacing: 3px !important;
  text-transform: uppercase !important;
  color: var(--green) !important;
}
.cm-eyebrow.elementor-widget {
  background: transparent !important;
  padding: 0 !important;
}
.cm-eyebrow.elementor-widget .elementor-heading-title {
  font-size: 10px !important;
  letter-spacing: 3px !important;
  text-transform: uppercase !important;
  color: var(--green) !important;
  font-weight: 400 !important;
}
.cm-badge.elementor-widget {
  background: transparent !important;
  padding: 0 !important;
}
.cm-badge.elementor-widget .elementor-heading-title {
  font-size: 10px !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  color: rgba(255,255,255,.22) !important;
}
.cm-cnum.elementor-widget .elementor-heading-title,
.cnum.elementor-widget .elementor-heading-title {
  color: rgba(241,238,233,0.35) !important;
  font-size: 10px !important;
  letter-spacing: 0.2em !important;
  font-weight: 500 !important;
}
.k.elementor-widget .elementor-heading-title {
  font-size: 10px !important;
  letter-spacing: 3px !important;
  text-transform: uppercase !important;
  color: var(--green) !important;
  font-weight: 500 !important;
}

/* ─── 2. BTN-LINK : la widget button Elementor doit se transformer en lien texte avec flèche ─── */
.btn-link.elementor-widget-button .elementor-button,
.btn-link .elementor-button,
a.btn-link.elementor-button,
.elementor-widget-button.btn-link .elementor-button {
  background: transparent !important;
  background-color: transparent !important;
  padding: 0 !important;
  color: var(--green, #7ddb9b) !important;
  border: none !important;
  border-radius: 0 !important;
  font-family: var(--font-body, 'DM Sans', system-ui, sans-serif) !important;
  font-weight: 400 !important;
  font-size: 14px !important;
  text-decoration: none !important;
  box-shadow: none !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}
.btn-link.elementor-widget-button {
  background: transparent !important;
  width: auto !important;
}
.btn-link .elementor-button-text {
  color: var(--green, #7ddb9b) !important;
  text-decoration: none !important;
}
.btn-link.elementor-widget {
  width: fit-content !important;
  align-self: flex-start !important;
}

/* ─── 3. SERVICE-CARD h3/p — Elementor widget wrappers doivent conserver la typo design ─── */
.service-card h3,
.service-card .elementor-widget-heading .elementor-heading-title {
  font-family: var(--font-display, 'Cormorant Garamond', serif) !important;
  font-size: 19px !important;
  color: var(--cream, #f1eee9) !important;
  font-weight: 500 !important;
  line-height: 1.25 !important;
  margin-bottom: 12px !important;
}
.service-card p,
.service-card .elementor-widget-text-editor,
.service-card .elementor-widget-text-editor .elementor-widget-container {
  font-size: 13.5px !important;
  color: rgba(241,238,233,0.5) !important;
  line-height: 1.75 !important;
  font-weight: 300 !important;
}

/* ─── 4. TEAM-CARD / member-card (page À propos) ─── */
.team-card .elementor-widget-heading .elementor-heading-title,
.member-card h3,
.member-card .elementor-widget-heading .elementor-heading-title {
  font-family: var(--font-display, 'Cormorant Garamond', serif) !important;
  color: var(--cream, #f1eee9) !important;
  font-weight: 500 !important;
  font-size: 20px !important;
}
.team-card .section-label,
.member-card .section-label {
  color: var(--green, #7ddb9b) !important;
  font-size: 10px !important;
  letter-spacing: 3px !important;
}
/* Boutons LinkedIn dans les cards team → ghost outline */
.team-card .elementor-button,
.member-card .elementor-button,
.team-card a.btn-link.elementor-button {
  background: transparent !important;
  color: var(--green, #7ddb9b) !important;
  border: 1px solid rgba(125,219,155,0.4) !important;
  padding: 10px 18px !important;
  border-radius: 999px !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
}
.team-card .elementor-button:hover,
.member-card .elementor-button:hover {
  background: rgba(125,219,155,0.08) !important;
}

/* ─── 5. "Nos expertises" et sous-titres dans services → vert (pas cyan) ─── */
.service-card h4,
.expertise-sub,
.expertise-list h4,
h4.expertise-title,
.service-expertise h4,
.service-card .elementor-widget-heading[data-size="h4"] .elementor-heading-title,
.service-card h4.elementor-heading-title {
  color: var(--green, #7ddb9b) !important;
  font-family: var(--font-body, 'DM Sans', system-ui, sans-serif) !important;
  font-size: 13px !important;
  letter-spacing: 1px !important;
  text-transform: none !important;
  font-weight: 500 !important;
}

/* ─── 6. HERO/CM-TITLE : constrain max-width + font-size production (72px max) ─── */
.cm-hero .cm-title,
.cm-hero.e-con h1.cm-title,
.cm-hero .cm-title.elementor-widget-heading .elementor-heading-title {
  max-width: 900px !important;
  font-size: clamp(36px, 4.8vw, 72px) !important;
  line-height: 1.08 !important;
  font-weight: 300 !important;
}
.cm-hero .cm-sub,
.cm-hero .cm-sub.elementor-widget-text-editor .elementor-widget-container {
  max-width: 640px !important;
}

/* ─── 7. Section bateau : réduire marge entre texte et bouton "En savoir plus" ─── */
.philo-left .btn-link,
.philo-left a.btn-link {
  margin-top: 24px !important;
}
.philo-left .philo-block {
  margin-bottom: 24px !important;
  padding-bottom: 24px !important;
}
.philo-left .philo-block:last-of-type {
  border-bottom: none !important;
  margin-bottom: 20px !important;
}

/* ─── ROUND 2.5 — Team cards cm-tname/trole/tphoto/tbio ─── */
.cm-tname.elementor-widget-heading .elementor-heading-title,
.cm-tname.elementor-widget .elementor-heading-title {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 19px !important;
  color: #fff !important;
  font-weight: 500 !important;
  margin-bottom: 4px !important;
}
.cm-trole.elementor-widget-heading .elementor-heading-title,
.cm-trole.elementor-widget .elementor-heading-title {
  font-size: 10px !important;
  letter-spacing: 1.2px !important;
  text-transform: uppercase !important;
  color: var(--green, #7ddb9b) !important;
  font-weight: 500 !important;
  margin-bottom: 14px !important;
}
.cm-tbio.elementor-widget-text-editor .elementor-widget-container,
.cm-tbio.elementor-widget .elementor-widget-container,
.cm-tbio p {
  font-size: 13px !important;
  font-weight: 300 !important;
  line-height: 1.7 !important;
  color: rgba(255,255,255,.4) !important;
}
/* Avatar initiales box */
.cm-tphoto.elementor-widget-heading .elementor-heading-title,
.cm-tphoto.elementor-widget .elementor-heading-title {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 22px !important;
  color: var(--green, #7ddb9b) !important;
  letter-spacing: 2px !important;
}
.cm-tphoto.elementor-widget {
  width: 72px !important;
  height: 72px !important;
  border-radius: 2px !important;
  background: linear-gradient(135deg, #22272F, #353B45) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 18px !important;
  padding: 0 !important;
}
.cm-tphoto.elementor-widget > .elementor-widget-container {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
}
/* LinkedIn link bouton ghost */
.cm-tlink.elementor-widget-button .elementor-button,
.cm-tlink .elementor-button {
  background: transparent !important;
  color: var(--green, #7ddb9b) !important;
  border: 1px solid rgba(125,219,155,0.4) !important;
  padding: 8px 16px !important;
  border-radius: 999px !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  letter-spacing: 0.5px !important;
  margin-top: 16px !important;
}
.cm-tlink.elementor-widget-button .elementor-button:hover,
.cm-tlink .elementor-button:hover {
  background: rgba(125,219,155,0.1) !important;
}

/* ─── Généralisation : TOUS les widgets heading avec classe .cm-* héritent du parent (cascade correcte) ─── */
.cm-stitle.elementor-widget .elementor-heading-title,
.cm-title.elementor-widget .elementor-heading-title,
.cm-sub.elementor-widget .elementor-widget-container {
  color: inherit !important;
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  font-style: inherit !important;
}
/* .cm-sub p paragraphes */
.cm-sub p, .cm-sub .elementor-widget-container p {
  color: rgba(241,238,233,0.55) !important;
  font-size: 15px !important;
  line-height: 1.75 !important;
  font-weight: 300 !important;
}
.cm-stitle, 
.cm-stitle.elementor-widget {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: clamp(28px, 3.4vw, 52px) !important;
  color: #f1eee9 !important;
  font-weight: 500 !important;
  line-height: 1.1 !important;
  margin-bottom: 18px !important;
}
.cm-title,
.cm-title.elementor-widget {
  font-family: 'Cormorant Garamond', serif !important;
  color: #f1eee9 !important;
  font-weight: 500 !important;
  line-height: 1.08 !important;
}

/* ─── Nos expertises (sous-titres dans services) ─── */
.cm-exp-title,
.exp-title,
h4.cm-exp-title,
.service-card h4,
.cm-sec h4 {
  color: var(--green, #7ddb9b) !important;
  font-family: var(--font-body, 'DM Sans', system-ui, sans-serif) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  margin-bottom: 14px !important;
}
.cm-exp-title.elementor-widget-heading .elementor-heading-title,
.cm-exp-title.elementor-widget .elementor-heading-title {
  color: inherit !important;
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  letter-spacing: inherit !important;
  text-transform: inherit !important;
}

/* ─── Fix cm-tphoto : la container avec initiales (box 72x72 avec gradient) ─── */
.cm-tphoto.e-con,
.cm-tphoto {
  width: 72px !important;
  height: 72px !important;
  border-radius: 2px !important;
  background: linear-gradient(135deg, #22272F, #353B45) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 18px !important;
  padding: 0 !important;
  flex-grow: 0 !important;
  flex-shrink: 0 !important;
}
/* Les initiales dedans sont dans un heading widget */
.cm-tphoto .elementor-heading-title,
.cm-tphoto .elementor-widget .elementor-heading-title,
.cm-tphoto .elementor-widget-container,
.cm-tphoto > .e-con-inner > .elementor-widget {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 22px !important;
  color: var(--green, #7ddb9b) !important;
  letter-spacing: 2px !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  width: auto !important;
}
.cm-tphoto .elementor-widget {
  background: transparent !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
}

/* ─── Fix cm-tname/trole/tbio quand ils sont des WIDGETS (pas juste des divs raw) ─── */
.cm-tcard .cm-tname .elementor-heading-title,
.cm-tcard > .elementor-widget.cm-tname .elementor-heading-title {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 19px !important;
  color: #fff !important;
  font-weight: 500 !important;
  margin-bottom: 4px !important;
}
.cm-tcard .cm-trole .elementor-heading-title {
  font-size: 10px !important;
  letter-spacing: 1.2px !important;
  text-transform: uppercase !important;
  color: var(--green, #7ddb9b) !important;
  font-weight: 500 !important;
  margin-bottom: 14px !important;
}

/* ─── Fix cm-tlink (button LinkedIn) → ghost outline pill ─── */
.cm-tcard .elementor-widget-button .elementor-button,
.cm-tlink.elementor-widget-button .elementor-button,
a.cm-tlink.elementor-button {
  background: transparent !important;
  color: var(--green, #7ddb9b) !important;
  border: 1px solid rgba(125,219,155,0.4) !important;
  padding: 8px 16px !important;
  border-radius: 999px !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  letter-spacing: 0.5px !important;
}
.cm-tcard .elementor-widget-button .elementor-button:hover {
  background: rgba(125,219,155,0.1) !important;
}

/* ═════════════════════════════════════════════════════
   ROUND 3 — Fixes additionnels
   ═════════════════════════════════════════════════════ */

/* ─── 1. Values section (Home "Nos valeurs et engagements") → background dark2 ─── */
section.section.e-con,
.hero-splash + * + section.section,
.elementor-element.e-con-full.section {
  background: var(--dark2, #2E333C) !important;
}

/* ─── 2. Section-title (sur .services-intro, .cm-sec, etc.) : forcer serif cream ─── */
.section-title.elementor-widget-heading .elementor-heading-title,
.section-title.elementor-widget .elementor-heading-title,
.section-title .elementor-heading-title {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: clamp(26px, 3vw, 42px) !important;
  color: var(--cream, #f1eee9) !important;
  font-weight: 600 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.01em !important;
}
.section-title.elementor-widget {
  margin-bottom: 16px !important;
}

/* ─── 3. Philo-block (section "A Family Office built by investors") : moins de marges ─── */
.philo-block,
.philo-block.e-con,
.philo-left .philo-block {
  padding: 0 0 18px 0 !important;
  margin: 0 0 18px 0 !important;
  --padding-top: 0 !important;
  --padding-right: 0 !important;
  --padding-bottom: 18px !important;
  --padding-left: 0 !important;
  --margin-top: 0 !important;
  --margin-bottom: 18px !important;
  border-bottom: 1px solid rgba(241,238,233,0.09) !important;
}
.philo-block:last-of-type,
.philo-left .philo-block:last-of-type {
  border-bottom: none !important;
  margin-bottom: 24px !important;
  padding-bottom: 0 !important;
}
.philo-block > .e-con-inner {
  padding: 0 !important;
  display: contents !important;
}
/* Texte dans philo-block : moins d'espace vertical */
.philo-block .elementor-widget-text-editor,
.philo-block p {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* ─── 4. hero-title (section hero-content "A Family Office with a singular vision") typo ─── */
.hero-title.elementor-widget-heading .elementor-heading-title,
.hero-title.elementor-widget .elementor-heading-title {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: clamp(32px, 4vw, 56px) !important;
  color: var(--cream, #f1eee9) !important;
  font-weight: 500 !important;
  line-height: 1.1 !important;
  letter-spacing: -0.01em !important;
}

/* ─── 5. hero-intro et textes similaires : taille et couleur ─── */
.hero-intro.elementor-widget-text-editor .elementor-widget-container,
.hero-intro .elementor-widget-container,
.hero-intro p {
  font-size: 15px !important;
  color: rgba(241,238,233,0.55) !important;
  line-height: 1.75 !important;
  font-weight: 300 !important;
}

/* ─── 6. Services-intro titre forcer typo correcte ─── */
.services-intro .section-title.elementor-widget-heading .elementor-heading-title,
.services-intro h2.elementor-heading-title {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: clamp(28px, 3.4vw, 48px) !important;
  color: var(--cream, #f1eee9) !important;
  font-weight: 500 !important;
}
.services-intro .elementor-widget-text-editor,
.services-intro .elementor-widget-text-editor .elementor-widget-container,
.services-intro p {
  font-size: 15px !important;
  color: rgba(241,238,233,0.55) !important;
  line-height: 1.75 !important;
}

/* ─── ROUND 3.5 — Correction cm-stitle + cnum + card h3 (page philosophie) ─── */

/* Section title (.cm-stitle) — plus petit, weight 300 */
.cm-stitle,
.cm-stitle.elementor-widget,
.cm-stitle.elementor-widget-heading .elementor-heading-title,
.cm-stitle .elementor-heading-title {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: clamp(28px, 3.4vw, 44px) !important;
  color: var(--cream, #f1eee9) !important;
  font-weight: 300 !important;
  line-height: 1.15 !important;
  margin-bottom: 0 !important;
}

/* Divider line sous le titre .cm-srule */
.cm-srule {
  margin: 24px 0 0 !important;
  border-top: 1px solid rgba(125,219,155,0.4) !important;
}

/* Numéros 01/02/03 dans les cards (.cnum / .cm-cnum) — 40px vert weight 300 */
.cm-card .cnum,
.cm-card .cm-cnum,
.cnum.elementor-widget,
.cnum.elementor-widget .elementor-heading-title,
.cm-cnum.elementor-widget .elementor-heading-title,
.cm-card > .elementor-widget.cnum .elementor-heading-title,
.cm-card > .elementor-widget.cm-cnum .elementor-heading-title {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 40px !important;
  color: var(--green, #7ddb9b) !important;
  font-weight: 300 !important;
  letter-spacing: 0 !important;
  opacity: 1 !important;
  text-transform: none !important;
  margin-bottom: 24px !important;
  display: block !important;
}

/* Titre des cards (.cm-card h3) — 21px serif cream weight 500 */
.cm-card h3,
.cm-card .elementor-widget-heading .elementor-heading-title,
.cm-card .elementor-widget[data-widget_type*="heading"] .elementor-heading-title {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 21px !important;
  color: #fff !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
  margin-bottom: 16px !important;
}

/* Marge entre titre section et grille de cards */
.cm-sec > .e-con-inner > .cm-g3,
.cm-sec .cm-g3 {
  margin-top: 24px !important;
}

/* Cards cm-card background + padding (si pas déjà bien) */
.cm-card,
.cm-card.e-con {
  background: #262A32 !important;
  padding: 48px 32px !important;
  --padding-top: 48px !important;
  --padding-right: 32px !important;
  --padding-bottom: 48px !important;
  --padding-left: 32px !important;
}

/* Grid 3 colonnes avec gap 1px (séparateurs) */
.cm-g3,
.cm-g3.e-con {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 1px !important;
}
@media (max-width: 820px) {
  .cm-g3, .cm-g3.e-con { grid-template-columns: 1fr !important; }
}

/* ─── ROUND 3.7 — Fix services page : stack layout + pnum couleur ─── */

/* Pillars grid : UNE SEULE colonne (empilés) comme production */
.cm-pillars,
.cm-pillars.e-con {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 1px !important;
  max-width: 1100px !important;
  margin: 0 auto !important;
}

/* Pillar card : horizontal layout avec padding généreux */
.cm-pillar,
.cm-pillar.e-con {
  background: transparent !important;
  padding: 48px 0 !important;
  border-top: 1px solid rgba(241,238,233,0.08) !important;
  --padding-top: 48px !important;
  --padding-bottom: 48px !important;
  --padding-left: 0 !important;
  --padding-right: 0 !important;
}
.cm-pillar:first-child { border-top: none !important; }

/* Numéros pnum : 10px vert weight 400 (pas cyan) */
.pnum,
.pnum.elementor-widget,
.pnum.elementor-widget-heading .elementor-heading-title,
.pnum .elementor-heading-title,
.cm-pillar > .elementor-widget.pnum .elementor-heading-title {
  font-family: var(--font-body, 'DM Sans', system-ui, sans-serif) !important;
  font-size: 10px !important;
  letter-spacing: 2.5px !important;
  text-transform: uppercase !important;
  color: var(--green, #7ddb9b) !important;
  font-weight: 500 !important;
  margin-bottom: 18px !important;
  opacity: 1 !important;
  display: block !important;
}
.pnum.elementor-widget {
  background: transparent !important;
  padding: 0 !important;
}

/* Pillar h3 title : 22px serif cream */
.cm-pillar h3,
.cm-pillar .elementor-widget-heading .elementor-heading-title {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 22px !important;
  color: #fff !important;
  font-weight: 500 !important;
  margin-bottom: 18px !important;
}

/* ─── ROUND 3.9 — Fix spacing dans pillars/cards + paragraphes trop espacés ─── */

/* Pour les widgets text-editor et les p : marges plus compactes */
.cm-pillar .elementor-widget,
.cm-pillar .elementor-widget-text-editor,
.cm-card .elementor-widget,
.cm-card .elementor-widget-text-editor {
  margin-bottom: 0 !important;
}
.cm-pillar .elementor-widget-text-editor p,
.cm-pillar p,
.cm-card .elementor-widget-text-editor p,
.cm-card p {
  margin: 0 0 10px 0 !important;
}

/* Pour les paragraphes génériques dans les sections cm-* : marges modestes */
.cm-sec p, .cm-sec .elementor-widget-text-editor,
.cm-g2 p, .cm-g2 .elementor-widget-text-editor {
  margin-top: 10px !important;
  margin-bottom: 10px !important;
}
.cm-sec .elementor-widget-text-editor p {
  margin: 0 !important;
}

/* Les pillar cards : stack vertical interne compact */
.cm-pillar {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  padding: 40px 0 !important;
  --padding-top: 40px !important;
  --padding-bottom: 40px !important;
  --padding-left: 32px !important;
  --padding-right: 32px !important;
}
.cm-pillar > .e-con-inner {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  padding: 0 32px !important;
}

/* Pnum: pas de margin-bottom supplémentaire car gap des col */
.cm-pillar .pnum,
.cm-pillar .pnum.elementor-widget,
.cm-pillar .pnum .elementor-heading-title {
  margin-bottom: 0 !important;
}

/* H3 titles dans pillar: pas de margin verticale, le gap du parent gère l'espace */
.cm-pillar h3,
.cm-pillar .elementor-widget-heading .elementor-heading-title {
  margin-bottom: 0 !important;
  margin-top: 0 !important;
}

/* Les Divider lines dans pillars (le trait séparateur entre cards) : VERT 1.6px prod */
.cm-pillar + .cm-pillar,
.cm-pillars > .cm-pillar + .cm-pillar {
  border-top: 1.6px solid rgb(125, 219, 155) !important;
}

/* Pour "Quatre principes qui font la différence" cards (.cm-cards.cm-g4 ou .cm-pillars) */
.cm-cards,
.cm-cards.e-con,
.cm-g4,
.cm-g4.e-con {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 1px !important;
}
@media (max-width: 1024px) {
  .cm-cards, .cm-cards.e-con, .cm-g4, .cm-g4.e-con {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 600px) {
  .cm-cards, .cm-cards.e-con, .cm-g4, .cm-g4.e-con {
    grid-template-columns: 1fr !important;
  }
}

/* Divider line .cm-srule au-dessus des cards : green subtle */
.cm-srule {
  height: 1px !important;
  background: rgba(125,219,155,0.4) !important;
  border: none !important;
  width: 100% !important;
  margin: 32px 0 !important;
}

/* ─── ROUND 4 — Fix CTA sections (texte centré + bouton pill compact) ─── */

/* Section CTA finale avec cm-stitle + cm-sub + btn-primary */
.cm-sec:has(.btn-primary),
.cm-sec:has(a.btn-primary) {
  text-align: center !important;
}
.cm-sec:has(.btn-primary) .cm-inner,
.cm-sec:has(.btn-primary) > .e-con-inner,
.cm-sec:has(.cm-stitle) .cm-inner {
  max-width: 720px !important;
  margin: 0 auto !important;
  text-align: center !important;
}

/* Button widget avec classe btn-primary doit être un pill compact, pas full width */
.btn-primary.elementor-widget-button,
.elementor-widget-button.btn-primary {
  width: fit-content !important;
  max-width: fit-content !important;
  margin: 0 auto !important;
  display: inline-flex !important;
  align-self: center !important;
}
.btn-primary.elementor-widget-button .elementor-button,
.btn-primary .elementor-button,
a.btn-primary.elementor-button {
  background: var(--green, #7ddb9b) !important;
  color: #22272F !important;
  padding: 14px 32px !important;
  border-radius: 999px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
  width: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  text-decoration: none !important;
  border: none !important;
  box-shadow: 0 0 24px rgba(125,219,155,0.3) !important;
}
.btn-primary .elementor-button-text {
  color: #22272F !important;
}

/* Les containers cm-sec centrés : le widget button s'aligne au centre */
.cm-sec.text-center .elementor-widget-button,
.cm-sec[style*="text-align:center"] .elementor-widget-button {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Les cm-inner avec seulement du contenu centré doivent être centrés */
.cm-sec > .e-con-inner {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

/* Mais si c'est un contenu left-aligned (comme hero), ne pas centrer */
.cm-hero > .e-con-inner,
.cm-sec.dd > .e-con-inner,
.cm-sec:has(.cm-g2) > .e-con-inner,
.cm-sec:has(.cm-g3) > .e-con-inner {
  align-items: stretch !important;
}

/* Les blocs texte dans cm-sec centrée doivent prendre width:100% du max-width */
.cm-sec .cm-stitle,
.cm-sec > .e-con-inner > .elementor-widget {
  width: 100% !important;
  max-width: 720px !important;
}
.cm-sec .cm-stitle {
  text-align: center !important;
}

/* Exception : les grilles cm-g3 / cm-g2 ne doivent pas être limitées à 720px */
.cm-sec .cm-g3,
.cm-sec .cm-g2,
.cm-sec > .e-con-inner > .cm-g3,
.cm-sec > .e-con-inner > .cm-g2 {
  max-width: none !important;
  width: 100% !important;
}

/* ─── Classes marker du parser : df-text-center ─── */
.df-text-center,
.df-text-center.e-con,
section.df-text-center {
  text-align: center !important;
}
.df-text-center > .e-con-inner {
  align-items: center !important;
  max-width: 720px !important;
  margin: 0 auto !important;
}
.df-text-center .cm-stitle,
.df-text-center .cm-sub,
.df-text-center .cm-label {
  text-align: center !important;
}

/* ─── ROUND 4.1 — Micro-fixes typo pour match exact ─── */

/* hero-intro doit utiliser DM Sans (pas Roboto) */
.hero-intro,
.hero-intro.elementor-widget-text-editor,
.hero-intro.elementor-widget-text-editor .elementor-widget-container,
.hero-intro p {
  font-family: 'DM Sans', system-ui, sans-serif !important;
  font-size: 15px !important;
  font-weight: 300 !important;
  color: rgba(241,238,233,0.58) !important;
  line-height: 1.85 !important;
}

/* valeur-card h3 line-height 32px (production exact) */
.valeur-card h3,
.valeur-card .elementor-heading-title {
  line-height: 32px !important;
}

/* Toute heading/text dans les sections design hérite font du design, pas Roboto Elementor */
.hero-splash *, .hero-content *, .cm-hero *, .cm-sec *, .page-photo *, .philo-section *, 
.section *, .valeur-card *, .service-card *, .cm-pillar *, .cm-card *, .cm-tcard *,
.partners-section *, .contact-section * {
  font-family: inherit;
}
.hero-splash, .hero-content, .cm-hero, .cm-sec, .page-photo, .philo-section,
.section, .partners-section, .contact-section {
  font-family: 'DM Sans', system-ui, sans-serif;
}

/* ─── Full-width sections : étirer les sections edge-to-edge viewport ─── */
.hero-content, .hero-content.e-con,
.hero-splash, .hero-splash.e-con,
.page-photo, .page-photo.e-con,
.philo-section, .philo-section.e-con,
.section, .section.e-con,
.cm-sec, .cm-sec.e-con,
.cm-hero, .cm-hero.e-con,
.partners-section, .partners-section.e-con,
.contact-section, .contact-section.e-con,
.services-section, .services-section.e-con {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}
/* Fix image inside hero-presentation-grid right column: s'étendre à l'edge viewport */
.hero-presentation-grid > *:last-child,
.hero-presentation-grid .elementor-widget-image:last-child {
  margin-right: 0 !important;
}

/* Zero padding sur containers Elementor dans sections hybrides pour image edge-to-edge */
.hero-content .e-con-full,
.hero-content-inner .e-con-full,
.hero-presentation-grid .e-con-full,
.hero-content.e-con,
.hero-content-inner.e-con,
.hero-presentation-grid.e-con,
.page-photo .e-con-full,
.page-photo.e-con,
.philo-section .e-con-full,
.philo-section.e-con,
.philo-inner.e-con,
.philo-inner .e-con-full {
  padding: 0 !important;
  --padding-top: 0 !important;
  --padding-right: 0 !important;
  --padding-bottom: 0 !important;
  --padding-left: 0 !important;
}
/* Les cols de .hero-presentation-grid remettent leur padding d'origine via le CSS design */
.hero-presentation-grid > *:first-child,
.hero-presentation-grid > .e-con-inner > *:first-child {
  padding: 60px 24px !important;
}
@media (min-width: 769px) {
  .hero-presentation-grid > *:first-child,
  .hero-presentation-grid > .e-con-inner > *:first-child { padding: 80px 40px !important; }
}
@media (min-width: 1025px) {
  .hero-presentation-grid > *:first-child,
  .hero-presentation-grid > .e-con-inner > *:first-child { padding: 96px clamp(40px, 6vw, 96px) !important; }
}

/* ─── ROUND 4.3 — Marges horizontales des sections + max-width des paragraphes ─── */

/* Padding horizontal standard sur sections (comme production : 80px desktop) */
.cm-sec,
.cm-sec.e-con,
.services-section,
.services-section.e-con,
.contact-section,
.contact-section.e-con,
.partners-section,
.partners-section.e-con,
.section,
.section.e-con,
.cm-hero,
.cm-hero.e-con {
  padding-left: 80px !important;
  padding-right: 80px !important;
  --padding-left: 80px !important;
  --padding-right: 80px !important;
}
@media (max-width: 1024px) {
  .cm-sec, .cm-sec.e-con, .services-section, .services-section.e-con,
  .contact-section, .contact-section.e-con, .partners-section, .partners-section.e-con,
  .section, .section.e-con, .cm-hero, .cm-hero.e-con {
    padding-left: 40px !important;
    padding-right: 40px !important;
    --padding-left: 40px !important;
    --padding-right: 40px !important;
  }
}
@media (max-width: 600px) {
  .cm-sec, .cm-sec.e-con, .services-section, .services-section.e-con,
  .contact-section, .contact-section.e-con, .partners-section, .partners-section.e-con,
  .section, .section.e-con, .cm-hero, .cm-hero.e-con {
    padding-left: 24px !important;
    padding-right: 24px !important;
    --padding-left: 24px !important;
    --padding-right: 24px !important;
  }
}

/* Padding vertical pour sections (production : 90-100px) */
.cm-sec, .cm-sec.e-con {
  padding-top: 90px !important;
  padding-bottom: 90px !important;
  --padding-top: 90px !important;
  --padding-bottom: 90px !important;
}
@media (max-width: 820px) {
  .cm-sec, .cm-sec.e-con {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
  }
}

/* Les textes sub-paragraphes doivent avoir max-width pour ne pas s'étaler */
.cm-sub,
.cm-sub.elementor-widget-text-editor,
.cm-sub.elementor-widget-text-editor .elementor-widget-container,
.services-intro p,
.services-intro .elementor-widget-text-editor .elementor-widget-container {
  max-width: 720px !important;
}
.services-intro {
  max-width: 1200px !important;
  margin: 0 auto !important;
}

/* Les sections CTA centrées : sub prend quand même 720px MAX */
.df-text-center .cm-sub,
.df-text-center .cm-sub p {
  max-width: 640px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Restaurer padding sur colonnes texte des sections edge-to-edge (overridden par le zero padding) */
.philo-left, .philo-left.e-con, .philo-left.e-con-full,
.philo-inner > .philo-left,
.philo-inner > .e-con-inner > .philo-left {
  padding: 64px clamp(40px, 6vw, 96px) !important;
  --padding-top: 64px !important;
  --padding-bottom: 64px !important;
  --padding-left: clamp(40px, 6vw, 96px) !important;
  --padding-right: clamp(40px, 6vw, 96px) !important;
}
.edge-text, .edge-text.e-con, .edge-text.e-con-full,
.page-photo > .e-con-inner > .edge-text,
.page-photo .edge-text {
  padding: 64px clamp(40px, 6vw, 96px) !important;
  --padding-top: 64px !important;
  --padding-bottom: 64px !important;
  --padding-left: clamp(40px, 6vw, 96px) !important;
  --padding-right: clamp(40px, 6vw, 96px) !important;
}

/* hero-splash a besoin de son padding d'origine aussi (contenu à gauche avec marge) */
.hero-splash, .hero-splash.e-con {
  padding: 80px clamp(40px, 6vw, 96px) 60px !important;
  --padding-top: 80px !important;
  --padding-bottom: 60px !important;
  --padding-left: clamp(40px, 6vw, 96px) !important;
  --padding-right: clamp(40px, 6vw, 96px) !important;
}

/* ─── Fix exact : .services-intro max-width 700px (production) ─── */
.services-section .services-intro,
.services-intro.e-con,
.services-intro.e-con-full,
section.services-section > .e-con-inner > .services-intro,
.services-section > .e-con-inner > .services-intro {
  max-width: 700px !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
}
.services-section .services-intro .section-title,
.services-intro .section-title,
.services-intro .section-title.elementor-widget-heading .elementor-heading-title {
  max-width: 700px !important;
}

/* ─── FIX ULTRA : forcer services-intro à 700px max avec +80px inner padding ─── */
.services-section > .e-con-inner,
.services-section .services-inner,
section.services-section > .e-con-inner {
  padding-left: 80px !important;
  padding-right: 80px !important;
  max-width: 1360px !important;
  margin: 0 auto !important;
}

.services-intro,
.services-intro.e-con,
.services-intro.e-con-full,
section .services-intro,
.services-section .services-intro {
  max-width: 700px !important;
  width: 700px !important;
  padding: 0 !important;
  margin-left: 0 !important;
  margin-right: auto !important;
  flex-basis: 700px !important;
  flex-grow: 0 !important;
}
.services-intro > .elementor-widget,
.services-intro > .e-con-inner > .elementor-widget {
  max-width: 700px !important;
}

/* ─── FIX TYPO EXACT MATCH production ─── */
/* philo-citation : lineHeight 46px */
.philo-citation,
.philo-citation.elementor-widget-heading .elementor-heading-title,
.philo-citation .elementor-heading-title {
  line-height: 46px !important;
}

/* philo-left .section-label : 11px (pas 16px) */
.philo-left .section-label,
.philo-left .section-label.elementor-widget-heading .elementor-heading-title,
.philo-left .section-label .elementor-heading-title {
  font-size: 11px !important;
  line-height: 17.6px !important;
}

/* services-intro p : DM Sans (pas Roboto) */
.services-intro p,
.services-intro .elementor-widget-text-editor,
.services-intro .elementor-widget-text-editor .elementor-widget-container,
.services-intro .elementor-widget-text-editor p {
  font-family: 'DM Sans', system-ui, sans-serif !important;
  line-height: 27px !important;
}

/* services-intro ne doit PAS être 700px de HAUT, juste max-width 700px */
.services-intro,
.services-intro.e-con,
.services-intro.e-con-full {
  height: auto !important;
  min-height: 0 !important;
  --min-height: 0 !important;
  flex-basis: auto !important;
  flex-shrink: 1 !important;
}
.services-section > .e-con-inner > .services-intro {
  margin-bottom: 40px !important;
}

/* ─── cm-g3 avec 4 cards → 2x2 (comme production About) ─── */
.cm-g3:has(> .cm-card:nth-child(4)),
.cm-g3:has(.cm-card:nth-child(4)) {
  grid-template-columns: 1fr 1fr !important;
}
/* Alignement texte LEFT (pas centré) dans les cm-card */
.cm-card,
.cm-card.e-con,
.cm-card > .e-con-inner {
  text-align: left !important;
  align-items: flex-start !important;
}
.cm-card .elementor-heading-title,
.cm-card .elementor-widget-text-editor {
  text-align: left !important;
}
.cm-card .cnum,
.cm-card .cnum.elementor-widget .elementor-heading-title {
  text-align: left !important;
}
/* Padding plus généreux dans les cards */
.cm-card,
.cm-card.e-con {
  padding: 44px 36px !important;
  --padding-top: 44px !important;
  --padding-right: 36px !important;
  --padding-bottom: 44px !important;
  --padding-left: 36px !important;
}

/* Le titre .cm-stitle sur About ne doit PAS être centré, LEFT comme prod */
.cm-sec .cm-stitle,
.cm-sec .cm-stitle.elementor-widget-heading .elementor-heading-title {
  text-align: left !important;
  max-width: 900px !important;
}
/* Mais garder centré pour les sections df-text-center */
.df-text-center .cm-stitle,
.df-text-center .cm-stitle .elementor-heading-title {
  text-align: center !important;
}

/* ─── FIX FINAL : par défaut cm-sec contenu aligné à GAUCHE (pas centré) ─── */
/* Révoquer tout centering sur les cm-sec sauf si classe explicite df-text-center */
.cm-sec, .cm-sec.e-con,
.cm-sec > .e-con-inner {
  text-align: left !important;
  align-items: flex-start !important;
}
.cm-sec .cm-stitle,
.cm-sec .cm-label,
.cm-sec .cm-sub,
.cm-sec .cm-tag {
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* UNIQUEMENT les sections avec df-text-center restent centrées */
.cm-sec.df-text-center,
.cm-sec.df-text-center > .e-con-inner {
  text-align: center !important;
  align-items: center !important;
}
.cm-sec.df-text-center .cm-stitle,
.cm-sec.df-text-center .cm-label,
.cm-sec.df-text-center .cm-sub,
.cm-sec.df-text-center .cm-tag,
.cm-sec.df-text-center .elementor-heading-title,
.cm-sec.df-text-center .elementor-widget-text-editor {
  text-align: center !important;
}
.cm-sec.df-text-center .cm-sub {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Les grilles cm-g3/g2 restent full-width dans la section */
.cm-sec .cm-g3,
.cm-sec .cm-g2 {
  width: 100% !important;
  max-width: none !important;
}

/* ═════════════════════════════════════════════════════
   AUDIT PHILO : diff mesuré en Chrome → fixes exacts
   ═════════════════════════════════════════════════════ */

/* cm-inner : 1100px wide max (production value exacte) */
.cm-inner,
.cm-inner.e-con,
.cm-inner.e-con-full,
.cm-sec > .cm-inner,
.cm-sec > .e-con-inner > .cm-inner {
  max-width: 1100px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

/* cm-hero titre : fw 300 (pas 500), couleur WHITE pure, pas de width constraint */
.cm-hero .cm-title,
.cm-hero.e-con h1.cm-title,
.cm-hero .cm-title.elementor-widget-heading .elementor-heading-title {
  font-weight: 300 !important;
  color: rgb(255, 255, 255) !important;
  max-width: 1100px !important;
  text-align: left !important;
}

/* cm-hero sub : max-width 580px (production exact) */
.cm-hero .cm-sub,
.cm-hero .cm-sub.elementor-widget-text-editor .elementor-widget-container {
  max-width: 580px !important;
}

/* cm-hero badge : full width 1100 pas constrained */
.cm-hero .cm-badge,
.cm-hero .cm-badge .elementor-heading-title {
  max-width: 1100px !important;
  width: auto !important;
}

/* cm-sec : padding bottom/top 90-96px + px L/R 56px */
.cm-sec,
.cm-sec.e-con {
  padding: 96px 56px !important;
  --padding-top: 96px !important;
  --padding-bottom: 96px !important;
  --padding-left: 56px !important;
  --padding-right: 56px !important;
}

/* cm-g3 : cards 366px chacune × 3 = 1100 avec gap 1px */
.cm-g3,
.cm-g3.e-con,
.cm-sec .cm-g3 {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 1px !important;
  max-width: 1100px !important;
  width: 100% !important;
  margin: 32px auto 0 !important;
}

/* cm-g3 avec 4 cards → 2x2 (About page) */
.cm-g3:has(> .cm-card:nth-child(4)),
.cm-g3:has(.cm-card:nth-child(4)) {
  grid-template-columns: 1fr 1fr !important;
}

/* cm-card : bg #22272F, padding 44/36, text LEFT */
.cm-card,
.cm-card.e-con {
  background: rgb(53, 59, 69) !important;
  padding: 44px 36px !important;
  --padding-top: 44px !important;
  --padding-right: 36px !important;
  --padding-bottom: 44px !important;
  --padding-left: 36px !important;
  text-align: left !important;
  min-height: 312px !important;
}

/* cm-tag : BADGE VERT (bg green, text dark 9px fw:600) */
.cm-tag,
.cm-tag.elementor-widget,
.cm-tag.elementor-widget .elementor-heading-title {
  background: rgb(125, 219, 155) !important;
  color: rgb(34, 39, 47) !important;
  font-size: 9px !important;
  font-weight: 600 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  padding: 6px 14px !important;
  display: inline-block !important;
  width: fit-content !important;
  border-radius: 0 !important;
}
.cm-tag.elementor-widget .elementor-heading-title {
  background: transparent !important;
  padding: 0 !important;
}

/* cm-quote : bordure gauche verte, texte serif cream */
.cm-quote,
.cm-quote.e-con {
  border-left: 3px solid rgb(125, 219, 155) !important;
  padding-left: 24px !important;
  background: transparent !important;
}
.cm-quote p,
.cm-quote .elementor-widget-text-editor .elementor-widget-container {
  font-family: 'DM Sans', system-ui, sans-serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  color: rgb(241, 238, 233) !important;
  line-height: 1.6 !important;
}
.cm-quote cite,
.cm-quote .elementor-heading-title {
  font-size: 10px !important;
  font-weight: 400 !important;
  color: rgb(125, 219, 155) !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  font-style: normal !important;
  display: block !important;
  margin-top: 16px !important;
}

/* cm-label (le "What we stand for" label) : juste du texte vert 10px */
.cm-label,
.cm-label.elementor-widget,
.cm-label.elementor-widget .elementor-heading-title,
.cm-label .elementor-heading-title {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  font-size: 10px !important;
  font-weight: 400 !important;
  letter-spacing: 3px !important;
  text-transform: uppercase !important;
  color: rgb(125, 219, 155) !important;
  margin-bottom: 16px !important;
}

/* ─── FIX : cm-inner enfants doivent prendre 100% du 1100px ─── */
.cm-inner,
.cm-inner.e-con,
.cm-inner > .e-con-inner {
  width: 100% !important;
  max-width: 1100px !important;
  display: block !important;
  flex-direction: column !important;
  align-items: stretch !important;
}

/* Les widgets/containers DIRECTS enfants de cm-inner prennent toute la largeur */
.cm-inner > .elementor-widget,
.cm-inner > .e-con,
.cm-inner > .e-con-inner > .elementor-widget,
.cm-inner > .e-con-inner > .e-con {
  width: 100% !important;
  max-width: 100% !important;
  flex-basis: 100% !important;
  align-self: stretch !important;
}

/* cm-stitle doit prendre toute la largeur de cm-inner */
.cm-inner .cm-stitle,
.cm-inner > .cm-stitle,
.cm-inner .cm-stitle.elementor-widget {
  width: 100% !important;
  max-width: 1100px !important;
}

/* cm-g3 et cm-g2 pleine largeur */
.cm-inner .cm-g3,
.cm-inner .cm-g2,
.cm-inner > .cm-g3,
.cm-inner > .cm-g2,
.cm-g3.e-con,
.cm-g2.e-con {
  width: 100% !important;
  max-width: 1100px !important;
}

/* Same pour services-section mais garde intro à 700px */
.services-section .services-intro {
  max-width: 700px !important;
  width: 100% !important;
  align-self: flex-start !important;
}
.services-section .services-grid {
  width: 100% !important;
  max-width: 1100px !important;
}

/* ─── OVERRIDE SUPER FORT : cm-inner doit être 1100 ─── */
.cm-inner,
.cm-inner.e-con,
.cm-inner.e-con-full,
.cm-inner.e-con.e-flex,
section .cm-inner,
.cm-sec > .cm-inner,
.cm-sec .cm-inner.elementor-element {
  max-width: 1100px !important;
  width: 100% !important;
  --container-max-width: 1100px !important;
  --content-max-width: 1100px !important;
  flex-basis: 100% !important;
}

/* ─── Exceptions aux max-width 100% : cm-sub + autres contenus avec contrainte propre ─── */
.cm-inner > .cm-sub,
.cm-inner > .cm-sub.elementor-widget,
.cm-hero .cm-sub,
.cm-hero .cm-sub.elementor-widget-text-editor,
.cm-sub.elementor-widget,
section .cm-sub {
  max-width: 580px !important;
  width: auto !important;
  flex-basis: auto !important;
}

/* ─── Fix cm-stitle h2 max-width : 900 → 1100 (le h2 inside hérite trop petit) ─── */
.cm-stitle,
.cm-stitle.elementor-widget,
.cm-stitle.elementor-widget-heading,
.cm-sec .cm-stitle,
h2.cm-stitle,
.cm-stitle h2,
.cm-stitle .elementor-heading-title,
.cm-stitle.elementor-widget-heading .elementor-heading-title,
.cm-sec .cm-stitle .elementor-heading-title,
.cm-sec .cm-stitle h2.elementor-heading-title {
  max-width: 1100px !important;
  width: auto !important;
}

/* ─── FIX cm-sec.dd : grid 2 cols + text LEFT + quote avec BG dark ─── */

/* Section dd : grid 2 cols */
.cm-sec.dd,
.cm-sec.dd.e-con {
  text-align: left !important;
}
.cm-sec.dd > .e-con-inner,
.cm-sec.dd .cm-inner {
  text-align: left !important;
  align-items: start !important;
}

/* cm-g2 : grid 2 colonnes avec gap */
.cm-g2,
.cm-g2.e-con,
.cm-g2.e-con-full {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 48px !important;
  align-items: start !important;
}
@media (max-width: 820px) {
  .cm-g2, .cm-g2.e-con { grid-template-columns: 1fr !important; }
}

/* cm-quote : BOÎTE DARK avec border-left vert + texte serif italic LEFT */
.cm-quote,
.cm-quote.e-con {
  background: rgb(53, 59, 69) !important;
  border-left: 3px solid rgb(125, 219, 155) !important;
  padding: 48px 52px !important;
  --padding-top: 48px !important;
  --padding-right: 52px !important;
  --padding-bottom: 48px !important;
  --padding-left: 52px !important;
  text-align: left !important;
}
.cm-quote p,
.cm-quote .elementor-widget-text-editor p,
.cm-quote .elementor-widget-text-editor .elementor-widget-container {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 24px !important;
  font-weight: 400 !important;
  font-style: italic !important;
  color: rgb(241, 238, 233) !important;
  line-height: 1.5 !important;
  text-align: left !important;
  margin: 0 0 20px 0 !important;
}
.cm-quote cite,
.cm-quote .elementor-heading-title,
.cm-quote > .elementor-widget-heading {
  font-family: 'DM Sans', system-ui, sans-serif !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  color: rgb(125, 219, 155) !important;
  font-style: normal !important;
  text-align: left !important;
  display: block !important;
  margin-top: 20px !important;
}

/* Fix cm-quote bg LIGHTER que la section (prod rgb(53,59,69)) */
.cm-quote,
.cm-quote.e-con,
.cm-quote.e-con-full {
  background: rgb(53, 59, 69) !important;
}

/* cm-title → cm-sub spacing : 26px gap (prod value) */
.cm-title,
.cm-title.elementor-widget,
.cm-title.elementor-widget-heading,
.cm-hero .cm-title {
  margin-bottom: 26px !important;
}
.cm-hero .cm-vline {
  margin: 36px 0 !important;
}
.cm-hero .cm-sub {
  margin-top: 0 !important;
  margin-bottom: 48px !important;
}
.cm-hero .cm-badge {
  margin-top: 48px !important;
}

/* ═════════════════════════════════════════════════════
   SERVICES PAGE — Fix cm-pillar : LEFT + border-top vert
   ═════════════════════════════════════════════════════ */
.cm-pillar,
.cm-pillar.e-con,
.cm-pillar.e-con-full {
  text-align: left !important;
  display: block !important;
  padding: 52px 38px !important;
  --padding-top: 52px !important;
  --padding-right: 38px !important;
  --padding-bottom: 52px !important;
  --padding-left: 38px !important;
  border-top: 1.6px solid rgb(125, 219, 155) !important;
  background: transparent !important;
  --flex-direction: column !important;
  flex-direction: column !important;
  align-items: stretch !important;
}
.cm-pillar > .e-con-inner {
  display: block !important;
  align-items: stretch !important;
  text-align: left !important;
  padding: 0 !important;
}
.cm-pillar .elementor-widget,
.cm-pillar .elementor-widget-heading,
.cm-pillar .elementor-widget-text-editor,
.cm-pillar h3,
.cm-pillar p,
.cm-pillar .elementor-heading-title,
.cm-pillar .elementor-widget-container {
  text-align: left !important;
}

/* pnum au-dessus de h3, LEFT */
.cm-pillar .pnum,
.cm-pillar .pnum.elementor-widget,
.cm-pillar .pnum.elementor-widget .elementor-heading-title {
  text-align: left !important;
  display: block !important;
  margin-bottom: 18px !important;
}

/* Grid pillars : 1 colonne stacked */
.cm-pillars,
.cm-pillars.e-con,
.cm-pillars.e-con-full {
  display: block !important;
  width: 100% !important;
  max-width: 1100px !important;
  margin: 0 auto !important;
}

/* ─── cm-quote avec .cm-label dedans → bg = couleur section (invisible box, juste la ligne verte) ─── */
.cm-quote:has(.cm-label),
.cm-quote:has(.cm-label).e-con {
  background: transparent !important;
  padding: 20px 32px !important;
}

/* Dans ce cas, le cm-label dedans reste vert mais pas en pill */
.cm-quote .cm-label,
.cm-quote .cm-label.elementor-widget .elementor-heading-title {
  color: rgb(125, 219, 155) !important;
  background: transparent !important;
  padding: 0 !important;
  font-size: 10px !important;
  letter-spacing: 3px !important;
  text-transform: uppercase !important;
  margin-bottom: 16px !important;
}

/* P text dans cette cm-quote variant : serif plus petit, pas italic */
.cm-quote:has(.cm-label) p,
.cm-quote:has(.cm-label) .elementor-widget-text-editor .elementor-widget-container {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 20px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  color: #fff !important;
  line-height: 1.5 !important;
  margin: 12px 0 20px !important;
}

/* cite dans cette variant */
.cm-quote:has(.cm-label) cite,
.cm-quote:has(.cm-label) .elementor-heading-title {
  font-size: 10px !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  color: rgb(125, 219, 155) !important;
  font-weight: 600 !important;
  margin-top: 16px !important;
  display: block !important;
}

/* Fix cm-pillar : paragraph description blanc + séparateurs plus visibles */
.cm-pillar p,
.cm-pillar .elementor-widget-text-editor,
.cm-pillar .elementor-widget-text-editor .elementor-widget-container,
.cm-pillar .elementor-widget-text-editor p {
  color: rgb(241, 238, 233) !important;
  font-weight: 400 !important;
}

/* "Organiser aujourd'hui" style subtitle green italic reste vert */
.cm-pillar p[style*="color:var(--green)"],
.cm-pillar p[style*="green"],
.cm-pillar p[style*="rgb(125"] {
  color: rgb(125, 219, 155) !important;
}

/* Separateurs entre les list items du pillar : plus visibles */
.cm-pillar li,
.cm-pillar ul li {
  border-bottom: 1px solid rgba(125, 219, 155, 0.15) !important;
  padding: 11px 0 !important;
  color: rgba(255, 255, 255, 0.6) !important;
  font-size: 13.5px !important;
}
.cm-pillar li:last-child {
  border-bottom: none !important;
}

/* ─── Separators li : VALEURS EXACTES de production (0.8px, rgba 0.08) ─── */
.cm-pillar li,
.cm-pillar ul li {
  border-bottom: 0.8px solid rgba(125, 219, 155, 0.08) !important;
  padding: 9px 0 !important;
  color: rgba(255, 255, 255, 0.45) !important;
  font-size: 13px !important;
  font-weight: 300 !important;
  font-family: 'DM Sans', system-ui, sans-serif !important;
}
.cm-pillar li:last-child {
  border-bottom: none !important;
}

/* ─── Fix UL.cm-pillar : inline list, pas une card ─── */
ul.cm-pillar,
ul.cm-pillar.cm-pillar {
  padding: 0 !important;
  border: none !important;
  border-top: none !important;
  background: transparent !important;
  margin: 0 !important;
  list-style: none !important;
}

/* Fix cm-quote dans .cm-sec.dd (variant services) : padding + box invisible */
.cm-sec.dd .cm-quote,
.cm-sec.dd .cm-quote.e-con,
.cm-quote:has(.cm-label) {
  padding: 48px 52px !important;
  --padding-top: 48px !important;
  --padding-right: 52px !important;
  --padding-bottom: 48px !important;
  --padding-left: 52px !important;
  align-self: center !important;
  height: auto !important;
  min-height: 0 !important;
}

/* Fix cm-quote variant Services : NO flex gap, PROD padding, compact */
.cm-sec.dd .cm-quote,
.cm-quote:has(.cm-label),
.cm-quote:has(.cm-label).e-con {
  padding: 36px 42px !important;
  --padding-top: 36px !important;
  --padding-right: 42px !important;
  --padding-bottom: 36px !important;
  --padding-left: 42px !important;
  gap: 0 !important;
  --row-gap: 0 !important;
  --flex-gap: 0 !important;
  display: block !important;
  flex-direction: column !important;
  align-self: center !important;
}
.cm-sec.dd .cm-quote > *,
.cm-quote:has(.cm-label) > * {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
/* Spacing serré entre les 3 éléments */
.cm-sec.dd .cm-quote .cm-label,
.cm-quote:has(.cm-label) .cm-label {
  margin-bottom: 14px !important;
}
.cm-sec.dd .cm-quote p,
.cm-quote:has(.cm-label) p {
  margin: 0 0 16px 0 !important;
}
.cm-sec.dd .cm-quote cite,
.cm-sec.dd .cm-quote > .elementor-widget:last-child,
.cm-quote:has(.cm-label) cite,
.cm-quote:has(.cm-label) > .elementor-widget:last-child {
  margin-top: 0 !important;
}

/* ─── cm-quote dans cm-sec.dd : centrer verticalement dans sa colonne ─── */
.cm-sec.dd .cm-g2,
.cm-sec.dd.e-con .cm-g2 {
  align-items: center !important;
}
.cm-sec.dd .cm-quote,
.cm-quote:has(.cm-label) {
  align-self: center !important;
}

/* ─── cm-g2 : les 2 colonnes enfants se centrent verticalement UNIQUEMENT dans cm-sec.dd ─── */
.cm-sec.dd .cm-g2 > .e-con,
.cm-sec.dd .cm-g2 > .elementor-element {
  align-self: center !important;
}
.cm-sec .cm-g2 > .e-con.e-flex,
.cm-sec .cm-g2 > .elementor-element.e-flex {
  justify-content: center !important;
}

/* ─── DeltaCense Hero : cm-sub ne doit PAS avoir margin-bottom 48px (prod = 0) ─── */
.cm-hero .cm-sub,
.cm-hero .cm-sub.elementor-widget,
.cm-hero .cm-sub.elementor-widget-text-editor {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
/* Mais garder un gap entre subs via line-height naturel ou petit mb */
.cm-hero .cm-sub p {
  margin: 0 0 10px 0 !important;
}

/* cm-badge : garder mt 48px entre dernier sub et badge */
.cm-hero .cm-badge {
  margin-top: 48px !important;
}

/* ─── Hero padding L/R : prod 56px (était 80 override générique) ─── */
.cm-hero,
.cm-hero.e-con {
  padding-left: 56px !important;
  padding-right: 56px !important;
  --padding-left: 56px !important;
  --padding-right: 56px !important;
}

/* FIX critique : forcer display sur sections cm-* (var(--display) undefined fallback = inline bug) */
.cm-hero, .cm-hero.e-con, .cm-hero.e-con-full,
.cm-sec, .cm-sec.e-con, .cm-sec.e-con-full,
.cm-sec.dd, .cm-sec.dd.e-con,
.page-photo, .page-photo.e-con,
.philo-section, .philo-section.e-con,
.hero-splash, .hero-splash.e-con,
.hero-content, .hero-content.e-con,
.section, .section.e-con,
.partners-section, .partners-section.e-con,
.services-section, .services-section.e-con,
.contact-section, .contact-section.e-con {
  display: flex !important;
  --display: flex !important;
}

/* Fix cm-pillar : background lighter que section (prod rgb(46,51,60)) */
.cm-pillar,
.cm-pillar.e-con,
.cm-pillar.e-con-full {
  background: rgb(46, 51, 60) !important;
  padding: 52px 38px !important;
  --padding-top: 52px !important;
  --padding-right: 38px !important;
  --padding-bottom: 52px !important;
  --padding-left: 38px !important;
}
/* Exception : ul.cm-pillar (inline list sans box) reste transparent */
ul.cm-pillar {
  background: transparent !important;
  padding: 0 !important;
}

/* Fix cm-card : bg = couleur section (prod cardBg == secBg = rgb(34,39,47), invisible box) */
.cm-sec.dd .cm-card,
.cm-sec.dd .cm-card.e-con {
  background: transparent !important;
}

/* ─── CTA finale "PASSONS À L'ACTION" : texte centré + bouton pill ─── */
/* Détecter la section CTA finale via btn-primary */
.cm-sec:has(.btn-primary),
.cm-sec:has(.btn-primary.elementor-widget-button) {
  text-align: center !important;
}
.cm-sec:has(.btn-primary) > .e-con-inner,
.cm-sec:has(.btn-primary) .cm-inner {
  align-items: center !important;
  text-align: center !important;
}
.cm-sec:has(.btn-primary) .cm-stitle,
.cm-sec:has(.btn-primary) .cm-sub,
.cm-sec:has(.btn-primary) .cm-label,
.cm-sec:has(.btn-primary) .cm-stitle .elementor-heading-title,
.cm-sec:has(.btn-primary) .cm-sub .elementor-widget-container {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Button widget btn-primary : largeur contenu, PAS full-width, centré */
.cm-sec:has(.btn-primary) .btn-primary.elementor-widget-button,
.btn-primary.elementor-widget-button {
  width: fit-content !important;
  max-width: fit-content !important;
  align-self: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  display: inline-block !important;
}
.btn-primary.elementor-widget-button > .elementor-widget-container {
  width: auto !important;
}
.btn-primary.elementor-widget-button .elementor-button {
  display: inline-flex !important;
  width: auto !important;
}

/* Gap vertical entre pillars dans cm-pillars (prod) */
.cm-pillars,
.cm-pillars.e-con,
.cm-pillars.e-con-full {
  display: flex !important;
  flex-direction: column !important;
  gap: 24px !important;
  --row-gap: 24px !important;
}
/* Les pillars ne doivent plus avoir border-top (le gap les sépare) */
.cm-pillars > .cm-pillar,
.cm-pillars > .cm-pillar.e-con {
  border-top: 1.6px solid rgb(125, 219, 155) !important;
}
.cm-pillar + .cm-pillar {
  border-top: 1.6px solid rgb(125, 219, 155) !important;
  margin-top: 0 !important;
}

/* Fix btn-primary : taille exacte prod (padding 18px 44px, fs 15px) */
.btn-primary.elementor-widget-button .elementor-button,
.btn-primary .elementor-button,
a.btn-primary.elementor-button {
  padding: 18px 44px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  border-radius: 50px !important;
  height: auto !important;
}

/* cm-card : réduire spacing interne (prod card = 264, mine = 312) */
.cm-sec.dd .cm-card .cnum,
.cm-sec.dd .cm-card .cnum.elementor-widget {
  margin-bottom: 14px !important;
}
.cm-sec.dd .cm-card h3,
.cm-sec.dd .cm-card .elementor-heading-title {
  margin-bottom: 14px !important;
}
.cm-sec.dd .cm-card p,
.cm-sec.dd .cm-card .elementor-widget-text-editor,
.cm-sec.dd .cm-card .elementor-widget-text-editor p {
  margin: 0 !important;
}

/* Fix page-photo : GRID 2 colonnes (photo + text), pas flex */
.page-photo,
.page-photo.e-con,
.page-photo.e-con-full {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  --display: grid !important;
  gap: 0 !important;
  align-items: stretch !important;
}
@media (max-width: 820px) {
  .page-photo, .page-photo.e-con {
    grid-template-columns: 1fr !important;
  }
}

/* Fix cm-card : réduire le gap flex (Elementor default 20px → 0, spacing géré par margins des enfants) */
.cm-sec.dd .cm-card,
.cm-sec.dd .cm-card.e-con {
  gap: 0 !important;
  row-gap: 0 !important;
  --row-gap: 0 !important;
}

/* Fix btn-primary widget wrapper : padding/margin 0 pour que le wrapper fasse la taille du bouton */
.btn-primary.elementor-widget-button,
.btn-primary.elementor-widget {
  padding: 0 !important;
  margin: 0 auto !important;
  width: fit-content !important;
}
.btn-primary.elementor-widget-button > .elementor-widget-container {
  padding: 0 !important;
  margin: 0 !important;
}
/* Prod glow : box-shadow lumineux vert, pas le filter: drop-shadow */
.btn-primary .elementor-button,
.btn-primary.elementor-button,
a.btn-primary {
  box-shadow: 0 4px 28px 0 rgba(125, 219, 155, 0.2) !important;
  filter: none !important;
}

/* ─── btn-primary animations hover (match production exact) ─── */
.btn-primary.elementor-button,
.btn-primary .elementor-button,
a.btn-primary.elementor-button,
a.btn-primary {
  transition: all 0.3s ease !important;
}

/* Hover : couleur plus claire + translateY(-3px) + shadow plus large */
.btn-primary.elementor-button:hover,
.btn-primary .elementor-button:hover,
a.btn-primary:hover {
  background: #8aeaa8 !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 14px 44px rgba(125, 219, 155, 0.38) !important;
}

/* ::after (flèche) : transition propre + translateX au hover */
.btn-primary .elementor-button::after,
.btn-primary.elementor-button::after,
a.btn-primary::after {
  transition: transform 0.25s ease !important;
}
.btn-primary.elementor-button:hover::after,
.btn-primary .elementor-button:hover::after,
a.btn-primary:hover::after {
  transform: translateX(5px) !important;
}

/* Fix btn-primary widget wrapper : NO background (était green = fantôme derrière le bouton) */
.btn-primary.elementor-widget-button,
.btn-primary.elementor-widget {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

/* Button box-shadow prod exact (était 0,0,24,0 overridé par 0,4,28,0) */
.btn-primary .elementor-button,
.btn-primary.elementor-button,
a.btn-primary {
  box-shadow: 0 4px 28px 0 rgba(125, 219, 155, 0.2) !important;
}

/* ─── Fix cnum specificity : forcer 40px/300/green dans cm-card (overridait par .cm-card h3 rule) ─── */
.cm-card .cnum.elementor-widget .elementor-heading-title,
.cm-card .cnum.elementor-widget-heading .elementor-heading-title,
.cm-card > .cnum.elementor-widget .elementor-heading-title,
.cm-card .elementor-element.cnum .elementor-heading-title,
.cm-sec.dd .cm-card .cnum .elementor-heading-title,
.cm-sec.dd .cm-card .cnum.elementor-widget .elementor-heading-title {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 40px !important;
  color: var(--green, #7ddb9b) !important;
  font-weight: 300 !important;
  opacity: 0.5 !important;
  line-height: 1 !important;
  margin-bottom: 0 !important;
  letter-spacing: normal !important;
}

/* ─── Contact hero : .cm-hero avec df-text-center → tout centré, max-width 760 ─── */
.cm-hero.df-text-center .cm-title,
.cm-hero.df-text-center .cm-title.elementor-widget-heading .elementor-heading-title,
.cm-hero.df-text-center h1.cm-title {
  text-align: center !important;
  max-width: 760px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.cm-hero.df-text-center .cm-eyebrow,
.cm-hero.df-text-center .cm-sub,
.cm-hero.df-text-center .cm-badge {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.cm-hero.df-text-center .cm-inner,
.cm-hero.df-text-center > .e-con-inner {
  max-width: 760px !important;
  margin: 0 auto !important;
}

/* ─── cm-card dans cm-sec simple : bg DARK (rgb 34,39,47), plus foncé que section ─── */
.cm-sec:not(.dd) .cm-card,
.cm-sec:not(.dd) .cm-card.e-con {
  background: rgb(34, 39, 47) !important;
}

/* ─── RESPONSIVE : neutralise l'empilement de padding mobile/tablet ───
   Avant : section 56px L/R + container 40px + widget 20px → contenu serré à <150px
   Après : UN SEUL padding (1em mobile, 2em tablette) sur le niveau le plus extérieur */
@media (max-width: 1024px) {
  /* Containers imbriqués : padding L/R à 0 pour ne pas s'additionner */
  .e-con .e-con,
  .elementor-section .elementor-section,
  .elementor-section .elementor-container,
  .cm-sec .e-con,
  .cm-sec .cm-sec {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  /* e-con-inner (wrapper Elementor interne) : padding = 0 pour ne pas doubler avec le parent */
  .e-con > .e-con-inner,
  .elementor-section > .elementor-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100% !important;
  }
}

/* Tablette : 2em L/R uniforme sur les sections top-level */
@media (max-width: 1024px) and (min-width: 768px) {
  body:not(.elementor-editor-active) .elementor .e-con.e-flex.e-con-full,
  body:not(.elementor-editor-active) .elementor-section:not(.elementor-inner-section),
  body:not(.elementor-editor-active) .cm-sec,
  body:not(.elementor-editor-active) .cm-hero {
    padding-left: 2em !important;
    padding-right: 2em !important;
  }
}

/* Mobile ≤767 : 1em L/R uniforme sur les sections top-level */
@media (max-width: 767px) {
  body:not(.elementor-editor-active) .elementor .e-con.e-flex.e-con-full,
  body:not(.elementor-editor-active) .elementor-section:not(.elementor-inner-section),
  body:not(.elementor-editor-active) .cm-sec,
  body:not(.elementor-editor-active) .cm-hero {
    padding-left: 1em !important;
    padding-right: 1em !important;
  }
  /* Widgets Elementor : pas de padding L/R parasite */
  body:not(.elementor-editor-active) .elementor-widget {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  /* Nav header et footer : garder leur propre spacing (sinon ça casse) */
  body nav, body footer, body nav .nav-links, body footer .footer-inner {
    /* reset non appliqué par les règles ci-dessus */
  }
}

/* ─── MOBILE : fixes complémentaires (specificité renforcée) ─── */
@media (max-width: 767px) {
  /* 1. Burger : neutraliser toute coloration par :focus/:active du navigateur
     (préfixer avec html body nav pour battre toute règle Elementor sur button) */
  html body nav .nav-burger,
  html body nav .nav-burger:focus,
  html body nav .nav-burger:focus-visible,
  html body nav .nav-burger:active,
  html body nav .nav-burger:hover,
  html body .nav-burger {
    color: #f1eee9 !important;
    background: transparent !important;
    outline: none !important;
    outline-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent !important;
  }
  html body nav .nav-burger span,
  html body .nav-burger span {
    background: #f1eee9 !important;
  }

  /* 2. Grids multi-colonnes : empiler en 1 colonne sur mobile
     Sélecteurs préfixés html body pour battre .cm-g3 { 3cols !important } sans media query */
  html body .cm-g3,
  html body .cm-g3.e-con,
  html body .cm-sec .cm-g3,
  html body .cm-inner .cm-g3,
  html body .cm-g2,
  html body .cm-g2.e-con,
  html body .cm-g4,
  html body .cm-g4.e-con,
  html body .cm-pillars,
  html body .cm-team,
  html body .cm-cgrid,
  html body .valeurs-grid,
  html body .valeurs-grid.cols-3,
  html body .team-grid,
  html body .pillars,
  html body .info-grid,
  html body .fx-row,
  html body .fx2-row,
  html body .services-grid,
  html body .chiffres-grid,
  html body .philo-inner,
  html body .seo-inner,
  html body .contact-inner,
  html body .two-col,
  html body .ph-split,
  html body .edge,
  html body .cform,
  html body .cm-g3:has(.cm-card:nth-child(4)) {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  /* 3. Photos avec clip-path diagonal : garder le biseau mais adapter pour mobile stacké
     - Full largeur (bord à bord, sans padding section)
     - Photos "haut" (edge.left, premier dans grid) → coupe diagonale en bas
     - Photos "bas" (edge.right, second dans grid) → coupe diagonale en haut
     - Les décorations SVG fines (fx-clip, fx-bevel…) qui n'ont pas de sens stacké → off */

  /* a) Full largeur mobile pour les grosses photos (bord à bord) */
  html body .edge-photo,
  html body .page-photo,
  html body .philo-right-photo,
  html body .ph-cinema {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    min-height: 280px !important;
    border-radius: 0 !important;
  }

  /* c) BAS par défaut : coupe diagonale sur le bord BOTTOM (bord bottom oblique)
     Inclut les photos de section (.edge-photo, .page-photo) + les widgets image Elementor */
  html body .edge-photo,
  html body .page-photo,
  html body .page-photo.edge.right,
  html body .edge.right .edge-photo,
  html body main .elementor-widget-image img,
  html body main .elementor-widget-image .elementor-image img {
    clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%) !important;
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%) !important;
  }

  /* Full largeur pour les widgets image Elementor dans sections stackées */
  html body main .elementor-widget-image img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    border-radius: 0 !important;
  }

  /* b) HAUT : photos marquées .edge.left + 1ère image Elementor de la page → coupe diagonale sur le bord TOP */
  html body .page-photo.edge.left,
  html body .edge.left .edge-photo,
  html body .philo-right-photo:not(.photo-bottom),
  html body main > .elementor .elementor-widget-image:first-of-type img,
  html body main .elementor-widget.df-photo-first img {
    clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 100%) !important;
    -webkit-clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 100%) !important;
  }

  /* Classe custom pour marquer la 1ère/dernière photo d'une page via JS */
  html body main .df-photo-first img,
  html body main .df-photo-first.elementor-widget-image img {
    clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 100%) !important;
    -webkit-clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 100%) !important;
  }
  html body main .df-photo-last img,
  html body main .df-photo-last.elementor-widget-image img {
    clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%) !important;
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%) !important;
  }

  /* d) ph-cinema : coupe double haut+bas (comme desktop, mais prononcée) */
  html body .ph-cinema {
    clip-path: polygon(0 0, 100% 4%, 100% 96%, 0 100%) !important;
    -webkit-clip-path: polygon(0 0, 100% 4%, 100% 96%, 0 100%) !important;
  }

  /* e) Petits éléments décoratifs SVG : désactiver (pas de sens stacké) */
  html body .fx-clip,
  html body .fx-bevel,
  html body .fx-bevel2,
  html body .fx-notch,
  html body .fx-clip-outline,
  html body .fx-duo,
  html body .ph-delta-img,
  html body .hero-logo-bg,
  html body .hero-delta-graphic {
    clip-path: none !important;
    -webkit-clip-path: none !important;
  }

  /* 4. Hero / 1ère section : réduire la hauteur (desktop fait 100vh, souvent trop sur mobile)
     On cible la PREMIÈRE section e-con de chaque page (toutes les pages maquette) */
  html body .page-content .elementor > section.e-con:first-child,
  html body .elementor > section.e-con:first-of-type,
  html body main .elementor section.e-con:first-of-type,
  html body .hero-splash,
  html body .hero-splash.cm-hero,
  html body .cm-hero:first-of-type {
    min-height: 70vh !important;
    max-height: 90vh !important;
    padding-top: 100px !important;
    padding-bottom: 48px !important;
  }
  /* Hero titles plus petits sur mobile */
  html body .hero-title,
  html body .cm-title {
    font-size: clamp(32px, 8vw, 44px) !important;
  }
  html body .hero-intro,
  html body .cm-sub {
    font-size: 14px !important;
    margin-bottom: 28px !important;
  }

  /* 5. Burger : forcer couleur cream même si Elementor Kit applique une couleur de bouton
     On essaie plusieurs sélecteurs du plus simple au plus brut */
  html body button.nav-burger,
  html body nav button.nav-burger,
  html body button.nav-burger[class] {
    color: #f1eee9 !important;
    outline-color: transparent !important;
    outline-width: 0 !important;
    outline-style: none !important;
    -webkit-tap-highlight-color: rgba(0,0,0,0) !important;
  }
  html body button.nav-burger:focus,
  html body button.nav-burger:focus-visible {
    outline: 0 !important;
    outline-color: transparent !important;
    box-shadow: none !important;
  }
}
