
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #172033;
  background: #ffffff;
  line-height: 1.6;
}

header {
  min-height: 90px;
  padding: 12px 6%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 3px 18px rgba(0, 0, 0, 0.08);
}

.logo {
  width: auto;
  height: 68px;
  display: block;
}

nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  flex-wrap: wrap;
}

nav a {
  color: #003366;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
}

nav a:hover {
  color: #0874d1;
}

.hero {
  min-height: 600px;
  padding: 80px 7%;
  display: flex;
  align-items: center;
  background:
    linear-gradient(
        90deg,
        rgba(0, 35, 70, 0.90) 0%,
        rgba(0, 35, 70, 0.70) 42%,
        rgba(0, 35, 70, 0.22) 100%
    ),
    url("arriere-plan-chariot-caces.png") center/cover no-repeat;
}

.hero-content {
  max-width: 760px;
  color: #ffffff;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(48px, 7vw, 82px);
  line-height: 1;
}

.hero p {
  max-width: 700px;
  margin: 0 0 32px;
  font-size: clamp(21px, 3vw, 32px);
  line-height: 1.3;
}

.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease;
}

.btn-primary {
  background: #0874d1;
  color: #ffffff;
}

.btn-secondary {
  background: #ffffff;
  color: #003366;
}

.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-2px);
}

.intro,
.formations-home,
.stats-dt,
.why,
.qualiopi,
.cta {
  padding: 75px 7%;
}

.intro {
  max-width: 1050px;
  margin: 0 auto;
  text-align: center;
}

.intro h2,
.formations-home h2,
.stats-dt h2,
.why h2,
.qualiopi h2,
.cta h2 {
  margin-top: 0;
  color: #003366;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.2;
}

.intro p {
  margin: 0 auto;
  max-width: 900px;
  font-size: 19px;
}

.formations-home {
  background: #f3f6f9;
  text-align: center;
}

.cards {
  max-width: 1200px;
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.card {
  overflow: hidden;
  background: #ffffff;
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.09);
}

.card img {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.card h3,
.card p,
.card a {
  margin-left: 24px;
  margin-right: 24px;
}

.card h3 {
  margin-top: 24px;
  margin-bottom: 10px;
  color: #003366;
  font-size: 25px;
}

.card p {
  min-height: 82px;
}

.card a {
  display: inline-block;
  margin-bottom: 26px;
  color: #0874d1;
  font-weight: 700;
  text-decoration: none;
}

.stats-dt {
  background: #003366;
  text-align: center;
}

.stats-dt h2 {
  color: #ffffff;
}

.stats-container {
  max-width: 1100px;
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.stat-box {
  padding: 38px 22px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
}

.stat-number {
  color: #0874d1;
  font-size: 48px;
  line-height: 1;
  font-weight: 800;
}

.stat-title {
  margin-top: 15px;
  color: #172033;
  font-size: 19px;
  font-weight: 700;
}

.stat-source {
  margin-top: 9px;
  color: #737b87;
  font-size: 13px;
}

.why {
  text-align: center;
}

.why-grid {
  max-width: 1100px;
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.why-grid > div {
  padding: 30px;
  background: #f3f6f9;
  border-radius: 10px;
  text-align: left;
  border-left: 5px solid #0874d1;
}

.why-grid h3 {
  margin-top: 0;
  color: #003366;
  font-size: 22px;
}

.qualiopi {
  background: #f3f6f9;
  text-align: center;
}

.qualiopi p {
  margin-bottom: 28px;
}

.cta {
  background: #0874d1;
  color: #ffffff;
  text-align: center;
}

.cta h2 {
  color: #ffffff;
}

.cta p {
  font-size: 19px;
  margin-bottom: 28px;
}

footer {
  padding: 30px 7%;
  background: #001f3f;
  color: #ffffff;
  text-align: center;
}

footer p {
  margin: 5px 0;
}

footer a {
  color: #ffffff;
}

@media (max-width: 900px) {
  header {
    position: static;
    flex-direction: column;
  }

  nav {
    justify-content: center;
    gap: 14px 20px;
  }

  .hero {
    min-height: 500px;
    text-align: center;
    justify-content: center;
  }

  .cards,
  .stats-container,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .card p {
    min-height: auto;
  }
}

@media (max-width: 600px) {
  header,
  .intro,
  .formations-home,
  .stats-dt,
  .why,
  .qualiopi,
  .cta {
    padding-left: 20px;
    padding-right: 20px;
  }

  .logo {
    height: 58px;
  }

  .hero {
    padding: 65px 20px;
  }

  nav a {
    font-size: 14px;
  }
}

.stats-container {
  display: grid !important;
 grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
}

.stat-box {
  background: white !important;
  padding: 38px 22px !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 30px rgba(0,0,0,.16) !important;
}

.stat-number {
  color: #0874d1 !important;
  font-size: 48px !important;
  font-weight: 800 !important;
}

.stats-dt .stats-container {
  display: flex !important;
  gap: 25px !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
}

.stats-dt .stat-box {
  width: 280px !important;
  background: #ffffff !important;
  padding: 30px !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
  text-align: center !important;
}

.stats-dt .stat-number {
  font-size: 46px !important;
  color: #0874d1 !important;
  font-weight: 800 !important;
}

.why-grid {
  display: flex !important;
  justify-content: center !important;
  gap: 24px !important;
  flex-wrap: wrap !important;
}

.why-card {
  background: #ffffff !important;
  width: 240px !important;
  padding: 30px 20px !important;
  border-radius: 14px !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12) !important;
  text-align: center !important;
}

.why-icon {
  font-size: 42px !important;
  margin-bottom: 15px !important;
}

.why-card h3 {
  color: #003b70 !important;
}

@media (max-width: 600px) {
  .why-card {
    width: 100% !important;
  }
}

/* ===== SECTION QUALIOPI ===== */

.qualiopi {
    padding: 50px 40px !important;
}

.qualiopi-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    max-width: 1200px;
    margin: auto;
}

.qualiopi-logo {
    width: 350px;
    max-width: 40%;
    height: auto;
}

.qualiopi-text {
    flex: 1;
}

.qualiopi-text h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .qualiopi-content {
        flex-direction: column;
        text-align: center;
    }

    .qualiopi-logo {
        width: 280px;
        max-width: 100%;
    }
}
.qualiopi-section {
  padding: 40px 25px !important;
}

.qualiopi-card {
  display: flex !important;
  align-items: center !important;
  gap: 45px !important;
  background: #ffffff !important;
  border-radius: 18px !important;
  padding: 45px !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.10) !important;
}

.qualiopi-left img {
  width: 280px !important;
  max-width: 100% !important;
  height: auto !important;
  display: block !important;
}

.qualiopi-right {
  flex: 1 !important;
}

.qualiopi-badge {
  display: inline-block !important;
  background: #eaf4ff !important;
  color: #003b70 !important;
  padding: 8px 14px !important;
  border-radius: 30px !important;
  font-weight: bold !important;
  margin-bottom: 15px !important;
}

.qualiopi-right h2 {
  color: #003b70 !important;
  font-size: 32px !important;
  margin: 0 0 18px !important;
}

.qualiopi-right p {
  font-size: 18px !important;
  line-height: 1.6 !important;
}

.qualiopi-small {
  color: #555 !important;
}

.qualiopi-btn {
  display: inline-block !important;
  margin-top: 18px !important;
  background: #0874d1 !important;
  color: #ffffff !important;
  padding: 14px 24px !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  font-weight: bold !important;
}

@media (max-width: 800px) {
  .qualiopi-card {
    flex-direction: column !important;
    text-align: center !important;
  }

  .qualiopi-left img {
    width: 230px !important;
  }
}
.qualiopi-section {
    min-height: 0 !important;
    height: auto !important;
    padding: 50px 45px !important;
    display: flex !important;
    align-items: center !important;
    gap: 60px !important;
}

.qualiopi-left {
    flex: 0 0 300px !important;
}

.qualiopi-left img {
    width: 280px !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
}

.qualiopi-right {
    flex: 1 !important;
}
.why {
  margin-bottom: 0 !important;
  padding-bottom: 35px !important;
}

.qualiopi-section {
  margin-top: -120px !important;
}

header {
  min-height: 90px !important;
  padding: 12px 6% !important;
  background: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  box-shadow: 0 3px 18px rgba(0,0,0,0.08) !important;
}

.logo {
  height: 68px !important;
  width: auto !important;
}

nav {
  display: flex !important;
  gap: 28px !important;
  align-items: center !important;
}

nav a {
  color: #003366 !important;
  text-decoration: none !important;
  font-size: 16px !important;
  font-weight: 700 !important;
}

/* ===== PAGE FORMATIONS ===== */

.formations-page {
  background: #f4f7fa;
}

.formations-intro {
  padding: 80px 7% 60px;
  text-align: center;
  background: linear-gradient(135deg, #003366, #0874d1);
  color: #ffffff;
}

.formations-badge {
  display: inline-block;
  margin-bottom: 16px;
  padding: 8px 16px;
  border-radius: 30px;
  background: rgba(255,255,255,0.16);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
}

.formations-intro h1 {
  margin: 0 0 18px;
  font-size: 44px;
  line-height: 1.2;
}

.formations-intro p {
  max-width: 850px;
  margin: 0 auto;
  font-size: 19px;
}

.formations-catalogue {
  padding: 70px 7%;
}

.formations-catalogue h2 {
  margin: 0 0 35px;
  text-align: center;
  color: #003366;
  font-size: 36px;
}

.formations-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.formation-card {
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 32px 26px;
  background: #ffffff;
  border-radius: 16px;
  border-top: 5px solid #0874d1;
  box-shadow: 0 10px 28px rgba(0,0,0,0.09);
  text-align: center;
}

.formation-icon {
  margin-bottom: 15px;
  font-size: 46px;
}

.formation-card h3 {
  margin: 0 0 14px;
  color: #003366;
  font-size: 25px;
}

.formation-card p {
  flex: 1;
  margin: 0 0 24px;
  color: #4c5664;
  font-size: 17px;
}

.formation-button,
.formation-main-button {
  display: inline-block;
  padding: 13px 22px;
  border-radius: 8px;
  background: #0874d1;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
}

.formation-button:hover,
.formation-main-button:hover {
  background: #003366;
}

.autres-formations {
  background: #ffffff;
}

.formations-contact {
  padding: 70px 7%;
  background: #003366;
  color: #ffffff;
  text-align: center;
}

.formations-contact h2 {
  margin: 0 0 18px;
  font-size: 36px;
}

.formations-contact p {
  max-width: 800px;
  margin: 0 auto 28px;
  font-size: 18px;
}

.formations-contact .formation-main-button {
  background: #ffffff;
  color: #003366;
}

@media (max-width: 950px) {
  .formations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 650px) {
  .formations-intro h1 {
    font-size: 34px;
  }

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

  .formation-card {
    min-height: auto;
  }
}
/* ===== PAGE FINANCEMENTS ===== */

.financements-page {
  background: #f4f7fa;
}

.financements-intro {
  padding: 80px 7% 60px;
  text-align: center;
  background: linear-gradient(135deg, #003366, #0874d1);
  color: #ffffff;
}

.financements-badge {
  display: inline-block;
  margin-bottom: 16px;
  padding: 8px 16px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
}

.financements-intro h1 {
  margin: 0 0 18px;
  font-size: 44px;
  line-height: 1.2;
}

.financements-intro p {
  max-width: 850px;
  margin: 0 auto;
  font-size: 19px;
}

.financements-options {
  padding: 70px 7%;
}

.financements-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.financement-card {
  padding: 34px 30px;
  background: #ffffff;
  border-radius: 16px;
  border-top: 5px solid #0874d1;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.09);
}

.financement-icon {
  margin-bottom: 14px;
  font-size: 44px;
}

.financement-card h2 {
  margin: 0 0 14px;
  color: #003366;
  font-size: 25px;
}

.financement-card p {
  color: #4c5664;
  font-size: 17px;
}

.financement-note {
  padding-top: 14px;
  border-top: 1px solid #e0e6ec;
  font-size: 15px !important;
}

.financements-etapes {
  padding: 70px 7%;
  background: #ffffff;
  text-align: center;
}

.financements-etapes h2 {
  margin: 0 0 38px;
  color: #003366;
  font-size: 36px;
}

.financements-steps {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.financement-step {
  padding: 28px 20px;
  background: #f4f7fa;
  border-radius: 14px;
}

.financement-step span {
  display: inline-flex;
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #0874d1;
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
}

.financement-step h3 {
  margin: 0 0 10px;
  color: #003366;
}

.financements-contact {
  padding: 70px 7%;
  background: #003366;
  color: #ffffff;
  text-align: center;
}

.financements-contact h2 {
  margin: 0 0 18px;
  font-size: 36px;
}

.financements-contact p {
  max-width: 800px;
  margin: 0 auto 28px;
  font-size: 18px;
}

.financements-button {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 8px;
  background: #ffffff;
  color: #003366;
  text-decoration: none;
  font-weight: 700;
}

@media (max-width: 900px) {
  .financements-grid,
  .financements-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 650px) {
  .financements-intro h1 {
    font-size: 34px;
  }

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

/* ===== PAGE À PROPOS ===== */

.apropos-page {
  background: #f4f7fa;
}

.apropos-intro {
  padding: 80px 7% 60px;
  text-align: center;
  background: linear-gradient(135deg, #003366, #0874d1);
  color: #ffffff;
}

.apropos-badge {
  display: inline-block;
  margin-bottom: 16px;
  padding: 8px 16px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
}

.apropos-intro h1 {
  margin: 0 0 18px;
  font-size: 44px;
}

.apropos-intro p {
  max-width: 850px;
  margin: 0 auto;
  font-size: 19px;
}

.apropos-presentation {
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px 7%;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 35px;
  align-items: center;
}

.apropos-text,
.apropos-highlight {
  background: #ffffff;
  padding: 35px;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.apropos-text h2,
.apropos-highlight h3,
.apropos-engagements h2,
.apropos-stats h2,
.apropos-cta h2 {
  color: #003366;
}

.apropos-highlight {
  border-left: 5px solid #0874d1;
}

.apropos-engagements {
  padding: 70px 7%;
  background: #ffffff;
  text-align: center;
}

.apropos-engagements h2,
.apropos-stats h2 {
  margin: 0 0 36px;
  font-size: 36px;
}

.apropos-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.apropos-card {
  padding: 30px 22px;
  background: #f4f7fa;
  border-radius: 14px;
}

.apropos-icon {
  margin-bottom: 14px;
  font-size: 42px;
}

.apropos-card h3 {
  color: #003366;
}

.apropos-stats {
  padding: 70px 7%;
  background: #003366;
  text-align: center;
}

.apropos-stats h2 {
  color: #ffffff;
}

.apropos-stats-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.apropos-stats-grid div {
  padding: 32px 20px;
  background: #ffffff;
  border-radius: 14px;
}

.apropos-stats-grid strong {
  display: block;
  color: #0874d1;
  font-size: 44px;
}

.apropos-stats-grid span {
  display: block;
  margin-top: 8px;
  font-weight: 700;
}

.apropos-cta {
  padding: 70px 7%;
  background: #ffffff;
  text-align: center;
}

.apropos-button {
  display: inline-block;
  margin-top: 18px;
  padding: 14px 26px;
  background: #0874d1;
  color: #ffffff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
}

@media (max-width: 900px) {
  .apropos-presentation {
    grid-template-columns: 1fr;
  }

  .apropos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 650px) {
  .apropos-grid,
  .apropos-stats-grid {
    grid-template-columns: 1fr;
  }

  .apropos-intro h1 {
    font-size: 34px;
  }
}
/* CORRECTION HAUT PAGE À PROPOS */

.apropos-page {
  padding-top: 0 !important;
}

.apropos-intro {
  min-height: 320px;
  padding: 90px 7% 70px !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

.apropos-intro h1 {
  display: block !important;
  margin: 10px 0 20px !important;
  color: #ffffff !important;
}

.apropos-intro p {
  display: block !important;
  color: #ffffff !important;
}

.apropos-badge {
  display: inline-block !important;
}
/* ===== PAGE CONTACT ===== */

.contact-page {
  background: #f4f7fa;
}

.contact-intro {
  padding: 80px 7% 60px;
  text-align: center;
  background: linear-gradient(135deg, #003366, #0874d1);
  color: #ffffff;
}

.contact-badge,
.contact-small-badge {
  display: inline-block;
  margin-bottom: 16px;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
}

.contact-badge {
  background: rgba(255, 255, 255, 0.16);
}

.contact-small-badge {
  background: #eaf4ff;
  color: #003366;
}

.contact-intro h1 {
  margin: 0 0 18px;
  font-size: 44px;
  line-height: 1.2;
}

.contact-intro p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 19px;
}

.contact-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px 7%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.contact-details,
.contact-request {
  padding: 36px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.09);
}

.contact-details h2,
.contact-request h2,
.contact-response h2 {
  margin-top: 0;
  color: #003366;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid #e1e7ed;
}

.contact-card:last-child {
  border-bottom: 0;
}

.contact-icon {
  font-size: 34px;
}

.contact-card h3 {
  margin: 0 0 5px;
  color: #003366;
}

.contact-card p {
  margin: 0;
}

.contact-card a {
  color: #0874d1;
  font-weight: 700;
  text-decoration: none;
}

.contact-request ul {
  margin: 24px 0;
  padding-left: 22px;
}

.contact-request li {
  margin-bottom: 8px;
}

.contact-button {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 8px;
  background: #0874d1;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
}

.contact-button:hover {
  background: #003366;
}

.contact-response {
  padding: 65px 7%;
  background: #003366;
  color: #ffffff;
  text-align: center;
}

.contact-response h2 {
  color: #ffffff;
}

.contact-response p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 18px;
}

@media (max-width: 800px) {
  .contact-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {
  .contact-intro h1 {
    font-size: 34px;
  }

  .contact-details,
  .contact-request {
    padding: 26px 20px;
  }
}