/* =============================================================================
   PARAFLOW GLOBAL — Studio Paraflow
   Variables, reset, navbar, footer, composants réutilisables
   ============================================================================= */

/* ── VARIABLES ──────────────────────────────────────────────────────────────── */

:root {
  --pf-blue:       #003ED3;
  --pf-blue-deep:  #003366;
  --pf-blue-hover: #1A3FA8;
  --pf-black:      #231f20;
  --pf-grey:       #6b6b6b;
  --pf-grey-light: #9b9b9b;
  --pf-blue-pale:  #e8eeff;
  --pf-blue-mid:   #b3c4f5;
  --pf-cream:      #f5f4f0;
  --pf-border:     rgba(0, 62, 211, 0.07);

  --pf-font-head: 'Raleway', sans-serif;
  --pf-font-body: 'DM Sans', sans-serif;
}

/* ── RESET ───────────────────────────────────────────────────────────────────── */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--pf-font-body);
  color: var(--pf-black);
  background: #fff;
}

/* ── OVERRIDES reset.css Elementor ────────────────────────────────────────────
   Le reset Elementor (3.4.7) applique :
   - a { color: #c36 } et a:hover { color: #336 }
   - button:hover { background: #c36; color: #fff }
   On force des defaults sobres herites du contexte. Les composants qui ont
   leurs propres styles (.pf-btn-primary, .pf-cta-chevron, etc.) gagnent par
   specificite et conservent leur design.
   ============================================================================ */

body a {
  color: var(--pf-blue);
  background-color: transparent;
}

body a:hover,
body a:active,
body a:focus {
  color: var(--pf-blue-hover);
}

/* Boutons : ne pas surcharger leur couleur de texte au hover */
.pf-btn-primary,
.pf-btn-primary:hover,
.pf-btn-primary:active,
.pf-btn-primary:focus { color: #fff; }

.pf-btn-secondary,
.pf-btn-secondary:hover,
.pf-btn-secondary:active,
.pf-btn-secondary:focus { color: var(--pf-black); }

.pf-cta-dark-btn,
.pf-cta-dark-btn:hover,
.pf-cta-dark-btn:active,
.pf-cta-dark-btn:focus { color: var(--pf-blue-deep); }

.pf-hero-v2-btn--primary,
.pf-hero-v2-btn--primary:hover,
.pf-hero-v2-btn--primary:active,
.pf-hero-v2-btn--primary:focus { color: #fff; }

.pf-hero-v2-btn--secondary,
.pf-hero-v2-btn--secondary:hover,
.pf-hero-v2-btn--secondary:active,
.pf-hero-v2-btn--secondary:focus { color: #231F20; }

.pf-nav-cta,
.pf-nav-cta:hover,
.pf-nav-cta:active,
.pf-nav-cta:focus { color: #fff; }

body button,
body [type="button"],
body [type="submit"],
body [type="reset"] {
  background-color: transparent;
  color: inherit;
}

/* Tables : neutraliser le margin-block-end: 15px du reset Elementor */
body table { margin-block-end: 0; }

body button:hover,
body button:focus,
body [type="button"]:hover,
body [type="button"]:focus,
body [type="submit"]:hover,
body [type="submit"]:focus,
body [type="reset"]:hover,
body [type="reset"]:focus {
  background-color: transparent;
  color: inherit;
  text-decoration: none;
  border-color: inherit;
}

/* ── NAVBAR ──────────────────────────────────────────────────────────────────── */

.pf-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 56px;
  height: 68px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--pf-border);
  position: sticky;
  top: 0;
  z-index: 200;
}

.pf-logo,
.pf-logo:hover,
.pf-logo:active,
.pf-logo:focus {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-family: var(--pf-font-head);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--pf-black);
  text-decoration: none;
  flex-shrink: 0;
}

.pf-logo-img {
  height: 32px;
  width: auto;
  display: block;
}

/* Liens */
.pf-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.pf-nav-links > li > a {
  font-family: var(--pf-font-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--pf-grey);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.pf-nav-links > li > a:hover {
  color: var(--pf-black);
  background: var(--pf-cream);
}

/* Chevron du lien parent */
.pf-nav-chevron {
  transition: transform 0.25s ease;
  flex-shrink: 0;
  color: var(--pf-grey-light);
}

/* CTA */
.pf-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--pf-blue);
  color: #fff;
  font-family: var(--pf-font-body);
  font-size: 13px;
  font-weight: 500;
  padding: 10px 22px;
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.2s, opacity 0.2s;
  flex-shrink: 0;
  white-space: nowrap;
}

.pf-nav-cta:hover { opacity: 0.9; }

.pf-nav-cta-chevron {
  flex-shrink: 0;
  margin-top: 1px;
  transition: transform 0.2s;
}

.pf-nav-cta:hover .pf-nav-cta-chevron { transform: translateX(2px); }

/* CTA mobile — caché par défaut, affiché dans le burger menu uniquement */
.pf-nav-mobile-cta-item { display: none; }

/* ── DROPDOWN ────────────────────────────────────────────────────────────────── */

.pf-nav-has-dropdown {
  position: relative;
}

/* Panneau */
.pf-nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: 400px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--pf-border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 62, 211, 0.06);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  overflow: hidden;
}

/* Ligne d'accroche en haut du panel */
.pf-nav-dropdown::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--pf-blue) 0%, #6e9aff 100%);
}

/* Pont de hover — évite que le panel se ferme quand on déplace la souris */
.pf-nav-has-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -20px;
  right: -20px;
  height: 14px;
}

/* Ouvert au hover desktop */
@media (min-width: 769px) {
  .pf-nav-has-dropdown:hover .pf-nav-dropdown,
  .pf-nav-has-dropdown:focus-within .pf-nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateX(-50%) translateY(0);
  }

  .pf-nav-has-dropdown:hover .pf-nav-chevron,
  .pf-nav-has-dropdown:focus-within .pf-nav-chevron {
    transform: rotate(180deg);
    color: var(--pf-blue);
  }

  .pf-nav-has-dropdown:hover > a,
  .pf-nav-has-dropdown:focus-within > a {
    color: var(--pf-blue);
    background: var(--pf-blue-pale);
  }
}

/* Ouvert en JS (classe .open) */
.pf-nav-has-dropdown.open .pf-nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.pf-nav-has-dropdown.open .pf-nav-chevron {
  transform: rotate(180deg);
  color: var(--pf-blue);
}

/* Cartes du dropdown */
.pf-nav-dropdown-inner {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pf-nav-dropdown-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 14px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.15s ease;
  position: relative;
}

.pf-nav-dropdown-card:hover {
  background: var(--pf-blue-pale);
}

.pf-nav-dropdown-card:hover .pf-nav-dropdown-arrow {
  transform: translateX(3px);
  color: var(--pf-blue);
}

.pf-nav-dropdown-card:hover .pf-nav-dropdown-icon {
  transform: scale(1.08);
}

/* Icônes colorées par service */
.pf-nav-dropdown-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.pf-nav-dropdown-icon--wd {
  background: var(--pf-blue-pale);
  color: var(--pf-blue);
}

.pf-nav-dropdown-icon--seo {
  background: #edf7f0;
  color: #1a8a3c;
}

.pf-nav-dropdown-icon--strat {
  background: #f3f0fd;
  color: #6c3cf5;
}

.pf-nav-dropdown-icon--maint {
  background: #fff4e0;
  color: #b85c00;
}

.pf-nav-dropdown-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}

.pf-nav-dropdown-title {
  font-family: var(--pf-font-head);
  font-weight: 700;
  font-size: 14px;
  color: var(--pf-black);
  line-height: 1.2;
}

.pf-nav-dropdown-desc {
  font-family: var(--pf-font-body);
  font-size: 12px;
  color: var(--pf-grey);
  line-height: 1.4;
}

.pf-nav-dropdown-arrow {
  color: var(--pf-blue-mid);
  flex-shrink: 0;
  transition: transform 0.18s ease, color 0.18s ease;
}

/* Footer du dropdown */
.pf-nav-dropdown-footer {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--pf-border);
  padding: 10px 10px 10px;
}

.pf-nav-dropdown-footer-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  font-family: var(--pf-font-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--pf-grey);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}

.pf-nav-dropdown-footer-link:hover {
  color: var(--pf-blue);
  background: var(--pf-blue-pale);
}

/* ── FOOTER ──────────────────────────────────────────────────────────────────── */

.pf-footer { overflow: hidden; }

.pf-footer-top {
  background: var(--pf-cream);
  border-top: 1px solid rgba(0, 62, 211, 0.08);
  padding: 80px 56px 48px;
}

.pf-footer-top-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.pf-footer-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pf-footer-location {
  font-family: var(--pf-font-body);
  font-size: 13px;
  color: var(--pf-grey-light);
  letter-spacing: 0.02em;
}

.pf-footer-tagline {
  font-family: var(--pf-font-head);
  font-weight: 700;
  font-size: 64px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: rgba(35, 31, 32, 0.12);
}

.pf-footer-tagline-accent { color: var(--pf-black); }

.pf-footer-divider {
  height: 1px;
  background: rgba(0, 62, 211, 0.08);
  margin: 8px 0;
}

.pf-footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.pf-footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.pf-footer-link {
  font-family: var(--pf-font-body);
  font-size: 13px;
  color: var(--pf-grey-light);
  text-decoration: none;
  transition: color 0.2s;
}

.pf-footer-link:hover { color: var(--pf-blue); }

.pf-footer-dot { font-size: 13px; color: #d0d0d0; }

.pf-footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  flex-shrink: 0;
}

.pf-footer-socials {
  display: flex;
  align-items: center;
  gap: 20px;
}

.pf-footer-social {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--pf-font-body);
  font-size: 13px;
  color: var(--pf-grey-light);
  text-decoration: none;
  transition: color 0.2s, transform 0.2s;
}

.pf-footer-social:hover { color: var(--pf-blue); transform: translateY(-2px); }

.pf-footer-copy {
  font-family: var(--pf-font-body);
  font-size: 12px;
  color: #c0c0c0;
}

/* ── COMPOSANTS RÉUTILISABLES ────────────────────────────────────────────────── */

/* Boutons */
.pf-btn-primary {
  background: var(--pf-blue);
  color: #fff;
  font-family: var(--pf-font-body);
  font-size: 15px;
  font-weight: 500;
  padding: 15px 30px;
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.pf-btn-primary:hover { background: var(--pf-blue-hover); }

/* Chevron CTA réutilisable : animé quand son parent <a>/<button> est survolé */
.pf-cta-chevron {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
a:hover > .pf-cta-chevron,
button:hover > .pf-cta-chevron {
  transform: translateX(3px);
}

/* ── Navbar transparente sur pages avec hero v2 ──────────────────────────────
   Active sur n'importe quelle page contenant un .pf-hero-v2 (home, Troyes, etc.) */
body:has(.pf-hero-v2) .pf-nav {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
  transition: background 0.25s ease, backdrop-filter 0.25s ease, border-color 0.25s ease;
}

/* Hover items nav sur pages hero v2 : fond bleu pâle + texte bleu */
body:has(.pf-hero-v2) .pf-nav-links > li > a:hover {
  background: var(--pf-blue-pale);
  color: var(--pf-blue);
}

/* Ligne fine sous la navbar (alignée logo → CTA) */
body:has(.pf-hero-v2) .pf-nav::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 56px;
  right: 56px;
  height: 1px;
  background: rgba(35, 31, 32, 0.08);
}

@media (max-width: 768px) {
  body:has(.pf-hero-v2) .pf-nav::after {
    left: 20px;
    right: 20px;
  }
}

/* Au scroll : navbar reprend un fond blanc avec blur */
body:has(.pf-hero-v2) .pf-nav.pf-nav--scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--pf-border);
}

body:has(.pf-hero-v2) .pf-nav.pf-nav--scrolled::after {
  display: none;
}

/* =============================================================================
   BANDEAU LOGOS CLIENTS — composant partagé (home + Troyes v2 + autres)
   ============================================================================= */

.pf-logos-section {
  background: #fff;
  padding: 40px 0;
  border-top: 1px solid var(--pf-border);
  overflow: hidden;
}
.pf-logos-label {
  font-family: var(--pf-font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #b0b0b0;
  text-align: center;
  margin-bottom: 24px;
}
.pf-logos-track-wrap {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, black 12%, black 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 12%, black 88%, transparent 100%);
}
.pf-logos-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: logoScroll 22s linear infinite;
}
.pf-logos-track:hover { animation-play-state: paused; }
.pf-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  width: 200px;
  padding: 0 24px;
  flex-shrink: 0;
  border-right: 1px solid #f0f0f0;
}
.pf-logo-item .pf-logo-img {
  max-height: 64px;
  max-width: 150px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: filter 0.25s, opacity 0.25s;
}
.pf-logo-item[data-slug="hydropure"] .pf-logo-img { max-height: 48px; }
.pf-logo-item:hover .pf-logo-img {
  filter: grayscale(0%);
  opacity: 1;
}
.pf-logo-item .pf-logo-text {
  font-family: var(--pf-font-head);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: #c8c8c8;
  white-space: nowrap;
  transition: color 0.3s;
}
.pf-logo-item:hover .pf-logo-text { color: var(--pf-blue); }

@keyframes logoScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =============================================================================
   HERO V2 — composant partagé (home + Troyes v2 + autres pages futures)
   ============================================================================= */

.pf-hero-v2 {
  position: relative;
  height: 90vh;
  min-height: 720px;
  background: #F5F4F0;
  overflow: hidden;
  display: flex;
  margin-top: -68px;
  padding-top: 68px;
}

.pf-hero-v2-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.pf-hero-v2-bg picture,
.pf-hero-v2-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.pf-hero-v2-bg img {
  object-fit: cover;
  object-position: right center;
}

.pf-hero-v2-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(245, 244, 240, 0.05) 0%,
      rgba(245, 244, 240, 0.02) 50%,
      rgba(245, 244, 240, 0) 100%
    ),
    linear-gradient(
      180deg,
      rgba(245, 244, 240, 0.97) 0%,
      rgba(245, 244, 240, 0.97) 80px,
      rgba(245, 244, 240, 0.88) 50%,
      rgba(245, 244, 240, 0.80) 100%
    );
}

.pf-hero-v2-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 40px 56px 56px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pf-hero-v2-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 40px;
}

.pf-hero-v2-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  width: fit-content;
}

.pf-hero-v2-eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #003ED3;
  flex-shrink: 0;
}

.pf-hero-v2-eyebrow-text {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 12px;
  color: #231F20;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-color: #B3C4F5;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.pf-hero-v2-h1 {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: clamp(56px, 6vw, 90px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #231F20;
  margin: 0 0 48px;
  max-width: 1100px;
}

.pf-hero-v2-h1-accent {
  color: #003ED3;
  font-style: italic;
  font-weight: 600;
}

.pf-hero-v2-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.pf-hero-v2-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: 999px;
  text-decoration: none;
  transition: opacity 0.2s, background 0.2s, color 0.2s, transform 0.2s;
}

.pf-hero-v2-btn--primary {
  background: #003ED3;
  color: #fff;
}

.pf-hero-v2-btn--primary:hover { opacity: 0.9; }

.pf-hero-v2-btn--primary .pf-hero-v2-btn-chevron {
  transition: transform 0.2s;
}

.pf-hero-v2-btn--primary:hover .pf-hero-v2-btn-chevron {
  transform: translateX(3px);
}

.pf-hero-v2-btn--secondary {
  background: transparent;
  color: #231F20;
  border: 1px solid rgba(35, 31, 32, 0.2);
}

.pf-hero-v2-btn--secondary:hover {
  border-color: #231F20;
  background: rgba(35, 31, 32, 0.04);
}

.pf-hero-v2-btn:focus-visible {
  outline: 2px solid #003ED3;
  outline-offset: 3px;
}

/* Bande basse home (proof + sous-texte) */
.pf-hero-v2-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding-top: 24px;
}

.pf-hero-v2-proof {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.pf-hero-v2-avatars {
  display: flex;
  align-items: center;
}

.pf-hero-v2-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #F5F4F0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.04em;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--pf-blue-pale);
}

.pf-hero-v2-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pf-hero-v2-avatar + .pf-hero-v2-avatar { margin-left: -8px; }

.pf-hero-v2-proof-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1;
}

.pf-hero-v2-proof-stars {
  color: #003ED3;
  font-size: 14px;
  letter-spacing: 1px;
}

.pf-hero-v2-proof-count {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #231F20;
}

.pf-hero-v2-subtext {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: #6B6B6B;
  max-width: 400px;
  margin: 0;
  text-align: left;
}

/* Animations au chargement */
@keyframes pf-hero-v2-fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.pf-hero-v2-eyebrow,
.pf-hero-v2-h1,
.pf-hero-v2-ctas,
.pf-hero-v2-bottom,
.pf-hero-v2-subtitle,
.pf-troyes-v2-proof {
  opacity: 0;
  animation: pf-hero-v2-fade-up 1200ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.pf-hero-v2-eyebrow            { animation-delay: 50ms; }
.pf-hero-v2-h1                 { animation-delay: 190ms; }
.pf-hero-v2-subtitle           { animation-delay: 280ms; }
.pf-hero-v2-ctas               { animation-delay: 330ms; }
.pf-hero-v2-bottom,
.pf-troyes-v2-proof            { animation-delay: 420ms; }

@media (prefers-reduced-motion: reduce) {
  .pf-hero-v2-eyebrow,
  .pf-hero-v2-h1,
  .pf-hero-v2-ctas,
  .pf-hero-v2-bottom,
  .pf-hero-v2-subtitle,
  .pf-troyes-v2-proof {
    opacity: 1;
    animation: none;
  }
}

/* ── Variante Troyes (sous-titre conserve sous H1, proof) ──────────────────── */

.pf-hero-v2--troyes .pf-hero-v2-main {
  justify-content: flex-start;
  padding-top: 24px;
  padding-bottom: 0;
}

.pf-hero-v2-h1--troyes {
  font-size: clamp(48px, 5.5vw, 80px);
  margin-bottom: 28px;
  max-width: 900px;
}

/* Sous-titre conservé (au lieu d'être en bas comme home) */
.pf-hero-v2-subtitle {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: #6B6B6B;
  max-width: 640px;
  margin: 0 0 36px;
}

/* Proof items hero Troyes */
.pf-troyes-v2-proof {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 32px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #6B6B6B;
}

.pf-troyes-v2-proof span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pf-troyes-v2-proof svg {
  color: #003ED3;
  flex-shrink: 0;
}

/* Breadcrumb dans hero v2 (couleur claire sur fond off-white) */
.pf-hero-v2 .pf-breadcrumb {
  margin-bottom: 20px;
}

/* ── Responsive HERO V2 ─────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .pf-hero-v2-inner { padding: 60px 40px 48px; }
  .pf-hero-v2-h1 { font-size: clamp(48px, 6vw, 72px); margin-bottom: 36px; }
  .pf-hero-v2-h1--troyes { font-size: clamp(40px, 6vw, 64px); }
  .pf-hero-v2-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .pf-hero-v2-subtext { max-width: none; }
  .pf-troyes-v2-proof { gap: 16px; }
}

@media (max-width: 768px) {
  .pf-hero-v2 {
    height: auto;
    min-height: calc(100vh - 68px);
  }
  .pf-hero-v2-overlay {
    background: rgba(245, 244, 240, 0.90);
  }
  .pf-hero-v2-inner {
    padding: 48px 20px 40px;
    gap: 32px;
  }
  .pf-hero-v2-main {
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
  }
  .pf-hero-v2-eyebrow { margin-bottom: 24px; }
  .pf-hero-v2-eyebrow-text { font-size: 12px; }
  .pf-hero-v2-h1 {
    font-size: clamp(40px, 9vw, 56px);
    margin-bottom: 24px;
  }
  .pf-hero-v2-h1--troyes {
    font-size: clamp(36px, 9vw, 56px);
  }
  .pf-hero-v2-subtitle { font-size: 15px; max-width: none; }
  .pf-hero-v2-ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .pf-hero-v2-btn {
    justify-content: center;
    width: 100%;
  }
  .pf-hero-v2-bottom {
    flex-direction: column;
    gap: 20px;
  }
  .pf-hero-v2-proof {
    align-self: flex-start;
  }
  .pf-hero-v2-subtext {
    font-size: 14px;
  }
  .pf-troyes-v2-proof { gap: 12px; font-size: 12px; }
}

.pf-btn-secondary {
  border: 1.5px solid #d0d0d0;
  color: var(--pf-black);
  font-family: var(--pf-font-body);
  font-size: 15px;
  font-weight: 400;
  padding: 14px 28px;
  border-radius: 100px;
  text-decoration: none;
  transition: border-color 0.2s;
}
.pf-btn-secondary:hover { border-color: var(--pf-black); }

.pf-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--pf-font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--pf-blue);
  text-decoration: none;
  border-bottom: 1.5px solid var(--pf-blue);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.pf-btn-outline:hover { color: var(--pf-blue-hover); border-color: var(--pf-blue-hover); }

/* CTA chevron / icone : glide a droite au hover (pattern unifie) */
.pf-btn-primary svg,
.pf-btn-outline svg,
.pf-cta-dark-btn svg,
.pf-hero-v2-btn svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.pf-btn-primary:hover svg,
.pf-btn-outline:hover svg,
.pf-cta-dark-btn:hover svg {
  transform: translateX(3px);
}

/* Badge top header — format unifie : dot + souligne (pattern hero v2) */
.pf-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #231F20;
  font-family: var(--pf-font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-color: #B3C4F5;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  width: fit-content;
  background: none;
  border: 0;
  padding: 0;
  border-radius: 0;
}

.pf-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pf-blue);
  flex-shrink: 0;
}

/* Label de section (surtitre) — format unifie : dot + souligne */
.pf-section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--pf-font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #231F20;
  margin-bottom: 16px;
  text-decoration: underline;
  text-decoration-color: #B3C4F5;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  width: fit-content;
}

.pf-section-label::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pf-blue);
  flex-shrink: 0;
}

/* Variante centree (utilisee sur les sections H2 centrees) */
.pf-section-label--center {
  display: flex;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

/* SVG background abstrait */
.pf-bg-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* ── BURGER MENU ─────────────────────────────────────────────────────────────── */

.pf-nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  flex-shrink: 0;
  outline: none;
  box-shadow: none;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
  -webkit-appearance: none;
          appearance: none;
}

.pf-nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--pf-black);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Override : neutralise tout fond/couleur applique par le reset Elementor
   et les states tap iOS (hover/focus/active sticky apres tap mobile). */
body button.pf-nav-burger:hover,
body button.pf-nav-burger:focus,
body button.pf-nav-burger:active,
body button.pf-nav-burger:focus-visible {
  background: none;
  background-color: transparent;
  color: inherit;
  border: none;
  border-color: transparent;
  outline: none;
  box-shadow: none;
  text-decoration: none;
}

body button.pf-nav-burger:hover span,
body button.pf-nav-burger:focus span,
body button.pf-nav-burger:active span {
  background: var(--pf-black);
}

/* ── RESPONSIVE GLOBAL ───────────────────────────────────────────────────────── */

@media (max-width: 768px) {

  /* Navbar */
  .pf-nav {
    padding: 0 20px;
    position: sticky;
  }
  .pf-nav-links { display: none; }
  .pf-nav-cta { display: none !important; } /* CTA du haut : jamais visible en mobile */
  .pf-nav-burger { display: flex; }

  /* Menu mobile ouvert */
  .pf-nav.open .pf-nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--pf-border);
    gap: 0;
    z-index: 199;
    padding: 8px 20px 20px;
    text-align: left;
  }

  .pf-nav.open .pf-nav-links > li {
    border-bottom: 1px solid var(--pf-border);
    text-align: left;
    width: 100%;
  }

  .pf-nav.open .pf-nav-links > li.pf-nav-mobile-cta-item { border-bottom: none; }

  .pf-nav.open .pf-nav-links > li > a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 16px 4px;
    font-family: var(--pf-font-body);
    font-size: 15px;
    font-weight: 500;
    color: var(--pf-black);
    background: none;
    border-radius: 0;
    width: 100%;
    text-align: left;
    text-decoration: none;
  }

  /* Chevron du parent Services repoussé à droite */
  .pf-nav.open .pf-nav-parent .pf-nav-chevron {
    margin-left: auto;
  }

  /* Dropdown Services — accordion mobile */
  .pf-nav.open .pf-nav-dropdown {
    position: static;
    transform: none;
    width: 100%;
    box-shadow: none;
    border: none;
    border-radius: 0;
    opacity: 1;
    visibility: hidden;
    pointer-events: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, visibility 0.3s;
  }

  .pf-nav.open .pf-nav-dropdown::before { display: none; }

  .pf-nav.open .pf-nav-has-dropdown.open .pf-nav-dropdown {
    visibility: visible;
    pointer-events: all;
    max-height: 500px;
  }

  .pf-nav.open .pf-nav-dropdown-inner {
    padding: 8px 0 4px;
  }

  .pf-nav.open .pf-nav-dropdown-card {
    padding: 10px 8px;
  }

  .pf-nav.open .pf-nav-dropdown-footer {
    padding: 8px 0;
  }

  /* CTA mobile — affichée en bas du menu déroulant */
  .pf-nav.open .pf-nav-mobile-cta-item {
    display: block;
    margin-top: 16px;
  }

  .pf-nav-mobile-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 15px 24px;
    background: var(--pf-blue);
    color: #fff;
    font-family: var(--pf-font-body);
    font-size: 15px;
    font-weight: 600;
    border-radius: 100px;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
  }

  .pf-nav-mobile-cta:hover {
    background: var(--pf-blue-hover);
  }

  /* Burger → croix */
  .pf-nav.open .pf-nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .pf-nav.open .pf-nav-burger span:nth-child(2) { opacity: 0; }
  .pf-nav.open .pf-nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Footer */
  .pf-footer-top { padding: 48px 20px 32px; }
  .pf-footer-tagline { font-size: 36px; line-height: 1.1; }
  .pf-footer-header-row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .pf-footer-bottom-row { flex-direction: column; align-items: flex-start; gap: 20px; }
  .pf-footer-right { align-items: flex-start; }
}
