/* ═══════════════════════════════════════════════════════
   EUROPROTECT — CSS PRINCIPAL v5 — MOBILE FIRST
═══════════════════════════════════════════════════════ */

:root {
  --ink:    #0B1120;
  --navy:   #0D2B52;
  --blue:   #1353A0;
  --gold:   #F0B429;
  --cream:  #F9F7F2;
  --white:  #FFFFFF;
  --muted:  #6B7892;
  --border: #E4E8EF;
  --r:      14px;
  --r-lg:   22px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
  padding-top: 72px;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ── ANIMATIONS ── */
@keyframes rise      { from{opacity:0;transform:translateY(24px);}  to{opacity:1;transform:translateY(0);} }
@keyframes ticker    { from{transform:translateX(0);}                to{transform:translateX(-50%);} }
@keyframes floatPulse{ 0%,100%{box-shadow:0 8px 28px rgba(240,180,41,.45);} 50%{box-shadow:0 8px 44px rgba(240,180,41,.7);} }
@keyframes spin      { to{transform:rotate(360deg);} }
@keyframes popIn     { from{opacity:0;transform:scale(.85);}         to{opacity:1;transform:scale(1);} }
@keyframes slideDown { from{opacity:0;transform:translateY(-10px);}  to{opacity:1;transform:translateY(0);} }

.ep-appear {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
  will-change: opacity, transform;
}
.ep-appear.in { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════════
   HEADER
═══════════════════════════════════════════ */
.ep-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100000;
  background: rgba(13,43,82,.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: box-shadow .3s;
}
.ep-header.scrolled { box-shadow: 0 4px 28px rgba(0,0,0,.25); }
.ep-header-inner {
  max-width: 1380px; margin: 0 auto;
  padding: 0 5%; height: 72px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.ep-logo { display: inline-flex; align-items: center; gap: 9px; flex-shrink: 0; }
.ep-logo-mark {
  width: 30px; height: 30px; background: var(--gold);
  border-radius: 7px; display: flex; align-items: center; justify-content: center; color: var(--navy);
}
.ep-logo-name {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800; font-size: 1.05rem; color: #fff;
}

/* Nav desktop */
.ep-nav { display: flex; align-items: center; gap: 4px; }
.ep-nav-link {
  font-size: .85rem; font-weight: 600; color: #fff;
  padding: 7px 12px; border-radius: 8px;
  transition: color .2s, background .2s; white-space: nowrap;
}
.ep-nav-link:hover { color: var(--gold); background: rgba(255,255,255,.07); }
.ep-nav-link.active { color: var(--gold); background: rgba(240,180,41,.1); }
.ep-nav-phone {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(240,180,41,.15); border: 1px solid rgba(240,180,41,.35);
  color: var(--gold); padding: 7px 14px; border-radius: 8px;
  font-size: .82rem; font-weight: 700; white-space: nowrap;
  transition: background .2s;
}
.ep-nav-phone:hover { background: rgba(240,180,41,.28); }
.ep-nav-cta {
  background: var(--gold); color: var(--navy);
  padding: 9px 18px; border-radius: 9px;
  font-weight: 800; font-size: .85rem; white-space: nowrap;
  transition: background .2s, transform .15s; flex-shrink: 0;
}
.ep-nav-cta:hover { background: #e0a820; transform: translateY(-1px); }

/* Mobile header actions */
.ep-header-actions { display: none; align-items: center; gap: 8px; }
.ep-call-btn-mobile {
  width: 38px; height: 38px;
  background: rgba(240,180,41,.15); border: 1px solid rgba(240,180,41,.35);
  border-radius: 9px; display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}
.ep-burger {
  display: flex; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.ep-burger span {
  display: block; width: 22px; height: 2px;
  background: rgba(255,255,255,.85); border-radius: 2px; transition: all .3s;
}
.ep-burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.ep-burger.open span:nth-child(2) { opacity: 0; }
.ep-burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Menu mobile */
.ep-nav.open {
  display: flex !important;
  flex-direction: column;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  padding: 90px 6% 40px;
  background: #0A1828;
  gap: 6px;
  overflow-y: auto;
  z-index: 99999 !important;
  -webkit-overflow-scrolling: touch;
  animation: slideDown .22s ease both;
}
.ep-nav.open .ep-nav-link {
  display: block !important;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff !important;
  padding: 18px 20px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.05);
  cursor: pointer;
  text-decoration: none;
  -webkit-tap-highlight-color: rgba(240,180,41,.25);
}
.ep-nav.open .ep-nav-link:hover,
.ep-nav.open .ep-nav-link:active { background: rgba(240,180,41,.12); color: #F0B429 !important; }
.ep-nav.open .ep-nav-phone {
  display: flex !important;
  font-size: 1rem;
  padding: 18px 20px;
  border-radius: 12px;
  border: 1px solid rgba(240,180,41,.3);
  background: rgba(240,180,41,.08);
}
.ep-nav.open .ep-nav-cta {
  display: block !important;
  font-size: 1rem;
  font-weight: 800;
  padding: 18px 20px;
  text-align: center;
  border-radius: 12px;
  margin-top: 10px;
  background: #F0B429;
  color: #0D2B52 !important;
}

/* Bouton appel flottant */
.ep-float-call {
  position: fixed; bottom: 24px; right: 24px; z-index: 500;
  background: var(--gold); color: var(--navy); border-radius: 50px;
  padding: 14px 20px; display: flex; align-items: center; gap: 10px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800; font-size: .86rem;
  animation: floatPulse 2.5s ease-in-out infinite;
  transition: transform .2s;
}
.ep-float-call:hover { transform: translateY(-3px); }
.ep-float-call-label { white-space: nowrap; }

/* ═══════════════════════════════════════════
   BOUTONS
═══════════════════════════════════════════ */
.ep-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: var(--r);
  font-weight: 600; font-size: .9rem;
  border: none; cursor: pointer; transition: all .2s;
}
.ep-btn-primary { background: var(--navy); color: #fff; box-shadow: 0 6px 18px rgba(13,43,82,.22); }
.ep-btn-primary:hover { background: var(--blue); transform: translateY(-2px); }
.ep-btn-ghost { background: transparent; color: var(--navy); border: 1.5px solid var(--border); }
.ep-btn-ghost:hover { border-color: var(--navy); }
.ep-btn-navy { background: var(--navy); color: #fff; box-shadow: 0 6px 18px rgba(13,43,82,.22); }
.ep-btn-navy:hover { background: var(--blue); transform: translateY(-2px); }
.ep-btn-navy-ghost { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.ep-btn-navy-ghost:hover { background: rgba(13,43,82,.06); }
.ep-btn-gold { background: var(--gold); color: var(--navy); }
.ep-btn-gold:hover { background: #e0a820; }
.ep-btn-dark { background: var(--navy); color: #fff; }
.ep-btn-dark:hover { background: var(--blue); transform: translateY(-2px); }

/* ═══════════════════════════════════════════
   TYPOGRAPHIE
═══════════════════════════════════════════ */
.ep-eyebrow {
  display: inline-block; color: var(--blue);
  font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  border-bottom: 2px solid var(--gold); padding-bottom: 3px; margin-bottom: 14px;
}
.ep-eyebrow-light { color: rgba(255,255,255,.6); border-bottom-color: rgba(255,255,255,.3); }
.ep-eyebrow-gold  { color: var(--gold); border-bottom-color: rgba(240,180,41,.5); }

.ep-section h2 {
  font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800;
  font-size: clamp(1.8rem,3.5vw,2.8rem);
  letter-spacing: -.025em; line-height: 1.08; color: var(--ink); margin-bottom: 12px;
}
.ep-title-white { color: #fff !important; }

.ep-breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.ep-breadcrumb a { font-size: .78rem; color: rgba(255,255,255,.45); transition: color .2s; }
.ep-breadcrumb a:hover { color: var(--gold); }
.ep-breadcrumb span { font-size: .78rem; color: rgba(255,255,255,.25); }

/* ═══════════════════════════════════════════
   SECTIONS
═══════════════════════════════════════════ */
.ep-section { padding: 80px 6%; }
.ep-section-white { background: var(--white); }
.ep-section-dark  { background: var(--navy); }
.ep-section-gold  { background: var(--gold); }
.ep-section-head  { margin-bottom: 48px; }
.ep-center { text-align: center; }

/* ═══════════════════════════════════════════
   HERO ACCUEIL
═══════════════════════════════════════════ */
.ep-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 72px);
}
.ep-hero-left {
  background: var(--cream);
  padding: 72px 0 72px 8%;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; z-index: 1;
}
.ep-hero-left::after {
  content: ''; position: absolute; top: 0; right: -40px; bottom: 0; width: 80px;
  background: linear-gradient(to right, var(--cream) 30%, transparent);
  z-index: 2; pointer-events: none;
}
.ep-hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: var(--navy);
  padding: 6px 14px; border-radius: 40px;
  font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 24px; width: fit-content;
  animation: rise .6s .1s ease both;
}
.ep-hero-left h1 {
  font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800;
  font-size: clamp(2.4rem,4vw,4rem);
  color: var(--ink); line-height: 1.02; letter-spacing: -.03em;
  margin-bottom: 18px; animation: rise .6s .2s ease both;
}
.ep-hero-left h1 mark {
  background: none; color: var(--blue);
  position: relative; display: inline-block;
}
.ep-hero-left h1 mark::after {
  content: ''; position: absolute; bottom: 4px; left: 0; right: 0;
  height: 5px; background: var(--gold); border-radius: 3px; z-index: -1;
}
.ep-hero-left > p {
  font-size: .98rem; color: var(--muted); line-height: 1.78;
  max-width: 400px; margin-bottom: 32px; animation: rise .6s .3s ease both;
}
.ep-hero-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 44px; animation: rise .6s .4s ease both; }
.ep-hero-stats {
  display: flex; gap: 0;
  border: 1.5px solid var(--border); border-radius: var(--r-lg);
  background: var(--white); width: fit-content; overflow: hidden;
  animation: rise .6s .5s ease both;
}
.ep-hstat { padding: 16px 20px; border-right: 1.5px solid var(--border); }
.ep-hstat:last-child { border-right: none; }
.ep-hstat-n { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 1.5rem; color: var(--navy); }
.ep-hstat-l { font-size: .7rem; color: var(--muted); margin-top: 2px; }

.ep-hero-right { position: relative; overflow: hidden; min-height: 480px; }
.ep-hero-right img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ep-hero-badge {
  position: absolute; background: rgba(255,255,255,.96);
  border-radius: var(--r); padding: 12px 16px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 12px 36px rgba(0,0,0,.18);
}
.ep-hero-badge-1 { bottom: 32px; left: -20px; }
.ep-hero-badge-2 { top: 60px; right: 0; }
.ep-hb-icon { font-size: 1.3rem; flex-shrink: 0; }
.ep-hb-n { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: .9rem; color: var(--navy); }
.ep-hb-s { font-size: .7rem; color: var(--muted); margin-top: 1px; }

/* ═══════════════════════════════════════════
   TICKER
═══════════════════════════════════════════ */
.ep-ticker { background: var(--navy); padding: 13px 0; overflow: hidden; white-space: nowrap; }
.ep-ticker-track {
  display: inline-flex; width: max-content;
  animation: ticker 30s linear infinite; will-change: transform;
}
.ep-ticker-item {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 0 28px; font-size: .72rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.45);
}
.ep-ticker-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

/* ═══════════════════════════════════════════
   GRILLE SERVICES ACCUEIL
═══════════════════════════════════════════ */
.ep-home-svc-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px; margin-top: 40px;
}
.ep-home-svc {
  border-radius: var(--r-lg); overflow: hidden;
  border: 1.5px solid var(--border); background: var(--white);
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.ep-home-svc:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(13,43,82,.1); border-color: var(--gold); }
.ep-home-svc-img { height: 180px; overflow: hidden; position: relative; }
.ep-home-svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.ep-home-svc:hover .ep-home-svc-img img { transform: scale(1.07); }
.ep-home-svc-img-ov { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 40%, rgba(13,43,82,.5)); }
.ep-home-svc-tag { position: absolute; top: 10px; right: 12px; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: .7rem; color: rgba(255,255,255,.55); }
.ep-home-svc-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.ep-home-svc-icon { width: 40px; height: 40px; background: var(--cream); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--navy); margin-bottom: 12px; transition: background .25s; }
.ep-home-svc:hover .ep-home-svc-icon { background: var(--gold); }
.ep-home-svc-name { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: .95rem; color: var(--ink); margin-bottom: 5px; }
.ep-home-svc-desc { font-size: .8rem; color: var(--muted); line-height: 1.65; flex: 1; }
.ep-home-svc-arrow { margin-top: 14px; font-size: .8rem; font-weight: 700; color: var(--blue); transition: transform .2s; }
.ep-home-svc:hover .ep-home-svc-arrow { transform: translateX(5px); }

/* ═══════════════════════════════════════════
   SPLIT
═══════════════════════════════════════════ */
.ep-split { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 72px; align-items: center; }
.ep-split-img { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/5; position: relative; }
.ep-split-img img { width: 100%; height: 100%; object-fit: cover; }
.ep-split-badge {
  position: absolute; bottom: 22px; left: 22px;
  background: var(--white); border-radius: var(--r); padding: 13px 16px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: 0 16px 40px rgba(0,0,0,.14);
}
.ep-sib-icon { width: 36px; height: 36px; background: var(--gold); border-radius: 9px; display: flex; align-items: center; justify-content: center; color: var(--navy); }
.ep-sib-n { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 1.1rem; color: var(--navy); }
.ep-sib-l { font-size: .7rem; color: var(--muted); }
.ep-split-content h2 { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: clamp(1.7rem,2.5vw,2.4rem); color: var(--ink); letter-spacing: -.025em; line-height: 1.08; margin-bottom: 12px; }
.ep-split-content > p { font-size: .92rem; color: var(--muted); line-height: 1.78; margin-bottom: 24px; }
.ep-checks { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.ep-check-item { display: flex; align-items: flex-start; gap: 11px; font-size: .88rem; color: var(--muted); line-height: 1.6; }
.ep-check-box { width: 20px; height: 20px; background: var(--navy); border-radius: 6px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; color: var(--gold); }

/* ═══════════════════════════════════════════
   IMPACT / CHIFFRES — GRILLE 2×2 MOBILE
═══════════════════════════════════════════ */
.ep-impact { background: var(--navy); overflow: hidden; }
.ep-impact-inner {
  display: grid;
  grid-template-columns: repeat(4,1fr);
}
.ep-impact-item {
  padding: 56px 4%; text-align: center;
  border-right: 1px solid rgba(255,255,255,.1);
  display: flex; flex-direction: column; align-items: center;
}
.ep-impact-item:last-child { border-right: none; }
.ep-impact-n {
  font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800;
  font-size: clamp(2.4rem,4vw,3.6rem); color: var(--gold); line-height: 1;
}
.ep-impact-plus {
  font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800;
  font-size: clamp(1.4rem,2.5vw,2rem); color: var(--gold); line-height: 1;
}
.ep-impact-l { font-size: .78rem; color: rgba(255,255,255,.55); margin-top: 8px; font-weight: 500; }

/* ═══════════════════════════════════════════
   PROCESSUS
═══════════════════════════════════════════ */
.ep-steps { display: grid; grid-template-columns: repeat(4,1fr); margin-top: 52px; }
.ep-step { padding: 28px 22px; border-right: 1px solid rgba(255,255,255,.1); }
.ep-step:last-child { border-right: none; }
.ep-step-n { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 2.6rem; color: rgba(255,255,255,.08); line-height: 1; margin-bottom: 12px; }
.ep-step-bar { width: 28px; height: 3px; background: var(--gold); border-radius: 2px; margin-bottom: 12px; }
.ep-step h3 { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: .93rem; color: #fff; margin-bottom: 7px; }
.ep-step p { font-size: .82rem; color: rgba(255,255,255,.52); line-height: 1.7; }

/* ═══════════════════════════════════════════
   TÉMOIGNAGES
═══════════════════════════════════════════ */
.ep-testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.ep-tcard { background: var(--cream); border-radius: var(--r-lg); padding: 28px; border: 1.5px solid var(--border); transition: border-color .25s, transform .25s, box-shadow .25s; }
.ep-tcard:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,.07); }
.ep-tcard-stars { color: var(--gold); font-size: .9rem; letter-spacing: 2px; margin-bottom: 12px; }
.ep-tcard-text { font-size: .85rem; color: var(--muted); line-height: 1.8; margin-bottom: 18px; }
.ep-tcard-author { display: flex; align-items: center; gap: 11px; }
.ep-tcard-av { width: 36px; height: 36px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: .75rem; color: var(--gold); flex-shrink: 0; }
.ep-tcard-name { font-weight: 600; font-size: .84rem; color: var(--ink); }
.ep-tcard-role { font-size: .72rem; color: var(--muted); margin-top: 2px; }

/* ═══════════════════════════════════════════
   CTA BAND
═══════════════════════════════════════════ */
.ep-cta-band { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.ep-cta-band h2 { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: clamp(1.5rem,3vw,2.4rem); color: var(--navy); line-height: 1.1; letter-spacing: -.02em; }
.ep-cta-btns { display: flex; gap: 10px; flex-wrap: wrap; flex-shrink: 0; }

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.ep-footer { background: #0B1120; padding: 64px 6% 28px; }
.ep-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.08); }
.ep-footer-brand p { color: rgba(255,255,255,.42); font-size: .83rem; line-height: 1.8; margin-top: 14px; max-width: 240px; }
.ep-footer-col h4 { font-size: .65rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.36); margin-bottom: 16px; }
.ep-footer-col a, .ep-footer-col span { display: block; color: rgba(255,255,255,.54); font-size: .84rem; margin-bottom: 9px; transition: color .2s; }
.ep-footer-col a:hover { color: var(--gold); }
.ep-footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; padding-top: 22px; }
.ep-footer-bottom p { color: rgba(255,255,255,.25); font-size: .76rem; }
.ep-footer-links { display: flex; gap: 18px; }
.ep-footer-links a { color: rgba(255,255,255,.25); font-size: .76rem; transition: color .2s; }
.ep-footer-links a:hover { color: var(--gold); }

/* ═══════════════════════════════════════════
   PAGE HERO (services, entreprise, contact)
═══════════════════════════════════════════ */
.ep-page-hero { background: var(--navy); padding: 72px 6% 64px; position: relative; overflow: hidden; }
.ep-page-hero h1 { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: clamp(2rem,4vw,3.4rem); color: #fff; line-height: 1.04; letter-spacing: -.025em; margin-bottom: 14px; }
.ep-page-hero > p { color: rgba(255,255,255,.64); font-size: .97rem; line-height: 1.78; max-width: 520px; margin-bottom: 28px; }
.ep-anchor-pills { display: flex; gap: 9px; flex-wrap: wrap; }
.ep-ap { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.7); font-size: .78rem; font-weight: 500; padding: 7px 13px; border-radius: 40px; transition: all .2s; }
.ep-ap:hover { background: rgba(240,180,41,.15); border-color: rgba(240,180,41,.4); color: var(--gold); }

/* ═══════════════════════════════════════════
   SERVICES BLOCKS (page services)
═══════════════════════════════════════════ */
.ep-svc-block { width: 100%; display: grid; grid-template-columns: 1fr 1fr; min-height: 500px; }
.ep-svc-block-rev .ep-svc-media { order: 2; }
.ep-svc-block-rev .ep-svc-body  { order: 1; }
.ep-svc-media { position: relative; overflow: hidden; }
.ep-svc-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 5s ease; }
.ep-svc-media:hover img { transform: scale(1.04); }
.ep-svc-media-tag { position: absolute; top: 20px; left: 20px; background: var(--gold); color: var(--navy); font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 4px 11px; border-radius: 40px; }
.ep-svc-media-n { position: absolute; bottom: 16px; right: 20px; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 4.5rem; color: rgba(255,255,255,.09); line-height: 1; }
.ep-svc-body { padding: 64px 7%; display: flex; flex-direction: column; justify-content: center; background: var(--white); }
.ep-svc-block:nth-child(even) .ep-svc-body { background: var(--cream); }
.ep-svc-body h2 { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: clamp(1.6rem,2.5vw,2.2rem); color: var(--ink); letter-spacing: -.025em; line-height: 1.08; margin-bottom: 12px; }
.ep-svc-body > p { font-size: .9rem; color: var(--muted); line-height: 1.78; margin-bottom: 24px; }
.ep-feats { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 28px; }
.ep-feat { display: flex; align-items: center; gap: 9px; font-size: .86rem; color: var(--ink); padding: 9px 13px; border-radius: var(--r); background: var(--cream); border: 1px solid var(--border); transition: border-color .2s, transform .2s; }
.ep-svc-block:nth-child(even) .ep-feat { background: var(--white); }
.ep-feat:hover { border-color: var(--gold); transform: translateX(4px); }
.ep-feat-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

/* Contact */
.ep-contact-hero { background: var(--navy); padding: 72px 6% 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.ep-contact-hero-left h1 { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: clamp(1.9rem,4vw,3.2rem); color: #fff; line-height: 1.04; letter-spacing: -.025em; margin-bottom: 12px; }
.ep-contact-hero-left h1 em { color: var(--gold); font-style: normal; }
.ep-contact-hero-left > p { color: rgba(255,255,255,.62); font-size: .95rem; line-height: 1.78; }
.ep-contact-hero-right { display: flex; flex-direction: column; gap: 9px; }
.ep-hcard { display: flex; align-items: center; gap: 13px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r); padding: 14px 16px; transition: all .2s; }
.ep-hcard:hover { background: rgba(255,255,255,.12); border-color: rgba(240,180,41,.3); }
.ep-hcard-icon { font-size: 1.3rem; flex-shrink: 0; }
.ep-hcard-l { font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 3px; }
.ep-hcard-v { font-size: .92rem; font-weight: 600; color: #fff; }
.ep-hcard-s { font-size: .72rem; color: rgba(255,255,255,.4); margin-top: 2px; }
.ep-contact-main { display: grid; grid-template-columns: 1fr 1.4fr; }
.ep-contact-info { background: var(--white); padding: 56px 6%; }
.ep-contact-info h2 { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 1.6rem; color: var(--ink); letter-spacing: -.02em; margin-bottom: 8px; }
.ep-contact-info > p { font-size: .88rem; color: var(--muted); line-height: 1.75; margin-bottom: 32px; }
.ep-info-list { display: flex; flex-direction: column; gap: 9px; margin-bottom: 36px; }
.ep-irow { display: flex; align-items: flex-start; gap: 12px; padding: 14px; border-radius: var(--r); border: 1.5px solid var(--border); transition: all .2s; color: inherit; }
.ep-irow:hover { border-color: var(--gold); background: rgba(240,180,41,.04); }
.ep-irow-icon { font-size: 1.2rem; flex-shrink: 0; }
.ep-irow-l { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.ep-irow-v { font-size: .9rem; font-weight: 600; color: var(--ink); }
.ep-irow-s { font-size: .72rem; color: var(--muted); margin-top: 2px; }
.ep-hours { background: var(--cream); border-radius: var(--r); padding: 18px; }
.ep-hours h4 { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.ep-hrow { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: .84rem; }
.ep-hrow:last-child { border-bottom: none; }
.ep-hrow span:first-child { color: var(--muted); }
.ep-hrow span:last-child { font-weight: 600; color: var(--ink); }
.ep-contact-form-col { background: var(--cream); padding: 56px 6%; }
.ep-contact-form-col h2 { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 1.6rem; color: var(--ink); letter-spacing: -.02em; margin-bottom: 7px; }
.ep-contact-form-col > p { font-size: .88rem; color: var(--muted); line-height: 1.75; margin-bottom: 24px; }
.ep-type-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 22px; }
.ep-ttab { padding: 7px 16px; border-radius: 40px; font-size: .8rem; font-weight: 600; cursor: pointer; border: 1.5px solid var(--border); background: var(--white); color: var(--muted); transition: all .2s; }
.ep-ttab:hover { border-color: var(--navy); color: var(--navy); }
.ep-ttab.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.ep-consent { font-size: .73rem; color: #C5CEDD; margin-top: 10px; line-height: 1.6; text-align: center; }
.ep-consent a { color: var(--blue); }
.ep-err { background: #FEF2F2; border: 1px solid #FECACA; border-radius: var(--r); padding: 10px 13px; font-size: .82rem; color: #DC2626; margin-top: 8px; }
.ep-success-state { text-align: center; padding: 44px 16px; }
.ep-success-ring { width: 76px; height: 76px; border-radius: 50%; background: var(--gold); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 2rem; color: var(--navy); box-shadow: 0 12px 32px rgba(240,180,41,.32); animation: popIn .5s cubic-bezier(.34,1.56,.64,1) both; }

/* Champs communs */
.ep-fg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ep-fg { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.ep-fg label { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); }
.ep-req { color: var(--gold); }
.ep-fg input, .ep-fg select, .ep-fg textarea { padding: 12px 14px; border: 1.5px solid var(--border); border-radius: var(--r); font-size: .9rem; color: var(--ink); font-family: 'DM Sans', sans-serif; background: var(--white); outline: none; transition: border-color .2s, box-shadow .2s; width: 100%; }
.ep-fg input:focus, .ep-fg select:focus, .ep-fg textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(13,43,82,.07); }
.ep-fg input::placeholder, .ep-fg textarea::placeholder { color: #C5CEDD; }
.ep-fg textarea { resize: vertical; }
.ep-btn-submit { width: 100%; padding: 14px; background: var(--gold); color: var(--navy); font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: .97rem; border: none; border-radius: var(--r); cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 9px; transition: all .2s; margin-top: 6px; box-shadow: 0 7px 20px rgba(240,180,41,.3); }
.ep-btn-submit:hover { background: #e0a820; transform: translateY(-1px); }

/* FAQ */
.ep-faq-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 44px; flex-wrap: wrap; gap: 18px; }
.ep-faq-head h2 { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: clamp(1.6rem,2.8vw,2.4rem); color: var(--ink); letter-spacing: -.025em; line-height: 1.08; }
.ep-faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.ep-faq-col .ep-fi:first-child { border-top: 1px solid var(--border); }
.ep-fi { border-bottom: 1px solid var(--border); }
.ep-fi-q { width: 100%; background: none; border: none; text-align: left; padding: 18px 0; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 14px; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: .9rem; color: var(--ink); transition: color .2s; }
.ep-fi-q:hover { color: var(--blue); }
.ep-fi-ico { width: 24px; height: 24px; border-radius: 50%; background: var(--cream); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: .95rem; font-weight: 700; color: var(--navy); transition: all .25s; }
.ep-fi.open .ep-fi-ico { background: var(--gold); transform: rotate(45deg); }
.ep-fi-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; font-size: .85rem; color: var(--muted); line-height: 1.8; }
.ep-fi.open .ep-fi-a { max-height: 280px; padding-bottom: 16px; }

/* ═══════════════════════════════════════════
   DÉVIS PAGE
═══════════════════════════════════════════ */
.ep-devis-page { display: grid; grid-template-columns: 1fr 380px; min-height: calc(100vh - 72px); align-items: start; }
.ep-devis-sidebar { background: var(--navy); padding: 52px 5%; position: sticky; top: 72px; height: calc(100vh - 72px); overflow-y: auto; display: flex; flex-direction: column; gap: 26px; }

/* ═══════════════════════════════════════════
   RESPONSIVE — TABLETTE (≤ 1024px)
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .ep-footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .ep-home-svc-grid { grid-template-columns: repeat(2,1fr); }
  .ep-devis-page { grid-template-columns: 1fr 340px; }
}

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

  /* Header */
  .ep-nav { display: none; }
  .ep-header-actions { display: flex; }
  .ep-burger { display: flex; }

  /* Hero accueil — pleine largeur */
  .ep-hero { grid-template-columns: 1fr; min-height: auto; }
  .ep-hero-left { padding: 52px 6% 40px; }
  .ep-hero-left::after { display: none; }
  .ep-hero-left h1 { font-size: clamp(2rem,8vw,3rem); }
  .ep-hero-right { height: 260px; min-height: 260px; }
  .ep-hero-badge { display: none; }
  .ep-hero-stats {
    flex-wrap: wrap; width: 100%;
    border-radius: var(--r);
  }
  .ep-hstat { flex: 1; min-width: 30%; padding: 14px 8px; text-align: center; }
  .ep-hstat-n { font-size: 1.3rem; }

  /* Sections */
  .ep-section { padding: 56px 5%; }

  /* Grille services — 1 colonne sur mobile */
  .ep-home-svc-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 28px; }
  .ep-home-svc-img { height: 160px; }

  /* Split */
  .ep-split { grid-template-columns: 1fr !important; gap: 28px; }
  .ep-split-img { aspect-ratio: 16/9; }
  .ep-split-badge { display: none; }

  /* Chiffres impact — 2×2 */
  .ep-impact-inner {
    grid-template-columns: 1fr 1fr;
  }
  .ep-impact-item {
    padding: 36px 5%;
    border-right: 1px solid rgba(255,255,255,.1);
    border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .ep-impact-item:nth-child(2) { border-right: none; }
  .ep-impact-item:nth-child(3) { border-bottom: none; }
  .ep-impact-item:nth-child(4) { border-right: none; border-bottom: none; }
  .ep-impact-n { font-size: 2.4rem; }

  /* Processus */
  .ep-steps { grid-template-columns: 1fr 1fr; }
  .ep-step { border-right: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); padding: 22px 16px; }
  .ep-step:nth-child(2) { border-right: none; }
  .ep-step:nth-child(3) { border-bottom: none; }
  .ep-step:nth-child(4) { border-right: none; border-bottom: none; }

  /* Témoignages */
  .ep-testi-grid { grid-template-columns: 1fr; }

  /* CTA */
  .ep-cta-band { flex-direction: column; align-items: flex-start; }

  /* Footer */
  .ep-footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .ep-footer-brand p { max-width: 100%; }

  /* Page hero */
  .ep-page-hero { padding: 60px 5% 48px; }

  /* Services blocks */
  .ep-svc-block { grid-template-columns: 1fr !important; }
  .ep-svc-block-rev .ep-svc-media { order: 0 !important; }
  .ep-svc-block-rev .ep-svc-body  { order: 1 !important; }
  .ep-svc-media { height: 240px; }
  .ep-svc-body { padding: 36px 5%; }

  /* Contact */
  .ep-contact-hero { grid-template-columns: 1fr; padding: 60px 5% 40px; gap: 28px; }
  .ep-contact-hero-right { display: none; }
  .ep-contact-main { grid-template-columns: 1fr; }
  .ep-contact-info, .ep-contact-form-col { padding: 40px 5%; }

  /* Devis */
  .ep-devis-page { grid-template-columns: 1fr; }
  .ep-devis-sidebar { position: static; height: auto; }

  /* FAQ */
  .ep-faq-grid { grid-template-columns: 1fr; }
  .ep-faq-head { flex-direction: column; align-items: flex-start; }

  /* Bouton flottant */
  .ep-float-call-label { display: none; }
  .ep-float-call { padding: 14px; border-radius: 50%; bottom: 20px; right: 20px; }

  /* Champs */
  .ep-fg-row { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════
   RESPONSIVE — PETIT MOBILE (≤ 480px)
═══════════════════════════════════════════ */
@media (max-width: 480px) {
  body { padding-top: 64px; }
  .ep-header-inner { height: 64px; padding: 0 4%; }
  .ep-section { padding: 44px 4%; }
  .ep-hero-left { padding: 44px 4% 32px; }
  .ep-hero-btns { gap: 8px; }
  .ep-btn { padding: 11px 18px; font-size: .84rem; }
  .ep-hstat { min-width: 45%; }
  .ep-float-call { bottom: 16px; right: 16px; }
}

/* ═══════════════════════════════════════════
   LOGO IMAGE
═══════════════════════════════════════════ */
.ep-logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.ep-logo-img {
  height: 40px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  transition: opacity .2s;
  /* SVG avec couleurs propres — pas besoin de filter */
  filter: brightness(0) invert(1);
}
.ep-logo:hover .ep-logo-img { opacity: .85; }

/* Logo footer */
.ep-footer-logo {
  height: 38px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .8;
  margin-bottom: 6px;
  display: block;
}
.ep-footer-logo:hover { opacity: 1; }

@media (max-width: 768px) {
  .ep-logo-img { height: 34px; max-width: 180px; }
}
@media (max-width: 480px) {
  .ep-logo-img { height: 30px; max-width: 150px; }
}

/* ── MENU OUVERT — body bloqué ── */
body.menu-open { overflow: hidden !important; position: fixed; width: 100%; }
