/* ============================================================
   wetab-public.css — Design moderne pour les pages publiques
   ============================================================ */

:root {
  --wt-dark:    #111827;
  --wt-darker:  #0a0f1a;
  --wt-gray:    #6b7280;
  --wt-light:   #f9fafb;
  --wt-border:  #e5e7eb;
  --wt-radius:  12px;
  --wt-shadow:  0 1px 3px 0 rgb(0 0 0 / .08), 0 1px 2px -1px rgb(0 0 0 / .06);
  --wt-shadow-md: 0 4px 16px -2px rgb(0 0 0 / .12);
}

/* ── Reset & base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Quicksand', 'Poppins', sans-serif;
  background: var(--wt-light);
  color: var(--wt-dark);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.logo-text {
  font-family: 'Satisfy', cursive;
  font-size: 1.6rem;
  color: #fff;
  text-decoration: none;
  letter-spacing: .5px;
}
.logo-text:hover { color: #e5e7eb; text-decoration: none; }

/* ── Navbar ────────────────────────────────────────────────── */
#wt-navbar {
  background: var(--wt-darker);
  padding: .75rem 1.25rem;
  position: sticky;
  top: 0;
  z-index: 1030;
  border-bottom: 1px solid rgb(255 255 255 / .05);
}

#wt-navbar .navbar-nav .nav-link {
  color: rgb(255 255 255 / .8);
  font-size: .875rem;
  font-weight: 500;
  padding: .4rem .75rem;
  border-radius: 6px;
  transition: background .15s, color .15s;
}
#wt-navbar .navbar-nav .nav-link:hover,
#wt-navbar .navbar-nav .nav-link.active {
  color: #fff;
  background: rgb(255 255 255 / .08);
}

.wt-btn-outline {
  border: 1px solid rgb(255 255 255 / .35);
  color: #fff;
  border-radius: 8px;
  padding: .35rem .9rem;
  font-size: .8rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s, border-color .15s;
  white-space: nowrap;
}
.wt-btn-outline:hover { background: rgb(255 255 255 / .1); color: #fff; border-color: rgb(255 255 255 / .6); }

.wt-btn-solid {
  background: #fff;
  color: var(--wt-dark);
  border-radius: 8px;
  padding: .35rem .9rem;
  font-size: .8rem;
  font-weight: 700;
  text-decoration: none;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.wt-btn-solid:hover { background: #e5e7eb; color: var(--wt-dark); }

/* ── Hero section ──────────────────────────────────────────── */
.wt-hero {
  background: linear-gradient(135deg, var(--wt-darker) 0%, #1f2937 100%);
  color: #fff;
  padding: 3.5rem 1.5rem 3rem;
  text-align: center;
}
.wt-hero h1 {
  font-family: 'Satisfy', cursive;
  font-size: clamp(2rem, 6vw, 3.5rem);
  margin-bottom: .5rem;
}
.wt-hero p {
  color: rgb(255 255 255 / .7);
  font-size: 1rem;
  max-width: 520px;
  margin: 0 auto;
}

/* ── Page content ──────────────────────────────────────────── */
main { flex: 1; }

.wt-section {
  padding: 2.5rem 0;
}

.wt-page-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--wt-dark);
  margin-bottom: 1.5rem;
}

/* ── Cards actualités ──────────────────────────────────────── */
.wt-card {
  background: #fff;
  border: 1px solid var(--wt-border);
  border-radius: var(--wt-radius);
  overflow: hidden;
  box-shadow: var(--wt-shadow);
  transition: box-shadow .2s, transform .2s;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.wt-card:hover {
  box-shadow: var(--wt-shadow-md);
  transform: translateY(-2px);
}

.wt-card-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #e5e7eb;
}
.wt-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.wt-card:hover .wt-card-img-wrap img { transform: scale(1.04); }

.wt-card-body {
  padding: 1rem 1.1rem 1.2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.wt-card-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--wt-dark);
  line-height: 1.35;
  margin: 0;
}
.wt-card-meta {
  font-size: .78rem;
  color: var(--wt-gray);
  display: flex;
  align-items: center;
  gap: .4rem;
}
.wt-card-desc {
  font-size: .85rem;
  color: #374151;
  flex: 1;
}
.wt-card-location {
  font-size: .8rem;
  color: var(--wt-gray);
}

/* ── Cards concerts ────────────────────────────────────────── */
.wt-concert-card {
  background: #fff;
  border: 1px solid var(--wt-border);
  border-radius: var(--wt-radius);
  overflow: hidden;
  box-shadow: var(--wt-shadow);
  transition: box-shadow .2s, transform .2s;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.wt-concert-card:hover {
  box-shadow: var(--wt-shadow-md);
  transform: translateY(-2px);
}

.wt-concert-img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  background: #e5e7eb;
}
.wt-concert-img-placeholder {
  width: 100%;
  aspect-ratio: 3/2;
  background: linear-gradient(135deg, #1f2937, #374151);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgb(255 255 255 / .3);
  font-size: 2.5rem;
}

.wt-concert-body {
  padding: 1rem 1.1rem 1.2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.wt-concert-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--wt-dark);
  margin: 0;
}
.wt-concert-place {
  font-size: .85rem;
  color: var(--wt-gray);
}
.wt-concert-date {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--wt-dark);
  color: #fff;
  font-size: .75rem;
  font-weight: 600;
  padding: .3rem .7rem;
  border-radius: 6px;
  margin-top: auto;
  width: fit-content;
}

/* ── Contact form ──────────────────────────────────────────── */
.wt-contact-wrap {
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--wt-border);
  border-radius: var(--wt-radius);
  padding: 2rem;
  box-shadow: var(--wt-shadow);
}

.wt-form-label {
  font-size: .875rem;
  font-weight: 600;
  color: var(--wt-dark);
  margin-bottom: .35rem;
  display: block;
}
.wt-form-control {
  width: 100%;
  border: 1px solid var(--wt-border);
  border-radius: 8px;
  padding: .6rem .9rem;
  font-size: .9rem;
  font-family: inherit;
  color: var(--wt-dark);
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
  outline: none;
}
.wt-form-control:focus {
  border-color: var(--wt-dark);
  box-shadow: 0 0 0 3px rgb(17 24 39 / .08);
}

/* Override Bootstrap form controls dans le bloc contact */
.wt-contact-wrap .form-control,
.wt-contact-wrap select.form-control,
.wt-contact-wrap textarea.form-control {
  border: 1px solid var(--wt-border);
  border-radius: 8px;
  padding: .6rem .9rem;
  font-size: .9rem;
  font-family: inherit;
}
.wt-contact-wrap .form-control:focus {
  border-color: var(--wt-dark);
  box-shadow: 0 0 0 3px rgb(17 24 39 / .08);
}
.wt-contact-wrap .form-label {
  font-size: .875rem;
  font-weight: 600;
}
.wt-contact-wrap .btn-dark {
  background: var(--wt-dark);
  border: none;
  border-radius: 8px;
  padding: .65rem 1.75rem;
  font-weight: 700;
  font-size: .9rem;
  transition: background .15s;
}
.wt-contact-wrap .btn-dark:hover { background: #1f2937; }

/* ── Alert info ────────────────────────────────────────────── */
.wt-notice {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: var(--wt-radius);
  padding: .9rem 1.2rem;
  font-size: .875rem;
  color: #1e40af;
  margin-bottom: 1.5rem;
}
.wt-notice a { color: #1d4ed8; font-weight: 600; }
.wt-notice a:hover { color: #1e40af; }

/* ── Boutons actions (modifier/supprimer actu) ─────────────── */
.wt-card-actions {
  display: flex;
  justify-content: flex-end;
  gap: .5rem;
  margin-top: .5rem;
  padding-top: .5rem;
  border-top: 1px solid var(--wt-border);
}
.wt-action-btn {
  border: none;
  border-radius: 7px;
  padding: .35rem .7rem;
  font-size: .8rem;
  cursor: pointer;
  font-weight: 600;
  transition: opacity .15s;
}
.wt-action-btn:hover { opacity: .8; }
.wt-action-btn.danger { background: #fee2e2; color: #dc2626; }
.wt-action-btn.success { background: #d1fae5; color: #059669; }

/* ── Banner "poster une actualité" ────────────────────────── */
.wt-post-banner {
  background: #fff;
  border: 1px solid var(--wt-border);
  border-radius: var(--wt-radius);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
  box-shadow: var(--wt-shadow);
}
.wt-post-banner p { margin: 0; font-size: .9rem; color: var(--wt-dark); }
.wt-post-banner .btn-dark {
  background: var(--wt-dark);
  border: none;
  border-radius: 8px;
  padding: .45rem 1.1rem;
  font-size: .85rem;
  font-weight: 700;
  transition: background .15s;
}
.wt-post-banner .btn-dark:hover { background: #1f2937; }

/* ── Empty state ───────────────────────────────────────────── */
.wt-empty {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--wt-gray);
}
.wt-empty i { font-size: 2.5rem; margin-bottom: 1rem; opacity: .4; }
.wt-empty p { font-size: .95rem; }

/* ── Footer ────────────────────────────────────────────────── */
#wt-footer {
  background: var(--wt-darker);
  color: rgb(255 255 255 / .6);
  padding: 2rem 1.5rem;
  margin-top: auto;
  font-size: .85rem;
}
#wt-footer .logo-text { font-size: 1.3rem; }
#wt-footer a {
  color: rgb(255 255 255 / .5);
  text-decoration: none;
  transition: color .15s;
}
#wt-footer a:hover { color: #fff; }
.wt-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.wt-footer-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* ── Hero étendu ───────────────────────────────────────────── */
.wt-hero-tagline {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: rgb(255 255 255 / .65);
  max-width: 580px;
  margin: .6rem auto 0;
  line-height: 1.6;
}
.wt-hero-cta {
  display: flex;
  justify-content: center;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.wt-btn-hero-primary {
  background: #fff;
  color: var(--wt-dark);
  border-radius: 10px;
  padding: .7rem 1.6rem;
  font-size: .95rem;
  font-weight: 700;
  text-decoration: none;
  transition: background .15s, transform .15s;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.wt-btn-hero-primary:hover { background: #e5e7eb; color: var(--wt-dark); transform: translateY(-1px); }
.wt-btn-hero-secondary {
  border: 1.5px solid rgb(255 255 255 / .4);
  color: #fff;
  border-radius: 10px;
  padding: .7rem 1.6rem;
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s, border-color .15s, transform .15s;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.wt-btn-hero-secondary:hover { background: rgb(255 255 255 / .1); border-color: rgb(255 255 255 / .7); color: #fff; transform: translateY(-1px); }

/* ── Feature cards ─────────────────────────────────────────── */
.wt-features {
  background: #fff;
  border-bottom: 1px solid var(--wt-border);
  padding: 3rem 0;
}
.wt-feature-card {
  border: 1px solid var(--wt-border);
  border-radius: var(--wt-radius);
  padding: 1.75rem 1.5rem;
  height: 100%;
  transition: box-shadow .2s, transform .2s;
  background: var(--wt-light);
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.wt-feature-card:hover {
  box-shadow: var(--wt-shadow-md);
  transform: translateY(-3px);
}
.wt-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--wt-dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.wt-feature-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--wt-dark);
  margin: 0;
}
.wt-feature-desc {
  font-size: .875rem;
  color: var(--wt-gray);
  line-height: 1.6;
  margin: 0;
}

/* ── Actu cards sans image / avec image optionnelle ────────── */
.wt-actu-card {
  background: #fff;
  border: 1px solid var(--wt-border);
  border-radius: var(--wt-radius);
  overflow: hidden;
  box-shadow: var(--wt-shadow);
  transition: box-shadow .2s, transform .2s;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.wt-actu-card:hover {
  box-shadow: var(--wt-shadow-md);
  transform: translateY(-2px);
}
.wt-actu-body {
  padding: 1.1rem 1.2rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.wt-actu-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--wt-dark);
  line-height: 1.4;
  margin: 0;
}
.wt-actu-meta {
  font-size: .78rem;
  color: var(--wt-gray);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.wt-actu-desc {
  font-size: .85rem;
  color: #374151;
  flex: 1;
  line-height: 1.55;
}
.wt-actu-location {
  font-size: .8rem;
  color: var(--wt-gray);
}

/* ── Actu — image wrapper + badge "Passé" ───────────────────── */
.wt-actu-img-wrap {
  position: relative;
  overflow: hidden;
}
.wt-actu-img {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform .3s ease;
}
.wt-actu-card:hover .wt-actu-img {
  transform: scale(1.04);
}
.wt-actu-img-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d1d5db;
  font-size: 2rem;
}
.wt-actu-badge-past {
  position: absolute;
  top: .6rem;
  left: .6rem;
  background: rgba(17,24,39,.65);
  color: #fff;
  font-size: .7rem;
  font-weight: 600;
  padding: .2rem .55rem;
  border-radius: 999px;
  backdrop-filter: blur(4px);
  letter-spacing: .03em;
}

/* ── Actu — événements passés ───────────────────────────────── */
.wt-actu-past {
  opacity: .72;
}
.wt-actu-past .wt-actu-title {
  color: #6b7280;
}

/* ── Actu — auteur ──────────────────────────────────────────── */
.wt-actu-author {
  font-size: .73rem;
  color: #9ca3af;
  display: flex;
  align-items: center;
  gap: .35rem;
  margin: 0;
  padding-top: .5rem;
  border-top: 1px solid var(--wt-border);
  margin-top: .25rem;
}

/* ── Section header ────────────────────────────────────────── */
.wt-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: .75rem;
}
.wt-section-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--wt-dark);
  margin: 0;
}

/* ── Pricing ───────────────────────────────────────────────── */
.wt-pricing-section {
  padding: 3.5rem 0 2.5rem;
  background: var(--wt-light);
}

.wt-plan-card {
  background: #fff;
  border: 1.5px solid var(--wt-border);
  border-radius: 16px;
  padding: 2rem 1.75rem 1.75rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  box-shadow: var(--wt-shadow);
  transition: box-shadow .2s, transform .2s;
}
.wt-plan-card:hover {
  box-shadow: var(--wt-shadow-md);
  transform: translateY(-3px);
}
.wt-plan-card.featured {
  border-color: var(--wt-dark);
  box-shadow: 0 4px 24px -4px rgb(17 24 39 / .18);
}
.wt-plan-card.featured:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px -4px rgb(17 24 39 / .22);
}

.wt-plan-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--wt-dark);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .9rem;
  border-radius: 20px;
  white-space: nowrap;
}

.wt-plan-header { display: flex; flex-direction: column; gap: .4rem; }

.wt-plan-badge {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--wt-gray);
}
.featured .wt-plan-badge { color: var(--wt-dark); }

.wt-plan-price {
  display: flex;
  align-items: baseline;
  gap: .3rem;
}
.wt-plan-amount {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--wt-dark);
  line-height: 1;
}
.wt-plan-period {
  font-size: .85rem;
  color: var(--wt-gray);
  font-weight: 500;
}

.wt-plan-tagline {
  font-size: .85rem;
  color: var(--wt-gray);
  margin: 0;
}

.wt-plan-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  flex: 1;
  border-top: 1px solid var(--wt-border);
  padding-top: 1.1rem;
}
.wt-plan-features li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .875rem;
  color: var(--wt-dark);
}
.wt-plan-features li i.fa-check {
  color: #059669;
  font-size: .8rem;
  flex-shrink: 0;
  width: 14px;
}
.wt-plan-feature-off {
  color: var(--wt-gray) !important;
}
.wt-plan-feature-off i.fa-xmark {
  color: #d1d5db;
  font-size: .8rem;
  flex-shrink: 0;
  width: 14px;
}

.wt-plan-cta { margin-top: auto; padding-top: .25rem; }

.wt-plan-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: .7rem 1.25rem;
  border-radius: 10px;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
  transition: background .15s, color .15s, border-color .15s, transform .12s;
  text-align: center;
}
.wt-plan-btn:hover { transform: translateY(-1px); }

.wt-plan-btn-solid {
  background: var(--wt-dark);
  color: #fff;
  border: 1.5px solid var(--wt-dark);
}
.wt-plan-btn-solid:hover { background: #1f2937; color: #fff; }

.wt-plan-btn-outline {
  background: transparent;
  color: var(--wt-dark);
  border: 1.5px solid var(--wt-border);
}
.wt-plan-btn-outline:hover { border-color: var(--wt-dark); background: #f9fafb; color: var(--wt-dark); }

.wt-plan-current {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: .7rem;
  border-radius: 10px;
  font-size: .875rem;
  font-weight: 700;
  color: #059669;
  background: #ecfdf5;
  border: 1.5px solid #a7f3d0;
}

.wt-pricing-note {
  text-align: center;
  margin-top: 2.25rem;
  font-size: .8rem;
  color: var(--wt-gray);
}

/* ── FAQ ───────────────────────────────────────────────────── */
.wt-faq-item {
  border: 1px solid var(--wt-border);
  border-radius: var(--wt-radius);
  padding: 1.1rem 1.25rem;
  background: var(--wt-light);
}
.wt-faq-q {
  font-weight: 700;
  font-size: .9rem;
  color: var(--wt-dark);
  margin: 0 0 .4rem;
}
.wt-faq-a {
  font-size: .85rem;
  color: var(--wt-gray);
  margin: 0;
  line-height: 1.6;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 576px) {
  .wt-hero { padding: 2.5rem 1rem 2rem; }
  .wt-section { padding: 1.75rem 0; }
  .wt-contact-wrap { padding: 1.25rem; }
  .wt-post-banner { flex-direction: column; align-items: flex-start; }
  .wt-pricing-section { padding: 2rem 0 1.5rem; }
  .wt-plan-card { padding: 1.5rem 1.25rem; }
}

/* ── Toggle mensuel / annuel ─────────────────────────────────────────────── */
.wt-billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  margin: 0 auto 2.5rem;
}
.wt-billing-btn {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .6rem 1.6rem;
  border-radius: 50px;
  border: 2px solid var(--wt-dark);
  background: transparent;
  font-size: .9rem;
  font-weight: 700;
  color: var(--wt-dark);
  cursor: pointer;
  transition: background .15s, color .15s;
}
.wt-billing-btn.active {
  background: var(--wt-dark);
  color: #fff;
}
.wt-billing-btn:not(.active):hover {
  background: #f3f4f6;
}
.wt-billing-badge {
  background: #059669;
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  padding: .15rem .55rem;
  border-radius: 20px;
  letter-spacing: .03em;
  white-space: nowrap;
}
.wt-billing-btn.active .wt-billing-badge {
  background: #fff;
  color: #059669;
}
.wt-plan-annual-note {
  font-size: .78rem;
  color: #059669;
  font-weight: 500;
  margin: 0;
}
