@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

/* ===========================
   VARONA AGENCY — PREMIUM DESIGN SYSTEM
   Inspiré des agences top-tier (Softriver, etc.)
   =========================== */

:root {
  /* Colors */
  --bg-body: #FAFAFA;
  --bg-surface: #FFFFFF;
  --bg-surface2: #F4F4F5;
  
  --text-primary: #09090B;
  --text-secondary: #52525B;
  --text-muted: #A1A1AA;
  
  --border: #E4E4E7;
  --border-light: #F4F4F5;
  --border-dark: #D4D4D8;
  
  --accent: #18181B; /* Noir profond pour un look ultra pro */
  --accent-hover: #27272A;
  --accent-blue: #2563EB; /* Bleu de réassurance (banque/tech) */
  --accent-blue-bg: #EFF6FF;
  
  /* Shadows - ultra soft */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.03), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.04), 0 2px 4px rgba(0, 0, 0, 0.02);
  
  /* Layout */
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-full: 999px;
  --navbar-h: 68px;
  --transition: 0.2s ease;
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  background: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; }

/* === TOP BANNER === */
.top-banner {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  padding: 8px 16px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  z-index: 1001;
  position: relative;
}
.status-dot {
  width: 6px; height: 6px;
  background: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5 { 
  font-weight: 500; 
  color: var(--text-primary); 
  letter-spacing: -0.03em;
  line-height: 1.1;
}
h1 { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -0.04em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); letter-spacing: -0.03em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); letter-spacing: -0.02em; }
h4 { font-size: 1.1rem; letter-spacing: -0.01em; }
p { color: var(--text-secondary); font-size: 1rem; line-height: 1.7; }
.text-accent { color: var(--accent-blue); }
.text-center { text-align: center; }

/* === LAYOUT === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }
.section-header { text-align: center; margin-bottom: 56px; max-width: 640px; margin-left: auto; margin-right: auto; }
.section-header p { margin-top: 16px; font-size: 1.1rem; }

/* === NAVBAR === */
.navbar {
  position: sticky;
  top: 0; left: 0; right: 0;
  height: var(--navbar-h);
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.nav-logo {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  display: flex; align-items: center; gap: 8px;
}
.nav-logo-icon {
  width: 24px; height: 24px;
  background: var(--text-primary);
  color: #fff;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
}
.nav-logo-icon svg { width: 14px; height: 14px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); }
.nav-cta {
  background: var(--accent) !important;
  color: #FFFFFF !important;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 500 !important;
  font-size: 0.85rem !important;
}
.nav-cta:hover { background: var(--accent-hover) !important; }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  transition: var(--transition);
}
.btn-primary {
  background: var(--accent);
  color: #FFFFFF;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-dark);
}
.btn-outline:hover {
  background: var(--bg-surface2);
}
.btn svg { width: 18px; height: 18px; }

/* === BADGE === */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}
.badge-icon { color: var(--text-muted); display: flex; }
.badge-icon svg { width: 14px; height: 14px; }

/* === GRIDS & CONTAINERS === */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* === BENTO BOXES & CARDS === */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}
.card:hover { border-color: var(--border-dark); box-shadow: var(--shadow-md); }

.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.bento-item {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.bento-icon {
  width: 32px; height: 32px;
  background: var(--bg-surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  color: var(--text-primary);
}
.bento-icon svg { width: 16px; height: 16px; }
.bento-title { font-size: 1.5rem; font-weight: 500; margin-bottom: 4px; color: var(--text-primary); letter-spacing: -0.03em; }
.bento-desc { font-size: 0.85rem; color: var(--text-secondary); }

/* === PRICING === */
.pricing-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
}
.pricing-card.featured {
  border: 2px solid var(--accent-blue);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.1);
}
.pricing-badge-pop {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent-blue);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  letter-spacing: 0;
}
.pricing-price {
  font-size: 3.5rem;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.05em;
  line-height: 1;
  margin: 20px 0 8px;
}
.pricing-price span { font-size: 1rem; color: var(--text-muted); font-weight: 400; letter-spacing: 0; }
.check-item {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 0.9rem; color: var(--text-secondary);
  margin-bottom: 12px;
}
.check-icon {
  width: 20px; height: 20px;
  background: var(--accent-blue-bg);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-blue);
  flex-shrink: 0;
  margin-top: 2px;
}
.check-icon svg { width: 12px; height: 12px; }

/* === COMPANIES BANNER === */
.company-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  opacity: 0.6;
  filter: grayscale(100%);
}
.company-logo { font-weight: 600; font-size: 1.25rem; letter-spacing: -0.04em; display:flex; align-items:center; gap:6px; }
.company-logo svg { width: 24px; height: 24px; }

/* === TESTIMONIALS === */
.testimonial {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.testi-header { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.testi-img {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  object-fit: cover;
}
.testi-name { font-weight: 500; font-size: 0.95rem; color: var(--text-primary); }
.testi-role { font-size: 0.85rem; color: var(--text-muted); }
.testi-quote { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.6; }

/* === FOOTER === */
footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; margin-bottom: 48px; }
.footer-title { font-weight: 500; font-size: 0.9rem; margin-bottom: 16px; color: var(--text-primary); }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: var(--text-secondary); font-size: 0.9rem; }
.footer-links a:hover { color: var(--text-primary); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--text-muted); }

/* MISC */
.fade-up { opacity: 0; transform: translateY(16px); animation: fadeUp 0.6s ease forwards; }
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }

/* MOBILE */
@media (max-width: 768px) {
  .grid-2, .grid-3, .bento-grid, .footer-grid { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
  .nav-links { display: none; }
}

/* === TABLE COMPARISON === */
.compare-table { width: 100%; border-collapse: collapse; margin-top: 64px; background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.compare-table th, .compare-table td { padding: 16px 24px; border-bottom: 1px solid var(--border); text-align: left; font-size: 0.95rem; }
.compare-table th { background: var(--bg-surface2); font-weight: 500; font-size: 0.9rem; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.5px; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table td:not(:first-child) { text-align: center; }
.compare-table svg { width: 20px; height: 20px; color: var(--accent-blue); }

/* === CHAT BUBBLE === */
.chat-widget { position: fixed; bottom: 24px; right: 24px; z-index: 9999; display: flex; flex-direction: column; align-items: flex-end; }
.chat-window { width: 320px; background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); margin-bottom: 16px; overflow: hidden; display: none; transform: translateY(10px); opacity: 0; transition: all 0.3s ease; }
.chat-window.open { display: block; transform: translateY(0); opacity: 1; }
.chat-header { background: var(--accent-blue); padding: 16px; color: #fff; font-weight: 500; display: flex; align-items: center; justify-content: space-between; }
.chat-body { padding: 16px; height: 250px; overflow-y: auto; background: var(--bg-surface2); display: flex; flex-direction: column; gap: 12px; }
.chat-msg { background: var(--bg-surface); padding: 10px 14px; border-radius: var(--radius); border: 1px solid var(--border); font-size: 0.9rem; max-width: 85%; }
.chat-msg.agent { align-self: flex-start; border-bottom-left-radius: 4px; }
.chat-msg.user { align-self: flex-end; background: var(--accent-blue); color: #fff; border: none; border-bottom-right-radius: 4px; }
.chat-input { display: flex; border-top: 1px solid var(--border); padding: 12px; background: var(--bg-surface); }
.chat-input input { flex: 1; border: none; background: none; outline: none; font-size: 0.9rem; color: var(--text-primary); }
.chat-input button { background: none; border: none; color: var(--accent-blue); cursor: pointer; display: flex; align-items: center; padding: 4px; }
.chat-toggle { width: 56px; height: 56px; border-radius: 50%; background: var(--accent-blue); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg); cursor: pointer; transition: transform 0.2s; border: none; }
.chat-toggle:hover { transform: scale(1.05); }

/* === FAQ FLEX === */
.faq-split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
.faq-form { background: var(--bg-surface); padding: 32px; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
@media (max-width: 768px) { .faq-split { grid-template-columns: 1fr; } }


/* Blue Accents as requested */
.process-item svg, .val-icon, .bento-icon, .faq-icon {
  color: var(--accent-blue) !important;
}

