/*
Theme Name: Helpulse0216-G
Theme URI: https://helpulse.com
Author: Helpulse
Description: Thème WordPress Helpulse v6.0 — CSS propre, zéro duplication
Version: 6.0
Text Domain: helpulse0216g
*/

/* ─────────────────────────────────────────────────────
   1. DESIGN TOKENS — une seule source de vérité
───────────────────────────────────────────────────── */
:root {
  --hp-violet:  #5B21B6;
  --hp-purple:  #7C3AED;
  --hp-fuchsia: #C026D3;
  --hp-pink:    #E879F9;
  --hp-ink:     #0D0A1A;
  --hp-white:   #FFFFFF;
  --hp-snow:    #F9F8FF;
  --hp-card:    #FFFFFF;
  --hp-text:    #1A1033;
  --hp-muted:   #64748B;
  --hp-border:  #E5E0F5;
  --hp-border2: #F0ECF9;

  --grad-brand: linear-gradient(135deg, #5B21B6 0%, #C026D3 100%);
  --grad-soft:  linear-gradient(135deg, rgba(91,33,182,.07), rgba(192,38,211,.05));
  --grad-dark:  linear-gradient(135deg, #0D0A1A 0%, #1E0838 55%, #0D0A1A 100%);
  --grad-text:  linear-gradient(135deg, #7C3AED 0%, #C026D3 100%);
  --grad-pink:  linear-gradient(135deg, #fff 0%, #E879F9 100%);

  --ff-head: 'Plus Jakarta Sans', system-ui, sans-serif;
  --ff-body: 'DM Sans', system-ui, sans-serif;

  --sp-1: .5rem; --sp-2: 1rem;   --sp-3: 1.5rem;
  --sp-4: 2rem;  --sp-5: 3rem;   --sp-6: 5rem;

  --r-sm: .5rem; --r-md: 1rem;   --r-lg: 1.5rem;
  --r-xl: 2rem;  --r-pill: 9999px;

  --sh-xs:    0 1px 4px rgba(91,33,182,.08);
  --sh-sm:    0 3px 12px rgba(91,33,182,.09);
  --sh-md:    0 6px 24px rgba(91,33,182,.12);
  --sh-lg:    0 16px 48px rgba(91,33,182,.15);
  --sh-xl:    0 28px 72px rgba(91,33,182,.18);
  --sh-card:  0 2px 12px rgba(91,33,182,.07);
  --sh-card-h:0 12px 36px rgba(91,33,182,.16);
  --sh-glow:  0 0 48px rgba(124,58,237,.28);

  --nav-h: 80px;
}

/* ─────────────────────────────────────────────────────
   2. RESET
───────────────────────────────────────────────────── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  overflow-x: hidden;
  /* overflow-y JAMAIS bloqué */
}
body {
  font-family: var(--ff-body);
  color: var(--hp-text);
  background: var(--hp-snow);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a   { color: var(--hp-purple); text-decoration: none; transition: color .2s; }
a:hover { color: var(--hp-violet); }
ul  { list-style: none; }
button { font-family: var(--ff-body); }

/* ─────────────────────────────────────────────────────
   3. TYPOGRAPHIE
───────────────────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--ff-head); font-weight: 700;
  line-height: 1.18; color: var(--hp-text);
}
h1 { font-size: clamp(2rem,5.5vw,3.8rem); font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: clamp(1.55rem,3.5vw,2.4rem); letter-spacing: -.02em; }
h3 { font-size: clamp(.95rem,2.5vw,1.25rem); }
p  { color: var(--hp-muted); line-height: 1.75; margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
.text-balance { text-wrap: balance; }
.text-center  { text-align: center; }
.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ─────────────────────────────────────────────────────
   4. LAYOUT
───────────────────────────────────────────────────── */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--sp-4); }
.section     { padding: var(--sp-6) 0; }
.section-alt { background: var(--hp-white); }

.section-header { text-align: center; max-width: 660px; margin: 0 auto var(--sp-5); }
.section-header h2 { margin-bottom: .5rem; }

.section-label {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .3rem .9rem;
  background: rgba(91,33,182,.08); color: var(--hp-purple);
  border: 1px solid rgba(91,33,182,.15); border-radius: var(--r-pill);
  font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .07em; margin-bottom: .85rem;
}
.section-label::before {
  content: ''; width: 6px; height: 6px;
  border-radius: 50%; background: var(--grad-brand); flex-shrink: 0;
}

.mb-xl { margin-bottom: var(--sp-5); }
.mt-lg { margin-top: var(--sp-4); }

/* ─────────────────────────────────────────────────────
   5. GRILLES
───────────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: var(--sp-3); }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--sp-3); }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--sp-3); }

/* ─────────────────────────────────────────────────────
   6. CARTES
───────────────────────────────────────────────────── */
.card {
  background: var(--hp-card); border: 1px solid var(--hp-border);
  border-radius: var(--r-lg); padding: var(--sp-4);
  box-shadow: var(--sh-card);
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.card:hover { border-color: rgba(124,58,237,.28); box-shadow: var(--sh-card-h); transform: translateY(-4px); }
.card-icon {
  width: 52px; height: 52px; display: flex; align-items: center; justify-content: center;
  background: var(--grad-soft); border: 1px solid var(--hp-border);
  border-radius: var(--r-md); font-size: 1.5rem; margin-bottom: var(--sp-3);
}
.card h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.card p  { font-size: .88rem; line-height: 1.7; margin-bottom: 0; }
.card-list { display: flex; flex-direction: column; gap: .4rem; margin-top: var(--sp-3); }
.card-list li { position: relative; padding: .28rem 0 .28rem 1.4rem; font-size: .85rem; color: var(--hp-muted); }
.card-list li::before { content: 'V'; position: absolute; left: 0; color: var(--hp-purple); font-weight: 700; font-size: .8rem; }

/* ─────────────────────────────────────────────────────
   7. BOUTONS
───────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .72rem 1.6rem; font-family: var(--ff-body); font-size: .92rem; font-weight: 600;
  border-radius: var(--r-pill); border: 2px solid transparent;
  cursor: pointer; transition: all .22s ease;
  text-decoration: none; white-space: nowrap; line-height: 1;
}
.btn-primary  { background: var(--grad-brand); color: #fff; box-shadow: 0 4px 14px rgba(124,58,237,.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(124,58,237,.45); color: #fff; }
.btn-white    { background: #fff; color: var(--hp-violet); border-color: #fff; font-weight: 700; }
.btn-white:hover { background: rgba(255,255,255,.92); box-shadow: 0 8px 22px rgba(0,0,0,.14); transform: translateY(-2px); color: var(--hp-violet); }
.btn-outline  { background: transparent; color: var(--hp-purple); border-color: var(--hp-border); }
.btn-outline:hover  { border-color: var(--hp-purple); background: var(--grad-soft); }
.btn-outline-dark   { background: transparent; color: var(--hp-purple); border-color: var(--hp-border); }
.btn-outline-dark:hover { border-color: var(--hp-purple); background: var(--grad-soft); }
.btn-sm { padding: .46rem 1.1rem; font-size: .82rem; }
.btn-lg { padding: .88rem 2rem;   font-size: 1.03rem; }

/* ─────────────────────────────────────────────────────
   8. HEADER
───────────────────────────────────────────────────── */
.site-header {
  /* ── STICKY HEADER — fonctionne sur tous supports ──
     Pour que position:sticky fonctionne, AUCUN ancêtre
     ne doit avoir overflow:hidden/auto/scroll. */
  position: sticky;
  position: -webkit-sticky; /* iOS Safari */
  top: 0;
  z-index: 200;
  height: var(--nav-h);
  background: rgba(249,248,255,.96);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--hp-border2);
  transition: box-shadow .3s;
  overflow: visible; /* Dropdowns desktop dépassent */
}
.site-header.scrolled { box-shadow: var(--sh-md); }

.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 var(--sp-4);
  height: var(--nav-h); display: flex; align-items: center;
  justify-content: space-between; gap: var(--sp-3);
  position: relative; z-index: 2;
}

.logo {
  display: flex; align-items: center; gap: .5rem;
  font-family: var(--ff-head); font-size: 1.35rem; font-weight: 800;
  color: var(--hp-text); letter-spacing: -.03em; flex-shrink: 0; text-decoration: none;
}
.logo:hover { color: var(--hp-text); }
.logo span  { background: var(--grad-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
/* ════════════════════════════════════════════════════
   ★ TAILLE DU LOGO HEADER — modifiez uniquement ici ★
   La valeur en px s'adapte automatiquement à tous les
   breakpoints via les media queries ci-dessous.
   ════════════════════════════════════════════════════ */
:root { --logo-h: 64px; }   /* ← CHANGEZ CETTE VALEUR */

.logo-img   { max-height: var(--logo-h); width: auto; display: block; object-fit: contain; }
.logo-icon  { width: 32px; height: 32px; background: var(--grad-brand); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.logo-icon svg { width: 16px; height: 16px; stroke: #fff; fill: none; stroke-width: 2.3; stroke-linecap: round; }

/* Nav desktop */
.nav-desktop { display: flex; align-items: center; gap: .15rem; flex: 1; justify-content: center; }
.nav-lnk {
  display: flex; align-items: center; gap: .22rem;
  padding: .46rem .82rem; border-radius: var(--r-sm);
  color: var(--hp-muted); font-weight: 500; font-size: .9rem;
  text-decoration: none; transition: all .2s; white-space: nowrap;
}
.nav-lnk:hover { color: var(--hp-text); background: var(--grad-soft); }

.nav-item-drop { position: relative; }
.nav-caret { width: 10px; height: 10px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
.nav-item-drop:hover .nav-caret { transform: rotate(180deg); }
.drop-menu {
  position: absolute; top: calc(100% + .5rem); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--hp-white); border: 1px solid var(--hp-border);
  border-radius: var(--r-lg); padding: .4rem; min-width: 230px; box-shadow: var(--sh-lg);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: all .22s cubic-bezier(.16,1,.3,1); z-index: 10;
}
.nav-item-drop:hover .drop-menu { opacity: 1; visibility: visible; pointer-events: all; transform: translateX(-50%) translateY(0); }
.drop-lnk { display: block; padding: .55rem 1rem; border-radius: var(--r-sm); color: var(--hp-muted); font-size: .86rem; font-weight: 500; text-decoration: none; transition: all .15s; }
.drop-lnk:hover { background: var(--grad-soft); color: var(--hp-purple); }

.header-cta { flex-shrink: 0; }

/* ─────────────────────────────────────────────────────
   9. HAMBURGER
───────────────────────────────────────────────────── */
.hbg-btn {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: .4rem; width: 40px; height: 40px; border-radius: var(--r-sm);
  flex-shrink: 0; position: relative; z-index: 210;
}
.hbg-bar {
  display: block; width: 22px; height: 2px;
  background: var(--hp-text); border-radius: 2px;
  transition: transform .28s cubic-bezier(.16,1,.3,1), opacity .28s, background .28s;
  transform-origin: center;
}
.hbg-btn.is-open .hbg-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hbg-btn.is-open .hbg-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hbg-btn.is-open .hbg-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─────────────────────────────────────────────────────
   10. MENU MOBILE
   ─────────────────────────────────────────────────────
   ARCHITECTURE FINALE :
   - position:fixed, top:var(--nav-h) — jamais dans le flux de la page
   - Fermé → opacity:0 + visibility:hidden + pointer-events:none
     Les clics TRAVERSENT vers le contenu en dessous
   - Ouvert → opacity:1 + visibility:visible + pointer-events:auto
   - ZERO body.overflow manipulation
───────────────────────────────────────────────────── */
.mob-menu {
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  z-index: 190;
  background: var(--hp-white);
  border-bottom: 1px solid var(--hp-border);
  box-shadow: 0 20px 50px rgba(13,10,26,.15);
  max-height: calc(100svh - var(--nav-h));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  /* FERMÉ : invisible ET non-interactif */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .25s ease, visibility .25s ease, transform .25s ease;
}
/* OUVERT */
.mob-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.mob-inner { padding: var(--sp-3); }
.mob-lnk {
  display: flex; align-items: center; gap: .65rem;
  padding: .82rem var(--sp-2); font-size: .97rem; font-weight: 600;
  color: var(--hp-text); border-radius: var(--r-md); margin-bottom: .18rem;
  text-decoration: none; transition: background .15s, color .15s;
}
.mob-lnk:hover { background: var(--grad-soft); color: var(--hp-purple); }
.mob-lnk-icon  { font-size: 1.05rem; width: 24px; flex-shrink: 0; }
.mob-group { background: var(--hp-snow); border-radius: var(--r-sm); padding: .3rem .4rem; margin-bottom: .45rem; }
.mob-sub-lnk {
  display: block; padding: .54rem var(--sp-2); font-size: .87rem;
  color: var(--hp-muted); border-radius: var(--r-sm); text-decoration: none; transition: all .14s;
}
.mob-sub-lnk:hover { color: var(--hp-purple); background: rgba(124,58,237,.06); }
.mob-sep { height: 1px; background: var(--hp-border); margin: .65rem 0; }
.mob-footer-cta { margin-top: var(--sp-2); }
.mob-footer-cta .btn { width: 100%; justify-content: center; }

/* Overlay */
.mob-overlay {
  position: fixed; inset: 0; top: var(--nav-h);
  background: rgba(13,10,26,.4); z-index: 180;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .28s ease, visibility .28s ease;
}
.mob-overlay.is-on { opacity: 1; visibility: visible; pointer-events: auto; }

/* ─────────────────────────────────────────────────────
   11. VISIBILITÉ RESPONSIVE DU HEADER
───────────────────────────────────────────────────── */
/* Desktop ≥ 1024px : nav visible, éléments mobile masqués */
@media (min-width: 1024px) {
  .hbg-btn     { display: none !important; }
  .mob-menu    { display: none !important; }
  .mob-overlay { display: none !important; }
}
/* Tablette & Mobile < 1024px : nav desktop masquée, hamburger visible */
@media (max-width: 1023px) {
  .nav-desktop  { display: none !important; }
  .hbg-btn      { display: flex !important; }
  .header-inner { padding: 0 .85rem; gap: .5rem; }
  .logo-img     { height: auto; width: auto; max-height: calc(var(--logo-h) * .88); max-width: calc(100vw - 200px); }

  /* Bouton Calendly visible sur mobile entre logo et hamburger */
  .header-cta   { display: flex !important; align-items: center; flex-shrink: 0; }
  .header-cta .btn { padding: .35rem .7rem; font-size: .75rem; white-space: nowrap; }
}

/* ─────────────────────────────────────────────────────
   12. HERO
───────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 90vh; display: flex; align-items: center;
  background: var(--grad-dark); color: #fff; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 70% 60% at 18% 50%, rgba(124,58,237,.28) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 82% 60%, rgba(192,38,211,.2)  0%, transparent 60%);
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background-image: linear-gradient(rgba(255,255,255,.022) 1px,transparent 1px), linear-gradient(90deg,rgba(255,255,255,.022) 1px,transparent 1px);
  background-size: 60px 60px;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .07; }
.hero-content { position: relative; z-index: 2; padding: var(--sp-5) 0; text-align: center; max-width: 840px; margin: 0 auto; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--r-pill); padding: .36rem .95rem .36rem .45rem;
  font-size: .78rem; font-weight: 600; color: rgba(255,255,255,.85); margin-bottom: 1.65rem; letter-spacing: .04em;
}
.hero-badge-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--hp-pink);
  box-shadow: 0 0 0 3px rgba(232,121,249,.25); animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%,100% { box-shadow: 0 0 0 3px rgba(232,121,249,.25); }
  50%      { box-shadow: 0 0 0 7px rgba(232,121,249,.04); }
}
.hero h1 { color: #fff; margin-bottom: var(--sp-3); }
.hero h1 em { font-style: normal; background: var(--grad-pink); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-sub { font-size: 1.08rem; color: rgba(255,255,255,.72); max-width: 580px; margin: 0 auto var(--sp-5); line-height: 1.78; }
.hero-actions { display: flex; gap: var(--sp-3); justify-content: center; flex-wrap: wrap; margin-bottom: var(--sp-6); }
.hero-stats { display: flex; justify-content: center; gap: var(--sp-5); flex-wrap: wrap; padding-top: var(--sp-5); border-top: 1px solid rgba(255,255,255,.1); }
.hero-stat { text-align: center; }
.hero-stat strong { display: block; font-family: var(--ff-head); font-size: 2rem; font-weight: 800; line-height: 1; margin-bottom: .28rem; background: var(--grad-pink); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-stat span { font-size: .74rem; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.hero-wave { position: absolute; bottom: -1px; left: 0; right: 0; z-index: 3; line-height: 0; }
.hero-wave svg { display: block; width: 100%; }

/* ─────────────────────────────────────────────────────
   13. PAGE HEADER
───────────────────────────────────────────────────── */
.page-header { padding: var(--sp-5) 0; text-align: center; background: var(--hp-snow); border-bottom: 1px solid var(--hp-border); }
.page-header h1 { margin-bottom: .7rem; }
.page-header p  { font-size: 1.02rem; max-width: 560px; margin: 0 auto; }
.page-header-dark { background: var(--grad-dark); color: #fff; position: relative; overflow: hidden; padding: var(--sp-6) 0; }
.page-header-dark::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 80% at 30% 50%, rgba(124,58,237,.3) 0%, transparent 70%); }
.page-header-dark .container { position: relative; z-index: 1; }
.page-header-dark h1 { color: #fff; }
.page-header-dark p  { color: rgba(255,255,255,.72); }
.page-header-dark em { font-style: normal; background: var(--grad-pink); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ─────────────────────────────────────────────────────
   14. FEATURE ROW
───────────────────────────────────────────────────── */
/* Photo mobile dupliquée — cachée par défaut sur desktop */
.feature-image-mobile { display: none; }

.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-6); align-items: center; }
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }
.feature-image { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-xl); }
.feature-image img { width: 100%; height: 100%; object-fit: cover; min-height: 350px; transition: transform .5s; }
.feature-image:hover img { transform: scale(1.03); }
.feature-content h2 { margin-bottom: .65rem; }
.feature-content p  { font-size: .97rem; margin-bottom: var(--sp-4); }
.feature-actions { display: flex; gap: var(--sp-2); flex-wrap: wrap; }

/* ─────────────────────────────────────────────────────
   15. STEPS
───────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--sp-3); }
.step { text-align: center; padding: var(--sp-4); background: var(--hp-card); border: 1px solid var(--hp-border); border-radius: var(--r-lg); transition: all .3s; }
.step:hover { border-color: rgba(124,58,237,.3); box-shadow: var(--sh-card-h); transform: translateY(-4px); }
.step-number { width: 50px; height: 50px; border-radius: var(--r-pill); background: var(--grad-brand); color: #fff; font-family: var(--ff-head); font-size: 1.15rem; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto var(--sp-3); box-shadow: 0 4px 14px rgba(124,58,237,.35); }
.step h3 { font-size: 1rem; margin-bottom: .4rem; }
.step p  { font-size: .86rem; margin-bottom: 0; }

/* ─────────────────────────────────────────────────────
   16. CTA BANNER
───────────────────────────────────────────────────── */
.cta-banner { background: var(--grad-brand); color: #fff; padding: var(--sp-6) var(--sp-5); border-radius: var(--r-xl); text-align: center; position: relative; overflow: hidden; box-shadow: var(--sh-glow); }
.cta-banner::before { content: ''; position: absolute; top: -60%; right: -10%; width: 500px; height: 500px; border-radius: 50%; background: rgba(255,255,255,.05); }
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2  { color: #fff; margin-bottom: .65rem; }
.cta-banner p   { color: rgba(255,255,255,.8); font-size: 1rem; max-width: 520px; margin: 0 auto var(--sp-4); }

/* ─────────────────────────────────────────────────────
   17. BLOG
───────────────────────────────────────────────────── */
.blog-featured { display: grid; grid-template-columns: 1fr 1fr; background: var(--hp-card); border: 1px solid var(--hp-border); border-radius: var(--r-xl); overflow: hidden; text-decoration: none; color: inherit; transition: all .3s; box-shadow: var(--sh-card); }
.blog-featured:hover { box-shadow: var(--sh-card-h); transform: translateY(-4px); border-color: rgba(124,58,237,.2); color: inherit; }
.blog-featured-image { min-height: 340px; overflow: hidden; }
.blog-featured-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.blog-featured:hover .blog-featured-image img { transform: scale(1.04); }
.blog-featured-content { padding: var(--sp-5); display: flex; flex-direction: column; }
.blog-meta { display: flex; gap: .7rem; margin-bottom: .9rem; flex-wrap: wrap; align-items: center; }
.blog-category { background: rgba(124,58,237,.08); color: var(--hp-purple); padding: .2rem .75rem; border-radius: var(--r-pill); font-size: .74rem; font-weight: 700; border: 1px solid rgba(124,58,237,.15); }
.blog-time { color: var(--hp-muted); font-size: .78rem; }
.blog-featured-content h2 { font-size: clamp(1.3rem,2.5vw,1.75rem); margin-bottom: .65rem; line-height: 1.25; }
.blog-featured-content > p { font-size: .93rem; flex: 1; }
.blog-footer { display: flex; justify-content: space-between; align-items: center; margin-top: var(--sp-4); padding-top: .9rem; border-top: 1px solid var(--hp-border); }
.blog-date { color: var(--hp-muted); font-size: .78rem; }
.blog-link { color: var(--hp-purple); font-weight: 600; font-size: .86rem; }
.blog-card { display: flex; flex-direction: column; background: var(--hp-card); border: 1px solid var(--hp-border); border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: inherit; transition: all .3s; box-shadow: var(--sh-card); }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--sh-card-h); border-color: rgba(124,58,237,.2); color: inherit; }
.blog-card-image { width: 100%; height: 195px; overflow: hidden; }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.blog-card:hover .blog-card-image img { transform: scale(1.05); }
.blog-card-body { padding: var(--sp-3); flex: 1; display: flex; flex-direction: column; }
.blog-card-body h3 { font-size: .98rem; margin-bottom: .4rem; line-height: 1.3; }
.blog-card-body p  { font-size: .85rem; flex: 1; }

/* ─────────────────────────────────────────────────────
   18. CONTACT
───────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: var(--sp-5); align-items: start; }
.contact-info, .form-card { background: var(--hp-card); padding: var(--sp-5); border-radius: var(--r-lg); border: 1px solid var(--hp-border); box-shadow: var(--sh-card); }
.contact-item { display: flex; align-items: flex-start; gap: .9rem; padding: .85rem; background: var(--hp-snow); border-radius: var(--r-md); margin-bottom: .65rem; border: 1px solid var(--hp-border2); }
.contact-icon { width: 36px; height: 36px; background: var(--grad-brand); color: #fff; border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: .9rem; }
.form-group   { margin-bottom: 1rem; }
.form-label   { display: block; margin-bottom: .35rem; font-weight: 600; font-size: .86rem; color: var(--hp-text); }
.form-input, .form-select, .form-textarea { width: 100%; padding: .68rem .95rem; border: 1.5px solid var(--hp-border); border-radius: var(--r-md); font-family: var(--ff-body); font-size: .9rem; color: var(--hp-text); background: var(--hp-snow); transition: all .22s; appearance: none; }
.form-input:focus, .form-select:focus, .form-textarea:focus { outline: none; border-color: var(--hp-purple); background: var(--hp-white); box-shadow: 0 0 0 3px rgba(124,58,237,.1); }
.form-textarea { min-height: 130px; resize: vertical; }
.form-checkbox { display: flex; align-items: flex-start; gap: .65rem; font-size: .85rem; color: var(--hp-muted); }
.form-checkbox input { margin-top: .18rem; flex-shrink: 0; accent-color: var(--hp-purple); }
.form-submit   { width: 100%; }

/* ─────────────────────────────────────────────────────
   19. FAQ
───────────────────────────────────────────────────── */
.faq-hero-section  { padding-bottom: calc(var(--sp-6) + 20px); }
.faq-hero-label    { background: rgba(255,255,255,.12) !important; color: #fff !important; border-color: rgba(255,255,255,.2) !important; }
.faq-hero-desc     { max-width: 560px; margin: 0 auto var(--sp-4); font-size: 1.05rem; }
.faq-hero-counts   { display: inline-flex; align-items: center; gap: var(--sp-3); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-pill); padding: .6rem var(--sp-3); margin-top: var(--sp-2); }
.faq-hero-count    { text-align: center; }
.faq-hero-count strong { display: block; font-family: var(--ff-head); font-size: 1.4rem; font-weight: 800; color: #fff; line-height: 1; margin-bottom: .18rem; }
.faq-hero-count span   { font-size: .72rem; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.faq-hero-count-sep    { width: 1px; height: 32px; background: rgba(255,255,255,.15); flex-shrink: 0; }

.faq-filters    { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.faq-filter-btn { display: inline-flex; align-items: center; gap: .4rem; padding: .44rem 1.1rem; border-radius: var(--r-pill); background: transparent; border: 1.5px solid var(--hp-border); color: var(--hp-muted); font-family: var(--ff-body); font-size: .83rem; font-weight: 600; cursor: pointer; transition: all .2s; white-space: nowrap; }
.faq-filter-btn:hover  { border-color: rgba(124,58,237,.35); color: var(--hp-purple); background: var(--grad-soft); }
.faq-filter-btn.active { background: var(--grad-brand); border-color: transparent; color: #fff; box-shadow: 0 3px 10px rgba(124,58,237,.3); }

.faq-accordion-wrap { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: var(--sp-5); }
.faq-group-header   { display: flex; align-items: center; gap: var(--sp-2); margin-bottom: var(--sp-3); padding-bottom: var(--sp-2); border-bottom: 2px solid var(--hp-border); }
.faq-group-icon     { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: var(--grad-soft); border: 1px solid var(--hp-border); border-radius: var(--r-md); font-size: 1.4rem; flex-shrink: 0; }
.faq-group-title    { font-size: 1.2rem; font-weight: 700; color: var(--hp-text); flex: 1; margin: 0; }
.faq-group-count    { font-size: .74rem; font-weight: 700; color: var(--hp-muted); background: var(--hp-snow); border: 1px solid var(--hp-border); border-radius: var(--r-pill); padding: .2rem .7rem; white-space: nowrap; }
.faq-group.hidden   { display: none; }

.faq-item { background: var(--hp-card); border: 1.5px solid var(--hp-border); border-radius: var(--r-lg); overflow: hidden; margin-bottom: .6rem; transition: border-color .22s, box-shadow .22s; }
.faq-item:hover  { border-color: rgba(124,58,237,.3); }
.faq-item.faq-open { border-color: rgba(124,58,237,.38); box-shadow: var(--sh-sm); }

.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); padding: 1.1rem var(--sp-4); background: transparent; border: none; cursor: pointer; text-align: left; font-family: var(--ff-body); font-size: 1rem; font-weight: 600; color: var(--hp-text); line-height: 1.4; transition: background .18s; }
.faq-q:hover { background: rgba(124,58,237,.03); }
.faq-item.faq-open .faq-q { background: linear-gradient(135deg,rgba(91,33,182,.04),rgba(192,38,211,.025)); color: var(--hp-purple); }

.faq-chevron { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--grad-soft); border: 1px solid var(--hp-border); flex-shrink: 0; transition: all .28s cubic-bezier(.16,1,.3,1); }
.faq-chevron svg { width: 14px; height: 14px; stroke: var(--hp-purple); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .28s cubic-bezier(.16,1,.3,1); }
.faq-item.faq-open .faq-chevron { background: rgba(124,58,237,.12); border-color: rgba(124,58,237,.28); }
.faq-item.faq-open .faq-chevron svg { transform: rotate(180deg); }

.faq-a { max-height: 0; overflow: hidden; transition: max-height .38s cubic-bezier(.16,1,.3,1); }
.faq-item.faq-open .faq-a { max-height: 600px; }
.faq-a-inner { padding: var(--sp-2) var(--sp-4) var(--sp-4); border-top: 1px solid var(--hp-border2); }
.faq-a-inner p { font-size: .95rem; line-height: 1.78; color: var(--hp-muted); margin-bottom: .6rem; }
.faq-a-inner p:last-child { margin-bottom: 0; }
.faq-a-inner strong { color: var(--hp-text); font-weight: 700; }

/* ─────────────────────────────────────────────────────
   20. FOOTER
───────────────────────────────────────────────────── */
.site-footer { background: var(--hp-ink); color: rgba(255,255,255,.65); padding: var(--sp-6) 0 var(--sp-4); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--sp-5); margin-bottom: var(--sp-5); padding-bottom: var(--sp-5); border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand .logo { color: #fff; margin-bottom: var(--sp-3); }
.footer-brand .logo:hover { color: #fff; }
.footer-brand p { color: rgba(255,255,255,.45); font-size: .86rem; line-height: 1.75; margin-bottom: 0; }
.footer-logo-img { max-height: 52px; width: auto; display: block; object-fit: contain; }
.site-footer h4 { font-family: var(--ff-head); color: #fff; font-size: .88rem; font-weight: 700; margin-bottom: 1.1rem; letter-spacing: .02em; }
.footer-links   { display: flex; flex-direction: column; gap: .6rem; }
.footer-links a { color: rgba(255,255,255,.45); font-size: .86rem; transition: color .2s, transform .2s; display: inline-block; }
.footer-links a:hover { color: #fff; transform: translateX(3px); }
.footer-bottom  { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .9rem; font-size: .78rem; color: rgba(255,255,255,.35); }
.footer-legal   { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.footer-legal a { color: rgba(255,255,255,.35); font-size: .78rem; }
.footer-legal a:hover { color: rgba(255,255,255,.7); }

/* ─────────────────────────────────────────────────────
   21. SCROLL TO TOP
───────────────────────────────────────────────────── */
.scroll-top-btn { position: fixed; bottom: 1.75rem; right: 1.75rem; width: 42px; height: 42px; background: var(--grad-brand); color: #fff; border: none; border-radius: var(--r-pill); cursor: pointer; opacity: 0; visibility: hidden; transition: all .3s; z-index: 99; box-shadow: 0 4px 14px rgba(124,58,237,.4); display: flex; align-items: center; justify-content: center; }
.scroll-top-btn svg { width: 16px; height: 16px; stroke: #fff; fill: none; stroke-width: 2.5; stroke-linecap: round; }
.scroll-top-btn.visible { opacity: 1; visibility: visible; }
.scroll-top-btn:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(124,58,237,.5); }

/* ─────────────────────────────────────────────────────
   22. REVEAL ANIMATIONS
───────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.delay-1,.d1 { transition-delay: .1s; }
.delay-2,.d2 { transition-delay: .2s; }
.delay-3,.d3 { transition-delay: .3s; }
.delay-4,.d4 { transition-delay: .4s; }


/* ═══════════════════════════════════════════════════════════
   24. NOUVEAUX COMPOSANTS — Calendly · Réseaux sociaux · Footer logo
═══════════════════════════════════════════════════════════ */

/* Footer : logo wrapper */
.footer-logo-link {
  display: inline-flex;
  align-items: center;
  margin-bottom: var(--sp-3);
  text-decoration: none;
  transition: opacity .2s;
}
.footer-logo-link:hover { opacity: .8; }

/* Footer : icônes réseaux sociaux */
.footer-socials {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  margin-top: var(--sp-2);
}
.footer-social {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-md);
  color: rgba(255,255,255,.55);
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
  flex-shrink: 0;
}
.footer-social:hover {
  background: rgba(255,255,255,.15);
  color: #fff;
  border-color: rgba(255,255,255,.3);
  transform: translateY(-2px);
}
.footer-social svg { display: block; flex-shrink: 0; }

/* Menu mobile : icônes réseaux sociaux */
.mob-socials {
  display: flex;
  gap: .55rem;
  align-items: center;
  padding: .5rem 0;
  flex-wrap: wrap;
}
.mob-social-lnk {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: var(--hp-snow);
  border: 1px solid var(--hp-border);
  border-radius: var(--r-md);
  color: var(--hp-muted);
  text-decoration: none;
  transition: background .15s, color .15s, border-color .15s;
  flex-shrink: 0;
}
.mob-social-lnk:hover {
  background: var(--grad-soft);
  color: var(--hp-purple);
  border-color: rgba(124,58,237,.3);
}
.mob-social-lnk svg { display: block; flex-shrink: 0; }

/* ── Calendly banner (page contact) ── */
.calendly-cta-block {
  background: linear-gradient(135deg, rgba(91,33,182,.07), rgba(192,38,211,.05));
  border: 1.5px solid rgba(124,58,237,.2);
  border-radius: var(--r-xl);
  padding: var(--sp-4);
  text-align: center;
  margin-bottom: var(--sp-5);
}
.calendly-cta-block .calendly-icon {
  font-size: 2.2rem;
  margin-bottom: .65rem;
}
.calendly-cta-block h3 {
  font-size: 1.3rem;
  margin-bottom: .5rem;
  color: var(--hp-text);
}
.calendly-cta-block p {
  font-size: .93rem;
  max-width: 480px;
  margin: 0 auto var(--sp-3);
}
.calendly-cta-block .btn { margin: 0 auto; }

/* ── Boutons CTA côte à côte (contact page) ── */
.dual-cta {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: var(--sp-5);
}
.dual-cta-item {
  flex: 1 1 280px;
  background: var(--hp-card);
  border: 1.5px solid var(--hp-border);
  border-radius: var(--r-xl);
  padding: var(--sp-4);
  text-align: center;
  box-shadow: var(--sh-card);
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.dual-cta-item:hover {
  border-color: rgba(124,58,237,.3);
  box-shadow: var(--sh-card-h);
  transform: translateY(-3px);
}
.dual-cta-item.highlighted {
  border-color: rgba(124,58,237,.4);
  background: linear-gradient(135deg, rgba(91,33,182,.04), rgba(192,38,211,.03));
}
.dual-cta-item .cta-icon { font-size: 2rem; margin-bottom: .65rem; }
.dual-cta-item h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.dual-cta-item p  { font-size: .86rem; margin-bottom: var(--sp-3); }

/* ═══════════════════════════════════════════════════════════
   25. RESPONSIVE MOBILE — REFONTE COMPLÈTE & DÉFINITIVE
   • Zéro scroll horizontal  
   • Menu mobile sans scroll interne — visible en entier  
   • Marges min 1rem partout  
   • Grilles 1 colonne  
   • Images contenues  
═══════════════════════════════════════════════════════════ */

/* ── Règle fondamentale anti-overflow ── */
html, body { max-width: 100%; overflow-x: hidden; }
* { min-width: 0; } /* Empêche les flex/grid children de dépasser */

/* ══ TABLETTE 1024px ══════════════════════════════════════ */
@media (max-width: 1024px) {

  /* Logo header */
  .logo-img { max-height: calc(var(--logo-h) * .9); max-width: calc(100vw - 110px); width: auto; }

  /* Grilles 3-4 col → 2 col */
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }

  /* Footer 4 col → 2 col */
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); }

  /* Feature rows empilées */
  .feature-row,
  .feature-row.reverse { display: flex !important; flex-direction: column !important; direction: ltr; gap: var(--sp-4); }
  .feature-image img { min-height: 260px; }

  /* Contact et blog */
  .contact-grid  { grid-template-columns: 1fr; }
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured-image { min-height: 240px; }

  /* Steps : 3 → 2 col */
  .steps { grid-template-columns: repeat(2, 1fr); }
}

/* ══ MOBILE 768px ═════════════════════════════════════════ */
@media (max-width: 768px) {

  :root {
    --sp-5: 2.5rem;
    --sp-6: 3.5rem;
    --nav-h: 70px;
  }

  /* ── Typographie ── */
  h1 { font-size: clamp(1.7rem, 7.5vw, 2.1rem); letter-spacing: -.02em; }
  h2 { font-size: clamp(1.3rem, 6vw, 1.6rem); }
  h3 { font-size: 1.02rem; }
  p  { font-size: .9rem; }

  /* ── Layout ── */
  .container { padding: 0 1.1rem; }
  .section   { padding: var(--sp-5) 0; }

  /* ── Toutes les grilles → 1 colonne ── */
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 1rem; }
  .steps { grid-template-columns: 1fr; gap: 1rem; }
  .section-header { margin-bottom: var(--sp-4); }

  /* ── HEADER ── */
  .header-inner { padding: 0 1rem; }
  .logo-img     { max-height: calc(var(--logo-h) * .8); max-width: calc(100vw - 120px); width: auto; }

  /* ── MENU MOBILE — sans scroll, affiché en entier ──
     On passe de max-height calculée à overflow-y:auto
     avec scroll fluide quand le contenu est vraiment trop long
     (rare sur smartphones récents en orientation portrait) */
  .mob-menu {
    top: var(--nav-h);
    max-height: calc(100dvh - var(--nav-h)); /* dvh = viewport dynamique iOS */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    /* Pour éviter le double-scroll on verrouille le body via JS */
  }

  .mob-inner   { padding: .85rem 1rem 1.25rem; }
  .mob-lnk     { padding: .65rem .85rem; font-size: .93rem; gap: .55rem; margin-bottom: .12rem; }
  .mob-sub-lnk { padding: .4rem .85rem; font-size: .84rem; }
  .mob-group   { padding: .2rem .3rem; margin-bottom: .3rem; }
  .mob-sep     { margin: .5rem 0; }
  .mob-socials { padding: .4rem 0; gap: .5rem; }
  .mob-footer-cta { margin-top: .6rem; }
  .mob-footer-cta .btn { font-size: .87rem; padding: .68rem 1rem; width: 100%; justify-content: center; margin-bottom: .5rem; }

  /* ── HERO ── */
  .hero { min-height: auto; padding: var(--sp-4) 0 4rem; }
  .hero-content { padding: var(--sp-3) 0; }
  .hero-badge { font-size: .72rem; padding: .28rem .8rem .28rem .4rem; }
  .hero-sub { font-size: .95rem; padding: 0 .25rem; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: .75rem; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats { gap: 1.5rem 2.5rem; flex-wrap: wrap; justify-content: center; padding-top: var(--sp-3); }
  .hero-stat strong { font-size: 1.65rem; }
  .hero-stat span { font-size: .72rem; }

  /* ── Page headers ── */
  .page-header      { padding: var(--sp-4) 0; }
  .page-header-dark { padding: var(--sp-4) 0; }
  .page-header h1   { font-size: clamp(1.5rem, 7vw, 1.9rem); }
  .page-header p    { font-size: .92rem; }

  /* ── Feature rows ── */
  .feature-row, .feature-row.reverse { display: flex !important; flex-direction: column !important; direction: ltr; gap: var(--sp-3); }
  .feature-image img { min-height: 200px; max-height: 300px; object-fit: cover; width: 100%; }
  .feature-content p { font-size: .9rem; }
  .feature-content { text-align: center; }
  .feature-content p,
  .feature-content .card-list { text-align: left; }

  /* ── Feature image mobile : masque l'originale, affiche la dupliquée ── */
  .feature-row .feature-image { display: none; }
  .feature-image-mobile { display: block; margin: 0 auto 1.5rem; }
  .feature-image-mobile img { width: 260px; height: 260px; object-fit: cover; border-radius: var(--r-lg); margin: 0 auto; min-height: unset; max-height: unset; }

  .feature-actions { flex-direction: column; align-items: stretch; gap: .65rem; }
  .feature-actions .btn { width: 100%; justify-content: center; }

  /* ── Cards ── */
  .card { padding: 1.15rem; }
  .card-icon { width: 44px; height: 44px; font-size: 1.3rem; margin-bottom: var(--sp-2); }
  .card h3 { font-size: 1rem; }
  .card p { font-size: .86rem; }

  /* ── Steps ── */
  .step { padding: 1.25rem; }
  .step-number { width: 44px; height: 44px; font-size: 1rem; margin-bottom: var(--sp-2); }

  /* ── CTA banner ── */
  .cta-banner { padding: var(--sp-4) 1.25rem; border-radius: var(--r-lg); }
  .cta-banner h2 { font-size: clamp(1.25rem, 5.5vw, 1.55rem); }
  .cta-banner p { font-size: .9rem; }
  .cta-banner .btn { width: 100%; justify-content: center; }

  /* ── Blog ── */
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured-image { min-height: 200px; }
  .blog-featured-content { padding: var(--sp-3); }
  .blog-featured-content h2 { font-size: 1.2rem; }
  .blog-card-image { height: 185px; }

  /* ── Contact ── */
  .contact-grid { grid-template-columns: 1fr; gap: var(--sp-3); }
  .contact-info, .form-card { padding: 1.25rem; }

  /* ── FAQ ── */
  .faq-hero-counts { flex-wrap: wrap; gap: var(--sp-2); justify-content: center; }
  .faq-hero-count-sep { display: none; }
  .faq-filters {
    display: flex; gap: .35rem;
    overflow-x: auto; flex-wrap: nowrap;
    padding-bottom: .4rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .faq-filters::-webkit-scrollbar { display: none; }
  .faq-filter-btn { font-size: .78rem; padding: .38rem .85rem; white-space: nowrap; flex-shrink: 0; }
  .faq-q { padding: .9rem 1rem; font-size: .92rem; gap: .65rem; }
  .faq-a-inner { padding: .85rem 1rem 1.25rem; }
  .faq-a-inner p { font-size: .9rem; }
  .faq-group-title { font-size: 1rem; }
  .faq-accordion-wrap { gap: var(--sp-4); }
  .faq-group-icon { width: 38px; height: 38px; font-size: 1.2rem; }

  /* ── Footer ── */
  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-3); }
  .footer-logo-img { max-height: 44px; }
  .footer-socials { justify-content: flex-start; gap: .5rem; }
  .footer-social { width: 34px; height: 34px; }
  .footer-bottom { flex-direction: column; text-align: center; align-items: center; gap: .6rem; }
  .footer-legal { flex-direction: column; align-items: center; gap: .4rem; }

  /* ── Dual CTA contact ── */
  .dual-cta { flex-direction: column; gap: 1rem; }
  .dual-cta-item { flex: 1 1 auto; }

  /* ── Scroll top ── */
  .scroll-top-btn { bottom: 1.25rem; right: 1.1rem; }

  /* ── Articles ── */
  .article-body { font-size: .95rem; line-height: 1.8; }
  .article-body h2 { font-size: 1.2rem; }

  /* ── GRILLES INLINE (créées avec style="" dans les templates) ──
     Cible les grid 2-col et 3-col écrits en inline style */
  div[style*="grid-template-columns:1fr 1fr"],
  div[style*="grid-template-columns: 1fr 1fr"],
  div[style*="grid-template-columns:1fr 1fr 1fr"],
  div[style*="grid-template-columns: 1fr 1fr 1fr"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
  }

  /* ── Bandeau icônes réassurance contact ── */
  div[style*="display:flex"][style*="flex-wrap:wrap"][style*="gap:2rem"] {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: .6rem !important;
  }
}

/* ══ MOBILE 480px ═════════════════════════════════════════ */
@media (max-width: 480px) {

  :root { --sp-5: 2rem; --sp-6: 3rem; --nav-h: 66px; }

  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.25rem; }

  .container { padding: 0 .95rem; }
  .logo-img { max-height: calc(var(--logo-h) * .75); }
  .footer-logo-img { max-height: 38px; }

  .btn-lg { padding: .78rem 1.2rem; font-size: .91rem; }

  .hero-badge { font-size: .68rem; }
  .section-label { font-size: .7rem; }

  .hero-stats { flex-direction: column; align-items: center; gap: var(--sp-2); }
  .hero-stat strong { font-size: 1.5rem; }

  .cta-banner { padding: 1.5rem .95rem; }
  .cta-banner h2 { font-size: 1.2rem; }

  .blog-card-image { height: 165px; }
  .blog-card-body { padding: 1rem; }

  .step { padding: 1.1rem; }
  .card { padding: 1rem; }

  .faq-q { padding: .85rem .9rem; font-size: .9rem; }
  .faq-a-inner { padding: .75rem .9rem 1.1rem; }

  .contact-info, .form-card { padding: 1.1rem; }

  .page-header-dark { padding: var(--sp-3) 0; }

  /* Menu mobile encore plus compact */
  .mob-lnk { padding: .58rem .75rem; font-size: .9rem; }
  .mob-inner { padding: .7rem .85rem 1rem; }
}

/* ══ TRÈS PETIT MOBILE 360px ══════════════════════════════ */
@media (max-width: 360px) {
  :root { --nav-h: 62px; }
  .container { padding: 0 .8rem; }
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.15rem; }
  .logo-img { max-height: 50px; max-width: calc(100vw - 175px); }
  .mob-lnk { font-size: .87rem; padding: .52rem .7rem; }
  .hero-stat strong { font-size: 1.35rem; }
  /* Bouton encore plus compact sur 360px */
  .header-cta .btn { padding: .3rem .55rem; font-size: .7rem; }
}

/* ═══════════════════════════════════════════════════════════
   29. CARTES / VIGNETTES — centrage icône + titre + sous-titre
   Les paragraphes à l'intérieur restent alignés à gauche.
═══════════════════════════════════════════════════════════ */

/* Centrage de l'icône, du h3 et du sous-titre dans toutes les cards */
.card {
  text-align: center; /* Centre icône et titre */
}
.card .card-icon {
  margin-left: auto;
  margin-right: auto;
}
.card p,
.card .card-list,
.card ul {
  text-align: left; /* Paragraphes et listes restent à gauche */
}

/* Pareil pour les steps */
.step {
  text-align: center;
}
.step p {
  text-align: left;
}

/* Cards inline (grilles inline dans solutions.php etc.) */
div[style*="padding:1.5rem"][style*="border:1px"] {
  text-align: center;
}
div[style*="padding:1.5rem"][style*="border:1px"] p {
  text-align: left;
}

/* Stats cards (impact global) */
.card[style*="text-align:center"] p {
  text-align: center; /* Courtes descriptions sous les chiffres restent centrées */
}

/* ═══════════════════════════════════════════════════════════
   30. BOUTONS MOBILES — centrage et dimensionnement correct
═══════════════════════════════════════════════════════════ */

@media (max-width: 768px) {

  /* Tous les groupes de boutons (feature-actions, cta, etc.) */
  .feature-actions,
  .hero-actions,
  .cta-actions,
  .btn-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .75rem;
    width: 100%;
  }

  /* Chaque bouton prend toute la largeur et se centre */
  .feature-actions .btn,
  .hero-actions .btn,
  .cta-actions .btn,
  .btn-group .btn {
    width: 100%;
    max-width: 360px;
    justify-content: center;
    text-align: center;
  }

  /* CTA banner bouton */
  .cta-banner .btn {
    width: 100%;
    max-width: 360px;
    justify-content: center;
    margin: 0 auto;
    display: flex;
  }

  /* Boutons isolés dans les sections (paragraphe + btn) */
  .section .btn:not(.faq-filter-btn):not(.mob-footer-cta .btn) {
    display: flex;
    width: 100%;
    max-width: 360px;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }

  /* Sections avec text-align:center — bouton centré */
  [style*="text-align:center"] .btn,
  .text-center .btn {
    margin-left: auto;
    margin-right: auto;
  }

  /* Boutons dans les cards — centrés */
  .card .btn,
  .step .btn {
    width: auto;
    min-width: 180px;
    max-width: 100%;
    justify-content: center;
    margin: 0 auto;
    display: inline-flex;
  }

  /* Dual CTA contact */
  .dual-cta-item .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .feature-actions .btn,
  .hero-actions .btn {
    font-size: .9rem;
    padding: .75rem 1.1rem;
  }
  .btn-lg {
    font-size: .92rem;
    padding: .8rem 1.2rem;
  }
}

/* ═══════════════════════════════════════════════════════════
   31. STICKY HEADER — fix anti-overflow sur ancêtres
   Aucun ancêtre du header ne doit avoir overflow:hidden
═══════════════════════════════════════════════════════════ */

/* S'assurer que html et body ne coupent pas le sticky */
html {
  /* overflow-x:hidden est ok sur html, mais PAS overflow:hidden */
  overflow-x: hidden;
}
body {
  overflow-x: hidden;
  /* PAS de overflow:hidden sur body — ça casserait le sticky */
}

/* Forcer le sticky à fonctionner sur tous les appareils */
#site-header {
  will-change: transform; /* Accélération GPU pour iOS */
}