/* Theme Name: Well’d V33 — Design (précision)
Theme URI: https://welld.fr/
Author: Well'd — prototype assisté par IA
Description: Thème WordPress Well'd sombre, avec expertises, référencements et témoignages à compléter.
Version: 33.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: welld-v8
License: GPL-2.0-or-later */

*{
  box-sizing: border-box;
}

html{
  scroll-behavior: smooth;
}

body{
  margin: 0;
  color: var(--ink);
  line-height: 1.65;
}

a{
  color: inherit;
  text-decoration: none;
}

a:hover{
  color: var(--blue);
}



img{
  max-width: 100%;
  height: auto;
}

.container{
  margin-inline: auto;
}

.site-header{
  position: sticky;
  top: 0;
  z-index: 40;
}

.header-inner{
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
}

.brand{
  display: block;
  flex-shrink: 0;
}

.brand img{
  height: auto;
}

.menu{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}



.menu-toggle{
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  color: white;
  padding: 10px 14px;
  border-radius: 8px;
}

.kicker{
  text-transform: uppercase;
  font-weight: 750;
}

h1,h2,h3,p{
  margin-top: 0;
}

h1{
  max-width: 930px;
}

h2{
  line-height: 1.18;
  margin: 14px 0 18px;
}

h3{
  font-size: 1.18rem;
  line-height: 1.35;
  margin-bottom: 10px;
}

.lead{
  font-size: 1.16rem;
  color: var(--muted);
  max-width: 780px;
}



.hero{
  position: relative;
}

.hero:after{
  content: "";
  position: absolute;
  right: 8%;
  top: 26%;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(101,185,245,.23);
  border-radius: 50%;
  pointer-events: none;
  box-shadow: 0 0 0 47px rgba(101,185,245,.025),0 0 0 95px rgba(101,185,245,.025);
}

.hero>.container{
  position: relative;
  z-index: 1;
}

.buttons{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  line-height: 1.3;
}

.btn:hover{
  background: #268dde;
  color: #fff;
}

.btn-outline{
  border: 1px solid #7994aa;
}

.btn-outline:hover{
  background: #14324a;
}

.cards{
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 16px;
}

.cards.three{
  grid-template-columns: repeat(3,minmax(0,1fr));
}



.card{
  border-radius: 13px;
  background: var(--surface);
  padding: 25px;
  border: 1px solid #1d3d56;
  min-width: 0;
}

.card p{
  color: var(--muted);
  font-size: .97rem;
}

.card .arrow{
  display: inline-block;
  margin-top: 13px;
  color: var(--blue);
  font-weight: 700;
}



.panel{
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 34px;
  background: linear-gradient(115deg,#102c46,#101e33);
}







.hargos{
  display: flex;
  align-items: center;
  gap: 40px;
}

.hargos .copy{
  flex: 1;
}





.footer{
  border-top: 1px solid var(--line);
  padding: 42px 0 25px;
}

.footer-grid{
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 24px;
}

.footer a{
  display: block;
  margin: 6px 0;
  color: #c5d7e5;
}

.footer p{
  color: var(--muted);
}

.copyright{
  border-top: 1px solid var(--line);
  padding-top: 15px;
  margin-top: 25px;
  color: #94afc2;
  font-size: .82rem;
}

.crumb{
  color: var(--blue);
  font-size: .9rem;
}



.detail-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.notice{
  border-left: 3px solid var(--blue);
  padding: 15px 20px;
  background: #0d293f;
  color: #c3d8e9;
}



ul{
  padding-left: 22px;
}

li{
  margin-bottom: 8px;
}

@media (max-width:980px) {
  .cards{
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .cards.three{
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .header-inner{
    flex-wrap: wrap;
  }
  .menu-toggle{
    display: block;
  }
  .menu{
    display: none;
    width: 100%;
    padding: 12px 0 22px;
    flex-direction: column;
    align-items: flex-start;
  }
  .menu.is-open{
    display: flex;
  }
  .hargos{
    flex-direction: column;
    align-items: flex-start;
  }
  
}

@media (max-width:640px) {
  .container{
    width: min(calc(100% - 30px),var(--max));
  }
  .hero{
    padding: 73px 0;
  }
  .section{
    padding: 52px 0;
  }
  .cards,.cards.three,.detail-grid,.footer-grid{
    grid-template-columns: 1fr;
  }
  .panel{
    padding: 22px;
  }
  h1{
    font-size: 2.55rem;
  }
  .hero:after{
    display: none;
  }
}

@media (prefers-reduced-motion:reduce) {
  html{
    scroll-behavior: auto;
  }
}

:root{
  --surface: #0c263c;
  --surface2: #133550;
  --ink: #f4f8fe;
}

body{
  font-family: Inter,system-ui,-apple-system,"Segoe UI",sans-serif;
  letter-spacing: .002em;
}

.site-header{
  backdrop-filter: blur(18px);
}

.menu a{
  font-weight: 600;
}

.menu a:not(.intranet):hover{
  color: #92ddff;
}

.kicker{
  font-size: .73rem;
  letter-spacing: .22em;
  color: #75c7ff;
}

.kicker span{
  padding: 0 6px;
  color: #3f749c;
}

h1{
  font-size: clamp(3rem,5.1vw,5.35rem);
  font-weight: 760;
  line-height: 1.08;
  letter-spacing: -.05em;
  margin: 24px 0;
}

h1 em,h2 em{
  font-style: normal;
  color: #69bcff;
}

h2{
  letter-spacing: -.045em;
  max-width: 780px;
}

h3{
  letter-spacing: -.02em;
}

.hero{
  overflow: hidden;
}

.hero:after{
  display: none;
}

.hero-grid{
  display: grid;
}

.hero-copy{
  position: relative;
  z-index: 2;
}











.btn{
  background: linear-gradient(125deg,#157bd2,#278de3);
  border: 1px solid #438fd5;
  border-radius: 8px;
  padding: 15px 23px;
  gap: 14px;
  transition: transform .2s ease,box-shadow .2s ease;
}

.btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(36,137,223,.25);
}

.btn-outline{
  background: rgba(7,24,40,.28);
  border-color: #6d99b5;
}

.alt{
  background: #081c2d;
}

.section-top{
  display: flex;
  justify-content: space-between;
}

.section-top p{
  color: var(--muted);
  margin: 0 0 13px;
}

.expertise-card{
  padding: 0;
}

.expertise-card h3{
  color: white;
}

.card-index{
  font-size: .65rem;
  color: #74c5ff;
  letter-spacing: .13em;
  font-weight: 800;
}

.expertise-card .arrow{
  font-size: .88rem;
}

.sector-section{
  background: linear-gradient(135deg,#0b2034,#0b2940);
}







.reference{
  padding: 28px;
  background: linear-gradient(155deg,#112f47,#0b2337);
  min-height: 305px;
  border-color: #31536c;
  display: flex;
  flex-direction: column;
}

.reference-top{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  gap: 6px;
}



.reference h3{
  margin-top: 18px;
}

.reference p{
  margin-top: auto;
  padding-top: 10px;
}





.hargos-section{
  padding: 75px 0;
}















.join-panel{
  justify-content: space-between;
  gap: 32px;
  overflow: hidden;
}

.join-decor{
  width: 30%;
  min-width: 170px;
  display: grid;
  place-items: center;
  align-self: stretch;
  font: italic 280px Georgia,serif;
  color: rgba(113,196,248,.13);
  transform: rotate(-11deg);
}

.footer{
  background: #030d18;
}

.footer img{
  width: 178px;
}

.copyright{
  opacity: .95;
}

@media (max-width:1090px) {
  .hero-grid{
    grid-template-columns: 1fr 1fr;
  }
  
  
  
}

@media (max-width:800px) {
  .hero-grid{
    grid-template-columns: 1fr;
  }
  .hero{
    padding: 73px 0 35px;
  }
  
  .section-top{
    display: block;
  }
  .section-top p{
    max-width: 650px;
  }
  
  .expertise-grid{
    grid-template-columns: repeat(2,1fr);
  }
}

@media (max-width:640px) {
  .section{
    padding: 60px 0;
  }
  
  .hero h1{
    font-size: clamp(2.65rem,11vw,3.8rem);
  }
  
  .expertise-grid{
    grid-template-columns: 1fr;
  }
  .expertise-card .card-media{
    height: 190px;
  }
  
  .join-decor{
    display: none;
  }
  .reference{
    min-height: 250px;
  }
  .brand img{
    width: 142px;
  }
}

@media (prefers-reduced-motion:reduce) {
  .expertise-card,.btn{
    transition: none;
  }
}

@media (min-width:1100px) {
  .hero{
    padding: 78px 0 70px;
  }
  .hero-grid{
    min-height: 460px;
    grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr);
  }
  
  .hero h1{
    font-size: clamp(3.1rem,4.75vw,4.95rem);
  }
}

@media (max-width:800px) {
  .hero-copy .lead{
    font-size: 1.06rem;
  }
  
  .section{
    padding: 64px 0;
  }
  .reference{
    min-height: 0;
  }
  
}

@media (max-width:640px) {
  .hero{
    padding: 58px 0 32px;
  }
  
  .hero h1{
    font-size: clamp(2.3rem,9.5vw,3.15rem);
  }
  
  .expertise-card .card-body{
    min-height: 0;
  }
  .expertise-card .card-media{
    height: 150px;
  }
  
  .section{
    padding: 50px 0;
  }
  .cards.three{
    grid-template-columns: 1fr;
  }
}

:root{
  --bg: #05111d;
  --line: #31516a;
}

body{
  -webkit-font-smoothing: antialiased;
}

.site-header{
  border-bottom: 1px solid rgba(123,190,230,.17);
}

.menu{
  gap: 27px;
}

.menu a{
  font-size: .91rem;
}

.hero{
  isolation: isolate;
}

.hero h1{
  letter-spacing: -.057em;
}







.section-top{
  margin-bottom: 37px;
}

.section-top p{
  line-height: 1.7;
}

.expertise-card{
  border-color: #31516b;
}









.refs-section .reference{
  background: linear-gradient(160deg,#153a54,#0c263a);
  border-color: #38617e;
  border-radius: 16px;
}

.reference p{
  color: #c5d8e8;
}

.hargos{
  border-radius: 20px;
  box-shadow: 0 18px 70px rgba(0,0,0,.13),inset 0 0 0 1px rgba(100,188,252,.12);
}







.join-panel .lead{
  max-width: 610px;
}

.page-hero{
  padding: 100px 0 80px;
}

.detail-grid .card{
  border-radius: 15px;
  background: linear-gradient(155deg,#11344d,#0a2135);
  border-color: #31516a;
}



.notice{
  border-radius: 0 10px 10px 0;
}

@media (max-width:1100px) {
  .hero-grid{
    min-height: 480px;
  }
  .hero h1{
    font-size: clamp(3.05rem,5.2vw,4.7rem);
  }
  
  .expertise-card .card-media{
    height: 170px;
  }
}

@media (max-width:800px) {
  .hero{
    padding: 77px 0 35px;
  }
  .hero-grid{
    grid-template-columns: 1fr;
    min-height: 0;
  }
  
  .hero h1{
    max-width: 720px;
  }
  .section{
    padding: 70px 0;
  }
  .expertise-card .card-body{
    min-height: 230px;
  }
  
  .hargos{
    padding: 30px;
  }
}

@media (max-width:640px) {
  .header-inner{
    min-height: 70px;
  }
  .hero{
    padding: 57px 0 25px;
  }
  .hero h1{
    font-size: clamp(2.5rem,10vw,3.5rem);
    line-height: 1.1;
  }
  .hero-copy .lead{
    font-size: 1.03rem;
  }
  
  
  .section{
    padding: 54px 0;
  }
  .section-top{
    margin-bottom: 24px;
  }
  .expertise-card .card-media{
    height: 177px;
  }
  .expertise-card .card-body{
    min-height: 0;
    padding: 24px;
  }
  
  
  
  
  .reference{
    min-height: 0 !important;
  }
  .hargos{
    padding: 23px;
  }
  
  .join-panel{
    min-height: 0;
  }
  .page-hero{
    padding: 65px 0 45px;
  }
  .detail-grid .card{
    min-height: 0;
    padding: 23px;
  }
}

:root{
  --max: 1320px;
  --blue: #66baff;
  --muted: #c3d6e6;
}

html{
  scroll-padding-top: 95px;
}

body{
  background: #04111e;
}

.container{
  width: min(calc(100% - 72px),var(--max));
}

.site-header{
  background: rgba(3,12,23,.95);
  box-shadow: 0 6px 25px rgba(0,0,0,.19);
}

.header-inner{
  min-height: 92px;
}

.brand img{
  width: 185px;
}

.hero{
  padding: 90px 0 80px;
  background: radial-gradient(ellipse at 78% 48%,#174f80 0%,#0c2b4b 22%,transparent 60%),linear-gradient(112deg,#03101d 7%,#081d34 100%);
}

.hero-grid{
  min-height: 610px;
}

.hero-copy{
  padding-block: 36px;
}

.hero h1{
  font-size: clamp(3.6rem,5.2vw,5.6rem);
  line-height: 1.09;
  max-width: 770px;
  margin-bottom: 27px;
}

.hero-copy .lead{
  font-size: 1.16rem;
  line-height: 1.75;
  max-width: 585px;
}









.section{
  padding: 96px 0;
}

.section-top{
  align-items: center;
  gap: 40px;
}

.section-top p{
  font-size: 1.12rem;
  max-width: 425px;
}

h2{
  font-size: clamp(2.4rem,3.7vw,3.7rem);
}





.refs-section{
  background: linear-gradient(180deg,#051522,#061523);
}

.refs-section .reference{
  min-height: 345px;
  padding: 35px 30px;
  border: 1px solid #345b7a;
}



.reference h3{
  font-size: 1.26rem;
  line-height: 1.43;
}

.reference p{
  font-size: .93rem;
}

.hargos-section{
  background: linear-gradient(180deg,#091c2f,#06182a);
}

.hargos{
  position: relative;
  overflow: hidden;
  min-height: 365px;
  padding: 50px;
  background: radial-gradient(ellipse at 77% 42%,rgba(35,134,209,.29),transparent 56%),linear-gradient(111deg,#122c47,#071b30);
  border-color: #4597d8;
}

.hargos:after{
  content: "";
  position: absolute;
  right: 17%;
  top: -46%;
  width: 470px;
  height: 470px;
  border-radius: 50%;
  border: 1px solid rgba(97,186,251,.1);
  pointer-events: none;
}

.hargos .copy{
  z-index: 1;
}







.join-panel{
  min-height: 375px;
  display: flex;
  align-items: center;
  background: radial-gradient(ellipse at 82% 30%,rgba(44,124,186,.22),transparent 60%),linear-gradient(135deg,#113652,#091f34);
}

.page-hero{
  position: relative;
  overflow: hidden;
  min-height: 365px;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 86% 38%,rgba(35,117,197,.26),transparent 48%),linear-gradient(125deg,#081b2b,#061625);
}

.page-hero:after{
  content: "";
  position: absolute;
  right: 6%;
  top: 8%;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(102,187,255,.13);
  border-radius: 50%;
  box-shadow: 0 0 0 38px rgba(74,165,226,.018),0 0 0 86px rgba(74,165,226,.015);
  pointer-events: none;
}

.page-hero h1{
  position: relative;
  z-index: 1;
}

.detail-grid{
  gap: 24px;
}

.detail-grid .card{
  padding: 34px;
  min-height: 215px;
  transition: border-color .2s ease;
}

.detail-grid .card:hover{
  border-color: #6abafa;
}

@media (max-width:1100px) {
  .hero-grid{
    min-height: 0;
  }
  .hero h1{
    font-size: clamp(3.1rem,5.1vw,4.7rem);
  }
  
  .expertise-card .card-media{
    height: 185px;
  }
  .expertise-card .card-body{
    min-height: 275px;
  }
  
}

@media (max-width:800px) {
  .container{
    width: min(calc(100% - 48px),var(--max));
  }
  .hero{
    padding: 56px 0 38px;
  }
  .hero-grid{
    grid-template-columns: 1fr;
    gap: 0;
  }
  .hero-copy{
    padding: 0;
  }
  
  
  .section{
    padding: 70px 0;
  }
  .section-top{
    align-items: flex-start;
  }
  .expertise-card .card-media{
    height: 205px;
  }
  .expertise-card .card-body{
    min-height: 235px;
  }
  .refs-section .reference{
    min-height: 300px;
  }
  .hargos{
    padding: 35px;
  }
}

@media (max-width:640px) {
  .container{
    width: min(calc(100% - 36px),var(--max));
  }
  .header-inner{
    min-height: 71px;
  }
  .brand img{
    width: 151px;
  }
  .hero{
    padding: 44px 0 26px;
  }
  .hero h1{
    font-size: clamp(2.65rem,10vw,3.9rem);
    letter-spacing: -.05em;
  }
  .hero-copy .lead{
    font-size: 1rem;
    line-height: 1.7;
  }
  
  .section{
    padding: 55px 0;
  }
  .section-top{
    gap: 14px;
  }
  h2{
    font-size: clamp(2rem,8vw,2.55rem);
  }
  .expertise-card .card-media{
    height: 190px;
  }
  .expertise-card .card-body{
    padding: 24px;
    min-height: 0;
  }
  
  .refs-section .reference{
    min-height: 0;
    padding: 27px;
  }
  .hargos{
    min-height: 0;
    padding: 25px;
  }
  
  
  .page-hero{
    min-height: 0;
    padding: 70px 0 55px;
  }
  .page-hero:after{
    width: 160px;
    height: 160px;
  }
  .detail-grid .card{
    min-height: 0;
    padding: 25px;
  }
  .join-panel{
    min-height: 0;
  }
}

.hero-grid{
  grid-template-columns: minmax(0,1.06fr) minmax(0,.94fr);
  gap: clamp(18px,3vw,46px);
}

.hero-copy{
  min-width: 0;
}





@media (max-width:1100px) {
  .hero-grid{
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  }
  
}

@media (max-width:800px) {
  .hero-grid{
    grid-template-columns: minmax(0,1fr);
  }
  
}



.hero-copy{
  display: flex;
  flex-direction: column;
}





















/* Full-width trust strip below two-column hero */



.hero-grid{
  align-items: center;
}





.expertise-section{
  position: relative;
  background: linear-gradient(180deg,#051525 0%,#071c2e 100%);
}

.expertise-section .section-top{
  padding-bottom: 5px;
}

.expertise-grid{
  gap: clamp(14px,1.6vw,22px);
  align-items: stretch;
}

.expertise-card{
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(108,184,240,.31);
  border-radius: 19px;
  background: linear-gradient(167deg,#102c44 0%,#081b2c 100%);
  box-shadow: 0 15px 40px rgba(0,0,0,.13);
  transition: transform .24s ease,border-color .24s ease,box-shadow .24s ease;
}

.expertise-card:hover{
  transform: translateY(-7px);
  border-color: #74c7ff;
  box-shadow: 0 22px 52px rgba(0,0,0,.26),0 0 28px rgba(36,121,197,.13);
}



.expertise-card .card-media{
  position: relative;
  overflow: hidden;
}

.expertise-card:nth-child(2) .card-media{
  background: radial-gradient(ellipse at 52% 45%,#1a567e,#102c4a 54%,#071c30 100%);
}

.expertise-card:nth-child(3) .card-media{
  background: radial-gradient(ellipse at 55% 42%,#244e84,#142d55 56%,#071c32 100%);
}



.expertise-card .card-media:after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,transparent 46%,rgba(5,20,35,.58) 100%);
  pointer-events: none;
}

.expertise-card .card-media img{
  display: block;
  transition: transform .35s ease,filter .35s ease;
}

.expertise-card .card-body{
  position: relative;
  min-height: 275px;
  padding: 27px 25px 28px;
  display: flex;
  flex-direction: column;
}



.expertise-card h3{
  font-size: clamp(1.14rem,1.45vw,1.39rem);
  line-height: 1.32;
  letter-spacing: -.017em;
  margin: 14px 0 11px;
}

.expertise-card p{
  color: #d0deea;
  font-size: .96rem;
  line-height: 1.67;
  margin: 0 0 20px;
}

.expertise-card .arrow{
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: #90d5ff;
  font-weight: 750;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(135,194,233,.17);
}

.expertise-card .arrow:hover{
  color: #fff;
}

@media (max-width:1100px) {
  .expertise-card .card-media{
    height: 190px;
  }
  .expertise-card .card-body{
    min-height: 275px;
    padding: 24px 21px;
  }
}

@media (max-width:800px) {
  .expertise-grid{
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .expertise-card .card-media{
    height: 210px;
  }
  .expertise-card .card-body{
    min-height: 242px;
  }
}

@media (max-width:640px) {
  .expertise-grid{
    grid-template-columns: 1fr;
  }
  .expertise-card .card-media{
    height: 205px;
  }
  .expertise-card .card-body{
    min-height: 0;
    padding: 25px;
  }
  .expertise-card p{
    margin-bottom: 23px;
  }
}

@media (prefers-reduced-motion:reduce) {
  .expertise-card,.expertise-card .card-media img{
    transition: none;
  }
}

.references-v13{
  gap: 20px;
  align-items: stretch;
}

.references-v13 .reference{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 350px;
  position: relative;
  overflow: hidden;
  padding: 29px 29px 25px;
  border: 1px solid rgba(106,190,250,.34);
  background: linear-gradient(145deg,#122f49 0%,#081b2e 100%);
  box-shadow: 0 22px 44px rgba(0,0,0,.13);
}

.references-v13 .reference:before{
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 8%,rgba(80,180,248,.13),transparent 50%);
  pointer-events: none;
}

.references-v13 .reference:after{
  content: "";
  position: absolute;
  top: 0;
  left: 29px;
  width: 58px;
  height: 3px;
  background: #67baff;
  box-shadow: 0 0 16px rgba(81,180,253,.3);
}

.references-v13 .reference-top,.references-v13 .ref-bottom{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.references-v13 .ref-sector{
  font-size: .75rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #a3d9ff;
  font-weight: 750;
}

.references-v13 .ref-sector-icon{
  display: inline-flex;
  margin-right: 8px;
  font-size: 1.05rem;
  color: #73c5ff;
}



.references-v13 .ref-main{
  position: relative;
  z-index: 1;
  padding: 27px 0 28px;
}

.references-v13 .ref-label{
  font-size: .8rem;
  color: #8acbfb;
  font-weight: 650;
}

.references-v13 .ref-main h3{
  margin: 8px 0 12px;
  font-size: clamp(1.8rem,2.3vw,2.4rem);
  line-height: 1.15;
  letter-spacing: -.025em;
  color: #fff;
}

.references-v13 .ref-specialty{
  font-size: 1.05rem;
  line-height: 1.55;
  color: #e0edf8;
  margin: 0;
  max-width: 310px;
}

.references-v13 .ref-bottom{
  border-top: 1px solid rgba(133,201,245,.24);
  padding-top: 18px;
  color: #bbd9ed;
  font-size: .78rem;
  letter-spacing: .025em;
}

.references-v13 .ref-bottom span:last-child{
  border: 1px solid rgba(96,187,255,.3);
  border-radius: 20px;
  padding: 3px 10px;
  color: #94d3fc;
}

.refs-note{
  font-size: .85rem;
  color: #a3bdcf;
  margin-top: 25px;
  line-height: 1.6;
}

.hargos-v13{
  display: grid;
  grid-template-columns: minmax(0,1.25fr) minmax(0,.75fr);
  gap: 28px;
  align-items: center;
  min-height: 365px;
  padding: 50px 56px;
  border: 1px solid #3a8cc7;
  background: radial-gradient(ellipse at 87% 22%,rgba(48,140,206,.18),transparent 52%),linear-gradient(120deg,#102d47,#061b2d);
}

.hargos-v13 .copy{
  max-width: 700px;
}

.hargos-v13 .copy h2{
  font-size: clamp(1.9rem,3vw,3.15rem);
  line-height: 1.17;
  max-width: 665px;
  margin-top: 13px;
}

.hargos-v13 .copy p{
  max-width: 610px;
  color: #ccdeed;
  line-height: 1.75;
  font-size: 1rem;
}

.hargos-v13 .copy .btn{
  margin-top: 8px;
}

.hargos-company{
  display: inline-block;
  margin-top: 19px;
  padding: 6px 12px;
  border: 1px solid rgba(116,196,252,.25);
  background: rgba(22,69,99,.46);
  color: #d9efff;
  border-radius: 100px;
  font-size: .8rem;
}

.hargos-v13 .hargos-identity{
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 17px;
}

.hargos-v13 .hargos-mark{
  width: 100%;
  min-height: 178px;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0,0,0,.24);
}

.hargos-v13 .hargos-mark img{
  width: 100%;
  max-width: 255px;
  max-height: 130px;
  object-fit: contain;
}

.hargos-v13 .hargos-caption{
  text-align: center;
  color: #bdd6e8;
  font-size: .82rem;
}

.hargos-v13 .hargos-caption span{
  white-space: nowrap;
  color: #83cbff;
}

@media (max-width:1000px) {
  .hargos-v13{
    padding: 35px;
    grid-template-columns: minmax(0,1fr) minmax(0,.7fr);
  }
  .references-v13 .reference{
    padding: 24px;
    min-height: 330px;
  }
}

@media (max-width:800px) {
  .hargos-v13{
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .hargos-v13 .hargos-mark{
    max-width: 370px;
  }
  .hargos-v13 .hargos-identity{
    align-items: flex-start;
  }
  .hargos-v13 .hargos-caption{
    text-align: left;
  }
}

@media (max-width:640px) {
  .references-v13 .reference{
    min-height: 0;
    padding: 23px;
  }
  .references-v13 .ref-main{
    padding: 20px 0;
  }
  .references-v13 .ref-main h3{
    font-size: 1.85rem;
  }
  .hargos-v13{
    padding: 24px;
  }
  .hargos-v13 .copy h2{
    font-size: 2rem;
  }
  .hargos-v13 .hargos-mark{
    min-height: 135px;
    padding: 20px;
  }
}

.sectors-v14{
  background: linear-gradient(160deg,#0b2840 0%,#071c2e 66%,#061827 100%);
}

.sectors-v14 .sectors-heading{
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 55px;
  margin-bottom: 38px;
}

.sectors-v14 .sectors-heading h2{
  max-width: 680px;
  margin-bottom: 0;
}

.sectors-v14 .sectors-heading>p{
  max-width: 400px;
  margin: 0 0 5px;
  color: #c3d9e9;
  font-size: 1.07rem;
  line-height: 1.75;
}

.sectors-v14-grid{
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  gap: 15px;
}

.sector-v14-card{
  min-width: 0;
  border: 1px solid #386685;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(170deg,#11334d,#0b2337);
  box-shadow: 0 18px 42px rgba(0,0,0,.14);
  transition: transform .22s ease,border-color .22s ease,box-shadow .22s ease;
}

.sector-v14-card:hover{
  transform: translateY(-5px);
  border-color: #68bfff;
  box-shadow: 0 23px 56px rgba(2,18,33,.36);
}

.sector-v14-visual{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.sector-v14-visual::after{
  content: "";
  position: absolute;
  inset: auto 18px 0;
  height: 1px;
  background: linear-gradient(90deg,transparent,rgba(122,202,255,.4),transparent);
}

.sector-v14-visual img{
  object-fit: contain;
  transition: transform .25s ease;
}



.sector-v14-content{
  padding: 23px 20px 25px;
  min-height: 225px;
}



.sector-v14-content h3{
  font-size: 1.13rem;
  line-height: 1.38;
  margin: 9px 0 11px;
  color: #fff;
}

.sector-v14-content p{
  font-size: .91rem;
  line-height: 1.65;
  color: #c0d6e7;
  margin: 0;
}

@media (max-width:1150px) {
  .sectors-v14-grid{
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
  .sector-v14-content{
    min-height: 195px;
  }
  .sectors-v14 .sectors-heading{
    align-items: start;
  }
}

@media (max-width:800px) {
  .sectors-v14 .sectors-heading{
    flex-direction: column;
    gap: 12px;
  }
  .sectors-v14-grid{
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .sector-v14-content{
    min-height: 190px;
  }
}

@media (max-width:560px) {
  .sectors-v14-grid{
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .sector-v14-card{
    display: grid;
    grid-template-columns: 120px minmax(0,1fr);
  }
  .sector-v14-visual{
    height: 100%;
    min-height: 160px;
  }
  .sector-v14-visual img{
    width: 85px;
    height: 85px;
  }
  .sector-v14-content{
    min-height: 0;
    padding: 22px 17px;
  }
  .sector-v14-content h3{
    font-size: 1.05rem;
  }
  .sector-v14-content p{
    font-size: .88rem;
  }
  
}

























@media (max-width:640px) {
  
  
  
  
  .people-value{
    padding: 17px 0;
  }
}

.people-showcase{
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(320px,.8fr);
  gap: 24px;
  margin-top: 30px;
  align-items: stretch;
}

.people-gallery{
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  grid-template-rows: 220px 170px 170px;
  gap: 16px;
}

.people-gallery figure{
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(112,184,238,.2);
  background: #0c2235;
  box-shadow: 0 18px 40px rgba(0,0,0,.14);
}



.people-gallery figure:after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,rgba(6,17,28,0) 45%,rgba(6,17,28,.55) 100%);
  pointer-events: none;
}











.people-panel{
  border: 1px solid rgba(112,184,238,.24);
  border-radius: 20px;
  background: linear-gradient(145deg,#11304b,#081d30);
  padding: 28px 28px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 18px 40px rgba(0,0,0,.14);
}

.people-panel h3{
  font-size: clamp(1.5rem,2.2vw,2rem);
  margin: 12px 0 10px;
}

.people-panel p{
  color: #c3d9ea;
  margin: 0 0 18px;
}

.people-values-grid{
  display: grid;
  gap: 0;
  margin-top: 4px;
}

.people-value{
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(120,182,226,.16);
}

.people-value-icon{
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border: 1px solid #447a9a;
  background: #102d44;
  border-radius: 11px;
  width: 48px;
  height: 48px;
  color: #80d0ff;
  font-size: .86rem;
  font-weight: 750;
}

.people-value h3{
  font-size: 1.02rem;
  margin: 0 0 5px;
}

.people-value p{
  color: #b9d2e5;
  font-size: .92rem;
  line-height: 1.55;
  margin: 0;
}



.people-cta{
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 8px;
  padding: 14px 16px;
  border-radius: 9px;
  background: #166fb4;
  color: white;
  font-size: .86rem;
  font-weight: 750;
  width: max-content;
}

.people-cta:hover{
  color: white;
  background: #258cda;
}

@media (max-width:1080px) {
  .people-showcase{
    grid-template-columns: 1fr;
  }
  .people-gallery{
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 240px 160px 160px;
  }
  .people-panel{
    padding: 25px;
  }
}

@media (max-width:700px) {
  .people-gallery{
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 12px;
  }
  
  .people-gallery figure{
    height: 220px;
  }
  .people-panel{
    padding: 22px;
  }
  
}

.footer-grid-v17{
  grid-template-columns: 1.5fr 1.15fr 1fr 1fr;
  gap: 42px;
}

.footer-v17{
  padding: 70px 0 28px;
}

.footer-v17 strong{
  display: block;
  color: #fff;
  margin-bottom: 15px;
}

.footer-v17 a{
  line-height: 1.55;
  margin: 12px 0;
  font-size: .91rem;
}

.footer-v17 .footer-tag{
  color: #78c6ff;
  font-weight: 700;
}

.footer-note{
  display: block;
  color: #8fb3ca;
  font-size: .77rem;
  margin-top: 15px;
}

.footer-brand{
  max-width: 350px;
}

.about-hero,.contact-hero{
  background: radial-gradient(ellipse at 82% 38%,rgba(26,110,184,.26),transparent 53%),linear-gradient(130deg,#051525,#091f35);
}

.about-intro{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  align-items: center;
}

.about-intro img{
  border-radius: 18px;
  max-height: 430px;
  width: 100%;
  object-fit: cover;
  border: 1px solid #335c7b;
}

.about-intro p{
  color: #c7d9e8;
  font-size: 1.04rem;
}

.about-group{
  display: grid;
  grid-template-columns: 1.4fr .6fr;
  gap: 35px;
  align-items: center;
  border: 1px solid #326285;
  border-radius: 20px;
  background: linear-gradient(135deg,#11334e,#071a2a);
  padding: 48px;
}

.about-group p{
  color: #c3d7e7;
}

.about-group img{
  padding: 23px;
  background: white;
  border-radius: 13px;
  max-height: 200px;
  width: 100%;
  object-fit: contain;
}

.about-join{
  min-height: 390px;
}

.contact-layout{
  display: grid;
  grid-template-columns: minmax(0,1.45fr) minmax(280px,.8fr);
  gap: 26px;
  align-items: start;
}

.contact-panel,.contact-aside{
  border-radius: 20px;
  padding: 36px;
  background: linear-gradient(155deg,#102e47,#091d2f);
  border: 1px solid #315775;
}

.contact-panel>p,.contact-aside p{
  color: #c6d8e7;
}

.contact-form{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 28px;
}

.contact-form>label{
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #ecf6ff;
  font-size: .92rem;
  font-weight: 650;
}

.contact-form>label:nth-of-type(3),.contact-form>label:nth-of-type(4),.contact-form .consent,.contact-form button{
  grid-column: 1/-1;
}

.contact-form input:not([type=checkbox]),.contact-form select,.contact-form textarea{
  width: 100%;
  border: 1px solid #4b7695;
  background: #061b2c;
  color: white;
  border-radius: 9px;
  padding: 13px 14px;
  font: inherit;
  min-height: 48px;
}

.contact-form input:focus,.contact-form textarea:focus,.contact-form select:focus{
  outline: 2px solid #73bdf4;
  outline-offset: 2px;
}

.contact-form label span{
  color: #7fd0ff;
}

.contact-form .consent{
  flex-direction: row;
  align-items: start;
  font-weight: 400;
}

.contact-form .consent input{
  margin-top: 6px;
}

.contact-form .consent span{
  color: #c9d9e6;
}

.contact-form button{
  width: max-content;
  border: 0;
  cursor: pointer;
}

.form-hp{
  position: absolute;
  left: -9999px;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

.form-message{
  background: #123e48;
  border: 1px solid #50ae9c;
  color: #e4fff5;
  padding: 14px;
  margin: 20px 0;
  border-radius: 9px;
}

.form-error{
  background: #3a2636;
  border-color: #d2838d;
  color: #ffdee3;
}

.privacy-help{
  font-size: .79rem;
  margin-top: 20px;
}

.contact-aside-card{
  border-top: 1px solid #365b76;
  padding: 23px 0;
}

.contact-aside-card strong{
  color: #fff;
}

.contact-aside .arrow{
  color: #86cfff;
}

.join-photo-panel{
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(90deg,rgba(6,22,38,.94),rgba(8,27,46,.85) 55%,rgba(8,27,46,.1)),url("assets/team-5-anon.webp") center right/cover no-repeat;
  min-height: 370px;
}

.join-photo-panel>div{
  position: relative;
  z-index: 1;
}

.join-photo-panel .join-decor{
  display: none;
}

@media (max-width:980px) {
  .footer-grid-v17{
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .about-intro,.contact-layout{
    grid-template-columns: 1fr;
  }
  .about-group{
    grid-template-columns: 1fr;
  }
  .about-group img{
    max-width: 320px;
  }
}

@media (max-width:640px) {
  .footer-grid-v17{
    grid-template-columns: 1fr;
  }
  .footer-v17{
    padding-top: 48px;
  }
  .contact-panel,.contact-aside{
    padding: 22px;
  }
  .contact-form{
    grid-template-columns: 1fr;
  }
  .contact-form>label{
    grid-column: 1/-1;
  }
  .about-group{
    padding: 25px;
  }
  .about-intro{
    gap: 25px;
  }
  .join-photo-panel{
    background-position: 60% center;
  }
}

.legal-layout{
  display: grid;
  grid-template-columns: minmax(0,2.2fr) minmax(230px,.8fr);
  gap: 48px;
  align-items: start;
}

.legal-content{
  background: linear-gradient(155deg,#0e2a41,#081e31);
  border: 1px solid #2b506b;
  border-radius: 18px;
  padding: 38px;
}

.legal-content h2{
  font-size: 1.46rem;
  margin: 27px 0 12px;
  color: #fff;
}

.legal-content p,.legal-content li{
  color: #c7dce9;
  font-size: 1rem;
  line-height: 1.8;
}

.legal-content a{
  color: #75c9ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-notice{
  border-left: 3px solid #75c9ff;
  background: rgba(43,112,162,.17);
  border-radius: 8px;
  padding: 16px;
  color: #e5f2fa;
  font-size: .94rem;
}

.legal-source{
  margin-top: 34px;
  font-size: .86rem !important;
}

.legal-side{
  position: sticky;
  top: 115px;
  background: #102b42;
  border: 1px solid #2b506b;
  border-radius: 16px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.legal-side a{
  color: #e2f2fe;
  font-size: .95rem;
}

.legal-side a:hover{
  color: #75c9ff;
}

@media (max-width:800px) {
  .legal-layout{
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .legal-side{
    position: static;
  }
  .legal-content{
    padding: 24px;
  }
}

.expertise-card .card-media{
  height: 170px !important;
  background: linear-gradient(145deg,#123048,#092034) !important;
}

.expertise-card .card-media:after{
  display: none;
}

.expertise-card .card-media img{
  width: 108px !important;
  height: 108px !important;
  margin: auto;
  object-fit: contain;
  padding: 0 !important;
  filter: none !important;
}

.expertise-card:hover .card-media img{
  transform: scale(1.035);
  filter: none;
}

.sector-v14-visual{
  height: 120px;
  background: linear-gradient(145deg,#12334c,#0b263d);
}

.sector-v14-visual img{
  width: 72px !important;
  height: 72px !important;
  filter: none !important;
}

.sector-v14-card:hover .sector-v14-visual img{
  transform: scale(1.035);
}

.expertise-card:hover,.sector-v14-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(0,0,0,.2);
}

@media (max-width:640px) {
  .expertise-card .card-media{
    height: 144px !important;
  }
  .sector-v14-visual{
    height: 100%;
    min-height: 145px;
  }
}

.home-contact-bar{
  padding: 60px 0;
  background: #0d2942;
  border-top: 1px solid rgba(111,191,247,.25);
}

.home-contact-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.home-contact-inner h2{
  margin: 8px 0 6px;
}

.home-contact-inner p{
  margin: 0;
  color: #bfd6e6;
}

.home-contact-actions{
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.home-contact-actions>a:last-child{
  color: #8bd0ff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.brand img{
  object-fit: contain;
  max-height: 76px;
}

@media (max-width:800px) {
  .home-contact-inner{
    flex-direction: column;
    align-items: flex-start;
  }
}

/* V27 — identité et mise en page. Corrections finales regroupées. */
.site-header{ min-height: 76px; }
.header-inner{ min-height: 76px; }
.brand{ display: flex; align-items: center; width: 182px; height: 66px; overflow: visible; }
.brand img{ display: block; width: 182px; max-height: 59px; height: auto; object-fit: contain; object-position: left center; }
.menu-toggle{ flex-shrink: 0; }
.footer-brand img{ display:block; width: 225px; max-width:100%; height:auto; max-height: none; object-fit:contain; object-position:left center; }
.expertise-card .card-media{ height: 112px !important; min-height: 112px; }
.expertise-card .card-media img{ width: 70px !important; height: 70px !important; }
.expertise-card .card-body{ padding-top: 18px; }

.expertise-card h3{ margin-top: 0; }

.references-v13{ grid-template-columns: repeat(3,minmax(0,1fr)); }
.references-v13 .reference{ min-height: 300px; }
.references-v13 .ref-sector-icon{ width: 24px; height: 24px; align-items:center; justify-content:center; vertical-align:middle; }
.references-v13 .ref-sector-icon img{ width:22px; height:22px; display:block; }
.refs-section{ background: #eaf1f6; color: #102a40; }
.refs-section .section-top h2,.refs-section .section-top h2 em{ color: #102a40; }
.refs-section .section-top p,.refs-section .kicker{ color: #31556d; }
.refs-section .refs-note{ color:#526a7b; font-size:.72rem; max-width:940px; margin-top:17px; }
.hargos-v13 .hargos-mark{ background: transparent; border:0; box-shadow:none; }
.hargos-v13 .hargos-mark img{ width:min(100%,390px); max-height:170px; object-fit:contain; }

@media (min-width:801px) and (max-width:1150px) {
  .sectors-v14-grid{ grid-template-columns: repeat(6,minmax(0,1fr)); }
  .sectors-v14-grid .sector-v14-card{ grid-column:span 2; }
  .sectors-v14-grid .sector-v14-card:nth-child(4){ grid-column:2 / span 2; }
  .sectors-v14-grid .sector-v14-card:nth-child(5){ grid-column:4 / span 2; }
}
@media (max-width:1000px) and (min-width:801px) {
 .references-v13{ grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
 .references-v13 .reference{ padding:21px 17px; min-height:320px; }
 .references-v13 .ref-main h3{ font-size:1.75rem; }
 .references-v13 .ref-specialty{ font-size:.91rem; }
}
@media (max-width:800px) {
 .brand{ width:160px; height:64px; }
 .brand img{ width:160px; max-height:56px; }
 .references-v13{ grid-template-columns:1fr; }
 .references-v13 .reference{ min-height:250px; }
 .sectors-v14-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
 .expertise-card .card-media{ height:104px !important; min-height:104px; }
}
@media (max-width:560px) {
 .brand{ width:145px; }
 .brand img{ width:145px; }
 .sectors-v14-grid{ grid-template-columns:1fr; }
 .expertise-card .card-media{ height:96px !important; min-height:96px; }
}

/* V28 — corrections ciblées, responsive & ergonomie */
.footer-grid-v17{ grid-template-columns:minmax(200px,1.45fr) minmax(145px,1fr) minmax(145px,.85fr) minmax(170px,1fr) minmax(145px,.85fr); gap:24px; }
.footer-brand img{ width:auto; max-width:220px; height:auto; max-height:80px; object-fit:contain; margin:0 0 20px; }
.footer-v17 a{ display:block; width:fit-content; min-height:44px; padding:10px 0; margin:0; line-height:24px; }
.footer-v17 .footer-note{ line-height:1.55; }
.expertise-card .arrow{ display:inline-flex; width:fit-content; max-width:100%; gap:8px; white-space:nowrap; justify-content:flex-start; }
.expertise-card .arrow span{ flex:none; }
.expertise-card{ min-height:0; }
.expertise-card .card-media{ height:88px !important; min-height:88px; }
.expertise-card .card-media img{ width:64px !important; height:64px !important; }
.expertise-card .card-body{ padding-top:8px; }
.expertise-card p{ margin-bottom:12px; }
.references-v13 .ref-bottom span:last-child{ color:#07507e; background:#d5efff; border:1px solid #83c9ed; padding:7px 11px; border-radius:8px; font-size:.83rem; font-weight:800; letter-spacing:.015em; }
.hargos-v13 .hargos-mark img{ height:auto; max-height:150px; }
@media (max-width:1150px) { .footer-grid-v17{ grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:800px) { .footer-grid-v17{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:26px; } .expertise-card .card-media{ height:78px !important; min-height:78px; } }
@media (max-width:560px) { .footer-grid-v17{ grid-template-columns:1fr; } .footer-v17{ padding-top:42px; } .expertise-card .card-media{ height:72px !important; min-height:72px; } .expertise-card .card-body{ padding-top:5px; } }

/* V29 — footer: distinct contact details from group resources and legal links. */
.footer-grid-v17 .footer-legal a{ overflow-wrap:anywhere; }
.footer-grid-v17 .footer-contact .footer-note{ display:block; }

/* V30 — Optimisation mobile ciblée, sans toucher au desktop ni aux traitements PHP. */
@media (max-width: 640px) {
  /* Hero : le globe reste présent, mais ne prend plus un écran entier. */
  .hero{ overflow: hidden; }
  .hero-grid{ gap: 16px; }
  
  .hero-copy .lead{ margin-bottom: 14px; }
  
  
  

  /* Collaborateurs : carrousel CSS natif, clavier et tactile, cinq photos conservées. */
  .people-showcase{ gap: 14px; margin-top: 16px; }
  .people-gallery{
    display: flex; grid-template-columns: none; grid-template-rows: none;
    overflow-x: auto; overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: 2px;
    -webkit-overflow-scrolling: touch; gap: 12px;
    padding-bottom: 12px; scrollbar-width: thin;
  }
  .people-gallery figure{
    flex: 0 0 min(82vw, 320px); width: min(82vw, 320px);
    height: 205px; min-height: 0; scroll-snap-align: start;
    grid-column: auto; grid-row: auto;
  }
  
  .people-panel{ padding: 18px; }
  .people-panel h3{ font-size: 1.25rem; margin: 6px 0; }
  .people-panel > p{ margin-bottom: 10px; line-height: 1.45; }
  .people-values-grid{ gap: 3px; }
  .people-value{ padding: 9px 0; gap: 10px; }
  .people-value-icon{ height: 31px; width: 31px; border-radius: 8px; font-size: .72rem; }
  .people-value h3{ font-size: .9rem; margin-bottom: 2px; }
  .people-value p{ font-size: .82rem; line-height: 1.35; }
  .people-cta{ margin-top: 11px; width: 100%; justify-content: center; padding: 12px; }

  /* Les blocs de service et les références restent lisibles, mais moins hauts. */
  .expertise-card .card-media{ height: 58px !important; min-height: 58px !important; }
  .expertise-card .card-media img{ width: 50px !important; height: 50px !important; }
  .expertise-card .card-body{ min-height: 0; padding: 12px 17px 15px; }
  
  .expertise-card h3{ margin-bottom: 5px; }
  .expertise-card p{ margin-bottom: 8px; line-height: 1.4; }
  .expertise-card .arrow{ margin-top: 5px; padding-top: 8px; }
  .references-v13{ gap: 10px; }
  .references-v13 .reference{ min-height: 0; padding: 17px 18px; }
  .references-v13 .ref-main{ padding: 12px 0; }
  .references-v13 .ref-main h3{ margin: 5px 0; font-size: 1.48rem; }
  .references-v13 .ref-specialty{ font-size: .9rem; line-height: 1.38; white-space: normal; }
  .references-v13 .ref-bottom{ gap: 6px; }
  .references-v13 .ref-bottom span:last-child{ padding: 5px 8px; }
  .sectors-v14-grid{ gap: 10px; }
  .sector-v14-card{ min-height: 0; display: flex; align-items: center; gap: 10px; padding: 13px; }
  .sector-v14-visual{ flex: 0 0 56px; width: 56px; min-width: 56px; height: 56px; min-height: 56px; padding: 6px; }
  .sector-v14-visual img{ width: 43px; height: 43px; }
  .sector-v14-content{ padding: 0; min-width: 0; }
  .sector-v14-content h3{ font-size: 1.06rem; margin: 2px 0 3px; }
  .sector-v14-content p{ font-size: .85rem; line-height: 1.35; margin: 0; }
  

  /* Footer : deux colonnes de liens au lieu de cinq piles verticales. */
  .footer-grid-v17{ grid-template-columns: repeat(2,minmax(0,1fr)); gap: 19px 16px; }
  .footer-grid-v17 > .footer-brand{ grid-column: 1 / -1; }
  .footer-brand img{ max-height: 60px; margin-bottom: 10px; }
  .footer-brand p{ margin: 5px 0; line-height: 1.4; }
  .footer-grid-v17 > .footer-contact,.footer-grid-v17 > .footer-legal{ grid-column: auto; }
  .footer-v17{ padding-top: 28px; }
  .footer-v17 strong{ display: block; margin-bottom: 6px; }
  .footer-v17 a{ width: auto; min-height: 44px; padding: 9px 0; line-height: 25px; overflow-wrap: anywhere; }
  .footer-note{ font-size: .8rem; line-height: 1.4; }
  .copyright{ margin-top: 14px; padding-top: 14px; }
}
@media (max-width: 375px) {
  .footer-grid-v17{ gap: 16px 12px; }
  .footer-v17 a{ font-size: .86rem; }
}


/* V31 — Compactage exclusif des petits écrans. Aucune modification desktop. */
@media (max-width: 640px) {
  /* Prévention des débordements sur écrans 360–430 px. */
  .hero,.expertise-section,.sector-section,.refs-section,.hargos-section,.footer-v17{ max-width: 100%; }
  .hero .container,.expertise-section .container,.sector-section .container,.refs-section .container,.hargos-section .container,.footer-v17 .container{ min-width: 0; }
  .section,.expertise-section,.sector-section,.refs-section,.hargos-section{ padding-top: 44px; padding-bottom: 44px; }
  .expertise-card,.sector-v14-card,.reference,.hargos-v13,.hero-copy,.footer-grid-v17 > *{ min-width: 0; }

  /* HERO : décor masqué, arguments en liste sans cartes. */
  .hero{ padding-top: 44px; padding-bottom: 44px; }
  .hero-grid{ display: grid; grid-template-columns: minmax(0,1fr); gap: 12px; }
  
  .hero-copy h1{ margin-bottom: 12px; }
  .hero-copy .lead{ margin-bottom: 12px; line-height: 1.48; }
  
  
  
  
  
  
  
  .hero .btn{ min-height: 44px; }

  /* EXPERTISES : visuel sur la gauche, contenu à droite. */
  .expertise-grid{ display: grid; grid-template-columns: minmax(0,1fr); gap: 12px; }
  .expertise-card{
    display: grid !important; grid-template-columns: 48px minmax(0,1fr);
    align-items: start; min-height: 0 !important; padding: 18px !important;
    gap: 12px; border-radius: 13px;
  }
  .expertise-card .card-media{
    grid-column: 1; grid-row: 1; display: flex; align-items: flex-start; justify-content: center;
    width: 48px; height: auto !important; min-height: 0 !important;
    padding: 0 !important; margin: 0 !important; background: none !important;
    border: 0 !important; box-shadow: none !important;
  }
  .expertise-card .card-media:before,.expertise-card .card-media:after{ display: none !important; }
  .expertise-card .card-media img{
    width: 40px !important; height: 40px !important; max-width: 40px !important;
    min-height: 0; object-fit: contain; filter: none;
  }
  .expertise-card .card-body{
    grid-column: 2; grid-row: 1; min-width: 0; padding: 0 !important;
    margin: 0 !important; display: flex; flex-direction: column;
  }
  
  .expertise-card h3{ font-size: clamp(17px,5vw,21px); line-height: 1.18; margin: 0 0 6px; }
  .expertise-card p{ font-size: 14px; line-height: 1.38; margin: 0 0 7px; }
  .expertise-card .arrow{ display: inline-flex; align-items: center; align-self: flex-start;
    white-space: normal; width: auto; gap: 6px; min-height: 44px; margin: 0;
    padding: 8px 0; font-size: 14px; }
  .expertise-card .arrow span{ flex: none; }

  /* SECTEURS : cinq lignes dans un cadre unique. */
  .sectors-v14 .sectors-heading{ display: block; margin-bottom: 18px; }
  .sectors-v14 .sectors-heading > p{ font-size: 14px; line-height: 1.42; margin: 10px 0 0; }
  .sectors-v14-grid{
    display: flex !important; flex-direction: column; gap: 0 !important;
    border: 1px solid #386685; border-radius: 14px; overflow: hidden;
    background: linear-gradient(170deg,#11334d,#0b2337);
  }
  .sectors-v14-grid .sector-v14-card{
    display: grid !important; grid-template-columns: 32px minmax(0,1fr);
    align-items: center; gap: 12px; padding: 13px 14px !important;
    min-height: 0 !important; border: 0 !important; border-radius: 0;
    border-bottom: 1px solid rgba(150,195,220,.22) !important;
    box-shadow: none !important; background: none !important; transform: none !important;
  }
  .sectors-v14-grid .sector-v14-card:last-child{ border-bottom: 0 !important; }
  .sector-v14-visual{ width: 32px !important; min-width: 32px !important; height: 32px !important;
    min-height: 32px !important; padding: 0 !important; margin: 0 !important;
    background: none !important; border: 0 !important; }
  .sector-v14-visual img{ width: 32px !important; height: 32px !important; object-fit: contain; }
  .sector-v14-content{ padding: 0 !important; min-width: 0; }
  
  .sector-v14-content h3{ margin: 2px 0 3px; font-size: 16px; line-height: 1.2; }
  .sector-v14-content p{ margin: 0; font-size: 14px !important; line-height: 1.32; }

  /* RÉFÉRENCES : secteur + lot alignés en haut ; statut + domaine sur une ligne en bas. */
  .references-v13{ gap: 10px; }
  .references-v13 .reference{
    padding: 15px 17px !important; min-height: 0 !important; max-height: none;
    display: grid; grid-template-rows: auto auto auto; gap: 5px;
  }
  .references-v13 .reference-top{ margin: 0; padding: 0; }
  .references-v13 .ref-sector{ display: inline-flex; align-items: center; font-size: 11px; line-height: 1.25; letter-spacing: .03em; }
  .references-v13 .ref-sector-icon{ width: 20px; height: 20px; margin-right: 5px; }
  .references-v13 .ref-sector-icon img{ width: 19px; height: 19px; }
  .references-v13 .ref-main{ padding: 2px 0 6px !important; }
  .references-v13 .ref-label{ display: block; margin: 0 0 2px; font-size: 11px; line-height: 1.25; }
  .references-v13 .ref-main h3{ font-size: 24px; line-height: 1.1; margin: 4px 0 7px; }
  .references-v13 .ref-specialty{ font-size: 14px !important; line-height: 1.36; max-width: none; }
  .references-v13 .ref-bottom{ padding-top: 8px; display: flex; flex-wrap: nowrap;
    justify-content: space-between; align-items: center; gap: 8px; font-size: 11px; line-height: 1.3; }
  .references-v13 .ref-bottom span:first-child{ min-width: 0; overflow-wrap: anywhere; }
  .references-v13 .ref-bottom span:last-child{ flex: none; font-size: 11px; padding: 6px 8px; }
  .refs-section .refs-note{ font-size: 12px !important; line-height: 1.4; }

  /* HARGOS : texte d'abord pour préserver l'ordre HTML et le sens du contenu. */
  .hargos-v13{ padding: 24px !important; display: flex !important; flex-direction: column;
    gap: 14px !important; min-width: 0; }
  .hargos-v13 .copy h2{ font-size: clamp(24px,7vw,29px); line-height: 1.16; margin: 8px 0; }
  .hargos-v13 .copy p{ font-size: 14px; line-height: 1.4; margin: 8px 0 12px; }
  .hargos-v13 .hargos-identity{ order: -1; align-items: center; gap: 3px; width: 100%; }
  .hargos-v13 .hargos-mark{ max-width: 160px !important; width: 160px; min-height: 0 !important;
    padding: 0 !important; margin: 0 auto; }
  .hargos-v13 .hargos-mark img{ max-width: 160px !important; width: 100%; max-height: 75px !important; }
  .hargos-v13 .hargos-caption{ font-size: 12px; line-height: 1.32; text-align: center; }
  .hargos-v13 .btn{ min-height: 44px; }

  /* FOOTER : marque pleine largeur, quatre rubriques en 2 × 2. */
  .footer-v17{ padding: 44px 0 20px !important; }
  .footer-grid-v17{ display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 14px 14px !important; }
  .footer-grid-v17 > .footer-brand{ grid-column: 1 / -1; }
  .footer-brand img{ max-height: 60px; width: auto; margin: 0 0 8px; }
  .footer-brand p{ font-size: 14px; line-height: 1.36; margin: 4px 0; }
  .footer-v17 strong{ font-size: 14px; line-height: 1.25; margin-bottom: 4px; }
  .footer-v17 a{ display: flex; align-items: center; min-height: 44px !important; height: auto;
    padding: 8px 0 !important; font-size: 14px; line-height: 1.3; overflow-wrap: anywhere; }
  .footer-note{ font-size: 12px; line-height: 1.36; }
  .footer-v17 .copyright{ padding-top: 11px; margin-top: 10px; font-size: 12px; }
}


/* V32 — Ajustements exclusivement mobiles ; desktop et PHP inchangés. */
@media (max-width: 640px) {
  /* Galeries tactiles : défilement conservé mais sans scrollbar visible. */
  .people-gallery{ scroll-snap-type: x mandatory !important; scrollbar-width: none; -ms-overflow-style: none; }
  .people-gallery::-webkit-scrollbar{ display: none; width: 0; height: 0; }
  .people-gallery > figure{ scroll-snap-align: start; }
  .people-panel > .card-index{ font-size: 11px !important; line-height: 1.35; }
  .home-contact-actions > a{ min-height: 44px !important; display: inline-flex; align-items: center; justify-content: center; padding: 10px 2px; }

  /* Introduction et cartes des expertises : retrait des espaces superflus. */
  .expertise-section .section-top{ gap: 9px !important; margin-bottom: 13px !important; }
  .expertise-section .section-top > p{ font-size: 15px !important; line-height: 1.45 !important; margin: 4px 0 0 !important; }
  .expertise-grid{ gap: 10px !important; }
  .expertise-card{ padding: 16px !important; gap: 10px !important; }
  .expertise-card h3{ margin-bottom: 4px; }
  .expertise-card p{ line-height: 1.35; margin-bottom: 4px; }

  /* Secteurs : les cinq entrées demeurent lisibles dans le cadre unique. */
  .sectors-v14 .sectors-heading{ margin-bottom: 12px !important; }
  .sectors-v14 .sectors-heading > p{ font-size: 15px; line-height: 1.4; margin: 6px 0 0; }
  .sectors-v14-grid .sector-v14-card{ grid-template-columns: 28px minmax(0,1fr); gap: 10px; padding: 12px 12px !important; }
  .sector-v14-visual{ width: 28px !important; min-width: 28px !important; height: 28px !important; min-height: 28px !important; }
  .sector-v14-visual img{ width: 28px !important; height: 28px !important; }
  .sector-v14-content h3{ margin: 1px 0 2px; }
  .sector-v14-content p{ font-size: 14px !important; line-height: 1.4 !important; }

  /* Références : cartes inchangées dans leur fond, entête resserré. */
  .refs-section .section-top{ gap: 9px !important; margin-bottom: 13px !important; }
  .refs-section .section-top > p{ font-size: 15px !important; line-height: 1.45 !important; margin: 4px 0 0 !important; }
  .references-v13{ gap: 10px !important; }
  .refs-section .refs-note{ margin-top: 9px; font-size: 12px !important; line-height: 1.4 !important; }

  /* Footer : quatre rubriques en grille 2×2, informations secondaires compactes.
     Les informations restent dans le DOM et toutes les zones tactiles >=44px. */
  .footer-grid-v17{ column-gap: 12px !important; row-gap: 8px !important; }
  .footer-grid-v17 > .footer-brand{ margin-bottom: 2px; }
  .footer-brand img{ max-height: 48px !important; margin-bottom: 2px !important; }
  .footer-brand p{ margin: 2px 0 !important; line-height: 1.28 !important; }
  .footer-v17 strong{ margin-bottom: 0 !important; }
  .footer-v17 a{ min-height: 44px !important; padding: 7px 0 !important; }
  .footer-grid-v17 .footer-legal{ display: flex; flex-flow: row wrap; align-content: flex-start; gap: 0 6px; }
  .footer-grid-v17 .footer-legal > strong{ width: 100%; }
  .footer-grid-v17 .footer-legal > a:nth-of-type(-n+2){ width: 100%; }
  .footer-grid-v17 .footer-legal > a:nth-of-type(n+3){ display: inline-flex; flex: 0 1 auto; font-size: 11px; line-height: 1.23; margin-right: 3px; }
  .footer-grid-v17 .footer-legal > a:nth-of-type(n+3):not(:last-child)::after{ content: ' ·'; padding-left: 5px; color: #8db9d4; }
  .footer-grid-v17 .footer-contact .footer-note,.footer-grid-v17 .footer-legal .footer-note{
    display: block; width: 100%; font-size: 12px !important; line-height: 1.35; margin: 2px 0;
  }
  .footer-v17 .copyright{ margin-top: 5px !important; padding-top: 8px !important; }
}

/* Clients prives (anonymises) */
.refs-section .refs-private{margin:28px 0 0;padding-top:18px;border-top:1px solid #c9d6e0;color:#23384a;font-size:15px;line-height:1.55;max-width:940px}
@media(max-width:640px){.refs-section .refs-private{font-size:14px;margin-top:20px}}
