/* ==========================================================================
   PENT'AXE — feuille de style
   Reprend la mise en page de l'ancien site (template WT Gav Pro, preset 4)
   avec les couleurs du logo.
   ========================================================================== */
:root {
    /* Couleurs de la charte (logo)
       Vert  C78 M0 J100 N0 – RVB 39-179-75 – #27b34b
       Gris  N90            – RVB 65-64-66  – #414042 */
    --vert: #27b34b;
    --vert-fonce: #1e8939;          /* survol */
    --vert-clair: #e9f7ed;
    --anthracite: #414042;

    /* Gris */
    --texte: #333333;
    --texte-doux: #5f5e61;
    --barre-haut: #222628;          /* bandeau du haut = bas du pied de page */
    --entete: #1b1b1b;              /* en-tête = bande de copyright */
    --texte-sur-sombre: #b4b4b7;
    --fond: #ffffff;
    --fond-gris: #f7f8f7;
    --bordure: #e3e5e3;

    /* Mise en page */
    --police: "Rubik", "Segoe UI", Arial, sans-serif;
    --largeur: 1170px;
    --rayon: 3px;
    --ombre: 0 10px 30px rgba(0, 0, 0, .08);
}

/* Police Rubik (celle de l'ancien site), hébergée sur le site : aucun appel à Google */
@font-face {
    font-family: "Rubik";
    src: url("../fonts/rubik-variable.woff2") format("woff2");
    font-weight: 300 900;
    font-style: normal;
    font-display: swap;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--police);
    font-weight: 300;
    font-size: 14px;
    line-height: 24px;
    color: #333;
    background: var(--fond);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--vert); text-decoration: none; transition: color .2s; }
a:hover { color: var(--vert-fonce); }
h1, h2, h3, h4 { font-weight: 400; line-height: 1.25; color: #252525; margin: 0 0 .6em; }
p { margin: 0 0 1em; }
strong { font-weight: 500; }
ul { padding-left: 1.2em; }
[hidden] { display: none !important; }
.conteneur { width: 100%; max-width: var(--largeur); margin: 0 auto; padding: 0 20px; }
.centre { text-align: center; }
.visuellement-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lien-evitement { position: absolute; left: -999px; top: 0; background: var(--vert); color: #fff; padding: 8px 14px; z-index: 1000; }
.lien-evitement:focus { left: 10px; }
.icone { width: 1em; height: 1em; fill: currentColor; flex: none; }
:focus-visible { outline: 2px solid var(--vert); outline-offset: 2px; }

/* ---------- Boutons ---------- */
.bouton {
    display: inline-block;
    background: var(--vert);
    color: #fff;
    border: 2px solid var(--vert);
    padding: 12px 35px;
    border-radius: 0;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    transition: background .2s, border-color .2s, color .2s;
}
.bouton:hover { background: var(--vert-fonce); border-color: var(--vert-fonce); color: #fff; }
.bouton--contour { background: transparent; color: var(--vert); }
.bouton--contour:hover { background: var(--vert); color: #fff; }
.bouton--clair { background: #fff; border-color: #fff; color: #333; }
.bouton--clair:hover { background: transparent; color: #fff; border-color: #fff; }
.lien-fleche { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: 14px; text-transform: uppercase; letter-spacing: .5px; }
.lien-fleche .icone { transition: transform .2s; }
.lien-fleche:hover .icone { transform: translateX(4px); }

/* ---------- Barre du haut ---------- */
.barre-haut { background: #222628; color: var(--texte-sur-sombre); font-size: 13px; padding: 8px 0; }
.barre-haut__interieur { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.barre-haut__contacts { display: flex; flex-wrap: wrap; gap: 6px 26px; list-style: none; margin: 0; padding: 0; }
.barre-haut__contacts li { display: flex; align-items: center; gap: 7px; color: #a3adb2; }
.barre-haut__contacts .icone { color: var(--vert); width: 15px; height: 15px; }
.barre-haut a { color: var(--texte-sur-sombre); }
.barre-haut a:hover { color: var(--vert); }
.reseaux { display: flex; gap: 14px; list-style: none; margin: 0; padding: 0; }
.reseaux a { color: var(--texte-sur-sombre); display: flex; }
.reseaux a:hover { color: var(--vert); }
.reseaux .icone { width: 15px; height: 15px; }

/* ---------- En-tête et menu ---------- */
.entete { background: #1b1b1b; position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 12px rgba(0,0,0,.18); }
.entete__interieur { display: flex; align-items: center; justify-content: space-between; min-height: 90px; }
.logo img { height: 90px; width: auto; }
.menu ul { display: flex; list-style: none; margin: 0; padding: 0; }
.menu a {
    display: block;
    padding: 0 14px;
    line-height: 90px;
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
}
.menu a:hover, .menu a.actif { color: var(--vert); }
.menu-bouton { display: none; background: none; border: 0; color: #fff; padding: 10px; cursor: pointer; }
.menu-bouton .icone { width: 28px; height: 28px; }

/* ---------- Titre de page ---------- */
.titre-page { background: #fff; color: #252525; padding: 36px 0 18px; border-bottom: 1px solid #eee; }
.titre-page h1 { color: #252525; margin: 0; font-size: 30px; font-weight: 400; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section--etroite { padding: 50px 0 10px; }
.section--gris { background: var(--fond-gris); }
.section--texture { background: #fbfbfb url("../../images/fond-texture.jpg") center / cover; }
.titre-section { font-size: 30px; font-weight: 400; text-align: center; margin-bottom: 40px; position: relative; padding-bottom: 0; color: #252525; }
.titre-section::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 60px;
    height: 3px;
    background: var(--vert);
    transform: translateX(-50%);
    display: none;
}
.titre-section--gauche { text-align: left; }
.titre-section--gauche::after { left: 0; transform: none; }
.intro { font-size: 14px; max-width: 820px; margin-left: auto; margin-right: auto; }
.chapeau { font-size: 18px; }
.grille { display: grid; gap: 30px; }
.grille--2 { grid-template-columns: repeat(2, 1fr); }
.grille--3 { grid-template-columns: repeat(3, 1fr); }
.deux-colonnes { display: grid; grid-template-columns: 5fr 7fr; gap: 50px; align-items: center; }
.deux-colonnes--inverse { grid-template-columns: 7fr 5fr; }
.deux-colonnes > img { border-radius: var(--rayon); }

/* ---------- Diaporama d'accueil ---------- */
.diaporama { position: relative; height: 550px; max-height: 550px; min-height: 360px; background: var(--anthracite); overflow: hidden; }
.diaporama__diapo {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    align-items: center;
}
.diaporama__diapo::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.1) 60%, rgba(0,0,0,0) 100%);
}
.diaporama__diapo.actif { opacity: 1; z-index: 1; }
.diaporama__texte { position: relative; color: #fff; }
.diaporama__surtitre {
    font-size: clamp(20px, 2.6vw, 30px);
    letter-spacing: 0;
    margin: 0 0 8px;
    color: #fff;
    opacity: 0;
    transform: translateY(20px);
    transition: all .7s .3s;
    font-weight: 300;
    text-shadow: 0 2px 6px rgba(0,0,0,.5);
}
.diaporama__titre {
    font-size: clamp(28px, 3.8vw, 44px);
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.1;
    opacity: 0;
    transform: translateY(20px);
    transition: all .7s .5s;
    text-shadow: 0 2px 8px rgba(0,0,0,.5);
}
.diaporama__diapo.actif .diaporama__surtitre, .diaporama__diapo.actif .diaporama__titre { opacity: 1; transform: none; }
.diaporama__nav {
    position: absolute;
    top: 50%;
    z-index: 3;
    transform: translateY(-50%);
    background: rgba(0,0,0,.35);
    border: 2px solid rgba(255,255,255,.7);
    color: #fff;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, opacity .2s;
    border-radius: 50%;
    opacity: .8;
}
.diaporama__nav:hover { background: var(--vert); border-color: var(--vert); opacity: 1; }
.diaporama__nav .icone { width: 28px; height: 28px; }
.diaporama__nav--prec { left: 25px; }
.diaporama__nav--suiv { right: 25px; }
.diaporama__points { position: absolute; bottom: 26px; left: 0; right: 0; z-index: 3; display: flex; justify-content: center; gap: 12px; }
.diaporama__points button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 0;
    background: rgba(255,255,255,.55);
    padding: 0;
    cursor: pointer;
    transition: background .2s, transform .2s;
}
.diaporama__points button[aria-selected="true"] { background: var(--vert); border-color: var(--vert); transform: scale(1.15); }

/* ---------- Accueil : prestations ---------- */
.prestation {
    position: relative;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 36px 28px;
    color: #fff;
    background: var(--anthracite);
}
.prestation img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.prestation::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(20, 20, 22, .62); transition: background .3s; }
.prestation > *:not(img) { position: relative; z-index: 2; }
.prestation:hover img { transform: scale(1.06); }
.prestation:hover::before { background: rgba(20, 20, 22, .5); }
.prestation h2 { font-size: 18px; font-weight: 700; text-transform: uppercase; color: #fff; margin-bottom: 12px; }
.prestation p { color: #fff; font-weight: 400; font-size: 14px; line-height: 24px; margin: 0; }
.prestation .lien-fleche { color: #fff; border-bottom: 2px solid var(--vert); padding-bottom: 2px; }
.prestation .lien-fleche:hover { color: var(--vert); }
.carte-projet { position: relative; display: block; overflow: hidden; background: var(--anthracite); aspect-ratio: 1; }
.carte-projet img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s, opacity .3s; }
.carte-projet::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0) 45%, rgba(0,0,0,.75) 100%); }
.carte-projet:hover img { transform: scale(1.06); opacity: .9; }
.carte-projet__legende {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    padding: 12px 14px;
    color: #eee;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 400;
}
.carte-projet__legende strong { display: block; color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 2px; line-height: 1.25; }

/* ---------- Filtre des réalisations ---------- */
.filtres {
    display: grid;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px 14px;
    margin: 0 0 10px;
    align-items: center;
    grid-template-columns: auto auto 1fr;
    margin-bottom: 26px;
}
.filtre {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--bordure);
    background: #fff;
    color: var(--texte);
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 400;
    transition: all .2s;
}
.filtre:hover { border-color: var(--vert); color: var(--vert); }
.filtre.actif { background: var(--vert); border-color: var(--vert); color: #fff; }
.filtre__nombre {
    background: var(--fond-gris);
    color: var(--texte-doux);
    border-radius: 20px;
    font-size: 11px;
    padding: 0 6px;
    line-height: 17px;
    min-width: 18px;
    text-align: center;
}
.filtre.actif .filtre__nombre { background: rgba(255,255,255,.25); color: #fff; }
.filtres__resultat { text-align: left; color: var(--texte-doux); font-size: 13px; min-height: 1.5em; margin-bottom: 18px; }
.grille-projets { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; padding: 0 0 20px; }
.carte-projet--grille { animation: apparition .45s ease both; }
@keyframes apparition {
    from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; }
}

/* ---------- Fiche projet ---------- */
.projet { display: grid; grid-template-columns: 2fr 1fr; gap: 30px; align-items: start; }
.projet__galerie { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.projet__photo { display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--fond-gris); }
.projet__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.projet__photo:hover img { transform: scale(1.05); }
.projet__photo--grande { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.projet__fiche {
    background: var(--fond-gris);
    border-top: 0;
    padding: 18px 20px;
    position: sticky;
    top: 150px;
    border-left: 3px solid var(--vert);
    border-radius: 0 14px 14px 0;
    font-size: 13px;
    line-height: 18px;
}
.projet__lieu { display: flex; align-items: center; gap: 8px; font-size: 15px; margin-bottom: 10px; font-weight: 500; color: #333; }
.projet__lieu .icone { color: #777; width: 16px; height: 16px; }
.projet__fiche dl { margin: 0 0 14px; display: grid; grid-template-columns: 110px 1fr; gap: 6px 12px; }
.projet__fiche dt {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .3px;
    color: #999;
    font-weight: 400;
    margin-top: 12px;
    margin: 0;
    line-height: 18px;
}
.projet__fiche dd { margin: 0; font-weight: 500; color: #333; }
.projet__fiche .bouton { width: 100%; text-align: center; }
.projet__navigation {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 20px;
    align-items: center;
    margin-top: 50px;
    padding-top: 26px;
    border-top: 1px solid var(--bordure);
}
.projet__navigation a { display: flex; align-items: center; gap: 10px; color: var(--texte); }
.projet__navigation a:hover { color: var(--vert); }
.projet__navigation a.droite { justify-content: flex-end; text-align: right; }
.projet__navigation small { display: block; color: var(--texte-doux); text-transform: uppercase; font-size: 11px; letter-spacing: 1px; }
.projet__navigation .icone { width: 24px; height: 24px; color: var(--vert); }
.projet__retour { font-size: 14px; text-transform: uppercase; letter-spacing: 1px; font-weight: 500; }

/* ---------- Visionneuse photo ---------- */
.visionneuse { position: fixed; inset: 0; z-index: 200; background: rgba(15,15,17,.94); display: flex; align-items: center; justify-content: center; }
.visionneuse figure { margin: 0; max-width: 92vw; max-height: 88vh; text-align: center; }
.visionneuse img { max-width: 92vw; max-height: 80vh; margin: 0 auto; }
.visionneuse figcaption { color: #ddd; margin-top: 12px; font-size: 14px; }
.visionneuse button { position: absolute; background: none; border: 0; color: #fff; cursor: pointer; padding: 12px; }
.visionneuse button:hover { color: var(--vert); }
.visionneuse button .icone { width: 34px; height: 34px; }
.visionneuse__fermer { top: 12px; right: 12px; }
.visionneuse__prec { left: 10px; top: 50%; transform: translateY(-50%); }
.visionneuse__suiv { right: 10px; top: 50%; transform: translateY(-50%); }

/* ---------- Actualités ---------- */
.carte-actu { background: #fff; box-shadow: var(--ombre); display: flex; flex-direction: column; }
.carte-actu__image { display: block; aspect-ratio: 2 / 1; overflow: hidden; background: var(--vert-clair); }
.carte-actu__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.carte-actu:hover .carte-actu__image img { transform: scale(1.05); }
.carte-actu__corps { padding: 22px 24px 26px; flex: 1; }
.carte-actu h2, .carte-actu h3 { font-size: 19px; margin-bottom: 10px; }
.carte-actu h2 a, .carte-actu h3 a { color: var(--anthracite); }
.carte-actu h2 a:hover, .carte-actu h3 a:hover { color: var(--vert); }
.date { color: var(--vert); font-size: 13px; text-transform: uppercase; letter-spacing: 1px; font-weight: 500; margin-bottom: 6px; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 50px; }
.pagination a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--bordure);
    background: #fff;
    color: var(--texte);
}
.pagination a.actif, .pagination a:hover { background: var(--vert); border-color: var(--vert); color: #fff; }
.article { max-width: 860px; }
.article__titre { font-size: 30px; }
.article__image { margin: 20px 0 30px; }
.article__contenu img { margin: 20px 0; }
.article__contenu h2, .article__contenu h3 { margin-top: 1.4em; }
.article h2 { font-size: 22px; margin-top: 1.4em; }
.article h2:first-child { margin-top: 0; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: stretch; }
.contact__liste { list-style: none; padding: 0; margin: 30px 0; }
.contact__liste li { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.contact__liste strong { display: block; font-weight: 700; color: #333; }
.contact__icone {
    width: 36px;
    height: 40px;
    border-radius: 3px;
    background: none;
    color: #414042;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex: none;
}
.contact__icone .icone { width: 28px; height: 28px; }
.contact__boutons { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 0; }
.contact__carte iframe { width: 100%; height: auto; min-height: 380px; border: 0; box-shadow: var(--ombre); flex: 1; }

/* ---------- Bandeau d'appel ---------- */
.cta { background: var(--vert); color: #fff; padding: 46px 0; }
.cta__interieur { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta__texte { font-size: 24px; margin: 0; color: #333; font-weight: 400; }

/* ---------- Plan du site ---------- */
.plan ul { list-style: none; padding-left: 0; }
.plan li { padding: 6px 0; font-size: 18px; }
.plan li ul { padding-left: 24px; }
.plan li li { font-size: 16px; }
.plan li li::before { content: "– "; color: var(--vert); }

/* ---------- Pied de page ---------- */
.pied-haut { background: #222628; color: var(--texte-sur-sombre); padding: 100px 0; font-size: 14px; line-height: 18px; }
.pied-titre { color: #fff; font-size: 18px; font-weight: 700; margin-bottom: 18px; position: relative; padding-bottom: 12px; text-transform: uppercase; }
.pied-titre::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 2px; background: var(--vert); }
.pied-haut a { color: var(--texte-sur-sombre); }
.pied-haut a:hover { color: var(--vert); }
.pied-liens, .pied-contacts, .pied-actus {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.pied-liens li { margin-bottom: 8px; }
.pied-contacts li { display: flex; gap: 10px; margin-bottom: 12px; color: #acacac; }
.pied-contacts .icone { color: var(--vert); margin-top: 4px; width: 16px; height: 16px; }
.pied-contacts address { font-style: normal; }
.pied-actus li { margin-bottom: 5px; line-height: 20px; border-bottom: 1px solid #3a3e40; padding-bottom: 12px; padding: 0 0 8px; margin: 0; }
.pied-actus span { display: block; font-size: 12px; color: #858588; margin-top: 2px; }
.pied-bas { background: #1b1b1b; color: #acacac; font-size: 13px; padding: 20px 0; }
.pied-bas__interieur { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* Sections */
.section--claire { background: #fbfbfb; }
.section--ombre { box-shadow: 0 12px 20px -12px rgba(0,0,0,.15); position: relative; z-index: 1; }

/* Accueil : tuiles des métiers */
a.prestation { color: #fff; min-height: 250px; }
.prestation p strong { font-weight: 700; }

/* Accueil : bande des dernières réalisations (pleine largeur, 6 vignettes) */
.section--realisations { padding: 70px 0 30px; }
.bande-realisations { display: grid; grid-template-columns: repeat(6, 1fr); gap: 15px; }
.bande-realisations__vignette { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--anthracite); }
.bande-realisations__vignette img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s, opacity .3s; }
.bande-realisations__vignette span {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 14px;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.3;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 40%, rgba(0,0,0,.7));
    opacity: 0;
    transition: opacity .3s;
}
.bande-realisations__vignette small { font-weight: 300; font-size: 12px; }
.bande-realisations__vignette:hover img { transform: scale(1.06); }
.bande-realisations__vignette:hover span, .bande-realisations__vignette:focus span { opacity: 1; }

/* Accueil : philosophie */
.philosophie { display: grid; grid-template-columns: 180px 1fr; gap: 60px; align-items: start; }
.philosophie h3 { font-size: 24px; margin: 10px 0 12px; }
.image-satisfaction { max-width: 360px; justify-self: center; }

/* Accueil : actualités */
.actu-accueil__image { display: block; aspect-ratio: 2 / 1; overflow: hidden; margin-bottom: 16px; background: var(--vert-clair); }
.actu-accueil__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.actu-accueil:hover .actu-accueil__image img { transform: scale(1.05); }
.actu-accueil h3 { font-size: 18px; font-weight: 400; line-height: 1.3; margin-bottom: 8px; }
.actu-accueil h3 a { color: var(--vert); }
.actu-accueil h3 a:hover { color: var(--vert-fonce); }
.actu-accueil p { margin-bottom: 6px; }
.lire-suite { font-size: 14px; }

/* Activités : trois colonnes */
.colonne-activite h2 { font-size: 24px; font-weight: 400; margin-bottom: 4px; }
.activite__soustitre { color: #999; margin: 0 0 14px; position: relative; padding-bottom: 16px; }
.activite__soustitre::after { content: ""; position: absolute; left: 0; bottom: 0; width: 44px; height: 3px; background: var(--vert); }
.pastille {
    position: absolute;
    left: 20px;
    bottom: 20px;
    width: 45px;
    height: 45px;
    background: var(--vert);
    color: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    z-index: 2;
    transition: transform .5s, opacity .3s;
}
.pastille .icone { width: 25px; height: 25px; }
.colonne-activite { scroll-margin-top: 110px; }

/* Société */
.deux-colonnes--egal { grid-template-columns: 1fr 1fr; align-items: start; }
.titre-vert { color: var(--vert); font-size: 24px; font-weight: 400; margin: 18px 0 10px; }
.liste-coches { list-style: none; padding: 0; margin: 10px 0 0; }
.liste-coches li { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; color: #777; }
.liste-coches .icone { color: var(--vert); width: 16px; height: 16px; }
.bloc-image { display: grid; grid-template-columns: 48% 1fr; gap: 20px; align-items: stretch; }
.bloc-image img { width: 100%; aspect-ratio: auto; object-fit: cover; height: 100%; min-height: 100%; }
.bloc-image h2 { font-size: 24px; margin-bottom: 8px; }
.accroche-partenaires { text-align: center; font-size: 24px; margin-bottom: 50px; color: #252525; font-weight: 400; }
.accroche-partenaires span { color: var(--vert); font-weight: 400; }
.partenaires .pastille { left: 20px; bottom: 20px; }

/* Réalisations : grille pleine largeur, 6 colonnes */
.section--realisations-liste { padding-top: 30px; }

/* Pied de page : trois colonnes (la 3e plus large) */
.pied-colonnes { display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 30px; align-items: stretch; }

/* Icônes téléphone / e-mail / localisation : grises comme sur l'ancien site (barre du haut et pied de page) */
.barre-haut__contacts .icone, .pied-contacts .icone { color: inherit; }
.icone--trait, .icone--plein { shape-rendering: geometricPrecision; }
.pied-liens li, .pied-contacts li { margin-bottom: 10px; margin: 0; }
.pied-haut p { margin-bottom: 10px; }

/* Bouton « remonter en haut » */
.retour-haut {
    position: fixed;
    right: 100px;
    bottom: 62px;
    z-index: 60;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    background: rgba(255,255,255,.4);
    color: #333;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s, background .2s;
}
.retour-haut.visible { opacity: 1; visibility: visible; }
.retour-haut:hover { background: #c4c4c4; color: #222; }
.retour-haut .icone { width: 22px; height: 22px; }
.diaporama__points button:hover { background: #fff; }

/* Accueil : « En savoir plus » vert au survol des métiers */
.prestation__plus {
    display: block;
    margin-top: 16px;
    color: var(--vert);
    font-size: 16px;
    font-weight: 500;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .3s, transform .3s;
}
.prestation:hover .prestation__plus, .prestation:focus .prestation__plus { opacity: 1; transform: none; }

/* Philosophie / Satisfaction / Actualités : gris plus doux */
.section--douce, .section--douce p, .section--douce li { color: #777; }
.section--douce .titre-section, .section--douce h3 { color: #555; }
.section--douce .actu-accueil h3 a { color: var(--vert); }

/* Titres de section : filet gris sur la largeur, trait vert fin dessous le titre */
.titre-section .filet { display: block; position: relative; height: 1px; width: 100%; background: #e6e6e6; margin-top: 18px; }
.titre-section .filet::before { content: ""; position: absolute; top: -1px; left: 0; width: 80px; height: 3px; background: var(--vert); }
.titre-section--centre { text-align: center; }
.titre-section--centre .filet::before { left: 50%; transform: translateX(-50%); }
.titre-section--petit { font-size: 24px; text-transform: uppercase; }

/* Activités : introduction sur toute la largeur (2 lignes) */
.intro--large { max-width: none; }

/* Vignettes avec survol (Activités, partenaires) */
.tuile-survol { position: relative; display: block; overflow: hidden; margin: 14px 0 30px; background: #222; }
.tuile-survol img { display: block; width: 100%; aspect-ratio: 16 / 11; object-fit: cover; transform: scale(1.1); transition: transform .5s; }
.tuile-survol:hover img { transform: scale(1); }
.tuile-survol__voile {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.6);
    opacity: 0;
    transform: perspective(400px) rotateX(-90deg);
    transform-origin: top;
    transition: all .5s;
}
.tuile-survol:hover .tuile-survol__voile { opacity: 1; transform: perspective(400px) rotateX(0); }
.tuile-survol__texte {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    background: var(--vert);
    color: #333;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    padding: 6px 15px 4px;
    border-radius: 3px;
}
.tuile-survol__texte strong { font-weight: 700; color: #222; }
.tuile-survol:hover .pastille { transform: translateY(80px); opacity: 0; }

/* Partenaires : logos plus grands, description au survol */
.partenaires { gap: 30px; }
.tuile-survol--logo { background: #fff; border: 1px solid #eee; margin: 0; }
.tuile-survol--logo img { aspect-ratio: 4 / 3; object-fit: contain; padding: 15px 15px 55px; background: #fff; transform: none; }
.tuile-survol--logo:hover img { transform: none; }
.tuile-survol--logo .tuile-survol__voile { background: rgba(27,27,27,.92); }
.tuile-survol--logo .tuile-survol__texte { top: 20px; bottom: auto; background: none; color: #fff; font-size: 14px; line-height: 22px; padding: 0; }
.tuile-survol--logo .tuile-survol__texte strong { color: var(--vert); }

/* Vidéos : pictogramme lecture sur les vignettes, lecteur intégré dans l'article */
.actu-accueil__image, .carte-actu__image { position: relative; }
.lecture {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 64px;
    height: 64px;
    margin: -32px 0 0 -32px;
    border-radius: 50%;
    background: rgba(0,0,0,.55);
    border: 2px solid #fff;
    transition: background .2s;
}
.lecture::after {
    content: "";
    position: absolute;
    left: 25px;
    top: 19px;
    border-style: solid;
    border-width: 13px 0 13px 20px;
    border-color: transparent transparent transparent #fff;
}
a:hover .lecture { background: var(--vert); }
.video { position: relative; aspect-ratio: 16 / 9; margin: 20px 0 30px; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.bloc-image > div > p:last-child { margin-bottom: 0; }

/* Contact : gris uniquement */
.contact__libelle {
    display: block;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    color: #888;
    line-height: 18px;
    margin-bottom: 2px;
    font-weight: 500;
}
.contact__liste a { color: #333; }
.contact__liste a:hover strong { color: #000; }
.bouton--gris { background: #414042; color: #fff; border: 1px solid #414042; }
.bouton--gris:hover { background: #222628; border-color: #222628; color: #fff; }
.bouton--gris-contour { background: transparent; color: #414042; border: 1px solid #414042; }
.bouton--gris-contour:hover { background: #414042; color: #fff; }
.accroche-partenaires, .accroche-partenaires span { font-weight: 500; }
.pied-colonnes > div { display: flex; flex-direction: column; }
.pied-actus li:last-child { border-bottom: 0; padding-bottom: 0; }

/* Icônes téléphone / e-mail / localisation : trait légèrement épaissi */
.barre-haut__contacts .icone--trait path, .pied-contacts .icone--trait path, .contact__icone .icone--trait path {
    stroke: currentColor;
    stroke-width: 18px;
    stroke-linejoin: round;
}
.barre-haut__contacts .icone--plein path, .pied-contacts .icone--plein path, .contact__icone .icone--plein path { stroke: currentColor; stroke-width: 40px; }

/* Bandeau « Contactez-nous ! » : au survol, seul le texte passe en vert */
.cta .bouton--clair { background: #fff; border-color: #fff; color: #333; }
.cta .bouton--clair:hover, .cta .bouton--clair:focus { background: #fff; border-color: #fff; color: var(--vert); }
.contact__texte { display: flex; flex-direction: column; }
.contact__carte { display: flex; }

/* Mentions légales : fond texturé, titre avec filets, interlignes resserrés */
.mentions { padding: 50px 0 70px; }
.mentions .titre-section { margin-bottom: 30px; }
.mentions h2 { font-size: 18px; font-weight: 500; margin: 24px 0 6px; color: #252525; }
.mentions p { margin: 0 0 6px; line-height: 22px; }
.mentions a { color: #333; }
.mentions a:hover { color: var(--vert); }

/* ==========================================================================
   Réalisations v9 : filtres par catégories, fiche projet compacte, projets similaires
   ========================================================================== */
.section--realisations-liste .titre-section { margin-bottom: 24px; }
.filtres__groupe { display: contents; flex-wrap: wrap; align-items: center; gap: 6px; }
.filtres__libelle { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: #999; margin-right: 2px; grid-column: 2; margin: 0; }
.section--projet { padding-top: 40px; }
.section--projet .titre-section { margin-bottom: 26px; }
.projet__categories { display: flex; flex-wrap: wrap; gap: 5px; margin: 0; }
.projet__categories a { font-size: 11px; line-height: 16px; padding: 3px 8px; border-radius: 3px; background: #fff; border: 1px solid #ddd; color: #555; }
.projet__categories a:hover { border-color: var(--vert); color: var(--vert); }
.similaires { margin-top: 50px; }
.similaires__titre { font-size: 22px; font-weight: 400; margin-bottom: 20px; }
.similaires__grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.similaires .carte-projet { aspect-ratio: 4 / 3; }
.projet__navigation--simple { grid-template-columns: 1fr; margin-top: 30px; }
.projet__navigation--simple .projet__retour { display: inline-flex; align-items: center; gap: 6px; }
.filtre--tous {
    grid-row: 1 / span 2;
    grid-column: 1;
    align-self: stretch;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 6px 18px;
    font-size: 14px;
}
.filtres__liste { grid-column: 3; display: flex; flex-wrap: wrap; gap: 6px; }

@media (max-width: 991px) {
    .menu-bouton { display: block; }
    .menu { position: absolute; top: 100%; left: 0; right: 0; background: #1b1b1b; max-height: 0; overflow: hidden; transition: max-height .3s; }
    .menu.ouvert { max-height: 480px; }
    .menu ul { flex-direction: column; padding: 8px 0 16px; }
    .menu a { line-height: 1; padding: 14px 20px; }
    .grille--3, .grille-projets { grid-template-columns: repeat(2, 1fr); }
    .deux-colonnes, .deux-colonnes--inverse, .projet, .contact { grid-template-columns: 1fr; gap: 30px; }
    .projet__fiche { position: static; }
    .section { padding: 60px 0; }
    .bande-realisations, .grille-projets { grid-template-columns: repeat(3, 1fr); }
    .philosophie { grid-template-columns: 1fr; gap: 24px; }
    .philosophie img { max-width: 180px; }
    .pied-colonnes { grid-template-columns: 1fr 1fr; }
    .deux-colonnes--egal { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
    .retour-haut { right: 25px; bottom: 25px; }
    .diaporama__nav { width: 38px; height: 38px; }
    .diaporama__nav--prec { left: 10px; }
    .diaporama__nav--suiv { right: 10px; }
}

@media (max-width: 640px) {
    .masque-mobile { display: none !important; }
    .barre-haut__contacts { gap: 4px 16px; font-size: 12px; }
    .logo img { height: 70px; }
    .entete__interieur { min-height: 70px; }
    .grille--2, .grille--3, .grille-projets { grid-template-columns: 1fr; }
    .titre-section, .article__titre { font-size: 25px; }
    .cta__texte { font-size: 20px; }
    .projet__galerie { grid-template-columns: repeat(2, 1fr); }
    .projet__navigation { grid-template-columns: 1fr 1fr; }
    .projet__retour { grid-column: 1 / -1; grid-row: 2; text-align: center; justify-content: center; }
    .diaporama__nav { display: none; }
    .bande-realisations, .grille-projets { grid-template-columns: repeat(2, 1fr); }
    .pied-colonnes { grid-template-columns: 1fr; }
    .bloc-image { grid-template-columns: 1fr; }
    .bloc-image img { height: auto; aspect-ratio: 4 / 3; }
    .similaires__grille { grid-template-columns: 1fr; }
    .projet__fiche dl { grid-template-columns: 95px 1fr; }
    .filtres { grid-template-columns: 1fr; }
    .filtre--tous { grid-row: auto; justify-self: start; flex-direction: row; }
    .filtres__libelle, .filtres__liste { grid-column: 1; }
}

@media (min-width: 768px) {
    .diaporama__nav { width: 44px; height: 44px; }
    .diaporama__nav--prec { left: 12px; }
    .diaporama__nav--suiv { right: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Société : savoir-faire, équipe, moyens matériels ---------- */
.section--savoir-faire { padding-top: 10px; }
.section--savoir-faire .titre-vert { margin-top: 0; }
.deux-colonnes--egal.deux-colonnes--inverse { grid-template-columns: 1fr 1fr; }
.liste-coches--texte li { align-items: flex-start; color: #333; }
.liste-coches--texte .icone { margin-top: 5px; }

.equipe { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.equipe__membre { text-align: center; font-size: 14px; line-height: 20px; color: #333; font-weight: 400; padding: 24px 14px; border: 1px solid var(--bordure); border-radius: 0 14px 14px 0; border-left: 3px solid var(--vert); background: #fff; }
.equipe__icone { display: flex; align-items: center; justify-content: center; width: 54px; height: 54px; margin: 0 auto 14px; border-radius: 50%; background: #eee; color: var(--anthracite); }
.equipe__icone .icone { width: 30px; height: 30px; }

.moyen__image { position: relative; overflow: hidden; margin-bottom: 16px; background: #222; }
.moyen__image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.moyen h3 { font-size: 20px; margin-bottom: 8px; }
.moyen p { margin: 0; }

@media (max-width: 991px) {
    .equipe { grid-template-columns: repeat(3, 1fr); }
    .deux-colonnes--egal.deux-colonnes--inverse { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .equipe { grid-template-columns: 1fr 1fr; }
}
.credit-photo { font-size: 12px; color: #999; }
.credit-photo a { color: #999; text-decoration: underline; }
.equipe { grid-template-columns: repeat(3, 1fr); max-width: 900px; margin-left: auto; margin-right: auto; }
.equipe__icones { display: flex; justify-content: center; gap: 8px; margin-bottom: 14px; }
.equipe__icones .equipe__icone { margin: 0; }
@media (max-width: 640px) { .equipe { grid-template-columns: 1fr; } }
