/* ============================================================
   CHILD.CSS — MMIO 2026
   Mega Navigation + Footer
   ============================================================ */

/* --- Google Fonts : DM Sans --- */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;0,9..40,800&display=swap');

/* ============================================================
   POLICE GLOBALE — écrase Heebo / Inter du thème parent
   ============================================================ */
body,
body *:not(.fa):not(.fas):not(.far):not(.fab):not(.fal):not([class*="fa-"]) {
  font-family: 'DM Sans', 'Helvetica Neue', Arial, sans-serif !important;
}

/* ============================================================
   RESET PARTIEL — neutralise les styles du thème parent
   ============================================================ */
.nav-header,
.nav-header *,
.nav-header *::before,
.nav-header *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
}

/* Garantit que tous les éléments du nav sont cliquables */
.nav-header,
.nav-header * {
  pointer-events: auto;
}

/* Empêche le thème de bloquer l'affichage des dropdowns */
.nav-header {
  overflow: visible !important;
}

/* Compense la hauteur du header fixe
   ⚠️ On NE met PAS padding-top sur body — ça révèle le fond blanc du thème.
   À la place, chaque première section de page doit avoir padding-top: 88px+
   (ou le hero peut s'étendre jusqu'à y=0 avec son propre padding interne) */

/* Compense sur la première dnd-section pour les pages HubSpot */
/* Exclu les pages LP dont le header n'est pas fixe */
.page:not(:has([class*="header--lp"])) .dnd-section:first-of-type,
.page:not(:has([class*="header--lp"])) .hs-section-container:first-of-type {
  padding-top: 160px !important;
}

/* ── Masque le header natif Act3 ── */
/* (s'affiche en blanc sous le nav custom) */
/* Exclut les headers LP qui ont leur propre classe header--lp-* */
.header:not(.nav-header):not([class*="header--lp"]),
header:not(.nav-header):not([class*="header--lp"]) {
  display: none !important;
}

/* ── Neutralise le wrapper de section HubSpot autour du partial nav ── */
/* HubSpot enveloppe les globals dans .dnd-section ou .row-fluid */
.dnd-section:has(.nav-header),
.row-fluid:has(.nav-header),
.widget-span:has(.nav-header) {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  min-height: 0 !important;
}

/* ── Neutralise le wrapper de section HubSpot autour du partial footer ── */
.dnd-section:has(.site-footer),
.row-fluid:has(.site-footer),
.widget-span:has(.site-footer) {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  min-height: 0 !important;
}

/* ============================================================
   TOKENS
   ============================================================ */
:root {
  --orange:      #FF4B23;
  --orange-dim:  rgba(255, 75, 35, .15);
  --navy:        #080f28;
  --white:       #ffffff;
  --text-dim:    rgba(255, 255, 255, .80);
  --text-dimmer: rgba(255, 255, 255, .40);
  --panel-bg:    rgba(6, 10, 28, 0.94);
  --panel-blur:  24px;
  --hover-bg:    rgba(255, 255, 255, .07);
  --divider:     rgba(255, 255, 255, .08);
  --nav-border:  rgba(255, 255, 255, .10);
}

/* ============================================================
   HEADER — capsule flottante
   ============================================================ */
.nav-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 9000 !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 14px 24px !important;
  transition: padding .35s;
  height: auto !important;
  min-height: 0 !important;
}

/* Ciblage par ID pour surclasser toute règle #main-nav du thème Act3 */
#main-nav,
#main-nav.nav-header,
header#main-nav {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: none !important;
  box-shadow: none !important;
}

/* La capsule */
.nav-container {
  display: flex;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  gap: 6px;
  background: rgba(8, 12, 30, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 14px;
  box-shadow: 0 4px 32px rgba(0, 0, 0, .35), 0 1px 0 rgba(255, 255, 255, .05) inset;
  transition: background .3s, border-color .3s, box-shadow .3s;
}

.nav-header.is-scrolled .nav-container {
  background: rgba(8, 12, 30, 0.95);
  border-color: rgba(255, 255, 255, .13);
  box-shadow: 0 8px 48px rgba(0, 0, 0, .5), 0 1px 0 rgba(255, 255, 255, .06) inset;
}

/* ============================================================
   LOGO
   ============================================================ */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-right: 28px;
  flex-shrink: 0;
}

/* Neutralise les styles du thème sur le module logo HubSpot */
.nav-logo .hs-logo-wrapper,
.nav-logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo img {
  height: 40px !important;
  width: auto !important;
  display: block;
  max-width: none;
}

/* ============================================================
   NAV LIST
   ============================================================ */
.nav-menu { flex: 1; }

.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2px;
  flex: 1;
}

.nav-item { position: relative; }
.nav-item--has-mega { position: static; }

.nav-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-dim);
  font: 500 14px/1 'DM Sans', sans-serif;
  padding: 8px 14px;
  border-radius: 8px;
  white-space: nowrap;
  transition: color .18s, background .18s;
}

.nav-trigger:hover,
.nav-item.is-open .nav-trigger {
  color: var(--white);
  background: var(--hover-bg);
}

.nav-chevron { transition: transform .22s ease; flex-shrink: 0; }
.nav-item.is-open .nav-chevron { transform: rotate(180deg); }

/* ============================================================
   MEGA MENU — conteneur commun
   ============================================================ */
.mega-menu {
  position: fixed;
  top: 88px;
  left: 24px;
  right: 24px;
  border-radius: 14px;
  background: var(--panel-bg);
  backdrop-filter: blur(var(--panel-blur));
  -webkit-backdrop-filter: blur(var(--panel-blur));
  border: 1px solid var(--nav-border);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .22s, transform .22s, visibility .22s;
  pointer-events: none;
  z-index: 8999;
}

.nav-item--has-mega.is-open .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.mega-menu__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  min-height: 320px;
}

/* ============================================================
   MEGA MENU — onglets gauche
   ============================================================ */
.mega-tabs {
  flex-shrink: 0;
  width: 220px;
  border-right: 1px solid var(--divider);
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mega-tab {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  transition: background .18s;
  position: relative;
}

.mega-tab:hover { background: var(--hover-bg); }
.mega-tab.is-active { background: rgba(255, 255, 255, .07); }
.mega-tab.is-active::after {
  content: '';
  position: absolute;
  right: -1px;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 28px;
  background: var(--orange);
  border-radius: 2px 0 0 2px;
}

.mega-tab__title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--white);
}

.mega-tab__sub {
  font-size: 11px;
  color: var(--text-dimmer);
  margin-top: 2px;
}

.mega-tab__arrow {
  margin-left: auto;
  font-size: 11px;
  color: var(--text-dimmer);
  transition: color .18s, transform .18s;
  flex-shrink: 0;
}

.mega-tab:hover .mega-tab__arrow,
.mega-tab.is-active .mega-tab__arrow {
  color: var(--white);
  transform: translateX(2px);
}

/* ============================================================
   MEGA MENU — panneaux droits
   ============================================================ */
.mega-panels {
  flex: 1;
  padding: 20px 0 20px 32px;
}

.mega-panel { display: none; }
.mega-panel.is-active { display: flex; flex-direction: column; }

.mega-panel__label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-dimmer);
  margin-bottom: 14px;
}

.mega-panel__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  flex: 1;
  align-content: start;
}

.mega-panel__link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-decoration: none;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: background .18s, border-color .18s;
}

.mega-panel__link:hover {
  background: var(--hover-bg);
  border-color: var(--divider);
}

/* Icônes */
.mega-panel__link-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  background-size: 40px 40px;
  background-repeat: no-repeat;
  background-position: center;
  font-size: 0;
  transition: transform .18s;
}

.mega-panel__link:hover .mega-panel__link-icon {
  transform: scale(1.08);
}

/* Lueurs par pilier — Solutions */
.panel-attirer   .mega-panel__link-icon { box-shadow: 0 2px 12px rgba(255, 75, 35, .18),  0 0 0 1px rgba(255, 75, 35, .14); }
.panel-vendre    .mega-panel__link-icon { box-shadow: 0 2px 12px rgba(91, 173, 250, .18), 0 0 0 1px rgba(91, 173, 250, .14); }
.panel-fideliser .mega-panel__link-icon { box-shadow: 0 2px 12px rgba(124, 58, 237, .18), 0 0 0 1px rgba(124, 58, 237, .14); }

/* Lueurs par onglet — Agence HubSpot */
.panel-hs-conseiller .mega-panel__link-icon { box-shadow: 0 2px 12px rgba(34, 197, 94, .18),  0 0 0 1px rgba(34, 197, 94, .14); }
.panel-hs-integrer   .mega-panel__link-icon { box-shadow: 0 2px 12px rgba(255, 122, 0, .18),  0 0 0 1px rgba(255, 122, 0, .14); }
.panel-hs-connecter  .mega-panel__link-icon { box-shadow: 0 2px 12px rgba(139, 92, 246, .18), 0 0 0 1px rgba(139, 92, 246, .14); }
.panel-hs-former     .mega-panel__link-icon { box-shadow: 0 2px 12px rgba(59, 130, 246, .18), 0 0 0 1px rgba(59, 130, 246, .14); }

.mega-panel__link-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.mega-panel__link-title {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, .85);
  line-height: 1.3;
  transition: color .15s;
}

.mega-panel__link:hover .mega-panel__link-title { color: var(--white); }

.mega-panel__link-sub {
  font-size: 11.5px;
  font-weight: 400;
  color: var(--text-dimmer);
  line-height: 1.4;
}

/* CTA bas du panneau */
.mega-panel__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--orange);
  text-decoration: none;
  transition: gap .18s;
}

.mega-panel__cta:hover { gap: 10px; }

/* ============================================================
   MEGA MENU RESSOURCES — 3 colonnes
   ============================================================ */
.mega-inner--ressources {
  display: grid;
  grid-template-columns: 1fr 1fr 260px;
  min-height: auto;
  padding: 28px 32px;
  gap: 0;
}

.res-col { padding: 0 28px; }
.res-col:first-child { padding-left: 0; }
.res-col:last-child  { padding-right: 0; }
.res-col:not(:last-child) { border-right: 1px solid var(--divider); }

.res-section { margin-bottom: 22px; }
.res-section:last-child { margin-bottom: 0; }

/* Lien "Insights marché" */
.res-insights-link {
  text-decoration: none;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  transition: color .18s;
}

.res-insights-link:hover { color: var(--orange); }
.res-insights-link:hover .res-section__header { color: var(--orange); }

.res-insights-link .res-section__header::after {
  content: '→';
  font-size: 12px;
  opacity: 0;
  transform: translateX(-4px);
  display: inline-block;
  transition: opacity .18s, transform .18s;
  margin-left: 4px;
}

.res-insights-link:hover .res-section__header::after {
  opacity: 1;
  transform: translateX(0);
}

/* Titres de section */
.res-section__header {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--white);
  display: block;
  margin-bottom: 2px;
}

.res-section__header-sub {
  font-size: 11.5px;
  color: var(--text-dimmer);
  display: block;
  margin-bottom: 10px;
}

/* Liste guides */
.res-guides-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.res-guides-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dim);
  font-size: 13.5px;
  text-decoration: none;
  padding: 7px 10px;
  border-radius: 7px;
  transition: color .15s, background .15s;
}

.res-guides-list a::before {
  content: '';
  width: 3px;
  height: 14px;
  flex-shrink: 0;
  background: var(--orange);
  border-radius: 2px;
}

.res-guides-list a:hover {
  color: var(--white);
  background: var(--hover-bg);
}

/* Liste contenus phares */
.res-piliers-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.res-piliers-list a {
  display: block;
  color: var(--text-dim);
  font-size: 13.5px;
  text-decoration: none;
  padding: 7px 10px;
  border-radius: 7px;
  transition: color .15s, background .15s;
}

.res-piliers-list a:hover {
  color: var(--white);
  background: var(--hover-bg);
}

/* Carte featured ROI */
.res-col--featured { position: relative; }

.res-featured-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  padding: 20px;
  padding-top: 104px;
  background: linear-gradient(145deg, rgba(255, 75, 35, .13) 0%, rgba(255, 140, 66, .07) 100%);
  border: 1px solid rgba(255, 75, 35, .22);
  border-radius: 12px;
  position: relative;
  overflow: visible;
}

.res-featured-card__eyebrow {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--orange);
  margin-bottom: 8px;
}

.res-featured-card__title {
  font-size: 14px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 5px;
}

.res-featured-card__sub {
  font-size: 11px;
  color: var(--text-dimmer);
  margin-bottom: 14px;
}

.res-featured-card__img {
  position: absolute;
  top: -52px;
  left: 50%;
  transform: translateX(-50%);
  width: 148px;
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .5));
}

.res-featured-card__cta {
  font-size: 12.5px !important;
  padding: 8px 16px !important;
  border-radius: 7px !important;
  align-self: flex-start;
}

/* ============================================================
   DROPDOWN CLIENTS
   ============================================================ */
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  background: var(--panel-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--nav-border);
  border-radius: 14px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .22s, transform .22s, visibility .22s;
  pointer-events: none;
  z-index: 8999;
}

.nav-item.is-open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Clients : 2 colonnes */
.dropdown--clients { width: 520px; padding: 24px; }

.dropdown-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 20px;
}

.dropdown-col:first-child {
  border-right: 1px solid var(--divider);
  padding-right: 24px;
}

.dropdown-col:last-child { padding-left: 24px; }

.dropdown-col__label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-dimmer);
  margin-bottom: 12px;
}

.dropdown-col__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.dropdown-col__list a {
  display: block;
  color: var(--text-dim);
  font-size: 13.5px;
  text-decoration: none;
  padding: 7px 10px;
  border-radius: 7px;
  transition: color .15s, background .15s;
}

.dropdown-col__list a:hover {
  color: var(--white);
  background: var(--hover-bg);
}

/* Dropdown simple (À propos) */
.dropdown--simple { padding: 8px; min-width: 220px; }

.dropdown--simple a {
  display: block;
  color: var(--text-dim);
  font-size: 13.5px;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 7px;
  transition: color .15s, background .15s;
}

.dropdown--simple a:hover {
  color: var(--white);
  background: var(--hover-bg);
}

/* ============================================================
   BOUTONS NAV
   ============================================================ */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  font: 600 13.5px/1 'DM Sans', sans-serif;
  text-decoration: none;
  padding: 9px 20px;
  border-radius: 8px;
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all .18s;
}

.btn--ghost {
  color: var(--text-dim);
  border-color: var(--nav-border);
  background: transparent;
}

.btn--ghost:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, .3);
  background: var(--hover-bg);
}

.btn--primary {
  background: linear-gradient(135deg, #FF4B23 0%, #FF8C42 100%);
  color: var(--white);
  border: none;
  box-shadow: 0 2px 16px rgba(255, 75, 35, .35);
}

.btn--primary:hover {
  background: linear-gradient(135deg, #e03d1a 0%, #f07a32 100%);
  box-shadow: 0 4px 24px rgba(255, 75, 35, .5);
  transform: translateY(-1px);
}

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

/* ── Reset d'isolation : neutralise les styles du thème Act3 dans le footer ──
   Empêche les règles globales du thème (p, ul, a, address…) de polluer le footer */
.site-footer p       { margin: 0; padding: 0; }
.site-footer ul      { margin: 0; padding: 0; list-style: none; }
.site-footer li      { margin: 0; padding: 0; }
.site-footer a       { text-decoration: none; }
.site-footer address { font-style: normal; margin: 0; padding: 0; }
.site-footer button  { font-family: 'DM Sans', sans-serif; }
.site-footer strong  { font-weight: 600; }

.site-footer {
  background: #0a1230;
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 56px 48px 0;
  font-size: 13px;
  color: rgba(255,255,255,.65);
  margin-top: 0;
  position: relative;
  z-index: 1;
  overflow-x: hidden;
  max-width: 100%;
}

/* ── TOP : Brand (gauche) + Bureaux (droite) ── */
.footer-top {
  display: grid;
  grid-template-columns: 700px 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  align-items: start;
}
.footer-brand__header {
  display: flex; align-items: center; gap: 24px; margin-bottom: 24px;
}
.footer-brand__img { height: 68px; width: auto !important; max-width: none !important; display: block; flex-shrink: 0; object-fit: contain; }
.footer-brand__desc {
  font-size: 13px; line-height: 1.7; color: rgba(255,255,255,.65);
  word-break: break-word; overflow-wrap: break-word;
}

/* Labels de section footer */
.footer-section-label,
.footer-newsletter__label,
.footer-brand__follow,
.footer-offices__label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: rgba(255,255,255,.65);
}
.footer-newsletter__label { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }

/* Tooltip RGPD */
.footer-newsletter__info { position: relative; display: inline-flex; align-items: center; }
.footer-newsletter__info-icon {
  width: 16px; height: 16px; border-radius: 50%;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 10px; font-style: italic; font-weight: 700;
  color: rgba(255,255,255,.55); cursor: help; flex-shrink: 0;
}
.footer-newsletter__tooltip {
  position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  width: 280px; background: rgba(16,20,48,.97);
  border: 1px solid rgba(255,255,255,.12); border-radius: 8px; padding: 10px 12px;
  font-size: 10px; line-height: 1.6; color: rgba(255,255,255,.65);
  font-weight: 400; text-transform: none; letter-spacing: 0;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .18s, visibility .18s; white-space: normal; z-index: 20;
}
.footer-newsletter__info:hover .footer-newsletter__tooltip,
.footer-newsletter__info:focus-within .footer-newsletter__tooltip {
  opacity: 1; visibility: visible; pointer-events: auto;
}

/* Nous suivre */
.footer-brand__follow { margin: 24px 0 10px; }

/* Réseaux sociaux */
.footer-social { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-social__link {
  width: 34px; height: 34px; border-radius: 8px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; color: var(--text-dimmer);
  transition: background .18s, color .18s, border-color .18s;
}
.footer-social__link:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.2); color: var(--white); }
.footer-social__link svg { width: 15px; height: 15px; fill: currentColor; }

/* ── Bureaux ── */
.footer-offices__label { margin-bottom: 16px; display: block; }
.footer-office {
  display: flex; align-items: flex-start; gap: 14px; padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-office:last-child { border-bottom: 1px solid rgba(255,255,255,.06); }
.footer-office__flag {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.07);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; overflow: hidden;
}
.footer-office__flag img { width: 26px; height: auto; border-radius: 2px; display: block; }
.footer-office__info { flex: 1; min-width: 0; padding-top: 2px; }
.footer-office__name { font-size: 13px; font-weight: 700; color: var(--white); display: block; margin-bottom: 3px; }
.footer-office__address {
  font-size: 11.5px; line-height: 1.55; color: rgba(255,255,255,.65); margin-bottom: 5px;
  word-break: break-word; overflow-wrap: break-word;
}
.footer-office__phone {
  font-size: 12px; color: var(--orange); text-decoration: none;
  font-weight: 600; transition: opacity .15s; display: inline-block;
}
.footer-office__phone:hover { opacity: .75; }

/* ── Sitemap accordéon ── */
.footer-sitemap { padding: 32px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.footer-sitemap__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0 24px; }
.footer-sitemap__toggle {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--white); margin-bottom: 10px;
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; background: none; border: none; padding: 0; cursor: default; text-align: left;
}
.footer-sitemap__toggle-icon { display: none; }
.footer-sitemap__section-title {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--white); margin-bottom: 10px; display: block;
}
.footer-sitemap__section-title--sub { margin-top: 20px; }
.footer-sitemap__list { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.footer-sitemap__list a { font-size: 11.5px; color: rgba(255,255,255,.50); text-decoration: none; transition: color .15s; }
.footer-sitemap__list a:hover { color: rgba(255,255,255,.75); }

/* ── Barre légale ── */
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; padding: 20px 0;
}
.footer-bottom__copy { font-size: 11.5px; color: rgba(255,255,255,.28); }
.footer-bottom__copy strong { color: rgba(255,255,255,.45); font-weight: 600; }
.footer-legal { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.footer-legal a { font-size: 11.5px; color: rgba(255,255,255,.32); text-decoration: none; transition: color .15s; }
.footer-legal a:hover { color: rgba(255,255,255,.75); }
.footer-legal__sep { width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,.18); display: inline-block; }

/* ── Footer Responsive ── */
@media (max-width: 1023px) {
  .site-footer { padding: 40px 28px 0; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-offices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 24px; align-items: start; }
  .footer-offices__label { grid-column: 1 / -1; margin-bottom: 12px; }
  .footer-office { flex-direction: column; gap: 10px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.06); }
  .footer-sitemap__grid { grid-template-columns: repeat(3, 1fr); gap: 28px 20px; }
}
@media (max-width: 767px) {
  .site-footer { padding: 32px 20px 0; }
  .footer-brand__header { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-brand__img { height: 48px; }
  .footer-offices { grid-template-columns: 1fr; }
  .footer-office { flex-direction: row; gap: 14px; }
  .footer-sitemap__grid { grid-template-columns: 1fr; gap: 0; }
  .footer-sitemap__section { border-bottom: 1px solid rgba(255,255,255,.07); }
  .footer-sitemap__section:first-child { border-top: 1px solid rgba(255,255,255,.07); }
  .footer-sitemap__toggle {
    font-size: 14px; font-weight: 600; text-transform: none; letter-spacing: 0;
    color: rgba(255,255,255,.9); padding: 15px 0; margin-bottom: 0; cursor: pointer;
  }
  .footer-sitemap__toggle-icon {
    display: block; font-size: 20px; line-height: 1; color: rgba(255,255,255,.5);
    font-weight: 300; transition: transform .25s ease, color .2s; flex-shrink: 0;
  }
  .footer-sitemap__section.is-open .footer-sitemap__toggle-icon { transform: rotate(45deg); color: var(--orange); }
  .footer-sitemap__section.is-open .footer-sitemap__toggle { color: #fff; }
  .footer-sitemap__body { max-height: 0; overflow: hidden; transition: max-height .32s ease; }
  .footer-sitemap__section.is-open .footer-sitemap__body { max-height: 600px; }
  .footer-sitemap__section.is-open .footer-sitemap__list { padding-bottom: 16px; }
  .footer-sitemap__list a { font-size: 13px; color: rgba(255,255,255,.5); }
  .footer-sitemap__section-title { font-size: 10px; margin-top: 12px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-office__address { white-space: normal; }
  .footer-newsletter form.hs-form { flex-direction: row; flex-wrap: nowrap; }
  .footer-newsletter .hs_email   { flex: 1; min-width: 0; }
  .footer-newsletter .hs-submit  { flex-shrink: 0; }
  .footer-newsletter .hs-button  { width: auto; }
}
@media (max-width: 480px) {
  .site-footer { padding: 24px 16px 0; }
  .footer-sitemap__grid { grid-template-columns: 1fr; }
  .footer-social { gap: 6px; }
  .footer-legal { flex-wrap: wrap; gap: 6px 10px; }
  .footer-legal__sep { display: none; }
}

/* ── HubSpot Form overrides — scoped au footer ── */
.footer-newsletter .hs-form-field > label,
.footer-newsletter .hs-field-desc,
.footer-newsletter .hs-richtext { display: none !important; }
.footer-newsletter fieldset { border: none; padding: 0; margin: 0; max-width: none !important; }
.footer-newsletter form.hs-form { display: flex; gap: 6px; align-items: flex-start; flex-wrap: wrap; margin: 0; }
.footer-newsletter .hs_email          { flex: 1; min-width: 0; }
.footer-newsletter .hs_email .input   { margin: 0; }
.footer-newsletter .hs-submit         { flex-shrink: 0; }
.footer-newsletter .hs-submit .actions { margin: 0; }
.footer-newsletter .hs-input {
  display: block; width: 100%; box-sizing: border-box; height: 38px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px; padding: 0 12px; color: #fff;
  font: 13px/1 'DM Sans', sans-serif; outline: none;
  transition: border-color .18s; -webkit-appearance: none; margin: 0;
}
.footer-newsletter .hs-input::placeholder { color: rgba(255,255,255,.35); }
.footer-newsletter .hs-input:focus        { border-color: #FF4B23; }
.footer-newsletter .hs-button {
  display: inline-flex; align-items: center; justify-content: center;
  background: #FF4B23; border: none; border-radius: 8px;
  height: 38px; padding: 0 14px; color: #fff; cursor: pointer;
  font: 600 14px/1 'DM Sans', sans-serif; transition: background .18s;
  white-space: nowrap; -webkit-appearance: none; box-sizing: border-box;
}
.footer-newsletter .hs-button:hover { background: #e03d1a; }
.footer-newsletter .hs-error-msgs { list-style: none; margin: 4px 0 0; padding: 0; flex: 0 0 100%; background: transparent !important; }
.footer-newsletter .hs-error-msgs label {
  font-size: 11px !important; color: rgba(255,255,255,.8) !important;
  background: transparent !important;
  text-transform: none !important; letter-spacing: 0 !important;
  font-weight: 400 !important; display: block !important; margin: 0 !important;
}
/* Input en état d'erreur — supprime le fond bleu HubSpot */
.footer-newsletter .hs-input.error,
.footer-newsletter .hs-form-field.error .hs-input,
.footer-newsletter .hs_email.error .hs-input {
  background: rgba(255,255,255,.07) !important;
  border-color: rgba(255,255,255,.35) !important;
}
.footer-newsletter .submitted-message { font-size: 13px; color: rgba(255,255,255,.65); line-height: 1.5; padding: 6px 0; }
.footer-newsletter .legal-consent-container { flex: 0 0 100%; font-size: 11px; color: rgba(255,255,255,.35); line-height: 1.5; margin-top: 8px; }
.footer-newsletter .legal-consent-container a { color: rgba(255,255,255,.5); text-decoration: underline; }
.footer-newsletter .hs-form-booleancheckbox-display { display: flex; gap: 8px; align-items: flex-start; }

/* ============================================================
   MOBILE NAV — breakpoint 1024px
   ============================================================ */

/* Hamburger : masqué sur desktop */
.nav-hamburger { display: none !important; }

/* Overlay : masqué par défaut (tous écrans) */
.nav-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9001;
  visibility: hidden;
  opacity: 0;
  transition: opacity .28s ease, visibility .28s ease;
}

@media (max-width: 1023px) {

  /* ── Masquer desktop nav ── */
  .nav-menu,
  .nav-actions { display: none !important; }

  /* ── Hamburger ── */
  .nav-hamburger {
    display: flex !important;   /* !important pour surclasser le thème Act3 */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 9px;
    cursor: pointer;
    padding: 8px;
    margin-left: auto;
    flex-shrink: 0;
    transition: background .18s;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .nav-hamburger:hover { background: rgba(255,255,255,.13); }

  .nav-hamburger span {
    display: block !important;
    width: 18px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform .25s ease, opacity .2s ease, width .2s ease;
    transform-origin: center;
  }

  .nav-hamburger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-hamburger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
    width: 0;
  }
  .nav-hamburger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* ── Overlay ── */
  .nav-mobile-overlay {
    display: block !important;
  }

  .nav-mobile-overlay.is-open {
    visibility: visible !important;
    opacity: 1 !important;
  }

  /* Fond sombre semi-transparent */
  .nav-mobile-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
  }

  /* ── Tiroir latéral ── */
  .nav-mobile-drawer {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(340px, 100vw);
    background: rgba(7,10,24,0.98);
    border-left: 1px solid rgba(255,255,255,.08);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform .3s cubic-bezier(.25,.46,.45,.94);
    overflow: hidden;
  }

  .nav-mobile-overlay.is-open .nav-mobile-drawer {
    transform: translateX(0);
  }

  /* En-tête du tiroir */
  .nav-mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(255,255,255,.07);
    flex-shrink: 0;
  }

  .nav-mobile-logo {
    height: 38px;
    width: auto;
    display: block;
  }

  .nav-mobile-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 8px;
    cursor: pointer;
    color: rgba(255,255,255,.6);
    transition: background .18s, color .18s;
    flex-shrink: 0;
  }

  .nav-mobile-close:hover {
    background: rgba(255,255,255,.12);
    color: var(--white);
  }

  /* Zone scrollable */
  .nav-mobile-nav {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 6px 0;
  }

  .nav-mobile-list { list-style: none; }

  /* Trigger accordéon */
  .nav-mobile__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 13px 18px;
    background: none;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,.05);
    cursor: pointer;
    color: rgba(255,255,255,.9);
    font: 600 15px/1 'DM Sans', sans-serif;
    text-align: left;
    transition: background .15s;
  }

  .nav-mobile__trigger:hover { background: rgba(255,255,255,.04); }

  .nav-mobile__trigger .nav-chevron {
    color: rgba(255,255,255,.35);
    flex-shrink: 0;
    transition: transform .22s ease;
  }

  .nav-mobile__trigger[aria-expanded="true"] .nav-chevron {
    transform: rotate(180deg);
  }

  /* Panneau accordéon */
  .nav-mobile-submenu {
    display: none;
    background: rgba(255,255,255,.02);
    border-bottom: 1px solid rgba(255,255,255,.06);
  }

  .nav-mobile-submenu.is-open { display: block; }

  /* Accordéon niveau 2 (Attirer / Vendre / Conseiller etc.) */
  .nav-mobile-section { border-top: 1px solid rgba(255,255,255,.06); }

  .nav-mobile-section__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 11px 18px;
    background: none;
    border: none;
    color: rgba(255,255,255,.5);
    font: 600 10px/1 'DM Sans', sans-serif;
    text-transform: uppercase;
    letter-spacing: .1em;
    cursor: pointer;
    text-align: left;
    transition: color .15s;
  }
  .nav-mobile-section__trigger:hover { color: rgba(255,255,255,.8); }
  .nav-mobile-section__trigger .nav-chevron { transition: transform .22s; flex-shrink: 0; }
  .nav-mobile-section__trigger[aria-expanded="true"] { color: var(--orange); }
  .nav-mobile-section__trigger[aria-expanded="true"] .nav-chevron { transform: rotate(180deg); }

  .nav-mobile-section__list { list-style: none; display: none; padding: 0 0 8px; }
  .nav-mobile-section.is-open .nav-mobile-section__list { display: block; }
  
/* Listes directes (À propos, Ressources) — pas de wrapper .nav-mobile-section */
.nav-mobile-submenu.is-open > .nav-mobile-section__list { display: block; }
  
  .nav-mobile-section__list a {
    display: block;
    color: rgba(255,255,255,.65);
    text-decoration: none;
    font-size: 14px;
    padding: 9px 18px 9px 24px;
    transition: color .15s, background .15s;
  }

  .nav-mobile-section__list a:hover {
    color: var(--white);
    background: rgba(255,255,255,.04);
  }

  /* CTA bas d'accordéon */
  .nav-mobile-cta {
    display: block;
    color: var(--orange);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    padding: 12px 18px 14px 24px;
    transition: opacity .15s;
  }

  .nav-mobile-cta:hover { opacity: .75; }

  /* Pied du tiroir : boutons CTA */
  .nav-mobile-footer {
    padding: 14px 18px;
    border-top: 1px solid rgba(255,255,255,.07);
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
  }

  .btn--full {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
    font-size: 14.5px;
  }
}
.hero__stats {
  display: flex !important;
  gap: 40px;
  padding: 20px 0;
  margin-bottom: 32px;
  border-top: 1px solid rgba(255,255,255,0.15);
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.hero__stat-num {
  font-size: 30px !important;
  font-weight: 700 !important;
  color: var(--white) !important;
  letter-spacing: -0.02em;
  line-height: 1;
}
.hero__stat-num .unit { color: var(--orange); }
.hero__stat-lbl {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;

  .hero__price-note { white-space: nowrap; }

  
  /* Desktop — boutons côte à côte, prix en dessous */
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.hero__ctas .btn--primary { order: 1; }
.hero__ctas .btn--link    { order: 2; }
.hero__ctas .hero__price-note {
  order: 3;
  width: 100%;
  flex-basis: 100%;
  margin-top: 0;
}

/* Mobile — prix entre les 2 boutons */
@media (max-width: 640px) {
  .hero__ctas               { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero__ctas .btn--primary { order: 1; }
  .hero__ctas .hero__price-note { order: 2; }
  .hero__ctas .btn--link    { order: 3; }
}