/* ============================================================
   PHILIPPE MORIS — Visites Virtuelles 360° & Assistant IA
   Design System & Style Unifié (Dark Glassmorphism)
   ============================================================ */

:root {
  /* Palette de couleurs Principales */
  --bg-dark: #060d1f;
  --bg-dark-alt: #0a1329;
  --bg-card: rgba(15, 25, 50, 0.75);
  --bg-card-hover: rgba(22, 36, 70, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.04);
  --border-light: rgba(255, 255, 255, 0.1);
  --border-accent: rgba(139, 92, 246, 0.3);

  /* Accents Néon & Gradients */
  --primary: #4c1d95;
  --primary-light: #8b5cf6;
  --accent-cyan: #06b6d4;
  --accent-pink: #ec4899;
  --accent-green: #2eb67d;
  --accent-purple: #822299;
  --accent-warm: #f59e0b;

  /* Typographie & Texte */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Gradients réutilisables */
  --gradient-main: linear-gradient(135deg, var(--accent-cyan), var(--primary-light), var(--accent-pink));
  --gradient-purple: linear-gradient(135deg, #4c1d95, #8b5cf6);
  --gradient-cyan: linear-gradient(135deg, #06b6d4, #3b82f6);
  --gradient-pink: linear-gradient(135deg, #822299, #ec4899);
  --gradient-green: linear-gradient(135deg, #2eb67d, #06b6d4);
  --shadow-glow: 0 0 30px rgba(139, 92, 246, 0.35);
}

/* ─── RESET & REGLAGES DE BASE ─── */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 32px);
  box-sizing: border-box;
}

img, video, iframe, picture {
  max-width: 100%;
  height: auto;
}

/* Gradients Textes */
.text-gradient {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-pink {
  background: var(--gradient-pink);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-green {
  background: var(--gradient-green);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ─── NAVBAR GLASSMORPHIC ─── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 clamp(16px, 4vw, 5%);
  height: 80px;
  background: rgba(6, 13, 31, 0.3);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar.scrolled {
  background: rgba(6, 13, 31, 0.95);
  height: 68px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-bottom-color: rgba(139, 92, 246, 0.2);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo-badge {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.4);
}

.nav-logo-text {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.nav-logo-sub {
  font-size: 0.75rem;
  color: var(--accent-cyan);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-top: -3px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-main);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--text-main);
}

.nav-links a:hover::after {
  width: 100%;
}

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

/* ─── LANGUAGE SWITCHER ─── */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 3px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  border-radius: 30px;
  padding: 4px;
  backdrop-filter: blur(10px);
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.lang-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.1);
}

.lang-btn.active {
  background: var(--gradient-main);
  color: #fff;
  box-shadow: 0 2px 10px rgba(6, 182, 212, 0.4);
}


/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 24px;
  cursor: pointer;
  border: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
  font-weight: 700;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 6px 30px rgba(139, 92, 246, 0.6);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(6, 182, 212, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.btn-secondary:hover {
  background: rgba(6, 182, 212, 0.25);
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(6, 182, 212, 0.3);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-light);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  border-color: var(--primary-light);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.25);
}

/* Mobile Menu Toggle */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--text-main);
  transition: all 0.3s ease;
}

/* Mobile Nav Overlay */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(6, 13, 31, 0.98);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
  padding: 80px 24px 40px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav a {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  text-align: center;
  padding: 8px 16px;
  border-radius: 12px;
  transition: all 0.25s ease;
}

.mobile-nav a:hover, .mobile-nav a.active-link {
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.1);
}

.mobile-nav-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  font-size: 1.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-nav-close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

/* ─── HERO SECTION ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 130px 6% 80px;
  overflow: hidden;
  contain: paint layout;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.22) saturate(1.4);
  transform: scale(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(76, 29, 149, 0.35) 0%, rgba(6, 13, 31, 0.85) 75%);
}

.hero-blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  contain: strict;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  will-change: transform;
  animation: blobPulse 8s infinite alternate ease-in-out;
}

.blob-1 { top: 15%; left: 10%; width: 350px; height: 350px; background: #8b5cf6; }
.blob-2 { bottom: 20%; right: 10%; width: 400px; height: 400px; background: #06b6d4; }
.blob-3 { top: 40%; right: 25%; width: 300px; height: 300px; background: #ec4899; }

@keyframes blobPulse {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.2) translate(30px, -20px); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.35);
  color: var(--accent-cyan);
  padding: 8px 22px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.2);
}

.hero-badge .badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-cyan);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.hero-content h1 {
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  font-weight: 900;
  line-height: 1.12;
  margin-bottom: 25px;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 40px;
  font-weight: 400;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.hero-stats {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 45px;
  padding: 30px 40px;
  background: rgba(15, 25, 50, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  margin-top: 20px;
  max-width: 900px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 2px;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
}

/* ─── SECTIONS COMMUNE HEADER ─── */
.section {
  padding: 110px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 65px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.25);
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 18px;
}

.section-label .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-cyan);
}

.section-header h2 {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 18px;
  line-height: 1.2;
}

.section-header p {
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
}

/* ─── ASSISTANT IA & SECTOR PICKER ─── */
.sector-picker {
  margin-bottom: 60px;
}

.sector-picker-label {
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  font-weight: 600;
}

.sector-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.sector-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 24px 20px;
  cursor: pointer;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(15px);
}

.sector-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 3px;
  background: var(--gradient-main);
  opacity: 0;
  transition: opacity 0.3s;
}

.sector-card:hover, .sector-card.active {
  background: var(--bg-card-hover);
  border-color: rgba(139, 92, 246, 0.5);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.sector-card.active::before, .sector-card:hover::before {
  opacity: 1;
}

.sector-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
  display: block;
}

.sector-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-main);
}

.sector-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.sector-arrow {
  position: absolute;
  bottom: 18px;
  right: 18px;
  font-size: 1rem;
  color: var(--accent-cyan);
  opacity: 0;
  transform: translateX(-5px);
  transition: all 0.3s ease;
}

.sector-card:hover .sector-arrow, .sector-card.active .sector-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ─── LIVE CHAT SIMULATOR DEMO ─── */
.chat-demo {
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-dark-alt) 100%);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 100px 0;
}

.demo-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.demo-info h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 20px;
}

.demo-info p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.demo-capabilities {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.capability-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 14px 20px;
  border-radius: 14px;
  backdrop-filter: blur(10px);
}

.capability-icon {
  font-size: 1.4rem;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(139, 92, 246, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.capability-text {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-main);
}

/* Chat Window Mockup */
.chat-window {
  background: rgba(11, 18, 38, 0.9);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(139, 92, 246, 0.2);
  display: flex;
  flex-direction: column;
  height: 520px;
  backdrop-filter: blur(20px);
}

.chat-header {
  background: rgba(15, 25, 50, 0.95);
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 14px;
}

.chat-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent-cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.4);
}

.chat-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.chat-status {
  font-size: 0.78rem;
  color: var(--accent-green);
  display: flex;
  align-items: center;
  gap: 6px;
}

.chat-status::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background-color: var(--accent-green);
  box-shadow: 0 0 8px var(--accent-green);
}

.chat-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.message {
  display: flex;
  gap: 10px;
  max-width: 85%;
  animation: fadeIn 0.3s ease forwards;
}

.message.bot {
  align-self: flex-start;
}

.message.user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.msg-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.msg-avatar.bot { background: rgba(139, 92, 246, 0.2); }
.msg-avatar.user-av { background: rgba(6, 182, 212, 0.2); }

.msg-bubble {
  padding: 12px 18px;
  border-radius: 18px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.message.bot .msg-bubble {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top-left-radius: 4px;
  color: var(--text-main);
}

.message.user .msg-bubble {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-top-right-radius: 4px;
  color: #fff;
}

.typing-indicator {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  border-top-left-radius: 4px;
}

.typing-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-muted);
  animation: typingBounce 1.4s infinite ease-in-out both;
}

.typing-dot:nth-child(1) { animation-delay: 0s; }
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1.1); opacity: 1; }
}

.chat-input-area {
  padding: 14px 20px;
  background: rgba(15, 25, 50, 0.95);
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-input-fake {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 10px 16px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.chat-send-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gradient-main);
  border: none;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ─── BENTO GRID FONCTIONNALITES IA ─── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 32px;
  backdrop-filter: blur(15px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.feature-card.large {
  grid-column: span 2;
}

.feature-card.tall {
  grid-row: span 2;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.icon-purple { background: rgba(139, 92, 246, 0.15); color: #8b5cf6; }
.icon-pink { background: rgba(236, 72, 153, 0.15); color: #ec4899; }
.icon-green { background: rgba(46, 182, 125, 0.15); color: #2eb67d; }
.icon-cyan { background: rgba(6, 182, 212, 0.15); color: #06b6d4; }

.feature-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

.feature-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.1);
  border-radius: 20px;
  padding: 4px 12px;
  margin-top: 18px;
  align-self: flex-start;
}

.mini-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 60px;
  margin-top: 20px;
}

.mini-chart .bar {
  flex: 1;
  background: var(--gradient-purple);
  border-radius: 4px;
  height: 40%;
}

.mini-chart .bar:nth-child(2) { height: 65%; }
.mini-chart .bar:nth-child(3) { height: 50%; }
.mini-chart .bar:nth-child(4) { height: 85%; }
.mini-chart .bar:nth-child(5) { height: 70%; }
.mini-chart .bar:nth-child(6) { height: 95%; }
.mini-chart .bar:nth-child(7) { height: 100%; background: var(--gradient-main); }

/* ─── PORTFOLIO CARDS 360° ─── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.cards-grid .card-wide {
  grid-column: span 2;
}

.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  overflow: hidden;
  backdrop-filter: blur(15px);
  transition: all 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  position: relative;
}

.portfolio-card:hover {
  transform: translateY(-10px);
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 25px rgba(139, 92, 246, 0.2);
}

.card-img {
  height: 230px;
  overflow: hidden;
  position: relative;
}

.card-wide .card-img {
  height: 300px;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.6s ease;
  filter: brightness(0.85) saturate(1.2);
}

.portfolio-card:hover .card-img img {
  transform: scale(1.08);
  filter: brightness(0.95) saturate(1.3);
}

.card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 13, 31, 0.9) 0%, transparent 60%);
}

.card-img-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(6, 13, 31, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.card-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: white;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  opacity: 0;
  transition: all 0.3s ease;
  box-shadow: 0 0 25px rgba(139, 92, 246, 0.6);
}

.portfolio-card:hover .card-play-btn {
  opacity: 1;
}

.card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.card-body h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-main);
}

.card-body p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pill {
  background: rgba(6, 182, 212, 0.08);
  color: var(--accent-cyan);
  border: 1px solid rgba(6, 182, 212, 0.25);
  border-radius: 30px;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s;
}

.pill:hover {
  background: var(--accent-cyan);
  color: var(--bg-dark);
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.4);
}

.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 11px 20px;
  background: linear-gradient(135deg, rgba(76, 29, 149, 0.4), rgba(139, 92, 246, 0.2));
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary-light);
  transition: all 0.3s;
  align-self: flex-start;
}

.card-cta:hover {
  background: linear-gradient(135deg, rgba(76, 29, 149, 0.7), rgba(139, 92, 246, 0.5));
  border-color: var(--primary-light);
  color: white;
  transform: translateX(4px);
}

/* ─── PRICING / TARIFS ─── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 28px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(15px);
  transition: all 0.35s ease;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.pricing-card.featured {
  background: rgba(22, 34, 65, 0.9);
  border: 2px solid var(--primary-light);
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.3);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  right: 28px;
  background: var(--gradient-main);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  letter-spacing: 1px;
}

.plan-name {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 6px;
}

.price-currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

.price-amount {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
}

.price-period {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.plan-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 14px 0 24px;
  line-height: 1.5;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
  flex: 1;
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
}

.feature-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(46, 182, 125, 0.2);
  color: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
}

.feature-check.not-included {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
}

.pricing-cta {
  width: 100%;
  margin-top: auto;
}

/* ─── TESTIMONIALS ─── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 32px;
  backdrop-filter: blur(15px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-stars {
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 0.98rem;
  color: var(--text-main);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 24px;
}

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

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  color: #fff;
}

.author-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.author-title {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.testimonial-result {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

/* ─── FAQ ACCORDION ─── */
.faq-container {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  overflow: hidden;
  backdrop-filter: blur(15px);
  transition: border-color 0.3s;
}

.faq-item.active {
  border-color: rgba(139, 92, 246, 0.4);
}

.faq-question {
  padding: 22px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-question h4 {
  font-size: 1.05rem;
  font-weight: 700;
}

.faq-toggle {
  font-size: 1.4rem;
  color: var(--accent-cyan);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 28px 24px;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── CTA BANNER & FORM ─── */
.cta-section {
  margin: 80px 6%;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  padding: 80px 40px;
  background: linear-gradient(135deg, rgba(76, 29, 149, 0.8), rgba(6, 182, 212, 0.4));
  border: 1px solid rgba(139, 92, 246, 0.4);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.cta-inner h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  margin-bottom: 20px;
}

.cta-inner p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 35px;
}

.cta-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  max-width: 520px;
  margin: 0 auto 20px;
}

.cta-form input[type="email"] {
  flex: 1;
  padding: 16px 22px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(6, 13, 31, 0.7);
  color: #fff;
  font-size: 0.95rem;
  outline: none;
  backdrop-filter: blur(10px);
}

.cta-form input[type="email"]:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
}

.cta-success {
  display: none;
  background: rgba(46, 182, 125, 0.2);
  border: 1px solid var(--accent-green);
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 20px;
}

.cta-success.show {
  display: block;
  animation: fadeIn 0.4s ease;
}

.cta-note {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ─── FOOTER ─── */
.footer {
  background: rgba(4, 9, 22, 0.95);
  border-top: 1px solid var(--border-light);
  padding: 70px 6% 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
}

.footer-brand h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 320px;
  line-height: 1.6;
}

.footer-col h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 12px;
}

.footer-col a:hover {
  color: var(--accent-cyan);
  transform: translateX(3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 20px;
}

/* ─── PREMIUM CLIENTS BANNERS ─── */
.premium-banners-section {
  padding: 80px 0;
  background-color: var(--bg-dark-alt);
  position: relative;
  overflow: hidden;
}

.premium-banners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.premium-banner-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.premium-banner-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.premium-banner-card:hover {
  transform: translateY(-8px);
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  box-shadow: 0 15px 35px rgba(139, 92, 246, 0.15), var(--shadow-glow);
}

.banner-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background-color: #060d1f;
}

.banner-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.premium-banner-card:hover .banner-img-wrapper img {
  transform: scale(1.08);
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10, 19, 41, 0) 40%, rgba(10, 19, 41, 0.95));
}

.banner-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.banner-tag {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 4px 10px;
  border-radius: 8px;
  margin-bottom: 14px;
}

.tag-purple {
  background: rgba(139, 92, 246, 0.15);
  color: var(--primary-light);
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.tag-cyan {
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.tag-gold {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-warm);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.tag-green {
  background: rgba(46, 182, 125, 0.15);
  color: var(--accent-green);
  border: 1px solid rgba(46, 182, 125, 0.3);
}

.banner-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.banner-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

.banner-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-cyan);
  transition: gap 0.3s ease;
}

.premium-banner-card:hover .banner-link-btn {
  gap: 12px;
}

/* Responsive Grid for Premium Banners */
@media (max-width: 1024px) {
  .premium-banners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .premium-banners-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── SCENARIO SWITCHER CHIPS (CHAT SIMULATOR) ─── */
.chat-scenarios {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow-x: auto;
  scrollbar-width: none; /* Hide scrollbar for Firefox */
  -ms-overflow-style: none;  /* Hide scrollbar for IE/Edge */
}

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

.scenario-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  padding: 6px 14px;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.scenario-chip:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  transform: translateY(-1px);
}

.scenario-chip.active {
  color: #fff;
  font-weight: 600;
}

/* Active styles per sector chip */
.scenario-chip.active[data-scenario="tourisme"] {
  background: rgba(6, 182, 212, 0.15);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.25);
}

.scenario-chip.active[data-scenario="restaurant"] {
  background: rgba(236, 72, 153, 0.15);
  border-color: var(--accent-pink);
  box-shadow: 0 0 10px rgba(236, 72, 153, 0.25);
}

.scenario-chip.active[data-scenario="commerce"] {
  background: rgba(245, 158, 11, 0.15);
  border-color: var(--accent-warm);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.25);
}

.scenario-chip.active[data-scenario="service"] {
  background: rgba(139, 92, 246, 0.15);
  border-color: var(--primary-light);
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.25);
}

/* ─── ANIMATIONS & RESPONSIVE ─── */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE SYSTEM (MOBILE, TABLETTE, ORDINATEUR) ─── */

/* ── Écrans Moyens & Petits Portables (<= 1200px) ── */
@media (max-width: 1200px) {
  .nav-links { gap: 20px; }
  .nav-actions { gap: 10px; }
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card.large { grid-column: span 2; }
  .cards-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
}

/* ── Tablettes en mode Paysage & iPad Pro (<= 1024px) ── */
@media (max-width: 1024px) {
  .nav-links, .nav-actions { display: none; }
  .mobile-menu-btn { display: flex; }
  .navbar { height: 72px; padding: 0 clamp(16px, 3vw, 28px); }
  
  .hero { padding: 110px 24px 60px; min-height: auto; }
  .hero-content h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
  .hero-subtitle { font-size: 1.1rem; }
  
  .demo-container { grid-template-columns: 1fr; gap: 40px; }
  .chat-window { max-width: 620px; margin: 0 auto; width: 100%; height: 500px; }
  
  .bento-grid { grid-template-columns: 1fr 1fr; }
  .cards-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
  .cards-grid .card-wide { grid-column: span 1; }
  
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  
  .hub-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
}

/* ── Tablettes en mode Portrait & Grands Smartphones (<= 820px) ── */
@media (max-width: 820px) {
  .section { padding: 70px 0; }
  .section-header { margin-bottom: 45px; }
  .section-header h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
  
  .sector-cards { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
  .sector-card { padding: 18px 16px; }
  
  .premium-banners-grid { grid-template-columns: 1fr; gap: 20px; }
  
  .pricing-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
  
  .cta-section { margin: 50px 16px; padding: 50px 24px; border-radius: 24px; }
}

/* ── Smartphones Standard (<= 640px) ── */
@media (max-width: 640px) {
  .navbar { height: 66px; }
  .nav-brand { gap: 8px; }
  .nav-logo-badge { width: 34px; height: 34px; font-size: 1rem; border-radius: 9px; }
  .nav-logo-text { font-size: 1.15rem; }
  .nav-logo-sub { font-size: 0.68rem; }
  
  .hero { padding: 90px 16px 45px; }
  .hero-badge { font-size: 0.78rem; padding: 6px 14px; margin-bottom: 18px; }
  .hero-content h1 { font-size: clamp(1.85rem, 7vw, 2.8rem); line-height: 1.18; margin-bottom: 16px; }
  .hero-subtitle { font-size: 0.98rem; margin-bottom: 26px; line-height: 1.55; }
  
  .hero-actions { flex-direction: column; width: 100%; gap: 10px; margin-bottom: 30px; }
  .hero-actions .btn { width: 100%; justify-content: center; padding: 14px 20px; font-size: 0.95rem; }
  
  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 20px 14px;
    width: 100%;
    border-radius: 18px;
  }
  .stat-divider { display: none; }
  .stat-number { font-size: 1.8rem; }
  .stat-label { font-size: 0.78rem; }
  
  .bento-grid { grid-template-columns: 1fr; gap: 16px; }
  .feature-card { padding: 22px 18px; border-radius: 18px; }
  .feature-card.large, .feature-card.tall { grid-column: span 1; grid-row: span 1; }
  
  .chat-window { height: 460px; border-radius: 18px; }
  .chat-header { padding: 12px 16px; }
  .chat-avatar { width: 36px; height: 36px; font-size: 1.1rem; }
  .chat-info h4 { font-size: 0.92rem; }
  .chat-messages { padding: 14px 12px; gap: 10px; }
  .message { max-width: 90%; }
  .msg-bubble { padding: 10px 14px; font-size: 0.85rem; border-radius: 14px; }
  .chat-input-area { padding: 10px 14px; }
  .chat-input-fake { padding: 8px 12px; font-size: 0.82rem; }
  
  .cards-grid { grid-template-columns: 1fr; gap: 20px; }
  .portfolio-card { border-radius: 18px; }
  .card-img { height: 200px; }
  .card-body { padding: 20px 16px; }
  .card-body h3 { font-size: 1.15rem; }
  .card-body p { font-size: 0.88rem; }
  .card-play-btn { width: 48px; height: 48px; font-size: 1.1rem; opacity: 1; }
  
  .pill-group { gap: 6px; }
  .pill { padding: 5px 10px; font-size: 0.75rem; }
  
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; gap: 20px; }
  .pricing-card { padding: 28px 20px; border-radius: 20px; }
  .plan-price .price-amount { font-size: 2.4rem; }
  
  .testimonials-grid { grid-template-columns: 1fr; gap: 18px; }
  .testimonial-card { padding: 22px 18px; border-radius: 18px; }
  
  .faq-question { padding: 16px 18px; }
  .faq-question h4 { font-size: 0.95rem; line-height: 1.4; }
  .faq-item.active .faq-answer { padding: 0 18px 18px; }
  
  .cta-section { margin: 40px 10px; padding: 36px 16px; border-radius: 20px; }
  .cta-inner h2 { font-size: clamp(1.6rem, 5vw, 2.2rem); }
  .cta-inner p { font-size: 0.95rem; margin-bottom: 24px; }
  .cta-form { flex-direction: column; width: 100%; gap: 10px; }
  .cta-form input[type="email"] { width: 100%; padding: 14px 18px; }
  .cta-form .btn { width: 100%; justify-content: center; }
  
  .footer { padding: 45px 16px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .footer-brand p { max-width: 100%; margin: 0 auto; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 12px; }
  .footer-links { justify-content: center; }
  
  .hub-hero { padding: 90px 16px 30px; }
  .hub-hero h1 { font-size: clamp(1.75rem, 6vw, 2.4rem); }
  .hub-grid { grid-template-columns: 1fr; gap: 18px; }
  .hub-card { padding: 22px 18px; border-radius: 18px; }
}

/* ── Petits Smartphones & iPhone SE (<= 380px) ── */
@media (max-width: 380px) {
  .hero-stats { grid-template-columns: 1fr; gap: 12px; }
  .sector-cards { grid-template-columns: 1fr; }
  .nav-logo-text { font-size: 1.05rem; }
  .nav-logo-sub { display: none; }
  .hero-content h1 { font-size: 1.65rem; }
  .btn-lg { padding: 12px 20px; font-size: 0.9rem; }
  .card-img { height: 180px; }
}


/* ─── 2 COLUMNS PILL GRID FOR MARCHÉS VIRTUELS ─── */
.pill-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pill-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pill-col .pill {
  width: 100%;
  justify-content: flex-start;
  box-sizing: border-box;
}

@media (max-width: 580px) {
  .pill-grid-2 {
    grid-template-columns: 1fr;
  }
}

/* ─── HUB MODULE CARDS & SUBPAGES ─── */
.hub-hero {
  padding: 130px 0 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hub-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hub-hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 820px;
  margin: 0 auto;
  line-height: 1.65;
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
  margin-bottom: 60px;
}

.hub-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hub-card:hover {
  transform: translateY(-6px);
  border-color: rgba(6, 182, 212, 0.4);
  box-shadow: 0 20px 40px rgba(6, 182, 212, 0.15);
}

.hub-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hub-card-icon {
  font-size: 2.2rem;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hub-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
}

.hub-card-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-wine { background: rgba(245, 158, 11, 0.15); color: var(--accent-warm); border: 1px solid rgba(245, 158, 11, 0.3); }
.badge-hotel { background: rgba(6, 182, 212, 0.15); color: var(--accent-cyan); border: 1px solid rgba(6, 182, 212, 0.3); }
.badge-food { background: rgba(236, 72, 153, 0.15); color: var(--accent-pink); border: 1px solid rgba(236, 72, 153, 0.3); }
.badge-bar { background: rgba(139, 92, 246, 0.15); color: var(--primary-light); border: 1px solid rgba(139, 92, 246, 0.3); }
.badge-craft { background: rgba(16, 185, 129, 0.15); color: var(--accent-green); border: 1px solid rgba(16, 185, 129, 0.3); }
.badge-shop { background: rgba(59, 130, 246, 0.15); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.3); }
.badge-health { background: rgba(239, 68, 68, 0.15); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.3); }
.badge-solidarity { background: rgba(16, 185, 129, 0.15); color: var(--accent-green); border: 1px solid rgba(16, 185, 129, 0.3); }
.badge-marketing { background: rgba(139, 92, 246, 0.15); color: var(--primary-light); border: 1px solid rgba(139, 92, 246, 0.3); }
.badge-terroir { background: rgba(245, 158, 11, 0.15); color: var(--accent-warm); border: 1px solid rgba(245, 158, 11, 0.3); }

.hub-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

.hub-card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.hub-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s;
}

.hub-btn-primary {
  background: var(--gradient-main);
  color: #fff;
  border: none;
}

.hub-btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
}

.hub-btn-outline {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hub-btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
  transform: translateY(-2px);
}

.back-to-home-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  margin-bottom: 30px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

.back-to-home-bar a {
  color: var(--accent-cyan);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.back-to-home-bar a:hover {
  color: #fff;
  transform: translateX(-3px);
}

/* ================================================================
   GRAND AUXERROIS PRO SOLUTIONS & GOOGLE LEAD GENERATOR
   ================================================================ */
.ga-pro-banner {
  background: linear-gradient(135deg, rgba(30, 27, 75, 0.8) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 24px;
  padding: 36px;
  margin: 40px 0;
  position: relative;
  overflow: hidden;
}

.ga-pro-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.15), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.ga-solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.ga-sol-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.ga-sol-card:hover {
  transform: translateY(-4px);
  border-color: rgba(6, 182, 212, 0.4);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(6, 182, 212, 0.15);
}

.ga-sol-card.gold-card:hover {
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(212, 175, 55, 0.2);
}

.ga-sol-card.red-card:hover {
  border-color: rgba(198, 40, 40, 0.5);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(198, 40, 40, 0.2);
}

.ga-sol-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.ga-sol-badge.cyan { background: rgba(6, 182, 212, 0.15); color: var(--accent-cyan); border: 1px solid rgba(6, 182, 212, 0.3); }
.ga-sol-badge.gold { background: rgba(212, 175, 55, 0.15); color: #f0d060; border: 1px solid rgba(212, 175, 55, 0.3); }
.ga-sol-badge.red { background: rgba(198, 40, 40, 0.15); color: #ef5350; border: 1px solid rgba(198, 40, 40, 0.3); }
.ga-sol-badge.purple { background: rgba(139, 92, 246, 0.15); color: var(--primary-light); border: 1px solid rgba(139, 92, 246, 0.3); }

.ga-sol-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}

.ga-sol-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 18px;
}

.ga-sol-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ga-sol-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
}

.ga-sol-btn.primary { background: var(--gradient-main); color: #fff; }
.ga-sol-btn.gold { background: linear-gradient(135deg, #d4af37, #f0d060); color: #0a0a0f; }
.ga-sol-btn.red { background: linear-gradient(135deg, #c62828, #ef5350); color: #fff; }
.ga-sol-btn.outline { background: rgba(255, 255, 255, 0.06); color: var(--text-main); border: 1px solid rgba(255, 255, 255, 0.15); }
.ga-sol-btn:hover { transform: translateY(-2px); filter: brightness(1.1); }

/* LEAD GENERATOR ENGINE */
.lead-engine-box {
  background: var(--bg-card);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: 24px;
  padding: 40px;
  margin: 50px auto 20px;
  max-width: 900px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(6, 182, 212, 0.1);
  backdrop-filter: blur(20px);
}

.lead-engine-header {
  text-align: center;
  margin-bottom: 28px;
}

.lead-engine-header h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.lead-engine-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.lead-engine-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.lead-engine-form .full {
  grid-column: 1 / -1;
}

.lead-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lead-field-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.lead-field-input {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 12px 16px;
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.25s ease;
}

.lead-field-input:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.2);
  background: rgba(15, 23, 42, 0.95);
}

select.lead-field-input {
  cursor: pointer;
}

textarea.lead-field-input {
  min-height: 80px;
  resize: vertical;
}

.lead-engine-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.btn-lead-submit-wa {
  flex: 2;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  font-weight: 700;
  padding: 14px 20px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  transition: all 0.25s;
}

.btn-lead-submit-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45);
}

.btn-lead-submit-phone {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-weight: 600;
  padding: 14px 18px;
  border-radius: 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.92rem;
  transition: all 0.25s;
}

.btn-lead-submit-phone:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: rgba(255, 255, 255, 0.1);
}

.lead-trust-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 18px;
  font-size: 0.82rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.lead-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lead-trust-item i {
  color: #22c55e;
}

@media (max-width: 600px) {
  .lead-engine-form {
    grid-template-columns: 1fr;
  }
  .lead-engine-box {
    padding: 24px 16px;
  }
  .lead-engine-actions {
    flex-direction: column;
  }
}

