*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:#102b3e;font:16px/1.65 Arial,sans-serif}header,section,footer{padding:55px max(6vw,24px)}header{padding-top:20px;padding-bottom:20px;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}header img{width:190px}nav{display:flex;gap:22px;flex-wrap:wrap}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline}h1,h2{font-family:Georgia,serif;font-weight:400;line-height:1.12;margin:12px 0 24px}h1{font-size:clamp(36px,5vw,68px);max-width:760px}h2{font-size:clamp(30px,3.5vw,48px)}small,.eyebrow{color:#007b80;font-weight:bold;letter-spacing:1.5px;font-size:12px;text-transform:uppercase}.hero{min-height:460px;background:linear-gradient(90deg,#fff 0%,#fff 45%,#edf4f5 100%);background-color:#eef4f5;display:flex;flex-direction:column;justify-content:center}.hero p{max-width:490px}.btn{display:inline-block;background:#0b2b40;color:white;padding:12px 24px;border-radius:999px;margin:8px 8px 0 0}.outline{background:white;color:#102b3e;border:1px solid #102b3e}.dark{background:#0b293e;color:white}.dark .eyebrow{color:#54c7c7}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}details{border:1px solid #49667a;border-radius:16px;overflow:hidden;background:#14384e}summary{cursor:pointer;list-style:none;padding:16px}summary img{width:100%;height:100px;object-fit:cover;border-radius:8px;display:block;margin-bottom:12px}summary h3{margin:4px 0}summary span{float:right}details p{padding:0 16px}.agency{max-width:1100px;margin:auto}.question{font:32px/1.3 Georgia,serif;color:#007b80}.clients{background:#f2f6f7}.placeholder{border:1px dashed #9aafb7;padding:35px;text-align:center;border-radius:8px;color:#526b77}.contact{display:grid;grid-template-columns:1fr 1fr;gap:35px}label{display:block;margin:10px 0}input,textarea{width:100%;padding:12px;border:1px solid #b9c9d0;border-radius:8px;font:inherit}button{border:0;cursor:pointer;font:inherit}footer{background:#081f30;color:white;font-size:13px}.notice{font-size:12px;color:#526b77;background:#edf3f4;padding:8px 6vw}@media(max-width:750px){.cards{grid-template-columns:1fr 1fr}.contact{grid-template-columns:1fr}.hero{background:linear-gradient(90deg,#fffffff5,#ffffffb8),url(/assets/8d9b9ae3d2c49c3141ab.png) center/cover}nav{font-size:13px;gap:12px}header img{width:150px}}@media(max-width:420px){.cards{grid-template-columns:1fr}}
#expertises .cards{gap:0}#expertises details{border:0;border-radius:0;background:#08283d}#expertises summary{min-height:320px;display:flex;flex-direction:column;justify-content:flex-end;background-size:cover;background-position:center;padding:22px;position:relative}#expertises summary small{color:#52d4d4}#expertises summary h3{font-size:clamp(17px,1.65vw,24px);line-height:1.15}#expertises summary span{position:absolute;right:15px;bottom:20px}#expertises summary{padding-right:34px}#expertises details p{padding:0 22px 18px}.clients{text-align:center;background:white}.clients .grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px}.clients .tile{height:150px;display:flex;align-items:center;justify-content:center;padding:15px}.clients img{max-width:100%;max-height:120px;object-fit:contain}.contact{background:#eef4f5}.contact .consent{font-size:13px;display:flex;gap:8px;align-items:flex-start}.consent input{width:auto}.legal{background:transparent;border:0;margin-top:12px}.legal summary{padding:0}.legal p{padding:0}.social a{color:#007e83}@media(max-width:750px){.clients .grid{grid-template-columns:repeat(2,minmax(0,1fr))}#expertises summary{min-height:260px}}
[hidden]{display:none!important}nav{align-items:center}nav .btn{background:#259c9e;color:white;padding:10px 20px}#expertises .pole-tile{min-height:320px;display:flex;flex-direction:column;justify-content:flex-end;background-size:cover;background-position:center;padding:22px;position:relative;color:white;text-decoration:none} .pole-tile small{color:#52d4d4}.pole-tile h3{margin:8px 0;font-size:clamp(17px,1.65vw,24px)}.pole-tile:hover{filter:brightness(1.12)}.subpage{min-height:65vh;max-width:1200px;margin:auto}.crumb{font-size:14px;color:#007e83;margin-bottom:24px}.lead{font-size:clamp(21px,3vw,30px);color:#007b80;max-width:900px}.editorial{max-width:850px}.editorial h2{font-size:27px;margin:36px 0 15px;border-top:1px solid #dce7e9;padding-top:24px}.editorial p{white-space:pre-line}.source-list{padding:7px 0 7px 23px;position:relative}.source-list:before{content:'•';position:absolute;left:3px;color:#007b80}.competency-menu{max-width:850px;margin:35px 0}.competency-menu a{display:flex;gap:20px;align-items:center;padding:20px 8px;border-bottom:1px solid #dce7e9;font-size:20px}.competency-menu a strong{flex:1}.competency-menu a span{color:#007b80}.back{display:inline-block;color:#007e83;font-weight:bold;padding:12px 0}.page-actions{display:flex;gap:25px;flex-wrap:wrap;margin-top:35px} @media(max-width:750px){#expertises .pole-tile{min-height:260px}.competency-menu a{font-size:17px}}
.btn{transition:filter .2s ease,transform .2s ease}.btn:hover{filter:brightness(1.08);transform:translateY(-1px)}a:focus-visible,button:focus-visible{outline:3px solid #259c9e;outline-offset:4px}#clients .page-actions{justify-content:center}nav a{white-space:nowrap}@media(max-width:750px){nav{flex-wrap:wrap;justify-content:center}.page-actions{gap:14px}}
nav a{color:#102b3e} .agency{max-width:1450px}.agency-layout{display:grid;grid-template-columns:minmax(0, .85fr) minmax(0,1.15fr);gap:42px;align-items:center}.agency-layout img{width:100%;height:auto;aspect-ratio:4/5;object-fit:cover}.pole-visual{height:clamp(180px,30vw,340px);background-size:cover;background-position:center;border-radius:8px}.competency-menu select{width:100%;font:inherit;color:#102b3e;background:white;border:1px solid #007b80;border-radius:8px;padding:15px}.inline-competence{border-top:1px solid #dce7e9;padding-top:30px}.inline-competence h2{max-width:850px}.inline-competence .editorial h2{font-size:27px}.pole-actions{align-items:center} @media(max-width:750px){.agency-layout{grid-template-columns:1fr;gap:24px}.agency-layout img{aspect-ratio:16/10}} .cards{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:start;gap:24px}.expert-card{border-radius:16px;overflow:hidden;background:#082b3c}.expert-toggle{display:block;position:relative;width:100%;padding:0;border:0;background:#082b3c;cursor:pointer;line-height:0}.expert-toggle img{display:block;width:100%;height:auto}.expert-toggle .soft{position:absolute;inset:0;transition:opacity .4s ease}.expert-toggle:hover .soft,.expert-toggle:focus-visible .soft,.expert-toggle[aria-expanded=true] .soft{opacity:0}.expert-menu{padding:12px 16px 16px;background:#082b3c}.expert-menu a{display:block;color:#54c7c7;background:#104653;border-radius:8px;padding:8px 12px;margin:5px 0;font-size:clamp(12px,1.3vw,16px);font-weight:600;line-height:1.35;white-space:nowrap;transition:background .2s,color .2s}.expert-menu a:hover,.expert-menu a:focus-visible{background:#007c88;color:white;text-decoration:none}.competence-page{max-width:1100px;margin:auto}.return-link{display:inline-block;color:#007b80;margin-bottom:22px}.competence-body h1{max-width:none}.expert-menu[hidden],section[hidden]{display:none!important}@media(max-width:720px){.cards{grid-template-columns:1fr!important}.expert-menu a{font-size:14px}}@media(prefers-reduced-motion:reduce){.expert-toggle .soft{transition:none}}
/* Finition éditoriale V5 — uniquement les pages de compétences */
.competence-page{background:#fff;max-width:1100px;padding-top:48px;padding-bottom:72px}
.competence-body{max-width:850px;margin:auto}
.competence-body h1{color:#102b3e;font-size:clamp(34px,4.6vw,58px);margin:14px 0 22px;letter-spacing:-.025em}
.competence-body h1::after{content:'';display:block;width:68px;height:4px;background:#00a6ad;border-radius:3px;margin-top:22px}
.competence-body .lead{color:#007b80;font-size:clamp(20px,2.5vw,27px);line-height:1.45;margin:0 0 30px}
.competence-body .editorial{color:#102b3e;line-height:1.8}
.competence-body .editorial h2{color:#007b80;font-size:clamp(23px,2.8vw,30px);border-top:1px solid #b5dfe0;padding-top:22px;margin-top:38px}
.competence-body .editorial strong{color:#102b3e;font-weight:700}
.competence-body .source-list::before{color:#007b80}
.competence-body .page-actions{margin-top:42px;padding-top:22px;border-top:1px solid #b5dfe0}
.competence-body .page-actions .btn{background:#007d83;color:#fff;font-weight:600;margin-right:0}
.competence-body .page-actions .btn:hover{background:#006b71;text-decoration:none}
.competence-page .return-link{color:#007b80;font-size:14px;font-weight:600}
@media(max-width:750px){.competence-page{padding-top:30px;padding-bottom:48px}.competence-body .editorial h2{margin-top:28px}.competence-body .page-actions{margin-top:28px}}

/* Disposition des quatre pôles — adaptation responsive */
#expertises .cards{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px;align-items:start}
#expertises .expert-card{min-width:0}
#expertises .expert-menu{padding:8px}
#expertises .expert-menu a{font-size:clamp(11px,.95vw,15px);padding:8px 6px;white-space:normal;overflow-wrap:anywhere}
@media(max-width:1050px){#expertises .cards{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px}#expertises .expert-menu a{font-size:14px}}
@media(max-width:560px){#expertises .cards{grid-template-columns:1fr!important}}

/* Retouches visuelles : flou progressif de la zone photographique, sans toucher aux textes. */
.expert-toggle .soft{filter:blur(2.5px) saturate(.83) contrast(.91);transform:scale(1.015);mask-image:linear-gradient(to right,transparent 0%,transparent 42%,#000 60%,#000 100%);-webkit-mask-image:linear-gradient(to right,transparent 0%,transparent 42%,#000 60%,#000 100%);opacity:1;transition:opacity .45s ease}
.expert-toggle:hover .soft,.expert-toggle:focus-visible .soft,.expert-toggle[aria-expanded=true] .soft{opacity:.42}
.agency-layout img{aspect-ratio:16/9;object-fit:cover;object-position:72% center;border-radius:16px;filter:blur(.35px);display:block}
@media(max-width:750px){.agency-layout img{aspect-ratio:16/9}}
@media(prefers-reduced-motion:reduce){.expert-toggle .soft{transition:none}}

/* Finition compacte des compétences et cadre des réalisations */
.competence-page{padding-top:30px;padding-bottom:42px}
.competence-page .return-link{margin-bottom:10px}
.competence-body{max-width:900px}
.competence-body h1{margin:8px 0 12px;font-size:clamp(32px,4vw,48px)}
.competence-body h1::after{margin-top:12px;height:3px}
.competence-body .lead{margin:0 0 16px;font-size:clamp(19px,2.2vw,24px);line-height:1.35}
.competence-body .editorial{max-width:none;line-height:1.55}
.competence-body .editorial p{margin:7px 0}
.competence-body .editorial h2{margin:20px 0 9px;padding-top:12px;font-size:clamp(22px,2.5vw,27px)}
.competence-body .source-list{padding-top:3px;padding-bottom:3px}
.competence-body .page-actions{margin-top:22px;padding-top:12px}
#clients .clients-frame{max-width:1200px;margin:auto;padding:clamp(20px,4vw,48px);background:linear-gradient(135deg,#102b3e,#0b293e 60%,#124653);border:1px solid #259c9e;border-radius:16px;color:white;box-shadow:0 12px 30px #102b3e18}
#clients .clients-frame .eyebrow{color:#54c7c7}
#clients .clients-frame h2{color:white;margin:10px 0 26px}
#clients .clients-frame h2::after{content:'';display:block;width:60px;height:3px;background:#54c7c7;margin:15px auto 0;border-radius:2px}
#clients .grid{gap:16px}
#clients .tile{background:white;border-radius:8px;height:140px;padding:14px}
#clients .clients-frame p{margin-top:24px!important;color:#e3f4f4}
#clients .page-actions{margin-top:12px}
#clients .page-actions .btn{background:#007d83;color:white;margin-right:0}
@media(max-width:750px){.competence-page{padding-top:24px;padding-bottom:32px}.competence-body .editorial h2{margin-top:18px}.competence-body .page-actions{margin-top:18px}#clients .grid{gap:10px}#clients .tile{height:105px;padding:10px}#clients img{max-height:85px}}

/* Agence : composition validée */
#agence{max-width:1450px;margin-inline:auto}
#agence .agency-layout{grid-template-columns:minmax(0, .9fr) minmax(0,1.1fr);align-items:start;gap:clamp(24px,3vw,48px)}
#agence .agency-layout img{width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;object-position:center;filter:none;border-radius:16px;display:block}
#agence .agency-layout p{margin:0 0 15px;line-height:1.55}
#agence .agency-layout h2{margin:8px 0 20px}
#agence .agency-layout .question{font-family:Georgia,serif;color:#007b80;font-size:clamp(21px,2.1vw,30px);line-height:1.25;font-weight:400;border-left:3px solid #007b80;padding-left:15px;margin:12px 0 20px}
@media(max-width:750px){#agence .agency-layout{grid-template-columns:1fr;gap:24px}#agence .agency-layout img{max-height:460px;aspect-ratio:4/5;object-fit:cover}}

/* Retouches contact uniquement */
#contact p.contact-intro { color:#007b80; font-size:24px; font-weight:700; line-height:1.45; margin:18px 0 26px; }
#contact .contact-details > div { display:grid; grid-template-columns:100px minmax(0,1fr); column-gap:16px; align-items:start; padding:14px 0; border-bottom:1px solid #c8dfe0; line-height:1.55; }
#contact .contact-details > div > strong { font-weight:700; white-space:nowrap; }
#contact .contact-details > div > a { overflow-wrap:anywhere; }
@media(max-width:600px){#contact p.contact-intro{font-size:21px;} #contact .contact-details > div{grid-template-columns:90px minmax(0,1fr);column-gap:12px;}}

@media(max-width:750px){#agence .agency-actions{display:flex;flex-direction:column;align-items:stretch;gap:14px}#agence .agency-actions>.page-actions{order:-1;margin-top:0;display:flex;flex-direction:column}#agence .agency-actions .btn{margin-right:0;text-align:center}}


#clients .logo-viewport{display:block!important;width:100%;max-width:100%;min-width:0;overflow:hidden!important;padding:8px 0;}
#clients .logo-track{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;width:max-content!important;max-width:none!important;gap:0!important;animation:clientLogoScroll 40s linear infinite!important;will-change:transform;}
#clients .logo-group{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;flex:0 0 auto!important;gap:16px!important;padding-right:16px;align-items:center;}
#clients .logo-group .tile{display:flex!important;align-items:center;justify-content:center;flex:0 0 170px!important;width:170px!important;height:110px!important;box-sizing:border-box;margin:0!important;}
#clients .logo-group .tile img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;}
@keyframes clientLogoScroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media(hover:hover) and (pointer:fine){#clients .logo-viewport:hover .logo-track{animation-play-state:paused!important}}
@media(max-width:600px){#clients .logo-group .tile{flex-basis:130px!important;width:130px!important;height:90px!important;}}
@media(prefers-reduced-motion:reduce){#clients .logo-track{animation:none!important}#clients .logo-viewport{overflow-x:auto!important}}

header nav a{font-weight:700;color:#102b3e}header nav a.nav-contact{background:#259c9e;color:#fff;border-radius:8px;padding:10px 20px;display:inline-flex;align-items:center;justify-content:center}header nav a.nav-contact:hover{background:#007b80;text-decoration:none}header nav{align-items:center;gap:clamp(12px,1.6vw,22px)}
#expertises .cards{gap:24px!important}#expertises .expert-card{position:relative}#expertises .expert-card:not(:last-child)::after{content:"";position:absolute;top:0;bottom:0;right:-13px;width:2px;background:#b0dadd;pointer-events:none}@media(max-width:1050px){#expertises .expert-card:nth-child(2)::after{display:none}}@media(max-width:560px){#expertises .expert-card:not(:last-child)::after{display:block;top:auto;bottom:-13px;left:0;right:0;width:100%;height:2px}}
@media (max-width:750px){.competence-page .competence-body .page-actions{display:flex;flex-direction:column;align-items:stretch}.competence-page .competence-body .page-actions > a:is([href="#contact"],[href="/#contact"]){order:-1}.competence-page .competence-body .page-actions > a:is([href="#expertises"],[href="/#expertises"]){order:1}}


/* Blog — harmonisation éditoriale, limitée à cette rubrique */
#blog{max-width:1450px;margin-inline:auto}#blog>p{color:#007b80;font-size:clamp(17px,2vw,21px);margin-bottom:28px}#blog .blog-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:24px;align-items:stretch}#blog .blog-card{grid-column:span 2;display:flex;flex-direction:column;min-width:0;background:#fff;border:1px solid #d5e6e8;border-radius:16px;overflow:hidden;box-shadow:0 5px 18px #102b3e0a}#blog .blog-card:nth-child(4){grid-column:2/span 2}#blog .blog-card img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;filter:saturate(.75) contrast(.96);transition:filter .3s ease}#blog .blog-card:hover img{filter:saturate(.95)}#blog .blog-copy{display:flex;flex:1;flex-direction:column;padding:22px;gap:12px}#blog .eyebrow,.blog-detail .eyebrow{color:#007b80;font-weight:700;letter-spacing:.08em;text-transform:uppercase;font-size:13px}#blog .blog-copy h3{color:#102b3e;font-size:clamp(20px,2vw,25px);line-height:1.28;margin:0;font-weight:700}#blog .blog-copy p{color:#435361;font-size:16px;line-height:1.6;margin:0 0 8px}#blog .blog-read{display:block;margin-top:auto;padding-top:14px;border-top:1px solid #d5e6e8;color:#007b80;font-weight:700;text-decoration:none}#blog .blog-read:hover{text-decoration:underline}.blog-detail .competence-body{max-width:820px}.blog-detail .competence-body h1{font-size:clamp(30px,4vw,46px);line-height:1.15;margin:12px 0 24px}.blog-detail .competence-body>img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:16px;filter:saturate(.75) contrast(.96);margin-bottom:26px}.blog-detail .editorial{font-size:17px;line-height:1.75;color:#344450}.blog-detail .editorial>p:first-child{font-size:clamp(19px,2vw,22px);line-height:1.55;color:#102b3e;font-weight:500;margin-bottom:18px}.blog-detail .editorial p{margin:0 0 14px}.blog-detail .editorial h2{color:#007b80;font-weight:700;font-size:clamp(22px,2.5vw,28px);line-height:1.3;margin:30px 0 12px;padding-top:18px;border-top:1px solid #cce3e4}.blog-detail .editorial h3{color:#007b80;font-size:20px;line-height:1.4;margin:20px 0 8px;font-weight:700}.blog-detail .editorial ul,.blog-detail .editorial ol{padding-left:1.5em;margin:12px 0 20px}.blog-detail .editorial li{padding-left:.2em;margin-bottom:8px}.blog-detail .editorial li::marker{color:#007b80;font-weight:700}.blog-detail .page-actions a:is([href="#blog"],[href="/#blog"]){background:white;color:#007b80;border:1px solid #007b80}.blog-detail .page-actions a:is([href="#blog"],[href="/#blog"]):hover{background:#edf7f7;color:#007b80}@media(max-width:1050px){#blog .blog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#blog .blog-card,#blog .blog-card:nth-child(4){grid-column:auto}}@media(max-width:650px){#blog .blog-grid{grid-template-columns:1fr;gap:18px}#blog .blog-copy{padding:18px}.blog-detail .editorial{font-size:16px;line-height:1.65}.blog-detail .editorial h2{margin-top:24px}.blog-detail .page-actions a{text-align:center}} 

/* Blog : cinq articles sur une ligne en desktop */
@media(min-width:1051px){#blog .blog-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}#blog .blog-card,#blog .blog-card:nth-child(4){grid-column:auto}#blog .blog-copy{padding:14px;gap:10px}#blog .blog-copy h3{font-size:clamp(16px,1.35vw,20px);overflow-wrap:anywhere}#blog .blog-copy p{font-size:14px;line-height:1.5}#blog .blog-copy .eyebrow{font-size:11px;letter-spacing:.04em;min-height:2.8em}#blog .blog-read{font-size:14px}}

#contact .contact-map-social{display:flex;align-items:center;gap:14px;width:100%;margin-top:16px}#contact .contact-map-social .contact-map{flex:1;min-width:0;margin:0}#contact .contact-social-vertical{display:flex;flex-direction:column;align-items:center;gap:12px;flex:0 0 auto}#contact .contact-social-vertical a{display:grid;place-items:center;width:40px;height:40px;border:1px solid #007b80;border-radius:8px;color:#007b80;background:white}#contact .contact-social-vertical svg{width:24px;height:24px}#contact .contact-social-vertical a:hover,#contact .contact-social-vertical a:focus-visible{background:#007b80;color:white}@media(max-width:480px){#contact .contact-map-social{gap:8px}#contact .contact-social-vertical a{width:34px;height:34px}}
.casablanca-clock-line{display:inline-block;white-space:nowrap}#casablanca-clock{color:#008F96;font-weight:600;font-variant-numeric:tabular-nums;font-size:.95em;margin-left:.35em}
@media (max-width:750px){.blog-detail .competence-body .page-actions{display:flex;flex-direction:column;align-items:stretch}.blog-detail .competence-body .page-actions>a:is([href="#contact"],[href="/#contact"]){order:-1}.blog-detail .competence-body .page-actions>a:is([href="#blog"],[href="/#blog"]){order:1}}
@media (min-width:1150px){header{display:grid;grid-template-columns:minmax(190px,1fr) auto minmax(190px,1fr);align-items:center}header>a{justify-self:start}header>nav{grid-column:2;justify-content:center;flex-wrap:nowrap}}
@media (max-width:1149px){header{justify-content:center}header>nav{justify-content:center}}

/* ---- Barre de navigation : fixe en haut + une seule ligne + menu mobile ---- */
html{scroll-padding-top:84px}
header{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid #e3ecee}
.nav-toggle{display:none}
@media (min-width:751px) and (max-width:1149px){
  header{display:flex;justify-content:space-between;align-items:center;flex-wrap:nowrap}
  header>nav{flex-wrap:nowrap;justify-content:flex-end;gap:clamp(10px,1.4vw,18px);font-size:15px}
}
@media (max-width:750px){
  html{scroll-padding-top:72px}
  header{display:flex;justify-content:space-between;align-items:center;flex-wrap:nowrap;padding-top:12px;padding-bottom:12px}
  header img{width:130px}
  .nav-toggle{display:inline-flex;flex-direction:column;justify-content:center;gap:5px;width:44px;height:44px;padding:0 10px;background:none;border:1px solid #cfdde0;border-radius:8px;cursor:pointer}
  .nav-toggle span{display:block;height:2px;background:#102b3e;border-radius:2px;transition:transform .2s,opacity .2s}
  .nav-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
  .nav-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
  .nav-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
  header>nav{display:none;position:absolute;left:0;right:0;top:100%;flex-direction:column;align-items:stretch;gap:0;background:#fff;border-bottom:1px solid #e3ecee;padding:8px max(6vw,24px) 16px;font-size:16px;box-shadow:0 12px 24px rgba(16,43,62,.08)}
  header.nav-open>nav{display:flex}
  header>nav a{padding:12px 0;border-bottom:1px solid #eef3f4}
  header>nav a.nav-contact{margin-top:12px;border-bottom:0;padding:12px 20px}
}
/* Barre fixe plus compacte (logo réduit pour ne pas masquer le contenu) */
@media (min-width:751px){header{padding-top:14px;padding-bottom:14px}header img{width:120px}}
html{scroll-padding-top:104px}
@media (max-width:750px){html{scroll-padding-top:76px}}
/* ---- Hero : photo dans un cadre ---- */
.hero,.hero{background:linear-gradient(90deg,#fff 0%,#fff 45%,#edf4f5 100%)}
.hero{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);align-items:center;gap:clamp(28px,5vw,64px)}
.hero-frame{margin:0;padding:10px;background:#fff;border:1px solid #d9e6e8;border-radius:16px;box-shadow:0 24px 48px -20px rgba(16,43,62,.28)}
.hero-frame img{display:block;width:100%;height:auto;aspect-ratio:275/239;object-fit:cover;border-radius:16px}
@media (max-width:900px){.hero{grid-template-columns:1fr}.hero-frame{max-width:520px}}
@media (max-width:750px){.hero{background:linear-gradient(180deg,#fff 0%,#edf4f5 100%)}}
.hero h1{font-size:clamp(32px,3.4vw,48px);max-width:620px}

/* ================= Cohérence : espacements, hiérarchie, composants ================= */
:root{--teal:#007b80;--teal-light:#54c7c7;--navy:#0b2b40;--r-sm:8px;--r-md:16px;--r-pill:999px;--section-y:clamp(56px,7.5vw,96px)}
/* 2. Rythme vertical des sections */
main>section{padding-top:var(--section-y);padding-bottom:var(--section-y)}
/* 1. Actions de l'agence : une principale + une secondaire, côte à côte */
#agence .agency-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
#agence .agency-actions .btn{margin:0}
@media(max-width:750px){#agence .agency-actions{flex-direction:column;align-items:stretch}#agence .agency-actions .btn{text-align:center}}
.hero .btn{margin:0 12px 0 0}
/* 3. Réalisations : bande pleine largeur, alignée à gauche comme les autres sections */
#clients{background:linear-gradient(135deg,#102b3e,#0b293e 60%,#124653)}
#clients .clients-frame{max-width:none;margin:0;padding:0;background:none;border:0;border-radius:0;box-shadow:none;text-align:left}
#clients .clients-frame h2::after{margin:15px 0 0}
#clients .page-actions{justify-content:flex-start}
#clients .clients-frame p{text-align:left}
/* 4. Bouton principal sur fond sombre : turquoise unique */
#clients .page-actions .btn,.competence-body .page-actions .btn{background:var(--teal)}
/* 5. Bouton Contact de la navigation en pilule, comme les autres boutons */
header nav a.nav-contact{border-radius:var(--r-pill);padding:10px 22px}
/* 6. Deux styles de surtitres seulement */
.eyebrow,#blog .eyebrow,.blog-detail .eyebrow{font-size:12px;letter-spacing:.12em;font-weight:700;text-transform:uppercase}
#blog .blog-copy .eyebrow{font-size:11px;letter-spacing:.08em}
/* 7. Même espacement autour des titres de section */
main>section h2,#agence .agency-layout h2,#clients .clients-frame h2{margin:12px 0 24px}
/* 8. Sous-titres de section : une seule taille */
#blog>p,#contact p.contact-intro{font-size:clamp(18px,1.8vw,22px);font-weight:400;line-height:1.45;color:var(--teal);margin:0 0 32px}
#agence .agency-layout .question{font-size:clamp(21px,2vw,26px)}
@media(max-width:600px){#contact p.contact-intro{font-size:18px}}
/* 9. Arrondis imbriqués */
.hero-frame img{border-radius:var(--r-sm)}
.hero-text>div:last-child{display:flex;flex-wrap:wrap;gap:12px;margin-top:8px}
.hero .btn{margin:0}
/* ---- Barre de navigation : espacements ---- */
header nav a.nav-contact{margin:0}
@media (min-width:751px){
  header{display:flex;align-items:center;gap:32px}
  header>nav{flex:1;display:flex;align-items:center;justify-content:flex-start;gap:clamp(18px,2.2vw,32px);font-size:15px}
  header>nav a:first-child{margin-left:auto}
  header>nav a.nav-contact{margin-left:auto}
}
@media (min-width:751px) and (max-width:1149px){
  header{gap:20px}
  header>nav{gap:clamp(12px,1.8vw,20px);font-size:14px}
}
header>a{display:flex;align-items:center}header>a img{display:block}
header nav a.nav-contact{background:var(--navy);color:#fff}header nav a.nav-contact:hover{background:#102b3e}
/* Formulaire de contact : champ piège et messages d'état */
#contact .hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
#formstatus[data-state="ok"]{color:var(--teal);font-weight:700}
#formstatus[data-state="error"]{color:#b42318;font-weight:700}
#contact-form button[disabled]{opacity:.6;cursor:wait}
