/* CoachFlow - Charte Graphique Féminine & Pastel (Design System CSS3) */
:root {
  --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Palette Pastel Féminine & Lumineuse */
  --color-brand-primary: #e07a8f;        /* Rose blush poudré / Quartz pastel */
  --color-brand-primary-hover: #cb5e74;
  --color-brand-primary-light: #fdf2f4;  /* Eau de rose pastel */
  --color-brand-primary-subtle: #fae5ea;
  
  --color-brand-secondary: #7bb59d;      /* Sauge douce / Menthe eucalyptus pastel */
  --color-brand-secondary-hover: #679f88;
  --color-brand-secondary-light: #eff7f3;

  --color-brand-accent: #f4a57a;         /* Pêche douce / Abricot pastel */
  --color-brand-accent-light: #fff3ec;

  --color-brand-lavender: #a892e8;       /* Lavande douce pastel */
  --color-brand-lavender-light: #f6f2fe;

  --color-brand-dark: #241727;           /* Prune velours profond & chaud */
  --color-brand-dark-card: #2f2033;
  --color-brand-dark-border: #44324a;

  --color-text-main: #2b1f2d;           /* Texte sombre doux et chaleureux */
  --color-text-muted: #796a79;          /* Slate mauve doux */
  --color-text-light: #a89aa8;
  
  --color-bg-body: #faf7f5;             /* Porcelaine ivoire / Cachemire chaleureux */
  --color-bg-card: #ffffff;
  --color-border: #f0e6e8;              /* Bordure fine pastel */
  --color-border-subtle: #f9f3f4;

  --shadow-sm: 0 2px 5px rgba(180, 135, 150, 0.07), 0 1px 2px rgba(180, 135, 150, 0.04);
  --shadow-md: 0 6px 18px -2px rgba(180, 135, 150, 0.11), 0 2px 6px -1px rgba(180, 135, 150, 0.06);
  --shadow-lg: 0 16px 36px -4px rgba(180, 135, 150, 0.16), 0 6px 16px -2px rgba(180, 135, 150, 0.08);
  --shadow-glow: 0 0 35px rgba(224, 122, 143, 0.28);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-pill: 9999px;

  --transition-fast: 0.18s ease;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);

  /* UNIVERSE 1: MORGAN COEURET - COACHING PERSONNEL (NOIR & VERT LIME) */
  --lime-primary: #76c027;
  --lime-hover: #8be033;
  --lime-glow: rgba(118, 192, 39, 0.4);
  --lime-light-bg: rgba(118, 192, 39, 0.12);
  --dark-bg-main: #0c0e0d;
  --dark-bg-card: #151c17;
  --dark-border: #253329;

  /* UNIVERSE 2: CHUUUUT J'AVANCE - COACHING VISIO (ROSE PASTEL & BLANC) */
  --pink-primary: #ff5d8f;
  --pink-secondary: #ff3366;
  --pink-soft-bg: #fff0f5;
  --pink-border: #ffd1dc;
}

/* UNIVERS 1 : MORGAN COEURET (NOIR & VERT LIME) */
.theme-coach-dark {
  background-color: var(--dark-bg-main) !important;
  color: #e2e9e4 !important;
}

.theme-coach-dark h1,
.theme-coach-dark h2,
.theme-coach-dark h3,
.theme-coach-dark h4,
.theme-coach-dark h5,
.theme-coach-dark h6 {
  color: #ffffff !important;
}

.text-lime {
  color: #76c027 !important;
}

.bg-lime {
  background-color: #76c027 !important;
  color: #0c0e0d !important;
}

.bg-lime-subtle {
  background-color: rgba(118, 192, 39, 0.15) !important;
  color: #8be033 !important;
  border: 1px solid rgba(118, 192, 39, 0.35) !important;
}

.btn-lime {
  background: linear-gradient(135deg, #76c027 0%, #8be033 100%) !important;
  color: #0b0e0c !important;
  font-weight: 800 !important;
  border: none !important;
  box-shadow: 0 4px 20px rgba(118, 192, 39, 0.35) !important;
  transition: all 0.25s ease !important;
  border-radius: 9999px !important;
}

.btn-lime:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 8px 28px rgba(118, 192, 39, 0.55) !important;
  color: #000000 !important;
}

.btn-outline-lime {
  background: transparent !important;
  color: #8be033 !important;
  border: 2px solid #76c027 !important;
  font-weight: 700 !important;
  border-radius: 9999px !important;
  transition: all 0.25s ease !important;
}

.btn-outline-lime:hover {
  background: #76c027 !important;
  color: #0c0e0d !important;
  transform: translateY(-2px) !important;
}

.card-coach-dark {
  background: #151c17 !important;
  border: 1px solid #253329 !important;
  border-radius: 20px !important;
  color: #e2e9e4 !important;
  transition: all 0.3s ease !important;
}

.card-coach-dark:hover {
  border-color: #76c027 !important;
  box-shadow: 0 10px 30px rgba(118, 192, 39, 0.2) !important;
  transform: translateY(-3px) !important;
}

.brush-stroke-lime {
  background: #76c027;
  color: #0c0e0d;
  padding: 2px 14px;
  border-radius: 6px;
  display: inline-block;
  transform: rotate(-1deg);
  font-weight: 900;
}

/* UNIVERS 2 : CHUUUUT J'AVANCE (ROSE PASTEL & BLANC) */
.theme-chuuuut-pastel {
  background-color: #fff8fa !important;
  color: #2b1f2d !important;
}

.text-pink-chuuuut {
  color: #ff3366 !important;
}

.bg-pink-subtle {
  background-color: #fff0f5 !important;
  color: #ff3366 !important;
  border: 1px solid #ffd1dc !important;
}

.btn-pink-chuuuut {
  background: linear-gradient(135deg, #ff5d8f 0%, #ff3366 100%) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  border: none !important;
  box-shadow: 0 4px 18px rgba(255, 93, 143, 0.35) !important;
  transition: all 0.25s ease !important;
  border-radius: 9999px !important;
}

.btn-pink-chuuuut:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 8px 25px rgba(255, 51, 102, 0.45) !important;
  color: #ffffff !important;
}

/* Bouton S'abonner pour participer (Planning & Mobile) */
.btn-subscribe-planning {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  line-height: 1.25 !important;
  border-radius: 9999px !important;
  padding: 0.55rem 1rem !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
}

.btn-subscribe-planning .btn-sub-main {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.2px;
  white-space: nowrap;
}

.btn-subscribe-planning .btn-sub-price {
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0.92;
  margin-top: 2px;
  white-space: nowrap;
}

@media (min-width: 1400px) {
  .btn-subscribe-planning {
    flex-direction: row !important;
    gap: 6px !important;
    padding: 0.65rem 1.25rem !important;
  }
  .btn-subscribe-planning .btn-sub-main {
    font-size: 0.95rem;
  }
  .btn-subscribe-planning .btn-sub-price {
    font-size: 0.88rem;
    margin-top: 0 !important;
  }
}

/* Boutons CTA avec prix sur 2ème ligne en mobile */
.btn-cta-split {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  line-height: 1.25 !important;
  border-radius: 9999px !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
}

.btn-cta-split .btn-cta-main {
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: -0.2px;
  white-space: nowrap;
}

.btn-cta-split .btn-cta-price {
  font-size: 0.88rem;
  font-weight: 600;
  opacity: 0.92;
  margin-top: 3px;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .btn-cta-split {
    flex-direction: row !important;
    gap: 8px !important;
    line-height: 1.5 !important;
  }
  .btn-cta-split .btn-cta-main {
    font-size: 1.15rem;
  }
  .btn-cta-split .btn-cta-price {
    font-size: 1.15rem;
    font-weight: 700;
    margin-top: 0 !important;
  }
}

/* Centrage automatique des boutons d'action sur mobile */
@media (max-width: 767.98px) {
  .btn-lime,
  .btn-pink-chuuuut,
  .btn-primary-cf,
  .btn-cta-split {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .col-lg-6 > .btn,
  .col-md-6 > .btn,
  .col-12 > .btn {
    display: flex !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: fit-content !important;
    max-width: 100% !important;
  }
}

.card-pastel-chuuuut {
  background: #ffffff !important;
  border: 2px solid #ffe0e8 !important;
  border-radius: 24px !important;
  box-shadow: 0 8px 24px rgba(255, 93, 143, 0.08) !important;
  transition: all 0.3s ease !important;
}

.card-pastel-chuuuut:hover {
  border-color: #ff5d8f !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 14px 32px rgba(255, 93, 143, 0.16) !important;
}

/* Global resets & typography */
body {
  font-family: var(--font-primary);
  background-color: var(--color-bg-body);
  color: var(--color-text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--color-brand-dark);
}

/* Navbar */
.navbar-custom {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition-normal);
  padding: 12px 0;
  z-index: 1050;
}

.navbar-brand-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.55rem;
  letter-spacing: -0.035em;
  color: var(--color-brand-dark);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: var(--transition-normal);
}

.navbar-brand-logo:hover {
  color: var(--color-brand-dark);
  transform: translateY(-1px);
}

.navbar-brand-logo .brand-logo-img {
  height: 42px;
  width: auto;
  max-width: 220px;
  display: block;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.navbar-brand-logo:hover .brand-logo-img {
  transform: scale(1.03);
  filter: drop-shadow(0 4px 12px rgba(224, 122, 143, 0.35));
}

.navbar-brand-logo .dot {
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, #e07a8f 0%, #f4a57a 100%);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 12px rgba(224, 122, 143, 0.7);
}

.navbar-nav {
  align-items: center;
  gap: 4px;
}

.nav-link-custom {
  font-weight: 600;
  color: #3f3142 !important;
  padding: 8px 13px !important;
  border-radius: var(--radius-pill);
  transition: var(--transition-fast);
  font-size: 0.92rem;
  white-space: nowrap !important;
  display: inline-flex;
  align-items: center;
}

.nav-link-custom:hover,
.nav-link-custom:focus {
  color: var(--color-brand-primary) !important;
  background: rgba(224, 122, 143, 0.08);
}

.navbar-custom .dropdown-menu {
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  padding: 8px;
  min-width: 220px;
  margin-top: 6px;
  background: #ffffff;
}

.navbar-custom .dropdown-item {
  font-weight: 600;
  font-size: 0.88rem;
  padding: 10px 14px;
  border-radius: 10px;
  color: #3f3142;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
}

.navbar-custom .dropdown-item:hover {
  background: var(--color-brand-primary-light);
  color: var(--color-brand-primary-hover);
}

/* Responsive Mobile Navbar & Dropdown Menu */
@media (max-width: 991.98px) {
  .navbar-custom {
    padding: 10px 0;
  }

  .navbar-toggler:focus {
    box-shadow: none !important;
    outline: none !important;
  }

  .navbar-collapse {
    background: #ffffff !important;
    border-radius: 20px !important;
    margin-top: 14px !important;
    padding: 20px !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15) !important;
    border: 1.5px solid #ffd1dc !important;
    max-height: calc(100vh - 120px) !important;
    overflow-y: auto !important;
  }

  .navbar-nav {
    align-items: stretch !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .navbar-nav .nav-item {
    width: 100% !important;
    text-align: center !important;
  }

  .nav-link-custom {
    justify-content: center !important;
    width: 100% !important;
    padding: 11px 16px !important;
    font-size: 0.98rem !important;
    border-radius: 12px !important;
  }

  /* Dropdown en accordéon inline - Résout le chevauchement avec "Contact" */
  .navbar-custom .dropdown-menu,
  .navbar-custom .dropdown-menu[data-bs-popper] {
    position: static !important;
    float: none !important;
    width: 100% !important;
    transform: none !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    margin: 8px 0 !important;
    box-shadow: none !important;
    border: 1px solid #ffe0e8 !important;
    background: #fff8fa !important;
    border-radius: 14px !important;
    padding: 8px !important;
  }

  .navbar-custom .dropdown-item {
    justify-content: center !important;
    padding: 10px 16px !important;
    border-radius: 10px !important;
    font-size: 0.92rem !important;
    text-align: center !important;
  }

  .navbar-collapse .d-flex.align-items-center.gap-2 {
    margin-top: 14px !important;
    padding-top: 14px !important;
    border-top: 1px solid #f0e6e8 !important;
    width: 100% !important;
    justify-content: center !important;
  }

  .navbar-collapse .btn-secondary-cf,
  .navbar-collapse .btn-dark-cf {
    width: 100% !important;
    justify-content: center !important;
    padding: 12px 20px !important;
    border-radius: 9999px !important;
    font-size: 0.95rem !important;
  }
}

/* Boutons & Éléments Interactifs */
.btn-primary-cf {
  background: linear-gradient(135deg, #d9697f 0%, #e07a8f 50%, #f4a57a 100%);
  color: #ffffff !important;
  border: none;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 18px rgba(224, 122, 143, 0.38);
  transition: var(--transition-normal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.btn-primary-cf:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(224, 122, 143, 0.48);
  background: linear-gradient(135deg, #cb5e74 0%, #d9697f 50%, #e89569 100%);
}

.btn-secondary-cf {
  background: #ffffff;
  color: var(--color-brand-dark) !important;
  border: 1px solid var(--color-border);
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  transition: var(--transition-normal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.btn-secondary-cf:hover {
  background: var(--color-brand-primary-light);
  border-color: #f7d2db;
  color: var(--color-brand-primary-hover) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-dark-cf {
  background: var(--color-brand-dark);
  color: #ffffff !important;
  border: 1px solid var(--color-brand-dark-border);
  font-weight: 700;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  transition: var(--transition-normal);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.btn-dark-cf:hover {
  background: #332338;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(36, 23, 39, 0.25);
}

/* Hero Section */
.hero-wrapper {
  background: radial-gradient(circle at 85% 15%, rgba(224, 122, 143, 0.15) 0%, transparent 55%),
              radial-gradient(circle at 10% 85%, rgba(123, 181, 157, 0.14) 0%, transparent 50%),
              radial-gradient(circle at 50% 50%, rgba(244, 165, 122, 0.09) 0%, transparent 60%),
              #ffffff;
  border-bottom: 1px solid var(--color-border);
  padding: 70px 0 60px 0;
  position: relative;
  overflow: hidden;
}

.badge-tag-offer {
  background: var(--color-brand-primary-light);
  color: #b5475e;
  border: 1px solid #f9c2ce;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

.hero-title {
  font-size: clamp(2.3rem, 4.8vw, 3.8rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-bottom: 18px;
}

.hero-highlight {
  background: linear-gradient(135deg, #d9697f 0%, #e07a8f 45%, #f4a57a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 580px;
  margin-bottom: 30px;
}

/* Key Value Pill Strip */
.key-pills-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 32px 0;
}

.key-pill-item {
  background: #ffffff;
  border: 1px solid #f1e4e6;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  color: #3b2c3d;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.key-pill-item i {
  color: var(--color-brand-primary);
  font-size: 1rem;
}

/* Reassurance Strip */
.reassurance-strip {
  background: #ffffff;
  border-bottom: 1px solid var(--color-border);
  padding: 24px 0;
}

.reassurance-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 12px;
}

.reassurance-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--color-brand-primary-light);
  color: var(--color-brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* Feature Cards & Steps */
.step-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: var(--transition-normal);
  height: 100%;
  position: relative;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #f4cad3;
}

.step-num {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #d9697f 0%, #f4a57a 100%);
  color: #ffffff;
  font-weight: 800;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(217, 105, 127, 0.3);
}

/* Pricing Card */
.pricing-card-highlight {
  background: #ffffff;
  border: 2px solid var(--color-brand-primary);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: 0 12px 38px rgba(224, 122, 143, 0.18);
  position: relative;
}

.badge-popular {
  position: absolute;
  top: -14px;
  right: 28px;
  background: linear-gradient(135deg, #d9697f 0%, #f4a57a 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 5px 16px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(217, 105, 127, 0.35);
}

.pricing-price-big {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--color-brand-dark);
  line-height: 1;
}

.pricing-period {
  font-size: 1rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* Session Cards in schedule preview */
.session-card-compact {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.session-card-compact:hover {
  border-color: var(--color-brand-primary);
  box-shadow: 0 6px 20px rgba(180, 135, 150, 0.12);
}

.spots-badge {
  font-weight: 700;
  font-size: 0.82rem;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.spots-available {
  background: #eff7f3;
  color: #23684a;
  border: 1px solid #bde3d2;
}

.spots-almost-full {
  background: #fff5ee;
  color: #9c4714;
  border: 1px solid #fed8be;
}

.spots-full {
  background: #fdf2f4;
  color: #aa334a;
  border: 1px solid #fbc9d3;
}

/* Testimonial Cards */
.testimonial-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}

.testimonial-stars {
  color: #f4a57a;
  font-size: 1rem;
  margin-bottom: 12px;
}

.testimonial-quote {
  font-size: 0.98rem;
  color: #3a2b3c;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 18px;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fdf2f4 0%, #fff3ec 100%);
  border: 2px solid #f9c2ce;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #b5475e;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Comparison Table */
.comparison-table th, .comparison-table td {
  padding: 16px 20px;
  vertical-align: middle;
}

.comparison-table tr:hover td {
  background-color: #fdfafb;
}

/* Footer */
.footer-custom {
  background: #231826;
  color: #b3a5b3;
  padding: 64px 0 32px 0;
  border-top: 1px solid #3d2b40;
}

.footer-custom h5 {
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 18px;
}

.footer-custom a {
  color: #b3a5b3;
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-custom a:hover {
  color: var(--color-brand-primary);
}

/* Mobile & PWA General Optimization Rules */
button, a, input, select, textarea, .day-tab-btn, .client-mobile-tab, .nav-link {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* Momentum smooth scrolling for horizontal overflow containers */
.client-nav-pills, .key-pills-strip, .overflow-x-auto {
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

/* Prevent image clipping and layout break on mobile */
img, svg, video, iframe {
  max-width: 100%;
  height: auto;
}

/* Mobile Sticky Action Dock */
.mobile-action-dock {
  display: none;
}

@media (max-width: 768px) {
  .mobile-action-dock {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--color-border);
    padding: 10px 16px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    z-index: 1040;
    box-shadow: 0 -4px 16px rgba(180, 135, 150, 0.1);
    justify-content: space-between;
    align-items: center;
    gap: 12px;
  }

  body {
    padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

@media (max-width: 576px) {
  .btn, .nav-link, .dropdown-item, .client-nav-item {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 480px;
  background: rgba(35, 24, 38, 0.96);
  backdrop-filter: blur(16px);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-lg);
  z-index: 1060;
  border: 1px solid #44324a;
  transition: var(--transition-normal);
}

/* ==========================================================================
   Harmonisation Pastel des Classes Utilitaires Bootstrap
   ========================================================================== */
.text-success {
  color: #cb5e74 !important;
}

.text-primary {
  color: #6daaa1 !important;
}

.text-info {
  color: #679eb3 !important;
}

.text-warning {
  color: #e58d5f !important;
}

.bg-success {
  background-color: #e07a8f !important;
  color: #ffffff !important;
}

.bg-success-subtle {
  background-color: #fdf2f4 !important;
  color: #b5475e !important;
  border: 1px solid #f9c2ce !important;
}

.bg-primary-subtle {
  background-color: #eff7f3 !important;
  color: #276b4e !important;
  border: 1px solid #bde3d2 !important;
}

.bg-warning-subtle {
  background-color: #fff6ee !important;
  color: #9c4714 !important;
  border: 1px solid #fed8be !important;
}

.bg-info-subtle {
  background-color: #f0f8fa !important;
  color: #256a80 !important;
  border: 1px solid #c9e8f0 !important;
}

.badge.bg-success {
  background: linear-gradient(135deg, #e07a8f 0%, #f4a57a 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(224, 122, 143, 0.28);
}

.badge.bg-secondary {
  background-color: #3b2c3e !important;
  color: #ebdce0 !important;
  border: 1px solid #503d54;
}

.border-success {
  border-color: #e07a8f !important;
}

.border-primary {
  border-color: #7bb59d !important;
}

.btn-outline-success {
  color: #cb5e74 !important;
  border-color: #f0a8b7 !important;
}

.btn-outline-success:hover {
  background-color: #e07a8f !important;
  border-color: #e07a8f !important;
  color: #ffffff !important;
}

.btn-outline-primary {
  color: #5b9980 !important;
  border-color: #bde3d2 !important;
}

.btn-check:checked + .btn-outline-primary, 
.btn-outline-primary:hover {
  background-color: #7bb59d !important;
  border-color: #7bb59d !important;
  color: #ffffff !important;
}

/* ==========================================================================
   ELEMENTOR-STYLE BLOG ARTICLE COMPONENTS
   ========================================================================== */
.article-content h2, .wysiwyg-canvas h2 {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-weight: 800;
  font-size: 1.65rem;
  color: #111827;
  margin-top: 2rem;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.article-content h2::after, .wysiwyg-canvas h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 45px;
  height: 3px;
  background: #76c027;
  border-radius: 2px;
}

.article-content h3, .wysiwyg-canvas h3 {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-weight: 700;
  font-size: 1.35rem;
  color: #1e293b;
  margin-top: 1.6rem;
  margin-bottom: 0.75rem;
}

.article-content h4, .wysiwyg-canvas h4 {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-weight: 700;
  font-size: 1.15rem;
  color: #334155;
  margin-top: 1.2rem;
  margin-bottom: 0.5rem;
}

.article-content p, .wysiwyg-canvas p {
  margin-bottom: 1.2rem;
  line-height: 1.8;
}

.elementor-box {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.elementor-box:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

.elementor-box-tip {
  background: #f0fdf4 !important;
  border-left: 5px solid #76c027 !important;
  border: 1px solid #dcfce7;
}

.elementor-box-alert {
  background: #fffbeb !important;
  border-left: 5px solid #f59e0b !important;
  border: 1px solid #fef3c7;
}

.elementor-cta-block {
  background: linear-gradient(135deg, #111827 0%, #1f2937 100%) !important;
  color: #ffffff !important;
  border-radius: 18px !important;
}

.elementor-checklist li {
  line-height: 1.6;
}

.elementor-quote {
  background: #ffffff;
  border-left: 4px solid #111827 !important;
  font-style: italic;
}

/* ==========================================================================
   FLOATING SOCIAL TOAST WIDGET (INSTAGRAM & FACEBOOK - MORGAN COEURET)
   ========================================================================== */
#morganSocialToast.morgan-social-toast-container {
  position: fixed !important;
  bottom: 25px !important;
  right: 25px !important;
  z-index: 1055 !important;
  width: 395px !important;
  max-width: calc(100vw - 32px) !important;
  margin: 0 !important;
  opacity: 0;
  transform: translateY(30px) scale(0.96);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, 'Plus Jakarta Sans', Helvetica, Arial, sans-serif;
  box-sizing: border-box;
}

#morganSocialToast.morgan-social-toast-container * {
  box-sizing: border-box;
}

#morganSocialToast.morgan-social-toast-container.is-visible {
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
  pointer-events: auto !important;
}

#morganSocialToast .morgan-social-toast-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 16px;
  position: relative;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.16), 0 4px 14px rgba(0, 0, 0, 0.06);
  border: 1px solid #e2e8f0;
}

#morganSocialToast .morgan-social-toast-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: none;
  background: #f1f5f9;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  z-index: 2;
}

#morganSocialToast .morgan-social-toast-close:hover {
  background: #e2e8f0;
  color: #0f172a;
  transform: scale(1.08);
}

#morganSocialToast .morgan-social-toast-body {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

#morganSocialToast .morgan-social-toast-avatars {
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  margin-right: 4px;
}

#morganSocialToast .morgan-avatar-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  position: relative;
}

#morganSocialToast .morgan-avatar-insta {
  background: linear-gradient(45deg, #f09433 0%, #dc2743 50%, #bc1888 100%);
  box-shadow: 0 4px 10px rgba(220, 39, 67, 0.35);
  z-index: 2;
}

#morganSocialToast .morgan-avatar-fb {
  background: linear-gradient(135deg, #1877f2 0%, #0d5ec4 100%);
  box-shadow: 0 4px 10px rgba(24, 119, 242, 0.35);
  margin-left: -14px;
  z-index: 1;
}

#morganSocialToast .morgan-toast-pulse {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 11px;
  height: 11px;
  background: #22c55e;
  border: 2px solid #ffffff;
  border-radius: 50%;
  z-index: 3;
  animation: morgan-pulse-toast 2s infinite;
}

@keyframes morgan-pulse-toast {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

#morganSocialToast .morgan-social-toast-content {
  flex: 1;
  padding-right: 18px;
}

#morganSocialToast .morgan-social-toast-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}

#morganSocialToast .morgan-social-toast-author {
  font-family: 'Outfit', sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
}

#morganSocialToast .morgan-social-toast-verified {
  display: inline-flex;
  align-items: center;
}

#morganSocialToast .morgan-social-toast-badge {
  background: #eff6ff;
  color: #2563eb;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 1px 6px;
  border-radius: 6px;
  border: 1px solid #bfdbfe;
  line-height: 1.3;
}

#morganSocialToast .morgan-social-toast-text {
  font-size: 12.5px;
  line-height: 1.45;
  color: #475569;
  margin: 0 0 10px 0;
}

#morganSocialToast .morgan-social-toast-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

#morganSocialToast .morgan-social-toast-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffffff !important;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 13px;
  border-radius: 8px;
  text-decoration: none !important;
  transition: all 0.2s ease;
  line-height: 1.2;
}

#morganSocialToast .morgan-toast-btn-insta {
  background: linear-gradient(45deg, #f09433 0%, #dc2743 50%, #bc1888 100%);
  box-shadow: 0 3px 8px rgba(220, 39, 67, 0.3);
}

#morganSocialToast .morgan-toast-btn-insta:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 12px rgba(220, 39, 67, 0.45);
  color: #ffffff !important;
}

#morganSocialToast .morgan-toast-btn-fb {
  background: #1877f2;
  box-shadow: 0 3px 8px rgba(24, 119, 242, 0.3);
}

#morganSocialToast .morgan-toast-btn-fb:hover {
  background: #1464cc;
  transform: translateY(-1px);
  box-shadow: 0 5px 12px rgba(24, 119, 242, 0.45);
  color: #ffffff !important;
}

/* Mobile responsive: sits nicely above mobile dock */
@media (max-width: 768px) {
  #morganSocialToast.morgan-social-toast-container {
    bottom: calc(76px + env(safe-area-inset-bottom, 0px)) !important;
    right: 12px !important;
    left: 12px !important;
    width: auto !important;
    max-width: none !important;
  }
}


