:root {
  --ops-navy: #0a1628;
  --ops-red: #e63946;
  --ops-blue: #1d3557;
  --ops-light: #f8fafc;
  --ops-gray: #64748b;
  --ops-white: #ffffff;
  --ops-gold: #f4a261;
  --ops-gradient: linear-gradient(135deg, #0a1628 0%, #1d3557 100%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', sans-serif;
  color: #1e293b;
  background: #ffffff;
  overflow-x: hidden;
}

/* ===== HEADER ===== */
.site-header, #masthead {
  background: var(--ops-navy) !important;
  border-bottom: 3px solid var(--ops-red);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.site-branding .site-title a,
.site-branding .site-title {
  color: var(--ops-white) !important;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 1px;
  text-decoration: none;
}

.header-navigation .menu > li > a,
.main-navigation .menu > li > a {
  color: var(--ops-white) !important;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 8px 16px;
  transition: color 0.3s;
}

.header-navigation .menu > li > a:hover,
.main-navigation .menu > li > a:hover {
  color: var(--ops-red) !important;
}

.header-navigation .menu > li.cta-btn > a {
  background: var(--ops-red);
  color: var(--ops-white) !important;
  border-radius: 6px;
  padding: 10px 20px;
}

/* ===== HERO SECTION ===== */
.ops-hero {
  background: var(--ops-gradient);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 80px;
  position: relative;
  overflow: hidden;
}

.ops-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23e63946" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,133.3C672,139,768,181,864,181.3C960,181,1056,139,1152,122.7C1248,107,1344,117,1392,122.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') bottom/cover no-repeat;
}

.ops-hero-content { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; }

.ops-badge {
  display: inline-block;
  background: rgba(230,57,70,0.2);
  border: 1px solid var(--ops-red);
  color: var(--ops-red);
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.ops-hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 900;
  color: var(--ops-white);
  line-height: 1.1;
  margin-bottom: 24px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.ops-hero h1 span { color: var(--ops-red); }

.ops-hero p {
  font-size: clamp(16px, 2vw, 20px);
  color: #94a3b8;
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.ops-hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.ops-btn-primary {
  background: var(--ops-red);
  color: var(--ops-white);
  padding: 16px 40px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(230,57,70,0.4);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ops-btn-primary:hover {
  background: #c1121f;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(230,57,70,0.5);
  color: var(--ops-white);
  text-decoration: none;
}

.ops-btn-secondary {
  background: transparent;
  color: var(--ops-white);
  padding: 16px 40px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.3);
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ops-btn-secondary:hover {
  border-color: var(--ops-white);
  background: rgba(255,255,255,0.1);
  color: var(--ops-white);
  text-decoration: none;
}

/* ===== STATS BAND ===== */
.ops-stats {
  background: var(--ops-red);
  padding: 40px 20px;
}

.ops-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.ops-stat-item { color: var(--ops-white); }
.ops-stat-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 42px;
  font-weight: 900;
  display: block;
  line-height: 1;
}
.ops-stat-label { font-size: 14px; opacity: 0.9; margin-top: 6px; }

/* ===== FORMATIONS ===== */
.ops-section {
  padding: 100px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.ops-section-header { text-align: center; margin-bottom: 64px; }

.ops-section-tag {
  color: var(--ops-red);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}

.ops-section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--ops-navy);
  margin-bottom: 16px;
  line-height: 1.2;
}

.ops-section-sub {
  font-size: 18px;
  color: var(--ops-gray);
  max-width: 600px;
  margin: 0 auto;
}

.ops-formations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.ops-formation-card {
  background: var(--ops-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 30px rgba(0,0,0,0.08);
  transition: all 0.3s;
  border: 1px solid #e2e8f0;
}

.ops-formation-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  border-color: var(--ops-red);
}

.ops-card-header {
  background: var(--ops-gradient);
  padding: 32px;
  position: relative;
}

.ops-card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--ops-red);
  color: var(--ops-white);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.ops-card-icon {
  width: 56px;
  height: 56px;
  background: rgba(230,57,70,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 28px;
}

.ops-card-header h3 {
  color: var(--ops-white);
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.ops-card-header p { color: #94a3b8; font-size: 14px; }

.ops-card-body { padding: 32px; }

.ops-card-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.ops-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--ops-gray);
  background: var(--ops-light);
  padding: 6px 12px;
  border-radius: 50px;
}

.ops-card-features { list-style: none; margin-bottom: 28px; }
.ops-card-features li {
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 14px;
  color: #374151;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ops-card-features li::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--ops-red);
  border-radius: 50%;
  flex-shrink: 0;
}

.ops-card-cta {
  display: block;
  background: var(--ops-navy);
  color: var(--ops-white);
  text-align: center;
  padding: 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s;
}
.ops-card-cta:hover {
  background: var(--ops-red);
  color: var(--ops-white);
  text-decoration: none;
}

/* ===== POURQUOI NOUS ===== */
.ops-why { background: var(--ops-light); padding: 100px 20px; }
.ops-why-inner { max-width: 1200px; margin: 0 auto; }

.ops-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  margin-top: 64px;
}

.ops-feature-item {
  text-align: center;
  padding: 40px 24px;
  background: var(--ops-white);
  border-radius: 16px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.05);
  transition: all 0.3s;
}

.ops-feature-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.ops-feature-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--ops-red), #c1121f);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 32px;
}

.ops-feature-item h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--ops-navy);
  margin-bottom: 12px;
}

.ops-feature-item p { font-size: 14px; color: var(--ops-gray); line-height: 1.7; }

/* ===== CTA BAND ===== */
.ops-cta-band {
  background: var(--ops-gradient);
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ops-cta-band h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  color: var(--ops-white);
  margin-bottom: 16px;
}

.ops-cta-band p { color: #94a3b8; font-size: 18px; margin-bottom: 40px; }

/* ===== FOOTER ===== */
.site-footer, #colophon {
  background: #050d1a;
  color: #94a3b8;
  padding: 60px 20px 30px;
}

.ops-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.ops-footer-brand h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--ops-white);
  margin-bottom: 12px;
}

.ops-footer-brand p { font-size: 14px; line-height: 1.8; }

.ops-footer-col h4 {
  color: var(--ops-white);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.ops-footer-col ul { list-style: none; }
.ops-footer-col ul li { margin-bottom: 10px; }
.ops-footer-col ul li a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}
.ops-footer-col ul li a:hover { color: var(--ops-red); }

.ops-footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.ops-cnaps-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(230,57,70,0.1);
  border: 1px solid var(--ops-red);
  color: var(--ops-red);
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .ops-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .ops-footer-grid { grid-template-columns: 1fr; }
  .ops-hero-btns { flex-direction: column; align-items: center; }
  .ops-footer-bottom { flex-direction: column; text-align: center; }
}

/* ===== PAGE FORMATIONS ===== */
.ops-page-header {
  background: var(--ops-gradient);
  padding: 80px 20px;
  text-align: center;
}
.ops-page-header h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  color: var(--ops-white);
}
.ops-page-header p { color: #94a3b8; font-size: 18px; margin-top: 16px; }

/* ===== LMS LINK BAR ===== */
.ops-lms-bar {
  background: var(--ops-red);
  padding: 14px 20px;
  text-align: center;
  font-size: 14px;
  color: var(--ops-white);
}
.ops-lms-bar a { color: var(--ops-white); font-weight: 700; text-decoration: underline; }
