/* ══════════════════════════════════════════════════════════════
   Klarrro — site-legacy.css · contenu HÉRITÉ des pages du site vitrine
   Extrait de l'index.css d'avant la refonte des landings : ne garde que les
   sélecteurs employés par les pages qui chargeaient index.css (a-propos, agenda,
   blog, partenaires, partenaire, partenaire-delirium,
   soiree-celibataire-toulouse-delirium, gabarits SEO).
   L'habillage (nav, menu, pied de page, logo) est dans site-shell.css.
   Fichier temporaire : à supprimer quand le contenu de ces pages sera refondu.
   Le bloc du bandeau de consentement (en fin de fichier) est repris d'index.css.
   ══════════════════════════════════════════════════════════════ */
.container{width:100%;max-width:560px;margin:0 auto;padding:0 1.35rem}
.section{position:relative;padding:4.2rem 0;background:var(--bg)}
.section.alt{background:#08080C}
.section + .section{border-top:1px solid rgba(255,255,255,.04)}
.hero-countdown{display:flex;flex-direction:column;align-items:center;gap:.5rem;margin:0 auto 1.6rem;padding:1rem 1.2rem;border-radius:16px;background:rgba(224,82,122,.07);border:1px solid rgba(224,82,122,.2);max-width:320px}
.hero-countdown--hidden{display:none}
.upcoming-grid{display:flex;flex-direction:column;gap:1rem}
.upcoming-card{position:relative;text-align:left;padding:1.3rem;border-radius:18px;background:var(--surface);border:1px solid var(--border);display:flex;flex-direction:column;gap:.85rem}
.upcoming-card--hot{border-color:rgba(224,82,122,.4);box-shadow:0 0 0 1px rgba(224,82,122,.12)}
.uc-orga{display:flex;align-items:center;gap:.45rem;font-size:.72rem;color:var(--muted2)}
.uc-orga-logo{width:20px;height:20px;border-radius:6px;object-fit:cover}
.uc-top{display:flex;align-items:flex-start;gap:.9rem}
.uc-date{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;width:54px;height:54px;border-radius:13px;background:linear-gradient(135deg,var(--accent),var(--accent-dark));color:#fff}
.uc-date-day{font-family:'Playfair Display',serif;font-weight:900;font-size:1.35rem;line-height:1}
.uc-date-month{font-size:.62rem;font-weight:700;text-transform:uppercase;letter-spacing:.5px;opacity:.9}
.uc-name{font-family:'Playfair Display',serif;font-weight:800;font-size:1.1rem;margin-bottom:.2rem}
.uc-venue{font-size:.82rem;color:var(--text2)}
.uc-pride{margin-left:auto;font-size:1.1rem}
.uc-tags{display:flex;flex-wrap:wrap;gap:.4rem}
.uc-tag{font-size:.72rem;font-weight:600;color:var(--text2);background:rgba(255,255,255,.05);border:1px solid var(--border);border-radius:99px;padding:.25rem .65rem}
.uc-tag--hot{color:var(--accent-light);background:rgba(224,82,122,.12);border-color:rgba(224,82,122,.3)}
.uc-bottom{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem}
.uc-spots-wrap{flex:1;min-width:0}
.uc-spots{font-size:.78rem;font-weight:600;margin-bottom:.4rem}
.uc-spots--few{color:var(--accent-light)}
.uc-spots--ok{color:var(--green)}
.uc-bar{height:6px;border-radius:99px;background:rgba(255,255,255,.08);overflow:hidden}
.uc-bar-fill{height:100%;border-radius:99px}
.uc-bar-fill--hot{background:linear-gradient(90deg,var(--accent),var(--accent-dark))}
.uc-bar-fill--ok{background:linear-gradient(90deg,var(--green),#22a879)}
.uc-cta{flex:0 0 auto;display:inline-flex;align-items:center;min-height:40px;padding:.5rem 1.2rem;border-radius:99px;font-weight:700;font-size:.85rem;color:#fff;background:linear-gradient(135deg,var(--accent),var(--accent-dark))}
.upcoming-empty{text-align:center;padding:2.5rem 1rem;border:1px dashed var(--border2);border-radius:18px}
.sp-number{display:block;font-family:'Playfair Display',serif;font-weight:900;font-size:2.1rem;line-height:1;background:linear-gradient(135deg,var(--accent-light),var(--gold));-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;margin-bottom:.4rem}
.sp-label{font-size:.76rem;line-height:1.35;color:var(--text2)}
.testi-marquee{position:relative;overflow:hidden;width:100%;-webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent)}
.testi-track{display:flex;gap:1.5rem;width:max-content;animation:testiScroll 40s linear infinite}
.testi-track--static{justify-content:center;width:100%;flex-wrap:wrap;animation:none}
.testi-marquee:hover .testi-track{animation-play-state:paused}
.testi-card{flex:0 0 280px;width:280px;text-align:left;padding:1.3rem;border-radius:16px;background:var(--surface);border:1px solid var(--border)}
.testi-stars{color:var(--gold);font-size:.85rem;letter-spacing:2px;margin-bottom:.6rem}
.testi-quote{font-size:.9rem;line-height:1.5;color:var(--text);margin-bottom:1rem}
.testi-author{display:flex;align-items:center;gap:.65rem}
.testi-avatar{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;font-weight:700;color:#fff;background:linear-gradient(135deg,var(--accent),var(--accent-dark))}
.testi-name{font-size:.85rem;font-weight:700}
.testi-role{font-size:.74rem;color:var(--muted2)}
.testi-empty{text-align:center;padding:2rem;color:var(--muted2)}
.testi-empty-icon{font-size:1.6rem;margin-bottom:.5rem}
.testi-empty-text{font-size:.9rem}
.viral-btn{margin-top:.2rem}
.viral-msg,.nl-msg{font-size:.85rem;font-weight:600;padding:.3rem 0;text-align:center}
.viral-msg.success,.nl-msg.success{color:var(--green)}
.viral-msg.error,.nl-msg.error{color:var(--accent-light)}
.newsletter{background:#08080C}
.nl-btn{min-height:50px;padding:.85rem 1.5rem;border:none;border-radius:13px;font-family:'DM Sans',sans-serif;font-weight:700;font-size:.95rem;color:#fff;background:linear-gradient(135deg,var(--accent),var(--accent-dark));box-shadow:0 8px 22px -10px rgba(224,82,122,.7);cursor:pointer;white-space:nowrap}
.nl-btn:disabled{opacity:.6;cursor:default}
.nl-msg{flex-basis:100%}
.fomo-ticker{position:fixed;left:1rem;bottom:calc(4.6rem + env(safe-area-inset-bottom));z-index:8500;max-width:min(88vw,320px);padding:.7rem 1rem;border-radius:14px;font-size:.82rem;font-weight:600;color:var(--text);background:rgba(21,21,42,.94);border:1px solid var(--border2);box-shadow:0 12px 30px -12px rgba(0,0,0,.7);backdrop-filter:blur(10px);transform:translateY(0);opacity:1;transition:transform .35s cubic-bezier(.4,0,.2,1),opacity .35s}
.fomo-ticker.out{transform:translateY(12px);opacity:0}
@media (min-width:768px){
  .container{max-width:1200px;padding:0 2.2rem}
  .section{padding:4.8rem 0}
  .hero{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);align-items:center;justify-items:start;text-align:left;column-gap:clamp(2.5rem,5vw,5rem);row-gap:0;padding:9rem 2.2rem 3.6rem;max-width:1200px;margin:0 auto}
  .hero > *:not(.hero-spot){width:auto}
  .hero > h1{grid-column:1;grid-row:2;font-size:clamp(3.4rem,4.4vw,5.1rem);margin:0 0 1.4rem;max-width:15ch}
  .hero > .hero-countdown{grid-column:1;grid-row:4;margin:0 0 1.6rem}
  .upcoming-grid{flex-direction:row;flex-wrap:wrap}
  .upcoming-card{flex:1 1 300px}
  .sp-number{font-size:2.5rem}
}
@media (prefers-reduced-motion:reduce){
  .testi-track,.fomo-ticker{animation:none!important}
  .fomo-ticker{transition:none!important}
}
#hero{padding-top:7.25rem}
@media(min-width:768px){
  #hero{padding-top:9rem}
}
@media(max-width:1023px){
  #kb-widget{bottom:calc(80px + env(safe-area-inset-bottom))!important}
  .fomo-ticker{bottom:calc(6.2rem + env(safe-area-inset-bottom))}
}
@media(hover:hover) and (min-width:768px){
  .upcoming-card{transition:transform .25s cubic-bezier(.2,.7,.2,1),border-color .25s}
  .upcoming-card:hover{transform:translateY(-4px);border-color:var(--border3)}
}
/* Bandeau de consentement : repris tel quel de index.css (refonte, jetons Nuit/Jour)
   à la place de l'extrait hérité, dont le texte du pied (#5A5474) restait sous 3:1. */
/* ===== Bandeau de consentement (consent.js) ===== */
.consent-banner {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  background: transparent;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
/* Non bloquant : seule la carte reçoit les clics, la page reste utilisable derrière */
.consent-banner.consent-visible { opacity: 1; pointer-events: none; }
.consent-banner .consent-card { pointer-events: auto; }
.consent-banner.consent-closing { opacity: 0; pointer-events: none; }

.consent-card {
  width: 100%;
  max-width: 520px;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: transform .3s ease;
}
.consent-visible .consent-card { transform: translateY(0); }
.consent-closing .consent-card { transform: translateY(20px); }

.consent-header {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 8px;
}
.consent-header span { display: none; } /* pictogramme emoji de consent.js : hors direction */

.consent-text {
  font-size: .9rem;
  color: var(--text2);
  line-height: 1.55;
  margin-bottom: 16px;
}

.consent-details { margin-bottom: 14px; }
.consent-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  background: var(--surface2);
  border: 1px solid var(--border);
  margin-bottom: 8px;
  cursor: pointer;
  transition: background .15s;
}
@media (hover:hover) and (pointer:fine) { .consent-option:hover { background: color-mix(in srgb, var(--text) 6%, var(--surface2)); } }
.consent-option input[type="checkbox"] {
  accent-color: var(--rose-fill);
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}
.consent-option div { display: flex; flex-direction: column; gap: 2px; }
.consent-option strong { font-size: .88rem; color: var(--text); }
.consent-option span { font-size: .875rem; color: var(--muted); }

.consent-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.consent-save { margin-bottom: 8px; }

.consent-btn {
  flex: 1;
  min-width: 120px;
  min-height: 48px;
  padding: 10px 16px;
  border-radius: var(--r-md);
  border: none;
  font-family: 'DM Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji';
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
}
@media (hover:hover) and (pointer:fine) { .consent-btn:hover { transform: translateY(-1px); } }
.consent-btn:active { transform: scale(.97); }

.consent-btn-accept {
  background: var(--rose-fill);
  color: var(--on-rose);
  box-shadow: var(--shadow-cta);
}

/* Même poids visuel que « Tout accepter » : refuser est aussi simple qu'accepter */
.consent-btn-necessary {
  background: var(--rose-fill);
  color: var(--on-rose);
  box-shadow: var(--shadow-cta);
}

.consent-btn-customize {
  background: transparent;
  color: var(--text2);
  border: 1px solid var(--border2);
}
@media (hover:hover) and (pointer:fine) { .consent-btn-customize:hover { background: color-mix(in srgb, var(--text) 4%, transparent); } }

.consent-footer {
  text-align: center;
  font-size: .875rem;
  color: var(--muted);
  padding-top: 8px;
  border-top: 1px solid var(--border);
}
.consent-footer a {
  color: var(--text2);
  text-decoration: underline;
  text-underline-offset: 2px;
}
@media (hover:hover) and (pointer:fine) { .consent-footer a:hover { color: var(--rose-ink); } }

@media (max-width: 480px) {
  .consent-card { padding: 18px; }
  .consent-actions { flex-direction: column; }
  .consent-btn { min-width: 100%; }
}
@keyframes testiScroll{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}
