/* ==========================================================================
   COMFY UNIFORMS — feuille de style principale
   Tenues médicales premium — Algérie
   ========================================================================== */

:root {
  --accent: #0F5C50;
  --accent-soft: #E6F2EF;
  --accent-dark: #0C4C42;
  --navy: #0A1F3C;
  --navy-hover: #12305A;
  --bg: #FBFCFE;
  --surface: #FFFFFF;
  --line: #E6EAF0;
  --line-strong: #DCE3ED;
  --ink: #10151F;
  --muted: #64748B;
  --muted-2: #7B8798;
  --slate: #41506A;
  --star: #F0A500;
  --whatsapp: #25D366;
  --danger: #C4342B;
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 24px;
  --shadow-card: 0 30px 50px -28px rgba(10, 31, 60, .4);
  --shadow-soft: 0 20px 40px -30px rgba(10, 31, 60, .45);
  --maxw: 1240px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1.5;
}

html[dir="rtl"] body {
  font-family: "Segoe UI", Tahoma, "Noto Naskh Arabic", Inter, system-ui, Arial, sans-serif;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { color: var(--navy); letter-spacing: -.03em; margin: 0; }
p { margin: 0; }
button, input, textarea, select { font-family: inherit; font-size: inherit; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: 24px; }
.section { padding-top: 96px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------------------
   Boutons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15.5px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }

.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 14px 30px -14px rgba(10, 31, 60, .55); }
.btn-primary:hover { background: var(--navy-hover); color: #fff; }

.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); color: #fff; }

.btn-ghost { background: var(--surface); border-color: var(--line-strong); color: var(--navy); }
.btn-ghost:hover { border-color: var(--accent); color: var(--navy); }

.btn-wa { background: var(--whatsapp); color: #fff; box-shadow: 0 14px 30px -16px rgba(37, 211, 102, .8); }
.btn-wa:hover { background: #1FBA5A; color: #fff; }

.btn-sm { height: 42px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* --------------------------------------------------------------------------
   En-tête
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid #EDF1F6;
}
.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: 24px;
  height: 74px;
  display: flex;
  align-items: center;
  gap: 26px;
}
.logo { display: flex; align-items: center; gap: 10px; color: var(--navy); }
.logo img { height: 52px; width: auto; mix-blend-mode: multiply; }
.logo-text { font-size: 16px; font-weight: 700; letter-spacing: -.02em; }

.main-nav {
  display: flex;
  gap: 24px;
  margin-inline-start: auto;
  align-items: center;
  font-size: 14.5px;
  font-weight: 500;
}
.main-nav a { color: var(--slate); position: relative; padding: 4px 0; }
.main-nav a:hover { color: var(--navy); }
.main-nav a.is-active { color: var(--navy); font-weight: 600; }
.main-nav a.is-active::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.header-actions { display: flex; align-items: center; gap: 12px; }

.lang-switch {
  display: flex;
  padding: 3px;
  background: #F1F4F9;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
}
.lang-switch button {
  padding: 7px 14px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: #65748C;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.lang-switch button.is-active {
  background: #fff;
  color: var(--navy);
  box-shadow: 0 1px 3px rgba(10, 31, 60, .15);
}

.cart-link {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  transition: background .2s ease;
}
.cart-link:hover { background: var(--navy-hover); color: #fff; }
.cart-count {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.cart-count.bump { animation: bump .4s cubic-bezier(.2, .9, .3, 1.4); }
@keyframes bump { 0% { transform: scale(1); } 45% { transform: scale(1.35); } 100% { transform: scale(1); } }

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}
.burger span { display: block; width: 17px; height: 2px; border-radius: 2px; background: var(--navy); }

/* --------------------------------------------------------------------------
   Titres de section
   -------------------------------------------------------------------------- */

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
html[dir="rtl"] .eyebrow { letter-spacing: 0; }

.section-head { margin-bottom: 36px; }
.section-head h2 { font-size: 40px; font-weight: 700; }
.section-head p { margin-top: 12px; color: var(--muted); font-size: 16px; max-width: 560px; }
.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   Héro
   -------------------------------------------------------------------------- */

.hero { background: #fff; border-bottom: 1px solid #EDF1F6; }
.hero-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 80px 24px 72px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: center;
}
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #0C5348;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 26px;
}
.badge-pill .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--accent); }
.hero h1 { font-size: 60px; line-height: 1.04; font-weight: 700; margin-bottom: 22px; text-wrap: balance; }
.hero-lead { font-size: 19px; line-height: 1.6; color: #54627A; max-width: 520px; margin-bottom: 34px; text-wrap: pretty; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-points { display: flex; gap: 26px; flex-wrap: wrap; font-size: 14.5px; color: var(--slate); font-weight: 500; }
.hero-points span { display: flex; align-items: center; gap: 8px; }
.hero-points .tick { color: var(--accent); font-weight: 700; }

.hero-media { position: relative; }
.hero-media .media { aspect-ratio: 4 / 5; border-radius: 28px; box-shadow: 0 40px 80px -40px rgba(10, 31, 60, .35); }
.hero-stat {
  position: absolute;
  bottom: -26px;
  inset-inline-start: -30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px 22px;
  box-shadow: 0 24px 50px -24px rgba(10, 31, 60, .35);
}
.hero-stat b { display: block; font-size: 26px; font-weight: 700; color: var(--navy); letter-spacing: -.02em; }
.hero-stat span { font-size: 13px; color: var(--muted); }

/* --------------------------------------------------------------------------
   Média / images avec repli
   -------------------------------------------------------------------------- */

.media {
  position: relative;
  overflow: hidden;
  background: repeating-linear-gradient(135deg, #EEF3FA 0 12px, #E4ECF7 12px 24px);
  border: 1px solid #E1E8F2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.media img { width: 100%; height: 100%; object-fit: cover; }
.media img[hidden] { display: none; }
.media .media-label {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 11.5px;
  color: #5E7396;
  background: #fff;
  padding: 7px 11px;
  border-radius: 10px;
  border: 1px solid #E1E8F2;
  text-align: center;
  max-width: 85%;
}

/* --------------------------------------------------------------------------
   Catégories
   -------------------------------------------------------------------------- */

.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.cat-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  color: inherit;
  transition: transform .25s ease, box-shadow .25s ease;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); color: inherit; }
.cat-card .media { aspect-ratio: 3 / 4; border: none; border-radius: 0; }
.cat-card .body { padding: 16px 18px 18px; }
.cat-card .name { font-size: 16px; font-weight: 600; color: var(--navy); }
.cat-card .count { font-size: 13px; color: var(--muted-2); margin-top: 4px; }

/* --------------------------------------------------------------------------
   Cartes produit
   -------------------------------------------------------------------------- */

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-grid.cols-4 { grid-template-columns: repeat(4, 1fr); gap: 20px; }

.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 34px 60px -32px rgba(10, 31, 60, .42); }
.product-card .shot { display: block; position: relative; aspect-ratio: 4 / 3; border: none; border-radius: 0; }
.product-card .body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.product-card .head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.product-card h3 { font-size: 17px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 4px; }
.product-card h3 a { color: var(--navy); }
.product-card h3 a:hover { color: var(--accent); }
.product-card .cat { font-size: 13px; color: var(--muted-2); }
.product-card .price-col { text-align: end; }
.price { font-size: 17px; font-weight: 700; color: var(--navy); white-space: nowrap; }
.rating { font-size: 12px; color: var(--star); white-space: nowrap; }
.rating span { color: #9AA6B6; }

.tag {
  position: absolute;
  top: 14px;
  inset-inline-start: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--navy);
}

.swatches { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.swatch {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 1px solid rgba(10, 31, 60, .18);
  display: block;
  padding: 0;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}
.swatch:hover { transform: scale(1.12); }
.swatch.is-active { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--navy); }
.swatch-label { font-size: 12.5px; color: #8B96A6; margin-inline-start: 4px; }

.size-row { display: flex; gap: 6px; flex-wrap: wrap; }
.size-chip {
  min-width: 34px;
  text-align: center;
  padding: 5px 8px;
  border: 1px solid #E2E8F1;
  border-radius: 9px;
  font-size: 11.5px;
  font-weight: 600;
  color: #45536B;
  background: #fff;
  cursor: pointer;
  transition: all .16s ease;
}
.size-chip:hover { border-color: var(--accent); color: var(--navy); }
.size-chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }

.size-row.needs-pick { animation: shake .4s ease; }
.size-row.needs-pick .size-chip { border-color: var(--danger); }
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

.card-add {
  margin-top: auto;
  height: 46px;
  border: none;
  border-radius: 999px;
  background: #F2F6FC;
  color: var(--navy);
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.card-add:hover { background: var(--navy); color: #fff; }
.card-add.is-done { background: var(--accent); color: #fff; }

/* --------------------------------------------------------------------------
   Filtres (page produits)
   -------------------------------------------------------------------------- */

.filters {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 9px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--slate);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.chip:hover { border-color: var(--accent); color: var(--navy); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }

.field {
  height: 44px;
  border: 1px solid #E2E8F1;
  border-radius: var(--radius-sm);
  padding: 0 14px;
  font-size: 14.5px;
  color: var(--ink);
  background: #fff;
  outline: none;
  width: 100%;
  transition: border-color .2s ease;
}
.field:focus { border-color: var(--accent); }
textarea.field { height: auto; padding: 12px 14px; resize: vertical; line-height: 1.55; }

.search-box { position: relative; min-width: 240px; flex: 1; }
.results-count { font-size: 14px; color: var(--muted); margin-inline-start: auto; white-space: nowrap; }

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 64px 24px;
  color: var(--muted);
  background: #fff;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
}

/* --------------------------------------------------------------------------
   Fiche produit
   -------------------------------------------------------------------------- */

.breadcrumb { font-size: 13.5px; color: var(--muted-2); padding-top: 28px; display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb a { color: var(--muted-2); }
.breadcrumb a:hover { color: var(--navy); }

.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; padding-top: 32px; }
.pdp-gallery { display: flex; flex-direction: column; gap: 14px; }
.pdp-gallery .media-main { aspect-ratio: 4 / 5; border-radius: var(--radius-lg); }
.pdp-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.pdp-thumbs .media {
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  cursor: pointer;
  padding: 0;
  transition: border-color .2s ease;
}
.pdp-thumbs .media.is-active { border-color: var(--accent); border-width: 2px; }

.pdp-info h1 { font-size: 36px; font-weight: 700; margin-bottom: 12px; text-wrap: balance; }
.pdp-price { font-size: 30px; font-weight: 700; color: var(--navy); }
.pdp-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.pdp-desc { font-size: 16px; line-height: 1.7; color: var(--muted); margin-bottom: 28px; text-wrap: pretty; }

.opt-group { margin-bottom: 24px; }
.opt-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 10px;
}
.opt-label .picked { font-weight: 500; color: var(--muted-2); }

.opt-colors { display: flex; gap: 10px; flex-wrap: wrap; }
.opt-color {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 2px solid transparent;
  box-shadow: inset 0 0 0 1px rgba(10, 31, 60, .18);
  cursor: pointer;
  padding: 0;
  transition: border-color .2s ease, transform .2s ease;
}
.opt-color:hover { transform: scale(1.06); }
.opt-color.is-active { border-color: var(--navy); }

.opt-sizes { display: flex; gap: 8px; flex-wrap: wrap; }
.opt-size {
  min-width: 52px;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: var(--slate);
  cursor: pointer;
  transition: all .18s ease;
}
.opt-size:hover { border-color: var(--accent); }
.opt-size.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}
.qty button {
  width: 42px;
  height: 46px;
  border: none;
  background: transparent;
  font-size: 18px;
  color: var(--navy);
  cursor: pointer;
  transition: background .15s ease;
}
.qty button:hover { background: #F2F6FC; }
.qty input {
  width: 48px;
  height: 46px;
  border: none;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  outline: none;
  background: transparent;
  -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.pdp-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 26px; }
.pdp-actions .btn { flex: 1; min-width: 180px; }

.pdp-assurance {
  display: grid;
  gap: 12px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--slate);
}
.pdp-assurance div { display: flex; gap: 10px; align-items: flex-start; }
.pdp-assurance .tick { color: var(--accent); font-weight: 700; }

.spec-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.spec-table th, .spec-table td { text-align: start; padding: 13px 4px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { color: var(--slate); font-weight: 600; width: 40%; }
.spec-table td { color: var(--muted); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }

/* --------------------------------------------------------------------------
   Panier
   -------------------------------------------------------------------------- */

.cart-layout { display: grid; grid-template-columns: 1.55fr 1fr; gap: 32px; align-items: start; padding-top: 32px; }

.cart-items { display: flex; flex-direction: column; gap: 14px; }
.cart-row {
  display: grid;
  grid-template-columns: 104px 1fr auto;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  align-items: center;
}
.cart-row .media { width: 104px; aspect-ratio: 4 / 5; border-radius: 14px; }
.cart-row .name { font-size: 16px; font-weight: 600; color: var(--navy); }
.cart-row .name a { color: inherit; }
.cart-row .name a:hover { color: var(--accent); }
.cart-row .opts { font-size: 13.5px; color: var(--muted-2); margin-top: 5px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.cart-row .opts .dotcol { width: 12px; height: 12px; border-radius: 999px; border: 1px solid rgba(10,31,60,.2); display: inline-block; vertical-align: -1px; margin-inline-end: 5px; }
.cart-row .row-bottom { margin-top: 12px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.cart-row .line-total { text-align: end; font-size: 17px; font-weight: 700; color: var(--navy); white-space: nowrap; }

.link-danger {
  background: none;
  border: none;
  padding: 0;
  color: var(--muted-2);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: color .2s ease;
}
.link-danger:hover { color: var(--danger); }

.summary {
  position: sticky;
  top: 96px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-soft);
}
.summary h2 { font-size: 21px; font-weight: 700; margin-bottom: 20px; }
.sum-line { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; color: var(--slate); padding: 9px 0; }
.sum-line .val { font-weight: 600; color: var(--navy); }
.sum-line.total {
  border-top: 1px solid var(--line);
  margin-top: 10px;
  padding-top: 16px;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
}
.sum-note { font-size: 12.5px; color: var(--muted-2); line-height: 1.6; margin-top: 14px; }

.checkout-form { display: flex; flex-direction: column; gap: 14px; margin-top: 22px; }
.form-label { display: flex; flex-direction: column; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--slate); }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-error { border-color: var(--danger) !important; }
.error-msg { font-size: 12.5px; color: var(--danger); font-weight: 500; }

.cart-empty {
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 72px 28px;
}
.cart-empty .icon { font-size: 42px; margin-bottom: 16px; }
.cart-empty h2 { font-size: 24px; margin-bottom: 10px; }
.cart-empty p { color: var(--muted); margin-bottom: 26px; }

/* --------------------------------------------------------------------------
   Pourquoi nous / témoignages / FAQ
   -------------------------------------------------------------------------- */

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
}
.feature .ico {
  width: 44px; height: 44px;
  border-radius: 14px;
  background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-size: 19px; font-weight: 700;
  margin-bottom: 18px;
}
.feature h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.feature p { font-size: 14.5px; line-height: 1.6; color: var(--muted); }

.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.quote .stars { color: var(--star); font-size: 14px; letter-spacing: 2px; }
.quote blockquote { margin: 0; font-size: 16px; line-height: 1.65; color: #25324A; text-wrap: pretty; }
.quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.quote .avatar {
  width: 40px; height: 40px; border-radius: 999px;
  background: repeating-linear-gradient(135deg, #EEF3FA 0 6px, #E1EAF6 6px 12px);
  flex-shrink: 0;
}
.quote .who { font-size: 14.5px; font-weight: 600; color: var(--navy); display: block; }
.quote .role { font-size: 13px; color: var(--muted-2); display: block; }

.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
}
.faq-item > summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--navy);
  list-style: none;
  cursor: pointer;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item .chev { color: var(--accent); font-size: 18px; transition: transform .2s ease; flex-shrink: 0; }
.faq-item[open] .chev { transform: rotate(45deg); }
.faq-item p { margin-top: 14px; font-size: 15px; line-height: 1.65; color: var(--muted); }

/* --------------------------------------------------------------------------
   Bandeau CTA
   -------------------------------------------------------------------------- */

.cta-band {
  border-radius: 32px;
  background: linear-gradient(135deg, #0A1F3C 0%, #123A73 55%, #0F5C50 140%);
  padding: 72px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  box-shadow: 0 40px 80px -40px rgba(10, 31, 60, .6);
}
.cta-band h2 { font-size: 42px; font-weight: 700; color: #fff; max-width: 640px; margin-bottom: 12px; text-wrap: balance; }
.cta-band p { font-size: 17px; color: #BBD1EE; }
.cta-band .btn { background: #fff; color: var(--navy); height: 60px; font-size: 16.5px; }
.cta-band .btn:hover { background: #fff; color: var(--navy); }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
  color: inherit;
  transition: border-color .2s ease;
}
.contact-item:hover { border-color: var(--accent); color: inherit; }
.contact-item .ico {
  width: 38px; height: 38px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}
.contact-item.wa .ico { background: #E8F9EE; color: #128C4A; }
.contact-item b { display: block; font-size: 14.5px; font-weight: 600; color: var(--navy); }
.contact-item span { display: block; font-size: 13.5px; color: var(--muted-2); }

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 30px 60px -40px rgba(10, 31, 60, .4);
}

/* --------------------------------------------------------------------------
   Pied de page
   -------------------------------------------------------------------------- */

.site-footer { margin-top: 96px; background: var(--navy); color: #C7D6EA; }
.footer-top {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 64px 24px 28px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand .mark { width: 28px; height: 28px; border-radius: 9px; background: linear-gradient(140deg, #3FBFA6, #fff); }
.footer-brand b { font-size: 17px; font-weight: 700; color: #fff; letter-spacing: -.02em; }
.footer-top p { font-size: 14px; line-height: 1.65; max-width: 300px; color: #9FB4CE; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-col .title { color: #fff; font-weight: 600; margin-bottom: 4px; }
.footer-col a { color: #9FB4CE; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 20px 24px 40px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #7F97B6;
}

/* --------------------------------------------------------------------------
   Éléments flottants
   -------------------------------------------------------------------------- */

.fab-wa {
  position: fixed;
  inset-inline-end: 24px;
  bottom: 24px;
  z-index: 70;
  width: 58px; height: 58px;
  border-radius: 999px;
  background: var(--whatsapp);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 16px 34px -12px rgba(37, 211, 102, .7);
  animation: floaty 3.4s ease-in-out infinite;
}
.fab-wa:hover { color: #fff; }
.fab-wa svg { width: 28px; height: 28px; fill: currentColor; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

.to-top {
  position: fixed;
  inset-inline-end: 24px;
  bottom: 94px;
  z-index: 70;
  width: 46px; height: 46px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  font-size: 17px;
  cursor: pointer;
  box-shadow: 0 12px 26px -14px rgba(10, 31, 60, .5);
  transition: opacity .25s ease, transform .25s ease;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}
.to-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }

/* Notification « ajouté au panier » */
.toast-host {
  position: fixed;
  inset-inline-end: 24px;
  bottom: 96px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--navy);
  color: #fff;
  padding: 14px 20px;
  border-radius: 14px;
  font-size: 14.5px;
  font-weight: 500;
  box-shadow: 0 20px 40px -18px rgba(10, 31, 60, .7);
  animation: toast-in .3s cubic-bezier(.2, .8, .3, 1);
  max-width: 320px;
}
.toast.out { animation: toast-out .3s ease forwards; }
.toast .tick { color: #4ADE9B; font-weight: 700; }
@keyframes toast-in { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes toast-out { to { opacity: 0; transform: translateY(10px) scale(.97); } }

/* Révélation au défilement */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1);
}
[data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .burger { display: flex; order: 3; }
  .header-actions { order: 2; }
  .main-nav {
    display: none;
    position: absolute;
    top: 74px;
    inset-inline: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 18px;
    box-shadow: 0 20px 40px -30px rgba(10, 31, 60, .5);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid #F1F4F9; font-size: 16px; }
  .main-nav a.is-active::after { display: none; }
  .header-actions { margin-inline-start: auto; }

  .hero-inner, .contact-grid, .pdp, .cart-layout { grid-template-columns: 1fr; gap: 44px; }
  .summary { position: static; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid, .product-grid.cols-4, .feature-grid, .quote-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 46px; }
  .section-head h2 { font-size: 34px; }
  .cta-band { padding: 52px 34px; }
  .cta-band h2 { font-size: 32px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero-stat { inset-inline-start: 16px; }
}

@media (max-width: 720px) {
  .wrap { padding-inline: 18px; }
  .section { padding-top: 64px; }
  .header-inner { padding-inline: 18px; gap: 12px; }
  .logo img { height: 42px; }
  .logo-text { display: none; }
  .lang-switch button { padding: 7px 10px; }
  .cart-link span:not(.cart-count) { display: none; }
  .cart-link { padding: 0 12px; }

  .hero-inner { padding: 52px 18px 60px; }
  .hero h1 { font-size: 34px; }
  .hero-lead { font-size: 17px; }
  .btn { height: 48px; padding: 0 22px; font-size: 15px; }
  .hero-cta .btn { flex: 1; }

  .cat-grid, .product-grid, .product-grid.cols-4, .feature-grid, .quote-grid { grid-template-columns: 1fr; }
  .section-head h2 { font-size: 27px; }
  .pdp-info h1 { font-size: 27px; }
  .pdp-price { font-size: 25px; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 24px; border-radius: 24px; }
  .cta-band h2 { font-size: 26px; }
  .contact-form, .summary { padding: 22px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }

  .cart-row { grid-template-columns: 78px 1fr; }
  .cart-row .media { width: 78px; }
  .cart-row .line-total { grid-column: 1 / -1; text-align: start; }
  .results-count { margin-inline-start: 0; width: 100%; }
}
