/* =====================================================================
   Export Distrib - Design System
   Source of truth: export-distrib.com (17-App/nouveau site/)
   A utility/component-class system. No JS components: style by applying
   these classes to plain HTML/JSX. Brand = blue #5271FF + orange #ff914d
   on navy #1a1a2e, headings in Saira, body in Inter.
   ===================================================================== */

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

/* ===== VARIABLES (brand tokens) ===== */
:root {
  --blue:        #5271FF;
  --blue-dark:   #3c5ae6;
  --blue-light:  #e8ecff;
  --navy:        #1a1a2e;
  --orange:      #ff914d;
  --orange-dark: #e87d3a;
  --orange-light:#fff3eb;
  --gray-50:     #f8f9fc;
  --gray-100:    #f1f3f8;
  --gray-200:    #e2e5ef;
  --gray-500:    #6b7280;
  --gray-700:    #374151;
  --white:       #ffffff;

  --font-head: 'Saira', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-card: 16px;
  --radius-pill: 50px;
  --radius-chip: 14px;
  --shadow-card:       0 4px 20px rgba(0,0,0,0.06);
  --shadow-card-hover: 0 20px 40px rgba(82,113,255,0.10);
  --shadow-btn:        0 4px 20px rgba(82,113,255,0.30);

  --section-padding: 100px 0;
  --container-width: 1140px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: var(--font-body);
  color: var(--navy);
  line-height: 1.6;
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.2; overflow-wrap: break-word; }
h1 { font-size: clamp(1.4rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); color: var(--navy); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
p  { color: var(--gray-700); }

.section-label {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}
.section-title { margin-bottom: 20px; }
.section-subtitle { font-size: 1.1rem; color: var(--gray-500); max-width: 600px; }
.text-center { text-align: center; }
.text-center .section-subtitle { margin-inline: auto; }

/* ===== CONTAINER ===== */
.container { width: 90%; max-width: var(--container-width); margin: 0 auto; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 500; font-size: 1rem;
  padding: 14px 32px; border-radius: var(--radius-pill);
  border: none; cursor: pointer; transition: all 0.3s ease;
}
.btn-primary { background: var(--blue); color: var(--white); box-shadow: var(--shadow-btn); }
.btn-primary:hover { background: var(--blue-dark); box-shadow: 0 6px 30px rgba(82,113,255,0.4); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
.btn-outline:hover { background: var(--blue); color: var(--white); }
.btn-white { background: var(--white); color: var(--blue); box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 6px 30px rgba(0,0,0,0.15); }

/* Orange CTA (used in nav + section CTAs) */
.btn-diagnostic {
  display: inline-block; padding: 16px 32px;
  background: linear-gradient(135deg, var(--orange), #ff6b2b);
  color: var(--white); font-family: var(--font-head);
  font-size: 1.05rem; font-weight: 600;
  border-radius: var(--radius-pill); text-align: center;
  box-shadow: 0 4px 20px rgba(255,145,77,0.4);
  transition: all 0.3s ease; border: none; cursor: pointer;
}
.btn-diagnostic:hover { transform: translateY(-2px); box-shadow: 0 6px 30px rgba(255,145,77,0.6); }

/* ===== NAVIGATION ===== */
.nav { position: relative; z-index: 1000; padding: 16px 0; transition: all 0.3s ease; }
.nav.scrolled {
  background: rgba(255,255,255,0.95); backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08); padding: 10px 0;
}
.nav .container { display: flex; align-items: center; justify-content: space-between; }
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; color: var(--white);
}
.nav.scrolled .nav-logo { color: var(--navy); }
.nav-logo img { height: 42px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-family: var(--font-head); font-size: 0.9rem; font-weight: 500;
  color: rgba(255,255,255,0.85); transition: color 0.3s; position: relative;
}
.nav.scrolled .nav-links a { color: var(--gray-700); }
.nav-links a:hover { color: var(--white); }
.nav.scrolled .nav-links a:hover { color: var(--blue); }
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--orange); transition: width 0.3s;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  padding: 10px 24px !important; font-size: 0.85rem !important;
  background: var(--orange) !important; color: var(--white) !important;
  border-radius: var(--radius-pill); font-family: var(--font-head);
  font-weight: 500; transition: all 0.3s ease; border: none; cursor: pointer;
}
.nav-cta:hover { background: var(--orange-dark) !important; transform: translateY(-1px); }
.nav-cta::after { display: none !important; }

/* ===== HERO ===== */
.hero {
  position: relative; display: flex; align-items: center; padding: 80px 0;
  background: linear-gradient(135deg, var(--navy) 0%, #16213e 50%, #0f3460 100%);
  overflow: hidden;
}
.hero-tagline {
  display: inline-block; font-family: var(--font-head);
  font-size: 0.75rem; font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
  color: var(--orange); margin-bottom: 12px; padding: 6px 16px;
  border: 1px solid rgba(255,145,77,0.4); border-radius: 20px; background: rgba(255,145,77,0.1);
}
.hero-content h1 { color: var(--white); margin-bottom: 24px; }
.hero-content h1 .highlight {
  background: linear-gradient(135deg, var(--orange), #ffb380);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-content p { color: rgba(255,255,255,0.75); font-size: 1.15rem; margin-bottom: 36px; max-width: 480px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

/* ===== STATS BAR ===== */
.stats-bar { background: var(--gray-50); padding: 40px 0; box-shadow: 0 4px 20px rgba(0,0,0,0.04); }
.stats-bar .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.stat-item { text-align: center; }
.stat-number { font-family: var(--font-head); font-size: 2.5rem; font-weight: 700; color: var(--blue); line-height: 1; }
.stat-number .accent, .stat-label .accent { color: var(--orange); font-weight: 700; }
.stat-label { font-size: 0.9rem; color: var(--gray-500); margin-top: 8px; }

/* ===== METHODE CARDS ===== */
.methode-card {
  background: var(--white); border-radius: var(--radius-card); padding: 36px 28px;
  text-align: center; position: relative; border: 1px solid var(--gray-200); transition: all 0.3s ease;
}
.methode-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-card-hover); border-color: var(--blue); }
.methode-step {
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
  width: 32px; height: 32px; border-radius: 50%; background: var(--blue); color: var(--white);
  font-family: var(--font-head); font-weight: 600; font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
}
.methode-icon {
  width: 56px; height: 56px; border-radius: var(--radius-chip); background: var(--blue-light);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 1.5rem;
}
.methode-card h3 { margin-bottom: 12px; color: var(--navy); }
.methode-card p { font-size: 0.9rem; }

/* ===== SERVICES / PACKS ===== */
.pack-card {
  border-radius: 20px; padding: 40px 32px; text-align: center; position: relative; overflow: hidden;
  transition: all 0.4s ease; border: 2px solid var(--gray-200); background: var(--white);
  display: flex; flex-direction: column;
}
.pack-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(82,113,255,0.12); }
.pack-card.featured {
  border-color: var(--blue);
  background: linear-gradient(180deg, var(--blue-light) 0%, var(--white) 100%);
  box-shadow: 0 20px 50px rgba(82,113,255,0.15);
}
.pack-badge {
  display: inline-block; background: var(--orange); color: var(--white);
  font-family: var(--font-head); font-size: 0.7rem; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; padding: 4px 14px; border-radius: 20px;
}
.pack-phase { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--blue); margin-bottom: 4px; }
.pack-card h3 { font-size: 1.4rem; color: var(--navy); margin-bottom: 8px; margin-top: 16px; }
.pack-price { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; color: var(--blue); margin-bottom: 8px; }
.pack-objective { font-size: 0.88rem; color: var(--gray-700); font-style: italic; margin-bottom: 20px; }
.pack-separator { height: 1px; background: var(--gray-200); margin: 16px 0; }
.pack-includes { font-size: 0.82rem; color: var(--blue); font-weight: 600; margin-bottom: 8px; text-align: left; }
.pack-card ul { margin-bottom: 30px; flex-grow: 1; text-align: left; }
.pack-card li {
  padding: 10px 0; border-bottom: 1px solid var(--gray-100); font-size: 0.95rem; color: var(--gray-700);
  display: flex; align-items: flex-start; gap: 10px;
}
.pack-card li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); flex-shrink: 0; margin-top: 7px; }
.pack-card li:last-child { border: none; }
.pack-card .btn { align-self: center; justify-content: center; }

/* ===== CARD (generic surface) ===== */
.card {
  background: var(--white); border-radius: var(--radius-card);
  box-shadow: var(--shadow-card); padding: 24px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }

/* ===== CHIP / BADGE ===== */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-head); font-size: 0.8rem; font-weight: 500;
  padding: 4px 12px; border-radius: var(--radius-chip);
  background: var(--blue-light); color: var(--blue);
}

/* ===== TESTIMONIAL ===== */
.testimonial-card {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-card);
  padding: 28px; box-shadow: var(--shadow-card);
}
.testimonial-card p { color: var(--gray-700); font-size: 0.98rem; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-author img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.testimonial-author strong { display: block; color: var(--navy); font-family: var(--font-head); font-size: 0.95rem; }
.testimonial-author span { color: var(--gray-500); font-size: 0.82rem; }

/* ===== SUCCESS SECTION (dark) ===== */
.success { background: var(--navy); color: var(--white); }
.success h2 { color: var(--white); }
.success .section-subtitle { color: rgba(255,255,255,0.6); }
.success-list li {
  display: flex; align-items: center; gap: 12px; padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08); color: rgba(255,255,255,0.75); font-size: 0.95rem;
}
.success-list li .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); flex-shrink: 0; }
.success-list li strong { color: var(--white); }

/* ===== PARTNERS (logo strip) ===== */
.partners-row { display: flex; align-items: center; justify-content: center; gap: 30px 40px; flex-wrap: wrap; }
.partners-row img { height: 50px; width: 120px; object-fit: contain; filter: grayscale(60%); opacity: 0.8; transition: all 0.3s ease; }
.partners-row img:hover { filter: grayscale(0%); opacity: 1; transform: scale(1.1); }

/* ===== FORMS ===== */
.contact-form { background: var(--white); border-radius: 20px; padding: 40px; }
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group label { display: block; font-family: var(--font-head); font-size: 0.85rem; font-weight: 500; color: var(--navy); margin-bottom: 8px; }
.form-group input, .form-group textarea {
  width: 100%; padding: 14px 18px; border: 2px solid var(--gray-200); border-radius: 12px;
  font-family: var(--font-body); font-size: 0.95rem; color: var(--navy);
  outline: none; transition: border-color 0.3s; background: var(--gray-50);
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 4px rgba(82,113,255,0.1); }
.form-group textarea { height: 140px; resize: vertical; }
.form-submit {
  width: 100%; padding: 16px; background: var(--orange); color: var(--white);
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  border: none; border-radius: 12px; cursor: pointer; transition: all 0.3s ease;
}
.form-submit:hover { background: var(--orange-dark); transform: translateY(-2px); }

/* ===== FOOTER ===== */
.footer { background: #111126; color: rgba(255,255,255,0.5); padding: 40px 0; font-size: 0.85rem; }
.footer .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: rgba(255,255,255,0.5); transition: color 0.3s; }
.footer-links a:hover { color: var(--orange); }
