/*
Theme Name: Learn Self-Defense Elite
Theme URI: https://learn-selfdefense.com
Author: Learn Self-Defense
Author URI: https://learn-selfdefense.com
Description: Premium self-defense training & e-commerce WordPress theme with LMS integration, WooCommerce, and conversion-optimized layouts.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: learn-selfdefense
Tags: e-commerce, education, lms, self-defense, dark, premium
*/

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --black:      #0a0a0a;
  --charcoal:   #141414;
  --dark:       #1a1a1a;
  --mid:        #252525;
  --border:     #2a2a2a;
  --red:        #c0392b;
  --red-dark:   #96281b;
  --red-glow:   rgba(192,57,43,0.35);
  --gold:       #c9a84c;
  --grey:       #666;
  --light-grey: #999;
  --off-white:  #f0ece4;
  --white:      #ffffff;

  --font-display: 'Bebas Neue', 'Impact', sans-serif;
  --font-heading: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body:    'Lato', 'Helvetica Neue', sans-serif;

  --transition: 0.25s ease;
  --shadow-card: 0 20px 60px rgba(0,0,0,0.5);
  --shadow-red:  0 8px 30px var(--red-glow);
  --container:   1280px;
  --pad:         clamp(16px, 5%, 80px);
  --section:     clamp(60px, 8vw, 120px);
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--off-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--red); }
ul, ol { list-style: none; }
button { font-family: var(--font-body); cursor: pointer; border: none; background: none; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 0.95;
  color: var(--off-white);
}
h1 { font-size: clamp(52px, 9vw, 110px); }
h2 { font-size: clamp(38px, 6vw, 72px); }
h3 { font-family: var(--font-heading); font-size: clamp(20px, 3vw, 28px); font-weight: 700; line-height: 1.3; }
h4 { font-family: var(--font-heading); font-size: 20px; font-weight: 700; }
p  { font-size: 16px; line-height: 1.75; color: var(--light-grey); }

.section-label {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 12px;
}
.divider { width: 56px; height: 3px; background: var(--red); margin: 16px 0 36px; }
.divider-center { margin-left: auto; margin-right: auto; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--pad); }
.section-wrap { padding: var(--section) var(--pad); }
.section-wrap.bg-charcoal { background: var(--charcoal); }
.section-wrap.bg-red { background: var(--red); }
.g2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.g3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.g4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-heading); font-size: 14px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  cursor: pointer; transition: all var(--transition);
  border: none;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-red); }
.btn-outline { background: transparent; color: var(--red); border: 2px solid var(--red); }
.btn-outline:hover { background: var(--red); color: #fff; transform: translateY(-2px); }
.btn-lg { padding: 18px 48px; font-size: 16px; }
.btn-sm { padding: 10px 22px; font-size: 12px; }
.btn-full { width: 100%; justify-content: center; }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--charcoal);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  overflow: hidden;
}
.card:hover { border-color: var(--red); transform: translateY(-4px); box-shadow: var(--shadow-card); }
.card-body { padding: 24px; }

/* ============================================================
   BADGE / TAG
   ============================================================ */
.badge {
  display: inline-block; padding: 3px 10px;
  font-family: var(--font-heading); font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--red); color: #fff;
}
.badge-gold { background: var(--gold); color: var(--black); }
.tag {
  display: inline-block; padding: 4px 12px;
  font-family: var(--font-heading); font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  background: rgba(192,57,43,0.15); color: var(--red);
  border: 1px solid rgba(192,57,43,0.3);
}

/* ============================================================
   STARS
   ============================================================ */
.stars { color: var(--gold); font-size: 14px; letter-spacing: 2px; }

/* ============================================================
   NAVBAR
   ============================================================ */
#masthead {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000; height: 72px;
  display: flex; align-items: center; padding: 0 var(--pad);
  justify-content: space-between;
  transition: all 0.4s ease;
}
#masthead.scrolled {
  background: rgba(10,10,10,0.96);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.site-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-icon { width: 38px; height: 38px; background: var(--red); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.logo-text { font-family: var(--font-display); font-size: 22px; letter-spacing: 0.08em; color: var(--off-white); }
.logo-text span { color: var(--red); }

.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a {
  font-family: var(--font-heading); font-size: 13px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: #aaa;
  border-bottom: 2px solid transparent; padding-bottom: 2px;
  transition: all var(--transition);
}
.main-nav a:hover,
.main-nav .current-menu-item > a { color: var(--red); border-bottom-color: var(--red); }

.nav-actions { display: flex; align-items: center; gap: 20px; }
.cart-wrap { position: relative; font-size: 20px; color: var(--off-white); transition: color var(--transition); }
.cart-wrap:hover { color: var(--red); }
.cart-count {
  position: absolute; top: -8px; right: -10px;
  background: var(--red); color: #fff; border-radius: 50%;
  width: 18px; height: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700;
}

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 24px; height: 2px; background: var(--off-white); transition: all var(--transition); }

.mobile-menu {
  display: none; position: fixed; inset: 0;
  background: rgba(5,5,5,0.98); z-index: 999;
  flex-direction: column; align-items: center; justify-content: center; gap: 40px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-family: var(--font-display); font-size: 42px; color: var(--off-white); }
.mobile-menu a:hover { color: var(--red); }
.mobile-close { position: absolute; top: 24px; right: 24px; font-size: 28px; cursor: pointer; color: #aaa; background: none; border: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center; position: relative; overflow: hidden;
  padding: 100px var(--pad) 80px;
}
.hero-bg-glow { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 40%, rgba(192,57,43,0.15) 0%, transparent 65%); pointer-events: none; }
.hero-bg-grid {
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 49px, rgba(255,255,255,0.018) 49px, rgba(255,255,255,0.018) 50px),
    repeating-linear-gradient(90deg, transparent, transparent 49px, rgba(255,255,255,0.018) 49px, rgba(255,255,255,0.018) 50px);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; max-width: 920px; }
.hero-label { animation: fadeUp 0.8s 0.1s both; }
.hero-title {
  font-size: clamp(68px, 14vw, 140px); line-height: 0.92;
  color: var(--off-white); margin: 14px 0 28px;
  animation: fadeUp 0.8s 0.2s both;
}
.hero-title .outline { -webkit-text-stroke: 2px var(--red); -webkit-text-fill-color: transparent; }
.hero-sub { font-size: clamp(15px, 2vw, 18px); color: var(--grey); max-width: 560px; margin: 0 auto 40px; line-height: 1.75; animation: fadeUp 0.8s 0.35s both; }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; animation: fadeUp 0.8s 0.5s both; }
.hero-trust { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; margin-top: 24px; animation: fadeUp 0.8s 0.6s both; }
.hero-trust span { font-size: 12px; color: #555; }
.hero-scroll { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero-scroll-label { font-family: var(--font-heading); font-size: 9px; letter-spacing: 0.3em; color: #444; text-transform: uppercase; }
.hero-scroll-line { width: 1px; height: 56px; background: linear-gradient(to bottom, var(--red), transparent); }

/* ============================================================
   STATS BAND
   ============================================================ */
.stats-band { background: var(--red); padding: 40px var(--pad); }
.stats-band-grid { display: grid; grid-template-columns: repeat(4,1fr); text-align: center; }
.stat-item { padding: 16px 24px; border-right: 1px solid rgba(255,255,255,0.2); }
.stat-item:last-child { border-right: none; }
.stat-num { font-family: var(--font-display); font-size: clamp(34px, 5vw, 52px); color: #fff; line-height: 1; display: block; }
.stat-label { font-size: 12px; color: rgba(255,255,255,0.7); letter-spacing: 0.05em; margin-top: 6px; display: block; }

/* ============================================================
   COURSE CARDS
   ============================================================ */
.course-card { cursor: pointer; }
.course-thumb {
  background: linear-gradient(135deg, #111, #1a1a1a);
  height: 160px; font-size: 60px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.course-thumb img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.course-thumb-badge { position: absolute; top: 14px; left: 14px; }
.course-body { padding: 22px; }
.course-title { font-family: var(--font-heading); font-size: 18px; font-weight: 700; line-height: 1.3; margin-bottom: 12px; }
.course-meta { display: flex; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; }
.course-meta span { font-size: 12px; color: var(--grey); }
.course-footer { display: flex; align-items: center; justify-content: space-between; }
.course-price { font-family: var(--font-display); font-size: 26px; color: var(--red); }

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.product-card { position: relative; cursor: pointer; }
.product-img-wrap {
  background: linear-gradient(135deg, #111, #1a1a1a);
  height: 180px; font-size: 60px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.product-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .product-img-wrap img { transform: scale(1.06); }
.product-badge { position: absolute; top: 14px; left: 14px; z-index: 2; }
.product-body { padding: 20px; }
.product-name { font-family: var(--font-heading); font-size: 17px; font-weight: 700; margin-bottom: 12px; }
.product-pricing { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.product-price { font-family: var(--font-display); font-size: 26px; color: var(--red); }
.product-old { font-size: 14px; color: #444; text-decoration: line-through; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testi-card { background: var(--charcoal); border-left: 4px solid var(--red); padding: 32px; }
.testi-text { font-size: 15px; color: #bbb; line-height: 1.75; font-style: italic; margin: 20px 0 28px; }
.testi-author { display: flex; align-items: center; gap: 14px; }
.testi-avatar { width: 46px; height: 46px; background: var(--red); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 22px; color: #fff; flex-shrink: 0; }
.testi-name { font-family: var(--font-heading); font-size: 15px; font-weight: 700; }
.testi-role { font-size: 12px; color: var(--grey); }

/* ============================================================
   INSTRUCTOR
   ============================================================ */
.instructor-section { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; max-width: var(--container); margin: 0 auto; padding: var(--section) var(--pad); }
.instructor-img-wrap { position: relative; background: linear-gradient(135deg, #1a1a1a, #111); height: 540px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); overflow: hidden; font-size: 100px; }
.instructor-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.instructor-img-wrap::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 40%; background: linear-gradient(to top, rgba(192,57,43,0.25), transparent); }
.instructor-badge { position: absolute; bottom: -20px; left: -20px; background: var(--red); padding: 20px 28px; z-index: 2; }
.instructor-badge-num { font-family: var(--font-display); font-size: 36px; color: #fff; line-height: 1; }
.instructor-badge-label { font-size: 12px; color: rgba(255,255,255,0.7); }
.instructor-creds { display: flex; gap: 32px; margin-top: 32px; }
.instructor-cred { text-align: center; }
.instructor-cred-icon { font-size: 28px; margin-bottom: 6px; }
.instructor-cred-text { font-size: 11px; color: #555; line-height: 1.4; max-width: 90px; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing-card { padding: 40px 32px; position: relative; transition: all 0.3s ease; }
.pricing-card:hover { transform: translateY(-4px); }
.pricing-card.highlight { background: var(--red); }
.pricing-card.default { background: var(--charcoal); border: 1px solid var(--border); }
.pricing-recommended { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--gold); color: var(--black); font-family: var(--font-heading); font-size: 11px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; padding: 4px 18px; white-space: nowrap; }
.pricing-plan { font-family: var(--font-display); font-size: 36px; letter-spacing: 0.05em; }
.pricing-price { font-family: var(--font-display); font-size: 52px; line-height: 1; margin: 8px 0 32px; }
.pricing-card.highlight .pricing-price { color: #fff; }
.pricing-card.default .pricing-price { color: var(--red); }
.pricing-features { display: flex; flex-direction: column; gap: 14px; margin-bottom: 36px; }
.pricing-feature { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; }
.pricing-card.highlight .pricing-feature { color: rgba(255,255,255,0.85); }
.pricing-card.default .pricing-feature { color: #aaa; }
.pricing-check { color: var(--red); font-size: 15px; margin-top: 2px; }
.pricing-card.highlight .pricing-check { color: #fff; }

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter-section { position: relative; overflow: hidden; padding: var(--section) var(--pad); background: var(--red); text-align: center; }
.newsletter-pattern { position: absolute; inset: 0; background-image: repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(0,0,0,0.05) 20px, rgba(0,0,0,0.05) 21px); pointer-events: none; }
.newsletter-form { display: flex; max-width: 520px; margin: 40px auto 0; }
.newsletter-input { flex: 1; background: rgba(0,0,0,0.3); border: none; border-bottom: 2px solid rgba(255,255,255,0.3); color: #fff; padding: 16px 20px; font-size: 15px; outline: none; }
.newsletter-input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-btn { background: var(--black); color: #fff; padding: 0 28px; font-family: var(--font-heading); font-weight: 700; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; white-space: nowrap; transition: background var(--transition); }
.newsletter-btn:hover { background: var(--red-dark); }

/* ============================================================
   PAGE HEADER
   ============================================================ */
.page-header { background: var(--charcoal); padding: 100px var(--pad) 60px; border-bottom: 1px solid var(--border); margin-top: 72px; }
.page-header h1 { font-size: clamp(48px, 7vw, 90px); margin-top: 8px; }
.page-header h1 span { color: var(--red); }

/* ============================================================
   BLOG
   ============================================================ */
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.blog-thumb { background: linear-gradient(135deg, #111, #1a1a1a); height: 200px; display: flex; align-items: center; justify-content: center; font-size: 52px; overflow: hidden; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.card:hover .blog-thumb img { transform: scale(1.05); }
.blog-body { padding: 24px; }
.blog-meta { display: flex; gap: 10px; align-items: center; margin-bottom: 14px; flex-wrap: wrap; }
.blog-read-time { font-size: 11px; color: #555; }
.blog-title { font-family: var(--font-heading); font-size: 18px; font-weight: 700; line-height: 1.4; color: var(--off-white); }
.blog-excerpt { font-size: 14px; color: var(--grey); line-height: 1.7; margin-top: 10px; }
.blog-link { font-family: var(--font-heading); font-size: 13px; color: var(--red); letter-spacing: 0.08em; margin-top: 20px; display: block; transition: color var(--transition); }
.blog-link:hover { color: var(--off-white); }

/* Single post */
.post-wrap { max-width: 860px; margin: 0 auto; padding: var(--section) var(--pad); }
.post-wrap h2, .post-wrap h3 { margin: 40px 0 16px; font-family: var(--font-display); }
.post-wrap p { margin-bottom: 20px; }
.post-wrap ul { list-style: disc; padding-left: 24px; margin-bottom: 20px; }
.post-wrap ul li { color: var(--light-grey); margin-bottom: 8px; }
.post-wrap blockquote { border-left: 4px solid var(--red); padding: 20px 28px; background: var(--charcoal); margin: 32px 0; font-style: italic; color: #bbb; }
.post-wrap .expert-box { background: var(--charcoal); border: 1px solid var(--border); border-top: 3px solid var(--red); padding: 24px 28px; margin: 32px 0; }
.post-wrap .expert-box h4 { font-family: var(--font-heading); font-size: 14px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }

/* ============================================================
   WOOCOMMERCE OVERRIDES
   ============================================================ */
.woocommerce ul.products li.product {
  background: var(--charcoal);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}
.woocommerce ul.products li.product:hover { border-color: var(--red); transform: translateY(-4px); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--font-heading); font-size: 17px; color: var(--off-white); }
.woocommerce ul.products li.product .price { font-family: var(--font-display); font-size: 24px; color: var(--red); }
.woocommerce ul.products li.product a.button,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  background: var(--red) !important;
  color: #fff !important;
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  border-radius: 0 !important;
  padding: 12px 24px !important;
  transition: all var(--transition) !important;
}
.woocommerce ul.products li.product a.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover { background: var(--red-dark) !important; }

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce-cart table.cart td.actions .coupon .input-text {
  background: var(--dark); border: 1px solid var(--border);
  color: var(--off-white); border-radius: 0; padding: 12px 16px;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus { border-color: var(--red); outline: none; box-shadow: none; }

.woocommerce div.product .product_title { font-family: var(--font-display); font-size: clamp(36px, 5vw, 64px); color: var(--off-white); }
.woocommerce div.product p.price { font-family: var(--font-display); font-size: 40px; color: var(--red); }
.woocommerce div.product .woocommerce-product-details__short-description p { color: var(--light-grey); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #050505; border-top: 1px solid var(--dark); padding: 70px var(--pad) 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 56px; }
.footer-brand-text { font-size: 14px; color: #555; line-height: 1.85; max-width: 280px; margin-top: 20px; }
.footer-social { display: flex; gap: 10px; margin-top: 28px; }
.footer-social-link { width: 38px; height: 38px; background: var(--charcoal); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 16px; cursor: pointer; transition: all var(--transition); }
.footer-social-link:hover { border-color: var(--red); background: rgba(192,57,43,0.1); }
.footer-col-title { font-family: var(--font-heading); font-size: 13px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--off-white); margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col li a { font-size: 14px; color: #555; transition: color var(--transition); }
.footer-col li a:hover { color: var(--red); }
.footer-bottom { border-top: 1px solid var(--dark); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 13px; color: #444; }
.footer-legal { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-legal a { font-size: 12px; color: #444; transition: color var(--transition); }
.footer-legal a:hover { color: var(--red); }

/* ============================================================
   FORMS
   ============================================================ */
.form-group { margin-bottom: 20px; }
.form-label { font-family: var(--font-heading); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--light-grey); display: block; margin-bottom: 8px; }
.form-control { width: 100%; background: var(--dark); border: 1px solid var(--border); color: var(--off-white); padding: 14px 18px; font-family: var(--font-body); font-size: 15px; outline: none; transition: border-color var(--transition); border-radius: 0; }
.form-control:focus { border-color: var(--red); }
.form-control::placeholder { color: #444; }

/* ============================================================
   VIDEO SECTION
   ============================================================ */
.video-preview { position: relative; background: linear-gradient(135deg, #111, #1a1a1a); aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); cursor: pointer; overflow: hidden; }
.video-preview::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(192,57,43,0.1), transparent 70%); }
.video-play { width: 80px; height: 80px; border-radius: 50%; background: var(--red); display: flex; align-items: center; justify-content: center; font-size: 28px; box-shadow: 0 0 40px var(--red-glow); z-index: 1; transition: transform var(--transition), box-shadow var(--transition); }
.video-preview:hover .video-play { transform: scale(1.08); box-shadow: 0 0 60px var(--red-glow); }
.video-caption { position: absolute; bottom: 24px; left: 24px; font-family: var(--font-heading); font-size: 18px; font-weight: 700; letter-spacing: 0.05em; z-index: 1; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 var(--red-glow); } 50% { box-shadow: 0 0 30px 10px var(--red-glow); } }
.animate-pulse { animation: pulse 2.8s infinite; }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.text-red    { color: var(--red); }
.text-gold   { color: var(--gold); }
.text-grey   { color: var(--grey); }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.flex { display: flex; }
.flex-center { align-items: center; justify-content: center; }
.flex-between { align-items: center; justify-content: space-between; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .g4 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .instructor-section { grid-template-columns: 1fr; gap: 48px; }
  .instructor-img-wrap { height: 380px; }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .g3 { grid-template-columns: 1fr 1fr; }
  .g2 { grid-template-columns: 1fr; }
  .stats-band-grid { grid-template-columns: repeat(2,1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { justify-content: center; }
  .hero-cta { flex-direction: column; align-items: center; }
  .newsletter-form { flex-direction: column; }
  .newsletter-btn { padding: 14px; }
}
@media (max-width: 480px) {
  .g3, .g4 { grid-template-columns: 1fr; }
}

/* ============================================================
   ADDITIONS v1.1 — Classes manquantes dans les templates
   ============================================================ */

/* section / section--dark (utilisé dans page templates) */
.section { padding: var(--section) var(--pad); }
.section--dark { padding: var(--section) var(--pad); background: var(--black); }

/* grid-2 / grid-3 (utilisé dans template-courses et template-coaching) */
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }

/* display-title (utilisé dans template-courses) */
.display-title { font-family: var(--font-display); font-weight: 400; letter-spacing: 0.03em; line-height: 0.95; }

/* section-divider (utilisé dans single.php et template-coaching) */
.section-divider { width: 56px; height: 3px; background: var(--red); margin: 16px 0 36px; }
.section-divider.center { margin-left: auto; margin-right: auto; }

/* w-full (utilisé dans template-coaching) */
.w-full { width: 100%; }

/* page-header__content (utilisé dans single.php) */
.page-header__content { max-width: var(--container); margin: 0 auto; }

/* sidebar-widget (utilisé dans sidebar.php) */
.sidebar-widget {
  background: var(--charcoal);
  border: 1px solid var(--border);
  padding: 24px;
  margin-bottom: 24px;
}
.sidebar-widget__title {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--off-white);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

/* tag--dark (utilisé dans sidebar.php et single.php) */
.tag--dark {
  display: inline-block; padding: 4px 12px;
  font-family: var(--font-heading); font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--dark); color: var(--grey);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.tag--dark:hover { color: var(--red); border-color: rgba(192,57,43,0.4); }

/* btn-dark (utilisé dans template-courses) */
.btn-dark { background: var(--dark); color: var(--off-white); border: 1px solid var(--border); }
.btn-dark:hover { background: var(--mid); color: var(--red); border-color: var(--red); }

/* btn-secondary (utilisé dans template-contact) */
.btn-secondary { background: transparent; color: var(--off-white); border: 1px solid var(--border); }
.btn-secondary:hover { border-color: var(--red); color: var(--red); }

/* pricing-card amélioré (template-coaching utilise des classes légèrement différentes) */
.pricing-card--featured {
  background: var(--red);
  transform: scale(1.03);
  box-shadow: var(--shadow-red);
  position: relative;
}
.pricing-card--featured:hover { transform: scale(1.05); }
.pricing-card__badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--black);
  font-family: var(--font-heading); font-size: 11px; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  padding: 4px 18px; white-space: nowrap;
}
.pricing-card__plan {
  font-family: var(--font-display); font-size: 36px; letter-spacing: 0.05em;
}
.pricing-card__price {
  font-family: var(--font-display); font-size: 48px; line-height: 1; margin: 8px 0 28px;
}
.pricing-card.pricing-card--featured .pricing-card__price,
.pricing-card--featured .pricing-card__price { color: #fff; }
.pricing-card:not(.pricing-card--featured) .pricing-card__price { color: var(--red); }
.pricing-card__features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; list-style: none; }
.pricing-card__feature {
  display: flex; gap: 10px; align-items: flex-start; font-size: 14px;
  padding-left: 20px; position: relative;
}
.pricing-card__feature::before {
  content: '✓'; position: absolute; left: 0;
  color: var(--red); font-weight: 700;
}
.pricing-card--featured .pricing-card__feature { color: rgba(255,255,255,0.9); }
.pricing-card--featured .pricing-card__feature::before { color: #fff; }
.pricing-card:not(.pricing-card--featured) .pricing-card__feature { color: #aaa; }

/* form-row / form-field (template-contact) */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; margin-bottom: 16px; }
.form-field label {
  font-family: var(--font-heading); font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--light-grey); margin-bottom: 8px;
}
.form-field input,
.form-field textarea,
.form-field select {
  background: var(--dark); border: 1px solid var(--border);
  color: var(--off-white); padding: 13px 16px;
  font-family: var(--font-body); font-size: 15px;
  outline: none; transition: border-color var(--transition);
  border-radius: 0; width: 100%;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus { border-color: var(--red); box-shadow: none; }
.form-field input::placeholder,
.form-field textarea::placeholder { color: #444; }
.form-field select option { background: var(--dark); }

/* cta-box (single.php) */
.cta-box {
  background: var(--red);
  padding: 36px 32px;
  text-align: center;
}
.cta-box h3 { color: #fff; margin-bottom: 12px; }
.cta-box p { color: rgba(255,255,255,0.85); margin-bottom: 24px; }
.cta-box .btn-primary { background: #fff; color: var(--red); }
.cta-box .btn-primary:hover { background: var(--black); color: #fff; }

/* entry-content (single.php) */
.entry-content h2,
.entry-content h3 { font-family: var(--font-display); margin: 36px 0 14px; }
.entry-content p { margin-bottom: 18px; }
.entry-content ul,
.entry-content ol { padding-left: 24px; margin-bottom: 18px; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li { color: var(--light-grey); margin-bottom: 8px; line-height: 1.65; }
.entry-content blockquote { border-left: 4px solid var(--red); padding: 20px 28px; background: var(--charcoal); margin: 32px 0; font-style: italic; color: #bbb; }
.entry-content img { max-width: 100%; height: auto; margin: 24px 0; border: 1px solid var(--border); }
.entry-content a { color: var(--red); text-decoration: underline; }
.entry-content a:hover { color: var(--off-white); }
.entry-content strong { color: var(--off-white); }
.entry-content table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.entry-content th { background: var(--charcoal); border: 1px solid var(--border); padding: 12px 16px; font-family: var(--font-heading); font-weight: 700; text-align: left; }
.entry-content td { border: 1px solid var(--border); padding: 10px 16px; color: var(--light-grey); }

/* contact-grid responsive */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 80px; align-items: start; }

/* Responsive ajouts */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .pricing-card--featured { transform: none; }
}
