/* MediCalli — identité : turquoise #009A9A · secondaire #75CED6 · fond #C0E5E8 · accent chaud #D97757 */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Palette marque */
  --bg: #C0E5E8;
  --surface: #ffffff;
  --text: #143538;
  --text-primary: #143538;
  --text-secondary: #4A6569;
  --border: rgba(0, 154, 154, 0.1);
  --border-strong: rgba(0, 154, 154, 0.16);
  --accent: #009A9A;
  --accent-dark: #007A7A;
  --accent-light: rgba(117, 206, 214, 0.28);
  --secondary: #75CED6;
  --secondary-soft: rgba(117, 206, 214, 0.22);
  --bg-soft: rgba(255, 255, 255, 0.55);
  --bg-mist: rgba(192, 229, 232, 0.65);
  /* Accent chaud : liens, emphase, secondaires d’action (contraste avec le turquoise) */
  --accent-warm: #D97757;
  --accent-warm-soft: rgba(217, 119, 87, 0.14);
  --accent-warm-hover: #C45D3D;
  --success: #009A9A;
  --success-light: rgba(117, 206, 214, 0.28);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: none;
  --shadow-md: none;
  --focus-ring: 0 0 0 2px #ffffff, 0 0 0 4px var(--accent);
  --font-sans: "Barlow Semi Condensed", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --header-h: 92px;
  --header-bar-h: 48px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --max: 1400px;
  /* Échelle typo (légèrement relevée pour lisibilité) */
  --fs-body: 1.125rem;
  --fs-lg: 1.1875rem;
  --fs-md: 1.0625rem;
  --fs-sm: 0.9375rem;
  --fs-xs: 0.875rem;
  --fs-2xs: 0.8125rem;
  --fs-caption: 0.75rem;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 120% 80% at 100% 0%, rgba(117, 206, 214, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse 90% 60% at 0% 100%, rgba(0, 154, 154, 0.08) 0%, transparent 50%);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.58;
  font-size: var(--fs-body);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid var(--border);
}

.site-header-bar {
  height: var(--header-bar-h);
  border-bottom: 1px solid var(--border);
}

.site-header-bar-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 18px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: nowrap;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 42px;
  width: auto;
  display: block;
  object-fit: contain;
  border-radius: 6px;
}

.footer-logo-img {
  height: 28px;
  width: auto;
  display: block;
  object-fit: contain;
  margin-bottom: 4px;
}

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

.nav-chat-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-light);
  border: none;
  border-radius: 980px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
}

.nav-chat-btn:hover {
  background: var(--secondary-soft);
}

.nav-compare {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 8px 4px;
}

.nav-compare:hover { color: var(--text); }
.nav-compare.has-selection { color: var(--text); font-weight: 600; }

.site-header-cats {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.site-header-cats::-webkit-scrollbar { display: none; }

.site-header-cats-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 10px 18px 12px;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0;
  min-height: 44px;
}

.category-tab {
  flex-shrink: 0;
  padding: 8px 14px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-secondary);
  background: none;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}

.category-tab:hover {
  color: var(--text);
  background: var(--bg-mist);
}

.category-tab.active {
  color: var(--accent);
  font-weight: 600;
  background: var(--accent-light);
}

/* ── Subcategory bar ── */
.site-header-subcats {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.site-header-subcats::-webkit-scrollbar { display: none; }
.site-header-subcats {
  display: flex;
  padding: 8px 18px 10px;
  max-width: var(--max);
  margin: 0 auto;
  gap: 6px;
  flex-wrap: nowrap;
}

.subcat-tab {
  flex-shrink: 0;
  padding: 5px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-mist);
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}
.subcat-tab:hover {
  color: var(--accent);
  background: var(--accent-light);
}
.subcat-tab.active {
  color: var(--accent);
  background: var(--accent-light);
  font-weight: 600;
}

/* ── Pagination ── */
.pagination-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 28px 18px 40px;
  flex-wrap: wrap;
}

.page-btn {
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  font-size: 15px;
  font-weight: 500;
  font-family: inherit;
  color: var(--text);
  background: var(--surface);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.page-btn:hover:not(:disabled) {
  background: var(--accent-light);
  color: var(--accent);
}
.page-btn.active {
  background: var(--accent);
  color: #fff;
  font-weight: 600;
}
.page-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.page-ellipsis {
  color: var(--text-secondary);
  padding: 0 4px;
  font-size: 17px;
  user-select: none;
}

.category-sep {
  flex-shrink: 0;
  width: 1px;
  height: 16px;
  background: var(--border);
  align-self: center;
}

/* ─── Hero section ─── */
.hero {
  padding-top: var(--header-h);
  background:
    linear-gradient(112deg, rgba(192, 229, 232, 0.94) 0%, rgba(192, 229, 232, 0.55) 28%, rgba(117, 206, 214, 0.12) 58%, rgba(192, 229, 232, 0.04) 100%),
    url('../assets/hero-wheelchair.png') right 40% / cover no-repeat;
  border-bottom: 1px solid var(--border);
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 60px 22px 64px;
  display: flex;
  align-items: center;
  gap: 48px;
  width: 100%;
}

.hero-content {
  flex: 1;
  min-width: 0;
}

.hero-eyebrow { display: none; }

.hero-specialty-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px 6px 10px;
  background: var(--accent-light);
  color: var(--accent);
  border: none;
  border-radius: 980px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}

.hero-title {
  font-size: clamp(2.125rem, 4.75vw, 3.35rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: var(--text);
  margin-bottom: 16px;
}

.hero-title .hero-accent {
  color: var(--accent-warm);
}

.hero-sub {
  font-size: 17px;
  color: var(--text-secondary);
  font-weight: 400;
  line-height: 1.65;
  max-width: 460px;
  margin-bottom: 30px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.btn-hero-scroll {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 13px 26px;
  background: var(--accent);
  color: #fff;
  border-radius: 980px;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s, transform 0.18s;
}

.btn-hero-scroll:hover {
  background: var(--accent-dark);
  transform: scale(1.01);
}

.btn-hero-chat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.65);
  color: var(--accent);
  border: none;
  border-radius: 980px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}

.btn-hero-chat:hover {
  background: var(--secondary-soft);
  color: var(--accent-dark);
}

/* ─── Vendor card (in hero) ─── */
.vendor-card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius);
  border: none;
  padding: 22px 22px 18px;
  width: 288px;
  flex-shrink: 0;
}

.vendor-card-header {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 16px;
}

.vendor-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

.vendor-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.vendor-role {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.45;
}

.vendor-phone-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  background: var(--accent-warm-soft);
  border: none;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--accent-warm-hover);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition: background 0.15s, color 0.15s;
  margin-bottom: 10px;
}

.vendor-phone-link svg {
  flex-shrink: 0;
}

.vendor-phone-link:hover {
  background: rgba(217, 119, 87, 0.22);
  color: var(--accent-warm-hover);
}

.vendor-note {
  font-size: 12px;
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .hero {
    background:
      linear-gradient(
        180deg,
        rgba(192, 229, 232, 0.88) 0%,
        rgba(192, 229, 232, 0.65) 55%,
        rgba(117, 206, 214, 0.2) 100%
      ),
      url('../assets/hero-wheelchair.png') center 24% / cover no-repeat;
    min-height: auto;
  }
  .hero-inner {
    flex-direction: column;
    gap: 28px;
    padding-top: 44px;
    padding-bottom: 44px;
  }
  .vendor-card {
    width: 100%;
    max-width: 400px;
  }
}

/* ─── Trust band ─── */
.trust-band {
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid var(--border);
  padding: 11px 22px;
}

.trust-band-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 32px;
  align-items: center;
  justify-content: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
}

.trust-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--success-light);
  color: var(--success);
  font-size: 11px;
  font-weight: 900;
  flex-shrink: 0;
}

/* ─── Catalog ─── */
.catalog-main {
  padding: 48px 16px 80px;
  max-width: var(--max);
  margin: 0 auto;
  min-height: 60vh;
  scroll-margin-top: 148px;
}

.catalog-header {
  margin-bottom: 20px;
}

.catalog-title {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}

.catalog-search {
  margin-top: 14px;
  max-width: 700px;
  position: relative;
}

.catalog-search-header {
  margin-top: 0;
  margin-left: auto;
  width: min(520px, calc(100% - 120px));
  max-width: 520px;
  min-width: 150px;
}

.catalog-search-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.catalog-search-input-wrap {
  position: relative;
}

.catalog-search-input {
  width: 100%;
  height: 38px;
  border: none;
  background: rgba(255, 255, 255, 0.85);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 0 84px 0 14px;
  font-size: 14px;
  outline: none;
  transition: background 0.18s, box-shadow 0.18s;
}

.catalog-search-input:focus {
  background: #fff;
  box-shadow: var(--focus-ring);
}

.catalog-search-clear {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  height: 26px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 13px;
  padding: 0 9px;
  cursor: pointer;
  font-family: inherit;
}

.catalog-search-clear:hover {
  background: var(--bg-soft);
  color: var(--text);
}

.catalog-search-suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  background: var(--surface);
  border: none;
  border-radius: var(--radius-sm);
  padding: 6px;
  z-index: 20;
  max-height: 280px;
  overflow-y: auto;
}

.catalog-search-option {
  width: 100%;
  border: none;
  background: transparent;
  text-align: left;
  border-radius: 9px;
  padding: 8px 10px;
  cursor: pointer;
  font-family: inherit;
  color: var(--text);
}

.catalog-search-option:hover,
.catalog-search-option.active {
  background: var(--bg-soft);
}

.catalog-search-option-title {
  font-size: 14px;
  font-weight: 600;
}

.catalog-search-option-sub {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.catalog-search-meta {
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-secondary);
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 760px) {
  .catalog-search-header {
    width: calc(100% - 86px);
    min-width: 120px;
  }

  .logo-img {
    height: 36px;
  }

  .catalog-search-input {
    height: 34px;
    font-size: 13px;
    padding-right: 70px;
  }

  .catalog-search-clear {
    right: 6px;
    height: 24px;
    font-size: 12px;
    padding: 0 7px;
  }
}

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

@media (min-width: 700px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px 18px;
  }
}

@media (min-width: 1100px) {
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px 22px;
  }
}

.product-card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius);
  overflow: hidden;
  border: none;
  display: flex;
  flex-direction: column;
  min-width: 0;
  cursor: pointer;
  transform-origin: center center;
  transition: transform 0.38s var(--ease), background 0.3s var(--ease);
}

@media (hover: hover) {
  .product-card:hover {
    background: #fff;
  }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .product-card:hover {
    transform: scale(1.02) translateY(-4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-card {
    transition: background 0.28s var(--ease);
  }
}

.product-card-image {
  aspect-ratio: 3 / 4;
  min-height: 168px;
  background: var(--bg-soft);
  overflow: hidden;
  position: relative;
}

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 980px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.badge-manual {
  background: rgba(117, 206, 214, 0.35);
  color: var(--accent);
  border: none;
}

.badge-electric {
  background: rgba(117, 206, 214, 0.3);
  color: var(--accent);
  border: none;
}

.badge-foldable {
  background: rgba(117, 206, 214, 0.26);
  color: var(--accent);
  border: none;
}

.badge-neutral {
  background: rgba(0, 154, 154, 0.12);
  color: var(--text-secondary);
  border: none;
}

@media (min-width: 700px) {
  .product-card-image {
    min-height: 240px;
    aspect-ratio: 4 / 5;
  }
}

@media (min-width: 1100px) {
  .product-card-image {
    min-height: 280px;
  }
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform-origin: center center;
  transition: transform 0.5s var(--ease);
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .product-card:hover .product-card-image img {
    transform: scale(1.06);
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-card-image img {
    transition: none;
  }
}

.product-card-body {
  padding: 14px 12px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

@media (min-width: 700px) {
  .product-card-body {
    padding: 18px 16px 22px;
  }
}

.product-card h2 {
  font-size: clamp(16px, 2.2vw, 19px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 5px;
  line-height: 1.2;
  color: var(--text);
}

.card-tagline {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-features {
  list-style: none;
  margin-bottom: 14px;
  flex: 1;
}

.product-features li {
  font-size: 14px;
  color: var(--text-secondary);
  padding: 3px 0;
  padding-left: 12px;
  position: relative;
  line-height: 1.4;
}

.product-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-secondary);
}

.product-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: auto;
}

.btn-view {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border-radius: 980px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  transition: background 0.18s, transform 0.18s;
}

.btn-view:hover {
  background: var(--accent-dark);
  transform: scale(1.02);
}

.btn-view-outline {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(255, 255, 255, 0.7);
  border: none;
  border-radius: 980px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.18s, color 0.18s;
}

.btn-view-outline:hover {
  background: var(--secondary-soft);
  color: var(--accent-dark);
}

.btn-phone {
  gap: 7px;
  background: var(--accent);
}

.btn-phone:hover {
  background: var(--accent-dark);
}

.btn-compare-toggle {
  font-size: 13px;
  color: var(--text-secondary);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.btn-compare-toggle.in-compare { color: var(--text); font-weight: 500; }

.empty-grid {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 20px;
  color: var(--text-secondary);
  font-size: 16px;
}

.site-footer {
  padding: 48px 22px 32px;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.45);
}

.site-footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

@media (min-width: 768px) {
  .site-footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer-logo {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.footer-tagline {
  font-size: 13px;
  color: var(--text-secondary);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--text); }

.footer-copy {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ─── Product page ─── */
.product-page {
  padding-top: var(--header-h);
  min-height: 100vh;
  background: var(--surface);
}

.product-page-back {
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px 22px 0;
}

.product-page-back button {
  font-size: 14px;
  color: var(--text-secondary);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.product-page-back button:hover { color: var(--text); }

.product-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px 22px 40px;
}

@media (min-width: 900px) {
  .product-gallery {
    grid-template-columns: 1.6fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 14px;
    min-height: 78vh;
    max-height: 900px;
  }
  .product-gallery .gallery-main {
    grid-row: 1 / 3;
    min-height: 100%;
  }
}

.gallery-cell {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-mist);
  min-height: 260px;
}

.gallery-main { min-height: 400px; }

.gallery-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 260px;
}

@media (min-width: 900px) {
  .gallery-main img { min-height: 100%; }
}

.product-detail {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 22px 100px;
}

.product-detail-category {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.product-detail h1 {
  font-size: clamp(2.125rem, 4.25vw, 2.95rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 10px;
}

.product-tagline {
  font-size: 21px;
  color: var(--text-secondary);
  font-weight: 400;
  margin-bottom: 36px;
  line-height: 1.35;
}

.detail-section-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.detail-features {
  list-style: none;
  margin-bottom: 44px;
}

.detail-features li {
  font-size: 17px;
  padding: 12px 0;
  padding-left: 22px;
  position: relative;
  border-bottom: 1px solid rgba(0, 154, 154, 0.08);
  line-height: 1.45;
}

.detail-features li::before {
  content: "·";
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--text);
}

.specs-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

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

.specs-table tr {
  border-bottom: 1px solid rgba(0, 154, 154, 0.08);
}

.specs-table th,
.specs-table td {
  padding: 14px 0;
  text-align: left;
  font-weight: 400;
}

.specs-table th {
  color: var(--text-secondary);
  width: 42%;
  font-size: 15px;
}

.coverage-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--accent-light);
  border: none;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--accent);
  padding: 14px 16px;
  margin-top: 28px;
  font-size: 15px;
  color: var(--text);
  line-height: 1.5;
}

.coverage-notice-icon {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}

.product-detail-cta {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-contact-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.footer-contact-phone {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent-warm-hover);
  text-decoration: none;
}

.footer-contact-phone:hover {
  text-decoration: underline;
  color: var(--accent-warm);
}

.footer-contact-location {
  font-size: 13px;
  color: var(--text-secondary);
}

.compare-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

.compare-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.compare-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.96);
  z-index: 201;
  width: calc(100% - 32px);
  max-width: 900px;
  max-height: 85vh;
  overflow: auto;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s, transform 0.25s var(--ease);
}

.compare-modal.open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.compare-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--surface);
}

.compare-modal-header h3 {
  font-size: 18px;
  font-weight: 600;
}

.compare-close {
  width: 32px;
  height: 32px;
  border: none;
  background: #f5f5f7;
  border-radius: 50%;
  cursor: pointer;
  font-size: 19px;
  line-height: 1;
}

.compare-body { padding: 24px; overflow-x: auto; }

.compare-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 15px;
}

.compare-table th,
.compare-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.compare-table th {
  color: var(--text-secondary);
  font-weight: 500;
  width: 140px;
}

.compare-table img {
  width: 100%;
  max-width: 200px;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}

.compare-thumb-name {
  margin-top: 8px;
  font-weight: 600;
  font-size: 15px;
}

.compare-mini {
  list-style: none;
  margin: 0;
  padding: 0;
}

.compare-mini li {
  font-size: 14px;
  color: var(--text-secondary);
  padding: 4px 0;
  padding-left: 12px;
  position: relative;
}

.compare-mini li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-secondary);
}

/* ─── Compare Tray (barre flottante) ───────────────────────────────── */
.compare-tray {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 150;
  transform: translateY(100%);
  transition: transform 0.28s var(--ease);
  pointer-events: none;
}

.compare-tray.is-visible {
  transform: translateY(0);
  pointer-events: auto;
}

.compare-tray-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--border);
  padding: 10px 18px;
  max-width: 100%;
}

.compare-tray-scroll {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 2px;
}

.compare-tray-scroll::-webkit-scrollbar { display: none; }

.compare-tray-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  width: 68px;
}

.compare-tray-thumb {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: none;
  background: var(--bg-mist);
}

.compare-tray-name {
  font-size: 11px;
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 68px;
}

.compare-tray-remove {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--text);
  color: #fff;
  border: none;
  font-size: 11px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.compare-tray-remove:hover { background: #c0392b; }

.compare-tray-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.compare-tray-count {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}

.compare-tray-clear {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 6px 8px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}

.compare-tray-clear:hover {
  background: var(--bg-soft);
  color: var(--text);
}

.compare-tray-go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 980px;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: background 0.18s, transform 0.15s;
}

.compare-tray-go:hover:not(:disabled) {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.compare-tray-go:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

body.has-compare-tray {
  padding-bottom: 88px;
}

/* ─── Vue dédiée comparaison (#view-compare) ───────────────────────── */
#view-compare.hidden { display: none; }
#view-compare:not(.hidden) { display: block; }

.compare-page {
  padding-top: var(--header-h);
  min-height: 100vh;
  background: var(--surface);
}

.compare-view-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 22px 14px;
  flex-wrap: wrap;
}

.compare-view-back {
  font-size: 14px;
  color: var(--text-secondary);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  transition: color 0.15s;
}

.compare-view-back:hover { color: var(--text); }

.compare-view-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  flex: 1;
  text-align: center;
}

.compare-clear-all {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-mist);
  border: none;
  border-radius: 980px;
  padding: 6px 14px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}

.compare-clear-all:hover {
  background: var(--accent-light);
  color: var(--text);
}

.compare-view-wrap {
  overflow-x: auto;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 22px 60px;
  -webkit-overflow-scrolling: touch;
}

.compare-view-table {
  border-collapse: collapse;
  font-size: 15px;
  width: 100%;
  min-width: 560px;
}

.compare-corner {
  width: 140px;
  min-width: 120px;
  background: var(--surface);
  position: sticky;
  left: 0;
  z-index: 2;
  border-bottom: 2px solid var(--border);
}

.compare-col-header {
  min-width: 180px;
  max-width: 260px;
  padding: 12px 16px 16px;
  text-align: center;
  vertical-align: top;
  border-bottom: 2px solid var(--border);
  border-left: 1px solid var(--border);
  position: relative;
}

.compare-col-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--text-secondary);
  border: none;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
}

.compare-col-remove:hover {
  background: #fde8e8;
  color: #c0392b;
}

.compare-col-img-wrap {
  margin: 8px auto 10px;
  width: 100px;
  height: 100px;
}

.compare-col-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: none;
}

.compare-col-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
}

.compare-row-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  position: sticky;
  left: 0;
  z-index: 1;
  width: 140px;
  min-width: 120px;
}

.compare-view-table tbody td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  border-left: 1px solid var(--border);
  vertical-align: top;
  font-size: 15px;
  color: var(--text);
  line-height: 1.55;
}

.compare-view-table tbody tr:nth-child(even) td,
.compare-view-table tbody tr:nth-child(even) .compare-row-label {
  background: var(--bg-soft);
}

.compare-na {
  color: var(--text-secondary);
  opacity: 0.45;
}

.compare-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 80px 24px;
  text-align: center;
  color: var(--text-secondary);
}

.compare-empty p { font-size: 16px; max-width: 340px; }

@media (max-width: 640px) {
  .compare-tray-inner { padding: 8px 12px; gap: 8px; }
  .compare-tray-count { display: none; }
  .compare-view-topbar { padding: 14px 16px 10px; }
  .compare-view-title { font-size: 16px; }
  .compare-view-wrap { padding: 0 0 60px; }
  .compare-row-label { font-size: 12px; width: 110px; min-width: 90px; }
  .compare-col-header { min-width: 140px; padding: 8px 10px 12px; }
  .compare-col-img-wrap { width: 72px; height: 72px; }
}

.hidden { display: none !important; }

#view-home.hidden { display: none; }
#view-product:not(.hidden) { display: block; }
#view-product.hidden { display: none; }

/* ═══════════════════════════════════════
   CHATBOT
═══════════════════════════════════════ */

/* ─── FAB ─── */
.chat-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 300;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 22px;
  background: var(--accent);
  color: #ffffff;
  border: none;
  border-radius: 980px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.25s var(--ease), opacity 0.3s;
}

body.has-compare-tray .chat-fab {
  bottom: 102px;
}

.chat-fab:hover {
  transform: translateY(-2px);
  background: var(--accent-dark);
}

.chat-fab.chat-fab-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px) scale(0.88);
}

@media (max-width: 480px) {
  .chat-fab {
    right: 16px;
    bottom: 20px;
    padding: 12px 18px;
    font-size: 14px;
  }

  body.has-compare-tray .chat-fab {
    bottom: 94px;
  }
}

/* ─── Backdrop ─── */
.chat-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.32);
  z-index: 301;
  opacity: 0;
  visibility: hidden;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  transition: opacity 0.3s, visibility 0.3s;
}

.chat-backdrop.open {
  opacity: 1;
  visibility: visible;
}

/* ─── Panel ─── */
.chat-panel {
  position: fixed;
  bottom: 0;
  right: 28px;
  z-index: 302;
  width: 384px;
  max-width: calc(100vw - 20px);
  height: 580px;
  max-height: calc(100vh - 110px);
  background: #ffffff;
  border-radius: 22px 22px 0 0;
  border: 1px solid var(--border);
  border-bottom: none;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(110%) scale(0.96);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s, visibility 0.3s;
}

.chat-panel.open {
  transform: translateY(0) scale(1);
  opacity: 1;
  visibility: visible;
}

.chat-panel.is-fullscreen {
  right: 0;
  bottom: 0;
  width: 100vw;
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  border-radius: 0;
}

@media (max-width: 480px) {
  .chat-panel {
    right: 0;
    width: 100%;
    max-width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 22px 22px 0 0;
  }

  /* When keyboard is open, JS sets --chat-vv-* to anchor panel above keyboard */
  .chat-panel.open {
    top: var(--chat-vv-top, auto);
    bottom: var(--chat-vv-bottom, 0);
    height: var(--chat-vv-height, 100dvh);
    max-height: var(--chat-vv-height, 100dvh);
  }
}

/* Prevent page scroll behind the chat panel on mobile */
@media (max-width: 480px) {
  body.chat-is-open {
    overflow: hidden;
    overscroll-behavior: none;
  }
}

/* ─── Panel header ─── */
.chat-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: linear-gradient(120deg, var(--accent) 0%, var(--accent-dark) 55%, #006868 100%);
  flex-shrink: 0;
}

.chat-panel-identity {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-panel-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
  flex-shrink: 0;
}

.chat-panel-name {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.chat-panel-status {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
}

.chat-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7FE3D3;
  flex-shrink: 0;
}

.chat-close {
  width: 32px;
  height: 32px;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  transition: background 0.15s, color 0.15s;
  flex-shrink: 0;
}

.chat-close:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.chat-panel-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.chat-expand {
  width: 32px;
  height: 32px;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.75);
  transition: background 0.15s, color 0.15s;
  flex-shrink: 0;
}

.chat-expand:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.chat-expand-icon {
  display: none;
}

.chat-expand-icon-enter {
  display: block;
}

.chat-panel.is-fullscreen .chat-expand-icon-enter {
  display: none;
}

.chat-panel.is-fullscreen .chat-expand-icon-exit {
  display: block;
}

/* ─── Messages ─── */
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 18px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(192, 229, 232, 0.3);
  scroll-behavior: smooth;
}

.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-track { background: transparent; }
.chat-messages::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.1); border-radius: 2px; }

.cmsg {
  display: flex;
  flex-direction: column;
  max-width: 86%;
}

.cmsg-user {
  align-self: flex-end;
  align-items: flex-end;
}

.cmsg-assistant {
  align-self: flex-start;
  align-items: flex-start;
}

.cbubble {
  padding: 11px 15px;
  border-radius: 18px;
  font-size: 15px;
  line-height: 1.55;
  word-break: break-word;
}

.cmsg-user .cbubble {
  background: var(--accent);
  color: #ffffff;
  border-radius: 18px 18px 5px 18px;
}

.cmsg-assistant .cbubble {
  background: #ffffff;
  color: var(--text);
  border-radius: 18px 18px 18px 5px;
  border: 1px solid var(--border);
}

/* ─── Loading dots ─── */
.cmsg-loading .cbubble {
  display: flex;
  gap: 5px;
  align-items: center;
  padding: 14px 18px;
}

.cdot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c7c7cc;
  animation: cdotBounce 1.3s infinite ease-in-out;
}

.cdot:nth-child(2) { animation-delay: 0.16s; }
.cdot:nth-child(3) { animation-delay: 0.32s; }

@keyframes cdotBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-5px); opacity: 1; }
}

/* ─── Product card inside chat ─── */
.chat-card {
  display: flex;
  align-items: center;
  gap: 11px;
  background: var(--bg-mist);
  border: none;
  border-radius: 14px;
  padding: 10px 12px;
  margin: 8px 0;
  cursor: pointer;
  transition: background 0.14s, transform 0.14s;
  text-align: left;
  width: 100%;
}

.cbubble .chat-card:first-child {
  margin-top: 0;
}

.cbubble .chat-card:last-child {
  margin-bottom: 0;
}

.chat-card:hover {
  background: var(--accent-light);
  transform: scale(1.01);
}

.ccrd-img {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(117, 206, 214, 0.35);
}

.ccrd-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ccrd-img-placeholder {
  background: linear-gradient(135deg, rgba(117, 206, 214, 0.45), rgba(192, 229, 232, 0.8));
}

.ccrd-body {
  flex: 1;
  min-width: 0;
}

.ccrd-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ccrd-tagline {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ccrd-arrow {
  font-size: 15px;
  color: var(--text-secondary);
  flex-shrink: 0;
  transition: color 0.14s;
}

.chat-card:hover .ccrd-arrow {
  color: var(--accent);
}

/* ─── Input area ─── */
.chat-input-area {
  display: flex;
  align-items: flex-end;
  gap: 9px;
  padding: 11px 12px 14px;
  padding-bottom: max(14px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--border);
  background: #ffffff;
  flex-shrink: 0;
}

.chat-input {
  flex: 1;
  border: none;
  border-radius: 14px;
  padding: 10px 14px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: var(--bg-mist);
  resize: none;
  outline: none;
  max-height: 120px;
  line-height: 1.45;
  transition: background 0.18s, box-shadow 0.18s;
}

.chat-input:focus {
  background: #ffffff;
  box-shadow: var(--focus-ring);
}

.chat-input::placeholder { color: #b0b0b8; }

.chat-send {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
  transition: opacity 0.18s, transform 0.18s;
}

.chat-send:hover:not(:disabled) {
  background: var(--accent-dark);
  opacity: 1;
  transform: scale(1.06);
}

.chat-send:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* ─── Bouton contact (dans product-detail-cta) ─────────────────────── */
.btn-contact {
  gap: 7px;
}

/* ─── Contact modal ─────────────────────────────────────────────────── */
.contact-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s var(--ease);
}
.contact-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 301;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  pointer-events: none;
}
.contact-modal.is-open {
  pointer-events: auto;
}

.contact-modal-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  width: 100%;
  max-width: 600px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateY(18px) scale(0.97);
  opacity: 0;
  transition: transform 0.26s var(--ease), opacity 0.22s var(--ease);
}
.contact-modal.is-open .contact-modal-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.contact-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 0;
}
.contact-modal-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
}
.contact-modal-title-group h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}
.contact-modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--bg);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s;
}
.contact-modal-close:hover {
  background: var(--accent-light);
  color: var(--accent);
}

/* ─── Contact form ──────────────────────────────────────────────────── */
.contact-form {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-form-row {
  display: flex;
  gap: 14px;
}
.contact-form-row--2 > .contact-field {
  flex: 1 1 0;
  min-width: 0;
}
.contact-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.contact-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.contact-label span[aria-hidden] {
  color: var(--accent);
}
.contact-optional {
  font-weight: 400;
  color: var(--text-secondary);
  font-size: 13px;
}
.contact-input {
  width: 100%;
  padding: 10px 14px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: var(--bg-mist);
  border: none;
  border-radius: var(--radius-sm);
  outline: none;
  transition: box-shadow 0.18s, background 0.18s;
  appearance: none;
  -webkit-appearance: none;
}
.contact-input::placeholder { color: #9AACBE; }
.contact-input:focus {
  background: #fff;
  box-shadow: var(--focus-ring);
}
.contact-input[aria-invalid="true"] {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(215, 38, 61, 0.45);
}
.contact-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235A6878' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.contact-textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.55;
}
.contact-error {
  display: none;
  font-size: 13px;
  color: #D7263D;
  font-weight: 500;
}
.contact-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 4px;
}
.contact-required-note {
  font-size: 13px;
  color: var(--text-secondary);
}
.contact-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 980px;
  cursor: pointer;
  transition: background 0.18s, transform 0.15s;
}
.contact-submit:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}
.contact-submit:active { transform: translateY(0); }
.contact-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ─── Success state ─────────────────────────────────────────────────── */
.contact-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 24px 36px;
  gap: 10px;
}
.contact-success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--success-light);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.contact-success h4 {
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
}
.contact-success p {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 340px;
  line-height: 1.55;
}
.contact-success-btn {
  margin-top: 10px;
  padding: 10px 28px;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  background: var(--secondary-soft);
  border: none;
  border-radius: 980px;
  cursor: pointer;
  transition: background 0.15s;
}
.contact-success-btn:hover { background: var(--accent-light); }

/* ─── Responsive ────────────────────────────────────────────────────── */
@media (max-width: 520px) {
  .contact-form-row--2 {
    flex-direction: column;
  }
  .contact-modal-header,
  .contact-form {
    padding-left: 18px;
    padding-right: 18px;
  }
}

/* ─── Design system utility classes (ready to use) ─────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: none;
  border-radius: 980px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, transform 0.15s;
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: none;
  border-radius: 980px;
  background: var(--secondary-soft);
  color: var(--accent);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, transform 0.15s;
}
.btn-secondary:hover {
  background: var(--accent-light);
}

.card {
  background: var(--surface);
  border: none;
  border-radius: var(--radius);
}

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

:where(button, a, input, textarea, select):focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

/* ────────────────────────────────────────────────────────
   SEO About Section
──────────────────────────────────────────────────────── */
.seo-about {
  padding: 3.5rem 1rem 4rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, var(--bg) 40%, rgba(117, 206, 214, 0.15) 100%);
  border-top: 1px solid var(--border);
}

.seo-about-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.seo-about-intro h2 {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 .75rem;
  line-height: 1.35;
}

.seo-about-intro p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 780px;
  margin: 0;
}

.seo-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.seo-service-card {
  background: rgba(255, 255, 255, 0.88);
  border: none;
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
}

.seo-service-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 .5rem;
}

.seo-service-card p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}

.footer-contact-address {
  font-style: normal;
  display: contents;
}

.seo-zones {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}

.seo-zones h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 .6rem;
}

.seo-zones > p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0 0 1rem;
  max-width: 700px;
}

.seo-zones-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem .75rem;
}

.seo-zones-list li {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.75);
  border: none;
  border-radius: 8px;
  padding: .25rem .6rem;
}

.seo-zones-list li span {
  font-weight: 400;
  color: var(--text-secondary);
  margin-left: .2rem;
}

.seo-faq {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}

.seo-faq h3 {
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 1rem;
}

.seo-faq-item {
  border: none;
  border-radius: var(--radius-sm);
  margin-bottom: .6rem;
  background: rgba(255, 255, 255, 0.9);
  overflow: hidden;
  transform-origin: center center;
  transition: transform 0.32s var(--ease), background 0.25s var(--ease);
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .seo-faq-item:hover {
    transform: scale(1.012);
    background: rgba(255, 255, 255, 1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .seo-faq-item {
    transition: background 0.2s var(--ease);
  }
}

.seo-faq-item summary {
  padding: .9rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  user-select: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: background .15s;
}

.seo-faq-item summary::-webkit-details-marker { display: none; }

.seo-faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--accent-warm);
  flex-shrink: 0;
  line-height: 1;
}

.seo-faq-item[open] > summary { background: var(--secondary-soft); }
.seo-faq-item[open] > summary::after { content: '−'; }

.seo-faq-item p {
  padding: 0 1.25rem 1rem;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin: 0;
}

.seo-faq-item p a {
  color: var(--accent-warm-hover);
  font-weight: 600;
  text-decoration: none;
}

.seo-faq-item p a:hover { text-decoration: underline; }

@media (max-width: 600px) {
  .seo-about-intro h2 { font-size: 1.3rem; }
  .seo-services-grid  { grid-template-columns: 1fr 1fr; }
}
