html {
    scroll-behavior: smooth;
}

.header a:hover {
    text-decoration: underline;
}
.hero-section {
    position: relative;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;   /* hero + image + barre */
    align-items: center;
}
.hero {
    text-align: center;
    padding: 80px 20px;
    background: white;
}

.hero h1 {
    font-size: 36px;
}

.hero-link {
    display: inline-block;
    margin-top: 20px;
    font-size: 16px;
    font-weight: 500;
    color: #070000;
    text-decoration: none;
    position: relative;
}

.hero-link::after {
    content: "";
    display: block;
    width: 40px;
    height: 2px;
    background: #061ef8;
    margin-top: 6px;
    transition: width 0.3s ease;
}

.hero-link:hover::after {
    width: 70px;
}

.btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    background: #27ae60;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

footer {
    text-align: center;
    padding: 15px;
    background: #2c3e50;
    color: white;
}

.form-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 15px;
    background: linear-gradient(66deg, #0a3cff, #d0edfa);
}

.form-card {
    background: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    width: 100%;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.form-card h1 {
    text-align: center;
    margin-bottom: 10px;
    color: #2c3e50;
}

.subtitle {
    text-align: center;
    font-size: 14px;
    margin-bottom: 30px;
    color: #666;
}
h3 {
    margin-top: 30px;
    color: #34495e;
}
.form-section h1 {
    text-align: center;
    margin-bottom: 30px;
}

.form-section h3 {
    margin-top: 25px;
    color: #2c3e50;
}

form input {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form button {
    width: 100%;
    margin-top: 25px;
}


.form-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
}

form input,
form select {
    width: 100%;
    padding: 12px 14px;
    margin-top: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
}

form input:focus,
form select:focus {
    outline: none;
    border-color: #3498db;
}

.btn {
    width: 100%;
    margin-top: 35px;
    padding: 14px;
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: #fff;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.btn:hover {
    opacity: 0.9;
}

.admin-section {
    max-width: 1000px;
    margin: 40px auto;
    background: white;
    padding: 30px;
    border-radius: 8px;
}

.admin-section table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.admin-section table, th, td {
    border: 1px solid #ccc;
}

.admin-section th, td {
    padding: 10px;
    text-align: left;
}

.admin-section th {
    background: #2c3e50;
    color: white;
}

.admin-section tr:nth-child(even){
    background: #f2f2f2;
}

tr td:first-child {
    font-weight: bold;

}

.valid {
    background: #d4edda; /* vert clair */
}

.not-valid {
    background: #f8d7da; /* rouge clair */
}

/* Hero avec image de fond */
.hero {
    height: 100vh;
    background: url('../images/fond.jpg') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background: rgba(0,0,0,0.5); /* fondu sombre */
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

#infos {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 50px 20px;
    background: #f5f5f5;
}

.info-card {
    background: white;
    padding: 25px;
    margin: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    flex: 1 1 250px;
    max-width: 300px;
    transition: transform 0.3s;
}

.info-card:hover {
    transform: translateY(-10px);
}

/* Valeurs avec icônes */
.valeurs-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.valeurs-list li {
    background: rgba(0, 0, 0, 0.4);
    padding: 12px 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    font-weight: 500;
    font-size: 17px;
    transition: transform 0.3s;
}

.valeurs-list li:hover {
    transform: translateY(-5px);
    background: rgba(0,0,0,0.6);
}

.valeur-icon {
    margin-right: 10px;
    font-size: 20px;
}

.apropos-wrapper {
    max-width: 1100px;
    margin: auto;
}

.btn-add {
    margin-top: 15px;
    padding: 10px;
    width: 100%;
    background: #ecf0f1;
    border: 1px dashed #3498db;
    color: #2c3e50;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
}

.btn-add:hover {
    background: #dfe6e9;
}

.form-card {
    backdrop-filter: blur(6px);
    border: 1px solid rgba(0,0,0,0.05);
    animation: fadeIn 0.6s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

form input::placeholder {
    color: #999;
}

form select {
    background-color: #fff;
    cursor: pointer;
}

h3 {
    position: relative;
    padding-left: 10px;
}

h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    height: 70%;
    width: 4px;
    background: linear-gradient(#3498db, #2c3e50);
    border-radius: 5px;
}
.field {
    margin-top: 18px;
}

.field label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #2c3e50;
}

.required {
    color: red;
    font-weight: bold;
}

.field input,
.field select {
    width: 100%;
    padding: 13px 14px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 14px;
}

.field input:focus,
.field select:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 0 2px rgba(52,152,219,0.15);
}

/* ================= ADMIN TABLE ================= */

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 14px;
}

.admin-table th {
    background: #2c3e50;
    color: #ffffff;
    text-align: center;
    font-weight: 600;
    white-space: nowrap;
}

.admin-table tr:nth-child(even) {
    background: #fafafa;
}

.admin-table .center {
    text-align: center;
    white-space: nowrap;
}

.col-status { width: 60px; }
.col-action { width: 90px; }
.col-id { width: 60px; }
.col-eglise { width: 180px; }
.col-adresse { width: 260px; }
.col-nom { width: 140px; }
.col-tel { width: 120px; }
.col-email { width: 200px; }
.col-participants { width: 220px; }
.col-date { width: 140px; }

.adresse {
    line-height: 1.4;
    font-size: 13px;
}

.participants ul {
    margin: 0;
    padding-left: 18px;
}

.participants li {
    font-size: 13px;
}

.date {
    font-size: 12px;
    color: #666;
}

/* Responsive */
.admin-section {
    overflow-x: auto;
}

/* === FIX TITRES TABLE ADMIN (PRIORITÉ MAX) === */
.admin-section table thead th {
    background-color: #2c3e50 !important;
    color: #ffffff !important;
    text-align: center;
    font-weight: 600;
}
/* RESET & BASE */
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
}

section:not(.gradient) {
    padding: 80px 20px;
}

img {
    max-width: 100%;
    display: block;
}

/* CONTAINER */
.container {
    max-width: 1100px;
    margin: auto;
}

/* TEXT */
.center-text {
    text-align: center;
    color: #666;
}

.mt-40 {
    margin-top: 40px;
}

/* HERO */
.hero-home {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    width: 100%;
}

.hero-home h1 {
    font-size: 54px;
    color: #2c3e50;
}

.hero-home p {
    font-size: 22px;
    color: #555555;
    margin-top: -6px;   /* monte le titre */
    line-height: 1.2;
}

.hero-home img {
    border-radius: 20px;
    margin-top: 30px;
    width: 100%;
    max-width: 500px;
}

/* BUTTON */
.btn-primary {
    display: inline-block;
    margin-top: 20px;
    padding: 14px 28px;
    background: #6c5ce7;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
}

/* PARTNERS */
.partners {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 40px;
}

.partners span {
    font-weight: 600;
    color: #888;
    margin: 10px;
}

/* GRADIENT */
.gradient {
    background: linear-gradient(135deg, #ededed, #dcdcdc);
    color: #2c3e50;
}

/* CARDS */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.card {
    background: #ffffff;
    padding: 10px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.card img {
    border-radius: 10px;
    margin-bottom: 15px;
}

.card h3 {
    margin: 10px 0;
}

/* TESTIMONIALS */
.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.testimonial {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
}

/* ================= HEADER TRANSPARENT ================= */

.site-header {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 100;
    background: transparent;
}

.header-inner {
    max-width: 1200px;
    margin: auto;
    padding: 18px 30px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
}
.logo {
    justify-self: start; /* 🔒 toujours à gauche */
}
/* Logo */
.logo h2 {
    margin: 0;
    font-size: 20px;
    color: #000;
}

/* Navigation centre */
.nav-center {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.nav-center a {
    text-decoration: none;
    font-weight: 500;
    color: #000;
    font-size: 15px;
    position: relative;
}

.nav-center a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: #6c5ce7;
    transition: width 0.3s;
}

.nav-center a:hover::after {
    width: 100%;
}

/* Bouton inscription */
.btn-inscription {
    padding: 10px 20px;
    border-radius: 30px;
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-inscription:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

    .hero-text{
    margin-top: -100px;
}

/* ===== SOCIAL BAR HERO ===== */

.gradient {
    position: relative; /* 🔑 pour la superposition */
}

.social-bar {
    width: auto;                 /* toute la largeur */
    max-width: none;             /* pas de limite */
    display: flex;
    justify-content: space-around;
    padding: 20px;
    margin-top: -20px;            /* un petit espace avec l’image */
    background: linear-gradient(90deg, #0a3cff, #00b4ff);
    color: #fff;
    border-radius: 0;

}

.social-link {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;

    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}
.social-link i {
    font-size: 18px;
}

.social-link:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.hero-image-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

/* ================= A PROPOS ================= */

.about-section {
    background: #ededed;
}
.about-subtitle {
    font-size: 22px;
    color: #2c3e50;
    margin-bottom: 24px;
    position: relative;
    margin-top: 0;
}

.about-subtitles {
    font-size: 22px;
    color: #2c3e50;
    margin-bottom: 24px;
    position: relative;
    margin-top: 20;
}
/* Petite barre décorative */
.about-subtitle::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #0a3cff, #00b4ff);
    margin-top: 6px;
}
.about-header {
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 60px;
    margin-top: -70px;
}

.about-header h2 {
    font-size: 34px;
    color: #2c3e50;
    margin-bottom: 12px;
}

.apropos-text {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 600px;
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-left: 100px;
    margin-top: -30px;
}

/* Contenu principal */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

/* Image */
.about-image img {
    width: 60%;
    border-radius: 18px;
    margin-top: -40px;
    margin-left: 120px;
}

/* Valeurs */
.about-values {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 400px;
}
.image-about {
    flex-shrink: 0;
    margin-left: -8px;
}
.image-about img {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

.value-text h4 {
    margin: 0;
    font-size: 16px;
    color: #2c3e50;
}
.value-text p {
    margin: 4px 0 0;
    font-size: 14px;
    color: #555;
    
}

.value-text- {
    margin: 4px 0 0;
    font-size: 14px;
    color: #555;
}

.value-text- p {
    margin: 4px 0 0;
    font-size: 14px;
    color: #555;
    margin-top: -30px;
}
.value-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #f7f8fa00;
    padding: 4px 6px;
    border-radius: 12px;
    margin-top: -15px;
}

.value-icon {
    font-size: 22px;
    margin-top: 4px;
}

.value-item h4 {
    margin: 0;
    font-size: 16px;
    color: #2c3e50;
}

.value-item p {
    margin: 4px 0 0;
    font-size: 14px;
    color: #555;
}
.value-item:hover {
    background: #eef4ff;
    transform: translateX(4px);
    transition: 0.3s;
}
.about-main-title {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
    margin-top: -5px;
}
.about-intro {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 28px;
    margin-top: -25px;
}
.about-section-title {
    font-size: 18px;
    font-weight: 600;
    color: #0a3cff;
    margin-bottom: 18px;
    position: relative;
    margin-top: -30px;
}

.about-section-title::after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #0a3cff, #00b4ff);
    margin-top: 6px;
}
.programme {
    background: linear-gradient(180deg, #09d0df, #1e3c72);;
}
.about-program {
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 60px;
    margin-top: -70px;
}

.about-program h2 {
    font-size: 34px;
    color: #ffffff;
    margin-bottom: 12px;
}

.about-program p {
    font-size: 15px;
    color: #ffffff;
    line-height: 1.6;
}

/* ================= ETAPES INSCRIPTION ================= */

.steps-section {
    background: linear-gradient(135deg, #dbeef5, #e9e9e9);
    padding: 90px 0;
}

.steps-header {
    text-align: center;
    max-width: 650px;
    margin: auto;
    margin-bottom: 60px;
}

.steps-header h2 {
    font-size: 34px;
    color: #2c3e50;
    margin-bottom: 12px;
}

.steps-header p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

/* Grille */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* Carte */
.step-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 40px 28px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

/* Numéro */
.step-number {
    font-size: 42px;
    font-weight: 700;
    color: rgba(10, 60, 255, 0.15);
    position: absolute;
    top: 20px;
    right: 24px;
}

/* Texte */
.step-card h4 {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.step-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

/* ================= CTA INSCRIPTION ================= */

.steps-cta {
    text-align: center;
    margin-top: 50px;
}

.btn-steps {
    display: inline-block;
    padding: 16px 36px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    border-radius: 40px;
    background: linear-gradient(135deg, #0a3cff, #00b4ff);
    box-shadow: 0 12px 30px rgba(0, 80, 255, 0.35);
    transition: all 0.3s ease;
}

.btn-steps:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(0, 80, 255, 0.45);
}

/* ================= CONTACT ================= */


.contact-section {
    padding: 90px 20px;
    background: linear-gradient(135deg, #0a3cff, #00b4ff);
}

.contact-header {
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px;
    margin-top: -30;
}
.contact-headers {
    text-align: center;
    max-width: 700px;
    margin: auto;
    margin-bottom: 50px;
}
.contact-headers h2 {
    font-size: 32px;
    color: #ffffff;
}

.contact-headers p {
    font-size: 15px;
    color: #ffffff;
}

.contact-header h2 {
    font-size: 32px;
    color: #ffffff;
}

.contact-header p {
    font-size: 15px;
    color: #ffffff;
}

.contact-socials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 25px;
}

.contact-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 22px;
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: #2c3e50;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.contact-card img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 35px rgba(0,0,0,0.15);
}

/* ================= TEMOIGNAGES ================= */

.testimonials-section {
    padding: 90px 20px;
    background: #f6f8fc;
}

.testimonials-header {
    text-align: center;
    max-width: 700px;
    margin: auto;
    margin-bottom: 50px;
}

.testimonials-header h2 {
    font-size: 34px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.testimonials-header p {
    font-size: 15px;
    color: #666;
}

/* Scroll horizontal */
.testimonials-scroll {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
}

/* Masque scrollbar (clean) */
.testimonials-scroll::-webkit-scrollbar {
    height: 8px;
}

.testimonials-scroll::-webkit-scrollbar-thumb {
    background: #cfd8ff;
    border-radius: 10px;
}

/* ================= PHOTO TEMOIGNAGE ================= */

.testimonial-photo {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #e0e7ff;
}

.testimonial-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Ajustement carte */
.testimonial-card {
    min-width: 280px;
    max-width: 280px;
    background: #ffffff;
    border-radius: 18px;
    padding: 28px 24px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: transform 0.3s ease;
}


.testimonial-card:hover {
    transform: translateY(-6px);
}

/* Contenu */
.testimonial-content p {
    font-size: 15px;
    color: #444;
    line-height: 1.6;
}

/* Auteur */
.testimonial-author {
    margin-top: 25px;
}

.testimonial-author strong {
    display: block;
    font-size: 15px;
    color: #2c3e50;
}

.testimonial-author span {
    font-size: 13px;
    color: #777;
}

/* ================= PAGE TRANSITION ================= */

.page-transition {
    opacity: 0;
    transform: translateY(15px);
    animation: pageEnter 0.6s ease forwards;
}

@keyframes pageEnter {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* état de sortie */
.page-exit {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.page-exit-active {
    opacity: 0;
    transform: translateY(-15px);
}

/* ================= SUCCESS MESSAGE ================= */

.success-wrapper{
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #f4f8ff, #ffffff);
    padding: 20px;
}

.success-card{
    background: #fff;
    padding: 40px 35px;
    border-radius: 18px;
    text-align: center;
    max-width: 480px;
    width: 100%;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    animation: fadeUp 0.8s ease;
}

.success-icon{
    margin-bottom: 15px;
}

.check-emoji{
    font-size: 60px;
    display: inline-block;
    animation: pop 1.2s ease infinite;
}

.success-card h2{
    color: #1f2d3d;
    margin-bottom: 10px;
    font-size: 26px;
}

.success-card p{
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 25px;
}

.success-actions{
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.success-btn{
    background: linear-gradient(90deg, #0a3cff, #00b4ff);
    color: #fff;
    padding: 12px 22px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.success-btn:hover{
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.success-btn-outline{
    border: 2px solid #0a3cff;
    color: #0a3cff;
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.success-btn-outline:hover{
    background: #0a3cff;
    color: #fff;
}

/* Animations */

@keyframes pop {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ================= EXPORT ADMIN ================= */

.export-box{
    background:#f8faff;
    padding:20px;
    border-radius:14px;
    margin-bottom:30px;
    max-width:500px;
    box-shadow:0 5px 20px rgba(0,0,0,0.05);
}

.export-box h3{
    margin-bottom:15px;
    color:#1f2d3d;
}

.export-row{
    display:flex;
    flex-direction:column;
    margin-bottom:12px;
}

.export-row label{
    font-size:14px;
    margin-bottom:4px;
    color:#444;
}

.export-row input,
.export-row select{
    padding:10px;
    border-radius:8px;
    border:1px solid #ddd;
}

/* RESPONSIVE MOBILE */
@media (max-width: 768px) {

    /* HERO */
    .hero-home {
        grid-template-columns: 1fr;
        padding-top: 120px;
        text-align: center;
    }
    .contact-grid {
            grid-template-columns: 1fr;
        }
    
    .hero-home h1 {
        font-size: 35px;
        margin-top: -80px;
    }

    .hero-text{
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    }

    .hero-home p {
        font-size: 13px;
        line-height: 1.4;
        margin-top: -14px;
    }

    .hero-home img {
        width: 100%;          /* 👈 réduit la largeur */
        max-width: 400px;    /* 👈 limite la taille */
        border-radius: 16px;
        margin-top: -40px;  /* 👈 ajuste la valeur */
        margin-left: auto;
        margin-right: auto;
    }

    /* HEADER */
    .header-inner {
        grid-template-columns: auto 1fr auto;
        gap: 10px;
        padding: 30px 40px;
    }
    
    .logo {
    justify-self: start; /* 🔒 toujours à gauche */
    }

    .logo h2 {
        font-size: 10px;
    }

    .nav-center {
        display: flex;
        justify-content: center;
        gap: 15px;
        flex-wrap: nowrap; /* 🔑 reste horizontal */
    }

    .nav-center a {
        font-size: 10px;
    }

    .btn-inscription {
        padding: 6px 12px;
        font-size: 10px;
        background: linear-gradient(135deg, #0a3cff, #00b4ff);
    }
    .btn-primary {
        margin-top: -3px;
        font-size: 13px;
        padding: 10px 20px;
    }
    .social-bar {
    position: absolute;
    bottom: 12px; /* 🔑 collée à l’image */
    left: 50%;
    transform: translateX(-50%);

    width: calc(100% - 24px);
    max-width: 480px;

    padding: 12px 16px;
    background: linear-gradient(90deg, #031d88, #00b4ff);
    border-radius: 12px;

    display: flex;
    justify-content: center;
    gap: 18px;

    z-index: 5;
}


    .social-link {
        font-size: 12px;
    }

    .social-link i {
        font-size: 16px;
    }

    .about-header h2 {
    font-size: 25px;
    color: #2c3e50;
    margin-bottom: 12px;
}
    .apropos-text {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 700px;
    font-size: 12px;
    color: #666;
    line-height: 1.6;
    margin-left: 50px;
    margin-top: -30px;
}
 .about-content{
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 12px;
    }

    /* Image à gauche */
    .about-image{
        flex: 0 0 38%;
        margin-left: -70px;
        margin-top: 60px;
    }

    .about-image img{
        width: 100%;
        height: auto;
        border-radius: 12px;
        object-fit: cover;
    }

    /* Bloc textes à droite */
    .about-values{
        flex: 1;
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        max-width: 100%;
        margin-left: 150px;
        margin-top: 50px;
    }

    /* "Pourquoi nous rejoindre ?" à droite de l’image */
    .about-main-title{
        font-size: 13px;
        margin: 0;
        line-height: 1.2;
    }

    /* Intro sous le titre */
    .about-intro{
        font-size: 12px;
        line-height: 1.4;
        margin: 0;
    }

    /* "Notre mission" en bas aligné à gauche */
    .about-section-title{
        font-size: 14px;
        font-weight: 600;
        margin-top: 40px;
        margin-bottom: 6px;
        text-align: left;
        margin-left: -208px;
    }

    /* Valeurs en bas en colonne */
    .value-item{
        margin-top: 0;
        padding: 6px 6px;
        gap: 12px;
        margin-left: -208px;
    }

    .image-about img{
        width: 30px;
        height: 30px;
    }

    .value-text h4{
        font-size: 15px;
    }

    .value-text p{
        font-size: 13px;
    }
    .about-program {
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 60px;
    margin-top: -70px;
}

.about-program h2 {
    font-size: 28px;
    color: #ffffff;
    margin-bottom: 12px;
}

.about-program p {
    font-size: 12px;
    color: #ffffff;
    line-height: 1.6;
}
/* CARDS */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 25px;
}

.card {
    background: #ffffff;
    padding: 10px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.card img {
    border-radius: 10px;
    margin-bottom: 15px;
}

.card h3 {
    margin: 10px 0;
    font-size: 14px;
    margin-top: 5px;
}
.card p {
    font-size: 12px;
}
.contact-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: #2c3e50;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.contact-card img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 35px rgba(0,0,0,0.15);
}
.testimonial-card {
        min-width: 200px;
    }

}
/* Mobile */
@media (max-width: 992px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .step-card {
        padding: 32px 22px;
    }
}


