:root {
  --primary: #007782;
  --primary-dark: #005f68;
  --primary-light: #e6f2f3;
  --text: #1a1a1a;
  --muted: #6b6b6b;
  --border: #e4e4e4;
  --bg-soft: #f6f7f7;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.5;
}
a { color: inherit; }

/* HEADER */
header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-size: 26px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.5px;
}
nav { display: flex; align-items: center; gap: 28px; }
nav a.link { color: var(--text); text-decoration: none; font-size: 15px; }
nav a.link:hover { color: var(--primary); }

/* BOUTONS */
.btn-outline {
  display: inline-block;
  border: 1px solid var(--primary);
  color: var(--primary);
  background: #fff;
  padding: 9px 20px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}
.btn-outline:hover { background: var(--primary-light); }
.btn-primary {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--primary);
  color: #fff;
  padding: 13px 20px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
}
.btn-primary:hover { background: var(--primary-dark); }

/* HERO */
.hero { background: var(--primary-light); padding: 72px 24px 96px; }
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 48px;
}
.hero-card {
  background: #fff;
  border-radius: 8px;
  padding: 40px;
  max-width: 440px;
  flex-shrink: 0;
}
.hero-card h1 { font-size: 32px; line-height: 1.2; margin-bottom: 14px; }
.hero-card p { color: var(--muted); margin-bottom: 24px; font-size: 16px; }
.hero-visual { flex: 1; display: flex; justify-content: center; }
.ticket {
  background: #fff;
  width: 280px;
  padding: 24px;
  border-radius: 6px;
  border: 1px solid var(--border);
  font-family: "Courier New", monospace;
  font-size: 13px;
  transform: rotate(3deg);
}
.ticket h4 { text-align: center; margin-bottom: 12px; font-size: 15px; }
.ticket .row { display: flex; justify-content: space-between; padding: 4px 0; }
.ticket .total {
  border-top: 1px dashed #999;
  margin-top: 10px;
  padding-top: 10px;
  font-weight: 700;
}

/* CHIFFRES CLES */
.stats {
  max-width: 1000px;
  margin: -48px auto 0;
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  padding: 28px 16px;
}
.stat { flex: 1; text-align: center; border-right: 1px solid var(--border); padding: 0 12px; }
.stat:last-child { border-right: none; }
.stat strong { display: block; font-size: 28px; color: var(--primary); }
.stat span { font-size: 14px; color: var(--muted); }

/* SECTIONS */
.section { max-width: 1100px; margin: 0 auto; padding: 72px 24px; }
.soft { background: var(--bg-soft); }
.section h2 { font-size: 28px; text-align: center; margin-bottom: 8px; }
.section .sub { text-align: center; color: var(--muted); margin-bottom: 40px; }

.split { display: flex; align-items: center; gap: 56px; }
.split.reverse { flex-direction: row-reverse; }
.split .text { flex: 1; }
.split .text h2 { text-align: left; }
.split .text p { color: var(--muted); margin-bottom: 14px; }
.split .text ul { list-style: none; margin-top: 16px; }
.split .text li { padding: 6px 0 6px 26px; position: relative; }
.split .text li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}
.split .visual { flex: 1; }

/* MOCK FORMULAIRE */
.mock {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
}
.mock .field { margin-bottom: 14px; }
.mock label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.mock .input {
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 10px 12px;
  font-size: 15px;
  background: #fff;
}
.mock .suggest {
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 4px 4px;
  font-size: 14px;
}
.mock .suggest div { padding: 8px 12px; }
.mock .suggest div:first-child { background: var(--primary-light); }
.mock .suggest small { color: var(--muted); display: block; }
.mock .btn-fake {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 12px;
  border-radius: 4px;
  font-weight: 500;
  margin-top: 6px;
}

/* ETAPES */
.steps { display: flex; gap: 24px; }
.step {
  flex: 1;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px 24px;
  text-align: center;
}
.step .num {
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  margin: 0 auto 14px;
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* FONCTIONNALITES */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 26px 22px;
}
.feature h3 { font-size: 17px; margin-bottom: 8px; color: var(--primary); }
.feature p { color: var(--muted); font-size: 15px; }

/* RAPPORT */
.report { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 24px; }
.report h4 { margin-bottom: 4px; }
.report .total { font-size: 30px; font-weight: 700; color: var(--primary); margin-bottom: 16px; }
.bar { margin-bottom: 12px; font-size: 14px; }
.bar .label { display: flex; justify-content: space-between; margin-bottom: 4px; }
.bar .track { background: var(--bg-soft); border-radius: 4px; height: 8px; }
.bar .fill { background: var(--primary); height: 8px; border-radius: 4px; }

/* CATEGORIES */
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chip {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 20px;
  padding: 8px 18px;
  font-size: 15px;
}

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
details { border-bottom: 1px solid var(--border); padding: 16px 0; }
summary { cursor: pointer; font-weight: 500; font-size: 17px; }
details p { color: var(--muted); margin-top: 10px; }

/* CTA */
.cta { background: var(--primary-light); text-align: center; padding: 64px 24px; }
.cta h2 { font-size: 28px; margin-bottom: 8px; }
.cta p { color: var(--muted); margin-bottom: 24px; }
.cta .btn-primary { display: inline-block; width: auto; padding: 13px 40px; }

/* FOOTER */
footer { background: #fff; border-top: 1px solid var(--border); }
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
  display: flex;
  gap: 48px;
  justify-content: space-between;
}
.footer-inner > div:first-child { max-width: 280px; }
.footer-inner p { color: var(--muted); font-size: 14px; margin-top: 8px; }
.footer-inner h5 { font-size: 14px; margin-bottom: 10px; }
.footer-inner a { display: block; color: var(--muted); text-decoration: none; font-size: 14px; padding: 3px 0; }
.footer-inner a:hover { color: var(--primary); }
.footer-inner a.logo { color: var(--primary); font-size: 22px; }
.copy {
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 16px;
  font-size: 13px;
  color: var(--muted);
}

/* PAGE CONNEXION */
.login-page { background: var(--bg-soft); min-height: calc(100vh - 65px - 110px); padding: 56px 16px; }
.login-card {
  background: #fff;
  max-width: 440px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 36px 32px;
}
.login-card h1 { font-size: 26px; text-align: center; margin-bottom: 6px; }
.login-card .sub { text-align: center; color: var(--muted); margin-bottom: 26px; font-size: 15px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14px; margin-bottom: 6px; }
.form-group input[type="text"],
.form-group input[type="password"] {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 12px;
  font-size: 15px;
  font-family: inherit;
}
.form-group input:focus { outline: none; border-color: var(--primary); }
.pwd-wrap { position: relative; }
.pwd-wrap button {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--primary);
  font-size: 13px;
  cursor: pointer;
}
.login-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  margin-bottom: 22px;
}
.login-options a { color: var(--primary); text-decoration: none; }
.login-options a:hover { text-decoration: underline; }
.simple-footer { text-align: center; padding: 24px; font-size: 13px; color: var(--muted); background: #fff; border-top: 1px solid var(--border); }

/* MOBILE */
@media (max-width: 800px) {
  .hero-inner, .split, .split.reverse, .steps, .stats, .footer-inner { flex-direction: column; }
  .hero-card { max-width: 100%; }
  .features { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--border); padding: 12px 0; }
  .stat:last-child { border-bottom: none; }
  nav a.link { display: none; }
  .footer-inner { gap: 24px; }
}