/* ===========================================
   Template kine-sport — "Studio sportif haut de gamme"
   Barlow Condensed + Barlow — Orange vif / Noir profond
   Energie, mouvement, performance
   =========================================== */

:root {
  --noir: #0F0F0F;
  --noir-panel: #1A1A1A;
  --orange: #E8520A;
  --orange-dark: #B33D05;
  --bg: #F5F5F5;
  --text: #0F0F0F;
  --text-dim: rgba(255,255,255,0.65);
  --line: rgba(255,255,255,0.1);
  --line-light: rgba(15,15,15,0.12);
  --primary: #E8520A;
  --secondary: #F5F5F5;
  --accent: #0F0F0F;
  --text-light: #F5F5F5;
  --text-muted: #777;
  --bg-dark: #0F0F0F;
  --bg-light: #F5F5F5;
  --bg-beige: #F5F5F5;
  --border: #E0E0E0;
  --border-light: #EBEBEB;
  --radius: 0px;
  --shadow: 0 4px 20px rgba(232,82,10,0.10);
  --transition: 300ms ease;
  --nav-height: 68px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-height); }
body { background: var(--bg); color: var(--text); font-family: 'Barlow', sans-serif; font-weight: 400; -webkit-font-smoothing: antialiased; font-size: 16px; line-height: 1.7; }
h1, h2, h3, h4 { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; line-height: 1.05; text-transform: uppercase; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; height: auto; }

/* Bandeau promo */
.bandeau-promo { background: var(--orange); color: #fff; text-align: center; padding: 10px 40px 10px 20px; font-size: 14px; font-weight: 500; position: fixed; top: 0; left: 0; right: 0; z-index: 200; }
.bandeau-close { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; font-size: 20px; cursor: pointer; color: inherit; }

/* Nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 18px 56px; display: flex; align-items: center; justify-content: space-between; background: transparent; transition: background 0.3s; height: var(--nav-height); }
.nav.scrolled { background: var(--noir); }
.bandeau-promo ~ .nav { top: 40px; }
.nav-container { max-width: 1200px; margin: 0 auto; padding: 0; display: flex; align-items: center; justify-content: space-between; height: 100%; width: 100%; }
.nav-logo { font-family: 'Barlow Condensed', sans-serif; font-size: 1.4rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; text-decoration: none; }
.nav-logo-img { height: 40px; width: auto; display: block; object-fit: contain; }
.nav-logo-initiale { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 0; background: var(--orange); color: #fff; font-family: 'Barlow Condensed', sans-serif; font-size: 24px; font-weight: 900; text-decoration: none; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { font-family: 'Barlow', sans-serif; font-size: 0.8rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.65); transition: color 0.2s; text-decoration: none; }
.nav-links a:hover, .nav-links a.active { color: var(--orange); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: all var(--transition); }

.btn-cta { display: inline-block; background: var(--orange); color: #fff; padding: 13px 40px; font-family: 'Barlow Condensed', sans-serif; font-size: 1rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; white-space: nowrap; transition: background 0.2s; border: none; cursor: pointer; }
.btn-cta:hover { background: var(--orange-dark); }
.btn-cta-large { font-size: 14px; padding: 18px 48px; margin-top: 24px; }
.section-terracotta .btn-cta { background: #fff; color: var(--orange); }
.section-terracotta .btn-cta:hover { background: var(--bg); }
.contact-phone { margin: 24px 0 8px; }
.phone-number { font-family: 'Barlow Condensed', sans-serif; font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; color: var(--orange); text-decoration: none; display: inline-block; }
.section-terracotta .phone-number { color: #fff; }

/* HERO SPORT */
.hero-sport { position: relative; height: 100vh; overflow: hidden; display: flex; flex-direction: column; }
.hero-sport-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-sport-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.15) 60%, rgba(0,0,0,0.85) 100%); }
.hero-sport-bar { position: absolute; bottom: 0; left: 0; right: 0; background: var(--noir); z-index: 3; display: flex; align-items: stretch; min-height: 120px; }
.hero-sport-bar-left { flex: 1; padding: 24px 56px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--line); min-width: 0; }
.hero-sport-label { font-family: 'Barlow', sans-serif; font-size: 0.65rem; font-weight: 500; letter-spacing: 0.35em; text-transform: uppercase; color: var(--orange); display: block; margin-bottom: 6px; }
.hero-sport-bar-left h1 { font-family: 'Barlow Condensed', sans-serif; font-size: clamp(2rem, 5vw, 4.5rem); font-weight: 900; color: #fff; text-transform: uppercase; letter-spacing: 0.03em; line-height: 1; min-width: 0; }
.hero-sport-bar-right { padding: 24px 56px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 16px; min-width: 0; flex-shrink: 0; }
.hero-sport-bar-right p { font-family: 'Barlow', sans-serif; font-size: 0.85rem; font-weight: 400; color: var(--text-dim); line-height: 1.6; max-width: 300px; min-width: 0; }

/* A PROPOS SPORT */
.apropos-sport { display: grid; grid-template-columns: 1fr 1fr; gap: 0; min-width: 0; }
.apropos-sport-text { background: var(--noir); padding: 80px 64px; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.apropos-sport-tag { font-family: 'Barlow Condensed', sans-serif; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: var(--orange); display: block; margin-bottom: 20px; }
.apropos-sport-text h2 { font-family: 'Barlow Condensed', sans-serif; font-size: clamp(2rem, 4vw, 4rem); font-weight: 900; color: #fff; text-transform: uppercase; line-height: 1; margin-bottom: 20px; min-width: 0; }
.apropos-sport-text p { font-family: 'Barlow', sans-serif; font-size: 0.95rem; color: var(--text-dim); line-height: 1.75; margin-bottom: 32px; min-width: 0; }
.apropos-sport-text .btn-cta { align-self: flex-start; }
.apropos-sport-img { position: relative; overflow: hidden; min-width: 0; }
.apropos-sport-img img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; display: block; }
.apropos-sport-img::after { content: ''; position: absolute; top: 0; left: 0; width: 6px; height: 100%; background: var(--orange); }

/* Sections */
.section { padding: 96px 0; }
.section-beige { background: var(--bg); }
.section-dark { background: var(--bg-dark); color: var(--text-light); }
.section-terracotta { background: var(--orange); color: #fff; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 56px; }
.container-narrow { max-width: 700px; }
.section-title { font-family: 'Barlow Condensed', sans-serif; font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 900; color: var(--text); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 48px; text-align: center; }
.section-terracotta .section-title { color: #fff; }
.section-subtitle { text-align: center; color: var(--text-muted); max-width: 600px; margin: 0 auto 40px; font-size: 15px; font-family: 'Barlow', sans-serif; text-transform: none; font-weight: 400; }
.section-dark .section-subtitle { color: rgba(245,245,245,0.5); }
.section-terracotta .section-subtitle { color: rgba(255,255,255,0.7); }

/* Tabs (catalogue, menu) */
.tabs { display: flex; border-bottom: 2px solid var(--line-light); margin-bottom: 40px; }
.tab-btn { background: none; border: none; cursor: pointer; font-family: 'Barlow Condensed', sans-serif; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: #999; padding: 12px 24px; border-bottom: 3px solid transparent; margin-bottom: -2px; transition: all 0.2s; }
.tab-btn.active, .tab-btn:hover { color: var(--orange); border-bottom-color: var(--orange); }

/* Menu tabs (dark bg variant) */
.menu-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 40px; flex-wrap: wrap; }
.menu-tab { padding: 10px 24px; background: transparent; color: rgba(245,245,245,0.5); border: 1px solid rgba(245,245,245,0.2); border-radius: 0; font-family: 'Barlow Condensed', sans-serif; font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; cursor: pointer; transition: all var(--transition); }
.menu-tab:hover { border-color: var(--orange); color: var(--orange); }
.menu-tab.active { background: var(--orange); border-color: var(--orange); color: #fff; }
.menu-cat { display: none; }
.menu-cat.active { display: block; }
.menu-grid { max-width: 700px; margin: 0 auto; }
.menu-item { display: flex; align-items: flex-start; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid rgba(245,245,245,0.12); }
.menu-item:last-child { border-bottom: none; }
.menu-item-info { min-width: 0; }
.menu-item-info h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 20px; font-weight: 600; margin-bottom: 4px; color: var(--text-light); text-transform: uppercase; }
.menu-item-info p { font-size: 13px; color: rgba(245,245,245,0.45); font-family: 'Barlow', sans-serif; text-transform: none; font-weight: 400; min-width: 0; }
.menu-item-prix { font-family: 'Barlow Condensed', sans-serif; font-size: 20px; color: var(--orange); font-weight: 900; white-space: nowrap; margin-left: 16px; }

/* Horaires */
.horaires-table { width: 100%; border-collapse: collapse; margin-bottom: 24px; }
.horaires-table tr { border-bottom: 1px solid var(--line-light); }
.horaires-table td { padding: 10px 0; border-bottom: 1px solid var(--line-light); color: #666; font-family: 'Barlow', sans-serif; font-size: 0.9rem; }
.horaires-table .jour, .jour { font-weight: 700; color: var(--text); font-family: 'Barlow Condensed', sans-serif; letter-spacing: 0.08em; text-transform: uppercase; width: 120px; }
.horaires-table tr.ferme td { opacity: 0.4; }
.ferme .heures { color: var(--text-muted); font-style: italic; }
.coordonnees { margin-top: 28px; }
.coord-item { font-family: 'Barlow', sans-serif; font-size: 0.9rem; color: #666; margin-bottom: 8px; }
.coord-item a { color: var(--orange); }
.map-container iframe { display: block; width: 100%; min-height: 300px; border: 0; }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split-text { min-width: 0; }
.split-text h2 { font-family: 'Barlow Condensed', sans-serif; font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 900; text-transform: uppercase; margin-bottom: 16px; }
.split-text p { color: #666; line-height: 1.7; font-size: 15px; min-width: 0; }
.split-image { min-width: 0; }
.split-image img { width: 100%; object-fit: cover; }
.placeholder-img { background: #eee; display: flex; align-items: center; justify-content: center; min-height: 200px; }
.placeholder-img span { color: #999; font-size: 0.8rem; }
.section-dark .placeholder-img { background: rgba(245,245,245,0.08); }

/* Footer */
.footer { background: var(--noir); padding: 48px 0 24px; font-size: 14px; color: rgba(255,255,255,0.45); }
footer { background: var(--noir); padding: 32px 56px; }
footer p { font-family: 'Barlow', sans-serif; font-size: 0.75rem; color: rgba(255,255,255,0.35); text-align: center; }
footer a { color: var(--orange); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 32px; max-width: 1200px; margin-left: auto; margin-right: auto; padding: 0 56px; }
.footer-logo { font-family: 'Barlow Condensed', sans-serif; font-size: 24px; color: #fff; display: block; margin-bottom: 12px; font-weight: 900; text-transform: uppercase; }
.footer h4 { color: rgba(255,255,255,0.6); margin-bottom: 12px; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; font-family: 'Barlow', sans-serif; }
.footer a { color: rgba(255,255,255,0.45); }
.footer a:hover { color: #fff; }
.footer p { margin-bottom: 6px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 20px; display: flex; justify-content: space-between; font-size: 13px; max-width: 1200px; margin: 0 auto; padding-left: 56px; padding-right: 56px; }
.footer-credit { color: rgba(255,255,255,0.15); }
.footer-credit a { color: rgba(255,255,255,0.15); }

/* === Formulaires & succes === */
.resa-back { background: none; border: none; color: var(--orange); cursor: pointer; font-size: 0.9rem; margin-bottom: 16px; padding: 0; text-decoration: underline; }
.resa-form .form-group { margin-bottom: 16px; }
.resa-form label { display: block; font-weight: 500; margin-bottom: 6px; font-size: 0.92rem; }
.resa-form input, .resa-form select { width: 100%; padding: 10px 14px; border: 1px solid var(--border); border-radius: 0; font-size: 1rem; box-sizing: border-box; font-family: inherit; }
.resa-form input:focus, .resa-form select:focus { outline: none; border-color: var(--orange); }
.form-error { color: #c0392b; font-size: 0.88rem; margin-bottom: 12px; padding: 8px 12px; background: #fdf0ef; border-radius: 0; }
.resa-success { text-align: center; padding: 40px 0; }
.resa-success-icon { font-size: 3.5rem; color: var(--orange); margin-bottom: 12px; }
.resa-success h3 { font-size: 1.4rem; margin-bottom: 8px; }
.resa-success p { color: #666; margin-bottom: 24px; }

/* Switcher langue */
.lang-switcher { display: flex; align-items: center; gap: 4px; margin-left: 16px; }
.lang-btn { background: transparent; border: 1px solid rgba(255,255,255,0.4); color: inherit; border-radius: 0; padding: 3px 7px; font-size: 0.72rem; font-weight: 600; cursor: pointer; letter-spacing: 0.05em; transition: background 0.2s, color 0.2s; line-height: 1.4; }
.lang-btn:hover { background: rgba(255,255,255,0.2); }
.lang-btn.active { background: var(--orange); border-color: var(--orange); color: #fff; }

.whatsapp-float { position: fixed; bottom: 24px; right: 24px; width: 56px; height: 56px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(0,0,0,0.3); z-index: 90; transition: transform var(--transition); }
.whatsapp-float:hover { transform: scale(1.1); }

/* Responsive */
@media (max-width: 900px) {
    .hero-sport-bar { flex-direction: column; min-height: auto; }
    .hero-sport-bar-left { padding: 20px 24px; border-right: none; border-bottom: 1px solid var(--line); }
    .hero-sport-bar-right { padding: 20px 24px; }
    .apropos-sport { grid-template-columns: 1fr; }
    .apropos-sport-text { padding: 48px 24px; }
    .apropos-sport-img img { min-height: 260px; }
    .split { grid-template-columns: 1fr; gap: 24px; }
    .split-image { order: -1; }
    .nav { padding: 16px 24px; }
    .nav-toggle { display: flex; }
    .nav-links { display: none; position: fixed; top: var(--nav-height); left: 0; right: 0; background: var(--noir); flex-direction: column; align-items: center; justify-content: center; gap: 0; padding: 0; max-height: 0; overflow: hidden; transition: max-height 300ms ease; }
    .nav-links.open { display: flex; max-height: 600px; }
    .nav-links li { border-bottom: 1px solid var(--line); width: 100%; }
    .nav-links a { display: block; padding: 14px 24px; color: rgba(255,255,255,0.65); }
    .container { padding: 0 24px; }
    .section { padding: 60px 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; padding: 0 24px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; padding-left: 24px; padding-right: 24px; }
}

@media (max-width: 360px) {
    .hero-sport-bar-left h1 { font-size: 2rem; }
}
