/* ============================================================
   GUDEAL — Stylesheet
   Mobile-first, Port Vila / Vanuatu
   Chargé via wp_enqueue_style() dans functions.php
   Google Fonts enqueué séparément — pas d'@import ici.
   ============================================================ */

/* ── CSS Variables ── */
:root {
  --blue:        #1B4F9B;
  --blue-dark:   #0D2C5E;
  --blue-light:  #E8F0FB;
  --green:       #5DAF2B;
  --green-dark:  #3f8a1a;
  --green-light: #EBF5E1;
  --red:         #E53935;
  --orange:      #F57C00;
  --text:        #1A1A1A;
  --text-muted:  #666666;
  --bg:          #F5F5F5;
  --white:       #FFFFFF;
  --border:      #E0E0E0;
  --shadow:      0 2px 12px rgba(0,0,0,0.08);
  --shadow-md:   0 4px 24px rgba(0,0,0,0.13);
  --radius:      10px;
  --radius-lg:   16px;
  --transition:  0.22s ease;
  --font-head:   'Nunito', sans-serif;
  --font-body:   'Open Sans', sans-serif;
  --font-mono:   'Roboto Mono', monospace;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; }
button { cursor: pointer; border: none; background: none; }

/* ── Utility ── */
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.container-narrow { max-width: 900px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.text-center { text-align: center; }
.d-none { display: none !important; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 700; font-family: var(--font-head); letter-spacing: 0.3px; }
.badge-new     { background: var(--green-light); color: var(--green-dark); }
.badge-urgent  { background: #FFEBEE; color: var(--red); }
.badge-cat     { background: var(--blue-light); color: var(--blue); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: var(--radius); font-family: var(--font-head);
  font-size: 15px; font-weight: 700; transition: var(--transition); cursor: pointer;
  min-height: 48px; white-space: nowrap;
}
.btn-primary  { background: var(--green); color: var(--white); }
.btn-primary:hover  { background: var(--green-dark); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(93,175,43,0.35); }
.btn-outline  { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.8); }
.btn-outline:hover  { background: rgba(255,255,255,0.15); }
.btn-blue     { background: var(--blue); color: var(--white); }
.btn-blue:hover     { background: var(--blue-dark); }
.btn-outline-blue { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
.btn-outline-blue:hover { background: var(--blue-light); }
.btn-whatsapp { background: #25D366; color: var(--white); }
.btn-whatsapp:hover { background: #128C7E; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(37,211,102,0.4); }
.btn-lg { padding: 16px 32px; font-size: 17px; }
.btn-full { width: 100%; }

/* ── Header / Navigation ── */
.header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--white); box-shadow: 0 2px 8px rgba(0,0,0,0.09);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; gap: 16px;
}
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark {
  width: 40px; height: 40px; background: var(--blue); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; position: relative;
}
.logo-mark::after {
  content: ''; position: absolute; right: -4px; top: -4px;
  width: 16px; height: 16px; background: var(--green); border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}
.logo-text { font-family: var(--font-head); font-weight: 900; font-size: 22px; color: var(--blue); letter-spacing: -0.5px; }
.logo-text span { color: var(--green); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 8px 14px; border-radius: 8px; font-family: var(--font-head);
  font-size: 14px; font-weight: 600; color: var(--text); transition: var(--transition);
}
.nav-link:hover { background: var(--bg); color: var(--blue); }
.nav-link.active { color: var(--blue); }
.nav-cta { background: var(--green); color: var(--white); padding: 8px 18px; border-radius: 8px; font-family: var(--font-head); font-size: 14px; font-weight: 700; transition: var(--transition); }
.nav-cta:hover { background: var(--green-dark); }

.lang-switch { display: flex; align-items: center; gap: 4px; border: 1.5px solid var(--border); border-radius: 8px; padding: 4px; }
.lang-btn { padding: 4px 8px; border-radius: 6px; font-size: 12px; font-weight: 700; font-family: var(--font-head); color: var(--text-muted); transition: var(--transition); }
.lang-btn.active { background: var(--blue); color: var(--white); }

.menu-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.menu-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }

.mobile-nav { display: none; background: var(--white); border-top: 1px solid var(--border); padding: 16px; }
.mobile-nav a { display: block; padding: 12px 16px; border-radius: 8px; font-weight: 600; font-family: var(--font-head); color: var(--text); }
.mobile-nav a:hover { background: var(--bg); }

/* ── Hero Section ── */
.hero {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  padding: 56px 0 48px; color: var(--white); position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; right: -80px; top: -80px;
  width: 400px; height: 400px; background: rgba(255,255,255,0.04); border-radius: 50%;
}
.hero::after {
  content: ''; position: absolute; left: -60px; bottom: -100px;
  width: 300px; height: 300px; background: rgba(93,175,43,0.12); border-radius: 50%;
}
.hero-inner { position: relative; z-index: 1; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2); border-radius: 20px; padding: 6px 14px; font-size: 13px; font-weight: 600; font-family: var(--font-head); margin-bottom: 20px; }
.hero-eyebrow::before { content: '📍'; }
.hero h1 { font-family: var(--font-head); font-size: clamp(26px, 5vw, 44px); font-weight: 900; line-height: 1.15; margin-bottom: 16px; }
.hero h1 span { color: #7FD43A; }
.hero p { font-size: clamp(15px, 2.5vw, 18px); opacity: 0.9; margin-bottom: 32px; max-width: 520px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 40px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.15); }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; font-family: var(--font-head); opacity: 0.9; }
.trust-icon { width: 32px; height: 32px; background: rgba(255,255,255,0.12); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 16px; }

/* ── Section Styles ── */
.section { padding: 56px 0; }
.section-alt { background: var(--bg); }
.section-blue { background: var(--blue-dark); color: var(--white); }
.section-green-light { background: var(--green-light); }
.section-title { font-family: var(--font-head); font-size: clamp(20px, 3.5vw, 28px); font-weight: 800; color: var(--text); margin-bottom: 8px; }
.section-title.white { color: var(--white); }
.section-sub { color: var(--text-muted); font-size: 15px; margin-bottom: 32px; }
.section-sub.white { color: rgba(255,255,255,0.75); }
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; flex-wrap: wrap; gap: 12px; }

/* ── Category Pills ── */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cat-pill {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 20px 12px; background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 700; font-size: 13px; color: var(--text);
  transition: var(--transition); cursor: pointer; text-decoration: none;
}
.cat-pill:hover, .cat-pill.active { border-color: var(--blue); color: var(--blue); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.cat-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.cat-count { font-size: 11px; color: var(--text-muted); font-weight: 600; }

/* Category colors */
.cat-food   .cat-icon { background: #FFF3E0; }
.cat-tech   .cat-icon { background: var(--blue-light); }
.cat-resto  .cat-icon { background: #FCE4EC; }
.cat-health .cat-icon { background: #E8F5E9; }
.cat-hotel  .cat-icon { background: #EDE7F6; }
.cat-auto   .cat-icon { background: #FFF8E1; }

/* ── Promo Cards ── */
.promo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.promo-card {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); transition: var(--transition); display: flex; flex-direction: column;
}
.promo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-img-wrap { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--bg); }
.card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.promo-card:hover .card-img-wrap img { transform: scale(1.04); }
.card-img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 48px; background: linear-gradient(135deg, var(--blue-light), #dce8f8); }
.card-badge { position: absolute; top: 10px; left: 10px; z-index: 2; }
.card-discount {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  background: var(--green); color: var(--white); border-radius: 8px;
  padding: 4px 10px; font-family: var(--font-head); font-size: 15px; font-weight: 900;
}
.card-body { padding: 16px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.card-merchant { font-size: 12px; color: var(--text-muted); font-weight: 600; display: flex; align-items: center; gap: 4px; }
.card-merchant::before { content: '🏪'; font-size: 11px; }
.card-title { font-family: var(--font-head); font-weight: 800; font-size: 15px; color: var(--text); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-expires { font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 4px; margin-top: 4px; }
.card-expires.urgent { color: var(--red); font-weight: 700; }
.card-expires::before { content: '📅'; font-size: 11px; }
.card-footer { padding: 0 16px 16px; }

/* ── Filters Bar ── */
.filters-bar { background: var(--white); border-bottom: 1px solid var(--border); padding: 12px 0; position: sticky; top: 64px; z-index: 100; }
.filters-inner { display: flex; align-items: center; gap: 8px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; -ms-overflow-style: none; }
.filters-inner::-webkit-scrollbar { display: none; }
.filter-pill {
  flex-shrink: 0; padding: 8px 16px; border-radius: 20px; font-family: var(--font-head);
  font-size: 13px; font-weight: 700; color: var(--text-muted); border: 1.5px solid var(--border);
  background: var(--white); transition: var(--transition); cursor: pointer; white-space: nowrap;
}
.filter-pill:hover { border-color: var(--blue); color: var(--blue); }
.filter-pill.active { background: var(--blue); color: var(--white); border-color: var(--blue); }

/* ── Steps Section ── */
.steps-grid { display: grid; gap: 24px; }
.step-card { display: flex; align-items: flex-start; gap: 16px; padding: 20px; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.step-number { flex-shrink: 0; width: 48px; height: 48px; background: var(--blue); color: var(--white); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 900; font-size: 20px; }
.step-icon { font-size: 28px; }
.step-body h3 { font-family: var(--font-head); font-weight: 800; font-size: 16px; color: var(--text); margin-bottom: 4px; }
.step-body p { font-size: 14px; color: var(--text-muted); line-height: 1.5; }

/* ── Benefits ── */
.benefits-grid { display: grid; gap: 16px; }
.benefit-item { display: flex; align-items: flex-start; gap: 12px; }
.benefit-icon { flex-shrink: 0; width: 40px; height: 40px; background: var(--green-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.benefit-item h4 { font-family: var(--font-head); font-weight: 700; font-size: 15px; margin-bottom: 2px; }
.benefit-item p { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* ── WhatsApp CTA Band ── */
.wa-band { background: #25D366; padding: 40px 0; }
.wa-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.wa-text h2 { font-family: var(--font-head); font-size: clamp(18px, 3vw, 24px); font-weight: 800; color: var(--white); margin-bottom: 6px; }
.wa-text p { color: rgba(255,255,255,0.85); font-size: 15px; }
.wa-icon { font-size: 48px; opacity: 0.25; position: absolute; right: 0; top: 50%; transform: translateY(-50%); }

/* ── Partner Block ── */
.partner-block { background: var(--blue-light); border-radius: var(--radius-lg); padding: 40px; text-align: center; }
.partner-block h2 { font-family: var(--font-head); font-weight: 800; font-size: clamp(20px, 3vw, 26px); color: var(--blue-dark); margin-bottom: 10px; }
.partner-block p { color: var(--text-muted); margin-bottom: 24px; max-width: 480px; margin-left: auto; margin-right: auto; }
.partner-perks { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 28px; }
.perk-pill { display: flex; align-items: center; gap: 6px; padding: 8px 14px; background: var(--white); border-radius: 20px; font-family: var(--font-head); font-size: 13px; font-weight: 700; color: var(--blue); box-shadow: var(--shadow); }

/* ── Coupon Box (Fiche Promo) ── */
.coupon-box {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  border-radius: var(--radius-lg); padding: 28px; color: var(--white); text-align: center;
  position: relative; overflow: hidden;
}
.coupon-box::before {
  content: ''; position: absolute; left: -20px; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; background: var(--bg); border-radius: 50%;
}
.coupon-box::after {
  content: ''; position: absolute; right: -20px; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; background: var(--bg); border-radius: 50%;
}
.coupon-label { font-size: 12px; font-weight: 700; font-family: var(--font-head); opacity: 0.85; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.coupon-instruction { font-family: var(--font-head); font-size: clamp(14px, 3vw, 17px); font-weight: 800; margin-bottom: 16px; }
.coupon-code {
  background: rgba(255,255,255,0.15); border: 2px dashed rgba(255,255,255,0.5);
  border-radius: 10px; padding: 14px 20px; margin: 0 auto 16px;
  font-family: var(--font-mono); font-size: clamp(22px, 5vw, 30px); font-weight: 600;
  letter-spacing: 4px; display: inline-block; cursor: pointer; transition: var(--transition);
}
.coupon-code:hover { background: rgba(255,255,255,0.25); }
.coupon-copy { font-size: 12px; opacity: 0.8; margin-bottom: 0; }

/* ── Sticky WhatsApp Button ── */
.wa-sticky {
  position: fixed; bottom: 24px; right: 20px; z-index: 999;
  width: 58px; height: 58px; background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  transition: var(--transition); cursor: pointer;
}
.wa-sticky:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.65); }
.wa-sticky svg { width: 28px; height: 28px; fill: white; }
.wa-sticky-pulse {
  position: absolute; width: 100%; height: 100%; border-radius: 50%;
  background: #25D366; animation: pulse 2.2s infinite; opacity: 0.5;
}
@keyframes pulse { 0% { transform: scale(1); opacity: 0.5; } 70% { transform: scale(1.5); opacity: 0; } 100% { transform: scale(1.5); opacity: 0; } }

/* ── Promo Detail Page ── */
.detail-hero { position: relative; }
.detail-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius-lg); }
.detail-img-placeholder { width: 100%; aspect-ratio: 16/9; border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--blue-light), #dce8f8); display: flex; align-items: center; justify-content: center; font-size: 80px; }
.detail-badge-strip { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 8px; }
.detail-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.meta-item { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-muted); font-weight: 500; }
.detail-title { font-family: var(--font-head); font-size: clamp(20px, 4vw, 30px); font-weight: 900; color: var(--text); margin-bottom: 16px; line-height: 1.2; }
.detail-desc { font-size: 15px; color: var(--text); line-height: 1.7; margin-bottom: 20px; }
.conditions-box { background: var(--bg); border-radius: var(--radius); padding: 16px; margin-bottom: 20px; }
.conditions-box h4 { font-family: var(--font-head); font-weight: 700; font-size: 13px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.conditions-box ul { list-style: disc; padding-left: 20px; }
.conditions-box li { font-size: 13px; color: var(--text-muted); margin-bottom: 4px; }
.map-embed { border-radius: var(--radius); overflow: hidden; margin-top: 16px; }
.map-embed iframe { width: 100%; height: 220px; border: none; }
.map-placeholder { width: 100%; height: 180px; background: var(--bg); border-radius: var(--radius); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; font-size: 13px; color: var(--text-muted); border: 2px dashed var(--border); }

/* ── Partners Form ── */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--text); margin-bottom: 6px; }
.form-label span { color: var(--red); }
.form-control {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--border); border-radius: var(--radius);
  font-family: var(--font-body); font-size: 15px; color: var(--text); background: var(--white);
  transition: var(--transition); outline: none;
}
.form-control:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(27,79,155,0.12); }
.form-control::placeholder { color: #AAAAAA; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-success { display: none; background: var(--green-light); border: 1.5px solid var(--green); border-radius: var(--radius); padding: 20px; text-align: center; }
.form-success.show { display: block; }
.form-success h4 { font-family: var(--font-head); font-weight: 800; color: var(--green-dark); margin-bottom: 6px; }

/* ── Discount Highlight Box (promo-detail sidebar) ── */
.discount-highlight {
  background: var(--green-light);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  margin-bottom: 20px;
}
.discount-highlight .dh-value {
  font-family: var(--font-head);
  font-size: 44px;
  font-weight: 900;
  color: var(--green-dark);
  line-height: 1;
  margin-bottom: 6px;
}
.discount-highlight .dh-sub {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--green-dark);
  opacity: 0.85;
}

/* ── Footer ── */
.footer { background: var(--blue-dark); color: var(--white); padding: 48px 0 24px; }
.footer-grid { display: grid; gap: 32px; margin-bottom: 40px; }
.footer-brand .logo-text { color: var(--white); font-size: 24px; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.65); margin-top: 10px; max-width: 260px; line-height: 1.6; }
.footer-title { font-family: var(--font-head); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.8px; color: rgba(255,255,255,0.5); margin-bottom: 14px; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.75); transition: var(--transition); }
.footer-links a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.5); }
.social-links { display: flex; gap: 10px; }
.social-link { width: 36px; height: 36px; background: rgba(255,255,255,0.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 16px; transition: var(--transition); }
.social-link:hover { background: rgba(255,255,255,0.2); }

/* ── Page Header ── */
.page-header { background: linear-gradient(135deg, var(--blue), var(--blue-dark)); padding: 40px 0; color: var(--white); }
.page-header h1 { font-family: var(--font-head); font-size: clamp(22px, 4vw, 34px); font-weight: 900; margin-bottom: 8px; }
.page-header p { opacity: 0.8; font-size: 15px; }
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 13px; opacity: 0.7; margin-bottom: 12px; }
.breadcrumb a { color: inherit; }
.breadcrumb-sep { opacity: 0.5; }

/* ── Legal Page ── */
.legal-body { padding: 48px 0 64px; }
.legal-meta { font-size: 13px; color: var(--text-muted); margin-bottom: 32px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.legal-body h2 { font-family: var(--font-head); font-size: 18px; font-weight: 800; color: var(--text); margin: 32px 0 10px; }
.legal-body h3 { font-family: var(--font-head); font-size: 15px; font-weight: 700; color: var(--text); margin: 20px 0 8px; }
.legal-body p { font-size: 15px; color: var(--text); line-height: 1.75; margin-bottom: 14px; }
.legal-body ul, .legal-body ol { padding-left: 22px; margin-bottom: 14px; }
.legal-body li { font-size: 15px; color: var(--text); line-height: 1.7; margin-bottom: 6px; }
.legal-body a { color: var(--blue); text-decoration: underline; }
.legal-body table { width: 100%; border-collapse: collapse; margin-bottom: 20px; font-size: 14px; }
.legal-body th { background: var(--blue-light); color: var(--blue-dark); font-family: var(--font-head); font-weight: 700; padding: 10px 14px; text-align: left; border: 1px solid var(--border); }
.legal-body td { padding: 9px 14px; border: 1px solid var(--border); vertical-align: top; }
.legal-body tr:nth-child(even) td { background: #FAFAFA; }

/* ── Contact Page ── */
.contact-layout { padding: 48px 0 64px; }
.contact-grid { display: grid; gap: 40px; }
.contact-info h3 { font-family: var(--font-head); font-weight: 800; font-size: 18px; color: var(--text); margin-bottom: 16px; }
.contact-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; font-size: 15px; }
.contact-icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.contact-item a { color: var(--blue); }
.info-box { background: var(--blue-light); border-left: 4px solid var(--blue); border-radius: 0 var(--radius) var(--radius) 0; padding: 16px 20px; font-size: 14px; line-height: 1.6; margin-top: 24px; }
.contact-form-wrap { background: var(--white); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); }
.contact-form-wrap h3 { font-family: var(--font-head); font-weight: 800; font-size: 18px; color: var(--text); margin-bottom: 20px; }

/* ── Sticky Coupon Bar (mobile) ── */
.sticky-coupon-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 998;
  background: var(--green); color: var(--white); padding: 12px 16px;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.15);
  display: none;
}
.sticky-coupon-bar.show { display: flex; }
.sticky-coupon-code { font-family: var(--font-mono); font-size: 18px; font-weight: 700; letter-spacing: 3px; }
.sticky-coupon-label { font-family: var(--font-head); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; opacity: 0.85; }

/* ── Tag list ── */
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { padding: 4px 12px; background: var(--bg); border-radius: 14px; font-size: 12px; font-weight: 600; color: var(--text-muted); font-family: var(--font-head); }

/* ── Toast ── */
.toast {
  position: fixed; bottom: 100px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--text); color: var(--white); padding: 10px 20px; border-radius: 20px;
  font-family: var(--font-head); font-size: 14px; font-weight: 600; opacity: 0;
  transition: all 0.3s ease; pointer-events: none; white-space: nowrap; z-index: 9999;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── Expiry countdown ── */
.expiry-badge { display: inline-flex; align-items: center; gap: 6px; background: #FFEBEE; color: var(--red); border-radius: 8px; padding: 8px 14px; font-family: var(--font-head); font-weight: 700; font-size: 14px; }
.expiry-ok { background: var(--green-light); color: var(--green-dark); }

/* ── Responsive: Tablet ── */
@media (min-width: 600px) {
  .cat-grid { grid-template-columns: repeat(6, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

/* ── Responsive: Desktop ── */
@media (min-width: 900px) {
  .menu-toggle { display: none; }
  .nav { display: flex; }
  .container { padding: 0 24px; }
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
  .steps-grid .step-card { flex-direction: column; }
  .steps-grid .step-number { width: 56px; height: 56px; font-size: 24px; }
  .hero-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
  .detail-layout { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
  .footer-grid { grid-template-columns: 2.5fr 1fr 1fr 1fr; }
}

/* ── Responsive: Mobile menu ── */
@media (max-width: 899px) {
  .nav { display: none; }
  .menu-toggle { display: flex; }
  .nav-cta-header { display: none; }
}

/* ── Page specific ── */
.promo-listing-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
.promo-count { font-family: var(--font-head); font-size: 14px; color: var(--text-muted); }
.promo-count strong { color: var(--blue); }
.no-results { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.no-results h3 { font-family: var(--font-head); font-weight: 700; margin-bottom: 8px; }
.partners-hero { background: linear-gradient(135deg, var(--blue-dark), var(--blue)); }
.partners-hero .hero h1 span { color: #7FD43A; }
.partner-steps { display: grid; gap: 20px; counter-reset: steps; }
.partner-step { background: var(--white); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); display: flex; gap: 16px; align-items: flex-start; }
.partner-step-num { flex-shrink: 0; width: 44px; height: 44px; background: var(--green); color: var(--white); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 900; font-size: 18px; }
.partner-step h3 { font-family: var(--font-head); font-weight: 800; margin-bottom: 4px; }
.partner-step p { font-size: 14px; color: var(--text-muted); }
.sectors-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.sector-item { display: flex; align-items: center; gap: 10px; padding: 12px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); font-family: var(--font-head); font-weight: 600; font-size: 14px; }
@media (min-width: 600px) { .sectors-grid { grid-template-columns: repeat(3, 1fr); } .partner-steps { grid-template-columns: repeat(2, 1fr); } }

/* ── Astra overrides ── */
/* Désactive les styles natifs Astra qui entreraient en conflit */
.ast-container { max-width: none !important; padding: 0 !important; }
#page { background: var(--white); }
.entry-content { max-width: none; }
.ast-breadcrumbs-wrapper,
.entry-header,
.post-navigation,
.comments-area { display: none !important; }

/* ============================================================
   BLOC 2 — Homepage + Archive + Single
   ============================================================ */

/* ── Hero stats ── */
.hero-stat { text-align: center; }
.hero-stat strong { display: block; font-family: var(--font-head); font-size: 28px; font-weight: 900; color: #7FD43A; }
.hero-stat span { font-size: 12px; opacity: 0.75; font-weight: 600; }
.hero-stats { display: flex; gap: 32px; margin-top: 36px; justify-content: flex-start; flex-wrap: wrap; }

/* ── Section view-all CTA ── */
.section-view-all { text-align: center; margin-top: 32px; }

/* ── Two-col benefits grid ── */
.two-col { display: grid; gap: 32px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; } }
.benefit-col h3 { font-family: var(--font-head); font-weight: 800; font-size: 20px; margin-bottom: 6px; }
.benefit-col .sub { color: var(--text-muted); font-size: 14px; margin-bottom: 20px; }
.benefit-col.blue h3 { color: var(--blue); }
.benefit-col.green h3 { color: var(--green-dark); }

/* ── Promo archive listing header ── */
.promo-listing-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.promo-count { font-family: var(--font-head); font-size: 15px; font-weight: 600; color: var(--text-muted); margin: 0; }
.promo-count strong { color: var(--text); font-size: 18px; }

/* ── Single promo sidebar ── */
.detail-sidebar { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 28px; position: sticky; top: 80px; }

/* ── Related offers ── */
.related-title { font-family: var(--font-head); font-weight: 800; font-size: 18px; color: var(--text); margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid var(--bg); }
.related-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); align-items: center; text-decoration: none; color: inherit; transition: var(--transition); }
.related-item:last-child { border-bottom: none; }
.related-item:hover { opacity: 0.8; }
.related-icon { width: 48px; height: 48px; background: var(--blue-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.related-item h4 { font-family: var(--font-head); font-size: 13px; font-weight: 700; line-height: 1.3; margin-bottom: 3px; }
.related-item span { font-size: 11px; color: var(--text-muted); }

/* ── Share row ── */
.share-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.share-btn { flex: 1; min-width: 120px; padding: 10px; border-radius: var(--radius); font-family: var(--font-head); font-size: 13px; font-weight: 700; text-align: center; cursor: pointer; border: none; transition: var(--transition); }
.share-fb { background: #1877F2; color: white; }
.share-wa { background: #25D366; color: white; }
.share-fb:hover { background: #1460c3; }
.share-wa:hover { background: #128C7E; }

/* ── Validity box ── */
.validity-box { background: var(--bg); border-radius: var(--radius); padding: 16px; display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.validity-box .v-icon { font-size: 32px; flex-shrink: 0; }
.validity-box h4 { font-family: var(--font-head); font-weight: 700; font-size: 14px; margin-bottom: 2px; }
.validity-box p { font-size: 13px; color: var(--text-muted); margin: 0; }

/* ================================================================
   PAGE PARTENAIRES
   ================================================================ */

.partners-layout{
  display:grid;
  grid-template-columns:1fr;
  gap:48px;
  align-items:start;
}

@media (min-width:1024px){
  .partners-layout{
    grid-template-columns:minmax(0,1fr) 520px;
  }

  .partners-layout > div:first-child{
    min-width:0;
  }

  .partners-layout > div:last-child{
    min-width:0;
    display:grid;
    gap:28px;
    align-content:start;
  }
}

/* colonne gauche */
.benefits-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:24px 28px !important;
  margin-bottom:32px;
}

@media (min-width:768px){
  .benefits-grid{
    grid-template-columns:1fr 1fr;
  }
}

.benefit-item{
  align-items:flex-start;
}

/* témoignage */
.testimonial-card{
  background:#fff;
  border-radius:24px;
  padding:28px;
  box-shadow:0 8px 24px rgba(0,0,0,.06);
  border-left:5px solid var(--green);
}

.testimonial-card p{
  font-size:15px;
  line-height:1.7;
  margin-bottom:16px;
}

.testimonial-author{
  display:flex;
  align-items:center;
  gap:12px;
}

.testimonial-avatar{
  width:48px;
  height:48px;
  border-radius:50%;
  background:var(--blue-light);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:22px;
}

.testimonial-name{
  font-family:var(--font-head);
  font-weight:800;
  font-size:15px;
  line-height:1.2;
}

.testimonial-role{
  font-size:13px;
  color:var(--text-muted);
  margin-top:2px;
}

/* colonne droite */
.commission-box{
  background:linear-gradient(135deg, var(--blue), var(--blue-dark));
  color:#fff;
  border-radius:24px;
  padding:36px 28px;
  text-align:center;
  margin-bottom:0 !important;
}

.commission-box h3,
.commission-box p{
  color:#fff;
}

.commission-rate{
  font-family:var(--font-head);
  font-size:64px;
  line-height:1;
  font-weight:900;
  color:#7FD43A;
  margin:20px 0 12px;
}

.commission-rate span{
  font-size:24px;
}

/* FAQ */
.faq-item{
  border-bottom:1px solid var(--border);
  padding:18px 0;
}

.faq-q{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  cursor:pointer;
  font-family:var(--font-head);
  font-weight:800;
  font-size:15px;
}

.faq-a{
  display:none;
  margin-top:12px;
  color:var(--text-muted);
  line-height:1.7;
  font-size:14px;
}

.faq-item.open .faq-a{
  display:block;
}

.faq-arrow{
  flex-shrink:0;
  transition:transform .25s ease;
}

.faq-item.open .faq-arrow{
  transform:rotate(180deg);
}

/* bouton whatsapp bloc droite */
.partners-layout .btn-full{
  width:100%;
  justify-content:center;
}

/* responsive */
@media (max-width:1023px){
  .commission-box{
    padding:28px 22px;
  }

  .commission-rate{
    font-size:48px;
  }
}