
:root{
  --light:#FFFFFF;--white:#FFFFFF;--noir:#161616;--gris-texte:#3A3A3A;--gris-clair:#666666;--rouge:#E1000F;--bleu-pale:#F5F5FE;--bleu:#000091;--gris:#F6F6F6;--bordure:#DDDDDD;
  --line:#DDDDDD;--line-dark:rgba(255,255,255,.25);
  --font:"Marianne","Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --w:1180px;
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:var(--font);background:var(--light);color:var(--noir);line-height:1.55;-webkit-font-smoothing:antialiased;font-size:17px}
a{color:inherit;text-decoration:none}
svg{display:block}
.wrap{max-width:var(--w);margin:0 auto;padding:0 32px}
@media(max-width:640px){.wrap{padding:0 20px}}
h1,h2,h3{font-weight:700;letter-spacing:-.01em;line-height:1.1}
h2{font-size:clamp(36px,5vw,58px)}
h3{font-size:24px;letter-spacing:-.02em;line-height:1.15}
p{max-width:58ch}
.muted{color:var(--gris-texte)}
.btn{display:inline-flex;align-items:center;gap:12px;height:56px;padding:0 28px;border-radius:0;font-weight:600;font-size:16px;border:1.5px solid transparent;transition:transform .18s,background .18s,border-color .18s}
.btn:active{transform:scale(.98)}
 .btn.dark{background:var(--bleu);color:#FFFFFF}
.btn.dark:hover{background:#1212FF}
.btn.light{background:#FFFFFF;color:var(--noir)}
.btn.line{border-color:var(--bleu);color:var(--bleu)}
.btn.line:hover{background:#F5F5FE}
.btn.line.w{border-color:rgba(255,255,255,.7);color:#FFFFFF}
.btn.line.w:hover{background:rgba(255,255,255,.08)}
.btn .dot{width:8px;height:8px;border-radius:50%;background:#FFFFFF}
.btn.tel{background:#FFFFFF;color:#000091;border-color:#000091}
.btn.tel:hover{background:#F5F5FE}
.btn.tel svg{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.btn.wa svg{width:20px;height:20px;flex:none;fill:#FFFFFF;stroke:none}
@media(max-width:640px){.btn{height:52px;font-size:15px;padding:0 20px}}

/* nav */
/* la barre du haut reste visible en permanence.
   « fixed » et non « sticky » : le panneau du menu bloque le defilement du corps
   (overflow:hidden), ce qui casse sticky et faisait disparaitre la barre. */
header{position:fixed;top:0;left:0;right:0;z-index:40;background:#FFFFFF;box-shadow:0 1px 0 #DDDDDD,0 2px 8px rgba(0,0,18,.08)}
body{padding-top:76px}
html{scroll-padding-top:86px}
@media(max-width:1180px){body{padding-top:56px}html{scroll-padding-top:66px}}
.nav{height:76px;display:flex;align-items:center;justify-content:space-between;gap:16px;min-width:0}
.brand{display:flex;align-items:center;gap:12px;font-weight:700;letter-spacing:-.01em;font-size:21px;color:var(--bleu)}
.brand svg{width:34px;height:34px}
.menu{display:flex;align-items:center;gap:17px;font-size:15px;font-weight:400;color:#161616;min-width:0}
.menu>a,.menu .ddh{display:inline-flex;align-items:center;gap:6px;padding:7px 0;border-bottom:2px solid transparent;white-space:nowrap;color:#161616;font-size:15px}
.menu>a:hover,.menu .ddh:hover,.menu .dd:hover .ddh,.menu .dd:focus-within .ddh{color:#000091;border-bottom-color:#000091}
.menu>a.on,.menu .ddh.on,.menu .dd.on .ddh{color:#000091;font-weight:700;border-bottom-color:#000091}
.nav .btn{height:46px;padding:0 18px;font-size:15px;white-space:nowrap}
@media(max-width:1180px){.menu{display:none}}

/* hero */
.hero{padding:72px 0 0;overflow:hidden}
.hero .grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:40px;align-items:center;min-height:calc(100vh - 160px);padding-bottom:64px}
.hero h1{font-size:clamp(40px,5.6vw,72px)}
.hero h1 span{display:block}
.hero .sub{margin-top:28px;font-size:19px;color:var(--gris-texte);max-width:44ch}
.hero .cta{margin-top:40px;display:flex;gap:14px;flex-wrap:wrap}
.hero .fine{margin-top:22px;font-size:14px;color:var(--gris-texte)}
.hero .sub{color:var(--gris-texte)}
@media(max-width:900px){.hero .grid{grid-template-columns:1fr;min-height:0;padding-bottom:40px}.hero{padding-top:40px}}

/* la carte : l'objet */
.scene{perspective:1600px;display:flex;justify-content:center;align-items:center;min-height:420px}
.tcard{position:relative;width:min(540px,100%);aspect-ratio:1.586;border-radius:18px;background:#EEF1F4;color:#1B2A44;box-shadow:0 60px 90px -40px rgba(0,0,0,.5),0 24px 40px -24px rgba(0,0,0,.35);transform:rotateX(14deg) rotateY(-16deg) rotate(4deg);transform-style:preserve-3d;transition:transform .8s cubic-bezier(.2,.8,.2,1);overflow:hidden;animation:enter 1.1s cubic-bezier(.2,.8,.2,1) both;font-family:var(--font)}
@keyframes enter{from{opacity:0;transform:translateY(40px) rotateX(24deg) rotateY(-22deg) rotate(6deg)}to{opacity:1;transform:rotateX(14deg) rotateY(-16deg) rotate(4deg)}}
.tcard::before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(135deg,rgba(27,42,68,.035) 0 2px,transparent 2px 9px),radial-gradient(circle at 80% 20%,rgba(214,168,60,.18),transparent 45%),linear-gradient(180deg,#F4F6F8,#E6EAEF);pointer-events:none}
.tcard::after{content:"";position:absolute;inset:0;background:linear-gradient(115deg,transparent 35%,rgba(255,255,255,.35) 47%,transparent 58%);pointer-events:none}
.tcard .tri{position:absolute;left:0;top:0;bottom:0;width:14px;background:#000091}
.tcard .hd{position:absolute;left:34px;top:22px;right:24px;display:flex;justify-content:space-between;align-items:flex-start}
.tcard .hd b{display:block;font-size:11px;font-weight:800;letter-spacing:.12em}
.tcard .hd span{display:block;font-size:15px;font-weight:800;letter-spacing:.04em;margin-top:2px}
.tcard .hd i{font-style:normal;font-size:10px;font-weight:600;color:#5B6B85;letter-spacing:.08em;text-align:right;line-height:1.3}
.tcard .photo{position:absolute;left:34px;top:70px;width:23%;aspect-ratio:3/4;border-radius:0;background:linear-gradient(180deg,#C9D2DE,#9DAABB);overflow:hidden}
.tcard .photo::before{content:"";position:absolute;left:50%;top:22%;width:44%;aspect-ratio:1;border-radius:50%;background:#EEF1F4;transform:translateX(-50%)}
.tcard .photo::after{content:"";position:absolute;left:50%;bottom:-8%;width:80%;aspect-ratio:1;border-radius:50%;background:#EEF1F4;transform:translateX(-50%)}
.tcard .chip{position:absolute;left:34px;bottom:74px;width:52px;height:40px;border-radius:7px;background:linear-gradient(135deg,#E9D8A6,#D6A83C 60%,#B58A2E);box-shadow:inset 0 0 0 1px rgba(255,255,255,.35)}
.tcard .chip i{position:absolute;left:0;right:0;top:50%;height:1px;background:rgba(27,42,68,.35)}
.tcard .chip i:nth-child(2){top:26%}.tcard .chip i:nth-child(3){top:74%}
.tcard .fields{position:absolute;left:calc(23% + 52px);top:72px;right:24px;display:grid;grid-template-columns:1fr 1fr;gap:9px 12px}
.tcard .f{min-width:0}
.tcard .f small{display:block;font-size:8.5px;font-weight:600;color:#5B6B85;letter-spacing:.06em;line-height:1.2}
.tcard .f b{display:block;font-size:12.5px;font-weight:800;letter-spacing:.01em;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tcard .f.w{grid-column:1/-1}
.tcard .spec{position:absolute;left:50%;top:52%;transform:translate(-50%,-50%) rotate(-18deg);font-size:54px;font-weight:800;letter-spacing:.2em;color:rgba(27,42,68,.07);pointer-events:none}
.tcard .mrz{position:absolute;left:34px;right:24px;bottom:22px;font-family:"Courier New",monospace;font-size:11.5px;letter-spacing:.14em;line-height:1.35;color:#2B3A55;white-space:nowrap;overflow:hidden}
@media(max-width:900px){.scene{min-height:0;padding:10px 0 20px}.tcard{transform:rotateX(8deg) rotateY(-10deg) rotate(2deg)}.tcard .fields{gap:6px 10px}.tcard .f b{font-size:11px}.tcard .spec{font-size:40px}}

/* trois promesses : sobre, fond blanc, pas de bande bleue */
.promesses{background:#FFFFFF;border-top:1px solid #DDDDDD;border-bottom:1px solid #DDDDDD}
.promesses .wrap{display:grid;grid-template-columns:repeat(3,1fr);gap:0}
.promesses .wrap>div{padding:26px 28px 26px 0;border-right:1px solid #DDDDDD;margin-right:28px}
.promesses .wrap>div:last-child{border-right:0;margin-right:0;padding-right:0}
.promesses b{display:block;font-size:26px;font-weight:700;line-height:1.1;color:#000091;margin-bottom:6px}
.promesses b em{font-style:normal;font-size:16px;font-weight:700;margin-left:4px}
.promesses span,.promesses p{display:block;font-size:15px;color:#3A3A3A;max-width:none;margin:0}
@media(max-width:760px){
  .promesses .wrap{grid-template-columns:1fr}
  .promesses .wrap>div{border-right:0;border-bottom:1px solid #DDDDDD;margin:0;padding:18px 0}
  .promesses .wrap>div:last-child{border-bottom:0}
  .promesses b{font-size:23px}
}

section{padding:96px 0}
@media(max-width:760px){section{padding:80px 0}}
.head{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:end;margin-bottom:56px}
.head p{font-size:18px;color:var(--gris-texte);justify-self:end;max-width:40ch}
@media(max-width:900px){.head{grid-template-columns:1fr}.head p{justify-self:start}}

/* services : liste éditoriale */
.svc{border-top:1px solid var(--line)}
.svc a{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr) 44px;gap:32px;align-items:center;padding:30px 0;border-bottom:1px solid var(--line);transition:padding .25s}
.svc a:hover{padding-left:14px}
.svc h3{font-size:26px}
.svc p{font-size:16px;color:var(--gris-texte);max-width:none}
.svc .go{width:44px;height:44px;border-radius:0;border:1.5px solid var(--line);display:flex;align-items:center;justify-content:center;transition:.2s}
.svc a:hover .go{background:var(--bleu);border-color:var(--bleu)}
.svc .go svg{width:16px;height:16px;stroke:var(--bleu);fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.svc a:hover .go svg{stroke:#FFFFFF}
.svc .flag{display:inline-block;margin-left:12px;vertical-align:middle;font-size:12px;font-weight:700;color:var(--bleu);background:#E3E3FD;padding:4px 9px;border-radius:0}
@media(max-width:760px){.svc a{grid-template-columns:1fr 44px;gap:12px}.svc a>p{grid-column:1/-1}}

/* étapes : sombre, numérotées (c'est une séquence) */
.steps-sec{background:#FFFFFF;color:var(--noir);border-top:1px solid #DDDDDD}
.steps-sec h2{color:var(--noir)}
.steps-sec .head p{color:var(--gris-texte)}
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.step{padding:28px;background:#FFFFFF;border:1px solid var(--bordure);border-bottom:4px solid var(--bleu)}
/* numero a gauche, pictogramme en haut a droite */
.step{display:grid;grid-template-columns:1fr auto;align-items:start;column-gap:12px}
.step .n{grid-column:1;grid-row:1}
.step .pic{grid-column:2;grid-row:1;width:38px;height:38px;flex:none;display:flex;align-items:center;justify-content:center;background:#F5F5FE;color:#000091}
.step .pic svg{width:21px;height:21px;display:block}
.step h3{grid-column:1 / -1;grid-row:2}
.step p{grid-column:1 / -1;grid-row:3}
.step .n{font-size:40px;font-weight:700;line-height:1;color:var(--bleu);margin-bottom:18px}
.step h3{font-size:20px;color:var(--noir);margin-bottom:10px}
.step p{font-size:15px;color:var(--gris-texte)}
@media(max-width:900px){.steps{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.steps{grid-template-columns:1fr}}

/* pourquoi : sauge, grande déclaration */
.why{background:#F5F5FE}
.why .big{font-size:clamp(28px,4vw,46px);font-weight:800;letter-spacing:-.03em;line-height:1.1;max-width:22ch}
.why .cols{margin-top:64px;display:grid;grid-template-columns:repeat(3,1fr);gap:40px}
.why h3{font-size:20px;margin-bottom:10px;padding-top:18px;border-top:2px solid var(--bleu)}
.why p{font-size:16px;color:var(--gris-texte)}
@media(max-width:760px){.why .cols{grid-template-columns:1fr;gap:28px}}

/* domiciliation : deux colonnes, image texturée */
.domi .grid{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center}
.domi .visual{aspect-ratio:1;border-radius:0;background:var(--bleu);position:relative;overflow:hidden}
.domi .visual .env{position:absolute;left:12%;right:12%;top:30%;aspect-ratio:1.5;background:#FFFFFF;border-radius:0;box-shadow:0 30px 60px -30px rgba(0,0,0,.6);transform:rotate(-6deg)}
.domi .visual .env::before{content:"";position:absolute;inset:0;background:linear-gradient(to bottom right,transparent 49.5%,rgba(44,46,53,.12) 50%,transparent 50.5%),linear-gradient(to bottom left,transparent 49.5%,rgba(44,46,53,.12) 50%,transparent 50.5%);background-size:100% 100%}
.domi .visual .env i{position:absolute;right:8%;top:10%;width:56px;height:40px;background:var(--rouge);border-radius:4px}
.domi .visual .env b{position:absolute;left:10%;bottom:14%;width:50%;height:6px;border-radius:3px;background:var(--rouge)}
.domi .visual .env b:last-child{width:32%;bottom:24%}
.domi .visual .env2{position:absolute;left:22%;right:2%;top:46%;aspect-ratio:1.5;background:var(--bleu-pale);border-radius:0;transform:rotate(5deg);opacity:.9}
.domi ul{list-style:none;margin-top:28px;display:grid;gap:14px}
.domi li{display:flex;gap:14px;font-size:16px;color:var(--gris-texte)}
.domi li::before{content:"";flex:none;width:10px;height:10px;background:var(--rouge);margin-top:8px}
@media(max-width:900px){.domi .grid{grid-template-columns:1fr}.domi .visual{max-width:440px}}

/* bureaux */
.office{background:var(--gris)}
.office .grid{display:grid;grid-template-columns:1fr 1.2fr;gap:64px;align-items:center}
.office address{font-style:normal;margin-top:28px;font-size:18px;line-height:1.7}
.office .map{border-radius:0;overflow:hidden;background:var(--light);aspect-ratio:4/3}
.office .zones{margin-top:28px;font-size:15px;color:var(--gris-texte);max-width:44ch}
@media(max-width:900px){.office .grid{grid-template-columns:1fr}}

/* faq */
.faq details{border-top:1px solid var(--line)}
.faq details:last-of-type{border-bottom:1px solid var(--line)}
.faq summary{cursor:pointer;list-style:none;padding:26px 0;font-size:21px;font-weight:600;letter-spacing:-.01em;display:flex;justify-content:space-between;align-items:center;gap:20px}
.faq summary::-webkit-details-marker{display:none}
.faq summary i{flex:none;width:34px;height:34px;border-radius:0;border:1.5px solid var(--line);position:relative}
.faq summary i::before,.faq summary i::after{content:"";position:absolute;left:50%;top:50%;width:12px;height:1.5px;background:var(--noir);transform:translate(-50%,-50%)}
.faq summary i::after{transform:translate(-50%,-50%) rotate(90deg);transition:.2s}
.faq details[open] summary i::after{transform:translate(-50%,-50%) rotate(0)}
.faq details p{padding:0 0 28px;font-size:17px;color:var(--gris-texte);max-width:64ch}

/* contact */
.contact{background:var(--bleu);color:#FFFFFF}
.contact h2{color:#FFFFFF}
.contact .grid{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:start}
.contact .grid>*{min-width:0}
.contact .lead{margin-top:22px;font-size:18px;color:#E3E3FD}
.contact .ways{margin-top:40px;display:grid;gap:0;border-top:1px solid var(--line-dark)}
.contact .ways a{display:flex;justify-content:space-between;align-items:center;padding:18px 0;border-bottom:1px solid var(--line-dark);font-size:17px}
.contact .ways a span{color:#E3E3FD;font-size:14px}
form{background:#FFFFFF;color:var(--noir);border-radius:0;padding:36px;display:grid;gap:16px}
form label{font-size:14px;font-weight:600;display:grid;gap:8px;min-width:0}
form input,form select,form textarea{font:inherit;font-size:16px;padding:12px 16px;border:0;border-bottom:2px solid var(--noir);border-radius:4px 4px 0 0;background:#EEEEEE;color:var(--noir);min-width:0}
form input:focus,form select:focus,form textarea:focus{outline:2px solid #0A76F6;outline-offset:2px}
/* la liste deroulante impose sinon la largeur de sa plus longue option */
form select{width:100%;max-width:100%}
form input,form textarea{width:100%;max-width:100%}
form textarea{min-height:110px;resize:vertical}
form .row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
form .row>*{min-width:0}
form .btn{justify-content:center;cursor:pointer;width:100%}
form small{font-size:13px;color:var(--gris-texte)}
@media(max-width:900px){.contact .grid{grid-template-columns:1fr}form{padding:24px}form .row{grid-template-columns:1fr}}

footer{padding:40px 0;font-size:14px;color:var(--gris-texte)}
footer .wrap{display:flex;flex-wrap:wrap;gap:18px;justify-content:space-between;align-items:center}
footer nav{display:flex;gap:22px}
:focus-visible{outline:2px solid #0A76F6;outline-offset:2px}

/* lien d'evitement : masque hors focus, visible au focus */
.skip{position:fixed;left:8px;top:-120px;z-index:200;background:#000091;color:#FFFFFF;padding:13px 20px;font-size:15px;font-weight:700;transition:top .15s}
.skip:focus{top:8px}

/* ajouts multi-pages */
/* sous-menu Services (survol et focus clavier) */
.dd{position:relative;display:inline-flex;align-items:center}
.dd .ddh svg{flex:none;transition:transform .18s}
.dd:hover .ddh svg,.dd:focus-within .ddh svg{transform:rotate(180deg)}
.dd .menu2{display:none;position:absolute;top:100%;left:-14px;background:#FFFFFF;border:1px solid #DDDDDD;box-shadow:0 6px 18px rgba(0,0,18,.10);padding:6px 0;min-width:296px;z-index:50}
.dd:hover .menu2,.dd:focus-within .menu2{display:block}
.dd .menu2 a{display:block;height:auto;padding:10px 16px;border:0;font-weight:400;white-space:normal;font-size:15px;color:#161616}
.dd .menu2 a:hover,.dd .menu2 a:focus-visible{background:#F5F5FE;color:#000091}
html[dir="rtl"] .dd .menu2{left:auto;right:-14px}
.crumb{font-size:13px;color:#666666;margin:18px 0 0}.crumb a:hover{text-decoration:underline}
.page-hero{padding:56px 0 40px;border-bottom:1px solid #DDDDDD}
.page-hero h1{font-size:clamp(34px,4.6vw,56px);max-width:20ch}
.page-hero p{margin-top:18px;font-size:18px;color:#3A3A3A;max-width:60ch}
.cols2{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:start}
@media(max-width:860px){.cols2{grid-template-columns:1fr}}
.box{background:#F5F5FE;padding:28px;border-top:4px solid #000091}
.box h2,.box h3{font-size:20px;letter-spacing:-.01em;margin-bottom:12px}
.box h2{display:flex;align-items:center;gap:11px}
.box .bpic{width:34px;height:34px;flex:none;display:flex;align-items:center;justify-content:center;background:#FFFFFF;color:#000091;border:1px solid #DDDDDD}
.box .bpic svg{width:19px;height:19px;display:block}
@media(max-width:760px){.box{padding:20px}.box .bpic{width:30px;height:30px}.box .bpic svg{width:17px;height:17px}}
.box ul{list-style:none;display:grid;gap:10px;font-size:16px;color:#3A3A3A}
.box li::before{content:"";display:inline-block;width:8px;height:8px;background:#000091;margin-right:12px;vertical-align:middle}
.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
@media(max-width:860px){.grid3{grid-template-columns:1fr}}
.tile{background:#FFFFFF;border:1px solid #DDDDDD;border-bottom:4px solid #000091;padding:26px;display:block}
.tile:hover{background:#F5F5FE}
.tile h3{font-size:20px;margin-bottom:8px}
.tile p{font-size:15px;color:#3A3A3A}
.tile .more{display:inline-block;margin-top:14px;color:#000091;font-weight:700;font-size:14px}
.cta-band{background:#000091;color:#FFFFFF;padding:56px 0}
.cta-band h2{color:#FFFFFF;font-size:clamp(26px,3.6vw,40px)}
.cta-band p{color:#E3E3FD;margin-top:12px;font-size:17px}
.cta-band .btn.light{margin-top:24px}
.quiz{background:#FFFFFF;border:1px solid #DDDDDD;padding:32px}
.quiz .q{font-size:24px;font-weight:700;line-height:1.2}
.quiz .ans{margin-top:18px;display:grid;gap:10px}
.quiz .ans button{text-align:left;font:inherit;font-size:16px;padding:16px 18px;border:1px solid #DDDDDD;background:#FFFFFF;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:12px}
.quiz .ans button:hover{border-color:#000091;background:#F5F5FE;color:#000091}
.quiz .ans button::after{content:"→";color:#000091}
.quiz .crumbs{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:14px}
.quiz .crumbs span{font-size:12px;background:#F6F6F6;border:1px solid #DDDDDD;padding:4px 8px}
.quiz .res{border-top:4px solid #000091;background:#F5F5FE;padding:24px}
.quiz .res h3{font-size:22px}
.quiz .reset{margin-top:14px;font:inherit;background:none;border:0;color:#000091;text-decoration:underline;cursor:pointer}
.timeline{counter-reset:t;display:grid;gap:0;margin-top:24px}
.timeline div{position:relative;padding:22px 0 22px 64px;border-top:1px solid #DDDDDD}
.timeline div::before{counter-increment:t;content:counter(t);position:absolute;left:0;top:18px;width:40px;height:40px;background:#000091;color:#FFFFFF;display:flex;align-items:center;justify-content:center;font-weight:700}
.timeline h3{font-size:19px;margin-bottom:6px}.timeline p{font-size:15px;color:#3A3A3A}
/* apparition : seulement si le JS est actif, sinon le contenu reste visible */
html.js .reveal{opacity:0;transform:translateY(16px);transition:opacity .6s,transform .6s}
html.js .reveal.in,.reveal.in{opacity:1;transform:none}
.kpi{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:32px}
.kpi div{border:1px solid #DDDDDD;padding:22px}
.kpi b{display:block;font-size:34px;color:#000091;font-weight:700}
.kpi span{font-size:14px;color:#3A3A3A}
@media(max-width:700px){.kpi{grid-template-columns:1fr}}
footer{background:#F6F6F6;border-top:1px solid #DDDDDD;padding:40px 0}
footer .cols{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:32px;font-size:14px}
footer h3,footer h4{font-size:14px;font-weight:700;letter-spacing:0;margin-bottom:10px;color:#161616}
footer a{display:block;padding:4px 0;color:#3A3A3A}footer a:hover{color:#000091;text-decoration:underline}
footer .legal{margin-top:28px;padding-top:18px;border-top:1px solid #DDDDDD;font-size:12px;color:#666666}
@media(max-width:860px){footer .cols{grid-template-columns:1fr 1fr}}

/* ================= MOBILE ================= */
.burger{display:none;flex-direction:column;justify-content:center;gap:5px;width:44px;height:44px;border:0;background:none;cursor:pointer;padding:0}
.burger i{display:block;width:24px;height:2px;background:#000091;transition:.25s;margin:0 auto}
header.open .burger i:nth-child(1){transform:translateY(7px) rotate(45deg)}
header.open .burger i:nth-child(2){opacity:0}
header.open .burger i:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.mnav{display:none}
.mveil{display:none}
.mbar{display:none}
body.navouvert{overflow:hidden}

/* sous 1180px la barre ne tient plus : le burger prend le relais */
@media(max-width:1180px){
  .nav{height:56px}
  .burger{display:flex}

  /* voile sombre derriere le panneau */
  .mveil{display:block;position:fixed;left:0;right:0;top:56px;bottom:0;background:rgba(0,0,18,.42);
    z-index:1;opacity:0;visibility:hidden;transition:opacity .18s,visibility .18s;border:0}
  header.open .mveil{opacity:1;visibility:visible}

  /* panneau : il ne depasse jamais l'ecran, il defile */
  .mnav{display:block;position:absolute;left:0;right:0;top:100%;z-index:2;background:#FFFFFF;border-top:1px solid #DDDDDD;
    max-height:calc(100vh - 56px);max-height:calc(100dvh - 56px);overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;
    box-shadow:0 10px 20px rgba(0,0,18,.12);
    visibility:hidden;opacity:0;transform:translateY(-6px);transition:opacity .16s,transform .16s,visibility .16s}
  header.open .mnav{visibility:visible;opacity:1;transform:none}

  /* actions rapides en haut du panneau */
  .mnav .quick{display:flex;gap:8px;padding:10px 14px;background:#F6F6F6;border-bottom:1px solid #DDDDDD}
  .mnav .quick a{flex:1 1 0;min-width:0;height:44px;display:flex;align-items:center;justify-content:center;gap:7px;
    padding:0 6px;font-size:14px;font-weight:700;color:#000091;background:#FFFFFF;border:1px solid #000091}
  .mnav .quick a svg{width:17px;height:17px;flex:none}
  .mnav .quick a span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

  /* liens compacts : 46px, une fine bordure, pas de grands blancs */
  .mnav a,.mnav .acc{display:flex;align-items:center;height:46px;padding:0 20px;font-size:15px;line-height:1.25;
    color:#161616;border-bottom:1px solid #EEEEEE;background:#FFFFFF;text-align:left}
  .mnav>a.on{color:#000091;font-weight:700;box-shadow:inset 3px 0 0 #000091}
  html[dir="rtl"] .mnav>a.on{box-shadow:inset -3px 0 0 #000091}

  /* accordeon Services : ferme par defaut */
  .mnav .acc{width:100%;justify-content:space-between;gap:12px;font:inherit;font-size:15px;font-weight:400;
    border-left:0;border-right:0;border-top:0;cursor:pointer;color:#161616}
  .mnav .acc svg{width:16px;height:16px;flex:none;transition:transform .2s;stroke:#000091;fill:none;stroke-width:2.4}
  .mnav .acc.on,.mnav .acc[aria-expanded="true"]{color:#000091;font-weight:700}
  .mnav .acc.on{box-shadow:inset 3px 0 0 #000091}
  html[dir="rtl"] .mnav .acc.on{box-shadow:inset -3px 0 0 #000091}
  .mnav .acc[aria-expanded="true"] svg{transform:rotate(180deg)}
  .mnav .accbody{display:none;background:#F6F6F6}
  .mnav .accbody.ouvert{display:block}
  .mnav .accbody a{height:44px;padding-left:34px;font-size:14px;color:#3A3A3A;border-bottom:1px solid #EEEEEE}
  html[dir="rtl"] .mnav .accbody a{padding-left:20px;padding-right:34px}
  .mnav .accbody a:last-child{border-bottom:1px solid #EEEEEE}

  /* pied du panneau */
  .mnav .mcta{justify-content:center;height:50px;margin:14px 16px 8px;border:0;background:#000091;color:#FFFFFF;font-weight:700}
  .mnav .mmail{justify-content:center;height:auto;padding:2px 16px 18px;border:0;font-size:14px;color:#000091}
}

@media(max-width:900px){
  html,body{overflow-x:clip}
  .nav .btn{display:none}
  .brand{font-size:19px}
  .brand svg{width:30px;height:30px}

  /* barre d'action fixe : 3 actions au maximum, a parts egales */
  .mbar{position:fixed;left:0;right:0;bottom:0;z-index:60;display:flex;background:#FFFFFF;border-top:1px solid #DDDDDD;
    padding-bottom:env(safe-area-inset-bottom);box-shadow:0 -2px 10px rgba(0,0,18,.08)}
  .mbar a{flex:1 1 0;min-width:0;height:58px;display:flex;flex-direction:column;align-items:center;justify-content:center;
    gap:3px;font-size:12px;font-weight:600;line-height:1.1;color:#161616;border-right:1px solid #DDDDDD;text-align:center;padding:0 4px}
  .mbar a:last-child{border-right:0}
  .mbar a span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
  .mbar a svg{width:20px;height:20px;flex:none}
  .mbar a.tel svg{fill:none;stroke:#000091;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
  .mbar a.joindre svg{fill:none;stroke:#000091;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
  .mbar a.rdv{background:#000091;color:#FFFFFF;font-weight:700}
  .mbar a.rdv svg{fill:none;stroke:#FFFFFF;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
  body{padding-bottom:calc(59px + env(safe-area-inset-bottom))}
  footer{padding-bottom:32px}
  /* le menu ouvert couvre l'ecran : la barre basse s'efface */
  body.navouvert .mbar{display:none}

  /* zones cliquables : 44px minimum */
  .langbtn{min-height:44px}
  footer a{padding:11px 0}
  .faq summary i{width:44px;height:44px}

  .hero{padding-top:26px}
  .hero h1{font-size:clamp(32px,8.6vw,48px)}
  .hero .sub{font-size:17px;margin-top:20px}
  .hero .cta{margin-top:26px;gap:10px}
  .hero .cta .btn{width:100%;max-width:420px;justify-content:center}
  .hero .fine{margin-top:18px}

  section{padding:56px 0}
  h2{font-size:clamp(27px,7.2vw,38px)}
  h3{font-size:21px}
  .head{margin-bottom:32px}
  .head p{font-size:16px}
  .page-hero{padding:30px 0 26px}
  .page-hero p{font-size:16px;margin-top:14px}
  .faq summary{font-size:18px;padding:20px 0}
  .faq details p{font-size:16px;padding-bottom:22px}
  .tile{padding:20px}
  .box{padding:22px}
  .quiz{padding:20px}
  .quiz .q{font-size:20px}
  .quiz .ans button{padding:14px 16px;font-size:15px}
  .why .cols{margin-top:36px}
  .why .big{max-width:none}
  .cta-band{padding:44px 0}
  .cta-band .btn.light{width:100%;justify-content:center}
  .contact .ways{margin-top:28px}
  .office address{font-size:16px}
  .timeline div{padding:18px 0 18px 56px}
  .timeline div::before{width:36px;height:36px;top:15px}
  .step{padding:22px}
  .crumb{font-size:12px}

  .scene{min-height:0;padding:2px 0 8px}
  .tcard{width:min(430px,100%);transform:rotateX(6deg) rotateY(-8deg) rotate(1.5deg)}
  .tcard .hd{left:26px;top:15px;right:14px}
  .tcard .hd span{font-size:13px}
  .tcard .photo{left:26px;top:52px}
  .tcard .fields{left:calc(23% + 40px);top:52px;right:14px;gap:5px 8px}
  .tcard .f small{font-size:7.5px}
  .tcard .f b{font-size:10.5px}
  .tcard .chip{left:26px;bottom:54px;width:40px;height:31px}
  .tcard .mrz{left:26px;right:14px;bottom:14px;font-size:8.5px;letter-spacing:.1em}
  .tcard .spec{font-size:34px}
}
@media(max-width:620px){footer .cols{grid-template-columns:1fr;gap:20px}footer{padding:32px 0}}

/* ===== langues ===== */
.lang{position:relative;margin-left:auto;margin-right:14px}
.langbtn{display:flex;align-items:center;gap:7px;font:inherit;font-size:14px;font-weight:600;color:#000091;background:none;border:1.5px solid #DDDDDD;padding:8px 12px;cursor:pointer}
.langbtn:hover{border-color:#000091;background:#F5F5FE}
.langbtn svg{flex:none}
.langmenu{display:none;position:absolute;top:calc(100% + 6px);right:0;background:#FFFFFF;border:1px solid #DDDDDD;box-shadow:0 8px 24px rgba(0,0,18,.14);min-width:190px;z-index:70;padding:6px 0}
.lang.open .langmenu{display:block}
.langmenu a{display:block;padding:10px 16px;font-size:15px;color:#161616}
.langmenu a:hover{background:#F5F5FE;color:#000091}
.langmenu a.on{font-weight:700;color:#000091}

/* ===== plan google (chargé au clic) ===== */
.map{position:relative}
.map .maploader{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:3;font:inherit;font-size:15px;font-weight:600;background:#000091;color:#FFFFFF;border:0;padding:15px 22px;cursor:pointer}
.map .maploader:hover{background:#1212FF}
.map .mapnote{position:absolute;left:0;right:0;bottom:12px;z-index:3;text-align:center;font-size:12px;color:#666666;margin:0 auto;max-width:none}
.map .mapimg{position:absolute;inset:0}
.map.on .maploader,.map.on .mapnote,.map.on .mapimg{display:none}
.map iframe{width:100%;height:100%;border:0;display:block}
.office .map{aspect-ratio:4/3}

/* ===== arabe (droite a gauche) ===== */
html[dir="rtl"] .lang{margin-left:14px;margin-right:auto}
html[dir="rtl"] .langmenu{right:auto;left:0}
html[dir="rtl"] .page-hero h1,html[dir="rtl"] .page-hero p,html[dir="rtl"] .head,html[dir="rtl"] .tile,html[dir="rtl"] .step,html[dir="rtl"] .promesses,html[dir="rtl"] .cta-band{text-align:right}
html[dir="rtl"] .step{border-bottom:4px solid #000091}
html[dir="rtl"] .promesses .wrap>div{padding:26px 0 26px 28px;border-right:0;border-left:1px solid #DDDDDD;margin-right:0;margin-left:28px}
html[dir="rtl"] .promesses .wrap>div:last-child{border-left:0;margin-left:0;padding-left:0}
html[dir="rtl"] .promesses b em{margin-left:0;margin-right:4px}
html[dir="rtl"] p{max-width:none}
@media(max-width:760px){
  html[dir="rtl"] .promesses .wrap>div{padding:18px 0;border-left:0;border-bottom:1px solid #DDDDDD;margin:0}
  html[dir="rtl"] .promesses .wrap>div:last-child{border-bottom:0}
}

@media(max-width:900px){
  .lang{margin-right:8px}
  .langbtn{padding:7px 10px;font-size:13px}
  .langbtn span{max-width:74px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .langmenu{position:fixed;left:12px;right:12px;top:60px;min-width:0;max-height:calc(100vh - 140px);max-height:calc(100dvh - 140px);overflow-y:auto}
  html[dir="rtl"] .langmenu{left:12px;right:12px}
  .map .maploader{font-size:14px;padding:13px 18px}
}

/* tres petits ecrans : la barre doit tenir, burger compris */
@media(max-width:400px){
  .nav{gap:10px}
  .brand{font-size:17px;gap:8px}
  .brand svg{width:26px;height:26px}
  .lang{margin-right:4px}
  .langbtn{padding:7px 8px;gap:5px}
  .langbtn span{max-width:56px}
}

html[dir="rtl"] .page-hero h1{max-width:none;line-height:1.25}
html[dir="rtl"] .tile,html[dir="rtl"] .step{border-bottom:4px solid #000091}

/* ===== mouvement reduit ===== */
@media(prefers-reduced-motion:reduce){
  .tcard{animation:none}
  html.js .reveal,.reveal{opacity:1;transform:none;transition:none}
}

/* la carte animee est illisible et couteuse sous 480px */
@media(max-width:480px){.scene{display:none}}

/* ===== impression ===== */
@media print{
  header,.mbar,.mnav,.mveil,.ctabtn,.cta-band,.scene,.burger,.lang{display:none!important}
  body{padding-bottom:0;padding-top:0}
  a[href^="http"]::after{content:" (" attr(href) ")";font-size:11px}
}

/* ===== tarifs ===== */
.tarifs{overflow-x:auto;border:1px solid #DDDDDD}
.tarifs table{width:100%;border-collapse:collapse;font-size:16px;min-width:320px}
.tarifs caption{caption-side:bottom;text-align:left;padding:14px 18px;font-size:13px;color:#666666;border-top:1px solid #DDDDDD}
.tarifs th,.tarifs td{padding:16px 18px;text-align:left;border-bottom:1px solid #EEEEEE;vertical-align:top}
.tarifs thead th{background:#F5F5FE;font-size:13px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#000091}
.tarifs tbody th{font-weight:600}
.tarifs tbody th a{color:#000091;text-decoration:underline;text-underline-offset:3px}
.tarifs tbody td{font-weight:700;white-space:nowrap}
.tarifs tbody tr:last-child th,.tarifs tbody tr:last-child td{border-bottom:0}
.tnote{margin-top:20px;font-size:15px;color:#3A3A3A;max-width:70ch}
@media(max-width:560px){.tarifs th,.tarifs td{padding:13px 14px;font-size:15px}}

/* Sesame - icones de services (variante A) */
.ticon{
  display:block;
  width:32px;
  height:32px;
  margin:0 0 12px;
  color:#000091;
  flex:none;
}
.ticon svg{
  display:block;
  width:100%;
  height:100%;
  overflow:visible;
}
.tile:hover .ticon{color:#000091}
html[dir="rtl"] .ticon{margin-left:auto;margin-right:0}
@media (max-width:900px){
  .ticon{width:28px;height:28px;margin-bottom:10px}
}

/* Sesame - questionnaire "Ma situation" - variante B
   Charte : bleu France #000091, rouge Marianne #E1000F, angles droits. */

/* --- cadre du questionnaire --- */
.quiz{background:#FFFFFF;border:1px solid #DDDDDD;border-top:4px solid #000091;padding:28px;border-radius:0}
.quiz *{border-radius:0}
.quiz p{margin:0}

/* --- fil d'ariane : les reponses deja donnees --- */
.quiz .crumbs{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 16px}
.quiz .crumbs span{font-size:12px;line-height:1.35;background:#F5F5FE;border:1px solid #CACAFB;color:#000091;padding:5px 9px;max-width:100%;overflow-wrap:break-word}

/* --- numero de question (classe .qstep : .step est deja pris par le site) --- */
.quiz .qstep{font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#000091;margin:0 0 8px}

/* --- la question --- */
.quiz .q{font-size:23px;font-weight:700;line-height:1.25;color:#161616;overflow-wrap:break-word}
.quiz .q:focus{outline:none}
.quiz .q:focus-visible{outline:2px solid #000091;outline-offset:3px}

/* --- les reponses --- */
.quiz .ans{margin-top:18px;display:grid;gap:10px}
.quiz .ans button{width:100%;text-align:left;font:inherit;font-size:16px;line-height:1.4;padding:15px 16px;border:1px solid #DDDDDD;background:#FFFFFF;color:#161616;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:12px;overflow-wrap:break-word;transition:border-color .12s,background .12s,color .12s}
.quiz .ans button::after{content:"→";color:#000091;font-size:17px;flex:0 0 auto}
.quiz .ans button:hover{border-color:#000091;background:#F5F5FE;color:#000091}
.quiz .ans button:focus-visible{outline:2px solid #000091;outline-offset:2px}

/* --- retour en arriere et recommencer --- */
.quiz .qnav{margin-top:18px;padding-top:14px;border-top:1px solid #EEEEEE;display:flex;flex-wrap:wrap;gap:10px 20px;align-items:center}
.quiz .qnav .reset{margin:0;font:inherit;font-size:14px;background:none;border:0;padding:0;color:#000091;text-decoration:underline;text-underline-offset:3px;cursor:pointer;text-align:left}
.quiz .qnav .reset:hover{color:#E1000F}
.quiz .qnav .reset:focus-visible{outline:2px solid #000091;outline-offset:2px}
.quiz .qnav .back::before{content:"← ";}

/* --- le questionnaire ne reprend pas les cartes .step du site --- */
.quiz .qstep{border:0;padding:0;background:none}

/* --- le resultat --- */
.quiz .res{border:1px solid #CACAFB;border-left:4px solid #000091;background:#F5F5FE;padding:22px}
.quiz .res .kicker{font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#000091;margin:0 0 6px}
.quiz .res h3{margin:0;font-size:22px;line-height:1.25;color:#161616;overflow-wrap:break-word}
.quiz .res h3:focus{outline:none}
.quiz .res h3:focus-visible{outline:2px solid #000091;outline-offset:3px}
.quiz .res .what{margin-top:12px;font-size:15px;line-height:1.6;color:#3A3A3A;overflow-wrap:break-word}
.quiz .res .acts{margin-top:20px;display:flex;flex-wrap:wrap;gap:10px}
.quiz .res .acts .btn{margin:0}

/* --- dossier difficile : liseré rouge Marianne --- */
.quiz .res.hard{border-left-color:#E1000F;background:#FEF4F4;border-color:#FDDBDB}
.quiz .res.hard .kicker{color:#E1000F}
.quiz .res .warn{margin-top:10px;display:inline-block;font-size:13px;font-weight:700;line-height:1.4;color:#E1000F;background:#FFFFFF;border:1px solid #E1000F;padding:6px 10px}

/* --- telephone --- */
@media (max-width:640px){
  .quiz{padding:20px 18px}
  .quiz .q{font-size:20px}
  .quiz .ans button{font-size:15px;padding:14px 15px}
  .quiz .res{padding:18px 16px}
  .quiz .res h3{font-size:20px}
  .quiz .res .acts{display:grid;gap:10px}
  .quiz .res .acts .btn{width:100%;text-align:center;justify-content:center}
  .quiz .qnav{gap:10px;flex-direction:column;align-items:flex-start}
}

/* Sésame — lisibilité : mots expliqués + encadré « Les mots de cette page » */

/* Mot technique expliqué sur place : soulignement pointillé bleu France */
abbr.def,
.def{
  text-decoration:none;
  -webkit-text-decoration:none;
  border-bottom:1px dotted #000091;
  cursor:help;
  font-style:normal;
  font-variant:normal;
  letter-spacing:inherit;
  color:inherit;
  text-underline-offset:0;
}
abbr.def:hover,
abbr.def:focus{
  border-bottom-color:#E1000F;
  background:#F5F5FE;
}

/* Bande qui porte l'encadré, juste avant le bloc bleu */
.lexique-band{padding:0 0 72px}

/* Encadré « Les mots de cette page » */
.lexique{
  background:#F6F6F6;
  border-left:4px solid #000091;
  padding:24px 28px;
  margin:0;
  max-width:820px;
  color:#3A3A3A;
  font-size:16px;
  line-height:1.6;
}
.lexique h2{
  font-size:20px;
  line-height:1.25;
  font-weight:700;
  letter-spacing:-.01em;
  color:#161616;
  margin:0 0 4px;
}
.lexique .lexique-intro{
  font-size:15px;
  color:#666666;
  margin:0 0 14px;
  max-width:60ch;
}
.lexique dl{margin:0}
/* depliant « Les mots de cette page » */
.lexique[open]{}
.lexique summary{display:flex;align-items:center;justify-content:space-between;gap:14px;cursor:pointer;
  list-style:none;padding:0;margin:0}
.lexique summary::-webkit-details-marker{display:none}
.lexique summary h2{margin:0}
.lexique summary svg{width:20px;height:20px;flex:none;color:#000091;transition:transform .2s}
.lexique[open] summary svg{transform:rotate(180deg)}
.lexique summary:hover h2,.lexique summary:focus-visible h2{color:#000091}
.lexique[open] dl{margin-top:16px}
.lexique dt{
  font-weight:700;
  color:#000091;
  margin-top:14px;
  font-size:16px;
}
.lexique dt:first-of-type{margin-top:0}
.lexique dd{
  margin:2px 0 0;
  max-width:62ch;
  overflow-wrap:break-word;
  word-wrap:break-word;
  hyphens:auto;
}

@media(max-width:640px){
  .lexique-band{padding:0 0 40px}
  .lexique{
    padding:18px 16px;
    font-size:15.5px;
    border-left-width:4px;
  }
  .lexique h2{font-size:18px}
  .lexique .lexique-intro{font-size:14px;margin-bottom:12px}
  .lexique dt{font-size:15.5px;margin-top:12px}
}

/* ===== bloc regularisation (AES) sur l'accueil ===== */
.aes{background:#F5F5FE;border-top:1px solid #DDDDDD;border-bottom:1px solid #DDDDDD;padding:72px 0}
.aes .aesgrid{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}
.aes .aeskicker{font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#E1000F;margin-bottom:12px}
.aes h2{font-size:clamp(30px,4vw,46px);margin-bottom:16px}
.aes .aeslead{font-size:18px;color:#3A3A3A;max-width:52ch}
.aes .aeslist{list-style:none;display:grid;gap:0;background:#FFFFFF;border:1px solid #DDDDDD}
.aes .aeslist li{display:flex;align-items:flex-start;gap:14px;padding:16px 20px;border-bottom:1px solid #EEEEEE;border-left:4px solid #000091}
.aes .aeslist .pic{width:34px;height:34px;flex:none;display:flex;align-items:center;justify-content:center;background:#F5F5FE;color:#000091}
.aes .aeslist .pic svg{width:19px;height:19px;display:block}
.aes .aeslist .txt{min-width:0}
.aes .aeslist li:last-child{border-bottom:0}
.aes .aeslist b{display:block;font-size:17px;margin-bottom:3px}
.aes .aeslist span{font-size:15px;color:#3A3A3A}
@media(max-width:900px){
  .aes{padding:48px 0}
  .aes .aesgrid{grid-template-columns:1fr;gap:28px}
  .aes .aeslead{font-size:16px}
  .aes p .btn{width:100%;justify-content:center}
  .aes .aeslist li{padding:15px 16px}
}

/* ===== bulle WhatsApp : bureau uniquement (sur telephone, la barre basse fait le travail) ===== */
.ctabtn{display:none}
@media(min-width:901px){
  /* bouton « Nous contacter » flottant - charte : bleu France, angles droits */
  .ctabtn{position:fixed;right:24px;bottom:24px;z-index:65;display:inline-flex;align-items:center;gap:10px;
    height:52px;padding:0 20px;background:#000091;color:#FFFFFF;border:0;font-family:inherit;
    font-size:15px;font-weight:700;line-height:1;cursor:pointer;
    box-shadow:0 4px 16px rgba(0,0,18,.24);transition:background .18s}
  .ctabtn:hover,.ctabtn:focus-visible{background:#1212FF}
  .ctabtn svg{width:21px;height:21px;flex:none}
  html[dir="rtl"] .ctabtn{right:auto;left:24px}
}

/* ===== les 4 portes d'entree du parcours ===== */
.portes{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
@media(max-width:1000px){.portes{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.portes{grid-template-columns:1fr}}
.porte{display:block;background:#FFFFFF;border:1px solid #DDDDDD;padding:22px;transition:border-color .15s,background .15s}
.porte .picon{display:block;width:32px;height:32px;color:#000091;margin:0 0 14px;flex:none}
.porte .picon svg{display:block;width:100%;height:100%}
.porte>svg,.porte .pic{display:block;width:32px;height:32px;color:#000091;margin:0 0 14px;flex:none}
.porte .pic svg,.porte .pico{display:block;width:100%;height:100%}
html[dir="rtl"] .porte .pic{margin-left:auto;margin-right:0}
.porte h3{font-size:17px;line-height:1.3;letter-spacing:-.01em;margin:0 0 8px;color:#161616}
.porte p{font-size:14px;line-height:1.5;color:#3A3A3A;margin:0;max-width:none}
.porte .more{display:inline-block;margin-top:14px;font-size:14px;font-weight:700;color:#000091;transition:transform .15s}
.porte:hover{border-color:#000091}
.porte:hover .more{transform:translateX(4px)}
.porte:focus-visible{border-color:#000091}
.porte.hot{background:#F5F5FE;border:2px solid #000091;padding:21px}
.porte .tag{display:inline-block;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;
  color:#FFFFFF;background:#000091;padding:3px 8px;margin:0 0 12px}
.porte.hot:not(:has(.tag))::before{content:"Le plus demandé";display:inline-block;font-size:11px;font-weight:700;
  letter-spacing:.06em;text-transform:uppercase;color:#FFFFFF;background:#000091;padding:3px 8px;margin:0 0 12px}
html[dir="rtl"] .porte{text-align:right}
html[dir="rtl"] .porte .picon{margin-left:auto;margin-right:0}
html[dir="rtl"] .porte:hover .more{transform:translateX(-4px)}

/* ===== bande urgence (refus, OQTF) ===== */
.urgent{background:#FFFFFF;border:1px solid #DDDDDD;border-left:4px solid #E1000F;padding:14px 18px;
  display:flex;flex-wrap:wrap;align-items:center;gap:4px 14px;font-size:15px;line-height:1.5;color:#161616}
.urgent>.wrap{flex:1 1 100%;display:flex;flex-wrap:wrap;align-items:center;gap:4px 14px}
.urgent:has(>.wrap){padding-left:0;padding-right:0}
.urgent p{margin:0;max-width:none;font-size:15px}
.urgent b{font-weight:700}
.urgent a{color:#E1000F;font-weight:700;text-decoration:underline;text-underline-offset:3px}
.urgent a:hover{color:#C9191E}
html[dir="rtl"] .urgent{border-left:1px solid #DDDDDD;border-right:4px solid #E1000F}
@media(max-width:640px){.urgent{padding:13px 15px;font-size:14.5px;gap:6px}.urgent p{font-size:14.5px}}

/* ===== bloc « nous joindre » en fin de page =====
   .joindre : cartes de contact (une par moyen) + bande rendez-vous.
   Les cartes WhatsApp sont remplies par assets/site.js (objet CONTACT) et
   celles dont le numero est vide sont retirees automatiquement. */
.joindre{background:#F6F6F6;border-top:1px solid #DDDDDD;padding:76px 0}
@media(max-width:760px){.joindre{padding:56px 0}}
.jhead{margin-bottom:26px}
.jhead h2{font-size:clamp(28px,3.4vw,38px);margin:0}
.jhead p{font-size:17px;line-height:1.5;color:#3A3A3A;margin:10px 0 0;max-width:58ch}

.jcards{display:grid;grid-template-columns:repeat(auto-fit,minmax(232px,1fr));gap:14px}
.jcard{display:flex;flex-direction:column;align-items:flex-start;gap:9px;
  background:#FFFFFF;border:1px solid #DDDDDD;padding:20px 18px;color:#161616;
  transition:border-color .18s,box-shadow .18s}
a.jcard:hover,a.jcard:focus-visible{border-color:#000091;box-shadow:inset 0 0 0 1px #000091}
a.jcard:hover b{color:#000091}
.jico{width:40px;height:40px;flex:none;display:flex;align-items:center;justify-content:center;
  background:#F5F5FE;color:#000091}
.jico svg{width:22px;height:22px;display:block}
.jcard .jlab{font-size:13px;font-weight:700;line-height:1.3;color:#3A3A3A}
.jcard b{font-size:16px;font-weight:700;line-height:1.4;color:#161616;overflow-wrap:break-word;
  overflow-wrap:anywhere}
.jcard .jsub{font-size:14px;line-height:1.4;color:#3A3A3A}

.jrdv{display:flex;align-items:center;flex-wrap:wrap;gap:18px 22px;margin-top:14px;
  background:#FFFFFF;border:1px solid #DDDDDD;border-left:4px solid #000091;padding:22px 24px}
html[dir="rtl"] .jrdv{border-left:1px solid #DDDDDD;border-right:4px solid #000091}
.jico.jbig{width:48px;height:48px}
.jico.jbig svg{width:26px;height:26px}
.jrdv-txt{flex:1 1 280px;min-width:0}
.jrdv-txt b{display:block;font-size:19px;font-weight:700;line-height:1.25;color:#161616}
.jrdv-txt span{display:block;font-size:15px;line-height:1.45;color:#3A3A3A;margin-top:5px}
.jrdv .btn{flex:none}
@media(max-width:640px){.jrdv{padding:20px}.jrdv .btn{width:100%;justify-content:center}}
html[dir="rtl"] .joindre{text-align:right}
html[dir="rtl"] .jcard{align-items:flex-end}

/* liste des moyens de contact en ligne (page Contact) */
.moyens{border-top:1px solid #DDDDDD;margin-top:22px}
.moyen{display:flex;align-items:center;gap:4px 14px;min-height:56px;padding:9px 0;
  border-bottom:1px solid #DDDDDD;color:#161616}
.moyen>svg,.moyen .mico{width:24px;height:24px;flex:none;color:#000091}
.moyen .mico svg{width:100%;height:100%;display:block}
.moyen>div,.moyen .txt{min-width:0;flex:1 1 auto}
.moyen>div>b,.moyen .txt b{display:block;font-size:14px;font-weight:700;line-height:1.25;color:#161616}
.moyen>div>span,.moyen .txt span{display:block;font-size:15px;line-height:1.35;color:#3A3A3A;overflow-wrap:break-word}
.moyen>span:not(.mico){flex:0 0 auto;font-size:14px;line-height:1.35;color:#3A3A3A;white-space:nowrap}
.moyen>b{flex:1 1 auto;min-width:0;margin-left:auto;text-align:right;font-size:15px;font-weight:700;
  line-height:1.35;color:#161616;overflow-wrap:break-word}
html[dir="rtl"] .moyen>b{margin-left:0;margin-right:auto;text-align:left}
a.moyen:hover b,a.moyen:hover>span:not(.mico),a.moyen:hover>div>span{color:#000091}
@media(max-width:520px){.moyen>span:not(.mico){white-space:normal}.moyen>b{flex:1 1 100%;margin-left:0;text-align:left}
  html[dir="rtl"] .moyen>b{text-align:right;margin-right:0}}
.contact-moyens{padding:40px 0}
.contact-moyens .moyens{display:grid;grid-template-columns:repeat(2,1fr);gap:0 32px;margin-top:0}
@media(max-width:760px){.contact-moyens .moyens{grid-template-columns:1fr}}

/* WhatsApp par langue (page Contact) */
.walist{border-top:1px solid #DDDDDD;margin-top:18px;max-width:660px}
.walist>*{display:flex;flex-wrap:wrap;gap:4px 14px;align-items:baseline;justify-content:space-between;
  width:100%;max-width:none;margin:0;box-sizing:border-box;padding:14px 16px;border:1px solid #DDDDDD;border-top:0}
.walist .wa-on b{font-weight:700;color:#161616}
.walist .wa-on span:last-child{font-size:15px;font-weight:700;color:#000091}
.walist a.wa-on:hover{background:#F5F5FE}
.walist .wa-off{color:#3A3A3A}
.walist .wa-off span:last-child{font-size:14px;color:#666666}
.wa-note{margin-top:14px;font-size:14px;color:#3A3A3A}

/* pied de page */
footer .fbrand{font-size:18px}
footer .fbaseline{margin-top:10px;max-width:40ch}
footer .legal a{display:inline;padding:0;text-decoration:underline;text-underline-offset:2px}

/* ===== classes de charte (remplacent les styles ecrits dans les pages) ===== */
.h2s{font-size:28px}
.h3s{font-size:22px;margin-top:32px;margin-bottom:8px}
.lead2{margin-top:12px;font-size:17px;color:#3A3A3A}
.lead3{margin:0 0 14px;font-size:17px;color:#3A3A3A;max-width:60ch}
.lead4{margin-top:10px;font-size:17px;color:#3A3A3A;max-width:65ch}
.note{display:block;margin-top:6px;font-size:13px;color:#3A3A3A}
.fine{margin-top:24px;font-size:13px;color:#666666}
.lien-souligne{color:#000091;text-decoration:underline;text-underline-offset:3px}
.mw760{max-width:760px}
.pt0{padding-top:0}
.pb64{padding:0 0 64px}
.mb18{margin-bottom:18px}
.mt14{margin-top:14px}.mt20{margin-top:20px}.mt22{margin-top:22px}
.mt26{margin-top:26px}.mt36{margin-top:36px}.mt40{margin-top:40px}
@media(max-width:640px){.h2s{font-size:24px}.h3s{font-size:20px}}

/* ===== mot explique : pointilles bleus ===== */
.lex,abbr.lex{text-decoration:none;-webkit-text-decoration:none;border-bottom:1px dotted #000091;
  cursor:help;font-style:normal;font-variant:normal;letter-spacing:inherit;color:inherit;text-underline-offset:0}
.lex:hover,.lex:focus{background:#F5F5FE;border-bottom-color:#E1000F}

/* ===== l'ancien bandeau bleu .pledge garde le style sobre des promesses ===== */
.pledge{background:#FFFFFF;border-top:1px solid #DDDDDD;border-bottom:1px solid #DDDDDD;color:#161616}
.pledge .wrap{display:grid;grid-template-columns:repeat(3,1fr);gap:0}
.pledge .wrap>div{padding:26px 28px 26px 0;border-right:1px solid #DDDDDD;margin-right:28px}
.pledge .wrap>div:last-child{border-right:0;margin-right:0;padding-right:0}
.pledge b{display:block;font-size:26px;font-weight:700;line-height:1.1;color:#000091;margin-bottom:6px}
.pledge b em{font-style:normal;font-size:16px;font-weight:700;color:#000091;opacity:1;margin-left:4px}
.pledge span{display:block;font-size:15px;color:#3A3A3A}
@media(max-width:760px){
  .pledge .wrap{grid-template-columns:1fr}
  .pledge .wrap>div{border-right:0;border-bottom:1px solid #DDDDDD;margin:0;padding:18px 0}
  .pledge .wrap>div:last-child{border-bottom:0}
  .pledge b{font-size:23px}
}
html[dir="rtl"] .pledge{text-align:right}
html[dir="rtl"] .pledge .wrap>div{padding:26px 0 26px 28px;border-right:0;border-left:1px solid #DDDDDD;margin-right:0;margin-left:28px}
html[dir="rtl"] .pledge .wrap>div:last-child{border-left:0;margin-left:0;padding-left:0}
@media(max-width:760px){
  html[dir="rtl"] .pledge .wrap>div{padding:18px 0;border-left:0;border-bottom:1px solid #DDDDDD;margin:0}
  html[dir="rtl"] .pledge .wrap>div:last-child{border-bottom:0}
}

/* ===== petits blocs de liaison ===== */
.direct{margin-top:16px;font-size:15px;color:#3A3A3A;display:flex;flex-wrap:wrap;gap:4px 14px;align-items:baseline}
.direct a,.direct [data-contact]{color:#000091;font-weight:700;text-decoration:underline;text-underline-offset:3px}
.voir-tout{margin-top:24px;font-size:16px}
.voir-tout a{color:#000091;font-weight:700;text-decoration:underline;text-underline-offset:3px}
.portes-sec .head{margin-bottom:36px}
.lead{font-size:17px;color:#3A3A3A;max-width:60ch}

/* =====================================================================
   TELEPHONE - respiration
   Sur un ecran etroit, on enleve les cadres et on met de l'air :
   une information par ligne, separee par un simple filet, gros texte,
   larges marges. Comme sur les sites de l'Etat : on lit, on ne scanne
   pas une grille de vignettes.
   ===================================================================== */
@media(max-width:760px){
  body{font-size:17px;line-height:1.6}
  section{padding:64px 0}
  .wrap{padding:0 20px}
  .head{margin-bottom:28px;gap:10px}
  .head p{font-size:17px;line-height:1.55}
  h2{font-size:clamp(26px,7vw,32px);line-height:1.15}

  /* accueil : le visuel de la carte ne sert pas la lecture sur telephone */
  .hero{padding-top:32px}
  .hero .grid{padding-bottom:36px;gap:0}
  .hero h1{font-size:clamp(30px,8vw,38px);line-height:1.15}
  .hero .sub{margin-top:20px;font-size:17px;line-height:1.6}
  .hero .cta{margin-top:28px;gap:12px}
  .hero .cta .btn{width:100%;justify-content:center}
  .hero .fine,.hero .direct{margin-top:18px;font-size:14px}
  .scene{display:none}

  /* listes : plus de cadres, un filet entre chaque ligne */
  .portes,.steps,.jcards{grid-template-columns:1fr;gap:0;border-top:1px solid #DDDDDD}
  .porte,.step,.jcard{border:0;border-bottom:1px solid #DDDDDD;background:transparent;
    padding:20px 2px;border-radius:0}
  .porte:hover,.jcard:hover{border-color:#DDDDDD;box-shadow:none;background:transparent}

  .porte{display:grid;grid-template-columns:30px 1fr;column-gap:16px;row-gap:0;align-items:start}
  .porte .picon,.porte .pic,.porte>svg{width:26px;height:26px;margin:3px 0 0;grid-row:1 / span 4}
  .porte .tag,.porte h3,.porte p,.porte .more{grid-column:2}
  .porte h3{font-size:17.5px;line-height:1.3;margin:0 0 5px}
  .porte p{font-size:15.5px;line-height:1.55}
  .porte .more{margin-top:10px;font-size:15px}
  .porte.hot{padding:20px 2px;background:transparent;border:0;border-bottom:1px solid #DDDDDD}
  .porte.hot:not(:has(.tag))::before,.porte .tag{grid-column:2;justify-self:start;width:auto;
    display:inline-block;margin:0 0 8px;padding:3px 9px}
  /* tous les boutons pleine largeur : cible de doigt confortable */
  .btn{width:100%;justify-content:center}
  .cta,.acts,.mt22,.mt26{display:flex;flex-direction:column;gap:12px;align-items:stretch}

  .step{display:grid;grid-template-columns:30px 1fr;column-gap:16px;align-items:start}
  .step .pic{display:none}
  .step .n{grid-column:1;grid-row:1 / span 2;font-size:20px;line-height:1.3;color:#000091}
  .step h3{grid-column:2;grid-row:1;font-size:17.5px;line-height:1.3;margin:0 0 5px}
  .step p{grid-column:2;grid-row:2;font-size:15.5px;line-height:1.55}

  .jcard{display:grid;grid-template-columns:30px 1fr;column-gap:16px;row-gap:2px;align-items:start}
  .jico{width:26px;height:26px;background:transparent;margin-top:3px;grid-row:1 / span 3}
  .jico svg{width:24px;height:24px}
  .jcard .jlab{grid-column:2;font-size:14px;font-weight:400;color:#3A3A3A}
  .jcard b{grid-column:2;font-size:17px}
  .jcard .jsub{grid-column:2;font-size:14.5px}

  /* motifs de regularisation : meme traitement */
  .aes{padding:56px 0}
  .aes .aesgrid{gap:28px}
  .aes .aeslead{font-size:17px;line-height:1.6}
  .aes .aeslist{border:0;background:transparent;border-top:1px solid #DDDDDD}
  .aes .aeslist li{border:0;border-bottom:1px solid #DDDDDD;padding:18px 2px;gap:16px;background:transparent}
  .aes .aeslist .pic{width:26px;height:26px;background:transparent;margin-top:2px}
  .aes .aeslist .pic svg{width:24px;height:24px}
  .aes .aeslist b{font-size:17px;margin-bottom:4px}
  .aes .aeslist span{font-size:15.5px;line-height:1.55}

  /* encadres des pages service : on garde le fond, on enleve le filet epais */
  .box{padding:22px 20px;border-top-width:3px}
  .box h2,.box h3{font-size:19px}
  .box ul{font-size:16px;gap:12px}
  .box .bpic{width:32px;height:32px}

  .joindre{padding:56px 0}
  .jhead{margin-bottom:18px}
  .jrdv{display:block;padding:20px;margin-top:22px;border-left-width:3px}
  .jrdv .jico.jbig{display:none}
  .jrdv-txt b{font-size:18px}
  .jrdv-txt span{font-size:15.5px;margin-top:6px}
  .jrdv .btn{width:100%;justify-content:center;margin-top:16px}

  footer{padding:36px 0}
  footer .cols{gap:22px}
}
