
/* =====================================================
   SAMA-PACK — FEUILLE DE STYLE COMPLÈTE
   Boutique e-commerce, responsive, vert et blanc
   ===================================================== */

/* ---------- 1. COULEURS ET BASE ---------- */

:root {
  --green: #166534;
  --green2: #22a55b;
  --green-light: #dcfce7;
  --ink: #14241a;
  --muted: #647568;
  --line: #e2eae3;
  --paper: #ffffff;
  --alt: #f6f9f6;
  --shadow: 0 15px 40px rgba(15, 45, 25, 0.09);
  --radius: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

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

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

button {
  cursor: pointer;
}

.wrap {
  width: min(1180px, 92%);
  margin-inline: auto;
}

.hidden {
  display: none !important;
}

/* ---------- 2. EN-TÊTE ET NAVIGATION ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 234, 227, 0.9);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -0.045em;
  white-space: nowrap;
}

.brand > span:last-child > span {
  color: var(--green);
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: linear-gradient(140deg, #166534, #22a55b);
  color: #fff;
  border-radius: 13px;
  font-weight: 950;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 25px;
  color: #47574b;
  font-size: 14px;
  font-weight: 650;
}

.desktop-nav a {
  transition: color 0.2s ease;
}

.desktop-nav a:hover {
  color: var(--green2);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.icon-btn {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  color: var(--ink);
}

.icon-btn span {
  font-weight: 850;
}

.icon-btn:hover {
  background: var(--alt);
}

/* ---------- 3. BOUTONS ---------- */

.btn {
  min-height: 45px;
  border: 0;
  border-radius: 12px;
  padding: 12px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.btn.primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 6px 16px rgba(22, 101, 52, 0.15);
}

.btn.primary:hover {
  background: #104e2b;
  box-shadow: 0 9px 22px rgba(22, 101, 52, 0.22);
  transform: translateY(-2px);
}

.btn.secondary {
  background: #dcfce7;
  color: #166534;
}

.btn.secondary:hover {
  background: #bbf7d0;
  transform: translateY(-1px);
}

.btn.ghost {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
}

.btn.ghost:hover {
  background: #f6faf6;
  border-color: #b9d9c0;
}

.btn.small {
  min-height: 37px;
  padding: 9px 12px;
  font-size: 12px;
}

.btn.full {
  width: 100%;
}

/* ---------- 4. GRANDE BANNIÈRE D'ACCUEIL ---------- */

/*
   La photo occupe tout l'arrière-plan de la bannière.
   Le dégradé clair permet de lire le texte à gauche.
   La photo utilisée est différente de la précédente.
*/

.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - 72px);
  min-height: calc(100svh - 72px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: clamp(48px, 6vw, 82px) 0;

  background-color: #edf5ee;
  background-image:
    linear-gradient(
      90deg,
      rgba(248, 252, 248, 0.97) 0%,
      rgba(248, 252, 248, 0.92) 29%,
      rgba(248, 252, 248, 0.78) 46%,
      rgba(248, 252, 248, 0.34) 70%,
      rgba(248, 252, 248, 0.16) 100%
    ),
    url("https://images.pexels.com/photos/5217900/pexels-photo-5217900.jpeg?auto=compress&cs=tinysrgb&w=2000");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-grid {
  position: relative;
  z-index: 1;
  width: min(1280px, 92%);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.78fr);
  align-items: center;
  gap: clamp(28px, 4vw, 58px);
}

.hero-grid > div:first-child {
  min-width: 0;
}

.eyebrow {
  display: inline-block;
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  max-width: 720px;
  margin: 18px 0 22px;
  font-size: clamp(40px, 5.1vw, 70px);
  line-height: 1.03;
  letter-spacing: -0.055em;
  font-weight: 950;
}

h1 span {
  color: var(--green);
}

.hero p,
.section p {
  color: #47594b;
  font-size: 16px;
  line-height: 1.8;
}

.hero-grid > div:first-child > p {
  max-width: 570px;
  font-size: clamp(15px, 1.35vw, 18px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0;
}

/* Indicateurs de confiance */

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 3vw, 36px);
  margin-top: 35px;
}

.trust-row div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.trust-row strong {
  color: var(--green);
  font-size: 27px;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.trust-row span {
  color: #526456;
  font-size: 12px;
}

/* ---------- 5. CARTE DES MEILLEURES VENTES ---------- */

/*
   L'image intégrée à la carte HTML est masquée :
   la grande photo est désormais dans le fond de .hero.
*/

.hero-image-wrap {
  display: none !important;
}

.hero-card > .hero-card-head:first-child {
  display: none;
}

.hero-card {
  width: 100%;
  min-width: 0;
  max-width: 510px;
  justify-self: end;
  padding: 23px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 24px;
  box-shadow: 0 20px 55px rgba(16, 52, 26, 0.15);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.hero-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  font-weight: 900;
}

.hero-card-head small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.top-packs {
  display: grid;
  gap: 10px;
  margin-top: 17px;
}

.mini-pack {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid #e3ebe4;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

.mini-pack:hover {
  background: #f5fbf6;
  border-color: #b8d9bf;
}

.mini-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #ecfdf3;
}

.mini-pack strong {
  font-size: 13px;
}

.mini-pack small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
}

.hero-note {
  margin-top: 16px;
  padding: 12px;
  border: 1px solid #e4ede5;
  border-radius: 12px;
  background: rgba(246, 250, 246, 0.86);
  color: #4c6050;
  font-size: 12px;
  line-height: 1.65;
}

/* ---------- 6. SECTIONS ET TITRES ---------- */

.section {
  padding: 82px 0;
}

.section.alt {
  background: var(--alt);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 25px;
  margin-bottom: 30px;
}

.section h2 {
  margin: 8px 0 0;
  font-size: clamp(29px, 3.2vw, 39px);
  line-height: 1.16;
  letter-spacing: -0.045em;
}

.section h3 {
  letter-spacing: -0.025em;
}

/* Recherche et filtre du catalogue */

.controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.input {
  min-height: 44px;
  width: auto;
  min-width: 0;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 11px;
  outline: none;
  background: #fff;
  color: var(--ink);
}

.input:focus {
  border-color: #86c99a;
  box-shadow: 0 0 0 4px rgba(34, 165, 91, 0.12);
}

/* ---------- 7. CARTES DU CATALOGUE ---------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 21px;
}

.product-card {
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 19px;
  box-shadow: 0 6px 22px rgba(15, 45, 25, 0.045);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: #c6dfcb;
  box-shadow: 0 15px 32px rgba(15, 45, 25, 0.085);
}

.pack-visual {
  min-height: 178px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 35%, #ffffff 0, transparent 55%),
    linear-gradient(140deg, #eaf7ed, #f9fcf9);
}

.pack-box {
  width: 145px;
  height: 105px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 2px solid #bbf7d0;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(22, 101, 52, 0.12);
}

.pack-box .emoji {
  font-size: 38px;
}

.pack-box .pack-code {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.product-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 19px;
}

.product-cat {
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-name {
  font-size: 17px;
  font-weight: 900;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.product-desc {
  min-height: 40px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.price {
  color: var(--green);
  font-size: 22px;
  font-weight: 950;
  letter-spacing: -0.035em;
}

.small-note {
  color: var(--muted);
  font-size: 11px;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-actions .btn {
  flex: 1;
}

/* ---------- 8. ÉTAPES DE COMMANDE ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.step {
  padding: 23px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 5px 18px rgba(15, 45, 25, 0.025);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.step:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(15, 45, 25, 0.07);
}

.step b {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  background: var(--green-light);
  color: var(--green);
  border-radius: 11px;
  font-size: 12px;
}

.step h3 {
  margin: 16px 0 6px;
  font-size: 18px;
}

.step p {
  margin: 0;
  font-size: 14px;
}

/* ---------- 9. ESPACE PROFESSIONNEL ---------- */

.b2b-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 35px;
  background: linear-gradient(120deg, #f0fdf4, #ffffff 80%);
  border: 1px solid #cde8d3;
  border-radius: 24px;
}

.b2b-box > div:first-child {
  min-width: 0;
}

.b2b-box h2 {
  max-width: 680px;
}

.b2b-box p {
  max-width: 680px;
}

.b2b-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
}

/* ---------- 10. CONTACT ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 30px;
}

.contact-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 15px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.contact-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--green-light);
  border-radius: 14px;
  font-size: 24px;
}

.contact-card p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 13px;
}

/* ---------- 11. PIED DE PAGE ---------- */

.footer {
  padding: 48px 0 20px;
  background: #10271b;
  color: #cbd5e1;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer .brand {
  color: #fff;
}

.footer .brand-mark {
  background: var(--green);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.9fr;
  gap: 35px;
}

.footer a,
.footer small {
  display: block;
  margin-top: 10px;
  color: #a6b8aa;
  font-size: 13px;
  transition: color 0.2s ease;
}

.footer a:hover {
  color: #fff;
}

.footer strong {
  color: #fff;
  font-size: 13px;
}

.footer p {
  color: #a6b8aa;
  font-size: 13px;
  line-height: 1.7;
}

.footer-bottom {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #91a396;
  font-size: 12px;
}

/* ---------- 12. NOTIFICATIONS ---------- */

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 100;
  max-width: min(400px, calc(100vw - 32px));
  padding: 13px 16px;
  color: #fff;
  background: #10271b;
  border-radius: 13px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 13. MODALES ET PANIER ---------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.58);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.modal-card {
  width: min(680px, 100%);
  max-height: 90vh;
  overflow: auto;
  padding: 24px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2);
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.close {
  flex-shrink: 0;
  padding: 7px 10px;
  background: #f1f5f9;
  border: 0;
  border-radius: 9px;
}

.pack-items {
  margin: 20px 0;
  padding-left: 20px;
  color: #475569;
  line-height: 1.8;
}

.cart-list {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.cart-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.qty {
  display: flex;
  align-items: center;
  gap: 7px;
}

.qty button {
  width: 28px;
  height: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.checkout-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.checkout-grid .full {
  grid-column: 1 / -1;
}

.summary {
  padding: 16px;
  background: var(--alt);
  border: 1px solid var(--line);
  border-radius: 15px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 7px 0;
}

.summary-row.total {
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 20px;
  font-weight: 950;
}

/* ---------- 14. TABLEAU DE BORD ADMIN ---------- */

.admin-overlay {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: #f8fafc;
}

.admin-shell {
  height: 100%;
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
}

.admin-sidebar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 15px;
  color: #cbd5e1;
  background: #0f172a;
  overflow-y: auto;
}

.admin-brand {
  margin-bottom: 20px;
  padding: 0 10px;
  color: #fff;
}

.side-btn {
  width: 100%;
  padding: 11px 12px;
  color: #cbd5e1;
  background: transparent;
  border: 0;
  border-radius: 11px;
  text-align: left;
}

.side-btn:hover,
.side-btn.active {
  background: #1e293b;
  color: #fff;
}

.sidebar-foot {
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding-top: 20px;
}

.link-btn {
  padding: 8px;
  background: none;
  border: 0;
  color: #94a3b8;
  text-align: left;
}

.file-btn {
  position: relative;
  overflow: hidden;
}

.file-btn input {
  position: absolute;
  inset: 0;
  width: 100%;
  opacity: 0;
  cursor: pointer;
}

.admin-main {
  min-width: 0;
  padding: 28px;
  overflow: auto;
}

.admin-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 22px;
}

.admin-top h2 {
  margin: 4px 0;
  font-size: 32px;
}

.admin-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.kpi {
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 17px;
}

.kpi .label {
  color: var(--muted);
  font-size: 12px;
}

.kpi .value {
  margin-top: 8px;
  font-size: 28px;
  font-weight: 950;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.panel {
  min-width: 0;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.panel h3 {
  margin: 0 0 14px;
}

.table-wrap {
  overflow-x: auto;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.table th,
.table td {
  padding: 11px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
}

.table th {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status {
  padding: 6px 8px;
  background: #f1f5f9;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
}

.status.new {
  background: #dcfce7;
  color: #166534;
}

.status.processing {
  background: #fef3c7;
  color: #92400e;
}

.status.delivered {
  background: #dbeafe;
  color: #1d4ed8;
}

.status.cancelled {
  background: #fee2e2;
  color: #b91c1c;
}

.admin-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.admin-form .full {
  grid-column: 1 / -1;
}

.admin-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 11px;
}

.admin-form textarea {
  min-height: 90px;
}

.empty {
  padding: 35px;
  color: var(--muted);
  text-align: center;
}

/* ---------- 15. ADAPTATION TABLETTES ---------- */

@media (max-width: 1000px) {
  .desktop-nav {
    gap: 15px;
    font-size: 13px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(290px, 0.8fr);
    gap: 25px;
  }

  .hero-card {
    padding: 18px;
  }

  .hero {
    background-position: 58% center;
  }

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

  .admin-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- 16. TABLETTES ET PETITS ÉCRANS ---------- */

@media (max-width: 800px) {
  .desktop-nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 58px 0;
    background-position: 60% center;
    background-image:
      linear-gradient(
        90deg,
        rgba(248, 252, 248, 0.94) 0%,
        rgba(248, 252, 248, 0.85) 55%,
        rgba(248, 252, 248, 0.5) 100%
      ),
      url("https://images.pexels.com/photos/5217900/pexels-photo-5217900.jpeg?auto=compress&cs=tinysrgb&w=1600");
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-card {
    width: 100%;
    max-width: 640px;
    justify-self: start;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .b2b-box {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    display: none;
  }

  .admin-main {
    padding: 18px;
  }

  .admin-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- 17. TÉLÉPHONES ---------- */

@media (max-width: 600px) {
  html {
    scroll-padding-top: 68px;
  }

  .wrap {
    width: 91%;
  }

  .nav {
    min-height: 62px;
    gap: 8px;
  }

  .brand {
    gap: 7px;
    font-size: 16px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .nav-actions {
    gap: 6px;
  }

  .icon-btn {
    padding: 8px 9px;
  }

  .nav-actions .btn {
    min-height: 37px;
    padding: 8px 10px;
  }

  .hero {
    min-height: auto;
    padding: 44px 0 38px;
    background-position: 61% center;
    background-image:
      linear-gradient(
        180deg,
        rgba(248, 252, 248, 0.91) 0%,
        rgba(248, 252, 248, 0.83) 55%,
        rgba(248, 252, 248, 0.64) 100%
      ),
      url("https://images.pexels.com/photos/5217900/pexels-photo-5217900.jpeg?auto=compress&cs=tinysrgb&w=1200");
  }

  .hero-grid {
    width: 91%;
    gap: 24px;
  }

  h1 {
    margin: 15px 0;
    font-size: clamp(36px, 9.7vw, 49px);
    line-height: 1.07;
  }

  .hero-grid > div:first-child > p {
    font-size: 15px;
    line-height: 1.75;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin: 22px 0;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .trust-row {
    justify-content: space-between;
    gap: 12px;
    margin-top: 25px;
  }

  .trust-row strong {
    font-size: 23px;
  }

  .trust-row span {
    font-size: 10px;
  }

  .hero-card {
    padding: 15px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
  }

  .hero-card-head {
    font-size: 13px;
  }

  .mini-pack {
    padding: 10px;
  }

  .hero-note {
    font-size: 11px;
  }

  .section {
    padding: 56px 0;
  }

  .section-head {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    margin-bottom: 24px;
  }

  .section h2 {
    font-size: 30px;
  }

  .controls {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 9px;
  }

  .controls .input {
    width: 100%;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .pack-visual {
    min-height: 170px;
  }

  .product-body {
    padding: 18px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .step {
    padding: 20px;
  }

  .b2b-box {
    padding: 23px;
    border-radius: 20px;
    gap: 18px;
  }

  .b2b-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .b2b-actions .btn {
    width: 100%;
    white-space: normal;
  }

  .contact-card {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 18px;
    gap: 12px;
  }

  .contact-card > button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .footer {
    padding-top: 38px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom {
    line-height: 1.8;
  }

  .modal {
    padding: 10px;
  }

  .modal-card {
    padding: 18px;
    border-radius: 18px;
  }

  .checkout-grid,
  .admin-form {
    grid-template-columns: 1fr;
  }

  .checkout-grid .full,
  .admin-form .full {
    grid-column: auto;
  }

  .cart-item {
    grid-template-columns: 40px minmax(0, 1fr) auto;
    gap: 8px;
  }

  .admin-main {
    padding: 14px;
  }

  .admin-top h2 {
    font-size: 25px;
  }

  .admin-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .kpi {
    padding: 13px;
  }

  .kpi .value {
    font-size: 23px;
  }

  .table {
    font-size: 12px;
  }

  .toast {
    right: 12px;
    bottom: 12px;
  }
}

/* ---------- 18. ACCESSIBILITÉ ---------- */

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(34, 165, 91, 0.55);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
