/* ============================================
   Adnimi 3 — À propos
   ============================================ */

* { 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; }

/* -------- Vision band -------- */
.vision-band {
  display: flex; gap: 24px;
  background: linear-gradient(135deg, #fff7ed 0%, #ffe9d5 100%);
  border-radius: var(--radius);
  padding: 38px 36px;
  border: 1px solid var(--orange-100);
  box-shadow: var(--shadow-md);
  align-items: flex-start;
}
.vision-icon {
  font-size: 44px;
  flex-shrink: 0;
  line-height: 1;
  animation: breathe 3.5s ease-in-out infinite;
}
@keyframes breathe { 0%,100% { transform: scale(1); } 50% { transform: scale(1.08); } }
.vision-text h2 {
  font-size: clamp(20px, 3.5vw, 26px);
  font-weight: 900; letter-spacing: -0.02em;
  margin-bottom: 12px; color: var(--ink-900);
}
.vision-text p {
  font-size: 14.5px; color: var(--ink-500); line-height: 1.75;
}

/* -------- Timeline -------- */
.timeline {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding-left: 40px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 15px; top: 12px; bottom: 12px;
  width: 2px;
  background: linear-gradient(180deg, var(--orange-200), var(--orange-500), var(--orange-200));
  border-radius: 2px;
}

.tl-item {
  position: relative;
  margin-bottom: 38px;
}
.tl-item:last-child { margin-bottom: 0; }

.tl-dot {
  position: absolute;
  left: -33px; top: 6px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--orange-400);
  box-shadow: 0 0 0 4px rgba(249,115,22,0.12);
  z-index: 2;
  transition: all 0.4s ease;
}
.tl-item:hover .tl-dot {
  border-color: var(--orange-600);
  box-shadow: 0 0 0 8px rgba(249,115,22,0.18);
}
.tl-current .tl-dot {
  background: var(--orange-500);
  border-color: var(--orange-500);
  box-shadow: 0 0 0 6px rgba(249,115,22,0.22);
  animation: pulse-ring-tl 2s infinite;
}
@keyframes pulse-ring-tl {
  0% { box-shadow: 0 0 0 0 rgba(249,115,22,0.5); }
  70% { box-shadow: 0 0 0 14px rgba(249,115,22,0); }
  100% { box-shadow: 0 0 0 0 rgba(249,115,22,0); }
}

.tl-content {
  background: var(--card);
  border: 1px solid rgba(249,115,22,0.12);
  border-radius: var(--radius);
  padding: 26px 26px;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s cubic-bezier(0.22,1,0.36,1);
}
.tl-content:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
  border-color: var(--orange-200);
}
.tl-current .tl-content {
  background: linear-gradient(135deg, #fff7ed 0%, #ffffff 100%);
  border-color: var(--orange-300);
  box-shadow: var(--shadow-lg);
}

.tl-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 10px;
  flex-wrap: wrap; gap: 8px;
}
.tl-version {
  background: var(--orange-100);
  color: var(--orange-700);
  font-size: 13px; font-weight: 900;
  padding: 5px 14px; border-radius: 100px;
  letter-spacing: 0.03em;
}
.tl-version.current {
  background: var(--orange-500);
  color: #fff;
  box-shadow: 0 4px 12px rgba(249,115,22,0.35);
}
.tl-date {
  font-size: 12px; font-weight: 700;
  color: var(--ink-400);
  letter-spacing: 0.04em;
}
.tl-content h3 {
  font-size: 19px; font-weight: 800;
  margin-bottom: 10px; color: var(--ink-900);
}
.tl-content p {
  font-size: 14px; color: var(--ink-500);
  line-height: 1.7; margin-bottom: 14px;
}
.tl-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  background: #f4f4f5;
  color: var(--ink-700);
  font-size: 11.5px; font-weight: 700;
  padding: 5px 12px; border-radius: 100px;
}
.tl-current .tag {
  background: #fff;
  color: var(--orange-700);
  border: 1px solid var(--orange-200);
}
.tl-warning {
  margin-top: 14px;
  background: #fef3c7;
  border-left: 3px solid #f59e0b;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 13px;
  color: #78350f;
  line-height: 1.6;
}
.tl-warning b { color: #92400e; }

/* -------- Fixes (avant/après) -------- */
.fixes {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: stretch;
  margin-bottom: 22px;
}
.fixes:last-child { margin-bottom: 0; }

.fix-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px 24px;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s ease;
}
.fix-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.fix-old { border: 1px solid #fecaca; background: #fff5f5; }
.fix-new { border: 1px solid #bbf7d0; background: #f0fdf4; }

.fix-label {
  display: inline-block;
  font-size: 10.5px; font-weight: 900;
  padding: 4px 12px; border-radius: 100px;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.fix-label.old { background: #fee2e2; color: #b91c1c; }
.fix-label.new { background: #dcfce7; color: #15803d; }

.fix-card h3 {
  font-size: 16px; font-weight: 800;
  margin-bottom: 8px; color: var(--ink-900);
}
.fix-card p {
  font-size: 13.5px; color: var(--ink-500);
  line-height: 1.65;
}

.fix-arrow {
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; color: var(--orange-500); font-weight: 900;
  padding: 0 8px;
}

/* -------- Compare grid -------- */
.compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.compare-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);
  text-align: center;
}
.compare-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--orange-200);
}
.cc-icon {
  font-size: 38px;
  margin-bottom: 14px;
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.compare-card:hover .cc-icon { transform: scale(1.15) rotate(-8deg); }
.compare-card h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.compare-card p { font-size: 13.5px; color: var(--ink-500); line-height: 1.6; }

/* -------- Values -------- */
.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.value {
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid rgba(249,115,22,0.10);
  box-shadow: var(--shadow-sm);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}
.value::after {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 100px; height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249,115,22,0.12), transparent 70%);
  transition: transform 0.4s ease;
}
.value:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value:hover::after { transform: scale(1.4); }
.value-num {
  font-size: 12px; font-weight: 900;
  color: var(--orange-500);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 10px;
}
.value h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.value p { font-size: 13.5px; color: var(--ink-500); line-height: 1.6; }

/* -------- 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; }
  .fixes { grid-template-columns: 1fr; }
  .fix-arrow { transform: rotate(90deg); padding: 6px 0; }
  .vision-band { flex-direction: column; padding: 28px 24px; gap: 16px; }
}
@media (max-width: 480px) {
  .hero { padding: 44px 18px 24px; }
  .section { padding: 44px 18px; }
  .btn { padding: 13px 24px; font-size: 14px; }
  .timeline { padding-left: 32px; }
  .tl-dot { left: -25px; }
  .tl-content { padding: 20px 20px; }
  .fix-card { padding: 20px 18px; }
  .compare-card, .value { padding: 22px 20px; }
}
