/* ----------------------------- */
/* CSS COMPLET pour nos-actions */
/* ----------------------------- */

/* – Reset global – */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* – Variables couleurs & typo – */
:root {
    --primary-blue: #0056b3;
    --accent-red: #e31b23;
    --neutral-dark: #333;
    --neutral-light: #fff;
    --border-light: #eaeaea;
    --font-sans: 'Poppins', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

/* – Base du document – */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--neutral-dark);
    background: var(--neutral-light);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* – Liens & boutons – */
a {
    text-decoration: none;
    color: var(--accent-red);
    transition: opacity .3s;
}

a:hover {
    opacity: .8;
}

.btn {
    display: inline-block;
    background: var(--primary-blue);
    color: var(--neutral-light);
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    font-family: var(--font-body);
    transition: background .3s;
}

.btn:hover {
    background: darken(var(--primary-blue), 10%);
}

.btn.secondary {
    background: var(--accent-red);
}

.btn.secondary:hover {
    background: darken(var(--accent-red), 10%);
}

/* – HEADER – */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--neutral-light);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
}

.logo img {
    height: 50px;
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav a {
    font-weight: 500;
    color: var(--neutral-dark);
}

.nav a:hover {
    color: var(--primary-blue);
}

/* – HERO / TITRE DE PAGE – */
.actions-hero {
    padding: 100px 0 60px;
    text-align: center;
    margin-top: 80px;
    /* pour laisser place au header fixe */
}

.actions-hero h1 {
    font-family: var(--font-sans);
    font-size: 2.5rem;
    color: var(--neutral-dark);
    margin-bottom: 15px;
}

.actions-hero .intro {
    font-size: 1.1rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
}

/* – ENTRÉE DES TROIS PILIERS – */
.actions-page .action-entry {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    margin: 60px 0;
}

.actions-page .action-entry.reverse {
    flex-direction: row-reverse;
}

.actions-page .action-entry .text {
    flex: 1 1 400px;
    text-align: left;
}

.actions-page .action-entry .text h2 {
    font-family: var(--font-sans);
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.actions-page .action-entry .text p {
    font-size: 1rem;
    color: #444;
    line-height: 1.6;
}

.actions-page .action-entry .img {
    flex: 1 1 300px;
    text-align: center;
}

.actions-page .action-entry .img img {
    max-width: 100%;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* – CTA FINAL – */
.actions-cta {
    padding: 60px 0;
    text-align: center;
    background: var(--neutral-light);
}

.actions-cta h2 {
    font-family: var(--font-sans);
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--neutral-dark);
}

.actions-cta .actions-ctas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* – FOOTER – */
.footer-main {
    background: #111;
    color: #ccc;
    font-size: 0.9rem;
    padding: 40px 0 20px;
}

.footer-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
}

.footer-col {
    flex: 1 1 200px;
}

.footer-col h3 {
    font-family: var(--font-sans);
    color: #fff;
    margin-bottom: 12px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li+li {
    margin-top: 8px;
}

.footer-col a {
    color: var(--primary-blue);
}

.footer-col a:hover {
    color: var(--accent-red);
}

.footer-socials {
    margin-top: 16px;
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 28px;
    height: 28px;
    background-size: contain;
    background-repeat: no-repeat;
    display: block;
    transition: opacity .2s;
}

.social-icon:hover {
    opacity: .7;
}

/* (vos icônes) */
.social-icon.facebook {
    background-image: url('../img/facebook-icon.svg');
}

.social-icon.instagram {
    background-image: url('../img/instagram-icon.svg');
}

.social-icon.linkedin {
    background-image: url('../img/linkedin-icon.svg');
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    color: #555;
}

/* – RESPONSIVE TABLETTES – */
@media (max-width: 1024px) {
    .actions-page .action-entry {
        flex-direction: column;
        text-align: center;
    }

    .actions-page .action-entry.reverse {
        flex-direction: column;
    }
}

/* – RESPONSIVE MOBILES – */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }

    .actions-hero {
        padding: 80px 0 40px;
    }

    .actions-hero h1 {
        font-size: 2rem;
    }

    .actions-hero .intro {
        font-size: 1rem;
    }

    .actions-page .action-entry .text h2 {
        font-size: 1.5rem;
    }

    .actions-page .action-entry .text p,
    .actions-cta h2 {
        font-size: 1rem;
    }

    .actions-cta .btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}