/* ============================================
   Adnimi 3 — Fonctionnalités
   ============================================ */

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

:root {
  --orange-50:  #fff7ed;
  --orange-100: #ffedd5;
  --orange-200: #fed7aa;
  --orange-300: #fdba74;
  --orange-400: #fb923c;
  --orange-500: #f97316;
  --orange-600: #ea580c;
  --orange-700: #c2410c;
  --ink-900: #18181b;
  --ink-700: #3f3f46;
  --ink-500: #71717a;
  --ink-400: #a1a1aa;
  --ink-300: #d4d4d8;
  --bg: #fffaf5;
  --card: #ffffff;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 10px rgba(0,0,0,0.05);
  --shadow-md: 0 8px 30px rgba(249,115,22,0.10);
  --shadow-lg: 0 20px 60px rgba(249,115,22,0.18);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--ink-900);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* -------- Orbes -------- */
.bg-orbs { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(110px);
  animation: float 16s ease-in-out infinite;
}
.orb-1 { width: 420px; height: 420px; background: #fdba74; opacity: 0.42; top: -140px; left: -140px; }
.orb-2 { width: 360px; height: 360px; background: #fed7aa; opacity: 0.5; bottom: -120px; right: -120px; animation-delay: -6s; }
.orb-3 { width: 260px; height: 260px; background: #fb923c; opacity: 0.18; top: 45%; left: 60%; animation-delay: -11s; }
@keyframes float {
  0%,100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(40px,-50px) scale(1.1); }
  66% { transform: translate(-30px,30px) scale(0.94); }
}

/* -------- Navbar -------- */
.navbar {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
  background: rgba(255,250,245,0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(249,115,22,0.10);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink-900); font-weight: 800; font-size: 17px; }
.brand-logo { width: 34px; height: 34px; object-fit: contain; }
.brand-name b { color: var(--orange-500); font-weight: 900; }

.nav-desktop { display: flex; align-items: center; gap: 4px; }
.nav-link {
  font-size: 14px; font-weight: 600; color: var(--ink-700);
  text-decoration: none; padding: 9px 16px; border-radius: 100px;
  transition: all 0.2s ease;
}
.nav-link:hover { background: var(--orange-50); color: var(--orange-600); }
.nav-link.active { background: var(--orange-100); color: var(--orange-700); }
.nav-cta {
  margin-left: 8px; font-size: 14px; font-weight: 700;
  color: #fff; background: var(--orange-500); text-decoration: none;
  padding: 10px 20px; border-radius: 100px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(249,115,22,0.3);
}
.nav-cta:hover { background: var(--orange-600); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(249,115,22,0.4); }

/* -------- Menu mobile -------- */
.menu-toggle {
  display: none; width: 42px; height: 42px; border: none; background: transparent;
  cursor: pointer; border-radius: 12px; padding: 10px;
  flex-direction: column; justify-content: space-between;
  transition: background 0.2s;
}
.menu-toggle:hover { background: var(--orange-50); }
.menu-toggle span { display: block; height: 2.5px; width: 100%; background: var(--ink-900); border-radius: 2px; transition: all 0.3s cubic-bezier(0.4,0,0.2,1); }
.menu-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-menu {
  position: fixed; top: 68px; left: 0; right: 0; z-index: 99;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(249,115,22,0.15);
  padding: 16px 20px 24px;
  display: flex; flex-direction: column; gap: 4px;
  transform: translateY(-120%); opacity: 0;
  transition: all 0.35s cubic-bezier(0.22,1,0.36,1);
  pointer-events: none;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}
.mobile-menu.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mm-link { padding: 14px 18px; border-radius: 14px; text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink-700); transition: background 0.2s; }
.mm-link:hover, .mm-link.active { background: var(--orange-50); color: var(--orange-600); }
.mm-divider { height: 1px; background: var(--ink-300); margin: 10px 0; }
.mm-cta { padding: 15px 18px; background: var(--orange-500); color: #fff; border-radius: 14px; text-align: center; text-decoration: none; font-weight: 800; font-size: 15px; box-shadow: 0 8px 22px rgba(249,115,22,0.3); }

/* -------- Main -------- */
main { position: relative; z-index: 1; }

.hero { text-align: center; padding: 70px 24px 40px; max-width: 780px; margin: 0 auto; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--orange-700);
  font-size: 12.5px; font-weight: 700;
  padding: 8px 16px; border-radius: 100px;
  border: 1px solid var(--orange-200);
  box-shadow: var(--shadow-sm); margin-bottom: 24px;
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; animation: pulse-dot 2s infinite; }
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(34,197,94,0.6); }
  70% { box-shadow: 0 0 0 10px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}

.hero-title {
  font-size: clamp(32px, 7vw, 56px);
  font-weight: 900; line-height: 1.1;
  letter-spacing: -0.025em; margin-bottom: 18px;
}
.gradient-text {
  background: linear-gradient(90deg, #ea580c, #f97316, #fb923c, #f97316, #ea580c);
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: grad 4s linear infinite;
}
@keyframes grad { 0% { background-position: 0% 50%; } 100% { background-position: 300% 50%; } }

.hero-sub { font-size: clamp(15px, 2.4vw, 17px); color: var(--ink-500); max-width: 560px; margin: 0 auto; line-height: 1.7; }

/* -------- Sections -------- */
.section { max-width: 1080px; margin: 0 auto; padding: 60px 24px; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(255,247,237,0.5), transparent); }
.section-title {
  text-align: center;
  font-size: clamp(24px, 4.5vw, 34px);
  font-weight: 900; letter-spacing: -0.02em; margin-bottom: 10px;
}
.section-sub { text-align: center; color: var(--ink-500); font-size: 15px; margin-bottom: 46px; }

/* -------- Feature grid -------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--card);
  border: 1px solid rgba(249,115,22,0.10);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s cubic-bezier(0.22,1,0.36,1);
  position: relative;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--orange-200);
}
.fc-icon {
  font-size: 34px;
  margin-bottom: 14px;
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.feature-card:hover .fc-icon { transform: scale(1.15) rotate(-8deg); }
.feature-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; color: var(--ink-900); }
.feature-card p { font-size: 14px; color: var(--ink-500); line-height: 1.6; }
.fc-tag {
  position: absolute; top: 20px; right: 20px;
  background: var(--orange-50); color: var(--orange-700);
  font-size: 10.5px; font-weight: 800;
  padding: 4px 10px; border-radius: 100px; letter-spacing: 0.05em;
}

/* -------- Split -------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.split-reverse .split-text { order: 2; }
.split-reverse .split-visual { order: 1; }
.split-text h3 { font-size: clamp(20px, 3.5vw, 28px); font-weight: 900; letter-spacing: -0.02em; margin-bottom: 14px; }
.split-text p { font-size: 14.5px; color: var(--ink-500); line-height: 1.7; margin-bottom: 20px; }

.check-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.check-list li {
  font-size: 14px; font-weight: 600; color: var(--ink-700);
  padding-left: 28px; position: relative; line-height: 1.5;
}
.check-list li::before {
  content: '✓';
  position: absolute; left: 0; top: 0;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--orange-100); color: var(--orange-600);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 11px;
}

/* -------- Phone mock -------- */
.phone-mock {
  background: #fff;
  border-radius: 24px;
  padding: 18px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--orange-100);
  max-width: 340px;
  margin: 0 auto;
}
.phone-header {
  font-size: 13px; font-weight: 800;
  color: var(--orange-700);
  padding-bottom: 12px;
  border-bottom: 1px solid #f4f4f5;
  margin-bottom: 14px;
  text-align: center;
}
.phone-body { display: flex; flex-direction: column; gap: 10px; }
.msg { padding: 10px 14px; border-radius: 14px; font-size: 12.5px; max-width: 80%; }
.msg b { display: block; font-size: 10.5px; font-weight: 800; color: var(--orange-600); margin-bottom: 3px; }
.msg p { color: var(--ink-700); line-height: 1.4; }
.msg-left { background: #f9fafb; align-self: flex-start; border-bottom-left-radius: 4px; }
.msg-right { background: var(--orange-100); align-self: flex-end; border-bottom-right-radius: 4px; }
.msg-right b { color: var(--orange-700); }

/* -------- Feed mock -------- */
.feed-mock { display: flex; flex-direction: column; gap: 14px; max-width: 340px; margin: 0 auto; }
.feed-card {
  background: #fff; border-radius: 18px; padding: 18px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--orange-100);
  transition: transform 0.3s ease;
}
.feed-card:hover { transform: translateY(-3px); }
.feed-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 13.5px; }
.avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, #fdba74, #f97316);
}
.feed-card > p { font-size: 13.5px; color: var(--ink-700); margin-bottom: 12px; line-height: 1.5; }
.feed-actions {
  display: flex; gap: 16px;
  font-size: 12px; font-weight: 700;
  color: var(--ink-500);
  padding-top: 10px;
  border-top: 1px solid #f4f4f5;
}

/* -------- Search demo -------- */
.search-demo {
  max-width: 560px;
  margin: 0 auto 26px;
  background: #fff;
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--orange-100);
}
.search-box {
  display: flex; align-items: center; gap: 12px;
  background: var(--orange-50);
  border-radius: 100px;
  padding: 13px 20px;
  margin-bottom: 16px;
  border: 1.5px solid var(--orange-100);
}
.search-icon { font-size: 17px; }
.search-box input {
  border: none; background: transparent;
  font-family: inherit; font-size: 14px;
  color: var(--ink-700); width: 100%; outline: none;
}
.search-results { display: flex; flex-direction: column; gap: 8px; }
.sr-item {
  display: flex; align-items: center; gap: 12px;
  font-size: 13.5px; font-weight: 600;
  color: var(--ink-700);
  padding: 10px 14px;
  border-radius: 12px;
  transition: background 0.2s;
}
.sr-item:hover { background: var(--orange-50); }
.sr-type {
  background: var(--orange-100);
  color: var(--orange-700);
  font-size: 10.5px; font-weight: 800;
  padding: 3px 9px; border-radius: 100px;
  letter-spacing: 0.03em;
  min-width: 62px; text-align: center;
}
.search-note {
  text-align: center;
  font-size: 14.5px;
  color: var(--ink-500);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}
.search-note b { color: var(--orange-600); }

/* -------- Jenna -------- */
.jenna-section { padding: 80px 24px; }
.jenna-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 50px;
  align-items: center;
  background: linear-gradient(135deg, #fff7ed 0%, #ffe9d5 100%);
  border-radius: 28px;
  padding: 50px 44px;
  border: 1px solid var(--orange-100);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.jenna-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.jenna-logo {
  width: 200px; height: 200px;
  object-fit: contain;
  position: relative; z-index: 2;
  animation: jenna-float 4s ease-in-out infinite;
  filter: drop-shadow(0 16px 40px rgba(249,115,22,0.35));
}
@keyframes jenna-float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.jenna-glow {
  position: absolute;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249,115,22,0.35), transparent 70%);
  animation: jenna-pulse 3s ease-in-out infinite;
  z-index: 1;
}
@keyframes jenna-pulse {
  0%,100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 0.4; }
}
.jenna-text { position: relative; z-index: 2; }
.jenna-badge {
  display: inline-block;
  background: #fff; color: var(--orange-700);
  font-size: 11.5px; font-weight: 800;
  padding: 6px 14px; border-radius: 100px;
  border: 1px solid var(--orange-200);
  margin-bottom: 14px;
  letter-spacing: 0.03em;
}
.jenna-text h2 {
  font-size: clamp(26px, 4.5vw, 40px);
  font-weight: 900; letter-spacing: -0.025em;
  margin-bottom: 14px;
}
.jenna-intro {
  font-size: 14.5px;
  color: var(--ink-500);
  line-height: 1.7;
  margin-bottom: 20px;
}
.jenna-text .check-list { margin-bottom: 24px; }

/* -------- Characters -------- */
.characters {
  display: flex;
  gap: 26px;
  overflow-x: auto;
  padding: 10px 4px 24px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  justify-content: flex-start;
}
.characters::-webkit-scrollbar { height: 4px; }
.characters::-webkit-scrollbar-thumb { background: var(--orange-200); border-radius: 4px; }
.char {
  flex: 0 0 auto;
  scroll-snap-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  transition: transform 0.3s ease;
}
.char:hover { transform: translateY(-6px); }
.char-avatar {
  position: relative;
  width: 88px; height: 88px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, #fdba74, #f97316);
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.char:hover .char-avatar { transform: scale(1.08); }
.char-avatar img {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
}
.char-status {
  position: absolute;
  bottom: 4px; right: 4px;
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 3px solid #fff;
  z-index: 2;
}
.char-status.online { background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,0.6); animation: pulse-dot 2s infinite; }
.char-status.away { background: #f59e0b; }
.char-status.offline { background: #a1a1aa; }
.char-name { font-size: 13px; font-weight: 700; color: var(--ink-700); }

/* -------- CTA -------- */
.cta-final { text-align: center; padding: 70px 24px 80px; }
.cta-logo { width: 74px; height: 74px; object-fit: contain; margin-bottom: 18px; }
.cta-final h2 { font-size: clamp(24px, 4.5vw, 34px); font-weight: 900; letter-spacing: -0.02em; margin-bottom: 10px; }
.cta-final p { color: var(--ink-500); font-size: 15px; margin-bottom: 26px; }

.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 30px; border-radius: 100px;
  font-family: inherit; font-size: 15px; font-weight: 700;
  text-decoration: none; cursor: pointer; border: none;
  transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
}
.btn-primary { background: var(--orange-500); color: #fff; box-shadow: 0 8px 24px rgba(249,115,22,0.32); }
.btn-primary:hover { background: var(--orange-600); transform: translateY(-2px); box-shadow: 0 14px 34px rgba(249,115,22,0.42); }
.btn-ghost { background: #fff; color: var(--orange-700); border: 1.5px solid var(--orange-200); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--orange-500); transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* -------- Footer -------- */
.footer {
  background: #fff;
  border-top: 1px solid rgba(249,115,22,0.12);
  padding: 40px 24px 20px;
  position: relative; z-index: 1;
}
.footer-inner {
  max-width: 1080px; margin: 0 auto 22px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px; flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink-900); }
.footer-brand img { width: 30px; height: 30px; }
.footer-brand b { color: var(--orange-500); }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: var(--ink-500); text-decoration: none; font-size: 13.5px; font-weight: 600; transition: color 0.2s; }
.footer-links a:hover { color: var(--orange-600); }
.copyright {
  text-align: center; font-size: 12.5px; color: var(--ink-400);
  padding-top: 18px; border-top: 1px solid #f4f4f5;
  max-width: 1080px; margin: 0 auto;
}

/* -------- Animations -------- */
[data-anim] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1),
              transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
[data-anim].visible { opacity: 1; transform: translateY(0); }

/* -------- Responsive -------- */
@media (max-width: 860px) {
  .nav-desktop { display: none; }
  .menu-toggle { display: flex; }
  .split, .jenna-wrapper { grid-template-columns: 1fr; gap: 30px; }
  .split-reverse .split-text { order: 1; }
  .split-reverse .split-visual { order: 2; }
  .jenna-wrapper { padding: 36px 24px; }
  .jenna-logo { width: 150px; height: 150px; }
}
@media (max-width: 480px) {
  .hero { padding: 44px 18px 24px; }
  .section { padding: 44px 18px; }
  .btn { padding: 13px 24px; font-size: 14px; }
  .char-avatar { width: 72px; height: 72px; }
  .feature-card { padding: 22px 20px; }
  .jenna-wrapper { padding: 30px 20px; }
}
