/* Pages Engagement RSE, Presse & médias, Carrières */
.pg-two{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:clamp(24px,4vw,56px);align-items:stretch}
.pg-box{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:clamp(22px,2.4vw,34px);display:flex;flex-direction:column;gap:14px}
.pg-box h3{margin:0;font-size:19px;font-weight:600;letter-spacing:-.01em}
.pg-box p{margin:0;color:#A1ACB8;font-size:16px;line-height:1.6}
.pg-box .mono{color:#6F7B88;font-size:12px;letter-spacing:.09em;text-transform:uppercase}
.pg-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.pg-list li{display:flex;justify-content:space-between;gap:16px;padding:13px 0;border-top:1px solid var(--line);color:#B7C1CB;font-size:15px}
.pg-list li:first-child{border-top:0;padding-top:0}
.pg-list li span:last-child{color:#7F8B98;text-align:right}
.pg-empty{border:1px dashed rgba(236,241,245,.22);border-radius:18px;padding:clamp(22px,2.4vw,34px);display:flex;flex-direction:column;gap:12px;align-items:flex-start}
.pg-empty h3{margin:0;font-size:19px;font-weight:600}
.pg-empty p{margin:0;color:#A1ACB8;max-width:560px}
.dl-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.dl{display:flex;flex-direction:column;gap:14px;text-decoration:none;color:inherit;background:var(--card);border:1px solid var(--line);border-radius:18px;padding:16px;transition:border-color .3s,transform .3s}
.dl:hover{border-color:rgba(236,241,245,.22);transform:translateY(-4px)}
.dl i{display:grid;place-items:center;height:96px;border-radius:12px;background:#05070A;border:1px solid var(--line)}
.dl i img{width:62%;height:auto;display:block}
.dl.lt i{background:#ECF1F5}
.dl.nv i{background:#03050E}
.dl b{font-size:15px;font-weight:600}
.dl span{color:#7F8B98;font-size:13px;font-family:'Geist Mono',monospace}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media (max-width:1024px){.dl-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:760px){.pg-two{grid-template-columns:minmax(0,1fr)}.dl-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}.dl i{height:72px}}
.g4.g3{grid-template-columns:repeat(3,minmax(0,1fr))}
@media (max-width:1024px){.g4.g3{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:760px){.g4.g3{grid-template-columns:minmax(0,1fr)}}
.pg-dots li{justify-content:flex-start;gap:12px}
.pg-dots li::before{content:"";flex:none;width:6px;height:6px;border-radius:50%;background:var(--accent,#9FB6CC);margin-top:.55em}
.pg-dots li span{color:#B7C1CB;text-align:left}
.pg-box .pg-list li span:first-child{min-width:0}

/* Téléphone : cartes en carrousel horizontal, une section = un écran */
@media (max-width:760px){
  #engagements .g4,#pourquoi .g4,#humain .g4,#ressources .dl-grid{
    display:flex;gap:12px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-padding:0 20px;
    margin:0 -20px;padding:4px 20px 6px;scrollbar-width:none;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}
  #engagements .g4::-webkit-scrollbar,#pourquoi .g4::-webkit-scrollbar,#humain .g4::-webkit-scrollbar,#ressources .dl-grid::-webkit-scrollbar{display:none}
  #engagements .g4>*,#pourquoi .g4>*,#humain .g4>*{flex:0 0 80%;scroll-snap-align:start}
  #ressources .dl-grid>*{flex:0 0 58%;scroll-snap-align:start}
  #engagements .pc:hover,#pourquoi .pc:hover,#humain .pc:hover{transform:none}
  .pg-box{padding:18px;gap:10px}
  .pg-box p{font-size:14.5px;line-height:1.5}
  .pg-box h3{font-size:17px}
  .pg-list li{padding:9px 0;font-size:14px;flex-wrap:wrap;gap:2px 12px}
  .pg-two{gap:12px}
  .pg-empty{padding:18px}
}
@media (max-width:760px){#engagements .pc,#pourquoi .pc,#humain .pc{padding:16px;gap:10px;min-height:0}}
@media (max-width:760px){
  #profils .pg-two,#presentation .pg-two{display:flex;gap:12px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-padding:0 20px;margin:0 -20px;padding:4px 20px 6px;scrollbar-width:none;overscroll-behavior-x:contain}
  #profils .pg-two::-webkit-scrollbar,#presentation .pg-two::-webkit-scrollbar{display:none}
  #profils .pg-two>*,#presentation .pg-two>*{flex:0 0 86%;scroll-snap-align:start}
}
.pg-dots li{flex-wrap:nowrap!important;align-items:flex-start}
.pg-dots li span:last-child{text-align:left;color:#B7C1CB}

/* Presse : bascule Actualité / Nous contacter */
[hidden]{display:none!important}
.pg-switch{margin:0 0 clamp(18px,3vh,32px);align-self:flex-start}
.pg-switch button{min-height:40px;padding:0 20px}
.news-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.news-list:empty{display:none}
.news .btn{align-self:flex-start;margin-top:6px}
@media (max-width:1024px){.news-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:760px){.news-list{grid-template-columns:minmax(0,1fr)}.pg-switch button{min-height:38px;padding:0 16px;font-size:14px}}

/* Formulaire « Écrire à l'équipe » */
.team-form{margin:0 auto;max-width:760px}
.team-form .full{grid-column:1 / -1}
.fld select{font-family:inherit;font-size:16px;color:#ECF1F5;background:#05070A;border:1px solid rgba(236,241,245,.14);border-radius:12px;padding:13px 14px;min-height:48px;outline:none;transition:border-color .2s,box-shadow .2s}
.fld select:focus,.fld input[type=file]:focus{border-color:var(--accent);box-shadow:0 0 0 4px color-mix(in srgb,var(--accent) 18%,transparent)}
.fld input[type=file]{font-family:inherit;font-size:15px;color:#B7C1CB;background:#05070A;border:1px dashed rgba(236,241,245,.24);border-radius:12px;padding:12px 14px;min-height:48px;outline:none}
.fld input[type=file]::file-selector-button{margin-right:14px;padding:8px 14px;border-radius:999px;border:0;background:#ECF1F5;color:#05070A;font-family:inherit;font-size:14px;font-weight:500;cursor:pointer}
.fhint{color:#7F8B98;font-size:13px;line-height:1.4}
.fhint.err{color:#F1C489}
.check{display:flex;gap:12px;align-items:flex-start;color:#A1ACB8;font-size:14px;line-height:1.5;cursor:pointer}
.check input{flex:none;width:20px;height:20px;margin-top:2px;accent-color:#ECF1F5}
.form-status{grid-column:1 / -1;margin:0;font-size:14px}
.form-status.err{color:#F1C489}
.sent{max-width:760px;margin:0 auto;text-align:center;padding:48px 0}
@media (max-width:760px){.team-form{padding:16px;gap:12px}.team-form .fld textarea{min-height:84px}.team-form .check{font-size:13px}}
.team-form{max-width:860px}
.team-form textarea{min-height:92px}

/* Formulaire « Écrire à l'équipe » : visible d'un bloc sur ordinateur, en deux écrans sur téléphone */
.step{display:contents}
.step-ind,.step-nav,.step-top{display:none}
@media (max-width:760px){
  html:has(#teamForm){scroll-padding-top:70px}
  .team-form[data-etape="1"] .step[data-etape="2"],.team-form[data-etape="2"] .step[data-etape="1"]{display:none}
  .step-ind{display:block;margin:0;color:#7F8B98;font-family:'Geist Mono',monospace;font-size:12px;letter-spacing:.08em;text-transform:uppercase}
  .step-nav{display:block;margin-top:6px}
  .step-nav .btn{width:100%}
  .step-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
  .step-back{white-space:nowrap;min-height:40px;padding:0 4px;border:0;background:transparent;color:#B7C1CB;font-family:inherit;font-size:15px;cursor:pointer}
  .team-form{gap:12px;margin:0 auto}
  .team-form .fld label{font-size:13px}
  .team-form .fld input,.team-form .fld select{min-height:46px}
  .team-form .form-f{flex-direction:column;align-items:stretch;gap:10px}
  .team-form .form-f span{justify-content:center}
}

/* Pages légales (mentions légales, confidentialité) : texte long, défilement normal */
html:has(main.legal){scroll-snap-type:none;scroll-padding-top:80px}
main.legal{padding:clamp(112px,17vh,160px) 0 clamp(56px,9vh,100px)}
.legal-wrap{max-width:820px}
.legal-head{margin-bottom:clamp(32px,5vh,56px)}
.legal-head h1{margin:0 0 16px}
.legal-meta{margin:0 0 18px;color:#7F8B98;font-size:14px}
.legal-note{margin:0;padding:14px 18px;border:1px solid rgba(241,196,137,.35);border-radius:14px;background:rgba(241,196,137,.06);color:#E3C79B;font-size:14px;line-height:1.55}
.legal-s{padding:clamp(20px,3vh,32px) 0;border-top:1px solid var(--line)}
.legal-s h2{margin:0 0 14px;font-size:clamp(19px,1.7vw,22px);font-weight:600;letter-spacing:-.01em}
.legal-s p,.legal-s li{color:#B7C1CB;font-size:16px;line-height:1.7}
.legal-s p{margin:0 0 12px}
.legal-s ul{margin:0 0 6px;padding-left:20px;display:flex;flex-direction:column;gap:8px}
.legal-s a{color:#ECF1F5;text-decoration:underline;text-underline-offset:3px;text-decoration-color:rgba(236,241,245,.35)}
.legal-s a:hover{text-decoration-color:#ECF1F5}
mark.todo{background:rgba(241,196,137,.18);color:#F1C489;padding:1px 6px;border-radius:6px;box-decoration-break:clone;-webkit-box-decoration-break:clone}
@media (max-width:760px){.legal-s p,.legal-s li{font-size:15px}}
