/* =========================================================
   PAGES MÉTIER – IMS-ELSASS
   Layout sobre, professionnel, duplicable
   ========================================================= */

/* Navigation entre pages métier */
.metier-nav {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #e5e7eb;
}

.metier-nav h2 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.metier-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.metier-nav li {
    margin-bottom: 10px;
}

.metier-nav a {
    font-weight: 600;
    color: #1f4aa8;
    text-decoration: none;
}

.metier-nav a:hover {
    text-decoration: underline;
}
/* ----- CONTENEUR PRINCIPAL ----- */
.content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 50px 20px;
}

/* ----- TYPOGRAPHIE GLOBALE ----- */
.content {
    font-size: 16px;
    line-height: 1.7;
    color: #222;
}

/* ----- TITRE PRINCIPAL ----- */
.content h1 {
    font-size: 2.4rem;
    margin-bottom: 20px;
    color: #0b3c78; /* bleu IMS */
}

/* ----- INTRODUCTION ----- */
.content .intro {
    font-size: 1.1rem;
    max-width: 900px;
    margin-bottom: 40px;
    color: #444;
}

/* ----- TITRES SECTIONS ----- */
.content h2 {
    margin-top: 50px;
    margin-bottom: 20px;
    font-size: 1.6rem;
    color: #0b3c78;
    border-bottom: 2px solid #e6eaf0;
    padding-bottom: 5px;
}

/* ----- SOUS-SECTIONS ----- */
.content h3 {
    margin-top: 30px;
    margin-bottom: 10px;
    font-size: 1.2rem;
    color: #1a1a1a;
}

/* ----- PARAGRAPHES ----- */
.content p {
    max-width: 900px;
    margin-bottom: 15px;
}

/* ----- LISTES ----- */
.content ul {
    margin-top: 10px;
    margin-bottom: 30px;
	margin-left: 20px;
    max-width: 900px;
	line-height: 1.6;
}

.content ul li {
    margin-bottom: 6px;
	padding-left: 5px;
}
.content a {
    color: #1f4aa8;
    font-weight: 600;
    text-decoration: none;
}

.content a:hover {
    text-decoration: underline;
}

/* ----- BLOCS PRESTATIONS (optionnel mais prêt) ----- */
.content .service-block {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e5e7eb;
}

/* ----- MISE EN AVANT (PROBLÉMATIQUES / APPROCHE) ----- */
.content .highlight {
    background-color: #f5f7fa;
    padding: 20px 25px;
    max-width: 900px;
    background: #f5f7fb;
    border-left: 4px solid #1f4aa8;
    margin: 40px 0;
}

/* ----- APPEL À L’ACTION ----- */
.content .cta {
    margin-top: 50px;
    padding: 25px;
    background-color: #f5f7fa;
    border-left: 4px solid #0b3c78;
    max-width: 900px;
    font-size: 1.05rem;
}

.content .cta a {
    display: inline-block;
    margin-top: 10px;
    padding: 12px 20px;
    background: #1f4aa8;
    color: #fff;
    border-radius: 6px;
    text-decoration: none
}

.content .cta a:hover {
    text-decoration: underline;
	background: #163b86;
}

/* ----- RESPONSIVE ----- */
@media (max-width: 768px) {

    .content {
        padding: 35px 15px;
    }

    .content h1 {
        font-size: 2rem;
    }

    .content h2 {
        font-size: 1.4rem;
    }

    .content h3 {
        font-size: 1.1rem;
    }
}

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

body {
    font-family: "Arial", sans-serif;
    background: #F4F6FA; /* gris premium */
    color: #112A63; /* bleu IMS */
    line-height: 1.6;
}

/* ------------------------------------------
   HEADER
------------------------------------------ */
.header {
    width: 100%;
    background: #ffffff;
    box-shadow: 0px 4px 14px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: auto;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 65px;
}

/* Desktop Menu */
.menu {
    display: flex;
    gap: 30px;
}

.menu a {
    text-decoration: none;
    color: #112A63;
    font-weight: 600;
    font-size: 17px;
    transition: 0.3s;
}

.menu a:hover {
    color: #0A4FA3;
}

/* Burger icon (hidden on desktop) */
.burger {
    display: none;
    font-size: 32px;
    cursor: pointer;
    color: #112A63;
}

/* ------------------------------------------
   HERO
------------------------------------------ */
.hero {
    background: linear-gradient(135deg, #112A63, #193D80);
    color: white;
    padding: 120px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    opacity: 0.9;
    max-width: 600px;
    margin: auto;
}

/* CTA Button */
.cta-btn {
    display: inline-block;
    background: white;
    color: #112A63;
    padding: 14px 28px;
    margin-top: 30px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    transition: 0.3s;
    border: none;
}

.cta-btn:hover {
    background: #E2E9F7;
}

/* ------------------------------------------
   SECTION TITLES
------------------------------------------ */
.section-title {
    text-align: center;
    font-size: 36px;
    margin-top: 50px;
    margin-bottom: 30px;
    font-weight: 700;
}

/* ------------------------------------------
   SERVICES GRID
------------------------------------------ */
.services {
    max-width: 1200px;
    margin: auto;
    padding: 20px 20px 60px 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0px 6px 18px rgba(0,0,0,0.12);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 10px 25px rgba(0,0,0,0.16);
}

.card h3 {
    margin-bottom: 10px;
    font-size: 22px;
    color: #112A63;
}

.card p {
    color: #333;
    opacity: 0.9;
}

/* ------------------------------------------
   CONTACT SECTIONS
------------------------------------------ */
.contact-hero {
    text-align: center;
    padding: 80px 20px 40px 20px;
}

.contact-hero h1 {
    font-size: 40px;
    margin-bottom: 10px;
}

.contact-hero p {
    max-width: 600px;
    margin: 0 auto;
    color: #333;
}

.contact-grid {
    max-width: 1000px;
    margin: 0 auto 40px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.contact-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 25px;
    text-align: center;
    box-shadow: 0px 4px 14px rgba(0,0,0,0.1);
}

.contact-card h3 {
    margin-bottom: 8px;
}

.contact-card p {
    color: #333;
    opacity: 0.9;
}

/* MAP WRAPPER */
.map-wrapper {
    max-width: 800px;
    margin: 0 auto 60px auto;
    padding: 20px;
    background: #E8EDF7;
    border-radius: 14px;
}

/* ------------------------------------------
   FOOTER
------------------------------------------ */
footer {
    background: #112A63;
    color: white;
    padding: 50px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

footer img {
    height: 80px;
}

footer a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
}

footer a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    margin-top: 25px;
    opacity: 0.7;
    font-size: 14px;
}

/* ------------------------------------------
   MEDIA QUERIES (TABLET + MOBILE)
------------------------------------------ */
@media (max-width: 992px) {
    .services {
        grid-template-columns: 1fr 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 780px) {

    /* MENU MOBILE */
    .menu {
        display: none;
        flex-direction: column;
        background: #ffffff;
        position: absolute;
        top: 85px;
        right: 20px;
        padding: 20px;
        width: 220px;
        border-radius: 12px;
        box-shadow: 0px 8px 25px rgba(0,0,0,0.2);
    }

    .menu.show {
        display: flex;
    }

    .burger {
        display: block;
    }

    .header-container {
        padding: 10px 18px;
    }

    /* HERO */
    .hero {
        padding: 90px 20px;
    }

    .hero h1 {
        font-size: 32px;
    }

    /* SERVICES MOBILE */
    .services {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 25px;
    }

    /* CONTACT MOBILE */
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .map-wrapper {
        margin-bottom: 40px;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
/* =========================================================
   COMPATIBILITÉ NOUVELLES PAGES (index / services)
   Sans casser l'existant
   ========================================================= */

/* Header générique → style header existant */
header {
    width: 100%;
    background: #ffffff;
    box-shadow: 0px 4px 14px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header nav {
    max-width: 1200px;
    margin: auto;
    padding: 15px 25px;
    display: flex;
    gap: 30px;
}

header nav a {
    text-decoration: none;
    color: #112A63;
    font-weight: 600;
    font-size: 17px;
}

/* Main wrapper */
main {
    background: #ffffff;
}

/* HERO ID → HERO class */
#hero {
    background: linear-gradient(135deg, #112A63, #193D80);
    color: white;
    padding: 120px 20px;
    text-align: center;
}

#hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

#hero p {
    font-size: 20px;
    opacity: 0.9;
    max-width: 650px;
    margin: auto;
}

#hero .cta a {
    display: inline-block;
    background: white;
    color: #112A63;
    padding: 14px 28px;
    margin: 30px 10px 0;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    transition: 0.3s;
    text-decoration: none;
}

#hero .cta a:hover {
    background: #E2E9F7;
}

/* Sections génériques */
section {
    max-width: 1200px;
    margin: auto;
    padding: 60px 20px;
}

/* Titres sections */
section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 30px;
    font-weight: 700;
}

/* POLES → reprend le style .services / .card */
#poles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

#poles article {
    background: white;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0px 6px 18px rgba(0,0,0,0.12);
    transition: 0.3s;
}

#poles article:hover {
    transform: translateY(-5px);
    box-shadow: 0px 10px 25px rgba(0,0,0,0.16);
}

#poles h3 {
    margin-bottom: 10px;
    font-size: 22px;
    color: #112A63;
}

#poles a {
    display: inline-block;
    margin-top: 15px;
    font-weight: bold;
    color: #0A4FA3;
}

/* SERVICES PAGE */
.service {
    max-width: 1200px;
    margin: auto;
    padding: 60px 20px;
    border-bottom: 1px solid #e5e7eb;
}

.service ul {
    margin-left: 20px;
    margin-top: 15px;
}

/* CTA finaux */
#contact-final,
#cta-services {
    background: #112A63;
    color: white;
    text-align: center;
}

#contact-final a,
#cta-services a {
    display: inline-block;
    background: white;
    color: #112A63;
    padding: 14px 28px;
    margin-top: 20px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 992px) {
    #poles {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 780px) {
    #poles {
        grid-template-columns: 1fr;
    }

    #hero h1 {
        font-size: 32px;
    }
/* =========================================
   FIX CTA PAGES MÉTIER (sans toucher HTML)
========================================= */

.content .cta {
    display: block;
    margin-top: 40px;
    padding: 25px;
    background-color: #f5f7fa;
    border-left: 4px solid #0b3c78;
    max-width: 900px;
    font-size: 1.05rem;
}

.content .cta a {
    display: inline-block;
    margin-top: 10px;
    padding: 12px 20px;
    background: #1f4aa8;
    color: #ffffff;
    border-radius: 6px;
    text-decoration: none;
}

.content .cta a:hover {
    background: #163b86;
    text-decoration: underline;
}	
}