/* ── Tokens ── */
:root {
  --ink: #1A1D21;
  --ink-light: #2D3137;
  --orange: #FF6B1A;
  --orange-dark: #E0560D;
  --chalk: #F5F3EF;
  --white: #FFFFFF;
  --grey: #6B7280;
  --grey-line: #E5E2DC;
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .nav-logo-text, .footer-logo-text {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 10px;
  font-weight: 700; font-size: 0.95rem;
  border: none; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: white; box-shadow: 0 4px 14px rgba(255,107,26,0.35); }
.btn-primary:hover { background: var(--orange-dark); }
.btn-outline { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.btn-outline:hover { background: var(--ink); color: white; }

/* ── Nav ── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--grey-line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo-icon {
  width: 36px; height: 36px; border-radius: 9px;
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
}
.nav-logo-text { font-size: 1.2rem; color: var(--ink); }
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-weight: 600; font-size: 0.92rem; color: var(--grey); }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; gap: 10px; }
.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.nav-burger span { width: 24px; height: 2px; background: var(--ink); }

.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: var(--ink); flex-direction: column; align-items: center; justify-content: center; gap: 28px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { color: white; font-size: 1.4rem; font-weight: 700; }
.mobile-menu-close { position: absolute; top: 24px; right: 24px; background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; }

/* ── Hero ── */
.hero { background: var(--ink); color: white; padding: 64px 0 96px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,107,26,0.15); color: var(--orange);
  border: 1px solid rgba(255,107,26,0.35);
  padding: 8px 16px; border-radius: 100px;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.02em;
  margin-bottom: 28px;
}
.hero-badge-stripe {
  width: 14px; height: 14px; border-radius: 3px;
  background: repeating-linear-gradient(45deg, var(--orange) 0 3px, var(--ink) 3px 6px);
}

.hero-title { font-size: 3rem; line-height: 1.08; margin-bottom: 24px; }
.hero-title span { color: var(--orange); }
.hero-subtitle { font-size: 1.1rem; color: rgba(255,255,255,0.72); max-width: 520px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-actions .btn-outline { border-color: rgba(255,255,255,0.4); color: white; }
.hero-actions .btn-outline:hover { background: white; color: var(--ink); }

.hero-stats { display: flex; gap: 40px; }
.hero-stat-value { font-family: 'JetBrains Mono', monospace; font-size: 1.6rem; font-weight: 700; color: var(--orange); }
.hero-stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.6); margin-top: 2px; }

/* ── Devis mock (hero signature) ── */
.devis-mock {
  background: var(--ink-light); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px; padding: 28px; box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}
.devis-mock-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.devis-mock-num { font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: 0.95rem; }
.devis-mock-status {
  background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.7);
  font-size: 0.72rem; font-weight: 700; padding: 4px 10px; border-radius: 100px;
}
.devis-mock-client { font-size: 0.82rem; color: rgba(255,255,255,0.5); margin-bottom: 20px; }
.devis-mock-lines { display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; }
.devis-line {
  display: flex; justify-content: space-between; gap: 12px;
  padding-bottom: 14px; border-bottom: 1px dashed rgba(255,255,255,0.12);
  opacity: 0; animation: lineIn 0.5s ease forwards;
}
.devis-line-label { font-size: 0.9rem; color: rgba(255,255,255,0.85); }
.devis-line-amount { font-family: 'JetBrains Mono', monospace; font-weight: 600; white-space: nowrap; }
@keyframes lineIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.devis-mock-total {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 6px; opacity: 0; animation: lineIn 0.5s ease forwards;
}
.devis-mock-total span:first-child { font-weight: 700; font-size: 0.95rem; }
.devis-mock-total-value { font-family: 'JetBrains Mono', monospace; font-size: 1.5rem; font-weight: 700; color: var(--orange); }

/* ── Sections ── */
.section { padding: 96px 0; }
.section-alt { background: var(--chalk); }
.section-tag {
  display: inline-block; color: var(--orange); font-weight: 700;
  font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 14px;
}
.section-title { font-size: 2.2rem; line-height: 1.15; margin-bottom: 16px; text-align: center; }
.section-subtitle { color: var(--grey); font-size: 1.05rem; max-width: 560px; margin: 0 auto; text-align: center; }

/* ── Métiers ── */
.metiers-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px;
}
.metier-card {
  background: var(--white); border: 1px solid var(--grey-line); border-radius: var(--radius);
  padding: 28px 16px; text-align: center; transition: border-color 0.2s, transform 0.2s;
}
.metier-card:hover { border-color: var(--orange); transform: translateY(-3px); }
.metier-icon { font-size: 2rem; margin-bottom: 10px; }
.metier-name { font-weight: 700; font-size: 0.92rem; }

/* ── Features ── */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.feature-card { background: var(--white); border: 1px solid var(--grey-line); border-radius: var(--radius); padding: 28px; }
.feature-icon { font-size: 1.8rem; margin-bottom: 14px; }
.feature-title { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 1.05rem; margin-bottom: 8px; }
.feature-desc { color: var(--grey); font-size: 0.92rem; }

/* ── Pricing ── */
.pricing-single { max-width: 460px; margin: 56px auto 0; }
.pricing-card-main {
  background: var(--ink); color: white; border-radius: 20px; padding: 40px 32px;
  text-align: center; position: relative; overflow: hidden;
}
.pricing-card-main::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 6px;
  background: repeating-linear-gradient(45deg, var(--orange) 0 14px, var(--ink-light) 14px 28px);
}
.pricing-card-main-badge {
  display: inline-block; background: rgba(255,107,26,0.15); color: var(--orange);
  font-size: 0.78rem; font-weight: 700; padding: 6px 14px; border-radius: 100px; margin-bottom: 18px;
}
.pricing-card-main-name { font-size: 1.6rem; margin-bottom: 10px; }
.pricing-card-main-desc { color: rgba(255,255,255,0.65); font-size: 0.92rem; margin-bottom: 24px; }
.pricing-features { text-align: left; display: flex; flex-direction: column; gap: 12px; font-size: 0.92rem; color: rgba(255,255,255,0.85); }

/* ── About ── */
.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; }
.about-text { color: var(--grey); margin-bottom: 16px; line-height: 1.7; }
.about-badge-card {
  background: var(--ink); color: white; border-radius: 20px; padding: 48px 32px;
  font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 1.4rem; text-align: center;
}

/* ── Alerte ── */
.alerte-section { background: var(--orange); }
.alerte-box { text-align: center; max-width: 560px; margin: 0 auto; }
.alerte-title { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 2rem; color: var(--ink); margin-bottom: 12px; }
.alerte-subtitle { color: rgba(26,29,33,0.75); margin-bottom: 28px; }
.alerte-form { display: flex; gap: 10px; margin-bottom: 14px; }
.alerte-input {
  flex: 1; padding: 14px 18px; border-radius: 10px; border: none; font-size: 0.95rem; font-family: 'Inter', sans-serif;
}
.alerte-form .btn-primary { background: var(--ink); box-shadow: none; }
.alerte-form .btn-primary:hover { background: var(--ink-light); }
.alerte-note { font-size: 0.8rem; color: rgba(26,29,33,0.6); }

/* ── Footer ── */
.footer { background: var(--ink); color: white; padding: 64px 0 32px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-logo-text { font-size: 1.3rem; margin-bottom: 10px; }
.footer-brand-desc { color: rgba(255,255,255,0.55); font-size: 0.9rem; max-width: 280px; }
.footer-col-title { font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; color: rgba(255,255,255,0.5); margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: rgba(255,255,255,0.75); font-size: 0.92rem; }
.footer-links a:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; color: rgba(255,255,255,0.6);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.2rem; }
  .metiers-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .alerte-form { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .devis-line, .devis-mock-total { animation: none; opacity: 1; }
}
