/* ============================================
   Adnimi 3 — Feuille de style principale
   Thème clair, orange, Montserrat
   ============================================ */

* { 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 de fond -------- */
.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.45;
  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: 40%; left: 55%;
  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);
}

/* -------- Mobile menu -------- */
.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 / Hero -------- */
main { position: relative; z-index: 1; }

.hero {
  text-align: center;
  padding: 70px 24px 50px;
  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: 26px;
  letter-spacing: 0.02em;
}
.badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34,197,94,0.6);
  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-logo {
  width: 120px; height: 120px;
  object-fit: contain;
  margin: 0 auto 22px;
  display: block;
  animation: breathe 3.5s ease-in-out infinite;
  filter: drop-shadow(0 12px 30px rgba(249,115,22,0.25));
}
@keyframes breathe {
  0%,100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.hero-title {
  font-size: clamp(36px, 8vw, 62px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}
.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 32px;
  line-height: 1.7;
}
.hero-sub b { color: var(--ink-900); font-weight: 700; }

.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);
  letter-spacing: 0.01em;
}
.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);
}

/* -------- Sections -------- */
.section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 60px 24px;
}
.section-title {
  text-align: center;
  font-size: clamp(24px, 4.5vw, 36px);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.section-sub {
  text-align: center;
  color: var(--ink-500);
  font-size: 15px;
  margin-bottom: 48px;
}

/* -------- Piliers -------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.pillar {
  background: var(--card);
  border: 1px solid rgba(249,115,22,0.10);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s cubic-bezier(0.22,1,0.36,1);
  position: relative;
  overflow: hidden;
}
.pillar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--orange-400), var(--orange-600));
  opacity: 0;
  transition: opacity 0.3s;
}
.pillar:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--orange-200);
}
.pillar:hover::before { opacity: 1; }

.pillar-icon {
  font-size: 38px;
  margin-bottom: 14px;
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.pillar:hover .pillar-icon { transform: scale(1.15) rotate(-6deg); }

.pillar h3 {
  font-size: 21px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--ink-900);
}
.pillar p {
  font-size: 14.5px;
  color: var(--ink-500);
  margin-bottom: 16px;
  line-height: 1.6;
}
.pillar-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pillar-list li {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-700);
  padding-left: 22px;
  position: relative;
}
.pillar-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--orange-500);
  font-weight: 900;
}

/* -------- Feature band -------- */
.feature-band {
  background: linear-gradient(135deg, #fff7ed 0%, #ffe9d5 100%);
  border-radius: var(--radius);
  padding: 44px 38px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 30px;
  align-items: center;
  border: 1px solid var(--orange-100);
  box-shadow: var(--shadow-md);
}
.band-text h2 {
  font-size: clamp(22px, 3.5vw, 30px);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  color: var(--ink-900);
}
.band-text p {
  color: var(--ink-500);
  font-size: 14.5px;
  line-height: 1.65;
}
.band-stats {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.stat {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  border: 1px solid var(--orange-100);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.stat b {
  font-size: 24px;
  font-weight: 900;
  color: var(--orange-600);
}
.stat span {
  font-size: 13px;
  color: var(--ink-500);
  font-weight: 600;
}

/* -------- Changelog -------- */
.changelog {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 720px;
  margin: 0 auto;
}
.change-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--card);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  border: 1px solid rgba(249,115,22,0.10);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}
.change-item:hover {
  transform: translateX(6px);
  border-color: var(--orange-300);
  box-shadow: var(--shadow-md);
}
.change-tag {
  background: var(--orange-100);
  color: var(--orange-700);
  font-size: 11px;
  font-weight: 900;
  padding: 6px 12px;
  border-radius: 100px;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.change-item h4 {
  font-size: 15.5px;
  font-weight: 800;
  margin-bottom: 4px;
  color: var(--ink-900);
}
.change-item p {
  font-size: 13.5px;
  color: var(--ink-500);
  line-height: 1.55;
}

/* -------- CTA final -------- */
.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;
}

/* -------- 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 d'apparition -------- */
[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; }
  .feature-band {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }
  .band-stats { flex-direction: row; }
  .stat {
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 14px;
  }
  .stat b { font-size: 20px; }
}
@media (max-width: 480px) {
  .hero { padding: 44px 18px 32px; }
  .hero-logo { width: 96px; height: 96px; }
  .section { padding: 44px 18px; }
  .btn { padding: 13px 24px; font-size: 14px; }
  .footer-links { gap: 14px; }
  .footer-links a { font-size: 12.5px; }
}
