/*
 * Wendo Landing — v1 marketing patterns
 * Loaded after components.css. Defines reusable section/component classes
 * derived from v1/assets/wendo.css and v1/index.html inline styles.
 */

/* ===== Container utilities ===== */
.container-wide {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 768px) {
  .container-wide { padding: 0 20px; }
}

/* ===== Eyebrow pill ===== */
.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px 6px 6px;
  border: 1px solid var(--wendo-border);
  border-radius: var(--wendo-radius-pill);
  font-size: 12px;
  font-weight: 600;
  color: var(--wendo-text-muted);
  margin-bottom: 24px;
}
.eyebrow-pill .eyebrow-dot {
  width: 22px; height: 22px;
  border-radius: 999px;
  background: var(--wendo-red);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

/* ===== Section heading ===== */
.section-heading {
  text-align: center;
  margin-bottom: 56px;
}
.section-heading .eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wendo-red);
  margin-bottom: 12px;
}
.section-heading h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 16px;
}
.section-heading p.lead {
  font-size: 18px;
  color: var(--wendo-text-muted);
  max-width: 560px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .section-heading { margin-bottom: 32px; }
  .section-heading h2 { font-size: 32px; }
}

/* ===== Hero (CollageHero) ===== */
.hero-v1 {
  position: relative;
  padding: 72px 0 56px;
  overflow: hidden;
  border-bottom: 1px solid var(--wendo-border);
}
.hero-v1-grid {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 72px;
  align-items: center;
}
.hero-v1 h1 {
  font-size: 72px;
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.035em;
  margin: 0 0 24px;
}
.hero-v1 h1 .accent {
  color: var(--wendo-red);
  font-style: italic;
  font-family: var(--wendo-font-display);
}
.hero-v1 h1 .underline {
  position: relative;
  white-space: nowrap;
}
.hero-v1 h1 .underline::after {
  content: "";
  position: absolute;
  left: -2px; right: -2px; bottom: 4px;
  height: 14px;
  background: var(--wendo-red);
  opacity: 0.18;
  z-index: -1;
  border-radius: 2px;
}
.hero-v1 p.lead {
  font-size: 18px;
  color: var(--wendo-text-muted);
  max-width: 480px;
  margin: 0 0 32px;
}
.hero-v1-ctas {
  display: flex;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

/* ===== Stat strip ===== */
.stat-strip {
  display: flex;
  gap: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--wendo-border);
  flex-wrap: wrap;
}
.stat-strip .stat .n {
  font-family: var(--wendo-font-display);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.stat-strip .stat .l {
  font-size: 12px;
  color: var(--wendo-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}
@media (max-width: 768px) {
  .stat-strip { gap: 20px; }
  .stat-strip .stat .n { font-size: 22px; }
}

/* ===== Collage ===== */
.collage {
  position: relative;
  height: 560px;
}
.collage .cc {
  position: absolute;
  border-radius: var(--wendo-radius-lg);
  overflow: hidden;
  box-shadow: var(--wendo-shadow-lg);
  border: 1px solid var(--wendo-border);
  background: var(--wendo-surface);
}
.collage .cc img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cc-1 { top: 0; left: 0; width: 44%; height: 62%; transform: rotate(-3deg); }
.cc-2 { top: 14%; right: 4%; width: 46%; height: 56%; transform: rotate(2.5deg); }
.cc-3 { bottom: 4%; left: 18%; width: 48%; height: 40%; transform: rotate(-1deg); }
.cc-tag {
  position: absolute;
  background: var(--wendo-surface);
  border: 1px solid var(--wendo-border);
  border-radius: var(--wendo-radius-pill);
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--wendo-shadow-md);
  z-index: 10;
}
.tag-1 { top: 40px; right: 24%; transform: rotate(-4deg); }
.tag-2 { bottom: 32%; right: 6%; transform: rotate(3deg); }
.tag-3 { bottom: 6%; left: 8%; transform: rotate(-2deg); }
.tag-dot { width: 8px; height: 8px; border-radius: 999px; background: #1B7D3A; }

/* Mobile: hide collage, show simpler hero image */
@media (max-width: 980px) {
  .hero-v1-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0 20px;
  }
  .hero-v1 h1 { font-size: 44px; }
  .collage { display: none; }
  .hero-v1-mobile-img {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: var(--wendo-radius-lg);
    overflow: hidden;
    box-shadow: var(--wendo-shadow-lg);
    border: 1px solid var(--wendo-border);
  }
  .hero-v1-mobile-img img { width: 100%; height: 100%; object-fit: cover; }
  /* Stack hero CTAs full-width on mobile so they're easy to tap and don't
     wrap awkwardly. */
  .hero-v1-ctas {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-v1-ctas .btn {
    width: 100%;
    justify-content: center;
  }
}
@media (min-width: 981px) {
  .hero-v1-mobile-img { display: none; }
}

/* ===== Big search section ===== */
.big-search-section {
  padding: 72px 0;
  border-bottom: 1px solid var(--wendo-border);
}
.big-search-heading {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
}
.big-search-heading h2 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0 0 12px;
}
.big-search-heading p {
  font-size: 16px;
  color: var(--wendo-text-muted);
  margin: 0;
}

/* Card container that hosts the dynamic search bar */
.big-search {
  max-width: 1100px;
  margin: 0 auto;
  background: var(--wendo-surface);
  border: 1px solid var(--wendo-border);
  border-radius: var(--wendo-radius-xl);
  padding: 24px;
  box-shadow: var(--wendo-shadow-md);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Search input (top row, full width) */
.bs-search-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid var(--wendo-border-strong);
  border-radius: var(--wendo-radius-lg);
  background: var(--wendo-surface);
  transition: border-color var(--wendo-transition-fast), box-shadow var(--wendo-transition-fast);
}
.bs-search-wrap:focus-within {
  border-color: var(--wendo-red, #E31E24);
  box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.12);
}
.bs-search-icon {
  flex-shrink: 0;
  color: var(--wendo-text-muted);
}
.bs-search-input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 16px;
  font-weight: 500;
  color: var(--wendo-text);
  min-width: 0;
}
.bs-search-input::placeholder { color: var(--wendo-text-muted); }

/* Pill row of selects */
.bs-pills-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.bs-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.bs-field--pill {
  border: 1px solid var(--wendo-border);
  border-radius: var(--wendo-radius);
  padding: 8px 12px;
  background: var(--wendo-bg, var(--wendo-surface));
  transition: border-color var(--wendo-transition-fast);
}
.bs-field--pill:hover { border-color: var(--wendo-text-muted); }
.bs-field--pill:focus-within { border-color: var(--wendo-red, #E31E24); }

.bs-lbl {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--wendo-text-muted);
}
.bs-select,
.bs-num-input {
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  color: var(--wendo-text);
  cursor: pointer;
  padding: 2px 0;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' 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 center;
  padding-right: 16px;
}
.bs-num-input {
  cursor: text;
  background-image: none;
  padding-right: 0;
}

/* Actions row (advanced toggle + clear) */
.bs-actions-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.bs-advanced-toggle,
.bs-clear-btn {
  border: 0;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  color: var(--wendo-text-muted);
  cursor: pointer;
  padding: 6px 4px;
  transition: color var(--wendo-transition-fast);
}
.bs-advanced-toggle {
  color: var(--wendo-red, #E31E24);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.bs-advanced-toggle:hover { text-decoration: underline; }
.bs-clear-btn:hover { color: var(--wendo-text); text-decoration: underline; }
.bs-advanced-toggle-icon {
  flex-shrink: 0;
}

/* Advanced filters panel (collapsible) */
.bs-advanced-panel {
  border-top: 1px solid var(--wendo-border);
  padding-top: 16px;
}
.bs-advanced-panel[hidden] { display: none; }
.bs-advanced-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.bs-advanced-row .bs-field {
  border: 1px solid var(--wendo-border);
  border-radius: var(--wendo-radius);
  padding: 8px 12px;
  background: var(--wendo-bg, var(--wendo-surface));
}
.bs-range {
  display: flex;
  align-items: center;
  gap: 8px;
}
.bs-range .bs-num-input {
  flex: 1;
  min-width: 0;
  font-size: 14px;
}
.bs-range-sep { color: var(--wendo-text-muted); }

/* Empty state + load more */
.influencers-empty {
  text-align: center;
  padding: 48px 16px;
  color: var(--wendo-text-muted);
  font-size: 15px;
}
.influencers-actions {
  text-align: center;
  margin-top: 32px;
}

@media (max-width: 768px) {
  .bs-pills-row { grid-template-columns: 1fr 1fr; }
  .bs-advanced-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .bs-pills-row { grid-template-columns: 1fr; }
}

/* ===== Card grid ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

/* Creator card — v1-faithful (matches v1/index.html .ccard) */
.creator-card {
  position: relative;
  background: var(--wendo-surface);
  border: 1px solid var(--wendo-border);
  border-radius: var(--wendo-radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--wendo-transition-fast), box-shadow var(--wendo-transition-fast);
}
.creator-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--wendo-shadow-md);
}
.creator-card-media {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--wendo-bg-muted);
}
.creator-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.creator-card:hover .creator-card-media img { transform: scale(1.04); }

/* Top overlay: platform + followers pills */
.creator-card-top {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  z-index: 2;
}
.creator-card-pf-pill {
  padding: 4px 9px;
  border-radius: var(--wendo-radius-pill, 999px);
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: white;
  backdrop-filter: blur(8px);
}
.creator-card-pf-pill.pf-ig { background: linear-gradient(135deg, #F58529, #DD2A7B, #8134AF); }
.creator-card-pf-pill.pf-tt { background: #111; }
.creator-card-pf-pill.pf-yt { background: #FF0000; }
.creator-card-pf-pill.pf-fb { background: #1877F2; }
.creator-card-followers-pill {
  padding: 4px 9px;
  border-radius: var(--wendo-radius-pill, 999px);
  font-size: 11px;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  backdrop-filter: blur(8px);
}

/* Bottom overlay: name+loc + rating, on gradient */
.creator-card-btm {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 10px;
  z-index: 2;
}
.creator-card-btm > div:first-child { flex: 1 1 auto; min-width: 0; }
.creator-card-btm::before {
  content: "";
  position: absolute;
  inset: -120px 0 -12px 0;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.78));
  z-index: -1;
  pointer-events: none;
}
.creator-card-name {
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}
.creator-card-loc {
  font-size: 12px;
  opacity: 0.9;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}
.creator-card-rating {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--wendo-gold, #F5C518);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* Meta footer: niche + price */
.creator-card-meta {
  padding: 14px 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.creator-card-niche {
  font-size: 13px;
  color: var(--wendo-text-muted);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.creator-card-price {
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  flex-shrink: 0;
}
.creator-card-price .cur {
  font-size: 11px;
  color: var(--wendo-text-muted);
  margin-left: 2px;
  font-weight: 500;
}
.creator-card-price .prefix {
  font-size: 11px;
  color: var(--wendo-text-muted);
  font-weight: 500;
  margin-right: 2px;
}

/* Category card */
.cat-card {
  background: var(--wendo-surface);
  border: 1px solid var(--wendo-border);
  border-radius: var(--wendo-radius-lg);
  padding: 24px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color var(--wendo-transition-fast);
  text-decoration: none;
  color: inherit;
}
.cat-card:hover { border-color: var(--wendo-red); }
.cat-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--wendo-radius);
  background: var(--wendo-red-50);
  color: var(--wendo-red-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 8px;
}
.cat-card-title { font-weight: 700; font-size: 16px; }
.cat-card-meta { font-size: 12px; color: var(--wendo-text-muted); }

/* ===== How It Works ===== */
.hiw-section {
  padding: 80px 0;
  background: var(--wendo-bg-soft);
  border-bottom: 1px solid var(--wendo-border);
}
.hiw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.hiw-card {
  background: var(--wendo-surface);
  border: 1px solid var(--wendo-border);
  border-radius: var(--wendo-radius-lg);
  padding: 32px;
  position: relative;
}
.hiw-card .hiw-num {
  font-family: var(--wendo-font-display);
  font-size: 14px;
  font-weight: 800;
  color: var(--wendo-red);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.hiw-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.hiw-card p {
  font-size: 14px;
  color: var(--wendo-text-muted);
  margin: 0;
  line-height: 1.6;
}
@media (max-width: 768px) {
  .hiw-grid { grid-template-columns: 1fr; }
}

/* ===== Pay strip ===== */
.pay-strip {
  padding: 32px 0;
  border-bottom: 1px solid var(--wendo-border);
  background: var(--wendo-bg-soft);
}
.pay-strip-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}
.pay-strip-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--wendo-text-muted);
}
.pay-strip-items {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.pay-item {
  font-size: 13px;
  font-weight: 600;
  color: var(--wendo-text);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ===== Testimonials ===== */
.testi-section { padding: 80px 0; }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.testi-card {
  background: var(--wendo-surface);
  border: 1px solid var(--wendo-border);
  border-radius: var(--wendo-radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.testi-quote {
  font-size: 16px;
  line-height: 1.55;
  color: var(--wendo-text);
  margin: 0;
}
.testi-author {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.testi-author .name {
  font-size: 14px;
  font-weight: 700;
}
.testi-author .role {
  font-size: 12px;
  color: var(--wendo-text-muted);
}
@media (max-width: 768px) {
  .testi-grid { grid-template-columns: 1fr; }
}

/* ===== FAQ ===== */
.faq-section { padding: 80px 0; background: var(--wendo-bg-soft); border-bottom: 1px solid var(--wendo-border); }
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--wendo-surface);
  border: 1px solid var(--wendo-border);
  border-radius: var(--wendo-radius);
  padding: 20px 24px;
}
.faq-item summary {
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 22px;
  color: var(--wendo-text-muted);
  font-weight: 400;
  transition: transform var(--wendo-transition-fast);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-body {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--wendo-text-muted);
}

/* ===== Final CTA ===== */
.cta-final-section {
  padding: 80px 0;
  text-align: center;
}
.cta-final-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--wendo-text);
  color: var(--wendo-bg);
  border-radius: var(--wendo-radius-xl);
  padding: 56px 32px;
}
.cta-final-card h2 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0 0 12px;
  color: inherit;
}
.cta-final-card p {
  font-size: 16px;
  opacity: 0.8;
  margin: 0 0 28px;
}
:root[data-theme="dark"] .cta-final-card,
:root.dark .cta-final-card {
  background: var(--wendo-red);
  color: white;
}

/* ===== Nav v1 ===== */
.nav-v1 {
  min-height: 112px;
  border-bottom: 1px solid var(--wendo-border);
  background: var(--wendo-bg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-family: var(--wendo-font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--wendo-text);
  text-decoration: none;
}
.nav-logo img {
  display: block;
  height: 96px;
  width: auto;
  object-fit: contain;
}
.nav-logo .logo-dark { display: none; }
:root.dark .nav-logo .logo-light,
:root[data-theme="dark"] .nav-logo .logo-light { display: none; }
:root.dark .nav-logo .logo-dark,
:root[data-theme="dark"] .nav-logo .logo-dark { display: block; }
.nav-logo .logo-mark {
  display: inline-flex;
  width: 28px;
  height: 28px;
  background: var(--wendo-red);
  color: white;
  border-radius: var(--wendo-radius);
  font-size: 16px;
  font-weight: 800;
  align-items: center;
  justify-content: center;
  margin-right: 6px;
  transform: translateY(3px);
}
.nav-logo .logo-dot { color: var(--wendo-red); }
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--wendo-text-muted);
}
.nav-links a {
  text-decoration: none;
  color: inherit;
  transition: color var(--wendo-transition-fast);
}
.nav-links a:hover, .nav-links a.active { color: var(--wendo-text); }
.nav-right {
  display: flex;
  gap: 10px;
  align-items: center;
}
@media (max-width: 880px) {
  .nav-v1 { padding: 0 20px; }
  .nav-logo img { height: 96px; }
  .nav-links { display: none; }
  /* On mobile, the nav-right collapses to just the hamburger — every other
     control (theme, lang, login, signup) lives inside #mobile-menu. */
  .nav-right > .theme-toggle,
  .nav-right > .lang-toggle,
  .nav-right > .btn { display: none; }
}

/* ===== Footer v1 ===== */
.footer-v1 {
  border-top: 1px solid var(--wendo-border);
  padding: 56px 0 24px;
  background: var(--wendo-bg-soft);
}
.footer-v1-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
.footer-v1-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-v1-col h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--wendo-text-muted);
  margin: 0 0 8px;
}
.footer-v1-col a {
  font-size: 14px;
  color: var(--wendo-text);
  text-decoration: none;
  transition: color var(--wendo-transition-fast);
}
.footer-v1-col a:hover { color: var(--wendo-red); }
.footer-v1-tagline {
  font-size: 14px;
  color: var(--wendo-text-muted);
  max-width: 280px;
}
.footer-v1-bottom {
  border-top: 1px solid var(--wendo-border);
  padding-top: 24px;
  font-size: 13px;
  color: var(--wendo-text-muted);
  text-align: center;
}
@media (max-width: 768px) {
  .footer-v1-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}

/* ===== Subpage hero (secondary pages) ===== */
.subpage-hero {
  padding: 120px 0 56px;
  border-bottom: 1px solid var(--wendo-border);
  text-align: center;
}
.subpage-hero .container,
.subpage-hero .container-wide {
  max-width: 760px;
}
.subpage-hero .eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wendo-red);
  margin-bottom: 14px;
}
.subpage-hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 16px;
}
.subpage-hero p.lead {
  font-size: 18px;
  line-height: 1.55;
  color: var(--wendo-text-muted);
  max-width: 600px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .subpage-hero { padding: 88px 0 40px; }
  .subpage-hero h1 { font-size: 36px; }
  .subpage-hero p.lead { font-size: 16px; }
}

/* ===== Subpage section (after subpage-hero) ===== */
.subpage-section {
  padding: 64px 0;
}
@media (max-width: 768px) {
  .subpage-section { padding: 40px 0; }
}

/* ===== Legal / prose layout ===== */
.legal-prose {
  max-width: 720px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.75;
  color: var(--wendo-text);
}
.legal-prose .updated {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wendo-text-muted);
  background: var(--wendo-bg-soft);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 32px;
}
.legal-prose h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin: 40px 0 12px;
  color: var(--wendo-foreground);
}
.legal-prose h2:first-child { margin-top: 0; }
.legal-prose p { margin: 0 0 18px; color: var(--wendo-text-muted); }
.legal-prose strong { color: var(--wendo-foreground); }
.legal-prose a { color: var(--wendo-red); text-decoration: underline; text-underline-offset: 3px; }
.legal-prose h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 24px 0 8px;
  color: var(--wendo-foreground);
}
.legal-prose ul {
  margin: 0 0 18px;
  padding-left: 22px;
  color: var(--wendo-text-muted);
}
.legal-prose ul li { margin: 0 0 6px; }

/* ===== Public creator profile ===== */
.profile-public-hero {
  padding: 112px 0 56px;
  border-bottom: 1px solid var(--wendo-border);
  background:
    radial-gradient(circle at 85% 12%, rgba(227, 30, 36, 0.12), transparent 32%),
    linear-gradient(180deg, var(--wendo-bg), var(--wendo-bg-soft));
}
.profile-back-link {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--wendo-text-muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.profile-back-link:hover { color: var(--wendo-red); }
.profile-state-card {
  max-width: 720px;
  padding: 32px;
  border: 1px solid var(--wendo-border);
  border-radius: var(--wendo-radius-lg);
  background: var(--wendo-surface);
  color: var(--wendo-text-muted);
}
.profile-hero-grid {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: 56px;
  align-items: center;
}
.profile-hero-media {
  aspect-ratio: 4 / 5;
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--wendo-red), var(--wendo-red-700));
  border: 1px solid var(--wendo-border);
  box-shadow: var(--wendo-shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.profile-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-photo-fallback {
  color: #fff;
  font-size: clamp(72px, 12vw, 132px);
  font-weight: 800;
}
.profile-eyebrow,
.profile-section-heading span {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wendo-red);
  margin-bottom: 12px;
}
.profile-hero-copy h1 {
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 0 0 20px;
}
.profile-bio {
  max-width: 680px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--wendo-text-muted);
  margin: 0 0 24px;
}
.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.profile-tag {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: var(--wendo-radius-pill);
  background: var(--wendo-red-50);
  color: var(--wendo-red-700);
  font-size: 13px;
  font-weight: 700;
}
.profile-tag-muted {
  background: var(--wendo-bg-muted);
  color: var(--wendo-text-muted);
}
.profile-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(110px, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}
.profile-stat {
  padding: 16px;
  border: 1px solid var(--wendo-border);
  border-radius: var(--wendo-radius-lg);
  background: var(--wendo-surface);
}
.profile-stat strong {
  display: block;
  font-size: 22px;
  line-height: 1.1;
  margin-bottom: 6px;
}
.profile-stat span {
  color: var(--wendo-text-muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.profile-public-section {
  padding: 64px 0;
  border-bottom: 1px solid var(--wendo-border);
}
.profile-section-heading {
  margin-bottom: 28px;
}
.profile-section-heading h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.profile-social-grid,
.profile-package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.profile-social-card,
.profile-package-card,
.profile-portfolio-card {
  background: var(--wendo-surface);
  border: 1px solid var(--wendo-border);
  border-radius: var(--wendo-radius-lg);
  box-shadow: var(--wendo-shadow-sm);
}
.profile-social-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  color: inherit;
  text-decoration: none;
}
.profile-social-card:hover { border-color: var(--wendo-red); }
.profile-social-platform,
.profile-social-card span:last-child {
  color: var(--wendo-text-muted);
  font-size: 13px;
  font-weight: 700;
}
.profile-social-card strong { font-size: 20px; }
.profile-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.profile-portfolio-card {
  margin: 0;
  overflow: hidden;
}
.profile-portfolio-card img,
.profile-portfolio-card video,
.profile-portfolio-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--wendo-bg-muted);
  display: block;
}
.profile-portfolio-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wendo-text-muted);
  font-weight: 700;
  text-transform: uppercase;
}
.profile-portfolio-card figcaption {
  padding: 12px 14px 14px;
  color: var(--wendo-text-muted);
  font-size: 14px;
}
.profile-package-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.profile-package-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}
.profile-package-top h3 {
  margin: 0;
  font-size: 20px;
}
.profile-package-top strong {
  color: var(--wendo-red);
  white-space: nowrap;
}
.profile-package-card p {
  margin: 0;
  color: var(--wendo-text-muted);
  line-height: 1.6;
}
.profile-package-deliverables {
  margin: 0;
  padding-left: 20px;
  color: var(--wendo-text-muted);
}
.profile-package-deliverables li { margin-bottom: 6px; }

@media (max-width: 900px) {
  .profile-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .profile-hero-media { max-width: 420px; }
  .profile-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .profile-public-hero { padding: 88px 0 40px; }
  .profile-stats { grid-template-columns: 1fr; }
  .profile-actions .btn { width: 100%; }
  .profile-package-top { flex-direction: column; }
}
.legal-prose .legal-meta {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wendo-text-muted);
  background: var(--wendo-bg-soft);
  border-radius: 999px;
  padding: 6px 14px;
  margin: 0 0 32px;
}
.legal-prose--loading {
  min-height: 200px;
}
.legal-loading {
  text-align: center;
  color: var(--wendo-text-muted);
  font-style: italic;
  padding: 48px 0;
}

/* ===== Blog list / article ===== */
.blog-loading,
.blog-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--wendo-text-muted);
  font-style: italic;
  padding: 48px 0;
}
.blog-back-link {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--wendo-text-muted);
  text-decoration: none;
}
.blog-back-link:hover { color: var(--wendo-text); }

.blog-article {
  max-width: 760px;
  margin: 0 auto;
}
.blog-article-cover {
  width: 100%;
  aspect-ratio: 16 / 8;
  background-size: cover;
  background-position: center;
  border-radius: var(--wendo-radius-lg);
  margin-bottom: 32px;
  border: 1px solid var(--wendo-border);
}
.blog-article-content {
  font-size: 17px;
  line-height: 1.75;
  color: var(--wendo-text);
}
.blog-article-content--loading { min-height: 240px; }
.blog-article-content h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 36px 0 12px;
  color: var(--wendo-foreground);
}
.blog-article-content h3 {
  font-size: 19px;
  font-weight: 700;
  margin: 28px 0 10px;
  color: var(--wendo-foreground);
}
.blog-article-content p { margin: 0 0 18px; color: var(--wendo-text-muted); }
.blog-article-content strong { color: var(--wendo-foreground); }
.blog-article-content a {
  color: var(--wendo-red);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.blog-article-content ul,
.blog-article-content ol {
  margin: 0 0 20px;
  padding-left: 24px;
  color: var(--wendo-text-muted);
}
.blog-article-content li { margin: 0 0 8px; }
.blog-article-content blockquote {
  border-left: 3px solid var(--wendo-red);
  padding: 4px 0 4px 16px;
  margin: 0 0 20px;
  color: var(--wendo-text);
  font-style: italic;
}
.blog-article-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--wendo-radius);
  margin: 20px 0;
}
.blog-article-not-found {
  max-width: 480px;
  margin: 48px auto;
  text-align: center;
}
.blog-article-not-found h2 { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.blog-article-not-found p { color: var(--wendo-text-muted); margin-bottom: 24px; }

/* ===== Cookie consent banner (RGPD) ===== */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1000;
  max-width: 1080px;
  margin: 0 auto;
  background: var(--wendo-surface);
  border: 1px solid var(--wendo-border-strong);
  border-radius: var(--wendo-radius-lg);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 200ms ease, transform 200ms ease;
}
.cookie-banner--shown {
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner--leaving {
  opacity: 0;
  transform: translateY(20px);
}
.cookie-banner-message {
  flex: 1 1 320px;
  min-width: 0;
}
.cookie-banner-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--wendo-text-muted);
  border-radius: 999px;
  cursor: pointer;
  transition: background-color var(--wendo-transition-fast), color var(--wendo-transition-fast);
}
.cookie-banner-close:hover {
  background: var(--wendo-bg-muted);
  color: var(--wendo-text);
}
.cookie-banner-title {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--wendo-foreground);
}
.cookie-banner-text {
  font-size: 13px;
  line-height: 1.6;
  color: var(--wendo-text-muted);
  margin: 0;
}
.cookie-banner-link {
  color: var(--wendo-red);
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}
.cookie-banner-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.cookie-banner-btn-refuse {
  border: 1px solid var(--wendo-border-strong);
  background: transparent;
}
@media (max-width: 640px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 14px 16px;
    gap: 10px;
    bottom: 12px;
    left: 12px;
    right: 12px;
  }
  /* The title is redundant on mobile — the message + "En savoir plus" link
     already convey the purpose, and screen real-estate is tight. */
  .cookie-banner-title { display: none; }
  /* Reset the desktop \`flex: 1 1 320px\` — on column layout the basis becomes
     a min-height, padding the banner with empty space below the text. */
  .cookie-banner-message {
    flex: 0 0 auto;
  }
  .cookie-banner-text {
    font-size: 12.5px;
    line-height: 1.5;
  }
  .cookie-banner-actions {
    flex-direction: row;
  }
  .cookie-banner-actions .btn {
    flex: 1;
    justify-content: center;
    padding: 10px 14px;
    font-size: 14px;
  }
}

/* ===== Glance cards (help/guides) ===== */
.glance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.glance-card {
  background: var(--wendo-background);
  border: 1px solid var(--wendo-border);
  border-radius: 18px;
  padding: 28px;
  text-align: center;
  transition: transform var(--wendo-transition-fast), box-shadow var(--wendo-transition-fast), border-color var(--wendo-transition-fast);
}
.glance-card:hover {
  transform: translateY(-2px);
  border-color: var(--wendo-border-strong);
  box-shadow: var(--wendo-card-shadow-hover, 0 8px 24px rgba(0,0,0,0.08));
}
.glance-card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--wendo-red-50);
  color: var(--wendo-red);
  border-radius: 16px;
  font-size: 26px;
}
.glance-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--wendo-foreground);
}
.glance-card p {
  font-size: 14px;
  color: var(--wendo-text-muted);
  margin: 0;
  line-height: 1.5;
}

/* ===== Step cards (numbered guides) ===== */
.step-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 720px;
  margin: 0 auto;
}
.step-row {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--wendo-background);
  border: 1px solid var(--wendo-border);
  border-radius: 18px;
  padding: 20px 24px;
  text-decoration: none;
  color: inherit;
  transition: transform var(--wendo-transition-fast), border-color var(--wendo-transition-fast), box-shadow var(--wendo-transition-fast);
}
.step-row:hover {
  transform: translateY(-1px);
  border-color: var(--wendo-border-strong);
  box-shadow: var(--wendo-card-shadow-hover, 0 8px 24px rgba(0,0,0,0.08));
}
.step-row .step-num {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--wendo-red);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.step-row h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 2px;
  color: var(--wendo-foreground);
}
.step-row p {
  font-size: 14px;
  color: var(--wendo-text-muted);
  margin: 0;
}

/* ===== Blog grid ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}
.blog-card {
  background: var(--wendo-background);
  border: 1px solid var(--wendo-border);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform var(--wendo-transition-fast), border-color var(--wendo-transition-fast), box-shadow var(--wendo-transition-fast);
}
.blog-card:hover {
  transform: translateY(-3px);
  border-color: var(--wendo-border-strong);
  box-shadow: var(--wendo-card-shadow-hover, 0 12px 32px rgba(0,0,0,0.10));
}
.blog-card-media {
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
}
.blog-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.blog-card-meta {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wendo-red);
}
.blog-card h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin: 0;
  color: var(--wendo-foreground);
}
.blog-card p {
  font-size: 14px;
  color: var(--wendo-text-muted);
  margin: 0;
  line-height: 1.55;
}

/* ===== Contact form ===== */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 520px;
  margin: 0 auto;
}
.contact-form .field { display: flex; flex-direction: column; gap: 6px; }
.contact-form label {
  font-size: 13px;
  font-weight: 600;
  color: var(--wendo-foreground);
}
.contact-form .input,
.contact-form textarea.input {
  border-radius: 14px;
  background: var(--wendo-background);
  border: 1px solid var(--wendo-border);
  padding: 14px 16px;
  font-size: 15px;
}
.contact-form textarea.input { resize: vertical; min-height: 140px; }
.contact-form .submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
}
.contact-aside {
  margin-top: 48px;
  text-align: center;
  font-size: 14px;
  color: var(--wendo-text-muted);
}
.contact-aside a { color: var(--wendo-red); text-decoration: none; font-weight: 700; }
.contact-aside a:hover { text-decoration: underline; }
