/* ═══════════════════════════════════════════════════════════════════
   Don Bosco TT — Design System
   Palette : Corail & Soleil
   ═══════════════════════════════════════════════════════════════════ */

/* ── Variables ────────────────────────────────────────────────────── */
:root {
  --color-primary:       #FF6B6B;
  --color-primary-soft:  #FFA07A;
  --color-secondary:     #FFD166;
  --color-secondary-soft:#FFE8B0;
  --color-bg:            #FFF8F5;
  --color-bg-alt:        #FFF3EE;
  --color-surface:       #FFFFFF;
  --color-text:          #2D2D3A;
  --color-text-muted:    #6B6B80;
  --color-text-faint:    #A0A0B0;
  --text-secondary:      #6B6B80; /* alias for --color-text-muted, used by app.js inline styles */
  --color-border:        rgba(0,0,0,0.07);
  --color-success:       #2A9D5C;
  --color-danger:        #E07070;
  --color-admin-bg:      #1E1E2E;
  --color-admin-surface: #2A2A3E;

  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  20px;
  --radius-pill:999px;

  --shadow-sm:  0 2px 12px rgba(0,0,0,0.05);
  --shadow-md:  0 4px 24px rgba(0,0,0,0.08);
  --shadow-primary: 0 4px 16px rgba(255,107,107,0.3);

  --font: 'Inter', system-ui, sans-serif;
  --nav-h: 64px;
}

/* ── Reset ────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; font-size: 17px; }
body {
  font-family: var(--font);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
ul { list-style: none; }

/* ── Typography ───────────────────────────────────────────────────── */
h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; letter-spacing: -0.02em; line-height: 1.05; }
h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); font-weight: 800; letter-spacing: -0.01em; }
h3 { font-size: 1.1rem; font-weight: 700; }
h4 { font-size: 0.9rem; font-weight: 700; }
.text-muted   { color: var(--color-text-muted); }
.text-faint   { color: var(--color-text-faint); }
.text-primary { color: var(--color-primary); }
.label-upper  {
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--color-text-faint);
}

/* ── Layout ───────────────────────────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.section    { padding: 56px 0; }
.section--alt { background: var(--color-bg-alt); }

/* ── Navbar ───────────────────────────────────────────────────────── */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(255,248,245,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,107,107,0.08);
  transition: box-shadow 0.2s;
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
.navbar__inner {
  display: flex; align-items: center; gap: 12px;
  width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 20px;
}
.navbar__logo {
  width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-primary);
  text-decoration: none;
}
.navbar__brand {
  font-size: 1rem; font-weight: 800; color: var(--color-text);
  text-decoration: none; flex: 1;
}
.navbar__brand span { color: var(--color-primary); }
.navbar__nav { display: flex; gap: 4px; align-items: center; }
.nav-pill {
  padding: 7px 15px; border-radius: var(--radius-pill);
  font-size: 0.78rem; font-weight: 600; color: var(--color-text-muted);
  background: none; border: none; cursor: pointer;
  transition: background 0.15s, color 0.15s;
  position: relative; text-decoration: none; display: inline-flex; align-items: center;
}
.nav-pill:hover            { background: rgba(255,107,107,0.08); color: var(--color-primary); }
.nav-pill.active           { background: var(--color-primary); color: white; box-shadow: var(--shadow-primary); }
.nav-pill--cta             { background: var(--color-text); color: white; margin-left: 4px; }
.nav-pill--cta:hover       { background: #3a3a4a; color: white; }

/* Club dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown__menu {
  display: none; position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%);
  padding-top: 8px;
  z-index: 200;
}
.nav-dropdown__menu-inner {
  background: white; border-radius: var(--radius-md);
  box-shadow: var(--shadow-md); border: 1px solid var(--color-border);
  min-width: 180px; padding: 6px;
}
.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown.open  .nav-dropdown__menu { display: block; }
.nav-dropdown__item {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 12px; border-radius: var(--radius-sm);
  font-size: 0.78rem; font-weight: 600; color: var(--color-text-muted);
  transition: background 0.1s, color 0.1s; text-decoration: none;
}
.nav-dropdown__item:hover,
.nav-dropdown__item.active { background: var(--color-bg-alt); color: var(--color-primary); }

/* Hamburger */
.navbar__burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 4px;
}
.navbar__burger span {
  display: block; width: 22px; height: 2px;
  background: var(--color-text); border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.navbar__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__burger.open span:nth-child(2) { opacity: 0; }
.navbar__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.navbar__mobile {
  display: none; flex-direction: column;
  background: white; border-bottom: 1px solid var(--color-border);
  padding: 12px 20px 16px;
}
.navbar__mobile.open { display: flex; }
.mobile-nav-link {
  padding: 10px 0; font-size: 0.9rem; font-weight: 600;
  color: var(--color-text-muted); border-bottom: 1px solid var(--color-border);
  text-decoration: none; display: block;
}
.mobile-nav-link:last-child { border-bottom: none; }
.mobile-nav-link.active     { color: var(--color-primary); }
.mobile-nav-sub             { padding-left: 12px; font-size: 0.82rem; }

/* ── Hero ─────────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  min-height: 520px; display: flex; align-items: flex-end;
}
.hero__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  background-image: url('../img/hero.jpg');
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg,
    rgba(255,107,107,0.82) 0%,
    rgba(255,209,102,0.65) 100%);
}
.hero__content {
  position: relative; z-index: 1;
  padding: 60px 20px 56px;
  max-width: 600px; margin: 0 auto 0 max(20px, calc((100vw - 1100px)/2));
  color: white;
}
.hero__eyebrow {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; opacity: 0.85; margin-bottom: 14px;
}
.hero__eyebrow::before {
  content: ''; display: block; width: 24px; height: 2px;
  background: white; border-radius: 2px;
}
.hero__title    { margin-bottom: 16px; }
.hero__subtitle { font-size: 1.05rem; opacity: 0.9; margin-bottom: 28px; max-width: 440px; }
.hero__buttons  { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__badge {
  position: absolute; bottom: 40px; right: 40px; z-index: 1;
  background: white; border-radius: var(--radius-md);
  padding: 16px 20px; box-shadow: var(--shadow-md); text-align: center;
}
.hero__badge-num   { font-size: 2rem; font-weight: 900; color: var(--color-primary); line-height: 1; }
.hero__badge-label { font-size: 0.65rem; color: var(--color-text-muted); font-weight: 600; margin-top: 3px; }

/* ── Buttons ──────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 11px 22px; border-radius: var(--radius-pill);
  font-size: 0.85rem; font-weight: 700; border: none;
  transition: transform 0.1s, box-shadow 0.1s, background 0.15s;
  cursor: pointer; text-decoration: none;
}
.btn:active { transform: scale(0.97); }
.btn--primary { background: var(--color-primary); color: white; box-shadow: var(--shadow-primary); }
.btn--primary:hover { background: #e85e5e; }
.btn--ghost   { background: rgba(255,255,255,0.2); color: white; border: 2px solid rgba(255,255,255,0.5); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: rgba(255,255,255,0.3); }
.btn--dark    { background: var(--color-text); color: white; }
.btn--dark:hover { background: #3a3a4a; }
.btn--outline { background: transparent; color: var(--color-primary); border: 1.5px solid var(--color-primary); }
.btn--outline:hover { background: rgba(255,107,107,0.06); }
.btn--sm { padding: 7px 14px; font-size: 0.75rem; }

/* ── Cards ────────────────────────────────────────────────────────── */
.card { background: var(--color-surface); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); overflow: hidden; }
.card__body { padding: 16px 20px; }

/* ── Section headers ──────────────────────────────────────────────── */
.section-header {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px;
}
.section-header__title { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; font-weight: 800; }
.section-icon {
  width: 34px; height: 34px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
}
.section-icon--coral { background: #ffe4e4; }
.section-icon--gold  { background: #fff3cc; }
.section-icon--green { background: #e4f5ea; }
.section-icon--blue  { background: #e4eeff; }
.section-link { font-size: 0.8rem; font-weight: 600; color: var(--color-primary); }
.section-link:hover { text-decoration: underline; }

/* ── Social feeds ─────────────────────────────────────────────────── */
.social-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.fb-provider-label,
.yt-provider-label { display: flex; align-items: center; gap: 7px; margin-bottom: 12px; }
.fb-icon {
  width: 22px; height: 22px; border-radius: 6px;
  background: #1877f2; display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 900; color: white;
}
.yt-icon {
  width: 22px; height: 22px; border-radius: 6px;
  background: #ff0000; display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; color: white;
}

.fb-post {
  display: flex; background: white;
  border-radius: var(--radius-md); box-shadow: var(--shadow-sm);
  overflow: hidden; margin-bottom: 10px;
}
.fb-post__accent { width: 4px; background: #1877f2; flex-shrink: 0; }
.fb-post__body   { padding: 12px 14px; flex: 1; }
.fb-post__header { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; }
.fb-post__avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: #1877f2; display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; font-weight: 700; color: white; flex-shrink: 0;
}
.fb-post__name { font-size: 0.75rem; font-weight: 700; }
.fb-post__date { font-size: 0.62rem; color: var(--color-text-faint); margin-left: auto; }
.fb-post__text { font-size: 0.75rem; color: #4a4a5a; line-height: 1.55; }
.fb-post__img  { width: 100%; max-height: 160px; object-fit: cover; border-radius: var(--radius-sm); margin-top: 8px; }

.yt-card { background: white; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); overflow: hidden; margin-bottom: 10px; display: block; }
.yt-card__thumb-wrap { position: relative; }
.yt-card__thumb { width: 100%; height: 110px; object-fit: cover; display: block; }
.yt-card__play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,0,0,0.85); display: flex; align-items: center; justify-content: center;
  color: white; font-size: 0.9rem; transition: transform 0.15s;
}
.yt-card:hover .yt-card__play { transform: translate(-50%,-50%) scale(1.1); }
.yt-card__info  { padding: 10px 14px 12px; }
.yt-card__title { font-size: 0.78rem; font-weight: 700; line-height: 1.35; margin-bottom: 4px; color: var(--color-text); }
.yt-card__meta  { font-size: 0.63rem; color: var(--color-text-faint); }

/* Skeleton loader */
.skeleton {
  background: linear-gradient(90deg,#f0efe8 25%,#e8e7e0 50%,#f0efe8 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}
@keyframes shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }
.skeleton-card { height: 100px; border-radius: var(--radius-md); margin-bottom: 10px; }

/* ── Widgets ──────────────────────────────────────────────────────── */
.widgets-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.widget { background: white; border-radius: var(--radius-md); padding: 20px; box-shadow: var(--shadow-sm); }
.widget__header { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.widget__icon   { font-size: 1.1rem; }
.widget__title  { font-size: 0.88rem; font-weight: 700; }

/* Birthday widget */
.birthday-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 0; border-bottom: 1px solid var(--color-border);
}
.birthday-item:last-child { border-bottom: none; }
.birthday-avatar {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; font-weight: 700; color: white;
}
.birthday-name { font-size: 0.75rem; font-weight: 600; }
.birthday-date { font-size: 0.8rem; color: var(--color-text-muted); }
.badge-soon {
  margin-left: auto; padding: 2px 8px; border-radius: var(--radius-pill);
  background: #ffe4e4; color: var(--color-primary); font-size: 0.55rem; font-weight: 700;
}

/* Address widget */
.address-map {
  width: 100%; height: 100px; border-radius: var(--radius-sm);
  background: #e8f0e8; display: flex; align-items: center; justify-content: center;
  font-size: 2rem; margin-bottom: 12px; position: relative; overflow: hidden;
}
.address-map__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(0,0,0,0.05) 1px,transparent 1px),
                    linear-gradient(90deg,rgba(0,0,0,0.05) 1px,transparent 1px);
  background-size: 24px 24px;
}
.address-text { font-size: 0.78rem; color: #4a4a5a; line-height: 1.6; margin-bottom: 12px; }
.address-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 12px; border-radius: var(--radius-sm); border: none;
  font-size: 0.72rem; font-weight: 600; margin-bottom: 6px; width: 100%;
  cursor: pointer; text-decoration: none; transition: opacity 0.15s;
}
.address-btn:hover         { opacity: 0.85; }
.address-btn--maps         { background: #e8f5e9; color: #2e7d32; }
.address-btn--waze         { background: #e8f0fe; color: #1a73e8; }

/* Navigation app buttons */
.nav-app-buttons { display: flex; flex-direction: column; gap: 7px; margin-top: 10px; }
.nav-app-btn {
  display: flex; align-items: center; gap: 9px;
  padding: 10px 14px; border-radius: var(--radius-sm);
  font-size: .78rem; font-weight: 700; text-decoration: none;
  transition: opacity .15s, transform .1s;
  border: none;
}
.nav-app-btn:hover { opacity: .85; transform: translateX(2px); }
.nav-app-btn--gmaps { background: #e8f0fe; color: #1a73e8; }
.nav-app-btn--waze  { background: #e3f9ff; color: #009dbf; }
.nav-app-btn--apple { background: #f0f0f0; color: #1c1c1e; }
.address-map-embed  { border-radius: var(--radius-sm); overflow: hidden; }

/* Match widget */
.match-item { padding: 8px 0; border-bottom: 1px solid var(--color-border); }
.match-item:last-child { border-bottom: none; }
.match-teams { font-size: 0.75rem; font-weight: 700; margin-bottom: 3px; }
.match-meta  { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 0.63rem; color: var(--color-text-faint); }
.badge-result { padding: 2px 8px; border-radius: var(--radius-pill); font-size: 0.6rem; font-weight: 700; }
.badge-result--win      { background: #e4f5ea; color: #2a9d5c; }
.badge-result--loss     { background: #ffe4e4; color: var(--color-danger); }
.badge-result--upcoming { background: #fff3cc; color: #b07a00; }

/* ── Club sub-navigation ──────────────────────────────────────────── */
.club-subnav {
  background: white; border-bottom: 1px solid var(--color-border);
}
.club-subnav__inner {
  display: flex; padding: 0 20px;
  max-width: 1100px; margin: 0 auto;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.club-subnav__inner::-webkit-scrollbar { display: none; }
.club-subnav__item {
  padding: 13px 16px; font-size: 0.78rem; font-weight: 600;
  color: var(--color-text-faint); border-bottom: 3px solid transparent;
  transition: color 0.15s, border-color 0.15s; cursor: pointer;
  text-decoration: none; white-space: nowrap;
}
.club-subnav__item:hover  { color: var(--color-primary); }
.club-subnav__item.active { color: var(--color-primary); border-bottom-color: var(--color-primary); }

/* Club hero */
.club-hero {
  position: relative; overflow: hidden; height: 240px;
  display: flex; align-items: flex-end;
}
.club-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.club-hero__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(45,45,58,0.82) 0%, transparent 55%); }
.club-hero__content { position: relative; z-index: 1; padding: 24px 20px; color: white; max-width: 1100px; margin: 0 auto; width: 100%; }
.club-hero__title { font-size: 1.6rem; font-weight: 900; }
.club-hero__sub   { font-size: 0.82rem; opacity: 0.8; margin-top: 4px; }

/* Committee grid */
.committee-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.member-card__photo {
  width: 100%; aspect-ratio: 1; border-radius: var(--radius-md); margin-bottom: 12px;
  background: linear-gradient(135deg, #ffe4e4, #fff3cc);
  display: flex; align-items: center; justify-content: center; font-size: 2.5rem;
  overflow: hidden;
}
.member-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.member-card__role { font-size: 0.65rem; font-weight: 700; color: var(--color-primary); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 3px; }
.member-card__name { font-size: 0.88rem; font-weight: 700; margin-bottom: 4px; }
.member-card__desc { font-size: 0.72rem; color: var(--color-text-muted); line-height: 1.45; }

/* Timeline */
.timeline         { padding-left: 40px; position: relative; }
.timeline__line   {
  position: absolute; left: 16px; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(to bottom, var(--color-primary), var(--color-secondary));
  border-radius: 2px;
}
.timeline__item   { position: relative; margin-bottom: 32px; }
.timeline__dot    {
  position: absolute; left: -32px; top: 3px;
  width: 18px; height: 18px; border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border: 3px solid var(--color-bg); box-shadow: 0 0 0 2px var(--color-primary);
}
.timeline__year   { font-size: 0.65rem; font-weight: 700; color: var(--color-primary); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 4px; }
.timeline__title  { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.timeline__desc   { font-size: 0.8rem; color: var(--color-text-muted); line-height: 1.6; }
.timeline__photo  { width: 100%; max-height: 160px; object-fit: cover; border-radius: var(--radius-sm); margin-top: 10px; }

/* Training hours */
.horaires-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.horaire-card  { background: white; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.horaire-card__day      { padding: 14px 18px; background: linear-gradient(135deg, var(--color-primary), var(--color-primary-soft)); color: white; }
.horaire-card__day-name { font-size: 1rem; font-weight: 800; }
.horaire-card__day-type { font-size: 0.65rem; opacity: 0.85; margin-top: 2px; }
.horaire-card__slots    { padding: 10px 18px 14px; }
.horaire-slot {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; border-bottom: 1px solid var(--color-border);
}
.horaire-slot:last-child  { border-bottom: none; }
.horaire-slot__group { font-size: 0.75rem; font-weight: 600; }
.horaire-slot__time  {
  font-size: 0.7rem; font-weight: 700; color: var(--color-primary);
  background: #ffe4e4; padding: 3px 10px; border-radius: var(--radius-pill);
}
.horaire-info {
  padding: 12px 16px; background: #fff3cc;
  border-radius: var(--radius-sm); font-size: 0.75rem; color: #7a5f00;
  display: flex; gap: 8px; align-items: flex-start;
}

/* ── Footer ───────────────────────────────────────────────────────── */
.footer { background: var(--color-text); color: rgba(255,255,255,0.65); padding: 28px 20px; }
.footer__inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer__brand { display: flex; align-items: center; gap: 10px; }
.footer__logo  {
  width: 28px; height: 28px; border-radius: 7px;
  background: linear-gradient(135deg,var(--color-primary),var(--color-secondary));
  display: flex; align-items: center; justify-content: center; font-size: 0.8rem;
}
.footer__text  { font-size: 0.75rem; }
.footer__links { display: flex; gap: 16px; }
.footer__link  { font-size: 0.72rem; color: rgba(255,255,255,0.4); transition: color 0.15s; }
.footer__link:hover { color: rgba(255,255,255,0.8); }

/* ── PWA Install Banner ───────────────────────────────────────────── */
.pwa-banner {
  display: none; position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%);
  z-index: 2000; width: calc(100% - 32px); max-width: 480px;
  background: white; border-radius: var(--radius-md); padding: 16px 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15); align-items: center; gap: 12px;
}
.pwa-banner.visible    { display: flex; }
.pwa-banner__icon      { font-size: 1.8rem; flex-shrink: 0; }
.pwa-banner__text      { flex: 1; }
.pwa-banner__title     { font-size: 0.85rem; font-weight: 700; color: var(--color-text); }
.pwa-banner__sub       { font-size: 0.72rem; color: var(--color-text-muted); }
.pwa-banner__close     { background: none; border: none; color: var(--color-text-faint); font-size: 1.1rem; padding: 4px; flex-shrink: 0; }

/* ── Footer always at bottom ──────────────────────────────────────── */
body.site-body { min-height: 100vh; display: flex; flex-direction: column; }
body.site-body main { flex: 1; }

/* ── Extra mobile padding ─────────────────────────────────────────── */
@media (max-width: 768px) {
  body.site-body main .container { padding-left: 16px; padding-right: 16px; }
  .club-subnav__inner { padding: 0 12px; }
  .auth-page { padding: 24px 12px; }
  .account-layout { padding: 16px 12px 48px; }
}

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .navbar__nav    { display: none; }
  .navbar__burger { display: flex; }
  .hero           { min-height: 400px; }
  .hero__badge    { bottom: 16px; right: 16px; padding: 12px 14px; }
  .hero__badge-num{ font-size: 1.5rem; }
  .hero__content  { padding: 40px 20px 40px; margin: 0; }
  .social-grid    { grid-template-columns: 1fr; }
  .widgets-grid   { grid-template-columns: 1fr; }
  .committee-grid { grid-template-columns: 1fr 1fr; }
  .horaires-grid  { grid-template-columns: 1fr; }
  .club-subnav__item { padding: 11px 10px; font-size: 0.72rem; }
}
@media (max-width: 480px) {
  .committee-grid { grid-template-columns: 1fr; }
  h1 { font-size: 2rem; }
  .hero__buttons { flex-direction: column; }
}


/* ── Hero Carousel ────────────────────────────────────────────────── */
.hero-carousel { position: relative; overflow: hidden; min-height: 520px; background: #222; }
.carousel-slide {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end;
  min-height: 520px;
  transform: translateX(100%);
  transition: transform .5s ease;
}
.carousel-slide.active   { transform: translateX(0); }
.carousel-slide.prev     { transform: translateX(-100%); }
.carousel-slide__bg      { position: absolute; inset: 0; background-size: cover; background-position: center; }
.carousel-slide__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,107,107,.82) 0%, rgba(255,209,102,.65) 100%);
}
.carousel-slide__content {
  position: relative; z-index: 1;
  padding: 60px 20px 56px; max-width: 600px; color: white;
}
.carousel-dots {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 10;
}
.carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.5); cursor: pointer;
  transition: background .2s, transform .2s; border: none; padding: 0;
}
.carousel-dot.active { background: white; transform: scale(1.3); }
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
  background: rgba(255,255,255,.2); backdrop-filter: blur(8px);
  border: none; border-radius: 50%; width: 44px; height: 44px;
  color: white; font-size: 1.4rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.carousel-arrow:hover { background: rgba(255,255,255,.35); }
.carousel-arrow--prev { left: 16px; }
.carousel-arrow--next { right: 16px; }
@media (max-width: 768px) {
  .hero-carousel { min-height: 400px; }
  .carousel-slide { min-height: 400px; }
  .carousel-arrow { display: none; }
  .carousel-slide__content { padding: 40px 20px 40px; }
}

/* ── Sponsors section ─────────────────────────────────────────────── */
.sponsors-section {
  padding: 32px 0;
  background: white;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.sponsors-strip {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: center;
  gap: 32px;
}
.sponsor-item {
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; opacity: .65;
  transition: opacity .2s, transform .2s;
  max-width: 140px;
}
.sponsor-item:hover { opacity: 1; transform: scale(1.06); }
.sponsor-item img { max-height: 52px; width: auto; max-width: 140px; object-fit: contain; }
.sponsor-name { font-size: .85rem; font-weight: 700; color: var(--color-text-muted); }