:root {
  --blue: #001d6e;
  --blue-dark: #001452;
  --blue-soft: #e8eefc;
  --gold: #c99a2e;
  --gold-soft: #fff5d8;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #dbe3ef;
  --paper: #ffffff;
  --soft: #f5f7fb;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.14);
  font-family: Inter, Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid rgba(219, 227, 239, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--blue);
  font-size: 18px;
  font-weight: 900;
  text-decoration: none;
}

/* PROMPT-LOGO-1 : le logo Easy PME est presque carre (ratio 1,06), la ou
   l'ancien logo GS-IT etait horizontal (ratio 2:1). Garder l'ancienne
   `width: 106px` lui donnerait 100 px de HAUT et ferait exploser la barre.
   On borne donc la HAUTEUR et on laisse la largeur suivre le dessin.
   La pastille blanche est conservee : le logo est desormais detoure, elle
   garantit qu'il reste lisible quel que soit le fond derriere lui. */
.brand img {
  height: 44px;
  width: auto;
  padding: 4px;
  border-radius: 8px;
  background: white;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--blue);
}

.nav-cta {
  padding: 10px 14px;
  border-radius: 8px;
  color: white !important;
  background: var(--blue);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--blue);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  gap: 44px;
  align-items: center;
  min-height: calc(100vh - 74px);
  padding: 62px clamp(18px, 5vw, 72px) 54px;
  background:
    radial-gradient(circle at 88% 14%, rgba(201, 154, 46, 0.16), transparent 32%),
    linear-gradient(135deg, #ffffff 0%, #eef3ff 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 860px;
  margin-bottom: 20px;
  color: var(--blue);
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  color: var(--blue);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
}

h3 {
  margin-bottom: 9px;
  font-size: 21px;
}

p {
  color: var(--muted);
  line-height: 1.55;
}

.hero-text {
  max-width: 780px;
  font-size: 21px;
}

.hero-actions,
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: white;
  background: var(--blue);
  box-shadow: 0 12px 28px rgba(0, 29, 110, 0.22);
}

.button.primary:hover {
  background: var(--blue-dark);
}

.button.secondary {
  color: var(--blue);
  background: var(--gold-soft);
  border: 1px solid #edd38f;
}

.button.light {
  background: white;
  color: var(--blue);
}

.trust-row span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--blue);
  background: white;
  font-size: 13px;
  font-weight: 800;
}

.product-preview {
  padding: 18px;
  border: 1px solid #b7c6e9;
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.preview-bar {
  display: flex;
  gap: 7px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.preview-bar span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--gold);
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 16px 0;
}

.preview-grid article,
.preview-panel,
.preview-list {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
}

.preview-grid article {
  padding: 12px;
}

.preview-grid small,
.preview-grid em {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.preview-grid strong {
  display: block;
  margin: 7px 0;
  color: var(--blue);
  font-size: 28px;
}

.preview-panel {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
}

.preview-panel p {
  margin-bottom: 0;
}

.preview-panel button {
  align-self: center;
  border: 0;
  border-radius: 8px;
  padding: 10px 12px;
  color: white;
  background: var(--blue);
  font-weight: 800;
}

.preview-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding: 12px;
}

.preview-list span::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 999px;
  background: var(--gold);
}

.problem-band,
.roi-band,
.contact-section,
.site-footer {
  padding: 48px clamp(18px, 5vw, 72px);
}

.problem-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  color: white;
  background: var(--blue);
}

.problem-band h2,
.roi-band h2,
.contact-section h2 {
  color: white;
}

.problem-band p,
.roi-band p,
.contact-section p {
  color: #dbe7ff;
}

.problem-grid {
  display: grid;
  gap: 12px;
}

.problem-grid article {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.problem-grid strong,
.problem-grid span {
  display: block;
}

.problem-grid span {
  margin-top: 6px;
  color: #dbe7ff;
}

.section {
  padding: 70px clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 28px;
}

.feature-grid,
.pricing-grid,
.connector-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-grid article,
.connector-grid article,
.price-card,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.feature-grid article,
.connector-grid article {
  padding: 18px;
}

.feature-icon {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--gold);
  font-weight: 900;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 42px;
  align-items: center;
  background: white;
}

.split-section.alt {
  background: #f8fbff;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--blue);
  background: #f8fbff;
  font-weight: 800;
}

.qr-showcase {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 30px;
  border-radius: 8px;
  color: white;
  background: linear-gradient(145deg, var(--blue), #062b8f);
  text-align: center;
}

.qr-showcase p {
  color: #dbe7ff;
}

.qr-code {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 5px;
  width: 180px;
  height: 180px;
  padding: 16px;
  border-radius: 8px;
  background: white;
}

.qr-code span {
  border-radius: 3px;
  background: #dbe7ff;
}

.qr-code span:nth-child(2n),
.qr-code span:nth-child(5n),
.qr-code span:nth-child(7n) {
  background: var(--blue);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.timeline article {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.timeline span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: 999px;
  color: white;
  background: var(--blue);
  font-weight: 900;
}

.connector-grid article strong,
.connector-grid article span {
  display: block;
}

.connector-grid article span {
  margin-top: 6px;
  color: var(--muted);
}

.pricing-section {
  background: white;
}

.pricing-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.price-card {
  position: relative;
  padding: 22px;
}

.price-card.featured {
  border-color: #edd38f;
  box-shadow: 0 16px 40px rgba(201, 154, 46, 0.18);
}

.label {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 8px;
  border-radius: 999px;
  color: white;
  background: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.price-card strong {
  display: block;
  color: var(--blue);
  font-size: 32px;
}

.price-card strong span {
  color: var(--muted);
  font-size: 14px;
}

.price-card ul {
  display: grid;
  gap: 9px;
  padding-left: 18px;
  color: var(--muted);
}

.pricing-note {
  margin-top: 18px;
}

.roi-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: white;
  background: linear-gradient(135deg, var(--blue), #062b8f);
}

.roi-band div {
  max-width: 760px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 16px 18px;
}

.faq-list summary {
  color: var(--blue);
  font-weight: 900;
  cursor: pointer;
}

.faq-list p {
  margin: 12px 0 0;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  color: white;
  background: var(--blue);
}

.contact-cards {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.contact-cards a {
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: white;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 20px;
  border-radius: 8px;
  background: white;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.contact-form label {
  display: grid;
  gap: 6px;
  color: var(--blue);
  font-weight: 900;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  color: var(--ink);
  font: inherit;
}

.login-page,
.portal-page {
  min-height: calc(100vh - 74px);
  padding: 56px clamp(18px, 5vw, 72px);
}

.login-intro,
.portal-head {
  max-width: 820px;
  margin-bottom: 28px;
}

.login-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.login-card,
.login-note,
.portal-grid article,
.portal-actions article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.login-card {
  position: relative;
  padding: 24px;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.08);
}

.admin-card {
  border-color: #edd38f;
}

.login-badge {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  color: white;
  background: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-card .login-badge {
  background: var(--gold);
}

.login-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.login-form label {
  display: grid;
  gap: 6px;
  color: var(--blue);
  font-weight: 900;
}

.login-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  color: var(--ink);
  font: inherit;
}

.login-note {
  margin-top: 18px;
  padding: 18px;
  background: var(--gold-soft);
}

.login-note strong {
  display: block;
  color: var(--blue);
}

.login-note p {
  margin: 6px 0 0;
}

.portal-head {
  padding: 24px;
  border-radius: 8px;
  color: white;
  background: linear-gradient(135deg, var(--blue), #062b8f);
}

.portal-head h1,
.portal-head p {
  color: white;
}

.portal-head .eyebrow {
  color: #ffe7a3;
}

.admin-head {
  background: linear-gradient(135deg, #1f2937, var(--blue));
}

.portal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.portal-grid article {
  padding: 18px;
}

.portal-grid span,
.portal-grid small {
  display: block;
  color: var(--muted);
}

.portal-grid strong {
  display: block;
  margin: 8px 0 2px;
  color: var(--blue);
  font-size: 30px;
}

.portal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
}

.portal-actions article {
  padding: 20px;
}

.portal-actions a {
  display: block;
  margin-top: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--blue);
  background: #f8fbff;
  font-weight: 900;
  text-decoration: none;
}

.portal-actions a:hover {
  border-color: #b7c6e9;
  background: var(--blue-soft);
}

.admin-console {
  background: #f7f9fd;
}

.admin-head {
  border-bottom: 4px solid var(--gold);
}

.admin-flash {
  max-width: 1180px;
  margin: 22px auto 0;
  padding: 14px 18px;
  border: 1px solid #bdd7c6;
  border-radius: 8px;
  background: #eefaf2;
  color: #14552a;
  font-weight: 800;
}

.admin-flash.error {
  border-color: #f0b6b6;
  background: #fff0f0;
  color: #8f1d1d;
}

.admin-panel {
  max-width: 1180px;
  margin: 24px auto 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.panel-title {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.panel-title h2,
.admin-panel h2 {
  margin: 0;
  color: var(--blue);
}

.panel-title span {
  color: var(--muted);
  font-weight: 800;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: var(--blue);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-table strong,
.admin-table small {
  display: block;
}

.admin-table small {
  margin-top: 4px;
  color: var(--muted);
}

.inline-admin-form {
  display: contents;
}

.admin-table input,
.admin-table select,
.admin-form input,
.admin-form select,
.pricing-admin-card input,
.pricing-admin-card textarea {
  width: 100%;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--text);
  font: inherit;
}

.admin-small-button,
.admin-link-button {
  min-height: 38px;
  padding: 9px 12px;
  border: 1px solid var(--blue);
  border-radius: 8px;
  background: var(--blue);
  color: white;
  font-weight: 900;
  cursor: pointer;
}

.admin-small-button {
  margin-top: 8px;
}

.admin-actions-cell {
  display: grid;
  gap: 8px;
}

.admin-link-button {
  width: 100%;
  border-color: #cbd6ea;
  background: #f8fbff;
  color: var(--blue);
}

.admin-link-button.danger {
  border-color: #e8c2c2;
  background: #fff4f4;
  color: #9d1e1e;
}

.admin-two-columns {
  max-width: 1180px;
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.admin-two-columns .admin-panel {
  margin: 0;
}

.admin-form,
.pricing-admin-card {
  display: grid;
  gap: 14px;
}

.admin-form label,
.pricing-admin-card label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 800;
}

.pricing-admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.pricing-admin-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcff;
}

.pricing-admin-card h3 {
  margin: 0;
  color: var(--blue);
}

.pricing-admin-grid > .button {
  justify-self: start;
}

.admin-capabilities {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.admin-capabilities span {
  padding: 9px 12px;
  border: 1px solid #d9dfec;
  border-radius: 999px;
  background: #f8fbff;
  color: var(--blue);
  font-weight: 800;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 24px;
  border-top: 1px solid var(--line);
  background: white;
}

.site-footer img {
  width: 160px;
}

.site-footer p {
  margin-bottom: 0;
}

.site-footer strong,
.site-footer span,
.site-footer a {
  display: block;
  margin-bottom: 8px;
}

.site-footer a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 1050px) {
  .hero,
  .problem-band,
  .split-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .pricing-grid,
  .connector-grid,
  .login-grid,
  .portal-grid,
  .portal-actions,
  .admin-two-columns,
  .pricing-admin-grid,
  .timeline,
  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .menu-button {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
    background: white;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav.legal-nav {
    position: static;
    display: flex;
    flex-direction: row;
    padding: 0;
    border-bottom: 0;
    background: transparent;
  }

  .brand img {
    height: 36px;
    width: auto;
  }

  .hero {
    min-height: auto;
  }

  .preview-grid,
  .feature-grid,
  .pricing-grid,
  .connector-grid,
  .login-grid,
  .portal-grid,
  .portal-actions,
  .admin-two-columns,
  .pricing-admin-grid,
  .timeline,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .panel-title {
    display: grid;
  }

  .product-preview {
    min-width: 0;
  }

  .preview-panel,
  .roi-band {
    flex-direction: column;
    align-items: flex-start;
  }
}
