/* =============================================
   POTENTIEEL — Feuille de style globale
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,700;1,400;1,600;1,700&family=Caveat:wght@600;700&display=swap&font-display=swap');

:root {
  --bg:           #ffffff;
  --bg-card:      #f7f6f3;
  --bg-card-2:    #f0eee7;
  --bg-card-3:    #eae7de;
  --orange:       #c1531e;
  --orange-light: #f4926a;
  --orange-btn:   #f5a07a;
  --lime:         #4c6f18;
  --lime-dim:     #3a5511;
  --white:        #18170f;
  --gray-light:   #514f47;
  --gray:         #6b6862;
  --gray-dark:    #d6d2c7;
  --border:       #e7e3d9;
  --border-card:  #ded9cc;
  --radius:       16px;
  --radius-sm:    10px;
  --radius-pill:  999px;
}

/* ---- Reset ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* =============================================
   TILT CARD + CURSOR GLOW
   ============================================= */
.tilt-card {
  position: relative;
  overflow: hidden;
  will-change: transform;
  transition: transform 0.4s ease, box-shadow 0.3s ease;
}
.tilt-card::before {
  content: '';
  position: absolute;
  left: var(--gx, 50%);
  top:  var(--gy, 50%);
  transform: translate(-50%, -50%);
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(244,146,106,0.13) 0%, transparent 65%);
  opacity: var(--go, 0);
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
}
.tilt-card:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,0.35), 0 0 0 1px rgba(244,146,106,0.12);
}
.tilt-card > * { position: relative; z-index: 1; }

/* =============================================
   SCROLL ANIMATIONS
   ============================================= */
.scroll-anim {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.scroll-anim.visible {
  opacity: 1;
  transform: translateY(0);
}
.scroll-anim.d1 { transition-delay: 0.08s; }
.scroll-anim.d2 { transition-delay: 0.16s; }
.scroll-anim.d3 { transition-delay: 0.24s; }
.scroll-anim.d4 { transition-delay: 0.32s; }
.scroll-anim-left {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.scroll-anim-left.visible { opacity: 1; transform: translateX(0); }

body {
  background: var(--bg);
  color: var(--white);
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* =============================================
   UTILITIES
   ============================================= */
.container { max-width: 1180px; margin: 0 auto; padding: 0 40px; }
.serif { font-family: 'Playfair Display', Georgia, serif; font-style: italic; }
.accent-orange { color: var(--orange); }
.accent-lime   { color: var(--lime); }
.muted         { color: var(--gray); }

.gradient-text {
  color: var(--orange);
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(10,10,10,0.06);
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
}

.navbar-logo .arrow-icon {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
}

.navbar-logo .arrow-icon svg { width: 22px; height: 22px; }

.navbar-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.navbar-links a {
  font-size: 14px;
  color: var(--gray-light);
  font-weight: 400;
  transition: color 0.2s;
  position: relative;
  padding-bottom: 3px;
}
.navbar-links a:hover { color: var(--white); }
.navbar-links a.active {
  color: var(--white);
  font-weight: 500;
}
.navbar-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
}

/* Dropdown — "Services" */
.has-dropdown { position: relative; }
.dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  font-size: 14px;
  color: var(--gray-light);
  transition: color 0.2s;
  padding-bottom: 3px;
}
.dropdown-trigger svg { width: 11px; height: 11px; transition: transform 0.2s; }
.has-dropdown:hover .dropdown-trigger,
.has-dropdown:focus-within .dropdown-trigger,
.dropdown-trigger.active { color: var(--white); font-weight: 500; }
.has-dropdown:hover .dropdown-trigger svg,
.has-dropdown:focus-within .dropdown-trigger svg { transform: rotate(180deg); }
.navbar-dropdown {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 14px;
  box-shadow: 0 20px 48px rgba(20,15,5,0.14);
  padding: 8px;
  min-width: 230px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 250;
}
.has-dropdown:hover .navbar-dropdown,
.has-dropdown:focus-within .navbar-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.navbar-dropdown a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  color: var(--white);
  font-weight: 500;
  transition: background 0.15s;
}
.navbar-dropdown a:hover { background: var(--bg-card-3); }
.navbar-dropdown a small { font-size: 12px; color: var(--gray); font-weight: 400; }

.btn-crm {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: transparent;
  border: 1.5px solid rgba(245,160,122,0.5);
  border-radius: var(--radius-pill);
  color: var(--orange);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-crm:hover {
  background: rgba(244,146,106,0.1);
  border-color: var(--orange);
  color: var(--orange);
}
.btn-crm svg { width: 14px; height: 14px; }

/* =============================================
   MOBILE BOTTOM TAB BAR
   (remplace navbar-links sur mobile — pas de burger,
   navigation directe par icones, flottante en bas)
   ============================================= */
.mobile-tabbar { display: none; }

/* =============================================
   BUTTONS
   ============================================= */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  background: var(--orange-btn);
  border-radius: var(--radius-pill);
  color: #1a0800;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  letter-spacing: 0.01em;
}
.btn-primary:hover { background: var(--orange-light); transform: translateY(-1px); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  background: transparent;
  border: 1.5px solid rgba(10,10,10,0.2);
  border-radius: var(--radius-pill);
  color: var(--white);
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-secondary:hover { border-color: rgba(10,10,10,0.5); background: rgba(10,10,10,0.04); }

.btn-lime {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  background: rgba(200,245,66,0.1);
  border: 1.5px solid var(--lime);
  border-radius: var(--radius-pill);
  color: var(--lime);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-lime:hover { background: rgba(200,245,66,0.18); }

/* =============================================
   DECORATIVE ARROW CIRCLE
   ============================================= */
.arrow-circle {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1.5px solid rgba(10,10,10,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 18px;
  flex-shrink: 0;
  pointer-events: none;
}
.arrow-circle-sm {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(244,146,106,0.4);
  display: flex; align-items: center; justify-content: center;
  color: var(--orange);
  font-size: 14px;
  flex-shrink: 0;
}

/* =============================================
   EYEBROW TEXT
   ============================================= */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 28px; height: 1.5px;
  background: var(--orange);
  flex-shrink: 0;
}
.eyebrow.lime { color: var(--lime); }
.eyebrow.lime::before { background: var(--lime); }
.eyebrow.white { color: var(--gray-light); }
.eyebrow.white::before { background: var(--gray); }

/* =============================================
   SECTION DIVIDER LINE (orange/lime under heading)
   ============================================= */
.heading-divider {
  display: flex;
  gap: 6px;
  margin: 18px 0 28px;
}
.heading-divider span {
  height: 2px;
  border-radius: 2px;
}
.heading-divider .d-orange { background: var(--orange); width: 120px; }
.heading-divider .d-lime   { background: var(--lime);   width: 60px; }

/* =============================================
   HERO SECTIONS
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero h1 {
  font-size: clamp(52px, 6.2vw, 92px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}

.hero-sub {
  font-size: 17px;
  color: var(--gray-light);
  max-width: 560px;
  line-height: 1.65;
  margin-bottom: 36px;
  text-align: center;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  row-gap: 16px;
  gap: 0;
  margin-top: 52px;
  border-top: 1px solid var(--border);
  padding-top: 28px;
  width: 100%;
}
.hero-stat {
  padding-right: 32px;
  margin-right: 32px;
  border-right: 1px solid var(--border);
}
.hero-stat:last-child { border-right: none; }
.hero-stat .val {
  font-size: 30px;
  font-weight: 800;
  color: var(--orange);
  display: block;
}
.hero-stat .lbl {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  display: block;
  margin-top: 2px;
}

.hero-image {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 100%;
  width: 70%;
  object-fit: cover;
  object-position: center center;
  z-index: 1;
  opacity: 0.45;
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.15) 8%, rgba(0,0,0,0.7) 22%, black 42%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.15) 8%, rgba(0,0,0,0.7) 22%, black 42%);
  pointer-events: none;
}

/* Sparkles */
.sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.sparkle {
  position: absolute;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--orange);
  opacity: 0.4;
  animation: twinkle 3s ease-in-out infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: 0.1; transform: scale(0.8); }
  50%       { opacity: 0.6; transform: scale(1.2); }
}

/* =============================================
   ANIMATED BLOB BACKGROUNDS (injected by scripts.js
   into every .hero / .page-header)
   ============================================= */
.blob-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.blob {
  position: absolute;
  border-radius: 42% 58% 65% 35% / 45% 45% 55% 55%;
  filter: blur(56px);
  opacity: 0.4;
  will-change: transform, border-radius;
  animation: blobDrift 22s ease-in-out infinite;
}
.blob.b1 {
  width: 440px; height: 440px;
  top: -140px; left: -100px;
  background: radial-gradient(circle at 30% 30%, var(--orange-light), transparent 70%);
  animation-duration: 24s;
}
.blob.b2 {
  width: 380px; height: 380px;
  bottom: -160px; right: -80px;
  background: radial-gradient(circle at 60% 40%, #c8f542, transparent 70%);
  animation-duration: 28s;
  animation-delay: -6s;
}
.blob.b3 {
  width: 260px; height: 260px;
  top: 35%; right: 12%;
  background: radial-gradient(circle at 50% 50%, var(--orange-light), transparent 70%);
  opacity: 0.22;
  animation-duration: 19s;
  animation-delay: -3s;
}
@keyframes blobDrift {
  0%, 100% { transform: translate(0,0) scale(1); border-radius: 42% 58% 65% 35% / 45% 45% 55% 55%; }
  33%      { transform: translate(26px,-32px) scale(1.08); border-radius: 58% 42% 35% 65% / 55% 65% 35% 45%; }
  66%      { transform: translate(-22px,26px) scale(0.95); border-radius: 65% 35% 55% 45% / 35% 55% 45% 65%; }
}
@media (prefers-reduced-motion: reduce) {
  .blob { animation: none; }
}

/* =============================================
   TICKER / MARQUEE
   ============================================= */
.ticker-wrap {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  background: rgba(10,10,10,0.015);
}
.ticker-track {
  display: flex;
  gap: 0;
  animation: ticker 28s linear infinite;
  width: max-content;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item {
  display: flex;
  align-items: center;
  gap: 18px;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray);
  padding: 0 20px;
}
.ticker-item .dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =============================================
   SECTION COMMON
   ============================================= */
section { padding: 100px 0; }
.section-header { margin-bottom: 60px; }
.section-header h2 {
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.section-header p {
  max-width: 560px;
  color: var(--gray-light);
  margin-top: 16px;
  font-size: 17px;
  line-height: 1.65;
}
/* Centre uniquement le CTA final et le circuit — tout le reste est à gauche */
.center-block { text-align: center; }
.center-block p { margin: 16px auto 0; }
.center-block .eyebrow { justify-content: center; }

/* =============================================
   PROBLEM SECTION
   ============================================= */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}
.problem-intro {
  grid-column: 1 / -1;
  max-width: 640px;
  color: var(--gray-light);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 12px;
}
.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  padding: 32px;
}
.problem-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--white);
}
.problem-card p { color: var(--gray-light); font-size: 15px; line-height: 1.65; }
.problem-card .icon-wrap {
  width: 42px; height: 42px;
  background: rgba(244,146,106,0.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--orange);
  font-size: 20px;
}

/* =============================================
   DOUBLE CIRCUIT
   ============================================= */
.circuit-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
  color: var(--gray-light);
  font-size: 17px;
  line-height: 1.65;
}
.circuit-intro strong { color: var(--white); font-weight: 600; }

.circuit-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: center;
}
.circuit-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  padding: 36px;
  position: relative;
}
.circuit-card.urgence { border-top: 3px solid var(--orange); }
.circuit-card.projet  { border-top: 3px solid var(--lime); }

.circuit-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.circuit-label.urgence { color: var(--orange); }
.circuit-label.projet  { color: var(--lime); }

.circuit-label .icon-wrap {
  width: 34px; height: 34px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}
.circuit-label.urgence .icon-wrap { background: rgba(244,146,106,0.12); color: var(--orange); }
.circuit-label.projet  .icon-wrap { background: rgba(200,245,66,0.1);   color: var(--lime); }

.circuit-card h3 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.15;
}
.circuit-card p { color: var(--gray-light); font-size: 15px; line-height: 1.65; margin-bottom: 24px; }

.circuit-list { margin-bottom: 28px; }
.circuit-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--gray-light);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.circuit-list li:last-child { border-bottom: none; }
.circuit-list li svg { width: 16px; height: 16px; flex-shrink: 0; }
.circuit-list.urgence li svg { color: var(--orange); }
.circuit-list.projet  li svg { color: var(--lime); }

.circuit-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
}
.circuit-ou {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--bg-card-3);
  border: 1.5px solid var(--border-card);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--white);
}

/* =============================================
   TESTIMONIALS / CAROUSEL
   ============================================= */
.testimonials-section { background: var(--bg); }

.testimonials-heading {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
}
.testimonial-card.t-orange { border-top: 2px solid var(--orange); }
.testimonial-card.t-orange-2 { border-top: 2px solid var(--orange-light); }
.testimonial-card.t-lime   { border-top: 2px solid var(--lime); }

.testimonial-quote-icon {
  font-size: 28px;
  line-height: 1;
  margin-bottom: 14px;
  color: var(--orange);
  font-family: Georgia, serif;
}
.testimonial-card.t-lime .testimonial-quote-icon  { color: var(--lime); }
.testimonial-card.t-orange-2 .testimonial-quote-icon { color: var(--orange); }

.testimonial-result {
  font-size: 20px;
  font-weight: 800;
  color: var(--orange);
  margin-bottom: 14px;
}
.testimonial-card.t-lime   .testimonial-result { color: var(--lime); }
.testimonial-card.t-orange-2 .testimonial-result { color: var(--orange); }

.testimonial-text {
  font-size: 14px;
  color: var(--gray-light);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 22px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-card-3);
  border: 1.5px solid var(--border-card);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 13px;
  color: var(--gray-light);
  flex-shrink: 0;
}
.testimonial-author-name { font-size: 14px; font-weight: 600; }
.testimonial-author-role { font-size: 12px; color: var(--gray); margin-top: 2px; }

/* WhatsApp Carousel */
.wa-carousel-section { padding: 80px 0 100px; }
.wa-carousel-title {
  font-size: clamp(30px, 3.5vw, 44px);
  font-weight: 800;
  margin-bottom: 48px;
  text-align: center;
}
.wa-carousel-title .serif { color: var(--orange); }

.wa-carousel-track-wrap { overflow: hidden; position: relative; }
.wa-carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.wa-card {
  min-width: 360px;
  background: #111b21;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(10,10,10,0.06);
  position: relative;
  flex-shrink: 0;
}

.wa-card-header {
  background: #1f2c34;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.wa-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: #2a3942;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
}
.wa-contact-name { font-size: 15px; font-weight: 600; color: #e9edef; }
.wa-contact-status { font-size: 12px; color: #8696a0; }
.wa-icons { margin-left: auto; display: flex; gap: 18px; color: #aebac1; }

.wa-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 200px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' opacity='0.03'%3E%3Ctext y='100' font-size='200' fill='%23888'%3E💬%3C/text%3E%3C/svg%3E");
}

.wa-bubble {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: #e9edef;
  position: relative;
}
.wa-bubble.received {
  background: #1f2c34;
  align-self: flex-start;
  border-top-left-radius: 2px;
}
.wa-bubble.sent {
  background: #005c4b;
  align-self: flex-end;
  border-top-right-radius: 2px;
}
.wa-bubble-time {
  font-size: 11px;
  color: #8696a0;
  margin-top: 4px;
  text-align: right;
}
.wa-reaction {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #8696a0;
  margin-top: 2px;
  background: #1f2c34;
  border-radius: 20px;
  padding: 2px 8px;
  width: fit-content;
}

.wa-annotation {
  position: absolute;
  font-family: 'Caveat', cursive;
  font-size: 18px;
  font-weight: 700;
  color: var(--orange);
  line-height: 1.3;
  pointer-events: none;
}

.wa-carousel-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}
.wa-ctrl-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border-card);
  background: var(--bg-card);
  color: var(--white);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.wa-ctrl-btn:hover { border-color: var(--orange); color: var(--orange); }

/* =============================================
   STATS BAR
   ============================================= */
.stats-bar {
  padding: 60px 0;
  border-top: 1px solid var(--border);
}
.stats-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 0 20px;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-item .num {
  font-size: 48px;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}
.stat-item .desc {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
}
/* application.html uniquement : la description "Économisées / mois (record client)" est plus longue */
#appStatsBar .stat-item .desc {
  font-size: 11px;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
@media (max-width: 900px) {
  #appStatsBar .stat-item .desc { white-space: normal; }
}

/* =============================================
   PRICING
   ============================================= */
.pricing-section { background: var(--bg); }
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 10px 28px rgba(20,15,5,0.06);
}
.pricing-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 5px;
}
.pricing-subtitle {
  font-size: 12px;
  color: var(--gray);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.pricing-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}
.pricing-tagline {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 16px;
}
.pricing-price {
  font-size: 36px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}
.pricing-price sup { font-size: 18px; font-weight: 700; vertical-align: top; margin-top: 6px; display: inline-block; }
.pricing-price sub { font-size: 15px; font-weight: 400; color: var(--gray); }
.pricing-payment {
  font-size: 12px;
  color: var(--gray);
  margin-bottom: 18px;
}
.pricing-list { margin-bottom: 20px; }
.pricing-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--gray-light);
  padding: 5px 0;
  line-height: 1.4;
}
.pricing-list li .check {
  width: 16px; height: 16px;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--orange);
}
.pricing-card.featured {
  border: 2px solid var(--orange);
  background: linear-gradient(135deg, rgba(244,146,106,0.05) 0%, var(--bg-card) 60%);
  box-shadow: 0 20px 48px rgba(193,83,30,0.22), 0 0 0 4px rgba(193,83,30,0.06);
}
.pricing-card.featured::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  pointer-events: none;
  z-index: -1;
  animation: recoPulse 2.6s cubic-bezier(0.22,1,0.36,1) infinite;
}
@keyframes recoPulse {
  0%   { box-shadow: 0 0 0 0 rgba(193,83,30,0.35); }
  70%  { box-shadow: 0 0 0 16px rgba(193,83,30,0); }
  100% { box-shadow: 0 0 0 0 rgba(193,83,30,0); }
}
@media (prefers-reduced-motion: reduce) {
  .pricing-card.featured::after { animation: none; }
}

.pricing-option-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-left: 3px solid var(--lime);
  border-radius: var(--radius);
  padding: 36px;
}
.pricing-option-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 6px;
}

.pricing-option-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
}
.pricing-option-title { font-size: 24px; font-weight: 700; margin-bottom: 16px; }
.pricing-option-desc  { color: var(--gray-light); font-size: 15px; line-height: 1.65; margin-bottom: 24px; }
.pricing-option-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
}
.pricing-option-list li {
  display: flex; align-items: center; gap: 8px;
  font-size: 13.5px; color: var(--gray-light);
}
.pricing-option-list li .check { width: 14px; height: 14px; color: var(--lime); }
.pricing-option-badge {
  background: rgba(200,245,66,0.08);
  border: 1.5px solid var(--lime);
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align: center;
}
.pricing-option-badge .badge-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--lime);
  margin-bottom: 4px;
}
.pricing-option-badge .badge-sub {
  font-size: 12px;
  color: var(--gray);
  line-height: 1.5;
}
.pricing-note {
  text-align: center;
  font-size: 13px;
  color: var(--gray);
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* =============================================
   APP CONFIGURATOR (Applications sur mesure)
   ============================================= */
.pricing-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}
.pricing-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 860px;
  margin: 0 auto 28px;
  align-items: start;
}
.profile-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 14px;
}
/* application.html uniquement : espace pour le repère "Je suis" */
#profileTabs { position: relative; padding-top: 30px; }
.profile-pointer {
  position: absolute;
  top: 0;
  left: 0;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--orange);
  white-space: nowrap;
  transition: left 0.35s cubic-bezier(0.22,1,0.36,1);
  pointer-events: none;
}
.profile-pointer svg { width: 14px; height: 14px; animation: hintTap 1.6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .profile-pointer svg { animation: none; }
}
.profile-tab {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-card);
  background: var(--bg-card);
  color: var(--gray-light);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.profile-tab svg { width: 17px; height: 17px; flex-shrink: 0; }
.profile-tab:hover { border-color: rgba(193,83,30,0.4); color: var(--white); }
.profile-tab.active {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  animation: tabPop 0.3s cubic-bezier(0.22,1,0.36,1);
}
@keyframes tabPop {
  0%   { transform: scale(0.93); }
  100% { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .profile-tab.active { animation: none; }
}
.profile-note {
  text-align: center;
  font-size: 12.5px;
  color: var(--gray);
  margin: 0 auto 48px;
}
#appProfileNote { margin: 0 auto 28px; }
.nowrap-until-tablet { white-space: nowrap; }
@media (max-width: 900px) {
  .nowrap-until-tablet { white-space: normal; }
}
.app-profile-panel { display: none; }
.app-profile-panel.active { display: block; animation: panelIn 0.45s cubic-bezier(0.22,1,0.36,1); }
@keyframes panelIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .app-profile-panel.active { animation: none; }
}

.pricing-card.recommended { position: relative; overflow: visible; }
.app-badge-reco {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--orange);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(193,83,30,0.28);
}
.app-badge-reco svg { width: 12px; height: 12px; }

.pricing-gain {
  display: flex;
  flex-direction: column;
  gap: 7px;
  border-top: 1px solid var(--border-card);
  padding-top: 12px;
  margin: 6px 0 16px;
}
.pricing-card.recommended .pricing-gain { border-top-color: rgba(193,83,30,0.3); }
.pricing-gain-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--gray-light);
}
.pricing-gain-row strong { color: var(--white); font-weight: 700; }
.pricing-gain-row svg { width: 15px; height: 15px; color: var(--orange); flex-shrink: 0; }

.app-setup-fee {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--gray);
  margin: 4px 0 14px;
}
.app-setup-fee svg { width: 14px; height: 14px; flex-shrink: 0; }

.pricing-meta {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.5;
  margin: 4px 0 10px;
}

/* Site vs Application — top-level selector (homepage) */
.type-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 640px;
  margin: 0 auto 40px;
}
.type-tab {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  border-radius: var(--radius);
  border: 2px solid var(--border-card);
  background: var(--bg-card);
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  text-align: left;
}
.type-tab .type-tab-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--bg-card-3);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray);
  flex-shrink: 0;
  transition: all 0.2s;
}
.type-tab .type-tab-icon svg { width: 22px; height: 22px; }
.type-tab-title { font-size: 16px; font-weight: 700; color: var(--white); }
.type-tab-sub { display: block; font-size: 12.5px; font-weight: 500; color: var(--gray); margin-top: 2px; }
.type-tab:hover { border-color: rgba(193,83,30,0.4); }
.type-tab.active { border-color: var(--orange); background: rgba(193,83,30,0.05); animation: tabPop 0.3s cubic-bezier(0.22,1,0.36,1); }
.type-tab.active .type-tab-icon { background: var(--orange); color: #fff; }
.offer-type-panel { display: none; }
.offer-type-panel.active { display: block; animation: panelIn 0.45s cubic-bezier(0.22,1,0.36,1); }
@media (prefers-reduced-motion: reduce) {
  .offer-type-panel.active { animation: none; }
}

@media (max-width: 700px) {
  .type-tabs { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .pricing-grid-3 { grid-template-columns: 1fr; }
  .pricing-grid-2 { grid-template-columns: 1fr; }
  .profile-tabs { gap: 8px; }
  .profile-tab { padding: 11px 16px; font-size: 13px; }
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
  padding: 100px 0;
  text-align: center;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(244,146,106,0.04) 100%);
}
.cta-section .eyebrow { justify-content: center; }
.cta-section h2 {
  font-size: clamp(42px, 5.5vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 36px;
}
.cta-section h2 .serif { color: var(--orange); }

/* =============================================
   PROCESS TIMELINE
   ============================================= */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-top: 60px;
}
/* Connecting line — replaced by SVG wave */
.process-timeline::before { display: none; }

.process-wave-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 130px;
  z-index: 0;
  pointer-events: none;
  overflow: visible;
}
.process-step-new {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px 0;
  position: relative;
}
.process-badge {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--orange);
  margin-bottom: 28px;
  transition: background 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.process-step-new:nth-child(2) .process-badge { border-color: color-mix(in srgb, var(--orange) 66%, var(--lime)); color: color-mix(in srgb, var(--orange) 66%, var(--lime)); }
.process-step-new:nth-child(3) .process-badge { border-color: color-mix(in srgb, var(--orange) 33%, var(--lime)); color: color-mix(in srgb, var(--orange) 33%, var(--lime)); }
.process-step-new:nth-child(4) .process-badge { border-color: var(--lime); color: var(--lime); }
.process-step-new:hover .process-badge { background: rgba(244,146,106,0.12); box-shadow: 0 0 24px rgba(244,146,106,0.25); }
.process-icon {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  margin-bottom: 16px;
  transition: background 0.25s;
}
.process-step-new:hover .process-icon { background: rgba(244,146,106,0.08); }
.process-step-new h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.process-step-new p {
  font-size: 14px;
  color: var(--gray-light);
  line-height: 1.65;
}

/* ---- application.html uniquement : étapes en flip-cards (avant = titre, arrière = détail) ---- */
.process-flip-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 14px;
  align-items: center;
  margin-top: 20px;
}
.process-flip-connector { display: flex; align-items: center; justify-content: center; color: var(--orange); opacity: 0.5; }
.process-flip-connector svg { width: 18px; height: 18px; }
.tool-flip.process-flip { height: 230px; animation: none; }
.process-flip .tool-flip-front { border-radius: 18px; gap: 10px; padding: 22px 18px; }
.process-flip .tool-flip-back  { border-radius: 18px; gap: 10px; padding: 22px 20px; }
.process-flip .process-badge {
  position: static;
  width: 40px;
  height: 40px;
  margin-bottom: 2px;
  font-size: 11px;
  border-color: var(--step-accent, var(--orange));
  color: var(--step-accent, var(--orange));
}
.process-flip .process-badge--back {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.55);
  color: #fff;
}
.process-flip .tool-flip-front h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin: 0;
}
.process-flip .tool-flip-back p {
  font-size: 13.5px;
  line-height: 1.55;
  color: #fff;
  font-weight: 500;
  margin: 0;
}

@media (max-width: 900px) {
  .process-flip-grid { grid-template-columns: 1fr 1fr; }
  .process-flip-connector { display: none; }
}

/* =============================================
   FAQ
   ============================================= */
.faq-list { display: flex; flex-direction: column; gap: 2px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item[open] { border-color: rgba(244,146,106,0.35); }
.faq-question {
  padding: 22px 28px;
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  user-select: none;
  transition: color 0.2s;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: var(--orange);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-item[open] .faq-question::after { transform: rotate(45deg); }
.faq-answer {
  padding: 0 28px 22px;
  color: var(--gray-light);
  font-size: 15px;
  line-height: 1.7;
}
.faq-answer p { margin: 0; }

/* ---- application.html uniquement : liste épurée sans fond de carte ---- */
#faqList { border-top: 1px solid var(--border-card); gap: 0; }
#faqList .faq-item {
  background: none;
  border: none;
  border-bottom: 1px solid var(--border-card);
  border-radius: 0;
}
#faqList .faq-question { padding: 24px 4px; }
#faqList .faq-question:hover { color: var(--orange); }
#faqList .faq-item[open] .faq-question { color: var(--orange); }
#faqList .faq-answer { padding: 0 4px 24px; }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--bg-card-2);
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 48px;
}
.footer-brand p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
  margin: 16px 0 20px;
  max-width: 300px;
}
.footer-contact a {
  display: block;
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 6px;
  transition: color 0.2s;
}
.footer-contact a:hover { color: var(--orange); }

.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 20px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 14px;
  color: var(--gray-light);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--orange); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom p { font-size: 13px; color: var(--gray); }

/* =============================================
   PAGE HEADER (inner pages)
   ============================================= */
.page-header {
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-header .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.page-header h1 {
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}
.page-header p {
  font-size: 18px;
  color: var(--gray-light);
  max-width: 560px;
  line-height: 1.65;
  margin-bottom: 32px;
  text-align: center;
}

/* =============================================
   PROCESS STEPS
   ============================================= */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  padding: 28px;
}
.step-num {
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.step-card h4 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.step-card p  { font-size: 14px; color: var(--gray-light); line-height: 1.6; }

/* =============================================
   ADVANTAGES GRID
   ============================================= */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.adv-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-top: 3px solid var(--orange);
  border-radius: var(--radius);
  padding: 30px 28px 32px;
}
.adv-card--orange { border-top-color: var(--orange); background: linear-gradient(180deg, rgba(244,146,106,0.09), var(--bg-card) 140px); }
.adv-card--lime   { border-top-color: var(--lime);   background: linear-gradient(180deg, rgba(200,245,66,0.1), var(--bg-card) 140px); }
.adv-card--purple { border-top-color: #8b5cf6;        background: linear-gradient(180deg, rgba(139,92,246,0.09), var(--bg-card) 140px); }
.adv-card--orange h4 { color: var(--orange); }
.adv-card--lime h4   { color: var(--lime-dim); }
.adv-card--purple h4 { color: #7c3aed; }
.adv-card h4 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.adv-card p  { font-size: 14.5px; color: var(--gray-light); line-height: 1.6; }

/* =============================================
   BANDEAU INTÉGRATIONS — carrousel fluide (intégrations réelles, sans bordures)
   ============================================= */
.integrations-strip {
  padding: 30px 0 20px;
  background: var(--bg);
  overflow: hidden;            /* pas de bordures haut/bas */
}
.int-title {
  text-align: center;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray);
  margin: 0 0 18px;
}
/* Ruban défilant, fondu doux sur les deux bords pour la fluidité */
.int-viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.int-marquee {
  display: flex;
  width: max-content;
  animation: intScroll 60s linear infinite;   /* calme malgré les 24 logos */
}
.int-marquee:hover { animation-play-state: paused; }
.int-track {
  display: flex;
  align-items: center;
  gap: clamp(28px, 4vw, 52px);
  padding-right: clamp(28px, 4vw, 52px);
}
@keyframes intScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
/* Logos + nom, sans cadre */
.int-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
}
.int-ico { display: inline-flex; }
.int-ico svg { width: 26px; height: 26px; display: block; border-radius: 6px; }
@media (max-width: 600px) {
  .int-item { font-size: 13.5px; gap: 8px; }
  .int-ico svg { width: 22px; height: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .int-marquee { animation: none; width: 100%; justify-content: center; flex-wrap: wrap; gap: 12px 34px; }
  .int-track:last-child { display: none; }
}

/* =============================================
   STATS — tuiles chiffres animées (glossy, flottantes)
   ============================================= */
.stats-section {
  position: relative;
  overflow: hidden;
  padding: 66px 0 72px;
  /* dégradé vertical lisse et uniforme : démarre exactement sur la couleur de la
     vidéo (#f0ece4) et fond doucement vers le blanc, qui rejoint sans rupture la
     section bénéfices (blanche) en dessous. Aucun halo → aucune tache de couleur. */
  background: linear-gradient(180deg, #f0ece4 0%, #f5f1ea 45%, #ffffff 100%);
}
.stats-section .container { position: relative; z-index: 1; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat-tile {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 34px 22px 30px;
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(255,255,255,0.92), rgba(247,246,243,0.62));
  border: 1px solid rgba(255,255,255,0.85);
  box-shadow: 0 1px 0 rgba(255,255,255,0.9) inset,
              0 18px 40px -18px rgba(61,40,20,0.28),
              0 4px 14px -8px rgba(61,40,20,0.16);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: statFloat 6s ease-in-out infinite;
  transition: transform 0.45s cubic-bezier(.22,1,.36,1), box-shadow 0.45s ease, opacity 0.6s ease;
}
.stat-tile.d1 { animation-delay: -1.5s; }
.stat-tile.d2 { animation-delay: -3s; }
.stat-tile.d3 { animation-delay: -4.5s; }
@keyframes statFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.stat-tile::before {              /* balayage brillant qui traverse la tuile */
  content: '';
  position: absolute;
  top: 0; left: -60%;
  width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.7), transparent);
  transform: skewX(-18deg);
  animation: statShine 7s ease-in-out infinite;
  pointer-events: none;
}
.stat-tile.d1::before { animation-delay: 1.2s; }
.stat-tile.d2::before { animation-delay: 2.4s; }
.stat-tile.d3::before { animation-delay: 3.6s; }
@keyframes statShine { 0% { left: -60%; } 24%,100% { left: 135%; } }
.stat-tile:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 1px 0 rgba(255,255,255,0.9) inset, 0 30px 58px -20px rgba(61,40,20,0.4);
}
.stat-num {
  display: block;
  font-size: clamp(40px, 4.4vw, 56px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  background: linear-gradient(155deg, #f4926a 0%, var(--orange) 55%, #9e3f13 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.stat-tile--lime .stat-num {
  background: linear-gradient(155deg, #8fbf3f 0%, var(--lime) 55%, #2c4310 100%);
  -webkit-background-clip: text; background-clip: text;
}
.stat-label { display: block; font-size: 12.5px; font-weight: 600; line-height: 1.4; color: var(--gray-light); }
.stat-label em { display: block; font-style: normal; font-size: 11px; font-weight: 500; color: var(--gray); margin-top: 3px; }
@media (max-width: 760px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .stat-tile { padding: 26px 16px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .stat-tile, .stat-tile::before { animation: none; }
}

/* =============================================
   BÉNÉFICES — panneau sombre + cartes « futuristes » (glass néon + glows)
   ============================================= */
.benefits-section { position: relative; }
/* Grand panneau sombre arrondi posé sur le fond crème : environnement dark où
   les cartes néon ressortent, sans coupure franche (élément contenu, arrondi). */
.benefits-panel {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  padding: 60px clamp(24px, 4vw, 56px) 64px;
  background:
    radial-gradient(120% 90% at 18% -10%, rgba(244,146,106,0.16), transparent 55%),
    radial-gradient(120% 90% at 100% 115%, rgba(139,92,246,0.18), transparent 55%),
    linear-gradient(165deg, #211d18 0%, #16130f 55%, #100d0a 100%);
  border: 1px solid rgba(255,255,255,0.09);
  box-shadow: 0 50px 100px -46px rgba(0,0,0,0.65), inset 0 1px 0 rgba(255,255,255,0.06);
}
.benefits-panel .eyebrow { color: var(--orange-light); }
.benefits-panel .eyebrow::before,
.benefits-panel .eyebrow::after { background: var(--orange-light); opacity: 0.7; }
.benefits-panel .accent-orange { color: #f4926a; }

.benefits-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.benefit-card {
  --accent: #f4926a;
  --accent-2: #c1531e;
  --glow: rgba(244,146,106,0.55);
  position: relative;
  overflow: hidden;
  padding: 32px 28px 34px;
  border-radius: 22px;
  background: linear-gradient(165deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.025) 100%);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 24px 50px -26px rgba(0,0,0,0.75), inset 0 1px 0 rgba(255,255,255,0.09);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #ece9e3;
  transition: transform 0.45s cubic-bezier(.22,1,.36,1), box-shadow 0.45s ease, border-color 0.45s ease, opacity 0.6s ease;
}
.benefit-card--lime   { --accent: #a8e05a; --accent-2: #6f9a2e; --glow: rgba(140,191,63,0.5); }
.benefit-card--purple { --accent: #b9a0ff; --accent-2: #7c3aed; --glow: rgba(167,139,250,0.55); }
.benefit-card::before {           /* bloom dégradé néon en haut à droite */
  content: '';
  position: absolute;
  top: -55%; right: -32%;
  width: 260px; height: 260px;
  background: radial-gradient(circle, var(--glow), transparent 66%);
  pointer-events: none;
}
.benefit-card::after {            /* liseré néon en haut, révélé au survol */
  content: '';
  position: absolute;
  top: 0; left: 22px; right: 22px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.5s ease;
}
.benefit-index {
  position: absolute;
  top: 12px; right: 20px;
  font-size: 60px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px var(--accent);
  opacity: 0.28;
  pointer-events: none;
}
.benefit-icon {
  position: relative;
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 54px; height: 54px;
  margin-bottom: 20px;
  border-radius: 15px;
  color: var(--accent);
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,0.14), rgba(255,255,255,0.02));
  border: 1.5px solid color-mix(in srgb, var(--accent) 55%, transparent);
  box-shadow: 0 0 24px -4px var(--glow), inset 0 0 16px -6px var(--accent);
}
.benefit-icon svg { width: 26px; height: 26px; }
.benefit-card h4 { position: relative; font-size: 20px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 10px; color: #ffffff; }
.benefit-card p  { position: relative; font-size: 14.5px; line-height: 1.62; color: rgba(236,233,227,0.72); }
.benefit-card p strong { color: var(--accent); font-weight: 700; }
.benefit-card:hover {
  transform: translateY(-8px);
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  box-shadow: 0 36px 72px -28px var(--glow), inset 0 1px 0 rgba(255,255,255,0.12);
}
.benefit-card:hover::after { opacity: 0.85; }
@media (max-width: 860px) {
  .benefits-panel { border-radius: 24px; padding: 44px 20px 48px; }
  .benefits-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* =============================================
   INCLUDED LIST (big card)
   ============================================= */
.included-card {
  background: var(--bg-card-2);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  padding: 36px;
}
.included-card h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 24px;
}
.included-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  color: var(--gray-light);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.included-list li:last-child { border-bottom: none; }
.included-list li .check { width: 18px; height: 18px; color: var(--orange); flex-shrink: 0; }

/* =============================================
   VALUES (À Propos)
   ============================================= */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  padding: 32px;
}
.value-icon {
  width: 44px; height: 44px;
  background: rgba(244,146,106,0.08);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}
.value-card h4 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.value-card p  { font-size: 15px; color: var(--gray-light); line-height: 1.6; }

/* =============================================
   WHO WE ARE (À Propos)
   ============================================= */
.who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.who-text h2 {
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.who-text p {
  font-size: 16px;
  color: var(--gray-light);
  line-height: 1.75;
  margin-bottom: 20px;
}
.who-image-wrap {
  position: relative;
  height: 520px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
}
.who-image-wrap img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); }

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.contact-info h2 {
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.contact-info p {
  color: var(--gray-light);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 36px;
}
.contact-methods { display: flex; flex-direction: column; gap: 16px; margin-bottom: 36px; }
.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  transition: all 0.2s;
  cursor: pointer;
}
.contact-method:hover { border-color: rgba(244,146,106,0.4); background: rgba(244,146,106,0.04); }
.contact-method .cm-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.contact-method.whatsapp .cm-icon { background: rgba(37,211,102,0.1); color: #25d366; }
.contact-method.email    .cm-icon { background: rgba(244,146,106,0.1); color: var(--orange); }
.contact-method.calendly .cm-icon { background: rgba(100,180,255,0.1); color: #64b4ff; }
.contact-method .cm-title { font-weight: 600; font-size: 15px; margin-bottom: 2px; }
.contact-method .cm-desc  { font-size: 13px; color: var(--gray); }

.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  padding: 40px;
}
.form-title { font-size: 20px; font-weight: 700; margin-bottom: 28px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-light);
  margin-bottom: 7px;
  letter-spacing: 0.02em;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--bg-card-3);
  border: 1.5px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--white);
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-dark); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--orange); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group select option { background: var(--bg-card); color: var(--white); }

.form-submit {
  margin-top: 8px;
}
.form-submit .btn-primary { width: 100%; justify-content: center; }

/* =============================================
   AUTH PAGE
   ============================================= */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.auth-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  padding: 48px;
  width: 100%;
  max-width: 440px;
}
.auth-logo { margin-bottom: 32px; }
.auth-card h2 { font-size: 26px; font-weight: 700; margin-bottom: 8px; }
.auth-card .auth-sub { color: var(--gray); font-size: 15px; margin-bottom: 32px; }
.auth-footer-text {
  text-align: center;
  font-size: 13px;
  color: var(--gray);
  margin-top: 20px;
}
.auth-footer-text a { color: var(--orange); }

/* =============================================
   AVIS PAGE
   ============================================= */
.avis-masonry {
  columns: 3;
  column-gap: 20px;
}
.avis-item {
  break-inside: avoid;
  margin-bottom: 20px;
}

/* =============================================
   WA SCREENSHOT CAROUSEL (vrais screenshots)
   ============================================= */
.wa-carousel-section { padding: 80px 0 100px; }
.wa-carousel-title { font-size: clamp(28px,3.5vw,42px); font-weight: 800; margin-bottom: 48px; }
.wa-carousel-title .serif { color: var(--orange); }
.wa-carousel-track-wrap {
  overflow: hidden;
  padding: 20px 0 28px;
  margin: -20px 0 -28px;
}
.wa-carousel-track {
  display: flex;
  gap: 28px;
  transition: transform 0.55s cubic-bezier(0.25,0.46,0.45,0.94);
  padding: 8px 4px;
}
.wa-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  padding: 8px 4px;
}
.wa-grid .wa-screenshot-card { min-width: 0; }
@media (max-width: 700px) {
  .wa-grid .wa-screenshot-card { width: 100%; max-width: 320px; }
}

.wa-screenshot-card {
  min-width: 280px;
  max-width: 300px;
  flex-shrink: 0;
  border-radius: 28px;
  overflow: visible;
  border: 1px solid rgba(10,10,10,0.1);
  box-shadow: 0 20px 48px rgba(20,15,5,0.14);
  background: var(--bg-card-2);
  cursor: grab;
  position: relative;
  z-index: 1;
}
.wa-screenshot-card:hover { z-index: 10; }
.wa-screenshot-card:active { cursor: grabbing; }
.wa-screenshot-card img {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
  border-radius: 28px;
}
/* Placeholder si image non encore ajoutée */
.wa-screenshot-card .wa-placeholder {
  width: 100%;
  aspect-ratio: 9/16;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--gray);
  font-size: 14px;
  text-align: center;
  padding: 24px;
  background: var(--bg-card-2);
}
.wa-screenshot-card .wa-placeholder svg { width: 40px; height: 40px; color: var(--gray-dark); }

.wa-carousel-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}
.wa-ctrl-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border-card);
  background: var(--bg-card);
  color: var(--white);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}
.wa-ctrl-btn:hover { border-color: var(--orange); color: var(--orange); }
#waDots { display: flex; gap: 8px; align-items: center; }
.wa-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--border-card); border: none; cursor: pointer;
  transition: all 0.2s; padding: 0;
}
.wa-dot.active { background: var(--orange); width: 20px; border-radius: 4px; }

/* =============================================
   ICON WRAP (SVG icons)
   ============================================= */
.icon-svg {
  width: 44px; height: 44px;
  background: rgba(244,146,106,0.08);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--orange);
  flex-shrink: 0;
}
.icon-svg svg { width: 22px; height: 22px; }
.icon-svg.lime { background: rgba(200,245,66,0.08); color: var(--lime); }

/* =============================================
   HERO ENTRY ANIMATIONS (above-the-fold)
   ============================================= */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-entry {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}
.hero-entry.d1 { animation-delay: 0.08s; }
.hero-entry.d2 { animation-delay: 0.18s; }
.hero-entry.d3 { animation-delay: 0.30s; }
.hero-entry.d4 { animation-delay: 0.44s; }
.hero-entry.d5 { animation-delay: 0.56s; }

/* =============================================
   SOCIAL PROOF BAR
   ============================================= */
.social-proof {
  padding: 52px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(10,10,10,0.012);
}
.social-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.sp-item {
  padding: 0 32px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sp-item:first-child { padding-left: 0; }
.sp-item:last-child  { border-right: none; }
.sp-num {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--white);
  line-height: 1;
}
.sp-num.orange { color: var(--orange); }
.sp-num.lime   { color: var(--lime); }
.sp-stars {
  color: #fbbf24;
  font-size: 22px;
  letter-spacing: 3px;
  line-height: 1;
}
.sp-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray);
  line-height: 1.4;
}

/* =============================================
   PROBLEM CARDS — redesign avec chiffres
   ============================================= */
.problem-stat-big {
  font-size: clamp(48px, 5.5vw, 76px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 4px;
  display: block;
}
.problem-stat-big.lime { color: var(--lime); }
.problem-stat-sub {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray);
  margin-bottom: 20px;
  display: block;
}

/* =============================================
   TESTIMONIAL STARS
   ============================================= */
.testimonial-stars {
  color: #fbbf24;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

/* =============================================
   CARD HOVER — glow intensifié
   ============================================= */
.tilt-card:hover {
  box-shadow: 0 20px 60px rgba(0,0,0,0.4),
              0 0 0 1px rgba(244,146,106,0.18),
              0 0 40px rgba(244,146,106,0.06);
}

/* =============================================
   BLOG
   ============================================= */
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  overflow: hidden;
}
.blog-card-inner {
  padding: 36px 40px;
}
.blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.blog-tag {
  display: inline-block;
  background: rgba(244,146,106,0.12);
  color: var(--orange);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}
.blog-tag.tag-lime {
  background: rgba(200,245,66,0.10);
  color: var(--lime);
}
.blog-title {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.blog-title a {
  color: var(--white);
  transition: color 0.2s;
}
.blog-title a:hover { color: var(--orange); }
.blog-excerpt {
  color: var(--gray-light);
  font-size: 15px;
  line-height: 1.7;
  max-width: 680px;
  margin-bottom: 24px;
}
.blog-footer {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* =============================================
   ACCESSIBILITY & UX
   ============================================= */

/* Skip link for keyboard navigation */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 9999;
  background: var(--orange);
  color: #000;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

/* Keyboard focus ring — visible only for keyboard nav */
:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}
:focus:not(:focus-visible) { outline: none; }

/* Cursor: pointer on all interactive elements */
button, [role="button"], label[for],
.btn-primary, .btn-secondary, .btn-crm,
.contact-method, .faq-q, .wa-dot,
.testimonial-card, .tilt-card { cursor: pointer; }

/* Touch targets: minimum 44px */
.btn-primary, .btn-secondary, .btn-crm {
  min-height: 44px;
  touch-action: manipulation;
}
button { touch-action: manipulation; }

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .scroll-anim, .scroll-anim-left {
    opacity: 1 !important;
    transform: none !important;
  }
  .ticker-track { animation: none !important; }
}

/* =============================================
   GRID UTILITIES — ex-inline grids, now classed so they
   can collapse properly on mobile (agence/offre/index)
   ============================================= */
.team-grid       { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.method-grid     { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.guarantee-grid  { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.compare-grid    { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.garantie-split  { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  .container { padding: 0 24px; }
  .navbar { padding: 16px 24px; }
  .navbar-links { display: none; }
  .hero h1 { font-size: 48px; letter-spacing: -0.02em; }
  .hero-image { height: 55%; width: 100%; opacity: 0.25; object-position: 78% center; }
  .circuit-grid { grid-template-columns: 1fr; }
  .circuit-divider { padding: 16px 0; transform: rotate(90deg); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .stats-bar-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); padding-bottom: 24px; }
  .stat-item:last-child { border-bottom: none; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .advantages-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .who-grid { grid-template-columns: 1fr; }
  .who-image-wrap { height: 300px; }
  .contact-grid { grid-template-columns: 1fr; }
  .problem-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .process-timeline { grid-template-columns: 1fr 1fr; }
  .process-timeline::before { display: none; }
  .process-wave-svg { display: none; }
  .pricing-option-grid { grid-template-columns: 1fr; }
  .avis-masonry { columns: 1; }
  .wa-card { min-width: 300px; }
  .social-proof-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .sp-item { border-right: none; padding: 0; border-bottom: 1px solid var(--border); padding-bottom: 20px; }
  .sp-item:nth-child(3), .sp-item:nth-child(4) { border-bottom: none; }
  .team-grid { grid-template-columns: 1fr; }
  .method-grid { grid-template-columns: 1fr; }
  .guarantee-grid { grid-template-columns: 1fr; }
  .compare-grid { grid-template-columns: 1fr; }
  .garantie-split { grid-template-columns: 1fr; gap: 32px; }

  .mobile-tabbar {
    display: flex;
    position: fixed;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    z-index: 300;
    width: calc(100% - 28px);
    max-width: 420px;
    justify-content: space-between;
    align-items: center;
    gap: 2px;
    padding: 8px 6px;
    padding-bottom: calc(8px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(10,10,10,0.08);
    border-radius: 22px;
    box-shadow: 0 10px 32px rgba(0,0,0,0.16);
  }
  .mobile-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    flex: 1;
    padding: 7px 2px;
    border-radius: 14px;
    color: var(--gray);
    transition: color 0.2s, background 0.2s;
  }
  .mobile-tab svg { width: 19px; height: 19px; flex-shrink: 0; }
  .mobile-tab span { font-size: 9.5px; font-weight: 500; letter-spacing: 0.01em; white-space: nowrap; }
  .mobile-tab.active { color: var(--orange); background: rgba(244,146,106,0.12); }
  .footer { padding-bottom: 112px; }
}

/* =============================================
   RESPONSIVE — small phones
   ============================================= */
@media (max-width: 600px) {
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px 6px;
    text-align: center;
    row-gap: 16px;
  }
  .hero-stat { padding-right: 0; margin-right: 0; border-right: none; }
  .hero-stat .val { font-size: 20px; }
  .hero-stat .lbl { font-size: 9px; letter-spacing: 0.04em; }
  .hero-ctas { flex-direction: column; align-items: stretch; width: 100%; }
  .hero-ctas .btn-primary,
  .hero-ctas .btn-secondary,
  .hero-ctas .btn-lime { width: 100%; justify-content: center; }
}
@media (max-width: 380px) {
  .container { padding: 0 16px; }
}

/* =============================================
   ABOUT PAGE — text design (highlights, underline draw, word reveal)
   ============================================= */
/* Highlighter sweep (animates when its .scroll-anim parent becomes visible) */
.hl {
  font-weight: 600;
  color: var(--white);
  background-image: linear-gradient(transparent 58%, rgba(244,146,106,0.32) 58%);
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 0% 100%;
  transition: background-size 0.85s cubic-bezier(0.22,1,0.36,1) 0.15s;
  padding: 0 2px;
  border-radius: 2px;
}
.hl.hl-lime { background-image: linear-gradient(transparent 58%, rgba(200,245,66,0.30) 58%); }
.scroll-anim.visible .hl,
.reveal-words.visible .hl { background-size: 100% 100%; }

/* Underline that draws in on scroll */
.ul-draw {
  position: relative;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
}
.ul-draw::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s cubic-bezier(0.22,1,0.36,1) 0.25s;
}
.ul-draw.ul-lime::after { background: var(--lime); }
.scroll-anim.visible .ul-draw::after,
.reveal-words.visible .ul-draw::after { transform: scaleX(1); }

/* Words appearing on scroll */
.reveal-words .rw {
  display: inline-block;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.55s cubic-bezier(0.22,1,0.36,1);
}
.reveal-words.visible .rw { opacity: 1; transform: none; }

/* Founders caption on the about image */
.who-image-caption {
  position: absolute;
  left: 16px; bottom: 16px;
  display: flex; align-items: center; gap: 8px;
  padding: 9px 16px;
  background: rgba(10,10,12,0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 100px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.who-image-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(200,245,66,0.18);
  flex-shrink: 0;
}
/* About image: ensure both founders stay centered */
.who-image-wrap img { object-position: center; }

/* =============================================
   ABOUT PAGE — "Notre histoire" cards
   ============================================= */
.histoire-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.histoire-card {
  position: relative;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  padding: 40px 38px 38px;
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), border-color 0.4s, box-shadow 0.4s;
}
.histoire-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), transparent);
  opacity: 0.7;
  transition: opacity 0.4s;
}
.histoire-card.lime::before { background: linear-gradient(90deg, var(--lime), transparent); }
.histoire-card::after {
  content: "\201C";
  position: absolute;
  top: 8px; right: 24px;
  font-family: Georgia, serif;
  font-size: 110px;
  line-height: 1;
  color: var(--orange);
  opacity: 0.10;
  pointer-events: none;
}
.histoire-card.lime::after { color: var(--lime); }
.histoire-card:hover {
  transform: translateY(-6px);
  border-color: rgba(244,146,106,0.35);
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
}
.histoire-card.lime:hover { border-color: rgba(200,245,66,0.35); }
.histoire-num {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--orange);
  opacity: 0.85;
  margin-bottom: 14px;
}
.histoire-card.lime .histoire-num { color: var(--lime); }
.histoire-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--orange);
  background: rgba(244,146,106,0.10);
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 18px;
}
.histoire-card.lime .histoire-label {
  color: var(--lime);
  background: rgba(200,245,66,0.10);
}
.histoire-card p {
  color: var(--gray-light);
  font-size: 16px;
  line-height: 1.8;
  margin: 0;
  position: relative;
  z-index: 1;
}
@media (max-width: 760px) {
  .histoire-grid { grid-template-columns: 1fr; }
}

/* =============================================
   MODERN HERO (application.html / offre.html)
   proposition de valeur + mockup flottant + trust strip
   ============================================= */
.hero-modern {
  position: relative;
  padding: 118px 0 0;
  overflow: hidden;
}
.hero-modern-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
  padding-bottom: 28px;
  position: relative;
  z-index: 2;
}
/* application.html uniquement : un peu plus d'air avant la trust-strip */
/* Page sans navbar : le hero peut remonter (seul le bouton CTA flotte en haut) */
.hero-modern--app { padding-top: 84px; }
.hero-modern--app .hero-modern-grid { padding-bottom: 52px; }

/* Hero 2 colonnes : texte + proposition de valeur à gauche · 2 interfaces 3D superposées à droite */
.hero-modern--app .container { max-width: 1500px; }
.hero-split {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 52px;
  align-items: center;
}
/* Colonne texte, alignée à gauche */
.hero-left { text-align: left; }
.hero-left .eyebrow { justify-content: flex-start; }
.hero-left .heading-divider { margin-left: 0; margin-right: 0; }
.hero-left .hero-sub,
.hero-left p { text-align: left; }
.hero-left .hero-sub { max-width: 560px; }
.hero-left .hero-ctas { justify-content: flex-start; flex-wrap: wrap; }
.hero-left .hero-mini-trust { justify-content: flex-start; }

/* Interfaces 3D flottantes (aperçu animé, sans ordinateur dessiné).
   Canevas 1200×720 : l'iframe est mise à l'échelle du cadre en JS. */
.screen3d {
  position: relative;
  width: 100%;
  aspect-ratio: 1200 / 720;
  border-radius: 14px;
  overflow: hidden;
  background: #F8F7F6;
  animation: mockFloat 7s ease-in-out infinite;
  box-shadow:
    0 1px 2px rgba(20,15,5,0.05),
    0 18px 34px -14px rgba(20,15,5,0.30),
    0 44px 76px -32px rgba(20,15,5,0.40);
  will-change: transform;
}
/* liseré clair pour détacher l'écran du fond */
.screen3d::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.55);
  pointer-events: none;
}
/* Deux écrans superposés à droite : grande (Dashboard) + petite (Planning), bien visibles */
.hero-visuals {
  position: relative;
  width: 100%;
  padding: 6px 2% 13% 0;   /* place pour le débord bas de la mini + air pour l'ombre */
}
.screen3d--main {
  width: 84%;
  transform: perspective(1800px) rotateY(-7deg) rotateX(2deg);
  z-index: 1;
}
.screen3d--mini {
  position: absolute;
  width: 45%;
  right: 0;
  bottom: 0;
  z-index: 2;
  animation-delay: -2.2s;
  transform: perspective(1800px) rotateY(-7deg) rotateX(2deg);
  box-shadow:
    0 2px 4px rgba(20,15,5,0.07),
    0 24px 44px -14px rgba(20,15,5,0.34),
    0 54px 90px -34px rgba(20,15,5,0.48);
}
.screen3d .screen-frame {
  position: absolute;
  top: 0; left: 0;
  width: 1200px; height: 720px;
  border: 0;
  transform-origin: top left;
  pointer-events: none;
}
@supports not (aspect-ratio: 1) {
  .screen3d { height: 0; padding-bottom: 60%; }  /* 720/1200 */
}
@media (max-width: 1080px) {
  .hero-split { grid-template-columns: 1fr; gap: 32px; }
  .hero-modern--app .container { max-width: 1180px; }
  .hero-left { max-width: 640px; }
  .hero-visuals { max-width: 560px; margin: 0 auto; padding-bottom: 15%; }
  .screen3d--main, .screen3d--mini { transform: none; }
}
@media (max-width: 560px) {
  .hero-left .hero-ctas { flex-wrap: wrap; }
}

/* Bouton CTA fixe, plein orange, en haut à droite (remplace la navbar) */
.nav-cta-fixed {
  position: fixed;
  top: 18px;
  right: 24px;
  z-index: 300;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: var(--orange);
  color: #fff;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 10px 26px -8px rgba(193,83,30,0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.nav-cta-fixed:hover {
  transform: translateY(-2px);
  background: #a8481a;
  box-shadow: 0 16px 34px -10px rgba(193,83,30,0.6);
}
.nav-cta-fixed svg { width: 18px; height: 18px; }
@media (max-width: 600px) {
  .nav-cta-fixed { top: 12px; right: 12px; padding: 10px 15px; font-size: 13px; }
  .hero-modern--app { padding-top: 66px; }
}
/* Atténue les blobs de droite/bas : plus de lueur colorée près du header/carrousel */
.hero-modern--app .blob.b2 { opacity: 0.08; }
.hero-modern--app .blob.b3 { opacity: 0.07; }
.hero-modern-text .eyebrow { margin-bottom: 10px; }
.hero-modern-text h1 {
  font-size: clamp(32px, 3.8vw, 46px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin-bottom: 14px;
}
.hero-modern-text .heading-divider { margin: 10px 0 14px; }
.hero-modern-text .hero-sub { text-align: left; margin: 0 0 18px; font-size: 15px; line-height: 1.55; }
.hero-modern-text .hero-ctas { justify-content: flex-start; }
.hero-mini-trust {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}
.hero-mini-trust .stars { color: #f5a623; font-size: 14px; letter-spacing: 1px; }
.hero-mini-trust span { font-size: 13.5px; color: var(--gray); }
.hero-mini-trust strong { color: var(--white); }

.hero-modern-visual {
  position: relative;
  height: 350px;
}
.hero-mock-card {
  position: absolute;
  inset: 6px 20px;
  border-radius: 18px;
  box-shadow: 0 34px 70px rgba(20,15,5,0.16);
  transform: perspective(1200px) rotateY(-9deg) rotateX(4deg) rotate(-2deg);
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1);
  animation: mockFloat 7s ease-in-out infinite;
  z-index: 1;
  perspective: 1600px;
}
.hero-modern-visual:hover .hero-mock-card {
  transform: perspective(1200px) rotateY(-2deg) rotateX(1deg) rotate(0deg);
}
@keyframes mockFloat {
  0%, 100% { margin-top: 0; }
  50%      { margin-top: -14px; }
}
.hero-mock-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.22,1,0.36,1);
  transform-style: preserve-3d;
}
.hero-mock-card.flipped .hero-mock-card-inner { transform: rotateY(180deg); }
.mock-face {
  position: absolute;
  inset: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 18px;
  padding: 16px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
}
.mock-face-back { transform: rotateY(180deg); display: flex; flex-direction: column; }
.mock-back-scene { display: none; flex-direction: column; height: 100%; }
.mock-back-scene.active { display: flex; animation: panelIn 0.4s ease; }
.mock-back-title { font-size: 11.5px; font-weight: 700; color: var(--gray); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 10px; }
.mock-logos-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 4px 0 12px; }
.mock-logo-chip { width: 34px; height: 34px; border-radius: 9px; background: var(--bg-card-2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mock-logo-chip svg { width: 19px; height: 19px; }
.mock-back-scene .mock-stat { font-size: 19px; }
.mock-back-note { font-size: 11.5px; color: var(--gray); line-height: 1.5; margin-top: auto; }
.mock-topbar { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.mock-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--border-card); }
.mock-url {
  margin-left: 10px;
  font-size: 11.5px;
  color: var(--gray);
  background: var(--bg-card-3);
  padding: 4px 12px;
  border-radius: 100px;
  flex: 1;
  max-width: 200px;
}
.mock-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  background: var(--bg-card-2);
  border-radius: 9px;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
}
.mock-row svg { width: 14px; height: 14px; color: var(--orange); flex-shrink: 0; }
.mock-bars { display: flex; align-items: flex-end; gap: 6px; height: 38px; margin: 8px 0; }
.mock-bars span { display: block; flex: 1; border-radius: 5px 5px 0 0; background: linear-gradient(180deg, var(--orange-light), var(--orange)); }
.mock-bars span.b-lime { background: linear-gradient(180deg, #c8f542, var(--lime)); }
.mock-stat { font-size: 21px; font-weight: 800; color: var(--orange); line-height: 1; }
.mock-stat-label { font-size: 11px; color: var(--gray); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 2px; }

.hero-float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 14px;
  padding: 11px 15px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--white);
  box-shadow: 0 16px 36px rgba(20,15,5,0.13);
  z-index: 2;
  animation: badgeFloat 6s ease-in-out infinite;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.hero-float-badge:hover { transform: translateY(-2px); }
.hero-float-badge.active-badge {
  border-color: var(--orange);
  box-shadow: 0 16px 36px rgba(193,83,30,0.28);
}
.hero-float-badge svg { width: 17px; height: 17px; flex-shrink: 0; color: var(--orange); }
.hero-float-badge.lime svg { color: var(--lime); }
.hero-float-badge.fb1 { top: 2%;  left: -4%;  animation-delay: 0s; }
.hero-float-badge.fb2 { bottom: -7%; left: -4%; animation-delay: -2s; }
.hero-float-badge.fb3 { top: 38%; right: -11%; animation-delay: -4s; }
@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-mock-card, .hero-float-badge, .hero-shot { animation: none; }
}

/* ---- Captures réelles de l'app dans des cadres type navigateur (hero) ---- */
.hero-float-badge { z-index: 6; }
.hero-shot {
  position: absolute;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(20,15,5,0.08);
  box-shadow: 0 34px 70px rgba(20,15,5,0.20);
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1);
  will-change: transform;
}
.hero-shot-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  background: var(--bg-card-2, #f4efe9);
  border-bottom: 1px solid rgba(20,15,5,0.06);
}
.hero-shot-bar span {
  width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0;
  background: #dcd6cd;
}
.hero-shot-bar span:nth-child(1) { background: #ff5f57; }
.hero-shot-bar span:nth-child(2) { background: #febc2e; }
.hero-shot-bar span:nth-child(3) { background: #28c840; }
.hero-shot-bar em {
  font-style: normal;
  margin-left: 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--gray, #8a8375);
  letter-spacing: -0.01em;
}
.hero-shot-ui { overflow: hidden; background: #fbf7f1; }

.hero-shot--main {
  top: 4px; left: 0; width: 100%; z-index: 2;
  transform: perspective(1300px) rotateY(-9deg) rotateX(3deg) rotate(-1.5deg);
  animation: mockFloat 7s ease-in-out infinite;
}
.hero-shot--main .hero-shot-ui { height: 262px; }
.hero-shot--planning {
  bottom: -12%; right: -9%; width: 62%; z-index: 4;
  transform: perspective(1300px) rotateY(-6deg) rotateX(2deg) rotate(2deg);
  animation: mockFloat 7s ease-in-out infinite;
  animation-delay: -3.5s;
}
.hero-shot--planning .hero-shot-ui { height: 176px; }
.hero-modern-visual:hover .hero-shot--main {
  transform: perspective(1300px) rotateY(-3deg) rotateX(1deg) rotate(0deg);
}
.hero-modern-visual:hover .hero-shot--planning {
  transform: perspective(1300px) rotateY(-2deg) rotateX(1deg) rotate(0.5deg);
}
@media (max-width: 820px) {
  .hero-shot--planning { display: none; }
  .hero-shot--main { top: 50%; transform: translateY(-50%) rotate(-1deg); animation: none; }
  .hero-shot--main .hero-shot-ui { height: 220px; }
}

/* ============ Aperçu animé de l'app (iframe Claude Design) dans le hero ============ */
.hero-shot--app {
  top: 2px; left: 0; width: 100%; z-index: 2;
  transform: perspective(1300px) rotateY(-9deg) rotateX(3deg) rotate(-1.5deg);
  animation: mockFloat 7s ease-in-out infinite;
}
.hero-modern-visual:hover .hero-shot--app {
  transform: perspective(1300px) rotateY(-3deg) rotateX(1deg) rotate(0deg);
}
.hero-appframe { position: relative; width: 100%; height: 306px; overflow: hidden; background: #f5f4f1; }
.hero-appframe iframe { position: absolute; top: 0; left: 0; width: 1200px; height: 900px; border: 0; transform-origin: top left; pointer-events: none; }
@media (max-width: 820px) {
  .hero-shot--app { top: 50%; transform: translateY(-50%) rotate(-1deg); animation: none; }
  .hero-appframe { height: 232px; }
}

/* ============ Captures réelles + overlays animés (hero) ============ */
.hero-real { position: relative; container-type: inline-size; }
.hero-real .stage { position: relative; width: 100%; font-size: 0; }
.hero-real--plan .stage { width: 135%; }
.hero-real .stage > img { width: 100%; height: auto; display: block; }
.ov { position: absolute; }
/* Compteur de chantiers (recouvre le "22" du donut, chiffre qui varie) */
.ovc-num {
  left: 31.9%; top: 32.4%; transform: translate(-50%, -50%);
  background: #fff; color: #1f2430; font-weight: 800;
  font-size: 2.7cqw; line-height: 1; padding: 0.35cqw 0.55cqw; border-radius: 0.7cqw;
  min-width: 4.4cqw; text-align: center; font-family: var(--font-sans, 'Inter', sans-serif);
}
/* Barres d'avancement animées (recouvrent les barres statiques) */
.ovc-bar { left: 49.6%; width: 44%; height: 0.6cqw; border-radius: 1cqw; background: #e9e3da; overflow: hidden; }
.ovc-bar::after { content: ""; display: block; height: 100%; width: var(--w, 40%); border-radius: 1cqw; background: var(--c, #34c759); animation: ovbar 4.6s ease-in-out infinite; animation-delay: var(--d, 0s); }
.bar1 { top: 20.6%; --c: #34c759; --w: 42%; }
.bar2 { top: 29.9%; --c: #e6a209; --w: 56%; --d: -0.7s; }
.bar3 { top: 39.2%; --c: #ef4444; --w: 72%; --d: -1.4s; }
.bar4 { top: 48.1%; --c: #34c759; --w: 33%; --d: -2.1s; }
.bar5 { top: 57.2%; --c: #e6a209; --w: 64%; --d: -2.8s; }
/* Salariés du planning qui apparaissent / disparaissent dans les cases vides */
.ovp-chip {
  transform: translate(-50%, -50%); transform-origin: center;
  display: flex; align-items: center; justify-content: center;
  height: 2.5cqw; padding: 0 1.1cqw; border-radius: 3cqw;
  color: #fff; font-size: 1.35cqw; font-weight: 800; letter-spacing: .02em;
  white-space: nowrap; font-family: var(--font-sans, 'Inter', sans-serif);
  box-shadow: 0 0.3cqw 0.8cqw rgba(0,0,0,.18);
}
.cc-grn { background: #1f8a54; } .cc-blu { background: #2f7fd1; } .cc-vio { background: #7c5cd6; } .cc-amb { background: #e08a1e; }
.c1 { left: 37.8%; top: 38.7%; animation: ovchip 5s ease-in-out infinite; }
.c2 { left: 65.9%; top: 48.3%; animation: ovchip 5s ease-in-out infinite -0.9s; }
.c3 { left: 37.8%; top: 57.7%; animation: ovchip 5s ease-in-out infinite -1.8s; }
.c4 { left: 65.9%; top: 67.2%; animation: ovchip 5s ease-in-out infinite -2.5s; }
.c5 { left: 37.8%; top: 67.2%; animation: ovchip 5s ease-in-out infinite -3.3s; }
.c6 { left: 47.1%; top: 57.7%; animation: ovchip 5s ease-in-out infinite -4.1s; }
@keyframes ovbar { 0%, 100% { width: calc(var(--w) * 0.55); } 50% { width: var(--w); } }
@keyframes ovchip {
  0%, 8%   { opacity: 0; transform: translate(-50%, -50%) scale(.4); }
  18%, 60% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  74%, 100%{ opacity: 0; transform: translate(-50%, -50%) scale(.4); }
}
@media (prefers-reduced-motion: reduce) {
  .ovc-bar::after, .ovp-chip { animation: none; }
  .ovp-chip { opacity: 1; }
}

/* ============ Répliques live animées de l'app (hero) — obsolète, conservé inactif ============ */
.hui { display: flex; font-family: var(--font-sans, 'Inter', sans-serif); color: #16233a; text-align: left; }
.hui * { box-sizing: border-box; }
/* --- Sidebar corail --- */
.hui-side {
  width: 30%; min-width: 0; flex-shrink: 0;
  background: linear-gradient(180deg, #ee8862 0%, #db6440 100%);
  color: #fff; padding: 9px 8px; display: flex; flex-direction: column; gap: 9px;
}
.hui-logo { display: flex; align-items: center; gap: 6px; }
.hui-logo-badge { width: 20px; height: 20px; border-radius: 6px; background: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hui-logo-badge svg { width: 13px; height: 13px; }
.hui-logo-txt { font-weight: 800; font-size: 11px; line-height: 1; display: flex; flex-direction: column; gap: 2px; }
.hui-logo-txt small { font-weight: 500; font-size: 6.5px; opacity: .8; }
.hui-nav { display: flex; flex-direction: column; gap: 3px; margin-top: 2px; }
.hui-nav-item { display: flex; align-items: center; gap: 5px; font-size: 8px; font-weight: 600; padding: 4px 6px; border-radius: 6px; color: rgba(255,255,255,.95); white-space: nowrap; overflow: hidden; }
.hui-nav-item svg { width: 10px; height: 10px; flex-shrink: 0; }
.hui-nav-item.is-active { background: #fff; color: #c1531e; }
.hui-nav-sec { font-size: 6.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.62); padding: 3px 6px 1px; }
.hui-user { margin-top: auto; display: flex; align-items: center; gap: 6px; font-size: 8px; font-weight: 700; padding-top: 6px; border-top: 1px solid rgba(255,255,255,.18); }
.hui-user small { display: block; font-weight: 500; font-size: 6.5px; opacity: .82; }
.hui-user-av { width: 17px; height: 17px; border-radius: 50%; background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; font-size: 7px; flex-shrink: 0; }
/* --- Zone principale dashboard --- */
.hui-main { flex: 1; min-width: 0; padding: 10px 10px 0; overflow: hidden; }
.hui-eyebrow { font-size: 7px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #a99; margin-bottom: 7px; }
.hui-dash-row { display: flex; gap: 8px; align-items: stretch; }
.hui-card { background: #fff; border: 1px solid rgba(20,15,5,.06); border-radius: 10px; padding: 9px; box-shadow: 0 4px 12px rgba(20,15,5,.03); }
.hui-donut-card { width: 42%; display: flex; flex-direction: column; align-items: center; background: linear-gradient(160deg, #fdeee7, #fff); }
.hui-list-card { flex: 1; min-width: 0; }
.hui-card-t { font-size: 8px; font-weight: 700; color: #2b3244; margin-bottom: 8px; align-self: flex-start; }
/* Donut animé */
.hui-donut { position: relative; width: 74px; height: 74px; margin: 2px 0 8px; }
.hui-donut-ring { position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(#34c759 0 var(--s1,164deg), #3b82f6 var(--s1,164deg) var(--s2,246deg), #f5b301 var(--s2,246deg) var(--s3,312deg), #ef4444 var(--s3,312deg) 360deg);
  animation: huiDonut 6s ease-in-out infinite;
}
.hui-donut-ring::after { content: ""; position: absolute; inset: 22%; background: #fff; border-radius: 50%; }
.hui-donut-c { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.hui-donut-c b { font-size: 17px; font-weight: 800; line-height: 1; }
.hui-donut-c small { font-size: 6px; text-transform: uppercase; letter-spacing: .05em; color: #98908a; margin-top: 1px; }
.hui-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 3px 6px; width: 100%; }
.hui-legend span { display: flex; align-items: center; gap: 4px; font-size: 6.5px; font-weight: 600; color: #55606f; }
.hui-legend i { width: 6px; height: 6px; border-radius: 2px; flex-shrink: 0; }
.d-green { background: #34c759; } .d-blue { background: #3b82f6; } .d-amber { background: #f5b301; } .d-red { background: #ef4444; }
/* Lignes d'avancement */
.hui-prow { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 6px; margin-bottom: 7px; }
.hui-pname { font-size: 8px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hui-badge { font-size: 6px; font-weight: 700; padding: 2px 5px; border-radius: 20px; background: #eef0f2; color: #7a828e; white-space: nowrap; justify-self: end; }
.hui-badge.b-run { background: #fdeccd; color: #b7791f; }
.hui-bar { grid-column: 1 / -1; height: 5px; border-radius: 4px; background: #ece7df; overflow: hidden; }
.hui-bar i { display: block; height: 100%; border-radius: 4px; width: var(--w); animation: huiBar 4.5s ease-in-out infinite; }
.hui-bar i.g { background: #34c759; } .hui-bar i.a { background: #e6a209; } .hui-bar i.r { background: #ef4444; }
.hui-prow:nth-child(3) .hui-bar i { animation-delay: -.6s; }
.hui-prow:nth-child(4) .hui-bar i { animation-delay: -1.2s; }
.hui-prow:nth-child(5) .hui-bar i { animation-delay: -1.8s; }
.hui-prow:nth-child(6) .hui-bar i { animation-delay: -2.4s; }
/* --- Planning --- */
.hui--plan { flex-direction: column; padding: 9px 10px; }
.hui-plan-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 7px; }
.hui-plan-head b { font-size: 12px; font-weight: 800; }
.hui-tabs { display: flex; gap: 0; background: #efe9e1; border-radius: 7px; padding: 2px; }
.hui-tabs i { font-style: normal; font-size: 7px; font-weight: 700; color: #8a8277; padding: 3px 7px; border-radius: 5px; }
.hui-tabs i.on { background: #db6440; color: #fff; }
.hui-plan-filters { display: flex; gap: 5px; margin-bottom: 7px; }
.hui-plan-filters span { font-size: 6.5px; font-weight: 700; padding: 3px 6px; border-radius: 20px; }
.f-red { background: #fde2e0; color: #c0392b; } .f-amber { background: #fdf0cf; color: #a9791c; } .f-grey { background: #eef0f2; color: #7a828e; }
.hui-grid { display: flex; flex-direction: column; gap: 3px; }
.hui-grow { display: grid; grid-template-columns: 1.5fr repeat(5, 1fr); gap: 3px; align-items: center; }
.hui-ghead span { font-size: 6.5px; font-weight: 700; color: #98908a; text-transform: uppercase; text-align: center; }
.hui-ghead span:first-child { text-align: left; }
.hui-ghead span.on { color: #db6440; }
.hui-gname { font-size: 7.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hui-cell { height: 15px; border-radius: 5px; background: #f4efe8; display: flex; align-items: center; justify-content: center; }
.hui-chip-wrap { }
.chip { font-style: normal; display: flex; align-items: center; justify-content: center; width: 88%; height: 12px; border-radius: 20px; color: #fff; font-size: 6px; font-weight: 800; letter-spacing: .02em; }
.c-grn { background: #1f8a54; } .c-blu { background: #2f7fd1; } .c-vio { background: #7c5cd6; } .c-amb { background: #e08a1e; }
.chip.a1 { animation: huiChip 5s ease-in-out infinite; }
.chip.a2 { animation: huiChip 5s ease-in-out infinite -1.25s; }
.chip.a3 { animation: huiChip 5s ease-in-out infinite -2.5s; }
.chip.a4 { animation: huiChip 5s ease-in-out infinite -3.75s; }
/* --- keyframes --- */
@keyframes huiBar { 0%, 100% { width: calc(var(--w) * 0.5); } 50% { width: var(--w); } }
@keyframes huiDonut {
  0%, 100% { --s1: 164deg; --s2: 246deg; --s3: 312deg; }
  50%      { --s1: 132deg; --s2: 232deg; --s3: 320deg; }
}
@keyframes huiChip {
  0%, 12% { opacity: 1; transform: scale(1); }
  38%, 50% { opacity: 0; transform: scale(.55); }
  76%, 100% { opacity: 1; transform: scale(1); }
}
@property --s1 { syntax: '<angle>'; inherits: false; initial-value: 164deg; }
@property --s2 { syntax: '<angle>'; inherits: false; initial-value: 246deg; }
@property --s3 { syntax: '<angle>'; inherits: false; initial-value: 312deg; }
@media (prefers-reduced-motion: reduce) {
  .hui-bar i, .hui-donut-ring, .chip { animation: none; }
}

/* Carrousel de témoignages photo (effet 3D, piloté par le scroll) — remplace l'ancien bandeau texte défilant.
   Classes préfixées testi-* pour ne jamais toucher au composant .testimonial-card existant (avis.html/index.html). */
.testimonial-carousel-section {
  position: relative;
  z-index: 2;
  padding: 6px 0 60px;
  /* fond qui glisse du blanc vers la couleur de la vidéo (#f0ece4) en bas :
     aucune coupure nette avant la section vidéo qui suit */
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 55%, #f0ece4 100%);
}
.testimonial-carousel {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto;
}
.testimonial-stage {
  position: relative;
  flex: 1;
  height: 440px;
  perspective: 1400px;
}
.testi-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 260px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 44px rgba(20,15,5,0.14);
  will-change: transform, opacity;
}
.testi-photo { aspect-ratio: 4 / 5; background: var(--bg-card-2); }
.testi-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.testi-avatar {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background: linear-gradient(150deg, #ee8862 0%, #c1531e 100%);
  color: #fff;
}
.testi-avatar b { font-size: 46px; font-weight: 800; letter-spacing: 0.02em; line-height: 1; }
.testi-avatar svg { width: 30px; height: 30px; opacity: 0.85; }
.testi-quote {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--white);
  font-style: italic;
  margin: 16px 18px 8px;
}
.testi-author {
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
  margin: 0 18px 18px;
}
.testi-author span { font-weight: 400; color: var(--gray); }

.testi-ctrl-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border-card);
  background: var(--bg-card);
  color: var(--white);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s, color 0.2s;
  flex-shrink: 0;
  z-index: 20;
}
.testi-ctrl-btn svg { width: 18px; height: 18px; }
.testi-ctrl-btn:hover { border-color: var(--orange); color: var(--orange); }

.testi-dots { display: flex; gap: 8px; align-items: center; justify-content: center; margin-top: 20px; }
.testi-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--border-card); border: none; cursor: pointer;
  transition: all 0.2s; padding: 0;
}
.testi-dot.active { background: var(--orange); width: 20px; border-radius: 4px; }

@media (max-width: 900px) {
  .testimonial-stage { height: 400px; }
  .testi-ctrl-btn { display: none; }
}

@media (max-width: 900px) {
  .hero-modern { padding-top: 100px; }
  .hero-modern-grid { grid-template-columns: 1fr; gap: 16px; padding-bottom: 28px; }
  .hero-modern-text .hero-sub, .hero-modern-text p { text-align: left; }
  .hero-modern-text .hero-ctas { justify-content: flex-start; }
  .hero-mini-trust { justify-content: flex-start; }
  .hero-modern-visual { height: 280px; margin-top: 16px; }
  .hero-float-badge.fb3 { display: none; }
  .hero-float-badge { font-size: 11px; padding: 8px 12px; }
  .hero-float-badge.fb1 { left: 0; }
  .hero-float-badge.fb2 { left: 0; }
}

/* =============================================
   TOOLS CENTRALIZATION — flip cards avant/après
   ============================================= */
@keyframes hintTap {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(3px); }
}
.tools-flip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.tool-flip {
  position: relative;
  height: 132px;
  perspective: 900px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  animation: toolBob 6s ease-in-out infinite;
}
.tool-flip:nth-child(2n) { animation-delay: -1.5s; }
.tool-flip:nth-child(3n) { animation-delay: -3s; }
.tool-flip:nth-child(5n) { animation-delay: -4.5s; }
@keyframes toolBob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
.tool-flip-inner {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transition: transform 0.65s cubic-bezier(0.22,1,0.36,1);
}
.tool-flip:hover .tool-flip-inner,
.tool-flip:focus-visible .tool-flip-inner,
.tool-flip.flipped .tool-flip-inner { transform: rotateY(180deg); }
.tool-flip-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 16px;
  padding: 12px;
  text-align: center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.tool-flip-front {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  box-shadow: 0 12px 28px rgba(20,15,5,0.07);
}
.tool-flip-front svg { width: 30px; height: 30px; }
.tool-flip-front strong { font-size: 13.5px; color: var(--white); }
.tool-flip-front small { font-size: 11.5px; color: var(--gray); line-height: 1.3; }
.tool-flip-back {
  background: linear-gradient(150deg, #d4682e 0%, var(--orange) 55%, #93400f 100%);
  transform: rotateY(180deg);
  box-shadow: 0 14px 32px rgba(193,83,30,0.32);
  gap: 7px;
}
.tool-flip-back svg { width: 16px; height: 16px; color: #fff; }
.tool-flip-back strong { font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.8); }
.tool-flip-back small { font-size: 12px; line-height: 1.35; font-weight: 600; color: #fff; }

/* ---- Category groups (extended tool wall) ---- */
.tools-cat-wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px 24px;
  margin-top: 32px;
  align-items: start;
}
.tools-category {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 20px 18px 22px;
  box-shadow: 0 10px 26px rgba(20,15,5,0.05);
}
.tools-cat-head {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}
.tools-cat-head span:last-child {
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--white);
}
.tools-flip-grid--sub {
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 0;
}
.tools-flip-grid--sub .tool-flip { height: 98px; }
.tools-flip-grid--sub .tool-flip-face { padding: 8px; gap: 4px; border-radius: 13px; }
.tools-flip-grid--sub .tool-flip-front svg { width: 21px; height: 21px; }
.tools-flip-grid--sub .tool-flip-front strong { font-size: 11px; }
.tools-flip-grid--sub .tool-flip-front small { font-size: 9px; line-height: 1.2; }
.tools-flip-grid--sub .tool-flip-back svg { width: 13px; height: 13px; }
.tools-flip-grid--sub .tool-flip-back strong { font-size: 7.5px; }
.tools-flip-grid--sub .tool-flip-back small { font-size: 9.5px; line-height: 1.25; }

.tools-more-line {
  text-align: center;
  color: var(--gray);
  font-size: 13px;
  line-height: 1.7;
  max-width: 620px;
  margin: 24px auto 0;
}
.tools-more-line strong { color: var(--gray-light); font-weight: 700; }

@media (max-width: 900px) {
  .tools-cat-wrap { grid-template-columns: 1fr; }
}

/* --- Centralisation : vidéo « fusion des outils » plein écran, pilotée au scroll ---
   Épinglage 100 % CSS via position:sticky (calage natif exact, recalé à chaque reflow).
   Le conteneur haut donne la distance de scrub ; le sticky reste plein écran le temps
   du déroulé, puis se relâche. La distance de scrub = hauteur du conteneur − 100vh. */
.tools-fusion-section { position: relative; }
.tools-fusion-scroll {
  position: relative;
  width: 100%;
  height: 215vh;              /* distance de scrub ≈ 115vh → déroulé ~x1,3 (base 150vh) */
}
.tools-fusion-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background: #f0ece4;
}
.tools-scrolly-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;          /* remplit tout l'écran */
  display: block;
  z-index: 1;
  pointer-events: none;
}
.tools-fusion-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(72px, 11vh, 150px) 24px 0;
  pointer-events: none;
  /* voile crème en haut pour la lisibilité du titre par-dessus la vidéo */
  background: linear-gradient(to bottom,
    #f0ece4 0%, rgba(240,236,228,0.9) 26%, rgba(240,236,228,0) 55%);
}
.tools-fusion-overlay .eyebrow { margin-bottom: 12px; }
.tools-fusion-overlay h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 14px;
}
.tools-fusion-overlay p {
  color: var(--gray-light);
  font-size: 15px;
  max-width: 560px;
  line-height: 1.65;
  margin: 0 auto;
}
.tools-fusion-outro { padding: 40px 0 80px; }

@media (max-width: 700px) {
  .tools-fusion-scroll { height: 185vh; }   /* scrub plus court sur mobile (~x1,3) */
}
@media (prefers-reduced-motion: reduce) {
  /* Pas d'épinglage ni de scrub : titre puis vidéo figée sur sa 1re image (grille) */
  .tools-fusion-scroll { height: auto; }
  .tools-fusion-sticky { position: static; height: auto; overflow: visible; }
  .tools-scrolly-video { position: relative; height: auto; aspect-ratio: 16 / 9; object-fit: contain; }
  .tools-fusion-overlay { position: relative; background: none; padding: 40px 24px 20px; }
}

.tools-flow-down {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin: 22px 0 20px;
}
.tools-flow-down svg {
  width: 22px; height: 22px;
  color: var(--orange);
  opacity: 0;
  margin: -5px 0;
  animation: chevronDown 1.8s ease-in-out infinite;
}
.tools-flow-down svg:nth-child(2) { animation-delay: 0.2s; }
.tools-flow-down svg:nth-child(3) { animation-delay: 0.4s; }
@keyframes chevronDown {
  0%   { opacity: 0; transform: translateY(-8px); }
  50%  { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(8px); }
}

.tools-hub {
  position: relative;
  background: var(--bg-card);
  border: 2px solid var(--orange);
  border-radius: 20px;
  padding: 26px 24px;
  text-align: center;
  box-shadow: 0 24px 56px rgba(193,83,30,0.18);
  animation: badgeFloat 6s ease-in-out infinite;
  max-width: 430px;
  margin: 0 auto;
}
.tools-hub::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  pointer-events: none;
  z-index: -1;
  animation: recoPulse 2.6s cubic-bezier(0.22,1,0.36,1) infinite;
}
.tools-hub-title { font-size: 24px; font-weight: 800; margin-bottom: 8px; letter-spacing: -0.01em; }
.tools-hub-sub { font-size: 13px; color: var(--gray); }

@media (prefers-reduced-motion: reduce) {
  .tool-flip, .tools-flow-down svg, .tools-hub, .tools-hub::after { animation: none; }
  .tool-flip-inner { transition: none; }
}

/* =============================================
   CTA BANNER (bandeau orange plein)
   ============================================= */
.cta-banner {
  position: relative;
  border-radius: 22px;
  background: linear-gradient(135deg, #d4682e 0%, var(--orange) 45%, #8f3810 100%);
  padding: 44px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  overflow: hidden;
  box-shadow: 0 28px 60px rgba(193,83,30,0.32);
}
.cta-banner::before {
  content: '';
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  top: -220px; right: -60px;
  background: radial-gradient(circle, rgba(255,255,255,0.22), transparent 65%);
  animation: bannerGlow 9s ease-in-out infinite;
  pointer-events: none;
}
@keyframes bannerGlow {
  0%, 100% { transform: translate(0,0); }
  50%      { transform: translate(-70px,50px); }
}
.cta-banner h3 { font-size: clamp(20px, 2.6vw, 30px); font-weight: 800; color: #fff; margin-bottom: 8px; line-height: 1.2; }
.cta-banner p { font-size: 14.5px; color: rgba(255,255,255,0.92); max-width: 520px; }
.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  background: #fff;
  border-radius: var(--radius-pill);
  color: #9c4315;
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  z-index: 1;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,0.22); }

/* =============================================
   BATIPILOT SHOWCASE (preuve par l'exemple)
   ============================================= */
.bp-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}
.bp-points { display: flex; flex-direction: column; gap: 10px; margin: 22px 0 28px; }
.bp-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--gray-light);
  line-height: 1.5;
}
.bp-points li svg { width: 17px; height: 17px; color: var(--lime); flex-shrink: 0; margin-top: 2px; }
.bp-mock-wrap { position: relative; }
.bp-mock {
  background: #0f1b2d;
  border-radius: 18px;
  padding: 14px;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  box-shadow: 0 34px 70px rgba(15,27,45,0.35);
  transform: perspective(1200px) rotateY(7deg) rotateX(3deg) rotate(1.5deg);
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1);
  animation: mockFloat 8s ease-in-out infinite;
}
.bp-mock-wrap:hover .bp-mock { transform: perspective(1200px) rotateY(2deg) rotateX(1deg) rotate(0deg); }
.bp-side {
  background: #16263c;
  border-radius: 10px;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bp-side-logo { height: 12px; border-radius: 4px; background: var(--orange-light); width: 70%; margin-bottom: 6px; }
.bp-side-item { height: 8px; border-radius: 4px; background: rgba(255,255,255,0.13); }
.bp-side-item.on { background: var(--orange-light); }
.bp-main { display: flex; flex-direction: column; gap: 9px; min-height: 190px; }
.bp-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.bp-kpi { background: #16263c; border-radius: 9px; padding: 9px 10px; }
.bp-kpi b { display: block; color: #fff; font-size: 14px; }
.bp-kpi span { font-size: 8px; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(255,255,255,0.5); }
.bp-chart {
  flex: 1;
  background: #16263c;
  border-radius: 9px;
  padding: 12px;
  display: flex;
  align-items: flex-end;
  gap: 7px;
}
.bp-chart span { display: block; flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--orange-light), #b8511d); }
.bp-badge {
  position: absolute;
  top: -16px; right: -10px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  padding: 10px 15px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--white);
  box-shadow: 0 16px 36px rgba(20,15,5,0.15);
  animation: badgeFloat 6s ease-in-out infinite;
  animation-delay: -2s;
  z-index: 2;
}
.bp-badge svg { width: 16px; height: 16px; color: var(--orange); }

.trust-avatars { display: flex; align-items: center; }
.trust-avatars span {
  width: 27px; height: 27px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 10.5px;
  font-weight: 700;
  color: #fff;
  border: 2px solid var(--bg);
  margin-left: -8px;
}
.trust-avatars span:first-child { margin-left: 0; }

@media (prefers-reduced-motion: reduce) {
  .cta-banner::before, .bp-mock, .bp-badge, .flip-hint svg { animation: none; }
}

@media (max-width: 900px) {
  .tools-flip-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-banner { flex-direction: column; text-align: center; padding: 36px 24px; }
  .bp-showcase { grid-template-columns: 1fr; gap: 32px; }
  .bp-badge { right: 0; }
}

/* =============================================
   SECTION BACKGROUND TEXTURES
   ============================================= */
.bg-dots {
  background-image: radial-gradient(circle, rgba(20,15,5,0.09) 1px, transparent 1px);
  background-size: 22px 22px;
}
.bg-grid-lines {
  background-color: rgba(10,10,10,0.015);
  background-image:
    linear-gradient(rgba(20,15,5,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20,15,5,0.05) 1px, transparent 1px);
  background-size: 34px 34px;
  background-position: center top;
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(to bottom, transparent, black 8%, black 92%, transparent);
}
.bg-glow-soft { position: relative; overflow: hidden; }
.bg-glow-soft::before,
.bg-glow-soft::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(10px);
}
.bg-glow-soft::before {
  top: -25%; right: -8%;
  width: 55%; height: 130%;
  background: radial-gradient(circle, rgba(193,83,30,0.07) 0%, transparent 65%);
}
.bg-glow-soft::after {
  bottom: -25%; left: -8%;
  width: 46%; height: 110%;
  background: radial-gradient(circle, rgba(76,111,24,0.06) 0%, transparent 65%);
}
.bg-glow-soft > .container { position: relative; z-index: 1; }

.bg-soft-blobs { position: relative; overflow: hidden; }
.bg-soft-blobs::before,
.bg-soft-blobs::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(60px);
  animation: softBlobDrift 22s ease-in-out infinite;
}
.bg-soft-blobs::before {
  top: -15%; left: -10%;
  width: 42%; height: 65%;
  background: radial-gradient(circle, rgba(193,83,30,0.10) 0%, transparent 70%);
}
.bg-soft-blobs::after {
  bottom: -18%; right: -8%;
  width: 48%; height: 75%;
  background: radial-gradient(circle, rgba(76,111,24,0.09) 0%, transparent 70%);
  animation-delay: -11s;
}
.bg-soft-blobs > .container { position: relative; z-index: 1; }
@keyframes softBlobDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(3%, 4%) scale(1.08); }
}
@media (prefers-reduced-motion: reduce) {
  .bg-soft-blobs::before, .bg-soft-blobs::after { animation: none; }
}

.bg-diagonal-lines {
  background-image: repeating-linear-gradient(135deg, rgba(20,15,5,0.045) 0px, rgba(20,15,5,0.045) 1px, transparent 1px, transparent 16px);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(to bottom, transparent, black 8%, black 92%, transparent);
}

@media (max-width: 900px) {
  .tools-flow { grid-template-columns: 1fr; gap: 20px; }
  .tools-flow-arrow { flex-direction: row; justify-content: center; transform: rotate(90deg); padding: 4px 0; }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
}
