/* Thème public Dispozition — sombre (défaut) et clair */
html[data-public-theme="dark"],
html:not([data-public-theme]) {
  color-scheme: dark;
  --pub-bg-top: rgba(59, 130, 246, 0.15);
  --pub-bg-base: #0a1628;
  --pub-text: #f8fafc;
  --pub-text-strong: #ffffff;
  --pub-text-muted: rgba(255, 255, 255, 0.8);
  --pub-text-subtle: rgba(255, 255, 255, 0.6);
  --pub-text-faint: rgba(255, 255, 255, 0.45);
  --pub-border: rgba(255, 255, 255, 0.12);
  --pub-border-subtle: rgba(255, 255, 255, 0.08);
  --pub-surface: rgba(255, 255, 255, 0.06);
  --pub-surface-hover: rgba(255, 255, 255, 0.1);
  --pub-card-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  --pub-header-bg: rgba(0, 0, 0, 0.2);
  --pub-header-border: rgba(255, 255, 255, 0.1);
  --pub-input-bg: rgba(255, 255, 255, 0.06);
  --pub-input-text: #ffffff;
  --pub-input-border: rgba(255, 255, 255, 0.12);
  --pub-modal-bg: #0b1120;
  --pub-modal-border: rgba(255, 255, 255, 0.08);
  --pub-overlay: rgba(0, 0, 0, 0.55);
  --pub-link: #6ee7b7;
  --pub-link-hover: #a7f3d0;
  --pub-accent-link: #34d399;
  --pub-section-dark: linear-gradient(180deg, rgba(2, 6, 23, 0.35) 0%, rgba(2, 6, 23, 0.15) 100%);
  --pub-section-alt: linear-gradient(145deg, rgba(15, 23, 42, 0.55), rgba(2, 6, 23, 0.4));
  --pub-footer-bg: linear-gradient(180deg, rgba(2, 6, 23, 0) 0%, rgba(2, 6, 23, 0.55) 100%);
  --pub-panel-bg: #1e293b;
  --pub-lang-menu-bg: #1e293b;
}

html[data-public-theme="light"] {
  color-scheme: light;
  --pub-bg-top: rgba(59, 130, 246, 0.08);
  --pub-bg-base: #f4f7fb;
  --pub-text: #0f172a;
  --pub-text-strong: #020617;
  --pub-text-muted: #334155;
  --pub-text-subtle: #64748b;
  --pub-text-faint: #94a3b8;
  --pub-border: rgba(15, 23, 42, 0.12);
  --pub-border-subtle: rgba(15, 23, 42, 0.08);
  --pub-surface: #ffffff;
  --pub-surface-hover: #f1f5f9;
  --pub-card-bg: linear-gradient(180deg, #ffffff, #f8fafc);
  --pub-header-bg: rgba(255, 255, 255, 0.88);
  --pub-header-border: rgba(15, 23, 42, 0.1);
  --pub-input-bg: #ffffff;
  --pub-input-text: #0f172a;
  --pub-input-border: rgba(15, 23, 42, 0.14);
  --pub-modal-bg: #ffffff;
  --pub-modal-border: rgba(15, 23, 42, 0.1);
  --pub-overlay: rgba(15, 23, 42, 0.45);
  --pub-link: #047857;
  --pub-link-hover: #065f46;
  --pub-accent-link: #059669;
  --pub-section-dark: linear-gradient(180deg, #eef2f7 0%, #f8fafc 100%);
  --pub-section-alt: linear-gradient(145deg, #ffffff, #f1f5f9);
  --pub-footer-bg: linear-gradient(180deg, transparent 0%, #eef2f7 100%);
  --pub-panel-bg: #ffffff;
  --pub-lang-menu-bg: #ffffff;
}

html[data-public-theme="light"] body.public-site-body {
  color: var(--pub-text);
  background: radial-gradient(1200px 600px at 50% -10%, var(--pub-bg-top), transparent),
    linear-gradient(var(--pub-bg-base), var(--pub-bg-base));
}

html[data-public-theme="dark"] body.public-site-body,
html:not([data-public-theme]) body.public-site-body {
  color: var(--pub-text);
}

html[data-public-theme="light"] .public-site-body .i {
  background: var(--pub-input-bg);
  border-color: var(--pub-input-border);
  color: var(--pub-input-text);
}

html[data-public-theme="light"] .public-site-body .i::placeholder {
  color: #94a3b8;
}

html[data-public-theme="light"] .public-site-body .btn-ghost {
  background: var(--pub-surface);
  border-color: var(--pub-border);
  color: var(--pub-text);
}

html[data-public-theme="light"] .public-site-body .btn-ghost:hover {
  background: var(--pub-surface-hover);
}

html[data-public-theme="light"] .public-site-body .card {
  background: var(--pub-card-bg);
  border-color: var(--pub-border);
}

/* Header */
html[data-public-theme="light"] .public-site-header {
  background: var(--pub-header-bg);
  border-color: var(--pub-header-border) !important;
}

html[data-public-theme="light"] .public-site-header a.font-bold {
  color: var(--pub-text-strong);
}

html[data-public-theme="light"] .public-site-header #langToggle,
html[data-public-theme="light"] .public-site-header #publicThemeToggle,
html[data-public-theme="light"] .public-site-header #openPublicLoginModal,
html[data-public-theme="light"] .public-site-header #openPublicBilletSearchModal {
  color: var(--pub-text-muted) !important;
}

html[data-public-theme="light"] .public-site-header #langToggle:hover,
html[data-public-theme="light"] .public-site-header #publicThemeToggle:hover,
html[data-public-theme="light"] .public-site-header #openPublicLoginModal:hover,
html[data-public-theme="light"] .public-site-header #openPublicBilletSearchModal:hover {
  color: var(--pub-text-strong) !important;
}

html[data-public-theme="light"] #langMenu {
  background: var(--pub-lang-menu-bg) !important;
  border-color: var(--pub-border) !important;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}

html[data-public-theme="light"] #langMenu a {
  color: var(--pub-text-muted) !important;
}

html[data-public-theme="light"] #langMenu a:hover {
  color: var(--pub-text-strong) !important;
  background: var(--pub-surface-hover) !important;
}

.public-theme-toggle {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  font: inherit;
  line-height: inherit;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.public-theme-toggle:hover {
  color: #fff;
}

.public-theme-toggle:focus,
.public-theme-toggle:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

.public-theme-toggle svg {
  width: 1.35rem;
  height: 1.35rem;
}

/* Tailwind utilities — pages publiques en mode clair */
html[data-public-theme="light"] .public-site-body .text-white:not(.btn-prim) {
  color: var(--pub-text-strong) !important;
}

/* Boutons verts : texte blanc conservé */
html[data-public-theme="light"] .public-site-body .btn-prim,
html[data-public-theme="light"] .public-site-body .btn.btn-prim,
html[data-public-theme="light"] .public-site-body a.btn-prim,
html[data-public-theme="light"] .public-site-body a.btn.btn-prim,
html[data-public-theme="light"] .public-site-body button.btn-prim,
html[data-public-theme="light"] .public-site-body button.btn.btn-prim,
html[data-public-theme="light"] .public-site-body #cookieBanner button.bg-emerald-600,
html[data-public-theme="light"] .public-site-body #cookieBanner button {
  color: #ffffff !important;
}

html[data-public-theme="light"] .public-site-body .text-white\/90 { color: rgba(15, 23, 42, 0.92) !important; }
html[data-public-theme="light"] .public-site-body .text-white\/85 { color: rgba(15, 23, 42, 0.88) !important; }
html[data-public-theme="light"] .public-site-body .text-white\/80 { color: rgba(15, 23, 42, 0.82) !important; }
html[data-public-theme="light"] .public-site-body .text-white\/70 { color: rgba(15, 23, 42, 0.75) !important; }
html[data-public-theme="light"] .public-site-body .text-white\/65 { color: rgba(15, 23, 42, 0.72) !important; }
html[data-public-theme="light"] .public-site-body .text-white\/60 { color: var(--pub-text-subtle) !important; }
html[data-public-theme="light"] .public-site-body .text-white\/55 { color: #64748b !important; }
html[data-public-theme="light"] .public-site-body .text-white\/50 { color: var(--pub-text-faint) !important; }
html[data-public-theme="light"] .public-site-body .text-white\/45 { color: #94a3b8 !important; }
html[data-public-theme="light"] .public-site-body .text-white\/35 { color: #cbd5e1 !important; }

html[data-public-theme="light"] .public-site-body .text-emerald-300,
html[data-public-theme="light"] .public-site-body .text-emerald-400 {
  color: var(--pub-accent-link) !important;
}

html[data-public-theme="light"] .public-site-body .text-emerald-300:hover,
html[data-public-theme="light"] .public-site-body .text-emerald-400:hover,
html[data-public-theme="light"] .public-site-body .hover\:text-emerald-200:hover,
html[data-public-theme="light"] .public-site-body .hover\:text-emerald-300:hover {
  color: var(--pub-link-hover) !important;
}

html[data-public-theme="light"] .public-site-body .text-sky-300 {
  color: #0369a1 !important;
}

html[data-public-theme="light"] .public-site-body .hover\:text-sky-200:hover {
  color: #075985 !important;
}

html[data-public-theme="light"] .public-site-body .text-rose-300 {
  color: #be123c !important;
}

html[data-public-theme="light"] .public-site-body .bg-slate-800,
html[data-public-theme="light"] .public-site-body .bg-slate-900 {
  background-color: var(--pub-panel-bg) !important;
}

html[data-public-theme="light"] .public-site-body .bg-slate-950\/90 {
  background-color: rgba(15, 23, 42, 0.55) !important;
}

html[data-public-theme="light"] .public-site-body .border-white\/10,
html[data-public-theme="light"] .public-site-body .border-white\/15,
html[data-public-theme="light"] .public-site-body .border-white\/20 {
  border-color: var(--pub-border) !important;
}

html[data-public-theme="light"] .public-site-body .bg-white\/5,
html[data-public-theme="light"] .public-site-body .bg-white\/\[0\.05\] {
  background-color: rgba(15, 23, 42, 0.04) !important;
}

html[data-public-theme="light"] .public-site-body .bg-white\/10 {
  background-color: rgba(15, 23, 42, 0.06) !important;
}

/* Hero / slider : texte blanc conservé sur photos */
html[data-public-theme="light"] .hero-section .hero-content .text-white,
html[data-public-theme="light"] .hero-section .hero-content .text-white\/90,
html[data-public-theme="light"] .hero-section .hero-live-ticket,
html[data-public-theme="light"] .hero-section a.btn-prim {
  color: #fff !important;
}

html[data-public-theme="light"] .hero-section .hero-live-ticket {
  color: rgba(255, 255, 255, 0.95) !important;
  background: rgba(2, 6, 23, 0.58) !important;
  border-color: rgba(16, 185, 129, 0.55) !important;
  box-shadow: 0 0 18px rgba(16, 185, 129, 0.22) !important;
}

html[data-public-theme="light"] .story-slider .story-slide-copy,
html[data-public-theme="light"] .story-slider .story-slide-copy h3,
html[data-public-theme="light"] .story-slider .story-slide-copy p,
html[data-public-theme="light"] .story-slider .story-slide-copy a,
html[data-public-theme="light"] .story-slider .story-chip,
html[data-public-theme="light"] .story-slider .story-counter,
html[data-public-theme="light"] .story-slider .text-white,
html[data-public-theme="light"] .story-slider .text-white\/90 {
  color: #fff !important;
}

html[data-public-theme="light"] .story-slider .story-slide-copy p {
  color: rgba(255, 255, 255, 0.78) !important;
}

html[data-public-theme="light"] .story-slider .story-slide-copy a {
  color: rgba(110, 231, 183, 0.95) !important;
}

html[data-public-theme="light"] .story-slider .story-arrow {
  color: #fff !important;
  background: rgba(2, 6, 23, 0.62) !important;
  border-color: rgba(255, 255, 255, 0.38) !important;
}

html[data-public-theme="light"] .story-slider .story-arrow:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.18) !important;
  border-color: rgba(255, 255, 255, 0.52) !important;
}

html[data-public-theme="light"] .story-slider .story-arrow svg {
  color: #fff !important;
  stroke: #fff !important;
}

html[data-public-theme="light"] .ccm-hero h1,
html[data-public-theme="light"] .ccm-hero .text-white,
html[data-public-theme="light"] .ccm-hero .text-white\/90 {
  color: #fff !important;
}

/* Landing pricing / signup */
html[data-public-theme="light"] .pricing-card,
html[data-public-theme="light"] .signup-card {
  background: var(--pub-surface) !important;
  border-color: var(--pub-border) !important;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

html[data-public-theme="light"] .pricing-tagline {
  color: var(--pub-text-subtle) !important;
}

html[data-public-theme="light"] .pricing-tagline .projet-rotator {
  color: #047857 !important;
  font-weight: 700;
}

html[data-public-theme="light"] .checkout-panel {
  background: var(--pub-panel-bg) !important;
  border-color: var(--pub-border) !important;
}

html[data-public-theme="light"] .checkout-recap-item {
  background: rgba(15, 23, 42, 0.03) !important;
  border-color: var(--pub-border) !important;
}

html[data-public-theme="light"] .checkout-pack-btn {
  background: var(--pub-surface) !important;
  border-color: var(--pub-border) !important;
  color: var(--pub-text) !important;
}

html[data-public-theme="light"] .checkout-pack-btn.is-selected {
  border-color: rgba(16, 185, 129, 0.55) !important;
  background: rgba(16, 185, 129, 0.08) !important;
}

/* FAQ */
html[data-public-theme="light"] .faq-hero h1.text-white {
  color: var(--pub-text-strong) !important;
}

html[data-public-theme="light"] .faq-item {
  background: var(--pub-surface) !important;
  border-color: var(--pub-border) !important;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

html[data-public-theme="light"] .faq-item:hover {
  border-color: rgba(15, 23, 42, 0.18) !important;
}

html[data-public-theme="light"] .faq-item[open] {
  border-color: rgba(16, 185, 129, 0.45) !important;
  box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.12), 0 12px 32px rgba(15, 23, 42, 0.08) !important;
}

html[data-public-theme="light"] .faq-item summary,
html[data-public-theme="light"] .faq-item summary > span:first-child {
  color: var(--pub-text-strong) !important;
}

html[data-public-theme="light"] .faq-chevron {
  background: rgba(15, 23, 42, 0.06) !important;
  color: var(--pub-text-subtle) !important;
}

html[data-public-theme="light"] .faq-item[open] .faq-chevron {
  background: rgba(16, 185, 129, 0.12) !important;
  color: #047857 !important;
}

html[data-public-theme="light"] .faq-answer {
  color: var(--pub-text-muted) !important;
  border-color: var(--pub-border-subtle) !important;
}

html[data-public-theme="light"] .faq-cta {
  background: var(--pub-surface) !important;
  border-color: var(--pub-border) !important;
}

html[data-public-theme="light"] .faq-cta p {
  color: var(--pub-text-subtle) !important;
}

/* Programme fondateur / Comment ça marche */
html[data-public-theme="light"] .pf-step,
html[data-public-theme="light"] .ccm-step {
  background: var(--pub-surface) !important;
  border-color: var(--pub-border) !important;
}

html[data-public-theme="light"] .pf-section-title,
html[data-public-theme="light"] .pf-step h3,
html[data-public-theme="light"] .ccm-section h2,
html[data-public-theme="light"] .ccm-section-title,
html[data-public-theme="light"] .ccm-step h3 {
  color: var(--pub-text-strong) !important;
}

html[data-public-theme="light"] .pf-lead,
html[data-public-theme="light"] .pf-section-intro,
html[data-public-theme="light"] .pf-step p,
html[data-public-theme="light"] .ccm-prose,
html[data-public-theme="light"] .ccm-prose p,
html[data-public-theme="light"] .ccm-step p,
html[data-public-theme="light"] .ccm-origin-lead,
html[data-public-theme="light"] .ccm-founder p,
html[data-public-theme="light"] .ccm-vision p {
  color: var(--pub-text-muted) !important;
}

html[data-public-theme="light"] .ccm-founder a {
  color: var(--pub-accent-link) !important;
}

html[data-public-theme="light"] .ccm-founder a:hover {
  color: var(--pub-link-hover) !important;
}

html[data-public-theme="light"] .ccm-step-num {
  color: #047857 !important;
  background: rgba(16, 185, 129, 0.12) !important;
  border-color: rgba(16, 185, 129, 0.35) !important;
}

html[data-public-theme="light"] .pf-step-num {
  color: #047857 !important;
  background: rgba(16, 185, 129, 0.12) !important;
  border-color: rgba(16, 185, 129, 0.35) !important;
}

html[data-public-theme="light"] .pf-section-intro strong,
html[data-public-theme="light"] .ccm-prose strong {
  color: var(--pub-text-strong) !important;
}

html[data-public-theme="light"] .pf-highlight,
html[data-public-theme="light"] .ccm-section--vision {
  background: linear-gradient(135deg, #ecfdf5 0%, #f0f9ff 100%) !important;
  border-color: rgba(16, 185, 129, 0.35) !important;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.06) !important;
}

html[data-public-theme="light"] .pf-highlight h2 {
  color: var(--pub-text-strong) !important;
}

html[data-public-theme="light"] .pf-highlight p {
  color: var(--pub-text-muted) !important;
}

html[data-public-theme="light"] .pf-cta {
  background: var(--pub-surface) !important;
  border-color: var(--pub-border) !important;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.06) !important;
}

html[data-public-theme="light"] .pf-cta p {
  color: var(--pub-text-muted) !important;
}

html[data-public-theme="light"] .pf-hero h1.text-white {
  color: var(--pub-text-strong) !important;
}

html[data-public-theme="light"] .ccm-section--dark {
  background: var(--pub-section-dark) !important;
}

html[data-public-theme="light"] .ccm-anecdote {
  background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%) !important;
  border-color: rgba(59, 130, 246, 0.22) !important;
  border-left-color: rgba(37, 99, 235, 0.55) !important;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05) !important;
}

html[data-public-theme="light"] .ccm-anecdote p {
  color: var(--pub-text-muted) !important;
}

html[data-public-theme="light"] .ccm-anecdote strong {
  color: var(--pub-text-strong) !important;
}

html[data-public-theme="light"] .ccm-section--alt {
  background: var(--pub-section-alt) !important;
  border-color: var(--pub-border-subtle) !important;
}

/* Onboarding post-inscription */
html[data-public-theme="light"] .onboarding-bg::after {
  background: linear-gradient(
    180deg,
    rgba(244, 247, 251, 0.82) 0%,
    rgba(241, 245, 249, 0.92) 55%,
    rgba(226, 232, 240, 0.96) 100%
  ) !important;
}

html[data-public-theme="light"] .onboarding-card {
  background: rgba(255, 255, 255, 0.96) !important;
  border-color: var(--pub-border) !important;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.1) !important;
}

html[data-public-theme="light"] .onboarding-title {
  color: var(--pub-text-strong) !important;
}

html[data-public-theme="light"] .onboarding-subtitle,
html[data-public-theme="light"] .onboarding-field label {
  color: var(--pub-text-muted) !important;
}

html[data-public-theme="light"] .onboarding-field .i,
html[data-public-theme="light"] .onboarding-field select.i {
  background: var(--pub-surface) !important;
  border-color: var(--pub-border) !important;
  color: var(--pub-text-strong) !important;
}

html[data-public-theme="light"] .onboarding-skip {
  color: var(--pub-text-faint) !important;
}

html[data-public-theme="light"] .onboarding-skip:hover {
  color: var(--pub-text-muted) !important;
}

/* Footer public (landing, FAQ, blog, etc.) */
.landing-footer {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(2, 6, 23, 0) 0%, rgba(2, 6, 23, 0.55) 100%);
}
.landing-footer-accent {
  height: 2px;
  max-width: 10rem;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.55), transparent);
}
.landing-footer-heading {
  margin: 0 0 0.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}
.landing-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.landing-footer-link {
  font-size: 0.8125rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.58);
  text-decoration: none;
  transition: color 0.2s ease;
}
.landing-footer-link:hover {
  color: rgba(255, 255, 255, 0.92);
}
.landing-footer-link[data-footer-placeholder] {
  cursor: default;
}
.landing-footer-link[data-footer-placeholder]:hover {
  color: rgba(255, 255, 255, 0.58);
}
.landing-footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-align: center;
}
@media (min-width: 640px) {
  .landing-footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
.landing-footer-brand {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
}
.landing-footer-copy {
  margin: 0;
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.32);
}
.landing-footer-top {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .landing-footer-top {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 3rem;
  }
  .landing-footer-nav {
    flex: 1;
    max-width: 36rem;
  }
  .landing-footer-review {
    width: min(100%, 22rem);
    flex-shrink: 0;
  }
}
.landing-footer-review {
  padding: 0;
}
.landing-footer-review-stars {
  display: flex;
  gap: 0.15rem;
  margin-bottom: 0.65rem;
}
.landing-footer-star {
  font-size: 0.95rem;
  line-height: 1;
  color: #fbbf24;
  text-shadow: 0 0 12px rgba(251, 191, 36, 0.35);
}
.landing-footer-review-quote {
  margin: 0 0 1rem;
  padding: 0;
  border: none;
}
.landing-footer-review-quote p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  font-style: italic;
}
.landing-footer-review-author {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.landing-footer-review-avatar {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.35), rgba(59, 130, 246, 0.25));
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.88);
}
.landing-footer-review-name {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

html[data-public-theme="light"] .landing-footer {
  background: var(--pub-footer-bg) !important;
  border-color: var(--pub-border-subtle) !important;
}

html[data-public-theme="light"] .landing-footer-heading {
  color: var(--pub-text-faint) !important;
}

html[data-public-theme="light"] .landing-footer-link {
  color: var(--pub-text-subtle) !important;
}

html[data-public-theme="light"] .landing-footer-link:hover {
  color: var(--pub-text-strong) !important;
}

html[data-public-theme="light"] .landing-footer-review-quote p {
  color: var(--pub-text-muted) !important;
}

html[data-public-theme="light"] .landing-footer-review-name {
  color: var(--pub-text-strong) !important;
}

html[data-public-theme="light"] .landing-footer-brand,
html[data-public-theme="light"] .landing-footer-copy {
  color: var(--pub-text-faint) !important;
}

html[data-public-theme="light"] .landing-footer-bottom {
  border-color: var(--pub-border-subtle) !important;
}

/* Modals */
html[data-public-theme="light"] #loginModal .login-modal-shell,
html[data-public-theme="light"] #publicBilletSearchModal > div.relative {
  background: var(--pub-modal-bg) !important;
  border-color: var(--pub-modal-border) !important;
  box-shadow: 0 25px 50px rgba(15, 23, 42, 0.15);
}

html[data-public-theme="light"] #loginModal .login-modal-header-row,
html[data-public-theme="light"] #loginModal .border-white\/\[0\.08\],
html[data-public-theme="light"] #publicBilletSearchModal .border-white\/\[0\.08\] {
  border-color: var(--pub-border-subtle) !important;
}

html[data-public-theme="light"] #loginModal h1,
html[data-public-theme="light"] #publicBilletSearchHeading,
html[data-public-theme="light"] #faqContactModalTitle {
  color: var(--pub-text-strong) !important;
}

/* Modal contact public (footer, FAQ) */
html[data-public-theme="light"] #faqContactModal {
  background: var(--pub-overlay) !important;
}

html[data-public-theme="light"] #faqContactBackdrop {
  background: var(--pub-overlay) !important;
}

html[data-public-theme="light"] .faq-contact-modal-shell {
  background: var(--pub-modal-bg) !important;
  border-color: var(--pub-modal-border) !important;
  box-shadow: 0 25px 50px rgba(15, 23, 42, 0.15) !important;
}

html[data-public-theme="light"] .faq-contact-modal-header {
  border-color: var(--pub-border-subtle) !important;
}

html[data-public-theme="light"] #faqContactModal .faq-contact-modal-header p {
  color: var(--pub-text-subtle) !important;
}

html[data-public-theme="light"] .faq-contact-field label {
  color: var(--pub-text-muted) !important;
}

html[data-public-theme="light"] .faq-contact-error {
  border-color: rgba(244, 63, 94, 0.35) !important;
  background: rgba(244, 63, 94, 0.08) !important;
  color: #be123c !important;
}

html[data-public-theme="light"] .faq-contact-status-overlay {
  background: rgba(244, 247, 251, 0.92) !important;
}

html[data-public-theme="light"] .faq-contact-status-title {
  color: var(--pub-text-strong) !important;
}

html[data-public-theme="light"] .faq-contact-status-sub {
  color: var(--pub-text-subtle) !important;
}

html[data-public-theme="light"] .faq-contact-check {
  color: #047857 !important;
  background: rgba(16, 185, 129, 0.12) !important;
  border-color: rgba(16, 185, 129, 0.45) !important;
}

html[data-public-theme="light"] #cookieBanner {
  background: var(--pub-panel-bg) !important;
  border-color: var(--pub-border) !important;
}

html[data-public-theme="light"] #cookieBanner p {
  color: var(--pub-text-muted) !important;
}

html[data-public-theme="light"] .public-site-body .text-emerald-200,
html[data-public-theme="light"] .public-site-body .text-emerald-100 {
  color: #047857 !important;
}

html[data-public-theme="light"] .public-site-body .text-rose-400,
html[data-public-theme="light"] .public-site-body .text-rose-100 {
  color: #be123c !important;
}

html[data-public-theme="light"] .public-site-body .text-blue-100 {
  color: #1d4ed8 !important;
}

html[data-public-theme="light"] .public-site-body .text-amber-100 {
  color: #b45309 !important;
}

html[data-public-theme="light"] .public-site-body .text-white\/15 {
  color: rgba(15, 23, 42, 0.12) !important;
}

html[data-public-theme="light"] .public-site-body .bg-black\/25 {
  background-color: rgba(15, 23, 42, 0.06) !important;
}

html[data-public-theme="light"] .public-site-body .bg-white\/\[0\.04\] {
  background-color: rgba(255, 255, 255, 0.92) !important;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

html[data-public-theme="light"] .pricing-signup-wrap > div {
  background: var(--pub-surface) !important;
  border-color: var(--pub-border) !important;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

/* Modals — overlay + checkout */
#loginModal,
#checkoutModal.checkout-modal,
#successModal,
#faqContactModal {
  background: var(--pub-overlay);
}

html[data-public-theme="light"] #checkoutModal .checkout-step-head p,
html[data-public-theme="light"] #checkoutModal .checkout-hint {
  color: var(--pub-text-subtle) !important;
}

html[data-public-theme="light"] #checkoutModal .checkout-step-head--packs h3 {
  color: var(--pub-text-strong) !important;
}

html[data-public-theme="light"] #checkoutModal .checkout-step-head--packs p {
  color: var(--pub-text-muted) !important;
}

html[data-public-theme="light"] #checkoutModal .checkout-pack-btn {
  background: var(--pub-surface) !important;
  border-color: var(--pub-border) !important;
}

html[data-public-theme="light"] #checkoutModal .checkout-pack-btn:hover {
  border-color: rgba(59, 130, 246, 0.35) !important;
  background: var(--pub-surface-hover) !important;
}

html[data-public-theme="light"] #checkoutModal .checkout-pack-btn.is-selected {
  border-color: rgba(59, 130, 246, 0.55) !important;
  background: rgba(59, 130, 246, 0.08) !important;
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.15), 0 8px 24px rgba(59, 130, 246, 0.08) !important;
}

html[data-public-theme="light"] #checkoutModal .checkout-pack-tier {
  color: var(--pub-text-strong) !important;
}

html[data-public-theme="light"] #checkoutModal .checkout-pack-btn.is-selected .checkout-pack-tier {
  color: #1e40af !important;
}

html[data-public-theme="light"] #checkoutModal .checkout-pack-detail {
  color: var(--pub-text-subtle) !important;
}

html[data-public-theme="light"] #checkoutModal .checkout-pack-btn.is-selected .checkout-pack-detail {
  color: #2563eb !important;
}

html[data-public-theme="light"] #loginModal .login-modal-header-row h1,
html[data-public-theme="light"] #loginModal .login-modal-scroll,
html[data-public-theme="light"] #loginModal .login-modal-scroll label {
  color: var(--pub-text-strong);
}

html[data-public-theme="light"] #loginModal #closeLoginModal,
html[data-public-theme="light"] #publicBilletSearchModal #closePublicBilletSearchModal,
html[data-public-theme="light"] #checkoutModal .checkout-modal-header button[aria-label],
html[data-public-theme="light"] #closeFaqContactModal {
  color: #475569 !important;
}

html[data-public-theme="light"] #loginModal #closeLoginModal:hover,
html[data-public-theme="light"] #publicBilletSearchModal #closePublicBilletSearchModal:hover,
html[data-public-theme="light"] #checkoutModal .checkout-modal-header button[aria-label]:hover,
html[data-public-theme="light"] #closeFaqContactModal:hover {
  color: #0f172a !important;
  background: #f1f5f9 !important;
}

html[data-public-theme="light"] #loginModal #closeLoginModal span,
html[data-public-theme="light"] #publicBilletSearchModal #closePublicBilletSearchModal span,
html[data-public-theme="light"] #checkoutModal .checkout-modal-header button[aria-label] {
  color: inherit !important;
}

html[data-public-theme="light"] [id$="Modal"] {
  background: var(--pub-overlay) !important;
}

/* Sécurité : boutons verts + text-white (ex. comment-ca-marche, landing, FAQ) */
html[data-public-theme="light"] .public-site-body .btn-prim.text-white {
  color: #ffffff !important;
}
