/* ═══════════════════════════════════════════════════════════════
   Batitrax — Site vitrine
   Palette : bleu marine #1a3a6e · bleu #1565c0 · accent #3b82f6
   ═══════════════════════════════════════════════════════════════ */
:root {
  --navy:    #1a3a6e;
  --blue:    #1565c0;
  --accent:  #3b82f6;
  --light:   #eef4ff;
  --muted:   #64748b;
  --border:  #dbe5ef;
  --white:   #ffffff;
  --bg:      #f7faff;
  --text:    #1e293b;
  --radius:  12px;
  --shadow:  0 4px 24px rgba(26,58,110,.10);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', system-ui, sans-serif; color: var(--text); background: var(--white); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Utilitaires ── */
.container { max-width: 1360px; margin: 0 auto; padding: 0 40px; }
.section    { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.text-center { text-align: center; }
.tag { display: inline-block; background: var(--light); color: var(--blue); font-size: .75em; font-weight: 700; padding: 3px 10px; border-radius: 20px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 12px; }
.label { font-size: .82em; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
h1,h2,h3,h4 { line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; color: var(--navy); }
h3 { font-size: 1.15rem; font-weight: 700; color: var(--navy); }
p  { color: var(--muted); }

/* ── Boutons ── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 28px; border-radius: 9px; font-weight: 700; font-size: .95rem; border: none; cursor: pointer; transition: all .18s; text-decoration: none; }
.btn-primary   { background: var(--blue); color: #fff; box-shadow: 0 2px 12px rgba(21,101,192,.25); }
.btn-primary:hover { background: #1d4ed8; text-decoration: none; color: #fff; transform: translateY(-1px); }
.btn-outline   { background: transparent; color: var(--navy); border: 2px solid var(--border); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.btn-white     { background: #fff; color: var(--blue); }
.btn-white:hover { background: var(--light); text-decoration: none; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-sm { padding: 8px 18px; font-size: .85rem; }

/* ══════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}
.nav-inner {
  max-width: 1160px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.3rem; color: var(--navy); text-decoration: none; }
.nav-logo .logo-icon { width: 36px; height: 36px; background: var(--navy); border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 1.1em; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { color: var(--muted); font-weight: 600; font-size: .92rem; transition: color .15s; text-decoration: none; }
.nav-links a:hover { color: var(--navy); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: all .2s; }

/* ══════════════════════════════════════
   HERO
   ══════════════════════════════════════ */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1d4ed8 60%, #3b82f6 100%);
  color: #fff; padding: 100px 0 80px; overflow: hidden; position: relative;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner { position: relative; display: flex; align-items: center; gap: 36px; }
.hero-content { flex: 0 0 520px; }
.hero-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); color: #fff; font-size: .8rem; font-weight: 700; padding: 5px 14px; border-radius: 20px; margin-bottom: 24px; text-transform: uppercase; letter-spacing: .05em; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 span { color: #93c5fd; }
.hero .subtitle { font-size: 1.15rem; color: rgba(255,255,255,.82); margin-bottom: 36px; max-width: 520px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual { flex: 1; min-width: 0; }
.hero-screen { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius); padding: 12px; backdrop-filter: blur(4px); }
.hero-screen-bar { display: flex; gap: 6px; margin-bottom: 14px; }
.hero-screen-bar span { width: 10px; height: 10px; border-radius: 50%; }
.hero-screen-bar span:nth-child(1) { background: #ff5f57; }
.hero-screen-bar span:nth-child(2) { background: #febc2e; }
.hero-screen-bar span:nth-child(3) { background: #28c840; }
.hero-screen-img { border-radius: 8px; background: rgba(255,255,255,.06); height: 260px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.3); font-size: .85em; }
.hero-stats { display: flex; gap: 36px; margin-top: 44px; padding-top: 36px; border-top: 1px solid rgba(255,255,255,.15); }
.hero-stat-val { font-size: 1.9rem; font-weight: 800; color: #fff; }
.hero-stat-lbl { font-size: .8rem; color: rgba(255,255,255,.65); margin-top: 2px; }

/* ══════════════════════════════════════
   LOGOS / SOCIAL PROOF
   ══════════════════════════════════════ */
.social-proof { background: var(--bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 28px 0; }
.social-proof-inner { display: flex; align-items: center; gap: 40px; justify-content: center; flex-wrap: wrap; }
.social-proof p { font-size: .85rem; color: var(--muted); font-weight: 600; white-space: nowrap; }
.social-proof-logos { display: flex; gap: 36px; align-items: center; flex-wrap: wrap; }
.logo-pill { background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 8px 20px; font-weight: 700; font-size: .88rem; color: var(--muted); }

/* ══════════════════════════════════════
   FEATURES GRID
   ══════════════════════════════════════ */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.feature-card { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 28px; transition: box-shadow .2s, border-color .2s; }
.feature-card:hover { box-shadow: var(--shadow); border-color: #bdd5f7; }
.feature-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--light); display: flex; align-items: center; justify-content: center; font-size: 1.4em; margin-bottom: 16px; }
.feature-card h3 { margin-bottom: 8px; }
.feature-card p { font-size: .9rem; }
.feature-list { list-style: none; margin-top: 10px; }
.feature-list li { font-size: .85rem; color: var(--muted); padding: 3px 0; display: flex; align-items: flex-start; gap: 7px; }
.feature-list li::before { content: '✓'; color: var(--accent); font-weight: 700; flex-shrink: 0; }

/* ══════════════════════════════════════
   SCREENSHOT PLACEHOLDER
   ══════════════════════════════════════ */
.screenshot-placeholder {
  background: var(--bg); border: 2px dashed var(--border);
  border-radius: var(--radius); height: 360px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--muted); font-size: .88em; gap: 10px;
}
.screenshot-placeholder .icon { font-size: 2.5em; }

/* ══════════════════════════════════════
   POURQUOI BATITRAX
   ══════════════════════════════════════ */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-top: 48px; }
.why-list { list-style: none; display: flex; flex-direction: column; gap: 20px; }
.why-item { display: flex; gap: 16px; }
.why-num { width: 36px; height: 36px; background: var(--navy); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .85rem; flex-shrink: 0; }
.why-item h4 { font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.why-item p { font-size: .88rem; }

/* ══════════════════════════════════════
   PRICING
   ══════════════════════════════════════ */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; margin-top: 48px; align-items: start; }
.pricing-card { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 32px; }
.pricing-card.featured { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(21,101,192,.08); }
.pricing-badge { display: inline-block; background: var(--blue); color: #fff; font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 20px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 12px; }
.pricing-name { font-size: 1.1rem; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.pricing-desc { font-size: .85rem; color: var(--muted); margin-bottom: 20px; min-height: 40px; }
.pricing-price { display: flex; align-items: flex-end; gap: 4px; margin-bottom: 6px; }
.pricing-amount { font-size: 2.6rem; font-weight: 800; color: var(--navy); line-height: 1; }
.pricing-period { font-size: .85rem; color: var(--muted); padding-bottom: 6px; }
.pricing-note { font-size: .78rem; color: var(--muted); margin-bottom: 24px; }
.pricing-divider { border: none; border-top: 1px solid var(--border); margin: 20px 0; }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.pricing-features li { font-size: .88rem; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; }
.pricing-features li .check { color: var(--accent); font-weight: 700; flex-shrink: 0; }
.pricing-features li .cross { color: #cbd5e1; flex-shrink: 0; }

/* ══════════════════════════════════════
   CTA BANDE
   ══════════════════════════════════════ */
.cta-band {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: #fff; padding: 80px 0; text-align: center;
}
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p  { color: rgba(255,255,255,.8); margin-bottom: 32px; font-size: 1.05rem; }
.cta-band .btn-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ══════════════════════════════════════
   CONTACT
   ══════════════════════════════════════ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 60px; margin-top: 48px; }
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-item { display: flex; gap: 16px; }
.contact-icon { width: 44px; height: 44px; background: var(--light); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.2em; flex-shrink: 0; }
.contact-item h4 { font-weight: 700; color: var(--navy); margin-bottom: 3px; font-size: .95rem; }
.contact-item p, .contact-item a { font-size: .88rem; color: var(--muted); }
.contact-form { background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 36px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: .83rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--border);
  border-radius: 8px; font-size: .9rem; font-family: inherit; color: var(--text);
  background: var(--white); transition: border-color .15s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(59,130,246,.12);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-success { display: none; background: #f0fdf4; border: 1.5px solid #86efac; border-radius: 8px; padding: 14px 18px; color: #16a34a; font-size: .9rem; font-weight: 600; margin-bottom: 16px; }

/* ══════════════════════════════════════
   MENTIONS / CGV (contenu textuel)
   ══════════════════════════════════════ */
.legal-content { max-width: 780px; margin: 0 auto; }
.legal-content h2 { font-size: 1.4rem; margin: 40px 0 12px; }
.legal-content h3 { font-size: 1.05rem; margin: 24px 0 8px; color: var(--navy); }
.legal-content p, .legal-content li { font-size: .9rem; color: var(--muted); margin-bottom: 10px; }
.legal-content ul { padding-left: 20px; }
.legal-content table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.legal-content th, .legal-content td { border: 1px solid var(--border); padding: 10px 14px; font-size: .88rem; text-align: left; }
.legal-content th { background: var(--bg); font-weight: 700; color: var(--navy); }

/* ══════════════════════════════════════
   FOOTER
   ══════════════════════════════════════ */
.footer { background: var(--navy); color: rgba(255,255,255,.7); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.1rem; color: #fff; margin-bottom: 14px; }
.footer-brand .logo-icon { width: 32px; height: 32px; background: rgba(255,255,255,.15); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.footer-desc { font-size: .85rem; line-height: 1.7; max-width: 240px; }
.footer-col h4 { color: #fff; font-size: .88rem; font-weight: 700; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .06em; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: rgba(255,255,255,.65); font-size: .85rem; transition: color .15s; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: .8rem; flex-wrap: wrap; gap: 12px; }

/* ══════════════════════════════════════
   PAGE HEADER (pages internes)
   ══════════════════════════════════════ */
.page-header { background: linear-gradient(135deg, var(--navy), #1d4ed8); color: #fff; padding: 64px 0 52px; }
.page-header h1 { font-size: clamp(1.6rem, 3vw, 2.4rem); color: #fff; margin-bottom: 10px; }
.page-header p  { color: rgba(255,255,255,.75); font-size: 1rem; }
.breadcrumb { display: flex; gap: 8px; font-size: .82rem; color: rgba(255,255,255,.55); margin-bottom: 16px; }
.breadcrumb a { color: rgba(255,255,255,.65); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }

/* ══════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════ */
@media (max-width: 900px) {
  .hero-inner      { flex-direction: column; }
  .hero-visual     { display: none; }
  .hero-content    { flex: none; width: 100%; }
  .why-grid        { grid-template-columns: 1fr; }
  .contact-grid    { grid-template-columns: 1fr; }
  .footer-grid     { grid-template-columns: 1fr 1fr; }
  .form-row        { grid-template-columns: 1fr; }
  .features-grid   { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links, .nav-actions .btn-outline { display: none; }
  .nav-toggle  { display: block; }
  .container   { padding: 0 20px; }
  .hero        { padding: 56px 0 44px; }
  .hero-stats  { flex-direction: column; gap: 16px; padding-top: 24px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .section     { padding: 44px 0; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .pricing-grid  { grid-template-columns: 1fr; }
  .why-grid > div:last-child { display: none; }
}

/* Mobile nav open */
.nav.open .nav-links {
  display: flex; flex-direction: column; position: absolute;
  top: 64px; left: 0; right: 0; background: #fff;
  border-bottom: 1px solid var(--border); padding: 20px 24px;
  gap: 18px; box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
