/* ===========================
   ACTIONS.CSS - Page Nos Actions
   =========================== */

/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #FFFFFF;
    color: #333;
    line-height: 1.6;
}

/* Variables de couleurs */
:root {
    --dark-blue: #2d3e7e;
    --light-blue: #a8c5e8;
    --border-red: #d9534f;
    --text-dark: #333;
    --text-light: #666;
    --bg-white: #ffffff;
    --bg-light-gray: #f8f9fa;
}

/* Container principal */
.actions-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* En-tête de la page */
.actions-header {
    text-align: center;
    margin-bottom: 60px;
}

.actions-header h1 {
    color: var(--dark-blue);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.actions-header h2 {
    color: var(--dark-blue);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.actions-header .intro-text {
    color: var(--text-dark);
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
}

/* Sections d'actions */
.action-section {
    margin-bottom: 80px;
    scroll-margin-top: 80px; /* Pour le scroll avec ancres */
}

.section-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.section-content.reverse {
    direction: rtl;
}

.section-content.reverse > * {
    direction: ltr;
}

/* Titres de section */
.section-title {
    margin-bottom: 25px;
}

.section-title h2 {
    color: var(--dark-blue);
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* Images */
.image-container img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.image-placeholder {
    background-color: var(--bg-light-gray);
    border: 2px solid #ddd;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    color: var(--text-light);
    font-size: 1.2rem;
}

/* Blocs d'information */
.info-block {
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.info-block h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.info-block h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 10px;
}

.info-block p {
    line-height: 1.8;
    margin-bottom: 15px;
}

.info-block ul {
    list-style: none;
    padding-left: 0;
    margin: 15px 0;
}

.info-block ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    line-height: 1.6;
}

.info-block ul li::before {
    content: "•";
    position: absolute;
    left: 8px;
    font-weight: bold;
}

/* Bloc bleu foncé */
.info-block.dark-blue {
    background-color: var(--dark-blue);
    color: #ffffff;
}

.info-block.dark-blue h3,
.info-block.dark-blue h4 {
    color: #ffffff;
}

.info-block.dark-blue ul li::before {
    color: #ffffff;
}

/* Bloc bleu clair */
.info-block.light-blue {
    background-color: var(--light-blue);
    color: var(--text-dark);
}

.info-block.light-blue h3,
.info-block.light-blue h4 {
    color: var(--dark-blue);
}

/* Bloc pratique avec bordure rouge */
.info-block.practical {
    background-color: var(--bg-white);
    border: 2px solid var(--border-red);
    color: var(--text-dark);
}

.info-block.practical h3 {
    color: var(--dark-blue);
    text-align: center;
    margin-bottom: 20px;
}

.info-block.practical h4 {
    color: var(--dark-blue);
    font-weight: 700;
    margin-top: 15px;
    margin-bottom: 8px;
}

.info-block.practical p,
.info-block.practical ul li {
    color: var(--text-dark);
    font-size: 0.95rem;
}

/* Bloc Focus */
.info-block.focus h3 {
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 20px;
}

/* Pied de section avec bouton */
.section-footer {
    text-align: center;
    margin-top: 30px;
}

.btn-contact {
    display: inline-block;
    padding: 12px 40px;
    background-color: var(--dark-blue);
    color: #ffffff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(45, 62, 126, 0.3);
}

.btn-contact:hover {
    background-color: #1f2d5c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 62, 126, 0.4);
}

/* Responsive Design */
@media (max-width: 992px) {
    .section-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .section-content.reverse {
        direction: ltr;
    }

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

    .actions-header h2 {
        font-size: 1.5rem;
    }

    .section-title h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .actions-container {
        padding: 30px 15px;
    }

    .actions-header {
        margin-bottom: 40px;
    }

    .actions-header h1 {
        font-size: 1.8rem;
    }

    .actions-header h2 {
        font-size: 1.3rem;
    }

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

    .section-title h2 {
        font-size: 1.3rem;
    }

    .info-block {
        padding: 20px;
    }

    .info-block h3 {
        font-size: 1.2rem;
    }

    .info-block h4 {
        font-size: 1rem;
    }

    .btn-contact {
        padding: 10px 30px;
        font-size: 1rem;
    }

    .action-section {
        margin-bottom: 60px;
    }
}

@media (max-width: 480px) {
    .actions-header h1 {
        font-size: 1.5rem;
    }

    .actions-header h2 {
        font-size: 1.2rem;
    }

    .section-title h2 {
        font-size: 1.2rem;
    }

    .info-block {
        padding: 15px;
    }
}
