/* ==========================================================================
   FLOW INTERNATIONAL — Accueil
   Fichier unique de la page d'accueil (7 sections).
   Chargé uniquement sur la page d'accueil via le thème.
   --------------------------------------------------------------------------
   Prérequis : global.css (polices + --flow-ff-display) et style.css du thème
   (--flow-navy, --flow-orange, --flow-h, ...). Aucun token redéfini ici.
   ========================================================================== */

/* ── Reset de page (hérité du snippet Services) ───────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { overflow-x: hidden; font-size: 16px; line-height: 1.6; }

/* ==========================================================================
   01 — HERO
   Shortcode : [flow_hero]
   ========================================================================== */

/* ── Hero wrapper ─────────────────────────────────────── */
.flow-hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: flex-start;
  overflow: hidden;
  background: var(--flow-navy);
  padding-top: var(--flow-h);
}

/* ── Fonds communs ────────────────────────────────────── */
.fh-bg {
  position: absolute; inset: -80px; z-index: 0;
}

/* Photo fixe */
.fh-bg--photo {
  background-size: cover; background-position: center 40%;
  animation: fh-drift 24s ease-in-out infinite alternate;
}
@keyframes fh-drift {
  0%   { transform: scale(1.08) translate(0,0); }
  50%  { transform: scale(1.08) translate(-10px,-15px); }
  100% { transform: scale(1.08) translate(8px,-30px); }
}

/* Vidéo MP4 */
.fh-bg--video { inset: 0; overflow: hidden; }
.fh-video {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  min-width: 100%; min-height: 100%;
  width: auto; height: auto;
  object-fit: cover;
}

/* Vidéo externe iframe */
.fh-bg--external {
  background-size: cover; background-position: center; inset: 0;
}
.fh-iframe {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 180%; height: 180%;
  pointer-events: none;
}

/* Diaporama */
.fh-bg--slider { inset: -80px; }
.fh-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.fh-slide.is-active { opacity: 1; }

/* ── Overlay + décos ──────────────────────────────────── */
.fh-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg,
    rgba(13,27,42,0.95) 0%,
    rgba(13,27,42,0.82) 45%,
    rgba(13,27,42,0.45) 100%);
}
.fh-grid {
  position: absolute; inset: 0; z-index: 1;
  background-image:
    repeating-linear-gradient(rgba(239,123,82,0.03) 0px, rgba(239,123,82,0.03) 1px, transparent 1px, transparent 60px),
    repeating-linear-gradient(90deg, rgba(239,123,82,0.03) 0px, rgba(239,123,82,0.03) 1px, transparent 1px, transparent 60px);
  pointer-events: none;
}
.fh-halo {
  position: absolute; top: -200px; right: -200px;
  width: 700px; height: 700px; z-index: 1;
  background: radial-gradient(circle, rgba(239,123,82,0.10) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Inner ────────────────────────────────────────────── */
.fh-inner {
  position: relative; z-index: 3;
  padding: 28px 60px 140px;
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 60px;
  align-items: center;
  justify-items: start;
}
.fh-content,
.fh-title,
.fh-desc,
.fh-ctas {
  text-align: left;
}
.fh-ctas {
  justify-content: flex-start;
}

/* ── Eyebrow ──────────────────────────────────────────── */
.fh-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(239,123,82,0.12);
  border: 1px solid rgba(239,123,82,0.35);
  color: var(--flow-orange)!important;
  font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 6px 14px; border-radius: 3px;
  margin-bottom: 28px;
}
.fh-eyebrow::before {
  content: ''; width: 6px; height: 6px;
  background: var(--flow-orange)!important; border-radius: 50%;
  animation: fh-pulse 2s infinite;
}
@keyframes fh-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.3; transform: scale(0.6); }
}

/* ── Titre ────────────────────────────────────────────── */
.fh-title {
  font-family: "Barlow Condensed", sans-serif !important;
  font-size: clamp(46px, 5.5vw, 78px) !important;
  font-weight: 800 !important;
  line-height: 0.95 !important;
  color: #fff !important;
  text-transform: uppercase;
  letter-spacing: -1px !important;
  margin-bottom: 24px;
}
.fh-title em { font-style: normal; color: var(--flow-orange); }
.fh-title__sub {
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 400; color: rgba(255,255,255,0.45);
  display: block; letter-spacing: 0;
}
.fh-desc {
  font-size: 16px; font-weight: 300;
  color: rgba(255,255,255,0.68); line-height: 1.75;
  max-width: 520px; margin-bottom: 36px;
}
.fh-desc strong { color: var(--flow-white); font-weight: 500; }

/* ── Boutons ──────────────────────────────────────────── */
.fh-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.fh-btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--flow-ff-display); font-size: 15px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  padding: 15px 30px; border-radius: 4px;
  text-decoration: none; transition: all 0.25s;
}
.fh-btn--primary {
  background: var(--flow-orange); color: var(--flow-white);
  border: none;
}
.fh-btn--primary:hover {
  background: var(--flow-orange-dk);
  transform: translateY(-2px); box-shadow: 0 10px 28px rgba(239,123,82,0.3);
  color: var(--flow-white);
}
.fh-btn__arrow { transition: transform 0.25s; }
.fh-btn--primary:hover .fh-btn__arrow { transform: translateX(4px); }
.fh-btn--secondary {
  background: transparent; color: var(--flow-white);
  border: 2px solid rgba(255,255,255,0.3);
}
.fh-btn--secondary:hover {
  border-color: var(--flow-white); background: rgba(255,255,255,0.08);
  color: var(--flow-white);
  transform: translateY(-2px);
}

/* ── Formulaire ───────────────────────────────────────── */
.fh-card {
  width: 100%;
  background: rgba(10,22,36,0.88);
  border: 1px solid rgba(239,123,82,0.2);
  border-radius: 12px; overflow: hidden;
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}
.fh-card__header {
  background: var(--flow-orange);
  padding: 14px 22px;
  display: flex; align-items: center; justify-content: flex-start; gap: 10px;
  font-family: var(--flow-ff-display);
  font-size: 15px; font-weight: 700;
  color: var(--flow-white); text-transform: uppercase; letter-spacing: 1px;
}
.fh-card__body { padding: 20px 22px; }
.fh-form__group { margin-bottom: 12px; }
.fh-form__group label {
  display: block; font-size: 10px; font-weight: 700;
  color: rgba(255,255,255,0.5); text-transform: uppercase;
  letter-spacing: 1.5px; margin-bottom: 6px;
}
.fh-form__group select,
.fh-form__group input {
  width: 100%; background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px; color: var(--flow-white);
  font-family: var(--flow-ff); font-size: 13px;
  padding: 9px 12px; outline: none;
  transition: background 0.35s ease, border-color 0.35s ease;
  appearance: none;
}
.fh-form__group select:focus,
.fh-form__group input:focus {
  border-color: var(--flow-orange);
  background: rgba(239,123,82,0.08);
}
.fh-form__group.is-error select,
.fh-form__group.is-error input {
  background: rgba(220, 60, 60, 0.28) !important;
  border-color: rgba(255, 140, 140, 0.85) !important;
}
.fh-form__group select option { background: #0D1B2A; }
.fh-form__group input::placeholder { color: rgba(255,255,255,0.3); }
.fh-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fh-select-wrap { position: relative; }
.fh-select-wrap select { padding-left: 36px; }
.fh-select-icon {
  position: absolute; left: 10px; top: 50%;
  transform: translateY(-50%);
  width: 16px; height: 16px;
  pointer-events: none; opacity: 0.5;
}
.fh-form__submit {
  width: 100%; background: var(--flow-orange)!important;
  color: var(--flow-white)!important; border: none;
  border-radius: 4px!important; font-family: var(--flow-ff-display);
  font-size: 15px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  padding: 13px; cursor: pointer; margin-top: 4px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: all 0.25s;
}
.fh-form__submit:hover {
  background: var(--flow-orange-dk);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(239,123,82,0.3);
}
.fh-form__note {
  text-align: center; font-size: 11px;
  color: rgba(255,255,255,0.3); margin-top: 10px;
  display: flex; align-items: center; justify-content: center; gap: 5px;
}

/* ── Filigrane ────────────────────────────────────────── */
.fh-wordmark {
  position: absolute; bottom: 90px; left: 0; right: 0;
  z-index: 2; overflow: hidden; height: 90px;
  display: flex; align-items: flex-end; justify-content: center;
  pointer-events: none;
}
.fh-wordmark span {
  font-family: var(--flow-ff-display);
  font-size: 160px; font-weight: 800;
  text-transform: uppercase; letter-spacing: -5px;
  line-height: 1; color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.10);
  white-space: nowrap; padding: 0;
  transform: translateY(14px);
}

/* ── Scroll hint ──────────────────────────────────────── */
.fh-scroll {
  position: absolute; bottom: 100px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.3); font-size: 10px;
  letter-spacing: 2px; text-transform: uppercase; z-index: 5;
  text-decoration: none;
}
#international-freight {
  scroll-margin-top: 92px;
}
.fh-scroll__mouse {
  width: 20px; height: 32px;
  border: 2px solid rgba(255,255,255,0.2); border-radius: 10px;
  display: flex; justify-content: center; padding-top: 5px;
}
.fh-scroll__wheel {
  width: 3px; height: 5px;
  background: rgba(255,255,255,0.4); border-radius: 2px;
  animation: fh-scroll 2s infinite;
}
@keyframes fh-scroll {
  0%   { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(8px); opacity: 0; }
}

/* ── Diagonale en V ───────────────────────────────────── */
.fh-diagonal {
  position: absolute; bottom: -2px; left: 0; right: 0;
  height: 80px; z-index: 4; pointer-events: none;
}
.fh-diagonal svg { display: block; width: 100%; height: 100%; }

/* ==========================================================================
   02 — BANDEAU RÉSEAUX
   Shortcode : [flow_networks]
   ========================================================================== */

.flow-networks {
  background: #EAE6DF;
  padding: 28px 60px;
  display: flex; align-items: center;
  justify-content: center; gap: 60px;
}
.fn-item { display: flex; align-items: center; gap: 14px; }
.fn-logo {
  width: auto; height: auto;
  background: none; border-radius: 0;
  display: inline-flex; align-items: center; gap: 6px;
  color: #0D1B2A;
  flex-shrink: 0;
}
.fn-logo svg { width: 28px; height: 28px; display: block; }
.fn-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #EF7B52;
  flex-shrink: 0;
  animation: ffoot-dot-pulse 2s infinite;
}
.fn-name {
  font-family: var(--flow-ff-display);
  font-size: 16px; font-weight: 700;
  color: var(--flow-navy); text-transform: uppercase;
}
.fn-desc { font-size: 12px; color: #8A8A8A; }
.fn-sep { width: 1px; height: 50px; background: rgba(13,27,42,0.15); }
.fn-stats { display: flex; gap: 40px; align-items: center; }
.fn-stat { text-align: center; }
.fn-stat__num {
  font-family: var(--flow-ff-display);
  font-size: 28px; font-weight: 800;
  color: var(--flow-orange); line-height: 1;
}
.fn-stat__lbl {
  font-size: 11px; color: #8A8A8A; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.5px; margin-top: 2px;
}

/* ==========================================================================
   03 — SERVICES
   Shortcode : [flow_services]
   --------------------------------------------------------------------------
   Les règles globales du snippet d'origine ne sont PAS copiées ici :
   :root --navy/--orange/..., reset *, html, body.
   Elles doivent vivre dans le thème, jamais dans une section.
   ========================================================================== */

.flow-services {
  background: var(--flow-white)!important;
  padding: 100px 0 100px var(--flow-body-inset);
  overflow: hidden;
}

/* ── Layout : card fixée + slider ─────────────────────── */
.fs-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 40px;
  align-items: stretch;
  width: 100%;
  max-width: none;
  margin: 0;
}

/* ── Card fixée gauche ────────────────────────────────── */
.fs-fixed {
  background: var(--flow-navy)!important;
  border-radius: 10px;
  padding: 44px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 380px;
  flex-shrink: 0;
}
.fs-fixed__title {
  font-family: "Barlow Condensed", sans-serif !important;
  font-size: clamp(25px, 3.2vw, 46px) !important;
  font-weight: 700 !important;
  color: var(--flow-white)!important;
  text-transform: lowercase !important;
  line-height: 1.15 !important;
  letter-spacing: 0 !important;
  margin-bottom: 20px;
  flex: 1;
  max-width: 100%;
  overflow-wrap: break-word;
}
.fs-fixed__title em {
  font-style: normal;
  color: var(--flow-orange)!important;
}

/* H2 d'accueil : même police et même taille que tous les H2 du site. */
html body h2.fs-fixed__title,
html body h2.fc-title,
html body h2.fcor-title,
html body h2.flo-title,
html body h2.fteam-title {
  font-family: "Barlow Condensed", sans-serif !important;
  font-size: clamp(25px, 3.2vw, 46px) !important;
  font-weight: 700 !important;
  text-transform: lowercase !important;
  line-height: 1.15 !important;
  letter-spacing: 0 !important;
}
html body h2.fs-fixed__title::first-letter,
html body h2.fc-title::first-letter,
html body h2.fcor-title::first-letter,
html body h2.flo-title::first-letter,
html body h2.fteam-title::first-letter {
  text-transform: uppercase;
}
@media (max-width: 768px) {
  html body h2.fs-fixed__title,
  html body h2.fc-title,
  html body h2.fcor-title,
  html body h2.flo-title,
  html body h2.fteam-title {
    font-size: 28px !important;
  }
}
.fs-fixed__desc {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
  margin-bottom: 32px;
}
.fs-fixed__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--flow-orange)!important;
  color: var(--flow-white);
  font-family: var(--flow-ff-display);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 13px 22px;
  border-radius: 4px;
  text-decoration: none;
  align-self: flex-start;
  transition: background 0.2s, transform 0.2s;
}
.fs-fixed__btn:hover {
  background: var(--flow-orange-dk);
  color: var(--flow-white);
  transform: translateY(-2px);
}

/* ── Slider wrapper ───────────────────────────────────── */
.fs-slider-wrap {
  position: relative;
  min-width: 0;
  overflow: hidden;
  margin-top: -8px;
  margin-bottom: -12px;
  padding: 8px 0 12px;
}
.fs-slider {
  display: flex;
  gap: 20px;
  cursor: grab;
  user-select: none;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding-right: 60px;
  will-change: transform;
}
.fs-slider.is-instant { transition: none; }
.fs-slider:active { cursor: grabbing; }

/* ── Card service ─────────────────────────────────────── */
.fs-card {
  position: relative;
  width: 320px;
  min-width: 320px;
  min-height: 520px;
  border-radius: 10px;
  overflow: visible;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.fs-card:hover                 { transform: translateY(-6px); }
.fs-card:hover .fs-card__cta   { letter-spacing: 1px; }

/* Wrapper interne */
.fs-card__inner {
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s;
}

/* ── Zone haute : photo ou dégradé ───────────────────── */
.fs-card__photo {
  width: 100%;
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  position: relative;
  flex-shrink: 0;
}

/* ── Zone basse — dégradé navy → couleur du service ──── */
.fs-card__content {
  background: linear-gradient(135deg, #0d1b2a 0%, var(--fs-card-color, #0D1B2A) 100%);
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.fs-card__tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: var(--flow-white)!important;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: 1px solid rgba(239,123,82,0.4);
  padding: 3px 8px;
  border-radius: 2px;
  align-self: flex-start;
}
.fs-card__title {
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(18px, 1.8vw, 25px);
  font-weight: 500;
  color: var(--flow-white)!important;
  line-height: 1.05;
  letter-spacing: -0.3px;
}
.fs-card__desc {
  font-size: 12.5px;
  color: rgba(255,255,255,0.65);
  line-height: 1.55;
  flex: 1;
}
.fs-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--flow-white);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: letter-spacing 0.2s;
  margin-top: 4px;
}

/* ── Boutons navigation ───────────────────────────────── */
.fs-nav {
  position: absolute;
  bottom: 12px;
  right: 72px;
  display: flex;
  gap: 8px;
  z-index: 10;
}
.fs-nav__btn {
  width: 40px; height: 40px;
  background: var(--flow-navy)!important;
  border: none; border-radius: 50%;
  color: var(--flow-white)!important;
  font-size: 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.2s;
}
.fs-nav__btn:hover    { background: var(--flow-orange)!important; transform: scale(1.05); }
.fs-nav__btn:disabled { background: rgba(13,27,42,0.2); cursor: default; transform: none; }

@media (max-width: 1024px) {
  .fs-fixed__title { font-size: clamp(25px, 3.2vw, 46px) !important; }
}

/* ── Mobile ≤ 768px ───────────────────────────────────── */
@media (max-width: 768px) {
  .flow-services    { padding: 60px 0 60px var(--flow-body-inset); overflow: hidden; }
  .fs-layout        { grid-template-columns: 1fr; gap: 24px; }
  .fs-fixed         { min-height: auto; padding: 32px 24px; margin-right: var(--flow-body-inset); }
  .fs-fixed__title  { font-size: 28px !important; }
  .fs-slider-wrap   {
    min-width: 0;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
  }
  .fs-slider        { min-width: 0; width: 100%; }
  .fs-card          { width: 260px; min-width: 260px; }
  .fs-card:hover    { transform: none; }
  .fs-nav {
    position: static;
    order: 2;
    align-self: flex-start;
    flex-shrink: 0;
    margin: 16px 0 0;
    padding: 6px 6px 10px 0;
    right: auto;
  }
}

/* ==========================================================================
   04 — ÉTUDES DE CAS
   Shortcode : [flow_cases]
   ========================================================================== */

.flow-cases {
  background: var(--flow-navy);
  padding: 100px 60px;
  position: relative;
  overflow: hidden;
}

.fc-route {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.fc-abs { position: absolute; display: block; }
.fc-abs--orange {
  width: 62%;
  height: 85%;
  left: -14%;
  top: -18%;
  background: radial-gradient(circle at 48% 42%, rgba(239, 123, 82, 0.34), transparent 68%);
  animation: fc-abs-float 28s ease-in-out infinite alternate;
}
.fc-abs--arc {
  width: 130%;
  aspect-ratio: 1;
  right: -48%;
  top: -8%;
  left: auto;
  border: 1px solid rgba(239, 123, 82, 0.35);
  border-radius: 50%;
  animation: fc-abs-spin 16s linear infinite;
}
.fc-abs--arc::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  left: 50%;
  top: 0;
  border-radius: 50%;
  background: #EF7B52;
  transform: translate(-50%, -50%);
}
.fc-abs--blade {
  width: 46%;
  height: 140%;
  right: -8%;
  top: -10%;
  background: linear-gradient(160deg, rgba(239, 123, 82, 0.16), transparent 72%);
  border-radius: 46% 54% 42% 58%;
  animation: fc-abs-blade 22s ease-in-out infinite alternate;
}
@keyframes fc-abs-float {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(5%, -7%, 0); }
}
@keyframes fc-abs-spin { to { transform: rotate(360deg); } }
@keyframes fc-abs-blade {
  from { transform: rotate(16deg) translate3d(0, 0, 0); }
  to { transform: rotate(22deg) translate3d(-4%, 5%, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .fc-abs--orange,
  .fc-abs--arc,
  .fc-abs--blade { animation: none; }
}

/* ── Inner ────────────────────────────────────────────── */
.fc-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ── En-tête ──────────────────────────────────────────── */
.fc-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}

.fc-title {
  color: var(--flow-white)!important;
  margin-bottom: 10px;
}
.fc-title em {
  font-style: normal;
  color: var(--flow-orange);
}

.fc-desc {
  font-size: 15px;
  font-weight: 300;
  color: rgba(255,255,255,0.55)!important;
  line-height: 1.65;
  max-width: 480px;
}

.fc-link-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #EF7B52;
  color: #fff;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  border: none;
  border-radius: 4px;
  padding: 15px 30px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.fc-link-all__arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}
.fc-link-all:hover {
  background: #CC5F38;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(239, 123, 82, 0.3);
}
.fc-link-all:hover .fc-link-all__arrow {
  transform: translateX(4px);
}

/* ── Grille asymétrique ───────────────────────────────── */
.fc-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

/* ── Card commune ─────────────────────────────────────── */
.fc-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  min-height: 340px;
  background: var(--flow-navy-mid, #1E3A52);
  background-size: cover;
  background-position: center;
  transition: transform 0.3s ease;
}
.fc-card:hover { transform: translateY(-5px); }
.fc-card:hover .fc-card__overlay { opacity: 0.95; }
.fc-card:hover .fc-card__cta { letter-spacing: 1px; }

/* Grande card */
.fc-card--large { min-height: 420px; }

/* ── Overlay ──────────────────────────────────────────── */
.fc-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(13,27,42,0.97) 0%,
    rgba(13,27,42,0.65) 50%,
    rgba(13,27,42,0.15) 100%
  );
  transition: opacity 0.3s;
}

/* ── Contenu ──────────────────────────────────────────── */
.fc-card__content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Tag */
.fc-card__tag {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--flow-orange);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border: 1px solid rgba(239,123,82,0.35);
  padding: 3px 10px;
  border-radius: 2px;
  align-self: flex-start;
}

/* Titre */
.fc-card__title {
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(18px, 1.8vw, 25px);
  font-weight: 500;
  color: var(--flow-white)!important;
  line-height: 1.1;
  letter-spacing: -0.3px;
}

/* Excerpt */
.fc-card__excerpt {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

/* Meta : date + CTA */
.fc-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.fc-card__date {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.fc-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--flow-orange);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: letter-spacing 0.2s;
}

/* Fallback fond si pas d'image */
.fc-card:nth-child(1):not([style]) {
  background: linear-gradient(135deg, #1E3A52 0%, #0D2A40 100%);
}
.fc-card:nth-child(2):not([style]) {
  background: linear-gradient(135deg, #1a3a2a 0%, #0D2A40 100%);
}
.fc-card:nth-child(3):not([style]) {
  background: linear-gradient(135deg, #2a1a0a 0%, #1E2A3A 100%);
}

/* ── Tablet ≤ 1024px ──────────────────────────────────── */
@media (max-width: 1024px) {
  .fc-grid         { grid-template-columns: 1fr 1fr; }
  .fc-card--large  { grid-column: 1 / -1; }
}

/* ── Mobile ≤ 768px ───────────────────────────────────── */
@media (max-width: 768px) {
  .flow-cases                   { padding: 60px 24px; }
  .fc-header                    { flex-direction: column; align-items: flex-start; gap: 16px; }
  .fc-grid                      { grid-template-columns: 1fr; }
  .fc-card--large               { min-height: 300px; grid-column: auto; }
  .fc-card                      { min-height: 240px; }
  .fc-card:hover                { transform: none; }
  .fc-card__title,
  .fc-card--large .fc-card__title {
    font-size: 18px !important;
    letter-spacing: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .fc-card__excerpt             { display: none; }
}

/* ==========================================================================
   05 — CORRIDORS D'EXPERTISE
   Shortcode page d'accueil : [flow_corridors_list]
   Contient aussi la variante carte [flow_corridors] (classes .flow-corridors--map)
   ========================================================================== */

/* ── VERSION 2 COLONNES — fond navy ──────────────────── */
.flow-corridors--map {
  background: var(--flow-navy);
  padding: 100px 60px;
  position: relative;
  overflow: hidden;
}

.flow-corridors--map::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(239,123,82,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(239,123,82,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.fcor-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  position: relative;
  z-index: 1;
}

/* ── Colonne gauche carte ─────────────────────────────── */
.fcor-map-col {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.fcor-map-wrap {
  background: rgba(30,58,82,0.5);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 20px;
  overflow: hidden;
}

.fcor-map-wrap svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Titre section (version carte) ───────────────────── */
.fcor-title {
  font-family: var(--flow-ff-display);
  font-size: clamp(32px, 3vw, 48px);
  font-weight: 800;
  color: var(--flow-navy);
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: -0.5px;
  margin-bottom: 0;
}
.fcor-title em {
  font-style: normal;
  color: var(--flow-orange);
}

/* Sur fond navy la couleur du titre est blanche */
.flow-corridors--map .fcor-title {
  color: var(--flow-white);
}

/* ── Intro ────────────────────────────────────────────── */
.fcor-intro {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin: 0 0 20px;
}

/* ── Colonne droite liste ─────────────────────────────── */
.fcor-list-col {
  padding-top: 4px;
}

.fcor-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ── Card corridor ────────────────────────────────────── */
.fcor-card {
  display: block;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  text-decoration: none;
  transition: background 0.2s;
  cursor: default;
}

a.fcor-card {
  cursor: pointer;
}

a.fcor-card:hover .fcor-name {
  color: var(--flow-orange);
}

a.fcor-card:hover .fcor-arrow {
  color: var(--flow-orange);
  transform: translateX(4px);
}

.fcor-list .fcor-card:first-child {
  padding-top: 0;
}

.fcor-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.fcor-name {
  font-family: var(--flow-ff-display);
  font-size: 17px;
  font-weight: 800;
  color: var(--flow-white);
  letter-spacing: 0.3px;
  text-transform: uppercase;
  transition: color 0.2s;
}

.fcor-arrow {
  font-size: 16px;
  color: rgba(255,255,255,0.3);
  transition: color 0.2s, transform 0.2s;
  display: inline-block;
  text-decoration: none;
}

.fcor-pays {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  font-weight: 300;
  line-height: 1.5;
  margin: 0 0 10px;
}

/* ── Badges ───────────────────────────────────────────── */
.fcor-badge {
  display: inline-block;
  font-family: var(--flow-ff-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 3px;
}

.fcor-badge--orange {
  background: rgba(239,123,82,0.18);
  color: var(--flow-orange);
  border: 1px solid rgba(239,123,82,0.3);
}

.fcor-badge--blue {
  background: rgba(74,159,213,0.15);
  color: rgba(74,159,213,0.95);
  border: 1px solid rgba(74,159,213,0.25);
}

.fcor-badge--gray {
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.1);
}

/* ════════════════════════════════════════════════════════
   VERSION 1 COLONNE — fond crème
   ════════════════════════════════════════════════════════ */
.flow-corridors--list {
  background: var(--flow-cream, #EAE6DF);
  padding: 100px 60px;
}

.fcor-list-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.fcor-list-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 48px;
}

/* Sur fond crème : titre navy, intro navy */
.fcor-title--dark {
  color: var(--flow-navy) !important;
  white-space: nowrap;
}
.fcor-title--dark em {
  color: var(--flow-orange);
}

.fcor-intro--dark {
  color: rgba(13,27,42,0.6);
}
.fcor-solutions-wrap {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

/* Liste en 2 colonnes sur fond crème */
.fcor-list--cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
}

/* Cards sur fond crème */
.flow-corridors--list .fcor-card {
  border-bottom-color: rgba(13,27,42,0.1);
}

.flow-corridors--list .fcor-name {
  color: var(--flow-navy);
}

.flow-corridors--list .fcor-pays {
  color: rgba(13,27,42,0.5);
}

.flow-corridors--list .fcor-arrow {
  color: rgba(13,27,42,0.25);
}

.flow-corridors--list a.fcor-card:hover .fcor-name {
  color: var(--flow-orange);
}

.flow-corridors--list a.fcor-card:hover .fcor-arrow {
  color: var(--flow-orange);
}

.flow-corridors--list .fcor-badge--orange {
  background: rgba(239,123,82,0.12);
  color: #CC5F38;
  border-color: rgba(239,123,82,0.25);
}

/* ── Responsive ≤ 1024px ──────────────────────────────── */
@media (max-width: 1024px) {
  .flow-corridors--map,
  .flow-corridors--list { padding: 80px 40px; }
  .fcor-inner,
  .fcor-list-header { gap: 40px; }
}

/* ── Mobile ≤ 768px ───────────────────────────────────── */
@media (max-width: 768px) {
  .flow-corridors--map,
  .flow-corridors--list { padding: 60px 24px; }

  .fcor-inner {
    grid-template-columns: 1fr;
  }

  .fcor-list-header {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 32px;
  }
  .fcor-title--dark { white-space: normal; }
  .fcor-solutions-wrap { margin-top: 32px; }

  .fcor-list--cols {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   06 — HAUTS-DE-FRANCE
   Shortcode : [flow_local]
   ========================================================================== */

.flow-local {
  background: var(--flow-navy);
  padding: 35px 60px;
  position: relative;
  overflow: hidden;
}

.flo-route {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.flo-abs { position: absolute; display: block; }
.flo-abs--orange {
  width: 62%;
  height: 85%;
  left: -14%;
  top: -18%;
  background: radial-gradient(circle at 48% 42%, rgba(239, 123, 82, 0.34), transparent 68%);
  animation: flo-abs-float 28s ease-in-out infinite alternate;
}
.flo-abs--arc {
  width: 130%;
  aspect-ratio: 1;
  right: -48%;
  top: -8%;
  left: auto;
  border: 1px solid rgba(239, 123, 82, 0.35);
  border-radius: 50%;
  animation: flo-abs-spin 16s linear infinite;
}
.flo-abs--arc::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  left: 50%;
  top: 0;
  border-radius: 50%;
  background: #EF7B52;
  transform: translate(-50%, -50%);
}
.flo-abs--blade {
  width: 46%;
  height: 140%;
  right: -8%;
  top: -10%;
  background: linear-gradient(160deg, rgba(239, 123, 82, 0.16), transparent 72%);
  border-radius: 46% 54% 42% 58%;
  animation: flo-abs-blade 22s ease-in-out infinite alternate;
}
@keyframes flo-abs-float {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(5%, -7%, 0); }
}
@keyframes flo-abs-spin { to { transform: rotate(360deg); } }
@keyframes flo-abs-blade {
  from { transform: rotate(16deg) translate3d(0, 0, 0); }
  to { transform: rotate(22deg) translate3d(-4%, 5%, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .flo-abs--orange,
  .flo-abs--arc,
  .flo-abs--blade { animation: none; }
}

/* ── Layout 2 colonnes ────────────────────────────────── */
.flo-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* ── Colonne gauche ───────────────────────────────────── */
.flo-title {
  font-family: var(--flow-ff-display);
  font-size: clamp(36px, 3.5vw, 52px);
  font-weight: 800;
  color: var(--flow-white)!important;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}
.flo-title em {
  font-style: normal;
  color: var(--flow-orange);
}

.flo-desc {
  font-size: 15px;
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  max-width: 420px;
  margin-bottom: 36px;
}

/* ── Grille de stats ──────────────────────────────────── */
.flo-numbers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 36px;
}

.flo-num-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 18px 20px;
  transition: border-color 0.2s, background 0.2s;
}
.flo-num-card:hover {
  border-color: rgba(239,123,82,0.3);
  background: rgba(239,123,82,0.05);
}

.flo-num-value {
  font-family: var(--flow-ff-display);
  font-size: 34px;
  font-weight: 800;
  color: var(--flow-orange);
  line-height: 1;
  margin-bottom: 4px;
}

.flo-num-label {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  font-weight: 400;
  line-height: 1.4;
}

/* ── Bouton ───────────────────────────────────────────── */
.flo-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--flow-white);
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: 4px;
  padding: 12px 22px;
  font-family: var(--flow-ff-display);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  background: transparent;
  transition: border-color 0.2s, background 0.2s;
}
.flo-btn:hover {
  border-color: var(--flow-white);
  background: rgba(255,255,255,0.07);
  color: var(--flow-white);
}

/* ── Colonne droite : carte ───────────────────────────── */
.flo-map-wrap {
  background: transparent;
  border: none;
  margin: 0;
  padding: 0;
  aspect-ratio: 400 / 340 !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flo-map-wrap svg {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
}

@media (min-width: 1025px) {
  .flo-map-wrap {
    width: 80%;
    justify-self: end;
  }
}

/* ── Responsive ≤ 1024px ──────────────────────────────── */
@media (max-width: 1024px) {
  .flow-local { padding: 35px 40px; }
  .flo-inner { gap: 40px; }
}

/* ── Mobile ≤ 768px ───────────────────────────────────── */
@media (max-width: 768px) {
  .flow-local { padding: 25px 24px; }
  .flo-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .flo-map-wrap {
    width: 100%;
    margin: 0;
    padding: 0;
  }
}

/* ==========================================================================
   07 — ÉQUIPE / EXPERTISE
   Shortcode : [flow_team]
   ========================================================================== */

.flow-team {
  background: var(--flow-cream, #EAE6DF);
  padding: 100px 60px;
  overflow: hidden;
}

.fteam-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 80px;
  align-items: start;
}

.fteam-title {
  font-family: var(--flow-ff-display);
  font-size: clamp(34px, 3.2vw, 48px);
  font-weight: 800;
  color: var(--flow-navy);
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: -0.5px;
  margin-bottom: 40px;
}
.fteam-title em { font-style: normal; color: var(--flow-orange); }

.fteam-expertise { display: flex; flex-direction: column; gap: 0; }

.fteam-exp-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid rgba(13,27,42,0.1);
}
.fteam-exp-item:first-child { padding-top: 0; }
.fteam-exp-item:last-child { border-bottom: none; }

.fteam-exp-num {
  font-family: var(--flow-ff-display);
  font-size: 13px; font-weight: 700;
  color: var(--flow-orange);
  padding-top: 3px; letter-spacing: 0.5px;
}

.fteam-exp-title {
  font-family: var(--flow-ff-display);
  font-size: 17px; font-weight: 700;
  color: var(--flow-navy);
  text-transform: uppercase;
  letter-spacing: 0.3px; margin-bottom: 6px;
}

.fteam-exp-desc {
  font-size: 14px; font-weight: 300;
  color: rgba(13,27,42,0.6); line-height: 1.65;
}

.fteam-btn {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 36px;
  color: var(--flow-navy);
  border: 2px solid rgba(13,27,42,0.25);
  border-radius: 4px; padding: 12px 22px;
  font-family: var(--flow-ff-display);
  font-size: 14px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  text-decoration: none; background: transparent;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.fteam-btn:hover {
  border-color: var(--flow-orange);
  color: var(--flow-orange);
  background: rgba(239,123,82,0.05);
}

/* ── Colonne droite : photo ───────────────────────────── */
.fteam-photo-col { position: sticky; top: 100px; }

.fteam-photo-wrap {
  border-radius: 12px;
  overflow: hidden;
  background: transparent;
  border: none;
}

.fteam-photo-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  display: block;
  object-fit: cover;
  object-position: center 18%;
}

.fteam-photo-placeholder {
  aspect-ratio: 4/5;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px; background: rgba(13,27,42,0.04);
}
.fteam-ph-icon { font-size: 48px; opacity: 0.3; }
.fteam-photo-placeholder p {
  font-size: 14px; color: rgba(13,27,42,0.4);
  font-family: var(--flow-ff-display); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.fteam-ph-hint {
  font-size: 11px !important; font-weight: 400 !important;
  text-transform: none !important; letter-spacing: 0 !important;
  opacity: 0.6;
}

/* ── Responsive ≤ 1024px ──────────────────────────────── */
@media (max-width: 1024px) {
  .flow-team { padding: 80px 40px; }
  .fteam-inner { grid-template-columns: 1fr 380px; gap: 48px; }
  .fteam-photo-col { position: static; }
}

/* ── Mobile ≤ 768px ───────────────────────────────────── */
@media (max-width: 768px) {
  .flow-team { padding: 60px 24px; }
  .fteam-inner {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }
  .fteam-content { display: contents; }
  .fteam-title { order: 1; margin-bottom: 0; }
  .fteam-photo-col { order: 2; position: static; }
  .fteam-expertise { order: 3; }
  .fteam-btn { order: 4; margin-top: 4px; }
  .fteam-photo-img {
    aspect-ratio: 4 / 5;
    max-height: 460px;
    object-position: center 12%;
  }
}

/* ==========================================================================
   RESPONSIVE COMMUN — 01 + 02
   ========================================================================== */

@media (max-width: 768px) {
  .fh-inner {
    grid-template-columns: 1fr;
    padding: 16px 24px 120px; gap: 36px;
  }
  .fh-eyebrow {
    font-size: 9px;
    letter-spacing: 1px;
    padding: 4px 10px;
    margin-bottom: 16px;
  }
  .fh-title {
    font-size: 54px !important;
  }
  .fh-title__sub {
    font-size: 26px;
  }
  .fh-ctas {
    flex-wrap: nowrap;
    gap: 8px;
    width: 100%;
    min-width: 0;
  }
  .fh-btn {
    flex: 1;
    min-width: 0;
    justify-content: center;
    font-size: 12px;
    letter-spacing: 0.3px;
    padding: 12px 8px;
    white-space: nowrap;
  }
  .fh-card {
    margin-top: 20px;
  }
  .fh-inner,
  .fh-content,
  .fh-card,
  .fh-form,
  .fh-form__row,
  .fh-form__group {
    min-width: 0;
    max-width: 100%;
  }
  .fh-form__group select,
  .fh-form__group input {
    width: 100%;
    max-width: 100%;
    font-size: 16px;
  }
  .fh-bg--video .fh-video,
  .fh-bg--external .fh-iframe { display: none; }
  .fh-bg--external { background-size: cover; }
  .fh-wordmark,
  .fh-scroll { display: none; }
  .flow-networks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 18px 12px;
    padding: 22px 20px 20px;
  }
  .fn-sep { display: none; }
  .fn-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }
  .fn-name { font-size: 14px; }
  .fn-desc { font-size: 11px; line-height: 1.35; }
  .fn-stats {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 12px;
    width: 100%;
    padding-top: 16px;
    border-top: 1px solid rgba(13, 27, 42, 0.12);
  }
  .fn-stat__num { font-size: 26px; }
  .fn-stat__lbl { font-size: 10px; line-height: 1.3; }
}

