/* Fuxxy - new.fuxxy.fr - classic PHP rebuild
   Colors/tokens taken from the original site's design system */
:root {
  --background: #ffffff;
  --foreground: hsl(222, 84%, 5%);
  --muted: hsl(210, 40%, 96%);
  --muted-foreground: hsl(215, 16%, 47%);
  --border: hsl(214, 32%, 91%);
  --primary: hsl(335, 81%, 52%);
  --primary-dark: hsl(335, 81%, 42%);
  --primary-foreground: #fafafa;
  --secondary: hsl(210, 40%, 96%);
  --secondary-foreground: hsl(222, 47%, 11%);
  --purple: hsl(270, 95%, 75%);
  --radius: 0.75rem;
  --shadow-soft: 0 2px 8px rgba(0,0,0,.08);
  --shadow-glow: 0 4px 20px hsl(335 81% 52% / .25);
  --gradient-primary: linear-gradient(135deg, hsl(335, 81%, 52%), hsl(330, 81%, 75%));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--foreground);
  background: var(--background);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
}
.main-nav {
  display: flex;
  gap: 1.75rem;
  align-items: center;
}
.main-nav a {
  font-size: .95rem;
  font-weight: 500;
  color: var(--foreground);
  opacity: .8;
  transition: opacity .15s, color .15s;
}
.main-nav a:hover, .main-nav a.active { opacity: 1; color: var(--primary); }
.nav-actions { display: flex; gap: .75rem; align-items: center; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--foreground);
}

@media (max-width: 860px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem 1.5rem;
    gap: 1rem;
    box-shadow: var(--shadow-soft);
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border-radius: calc(var(--radius) - 0.25rem);
  font-size: .9rem;
  font-weight: 600;
  padding: .7rem 1.4rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient-primary);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 24px hsl(335 81% 52% / .35); }
.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--foreground);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-lg { padding: .9rem 2rem; font-size: 1rem; }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  padding: 4.5rem 0 3.5rem;
  text-align: center;
}
.hero-title {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
}
.hero-title .accent {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@media (min-width: 768px) { .hero-title { font-size: 3.25rem; } }
.hero-subtitle {
  font-size: 1.15rem;
  color: var(--muted-foreground);
  max-width: 640px;
  margin: 0 auto 2rem;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-image {
  margin-top: 3rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Sections ---------- */
.section { padding: 4rem 0; }
.section-alt { background: var(--muted); }
.section-title {
  font-size: 1.9rem;
  font-weight: 800;
  text-align: center;
  margin: 0 0 .75rem;
  letter-spacing: -0.01em;
}
.section-subtitle {
  text-align: center;
  color: var(--muted-foreground);
  max-width: 620px;
  margin: 0 auto 2.5rem;
}

.grid { display: grid; gap: 1.75rem; }
.grid-2 { grid-template-columns: repeat(1, 1fr); }
.grid-3 { grid-template-columns: repeat(1, 1fr); }
.grid-4 { grid-template-columns: repeat(1, 1fr); }
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gradient-primary);
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.card h3 { margin: 0 0 .5rem; font-size: 1.1rem; }
.card p { margin: 0; color: var(--muted-foreground); font-size: .95rem; }

/* Club card */
.club-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.club-card img { height: 180px; object-fit: cover; width: 100%; }
.club-card .club-body { padding: 1.5rem; }
.club-card h3 { margin: 0 0 .25rem; }
.club-meta { font-size: .85rem; color: var(--muted-foreground); margin-bottom: .75rem; }
.badge {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  padding: .2rem .6rem;
  border-radius: 999px;
  background: hsl(335 81% 52% / .1);
  color: var(--primary);
}

/* Partner / logo card */
.partner-card { text-align: center; }
.partner-card img { max-height: 60px; width: auto; margin: 0 auto 1rem; object-fit: contain; }

/* ---------- Forms ---------- */
.form-card {
  max-width: 440px;
  margin: 2.5rem auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.25rem;
  box-shadow: var(--shadow-soft);
}
.form-card h1 { font-size: 1.5rem; margin: 0 0 .35rem; text-align: center; }
.form-card .form-subtitle { text-align: center; color: var(--muted-foreground); font-size: .9rem; margin-bottom: 1.75rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .4rem; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: .65rem .8rem;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) - 0.35rem);
  font-size: .95rem;
  font-family: inherit;
  background: #fff;
  color: var(--foreground);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px hsl(335 81% 52% / .15);
}
.field-row { display: flex; gap: 1rem; }
.field-row .field { flex: 1; }
.field-check { display: flex; align-items: flex-start; gap: .5rem; font-size: .85rem; color: var(--muted-foreground); }
.field-check input { width: auto; margin-top: .2rem; }
.form-footer-note { text-align: center; font-size: .9rem; margin-top: 1.5rem; color: var(--muted-foreground); }
.form-footer-note a { color: var(--primary); font-weight: 600; }
.form-divider { text-align: center; color: var(--muted-foreground); font-size: .8rem; margin: 1.25rem 0; position: relative; }
.form-divider::before, .form-divider::after {
  content: ''; position: absolute; top: 50%; width: 40%; height: 1px; background: var(--border);
}
.form-divider::before { left: 0; }
.form-divider::after { right: 0; }
.alert {
  padding: .85rem 1rem;
  border-radius: calc(var(--radius) - 0.35rem);
  font-size: .9rem;
  margin-bottom: 1.25rem;
}
.alert-info { background: hsl(210 40% 96%); color: hsl(222 47% 25%); }
.alert-error { background: hsl(0 84% 96%); color: hsl(0 70% 40%); }
.alert-success { background: hsl(140 60% 95%); color: hsl(140 60% 28%); }

/* ---------- Content / legal pages ---------- */
.page-header {
  padding: 3rem 0 2rem;
  text-align: center;
  background: var(--muted);
}
.page-header h1 { font-size: 2.1rem; margin: 0 0 .5rem; }
.page-header p { color: var(--muted-foreground); max-width: 600px; margin: 0 auto; }

.prose { max-width: 800px; margin: 0 auto; padding: 3rem 0; }
.prose h2 { font-size: 1.4rem; margin: 2rem 0 .75rem; }
.prose h3 { font-size: 1.15rem; margin: 1.5rem 0 .5rem; }
.prose p { margin: 0 0 1rem; color: hsl(222 20% 25%); }
.prose ul { margin: 0 0 1rem 1.25rem; color: hsl(222 20% 25%); }
.prose li { margin-bottom: .4rem; }

/* FAQ accordion (no JS required - <details>) */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: .75rem;
  overflow: hidden;
}
.faq-item summary {
  padding: 1.1rem 1.4rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.3rem; color: var(--primary); }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item .faq-answer { padding: 0 1.4rem 1.1rem; color: var(--muted-foreground); }

/* Testimonial card */
.testimonial-card { position: relative; }
.testimonial-card .quote { font-size: 1.5rem; color: var(--primary); opacity: .3; line-height: 1; }
.testimonial-author { display: flex; align-items: center; gap: .75rem; margin-top: 1rem; }
.avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--gradient-primary); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}

/* Filters bar (clubs/blog) */
.filters-bar {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  align-items: center;
}
.filters-bar input, .filters-bar select {
  padding: .6rem .9rem;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) - 0.35rem);
  font-size: .9rem;
}
.filters-bar input[type="text"] { flex: 1; min-width: 220px; }

/* Blog card */
.blog-card { padding: 0; overflow: hidden; }
.blog-card img { height: 190px; object-fit: cover; width: 100%; }
.blog-card .blog-body { padding: 1.5rem; }
.blog-card .blog-cat { font-size: .75rem; font-weight: 700; text-transform: uppercase; color: var(--primary); letter-spacing: .04em; }
.blog-card h3 { margin: .5rem 0; font-size: 1.15rem; }
.blog-card p { color: var(--muted-foreground); font-size: .9rem; }

/* CTA band */
.cta-band {
  background: var(--gradient-primary);
  color: #fff;
  text-align: center;
  padding: 3.5rem 0;
  border-radius: var(--radius);
}
.cta-band h2 { margin: 0 0 .75rem; font-size: 1.8rem; }
.cta-band p { opacity: .9; margin: 0 0 1.75rem; }
.cta-band .btn-primary { background: #fff; color: var(--primary); box-shadow: none; }
.cta-band .btn-primary:hover { background: #fff; opacity: .92; }

/* ---------- Footer ---------- */
.site-footer {
  background: hsl(222 47% 8%);
  color: hsl(220 15% 75%);
  padding: 3.5rem 0 1.5rem;
  margin-top: 4rem;
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  margin-bottom: 2.5rem;
}
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-grid h4 { color: #fff; font-size: .95rem; margin: 0 0 1rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: .6rem; font-size: .9rem; }
.footer-grid a:hover { color: #fff; }
.footer-brand p { font-size: .9rem; max-width: 320px; margin-top: .75rem; }
.footer-bottom {
  border-top: 1px solid hsl(220 15% 20%);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: .8rem;
  color: hsl(220 10% 55%);
}
.footer-bottom a:hover { color: #fff; }
.age-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  border: 1px solid hsl(220 15% 25%);
  border-radius: 999px;
  padding: .25rem .75rem;
  font-size: .75rem;
  font-weight: 700;
}

/* ---------- User dropdown menu ---------- */
.user-menu { position: relative; }
.user-menu-trigger {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.user-menu-panel {
  display: none;
  position: absolute;
  top: calc(100% + .5rem);
  right: 0;
  width: 280px;
  max-height: 80vh;
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(0,0,0,.15);
  padding: .5rem;
  z-index: 100;
}
.user-menu-panel.open { display: block; }
.user-menu-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .55rem .75rem;
  border-radius: calc(var(--radius) - 0.35rem);
  font-size: .9rem;
  font-weight: 500;
  color: var(--foreground);
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
}
.user-menu-item:hover { background: hsl(335 81% 52% / .08); }
.user-menu-item.danger:hover { background: hsl(0 84% 96%); }
.user-menu-item .menu-icon { flex-shrink: 0; }
.user-menu-item.danger, .user-menu-item.danger .menu-icon { color: hsl(0 70% 55%); }
.user-menu-divider { border-top: 1px solid var(--border); margin: .4rem 0; }
.user-menu-header {
  padding: .5rem .75rem .75rem;
  font-size: .8rem;
  color: var(--muted-foreground);
  border-bottom: 1px solid var(--border);
  margin-bottom: .4rem;
}
.user-menu-header strong { color: var(--foreground); font-size: .95rem; display: block; }
.user-menu-panel form { margin: 0; }

/* ---------- Coming soon ---------- */
.coming-soon-card {
  max-width: 480px;
  margin: 3rem auto;
  text-align: center;
}
.coming-soon-card .card-icon { margin: 0 auto 1.25rem; }
