/* =====================================================
   PRO-DRIVE — Modern Redesign
   Style: Frais & Professionnel
   Couleur: Bleu #0049D0
   Font: Inter
===================================================== */

/* ── Design Tokens ─────────────────────────────── */
:root {
  --primary:        #0049D0;
  --primary-dark:   #003099;
  --primary-light:  #3B82F6;
  --gradient:       linear-gradient(135deg, #0049D0 0%, #00B4D8 100%);
  --gradient-light: linear-gradient(135deg, #e0eaff 0%, #d0f4ff 100%);
  --bg:             #f5f8ff;
  --bg-white:       #ffffff;
  --text:           #0f172a;
  --text-muted:     #64748b;
  --border:         #e2e8f0;
  --shadow-sm:      0 2px 8px rgba(0, 73, 208, 0.06);
  --shadow-md:      0 8px 32px rgba(0, 73, 208, 0.10);
  --shadow-lg:      0 20px 60px rgba(0, 73, 208, 0.15);
  --radius-sm:      10px;
  --radius-md:      16px;
  --radius-lg:      24px;
  --radius-pill:    100px;
}

/* ── Base ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html, body {
  overflow-x: hidden;
}

body {
  font-family: 'Inter', 'Barlow', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  padding-top: 70px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', 'Barlow', sans-serif;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

a {
  color: var(--primary);
  transition: all 0.25s ease;
}

a:hover {
  color: var(--primary-dark);
}

/* ── Preloader ──────────────────────────────────── */
.preloader {
  background: var(--bg-white);
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader {
  position: relative;
  width: 44px;
  height: 44px;
  top: unset;
  left: unset;
}

.loader-box-1, .loader-box-2 {
  background: var(--primary);
  border-radius: 50%;
  opacity: 0.7;
}

/* ── Buttons ────────────────────────────────────── */
.theme-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient);
  color: #fff !important;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  border: none;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 73, 208, 0.30);
  white-space: nowrap;
}

.theme-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 73, 208, 0.40);
  color: #fff !important;
}

.theme-btn2 {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.7);
  color: #fff !important;
  box-shadow: none;
}

.theme-btn2:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
  box-shadow: none;
}

/* ── Section Headings ───────────────────────────── */
.site-heading {
  margin-bottom: 48px;
}

.site-title-tagline {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--primary);
  margin-bottom: 12px;
  background: var(--gradient-light);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
}

.site-title {
  font-size: 40px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
}

.site-title span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Navbar ─────────────────────────────────────── */
.header-top {
  display: none !important;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.main-navigation {
  padding: 0;
}

.main-navigation .navbar {
  padding: 0;
  min-height: 70px;
}

/* .header is already position:sticky — neutralize JS .fixed-top so the navbar never leaves the sticky header's flow */
.main-navigation .navbar.fixed-top {
  position: relative !important;
  top: auto !important;
  z-index: auto !important;
}

.navbar-brand img.logo-small {
  height: 46px;
  width: auto;
}

/* Navbar flex — jamais de saut à la ligne */
.main-navigation .navbar-collapse {
  flex-wrap: nowrap;
}

.main-navigation .navbar-nav {
  flex-wrap: nowrap;
  align-items: center;
}

/* Nav links */
.main-navigation .navbar-nav .nav-link {
  color: var(--text) !important;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 13.5px;
  padding: 8px 10px !important;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.main-navigation .navbar-nav .nav-link:hover,
.main-navigation .navbar-nav .nav-link.active {
  color: var(--primary) !important;
  background: var(--gradient-light);
}

.main-navigation .navbar-nav .dropdown-toggle::after {
  margin-left: 3px;
}

/* Dropdown */
.main-navigation .dropdown-menu {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  margin-top: 8px;
  min-width: 220px;
  max-width: 280px;
  width: auto;
  animation: dropIn 0.2s ease;
  background: var(--bg-white);
}

@keyframes dropIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.main-navigation .dropdown-item {
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  white-space: normal;
  line-height: 1.4;
}

.main-navigation .dropdown-item:hover {
  color: var(--primary);
  background: var(--gradient-light);
}

/* Contact button in nav */
.header-nav-right .theme-btn {
  padding: 9px 18px;
  font-size: 13.5px;
  white-space: nowrap;
}

/* Mobile toggler */
.navbar-toggler {
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-sm) !important;
  padding: 8px 10px !important;
  color: var(--text) !important;
}

.navbar-toggler-icon i {
  font-size: 18px;
  color: var(--text);
}

/* ── Hero Section ───────────────────────────────── */
.hero-modern {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0035A0 0%, #0049D0 40%, #0099CC 75%, #00B4D8 100%);
}

.hero-modern::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/assets/img/slider/slider-1.jpg') center/cover no-repeat;
  opacity: 0.12;
  z-index: 0;
}

.hero-modern::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--bg);
  clip-path: ellipse(55% 100% at 50% 100%);
  z-index: 1;
}

.hero-modern .container {
  position: relative;
  z-index: 2;
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
}

.hero-tagline span {
  width: 6px;
  height: 6px;
  background: #7dd3fc;
  border-radius: 50%;
  display: inline-block;
}

.hero-modern h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-modern h1 em {
  font-style: normal;
  opacity: 0.75;
}

.hero-modern .hero-desc {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-btns .theme-btn {
  font-size: 15px;
  padding: 14px 30px;
  background: #fff;
  color: var(--primary) !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.hero-btns .theme-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.hero-btns .theme-btn2 {
  background: rgba(255,255,255,0.12);
  color: #fff !important;
  box-shadow: none;
}

/* Hero stats row */
.hero-stats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-stat-card {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  color: #fff;
  min-width: 120px;
}

.hero-stat-card .stat-num {
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat-card .stat-label {
  font-size: 13px;
  opacity: 0.8;
}

/* Hide old hero slider */
.hero-section.hero-slider,
.hero-single {
  display: none !important;
}

/* ── Feature Area ───────────────────────────────── */
.feature-area {
  padding: 80px 0 60px;
  background: var(--bg);
}

.feature-item {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  transition: all 0.3s ease;
  border: 1px solid var(--border);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.feature-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.feature-item:hover::before {
  opacity: 1;
}

.feature-item.active {
  background: var(--gradient);
  border-color: transparent;
}

.feature-item.active::before {
  display: none;
}

.feature-item.active .feature-content h4 a,
.feature-item.active .feature-content p {
  color: #fff !important;
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.feature-item.active .feature-icon {
  background: rgba(255,255,255,0.2);
}

.feature-icon img {
  width: 32px;
  height: 32px;
  filter: none;
}

.feature-item.active .feature-icon img {
  filter: brightness(0) invert(1);
}

.feature-content h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.feature-content h4 a {
  color: var(--text);
  text-decoration: none;
}

.feature-content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

/* ── About Area ─────────────────────────────────── */
.about-area {
  background: var(--bg-white);
  padding: 100px 0;
}

.about-left {
  position: relative;
}

.about-img img {
  border-radius: var(--radius-lg);
  width: 100%;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

.about-experience {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--gradient);
  color: #fff;
  padding: 24px 28px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.about-experience h1 {
  font-size: 48px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}

.about-experience h1 span {
  font-size: 32px;
}

.about-experience-text {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
}

.about-shape {
  display: none;
}

.about-right .site-heading {
  margin-bottom: 24px;
}

.about-text {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 28px;
}

.about-list-wrapper {
  margin-bottom: 28px;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 15px;
  color: var(--text);
}

.about-list .icon .fas.fa-check-circle {
  color: var(--primary);
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.about-phone {
  margin-bottom: 8px;
}

.about-phone a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 500;
  margin-right: 20px;
  transition: color 0.2s;
}

.about-phone a:hover {
  color: var(--primary);
}

.about-phone a i {
  color: var(--primary);
}

.about-right .theme-btn {
  margin-top: 24px;
}

/* ── Pricing Area ───────────────────────────────── */
.pricing-area {
  background: #f0f4ff;
  padding: 100px 0;
}

.pricing-item {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: none;
  box-shadow: 0 4px 24px rgba(0, 73, 208, 0.09);
  transition: all 0.35s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  margin-bottom: 8px;
  position: relative;
}

.pricing-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 73, 208, 0.22);
}

.pricing-header-wrapper {
  padding: 20px 20px 16px;
  background: var(--gradient);
  border-bottom: none;
}

.pricing-header h5 {
  font-size: 17px;
  font-weight: 700;
  color: rgba(255,255,255,0.92);
  margin-bottom: 12px;
}

.pricing-amount {
  position: static !important;
  left: auto !important;
  bottom: auto !important;
  transform: none !important;
  height: auto !important;
  width: auto !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  text-align: center;
  margin-top: 8px;
}

.pricing-amount strong {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  background: none;
  -webkit-text-fill-color: #fff;
  letter-spacing: -0.5px;
}

.pricing-feature {
  padding: 24px 28px;
  flex: 1;
  background: #fff;
  margin-top: 0 !important;
  text-align: left !important;
}

.pricing-feature ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.5;
}

.pricing-feature ul li i {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 3px;
  font-size: 13px;
}

.pricing-footer {
  padding: 0 28px 28px;
  background: #fff;
}

.pricing-footer .theme-btn {
  width: 100%;
  justify-content: center;
}

/* ── Practical courses CTA ──────────────────────── */
.practical-cta {
  background: var(--gradient);
  padding: 60px 0;
  margin-top: 60px;
}

.practical-cta-title {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.practical-cta-text {
  color: rgba(255,255,255,0.85);
  margin: 0;
  font-size: 15px;
}

/* ── Counter Area ───────────────────────────────── */
.counter-area {
  background: var(--gradient);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}

.counter-area::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/assets/img/counter/01.jpg') center/cover no-repeat;
  opacity: 0.08;
}

.counter-area .container {
  position: relative;
}

.counter-box {
  text-align: center;
  color: #fff;
  padding: 20px;
}

.counter-box .icon {
  margin-bottom: 16px;
}

.counter-box .icon img {
  width: 52px;
  height: 52px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.counter-box .counter {
  display: block;
  font-size: 52px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
}

.counter-box .title {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  margin: 0;
}

/* ── Promotion Banner ───────────────────────────── */
.promotion-banner {
  padding: 20px 0;
  position: relative;
  z-index: 10;
}

.promotion-content {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-md);
  padding: 20px 28px;
}

.promotion-icon i {
  font-size: 32px;
  color: #fff;
}

.promotion-text {
  flex: 1;
  min-width: 200px;
}

.promotion-text h3 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.promotion-text p {
  color: rgba(255,255,255,0.9);
  margin: 0;
  font-size: 15px;
}

.promotion-text strong {
  color: #fff;
}

.promotion-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--primary) !important;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.promotion-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  color: var(--primary-dark) !important;
}

/* ── Footer ─────────────────────────────────────── */
.footer-area {
  background: #0a0f1e;
  color: rgba(255,255,255,0.75);
  border-top: 3px solid transparent;
  border-image: var(--gradient) 1;
  position: relative;
}

.footer-widget {
  background: transparent;
}

.footer-widget-wrapper {
  padding: 80px 0 50px;
}

.footer-widget-title {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}

.footer-widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
}

.footer-contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}

.footer-contact ul li i {
  color: var(--primary-light);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact ul li a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
}

.footer-contact ul li a:hover {
  color: #fff;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  list-style: none;
  padding: 0;
}

.footer-social li a {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 15px;
  transition: all 0.2s ease;
}

.footer-social li a:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li {
  margin-bottom: 10px;
}

.footer-list li a {
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.footer-list li a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-list li a i {
  color: var(--primary-light);
  font-size: 11px;
}

/* Footer copyright */
.copyright {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
}

.copyright-text {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin: 0;
}

.copyright-text a {
  color: rgba(255,255,255,0.75);
  font-weight: 600;
  text-decoration: none;
}

.copyright-text a:hover {
  color: #fff;
}

.footer-menu {
  display: flex;
  gap: 20px;
  justify-content: flex-end;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu li a {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-menu li a:hover {
  color: #fff;
}

/* ── Scroll Top ─────────────────────────────────── */
#scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  font-size: 18px;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  text-decoration: none;
}

#scroll-top.active, #scroll-top:hover {
  opacity: 1;
  pointer-events: all;
  transform: translateY(-3px);
}

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 991px) {
  .hero-modern {
    min-height: 70vh;
    padding: 80px 0 100px;
  }

  .hero-modern h1 {
    font-size: 2.2rem;
  }

  .hero-stats {
    gap: 12px;
  }

  .hero-stat-card {
    padding: 12px 18px;
  }

  .about-experience {
    right: 10px;
    bottom: -10px;
  }

  .site-title {
    font-size: 30px !important;
  }

  .main-navigation .navbar {
    padding: 8px 0;
  }

  .collapse.navbar-collapse {
    background: var(--bg-white);
    border-top: 1px solid var(--border);
    margin-top: 8px;
    padding: 12px 0;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
  }

  .header-nav-right {
    padding: 12px 0;
  }

  .footer-menu {
    justify-content: flex-start;
    margin-top: 8px;
  }

  .counter-box .counter {
    font-size: 40px;
  }
}

@media (max-width: 575px) {
  .hero-modern {
    min-height: 60vh;
    padding: 60px 0 80px;
  }

  .hero-btns {
    flex-direction: column;
  }

  .hero-btns .theme-btn {
    text-align: center;
    justify-content: center;
  }

  .promotion-content {
    flex-direction: column;
    text-align: center;
  }

  .feature-area .row.g-0 {
    row-gap: 16px;
  }
}

/* ── Feature grid fix ───────────────────────────── */
.feature-area .row.g-0 > [class*="col-"] {
  padding: 8px;
}

/* ── Page Header (replaces old site-breadcrumb) ─── */
.page-header {
  background: var(--gradient);
  padding: 70px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/assets/img/breadcrumb/breadcrumb.jpg') center/cover no-repeat;
  opacity: 0.06;
  z-index: 0;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 50px;
  background: var(--bg);
  clip-path: ellipse(55% 100% at 50% 100%);
  z-index: 1;
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.page-header-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  line-height: 1.15;
}

.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.page-breadcrumb a {
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.page-breadcrumb a:hover { color: #fff; }

.page-breadcrumb .separator {
  color: rgba(255,255,255,0.4);
  font-size: 12px;
}

.page-breadcrumb .current {
  color: rgba(255,255,255,0.65);
  font-size: 14px;
}

/* ── Contact Area ─────────────────────────────────── */
.contact-area {
  padding: 100px 0;
  background: var(--bg);
}

.contact-wrapper {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.contact-form {
  padding: 48px;
}

@media (max-width: 768px) {
  .contact-form { padding: 28px 20px; }
}

.contact-form-header h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}

.contact-form-header p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 24px;
}

.contact-content {
  background: var(--gradient);
  padding: 48px 32px;
  min-height: 100%;
}

.contact-info {
  display: flex;
  gap: 14px;
  margin-bottom: 28px;
  align-items: flex-start;
}

.contact-info-icon {
  width: 44px;
  min-width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-icon i {
  color: #fff;
  font-size: 18px;
}

.contact-info-content h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.contact-info-content p,
.contact-info-content h5,
.contact-info-content a {
  font-size: 13.5px;
  color: rgba(255,255,255,0.8);
  margin: 0 0 4px;
  display: block;
  text-decoration: none;
  line-height: 1.5;
}

.contact-info-content h5 {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.95);
  margin-top: 4px;
}

.contact-info-content a:hover { color: #fff; }

.contact-map-section {
  padding: 0 0 80px;
  background: var(--bg);
}

.map-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.map-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 22px;
  background: var(--gradient);
  border-radius: 2px;
  flex-shrink: 0;
}

.contact-map iframe {
  width: 100%;
  height: 280px;
  border: none;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

/* ── FAQ Area ─────────────────────────────────────── */
.faq-area {
  padding: 100px 0;
  background: var(--bg);
}

.faq-left .about-text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.accordion-item {
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-sm) !important;
  margin-bottom: 10px;
  overflow: hidden;
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
}

.accordion-button {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--text) !important;
  background: var(--bg-white) !important;
  padding: 18px 22px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  box-shadow: none !important;
  outline: none;
  line-height: 1.4;
}

.accordion-button:not(.collapsed) {
  color: var(--primary) !important;
  background: var(--gradient-light) !important;
}

.accordion-button span {
  width: 28px;
  min-width: 28px;
  height: 28px;
  background: var(--gradient-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.accordion-button span i {
  color: var(--primary);
  font-size: 13px;
}

.accordion-button:not(.collapsed) span {
  background: var(--primary);
}

.accordion-button:not(.collapsed) span i {
  color: #fff;
}

.accordion-body {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  padding: 16px 22px 22px;
  border-top: 1px solid var(--border);
  background: var(--bg-white);
}

.accordion-body a {
  color: var(--primary);
  font-weight: 600;
}

/* ── Testimonials ─────────────────────────────────── */
.testimonial-area2 {
  padding: 100px 0;
  background: var(--bg);
}

.testimonial-item {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--border);
  height: 100%;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
}

.testimonial-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.testimonial-rate {
  display: flex;
  gap: 3px;
  margin-bottom: 14px;
}

.testimonial-rate i {
  color: #F59E0B;
  font-size: 14px;
}

.testimonial-item > p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  flex: 1;
  margin-bottom: 16px;
}

.testimonial-item > p a {
  color: var(--primary);
  font-weight: 600;
}

.testimonial-author-info {
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-top: auto;
}

.testimonial-author-info h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.testimonial-quote {
  position: absolute;
  top: 20px;
  right: 20px;
  opacity: 0.07;
  pointer-events: none;
}

.testimonial-quote img { width: 34px; }

/* ── Privacy / Terms ──────────────────────────────── */
.privacy-section {
  padding: 80px 0;
  background: var(--bg);
}

.terms-content {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  margin-bottom: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.terms-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
  padding-left: 16px;
  border-left: 3px solid var(--primary);
}

.terms-content p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 10px;
}

.terms-list {
  list-style: none !important;
  padding-left: 0 !important;
  margin-bottom: 0;
}

.terms-list li {
  color: var(--text-muted);
  font-size: 14px;
  padding: 7px 0 7px 28px;
  position: relative;
  line-height: 1.6;
}

.terms-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 7px;
  color: var(--primary);
  font-weight: 700;
}

/* ── Course List (Theorical) ──────────────────────── */
.course-list-section {
  padding: 60px 0 100px;
  background: var(--bg);
}

.course-page-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 18px;
  letter-spacing: -0.5px;
}

.course-page-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gradient);
  border-radius: 2px;
}

.filter-section {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
}

.filter-label {
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 8px;
  display: block;
}

.filter-select {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  width: 100%;
  background-color: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.filter-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 73, 208, 0.12);
  outline: none;
}

.course-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.course-header-card {
  background: var(--gradient-light);
  border-bottom: 1px solid var(--border);
  padding: 18px 20px;
  text-align: center;
}

.course-header-card.complet {
  background: #fee2e2;
  border-bottom-color: #fca5a5;
}

.course-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.course-body {
  padding: 20px;
  flex-grow: 1;
}

.course-info-item {
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--text-muted);
}

.course-info-item strong {
  color: var(--text);
}

.course-price {
  font-size: 30px;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 16px 0;
  text-align: center;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.course-footer {
  padding: 16px 20px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.badge-places {
  display: inline-block;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
}

.badge-places.disponible { background: #dcfce7; color: #166534; }
.badge-places.faible     { background: #fef3c7; color: #92400e; }
.badge-places.complet    { background: #fee2e2; color: #991b1b; }

.no-courses {
  text-align: center;
  padding: 60px 24px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.btn-inscription {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--gradient);
  color: #fff !important;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  border: none;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 3px 12px rgba(0, 73, 208, 0.25);
}

.btn-inscription:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 73, 208, 0.35);
  color: #fff !important;
}

/* ── Registration Form ────────────────────────────── */
.registration-wrapper {
  padding: 60px 0 80px;
  background: var(--bg);
}

.registration-container {
  max-width: 780px;
  margin: 0 auto;
}

.course-info-card {
  background: var(--gradient-light);
  border: 1px solid rgba(0, 73, 208, 0.15);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-bottom: 24px;
}

.course-info-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 73, 208, 0.15);
}

.registration-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--text);
}

.registration-info-item:last-child { margin-bottom: 0; }

.registration-info-item i {
  color: var(--primary);
  width: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.form-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.form-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border);
  position: relative;
}

.form-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
}

.form-card .form-label {
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
}

.form-card .form-control,
.form-card .form-select {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-card .form-control:focus,
.form-card .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 73, 208, 0.12);
}

.contact-form .form-control,
.contact-form .form-select {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 73, 208, 0.12);
}

.btn-submit {
  padding: 13px 36px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

/* ── Confirmation / Error pages ───────────────────── */
.result-page {
  padding: 100px 0;
  background: var(--bg);
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.result-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  text-align: center;
  box-shadow: var(--shadow-md);
  max-width: 580px;
  margin: 0 auto;
  border: 1px solid var(--border);
}

@media (max-width: 575px) {
  .result-card { padding: 40px 24px; }
}

.result-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  font-size: 36px;
}

.result-icon.success { background: #dcfce7; color: #16a34a; }
.result-icon.error   { background: #fee2e2; color: #dc2626; }

.result-card h2 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 16px;
}

.result-card p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 10px;
  line-height: 1.6;
}

.result-contact-box {
  background: var(--bg);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 20px 0;
  text-align: left;
}

.result-contact-box p {
  margin-bottom: 6px;
  font-size: 14px;
}

.result-contact-box a {
  color: var(--primary);
  font-weight: 500;
}

/* ── Filter card (practical courses) ─────────────── */
.filter-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
}

.filter-card .form-label {
  font-weight: 600;
  color: var(--text);
  font-size: 14px;
  margin-bottom: 6px;
}

.filter-card .form-select {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
}

.filter-card .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 73, 208, 0.12);
}

/* CTA strip (practical courses) */
.cta-area {
  padding: 70px 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.cta-content h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.cta-content p {
  color: var(--text-muted);
  margin-bottom: 0;
}
