/* ============================================================
   ARENA GYM — Boxe, Muay-Thaï, MMA, Cross-Training (Chavornay)
   ------------------------------------------------------------
   Couleurs et polices définies dans :root ci-dessous.
   Pour Luca : modifie les variables pour changer toute la palette.
   ============================================================ */

:root {
  --bg-page:        #0a0a0a;
  --bg-section:     #131313;
  --bg-card:        #181818;
  --gold:           #faba2f;
  --gold-h:         #e0a420;
  --red:            #d4322a;
  --text:           #ffffff;
  --text-muted:     #b8b8b8;
  --border:         rgba(250, 186, 47, .15);
  --border-strong:  rgba(250, 186, 47, .35);
  --max-width:      1200px;
  --radius:         10px;
  --font-display:   "Oswald", "Bebas Neue", "Impact", system-ui, sans-serif;
  --font-body:      "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-page);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip-link {
  position: fixed;
  top: 8px; left: 8px;
  background: var(--gold);
  color: #000;
  padding: 10px 18px;
  font-weight: 700;
  border-radius: 6px;
  z-index: 1000;
  transform: translateY(-200%);
  transition: transform .15s;
}
.skip-link:focus { transform: translateY(0); }

a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold); }

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 0 0 .6em;
  line-height: 1.15;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; letter-spacing: 2px; color: var(--gold); }

p { margin: 0 0 1em; }

/* ---------- Header / Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,10,.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}
.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 3px;
  color: var(--gold);
}
.nav-links {
  margin-left: auto;
  display: flex;
  gap: 28px;
  align-items: center;
  list-style: none;
  padding: 0;
}
.nav-links a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: .95rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: border-color .2s, color .2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}
.nav-social {
  display: flex;
  gap: 12px;
}
.nav-social a {
  width: 38px; height: 38px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
}
.nav-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #000;
}
.nav-social svg { width: 18px; height: 18px; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--gold);
  cursor: pointer;
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-block; margin-left: auto; }
  .brand-text { display: none; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: var(--bg-section);
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    margin: 0;
    gap: 16px;
  }
  .nav-links.open { display: flex; }
  .nav-social { margin-left: 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px 24px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/gym-1.jpg") center/cover no-repeat;
  filter: brightness(.4) contrast(1.1);
  z-index: 0;
}

/* Tableau d'horaires */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: .98rem;
}
.schedule-table th,
.schedule-table td {
  padding: 14px 16px;
  border: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
.schedule-table thead th {
  background: var(--bg-card);
  color: var(--gold);
  font-family: var(--font-display);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-bottom: 2px solid var(--gold);
}
.schedule-table tbody th {
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 1px;
  white-space: nowrap;
  width: 130px;
}
.schedule-table td { color: var(--text-muted); }
.schedule-table td strong { color: #fff; font-weight: 500; display: block; }
.schedule-table tbody tr:hover { background: rgba(250,186,47,.04); }
.schedule-muted { color: #666; font-style: italic; }
@media (max-width: 680px) {
  .schedule-table, .schedule-table tbody, .schedule-table tr, .schedule-table td, .schedule-table th { display: block; width: 100%; }
  .schedule-table thead { display: none; }
  .schedule-table tbody th { border-bottom: none; background: var(--bg-card); }
  .schedule-table td { border-top: none; }
  .schedule-table td::before { content: attr(data-label); color: var(--gold); font-weight: 700; display: block; font-size: .8rem; text-transform: uppercase; margin-bottom: 4px; }
  .schedule-table tr { margin-bottom: 16px; border: 1px solid var(--border-strong); border-radius: var(--radius); overflow: hidden; }
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.3) 0%, rgba(10,10,10,.95) 100%);
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
}
.hero-eyebrow {
  font-family: var(--font-display);
  font-size: .95rem;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  font-weight: 500;
}
.hero h1 {
  font-size: clamp(2.4rem, 7vw, 5rem);
  text-shadow: 0 4px 24px rgba(0,0,0,.7);
  margin-bottom: 16px;
}
.hero h1 .gold { color: var(--gold); }
.hero p.lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 660px;
  margin: 0 auto 32px;
}

.hero-ctas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  max-width: 760px;
  margin: 0 auto;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 26px;
  background: var(--gold);
  color: #000;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 2px solid var(--gold);
  border-radius: 4px;
  cursor: pointer;
  transition: all .2s;
  text-align: center;
}
.btn:hover {
  background: var(--gold-h);
  border-color: var(--gold-h);
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(250, 186, 47, .3);
}
.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn--ghost:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
}
.btn--red {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.btn--red:hover { background: #b32820; border-color: #b32820; color: #fff; }

/* ---------- Sections ---------- */
.section {
  padding: 80px 24px;
}
.section--alt { background: var(--bg-section); }
.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.section-title {
  text-align: center;
  margin-bottom: 56px;
}
.section-title .eyebrow {
  font-family: var(--font-display);
  font-size: .9rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}
.section-title h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
}
.section-title h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gold);
}

/* ---------- Cards grid (homepage CTAs, disciplines, etc.) ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s, border-color .2s, box-shadow .2s;
  text-decoration: none;
  color: inherit;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 12px 32px rgba(0,0,0,.5);
  color: inherit;
}
.feature-card-image {
  aspect-ratio: 16/10;
  background: #000 center/cover no-repeat;
  position: relative;
}
.feature-card-image::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.6) 100%);
}
.feature-card-body {
  padding: 22px 24px;
}
.feature-card h3 {
  margin: 0 0 8px;
  color: #fff;
}
.feature-card:hover h3 { color: var(--gold); }
.feature-card-body p {
  color: var(--text-muted);
  font-size: .95rem;
  margin: 0;
}

/* ---------- Discipline detail layout ---------- */
.discipline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
}
.discipline:nth-child(even) {
  direction: rtl;
}
.discipline:nth-child(even) > * { direction: ltr; }
.discipline-img {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #000 center/cover no-repeat;
}
.discipline-info h3 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--gold);
  margin-bottom: 14px;
}
.discipline-info .badges {
  margin-bottom: 14px;
}
.badge {
  display: inline-block;
  background: rgba(250,186,47,.15);
  border: 1px solid var(--border-strong);
  color: var(--gold);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-right: 6px;
}
@media (max-width: 760px) {
  .discipline { grid-template-columns: 1fr; gap: 24px; }
  .discipline:nth-child(even) { direction: ltr; }
}

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  text-align: center;
  position: relative;
  transition: border-color .2s, transform .2s;
}
.price-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}
.price-card--featured {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold), 0 12px 40px rgba(250,186,47,.15);
}
.price-card--featured::before {
  content: "POPULAIRE";
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: #000;
  padding: 6px 14px;
  font-family: var(--font-display);
  font-size: .75rem;
  letter-spacing: 2px;
  font-weight: 700;
  border-radius: 999px;
}
.price-card-head {
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
  margin-bottom: 24px;
}
.price-card h3 {
  font-size: 1.4rem;
  margin-bottom: 4px;
  color: #fff;
}
.price-card .duration {
  font-size: .85rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.price-card .price {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  margin: 18px 0 4px;
  line-height: 1;
}
.price-card .price-suffix {
  display: block;
  font-size: .9rem;
  color: var(--text-muted);
  font-family: var(--font-body);
}
.price-card ul {
  list-style: none;
  padding: 0;
  margin: 18px 0 24px;
  text-align: left;
}
.price-card li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: .92rem;
  position: relative;
  padding-left: 24px;
}
.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}
.price-card .btn { margin-top: auto; }

.pricing-extras {
  margin-top: 48px;
  background: var(--bg-card);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  padding: 24px 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 600px) {
  .pricing-extras { grid-template-columns: 1fr; }
}
.pricing-extras h4 { margin-top: 0; }
.pricing-extras p { color: var(--text-muted); margin-bottom: 0; }

/* ---------- About / club info ---------- */
.about-content {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.05rem;
}
.about-content p { margin-bottom: 1.3em; color: var(--text-muted); }
.about-quote {
  border-left: 4px solid var(--gold);
  padding: 12px 24px;
  font-style: italic;
  color: #fff;
  font-size: 1.15rem;
  margin: 28px 0;
  background: rgba(250,186,47,.04);
}

.coaches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 32px;
}
.coach-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
}
.coach-card-img {
  aspect-ratio: 1/1;
  background: #000 center/cover no-repeat;
}
.coach-card-body { padding: 22px; }
.coach-card h3 { color: var(--gold); margin-bottom: 6px; }
.coach-card .role {
  font-family: var(--font-display);
  font-size: .85rem;
  letter-spacing: 2px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.bullets-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}
.bullets-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 1.05rem;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-info .label {
  display: block;
  font-family: var(--font-display);
  font-size: .85rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin: 22px 0 4px;
}
.contact-info p, .contact-info a { font-size: 1.05rem; }

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.contact-form label {
  display: block;
  font-family: var(--font-display);
  font-size: .85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 14px 0 6px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-page);
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 0;
  border-color: var(--gold);
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form button { margin-top: 18px; width: 100%; }

/* ---------- Sticky call/WhatsApp button (mobile) ---------- */
.sticky-call {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  display: none;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: #25D366; /* WhatsApp green */
  color: #fff !important;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .5px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0,0,0,.5);
  transition: transform .15s, background .2s;
}
.sticky-call:hover { background: #128c7e; transform: translateY(-2px); color:#fff; }
.sticky-call svg { flex-shrink: 0; }

@media (max-width: 760px) {
  .sticky-call { display: inline-flex; }
  body { padding-bottom: 80px; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: #050505;
  border-top: 1px solid var(--border);
  padding: 56px 24px 24px;
  color: var(--text-muted);
  font-size: .92rem;
}
.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto 32px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: .9rem;
  letter-spacing: 2.5px;
  color: var(--gold);
  margin: 0 0 14px;
}
.footer-col p, .footer-col a {
  margin: 4px 0;
  display: block;
}
.footer-col .brand-text { color: var(--gold); font-size: 1.4rem; }
.footer-bottom {
  text-align: center;
  border-top: 1px solid var(--border);
  padding-top: 18px;
  font-size: .85rem;
  color: #666;
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* ============================================================
   PRINT — version papier des horaires/abonnements
   ============================================================ */
@media print {
  .site-header, .site-footer, .sticky-call, .skip-link, .hero,
  .nav-toggle, iframe { display: none !important; }
  html, body {
    background: #fff !important; color: #000 !important; font-size: 11pt;
  }
  .section, .section--alt { background: #fff !important; padding: 12px 0 !important; }
  h1, h2, h3 { color: #000 !important; page-break-after: avoid; }
  h4, .eyebrow, .price-card .price { color: #444 !important; }
  .feature-card, .price-card, .coach-card, .contact-form {
    background: #fff !important; border: 1px solid #ccc !important; page-break-inside: avoid;
  }
  body::before {
    content: "ARENA GYM — Rue de l'Industrie 3, 1373 Chavornay — +41 76 509 05 32";
    display: block; text-align: center; font-size: 10pt;
    padding: 8px 0; border-bottom: 1px solid #ccc; margin-bottom: 12px;
  }
}
