/* ======================================
   ENTREPRISE PAGE STYLES
   ====================================== */

/* Hero Section */
.entreprise-hero {
  background: linear-gradient(rgba(5, 27, 60, 0.8), rgba(5, 27, 60, 0.9)), url('../img/benefits-image.jpg') no-repeat center center;
  background-size: cover;
  color: white;
  padding: 8rem 2rem;
  position: relative;
}

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

.entreprise-hero-logo {
  max-width: 240px;
  margin-bottom: 2rem;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-title span {
  color: #f0b341;
}

.hero-subtitle {
  font-size: 1.4rem;
  margin-bottom: 2.5rem;
  max-width: 600px;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Benefits Section */
.benefits-section {
  padding: 5rem 2rem;
  background-color: #f8f9fa;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.benefit-card {
  background: white;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
  width: 60px;
  height: 60px;
  background: #dbe9fa;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.benefit-icon i {
  color: #0056b3;
  font-size: 1.5rem;
}

.benefit-card h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
  color: #051B3C;
}

.benefit-card p {
  color: #555;
  line-height: 1.6;
}

/* Services Section */
.services-section {
  padding: 5rem 2rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: white;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-card.featured {
  border: 2px solid #0056b3;
  position: relative;
}

.service-header {
  padding: 1.5rem;
  background: #f8f9fa;
  position: relative;
}

.service-badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: #0056b3;
  color: white;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  border-radius: 50px;
  font-weight: 600;
}

.service-icon {
  width: 50px;
  height: 50px;
  background: #dbe9fa;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.service-icon i {
  color: #0056b3;
  font-size: 1.25rem;
}

.service-title {
  font-size: 1.25rem;
  color: #051B3C;
}

.service-content {
  padding: 1.5rem;
  flex-grow: 1;
}

.service-content p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-features {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.service-features li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  color: #666;
}

.service-features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #0056b3;
  font-weight: bold;
}

.service-pricing {
  display: flex;
  flex-direction: column;
  margin-top: auto;
}

.price {
  font-size: 1.25rem;
  font-weight: 700;
  color: #051B3C;
}

.price-info {
  font-size: 0.85rem;
  color: #777;
}

.service-footer {
  padding: 1.5rem;
  background: #f8f9fa;
  border-top: 1px solid #e0e0e0;
  text-align: center;
}

/* Funding Section */
.funding-section {
  background-color: #051B3C;
  color: white;
  padding: 5rem 2rem;
}

.funding-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 3rem;
  align-items: center;
}

.funding-content h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: white;
}

.funding-content p {
  color: #ddd;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.funding-details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.funding-item h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #f0b341;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.funding-item p {
  color: #bbb;
  margin-bottom: 0;
}

.funding-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Process Section */
.process-section {
  padding: 5rem 2rem;
  background-color: #f8f9fa;
}

.section-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
  color: #666;
  line-height: 1.6;
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.process-step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.step-number {
  width: 50px;
  height: 50px;
  background: #0056b3;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content h3 {
  margin-bottom: 0.5rem;
  color: #051B3C;
}

.step-content p {
  color: #666;
  margin-bottom: 0;
  line-height: 1.6;
}

/* Group Training Section */
.group-training-section {
  padding: 5rem 2rem;
  background-color: #fff;
}

.training-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.training-category {
  background: #f8f9fa;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.training-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.category-header {
  background: #0056b3;
  color: white;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.category-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.category-icon i {
  font-size: 1.5rem;
  color: white;
}

.category-header h3 {
  margin: 0;
  font-size: 1.3rem;
  color: white;
}

.category-content {
  padding: 1.5rem;
}

.training-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.training-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid #e0e0e0;
}

.training-list li:last-child {
  border-bottom: none;
}

.training-title {
  font-weight: 600;
  color: #333;
}

.training-duration {
  background: #e8f4ff;
  color: #0056b3;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

.category-info {
  background: rgba(0, 86, 179, 0.05);
  padding: 1rem;
  border-radius: 5px;
  margin-top: 1rem;
}

.category-info p {
  color: #555;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* FNE & OPCO Box */
.fne-opco-box {
  background: linear-gradient(to right, #051B3C, #0a2e67);
  color: white;
  padding: 2rem;
  border-radius: 10px;
  margin-top: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.fne-opco-box h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.fne-opco-box h3 i {
  color: #f0b341;
}

.fne-opco-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.fne-info h4, .opco-info h4 {
  color: #f0b341;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.fne-info p, .opco-info p {
  color: #ddd;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.fne-advantages {
  padding-left: 1.5rem;
  margin-bottom: 0;
}

.fne-advantages li {
  color: #bbb;
  margin-bottom: 0.5rem;
  position: relative;
}

.fne-advantages li:before {
  content: "→";
  position: absolute;
  left: -1.5rem;
  color: #f0b341;
}

.opco-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.opco-logos span {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 5px;
  font-size: 0.9rem;
  font-weight: 500;
}

.fne-opco-cta {
  text-align: center;
  margin-top: 2rem;
}

/* Media queries for responsive design */
@media (max-width: 992px) {
  .fne-opco-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .opco-info {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
  }
}

@media (max-width: 768px) {
  .training-categories {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .category-header {
    flex-direction: column;
    text-align: center;
  }

  .training-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .training-duration {
    align-self: flex-start;
  }
}

/* Testimonials Section */
.testimonials-section {
  padding: 5rem 2rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
  padding: 2rem 2rem 1.5rem;
  position: relative;
}

.testimonial-content:before {
  content: "";
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  font-size: 4rem;
  color: #e0e0e0;
  opacity: 0.5;
  font-family: serif;
  line-height: 1;
}

.testimonial-content p {
  position: relative;
  z-index: 1;
  color: #555;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.testimonial-rating {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.testimonial-rating i {
  color: #f0b341;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #f8f9fa;
  padding: 1.5rem 2rem;
  border-top: 1px solid #e0e0e0;
}

.author-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.author-name {
  font-weight: 600;
  color: #051B3C;
}

.author-position {
  font-size: 0.85rem;
  color: #777;
}

/* Contact CTA Section */
.contact-cta {
  background: linear-gradient(rgba(5, 27, 60, 0.85), rgba(5, 27, 60, 0.9)), url('../img/hero-image.jpg') no-repeat center center;
  background-size: cover;
  color: white;
  padding: 5rem 2rem;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: white;
}

.cta-content p {
  max-width: 700px;
  margin: 0 auto 2rem;
  color: #ddd;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Media Queries */
@media (max-width: 1024px) {
  .funding-grid {
    grid-template-columns: 1fr;
  }

  .funding-image {
    order: -1;
  }

  .funding-image img {
    max-height: 300px;
    object-fit: cover;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .benefits-grid,
  .services-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .process-step {
    flex-direction: column;
  }

  .step-number {
    margin-bottom: 1rem;
  }
}

@media (max-width: 480px) {
  .entreprise-hero {
    padding: 5rem 1.5rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

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

  .hero-cta .btn {
    width: 100%;
  }
}
