/*
Theme Name: KaraibeShop
Theme URI: https://karaibeshop.com
Author: KaraibeShop
Description: Thème officiel KaraibeShop — marketplace DOM-TOM (colis, services, chauffeurs).
Version: 1.0.0
Text Domain: karaibeshop
*/

/* ============================================================
 *  DESIGN TOKENS
 * ============================================================ */
:root {
  --bg: #f7fbf5;
  --surface: #ffffff;
  --soft: #f4fbea;
  --line: #fafcf8;
  --border: #dfead8;
  --border-strong: #d8e5d1;

  --text: #0f172a;
  --muted: #5b6475;

  --g1: #dff5c8;
  --g2: #c9ef97;
  --g3: #a9e45d;
  --lime: #8ed14f;
  --green: #1f6b4f;
  --green-deep: #113c2f;

  --blue: #2f80ed;
  --blue-soft: #e8f1ff;
  --blue-strong: #2350a0;

  --chip-green-bg: #eef9db;
  --chip-green-fg: #35611f;
  --chip-orange-bg: #fff4dd;
  --chip-orange-fg: #9a6500;
  --chip-blue-bg: #e8f1ff;
  --chip-blue-fg: #2350a0;
  --chip-red-bg: #fde7e7;
  --chip-red-fg: #b23737;

  --avatar-bg: #e8f7d8;
  --shadow-card: 0 10px 30px rgba(16, 24, 40, 0.08);
  --shadow-card-hover: 0 20px 50px rgba(16, 24, 40, 0.10);
}

/* ============================================================
 *  RESET / BASE
 * ============================================================ */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 800; line-height: 1.2; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }

/* ============================================================
 *  LAYOUT
 * ============================================================ */
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.container-wide { width: min(1240px, calc(100% - 32px)); margin: 0 auto; }
.container-narrow { width: min(820px, calc(100% - 32px)); margin: 0 auto; }

.stack-1 > * + * { margin-top: 4px; }
.stack-2 > * + * { margin-top: 8px; }
.stack-3 > * + * { margin-top: 12px; }
.stack-4 > * + * { margin-top: 16px; }
.stack-5 > * + * { margin-top: 20px; }
.stack-6 > * + * { margin-top: 24px; }
.stack-8 > * + * { margin-top: 32px; }

.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mt-5 { margin-top: 20px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mt-10 { margin-top: 40px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }

.py-10 { padding: 40px 0; }
.py-14 { padding: 56px 0; }
.py-20 { padding: 80px 0; }
.py-24 { padding: 96px 0; }

.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-5 { gap: 20px; }
.gap-6 { gap: 24px; }
.wrap { flex-wrap: wrap; }
.grow { flex: 1; }
.min-w-0 { min-width: 0; }
.hidden { display: none; }

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

@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .md-hidden { display: none !important; }
}
@media (max-width: 640px) {
  .sm-hidden { display: none !important; }
}

/* ============================================================
 *  TYPO
 * ============================================================ */
.h1 { font-size: clamp(32px, 5vw, 60px); line-height: 1.05; letter-spacing: -0.02em; }
.h2 { font-size: clamp(26px, 3.5vw, 40px); line-height: 1.1; }
.h3 { font-size: 22px; line-height: 1.25; }
.h4 { font-size: 18px; line-height: 1.3; }
.lead { font-size: 18px; color: #314154; }
.muted { color: var(--muted); }
.bold { font-weight: 700; }
.xbold { font-weight: 800; }
.small { font-size: 14px; }
.xsmall { font-size: 12px; }
.uppercase { text-transform: uppercase; letter-spacing: 0.04em; }

/* ============================================================
 *  HEADER / NAV
 * ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 251, 245, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-logo {
  width: 36px; height: 36px; border-radius: 14px;
  background: linear-gradient(135deg, var(--g2), var(--g3));
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; color: var(--green-deep);
}
.brand-name { font-size: 18px; font-weight: 700; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: background 0.15s;
  line-height: 1;
}
.nav a svg { flex-shrink: 0; }
.nav a:not(.btn):hover, .nav a:not(.btn).is-active { background: var(--soft); color: var(--green); }

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

/* ============================================================
 *  FOOTER
 * ============================================================ */
.site-footer { border-top: 1px solid var(--border); background: color-mix(in srgb, var(--soft) 40%, white); }
.site-footer .cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding: 48px 0; }
.site-footer .cols h4 { font-size: 14px; margin-bottom: 12px; font-weight: 700; }
.site-footer .cols ul { color: var(--muted); font-size: 14px; }
.site-footer .cols li + li { margin-top: 8px; }
.site-footer .cols a:hover { color: var(--green); }
.site-footer .baseline { border-top: 1px solid var(--border); padding: 16px 0; text-align: center; font-size: 12px; color: var(--muted); }
@media (max-width: 800px) { .site-footer .cols { grid-template-columns: 1fr 1fr; gap: 24px; padding: 32px 0; } }

/* ============================================================
 *  HERO
 * ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--g1), var(--g2), var(--g3));
  border-bottom: 1px solid #d8eac7;
  padding: 72px 16px;
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  pointer-events: none;
}
.hero::before { width: 260px; height: 260px; top: -50px; right: -50px; }
.hero::after  { width: 190px; height: 190px; bottom: -40px; left: 8%; }
.hero .inner { position: relative; max-width: 960px; margin: 0 auto; }
.hero.hero-sm { padding: 48px 16px; }
.hero.hero-lg { padding: 96px 16px; }

.hero-badge {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
}
.hero-subtitle { max-width: 640px; margin-top: 20px; color: #314154; font-size: 18px; }
.hero-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; }

/* ============================================================
 *  BUTTONS
 * ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: 0.15s;
  cursor: pointer;
  line-height: 1;
  font-size: 15px;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-block { width: 100%; }

.btn-primary { background: var(--text); color: #fff; }
.btn-primary:hover { opacity: 0.92; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { opacity: 0.92; }
.btn-secondary { background: #fff; color: var(--text); border-color: var(--border-strong); }
.btn-secondary:hover { background: var(--line); }
.btn-dark-on-hero { background: rgba(255, 255, 255, 0.72); color: var(--text); border-color: rgba(255,255,255,0.65); }
.btn-dark-on-hero:hover { background: #fff; }
.btn-ghost { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.25); }
.btn-ghost:hover { background: rgba(255,255,255,0.15); }
.btn-white { background: #fff; color: var(--text); }
.btn-white:hover { opacity: 0.92; }
.btn-danger { background: var(--chip-red-bg); color: var(--chip-red-fg); }

/* ============================================================
 *  CARDS
 * ============================================================ */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow-card);
  padding: 28px;
}
.card-hover { transition: 0.2s; }
.card-hover:hover { transform: translateY(-2px); box-shadow: var(--shadow-card-hover); }
.card-compact { padding: 20px; border-radius: 22px; }

.cta-box {
  background: linear-gradient(135deg, var(--green-deep), var(--green));
  color: #fff;
  border-radius: 32px;
  padding: 36px;
  box-shadow: var(--shadow-card);
}
.cta-box p { color: rgba(255,255,255,0.82); max-width: 680px; }

/* ============================================================
 *  CHIPS / PILLS
 * ============================================================ */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.chip-green { background: var(--chip-green-bg); color: var(--chip-green-fg); }
.chip-orange { background: var(--chip-orange-bg); color: var(--chip-orange-fg); }
.chip-blue { background: var(--chip-blue-bg); color: var(--chip-blue-fg); }
.chip-red { background: var(--chip-red-bg); color: var(--chip-red-fg); }
.chip-soft { background: var(--soft); color: var(--green); }
.chip-white { background: rgba(255, 255, 255, 0.82); color: #234838; }

/* ============================================================
 *  FORMS
 * ============================================================ */
.field { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field-row.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
.field-row.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 720px) { .field-row, .field-row.cols-3, .field-row.cols-4 { grid-template-columns: 1fr; gap: 16px; } }
.form-stack > * + * { margin-top: 20px; }
.form-stack > input[type="hidden"] + * { margin-top: 0; }
.form-stack > input[type="hidden"] { margin-top: 0; }
.label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 8px; color: var(--text); letter-spacing: 0.01em; }
.input, .select, .textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: 16px;
  border: 1px solid var(--border-strong);
  background: #fff;
  font-size: 15px;
  line-height: 1.35;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235b6475' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.input::placeholder, .textarea::placeholder { color: var(--muted); opacity: 0.7; }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--lime);
  box-shadow: 0 0 0 4px rgba(142, 209, 79, 0.15);
}
.textarea { min-height: 140px; resize: vertical; }
.field-hint { margin-top: 6px; font-size: 12px; color: var(--muted); }
.ks-password { position: relative; display: block; }
.ks-password > .input { width: 100%; padding-right: 52px; }
.ks-password-toggle {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  line-height: 0;
}
.ks-password-toggle:hover { color: var(--text); background: var(--line); }
.ks-password-toggle svg { display: block; }

.driver-dot { width: 12px; height: 12px; border-radius: 999px; display: inline-block; box-shadow: 0 0 0 4px rgba(0,0,0,0.04); }
.driver-dot.is-online  { background: var(--lime); box-shadow: 0 0 0 4px rgba(142,209,79,0.25); }
.driver-dot.is-offline { background: #c8d0c0; }

/* Bandeau "chauffeurs disponibles" (mobile uniquement, sticky en haut) */
.md-only { display: none; }
@media (max-width: 900px) { .md-only { display: block; } }
.ks-drivers-strip {
  position: sticky; top: 0; z-index: 30;
  background: var(--surface); border-bottom: 1px solid var(--border);
  padding: 10px 0 12px;
}
.ks-drivers-strip-head {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; padding: 4px 0 8px;
}
.ks-drivers-dot {
  width: 10px; height: 10px; border-radius: 999px;
  background: var(--lime); box-shadow: 0 0 0 4px rgba(142,209,79,0.25);
}
.ks-drivers-strip-track {
  display: flex; gap: 10px;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  padding-bottom: 4px;
}
.ks-drivers-strip-track::-webkit-scrollbar { display: none; }
.ks-driver-pill {
  flex: 0 0 240px;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  background: var(--soft); border-radius: 16px;
  scroll-snap-align: start;
}
.ks-driver-pill-av {
  position: relative; flex: 0 0 40px;
  width: 40px; height: 40px; border-radius: 999px;
  background: var(--avatar-bg); color: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; overflow: hidden;
}
.ks-driver-pill-av img { width: 100%; height: 100%; object-fit: cover; }
.ks-driver-pill-av .driver-online {
  position: absolute; right: -2px; bottom: -2px;
  width: 10px; height: 10px; border-radius: 999px;
  background: var(--lime); border: 2px solid #fff;
}
.ks-driver-pill-name { font-weight: 700; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.field-error { margin-top: 6px; font-size: 12px; color: var(--chip-red-fg); }
.checkbox { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px; background: var(--soft); cursor: pointer; }
.checkbox input { accent-color: var(--lime); width: 16px; height: 16px; }

.form-msg { margin-top: 16px; padding: 14px 18px; border-radius: 16px; font-size: 14px; }
.form-msg-ok { background: var(--chip-green-bg); color: var(--chip-green-fg); }
.form-msg-err { background: var(--chip-red-bg); color: var(--chip-red-fg); }

/* ============================================================
 *  ICONS (inline svg helpers)
 * ============================================================ */
.icon { display: inline-block; width: 18px; height: 18px; vertical-align: middle; }
.icon-box {
  width: 48px; height: 48px; border-radius: 16px;
  background: var(--avatar-bg); color: var(--green);
  display: inline-flex; align-items: center; justify-content: center;
}

/* ============================================================
 *  CARDS SPÉCIALISÉES
 * ============================================================ */
.annonce-card { overflow: hidden; border-radius: 28px; border: 1px solid var(--border); background: #fff; box-shadow: var(--shadow-card); transition: 0.2s; display: block; }
.annonce-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card-hover); }
.annonce-card .media { aspect-ratio: 4 / 3; background: linear-gradient(135deg, var(--g1), var(--g2)); display: flex; align-items: center; justify-content: center; font-size: 48px; font-weight: 800; color: var(--green); }
.annonce-card .media img { width: 100%; height: 100%; object-fit: cover; }
.annonce-card .body { padding: 20px; }
.annonce-card .title { font-size: 18px; font-weight: 700; margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.annonce-card .excerpt { font-size: 14px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.annonce-card .meta { display: flex; justify-content: space-between; margin-top: 16px; font-size: 13px; }

.trip-card { display: block; border-radius: 24px; border: 1px solid var(--border); background: #fff; padding: 20px; box-shadow: var(--shadow-card); transition: 0.2s; }
.trip-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card-hover); }
.trip-route { margin-top: 12px; padding: 16px; border-radius: 16px; background: linear-gradient(to right, #edf8df, var(--g1)); }
.trip-route .line { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.trip-route .dot { width: 10px; height: 10px; border-radius: 999px; flex-shrink: 0; }
.trip-route .dot-from { background: #22c55e; }
.trip-route .dot-to { background: var(--blue); }
.trip-route .connector { margin: 6px 0 6px 5px; width: 1px; height: 14px; border-left: 2px dashed rgba(255,255,255,0.7); }

.driver-card { display: flex; gap: 16px; padding: 20px; border-radius: 24px; border: 1px solid var(--border); background: #fff; box-shadow: var(--shadow-card); }
.driver-avatar { width: 72px; height: 72px; border-radius: 22px; background: var(--avatar-bg); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 24px; color: var(--green); flex-shrink: 0; position: relative; overflow: hidden; }
.driver-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 22px; }
.driver-online { position: absolute; bottom: -2px; right: -2px; width: 16px; height: 16px; border-radius: 999px; background: var(--lime); border: 2px solid #fff; }

/* ============================================================
 *  PRICING
 * ============================================================ */
.plan {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 32px;
  box-shadow: var(--shadow-card);
}
.plan.highlighted {
  border: 2px solid var(--lime);
  transform: scale(1.02);
}
.plan .badge-top {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--chip-green-bg);
  color: var(--chip-green-fg);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.plan h2 { font-size: 20px; font-weight: 800; }
.plan .price { margin-top: 22px; display: flex; align-items: baseline; gap: 4px; }
.plan .price strong { font-size: 40px; font-weight: 800; }
.plan ul { margin-top: 22px; }
.plan ul li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin-top: 10px; }
.plan ul li svg { flex-shrink: 0; color: var(--green); }

/* ============================================================
 *  PROSE (pages légales, content WYSIWYG)
 * ============================================================ */
.prose { color: var(--text); line-height: 1.7; }
.prose h2 { font-size: 22px; margin-top: 28px; margin-bottom: 12px; }
.prose h3 { font-size: 18px; margin-top: 22px; margin-bottom: 8px; }
.prose p { margin-top: 12px; }
.prose a { color: var(--blue); text-decoration: underline; }
.prose ul { list-style: disc; padding-left: 22px; margin-top: 12px; }
.prose ul li { margin-top: 6px; }
.prose strong { font-weight: 700; }

/* ============================================================
 *  CHAT
 * ============================================================ */
.chat-shell { height: calc(100vh - 240px); min-height: 500px; display: flex; flex-direction: column; border-radius: 28px; border: 1px solid var(--border); background: #fff; overflow: hidden; box-shadow: var(--shadow-card); }
.chat-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 22px; border-bottom: 1px solid var(--border); }
.chat-status { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: var(--muted); }
.chat-status .dot { width: 8px; height: 8px; border-radius: 999px; background: var(--border-strong); }
.chat-status.on { color: var(--chip-green-fg); }
.chat-status.on .dot { background: var(--lime); }
.chat-log { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.msg { display: flex; }
.msg.mine { justify-content: flex-end; }
.msg .bubble { max-width: 75%; padding: 10px 16px; border-radius: 20px; font-size: 14px; line-height: 1.45; }
.msg:not(.mine) .bubble { background: var(--line); border: 1px solid var(--border); color: var(--text); }
.msg.mine .bubble { background: var(--blue); color: #fff; }
.msg .author { font-size: 11px; font-weight: 800; color: var(--green); margin-bottom: 2px; }
.msg .time { display: block; margin-top: 4px; font-size: 10px; opacity: 0.75; }
.chat-compose { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--border); background: var(--line); }
.chat-compose input { flex: 1; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--border-strong); background: #fff; font-size: 14px; }
.chat-compose input:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 4px rgba(142,209,79,0.15); }
.chat-send { width: 40px; height: 40px; border-radius: 999px; background: var(--blue); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.chat-send:disabled { opacity: 0.5; }

/* ============================================================
 *  CONVERSATIONS LIST
 * ============================================================ */
.conv-list { background: #fff; border: 1px solid var(--border); border-radius: 28px; box-shadow: var(--shadow-card); overflow: hidden; }
.conv-item { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 22px; transition: background 0.15s; }
.conv-item + .conv-item { border-top: 1px solid var(--border); }
.conv-item:hover { background: var(--soft); }
.conv-item .title { font-weight: 700; }
.conv-item time { font-size: 12px; color: var(--muted); flex-shrink: 0; }

/* ============================================================
 *  LANDING sections
 * ============================================================ */

.bg-soft-section { background: var(--soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.bg-cream-section { background: #fafcf4; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* Hero stats chips */
.hero-stats { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 28px; }
.hero-stat { display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.72); border-radius: 18px; padding: 10px 16px; backdrop-filter: blur(4px); }
.hero-stat .v { font-weight: 800; font-size: 18px; color: var(--green-deep); }
.hero-stat .l { font-size: 13px; color: #314154; }

/* Big stats strip */
.stats-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stats-strip .stat { text-align: center; padding: 12px; }
.stats-strip .stat .num { font-size: clamp(32px, 4vw, 48px); font-weight: 800; color: var(--green); line-height: 1; }
.stats-strip .stat .lab { color: var(--muted); font-size: 14px; margin-top: 8px; }
@media (max-width: 720px) { .stats-strip { grid-template-columns: 1fr; } }

/* "Pourquoi" grid */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.why-item { display: flex; gap: 16px; align-items: flex-start; padding: 20px; background: #fff; border: 1px solid var(--border); border-radius: 22px; box-shadow: var(--shadow-card); }
.why-item .ico { width: 46px; height: 46px; border-radius: 14px; background: var(--avatar-bg); color: var(--green); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.why-item h4 { font-size: 17px; margin-bottom: 6px; }
.why-item p { color: var(--muted); font-size: 14px; line-height: 1.5; }
@media (max-width: 720px) { .why-grid { grid-template-columns: 1fr; } }

/* Testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi { background: #fff; border: 1px solid var(--border); border-radius: 24px; padding: 24px; box-shadow: var(--shadow-card); display: flex; flex-direction: column; gap: 18px; position: relative; }
.testi .quote-mark { position: absolute; top: 14px; right: 20px; font-size: 48px; color: var(--g3); line-height: 1; opacity: 0.6; font-family: Georgia, serif; }
.testi p { color: var(--text); font-size: 15px; line-height: 1.6; flex: 1; }
.testi .who { display: flex; align-items: center; gap: 12px; }
.testi .who .av { width: 42px; height: 42px; border-radius: 14px; background: linear-gradient(135deg, var(--g2), var(--g3)); color: var(--green-deep); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }
.testi .who .name { font-weight: 700; font-size: 14px; }
.testi .who .role { color: var(--muted); font-size: 12px; }
.testi .stars { color: #f5a623; letter-spacing: 2px; font-size: 14px; }
@media (max-width: 900px) { .testi-grid { grid-template-columns: 1fr; } }

/* FAQ accordion (details/summary natif) */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 4px 4px; box-shadow: var(--shadow-card); overflow: hidden; }
.faq-item + .faq-item { margin-top: 12px; }
.faq-item summary { list-style: none; cursor: pointer; padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-weight: 700; font-size: 15px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 22px; font-weight: 600; color: var(--green); transition: transform 0.2s; flex-shrink: 0; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .answer { padding: 0 22px 20px; color: var(--muted); font-size: 14px; line-height: 1.65; }

/* Section titles avec alignement centré (sections marketing) */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.section-head h2 { font-size: clamp(26px, 3.5vw, 36px); }
.section-head p { color: var(--muted); margin-top: 12px; font-size: 16px; }

/* ============================================================
 *  UTILITIES
 * ============================================================ */
.text-muted { color: var(--muted); }
.text-center { text-align: center; }
.text-right { text-align: right; }
.rounded { border-radius: 16px; }
.rounded-lg { border-radius: 22px; }
.rounded-xl { border-radius: 28px; }
.br { background: var(--soft); border-radius: 16px; padding: 14px 18px; color: var(--muted); font-size: 14px; }
.br strong { color: var(--text); }
.link { color: var(--blue); font-weight: 700; }
.link:hover { color: var(--blue-strong); }

.empty { padding: 48px 20px; border: 1px dashed var(--border-strong); border-radius: 28px; background: #fff; text-align: center; color: var(--muted); }
