* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f5f5f5;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 60px;
    background-color: #000000;
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Logo */
.logo {
    font-size: 1.4rem;
    font-weight: bold;
}

/* Liens navbar */
.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #E30613;
}

/* Bouton rouge */
.btn {
    background-color: #E30613;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
}

.btn:hover {
    background-color: #c00410;
}

/* Burger */
.burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.burger span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 5px;
    transition: 0.3s;
}

/* Responsive */
@media (max-width: 768px) {

    .nav-links, 
    .btn {
        display: none;
    }

    .burger {
        display: flex;
    }

    /* Menu mobile visible */
    .nav-links.show {
        position: absolute;
        top: 70px;
        right: 0;
        background: #000000;
        width: 100%;
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 20px 0;
        animation: fadeIn 0.3s ease;
    }

    /* Animation */
    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }
}

/* Page header */
.page-header {
    padding: 80px 30px;
    text-align: center;
    background: #000000;
    color: white;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

/* Liste formations */
.formations-list {
    padding: 60px 80px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.formation-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: 0.3s;
}

.formation-card:hover {
    transform: translateY(-8px);
}

.formation-card h2 {
    margin-bottom: 15px;
    color: #000;
}

.formation-card p {
    margin-bottom: 20px;
}

/* Active link */
.nav-links .active {
    color: #E30613;
    font-weight: bold;
}

/* Bouton rouge pour les programmes */
.cta {
    display: inline-block;
    background: #E30613;      /* rouge SSA */
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.cta:hover {
    background: #c00410;      /* rouge foncé au survol */
}

/* Section événements */
.events-section {
    padding: 60px 80px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.event-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    text-align: center;
}

.event-card:hover {
    transform: translateY(-10px);
}

.event-card h2 {
    margin-bottom: 10px;
}

.event-card p {
    margin-bottom: 15px;
    font-size: 0.95rem;
}

/* Active menu */
.nav-links .active {
    color: #E30613;
    font-weight: bold;
}

/* Section contact */
.contact-section {
    padding: 60px 80px;
    display: flex;
    justify-content: center;
}

.contact-form {
    width: 100%;
    max-width: 500px;
    background: white;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.contact-form label {
    font-weight: 600;
    margin-top: 15px;
    display: block;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    transition: border 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #E30613;
}

.contact-form textarea {
    min-height: 130px;
    resize: vertical;
}

/* Bouton rouge déjà défini par .cta */

/* Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f5f5f5;
    color: #333;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 60px;
    background-color: #000;
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .logo {
    font-size: 1.4rem;
    font-weight: bold;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #E30613;
}

/* Burger menu */
.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: white;
    transition: all 0.3s ease;
}

.burger.active div:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.burger.active div:nth-child(2) {
    opacity: 0;
}
.burger.active div:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 70px;
        right: 0;
        background-color: #000;
        flex-direction: column;
        width: 200px;
        height: calc(100vh - 70px);
        transform: translateX(100%);
        transition: transform 0.3s ease;
    }
    .nav-links.active {
        transform: translateX(0);
    }
    .burger {
        display: flex;
    }
}

/* Contact Section */
.contact-section {
    max-width: 700px;
    margin: 80px auto;
    padding: 40px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 0.8s forwards;
}

.contact-section h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #E30613;
}

.contact-section label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.contact-section input,
.contact-section textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 12px;
    font-size: 1rem;
    transition: border 0.3s ease, box-shadow 0.3s ease;
}

.contact-section input:focus,
.contact-section textarea:focus {
    outline: none;
    border-color: #E30613;
    box-shadow: 0 0 10px rgba(227,6,19,0.3);
}

.btn {
    display: inline-block;
    background-color: #E30613;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px #E30613;
}

/* Animation apparitions */
@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(50px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Page Merci */
.thanks-section {
    max-width: 600px;
    margin: 100px auto;
    padding: 40px;
    text-align: center;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.thanks-section h1 {
    color: #E30613;
    margin-bottom: 20px;
}

/* Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f5f5f5;
    color: #333;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 60px;
    background-color: #000;
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .logo {
    font-size: 1.4rem;
    font-weight: bold;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #E30613;
}

/* Burger menu */
.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: white;
    transition: all 0.3s ease;
}

.burger.active div:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.burger.active div:nth-child(2) {
    opacity: 0;
}
.burger.active div:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 70px;
        right: 0;
        background-color: #000;
        flex-direction: column;
        width: 200px;
        height: calc(100vh - 70px);
        transform: translateX(100%);
        transition: transform 0.3s ease;
    }
    .nav-links.active {
        transform: translateX(0);
    }
    .burger {
        display: flex;
    }
}

/* Buttons */
.btn {
    background-color: #E30613;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px #E30613;
}

/* Hero Section */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 100px 60px;
    background: linear-gradient(135deg, #000000, #E30613);
    color: white;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1 1 400px;
    opacity: 0;
    transform: translateX(-50px);
    animation: fadeInLeft 1s forwards;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-btn {
    background-color: #fff;
    color: #E30613;
}

.hero-btn:hover {
    background-color: #E30613;
    color: #fff;
}

.hero-image {
    flex: 1 1 400px;
    text-align: center;
    opacity: 0;
    transform: translateX(50px);
    animation: fadeInRight 1s forwards;
}

.hero-image img {
    max-width: 100%;
    border-radius: 20px;
}

/* Animations */
@keyframes fadeInLeft {
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 900px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding: 60px 20px;
    }
    .hero-content, .hero-image {
        transform: none;
        animation: fadeIn 1s forwards;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.programme-section {
    padding: 60px 20px;
    max-width: 1100px;
    margin: auto;
}

/* Intro */
.intro {
    text-align: center;
    margin-bottom: 50px;
}

.intro h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
    font-weight: 700;
    color: #E30613;
}

.intro p {
    font-size: 1.1rem;
    color: #444;
}

/* Grid */
.programme-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Card Base */
.programme-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 22px;
    border: 1px solid #eee;
    transition: 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Ligne décorative */
.programme-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: #E30613;
    opacity: 0.15;
    transition: 0.3s ease;
}

/* Icônes */
.card-icon {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: rgba(227, 6, 19, 0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 20px;
    color: #E30613;
}

.programme-card h3 {
    margin-bottom: 10px;
    font-size: 1.35rem;
    color: #000;
}

.programme-card p {
    color: #555;
    line-height: 1.6;
}

/* Hover */
.programme-card:hover {
    transform: translateY(-8px);
    border-color: #E30613;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.programme-card:hover::before {
    opacity: 0.9;
}

/* Police + Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #f3f3f3;
    color: #000;
}

/* SECTION */
.programme-section {
    padding: 80px 10%;
    text-align: center;
    animation: fadeIn 1s ease forwards;
}

.title {
    font-size: 42px;
    font-weight: 700;
    color: #000;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 18px;
    margin-bottom: 50px;
    opacity: 0.8;
}

/* GRID */
.programme-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

/* CARD AVEC GLOW ET ANIMATION */
.programme-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    border-left: 5px solid #E30613; /* Rouge Songhoy */
    transition: all 0.35s ease;
    transform: translateY(0);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

/* Glow effect */
.programme-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(227, 6, 19, 0.18), transparent 40%);
    opacity: 0;
    transition: 0.4s ease;
}

.programme-card:hover::after {
    opacity: 1;
}

/* Hover dynamique */
.programme-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 35px rgba(227, 6, 19, 0.18);
}

/* TITRES */
.programme-card h3 {
    font-size: 22px;
    color: #E30613;
    margin-bottom: 10px;
}

/* Animation d’apparition */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
