
:root{--blue:#003B73;--deep:#002E5D;--orange:#FF5A00;--slate:#56636D;--light:#E9EDF0;--ink:#17212b;--white:#fff}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--ink);line-height:1.55;background:#fff}
a{color:inherit;text-decoration:none}img{max-width:100%;display:block}.container{width:min(1160px,92%);margin:auto}
.topbar{background:var(--deep);color:#fff;font-size:.88rem;padding:.45rem 0}.topbar .container{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap}
header{position:sticky;top:0;z-index:20;background:#fff;border-bottom:1px solid #dde4ea}.nav{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:1rem}
.brand{display:flex;align-items:center;gap:.75rem;font-weight:800;color:var(--blue);font-size:1.5rem}.mark{width:46px;height:46px;background:linear-gradient(135deg,var(--blue) 0 54%,var(--orange) 54% 66%,#7d8993 66%);clip-path:polygon(50% 0,100% 100%,70% 100%,50% 55%,30% 100%,0 100%)}
nav{display:flex;gap:1.15rem;align-items:center;font-size:.88rem;font-weight:700}nav a:hover{color:var(--orange)}
.btn{display:inline-block;background:var(--orange);color:#fff;padding:.85rem 1.15rem;border-radius:4px;font-weight:800;border:2px solid var(--orange);cursor:pointer}.btn.secondary{background:transparent;color:var(--blue);border-color:var(--blue)}.btn.light{background:#fff;color:var(--blue);border-color:#fff}
.hero{background:linear-gradient(105deg,rgba(0,46,93,.96),rgba(0,59,115,.84)),linear-gradient(#dbe3e9,#dbe3e9);color:#fff;padding:86px 0 78px;position:relative;overflow:hidden}.hero:after{content:"";position:absolute;right:-120px;top:-120px;width:420px;height:420px;border:42px solid rgba(255,90,0,.14);border-radius:50%}
.eyebrow{color:var(--orange);font-weight:900;letter-spacing:.13em;text-transform:uppercase;font-size:.82rem}.hero h1{font-size:clamp(2.4rem,5vw,4.5rem);line-height:1.02;margin:.4rem 0 1.2rem;max-width:850px}.hero p{max-width:760px;font-size:1.12rem}.actions{display:flex;gap:.8rem;flex-wrap:wrap;margin-top:1.6rem}
.section{padding:68px 0}.section.alt{background:#f5f7f9}.section.dark{background:var(--deep);color:#fff}.section h2{font-size:clamp(1.8rem,3vw,2.6rem);color:var(--blue);margin:.2rem 0 1rem}.section.dark h2{color:#fff}.lead{font-size:1.08rem;max-width:820px;color:var(--slate)}.dark .lead{color:#dce7ef}
.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:30px}.grid.three{grid-template-columns:repeat(3,1fr)}.grid.five{grid-template-columns:repeat(5,1fr)}
.card{background:#fff;border:1px solid #dfe6eb;border-radius:8px;padding:24px;box-shadow:0 5px 18px rgba(0,40,75,.06)}.card h3{color:var(--blue);margin:.2rem 0 .6rem}.icon{width:44px;height:44px;border:2px solid var(--orange);border-radius:8px;display:grid;place-items:center;color:var(--orange);font-weight:900;margin-bottom:14px}
.band{background:var(--blue);color:#fff;padding:34px 0}.band .container{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap}
.pagehero{background:var(--deep);color:#fff;padding:58px 0}.pagehero h1{font-size:2.7rem;margin:.2rem 0}.pagehero p{max-width:760px;color:#dce7ef}
.two{display:grid;grid-template-columns:1fr 1fr;gap:34px;align-items:start}.feature{border-left:4px solid var(--orange);padding-left:18px;margin:22px 0}
.ref{min-height:180px;background:linear-gradient(145deg,#edf2f5,#fff);display:flex;flex-direction:column;justify-content:flex-end}
form{display:grid;grid-template-columns:1fr 1fr;gap:16px}.full{grid-column:1/-1}label{font-weight:700;color:var(--blue);display:block;margin-bottom:5px}input,select,textarea{width:100%;padding:12px;border:1px solid #bac7d0;border-radius:4px;font:inherit}textarea{min-height:130px}.notice{background:#fff4ed;border-left:4px solid var(--orange);padding:14px;margin:18px 0}
footer{background:#061f36;color:#dbe5ec;padding:44px 0 22px}footer h3{color:#fff}.footergrid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:28px}.legal{border-top:1px solid #29445a;margin-top:30px;padding-top:18px;font-size:.83rem;color:#aebdca}
.mobile{display:none}
@media(max-width:900px){nav{display:none}.mobile{display:block}.grid,.grid.three,.grid.five{grid-template-columns:1fr 1fr}.two{grid-template-columns:1fr}.footergrid{grid-template-columns:1fr}.hero{padding:62px 0}.hero h1{font-size:2.8rem}}
@media(max-width:560px){.grid,.grid.three,.grid.five,form{grid-template-columns:1fr}.full{grid-column:auto}.topbar{display:none}.hero h1{font-size:2.3rem}.section{padding:48px 0}.pagehero h1{font-size:2.1rem}}

.hero.photo{background:linear-gradient(90deg,rgba(0,35,70,.94),rgba(0,59,115,.62)),url("photos/chantier-infrastructure.webp") center/cover no-repeat}.photo-card{padding:0;overflow:hidden}.photo-card img{width:100%;height:190px;object-fit:cover}.photo-card .pad{padding:20px}.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.gallery figure{margin:0;background:#fff;border:1px solid #dfe6eb;border-radius:8px;overflow:hidden}.gallery img{width:100%;height:220px;object-fit:cover}.gallery figcaption{padding:12px 15px;font-weight:700;color:var(--blue)}.textlink{text-decoration:underline;text-underline-offset:3px}@media(max-width:700px){.gallery{grid-template-columns:1fr}}

.ref-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:22px;margin-top:24px}.ref-card{margin:0;border:1px solid #e0e6eb;border-radius:14px;overflow:hidden;background:white;box-shadow:0 4px 18px #002e5d12}.ref-card img{width:100%;height:225px;object-fit:cover;display:block}.ref-info{padding:20px}.ref-info h3{font-size:1.13rem;line-height:1.35;margin:0 0 14px;color:#003b73}.ref-info p{margin:7px 0;font-size:.92rem;line-height:1.55}.ref-noimage{height:120px;background:#e9edf0;color:#56636d;display:grid;place-items:center;font-weight:700}
/* V4 : cadres photographiques homogènes */
.ref-card img,.ref-noimage{width:100%;height:230px;aspect-ratio:16/9;object-fit:cover;display:block}
.ref-noimage{display:grid;place-items:center;text-align:center;padding:16px;box-sizing:border-box}
@media(max-width:700px){.ref-card img,.ref-noimage{height:auto;aspect-ratio:16/9}}

/* V6 : logo officiel et fiches lisibles en deux colonnes */
.brand-logo{width:205px;max-width:100%;height:68px;object-fit:contain;object-position:left center}
.ref-grid{display:grid;grid-template-columns:1fr;gap:20px}
.ref-card{display:grid;grid-template-columns:minmax(250px,42%) minmax(0,1fr);align-items:stretch}
.ref-card img{width:100%;height:100%;min-height:245px;max-height:360px;aspect-ratio:auto;object-fit:cover}
.ref-info{align-self:center;padding:24px 28px}
@media(max-width:700px){.brand-logo{width:155px;height:55px}.ref-card{grid-template-columns:1fr}.ref-card img{height:auto;min-height:0;max-height:none;aspect-ratio:16/9;object-fit:cover}.ref-info{padding:18px}}

/* V7 – page d'accueil validée : en-tête et bandeau compacts */
.topbar{background:#fff;color:#003b73;padding:.25rem 0;font-size:.79rem}.topbar .container{justify-content:flex-end}.topbar .container span:first-child{display:none}
.nav{min-height:69px}.brand-logo{width:152px;height:57px}nav{gap:1rem}nav a.btn{padding:.65rem 1rem}
.v7-hero{height:250px;background:linear-gradient(90deg,rgba(0,39,79,.55),rgba(0,39,79,.05)),url('photos/chantier-infrastructure.webp') center/cover no-repeat;display:flex;align-items:center;color:white}
.v7-hero .container{width:min(1250px,94%)}.v7-hero-copy{background:rgba(0,42,84,.88);display:inline-block;padding:20px 25px;border-radius:5px;max-width:630px}.v7-hero h1{font-size:clamp(1.6rem,3vw,2.5rem);margin:0}.v7-hero-copy p{font-size:clamp(1.05rem,2vw,1.65rem);margin:0 0 10px}.v7-hero-copy span{letter-spacing:.08em;font-size:.85rem}.v7-hero-copy b,.v7-values em{color:#ff5a00;font-style:normal}
.v7-values{text-align:center;padding:26px 0 30px}.v7-values h2{font-size:clamp(1.35rem,2.6vw,2.15rem);margin:0}.v7-sub{color:#687688;margin:0 0 22px;font-size:1.1rem}.v7-benefits{display:grid;grid-template-columns:repeat(4,1fr);gap:0}.v7-benefits article{padding:8px 15px;border-right:1px solid #d9e0e6}.v7-benefits article:last-child{border:0}.v7-benefits span{color:#ff5a00;font-size:2rem;line-height:1.2}.v7-benefits h3{color:#003b73;margin:7px 0 2px;font-size:1.03rem}.v7-benefits p{margin:0;color:#647284;font-size:.91rem;line-height:1.4}
.v7-refs{padding:28px 0 42px}.v7-ref-heading{display:flex;align-items:center;justify-content:center;position:relative;margin-bottom:22px}.v7-ref-heading h2{margin:0}.v7-ref-heading>a{position:absolute;right:0;color:#003b73;text-decoration:underline;font-size:.88rem}.v7-ref-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.v7-ref{display:grid;grid-template-columns:52% 48%;background:white;border-radius:7px;overflow:hidden;min-height:194px;box-shadow:0 3px 14px #002e5d10}.v7-ref>a{display:block;min-width:0}.v7-ref img{width:100%;height:100%;min-height:194px;object-fit:cover;aspect-ratio:16/9}.v7-ref>div{padding:13px 15px;display:flex;flex-direction:column;align-items:flex-start}.v7-ref h3{color:#003b73;font-size:.98rem;line-height:1.22;margin:0 0 7px}.v7-ref p{font-size:.8rem;line-height:1.35;margin:3px 0;color:#475a6d}.v7-more{margin-top:auto;align-self:flex-end;background:#003b73;color:white;padding:7px 11px;border-radius:4px;font-size:.8rem;font-weight:700}
.ref-card[id]{scroll-margin-top:110px}
@media(max-width:1000px){.v7-ref-grid{grid-template-columns:1fr}.v7-ref{grid-template-columns:42% 58%}.v7-ref-heading>a{position:static;margin-left:auto}.v7-ref-heading{justify-content:space-between}}
@media(max-width:700px){.brand-logo{width:133px;height:50px}.v7-hero{height:235px}.v7-hero-copy{padding:16px}.v7-benefits{grid-template-columns:1fr 1fr;row-gap:18px}.v7-benefits article:nth-child(2){border:0}.v7-ref{grid-template-columns:1fr}.v7-ref img{height:200px}.v7-ref-heading{display:block;text-align:center}.v7-ref-heading>a{display:block;margin-top:8px}.v7-hero-copy span{font-size:.7rem}}
/* AXYS SPS - Pied de page compact */

footer {
  padding: 28px 0 16px;
}

footer .footergrid {
  display: grid;
  grid-template-columns: 1.6fr 1.1fr 1fr 1fr;
  gap: 24px;
  align-items: start;
}

footer .footergrid h3 {
  margin: 0 0 10px;
}

footer .footergrid p {
  margin: 0;
  line-height: 1.6;
}

footer .legal {
  margin-top: 24px;
  padding-top: 14px;
}

/* Tablettes */
@media (max-width: 900px) {
  footer .footergrid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Téléphones */
@media (max-width: 560px) {
  footer .footergrid {
    grid-template-columns: 1fr;
  }
}
/* Couleurs officielles des réseaux sociaux */

footer .social-icons a {
  background: transparent;
  border: none;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  padding: 0;
}

/* LinkedIn : bleu officiel */
footer .social-icons a:first-child {
  color: #0A66C2;
}

/* Instagram : dégradé */
footer .social-icons a:last-child {
  color: #E1306C;
}

/* Taille des icônes */
footer .social-icons svg {
  width: 30px;
  height: 30px;
  max-width: 30px;
  max-height: 30px;
}