/* ==========================================================================
   AGENCE AURELIUS - STYLESHEET 2026 (UPDATED)
   Palette: Lavender Light Theme
   ========================================================================== */

/* 1. Reset & Base Config */

:root {
  /* Color Tokens */
  --color-primary: #1c3fec;      /* Electric Royal Blue */
  --color-secondary: #5508c0;    /* Deep Purple */
  --color-accent: #0872b6;       /* Ocean Cerulean Blue */
  --color-bg: #f8f7ff;           /* Light Lavender */
  --color-surface: #ffffff;      /* Pure White */
  --color-text: #1e1b4b;         /* Deep Night Blue */
  --color-text-muted: #5c5980;   /* Muted Indigo */
  --color-border: #e0dbf5;       /* Fine Border Lavender */
  
  /* Priority Colors */
  --color-hot: #ef4444;          /* Red */
  --color-warm: #f59e0b;         /* Orange */
  --color-cold: #3b82f6;         /* Blue */
  
  /* Fonts */
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-title: 'Outfit', sans-serif;
  --font-serif: 'Lora', Georgia, serif;
  
  /* Shadows & Radius */
  --shadow-sm: 0 7px 8px rgba(30, 27, 75, 0.07);
  --shadow-md: 0 9px 15px rgba(30, 27, 75, 0.10);
  --shadow-lg: 0 15px 20px rgba(79, 70, 229, 0.25);
  --radius-sm: 5px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* 2. Layout & Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 3. Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(248, 247, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: all 0.3s ease;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav__brand {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.nav__brand img {
  height: 38px;
  width: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav__links a:hover {
  color: var(--color-primary);
}

.nav__cta {
  background-color: var(--color-primary);
  color: var(--color-surface) !important;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease !important;
}

.nav__cta:hover {
  background-color: var(--color-secondary);
  transform: translateY(-1px);
}

.nav__cta--whatsapp {
  background-color: #25d366 !important;
  color: #ffffff !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav__cta--whatsapp:hover {
  background-color: #128c7e !important;
  transform: translateY(-1px);
}

.whatsapp-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* 4. Hero Section */
.hero {
  position: relative;
  padding: 180px 0 100px;
  text-align: center;
  background: radial-gradient(circle at top, rgba(124, 58, 237, 0.05) 0%, transparent 60%);
  overflow: hidden;
}

.hero__video-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(248, 247, 255, 0.85); /* Filtre blanc/lavande pour assurer la lisibilité */
  z-index: 1;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(var(--color-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-border) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center top;
  opacity: 0.25;
  mask-image: radial-gradient(circle at center, black, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 850px;
  margin: 0 auto;
}

.hero__badge {
  display: inline-block;
  padding: 6px 16px;
  background-color: rgba(79, 70, 229, 0.08);
  color: var(--color-primary);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  border: 1px solid rgba(79, 70, 229, 0.15);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero__title {
  font-family: var(--font-title);
  font-size: 52px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--color-text);
  margin-bottom: 24px;
}

.hero__title span {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 50%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__subtitle {
  font-family: var(--font-serif);
  font-size: 19px;
  color: var(--color-text-muted);
  max-width: 750px;
  margin: 0 auto 40px;
  line-height: 1.75;
  font-weight: 400;
}

.hero__ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn--primary {
  background-color: var(--color-primary);
  color: var(--color-surface);
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.25);
}

.btn--primary:hover {
  background-color: var(--color-secondary);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.3);
  transform: translateY(-2px);
}

.btn--secondary {
  background-color: var(--color-surface);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.btn--secondary:hover {
  background-color: var(--color-bg);
  transform: translateY(-2px);
}

/* 5. Trust / Stack Logos Infinite Marquee */
.trust {
  padding: 60px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background-color: rgba(255, 255, 255, 0.5);
  text-align: center;
  overflow: hidden;
}

.trust__label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: 30px;
  font-weight: 600;
}

.marquee-container {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

/* Left/Right Fade out */
.marquee-container::before,
.marquee-container::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.marquee-container::before {
  left: 0;
  background: linear-gradient(to right, var(--color-bg), transparent);
}

.marquee-container::after {
  right: 0;
  background: linear-gradient(to left, var(--color-bg), transparent);
}

.marquee-track {
  display: inline-flex;
  gap: 50px;
  animation: marquee-scroll 35s linear infinite;
  width: max-content;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--color-text);
  opacity: 0.6;
  filter: grayscale(100%);
  transition: all 0.3s ease;
}

.marquee-item img {
  height: 24px;
  width: auto;
}

.marquee-item:hover {
  opacity: 1;
  filter: grayscale(0%);
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* 6. Case Studies / Projects (Cydonia) */
.cases {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-title);
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.cases__carousel-container {
  position: relative;
  margin-top: 40px;
}

.cases__controls {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-bottom: 24px;
}

.carousel-btn {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
  outline: none;
}

.carousel-btn:hover {
  background-color: var(--color-primary);
  color: var(--color-surface);
  border-color: var(--color-primary);
}

.cases__carousel {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 10px 4px 30px;
  scrollbar-width: none; /* Hide scrollbar Firefox */
}

.cases__carousel::-webkit-scrollbar {
  display: none; /* Hide scrollbar Chrome/Safari/Opera */
}

.case-card {
  flex: 0 0 calc(50% - 15px); /* 2 cards on desktop */
  scroll-snap-align: start;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.case-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}

.case-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.case-card__client {
  display: flex;
  align-items: center;
  gap: 12px;
}

.case-card__logo-placeholder {
  width: 40px;
  height: 40px;
  background-color: rgba(79, 70, 229, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--color-primary);
  font-family: var(--font-title);
  border: 1px solid rgba(79, 70, 229, 0.15);
}

.case-card__name {
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
}

.case-card__rating {
  color: #fbbf24;
  font-size: 14px;
}

.case-card__body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.case-card__title {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 12px;
  line-height: 1.3;
}

.case-card__desc {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 24px;
  line-height: 1.5;
}

.case-card__metric-box {
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 24px;
  text-align: center;
}

.case-card__metric-val {
  font-family: var(--font-title);
  font-size: 40px;
  font-weight: 800;
  background: linear-gradient(120deg, var(--color-primary), var(--color-secondary), var(--color-accent), var(--color-primary));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 4s linear infinite;
  margin-bottom: 4px;
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}

.case-card__metric-lbl {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.case-card__gains-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.case-card__gains-list li {
  font-size: 13px;
  color: var(--color-text-muted);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}

.case-card__gains-list li::before {
  content: "→";
  color: var(--color-accent);
  font-weight: 700;
}

.case-card__stack {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
  border-top: 1px solid var(--color-border);
  padding-top: 20px;
  align-items: center;
}

.case-card__logo-img {
  height: 20px;
  width: auto;
  opacity: 0.85;
  transition: all 0.2s ease;
}

.case-card:hover .case-card__logo-img {
  opacity: 1;
}

a.case-card__logo-placeholder {
  display: flex;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

a.case-card__logo-placeholder:hover {
  transform: scale(1.08);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}


/* 7. Methodology Block (CatchIntent Inspired) */
.methodology {
  padding: 100px 0;
}

.method__steps {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 80px;
  margin-top: 60px;
}

/* Central vertical timeline line (Base dashed) */
.method__steps::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 0;
  border-left: 2px dashed var(--color-border);
  transform: translateX(-50%);
  z-index: 1;
}

/* Active progress line (Colored solid) */
.method__progress-bar {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-primary) 0%, var(--color-secondary) 50%, var(--color-accent) 100%);
  transform: translateX(-50%);
  z-index: 2;
  height: 0%;
  transition: height 0.1s ease-out;
}

.method-step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 3;
}

/* Timeline dot node */
.method-step::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 16px;
  background-color: var(--color-surface);
  border: 3px solid var(--color-border);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

/* Active states for dots with pulsing glow */
@keyframes active-pulse-primary {
  0% { box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(79, 70, 229, 0); }
  100% { box-shadow: 0 0 0 0 rgba(79, 70, 229, 0); }
}

@keyframes active-pulse-secondary {
  0% { box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(124, 58, 237, 0); }
  100% { box-shadow: 0 0 0 0 rgba(124, 58, 237, 0); }
}

@keyframes active-pulse-accent {
  0% { box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(6, 182, 212, 0); }
  100% { box-shadow: 0 0 0 0 rgba(6, 182, 212, 0); }
}

.method-step.active::after {
  transform: translate(-50%, -50%) scale(1.2);
  border-width: 4px;
}

.method-step.active:nth-child(2)::after, /* Étape 1 */
.method-step.active:nth-child(5)::after { /* Étape 4 */
  border-color: var(--color-primary);
  animation: active-pulse-primary 2s infinite;
}

.method-step.active:nth-child(3)::after, /* Étape 2 */
.method-step.active:nth-child(6)::after { /* Étape 5 */
  border-color: var(--color-secondary);
  animation: active-pulse-secondary 2s infinite;
}

.method-step.active:nth-child(4)::after { /* Étape 3 */
  border-color: var(--color-accent);
  animation: active-pulse-accent 2s infinite;
}

.method-step:nth-child(even) {
  direction: rtl;
}

.method-step:nth-child(even) .method-step__content,
.method-step:nth-child(even) .method-step__visual {
  direction: ltr; /* Reset text direction */
}

.method-step__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.method-step__num {
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.method-step__title {
  font-family: var(--font-title);
  font-size: 32px;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.25;
}

.method-step__desc {
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* CSS-Based Visual Mockups for Methodology */
.method-step__visual {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-md);
  height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

/* Visual 1: Mindmap / Friction Chart */
.mindmap-mockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.mindmap__center {
  padding: 10px 20px;
  background-color: var(--color-primary);
  color: var(--color-surface);
  font-weight: 600;
  border-radius: var(--radius-sm);
  font-size: 14px;
  box-shadow: var(--shadow-sm);
  z-index: 2;
}

.mindmap__nodes {
  display: flex;
  justify-content: space-around;
  width: 100%;
  position: relative;
}

.mindmap__nodes::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 20%;
  right: 20%;
  height: 2px;
  background-color: var(--color-border);
  z-index: 1;
}

.mindmap__node {
  padding: 8px 14px;
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  z-index: 2;
}

.mindmap__node--alert {
  border-color: #f87171;
  background-color: #fef2f2;
  color: #ef4444;
  font-weight: 600;
  animation: pulse-border 2s infinite;
}

@keyframes pulse-border {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
  70% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* Visual 2: Roadmap Cards List (Find. Score style) */
.roadmap-mockup {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.roadmap__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 13px;
}

.roadmap__item-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.roadmap__badge {
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.roadmap__badge--hot { background-color: #fee2e2; color: var(--color-hot); }
.roadmap__badge--warm { background-color: #fef3c7; color: var(--color-warm); }
.roadmap__badge--cold { background-color: #dbeafe; color: var(--color-cold); }

/* Visual 3: Action Window + Chat Alert */
.action-mockup {
  width: 100%;
}

/* Visual 4: Training Layout */
.training-mockup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.training__avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  border: 2px solid var(--color-primary);
}

.training__screen {
  flex-grow: 1;
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 16px;
  font-size: 13px;
  text-align: left;
}

.training__bar {
  height: 6px;
  background-color: var(--color-border);
  border-radius: 3px;
  margin-top: 8px;
  overflow: hidden;
}

.training__progress {
  width: 75%;
  height: 100%;
  background-color: var(--color-accent);
}

/* Visual 5: Maintenance Alert Grid */
.maintenance-mockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.alert-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: rgba(6, 182, 212, 0.1);
  border: 2px solid var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--color-accent);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.alert-text {
  font-weight: 700;
  font-size: 14px;
  color: var(--color-text);
  background-color: var(--color-bg);
  padding: 4px 16px;
  border-radius: 20px;
  border: 1px solid var(--color-border);
}


/* 8. Testimonials Section (Astroship Style) */
.testimonials {
  padding: 100px 0;
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.testimonial-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 30px;
  background-color: var(--color-surface);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
}

.testimonial__quote {
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.65;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--color-primary);
  font-family: var(--font-title);
  border: 1px solid var(--color-border);
}

.testimonial__name {
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
}

.testimonial__meta {
  font-size: 12px;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.testimonial__rating {
  color: #fbbf24; /* Star gold */
  font-size: 14px;
  letter-spacing: -2px;
}


/* 9. Upstart Pricing Section (Highlighted Hero Card) */
.pricing {
  padding: 100px 0;
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
  margin-top: 50px;
}

.pricing-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 40px;
  background-color: var(--color-surface);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Feature Plan Highlighted (Upstart style) */
.pricing-card--hero {
  border: 2px solid var(--color-primary);
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
  z-index: 2;
}

.pricing-card--hero::before {
  content: "Recommandé";
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-surface);
  padding: 4px 16px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 50px;
  letter-spacing: 0.05em;
}

.pricing__name {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}

.pricing__desc {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 24px;
  min-height: 44px;
}

.pricing__price-box {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 28px;
}

.pricing__value {
  font-family: var(--font-title);
  font-size: 38px;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1;
}

.pricing__currency {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text-muted);
}

.pricing__period {
  font-size: 14px;
  color: var(--color-text-muted);
}

.pricing-card .btn {
  width: 100%;
  margin-bottom: 32px;
}

.pricing__features {
  border-top: 1px solid var(--color-border);
  padding-top: 28px;
  flex-grow: 1;
}

.pricing__features h5 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.pricing__features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing__features-list li {
  font-size: 14px;
  color: var(--color-text-muted);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.4;
}

.pricing__features-list li::before {
  content: "✓";
  color: var(--color-primary);
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-card--hero .pricing__features-list li::before {
  color: var(--color-accent);
}

/* Spanned Cards for other forfaits */
.pricing-card--spanned {
  grid-column: span 3;
}

.pricing-card--spanned .pricing__split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.pricing__split-box {
  display: flex;
  flex-direction: column;
}

.pricing__split-box--premium {
  position: relative;
  background: radial-gradient(circle at top right, rgba(124, 58, 237, 0.04) 0%, transparent 85%);
  border: 1px dashed var(--color-secondary);
  border-radius: var(--radius-md);
  padding: 32px;
  margin: -32px;
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.03);
}

.pricing__badge-premium {
  position: absolute;
  top: 16px;
  right: 16px;
  background-color: var(--color-secondary);
  color: var(--color-surface);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
}

@media (max-width: 991px) {
  .pricing__split-box--premium {
    margin: 0 0 20px 0;
    padding: 24px;
    border-style: solid;
  }
}


/* 10. FAQ Section */
.faq {
  padding: 100px 0;
}

.faq__list {
  max-width: 800px;
  margin: 50px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

details.faq__item {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 20px;
  transition: all 0.3s ease;
  cursor: pointer;
}

details.faq__item[open] {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

summary.faq__question {
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  outline: none;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

summary.faq__question::-webkit-details-marker {
  display: none;
}

summary.faq__question::after {
  content: "+";
  font-size: 20px;
  font-weight: 300;
  color: var(--color-primary);
  transition: transform 0.2s ease;
}

details.faq__item[open] summary.faq__question::after {
  transform: rotate(45deg);
}

.faq__answer {
  margin-top: 12px;
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
  border-top: 1px solid var(--color-border);
  padding-top: 12px;
}


/* 11. Contact / CTA Booking Section */
.cta-block {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: var(--color-surface);
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin-bottom: 80px;
}

.cta-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.5;
  pointer-events: none;
}

.cta-block__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.cta-block__left h2 {
  font-family: var(--font-title);
  font-size: 42px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

.cta-block__left p {
  font-size: 17px;
  opacity: 0.9;
  margin-bottom: 30px;
}

.cta-block__portraits {
  display: flex;
  gap: 20px;
}

.portrait-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.portrait__img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-surface);
}

.portrait__name {
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 700;
}

.portrait__role {
  font-size: 12px;
  opacity: 0.8;
}

.cta-block__right {
  background-color: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 40px;
  color: var(--color-text);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.cta-block__right h3 {
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.cta-block__right p {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 30px;
}

.cta-block__right .btn {
  width: 100%;
}

.cta-block__reassurance {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: 12px;
}


/* 12. Footer with AI Chat Widget */
.footer {
  background-color: #7870ed;
  color: #ffffff;
  padding: 80px 0 40px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 50px;
  margin-bottom: 40px;
}

.footer__brand-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer__logo {
  height: 150px;
  width: auto;
  align-self: flex-start;
}

.footer__tagline {
  font-size: 14px;
  opacity: 0.7;
  line-height: 1.5;
}

/* Footer AI Chat widget */
.footer-ai {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 24px;
}

.footer-ai__title {
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-ai__title::before {
  content: "";
  width: 8px;
  height: 8px;
  background-color: #22c55e; /* green dot */
  border-radius: 50%;
  display: inline-block;
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

.footer-ai__desc {
  font-size: 12px;
  opacity: 0.6;
  margin-bottom: 16px;
}

.footer-ai__suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.footer-ai__suggest-btn {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-surface);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 11px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.footer-ai__suggest-btn:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
}

.footer-ai__chatbox {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-ai__input {
  flex-grow: 1;
  background-color: rgba(0,0,0,0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  color: var(--color-surface);
  padding: 10px 14px;
  font-size: 13px;
  outline: none;
}

.footer-ai__input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.footer-ai__input:focus {
  border-color: var(--color-primary);
}

.footer-ai__send-btn {
  background-color: var(--color-primary);
  color: var(--color-surface);
  border: none;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
}

.footer-ai__send-btn:hover {
  background-color: var(--color-secondary);
}

.footer-ai__response-container {
  display: none;
  background-color: rgba(0,0,0,0.2);
  border-radius: var(--radius-sm);
  padding: 14px;
  text-align: left;
  border-left: 3px solid var(--color-primary);
}

.footer-ai__response-text {
  font-size: 13px;
  line-height: 1.5;
  opacity: 0.9;
}

/* Legal & Bottom */
.footer__nav-links {
  display: flex;
  gap: 30px;
  margin-top: 16px;
}

.footer__nav-links a {
  color: var(--color-surface);
  opacity: 0.7;
  text-decoration: none;
  font-size: 14px;
  transition: opacity 0.2s ease;
}

.footer__nav-links a:hover {
  opacity: 1;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  opacity: 0.6;
}

.footer__sitemap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
  border-top: none;
  padding-top: 40px;
}

.footer__sitemap-col h4 {
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 15px;
  font-family: var(--font-title);
}

.footer__sitemap-col a {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer__sitemap-col a:hover {
  color: #ffffff;
  text-decoration: underline;
  padding-left: 2px;
}

@media (max-width: 767px) {
  .footer__sitemap-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 479px) {
  .footer__sitemap-grid {
    grid-template-columns: 1fr;
  }
}


/* 13. Dynamic CSS Animations */
.animate-fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }


/* Responsive design */
@media (max-width: 991px) {
  .hero__title {
    font-size: 40px;
  }
  .case-card {
    flex: 0 0 100%;
    padding: 30px;
  }
  .method__steps::before {
    left: 20px;
    transform: none;
  }
  .method__progress-bar {
    left: 20px;
    transform: none;
  }
  .method-step {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-left: 50px;
  }
  .method-step::after {
    left: 20px;
    top: 30px;
    transform: translate(-50%, 0);
  }
  .method-step:nth-child(even) {
    direction: ltr;
  }
  .testimonials__grid,
  .pricing__grid {
    grid-template-columns: 1fr 1fr;
  }
  .pricing-card--hero {
    transform: none;
    order: -1; /* Place hero pricing first on mobile */
  }
  .pricing-card--spanned {
    grid-column: span 2;
  }
  .pricing-card--spanned .pricing__split-layout {
    grid-template-columns: 1fr;
  }
  .cta-block__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 767px) {
  .nav__links {
    display: none; /* simple mobile nav override */
  }
  .hero__title {
    font-size: 32px;
  }
  .hero__subtitle {
    font-size: 16px;
  }
  .hero__ctas {
    flex-direction: column;
    width: 100%;
  }
  .hero__ctas .btn {
    width: 100%;
  }
  .testimonials__grid,
  .pricing__grid {
    grid-template-columns: 1fr;
  }
  .pricing-card--spanned {
    grid-column: span 1;
  }
  .case__metrics {
    grid-template-columns: 1fr;
  }
  .cta-block__portraits {
    flex-direction: column;
  }
  .footer__bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}


/* 16. Grille de Tuiles de Ressources (Perspective.co Inspired) */
.resource-tiles {
  padding: 100px 0;
  background-color: var(--color-bg);
}

.resource-tiles__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 50px;
}

@media (max-width: 991px) {
  .resource-tiles__grid {
    grid-template-columns: 1fr;
  }
}

.resource-tile {
  display: flex;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  min-height: 280px;
}

.resource-tile--featured {
  grid-column: span 2;
}

@media (max-width: 991px) {
  .resource-tile--featured {
    grid-column: span 1;
  }
}

.resource-tile__content {
  flex: 1.2;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 2;
}

.resource-tile__title {
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.3;
  margin-bottom: 12px;
}

.resource-tile__desc {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 25px;
}

.resource-tile__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  color: var(--color-primary);
  transition: gap 0.2s ease;
}

.resource-tile__cta svg {
  transition: transform 0.2s ease;
}

.resource-tile:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.resource-tile:hover .resource-tile__cta {
  color: var(--color-secondary);
  gap: 12px;
}

.resource-tile:hover .resource-tile__cta svg {
  transform: translateX(4px);
}

.resource-tile__img {
  flex: 0.8;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
  z-index: 1;
  border-left: 1px solid var(--color-border);
}

.resource-tile:hover .resource-tile__img {
  transform: scale(1.03);
}

@media (max-width: 575px) {
  .resource-tile {
    flex-direction: column;
    min-height: auto;
  }
  .resource-tile__img {
    width: 100%;
    height: 180px;
    border-left: none;
    border-top: 1px solid var(--color-border);
  }
}


/* 17. Timeline Horizontale Interactive (Perspective.co Inspired) */
.timeline-horizontal {
  padding: 100px 0;
  background-color: var(--color-surface);
  position: relative;
  overflow: hidden;
}

.timeline-horizontal__wrap {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin: 60px 0 40px 0;
  padding: 20px 0;
}

.timeline-horizontal__track {
  position: absolute;
  top: 42px;
  left: 10%;
  right: 10%;
  height: 4px;
  background: var(--color-border);
  z-index: 1;
}

.timeline-horizontal__progress {
  position: absolute;
  top: 42px;
  left: 10%;
  width: 80%;
  height: 4px;
  background: linear-gradient(to right, var(--color-primary), var(--color-secondary), var(--color-accent));
  z-index: 2;
  transition: width 0.5s ease;
}

.timeline-horizontal__item {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 3;
  padding: 0 20px;
}

.timeline-horizontal__icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 3px solid var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  box-shadow: var(--shadow-sm);
  z-index: 4;
  color: var(--color-primary);
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.timeline-horizontal__item:hover .timeline-horizontal__icon-wrap {
  transform: scale(1.1);
  background-color: var(--color-primary);
  color: var(--color-surface);
}

.timeline-horizontal__title {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 10px;
  line-height: 1.3;
}

.timeline-horizontal__caption {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 260px;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .timeline-horizontal__wrap {
    flex-direction: column;
    gap: 40px;
    align-items: flex-start;
    padding-left: 30px;
  }
  .timeline-horizontal__track {
    top: 20px;
    bottom: 20px;
    left: 45px;
    width: 4px;
    height: auto;
    right: auto;
  }
  .timeline-horizontal__progress {
    top: 20px;
    left: 45px;
    width: 4px;
    height: 70%;
    right: auto;
  }
  .timeline-horizontal__item {
    flex-direction: row;
    text-align: left;
    gap: 20px;
    padding: 0;
  }
  .timeline-horizontal__icon-wrap {
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .timeline-horizontal__title {
    margin-bottom: 4px;
  }
  .timeline-horizontal__caption {
    margin: 0;
    max-width: none;
  }
}

/* 18. Split Hero (Video-less) & Marketing Dashboard Mockup */
.hero--split {
  position: relative;
  padding: 160px 0 100px;
  background: radial-gradient(circle at top right, rgba(79, 70, 229, 0.06) 0%, transparent 65%),
              radial-gradient(circle at bottom left, rgba(6, 182, 212, 0.04) 0%, transparent 55%),
              var(--color-bg);
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
}

.hero--split::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(var(--color-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-border) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center top;
  opacity: 0.15;
  mask-image: radial-gradient(circle at center, black, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

.hero--split .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  position: relative;
  z-index: 1;
}

.hero__content--split {
  flex: 1.2;
  text-align: left;
  max-width: none;
}

.hero__content--split .hero__ctas {
  justify-content: flex-start;
}

.hero__visual {
  flex: 0.8;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

/* Glassmorphism Dashboard Mockup */
.marketing-dashboard {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 20px 40px rgba(79, 70, 229, 0.06);
  width: 100%;
  max-width: 440px;
  padding: 30px;
  position: relative;
  transform: rotate(-1.5deg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.marketing-dashboard:hover {
  transform: rotate(0deg) scale(1.02);
  box-shadow: var(--shadow-xl), 0 25px 50px rgba(79, 70, 229, 0.1);
}

.marketing-dashboard__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.marketing-dashboard__title {
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 800;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.marketing-dashboard__status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.marketing-dashboard__flows {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.marketing-flow-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text);
}

.marketing-flow-item__left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.marketing-flow-item__icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.marketing-flow-item__icon svg {
  width: 14px;
  height: 14px;
}

.marketing-flow-item__stats {
  font-weight: 800;
  color: var(--color-primary);
}

.marketing-dashboard__metric {
  margin-top: 20px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  padding: 18px;
  border-radius: var(--radius-md);
  color: var(--color-surface);
  text-align: center;
}

.marketing-dashboard__metric-val {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 2px;
}

.marketing-dashboard__metric-lbl {
  font-size: 10px;
  opacity: 0.95;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 700;
}

@media (max-width: 991px) {
  .hero--split {
    padding: 140px 0 80px;
  }
  .hero--split .container {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }
  .hero__content--split {
    text-align: center;
  }
  .hero__content--split .hero__ctas {
    justify-content: center;
  }
  .hero__visual {
    width: 100%;
  }
}

/* 19. Animated Loop Visual (Task Redundancy) */
.animated-loop {
  position: relative;
  width: 240px;
  height: 240px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.animated-loop__svg {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  transform: rotate(-90deg);
}

.animated-loop__circle {
  fill: none;
  stroke: var(--color-primary);
  stroke-width: 2.5;
  stroke-dasharray: 6 8;
  animation: rotate-dash 20s linear infinite;
  transform-origin: center;
  opacity: 0.8;
}

@keyframes rotate-dash {
  100% { stroke-dashoffset: -100; }
}

.animated-loop__center {
  position: relative;
  font-family: var(--font-title);
  font-size: 11px;
  font-weight: 800;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--color-surface);
  padding: 8px 14px;
  border: 1.5px solid var(--color-primary);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  z-index: 3;
}

.animated-loop__icon {
  position: absolute;
  width: 38px;
  height: 38px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  z-index: 2;
  color: var(--color-text-muted);
  animation: orbit-task 12s linear infinite;
}

.animated-loop__icon svg {
  width: 16px;
  height: 16px;
}

.animated-loop__icon--1 { animation-delay: 0s; }
.animated-loop__icon--2 { animation-delay: -2.4s; }
.animated-loop__icon--3 { animation-delay: -4.8s; }
.animated-loop__icon--4 { animation-delay: -7.2s; }
.animated-loop__icon--5 { animation-delay: -9.6s; }

@keyframes orbit-task {
  0% { transform: rotate(0deg) translate(95px) rotate(0deg); }
  100% { transform: rotate(360deg) translate(95px) rotate(-360deg); }
}

/* Greenish Solution Box Style */
.solution-box {
  background-color: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.15);
  border-radius: var(--radius-md);
  padding: 22px;
  margin-top: 24px;
}

.solution-box strong {
  display: block;
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 800;
  color: #10b981;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.solution-box p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--color-text);
}

@media (max-width: 767px) {
  .animated-loop {
    margin: 30px auto 0;
  }
}

/* 20. Sovereign Security Gateway & Transparent Layout */
.security-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
}

.security-layout__content {
  padding: 0;
}

.security-layout__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
}

.secure-gateway {
  position: relative;
  width: 280px;
  height: 280px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.secure-gateway__shield {
  width: 76px;
  height: 76px;
  background: rgba(79, 70, 229, 0.06);
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  box-shadow: 0 0 25px rgba(79, 70, 229, 0.2);
  z-index: 2;
  position: relative;
  animation: pulse-shield-node 3s infinite;
}

@keyframes pulse-shield-node {
  0% { transform: scale(1); box-shadow: 0 0 25px rgba(79, 70, 229, 0.2); }
  50% { transform: scale(1.04); box-shadow: 0 0 35px rgba(79, 70, 229, 0.35); }
  100% { transform: scale(1); box-shadow: 0 0 25px rgba(79, 70, 229, 0.2); }
}

.secure-gateway__shield svg {
  width: 30px;
  height: 30px;
}

.secure-gateway__nodes {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* Floating animation for security nodes */
@keyframes float-gateway-node {
  0% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
  100% { transform: translateY(0); }
}

.secure-gateway__node {
  position: absolute;
  width: 42px;
  height: 42px;
  animation: float-gateway-node 5s ease-in-out infinite;
}

.secure-gateway__node--1 { animation-delay: 0s; }
.secure-gateway__node--2 { animation-delay: -0.7s; }
.secure-gateway__node--3 { animation-delay: -1.4s; }
.secure-gateway__node--4 { animation-delay: -2.1s; }
.secure-gateway__node--5 { animation-delay: -2.8s; }
.secure-gateway__node--6 { animation-delay: -3.5s; }
.secure-gateway__node--7 { animation-delay: -4.2s; }

.secure-gateway__node-inner {
  width: 100%;
  height: 100%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.secure-gateway__node-inner:hover {
  transform: scale(1.12);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md), 0 0 15px rgba(79, 70, 229, 0.12);
}

.secure-gateway__node-inner svg, .secure-gateway__node-inner img {
  width: 18px;
  height: 18px;
}

/* Positions for 7 surrounding gateway nodes */
.secure-gateway__node--1 { top: 24px; left: 119px; } /* Node 1 (Top) */
.secure-gateway__node--2 { top: 60px; left: 193px; } /* Node 2 (Top-Right) */
.secure-gateway__node--3 { top: 140px; left: 211px; } /* Node 3 (Right-Middle) */
.secure-gateway__node--4 { top: 204px; left: 160px; } /* Node 4 (Bottom-Right) */
.secure-gateway__node--5 { top: 204px; left: 78px; } /* Node 5 (Bottom-Left) */
.secure-gateway__node--6 { top: 140px; left: 27px; } /* Node 6 (Left-Middle) */
.secure-gateway__node--7 { top: 60px; left: 45px; } /* Node 7 (Top-Left) */

/* SVG Connections */
.secure-gateway__connections {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.secure-gateway__path {
  fill: none;
  stroke: var(--color-border);
  stroke-width: 1.5;
  stroke-dasharray: 5, 5;
  animation: flow-particles-path 15s linear infinite;
}

@keyframes flow-particles-path {
  100% { stroke-dashoffset: -100; }
}

@media (max-width: 991px) {
  .security-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .security-layout__visual {
    margin-top: 20px;
  }
}

/* ==========================================================================
   Hero Centré Animé (Worklenz Style)
   ========================================================================== */
.hero--centered {
  position: relative;
  padding: 180px 0 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #0b0f19; /* Dark background to highlight neon tubes */
  overflow: hidden;
  min-height: 100vh;
}

.hero__reviews {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 18px;
  border-radius: 100px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  margin-bottom: 28px;
  z-index: 10;
}

.hero__reviews-stars {
  color: #f59e0b;
  font-size: 14px;
  letter-spacing: 1px;
}

.hero__reviews-text {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
}

.hero--centered .hero__title {
  font-family: var(--font-title);
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 900px;
  margin-bottom: 24px;
  color: #ffffff;
  z-index: 10;
}

.hero--centered .hero__title span {
  background: linear-gradient(135deg, #a5b4fc 0%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero--centered .hero__subtitle {
  font-size: 1.25rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  max-width: 720px;
  margin-bottom: 40px;
  z-index: 10;
}

.hero__ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 60px;
  z-index: 10;
}

/* WhatsApp custom CTA button styling */
.btn--whatsapp {
  background-color: #25d366 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
}

.btn--whatsapp:hover {
  background-color: #128c7e !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* SaaS Mockup styling */
.hero__mockup {
  width: 100%;
  max-width: 960px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  padding: 6px;
  position: relative;
  z-index: 10;
}

.hero__mockup-inner {
  background: #ffffff;
  border-radius: calc(var(--radius-md) - 2px);
  overflow: hidden;
  border: 1px solid rgba(30, 27, 75, 0.05);
  aspect-ratio: 16/10;
  display: flex;
  flex-direction: column;
}

.mockup-header {
  height: 48px;
  border-bottom: 1px solid rgba(30, 27, 75, 0.06);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 8px;
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #cbd5e1;
}

.mockup-dot--red { background-color: #ef4444; }
.mockup-dot--yellow { background-color: #f59e0b; }
.mockup-dot--green { background-color: #10b981; }

.mockup-bar {
  height: 20px;
  background-color: #f1f5f9;
  border-radius: 100px;
  width: 180px;
  margin-left: 20px;
}

.mockup-body {
  flex: 1;
  display: flex;
  padding: 20px;
  gap: 20px;
  background-color: #fafafc;
}

.mockup-sidebar {
  width: 200px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mockup-sidebar-item {
  height: 32px;
  background-color: #f1f5f9;
  border-radius: var(--radius-sm);
  width: 100%;
}

.mockup-sidebar-item--active {
  background-color: rgba(79, 70, 229, 0.1);
  border-left: 3px solid var(--color-primary);
}

.mockup-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mockup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.mockup-card {
  background: #ffffff;
  border: 1px solid rgba(30, 27, 75, 0.04);
  border-radius: var(--radius-sm);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mockup-card-title {
  height: 12px;
  background-color: #f1f5f9;
  border-radius: 4px;
  width: 60%;
}

.mockup-card-val {
  height: 24px;
  background-color: rgba(79, 70, 229, 0.06);
  border-radius: 6px;
  width: 40%;
}

.mockup-chart-placeholder {
  flex: 1;
  background: #ffffff;
  border: 1px solid rgba(30, 27, 75, 0.04);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  gap: 12px;
}

.mockup-chart-bar {
  flex: 1;
  background: linear-gradient(to top, var(--color-primary), var(--color-secondary));
  border-radius: 4px 4px 0 0;
  opacity: 0.85;
  animation: growHeight 1.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes growHeight {
  from { height: 0; }
}

@media (max-width: 768px) {
  .hero--centered .hero__title {
    font-size: 2.3rem;
  }
  .hero--centered .hero__subtitle {
    font-size: 1.05rem;
  }
  .hero__ctas {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero__ctas .btn {
    width: 100%;
  }
  .mockup-sidebar {
    display: none;
  }
}

/* ==========================================================================
   Spécialités Grille (Spécialités Section)
   ========================================================================== */
.specialties__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.specialty-card {
  background-color: var(--color-surface);
  padding: 35px 30px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.specialty-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(79, 70, 229, 0.25);
}

.specialty-card__icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(79, 70, 229, 0.06);
  border-radius: var(--radius-sm);
  margin-bottom: 5px;
}

/* CRITICAL: Limit the size of SVGs in specialty card icons */
.specialty-card__icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-primary);
  stroke-width: 2px;
  display: block;
}

.specialty-card__title {
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0;
}

.specialty-card__desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin: 0;
}

@media (max-width: 991px) {
  .specialties__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ==========================================================================
   Agentic Interface Mockup & Animation Loop (8s)
   ========================================================================== */
.hero__mockup--agentic {
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.hero__mockup-inner--agentic {
  background-color: #0d1117;
  color: #c9d1d9;
  font-family: 'Courier New', Courier, monospace;
}

.mockup-tab {
  margin-left: auto;
  font-size: 11px;
  background: rgba(255, 255, 255, 0.06);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.agent-workspace {
  display: flex;
  flex: 1;
  height: calc(100% - 48px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.agent-terminal {
  flex: 1.2;
  background: #090d15;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  text-align: left;
}

.agent-editor {
  flex: 0.8;
  background: #0f1420;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.editor-header {
  height: 36px;
  background: #151b2a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  padding: 0 16px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}

.editor-code {
  flex: 1;
  padding: 16px;
  font-size: 12px;
  line-height: 1.5;
  color: #8b949e;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow: hidden;
}

.terminal-line {
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.terminal-prompt-symbol {
  color: var(--color-accent);
  font-weight: bold;
}

/* Prompt typing animation */
.terminal-text-type {
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid #ffffff;
  width: 0;
  color: #ffffff;
  animation: typingPrompt 8s steps(35, end) infinite;
}

@keyframes typingPrompt {
  0% { width: 0; }
  22%, 100% { width: 100%; border-right-color: transparent; }
}

/* Thinking step animation */
.terminal-line--thinking {
  animation: showThinking 8s infinite;
  color: #c084fc;
  font-weight: 600;
}

.terminal-status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #c084fc;
  animation: pulseIndicator 0.8s infinite alternate;
}

@keyframes showThinking {
  0%, 22% { opacity: 0; transform: translateY(5px); }
  26%, 46% { opacity: 1; transform: translateY(0); }
  50%, 100% { opacity: 0; }
}

@keyframes pulseIndicator {
  from { transform: scale(0.8); opacity: 0.4; }
  to { transform: scale(1.2); opacity: 1; }
}

/* Log prints showing build progress */
.terminal-logs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.terminal-log-item {
  opacity: 0;
  transform: translateY(5px);
  font-size: 11px;
}

.terminal-log-item.log-1 { animation: showLog1 8s infinite; }
.terminal-log-item.log-2 { animation: showLog2 8s infinite; }
.terminal-log-item.log-3 { animation: showLog3 8s infinite; }
.terminal-log-item.log-success { animation: showLogSuccess 8s infinite; font-weight: bold; }

@keyframes showLog1 {
  0%, 46% { opacity: 0; transform: translateY(5px); }
  49%, 100% { opacity: 1; transform: translateY(0); color: rgba(255,255,255,0.7); }
}
@keyframes showLog2 {
  0%, 52% { opacity: 0; transform: translateY(5px); }
  55%, 100% { opacity: 1; transform: translateY(0); color: rgba(255,255,255,0.7); }
}
@keyframes showLog3 {
  0%, 58% { opacity: 0; transform: translateY(5px); }
  61%, 100% { opacity: 1; transform: translateY(0); color: rgba(255,255,255,0.7); }
}
@keyframes showLogSuccess {
  0%, 70% { opacity: 0; transform: scale(0.96); }
  74%, 96% { opacity: 1; transform: scale(1); color: #25d366; }
  100% { opacity: 0; }
}

/* Code typing animation */
.code-line {
  opacity: 0;
  transform: translateX(-4px);
}

.code-line.line-1 { animation: showLine 8s infinite 4.2s; }
.code-line.line-2 { animation: showLine 8s infinite 4.4s; }
.code-line.line-3 { animation: showLine 8s infinite 4.6s; }
.code-line.line-4 { animation: showLine 8s infinite 4.8s; }
.code-line.line-5 { animation: showLine 8s infinite 5.0s; }
.code-line.line-6 { animation: showLine 8s infinite 5.2s; }
.code-line.line-7 { animation: showLine 8s infinite 5.4s; }
.code-line.line-8 { animation: showLine 8s infinite 5.6s; }
.code-line.line-9 { animation: showLine 8s infinite 5.8s; }
.code-line.line-10 { animation: showLine 8s infinite 6.0s; }

@keyframes showLine {
  0% { opacity: 0; }
  4% { opacity: 1; transform: translateX(0); }
  100% { opacity: 1; transform: translateX(0); }
}

/* Editor syntax colors */
.syntax-keyword { color: #ff79c6; }
.syntax-string { color: #50fa7b; }
.syntax-function { color: #8be9fd; }
.syntax-tag { color: #ff5555; }

@media (max-width: 768px) {
  .agent-editor {
    display: none;
  }
}

/* ==========================================================================
   Phase 01 : Mockup Audit & Analyse (2-column layout and animations)
   ========================================================================== */
.audit-mockup {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
  overflow: hidden;
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}


.audit-mockup__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 10px;
}

.audit-mockup__title {
  font-weight: 700;
  color: var(--color-text);
  font-size: 0.9rem;
}

.audit-mockup__status {
  font-size: 10px;
  color: var(--color-primary);
  background: rgba(79, 70, 229, 0.06);
  padding: 3px 8px;
  border-radius: 100px;
  font-weight: 600;
  animation: pulseStatus 2s infinite alternate;
}

@keyframes pulseStatus {
  from { opacity: 0.6; }
  to { opacity: 1; }
}

/* Ensure 2-column layout on both desktop and mobile */
.audit-mockup__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.audit-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.audit-group__title {
  font-size: 9px;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
}

.audit-task-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.audit-task {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fafafc;
  border: 1px solid var(--color-border);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 10.5px;
  color: var(--color-text);
  gap: 6px;
  transition: all 0.3s ease;
  min-height: 48px;
}

.audit-badge {
  font-size: 8px;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
}

/* Task modifiers with left border highlighting */
.audit-task--red {
  border-left: 3px solid #ef4444;
}
.audit-badge--red {
  background: rgba(239, 68, 68, 0.08);
  color: #ef4444;
  animation: pulseRedBadge 1.5s infinite alternate;
}

.audit-task--orange {
  border-left: 3px solid #f59e0b;
}
.audit-badge--orange {
  background: rgba(245, 158, 11, 0.08);
  color: #f59e0b;
  animation: pulseOrangeBadge 1.5s infinite alternate 0.5s;
}

.audit-task--green {
  border-left: 3px solid #10b981;
}
.audit-badge--green {
  background: rgba(16, 185, 129, 0.08);
  color: #10b981;
}

@keyframes pulseRedBadge {
  0% { background: rgba(239, 68, 68, 0.08); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
  100% { background: rgba(239, 68, 68, 0.16); box-shadow: 0 0 8px rgba(239, 68, 68, 0.1); }
}

@keyframes pulseOrangeBadge {
  0% { background: rgba(245, 158, 11, 0.08); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
  100% { background: rgba(245, 158, 11, 0.16); box-shadow: 0 0 8px rgba(245, 158, 11, 0.1); }
}

/* ==========================================================================
   Phase 03 : Mockup Action & WhatsApp Sync (8s loop)
   ========================================================================== */
.action-mockup {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 10px;
  box-shadow: var(--shadow-sm);
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.action-workspace {
  display: flex;
  gap: 10px;
  width: 100%;
  aspect-ratio: 16/10;
}

.action-tasks-panel {
  flex: 1.1;
  min-width: 0;
  background: #fafafc;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.action-tasks-panel .panel-header {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 8px;
  text-align: left;
}

.action-task-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.action-task-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: var(--color-text);
  padding: 10px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  text-align: left;
  transition: all 0.3s ease;
  white-space: normal;
  word-break: break-word;
}

.action-checkbox {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1px solid var(--color-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: bold;
  transition: all 0.3s ease;
  background: #ffffff;
  color: transparent;
}

/* Animations task 1 (done at 0.8s) */
.action-task-item--done-1 {
  animation: taskDone1 8s infinite;
}
@keyframes taskDone1 {
  0% { text-decoration: none; opacity: 0.7; }
  8%, 100% { text-decoration: line-through; opacity: 0.5; color: var(--color-text-muted); }
}
.action-task-item--done-1 .action-checkbox {
  animation: checkboxDone1 8s infinite;
}
@keyframes checkboxDone1 {
  0% { background: #ffffff; border-color: var(--color-border); color: transparent; }
  8%, 100% { background: #10b981; border-color: #10b981; color: #ffffff; }
}

/* Animations task 2 (done at 3s) */
.action-task-item--done-2 {
  animation: taskDone2 8s infinite;
}
@keyframes taskDone2 {
  0%, 30% { text-decoration: none; opacity: 0.7; }
  35%, 100% { text-decoration: line-through; opacity: 0.5; color: var(--color-text-muted); }
}
.action-task-item--done-2 .action-checkbox {
  animation: checkboxDone2 8s infinite;
}
@keyframes checkboxDone2 {
  0%, 30% { background: #ffffff; border-color: var(--color-border); color: transparent; }
  35%, 100% { background: #10b981; border-color: #10b981; color: #ffffff; }
}

/* Task 3 (pulsing pending at 5.5s) */
.action-task-item--pending .action-checkbox {
  animation: checkboxPending 8s infinite;
}
@keyframes checkboxPending {
  0%, 55% { background: #ffffff; border-color: var(--color-border); color: transparent; }
  60%, 100% { background: rgba(79, 70, 229, 0.08); border-color: var(--color-primary); color: var(--color-primary); }
}

/* Right side panel: WhatsApp Layout */
.action-whatsapp-panel {
  flex: 1.25;
  min-width: 0;
  background: #e5ddd5;
  border: 1px solid #c9c1b9;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.whatsapp-header {
  background: #075e54;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
}

.whatsapp-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #128c7e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
}

.whatsapp-meta {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.whatsapp-name {
  font-size: 11.5px;
  font-weight: 700;
}

.whatsapp-status {
  font-size: 8.5px;
  color: rgba(255, 255, 255, 0.85);
}

.whatsapp-messages {
  flex: 1;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background-color: #efeae2;
  overflow: hidden;
}

.whatsapp-msg {
  max-width: 85%;
  padding: 8px 10px;
  border-radius: 7px;
  font-size: 10.5px;
  line-height: 1.4;
  text-align: left;
  box-shadow: 0 1px 0.5px rgba(0,0,0,0.12);
  opacity: 0;
  transform: translateY(5px);
}

/* Sent message animation */
.whatsapp-msg--sent {
  background: #d9fdd3;
  align-self: flex-end;
  border-top-right-radius: 0;
  animation: showSentMsg 8s infinite;
}
@keyframes showSentMsg {
  0% { opacity: 0; transform: translateY(5px); }
  3%, 100% { opacity: 1; transform: translateY(0); }
}

/* Received message 1 animation */
.whatsapp-msg--received.msg-rec-1 {
  background: #ffffff;
  align-self: flex-start;
  border-top-left-radius: 0;
  animation: showRecMsg1 8s infinite;
}
@keyframes showRecMsg1 {
  0%, 42% { opacity: 0; transform: translateY(5px); }
  45%, 100% { opacity: 1; transform: translateY(0); }
}

/* Received message 2 animation */
.whatsapp-msg--received.msg-rec-2 {
  background: #ffffff;
  align-self: flex-start;
  border-top-left-radius: 0;
  animation: showRecMsg2 8s infinite;
}
@keyframes showRecMsg2 {
  0%, 65% { opacity: 0; transform: translateY(5px); }
  68%, 100% { opacity: 1; transform: translateY(0); }
}

/* Progress bar section */
.sprint-progress-section {
  background: #f0f2f5;
  padding: 10px 12px;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.progress-bar-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  width: 100%;
  height: 5px;
}

.progress-segment {
  background: rgba(0,0,0,0.08);
  border-radius: 100px;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.progress-segment::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: #10b981;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

/* Segment 1 fill at 1.2s */
.progress-segment--full-1::after {
  animation: fillSegment1 8s infinite;
}
@keyframes fillSegment1 {
  0% { transform: scaleX(0); }
  12%, 100% { transform: scaleX(1); }
}

/* Segment 2 fill at 3.5s */
.progress-segment--full-2::after {
  animation: fillSegment2 8s infinite;
}
@keyframes fillSegment2 {
  0%, 35% { transform: scaleX(0); }
  40%, 100% { transform: scaleX(1); }
}

/* Segment 3 half-fill and pulse at 5.8s */
.progress-segment--half::after {
  animation: fillSegment3 8s infinite;
}
@keyframes fillSegment3 {
  0%, 58% { transform: scaleX(0); opacity: 1; }
  63%, 100% { transform: scaleX(0.5); opacity: 0.8; animation: pulseHalfProgress 1s infinite alternate; }
}

@keyframes pulseHalfProgress {
  from { opacity: 0.6; }
  to { opacity: 1; }
}

@media (max-width: 768px) {
  .action-workspace {
    flex-direction: column;
    aspect-ratio: auto;
  }
  .action-whatsapp-panel {
    height: 220px;
  }
}

/* ==========================================================================
   Phase 04 : Dashboard Formation (3 cards with sequential progress)
   ========================================================================== */
.training-dashboard {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.training-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  text-align: left;
}

.training-card__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  padding-right: 16px;
}

.training-card__tag {
  font-size: 8px;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.training-card__title {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-text);
  margin: 0;
}

.training-card__desc {
  font-size: 10px;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.4;
}

.training-card__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  justify-content: center;
}

.training-card__duration {
  font-size: 9px;
  font-weight: 600;
  color: var(--color-text);
  background: rgba(0, 0, 0, 0.05);
  padding: 2px 6px;
  border-radius: 100px;
  line-height: 1;
}

.training-card__participants {
  display: flex;
  align-items: center;
}

.training-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--color-surface);
  box-shadow: var(--shadow-sm);
  margin-left: -5px;
  object-fit: cover;
}

.training-avatar--initials {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7.5px;
  font-weight: bold;
  color: #ffffff;
}

.avatar-p1 { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.avatar-p2 { background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%); }
.avatar-p3 { background: linear-gradient(135deg, #f6d365 0%, #fda085 100%); }
.avatar-p4 { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }

.training-card__progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background: rgba(0, 0, 0, 0.04);
}

.training-card__progress-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: #10b981;
  transform: scaleX(0);
  transform-origin: left;
}

/* Sequential Active Card Animations (8s loop) */

/* Card 1 Active (0s - 2.5s) */
.training-card--1 {
  animation: cardActive1 8s infinite;
}
.training-card--1 .training-card__progress-bar::after {
  animation: barProgress1 8s infinite linear;
}
@keyframes cardActive1 {
  0%, 28% { border-color: rgba(16, 185, 129, 0.35); background: rgba(16, 185, 129, 0.02); box-shadow: 0 4px 12px rgba(16, 185, 129, 0.05); }
  31%, 100% { border-color: var(--color-border); background: var(--color-surface); box-shadow: none; }
}
@keyframes barProgress1 {
  0% { transform: scaleX(0); }
  28%, 100% { transform: scaleX(1); }
}

/* Card 2 Active (2.5s - 5s) */
.training-card--2 {
  animation: cardActive2 8s infinite;
}
.training-card--2 .training-card__progress-bar::after {
  animation: barProgress2 8s infinite linear;
}
@keyframes cardActive2 {
  0%, 28% { border-color: var(--color-border); background: var(--color-surface); box-shadow: none; }
  31%, 58% { border-color: rgba(16, 185, 129, 0.35); background: rgba(16, 185, 129, 0.02); box-shadow: 0 4px 12px rgba(16, 185, 129, 0.05); }
  61%, 100% { border-color: var(--color-border); background: var(--color-surface); box-shadow: none; }
}
@keyframes barProgress2 {
  0%, 31% { transform: scaleX(0); }
  58%, 100% { transform: scaleX(1); }
}

/* Card 3 Active (5s - 7.5s) */
.training-card--3 {
  animation: cardActive3 8s infinite;
}
.training-card--3 .training-card__progress-bar::after {
  animation: barProgress3 8s infinite linear;
}
@keyframes cardActive3 {
  0%, 58% { border-color: var(--color-border); background: var(--color-surface); box-shadow: none; }
  61%, 88% { border-color: rgba(16, 185, 129, 0.35); background: rgba(16, 185, 129, 0.02); box-shadow: 0 4px 12px rgba(16, 185, 129, 0.05); }
  91%, 100% { border-color: var(--color-border); background: var(--color-surface); box-shadow: none; }
}
@keyframes barProgress3 {
  0%, 61% { transform: scaleX(0); }
  88%, 100% { transform: scaleX(1); }
}

/* ==========================================================================
   Phase 05 : Mockup Maintenance (Alert and Automated Ticket Resolution)
   ========================================================================== */
.maintenance-dashboard {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

.maintenance-notif {
  background: var(--color-surface);
  border: 1px solid #fecaca;
  border-left: 4px solid #ef4444;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  box-shadow: var(--shadow-sm);
  text-align: left;
  opacity: 0;
  transform: translateY(-10px);
  animation: notifTimeline 8s infinite ease-out;
}

.maintenance-notif__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.maintenance-notif__badge {
  font-size: 8px;
  font-weight: 700;
  color: #ef4444;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.maintenance-notif__time {
  font-size: 8px;
  color: var(--color-text-muted);
}

.maintenance-notif__title {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 2px;
}

.maintenance-notif__desc {
  font-size: 9px;
  color: var(--color-text-muted);
  line-height: 1.3;
}

.maintenance-ticket {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  box-shadow: var(--shadow-sm);
  text-align: left;
  opacity: 0;
  transform: translateY(10px);
  animation: ticketTimeline 8s infinite ease-out;
}

.maintenance-ticket__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 6px;
  margin-bottom: 8px;
}

.maintenance-ticket__id {
  font-size: 9px;
  font-weight: 700;
  color: var(--color-text);
}

.maintenance-ticket__badge {
  font-size: 8px;
  font-weight: bold;
  background: rgba(79, 70, 229, 0.06);
  color: var(--color-primary);
  padding: 1px 5px;
  border-radius: 4px;
}

.maintenance-ticket__title {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 8px 0;
}

.maintenance-ticket__status-row {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  height: 20px;
}

.maintenance-status-icon-wrap {
  position: relative;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.maintenance-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(79, 70, 229, 0.15);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite, spinnerTimeline 8s infinite;
}

.maintenance-check {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #10b981;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  font-weight: bold;
  position: absolute;
  top: 1px;
  left: 1px;
  opacity: 0;
  animation: checkTimeline 8s infinite;
}

.maintenance-status-text {
  font-size: 9.5px;
  font-weight: 600;
  position: absolute;
  left: 24px;
  top: 3px;
}

.status-text--resolving {
  color: var(--color-text-muted);
  animation: resolvingTextTimeline 8s infinite;
}

.status-text--resolved {
  color: #10b981;
  animation: resolvedTextTimeline 8s infinite;
}

/* Animations Keyframes (8s Loop) */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes notifTimeline {
  0% { opacity: 0; transform: translateY(-10px); }
  10%, 65% { opacity: 1; transform: translateY(0); border-color: #fecaca; border-left-color: #ef4444; }
  68%, 95% { opacity: 0.8; transform: translateY(0); border-color: #a7f3d0; border-left-color: #10b981; }
  100% { opacity: 0; transform: translateY(-10px); }
}

@keyframes ticketTimeline {
  0%, 20% { opacity: 0; transform: translateY(10px); }
  25%, 95% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; }
}

@keyframes spinnerTimeline {
  0%, 65% { opacity: 1; transform: scale(1); }
  68%, 100% { opacity: 0; transform: scale(0); }
}

@keyframes checkTimeline {
  0%, 65% { opacity: 0; transform: scale(0.5); }
  68%, 95% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; }
}

@keyframes resolvingTextTimeline {
  0%, 20% { opacity: 0; }
  25%, 65% { opacity: 1; }
  68%, 100% { opacity: 0; }
}

@keyframes resolvedTextTimeline {
  0%, 65% { opacity: 0; }
  68%, 95% { opacity: 1; }
  100% { opacity: 0; }
}

/* Optimisation PageSpeed Mobile - LCP Instantane */
@media (max-width: 991px) {
  .animate-fade-in-up {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

/* Frictions Grid & Cards Design System */
.frictions-section {
  padding: 80px 0;
  background-color: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

.frictions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.friction-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 35px 30px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.friction-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(6, 182, 212, 0.4);
}

.friction-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(6, 182, 212, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
}

.friction-card__icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 2px;
}

.friction-card__title {
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.3;
}

.friction-card__desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}

/* CRM Integration Mockup Visual */
.crm-integration-mockup {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
}

.crm-mockup__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
}

.crm-mockup__dots {
  display: flex;
  gap: 6px;
}

.crm-mockup__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.crm-mockup__dot--red { background: #ef4444; }
.crm-mockup__dot--yellow { background: #f59e0b; }
.crm-mockup__dot--green { background: #10b981; }

.crm-mockup__title {
  font-family: var(--font-title);
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-muted);
}

.crm-mockup__flow {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.crm-mockup__step {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--color-bg);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}

.crm-mockup__step-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--color-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.crm-mockup__step-info strong {
  display: block;
  font-size: 14px;
  color: var(--color-text);
}

.crm-mockup__step-info span {
  font-size: 12px;
  color: var(--color-text-muted);
}

.crm-mockup__arrow {
  text-align: center;
  color: var(--color-accent);
  font-weight: 700;
  font-size: 18px;
}

@media (max-width: 991px) {
  .frictions-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Google Preferred Sources Components (Official Google Button & Callouts)
   ========================================================================== */
.google-preferred-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: linear-gradient(135deg, #ffffff 0%, #f1f0fb 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
  margin: 30px 0 40px 0;
}

@media (min-width: 768px) {
  .google-preferred-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.google-preferred-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-primary);
  background: rgba(28, 63, 236, 0.08);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}

.google-preferred-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 6px;
}

.google-preferred-card__desc {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  max-width: 650px;
}

.google-preferred-card__action {
  flex-shrink: 0;
}

.google-preferred-box {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(28, 63, 236, 0.04);
  border: 1px solid rgba(28, 63, 236, 0.15);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.google-preferred-box__icon {
  font-size: 1.8rem;
  line-height: 1;
}

.google-preferred-box__text {
  flex: 1;
  min-width: 260px;
}

.google-preferred-box__text h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 4px;
}

.google-preferred-box__text p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.45;
  margin: 0;
}

.google-preferred-box__btn {
  flex-shrink: 0;
}

.footer__preferred-source {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer__preferred-label {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

