/* ==========================================================================
   MON MARKETING : styles globaux du theme enfant Divi 4 (version 2)
   --------------------------------------------------------------------------
   Principe : tout le contenu reste dans des modules Divi natifs. Ce fichier
   habille des classes reutilisables, a ajouter dans Divi via
   Module / Rangee / Section > Avance > ID et classes CSS > Classe CSS.
   Les reglages faits dans Divi priment : specificite volontairement faible.

   Sommaire
   1. Variables          8. Liste numerotee (mm-rows)
   2. Base, typographie  9. Accordeon FAQ, onglets, formulaire
   3. Sections, grain    10. Header et mega-menu
   4. Hero               11. Footer
   5. Textes utilitaires 12. Composants (marquee, mots-cles, bandeau CTA, blog)
   6. Boutons            13. Animations
   7. Grilles de cartes  14. Responsive et Visual Builder
   ========================================================================== */

/* 1. Variables ------------------------------------------------------------ */
:root {
  --mm-ink: #09090B;          /* noir des sections sombres et du texte */
  --mm-ink-2: #141417;
  --mm-paper: #F5F3F0;        /* fond clair principal */
  --mm-bone: #EBE7E0;         /* fond clair secondaire, cellules */
  --mm-graphite: #4D4D56;     /* texte courant sur fond clair */
  --mm-mist: #8E8C93;         /* texte secondaire sur fond sombre */
  --mm-on-ink: rgba(245, 243, 240, .8);
  --mm-accent: #E64F37;       /* accent unique */
  --mm-accent-ink: #C43C25;   /* accent pour petits textes sur fond clair (AA) */
  --mm-glow: 230, 79, 55;
  --mm-line: rgba(9, 9, 11, .12);
  --mm-line-strong: rgba(9, 9, 11, .25);
  --mm-line-dark: rgba(245, 243, 240, .12);
  --mm-display: 'Space Grotesk', 'Inter Tight', system-ui, sans-serif;
  --mm-body: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mm-track: -.045em;        /* interlettrage des titres */
  --mm-ease: cubic-bezier(.2, .7, .1, 1);
  --mm-space: 96px;
  /* alias conserves pour les anciens modules */
  --mm-night: var(--mm-ink); --mm-bone-2: var(--mm-bone); --mm-signal: var(--mm-accent);
}

/* 2. Base et typographie -------------------------------------------------- */
html body {
  font-family: var(--mm-body);
  font-size: 18px;
  line-height: 1.625;
  color: var(--mm-graphite);
  background: var(--mm-paper);
  -webkit-font-smoothing: antialiased;
}
html body #page-container, html body #et-main-area, html body #main-content { background: var(--mm-paper); }
html body h1, html body h2, html body h3, html body h4, html body h5, html body h6 {
  font-family: var(--mm-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--mm-track);
  line-height: .9;
  color: var(--mm-ink);
  padding-bottom: .5em;
}
html body h1 { font-size: clamp(2.75rem, 7.8vw, 7rem); }
html body h2 { font-size: clamp(2rem, 4.45vw, 4rem); }
html body h3 { font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.05; }
html body h4 { font-size: 1rem; line-height: 1.1; }
.et_pb_column h1 { font-size: clamp(2.75rem, 7.8vw, 7rem); }
.et_pb_column h2 { font-size: clamp(2rem, 4.45vw, 4rem); }
.et_pb_column h3 { font-size: clamp(1.05rem, 1.4vw, 1.25rem); }
/* Titre de taille moyenne (listes, colonnes) */
.mm-h2s h2, h2.mm-h2s { font-size: clamp(1.45rem, 2.1vw, 1.9rem); line-height: 1.12; }
/* Titre en casse normale avec mot en italique (accueil) */
.mm-mixed h2, .mm-mixed h1 { text-transform: none; letter-spacing: -.035em; line-height: 1; }
.mm-mixed em { font-style: italic; font-weight: 400; }
html body p { padding-bottom: 1em; }
html body p:last-of-type { padding-bottom: 0; }
html body strong { font-weight: 600; color: var(--mm-ink); }
.et_pb_text a:not(.et_pb_button) { color: var(--mm-ink); text-decoration: underline; text-decoration-color: var(--mm-accent); text-decoration-thickness: 1px; text-underline-offset: .2em; transition: color .2s; }
.et_pb_text a:not(.et_pb_button):hover { color: var(--mm-accent-ink); }
::selection { background: var(--mm-accent); color: var(--mm-ink); }
:focus-visible { outline: 2px solid var(--mm-accent); outline-offset: 3px; }
.et_pb_row { width: 80%; max-width: 1156px; }
.et_pb_text ul, .et_pb_text ol { padding-left: 1.1em; }
.et_pb_text li { padding-bottom: .35em; }

/* 3. Sections et grain ---------------------------------------------------- */
.et_pb_section.mm-s-paper, .et_pb_section.mm-s-bone { background-color: var(--mm-paper); padding: var(--mm-space) 0; }
.et_pb_section.mm-s-bone-2, .et_pb_section.mm-s-sand { background-color: var(--mm-bone); padding: var(--mm-space) 0; }
.et_pb_section.mm-s-night { background-color: var(--mm-ink); padding: var(--mm-space) 0; color: var(--mm-on-ink); }
.et_pb_section.mm-s-accent { background-color: var(--mm-accent); padding: 120px 0; color: var(--mm-ink); }
.et_pb_section.mm-s-bone + .mm-s-bone, .mm-s-paper + .mm-s-paper { border-top: 1px solid var(--mm-line); }
.mm-s-night .et_pb_text, .mm-hero .et_pb_text, .mm-footer .et_pb_text { color: var(--mm-on-ink); }
.mm-s-night h1, .mm-s-night h2, .mm-s-night h3, .mm-s-night h4,
.mm-hero h1, .mm-hero h2, .mm-hero h3, .mm-footer h2, .mm-footer h3 { color: var(--mm-paper); }
.mm-s-night .et_pb_text a:not(.et_pb_button), .mm-hero .et_pb_text a:not(.et_pb_button) { color: var(--mm-paper); }
.mm-s-accent h2, .mm-s-accent .et_pb_text, .mm-s-accent strong { color: var(--mm-ink); }
/* Grain : texture de bruit tres legere sur les fonds sombres */
.et_pb_section.mm-s-night, .et_pb_section.mm-hero { position: relative; isolation: isolate; }
.mm-s-night::after, .mm-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .08;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* 4. Hero ------------------------------------------------------------------ */
.et_pb_section.mm-hero {
  overflow: hidden;
  background-color: var(--mm-ink);
  padding: 160px 0 96px;
  min-height: 0;
}
.et_pb_section.mm-hero--home { padding: 190px 0 120px; }
.mm-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(70% 55% at 20% 90%, rgba(230, 79, 55, .55) 0%, rgba(230, 66, 26, .32) 30%, rgba(156, 22, 67, .18) 55%, rgba(0, 0, 0, 0) 80%);
  animation: mm-breathe 14s ease-in-out infinite alternate;
}
@keyframes mm-breathe { from { opacity: .85; transform: scale(1); } to { opacity: 1; transform: scale(1.05); } }
.mm-hero h1 { max-width: 13em; }
.mm-hero .mm-hl, .mm-s-night .mm-hl { color: var(--mm-accent); font-weight: 300; }
.mm-hl { color: var(--mm-accent); font-weight: 300; }
.mm-hero .mm-lead p, .mm-hero .mm-lead { color: var(--mm-on-ink); max-width: 42rem; }
/* Grand mot en contour derriere le titre (accueil) */
.mm-ghost { position: absolute !important; right: -2vw; bottom: 4vw; z-index: -1; pointer-events: none; margin: 0 !important; }
.mm-ghost p { font-family: var(--mm-display); font-weight: 500; font-size: 17vw; line-height: .8; letter-spacing: var(--mm-track); text-transform: uppercase; color: transparent; -webkit-text-stroke: 1px rgba(245, 243, 240, .09); white-space: nowrap; }

/* 5. Textes utilitaires --------------------------------------------------- */
.mm-eyebrow p, p.mm-eyebrow, .mm-eyebrow {
  font-family: var(--mm-body);
  font-size: 10px;
  font-weight: 400;
  line-height: 2;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--mm-graphite);
}
.mm-eyebrow p::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 10px; background: var(--mm-accent); vertical-align: 1px; }
.mm-s-night .mm-eyebrow p, .mm-hero .mm-eyebrow p, .mm-footer .mm-eyebrow p { color: var(--mm-mist); }
/* Variante « // TITRE » en accent */
.mm-eyebrow--accent p { color: var(--mm-accent-ink); }
.mm-eyebrow--accent p::before { content: "//"; width: auto; height: auto; background: none; margin-right: 8px; vertical-align: 0; }
.mm-s-night .mm-eyebrow--accent p, .mm-hero .mm-eyebrow--accent p { color: var(--mm-accent); }
.mm-lead p, .mm-lead { font-size: 18px; line-height: 1.625; max-width: 42rem; }
.mm-prose p, .mm-prose li { max-width: 46rem; }
.mm-prose h2 { margin-top: .3em; }
.mm-prose h3 { margin-top: 1.5em; }
.mm-muted, .mm-muted p { color: var(--mm-graphite); }
.mm-s-night .mm-muted, .mm-s-night .mm-muted p { color: var(--mm-mist); }
.mm-crumb p, .mm-crumb { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--mm-mist); }
.mm-crumb a { color: var(--mm-mist) !important; text-decoration: none !important; }
.mm-crumb a:hover { color: var(--mm-paper) !important; }
.mm-crumb p::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 10px; background: var(--mm-accent); vertical-align: 1px; }
.mm-list ul { list-style: none; padding: 0 !important; }
.mm-list li { position: relative; padding: 14px 0 14px 26px; border-top: 1px solid var(--mm-line); font-size: 16px; }
.mm-list li:last-child { border-bottom: 1px solid var(--mm-line); }
.mm-s-night .mm-list li { border-color: var(--mm-line-dark); }
.mm-list li::before { content: ""; position: absolute; left: 0; top: 1.45em; width: 6px; height: 6px; background: var(--mm-accent); }
.mm-quote p { font-family: var(--mm-display); font-weight: 500; text-transform: uppercase; letter-spacing: var(--mm-track); font-size: clamp(1.6rem, 3.2vw, 3rem); line-height: 1; color: var(--mm-paper); }

/* 6. Boutons --------------------------------------------------------------- */
.et_pb_button_module_wrapper .et_pb_button.mm-btn,
.et_pb_button.mm-btn {
  font-family: var(--mm-body);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .18em;
  text-transform: uppercase;
  line-height: 20px;
  padding: 16px 28px;
  border: 1px solid var(--mm-accent);
  border-radius: 0;
  background: var(--mm-accent);
  color: var(--mm-ink);
  transition: background-color .25s, color .25s, border-color .25s;
}
.et_pb_button.mm-btn:hover { padding: 16px 28px; background: var(--mm-paper); border-color: var(--mm-paper); color: var(--mm-ink); }
.et_pb_button.mm-btn::after {
  content: "\2197";
  font-family: var(--mm-body);
  font-size: 1em;
  position: static;
  display: inline-block;
  margin-left: .9em;
  opacity: 1;
  line-height: 1;
  transition: transform .3s var(--mm-ease);
}
.et_pb_button.mm-btn:hover::after { transform: translate(2px, -2px); margin-left: .9em; }
.et_pb_button_module_wrapper .et_pb_button.mm-btn--ghost, .et_pb_button.mm-btn.mm-btn--ghost { background: transparent; color: var(--mm-paper); border-color: rgba(245, 243, 240, .6); }
.et_pb_button_module_wrapper .et_pb_button.mm-btn--ghost:hover, .et_pb_button.mm-btn.mm-btn--ghost:hover { background: var(--mm-paper); color: var(--mm-ink); border-color: var(--mm-paper); }
.et_pb_button_module_wrapper .et_pb_button.mm-btn--ink, .et_pb_button.mm-btn.mm-btn--ink { background: var(--mm-ink); color: var(--mm-paper); border-color: var(--mm-ink); }
.et_pb_button_module_wrapper .et_pb_button.mm-btn--ink:hover, .et_pb_button.mm-btn.mm-btn--ink:hover { background: var(--mm-accent); color: var(--mm-ink); border-color: var(--mm-accent); }
.mm-btns-col .et_pb_button_module_wrapper { display: inline-block; margin: 0 12px 12px 0; vertical-align: top; }
.mm-btns-col .et_pb_text + .et_pb_button_module_wrapper { margin-top: 18px; }
/* Lien texte en petites capitales (« EN SAVOIR PLUS ↗ ») */
.mm-more a, a.mm-more { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--mm-ink) !important; text-decoration: none !important; }
.mm-more a::after { content: " \2197"; color: var(--mm-accent); }

/* 7. Grilles de cartes ------------------------------------------------------
   Rangee « mm-grid » : cellules separees par des filets de 1 px.
   Fonctionne avec 2, 3 ou 4 colonnes Divi ; plusieurs rangees s'empilent. */
.et_pb_row.mm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--mm-line); border: 1px solid var(--mm-line); padding: 0; }
.et_pb_row.mm-grid.mm-grid--2 { grid-template-columns: repeat(2, 1fr); }
.et_pb_row.mm-grid.mm-grid--4 { grid-template-columns: repeat(4, 1fr); }
.et_pb_row.mm-grid + .et_pb_row.mm-grid { margin-top: -1px; border-top: 0; }
.et_pb_row.mm-grid::after { display: none; }
.et_pb_row.mm-grid > .et_pb_column { width: auto !important; margin: 0 !important; float: none; background: var(--mm-bone); }
.mm-s-bone-2 .et_pb_row.mm-grid > .et_pb_column, .mm-s-sand .et_pb_row.mm-grid > .et_pb_column { background: var(--mm-paper); }
.mm-s-night .et_pb_row.mm-grid { background: var(--mm-line-dark); border-color: var(--mm-line-dark); }
.mm-s-night .et_pb_row.mm-grid > .et_pb_column { background: var(--mm-ink); }
.et_pb_row.mm-grid > .et_pb_column:empty { background: rgba(9, 9, 11, .06); }
/* Carte (module Presentation / Blurb) */
.et_pb_blurb.mm-card, .et_pb_blurb.mm-cell { position: relative; height: 100%; padding: 32px; margin: 0 !important; border: 0; background: transparent; transition: background-color .3s; }
.et_pb_blurb.mm-card:hover { background: rgba(245, 243, 240, .55); }
.mm-s-night .et_pb_blurb.mm-card:hover { background: rgba(245, 243, 240, .03); }
.mm-card .et_pb_blurb_content, .mm-cell .et_pb_blurb_content { max-width: none; text-align: left; }
.mm-card .et_pb_main_blurb_image, .mm-cell .et_pb_main_blurb_image { margin-bottom: 22px; text-align: left; }
.mm-card .et-pb-icon, .mm-cell .et-pb-icon { font-size: 20px; color: var(--mm-accent-ink); }
.mm-s-night .mm-card .et-pb-icon, .mm-s-night .mm-cell .et-pb-icon { color: var(--mm-accent); }
.mm-card .et_pb_module_header, .mm-cell .et_pb_module_header { font-size: 1.1rem; line-height: 1.1; padding-bottom: .8em; }
.mm-card .et_pb_module_header a { color: inherit; text-decoration: none; }
.mm-card .et_pb_module_header a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.mm-card .et_pb_blurb_description, .mm-cell .et_pb_blurb_description { font-size: 15px; line-height: 1.6; color: var(--mm-graphite); }
.mm-s-night .mm-card .et_pb_blurb_description, .mm-s-night .mm-cell .et_pb_blurb_description { color: var(--mm-mist); }
.mm-card .et_pb_blurb_content::after { content: "\2197"; position: absolute; top: 28px; right: 28px; font-size: 14px; color: var(--mm-ink); opacity: .5; transition: transform .3s var(--mm-ease), opacity .3s; }
.mm-s-night .mm-card .et_pb_blurb_content::after { color: var(--mm-paper); }
.mm-card:hover .et_pb_blurb_content::after { opacity: 1; transform: translate(2px, -2px); }
.mm-card--plain .et_pb_blurb_content::after { display: none; }
/* Numero en accent au-dessus du titre : <p class="mm-num">01</p> dans le texte du blurb */
.mm-num, .mm-cell .mm-num { font-family: var(--mm-body); font-size: 10px !important; letter-spacing: .3em; color: var(--mm-accent-ink) !important; padding-bottom: 14px !important; }
.mm-s-night .mm-num { color: var(--mm-accent) !important; }
.mm-card .mm-link { margin-top: 18px; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--mm-ink); }
.mm-card .mm-link::after { content: " \2197"; color: var(--mm-accent-ink); }
/* Cellule en module Texte : <p class="mm-num">01</p><h3>…</h3><p>…</p><p class="mm-link"><a>…</a></p> */
.et_pb_text.mm-cell { position: relative; height: 100%; padding: 32px; margin: 0 !important; transition: background-color .3s; }
.et_pb_text.mm-cell h3 { font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.1; padding-bottom: .75em; }
.et_pb_text.mm-cell p { font-size: 15px; line-height: 1.6; }
.et_pb_text.mm-cell .mm-link { padding-top: 18px; }
.et_pb_text.mm-cell .mm-link a { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; text-decoration: none; color: var(--mm-ink); }
.et_pb_text.mm-cell .mm-link a::after { content: " \2197"; color: var(--mm-accent-ink); }
.et_pb_text.mm-cell .mm-link a::before { content: ""; position: absolute; inset: 0; }
.et_pb_text.mm-cell:has(.mm-link):hover { background: rgba(245, 243, 240, .6); }
.mm-s-night .et_pb_text.mm-cell h3 { color: var(--mm-paper); }
.mm-s-night .et_pb_text.mm-cell p { color: var(--mm-mist); }
.mm-s-night .et_pb_text.mm-cell .mm-link a { color: var(--mm-paper); }
.mm-s-night .et_pb_text.mm-cell .mm-link a::after { color: var(--mm-accent); }
.mm-s-night .et_pb_text.mm-cell:has(.mm-link):hover { background: rgba(245, 243, 240, .03); }
.mm-eq .et_pb_column { display: flex; flex-direction: column; }
.mm-eq .et_pb_column > .et_pb_module { flex: 1 1 auto; }

/* 8. Liste numerotee (rangees « mm-rows ») ----------------------------------
   Chaque rangee : numero + etiquette + titre | texte | lien. */
.et_pb_row.mm-rows { border-top: 1px solid var(--mm-line-strong); padding: 40px 0 !important; }
.et_pb_row.mm-rows:last-child { border-bottom: 1px solid var(--mm-line-strong); }
.mm-s-night .et_pb_row.mm-rows { border-color: var(--mm-line-dark); }
.mm-rows .mm-h2s h2, .mm-rows h3 { font-size: clamp(1.2rem, 1.8vw, 1.6rem); line-height: 1.15; }
.mm-rows .et_pb_text { font-size: 15px; }
.mm-rows .mm-more { text-align: right; }

/* 9. Accordeon FAQ, onglets, formulaire ------------------------------------ */
.mm-acc .et_pb_toggle { background: transparent !important; border: 0 !important; border-top: 1px solid var(--mm-line-strong) !important; padding: 22px 0 !important; margin: 0 !important; }
.mm-acc .et_pb_toggle:last-child { border-bottom: 1px solid var(--mm-line-strong) !important; }
.mm-s-night .mm-acc .et_pb_toggle { border-color: var(--mm-line-dark) !important; }
.mm-acc .et_pb_toggle_title { font-family: var(--mm-display); font-weight: 500; text-transform: uppercase; letter-spacing: -.02em; font-size: 16px; line-height: 1.3; color: var(--mm-ink); padding-right: 48px; }
.mm-s-night .mm-acc .et_pb_toggle_title { color: var(--mm-paper); }
.mm-acc .et_pb_toggle_title::before { content: "+"; font-family: var(--mm-body); font-size: 20px; right: 4px; color: var(--mm-accent) !important; transition: transform .3s var(--mm-ease); }
.mm-acc .et_pb_toggle_open .et_pb_toggle_title::before { content: "\2212"; display: block !important; }
.mm-acc .et_pb_toggle_content { padding-top: 14px; max-width: 46rem; font-size: 16px; color: var(--mm-graphite); }
.mm-s-night .mm-acc .et_pb_toggle_content { color: var(--mm-on-ink); }

.mm-tabs.et_pb_tabs { border: 0; background: transparent; }
.mm-tabs .et_pb_tabs_controls { background: transparent; border-bottom: 1px solid var(--mm-line-strong); display: flex; flex-wrap: wrap; gap: 4px 28px; }
.mm-tabs .et_pb_tabs_controls::after { display: none; }
.mm-tabs .et_pb_tabs_controls li { background: transparent; border: 0; float: none; }
.mm-tabs .et_pb_tabs_controls li a { display: block; padding: 14px 0 16px; font-family: var(--mm-body); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--mm-graphite); box-shadow: inset 0 -2px 0 transparent; }
.mm-tabs .et_pb_tabs_controls li.et_pb_tab_active a, .mm-tabs .et_pb_tabs_controls li a:hover { color: var(--mm-ink); box-shadow: inset 0 -2px 0 var(--mm-accent); }
.mm-tabs .et_pb_all_tabs { background: transparent; padding: 36px 0 0; }
.mm-tabs .et_pb_tab { padding: 0; }

.mm-form .et_pb_contact_form_container, .mm-form.et_pb_contact_form_container { padding: 0; }
.mm-form .et_pb_contact_field { margin-bottom: 26px; }
.mm-form .input, .mm-form input.input, .mm-form textarea.input, .mm-form select.input {
  background: transparent !important; border: 0 !important; border-bottom: 1px solid var(--mm-line-strong) !important; border-radius: 0 !important;
  padding: 14px 0 !important; font-family: var(--mm-body); font-size: 16px !important; color: var(--mm-ink) !important;
}
.mm-form .input::placeholder { color: #8E8C93; opacity: 1; }
.mm-form .input:focus { border-bottom-color: var(--mm-ink) !important; outline: none; }
.mm-form .et_pb_contact_field_options_title, .mm-form label { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--mm-graphite); }
.mm-form .et_contact_bottom_container { float: none; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 14px; }
.mm-form .et_pb_contact_submit { margin: 0; }
.mm-form .et-pb-contact-message { font-weight: 600; color: var(--mm-ink); }
/* Bloc coordonnees (« DIRECT LINES ») */
.mm-lines p { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--mm-graphite); padding-bottom: 6px; }
.mm-lines a, .mm-lines strong { display: block; font-family: var(--mm-display); font-size: 20px; font-weight: 500; letter-spacing: -.03em; text-transform: uppercase; color: var(--mm-ink) !important; text-decoration: none !important; line-height: 1.2; }
.mm-lines .mm-line-item { border-top: 1px solid var(--mm-line-strong); padding: 16px 0; position: relative; }
.mm-lines .mm-line-item:last-child { border-bottom: 1px solid var(--mm-line-strong); }
.mm-lines .mm-line-item a::after { content: "\2197"; position: absolute; right: 4px; top: 16px; font-size: 12px; }

/* 10. Header et mega-menu ------------------------------------------------- */
.et-l--header { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 1000; }
.et_pb_section.mm-header { background-color: var(--mm-ink); border-bottom: 1px solid var(--mm-line-dark); padding: 18px 0; transition: padding .3s var(--mm-ease); }
.mm-scrolled .et_pb_section.mm-header { padding: 10px 0; }
.mm-header .et_pb_row { display: flex; align-items: center; padding: 0; }
.mm-header .et_pb_column { margin-bottom: 0; }
.mm-logo p { font-family: var(--mm-display); font-weight: 500; font-size: 17px; letter-spacing: -.04em; line-height: 1; text-transform: uppercase; }
.mm-logo a { display: inline-flex; align-items: center; color: var(--mm-paper) !important; text-decoration: none !important; }
.mm-logo .mm-dot { order: -1; display: inline-block; width: 6px; height: 6px; margin: 0 8px 0 0; background: var(--mm-accent); }
.mm-logo .mm-slash { color: var(--mm-accent); margin: 0 .35em; font-weight: 400; }
.mm-nav .et-menu > li > a { font-family: var(--mm-body); font-size: 12px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; color: var(--mm-paper); padding-bottom: 6px; }
.mm-nav .et-menu > li > a::before { content: "/"; margin-right: .6em; color: var(--mm-accent); letter-spacing: 0; }
.mm-nav .et-menu > li > a:hover, .mm-nav .et-menu > li.current-menu-item > a, .mm-nav .et-menu > li.current-menu-ancestor > a { color: var(--mm-accent); opacity: 1; }
.mm-nav .et-menu > li { padding-left: 10px; padding-right: 10px; }
.mm-nav .et-menu .menu-item-has-children > a:first-child::after { font-size: 14px; top: 1px; right: -2px; }
.mm-nav .et-menu > li.menu-item-has-children > a { padding-right: 16px; }
.mm-nav .nav li ul, .mm-nav .et-menu li ul { background: var(--mm-ink); border: 1px solid var(--mm-line-dark); border-top: 1px solid var(--mm-line-dark); box-shadow: 0 30px 60px rgba(0, 0, 0, .45); width: 300px; padding: 14px 0; }
.mm-nav .et-menu li li { padding: 0; }
.mm-nav .et-menu li li a { width: 100%; padding: 10px 24px; font-family: var(--mm-display); font-size: 14px; font-weight: 500; letter-spacing: -.01em; text-transform: uppercase; color: var(--mm-paper); }
.mm-nav .et-menu li li a::before { content: "/"; margin-right: 10px; color: var(--mm-accent); }
.mm-nav .et-menu li li a:hover { background: rgba(245, 243, 240, .04); color: var(--mm-accent); opacity: 1; }
/* Description sous un lien : <span class="mm-menu-desc"> dans le libelle */
.mm-menu-desc { display: block; margin: 4px 0 0 18px; font-family: var(--mm-body); font-size: 11px; font-weight: 400; letter-spacing: .04em; text-transform: none; color: var(--mm-mist); }
/* Mega-menu : classe « mm-mega » sur l'element parent (Apparence > Menus) */
@media (min-width: 981px) {
  .mm-nav .et-menu li.mm-mega > ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 680px; padding: 12px 8px 18px; }
  .mm-nav .et-menu li.mm-mega li a { padding: 14px 20px; }
}
.mm-nav .mobile_menu_bar::before { color: var(--mm-paper); }
.mm-nav .et_mobile_menu { background: var(--mm-ink); border-top: 1px solid var(--mm-accent); }
.mm-nav .et_mobile_menu li a { color: var(--mm-paper); border-bottom: 1px solid var(--mm-line-dark); font-size: 16px; }
@media (max-width: 980px) {
  .mm-nav .et_mobile_menu { position: fixed; top: 61px; left: 0; right: 0; width: 100vw; max-height: calc(100vh - 61px); overflow-y: auto; padding: 8px 5vw 24px; }
  .admin-bar .mm-nav .et_mobile_menu { top: calc(61px + var(--wp-admin--admin-bar--height, 0px)); }
  .mm-nav .et_mobile_menu li li { padding-left: 0; }
  .mm-nav .et_mobile_menu li li a { padding-left: 18px; font-size: 15px; }
  .mm-nav .et_mobile_menu > li > a { font-family: var(--mm-display); font-weight: 500; text-transform: uppercase; letter-spacing: -.02em; font-size: 20px; }
  .mm-nav .et_mobile_menu .mm-menu-desc { margin-left: 0; }
}
.mm-header .et_pb_button.mm-btn { padding: 8px 16px; font-size: 12px; font-weight: 400; letter-spacing: .2em; }
.mm-header .et_pb_button.mm-btn:hover { padding: 8px 16px; }
.mm-header .mm-col-logo { flex: 0 0 auto; width: auto; margin-right: 32px; }
.mm-header .mm-col-nav { flex: 1 1 auto; width: auto; margin-right: 24px; }
.mm-header .mm-col-actions { flex: 0 0 auto; width: auto; display: flex; align-items: center; gap: 20px; margin-right: 0; }
.mm-header .mm-col-actions .et_pb_module { margin-bottom: 0 !important; }
.mm-header .mm-col-actions .et_pb_button_module_wrapper { margin: 0; }
.mm-nav .et_pb_menu__wrap { justify-content: flex-start; }
.mm-tel { display: none; }

/* 11. Footer ---------------------------------------------------------------- */
.et_pb_section.mm-footer { background-color: var(--mm-ink); padding: 72px 0 28px; color: var(--mm-on-ink); overflow: hidden; }
.mm-wordmark p { font-family: var(--mm-display); font-weight: 500; font-size: clamp(3.4rem, 12.8vw, 12.6rem); line-height: .9; letter-spacing: var(--mm-track); text-transform: uppercase; text-align: center; color: var(--mm-paper); white-space: nowrap; }
.mm-wordmark .mm-slash { color: var(--mm-accent); display: inline-block; transform: skewX(-14deg); margin: 0 -.02em; font-weight: 400; }
.mm-footnav { border-top: 1px solid var(--mm-line-dark); border-bottom: 1px solid var(--mm-line-dark); padding: 18px 0 !important; }
.mm-footnav p { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; }
.mm-footnav a { color: var(--mm-on-ink) !important; text-decoration: none !important; margin-right: 26px; white-space: nowrap; }
.mm-footnav a:hover { color: var(--mm-accent) !important; }
.mm-foot-title, .mm-footer h4 { font-family: var(--mm-body) !important; font-size: 10px !important; font-weight: 400 !important; letter-spacing: .3em !important; text-transform: uppercase; color: var(--mm-accent) !important; padding-bottom: 1.4em !important; line-height: 1.4 !important; }
.mm-links ul { list-style: none; padding: 0 !important; margin: 0; }
.mm-links li { padding: 0 0 .55em; line-height: 1.4; }
.mm-links p { font-size: 13px; color: var(--mm-on-ink); line-height: 1.6; }
.mm-links a { color: var(--mm-on-ink) !important; text-decoration: none !important; font-size: 13px; transition: color .2s; }
.mm-links a:hover { color: var(--mm-accent) !important; }
.mm-legal { border-top: 1px solid var(--mm-line-dark); padding-top: 24px !important; }
.mm-legal p { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--mm-mist); }
.mm-legal a { color: var(--mm-mist) !important; text-decoration: none !important; }
.mm-legal a:hover { color: var(--mm-paper) !important; }
.mm-rule { border-top: 1px solid var(--mm-line-dark); }
.mm-tb-content.et_pb_section { padding: 0; background: transparent; }
.mm-tb-content > .et_pb_row { padding: 0; }

/* 12. Composants ----------------------------------------------------------- */
/* Bandeau defilant */
.mm-marquee { overflow: hidden; }
.mm-marquee .et_pb_text_inner { overflow: hidden; }
.mm-marquee__track { display: flex; width: max-content; animation: mm-marquee 50s linear infinite; }
.mm-marquee__track span { display: inline-flex; align-items: center; font-family: var(--mm-display); font-weight: 400; letter-spacing: -.03em; font-size: clamp(1.4rem, 2.6vw, 2.4rem); line-height: 1.3; white-space: nowrap; color: var(--mm-ink); padding-right: .7em; }
.mm-marquee__track span::after { content: "\2731"; margin-left: .7em; color: var(--mm-accent); font-size: .7em; }
.mm-s-night .mm-marquee__track span { color: var(--mm-paper); }
.mm-marquee:hover .mm-marquee__track { animation-play-state: paused; }
@keyframes mm-marquee { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
.et_pb_section.mm-s-strip { background: var(--mm-paper); padding: 22px 0; border-top: 1px solid var(--mm-line); border-bottom: 1px solid var(--mm-line); }
.mm-s-strip .et_pb_row { width: 100%; max-width: none; padding: 0; }
/* Recherches ciblees (« mots-cles ») : <p class="mm-kw">« requete »</p><p class="mm-kw-note">...</p> */
.mm-kw p, p.mm-kw { font-family: var(--mm-display); font-size: 17px; font-weight: 500; letter-spacing: -.02em; color: var(--mm-ink); line-height: 1.25; padding-bottom: 8px; }
.mm-kw-note, .mm-kw .mm-kw-note { font-size: 10px !important; letter-spacing: .3em; text-transform: uppercase; color: var(--mm-accent-ink) !important; }
/* Grand titre melange sur fond accent (« Parlons-en. ») */
.mm-big h2 { text-transform: none; font-size: clamp(3rem, 8vw, 7.4rem); letter-spacing: -.045em; line-height: .92; color: var(--mm-ink); }
.mm-big em { font-style: italic; font-weight: 300; }
.mm-s-accent .mm-lines p { color: rgba(9, 9, 11, .7); }
.mm-s-accent .mm-lines a, .mm-s-accent .mm-lines strong { color: var(--mm-ink) !important; }
.mm-s-accent .mm-lines .mm-line-item { border-color: rgba(9, 9, 11, .3); }
/* Encadre CTA sombre dans une section claire */
.et_pb_row.mm-ctabox { background: var(--mm-ink); padding: 56px 56px !important; display: flex; align-items: center; position: relative; overflow: hidden; }
.et_pb_row.mm-ctabox::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 120% at 0% 100%, rgba(230, 79, 55, .4), transparent 70%); pointer-events: none; }
.mm-ctabox .et_pb_column { margin-bottom: 0 !important; position: relative; }
.mm-ctabox h2 { color: var(--mm-paper); font-size: clamp(1.6rem, 2.6vw, 2.4rem); line-height: 1; }
.mm-ctabox .et_pb_button_module_wrapper { text-align: right; }
/* Methode : grands mots a gauche */
.mm-step h3 { font-size: clamp(1.8rem, 3.4vw, 3rem); line-height: 1; color: rgba(245, 243, 240, .4); }
.mm-step:hover h3 { color: var(--mm-paper); }
.et_pb_row.mm-steprow { border-top: 1px solid var(--mm-line-dark); padding: 34px 0 !important; }
/* Illustrations */
.mm-art img { width: 100%; height: auto; display: block; aspect-ratio: 1 / 1; }
.mm-art .et_pb_image_wrap { display: block; }
.mm-split .et_pb_column:first-child { position: sticky; top: 120px; }
/* Blog */
.mm-blog .et_pb_post { border-top: 1px solid var(--mm-line-strong); padding-top: 24px; margin-bottom: 44px; }
.mm-blog .entry-title { font-family: var(--mm-display); font-weight: 500; text-transform: uppercase; letter-spacing: -.03em; font-size: 1.35rem !important; line-height: 1.1; }
.mm-blog .entry-title a { color: var(--mm-ink); text-decoration: none; }
.mm-blog .entry-title a:hover { color: var(--mm-accent-ink); }
.mm-blog .post-meta { font-size: 10px; text-transform: uppercase; letter-spacing: .3em; color: var(--mm-graphite); }
.mm-blog .more-link { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--mm-ink); text-decoration: none; }
.mm-blog .more-link::after { content: " \2197"; color: var(--mm-accent-ink); }
.et_pb_post_title .entry-title { font-family: var(--mm-display); font-weight: 500; text-transform: uppercase; letter-spacing: var(--mm-track); line-height: .95; font-size: clamp(2.2rem, 5vw, 4.6rem) !important; color: var(--mm-paper); }
.et_pb_post_title .et_pb_title_meta_container, .et_pb_post_title .et_pb_title_meta_container a { color: var(--mm-mist) !important; font-size: 10px; text-transform: uppercase; letter-spacing: .3em; }
.mm-article .et_pb_post_content { font-size: 18px; line-height: 1.7; }
.mm-article .et_pb_post_content p, .mm-article .et_pb_post_content li { max-width: 46rem; }
.mm-article .et_pb_post_content h2 { font-size: clamp(1.6rem, 2.6vw, 2.4rem); margin-top: 1.2em; line-height: 1; }
.mm-article .et_pb_post_content h3 { margin-top: 1em; }

/* 13. Animations ----------------------------------------------------------- */
.mm-js .mm-reveal { opacity: 0; transform: translate3d(0, 24px, 0); transition: opacity .8s var(--mm-ease), transform .8s var(--mm-ease); }
.mm-js .mm-reveal.is-in { opacity: 1; transform: none; }
.mm-js .mm-stagger > .et_pb_column:nth-child(2) .mm-reveal { transition-delay: .07s; }
.mm-js .mm-stagger > .et_pb_column:nth-child(3) .mm-reveal { transition-delay: .14s; }
.mm-js .mm-stagger > .et_pb_column:nth-child(4) .mm-reveal { transition-delay: .21s; }
.mm-rise { animation: mm-rise .9s var(--mm-ease) both; }
.mm-rise-2 { animation: mm-rise .9s .1s var(--mm-ease) both; }
.mm-rise-3 { animation: mm-rise .9s .2s var(--mm-ease) both; }
@keyframes mm-rise { from { transform: translate3d(0, 20px, 0); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .mm-hero::before, .mm-marquee__track, .mm-rise, .mm-rise-2, .mm-rise-3 { animation: none !important; }
  .mm-marquee__track { flex-wrap: wrap; width: auto; }
  .mm-js .mm-reveal { opacity: 1; transform: none; transition: none; }
}

/* 14. Responsive et Visual Builder ------------------------------------------ */
@media (max-width: 980px) {
  html body { font-size: 17px; }
  :root { --mm-space: 72px; }
  .et_pb_row { width: 88%; }
  .et_pb_section.mm-hero, .et_pb_section.mm-hero--home { padding: 120px 0 72px; }
  .mm-split .et_pb_column:first-child { position: static; }
  .et_pb_row.mm-grid, .et_pb_row.mm-grid.mm-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .mm-header .et_pb_row { flex-wrap: nowrap; }
  .mm-header .mm-hide-mobile { display: none !important; }
  .mm-header .et_pb_column { margin-bottom: 0 !important; width: auto !important; }
  .mm-header .mm-col-logo { flex: 1 1 auto; }
  .mm-header .mm-col-nav { flex: 0 0 auto; margin-right: 0; }
  .mm-nav .et_pb_menu__wrap { justify-content: flex-end; }
  .mm-rows .mm-more { text-align: left; }
  .et_pb_row.mm-ctabox { display: block; padding: 40px 28px !important; }
  .mm-ctabox .et_pb_button_module_wrapper { text-align: left; }
}
@media (max-width: 767px) {
  .et_pb_row { width: 90%; }
  .et_pb_section.mm-hero, .et_pb_section.mm-hero--home { padding: 64px 0 64px; }
  html body h1 { font-size: clamp(2.5rem, 12vw, 3.4rem); }
  html body h2 { font-size: clamp(1.9rem, 8.5vw, 2.6rem); }
  .et_pb_row.mm-grid, .et_pb_row.mm-grid.mm-grid--2, .et_pb_row.mm-grid.mm-grid--4 { grid-template-columns: 1fr; }
  .et_pb_row.mm-grid > .et_pb_column:empty { display: none; }
  .et_pb_blurb.mm-card, .et_pb_blurb.mm-cell { padding: 26px 22px; }
  .mm-tabs .et_pb_tabs_controls { gap: 0 18px; }
  .mm-wordmark p { font-size: 11vw; }
  .mm-footnav a { display: inline-block; margin: 0 18px 10px 0; }
  .mm-ghost { display: none; }
}
.et-fb .mm-reveal, body.et-fb .mm-reveal { opacity: 1 !important; transform: none !important; }
.et-fb .mm-marquee__track { animation: none; flex-wrap: wrap; width: auto; }
.et-fb .et-l--header { position: relative; }
.et-fb .mm-ghost { position: relative !important; }
