/* Pages métier — même charte que le reste du site */
:root {
    --bleu-nuit: #082459;
    --turquoise: #159EA9;
    --texte: #1E1D22;
    --texte-doux: #4a4f5c;
    --fond: #F5F7FB;
    --bordure: #dde3ee;
    --degrade: linear-gradient(90deg, #159EA9 0%, #082459 100%);
}

.nav { background-color: white; position: relative; }
.nav .nav-link { color: var(--texte); }
.nav .nav-link.btnnavcontact { color: white; }

.metier {
    font-family: "Manrope", sans-serif;
    color: var(--texte);
    background: var(--fond);
    padding: 24px 80px 96px;
}

.fil { font-size: 14px; color: var(--texte-doux); margin-bottom: 32px; }
.fil a { color: var(--texte-doux); text-decoration: none; }
.fil a:hover { color: var(--turquoise); }
.fil span { margin: 0 6px; }
.fil span[aria-current] { margin: 0; color: var(--texte); font-weight: 600; }

/* En-tête */
.hero_metier {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 56px;
    align-items: center;
    margin-bottom: 88px;
}
.surtitre {
    margin: 0 0 12px;
    font-size: 15px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
    color: var(--turquoise);
}
.hero_metier h1 {
    margin: 0 0 24px;
    font-size: clamp(36px, 4vw, 56px);
    line-height: 1.08;
    letter-spacing: -1.5px;
    font-weight: 800;
    color: var(--texte);
}
.hero_metier h1 span {
    background: var(--degrade);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.intro { margin: 0 0 32px; font-size: 20px; line-height: 1.55; color: var(--texte-doux); max-width: 620px; }
.hero_image {
    min-height: 420px; height: 100%;
    border-radius: 24px;
    background-size: cover; background-position: center;
    box-shadow: 0 24px 48px rgba(8, 36, 89, 0.18);
}

.hero_actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.bouton, .bouton_secondaire {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 16px 28px; border-radius: 100px;
    font-weight: 700; font-size: 16px; text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease;
}
.bouton { background: var(--degrade); color: white; }
.bouton:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(21, 158, 169, .35); }
.bouton_secondaire { color: var(--bleu-nuit); border: 2px solid var(--bleu-nuit); }
.bouton_secondaire:hover { background: var(--bleu-nuit); color: white; }
.bouton_secondaire.clair { color: white; border-color: white; }
.bouton_secondaire.clair:hover { background: white; color: var(--bleu-nuit); }

/* Blocs */
.bloc { margin: 0 auto 72px; max-width: 1200px; }
.bloc h2 {
    margin: 0 0 28px;
    font-size: clamp(28px, 3vw, 40px); line-height: 1.15; letter-spacing: -1px; font-weight: 800;
}
.bloc h2::after {
    content: ""; display: block; width: 64px; height: 4px; margin-top: 14px;
    border-radius: 4px; background: var(--degrade);
}
.bloc > p { font-size: 18px; line-height: 1.6; color: var(--texte-doux); max-width: 820px; }

.grille_prestations {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}
.prestation {
    background: white; border: 1px solid var(--bordure); border-radius: 16px;
    padding: 24px 26px;
}
.prestation h3 { margin: 0 0 10px; font-size: 19px; font-weight: 700; color: var(--bleu-nuit); }
.prestation p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--texte-doux); }

.pastilles { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.pastilles li {
    padding: 10px 18px; border-radius: 100px;
    background: white; border: 1px solid var(--bordure);
    font-weight: 600; font-size: 15px; color: var(--bleu-nuit);
}

.logos_marques {
    list-style: none; padding: 0; margin: 0;
    display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px;
}
.logos_marques li {
    display: flex; align-items: center; justify-content: center;
    padding: 22px 16px; border-radius: 16px;
    background: white; border: 1px solid var(--bordure);
}
.logos_marques img { height: 56px; width: 100%; object-fit: contain; }
.logos_marques span { font-size: 13px; font-weight: 600; color: var(--texte-doux); text-align: center; }

.etapes { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.etapes li { background: white; border: 1px solid var(--bordure); border-radius: 16px; padding: 22px; }
.etapes .num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--degrade); color: white; font-weight: 800; margin-bottom: 14px;
}
.etapes h3 { margin: 0 0 8px; font-size: 17px; font-weight: 700; }
.etapes p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--texte-doux); }

.bloc_faq details {
    background: white; border: 1px solid var(--bordure); border-radius: 14px;
    padding: 0 24px; margin-bottom: 12px;
}
.bloc_faq summary {
    cursor: pointer; padding: 20px 0; font-weight: 700; font-size: 17px; list-style: none;
    display: flex; justify-content: space-between; gap: 16px;
}
.bloc_faq summary::-webkit-details-marker { display: none; }
.bloc_faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--turquoise); }
.bloc_faq details[open] summary::after { content: "–"; }
.bloc_faq details p { margin: 0 0 20px; font-size: 16px; line-height: 1.65; color: var(--texte-doux); }

.liens_metiers { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.liens_metiers a {
    display: inline-flex; gap: 10px; align-items: center;
    padding: 14px 20px; border-radius: 12px; text-decoration: none;
    background: white; border: 1px solid var(--bordure); color: var(--bleu-nuit); font-weight: 700;
}
.liens_metiers a:hover { border-color: var(--turquoise); color: var(--turquoise); }

/* Sous-sections (page Informatique) */
.sous_bloc { background: white; border: 1px solid var(--bordure); border-radius: 18px; padding: 28px 30px; margin-bottom: 20px; }
.sous_bloc h3 { margin: 0 0 6px; font-size: 22px; font-weight: 800; color: var(--bleu-nuit); }
.sous_bloc > p { margin: 0 0 16px; color: var(--texte-doux); font-size: 16px; line-height: 1.6; }
.sous_bloc ul { margin: 0; padding-left: 20px; columns: 2; column-gap: 40px; }
.sous_bloc li { margin-bottom: 10px; font-size: 15.5px; line-height: 1.55; color: var(--texte-doux); break-inside: avoid; }
.sous_bloc li strong { color: var(--texte); }
.encart {
    background: white; border-left: 4px solid var(--turquoise); border-radius: 0 14px 14px 0;
    padding: 20px 24px; font-size: 16px; line-height: 1.65; color: var(--texte-doux); max-width: 900px;
}

/* Appel à l'action */
.cta_metier {
    padding: 96px 80px; text-align: center; color: white; font-family: "Manrope", sans-serif;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.48) 0%, #082459 100%), url(../assets/Images/ian-dooley-DJ7bWa-Gwks-unsplash.webp) no-repeat center / cover;
}
.cta_metier h2 { margin: 0 0 12px; font-size: clamp(28px, 3.5vw, 48px); letter-spacing: -1px; }
.cta_metier p { margin: 0 auto 32px; font-size: 19px; max-width: 640px; opacity: .9; }
.cta_metier .hero_actions { justify-content: center; }

@media screen and (max-width: 1250px) {
    .metier { padding: 80px 24px 64px; }
    .etapes { grid-template-columns: repeat(2, 1fr); }
}
@media screen and (max-width: 900px) {
    .hero_metier { grid-template-columns: 1fr; gap: 32px; margin-bottom: 64px; }
    .hero_image { min-height: 240px; order: -1; }
    .intro { font-size: 18px; }
    .sous_bloc ul { columns: 1; }
    .cta_metier { padding: 72px 20px; }
}
@media screen and (max-width: 560px) {
    .metier { padding: 72px 16px 48px; }
    .etapes { grid-template-columns: 1fr; }
    .grille_prestations { grid-template-columns: 1fr; }
    .bouton, .bouton_secondaire { width: 100%; justify-content: center; }
    .sous_bloc { padding: 22px 20px; }
}

.hero_icone {
    display: flex; align-items: center; justify-content: center;
    background: url(../assets/Background/Pattern-gradient-down.webp) center / cover, var(--degrade);
    color: white; font-size: 140px;
}
@media screen and (max-width: 900px) { .hero_icone { font-size: 90px; } }
.grille_liens .prestation { text-decoration: none; transition: border-color .15s, transform .15s, box-shadow .15s; }
.grille_liens .prestation:hover { border-color: var(--turquoise); transform: translateY(-3px); box-shadow: 0 12px 28px rgba(8,36,89,.10); }
.grille_liens .prestation h3 { display: flex; justify-content: space-between; align-items: center; }
.grille_liens .prestation h3 i { font-size: 16px; color: var(--turquoise); }
.bloc { scroll-margin-top: 90px; }
