/* ---------------------------------------- */
/*               GLOBAL STYLE               */
/* ---------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700&family=Poppins:wght@300;400;500;600&display=swap');

body {
    margin: 0;
    padding: 0;
    background-color: #f4f6f9;
    font-family: "Poppins", sans-serif;
    color: #222;
}

/* ---------------------------------------- */
/*                   NAVBAR                 */
/* ---------------------------------------- */

nav {
    background: #003366;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

nav .logo {
    font-size: 22px;
    font-weight: bold;
    color: white;
}

.nav-links a {
    color: white;
    margin-left: 20px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #ffcc00;
}

/* ---------------------------------------- */
/*                MAIN CONTAINER            */
/* ---------------------------------------- */

main {
    max-width: 1100px;
    margin: 30px auto;
    padding: 10px 20px;
}

/* ---------------------------------------- */
/*               HERO SLIDER                */
/* ---------------------------------------- */

.hero-slider {
    position: relative;
    height: 420px;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 40px;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.15);
    transition: opacity 1.5s ease-in-out, transform 4s ease-in-out;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    bottom: 40px;
    left: 40px;
    color: white;
    text-shadow: 0 4px 10px rgba(0,0,0,0.6);
}

.hero-overlay h1 {
    font-size: 38px;
    font-weight: 700;
    margin: 0;
}

.hero-overlay p {
    font-size: 20px;
    margin-top: 10px;
}

/* -------- SLIDER NAV -------- */

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: white;
    cursor: pointer;
    z-index: 10;
}

.nav-arrow.left { left: 15px; }
.nav-arrow.right { right: 15px; }

.nav-arrow:hover { color: #ffd700; }

.dots {
    position: absolute;
    bottom: 15px;
    width: 100%;
    text-align: center;
}

.dot {
    height: 12px;
    width: 12px;
    background: white;
    opacity: 0.5;
    border-radius: 50%;
    margin: 0 5px;
    display: inline-block;
    cursor: pointer;
}

.dot.active {
    background: #ffd700;
    opacity: 1;
}

/* ---------------------------------------- */
/*            FORMATIONS / OPTIONS          */
/* ---------------------------------------- */

.formations-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.formation-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.formation-card h2 {
    color: #003366;
}

.sous-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8faff;
    padding: 12px 15px;
    border-radius: 10px;
}

.btn-inscrire {
    background: #003366;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
}

.btn-inscrire:hover {
    background: #0055aa;
}

/* ---------------------------------------- */
/*                  FOOTER                  */
/* ---------------------------------------- */

footer {
    text-align: center;
    margin: 40px 0 20px;
    font-size: 14px;
    color: #555;
}
.btn-primary {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 26px;
    background: #003366;
    color: white;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: 0.3s;
}

.btn-primary:hover {
    background: #0055aa;
    transform: translateY(-2px);
}




/* ================= PAGE PAIEMENT PREMIUM ================= */

.paiement-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 15px;
}

.paiement-card {
    background: white;
    max-width: 520px;
    width: 100%;
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
    border-top: 6px solid #0A2342;
}

.paiement-header {
    text-align: center;
    margin-bottom: 30px;
}

.paiement-logo {
    width: 90px;
    margin-bottom: 10px;
}

.paiement-header h1 {
    font-size: 26px;
    font-weight: 700;
    color: #0A2342;
}



.paiement-info {
    background: #F6F8FB;
    padding: 18px;
    border-radius: 10px;
    margin-bottom: 25px;
    font-size: 15px;
}

.paiement-info p {
    margin: 8px 0;
}

.amount {
    color: #C9A857;
    font-weight: 700;
    font-size: 17px;
}

.paiement-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn-pay {
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-pay.half {
    background: #003366;
    color: white;
}

.btn-pay.full {
    background: #C9A857;
    color: #0A2342;
}

.btn-pay:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.paiement-footer {
    margin-top: 30px;
    text-align: center;
    font-size: 13px;
    color: #555;
}


/* ================= PAGE PAIEMENT — STYLE SOBRE ================= */

.payment-page {
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f4f6f9;
    padding: 40px 15px;
}

.payment-box {
    background: #ffffff;
    width: 100%;
    max-width: 480px;
    padding: 35px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    border-top: 5px solid #003366;
}

.payment-box h1 {
    text-align: center;
    font-size: 24px;
    color: #003366;
    margin-bottom: 6px;
}

.school-name {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-bottom: 25px;
}

.payment-info {
    background: #f8faff;
    border: 1px solid #dbe6f3;
    padding: 18px;
    border-radius: 10px;
    font-size: 15px;
    margin-bottom: 25px;
}

.payment-info div {
    margin-bottom: 8px;
}

.payment-info span {
    font-weight: 600;
    color: #003366;
}

.payment-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.payment-form label {
    font-weight: 600;
    font-size: 15px;
    color: #333;
}

.pay-btn {
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.25s;
}

.pay-btn.secondary {
    background: #e9eef5;
    color: #003366;
    border: 1px solid #003366;
}

.pay-btn.primary {
    background: #003366;
    color: white;
}

.pay-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.payment-footer {
    margin-top: 25px;
    font-size: 13px;
    color: #555;
    text-align: center;
}





/* ================= PAGE PAIEMENT ================= */


.payment-card {
  background: #fff;
  width: 100%;
  max-width: 500px;
  padding: 35px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  border-top: 6px solid #0A2342;
}

.payment-title {
  text-align: center;
  color: #0A2342;
  font-size: 26px;
}

.payment-subtitle {
  text-align: center;
  font-size: 14px;
  color: #666;
  margin-bottom: 25px;
}


.payment-form input,
.payment-form select {
  width: 100%;
  padding: 10px;
  margin-top: 6px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.payment-choice {
  display: flex;
  justify-content: space-between;
  background: #f6f8fb;
  padding: 12px;
  border-radius: 8px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-logo {
    height: 45px;
    width: auto;
}

.wave-box {
    margin-top: 25px;
    padding: 20px;
    border: 2px dashed #00bfa5;
    border-radius: 12px;
    text-align: center;
    background: #f7fffd;
}

.btn-wave {
    display: inline-block;
    background: #00bfa5;
    color: #fff;
    padding: 14px 22px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    margin: 15px 0;
    transition: 0.3s;
}

.btn-wave:hover {
    background: #009e8a;
}

.wave-note {
    font-size: 14px;
    color: #444;
}


.receipt-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.receipt-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.receipt-logo {
  width: 45px;      /* 🔒 taille contrôlée */
  height: 45px;
  object-fit: contain;
}

.header-text {
  line-height: 1.3;
}

.title {
  font-size: 20px;
  font-weight: bold;
  color: #0A2342;
}

.subtitle {
  font-size: 13px;
  color: #555;
}