:root {
  --primary-blue: #0155af;
  --primary-orange: #ed7101;
  --light-gray: #f5f5f5;
  --dark-gray: #333;
  --white: #ffffff;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  line-height: 1.6;
  color: var(--dark-gray);
  background-color: var(--white);
}

/* Icônes personnalisées */
@font-face {
  font-family: "primex-icons";
  src: url("assets/fonts/primex-icons.woff2") format("woff2"),
    url("assets/fonts/primex-icons.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

.icon-clock:before {
  content: "\e900";
  font-family: "primex-icons";
}
.icon-graduation:before {
  content: "\e901";
  font-family: "primex-icons";
}
.icon-psycho:before {
  content: "\e902";
  font-family: "primex-icons";
}
.icon-location:before {
  content: "\e903";
  font-family: "primex-icons";
}
.icon-cepe:before {
  content: "\e904";
  font-family: "primex-icons";
}
.icon-bepc:before {
  content: "\e905";
  font-family: "primex-icons";
}
.icon-bac:before {
  content: "\e906";
  font-family: "primex-icons";
}
.icon-check:before {
  content: "\e907";
  font-family: "primex-icons";
}
.icon-calendar:before {
  content: "\e908";
  font-family: "primex-icons";
}
.icon-time:before {
  content: "\e909";
  font-family: "primex-icons";
}
.icon-check-circle:before {
  content: "\e90a";
  font-family: "primex-icons";
}
.icon-user:before {
  content: "\e90b";
  font-family: "primex-icons";
}
.icon-chevron:before {
  content: "\e90c";
  font-family: "primex-icons";
}
.icon-whatsapp:before {
  content: "\e90d";
  font-family: "primex-icons";
}

/* Header & Navigation */
header {
  background-color: var(--white);
  box-shadow: var(--shadow);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  height: 50px;
  display: flex;
  align-items: center;
}

.logo img {
  height: 100%;
  width: auto;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark-gray);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-links a:hover {
  color: var(--primary-orange);
}

.nav-links a:hover::after {
  width: 100%;
}

.mobile-menu {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(1, 85, 175, 0.8), rgba(1, 85, 175, 0.9)),
    url("../images/eleves-en-classe.jpg") no-repeat center center/cover;
  color: var(--white);
  padding: 150px 0 100px;
  text-align: center;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1.3;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 30px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 40px 0;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 1rem;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  text-align: center;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary-orange);
  color: var(--white);
}

.btn-primary:hover {
  background-color: #d86501;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background-color: var(--white);
  color: var(--primary-blue);
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-whatsapp {
  background-color: #25d366;
  color: var(--white);
}

.btn-whatsapp:hover {
  background-color: #128c7e;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Avantages Section */
.avantages {
  padding: 80px 0;
  background-color: var(--white);
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2rem;
  color: var(--primary-blue);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: "";
  position: absolute;
  width: 70px;
  height: 3px;
  background-color: var(--primary-orange);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.avantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.avantage-card {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
  padding: 30px 20px;
}

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

.avantage-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background-color: rgba(1, 85, 175, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
  font-size: 30px;
}

.avantage-card h3 {
  color: var(--primary-blue);
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.avantage-card p {
  margin-bottom: 20px;
  color: #666;
}

/* Formules Section */
.formules {
  padding: 80px 0;
  background-color: var(--light-gray);
}

.formules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.formule-card {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
}

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

.formule-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background-color: rgba(1, 85, 175, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
  font-size: 30px;
}

.formule-card h3 {
  color: var(--primary-blue);
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.formule-card p {
  margin-bottom: 20px;
  color: #666;
}

.formule-features {
  list-style: none;
  text-align: left;
  margin-bottom: 20px;
  flex-grow: 1;
}

.formule-features li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.formule-features li i {
  color: var(--primary-orange);
  margin-right: 10px;
}

.formule-info {
  margin-bottom: 20px;
  text-align: left;
}

.formule-info p {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.formule-info p i {
  margin-right: 10px;
  color: var(--primary-blue);
}

.formule-card .btn {
  padding: 10px 25px;
  margin-top: auto;
}

/* Processus Section */
.process {
  padding: 80px 0;
  background-color: var(--white);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.step-number {
  width: 50px;
  height: 50px;
  background-color: var(--primary-blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  flex-shrink: 0;
}

.step-content h3 {
  color: var(--primary-blue);
  margin-bottom: 10px;
}

/* About Section */
.about {
  padding: 80px 0;
  background-color: var(--light-gray);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-text h2 {
  color: var(--primary-blue);
  margin-bottom: 20px;
  font-size: 2rem;
}

.about-text p {
  margin-bottom: 20px;
  color: #666;
}

.about-features {
  margin: 30px 0;
}

.feature {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.feature i {
  color: var(--primary-orange);
  margin-right: 10px;
}

.about-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Témoignages Section */
.testimonials {
  padding: 80px 0;
  background-color: var(--white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background-color: var(--light-gray);
  border-radius: 8px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.testimonial-content {
  margin-bottom: 20px;
  font-style: italic;
  position: relative;
}

.testimonial-content:before {
  content: "";
  font-size: 3rem;
  color: var(--primary-orange);
  opacity: 0.3;
  position: absolute;
  top: -15px;
  left: -10px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  background-color: var(--primary-blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.author-info h4 {
  margin-bottom: 5px;
  color: var(--primary-blue);
}

.author-info p {
  font-size: 0.9rem;
  color: #666;
}

/* FAQ Section */
.faq {
  padding: 80px 0;
  background-color: var(--light-gray);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.faq-question {
  background-color: var(--white);
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover {
  background-color: #f9f9f9;
}

.faq-question h3 {
  color: var(--primary-blue);
  font-size: 1.1rem;
}

.faq-answer {
  background-color: var(--white);
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 20px;
  max-height: 500px;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

/* Contact Preview Section */
.contact-preview {
  padding: 80px 0;
  background-color: var(--primary-blue);
  color: var(--white);
  text-align: center;
}

.contact-content h2 {
  margin-bottom: 20px;
}

.contact-content p {
  max-width: 600px;
  margin: 0 auto 30px;
  opacity: 0.9;
}

.contact-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  z-index: 1000;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Footer */
footer {
  background-color: var(--primary-blue);
  color: var(--white);
  padding: 50px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.footer-column h3 {
  margin-bottom: 20px;
  font-size: 1.2rem;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h3::after {
  content: "";
  position: absolute;
  width: 40px;
  height: 2px;
  background-color: var(--primary-orange);
  bottom: 0;
  left: 0;
}

.footer-column ul {
  list-style: none;
}

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

.footer-column a {
  color: #ddd;
  text-decoration: none;
  transition: var(--transition);
}

.footer-column a:hover {
  color: var(--primary-orange);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: #ddd;
}

/* Responsive Design */
@media (max-width: 992px) {
  .about-content {
    grid-template-columns: 1fr;
  }

  .about-image {
    order: -1;
  }

  .hero-stats {
    gap: 20px;
  }

  .stat-number {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 15px 0;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 80%;
    height: calc(100vh - 80px);
    background-color: var(--white);
    flex-direction: column;
    padding: 50px 0 0 20px;
    transition: var(--transition);
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links li {
    margin: 15px 0;
  }

  .mobile-menu {
    display: block;
  }

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

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 80%;
    max-width: 250px;
  }

  .formules-grid {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 576px) {
  .hero {
    padding: 120px 0 80px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .section-title h2 {
    font-size: 1.8rem;
  }

  .about-text h2 {
    font-size: 1.8rem;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

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

  .step-number {
    align-self: center;
  }
}

/* About Page Specific Styles */
.hero#hero-about {
  background: linear-gradient(rgba(1, 85, 175, 0.8), rgba(1, 85, 175, 0.9)),
    url("../images/formation.jpeg") no-repeat center center/cover;
  padding: 150px 0 80px;
  height: 60vh;
  min-height: 400px;
}

/* Notre Histoire Section */
.about-story {
  padding: 80px 0;
  background-color: var(--white);
}

.story-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.story-text p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #666;
}

.story-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.story-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Mission & Vision Section */
.mission-vision {
  padding: 80px 0;
  background-color: var(--light-gray);
}

.mv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.mv-card {
  background-color: var(--white);
  padding: 40px 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.mv-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background-color: rgba(1, 85, 175, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
  font-size: 35px;
}

.mv-card h3 {
  color: var(--primary-blue);
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.mv-card p {
  color: #666;
  line-height: 1.6;
}

/* Chiffres Section */
.chiffres {
  padding: 80px 0;
  background-color: var(--white);
}

.chiffres-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  text-align: center;
}

.chiffre-card {
  padding: 30px 20px;
}

.chiffre-number {
  font-size: 3rem;
  font-weight: bold;
  color: var(--primary-orange);
  margin-bottom: 10px;
}

.chiffre-label {
  font-size: 1.1rem;
  color: var(--primary-blue);
  font-weight: 500;
}

/* Équipe Section */
.equipe {
  padding: 80px 0;
  background-color: var(--light-gray);
}

.equipe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.membre-card {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.membre-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.membre-photo {
  height: 250px;
  overflow: hidden;
}

.membre-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.membre-card:hover .membre-photo img {
  transform: scale(1.05);
}

.membre-info {
  padding: 25px;
}

.membre-info h3 {
  color: var(--primary-blue);
  margin-bottom: 5px;
  font-size: 1.2rem;
}

.membre-role {
  color: var(--primary-orange);
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.membre-desc {
  color: #666;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Méthodologie Section */
.methodologie {
  padding: 80px 0;
  background-color: var(--white);
}

.methodo-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.methodo-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
}

.methodo-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(1, 85, 175, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
  font-size: 25px;
  flex-shrink: 0;
}

.methodo-desc h3 {
  color: var(--primary-blue);
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.methodo-desc p {
  color: #666;
  line-height: 1.6;
}

.methodo-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.methodo-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Qualité Section */
.qualite {
  padding: 80px 0;
  background-color: var(--light-gray);
}

.qualite-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.qualite-card {
  background-color: var(--white);
  padding: 30px 25px;
  border-radius: 8px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.qualite-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background-color: rgba(1, 85, 175, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
  font-size: 30px;
}

.qualite-card h3 {
  color: var(--primary-blue);
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.qualite-card p {
  color: #666;
  line-height: 1.6;
}

/* CTA About Section */
.cta-about {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-blue) 0%, #004a99 100%);
  color: var(--white);
  text-align: center;
}

.cta-content h2 {
  margin-bottom: 20px;
  font-size: 2.2rem;
}

.cta-content p {
  max-width: 600px;
  margin: 0 auto 30px;
  font-size: 1.1rem;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 992px) {
  .story-content,
  .methodo-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .methodo-image {
    order: -1;
  }

  .hero#hero-about {
    height: 50vh;
    min-height: 350px;
  }
}

@media (max-width: 768px) {
  .mv-grid,
  .chiffres-grid,
  .equipe-grid,
  .qualite-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .methodo-item {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-content h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 576px) {
  .hero#hero-about {
    padding: 120px 0 60px;
    height: 40vh;
    min-height: 300px;
  }

  .mv-card,
  .qualite-card {
    padding: 25px 20px;
  }

  .chiffre-number {
    font-size: 2.5rem;
  }
}
