/*
|--------------------------------------------------------------------------
| STERP | Gestion Commerciale & Gestion de Stock
|--------------------------------------------------------------------------
|
| STERP is a professional ERP solution for commercial management,
| inventory, purchasing, sales, customers, suppliers and reporting.
|
| © 2026 STERP. All Rights Reserved.
|
| Developed by:
| Abdellah Baidou  (©) , Jamal Rami (®), Hicham Idonjjar (®)
|
| Mobile   : +212 666-021912
| Email    : contact@afoulki.com
|
| Unauthorized copying, modification, distribution, reverse engineering
| or commercial use of this software, in whole or in part, is strictly
| prohibited without prior written permission from the author.
|
|--------------------------------------------------------------------------
*/
:root {
  --teal: #09b8be;
  --teal-dark: #078f95;
  --blue: #00649b;
  --blue-dark: #034d78;
  --ink: #102033;
  --muted: #667085;
  --line: #e4eaf0;
  --surface: #ffffff;
  --page: #f5f9fb;
  --soft: #eaf8f9;
  --radius: 8px;
  --shadow: 0 18px 44px rgba(16, 32, 51, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: Inter, Arial, sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 72px;
  padding: 12px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
}

.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #344054;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: var(--radius);
}

.site-nav a:hover {
  color: var(--teal-dark);
  background: rgba(9, 184, 190, 0.08);
}

.site-nav .nav-cta {
  color: #ffffff;
  background: var(--blue);
}

.site-nav .nav-cta:hover {
  color: #ffffff;
  background: var(--blue-dark);
}

.menu-button {
  display: none;
  min-height: 38px;
  padding: 0 14px;
  color: var(--blue);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 800;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.85fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: clamp(52px, 7vw, 94px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(115deg, rgba(9, 184, 190, 0.13), rgba(0, 100, 155, 0.08)),
    #ffffff;
}

.hero-copy,
.section-heading {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(42px, 6vw, 74px);
  line-height: 1;
  font-weight: 800;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.12;
}

h3 {
  margin: 0;
  font-size: 18px;
}

p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-text {
  max-width: 660px;
  margin: 24px 0 0;
  font-size: 18px;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  cursor: pointer;
}

.button-primary {
  color: #ffffff;
  background: var(--teal);
  border-color: var(--teal);
}

.button-primary:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
}

.button-secondary {
  color: var(--blue);
  background: #ffffff;
  border-color: #cbd8e3;
}

.button-secondary:hover {
  border-color: var(--blue);
}

.hero-card,
.request-form,
.request-aside,
.contact-card {
  background: var(--surface);
  border: 1px solid rgba(0, 100, 155, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 22px;
}

.hero-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  font-weight: 800;
}

.hero-card-head img {
  width: 42px;
  height: 42px;
}

.hero-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.hero-kpis div,
.status-list li {
  padding: 14px;
  background: #f8fbfd;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.hero-kpis span,
.status-list span,
.contact-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-kpis strong,
.status-list strong {
  display: block;
  margin-top: 6px;
  font-size: 18px;
}

.mini-chart {
  display: flex;
  align-items: end;
  gap: 12px;
  height: 170px;
  margin: 18px 0;
  padding: 18px;
  background: linear-gradient(180deg, #f6fbfc, #ffffff);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.mini-chart span {
  flex: 1;
  min-width: 22px;
  background: linear-gradient(180deg, var(--teal), var(--blue));
  border-radius: 6px 6px 2px 2px;
}

.status-list,
.check-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.section,
.page-hero,
.request-layout {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.section {
  padding: clamp(52px, 7vw, 86px) 0;
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.features-section {
  border-top: 1px solid var(--line);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 30px;
}

.feature-grid article {
  min-height: 210px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.feature-grid article span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 30px;
  margin-bottom: 22px;
  color: #ffffff;
  background: var(--blue);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
}

.feature-grid article:nth-child(2n) span {
  background: var(--teal);
}

.feature-grid p {
  margin-bottom: 0;
}

.mobile-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.55fr);
  gap: 48px;
  align-items: center;
  border-top: 1px solid var(--line);
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: #344054;
  line-height: 1.6;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 10px;
  height: 10px;
  background: var(--teal);
  border-radius: 50%;
  content: "";
}

.phone-preview {
  display: flex;
  justify-content: center;
}

.phone-screen {
  width: min(100%, 330px);
  padding: 18px;
  color: #ffffff;
  background: linear-gradient(155deg, var(--blue), var(--teal));
  border: 8px solid #102033;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.phone-header,
.phone-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.phone-header img {
  width: 32px;
  height: 32px;
  background: #ffffff;
  border-radius: 7px;
}

.phone-card,
.phone-list div {
  margin-top: 14px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
}

.phone-card small,
.phone-card span {
  display: block;
  color: rgba(255, 255, 255, 0.76);
}

.phone-card strong {
  display: block;
  margin: 7px 0;
}

.phone-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.phone-actions button {
  min-height: 40px;
  color: var(--blue);
  background: #ffffff;
  border: 0;
  border-radius: var(--radius);
  font-weight: 800;
}

.contact-section {
  margin-bottom: 30px;
  padding: 42px;
  background: var(--soft);
  border: 1px solid rgba(9, 184, 190, 0.18);
  border-radius: var(--radius);
}

.contact-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.page-hero {
  padding: clamp(46px, 7vw, 80px) 0 28px;
}

.page-hero h1 {
  max-width: 860px;
  font-size: clamp(38px, 5vw, 62px);
}

.page-hero p {
  max-width: 720px;
  font-size: 18px;
}

.request-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 22px;
  align-items: start;
  padding-bottom: 58px;
}

.request-form,
.request-aside {
  padding: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-row {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

label,
legend {
  color: #344054;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid #cbd8e3;
  border-radius: var(--radius);
}

textarea {
  min-height: 130px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(9, 184, 190, 0.18);
  border-color: var(--teal);
}

fieldset {
  margin: 8px 0 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.module-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 18px;
}

.module-options legend {
  grid-column: 1 / -1;
  padding: 0 8px;
}

.module-options label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #344054;
  font-weight: 600;
  line-height: 1.5;
}

.module-options input {
  width: 16px;
  min-height: 16px;
  margin-top: 4px;
  accent-color: var(--teal);
}

.form-submit {
  width: 100%;
}

.form-note {
  margin: 12px 0 0;
  font-size: 13px;
}

.request-aside {
  position: sticky;
  top: 92px;
}

.request-aside img {
  width: 58px;
  height: 58px;
}

.direct-contact,
.address-list {
  display: grid;
  gap: 8px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.direct-contact span,
.address-list span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.direct-contact a {
  color: var(--blue);
  font-weight: 800;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding-top: 22px;
}

.contact-card {
  padding: 24px;
}

.contact-card a,
.contact-card p {
  display: block;
  margin: 10px 0 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.5;
}

.contact-card.wide {
  grid-column: span 2;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 16px;
  padding: 22px 18px 34px;
  color: #667085;
  background: transparent;
  border-top: 1px solid var(--line);
  font-size: 11px;
}

.site-footer strong {
  color: var(--ink);
}

@media (max-width: 1050px) {
  .hero,
  .intro-section,
  .mobile-section,
  .contact-section,
  .request-layout {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .request-aside {
    position: static;
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .menu-button {
    display: inline-flex;
    align-items: center;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-top: 8px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
  }

  .hero-kpis,
  .feature-grid,
  .form-grid,
  .module-options,
  .contact-cards {
    grid-template-columns: 1fr;
  }

  .contact-card.wide {
    grid-column: auto;
  }

  .contact-section {
    padding: 24px;
  }

  .contact-actions .button {
    width: 100%;
  }
}
