/* ================= RESET ================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background: #f5f5f5;
    color: darkblue;
    line-height: 1.5;
}

/* ================= HEADER ================= */

.header {
    background: #ffffff;
    border-bottom: 2px solid #eee;
    padding: 0.6rem 1rem;

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
}

/* LOGO */
.logo {
    width: 160px;   /* ← règle ton problème de logo énorme */
    height: auto;
}

/* SOCIAL */
.social-header {
    display: flex;
    gap: 10px;
    margin-top: 4px;
}

.social-header img {
    width: 40px;
    height: 40px;
    transition: 0.2s;
}

.social-header a:hover img {
    transform: scale(1.15);
}


/* TITRE */
.header h1 {
    margin-top: 6px;
    font-size: 24px;
}

.header p {
    font-size: 13px;
    margin-top: 2px;
}


/* ================= MENU ================= */

.menu {
    background: darkblue;
}

.menu ul {
    list-style: none;
    display: flex;
    justify-content: center;
}

.menu li {
    margin: 0 10px;
}

.menu a {
    display: block;
    padding: 14px 18px;
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.menu a:hover {
    background: #001f5c;
}

/* ================= MAIN ================= */

main {
    max-width: 1100px;
    margin: auto;
    padding: 2rem;
}

section {
    margin-bottom: 3rem;
}

section h2 {
    margin-bottom: 10px;
}

/* ================= BOUTONS ================= */

.btn {
    display: inline-block;
    background: darkblue;
    color: white;
    padding: 12px 22px;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.3s;
}

.btn:hover {
    background: #001f5c;
}

/* ================= PARTENAIRES ================= */

.partenaires-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.partenaire-card {
    background: white;
    padding: 16px;
    border-radius: 10px;
    text-decoration: none;
    color: darkblue;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.partenaire-card h3 {
    margin-bottom: 6px;
}

.partenaire-card p {
    font-size: 14px;
}

.partenaire-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

/* ================= CONTACT ================= */

.contact {
    list-style: none;
    margin-bottom: 1rem;
}

.contact li {
    margin-bottom: 6px;
}

.contact-form {
    max-width: 420px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: darkblue;
}

.contact-form textarea {
    min-height: 100px;
    resize: vertical;
}

.contact-form button {
    background: darkblue;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.contact-form button:hover {
    background: #001f5c;
}

/* ================= FOOTER ================= */

footer {
    background: darkblue;
    color: white;
    text-align: center;
    padding: 1rem;
}

footer a {
    color: white;
    margin-left: 10px;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {
    .menu ul {
        flex-direction: column;
    }

    main {
        padding: 1.5rem 1rem;
    }
}
