@font-face {
    font-family: 'Inter';
    src: url('/fonts/inter/inter-v20-latin-300.woff2') format('woff2');
    font-weight: 300;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('/fonts/inter/inter-v20-latin-regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('/fonts/inter/inter-v20-latin-500.woff2') format('woff2');
    font-weight: 500;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('/fonts/inter/inter-v20-latin-600.woff2') format('woff2');
    font-weight: 600;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('/fonts/inter/inter-v20-latin-700.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('/fonts/inter/inter-v20-latin-800.woff2') format('woff2');
    font-weight: 800;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('/fonts/inter/inter-v20-latin-900.woff2') format('woff2');
    font-weight: 900;
    font-display: swap;
}

/* ✅ Police globale */
*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    background: #0a0a0a;
}

/* ✅ Focus visible — accessibilité clavier */
:focus-visible {
    outline: 2px solid #F57706;
    outline-offset: 3px;
    border-radius: 4px;
}

/* Supprime l'outline par défaut uniquement pour la souris */
:focus:not(:focus-visible) {
    outline: none;
}

/* =========================================================
   ROOT — DESIGN TOKENS (GLOBAL)
   ========================================================= */
:root {
  /* =========================
     BRAND / COLORS
     ========================= */
  --brand-blue: #005b94;
  --brand-orange: #F57706;

  /* Backgrounds */
  --dark-bg: #000000;
  --bg-dark: #141414;
  --bg-section: #111;
  --bg-card: #111;
  --bg-card-hover: #171717;
  --bg-light-1: #ffffff;
  --bg-light-2: #f4f6f8;
  --bg-overlay-strong: rgba(5, 5, 5, .85);
  --bg-overlay-soft: rgba(5, 5, 5, .65);

  /* Surfaces */
  --surface: #ffffff;
  --surface-soft: #f9fafb;
  --surface-muted: #f3f4f6;
  --surface-dark: #18181b;

  /* Texts */
  --text-white: #fff;
  --text-black: #fff;
  --text-body: #333333;
  --text-muted: #E0E0E0;
  --text-muted-1: #C9C9C9;
  --text-muted-2: #E0E0E0;
  --text-dark: #111;
  --text-dark-2: #333;
  --text-gray: #666;

  /* Borders */
  --border: #e5e7eb;
 --border-soft: rgba(255, 255, 255, 0.15);
  --border-soft-2: rgba(255, 255, 255, 0.14);
  --border-strong: rgba(255, 255, 255, 0.24);
  --border-accent: rgba(245, 119, 6, 0.55);

  /* Accent / semantic */
  --primary-color: var(--brand-orange);
  --accent-color: var(--brand-orange);
  --accent-contrast: #ffffff;
  --success-color: #22c55e;
  --success: #22c55e;
  --danger-color: #ef4444;
  --danger: #ef4444;
  --warning-color: #f1c40f;

  /* =========================
     TYPOGRAPHY
     ========================= */
  --font-family-base: 'Inter', sans-serif;
  --font-family-heading: 'Inter', sans-serif;
  --font-mono: 'Courier New', monospace;

  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;
  --fw-black: 900;

  /* Tailles */
  --fs-hero-title: clamp(2.2rem, 4vw, 2.90rem);
  --fs-section-title-xl: clamp(2rem, 4vw, 3.5rem);
  --fs-section-title: clamp(1.8rem, 3vw, 3rem);
  --fs-card-title: 1.2rem;
  --fs-subtitle: 1.05rem;
  --fs-body: 1rem;
  --fs-body-sm: 0.92rem;
  --fs-caption: 0.8rem;
  --fs-overline: 0.75rem;

  /* Line heights */
  --lh-tight: 1.05;
  --lh-heading: 1.1;
  --lh-body: 1.6;
  --lh-relaxed: 1.75;

  /* Letter spacing */
  --ls-tight: 0.02em;
  --ls-wide: 0.06em;
  --ls-xwide: 0.12em;

  /* =========================
     SPACING
     ========================= */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 32px;
  --space-8: 40px;
  --space-9: 48px;
  --space-10: 60px;
  --space-11: 80px;
  --space-12: 100px;
  --space-13: 120px;

  /* Section paddings */
  --section-padding-y: 60px;
  --section-padding-y-tablet: 80px;
  --section-padding-y-mobile: 50px;

  /* Containers 
  --container-max: 1200px;
  --container-wide: 1400px;
  --container-ultra: 1600px;*/
  --container-padding-x: 20px;
  --container-padding-x-mobile: 18px;

  /* =========================
     RADIUS
     ========================= */
  --radius-sm: 10px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-pill: 999px;

  /* =========================
     SHADOWS
     ========================= */
  --shadow-sm: 0 8px 20px rgba(0,0,0,0.20);
  --shadow-md: 0 12px 30px rgba(0,0,0,0.30);
  --shadow-lg: 0 20px 40px rgba(0,0,0,0.40);
  --shadow-accent: 0 12px 22px rgba(245,119,6,0.22);
  --shadow-accent-lg: 0 18px 40px rgba(245,119,6,0.10);

  /* =========================
     TRANSITIONS / MOTION
     ========================= */
  --transition-fast: 0.25s ease;
  --transition-base: 0.35s cubic-bezier(.23,1,.32,1);
  --transition-slow: 0.5s ease;
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);

  /* =========================
     COMPONENT TOKENS
     ========================= */
  --btn-height: 48px;
  --btn-padding-x: 24px;
  --btn-font-size: 0.9rem;
  --btn-radius: 0;
  --page-gutter: 5%;         /* padding horizontal desktop */
  --page-gutter-tablet: 4%;  /* padding horizontal tablette */
  --page-gutter-mobile: 5%;  /* padding horizontal mobile */

  --card-padding: 22px;
  --card-border: 1px solid var(--border-soft);

  --title-color: var(--text-white);
  --subtitle-color: var(--text-muted);
  --link-accent: var(--brand-orange);

  /* Hero */
  --hero-min-height: 650px;
  --hero-overlay-desktop: linear-gradient(
    to right,
    rgba(5,5,5,0.90) 10%,
    rgba(5,5,5,0.70) 10%,
    rgba(5,5,5,0.20) 10%
  );
  --hero-overlay-mobile: rgba(5,5,5,0.75);

  /* Composants CC */
  --cc-shadow: 0 10px 30px -5px rgba(0,0,0,0.08);
  --cc-radius: 16px;
  --cc-dark: #0f172a;
  --cc-light: #f8fafc;
  --cc-white: #ffffff;

  /*mockup*/
  --mockup-size: 1280px;
}

/* =========================================================
   PAGES INTERNES — BASE GLOBALE
   ========================================================= */

.page-shell {
  background: var(--bg-section);
  color: var(--text-white);
  font-family: var(--font-family-base);
  overflow-x: hidden;
  padding: 4rem 0 0;
}

/* Filigrane global */
@media (max-width: 768px) {
  .page-wm {
    font-size: clamp(2rem, 9vw, 80px) !important;
  }
}

/* Annule le padding-top de page-shell pour les pages avec header photo diagonal —
   la première section de chaque page gère elle-même l'espace (standardisé à 72px) */
.page-header-sport + .page-shell {
  padding-top: 2rem !important;
}

/* Container global interne (évite .container Bootstrap si conflit) */
.page-container,
.site-container,
.container {
  width: 100%;
  max-width: none !important;
  margin: 0 auto;
  padding-left: 8%;
  padding-right: 8%;
  box-sizing: border-box;
}

@media (max-width: 992px) {
  .page-container,
  .site-container,
  .container {
    padding-left: 6%;
    padding-right: 6%;
  }
}

@media (max-width: 768px) {
  .page-container,
  .site-container,
  .container {
    padding-left: 5%;
    padding-right: 5%;
  }
}

/* Responsive page shell */
@media (max-width: 992px) {
  .page-shell {
    padding: 3.2rem 0 0;
  }
}

@media (max-width: 768px) {
  .page-shell {
    padding: 2.6rem 0 0;
  }
}

.page-header-sport {
  position: relative;
  height: 55vh;
  margin-top: -117px;
  min-height: 360px;
  display: flex;
  align-items: center;
  background: var(--dark-bg);
  overflow: hidden;
  clip-path: none;
  margin-bottom: 0;
  padding-top: 117px;
  z-index: 1;
}

.page-header-sport::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-image: var(--bg-image);
  background-size: var(--bg-size, cover);
  background-position: var(--bg-position, center 50%);
  z-index: 1;
  clip-path: none;
  border-radius: 0;
  opacity: 0.75;
}

.page-header-sport::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  clip-path: none;
  background: linear-gradient(
    to right,
    rgba(10, 10, 10, 0.82) 0%,
    rgba(10, 10, 10, 0.4) 60%,
    rgba(10, 10, 10, 0.1) 100%
  );
}

.header-overlay-gradient {
  display: none;
}

/* Contenu calé à gauche comme Basic-Fit */
.header-content {
  position: relative;
  z-index: 3;
  width: 100%;
  top: 0;
  padding: 0;
}

.header-main-box {
  max-width: 52%;
  padding-left: 0;
}

.badge-accent {
  background: var(--brand-orange);
  color: #ffffff;
  padding: 5px 12px;
  font-weight: var(--fw-extrabold);
  font-size: var(--fs-overline);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  margin-bottom: 1rem;
  display: inline-block;
  border-radius: var(--radius-pill);
}

.back-link-minimal {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 2px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2rem;
  transition: var(--transition-base);
}
.back-link-minimal:hover { color: #ffffff; }

/* ── Fil d'Ariane commun (page-header-sport + contact) ── */
.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.page-breadcrumb__link {
  color: rgba(255, 255, 255, 0.42);
  text-decoration: none;
  transition: color 0.2s;
}

.page-breadcrumb__link:hover { color: rgba(255, 255, 255, 0.8); }

.page-breadcrumb__sep {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.52rem;
}

.page-breadcrumb__current {
  color: rgba(255, 255, 255, 0.62);
}

.header-main-box h1 {
  font-size: clamp(2rem, 2.9vw, 3.8rem);
  font-weight: var(--fw-black);
  text-transform: uppercase;
  line-height: 1.0;
  margin: 0 0 1.2rem 0;
  color: #ffffff;
}

.text-outline {
  color: #fff;
}

.header-main-box .lead {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 520px;
  line-height: 1.65;
  margin-bottom: 0;
}

/* Responsive */
@media (max-width: 992px) {
  .page-header-sport {
    margin-top: -117px;
    height: auto !important;
    min-height: 400px !important;
    clip-path: none;
    margin-bottom: 0;
  }

  .page-header-sport::before {
    right: 0;
    width: 100%;
    clip-path: none;
    filter: none;
    opacity: 0.75;
  }

  .page-header-sport::after {
    right: 0;
    width: 100%;
    clip-path: none;
    background: linear-gradient(
      to right,
      rgba(10, 10, 10, 0.65) 0%,
      rgba(10, 10, 10, 0.25) 60%,
      rgba(10, 10, 10, 0.0) 100%
    );
  }

  .header-content {
    padding-top: 0 !important;
    top: 0 !important;
  }

  .header-main-box { max-width: 100%; }

  .page-header-sport .page-container {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .header-main-box h1 {
    font-size: 2.2rem !important;
    line-height: 1.1;
  }

  .header-main-box .lead { max-width: 100%; }
}

@media (max-width: 768px) {
  .page-header-sport {
    margin-top: -117px;
    min-height: 360px !important;
    clip-path: none;
    margin-bottom: 0;
  }

  .header-content {
    padding-top: 0 !important;
  }

  .header-main-box h1 {
    font-size: 1.8rem !important;
  }

  .header-main-box .lead { 
    font-size: 0.95rem; 
    line-height: 1.5;
  }
}

/* --- DÉCORATION GAUCHE (image dots) --- */
.deco-left-wrap {
  position: relative;
  width: 0;
  overflow: visible;
  pointer-events: none;
  z-index: 1;
}

.deco-left-img {
  position: absolute;
  left: -33px;
  top: -20px; /* remonte légèrement pour chevaucher le séparateur */
  width: clamp(120px, 14vw, 200px);
  height: auto;
  opacity: 0.85;
  user-select: none;
}

@media (max-width: 1100px) {
  .deco-left-img {
    width: clamp(80px, 10vw, 130px);
    opacity: 0.35;
  }
}

@media (max-width: 768px) {
  .deco-left-img {
    display: none; /* Masqué sur mobile pour ne pas gêner le contenu */
  }
}

/* =========================================================
   TYPO GLOBALE — PAGES INTERNES
   ========================================================= */

.section-heading {
  font-size: var(--fs-section-title);
  font-weight: var(--fw-black);
  text-transform: uppercase;
  line-height: var(--lh-heading);
  margin-bottom: 1.2rem;
  color: var(--title-color);
  letter-spacing: var(--ls-tight);
}

.section-heading span {
  color: var(--primary-color);
}

.section-subtitle,
.desc-text-large {
  color: var(--subtitle-color);
  font-size: 1.05rem;
  line-height: var(--lh-body);
}

.centered {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.centered::after {
  content: "";
  width: 56px;
  height: 4px;
  background: var(--primary-color);
  margin-top: 14px;
  border-radius: var(--radius-pill);
}

/* Responsive titres globaux */
@media (max-width: 992px) {
  .section-heading {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .section-heading {
    font-size: 1.7rem;
  }
}

/* =========================================================
   ESPACEMENT GLOBAL DES SECTIONS INTERNES
   ========================================================= */
.section-spacer {
  padding-top: var(--section-padding-y);
  padding-bottom: var(--section-padding-y);
  position: relative;
}

@media (max-width: 992px) {
  .section-spacer {
    padding-top: var(--section-padding-y-tablet);
    padding-bottom: var(--section-padding-y-tablet);
  }
}

@media (max-width: 768px) {
  .section-spacer {
    padding-top: var(--section-padding-y-mobile);
    padding-bottom: var(--section-padding-y-mobile);
  }
}

body{
  padding-top: var(--nav-height);
}

.toast-mini {
    position: fixed;
    right: 16px;
    bottom: 16px;
    background: #111;
    color: #fff;
    padding: 10px 14px;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(10px);
    transition: 0.25s;
    z-index: 3000;
}
.toast-mini.show {
    opacity: 1;
    transform: none;
}

/* === FEEDBACK WIDGET === */
#feedback-widget {
    position: fixed;
    bottom: 5%;
    right: 28px;
    z-index: 9999;
    font-family: 'Inter', sans-serif;
}

/* Bouton flottant — caché sur desktop, visible sur mobile */
#feedback-widget #feedback-toggle {
    display: none;
}

/* Bouton nav — visible sur desktop, caché sur mobile */
.btn-nav-secondary {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 18px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: transparent;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-nav-secondary:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

@media (max-width: 992px) {
    #feedback-widget #feedback-toggle {
        display: flex;
    }

    .btn-nav-secondary {
        display: none !important;
    }
}

#feedback-toggle {
    align-items: center;
    gap: 8px;
    background: var(--accent-color);
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(245, 119, 6, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#feedback-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(245, 119, 6, 0.5);
}

.feedback-panel {
    position: absolute;
    bottom: 5%;
    right: 0;
    width: 320px;
    background: #1a1b21;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 18px;
    padding: 1.25rem;
    box-shadow: 0 24px 60px rgba(0,0,0,0.6);
    display: none;
    flex-direction: column;
    gap: 14px;
}

.feedback-panel.open {
    display: flex;
}

.feedback-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.feedback-panel-header h3 {
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#feedback-close {
    background: none;
    border: none;
    color: #888;
    font-size: 1.1rem;
    cursor: pointer;
    transition: color 0.2s;
}

#feedback-close:hover { color: #fff; }

.feedback-types {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.type-btn {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    color: #aaa;
    padding: 10px 8px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
}

.type-btn i { font-size: 1rem; }

.type-btn:hover {
    border-color: rgba(245,119,6,0.4);
    color: #fff;
}

.type-btn.active {
    background: rgba(245,119,6,0.15);
    border-color: var(--accent-color);
    color: var(--accent-color);
}

#feedback-message {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    color: #fff;
    padding: 10px 12px;
    font-size: 0.88rem;
    font-family: 'Inter', sans-serif;
    resize: none;
    outline: none;
    transition: border-color 0.2s;
}

#feedback-message:focus {
    border-color: var(--accent-color);
}

.feedback-char-count {
    font-size: 0.72rem;
    color: #555;
    text-align: right;
    margin-top: -8px;
}

.feedback-hidden {
    display: none !important;
}

#feedback-send {
    background: var(--accent-color);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

#feedback-send:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.feedback-success {
    text-align: center;
    color: var(--success);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 8px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.feedback-disclaimer {
    font-size: 0.75rem;
    color: #666;
    line-height: 1.5;
    margin: -6px 0 4px;
}

.feedback-disclaimer span {
    display: block;
    margin-top: 5px;
    color: #555;
    font-style: italic;
}

.feedback-disclaimer i {
    margin-right: 4px;
}

@media (max-width: 480px) {
    #feedback-widget {
        bottom: 18px;
        right: 16px;
    }

    .feedback-panel {
        width: calc(100vw - 32px);
        right: 0;
    }

    #feedback-toggle span { display: none; }
    #feedback-toggle { padding: 12px 14px; }
}

.btn-feedback-nav {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: transparent;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.btn-feedback-nav:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    background: rgba(245, 119, 6, 0.1);
}

@media (max-width: 992px) {
    .btn-feedback-nav {
        display: none !important;
    }
}
/* ── Bouton flottant mode aperçu visiteur (admin uniquement) ── */
.admin-preview-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(15, 15, 15, 0.9);
    border: 1px solid rgba(245, 119, 6, 0.4);
    border-radius: 99px;
    padding: 10px 16px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    white-space: nowrap;
}
.admin-preview-fab i {
    color: #F57706;
    font-size: 0.9rem;
}
.admin-preview-fab:hover {
    background: #F57706;
    border-color: #F57706;
    color: #fff;
}
.admin-preview-fab:hover i { color: #fff; }

/* ── Boutons : bords carrés globaux ── */
[class*="btn"]:not([class*="btn-feedback-nav"]):not([class*="btn-submit-icon"]):not(.btn-whatsapp):not([class*="slider-btn"]):not([class*="slider-arrow"]),
[class*="nav-cta"] {
  border-radius: 0 !important;
}
button:not([class*="btn-feedback-nav"]):not([class*="btn-submit-icon"]):not([class*="slider-btn"]):not([class*="slider-arrow"]):not(.hm-arrow):not(.toggle-btn):not(.toggle-glider) {
  border-radius: 0 !important;
}
