/* ================================================
   GUIDE PILOTE - Styles
   ================================================ */

/* Hero avec image plein écran */
.pilot-hero {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 500px;
  overflow: hidden;
  margin-top: 80px;
}

.pilot-hero-image {
  position: relative;
  width: 100%;
  height: 100%;
}

.pilot-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.pilot-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(60, 167, 255, 0.85) 0%,
    rgba(60, 167, 255, 0.60) 50%,
    rgba(60, 167, 255, 0.40) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
}

.pilot-hero-content {
  text-align: center;
  color: white;
  padding: 2rem;
  max-width: 800px;
}

.pilot-hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.pilot-hero-title span {
  display: block;
  font-weight: 700;
  opacity: 0.95;
}

.pilot-hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.5;
  margin: 0;
  opacity: 0.95;
}

/* ================================================
   SECTION PARCOURS
   ================================================ */

.pilot-paths {
  padding: 80px 0;
  background: #ffffff;
}

.pilot-paths-container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 2rem;
}

.section-header-center {
  text-align: center;
  margin-bottom: 60px;
}

.section-header-center .section-title {
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 800;
  color: var(--text);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.section-header-center .section-subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  margin: 0;
}

/* Grille des parcours */
.paths-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.path-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  border: 2px solid var(--border);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.path-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  border-color: var(--azure-light);
}

.path-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--azure);
  margin: 0 0 2rem;
  text-align: center;
  letter-spacing: -0.02em;
  line-height: 1.2;
  padding-bottom: 1.5rem;
  border-bottom: 3px solid var(--azure-light);
}

.path-requirements {
  flex: 1;
  margin-bottom: 2rem;
}

.path-subtitle {
  font-size: 1rem;
  font-weight: 600;
  color: var(--azure);
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
}

.path-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.path-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.5;
}

.checkmark {
  color: #10b981;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.path-or {
  text-align: center;
  font-weight: 700;
  color: var(--azure);
  margin: 1.5rem 0;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.path-cta {
  width: 100%;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  margin-bottom: 0.75rem;
}

.path-cta.cta-primary {
  background: var(--azure);
  color: white;
  box-shadow: 0 4px 12px rgba(60, 167, 255, 0.3);
}

.path-cta.cta-primary:hover {
  background: #2896EF;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(60, 167, 255, 0.4);
}

.path-cta.cta-secondary {
  background: var(--azure-soft);
  color: var(--azure);
  border: 2px solid var(--azure-light);
}

.path-cta.cta-secondary:hover {
  background: var(--azure-light);
  border-color: var(--azure);
  transform: translateY(-2px);
}

.path-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
  font-style: italic;
}

/* ================================================
   SECTION SERVICES (On s'occupe de tout)
   ================================================ */

.pilot-services {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.pilot-services-container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 2rem;
}

.services-header {
  text-align: center;
  margin-bottom: 60px;
}

.services-logo {
  width: 100px;
  height: 100px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.services-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.services-title {
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 800;
  color: var(--azure);
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
}

.services-subtitle {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.service-item {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.service-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.service-number {
  width: 48px;
  height: 48px;
  background: var(--azure);
  color: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.service-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.75rem;
}

.service-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

.services-cta-zone {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--azure-soft);
  border-radius: 20px;
  border: 2px solid var(--azure-light);
}

.services-cta-text {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 1.5rem;
}

.cta-primary-large {
  padding: 1.25rem 3rem;
  font-size: 1.1rem;
  font-weight: 700;
  background: var(--azure);
  color: white;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(60, 167, 255, 0.3);
  transition: all 0.3s ease;
}

.cta-primary-large:hover {
  background: #2896EF;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(60, 167, 255, 0.4);
}

/* ================================================
   SECTION FORMATION VLE
   ================================================ */

.pilot-training {
  padding: 80px 0;
  background: white;
}

.pilot-training-container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.training-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.training-badge {
  display: inline-block;
  background: var(--azure-soft);
  color: var(--azure);
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  width: fit-content;
}

.training-title {
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 800;
  color: var(--text);
  margin: 0;
  letter-spacing: -0.02em;
}

.training-intro {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}

.training-features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1rem;
}

.training-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--azure-soft);
  border-radius: 12px;
  border: 1px solid var(--azure-light);
}

.training-feature-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
}

.training-feature-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.25rem;
}

.training-feature-text {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

.training-cta {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.training-note {
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
  margin: 0;
}

.training-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.training-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ================================================
   SECTION AVANTAGES
   ================================================ */

.pilot-benefits {
  padding: 80px 0;
  background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
}

.pilot-benefits-container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 2rem;
}

.benefits-title {
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 800;
  color: var(--text);
  text-align: center;
  margin: 0 0 3rem;
  letter-spacing: -0.02em;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.benefit-item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  background: white;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: var(--azure-light);
}

.benefit-icon {
  width: 56px;
  height: 56px;
  background: var(--azure-soft);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--azure);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.benefit-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

/* ================================================
   MODAL FORMATION
   ================================================ */

.formation-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.formation-modal-overlay.active {
  display: flex;
}

.formation-modal {
  background: white;
  border-radius: 20px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.formation-modal-header {
  padding: 2rem 2rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.formation-modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.formation-modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--muted);
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.formation-modal-close:hover {
  background: var(--azure-soft);
  color: var(--azure);
}

.formation-modal-body {
  padding: 2rem;
}

.formation-modal-body p {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0 0 1.5rem;
  line-height: 1.6;
}

.formation-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.formation-input,
.formation-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: all 0.2s ease;
}

.formation-input:focus,
.formation-textarea:focus {
  outline: none;
  border-color: var(--azure);
  box-shadow: 0 0 0 3px var(--azure-soft);
}

.formation-textarea {
  resize: vertical;
  min-height: 100px;
}

.formation-submit {
  padding: 1rem 2rem;
  background: var(--azure);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(60, 167, 255, 0.3);
}

.formation-submit:hover {
  background: #2896EF;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(60, 167, 255, 0.4);
}

.formation-msg {
  text-align: center;
  font-size: 0.9rem;
  margin-top: 0.5rem;
  font-weight: 600;
}

/* ================================================
   RESPONSIVE
   ================================================ */

@media (max-width: 1024px) {
  .pilot-training-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .training-image {
    max-width: 500px;
    margin: 0 auto;
  }

  .paths-grid {
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .pilot-hero {
    height: 60vh;
    min-height: 400px;
    margin-top: 70px;
  }

  .pilot-hero-title {
    font-size: 2rem;
  }

  .pilot-hero-subtitle {
    font-size: 1rem;
  }

  .paths-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .path-card {
    padding: 2rem 1.5rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .pilot-paths,
  .pilot-services,
  .pilot-training,
  .pilot-benefits {
    padding: 50px 0;
  }

  .pilot-paths-container,
  .pilot-services-container,
  .pilot-training-container,
  .pilot-benefits-container {
    padding: 0 1.5rem;
  }

  .services-cta-zone {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .pilot-hero {
    height: 50vh;
    min-height: 350px;
  }

  .path-card {
    padding: 1.5rem;
  }

  .service-item {
    padding: 1.5rem;
  }
}