/* ==========================================================================
   Hero — split layout : pitch à gauche, mockup conversation à droite
   ========================================================================== */
.hero {
  position: relative;
  padding: 8rem 0 5rem;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 700px 400px at 80% 20%, rgba(99,102,241,0.12), transparent 60%),
    radial-gradient(ellipse 500px 300px at 10% 80%, rgba(236,72,153,0.08), transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(99,102,241,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

.hero-text {
  max-width: 540px;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.hero-pill .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
}
.hero-pill strong { color: var(--text-dark); font-weight: 700; }

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.06;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.55;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.hero-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.82rem;
  color: var(--text-light);
  flex-wrap: wrap;
}
.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.hero-meta-item svg {
  width: 16px; height: 16px;
  color: var(--success);
}

/* === Mockup conversation === */
.hero-mockup {
  position: relative;
  perspective: 1500px;
}
.mockup-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  transform: rotateY(-3deg) rotateX(2deg);
  transition: transform 0.4s ease;
}
.mockup-card:hover { transform: rotateY(0) rotateX(0); }

.mockup-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(180deg, var(--bg-soft), white);
}
.mockup-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--gradient);
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.mockup-info { flex: 1; min-width: 0; }
.mockup-info .name { font-weight: 700; font-size: 0.95rem; color: var(--text-dark); }
.mockup-info .meta { font-size: 0.75rem; color: var(--text-light); display: flex; align-items: center; gap: 0.4rem; }
.mockup-info .meta .live {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.1rem 0.5rem;
  background: rgba(239,68,68,0.1);
  color: var(--danger);
  font-weight: 700; font-size: 0.7rem;
  border-radius: 999px;
}
.mockup-info .meta .live::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--danger);
  border-radius: 50%;
  animation: liveDot 1.2s infinite;
}
@keyframes liveDot { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }
.mockup-timer {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--text-light);
}

.mockup-body {
  padding: 1.25rem;
  background: var(--bg-soft);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.bubble {
  max-width: 80%;
  padding: 0.65rem 0.95rem;
  border-radius: 1rem;
  font-size: 0.88rem;
  line-height: 1.45;
  animation: bubbleIn 0.4s ease both;
}
@keyframes bubbleIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.bubble.bot {
  background: white;
  color: var(--text-dark);
  border: 1px solid var(--border);
  border-bottom-left-radius: 0.3rem;
  align-self: flex-start;
  box-shadow: var(--shadow-sm);
}
.bubble.client {
  background: var(--gradient);
  color: white;
  border-bottom-right-radius: 0.3rem;
  align-self: flex-end;
  box-shadow: 0 4px 12px -2px rgba(99,102,241,0.4);
}
.bubble .typing {
  display: inline-flex;
  gap: 3px;
  padding: 0.2rem 0;
}
.bubble .typing span {
  width: 6px; height: 6px;
  background: var(--text-muted);
  border-radius: 50%;
  animation: typing 1.4s infinite;
}
.bubble .typing span:nth-child(2) { animation-delay: 0.15s; }
.bubble .typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-3px); opacity: 1; }
}

.mockup-footer {
  padding: 0.85rem 1.25rem;
  background: white;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-light);
}
.mockup-footer .lang {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 600;
}
.mockup-footer .lang::before {
  content: '🇫🇷';
}
.mockup-footer .actions {
  display: flex; gap: 0.4rem;
}
.mockup-footer .icon-btn {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg-elev);
  color: var(--text-light);
  transition: all 0.15s;
}
.mockup-footer .icon-btn:hover { background: var(--primary); color: white; }
.mockup-footer .icon-btn svg { width: 14px; height: 14px; }

/* Floating tag — booking confirmation */
.floating-card {
  position: absolute;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.83rem;
  z-index: 2;
  animation: float-card 4s ease-in-out infinite;
}
@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.floating-card .ico {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(16,185,129,0.12);
  color: var(--success);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.floating-card .ico svg { width: 16px; height: 16px; }
.floating-card .label { font-weight: 700; color: var(--text-dark); }
.floating-card .sub { font-size: 0.74rem; color: var(--text-light); }

.floating-card.fc-1 { top: -1rem; right: -1rem; }
.floating-card.fc-2 { bottom: -1rem; left: -1.5rem; animation-delay: -2s; }

@media (max-width: 960px) {
  .hero { padding: 7rem 0 4rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-text { max-width: 100%; text-align: center; margin: 0 auto; }
  .hero-actions { justify-content: center; }
  .hero-meta { justify-content: center; }
  .mockup-card { transform: none; max-width: 460px; margin: 0 auto; }
  .floating-card.fc-1 { right: 0; }
  .floating-card.fc-2 { left: 0; }
}
@media (max-width: 480px) {
  .floating-card { display: none; }
}
