/* ============================= */
/* RESET GLOBAL                  */
/* ============================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f8f4;
    color: #333;
}

/* ============================= */
/* HEADER                        */
/* ============================= */
#mainHeader {
    width: 100%;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 999;
    transition: 0.3s;
}

#mainHeader.scrolled {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

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

/* ============================= */
/* TOP BAR                        */
/* ============================= */
.top-bar {
    background: #198754;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    border-bottom: 2px solid #0f5132;
}

.logo img {
    display: block;
    width: 45px;
    height: auto;
    transition: transform 0.3s;
}

.logo img:hover {
    transform: scale(1.1);
}

/* BOUTONS */
#pBtn {
    display: flex;
    gap: 10px;
}

#pBtn button {
    padding: 8px 18px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.12);
}

#pBtn button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

#pBtn button.login {
    background: #0f5132;
    color: white;
}

#pBtn button:not(.login) {
    background: white;
    color: #198754;
}

#pBtn a button {
    text-decoration: none;
}

/* ============================= */
/* MENU                          */
/* ============================= */
.row {
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.menu {
    width: 100%;
}

.menu-main {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 15px 0;
}

.menu-main li a {
    text-decoration: none;
    font-weight: 600;
    color: #333;
    padding: 10px 16px;
    border-radius: 6px;
    transition: 0.3s;
}

.menu-main li a:hover {
    background: #198754;
    color: white;
    transform: translateY(-2px);
}

/* ============================= */
/* HERO SECTION                  */
/* ============================= */
.page-hero {
    background: linear-gradient(135deg, #0f5132, #198754);
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.page-hero h1 {
    font-size: 38px;
    margin-bottom: 15px;
    font-weight: 700;
}

.page-hero p {
    font-size: 18px;
    opacity: 0.9;
}

/* ============================= */
/* CONTENT                       */
/* ============================= */
.page-content {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

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

.info-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-top: 5px solid #198754;
    transition: 0.3s;
}

.info-card h3 {
    margin-bottom: 15px;
    color: #0f5132;
    font-size: 20px;
}

.info-card p {
    font-size: 15px;
    line-height: 1.6;
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* ============================= */
/* SECTION SECONDAIRE            */
/* ============================= */
.section-secondary {
    background: white;
    padding: 70px 20px;
}

.section-secondary .container {
    max-width: 1100px;
    margin: auto;
    text-align: center;
}

.section-secondary h2 {
    font-size: 30px;
    color: #198754;
    margin-bottom: 15px;
}

.section-secondary p {
    margin-bottom: 40px;
    color: #555;
}

.grid {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    justify-content: center;
}

.card {
    background: #198754;
    color: white;
    padding: 25px 40px;
    border-radius: 10px;
    font-weight: 600;
    transition: 0.3s;
    cursor: pointer;
}

.card:hover {
    background: #0f5132;
    transform: scale(1.05);
}

/* ============================= */
/* RESPONSIVE                    */
/* ============================= */
@media(max-width: 768px) {
    .menu-main {
        flex-direction: column;
        gap: 10px;
        padding: 20px;
    }

    .page-hero h1 {
        font-size: 28px;
    }

    .grid {
        flex-direction: column;
    }
}