/* Service, project and process sections — shared across TGF pages. */
#metiers{margin:0;border-radius:8px;background:var(--ink);color:#fff;padding-block:96px}
#metiers>.container{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);column-gap:clamp(48px,7vw,112px);row-gap:32px;align-items:start}
#metiers .section-head{grid-column:1;grid-row:1;position:sticky;top:132px;display:block;max-width:510px;margin:0}
#metiers .section-head h2{font-weight:400;text-transform:uppercase;font-size:clamp(34px,3.7vw,58px);line-height:1.06;letter-spacing:-.045em}
#metiers .section-head>p:not(.eyebrow){color:#cfced1;font-size:16px;line-height:1.75;margin-top:30px}
#metiers .eyebrow{color:var(--red)}
#metiers .service-grid{display:grid;grid-column:2;grid-template-columns:minmax(0,1fr);gap:0;min-width:0}
#metiers .service-card,#metiers .activity-card{display:grid;grid-template-columns:150px minmax(0,1fr);gap:26px;background:transparent;border:0;border-bottom:1px solid #68666d;padding:32px 0;min-width:0;overflow:visible;position:relative;color:#fff}
#metiers .service-card:first-child,#metiers .activity-card:first-child{padding-top:0}
#metiers .service-card:last-child,#metiers .activity-card:last-child{border-bottom:0;padding-bottom:0}
#metiers .service-card>img,#metiers .activity-card>img{width:150px;height:170px;object-fit:cover;border-radius:5px;grid-column:1;align-self:start}
#metiers .activity-card{grid-template-columns:170px minmax(0,1fr);gap:30px}
#metiers .activity-card>img{width:170px;height:190px}
#metiers .card-body{display:block;padding:0;min-width:0;grid-column:1 / -1}
#metiers img+.card-body{grid-column:2}
#metiers .card-index{font-size:11px;line-height:1.4;letter-spacing:.08em;color:var(--red);margin-bottom:13px}
#metiers .card-body h3{font-weight:400;text-transform:uppercase;font-size:clamp(24px,2.3vw,34px);line-height:1.12;letter-spacing:-.035em;margin:0 0 17px;overflow-wrap:break-word}
#metiers .card-body p{font-size:14px;line-height:1.75;color:#d0cfd2;margin:0}
#metiers .link-arrow,#metiers .text-link{font-size:12px;font-weight:500;line-height:1.5;border-color:#77747d;color:#fff;margin-top:20px;padding-block:9px;gap:20px;max-width:100%;justify-content:space-between}
#metiers .link-arrow>span,#metiers .text-link>span{color:var(--red);font-size:22px;flex:none}
#metiers .activity-card:hover .link-arrow,#metiers .link-arrow:hover,#metiers .text-link:hover{color:var(--red);border-color:var(--red)}
#metiers .service-note{grid-column:2;font-size:14px;line-height:1.8;color:#d0cfd2;border-top:1px solid #68666d;padding-top:30px;margin:0;min-width:0}
#metiers .service-note h3{font-weight:400;font-size:26px;line-height:1.2;text-transform:uppercase;color:#fff;margin-bottom:18px}
#metiers .service-note .text-link{display:inline-flex;margin-top:14px}

#realisations{background:var(--ink);color:#fff;padding-block:96px;overflow:hidden}
#realisations .section-head,#parcours .section-head{display:block;text-align:center;max-width:920px;margin:0 auto 56px}
#realisations .section-head>div,#parcours .section-head>div{max-width:none}
#realisations .section-head h2,#parcours .section-head h2{max-width:none;font-weight:400;text-transform:uppercase;font-size:clamp(34px,4vw,62px);line-height:1.06;letter-spacing:-.045em}
#realisations .section-head .eyebrow,#parcours .section-head .eyebrow{justify-content:center}
#realisations .section-head>p:not(.eyebrow),#parcours .section-head>p:not(.eyebrow){max-width:650px;margin:25px auto 0;font-size:15px;line-height:1.75}
#realisations .section-head>p:not(.eyebrow){color:#cfced1}
#realisations .section-head>.text-link{margin-top:24px;color:#fff;border-color:#77747d}
#realisations .eyebrow{color:var(--red)}
#realisations .project-track{display:flex;gap:24px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-behavior:smooth;padding:0 0 20px;scrollbar-width:thin;scrollbar-color:#8d8992 transparent;min-width:0}
#realisations .project-track>.project-card{flex:0 0 66%;min-width:0;scroll-snap-align:start;scroll-snap-stop:normal;grid-column:auto}
#realisations .photo-button{border-radius:6px;background:#28262d}
#realisations .project-track .photo-button img{height:440px;width:100%;object-fit:cover}
#realisations .photo-button>span{width:46px;height:46px;background:var(--red);color:var(--ink);right:16px;bottom:16px;border-radius:50%;font-size:25px}
#realisations .project-card figcaption{padding:24px 0 0}
#realisations .project-card figcaption>span{color:var(--red);font-size:11px;letter-spacing:.08em}
#realisations .project-card h3{font-weight:400;text-transform:uppercase;font-size:clamp(24px,2.5vw,36px);line-height:1.15;margin-top:10px;letter-spacing:-.035em}
#realisations .project-card p{font-size:14px;line-height:1.7;color:#cfced1;max-width:620px;margin-top:14px}
#realisations .gallery-controls{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:26px}
#realisations .gallery-controls button{display:grid;place-items:center;width:48px;height:48px;padding:0;border:1px solid #8d8992;border-radius:50%;background:transparent;color:#fff;font-size:25px;line-height:1;transition:background .2s,color .2s,border-color .2s}
#realisations .gallery-controls button:hover:not(:disabled){background:var(--red);border-color:var(--red);color:var(--ink)}
#realisations .gallery-controls button:disabled{opacity:.32;cursor:default}
#realisations .gallery-position{min-width:54px;text-align:center;font-size:12px;color:#cfced1;font-variant-numeric:tabular-nums;letter-spacing:.08em}
#realisations .gallery-controls button:focus-visible,#realisations .project-track:focus-visible{outline:3px solid var(--red);outline-offset:5px}
#realisations .more-projects{border-color:#68666d;margin-top:40px}
#realisations .more-projects>summary{font-size:14px;font-weight:400;padding-block:24px}
#realisations .more-projects>summary span{color:var(--red)}
#realisations .more-projects .project-grid{gap:38px 24px}
#realisations .more-projects .project-card .photo-button img{height:260px}
#realisations .more-projects .project-card h3{font-size:24px}

#parcours{background:#fff;color:var(--ink);padding-block:96px}
#parcours .eyebrow{color:#6f6d73}
#parcours .section-head>p:not(.eyebrow){color:var(--muted)}
#parcours .process-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:start;gap:16px}
#parcours .process-step{display:flex;flex-direction:column;position:relative;min-width:0;min-height:420px;padding:30px 27px;border:0;border-radius:7px;background:var(--ink);color:#fff}
#parcours .process-step:nth-child(2){background:#b8b7ba;color:var(--ink);margin-top:48px}
#parcours .process-step:nth-child(3){background:var(--red);color:var(--ink)}
#parcours .process-step:nth-child(4){background:#ededed;color:var(--ink);margin-top:48px}
#parcours .process-step h3{order:1;font-size:clamp(22px,2vw,29px);font-weight:400;line-height:1.15;letter-spacing:-.035em;text-transform:uppercase;margin:0 0 20px;overflow-wrap:break-word}
#parcours .process-step p{order:2;font-size:14px;line-height:1.7;color:inherit;opacity:.88}
#parcours .step-number{order:3;margin-top:auto;padding-top:42px;font-size:88px;line-height:.85;font-weight:400;letter-spacing:-.075em;color:inherit}

@media(max-width:1100px){
  #metiers>.container{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);column-gap:44px}
  #metiers .service-card,#metiers .activity-card{grid-template-columns:115px minmax(0,1fr);gap:22px}
  #metiers .service-card>img,#metiers .activity-card>img{width:115px;height:145px}
  #metiers .card-body h3{font-size:25px}
  #parcours .process-step{padding:26px 22px;min-height:445px}
  #realisations .project-track .photo-button img{height:390px}
}
@media(max-width:900px){
  #metiers>.container{grid-template-columns:minmax(0,1fr);row-gap:40px}
  #metiers .section-head{position:static;grid-column:1;grid-row:auto;max-width:650px}
  #metiers .service-grid,#metiers .service-note{grid-column:1}
  #metiers .service-card,#metiers .activity-card{grid-template-columns:170px minmax(0,1fr);gap:28px}
  #metiers .service-card>img,#metiers .activity-card>img{width:170px;height:170px}
  #metiers .card-body h3{font-size:30px}
  #parcours .process-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
  #parcours .process-step{min-height:350px;padding:28px}
  #parcours .process-step:nth-child(2),#parcours .process-step:nth-child(4){margin-top:0}
  #realisations .project-track>.project-card{flex-basis:80%}
  #realisations .project-track .photo-button img{height:360px}
}
@media(max-width:600px){
  #metiers{margin:0;padding-block:64px}
  #metiers>.container{width:calc(100% - 36px);row-gap:32px}
  #metiers .section-head h2,#realisations .section-head h2,#parcours .section-head h2{font-size:clamp(30px,8.3vw,43px)}
  #metiers .section-head>p:not(.eyebrow){font-size:15px;margin-top:23px}
  #metiers .activity-card,#metiers .service-card{grid-template-columns:88px minmax(0,1fr);gap:0 18px;padding-block:28px}
  #metiers .activity-card>img,#metiers .service-card>img{width:88px;height:96px;grid-column:1;grid-row:1 / span 2;margin-bottom:20px}
  #metiers .card-body{display:contents}
  #metiers .card-index{grid-column:1 / -1;font-size:10px;line-height:1.4;margin:0 0 11px}
  #metiers .card-body h3{grid-column:1 / -1;font-size:24px;line-height:1.12;margin-bottom:18px}
  #metiers img+.card-body .card-index,#metiers img+.card-body h3{grid-column:2}
  #metiers .card-body p{grid-column:1 / -1;font-size:14px}
  #metiers .card-body .link-arrow,#metiers .card-body .text-link{grid-column:1 / -1;justify-self:start;margin-top:18px;min-width:160px}
  #metiers .service-note{font-size:14px;padding-top:25px}
  #metiers .service-note h3{font-size:24px}
  #realisations,#parcours{padding-block:64px}
  #realisations .section-head,#parcours .section-head{margin-bottom:36px}
  #realisations .section-head>p:not(.eyebrow),#parcours .section-head>p:not(.eyebrow){font-size:14px}
  #realisations .project-track{gap:14px;padding-bottom:18px}
  #realisations .project-track>.project-card{flex-basis:91%}
  #realisations .project-track .photo-button img{height:300px}
  #realisations .project-card h3{font-size:26px}
  #realisations .project-card p{font-size:13px}
  #realisations .project-card figcaption{padding-top:20px}
  #realisations .gallery-controls{margin-top:23px}
  #realisations .more-projects .project-grid{grid-template-columns:minmax(0,1fr)}
  #parcours .process-grid{grid-template-columns:minmax(0,1fr);gap:12px}
  #parcours .process-step{min-height:320px;padding:28px}
  #parcours .process-step h3{font-size:27px;max-width:300px}
  #parcours .step-number{font-size:78px;padding-top:32px}
}
@media(prefers-reduced-motion:reduce){#realisations .project-track{scroll-behavior:auto}}
