/* =============================================================
   Future Visions 2026 — Premium tech-IA stylesheet
   Navy + cyan electric · Space Grotesk + Inter
   ============================================================= */

/* ---------- 0. Globals ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  background: var(--wp--preset--color--off-white);
}

a { transition: color 0.2s ease, opacity 0.2s ease; }
img { max-width: 100%; height: auto; }

::selection {
  background: var(--wp--preset--color--cyan);
  color: var(--wp--preset--color--navy-deep);
}

/* ---------- 1. Skip link (a11y) ---------- */
.skip-link {
  position: absolute;
  left: -9999px; top: 0;
  z-index: 999;
  background: var(--wp--preset--color--navy);
  color: #fff;
  padding: 0.625rem 1.25rem;
  border-radius: 0 0 8px 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- 2. Header ---------- */
/* IMPORTANT — backdrop-filter is intentionally NOT applied on .fv-header itself,
   because it would create a containing block that traps the mobile nav overlay
   (position: fixed; inset: 0) inside the 86px-tall header. The frosted glass
   effect is delegated to ::before, which has no descendant position:fixed
   children so does not break the WP navigation block on mobile. */
.fv-header {
  position: sticky;
  top: 0;
  background: transparent !important;
  transition: box-shadow 0.3s ease;
  isolation: isolate;
}
.fv-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  pointer-events: none;
}

.fv-nav-wrap { gap: 2.5rem !important; }

.wp-block-navigation a {
  color: var(--wp--preset--color--navy) !important;
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
}

.wp-block-navigation a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--wp--preset--color--cyan);
  transition: width 0.25s ease;
  border-radius: 2px;
}

.wp-block-navigation a:hover::after,
.wp-block-navigation a:focus::after,
.wp-block-navigation .current-menu-item a::after {
  width: 100%;
}

.wp-block-navigation a:hover,
.wp-block-navigation a:focus {
  color: var(--wp--preset--color--cyan-deep) !important;
}

@media (max-width: 900px) {
  .fv-header-cta { display: none !important; }
  .fv-nav-wrap { gap: 1rem !important; }
}

/* ---------- 2bis. Mobile navigation overlay (hamburger menu) ---------- */
/* Hamburger button (visible only below 600px via WP core CSS) */
.wp-block-navigation__responsive-container-open {
  color: var(--wp--preset--color--navy) !important;
  padding: 0.5rem;
}
.wp-block-navigation__responsive-container-open svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

/* Open overlay state: full screen navy, centered items */
.wp-block-navigation__responsive-container.is-menu-open {
  background-color: var(--wp--preset--color--navy, #0A1628) !important;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
  align-items: center !important;
  justify-content: center !important;
  text-align: center;
  padding-top: 4rem !important;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
  gap: 2rem !important;
  width: 100%;
  max-width: 320px;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item a {
  color: #FFFFFF !important;
  font-size: 1.5rem !important;
  font-weight: 500;
  font-family: var(--wp--preset--font-family--space-grotesk);
  letter-spacing: -0.01em;
  padding: 0.4rem 0;
  display: inline-block;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item a:hover,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item a:focus {
  color: var(--wp--preset--color--cyan, #00D4FF) !important;
}
/* Kill the underline animation pseudo inside the overlay (looks broken stacked) */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item a::after {
  display: none !important;
}

/* Close (X) button */
.wp-block-navigation__responsive-container-close {
  color: #FFFFFF !important;
  padding: 0.5rem;
}
.wp-block-navigation__responsive-container-close svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

/* On mobile (<600px), hide lang switcher + CTA from the inline header bar
   — they are not part of the overlay menu and would overlap the hamburger. */
@media (max-width: 599px) {
  .fv-lang-switch { display: none !important; }
  .fv-header-cta { display: none !important; }
  .fv-nav-wrap { gap: 0.5rem !important; }
}

/* ---------- 3. Eyebrow text used across sections ---------- */
.fv-section-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wp--preset--color--cyan-deep);
  margin: 0 0 1.25rem;
}

.fv-section-eyebrow-line {
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--wp--preset--color--lime), transparent);
  display: inline-block;
  border-radius: 2px;
}

/* Eyebrow on light background (sand/cream) — readable rust-deep warm accent */
.fv-section-eyebrow { color: var(--wp--preset--color--lime-deep, #923D1F); }
/* Eyebrow on dark navy background — brand cyan signature */
.fv-section-eyebrow-light { color: var(--wp--preset--color--cyan-soft, #7EE7FF); }

/* ---------- 4. Hero ---------- */
.fv-hero {
  position: relative;
  overflow: hidden;
}

/* Slight darken/desaturate so navy-blue dominates without overpowering */
.fv-hero > .wp-block-cover__image-background {
  filter: brightness(0.72) saturate(0.7) contrast(1.02);
}

/* Glow underneath the title block — cyan signature */
.fv-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 100%, rgba(0, 212, 255, 0.18), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* Navy tint overlay so text stays readable on top of the AI image */
.fv-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 22, 40, 0.42) 0%, rgba(10, 22, 40, 0.68) 100%);
  z-index: 1;
  pointer-events: none;
}

/* === Hero PHOTO variant ===
 * No overlay AT ALL. The image speaks for itself.
 * Text stays white with no shadow — readability relies purely on the natural
 * composition of the team photo (background blur + lower-third positioning).
 */
.fv-hero-photo > .wp-block-cover__image-background { filter: none; }
.fv-hero-photo > .wp-block-cover__background,
.fv-hero-photo > .has-background-dim { display: none !important; }
.fv-hero-photo::after,
.fv-hero-photo::before { display: none !important; }
.fv-hero-photo h1,
.fv-hero-photo .wp-block-heading,
.fv-hero-photo p { text-shadow: none !important; }
.fv-hero-photo p { color: #FFFFFF !important; }

/* === Hero "neural network" overlay ===
 * Canvas où sont dessinées des étoiles bleutées scintillantes reliées
 * par des traits cyan qui apparaissent selon la distance. JS dans main.js.
 */
.fv-hero {
  position: relative;
  isolation: isolate;
}

.fv-hero-network {
  position: absolute !important;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

/* Restreindre `position: relative; z-index: 1` aux ENFANTS DIRECTS textuels
   sauf nos overlays et l'image, sinon le canvas n'est pas visible. */
.fv-hero > *:not(.wp-block-cover__image-background):not(.fv-hero-network) {
  position: relative;
  z-index: 3;
}

.fv-hero > .wp-block-cover__image-background,
.fv-hero > .fv-hero-network {
  position: absolute !important;
}

.fv-hero h1 em {
  font-style: italic;
  background: linear-gradient(135deg, #00D4FF 0%, #7EE7FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.fv-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 1.125rem;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.35);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #7EE7FF;
  backdrop-filter: blur(4px);
}

.fv-hero-eyebrow-dot {
  width: 8px; height: 8px;
  background: #00D4FF;
  border-radius: 50%;
  box-shadow: 0 0 12px #00D4FF;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.15); }
}

/* Trust signals row */
.fv-trust-signals {
  gap: 1.5rem !important;
  align-items: center;
}

.fv-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: #CBD5E1;
  letter-spacing: 0.04em;
}

.fv-trust-icon { font-size: 1rem; }

.fv-trust-divider {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 700px) {
  .fv-trust-divider { display: none; }
  .fv-trust-signals { gap: 0.875rem !important; }
}

/* ---------- 5. Buttons ---------- */
.wp-block-button__link {
  transition: transform 0.15s ease, box-shadow 0.25s ease, background-color 0.2s ease, color 0.2s ease;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.wp-block-button:not(.is-style-outline) .wp-block-button__link::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -8px rgba(0, 212, 255, 0.55);
}

.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover::before {
  left: 100%;
}

.is-style-outline .wp-block-button__link:hover {
  background: var(--wp--preset--color--navy) !important;
  color: #fff !important;
  border-color: var(--wp--preset--color--navy) !important;
}

.fv-btn-outline .wp-block-button__link:hover {
  background: #fff !important;
  color: var(--wp--preset--color--navy-deep) !important;
  border-color: #fff !important;
}

/* ---------- 6. Stats band ---------- */
.fv-stats-band { position: relative; }

.fv-stat {
  text-align: center;
  padding: 0.5rem 0;
}

.fv-stat-number {
  font-family: var(--wp--preset--font-family--space-grotesk);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(135deg, var(--wp--preset--color--navy) 0%, var(--wp--preset--color--cyan-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.625rem;
}

.fv-stat-suffix {
  font-size: 0.6em;
  font-weight: 600;
  -webkit-text-fill-color: var(--wp--preset--color--cyan-deep);
  background: none;
}

.fv-stat-label {
  font-size: 0.92rem;
  color: var(--wp--preset--color--stone-500);
  font-weight: 500;
  line-height: 1.4;
  max-width: 220px;
  margin: 0 auto;
}

/* ---------- 7. Service cards (homepage) — 2x2 grid premium ---------- */
.fv-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1180px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .fv-services-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

.fv-service-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--wp--preset--color--stone-300);
  border-radius: 24px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              border-color 0.25s ease;
  position: relative;
  min-height: 460px;
}

.fv-service-card-image {
  height: 240px;
  background-size: cover;
  background-position: center;
  background-color: var(--wp--preset--color--navy-deep);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  /* Desaturate the historic blue-heavy AI visuals so they read as charcoal/lime */
  filter: saturate(0.4) brightness(0.85) contrast(1.05);
}

.fv-service-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(11, 11, 13, 0.6) 100%);
}

.fv-service-card:hover .fv-service-card-image { transform: scale(1.04); }

.fv-service-card-content {
  padding: 2.25rem 2.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  position: relative;
}

.fv-service-card-badge {
  position: absolute;
  top: -16px; right: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1rem;
  background: var(--wp--preset--color--cyan);
  color: var(--wp--preset--color--navy-deep);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  box-shadow: 0 8px 24px -8px rgba(0, 212, 255, 0.5);
  white-space: nowrap;
}

.fv-service-card-tag {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wp--preset--color--lime-deep);
  margin: 0 0 0.75rem;
}

.fv-service-card-title {
  font-family: var(--wp--preset--font-family--space-grotesk);
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--wp--preset--color--navy);
  margin: 0 0 1rem;
}

.fv-service-card-desc {
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--wp--preset--color--stone-700);
  margin: 0 0 1.75rem;
  flex: 1;
}

.fv-service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--wp--preset--color--cyan-deep);
  transition: gap 0.25s ease, color 0.2s ease;
  font-family: var(--wp--preset--font-family--space-grotesk);
}

.fv-service-card-link span[aria-hidden] {
  display: inline-block;
  transition: transform 0.25s ease;
}

/* Stronger CTA pill on service cards */
.fv-service-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: var(--wp--preset--color--cyan);
  color: var(--wp--preset--color--navy-deep);
  border-radius: 999px;
  font-family: var(--wp--preset--font-family--inter);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.005em;
  text-decoration: none;
  transition: gap 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  align-self: flex-start;
  margin-top: auto;
}

.fv-service-card-cta span[aria-hidden] {
  display: inline-block;
  transition: transform 0.25s ease;
}

.fv-service-card:hover .fv-service-card-cta {
  gap: 0.625rem;
  box-shadow: 0 10px 22px -8px rgba(0, 212, 255, 0.55);
}

.fv-service-card:hover .fv-service-card-cta span[aria-hidden] { transform: translateX(3px); }

.fv-service-card-featured .fv-service-card-cta {
  background: var(--wp--preset--color--cyan);
  color: var(--wp--preset--color--navy-deep);
}

.fv-service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 64px -20px rgba(10, 22, 40, 0.22);
  border-color: var(--wp--preset--color--cyan);
}

.fv-service-card:hover .fv-service-card-link { gap: 0.875rem; }
.fv-service-card:hover .fv-service-card-link span[aria-hidden] { transform: translateX(4px); }

.fv-service-card-featured {
  background: var(--wp--preset--color--navy);
  border-color: var(--wp--preset--color--cyan);
  box-shadow: 0 16px 40px -12px rgba(0, 212, 255, 0.28);
}

.fv-service-card-featured .fv-service-card-title { color: #fff; }
.fv-service-card-featured .fv-service-card-tag { color: #7EE7FF; }
.fv-service-card-featured .fv-service-card-desc { color: #CBD5E1; }
.fv-service-card-featured .fv-service-card-link { color: #00D4FF; }

.fv-service-card-featured:hover {
  box-shadow: 0 32px 64px -16px rgba(0, 212, 255, 0.45);
  transform: translateY(-10px);
}

@media (max-width: 500px) {
  .fv-service-card-content { padding: 1.75rem 1.5rem 2rem; }
  .fv-service-card-title { font-size: 1.5rem; }
  .fv-service-card-image { height: 200px; }
}

/* ---------- 8. Methodology section ---------- */
.fv-methodology { position: relative; overflow: hidden; }

.fv-methodology::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.fv-methodology::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0, 149, 184, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.fv-method-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .fv-method-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .fv-method-steps { grid-template-columns: 1fr; }
}

.fv-method-step {
  position: relative;
  padding: 2.5rem 2rem;
  background: rgba(21, 35, 61, 0.5);
  border: 1px solid rgba(0, 212, 255, 0.18);
  border-radius: 20px;
  backdrop-filter: blur(8px);
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.fv-method-step:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 212, 255, 0.5);
  background: rgba(21, 35, 61, 0.75);
  box-shadow: 0 16px 32px -16px rgba(0, 212, 255, 0.4);
}

.fv-method-step-number {
  font-family: var(--wp--preset--font-family--space-grotesk);
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(135deg, var(--wp--preset--color--navy) 0%, var(--wp--preset--color--cyan-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
}

/* Connecting line between method steps on desktop */
@media (min-width: 901px) {
  .fv-method-steps {
    position: relative;
  }
  .fv-method-steps::before {
    content: '';
    position: absolute;
    top: calc(2.5rem + 1.75rem);
    left: 12%;
    right: 12%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.3), rgba(0, 212, 255, 0.3), transparent);
    z-index: 0;
  }
  .fv-method-step { z-index: 1; }
}

.fv-method-step-title {
  font-family: var(--wp--preset--font-family--space-grotesk);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #fff;
  margin: 0 0 0.375rem;
}

.fv-method-step-duration {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7EE7FF;
  margin: 0 0 1rem;
}

.fv-method-step-desc {
  font-size: 0.92rem;
  line-height: 1.55;
  color: #CBD5E1;
  margin: 0;
}

/* ---------- 9. Sectors row ---------- */
.fv-sectors {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  max-width: 1080px;
  margin: 0 auto;
}

.fv-sector {
  padding: 0.625rem 1.375rem;
  border: 1px solid var(--wp--preset--color--stone-300);
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--wp--preset--color--navy);
  background: #fff;
  transition: all 0.2s ease;
  letter-spacing: -0.005em;
}

.fv-sector:hover {
  border-color: var(--wp--preset--color--cyan);
  color: var(--wp--preset--color--cyan-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px -8px rgba(0, 212, 255, 0.3);
}

/* ---------- 10. Pricing featured glow ---------- */
.fv-pricing-list,
.fv-footer-list,
.is-style-no-bullet {
  list-style: none !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
}

/* Equalize pricing card heights — flex layout in column */
.wp-block-columns:has(.fv-pricing-featured),
.wp-block-columns:has(.fv-pricing-list) {
  align-items: stretch !important;
}

.wp-block-columns:has(.fv-pricing-list) .wp-block-column {
  display: flex !important;
  flex-direction: column;
}

/* Push pricing buttons to the bottom of each card */
.wp-block-columns:has(.fv-pricing-list) .wp-block-column > .wp-block-buttons {
  margin-top: auto !important;
}

.fv-pricing-featured { position: relative; }

.fv-pricing-featured::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 24px;
  padding: 2px;
  background: linear-gradient(135deg, #00D4FF 0%, transparent 50%, #00D4FF 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.5;
}

/* ---------- 11. Rate cards (à la carte pricing) ---------- */
.fv-rate-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  height: 100%;
  display: flex !important;
  flex-direction: column;
}

.fv-rate-card:hover {
  transform: translateY(-4px);
  border-color: var(--wp--preset--color--cyan) !important;
  box-shadow: 0 12px 32px -12px rgba(10, 22, 40, 0.12);
}

.fv-rate-card-dark:hover {
  border-color: rgba(0, 212, 255, 0.5) !important;
  box-shadow: 0 12px 32px -8px rgba(0, 212, 255, 0.25);
}

/* Force rate cards in same row to equal heights */
.wp-block-columns:has(.fv-rate-card) {
  align-items: stretch !important;
}

.wp-block-columns:has(.fv-rate-card) .wp-block-column {
  display: flex !important;
}

.fv-rate-list li { padding-left: 0; margin: 0; }

/* ---------- 12. Comparison table ---------- */
.fv-comparison-table table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px -4px rgba(10, 22, 40, 0.06);
}

.fv-comparison-table thead { background: var(--wp--preset--color--navy); }

.fv-comparison-table thead th {
  color: #fff;
  font-family: var(--wp--preset--font-family--space-grotesk);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 1.25rem 1rem;
  text-align: center;
  border: none;
}

.fv-comparison-table thead th:first-child { text-align: left; }

.fv-comparison-table tbody td {
  padding: 0.875rem 1rem;
  font-size: 0.95rem;
  border: none;
  border-bottom: 1px solid var(--wp--preset--color--stone-100);
  text-align: center;
  color: var(--wp--preset--color--stone-700);
}

.fv-comparison-table tbody td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--wp--preset--color--navy);
}

.fv-comparison-table tbody tr:last-child td {
  border-bottom: none;
  background: var(--wp--preset--color--stone-100);
  font-weight: 600;
}

.fv-comparison-table tbody tr:hover { background: rgba(0, 212, 255, 0.03); }

/* ---------- 13. Details / FAQ ---------- */
.wp-block-details {
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.wp-block-details:hover {
  border-color: var(--wp--preset--color--cyan-deep) !important;
}

.wp-block-details summary {
  cursor: pointer;
  font-size: 1.05rem;
  list-style: none;
  position: relative;
  padding-right: 2.5rem;
  font-family: var(--wp--preset--font-family--inter);
  font-weight: 500;
  color: var(--wp--preset--color--navy);
}

.wp-block-details summary::-webkit-details-marker { display: none; }

.wp-block-details summary::after {
  content: '+';
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  width: 28px; height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 212, 255, 0.1);
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--wp--preset--color--cyan-deep);
  transition: transform 0.25s ease, background 0.2s ease;
}

.wp-block-details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
  background: var(--wp--preset--color--cyan);
  color: var(--wp--preset--color--navy-deep);
}

/* ---------- 14. Testimonials ---------- */
.fv-testimonial {
  background: #fff;
  border: 1px solid var(--wp--preset--color--stone-300);
  border-radius: 24px;
  padding: 2.25rem;
  position: relative;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  margin: 0;
}

.fv-testimonial::before {
  content: '"';
  position: absolute;
  top: 0.875rem; left: 2rem;
  font-family: var(--wp--preset--font-family--space-grotesk);
  font-size: 5rem;
  line-height: 1;
  color: var(--wp--preset--color--lime-deep);
  opacity: 0.55;
  font-weight: 700;
}

.fv-testimonial:hover {
  transform: translateY(-4px);
  border-color: var(--wp--preset--color--lime);
  box-shadow: 0 16px 40px -12px rgba(26, 26, 31, 0.12);
}

.fv-testimonial-stars {
  color: #F59E0B;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}

.fv-testimonial-quote {
  font-family: var(--wp--preset--font-family--inter);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--wp--preset--color--navy);
  font-style: italic;
  margin: 0 0 1.5rem;
  padding: 0;
  border: none;
  position: relative;
  z-index: 1;
}

.fv-testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.fv-testimonial-name {
  font-weight: 600;
  color: var(--wp--preset--color--navy);
  font-size: 0.95rem;
}

.fv-testimonial-role {
  font-size: 0.85rem;
  color: var(--wp--preset--color--stone-500);
}

/* ---------- 15. Blog cards ---------- */
.fv-blog-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.fv-blog-card:hover {
  transform: translateY(-6px);
  border-color: var(--wp--preset--color--cyan) !important;
  box-shadow: 0 20px 40px -12px rgba(10, 22, 40, 0.12);
}

.fv-blog-card .wp-block-post-title a {
  color: var(--wp--preset--color--navy);
  text-decoration: none;
  font-family: var(--wp--preset--font-family--space-grotesk);
  letter-spacing: -0.015em;
  transition: color 0.2s ease;
}

.fv-blog-card .wp-block-post-title a:hover {
  color: var(--wp--preset--color--lime-deep);
}

.wp-block-post-featured-image img {
  border-radius: 14px;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
  /* Tone down the historically blue AI covers — desaturate gently, hover reverts to full colour */
  filter: saturate(0.45) brightness(0.95);
}

.fv-blog-card:hover .wp-block-post-featured-image img {
  transform: scale(1.03);
  filter: saturate(0.85) brightness(1);
}

.wp-block-post-terms a {
  display: inline-block;
  background: rgba(193, 95, 60, 0.12);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--wp--preset--color--lime-deep);
  transition: background 0.2s ease, color 0.2s ease;
}

.wp-block-post-terms a:hover {
  background: var(--wp--preset--color--lime);
  color: var(--wp--preset--color--navy-deep);
}

/* "Lire l'article" link inside post excerpts on the blog cards */
.fv-blog-card .wp-block-post-excerpt__more-link,
.fv-blog-card .wp-block-post-excerpt a {
  color: var(--wp--preset--color--lime-deep);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}
.fv-blog-card .wp-block-post-excerpt__more-link:hover,
.fv-blog-card .wp-block-post-excerpt a:hover {
  color: var(--wp--preset--color--navy);
  text-decoration-color: var(--wp--preset--color--lime);
}

/* ---------- 16. Contact form ---------- */
.fv-contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.fv-form-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.fv-form-row label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--wp--preset--color--stone-700);
  font-family: var(--wp--preset--font-family--inter);
}

.fv-form-row input,
.fv-form-row select,
.fv-form-row textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.875rem 1.125rem;
  border: 1px solid var(--wp--preset--color--stone-300);
  border-radius: 12px;
  background: #fff;
  color: var(--wp--preset--color--navy);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  width: 100%;
}

.fv-form-row input:focus,
.fv-form-row select:focus,
.fv-form-row textarea:focus {
  outline: none;
  border-color: var(--wp--preset--color--cyan);
  box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.12);
  background: #fafdff;
}

.fv-form-submit {
  font-family: var(--wp--preset--font-family--inter);
  font-size: 1.05rem;
  font-weight: 600;
  padding: 1rem 2rem;
  background: var(--wp--preset--color--cyan);
  color: var(--wp--preset--color--navy-deep);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.25s ease;
  margin-top: 0.5rem;
}

.fv-form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -8px rgba(0, 212, 255, 0.55);
}

.fv-form-note {
  font-size: 0.85rem;
  color: var(--wp--preset--color--stone-500);
  margin-top: 0.5rem;
}

/* ---------- 17. Social icons ---------- */
.fv-social {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.fv-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(0, 212, 255, 0.1);
  color: var(--wp--preset--color--cyan-deep);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.fv-social-icon:hover,
.fv-social-icon:focus {
  background: var(--wp--preset--color--cyan);
  color: var(--wp--preset--color--navy-deep);
  transform: translateY(-3px);
}

.fv-footer .fv-social-icon {
  background: rgba(255, 255, 255, 0.08);
  color: #CBD5E1;
}

.fv-footer .fv-social-icon:hover {
  background: var(--wp--preset--color--cyan);
  color: var(--wp--preset--color--navy-deep);
}

/* ---------- 18. Footer ---------- */
.fv-footer a {
  color: var(--wp--preset--color--stone-300);
  text-decoration: none;
  transition: color 0.2s ease;
}

.fv-footer a:hover,
.fv-footer a:focus { color: var(--wp--preset--color--cyan); }

/* ---------- 19. CEO portrait special ---------- */
.fv-ceo-portrait img {
  box-shadow: 0 30px 60px -20px rgba(10, 22, 40, 0.25);
  border: 1px solid rgba(0, 212, 255, 0.2);
}

/* ---------- 20. Article single page ---------- */
.wp-block-post-content {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--wp--preset--color--stone-700);
}

.wp-block-post-content p {
  margin-bottom: 1.375rem;
}

.wp-block-post-content h2 {
  font-family: var(--wp--preset--font-family--space-grotesk);
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--wp--preset--color--navy);
  margin: 3rem 0 1.25rem;
}

.wp-block-post-content h3 {
  font-family: var(--wp--preset--font-family--space-grotesk);
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--wp--preset--color--navy);
  margin: 2.25rem 0 0.875rem;
}

.wp-block-post-content ul,
.wp-block-post-content ol {
  margin: 1rem 0 1.5rem 1.25rem;
}

.wp-block-post-content li {
  margin-bottom: 0.5rem;
}

.wp-block-post-content strong {
  color: var(--wp--preset--color--navy);
  font-weight: 600;
}

/* ---------- 20bis-pre. Article cover ----------
 * Use a centered flex container so the wp-block-post-featured-image is
 * forced to the middle of the page (WP's constrained layout otherwise
 * leaves it left-anchored at certain widths). */
.fv-article-cover-wrap {
  display: flex !important;
  justify-content: center !important;
  width: 100%;
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  box-sizing: border-box;
}

.fv-article-cover-wrap .wp-block-post-featured-image,
.fv-article-cover-wrap > figure,
.fv-article-cover-wrap > figure.wp-block-post-featured-image {
  width: 100%;
  max-width: 960px;
  margin-left: auto !important;
  margin-right: auto !important;
  display: block;
}

.fv-article-cover-wrap .wp-block-post-featured-image img,
.fv-article-cover-wrap figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 30px 60px -20px rgba(10, 22, 40, 0.35);
  margin: 0 auto;
}

/* ---------- 20bis. Article lede (chapeau) ---------- */
.fv-article-lede {
  font-size: 1.25rem !important;
  line-height: 1.6 !important;
  color: var(--wp--preset--color--stone-700) !important;
  font-style: italic;
  padding-left: 1.5rem;
  border-left: 3px solid var(--wp--preset--color--cyan);
  margin-bottom: 2.5rem !important;
}

/* Featured image on single article */
.wp-block-post-featured-image {
  margin: 0 !important;
}

.wp-block-post-featured-image img {
  width: 100%;
  height: auto;
}

/* ---------- 20ter. Category filter pills (blog archive) ---------- */
.fv-cat-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  padding-bottom: 1rem;
}

.fv-cat-pill {
  padding: 0.5rem 1.125rem;
  border: 1px solid var(--wp--preset--color--stone-300);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--wp--preset--color--stone-700);
  background: #fff;
  text-decoration: none;
  transition: all 0.2s ease;
}

.fv-cat-pill:hover {
  border-color: var(--wp--preset--color--cyan);
  color: var(--wp--preset--color--cyan-deep);
  transform: translateY(-2px);
}

.fv-cat-pill-active {
  background: var(--wp--preset--color--navy);
  border-color: var(--wp--preset--color--navy);
  color: #fff;
}

.fv-cat-pill-active:hover {
  background: var(--wp--preset--color--navy-deep);
  border-color: var(--wp--preset--color--navy-deep);
  color: #fff;
}

/* ---------- 21. CTA final ---------- */
.fv-cta-final {
  position: relative;
  overflow: hidden;
}

.fv-cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(0, 212, 255, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(126, 231, 255, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.fv-cta-final > * { position: relative; z-index: 1; }

/* ---------- 22. Scroll-reveal animations (added via JS) ---------- */
.fv-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) var(--fv-reveal-delay, 0ms),
    transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) var(--fv-reveal-delay, 0ms);
  will-change: opacity, transform;
}

.fv-reveal.fv-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Slight directional variation: service cards rise up, method steps slide in */
.fv-method-step.fv-reveal { transform: translateY(32px) scale(0.98); }
.fv-method-step.fv-reveal.fv-visible { transform: translateY(0) scale(1); }

.fv-blog-card.fv-reveal,
.wp-block-query .fv-reveal {
  transform: translateY(20px);
}

.fv-sector.fv-reveal { transform: translateY(12px); }
.fv-sector.fv-reveal.fv-visible { transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .fv-reveal,
  .fv-reveal.fv-visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Sticky header reacts to scroll */
.fv-header {
  transition: box-shadow 0.3s ease, background 0.3s ease, padding 0.3s ease;
}

/* Kill the 24px (1.5rem) blockGap WP inserts between the header template-part
   and the main content — there must be no visible strip between menu and hero. */
header.wp-block-template-part + main,
.wp-site-blocks > main.wp-block-group {
  margin-top: 0 !important;
}

.fv-header.fv-header-scrolled {
  box-shadow: 0 6px 24px -12px rgba(10, 22, 40, 0.18);
  background: rgba(255, 255, 255, 0.97) !important;
}

/* ---------- 22bis. Contact form additions (2-col, honeypot, consent, status) ---------- */
.fv-form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 600px) {
  .fv-form-row-2 { grid-template-columns: 1fr; }
}

.fv-required {
  color: var(--wp--preset--color--cyan-deep);
  font-weight: 700;
  margin-left: 2px;
}

/* Honeypot — visually hidden but accessible (not display:none so dumb bots fill it) */
.fv-honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.fv-form-consent {
  margin-top: 0.5rem;
  padding: 1rem 1.125rem;
  background: var(--wp--preset--color--stone-100);
  border-radius: 10px;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--wp--preset--color--stone-700);
}

.fv-form-consent label {
  display: flex;
  gap: 0.625rem;
  align-items: flex-start;
  cursor: pointer;
}

.fv-form-consent input[type="checkbox"] {
  margin-top: 0.2rem;
  accent-color: var(--wp--preset--color--cyan-deep);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.fv-form-status {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  font-size: 0.95rem;
  line-height: 1.55;
}

.fv-form-status-ok {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #047857;
}

.fv-form-status-err {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #b91c1c;
}

.fv-form-status a { color: inherit; text-decoration: underline; }

/* ---------- 22ter. Language switcher (custom UI on top of GTranslate) ---------- */

/* GTranslate's native select is rendered but hidden — we use it only to trigger translation */
.fv-gt-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  pointer-events: none;
}

/* Hide GTranslate's Google bar that normally pushes the body down 40px when translated */
.skiptranslate,
.goog-te-banner-frame,
#goog-gt-tt,
.goog-te-balloon-frame { display: none !important; }
body { top: 0 !important; }

/* Hide GTranslate floating language widget injected as a free-floating bubble of flags.
   We do our own switcher in the header — no need for a second one polluting the WhatsApp FAB. */
.gtranslate_wrapper.gt_container--floating,
.gt_floating_btn,
.gt_floating_select,
[id^="gt-wrapper-"][class*="floating"],
.glink.nturl[style*="position: fixed"] { display: none !important; }

/* The custom pill button — what the user actually sees */
.fv-lang-switch {
  position: relative;
  font-family: var(--wp--preset--font-family--inter);
  display: inline-block;
}

.fv-lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem;
  background: #fff;
  border: 1px solid var(--wp--preset--color--stone-300);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--wp--preset--color--navy);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  font-family: inherit;
  line-height: 1.3;
}

.fv-lang-toggle:hover {
  border-color: var(--wp--preset--color--cyan);
  background: rgba(0, 212, 255, 0.04);
}

.fv-lang-toggle:focus-visible {
  outline: none;
  border-color: var(--wp--preset--color--cyan);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.2);
}

.fv-lang-flag { font-size: 1rem; line-height: 1; }
.fv-lang-code { letter-spacing: 0.01em; }
.fv-lang-chevron {
  transition: transform 0.2s ease;
  margin-left: 0.125rem;
}
.fv-lang-switch.fv-lang-open .fv-lang-chevron { transform: rotate(180deg); }

/* The dropdown menu — opens DOWNWARDS */
.fv-lang-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 170px;
  list-style: none;
  padding: 0.375rem;
  margin: 0;
  background: #fff;
  border: 1px solid var(--wp--preset--color--stone-300);
  border-radius: 14px;
  box-shadow: 0 16px 40px -12px rgba(10, 22, 40, 0.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 999;
}

.fv-lang-switch.fv-lang-open .fv-lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.fv-lang-menu li { margin: 0; padding: 0; }

.fv-lang-menu button {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 0;
  background: transparent;
  border-radius: 8px;
  text-align: left;
  cursor: pointer;
  color: var(--wp--preset--color--stone-700);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  transition: background 0.15s ease, color 0.15s ease;
}

.fv-lang-menu button:hover,
.fv-lang-menu button:focus-visible {
  background: rgba(0, 212, 255, 0.08);
  color: var(--wp--preset--color--cyan-deep);
  outline: none;
}

.fv-lang-menu button.fv-lang-active {
  background: var(--wp--preset--color--navy);
  color: #fff;
}

.fv-lang-menu button[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

@media (max-width: 900px) {
  .fv-lang-switch { display: none !important; }
}

/* ---------- 22quater. Cookie consent banner ---------- */
.fv-cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 1.25rem;
  transform: translate(-50%, calc(100% + 1.25rem));
  width: min(960px, calc(100vw - 2rem));
  background: #fff;
  border: 1px solid var(--wp--preset--color--stone-300);
  border-radius: 18px;
  box-shadow: 0 24px 48px -16px rgba(10, 22, 40, 0.28);
  padding: 1.25rem 1.5rem;
  z-index: 200;
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.35s ease;
  opacity: 0;
}

.fv-cookie-banner.fv-cookie-visible {
  transform: translate(-50%, 0);
  opacity: 1;
}

.fv-cookie-banner.fv-cookie-leaving {
  transform: translate(-50%, calc(100% + 1.25rem));
  opacity: 0;
}

.fv-cookie-content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
}

.fv-cookie-text strong {
  display: block;
  font-family: var(--wp--preset--font-family--space-grotesk);
  font-size: 1rem;
  font-weight: 600;
  color: var(--wp--preset--color--navy);
  margin-bottom: 0.25rem;
}

.fv-cookie-text p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--wp--preset--color--stone-700);
}

.fv-cookie-actions {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-wrap: wrap;
}

.fv-cookie-btn {
  padding: 0.625rem 1.25rem;
  font-family: var(--wp--preset--font-family--inter);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.fv-cookie-refuse {
  background: transparent;
  color: var(--wp--preset--color--stone-700);
  border-color: var(--wp--preset--color--stone-300);
}

.fv-cookie-refuse:hover {
  background: var(--wp--preset--color--stone-100);
  border-color: var(--wp--preset--color--stone-500);
}

.fv-cookie-accept {
  background: var(--wp--preset--color--cyan);
  color: var(--wp--preset--color--navy-deep);
}

.fv-cookie-accept:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -8px rgba(0, 212, 255, 0.55);
}

.fv-cookie-link {
  font-size: 0.85rem;
  color: var(--wp--preset--color--cyan-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 720px) {
  .fv-cookie-content { grid-template-columns: 1fr; gap: 1rem; }
  .fv-cookie-actions { width: 100%; justify-content: space-between; }
}

/* ---------- 23. Mobile ---------- */
@media (max-width: 781px) {
  .fv-hero { min-height: 580px !important; }
  .wp-block-columns { gap: 1.5rem !important; }
  .fv-stats-band .wp-block-columns { gap: 2rem 1rem !important; }
  .fv-method-step { padding: 1.5rem 1.25rem; }
  .fv-testimonial { padding: 1.75rem 1.5rem; }
}

@media (max-width: 600px) {
  .fv-stat-label { max-width: none; }
  .fv-sectors { gap: 0.5rem; }
  .fv-sector { font-size: 0.85rem; padding: 0.4rem 0.875rem; }
}

/* ---------- 23bis. Team cards ---------- */
.fv-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1180px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .fv-team-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

.fv-team-card {
  background: #FFFFFF;
  border: 1px solid var(--wp--preset--color--stone-300, #D8CFBE);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.fv-team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px -16px rgba(10, 22, 40, 0.15);
  border-color: var(--wp--preset--color--cyan, #00D4FF);
}

.fv-team-card-photo {
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
.fv-team-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.fv-team-card:hover .fv-team-card-photo img {
  transform: scale(1.04);
}

.fv-team-card-body {
  padding: 1.75rem 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.fv-team-card-name {
  font-family: var(--wp--preset--font-family--space-grotesk);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--wp--preset--color--navy, #0A1628);
  margin: 0 0 0.25rem;
}
.fv-team-card-role {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wp--preset--color--lime-deep, #923D1F);
  margin: 0 0 1rem;
}
.fv-team-card-bio {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--wp--preset--color--stone-700, #4A413B);
  margin: 0;
}

/* Office showcase images */
.fv-office-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 20px;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.fv-office-image:hover img {
  transform: scale(1.02);
}

/* CEO portrait — softer rounded variant */
.fv-ceo-portrait img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

/* ---------- 28. Trust band — "Ils nous font confiance" ---------- */
.fv-trust-band {
  text-align: center;
}
.fv-trust-band .fv-section-eyebrow {
  justify-content: center;
  margin-bottom: 0.75rem;
}
.fv-trust-title {
  font-family: var(--wp--preset--font-family--space-grotesk);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--wp--preset--color--navy);
  margin: 0 auto 2.5rem;
  max-width: 720px;
  line-height: 1.25;
}

.fv-clients-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1.5rem 0.5rem;
  align-items: center;
  justify-items: center;
  max-width: 1180px;
  margin: 0 auto;
}
@media (max-width: 980px) {
  .fv-clients-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 600px) {
  .fv-clients-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
}

.fv-client {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 80px;
  padding: 0.5rem 0.75rem;
  border-radius: 12px;
  text-decoration: none;
  color: var(--wp--preset--color--stone-700);
  opacity: 0.78;
  filter: grayscale(0.85);
  transition: opacity 0.25s ease, filter 0.25s ease, transform 0.25s ease, background 0.25s ease;
}
.fv-client:hover,
.fv-client:focus-visible {
  opacity: 1;
  filter: grayscale(0);
  transform: translateY(-2px);
  background: rgba(10, 22, 40, 0.04);
}
.fv-client img {
  max-width: 100%;
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Wordmarks (text-based brand logos when no image is available) */
.fv-client-wordmark {
  font-family: var(--wp--preset--font-family--space-grotesk);
  font-weight: 700;
  letter-spacing: -0.015em;
  font-size: 1.3rem;
  line-height: 1;
  text-align: center;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  color: var(--wp--preset--color--navy);
}
.fv-client-wordmark small {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wp--preset--color--stone-500);
}
.fv-client-wordmark em {
  font-style: normal;
  color: var(--wp--preset--color--cyan-deep);
}

/* Per-brand styling tweaks */
.fv-client-bodyslim { font-style: italic; }
.fv-client-zenith em,
.fv-client-zenith small { color: var(--wp--preset--color--lime-deep); }
.fv-client-wgym {
  font-size: 1.75rem;
  letter-spacing: -0.04em;
}
.fv-client-wgym em {
  font-weight: 800;
  font-style: normal;
}
.fv-client-eden { font-size: 1.15rem; }
.fv-client-eden em { color: var(--wp--preset--color--cyan-deep); }

/* ---------- 24. Print ---------- */
@media print {
  .fv-header, .fv-footer { display: none; }
  .fv-wa-fab { display: none; }
  body { background: #fff; }
}

/* ---------- 25. Contact channels (sidebar phone/WA/email card) ---------- */
.fv-contact-channels {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.fv-contact-channel {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.75rem 0.875rem;
  border-radius: 12px;
  background: #FFFFFF;
  border: 1px solid var(--wp--preset--color--stone-200, #E2E8F0);
  text-decoration: none !important;
  color: var(--wp--preset--color--navy-deep, #0A1628);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.fv-contact-channel:hover,
.fv-contact-channel:focus-visible {
  transform: translateY(-2px);
  border-color: var(--wp--preset--color--cyan, #00D4FF);
  box-shadow: 0 8px 20px -10px rgba(0, 212, 255, 0.35);
}
.fv-contact-channel-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0,212,255,0.12), rgba(10,22,40,0.06));
  color: var(--wp--preset--color--navy-deep, #0A1628);
  flex-shrink: 0;
}
.fv-contact-channel-wa .fv-contact-channel-icon {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #FFFFFF;
}
.fv-contact-channel-phone .fv-contact-channel-icon {
  background: linear-gradient(135deg, #00D4FF, #0EA5E9);
  color: #FFFFFF;
}
.fv-contact-channel-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
  overflow: hidden;
}
.fv-contact-channel-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--wp--preset--color--stone-500, #64748B);
  margin-bottom: 2px;
}
.fv-contact-channel-value {
  font-size: 0.95rem;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------- 26. Footer mini contact list ---------- */
.fv-footer-contact {
  list-style: none;
  margin: 1.25rem 0 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.92rem;
}
.fv-footer-contact .fv-footer-contact-link {
  color: var(--wp--preset--color--stone-300, #CBD5E1);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s ease, transform 0.2s ease;
}
.fv-footer-contact .fv-footer-contact-link:hover {
  color: var(--wp--preset--color--cyan, #00D4FF);
  transform: translateX(2px);
}
.fv-footer-contact .fv-footer-contact-wa:hover {
  color: #25D366;
}

/* ---------- 27. Floating WhatsApp button ---------- */
.fv-wa-fab {
  position: fixed;
  right: clamp(1rem, 2.5vw, 1.75rem);
  bottom: clamp(1rem, 2.5vw, 1.75rem);
  z-index: 9000;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none !important;
  color: #FFFFFF;
  outline: none;
}
.fv-wa-fab-bubble {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 10px 30px -8px rgba(37, 211, 102, 0.55),
    0 4px 12px -4px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease;
  position: relative;
}
.fv-wa-fab-bubble::before {
  /* outer pulse ring */
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.55);
  animation: fv-wa-pulse 2.4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  pointer-events: none;
}
@keyframes fv-wa-pulse {
  0%   { transform: scale(0.85); opacity: 0.9; }
  70%  { transform: scale(1.45); opacity: 0;   }
  100% { transform: scale(1.45); opacity: 0;   }
}
.fv-wa-fab:hover .fv-wa-fab-bubble,
.fv-wa-fab:focus-visible .fv-wa-fab-bubble {
  transform: scale(1.08);
  box-shadow:
    0 14px 36px -8px rgba(37, 211, 102, 0.7),
    0 6px 16px -4px rgba(0, 0, 0, 0.22);
}
.fv-wa-fab-tooltip {
  background: var(--wp--preset--color--navy-deep, #0A1628);
  color: #FFFFFF;
  padding: 0.55rem 0.875rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  box-shadow: 0 6px 16px -8px rgba(10, 22, 40, 0.4);
  pointer-events: none;
}
.fv-wa-fab:hover .fv-wa-fab-tooltip,
.fv-wa-fab:focus-visible .fv-wa-fab-tooltip {
  opacity: 1;
  transform: translateX(0);
}
@media (max-width: 480px) {
  .fv-wa-fab-tooltip { display: none; }
  .fv-wa-fab-bubble { width: 56px; height: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  .fv-wa-fab-bubble::before { animation: none; }
  .fv-wa-fab-bubble,
  .fv-wa-fab-tooltip { transition: none; }
}
