/* Lingéo — page d'accueil publique */
:root {
  --navy: #0B2545;
  --navy-2: #12345F;
  --blue: #1D6FE0;
  --blue-dark: #1559B8;
  --blue-soft: #E8F1FE;
  --ink: #111318;
  --ink-2: #4A5160;
  --ink-3: #7C8494;
  --line: #E6E9EE;
  --bg: #FFFFFF;
  --bg-soft: #F6F8FB;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; }
h1, h2, h3 { margin: 0; }

.wrap { width: 100%; max-width: 1060px; margin: 0 auto; padding: 0 16px; }

/* ---------- Bandeau fin d'année ---------- */
.bf-banner {
  background: var(--navy);
  color: #fff;
  font-size: 13.5px;
  line-height: 1.4;
  text-align: center;
  padding: 10px 16px;
}
.bf-banner span { display: inline; }
.bf-banner a {
  color: #fff;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-left: 6px;
  white-space: nowrap;
}

/* ---------- En-tête ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  color: var(--navy);
  font-size: 16px;
  letter-spacing: -.01em;
  min-width: 0;
}
.brand img { width: 30px; height: 30px; border-radius: 8px; flex: 0 0 auto; }
.head-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.head-nav { display: none; gap: 20px; font-size: 14px; font-weight: 600; }
.head-nav a { color: var(--ink-2); }
.head-nav a:hover { color: var(--blue); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  line-height: 1.35;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 4px 12px rgba(29, 111, 224, .18); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-sm { padding: 8px 13px; font-size: 13px; }
.head-actions .btn { white-space: nowrap; }
.btn-login { display: none; }
@media (min-width: 430px) { .btn-login { display: inline-flex; } }

/* ---------- Hero ---------- */
.hero { padding: 26px 0 8px; }
.eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}
h1 {
  font-size: 27px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--navy);
  max-width: 20ch;
}
.hero .lead {
  font-size: 15.5px;
  color: var(--ink-2);
  margin: 14px 0 0;
  max-width: 56ch;
}
.hero-points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
}
.hero-points li {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: -.005em;
  color: var(--blue-dark);
  background: var(--blue-soft);
  border-radius: 6px;
  padding: 5px 10px;
  white-space: nowrap;
}
.hero-cta { display: flex; flex-direction: column; gap: 10px; margin: 18px 0 0; }
.hero-cta .btn { padding: 11px 18px; font-size: 15px; }
.hero-reassure {
  margin: 12px 0 22px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-3);
  max-width: 46ch;
}
.hero-figure {
  margin: 0 0 6px;
  padding: 7px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(11, 37, 69, .10);
}
.hero-figure img {
  width: 100%;
  display: block;
  border-radius: 14px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--bg-soft);
}

/* ---------- Sections ---------- */
.section { padding: 30px 0; border-top: 1px solid var(--line); }
/* le titre ne doit pas passer sous la barre fixe quand on clique sur un lien du menu */
#pourquoi, #logiciel, #offres, #faq, #demande { scroll-margin-top: 74px; }
.section:first-of-type { border-top: 0; }
.section-title {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--navy);
  margin-bottom: 6px;
}
.section-sub {
  font-size: 14.5px;
  color: var(--ink-3);
  margin: 0 0 18px;
  max-width: 60ch;
}
.cards { display: grid; grid-template-columns: 1fr; gap: 14px; }
.card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 18px 16px;
  box-shadow: 0 2px 8px rgba(15, 15, 26, .04);
}
.card .num {
  width: 30px; height: 30px;
  border-radius: 9px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-size: 13px; font-weight: 800;
  display: grid; place-items: center;
  margin-bottom: 12px;
}
.card h3 { font-size: 16.5px; font-weight: 800; color: var(--navy); margin-bottom: 6px; letter-spacing: -.01em; }
.card p { margin: 0; font-size: 14.5px; color: var(--ink-2); }

/* ---------- Pourquoi Lingéo ---------- */
.why .ico {
  width: 40px; height: 40px;
  border-radius: 11px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.why .ico svg { width: 21px; height: 21px; display: block; }
.why .card h3 { font-size: 17px; }

/* ---------- Offres ---------- */
.offer-start { margin-bottom: 26px; }
.offer-start h3 { font-size: 19px; }
.offer-checks {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 7px;
}
.offer-checks li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  line-height: 1.45;
}
.offer-checks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 5px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(-45deg);
}
.offer-checks-row {
  grid-template-columns: 1fr;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.offer-start .offer-cta { margin-top: 18px; }
.offer-start .offer-cta .btn { width: 100%; padding: 11px 16px; font-size: 14.5px; }
.offer-start .price-note { margin-top: 10px; }
.offer-cta-center { margin: 24px 0 0; }
.offer-cta-center .btn { width: 100%; padding: 11px 18px; font-size: 15px; }

.price-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--navy);
  margin: 0 0 4px;
}
.price-sub {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--ink-3);
  max-width: 60ch;
}
.tiers { display: grid; grid-template-columns: 1fr; gap: 10px; }
.tier {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 14px 15px;
  box-shadow: 0 2px 8px rgba(15, 15, 26, .04);
}
.tier-range {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-2);
  min-width: 0;
}
.tier-price {
  flex: 0 0 auto;
  display: flex;
  align-items: baseline;
  gap: 5px;
  white-space: nowrap;
}
.tier-price strong {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.02em;
}
.tier-price span { font-size: 12px; color: var(--ink-3); }
.tier.is-best {
  border-color: var(--blue);
  border-width: 2px;
  background: linear-gradient(180deg, #F5F9FF 0%, #FFFFFF 100%);
  box-shadow: 0 6px 18px rgba(29, 111, 224, .13);
  padding: 18px 15px 14px;
}
.tier.is-best .tier-range { color: var(--navy); }
.tier.is-best .tier-price strong { color: var(--blue-dark); font-size: 24px; }
.tier-badge {
  position: absolute;
  top: -10px;
  left: 14px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #fff;
  background: var(--blue);
  border-radius: 5px;
  padding: 3px 8px;
}

.offers { display: grid; grid-template-columns: 1fr; gap: 14px; }
.offer {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 16px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(15, 15, 26, .04);
}
.offer.is-hl { border-color: #F0C36B; background: #FFFDF7; margin-top: 22px; }
.offer .tag {
  display: inline-block;
  font-size: 11px; font-weight: 800;
  letter-spacing: .07em; text-transform: uppercase;
  color: var(--blue-dark);
  background: var(--blue-soft);
  border-radius: 6px;
  padding: 4px 8px;
  margin-bottom: 10px;
}
.offer.is-hl .tag { color: #8A5A00; background: #FDF2DF; }
.offer h3 { font-size: 17px; font-weight: 800; color: var(--navy); margin-bottom: 8px; letter-spacing: -.01em; }
.offer p { margin: 0; font-size: 14.5px; color: var(--ink-2); }
.offer .offer-cta { margin-top: 12px; }
.offer .offer-cta a { font-size: 14px; font-weight: 700; }
.offer p + .price-list { margin-top: 12px; }
.price-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.price-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-2);
}
.price-list li span { min-width: 0; }
.price-list li strong {
  flex: 0 0 auto;
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  white-space: nowrap;
}
.price-note {
  margin: 12px 0 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-3);
}
.offer-note {
  margin: 16px 0 0;
  font-size: 14.5px;
  color: var(--ink-2);
}
.offer-note a { font-weight: 700; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 0;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  margin-left: auto;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  color: var(--blue);
  flex: 0 0 auto;
  padding-left: 10px;
}
.faq details[open] summary::after { content: "\2212"; }
.faq details[open] summary { padding-bottom: 6px; }
.faq .answer {
  padding: 0 0 16px;
  font-size: 14.5px;
  color: var(--ink-2);
  max-width: 68ch;
}

/* ---------- Formulaire ---------- */
.demo-wrap { background: var(--bg-soft); border-top: 1px solid var(--line); }
.demo-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.demo-aside h2 { font-size: 21px; font-weight: 800; color: var(--navy); letter-spacing: -.02em; margin-bottom: 8px; }
.demo-aside p { margin: 0 0 14px; font-size: 14.5px; color: var(--ink-2); max-width: 46ch; }
.demo-coords { display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); }
.demo-coords a { color: var(--ink-2); word-break: break-word; }
.demo-coords div { display: flex; gap: 8px; align-items: flex-start; }
.demo-coords strong { color: var(--navy); font-weight: 700; }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 16px;
  box-shadow: 0 2px 8px rgba(15, 15, 26, .05);
}
.field { margin-bottom: 14px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.field input,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #D6DBE4;
  border-radius: 8px;
  padding: 11px 12px;
  line-height: 1.45;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(29, 111, 224, .14);
}
.field textarea { min-height: 160px; resize: vertical; }
.form-card .btn { width: 100%; padding: 12px 18px; font-size: 15px; }
.form-msg {
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
  margin-bottom: 16px;
}
.form-msg.ok { background: #E4F5EE; color: #0F6A4C; border: 1px solid #BFE6D6; }
.form-msg.warn { background: #FDF2DF; color: #7A4A00; border: 1px solid #F0D9AC; }
.form-msg.err { background: #FDECEA; color: #94231A; border: 1px solid #F6C9C4; }
.form-msg a { color: inherit; font-weight: 700; text-decoration: underline; }
.form-hint { font-size: 12.5px; color: var(--ink-3); margin: 10px 0 0; }

/* ---------- Newsletter (bas de toutes les pages publiques) ---------- */
.nl-card {
  background: var(--navy-2);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 16px;
  padding: 20px 16px;
  margin-bottom: 26px;
  color: #fff;
}
.nl-card h2 {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: #fff;
  margin: 0 0 6px;
}
.nl-card p {
  margin: 0 0 16px;
  font-size: 14px;
  color: rgba(255, 255, 255, .76);
  max-width: 56ch;
}
.nl-row { display: flex; flex-direction: column; gap: 10px; }
.nl-field { flex: 1 1 auto; min-width: 0; }
.nl-field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, .88);
  margin-bottom: 6px;
}
.nl-field input {
  width: 100%;
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 8px;
  padding: 11px 12px;
  line-height: 1.45;
}
.nl-field input:focus {
  outline: none;
  border-color: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .22);
}
.nl-btn { padding: 11px 20px; font-size: 15px; white-space: nowrap; }
.nl-check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, .8);
  cursor: pointer;
}
.nl-check input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--blue);
  cursor: pointer;
}
.nl-msg {
  border-radius: 10px;
  padding: 11px 13px;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 14px;
}
.nl-msg.ok { background: rgba(45, 190, 140, .18); color: #B9F3DA; border: 1px solid rgba(45, 190, 140, .45); }
.nl-msg.err { background: rgba(230, 90, 78, .18); color: #FFCFC9; border: 1px solid rgba(230, 90, 78, .45); }
.nl-trap { position: absolute; left: -9999px; }

/* ---------- Pied de page ---------- */
.site-foot {
  background: var(--navy);
  color: rgba(255, 255, 255, .78);
  padding: 32px 0 34px;
  font-size: 14px;
  margin-top: 0;
}
.site-foot .foot-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
.site-foot .brand { color: #fff; font-size: 17px; }
.site-foot .brand img { width: 32px; height: 32px; }
.site-foot p { margin: 10px 0 0; max-width: 42ch; font-size: 13.5px; color: rgba(255, 255, 255, .74); }
.foot-lines { display: grid; gap: 8px; font-size: 13.5px; }
.foot-lines a { color: #fff; word-break: break-word; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13.5px; }
.foot-nav a { color: #fff; font-weight: 600; }
.foot-legal { margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .16); font-size: 12.5px; color: rgba(255, 255, 255, .6); }
.foot-legal details summary { cursor: pointer; color: rgba(255, 255, 255, .78); font-weight: 600; }
.foot-legal .legal-body { margin-top: 10px; line-height: 1.6; max-width: 78ch; }
.foot-legal a { color: #fff; }

/* ---------- Grands écrans ---------- */
@media (min-width: 640px) {
  h1 { font-size: 34px; max-width: 24ch; }
  .hero { padding: 36px 0 12px; }
  .hero-cta { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .hero-cta .btn { padding: 10px 20px; font-size: 15px; }
  .hero .lead { max-width: 62ch; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .offer-checks-row { grid-template-columns: repeat(3, 1fr); }
  .tiers { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .offer-start .offer-cta .btn { width: auto; }
  .offer-cta-center .btn { width: auto; }
  .offers { grid-template-columns: repeat(2, 1fr); }
  .offers .offer.is-hl { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .wrap { padding: 0 24px; }
  .head-nav { display: flex; }
  h1 { font-size: 42px; max-width: 26ch; }
  .hero { padding: 48px 0 16px; }
  .hero .lead { font-size: 17.5px; }
  .section { padding: 42px 0; }
  .section-title { font-size: 24px; }
  .demo-grid { grid-template-columns: 0.9fr 1.1fr; gap: 34px; align-items: start; }
  .form-card { padding: 22px; }
  .offer, .card { padding: 20px; }
  .card.why { padding: 24px 20px; }
  .site-foot .foot-grid { grid-template-columns: 1.2fr 1fr 0.8fr; }
  .tiers { grid-template-columns: repeat(4, 1fr); }
  .tier { flex-direction: column; align-items: flex-start; gap: 8px; padding: 18px 16px; }
  .tier.is-best { padding: 22px 16px 18px; }
  .price-title { font-size: 20px; }
  .offers { grid-template-columns: repeat(3, 1fr); }
  .offers .offer.is-hl { grid-column: auto; }
}
