:root {
  /* Palette inspirée du logo Amsatou : or + vert sur fond sombre */
  --color-primary: #f0c040; /* or/logo */
  --color-primary-dark: #d4a525;
  --color-secondary: #28a745; /* vert gazon */
  --color-bg: #0f2813;        /* fond vert gazon foncé */
  --color-bg-alt: #16351c;    /* variante légèrement plus claire */
  --color-surface: #1b3f23;
  --color-surface-soft: #204827;
  --color-text: #f5f5f5;
  --color-muted: #b0b0b0;
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.45);
  --radius-lg: 18px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Roboto", sans-serif;
  background:
    radial-gradient(1200px 700px at 15% 10%, rgba(64, 180, 90, 0.2), transparent 60%),
    radial-gradient(900px 600px at 85% 20%, rgba(40, 120, 65, 0.18), transparent 62%),
    radial-gradient(1000px 700px at 50% 85%, rgba(20, 80, 40, 0.35), transparent 68%),
    var(--color-bg);
  background-size: 130% 130%, 120% 120%, 120% 120%, auto;
  animation: universeSkyShift 40s ease-in-out infinite alternate;
  color: var(--color-text);
  line-height: 1.6;
  padding-left: env(safe-area-inset-left, 0);
  padding-right: env(safe-area-inset-right, 0);
  padding-bottom: env(safe-area-inset-bottom, 0);
  position: relative;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

/* Fine "stars" layer for universe effect */
body::before {
  z-index: -2;
  opacity: 0.14;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(180, 255, 195, 0.95) 0 1px, transparent 1.7px),
    radial-gradient(circle at 75% 20%, rgba(170, 250, 185, 0.9) 0 1.1px, transparent 1.8px),
    radial-gradient(circle at 45% 65%, rgba(190, 255, 205, 0.95) 0 1px, transparent 1.7px),
    radial-gradient(circle at 82% 78%, rgba(180, 255, 195, 0.85) 0 0.9px, transparent 1.5px);
  background-size: 420px 420px, 520px 520px, 460px 460px, 560px 560px;
  animation: universeStarsDrift 90s linear infinite;
}

/* Soft moving nebula glow */
body::after {
  z-index: -1;
  opacity: 0.1;
  background:
    radial-gradient(closest-side at 20% 75%, rgba(66, 206, 104, 0.32), transparent 70%),
    radial-gradient(closest-side at 80% 30%, rgba(38, 146, 78, 0.28), transparent 72%);
  filter: blur(22px);
  animation: universeNebulaFloat 36s ease-in-out infinite alternate;
}

@keyframes universeSkyShift {
  0% {
    background-position: 0% 0%, 100% 0%, 50% 100%, 0 0;
  }
  100% {
    background-position: 12% 8%, 88% 14%, 44% 92%, 0 0;
  }
}

@keyframes universeStarsDrift {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-30px, 24px, 0);
  }
}

@keyframes universeNebulaFloat {
  0% {
    transform: translate3d(-10px, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(14px, -8px, 0) scale(1.03);
  }
}

/* Android / tactile : zone de touche visible, pas de surbrillance grise agressive */
a,
button,
[role="button"],
input[type="submit"],
.pill,
.nav-toggle {
  -webkit-tap-highlight-color: rgba(240, 192, 64, 0.22);
}

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

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(5, 6, 8, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(240, 192, 64, 0.25);
}

.ad-banner {
  background: linear-gradient(180deg, #060806 0%, #0b0f0c 40%, #0f2813 100%);
  padding: 0.75rem 0 0.9rem;
}

.ad-banner .container {
  max-width: min(1320px, 96vw);
}

.ad-banner-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 1.1rem;
}

.ad-slider {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: clamp(180px, 30vw, 320px);
  aspect-ratio: 2.2 / 1;
  max-height: 350px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(240, 192, 64, 0.22);
}

.ad-slide {
  display: none;
  position: relative;
  min-height: 100%;
}

.ad-slide.active {
  display: block;
  height: 100%;
}

.ad-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.08) contrast(1.06);
}

.ad-overlay {
  position: absolute;
  inset: 0;
  padding: clamp(1rem, 3vw, 1.75rem) clamp(1rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  color: #ffffff;
  background: linear-gradient(
    100deg,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(0, 0, 0, 0.45) 45%,
    rgba(0, 0, 0, 0.12) 100%
  );
}

.ad-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  font-size: clamp(0.72rem, 1.8vw, 0.85rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(40, 167, 69, 0.92);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.ad-kicker-hot {
  background: linear-gradient(135deg, #f0c040, #d4a525);
  color: #1a1406;
  font-weight: 900;
}

.ad-title {
  font-size: clamp(1.15rem, 2.8vw, 1.65rem);
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
  max-width: 22ch;
}

.ad-subtitle {
  font-size: clamp(0.85rem, 1.9vw, 1.05rem);
  font-weight: 500;
  line-height: 1.45;
  opacity: 0.98;
  max-width: min(520px, 90%);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.ad-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ad-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.65rem 1.2rem;
  font-size: clamp(0.88rem, 1.6vw, 1rem);
  font-weight: 800;
  background: var(--color-primary);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(240, 192, 64, 0.35);
}

.ad-nav {
  display: inline-flex;
  gap: 0.4rem;
}

.ad-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}

.ad-nav-btn:hover {
  background: rgba(255, 255, 255, 0.14);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}

.site-tagline {
  text-align: center;
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.6rem 0.5rem;
  color: #1b3f23;
  background: linear-gradient(90deg, #f0c040, #ffe27a, #f0c040);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

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

.logo img {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  object-fit: cover;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-search {
  display: inline-flex;
  align-items: center;
}

.header-search input {
  width: min(240px, 32vw);
  min-width: 150px;
  border-radius: 999px;
  border: 1px solid rgba(240, 192, 64, 0.35);
  background: #111310;
  color: #f7f7f7;
  padding: 0.42rem 0.8rem;
  outline: none;
}

.header-search input::placeholder {
  color: #bfc4c1;
}

.header-search input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(240, 192, 64, 0.2);
}

.nav-toggle {
  display: none;
  border: none;
  background: none;
  font-size: 1.6rem;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
}

.nav-links a {
  padding: 0.25rem 0;
  position: relative;
  color: var(--color-muted);
  font-weight: 700;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--color-primary);
  transition: width 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--color-text);
  font-weight: 800;
}

.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(240, 192, 64, 0.3);
  background: #111310;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  font-size: 0.85rem;
}

.cart-count {
  background: var(--color-primary);
  color: #fff;
  border-radius: 999px;
  padding: 0 0.4rem;
  min-width: 20px;
  text-align: center;
}

.hero {
  padding: 3.5rem 0 3rem;
  background: linear-gradient(
    135deg,
    #0b0f0c 0%,
    #0b0f0c 20%,
    #f0c040 55%,
    #28a745 100%
  );
  color: #ffffff;
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-text p {
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1.25rem;
  max-width: none;
  width: 100%;
  font-size: clamp(1.05rem, 2.2vw, 1.28rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.hero-subtext {
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: none;
  line-height: 1.6;
}

.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-badge {
  position: absolute;
  top: -0.75rem;
  right: 0.25rem;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.hero-card {
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-soft);
  padding: 1.5rem;
}

.hero-card-main ul {
  padding-left: 1.1rem;
  margin: 0.75rem 0 0;
  color: var(--color-muted);
}

.hero-card-secondary {
  background: linear-gradient(135deg, #fff2e5, #ffecef);
}

.hero-card-secondary h3 {
  margin-top: 0;
}

/* Bloc accueil : texte en gras noir (catégories + paiement) */
.hero-highlight-black {
  background: #f5e6b8;
  border: 2px solid #0a0a0a;
}

.hero-highlight-black h2,
.hero-highlight-black h3 {
  color: #000000;
  font-weight: 900;
}

.hero-highlight-black ul {
  color: #000000;
  font-weight: 800;
}

.hero-highlight-black li {
  margin-bottom: 0.35rem;
}

.hero-highlight-black p {
  color: #000000;
  font-weight: 800;
  margin: 0;
}

.hero-card-delivery {
  background: #e8f5e9;
  border: 2px solid #0a0a0a;
}

.hero-card-delivery h3 {
  color: #000000;
  font-weight: 900;
  margin-top: 0;
}

.hero-card-delivery ul {
  color: #000000;
  font-weight: 700;
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
}

.hero-card-delivery li {
  margin-bottom: 0.4rem;
}

.delivery-note {
  font-size: 0.82rem;
  font-weight: 600;
  color: #111111;
  margin-top: 0.65rem !important;
}

.cart-delivery-box {
  margin-top: 1rem;
  text-align: left;
}

.section {
  padding: 2.5rem 0;
}

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

.section h2 {
  font-size: 1.6rem;
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.section-intro {
  max-width: 520px;
  color: var(--color-muted);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.75rem;
}

.info-card,
.category-card {
  background: var(--color-surface);
  border-radius: 18px;
  padding: 1.4rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.info-card h3,
.category-card h3 {
  margin-top: 0;
  margin-bottom: 0.45rem;
  font-size: 1.05rem;
}

.info-card p,
.category-card p {
  font-size: 0.9rem;
  color: var(--color-muted);
}

.category-card {
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 107, 107, 0.4);
  box-shadow: var(--shadow-soft);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.75rem;
}

.step {
  position: relative;
  padding: 1.4rem 1.4rem 1.35rem 1.4rem;
  border-radius: 18px;
  background: var(--color-surface);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.04);
}

.step-number {
  position: absolute;
  top: -0.8rem;
  left: 1.4rem;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
}

.step h3 {
  margin-top: 0.4rem;
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

.step p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.seller-block {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 1.75rem;
  align-items: center;
}

.seller-note {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-top: 0.4rem;
}

.testimonials-placeholder {
  text-align: center;
}

.testimonials-placeholder p {
  max-width: 520px;
  margin: 0.5rem auto 0;
  color: var(--color-muted);
}

.video-wrapper {
  max-width: 720px;
  margin: 1.5rem auto 0;
}

.video-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.6rem;
}

.video-btn {
  border-radius: 999px;
  border: 1px solid #e2e2e2;
  background: #fff;
  padding: 0.4rem 0.8rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
}

.video-btn:hover {
  background: #f7f7f7;
}

.video-progress {
  flex: 1;
  min-width: 180px;
}

.video-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: #000;
}

.video-logo-overlay {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 3;
  pointer-events: none;
  padding: 0.3rem;
  background: rgba(15, 40, 19, 0.65);
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(240, 192, 64, 0.35);
}

.video-logo-overlay img {
  width: clamp(40px, 10vw, 56px);
  height: clamp(40px, 10vw, 56px);
  border-radius: 999px;
  object-fit: cover;
  display: block;
}

.video-frame video,
.video-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.65rem 1.4rem;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  font-weight: 500;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.1s ease;
}

/* Widget chat flottant (WhatsApp + téléphone) */
.chat-widget {
  position: fixed;
  left: 1rem;
  right: auto;
  bottom: 1rem;
  z-index: 100;
  font-family: "Poppins", system-ui, sans-serif;
}

.chat-widget-panel {
  position: absolute;
  left: 0;
  right: auto;
  bottom: calc(100% + 0.65rem);
  width: min(300px, calc(100vw - 2rem));
  padding: 1rem 1rem 1.1rem;
  border-radius: 16px;
  background: var(--color-surface);
  border: 1px solid rgba(240, 192, 64, 0.35);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  color: var(--color-text);
}

.chat-widget-panel[hidden] {
  display: none !important;
}

.chat-widget-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.chat-widget-title {
  display: block;
  font-size: 1.05rem;
  color: var(--color-primary);
}

.chat-widget-sub {
  margin: 0.15rem 0 0;
  font-size: 0.8rem;
  color: var(--color-muted);
}

.chat-widget-close {
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-text);
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}

.chat-widget-close:hover {
  background: rgba(255, 255, 255, 0.14);
}

.chat-widget-intro {
  margin: 0 0 0.85rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #e0e0e0;
}

.chat-widget-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.chat-widget-btn:last-of-type {
  margin-bottom: 0;
}

.chat-widget-wa {
  background: #25d366;
  color: #fff !important;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

.chat-widget-wa:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45);
}

.chat-widget-btn-icon {
  width: 22px;
  height: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.435 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.chat-widget-phone {
  background: rgba(40, 167, 69, 0.25);
  border: 1px solid rgba(40, 167, 69, 0.55);
  color: #e8ffe8 !important;
}

.chat-widget-phone:hover {
  background: rgba(40, 167, 69, 0.4);
}

.chat-widget-fab {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.95rem 0.55rem 0.65rem;
  border-radius: 999px;
  border: 2px solid rgba(37, 211, 102, 0.55);
  background: linear-gradient(145deg, #128c7e, #075e54);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(7, 94, 84, 0.45);
  text-align: left;
}

.chat-widget-fab:hover {
  filter: brightness(1.08);
}

.chat-widget-wa-fab-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.435 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z'/%3E%3C/svg%3E")
    center / 70% no-repeat;
}

.chat-widget-fab-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  line-height: 1.15;
}

.chat-widget-fab-label {
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.chat-widget-fab-number {
  font-size: 0.78rem;
  font-weight: 600;
  opacity: 0.95;
}

@media (max-width: 480px) {
  .chat-widget-fab {
    padding: 0.5rem 0.75rem 0.5rem 0.55rem;
    gap: 0.45rem;
  }

  .chat-widget-wa-fab-icon {
    width: 32px;
    height: 32px;
  }

  .chat-widget-fab-label {
    font-size: 0.85rem;
  }

  .chat-widget-fab-number {
    font-size: 0.72rem;
  }
}

/* Assistant IA (chatbot FAQ) — bas à droite */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ai-chatbot {
  position: fixed;
  right: max(0.75rem, env(safe-area-inset-right));
  bottom: max(0.75rem, env(safe-area-inset-bottom));
  left: auto;
  z-index: 101;
  font-family: "Poppins", system-ui, sans-serif;
}

.ai-chatbot-window {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.65rem);
  width: min(360px, calc(100vw - 1.5rem));
  max-height: min(520px, 70vh);
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  background: var(--color-surface);
  border: 1px solid rgba(240, 192, 64, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.ai-chatbot-window[hidden] {
  display: none !important;
}

.ai-chatbot-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  background: linear-gradient(135deg, #1b3f23, #0f2813);
  border-bottom: 1px solid rgba(240, 192, 64, 0.25);
}

.ai-chatbot-head-text {
  min-width: 0;
}

.ai-chatbot-title {
  color: var(--color-primary);
  font-size: 1.05rem;
}

.ai-chatbot-badge {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.1rem 0.45rem;
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  background: rgba(240, 192, 64, 0.2);
  color: var(--color-primary);
  vertical-align: middle;
}

.ai-chatbot-tagline {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  color: var(--color-muted);
  line-height: 1.35;
}

.ai-chatbot-help-banner {
  padding: 0.55rem 0.75rem;
  background: rgba(240, 192, 64, 0.12);
  border-bottom: 1px solid rgba(240, 192, 64, 0.2);
  font-size: 0.8rem;
  line-height: 1.4;
  color: #f0e8d8;
}

.ai-chatbot-help-banner p {
  margin: 0;
}

.ai-chatbot-help-banner strong {
  color: var(--color-primary);
}

.ai-chatbot-close {
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-text);
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}

.ai-chatbot-close:hover {
  background: rgba(255, 255, 255, 0.14);
}

.ai-chatbot-messages {
  flex: 1;
  min-height: 200px;
  max-height: 280px;
  overflow-y: auto;
  padding: 0.75rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.15);
}

.ai-msg {
  display: flex;
  width: 100%;
}

.ai-msg-user {
  justify-content: flex-end;
}

.ai-msg-bot {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
}

.ai-msg-bubble {
  max-width: 92%;
  padding: 0.55rem 0.75rem;
  border-radius: 14px;
  font-size: 0.86rem;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
}

.ai-msg-user .ai-msg-bubble {
  background: linear-gradient(135deg, #f0c040, #d4a525);
  color: #1a1203;
  font-weight: 600;
  border-bottom-right-radius: 4px;
}

.ai-msg-bot .ai-msg-bubble {
  background: var(--color-surface-soft);
  color: #e8e8e8;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom-left-radius: 4px;
}

.ai-msg-tools {
  display: flex;
  justify-content: flex-start;
  margin-top: 0.25rem;
  padding-left: 0.15rem;
}

.ai-msg-speak {
  border: 1px solid rgba(240, 192, 64, 0.4);
  background: rgba(0, 0, 0, 0.25);
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
}

.ai-msg-speak:hover {
  background: rgba(240, 192, 64, 0.12);
}

.ai-typing-dots {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.65rem 0.85rem !important;
}

.ai-typing-dots span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--color-primary);
  animation: aiTyping 1.2s ease-in-out infinite;
}

.ai-typing-dots span:nth-child(2) {
  animation-delay: 0.15s;
}

.ai-typing-dots span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes aiTyping {
  0%,
  80%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }
  40% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

.ai-chatbot-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0.45rem 0.65rem 0.55rem;
  background: rgba(0, 0, 0, 0.12);
}

.ai-chip {
  border: 1px solid rgba(240, 192, 64, 0.35);
  background: rgba(27, 63, 35, 0.6);
  color: var(--color-text);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  cursor: pointer;
}

.ai-chip-lg {
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.55rem 0.85rem;
  min-height: 44px;
  align-items: center;
  display: inline-flex;
  justify-content: center;
  text-align: center;
  line-height: 1.25;
}

.ai-chip-link {
  text-decoration: none;
  color: inherit;
  border-color: rgba(37, 211, 102, 0.45);
  background: rgba(7, 94, 84, 0.35);
}

.ai-chip-link:hover {
  background: rgba(37, 211, 102, 0.22);
}

.ai-chip:hover {
  background: rgba(240, 192, 64, 0.15);
}

.ai-chatbot-form {
  display: flex;
  align-items: stretch;
  gap: 0.4rem;
  padding: 0.65rem 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--color-bg-alt);
}

.ai-chatbot-mic {
  flex-shrink: 0;
  width: 46px;
  min-height: 46px;
  border-radius: 12px;
  border: 2px solid rgba(240, 192, 64, 0.5);
  background: rgba(27, 63, 35, 0.6);
  font-size: 1.25rem;
  cursor: pointer;
  line-height: 1;
}

.ai-chatbot-mic:hover:not(:disabled) {
  background: rgba(240, 192, 64, 0.15);
}

.ai-chatbot-mic-active {
  border-color: #c0392b;
  background: rgba(192, 57, 43, 0.35);
  animation: aiMicPulse 1s ease-in-out infinite;
}

.ai-chatbot-mic-off {
  opacity: 0.45;
  cursor: not-allowed;
}

@keyframes aiMicPulse {
  50% {
    opacity: 0.85;
  }
}

.ai-chatbot-form input {
  flex: 1;
  min-width: 0;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.2);
  color: var(--color-text);
  padding: 0.55rem 0.75rem;
  font-size: 0.88rem;
  font-family: inherit;
}

.ai-chatbot-form input::placeholder {
  color: #888;
}

.ai-chatbot-send {
  border: none;
  border-radius: 12px;
  padding: 0.55rem 0.9rem;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  background: var(--color-secondary);
  color: #fff;
  font-family: inherit;
}

.ai-chatbot-send:hover {
  filter: brightness(1.08);
}

.ai-chatbot-foot {
  margin: 0;
  padding: 0.45rem 0.75rem 0.65rem;
  font-size: 0.68rem;
  color: var(--color-muted);
  text-align: center;
  line-height: 1.35;
}

.ai-chatbot-foot a {
  color: var(--color-primary);
  font-weight: 600;
}

.ai-chatbot-fab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 2px solid rgba(240, 192, 64, 0.45);
  background: linear-gradient(145deg, #204827, #16351c);
  color: #fff;
  font-weight: 800;
  font-size: 0.88rem;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
  font-family: inherit;
}

.ai-chatbot-fab:hover {
  filter: brightness(1.08);
}

.ai-chatbot-fab-icon {
  font-size: 1.15rem;
}

@media (max-width: 480px) {
  .ai-chatbot-fab .ai-chatbot-fab-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .ai-chatbot-fab {
    padding: 0.65rem;
  }

  .ai-chatbot-window {
    width: calc(100vw - 1.25rem);
  }
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(255, 107, 107, 0.45);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border: 1px solid rgba(240, 192, 64, 0.4);
}

.btn-secondary:hover {
  background: rgba(240, 192, 64, 0.1);
}

.site-footer {
  background: #111111;
  color: #f5f5f5;
  padding: 2rem 0 1.5rem;
  margin-top: 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  font-size: 0.9rem;
}

.footer-content h3,
.footer-content h4 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: 1rem;
}

.footer-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-content li + li {
  margin-top: 0.3rem;
}

.footer-content a {
  color: #f5f5f5;
  opacity: 0.85;
}

/* Liens du même type que le menu (colonne « Liens utiles ») : gras */
.footer-content > div:nth-child(2) ul a {
  font-weight: 700;
}

.footer-content a:hover {
  opacity: 1;
}

.footer-bottom {
  margin-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 0.75rem;
  font-size: 0.8rem;
  text-align: center;
  color: #bbbbbb;
}

.page-hero {
  padding: 2.5rem 0 2rem;
  background: linear-gradient(135deg, #fff6f2, #ffeef7);
  border-bottom: 1px solid #ffe2d3;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  line-height: 1.2;
}

.page-hero p {
  margin-top: 0.75rem;
  max-width: none;
  width: 100%;
  color: var(--color-muted);
  font-size: clamp(1.05rem, 2.3vw, 1.3rem);
  line-height: 1.65;
}

.page-hero p.hero-intro-black {
  color: #000000;
  font-weight: 600;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
}

/* Titres + intro en vert « gazon » (même famille que le fond du site) */
.page-hero-brand {
  background: linear-gradient(135deg, #f0faf1, #e8f5e9);
  border-bottom: 1px solid rgba(22, 53, 28, 0.15);
}

.page-hero-brand h1 {
  color: var(--color-bg);
}

.page-hero-brand p {
  color: var(--color-bg-alt);
  font-weight: 600;
}

.page-section {
  padding: 2rem 0;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 1.4fr);
  gap: 2rem;
}

.card {
  background: var(--color-surface);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.card h2 {
  margin-top: 0;
}

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

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

label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.2rem;
}

input,
textarea,
select {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  border: 1px solid #e2e2e2;
  font-family: inherit;
  font-size: 0.9rem;
}

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

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px rgba(255, 107, 107, 0.3);
}

.field-hint {
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-top: 0.15rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.product-card {
  background: var(--color-surface);
  border-radius: 16px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.05);
}

.product-image-placeholder {
  border-radius: 12px;
  background: linear-gradient(135deg, #1d2123, #252b30);
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  font-size: 0.85rem;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.product-price {
  font-weight: 600;
  display: none;
}

.show-prices .product-price {
  display: inline;
}

.product-image {
  width: 100%;
  height: 150px;
  border-radius: 12px;
  object-fit: cover;
  background: #1f2428;
}

.section-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.section-badge {
  font-size: 0.8rem;
  color: var(--color-secondary);
  font-weight: 600;
}

.product-badge {
  font-size: 0.7rem;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: #f1f1f1;
}

.filters-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.25rem;
}

.filters-bar select {
  max-width: 220px;
}

.pill-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pill {
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid #e2e2e2;
  font-size: 0.8rem;
  cursor: pointer;
  background: #fff;
}

.pill.active {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: #fff6f5;
}

.cart-summary {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  font-size: 0.9rem;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
}

.cart-summary-total {
  font-weight: 600;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: 1rem;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px dashed #eee;
}

.cart-item-title {
  font-size: 0.95rem;
  font-weight: 500;
}

.cart-item-meta {
  font-size: 0.8rem;
  color: var(--color-muted);
}

.cart-item-actions {
  text-align: right;
}

.cart-empty {
  font-size: 0.9rem;
  color: var(--color-muted);
}

.payment-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 0.75rem;
}

.payment-option {
  border-radius: 12px;
  border: 1px solid #e2e2e2;
  padding: 0.7rem 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  font-size: 0.9rem;
}

.payment-option input {
  width: auto;
}

.payment-option span {
  font-weight: 500;
}

.payment-logo {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  object-fit: contain;
  background: #050608;
}

.payment-note {
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-top: 0.5rem;
}

.alert {
  font-size: 0.85rem;
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  margin-top: 0.8rem;
}

.alert-info {
  background: #e7f5ff;
  color: #1c7ed6;
}

.alert-success {
  background: #e6fcf5;
  color: #0ca678;
}

.alert-warning {
  background: #fff3bf;
  color: #f08c00;
}

.text-muted {
  color: var(--color-muted);
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    order: -1;
  }

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

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

  .seller-block {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .page-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .header-search {
    display: none;
  }

  .header-content {
    align-items: center;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 56px;
    right: 1.5rem;
    flex-direction: column;
    background: #fff;
    padding: 0.6rem 0.9rem;
    border-radius: 14px;
    box-shadow: var(--shadow-soft);
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .grid-3,
  .products-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .hero {
    padding-top: 2.5rem;
  }

  .ad-banner-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .ad-slider {
    aspect-ratio: 16 / 10;
    min-height: 200px;
    max-height: none;
  }

  .ad-actions {
    justify-content: space-between;
  }
}

