/* Unifroid — photographie de terrain, compositions éditoriales et mouvement. */
:root {
  --signature-ink: #101f2a;
  --signature-blue: #83c9e9;
  --signature-paper: #ffffff;
  --signature-white: #fff;
  --signature-night: #10162d;
  --signature-sky: #6fc4eb;
  --signature-sky-strong: #5ab9e7;
  --signature-mint: #b6e2d1;
  --signature-charcoal: #172e39;
  --signature-muted: #66869a;
  --signature-grid: #3c545b;
  --signature-panel: #dfe7e8;
  --signature-line: #c5c9c5;
  --signature-white-a88: rgba(255, 255, 255, .88);
  --signature-white-a60: rgba(255, 255, 255, .6);
  --signature-white-a22: rgba(255, 255, 255, .22);
  --signature-ice-a65: rgba(212, 229, 239, .65);
  --signature-steel-a20: rgba(151, 184, 204, .2);
  --signature-steel-a15: rgba(151, 184, 204, .15);
  --signature-steel-a12: rgba(151, 184, 204, .12);
  --signature-cyan: #58b9e6;
  --signature-ink-deep: #102932;
  --font-signature: 'DM Sans', 'Poppins', sans-serif;
}

/* ═══════════════════════════════════════════════════════════════
   VERSION MOBILE DÉDIÉE — composition courte, tactile et directe
   ═══════════════════════════════════════════════════════════════ */
.mobile-expertises,
.mobile-projects-all,
.mobile-project-gallery,
.mobile-contact-bar {
  display: none;
}

@media (max-width: 768px) {
  :root {
    --mobile-gutter: 20px;
    --mobile-bar: 62px;
  }

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

  body {
    padding-bottom: calc(var(--mobile-bar) + env(safe-area-inset-bottom));
  }

  .col {
    width: calc(100% - (var(--mobile-gutter) * 2));
  }

  .bloc {
    padding-block: 64px;
  }

  .section-titre {
    font-size: clamp(35px, 11vw, 48px);
    line-height: .98;
  }

  /* Navigation compacte */
  .site-header,
  .site-header.is-scrolled {
    height: 68px;
  }

  .site-nav {
    padding-inline: var(--mobile-gutter);
  }

  .site-logo,
  .site-header.is-scrolled .site-logo {
    width: 144px;
  }

  .site-nav .nav-project,
  .site-nav .nav-phone {
    display: none;
  }

  #burger {
    width: 42px;
    height: 42px;
    border-radius: 0;
    box-shadow: none;
  }

  #menu-overlay {
    padding: 92px var(--mobile-gutter) 26px;
  }

  .menu-cols {
    display: block;
  }

  .menu-main a {
    min-height: 45px;
    font-size: clamp(25px, 8vw, 34px);
  }

  .menu-side {
    display: none;
  }

  .menu-call {
    width: 100%;
    border-radius: 0;
  }

  .menu-foot {
    margin-top: 24px;
  }

  /* Hero : un seul écran, 70–80svh, message volontairement bref */
  .opening-scene {
    height: min(78svh, 720px) !important;
    min-height: 570px;
  }

  #intro .opening-stage {
    position: relative !important;
    height: 100% !important;
    min-height: 0 !important;
  }

  .opening-curtain,
  .hero-project-note,
  .hero-coordinate,
  .hero-baseline>span:first-child {
    display: none !important;
  }

  .opening-media {
    inset: 0;
  }

  .opening-media::after {
    background: linear-gradient(180deg, rgba(8, 18, 38, .32), rgba(7, 18, 38, .78));
  }

  .hero-content {
    inset: auto var(--mobile-gutter) 92px !important;
    width: auto;
    padding: 0 !important;
  }

  .hero-eyebrow {
    margin-bottom: 18px;
    font-size: 9px;
    letter-spacing: .14em;
  }

  #hero-title {
    max-width: 335px;
    font-size: clamp(40px, 12vw, 58px);
    line-height: .94;
  }

  #hero-title .hero-line:nth-child(3),
  #hero-title .hero-line:nth-child(4) {
    display: none;
  }

  .hero-bottom-copy {
    margin-top: 20px;
  }

  .hero-bottom-copy>p:last-of-type {
    display: none;
  }

  .hero-bottom-copy>p:first-of-type {
    max-width: 310px;
    font-size: 13px;
    line-height: 1.55;
  }

  .hero-bottom-copy>p:first-of-type {
    font-size: 0;
  }

  .hero-bottom-copy>p:first-of-type::after {
    content: "Depuis 2012, plus de dix ans de savoir-faire au service des professionnels de la restauration.";
    font-size: 13px;
  }

  .hero-baseline {
    left: var(--mobile-gutter);
    right: var(--mobile-gutter);
    bottom: 23px;
    grid-template-columns: 1fr auto;
  }

  .hero-baseline a {
    grid-column: 2;
    font-size: 8px;
  }

  .hero-baseline>span:last-child {
    display: block;
    grid-column: 1;
    grid-row: 1;
    font-size: 9px;
  }

  /* Présentation : un récit bref, puis les quatre repères en 2 × 2 */
  .apropos {
    padding: 62px 0 0;
  }

  .ap-story {
    display: block;
  }

  .ap-aside {
    position: static;
  }

  .ap-aside .ap-photo,
  .ap-signature,
  .ap-reading .ap-chapter:not(:first-child),
  .ap-conclusion,
  .ap-values {
    display: none;
  }

  .ap-reading {
    margin-top: 30px;
  }

  .ap-reading .ap-chapter {
    padding: 0;
    border: 0;
  }

  .ap-reading .ap-chapter-heading span {
    display: none;
  }

  .ap-reading .ap-chapter-heading h3 {
    font-size: 25px;
  }

  .ap-reading .ap-chapter p {
    font-size: 14px;
    line-height: 1.7;
  }

  .ap-reading .ap-chapter p:nth-of-type(2) {
    display: none;
  }

  .ap-highlights {
    margin-top: 48px;
    padding: 0;
    background: var(--blue-night);
  }

  .ap-highlights .col {
    width: 100%;
  }

  .ap-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .ap-stat {
    min-height: 128px;
    padding: 24px 20px;
    border: 0;
    border-right: 1px solid rgba(255, 255, 255, .16);
    border-bottom: 1px solid rgba(255, 255, 255, .16);
  }

  .ap-stat:nth-child(even) {
    border-right: 0;
  }

  .ap-stat:nth-child(n+3) {
    border-bottom: 0;
  }

  .ap-stat b {
    font-size: clamp(29px, 9vw, 42px);
  }

  .ap-stat span {
    max-width: 120px;
    font-size: 9px;
    line-height: 1.45;
  }

  /* Sections secondaires desktop : leurs informations utiles sont reprises
     dans les expertises, la méthode et les secteurs ci-dessous. */
  #partenaires,
  #bureau-etudes,
  #precision {
    display: none !important;
  }

  #normes {
    padding: 56px 0;
  }

  /* Une seule colonne : le titre ne doit plus rester fixé sous la liste qui défile. */
  #normes .nm-layout {
    display: block;
  }

  #normes .nm-heading {
    position: relative;
    top: auto;
  }

  #normes .nm-dial, #normes .nm-footer {
    display: none;
  }

  #normes .nm-grid {
    margin-top: 28px;
  }

  /* Garder la marge gauche : le numéro est positionné en absolu dans cette colonne. */
  #normes .nm-row {
    min-height: 0;
    padding: 18px 0 18px 40px;
  }

  #normes .nm-number {
    top: 26px;
  }

  #normes .nm-row p {
    font-size: 12px;
    line-height: 1.55;
  }

  /* Projets : une fiche par ligne et une galerie native à swiper */
  #projets {
    padding: 64px 0;
  }

  .clients-heading {
    display: block;
    margin-bottom: 34px;
  }

  .clients-heading>p {
    margin-top: 16px;
    font-size: 13px;
    line-height: 1.6;
  }

  .clients-grid {
    display: block;
  }

  .client-card {
    margin-bottom: 42px;
  }

  .client-card:nth-child(n+4) {
    display: none;
  }

  .client-card[data-client-gallery] .client-main,
  .client-card[data-client-gallery] .client-thumbnails {
    display: none;
  }

  .mobile-project-gallery {
    position: relative;
    display: block;
  }

  .mobile-project-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
  }

  .mobile-project-track::-webkit-scrollbar {
    display: none;
  }

  /* Focus clavier visible à l'intérieur de la galerie (le cadre parent masque le débord). */
  .mobile-project-track:focus-visible {
    outline-offset: -3px;
  }

  .mobile-project-slide {
    flex: 0 0 100%;
    height: min(69vw, 310px);
    margin: 0;
    scroll-snap-align: start;
    background: #dce3e9;
  }

  .mobile-project-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .mobile-project-status {
    position: absolute;
    right: 12px;
    bottom: 12px;
    margin: 0;
    padding: 7px 10px;
    background: rgba(7, 18, 38, .76);
    color: #fff;
    font-size: 9px;
    letter-spacing: .12em;
  }

  .client-caption {
    padding-top: 14px;
  }

  .client-caption h3 {
    font-size: 21px;
  }

  .clients-contact {
    display: none;
  }

  .mobile-projects-all {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 54px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    color: var(--blue-night);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
  }

  /* Expertises en accordéon, une seule ouverte à la fois */
  #expertises {
    padding: 0;
    background: var(--blue-night);
  }

  .mobile-expertises {
    display: block;
    padding: 64px 0 46px;
    color: #fff;
  }

  .mobile-section-heading {
    margin-bottom: 30px;
  }

  .mobile-section-heading .section-kicker {
    color: #73c4e8;
  }

  .mobile-section-heading .section-titre {
    color: #fff;
  }

  .mobile-expertise {
    border-top: 1px solid rgba(255, 255, 255, .18);
  }

  .mobile-expertise:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, .18);
  }

  .mobile-expertise summary {
    display: grid;
    grid-template-columns: 36px 1fr 24px;
    align-items: center;
    min-height: 66px;
    cursor: pointer;
    list-style: none;
  }

  .mobile-expertise summary::-webkit-details-marker {
    display: none;
  }

  .mobile-expertise summary span {
    color: #73c4e8;
    font-size: 10px;
  }

  .mobile-expertise summary strong {
    font-family: var(--font-display);
    font-size: 23px;
    font-weight: 300;
  }

  .mobile-expertise summary i {
    position: relative;
    width: 16px;
    height: 16px;
  }

  .mobile-expertise summary i::before,
  .mobile-expertise summary i::after {
    content: "";
    position: absolute;
    top: 7px;
    left: 1px;
    width: 14px;
    height: 1px;
    background: #fff;
    transition: transform .25s ease;
  }

  .mobile-expertise summary i::after {
    transform: rotate(90deg);
  }

  .mobile-expertise[open] summary i::after {
    transform: rotate(0);
  }

  .mobile-expertise-panel {
    padding: 0 0 26px 36px;
  }

  .mobile-expertise-panel img {
    width: 100%;
    height: 164px;
    object-fit: cover;
    filter: saturate(.82);
  }

  .mobile-expertise-panel p {
    margin: 17px 0 15px;
    color: rgba(255, 255, 255, .78);
    font-size: 13px;
    line-height: 1.6;
  }

  .mobile-expertise-panel ul {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
  }

  .mobile-expertise-panel li {
    padding: 7px 9px;
    border: 1px solid rgba(255, 255, 255, .24);
    font-size: 8px;
    letter-spacing: .1em;
    text-transform: uppercase;
  }

  /* Méthode : progression verticale simple, sans sticky */
  #expertises #process.process-chapter {
    padding: 54px 0 64px;
  }

  #expertises #process .process-heading {
    display: block;
    margin-bottom: 28px;
  }

  #expertises #process .process-heading>p:last-child {
    margin-top: 15px;
    font-size: 13px;
  }

  #expertises #process .process-visual,
  #expertises #process .process-rail {
    display: none !important;
  }

  #expertises #process .listeprocess {
    display: block;
  }

  #expertises #process .process-step {
    min-height: 0;
    margin: 0 0 18px;
    padding: 0 0 28px 34px;
    border-left: 1px solid rgba(255, 255, 255, .2);
    border-bottom: 1px solid rgba(255, 255, 255, .14);
  }

  #expertises #process .process-step-mobile-image {
    display: block;
    height: auto;
    aspect-ratio: 1.55;
    margin: 0 0 20px;
  }

  #expertises #process .proc-top {
    position: absolute;
    left: -12px;
    top: 0;
    width: 23px;
    height: 23px;
    display: grid;
    place-items: center;
    background: var(--blue-night);
    border: 1px solid #73c4e8;
  }

  #expertises #process .proc-index {
    font-size: 8px;
  }

  #expertises #process .proc-step {
    font-size: 9px;
  }

  #expertises #process .proc-titre {
    font-size: 24px;
  }

  #expertises #process .proc-desc {
    font-size: 13px;
    line-height: 1.6;
  }

  #expertises #process .process-conclusion {
    margin-top: 18px;
    padding-top: 22px;
  }

  /* Secteurs : 85 % + amorce de la carte suivante */
  .bloc.secteurs {
    padding: 64px 0;
  }

  .secteurs-watermark,
  .secteurs-intro .liensousgal {
    display: none;
  }

  .secteurs-head {
    display: block;
    margin-bottom: 30px;
  }

  .secteurs-intro {
    margin-top: 16px;
  }

  .secteurs-intro p {
    font-size: 13px;
    line-height: 1.6;
  }

  .secteurs-grid {
    width: calc(100% + var(--mobile-gutter));
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
  }

  .secteurs-grid::-webkit-scrollbar {
    display: none;
  }

  .secteurs-grid .secteur-card {
    flex: 0 0 85%;
    min-height: 390px;
    scroll-snap-align: start;
  }

  .secteur-link {
    min-height: 390px;
  }

  .secteur-card p {
    max-width: 260px;
    font-size: 12px;
  }

  /* SAV condensé */
  #sav {
    padding: 64px 0;
  }

  #sav .section-head {
    margin-bottom: 26px;
  }

  #sav .galerie-inner {
    display: block;
  }

  #sav .gde {
    height: 220px;
  }

  #sav .pet {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 16px;
    margin-top: 20px;
  }

  #sav .pet button {
    min-height: 50px;
  }

  #sav .pet i {
    display: block;
    aspect-ratio: 4 / 3;
  }

  #sav .liensousgal {
    margin-top: 24px;
  }

  /* Contact + localisation */
  #contact {
    padding: 64px 0;
  }

  .contact-inner {
    display: block;
  }

  .contact-lead {
    font-size: 15px;
    line-height: 1.65;
  }

  .contact-form {
    margin-top: 42px;
  }

  .contact-form .cf-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-coords li {
    padding: 15px 0;
  }

  .contact-coords a, .contact-coords em {
    font-size: 13px;
  }

  /* Footer réduit, localisation lisible et carte tactile */
  #bas {
    padding-bottom: 24px;
  }

  .footer-cta,
  .basint {
    display: none;
  }

  .footer-practical {
    padding-top: 44px;
  }

  .footer-practical-head p strong::before {
    content: "UNIFROID · Montpellier\A";
    white-space: pre;
    color: #73c4e8;
    font-size: 11px;
    letter-spacing: .12em;
  }

  .footer-practical-head>a {
    align-self: flex-end;
  }

  .footer-practical-hours dl {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 0 clamp(24px, 3vw, 46px);
    margin: 10px 0 0;
  }

  .footer-practical-map iframe {
    height: 300px;
  }

  .mentions {
    display: block;
    padding: 24px var(--mobile-gutter) 0;
    text-align: left;
  }

  .mentions p {
    margin: 7px 0;
    font-size: 9px;
    line-height: 1.6;
  }

  /* Contact permanent, safe-area iPhone incluse */
  .mobile-contact-bar {
    position: fixed;
    z-index: 150;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: calc(var(--mobile-bar) + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    background: linear-gradient(90deg, #0878b9 0 34%, #f47a3a 34% 67%, #65a851 67%) top/100% 2px no-repeat, #fff;
    box-shadow: 0 -8px 24px rgba(7, 18, 38, .12);
  }

  .mobile-contact-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding-top: 2px;
    color: var(--blue-night);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .055em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
  }

  .mobile-contact-bar a:is(:hover, :focus, :active, :visited) {
    text-decoration: none;
  }

  .mobile-contact-bar svg {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .mobile-contact-bar a+a {
    background: var(--blue-night);
    color: #fff;
  }
}

/* À propos — narration mobile dédiée. */
.mobile-about { display: none; }
.mobile-sector-hint { display: none; }

@media (max-width: 768px) {
  .apropos { padding-top: 0; }
  .apropos .ap-editorial { display: none !important; }
  .mobile-about {
    display: block;
    padding-block: 58px 52px;
  }
  .mobile-about-heading { margin-bottom: 30px; }
  .mobile-about-heading .section-kicker {
    margin-bottom: 13px;
    color: var(--blue-deep);
  }
  .mobile-about-heading .section-titre {
    max-width: 330px;
    color: var(--blue-night);
    font-size: clamp(42px, 12vw, 56px);
    line-height: .92;
    letter-spacing: -.035em;
  }
  .mobile-about-visual {
    position: relative;
    margin: 0;
    overflow: hidden;
    background: #dce3e9;
  }
  .mobile-about-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 58%, rgba(7, 18, 43, .72));
    pointer-events: none;
  }
  .mobile-about-visual img {
    width: 100%;
    height: clamp(245px, 72vw, 330px);
    display: block;
    object-fit: cover;
    filter: saturate(.88) contrast(1.03);
  }
  .mobile-about-visual figcaption {
    position: absolute;
    z-index: 1;
    right: 16px;
    bottom: 14px;
    left: 16px;
    display: flex;
    justify-content: space-between;
    color: #fff;
    font-size: 8px;
    font-style: normal;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
  }
  .mobile-about-copy {
    position: relative;
    padding: 30px 0 0 20px;
    border-left: 1px solid rgba(8, 120, 185, .28);
  }
  .mobile-about-copy::before {
    content: "";
    position: absolute;
    top: 0;
    left: -1px;
    width: 2px;
    height: 44px;
    background: var(--blue-deep);
  }
  .mobile-about-label {
    margin: 0 0 15px;
    color: var(--blue-deep);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
  }
  .mobile-about-copy h3 {
    max-width: 330px;
    margin: 0;
    color: var(--blue-night);
    font-family: var(--font-display);
    font-size: clamp(27px, 8.2vw, 36px);
    font-weight: 300;
    line-height: 1.08;
    letter-spacing: -.025em;
  }
  .mobile-about-copy > p:not(.mobile-about-label) {
    max-width: 35ch;
    margin: 20px 0 0;
    color: #576174;
    font-size: 14px;
    line-height: 1.7;
  }
  .mobile-about-more {
    margin-top: 25px;
    border-top: 1px solid rgba(16, 22, 45, .16);
    border-bottom: 1px solid rgba(16, 22, 45, .16);
  }
  .mobile-about-more summary {
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--blue-night);
    cursor: pointer;
    list-style: none;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
  }
  .mobile-about-more summary::-webkit-details-marker { display: none; }
  .mobile-about-more summary span {
    color: var(--blue-deep);
    font-size: 20px;
    font-weight: 300;
    transition: transform .25s ease;
  }
  .mobile-about-more[open] summary span { transform: rotate(45deg); }
  .mobile-about-more > p {
    margin: 0;
    padding: 0 30px 22px 0;
    color: #576174;
    font-size: 13px;
    line-height: 1.65;
  }
  .apropos .ap-highlights { margin-top: 0; }
}

/* Secteurs — carrousel éditorial mobile. */
@media (max-width: 768px) {
  #secteurs.bloc.secteurs {
    position: relative;
    padding: 62px 0 68px;
    overflow: hidden;
    background:
      linear-gradient(rgba(111, 196, 235, .055) 1px, transparent 1px),
      linear-gradient(90deg, rgba(111, 196, 235, .055) 1px, transparent 1px),
      var(--blue-night);
    background-size: 44px 44px;
  }
  #secteurs > .col {
    width: calc(100% - 40px);
    max-width: none;
    margin-inline: 20px;
  }
  #secteurs .secteurs-head {
    display: block;
    margin: 0 0 26px;
  }
  #secteurs .secteurs-heading,
  #secteurs .secteurs-intro {
    width: 100%;
    max-width: none;
  }
  #secteurs .secteurs-heading .section-kicker {
    margin-bottom: 12px;
    color: var(--signature-sky);
  }
  #secteurs .secteurs-heading .section-titre {
    max-width: 340px;
    color: #fff;
    font-size: clamp(39px, 11vw, 52px);
    line-height: .95;
    letter-spacing: -.035em;
  }
  #secteurs .secteurs-intro {
    margin-top: 18px;
  }
  #secteurs .secteurs-intro p {
    max-width: 35ch;
    margin: 0;
    color: rgba(255, 255, 255, .66);
    font-size: 13px;
    line-height: 1.65;
  }
  #secteurs .secteurs-intro .liensousgal,
  #secteurs .secteurs-watermark { display: none !important; }
  .mobile-sector-hint {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 13px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, .17);
    color: rgba(255, 255, 255, .54);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
  }
  .mobile-sector-hint span:last-child { color: var(--signature-sky); }
  .mobile-sector-hint i {
    display: inline-block;
    margin-left: 7px;
    color: #fff;
    font-size: 13px;
    font-style: normal;
  }
  #secteurs .secteurs-grid {
    width: calc(100% + 20px);
    display: flex !important;
    gap: 12px;
    margin: 0;
    padding: 0 20px 8px 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-padding-left: 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  #secteurs .secteurs-grid::-webkit-scrollbar { display: none; }
  #secteurs .secteurs-grid .secteur-card {
    flex: 0 0 min(84%, 340px) !important;
    width: min(84%, 340px) !important;
    min-height: 405px;
    opacity: 1;
    filter: none;
    scroll-snap-align: start;
    transform: none;
  }
  #secteurs .secteur-link {
    min-height: 405px;
    border: 1px solid rgba(255, 255, 255, .18);
    background: #15203b;
  }
  #secteurs .secteur-link::before {
    inset: 0;
    border: 0;
  }
  #secteurs .secteur-image {
    filter: saturate(.78) contrast(1.04);
    transform: none;
  }
  #secteurs .secteur-shade {
    background: linear-gradient(180deg, rgba(7, 18, 43, .05) 22%, rgba(7, 18, 43, .94) 85%);
  }
  #secteurs .secteur-content {
    justify-content: space-between;
    padding: 18px;
  }
  #secteurs .secteur-meta {
    align-items: center;
  }
  #secteurs .secteur-meta em {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(var(--sector-accent-rgb), .72);
    color: #fff;
    font-size: 9px;
    font-style: normal;
  }
  #secteurs .secteur-meta span {
    color: rgba(255, 255, 255, .66);
    font-size: 8px;
    letter-spacing: .13em;
  }
  #secteurs .secteur-copy {
    transform: none;
  }
  #secteurs .secteur-card h3,
  #secteurs .secteur-card:nth-child(2) h3,
  #secteurs .secteur-card:nth-child(3) h3 {
    max-width: 285px;
    margin-bottom: 10px;
    color: #fff;
    font-size: clamp(23px, 6.9vw, 30px);
    line-height: 1.02;
  }
  #secteurs .secteur-card p {
    max-width: 30ch;
    margin: 0;
    color: rgba(255, 255, 255, .7);
    font-size: 12px;
    line-height: 1.55;
  }
  #secteurs .secteur-arrow {
    right: 18px;
    bottom: 18px;
    display: none;
    transform: none;
  }
}

@media (max-width: 360px) {
  #secteurs > .col { width: calc(100% - 32px); margin-inline: 16px; }
  #secteurs .secteurs-grid { width: calc(100% + 16px); padding-right: 16px; }
  #secteurs .secteurs-grid .secteur-card {
    flex-basis: 87% !important;
    width: 87% !important;
    min-height: 380px;
  }
  #secteurs .secteur-link { min-height: 380px; }
}

@media (max-width: 768px) and (prefers-reduced-motion: reduce) {

  .mobile-expertise-panel,
  .mobile-project-track,
  .secteurs-grid {
    scroll-behavior: auto;
  }
}

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

body {
  overflow-x: clip;
}

#page {
  overflow: visible;
}

.site-header, .site-header.is-scrolled {
  height: 86px;
  box-shadow: none;
  border-bottom: 1px solid rgba(16, 31, 42, .16);
  animation: none;
}

.site-header.at-hero {
  background: transparent;
  border-bottom-color: rgba(255, 255, 255, .23);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.site-nav {
  max-width: none;
  padding-inline: 3.4vw;
  grid-template-columns: 190px 1fr auto;
  gap: 30px;
}

.site-logo, .site-header.is-scrolled .site-logo {
  width: 180px;
  opacity: 1;
  position: relative;
}

.site-logo-img {
  display: block;
  width: 100%;
  height: auto;
}

.site-logo-img--white {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .3s ease;
}

.site-header.at-hero .site-logo-img--white {
  opacity: 1;
}

/* Le logo blanc ne peut apparaître qu'entre 769 et 959 px (au-dessus du film ; la scène
   est masquée sur mobile et navbar.css le garde transparent dès 960 px). Masqué ailleurs,
   il n'est pas téléchargé grâce à son chargement différé. */
@media (max-width: 768px), (min-width: 960px) {
  .site-logo-img--white {
    display: none;
  }
}

.site-nav-links {
  justify-content: center;
  gap: clamp(16px, 2vw, 34px);
}

.site-nav-links li {
  animation: none;
  opacity: 1;
  transform: none;
}

.site-nav-links a {
  font-family: var(--font-signature);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
}

.site-nav-links a::after {
  background: currentColor;
  height: 1px;
  bottom: -8px;
}

.site-header.at-hero .site-nav-links a {
  color: var(--signature-white);
}

.site-nav-actions {
  gap: 12px;
}

.nav-project {
  position: relative;
  width: clamp(292px, 20.3vw, 300px);
  height: 58px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 52px;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(131, 201, 233, .32);
  border-radius: 4px;
  background: var(--signature-night);
  color: var(--signature-white);
  box-shadow: 0 8px 20px rgba(16, 22, 45, .16);
  text-decoration: none;
  transform: translateY(0);
  transition: transform .3s var(--ease), border-color .3s ease, box-shadow .3s ease, opacity .3s ease, visibility .3s ease;
}

.site-header.on-contact .nav-project {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.nav-project-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 0 13px;
  line-height: 1;
}

.nav-project-copy strong {
  overflow: hidden;
  color: var(--signature-white);
  font-family: var(--font-signature);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -.01em;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.nav-project-copy small {
  overflow: hidden;
  color: rgba(212, 229, 239, .72);
  font-family: var(--font-signature);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .105em;
  line-height: 1.15;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-project-action {
  position: relative;
  width: 68px;
  align-self: stretch;
  justify-self: end;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding-left: 10px;
  background: var(--signature-sky-strong);
  clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 100%);
  color: var(--signature-white);
  transition: background-color .3s ease;
}

/* .nav-project-action::before {
  content: "";
  position: absolute;
  top: 0;
  left: 16px;
  width: 10px;
  height: 10px;
  background: var(--signature-blue);
  clip-path: polygon(0 0, 100% 0, 0 100%);
} */

.nav-project-action i {
  font-style: normal;
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  transition: transform .3s var(--ease);
}

.site-header.at-hero .nav-project {
  background: var(--signature-night);
  color: var(--signature-white);
}

.nav-project:hover {
  border-color: var(--signature-cyan);
  background: var(--signature-night);
  box-shadow: 0 11px 25px rgba(39, 132, 174, .2);
  transform: translateY(-1px);
}

.nav-project:hover .nav-project-action {
  background: var(--signature-sky);
}

.nav-project:hover .nav-project-action i {
  transform: translateX(5px);
}

.nav-project:focus-visible {
  outline: 2px solid var(--signature-cyan);
  outline-offset: 4px;
}

/* Balayage diagonal au survol — le visuel au repos reste inchangé. */
@media (hover: hover) and (pointer: fine) {
  .nav-project::after {
    content: "";
    position: absolute;
    z-index: 0;
    top: 0;
    right: 0;
    width: 142%;
    height: 490%;
    background: var(--signature-sky);
    transform: translateX(105%) translateY(-25%) rotate(-45deg);
    transition: transform .52s var(--ease);
    pointer-events: none;
  }
  .nav-project > * {
    position: relative;
    z-index: 1;
  }
  .nav-project:hover::after {
    transform: translateX(10%) translateY(-25%) rotate(-45deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-project::after { display: none; }
}

/* CTA principal des formulaires — déclinaison sombre du système UNIFROID. */
.cf-required-note {
  margin: -10px 0 24px;
  color: var(--slate);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.cf-required-note span,
.cf-field:has(:required) > span::after {
  color: var(--orange-hot);
}

.cf-field:has(:required) > span::after {
  content: " *";
  font-weight: 700;
}

.cf-submit,
.contact-dialog-form .cf-submit {
  position: relative;
  width: min(100%, 330px);
  height: 64px;
  min-height: 64px;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) 58px;
  align-items: center;
  gap: 0;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(131, 201, 233, .28);
  border-radius: 4px;
  background: var(--signature-paper);
  color: var(--signature-ink);
  box-shadow: 0 5px 16px rgba(16, 31, 42, .07);
  font-family: var(--font-signature);
  letter-spacing: 0;
  text-align: left;
  text-transform: none;
  transform: translateY(0);
  transition: transform .3s var(--ease), border-color .3s ease, box-shadow .3s ease;
}

.cf-submit-symbol {
  width: 100%;
  height: 40px;
  display: grid;
  place-items: center;
  border-right: 1px solid rgba(102, 134, 154, .2);
}

.cf-submit-symbol img {
  width: 34px;
  height: 39px;
  object-fit: contain;
  transition: transform .3s var(--ease);
}

.cf-submit-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0 16px;
}

.cf-submit-copy strong {
  overflow: hidden;
  color: var(--signature-ink);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.cf-submit-copy small {
  overflow: hidden;
  color: var(--signature-muted);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .14em;
  line-height: 1.15;
  text-transform: uppercase;
  white-space: nowrap;
}

.cf-submit-action {
  position: relative;
  width: 74px;
  align-self: stretch;
  justify-self: end;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding-left: 10px;
  background: var(--orange-hot);
  clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
  color: var(--signature-white);
  transition: background-color .3s ease;
}

/* 
.cf-submit-action::before {
  content: "";
  position: absolute;
  top: 0;
  left: 16px;
  width: 10px;
  height: 10px;
  background: var(--signature-blue);
  clip-path: polygon(0 0, 100% 0, 0 100%);
} */

.cf-submit .cf-submit-action i {
  font-size: 23px;
  font-style: normal;
  font-weight: 300;
  line-height: 1;
  transition: transform .3s var(--ease);
}

.cf-submit:hover,
.contact-dialog-form .cf-submit:hover {
  border-color: var(--orange-hot);
  box-shadow: 0 8px 20px rgba(39, 132, 174, .14);
  transform: translateY(-1px);
  background:
    var(--signature-paper);
}

.cf-submit:hover .cf-submit-symbol img {
  transform: scale(1.03);
}

.cf-submit:hover .cf-submit-action {
  background: var(--orange-light);
}

.cf-submit:hover .cf-submit-action i {
  transform: translateX(5px);
}

.cf-submit:focus-visible {
  outline: 2px solid var(--signature-cyan);
  outline-offset: 4px;
}

/* Le panneau orange de droite se prolonge vers la gauche au survol. */
@media (hover: hover) and (pointer: fine) {
  .cf-submit::after {
    content: "";
    position: absolute;
    z-index: 0;
    top: 0;
    right: 0;
    width: 142%;
    height: 490%;
    background: linear-gradient(294deg, #ff8b5b 46%, rgb(255 255 255) 70%);
    transform: translateX(105%) translateY(-25%) rotate(-45deg);
    transition: transform .52s var(--ease);
    pointer-events: none;
  }
  .cf-submit > * {
    position: relative;
    z-index: 1;
  }
  .cf-submit:hover::after {
    transform: translateX(10%) translateY(-25%) rotate(-45deg);
  }
  .cf-submit-copy strong,
  .cf-submit-copy small,
  .cf-submit-symbol {
    transition: color .3s ease, border-color .3s ease;
  }
  .cf-submit:hover .cf-submit-copy strong,
  .cf-submit:hover .cf-submit-copy small { color: var(--signature-white); }
  .cf-submit:hover .cf-submit-symbol {
    border-color: var(--white-a22);
    color: var(--signature-white);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cf-submit::after { display: none; }
}

/* Bouton "appel" — cellule hexagonale plein cadre + numéro + flèche. */
.site-header .nav-phone {
  position: relative;
  width: clamp(224px, 15.5vw, 250px);
  height: 58px;
  min-height: 58px;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) 42px;
  align-items: stretch;
  gap: 0;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(210, 222, 233, .6);
  border-radius: 18px;
  background: var(--signature-paper);
  color: var(--signature-ink);
  box-shadow: 0 10px 24px rgba(16, 31, 42, .1);
  text-decoration: none;
  transform: translateY(0);
  transition: transform .3s var(--ease), border-color .3s ease, box-shadow .3s ease;
  animation: none;
}

.site-header .nav-phone-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  padding: 0 6px 0 14px;
  line-height: 1;
}

.site-header .nav-phone-copy strong {
  overflow: hidden;
  color: var(--signature-ink);
  font-family: var(--font-signature);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -.01em;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.site-header .nav-phone-copy small {
  display: block;
  overflow: hidden;
  color: var(--signature-muted);
  font-family: var(--font-signature);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
}

.site-header .nav-phone-icon, .site-header.is-scrolled .nav-phone-icon {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: var(--signature-night);
  clip-path: polygon(0 0, 70% 0, 100% 50%, 70% 100%, 0 100%);
  color: var(--signature-white);
  box-shadow: none;
  transition: background-color .3s ease;
}

.site-header.at-hero .nav-phone-icon {
  color: var(--signature-white);
}

.site-header .nav-phone-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--signature-white);
  stroke: none;
}

.site-header.at-hero .nav-phone {
  background: var(--signature-paper);
  color: var(--signature-ink);
}

.site-header .nav-phone:hover {
  border-color: var(--signature-cyan);
  box-shadow: 0 14px 28px rgba(39, 132, 174, .16);
  transform: translateY(-1px);
}

.site-header .nav-phone:hover .nav-phone-icon {
  background: var(--signature-sky-strong);
}

.site-header .nav-phone:focus-visible {
  outline: 2px solid var(--signature-cyan);
  outline-offset: 4px;
}

/* Intro signature : un rideau clair découvre le film, dans un stage natif. */
.opening-scene {
  position: relative;
  height: 185svh;
  color: var(--signature-ink);
  background: var(--signature-night);
}

.opening-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.opening-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  /* Visible tant que la vidéo n'a pas encore de frame à peindre (chargement,
     lecture réduite, échec de lecture) : évite un aplat vide derrière le rideau. */
  background: var(--signature-night) url('img/bg-unifroid.webp') center / cover no-repeat;
}

.opening-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.opening-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #070a16 2%, rgba(10, 15, 30, 0.95) 30%, rgb(16 22 46 / 39%) 58%, rgba(16, 31, 42, .06) 82%), linear-gradient(0deg, rgba(16, 22, 45, .7), transparent 35%), linear-gradient(180deg, rgba(16, 22, 45, .6), transparent 42%);
  /* Dégradé gauche→droite : protège le titre/texte (côté gauche) une fois
     le rideau levé, tout en laissant la vidéo respirer côté droit. */
  /* background: linear-gradient(90deg, var(--signature-ink) 2%, rgba(16, 31, 42, .72) 30%, rgba(16, 31, 42, .24) 58%, rgba(16, 31, 42, .06) 82%), linear-gradient(0deg, rgba(16, 22, 45, .7), transparent 35%), linear-gradient(180deg, rgba(16, 22, 45, .6), transparent 42%); */
}

.opening-curtain {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  background: var(--signature-paper);
  transform: translate3d(0, var(--opening-shift, 0%), 0);
  will-change: transform;
}

/* Le plan technique animé reste cantonné à droite, pour ne pas entrer
   en collision avec le logo/texte centrés du rideau. L'opacité de
   chaque calque est gérée individuellement (cf. hero-intro.css). */
.opening-plan {
  position: absolute;
  z-index: -1;
  top: 50%;
  right: clamp(10px, 3vw, 50px);
  width: clamp(340px, 48vw, 800px);
  height: auto;
  opacity: .55;
  transform: translateY(-50%);
}

.opening-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(760px, 82vw);
  text-align: center;
}

.opening-logo {
  width: min(560px, 68vw);
  height: auto;
}

.opening-brand-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 720px;
  margin: clamp(30px, 4.2vh, 44px) auto 0;
  font-family: var(--font-signature);
}

.opening-copy-label {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--signature-muted);
  font-size: 9px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .23em;
  text-transform: uppercase;
  opacity: 0;
  animation: opening-copy-rise .65s .12s var(--ease) forwards;
}

.opening-copy-label::before {
  content: "";
  width: 30px;
  height: 1px;
  background: #83a9bd;
}

.opening-copy-lead {
  margin-top: 18px;
  color: var(--signature-ink);
  font-family: var(--font-display);
  font-size: clamp(23px, 2.15vw, 31px);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -.025em;
  text-wrap: balance;
  opacity: 0;
  animation: opening-copy-fade .68s .24s ease-out forwards;
}

.opening-copy-text {
  max-width: 680px;
  margin-top: 16px;
  color: #65717a;
  font-size: clamp(14px, 1.25vw, 17px);
  font-weight: 400;
  line-height: 1.72;
  text-wrap: balance;
  opacity: 0;
  animation: opening-copy-rise .7s .36s var(--ease) forwards;
}

.opening-copy-text strong {
  color: #327ca2;
  font-weight: 600;
}

.opening-copy-services {
  margin-top: 22px;
  color: #687b87;
  font-size: 9px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: .17em;
  text-transform: uppercase;
  text-wrap: balance;
  opacity: 0;
  animation: opening-copy-rise .7s .5s var(--ease) forwards;
}

@keyframes opening-copy-rise {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes opening-copy-fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.opening-meta {
  position: absolute;
  inset: auto 6vw 36px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 30px;
  align-items: end;
  font-size: 10px;
  letter-spacing: .08em;
  color: #61707a;
}

.opening-meta>span:last-child {
  text-align: right;
}

.opening-meta a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--signature-ink);
}

.opening-meta i {
  width: 1px;
  height: 38px;
  background: #748893;
  transform-origin: top;
}

.opening-video-toggle {
  position: absolute;
  z-index: 1;
  top: 110px;
  right: 6vw;
  width: 44px;
  height: 44px;
  border: 1px solid var(--signature-white);
  border-radius: 50%;
  background: rgba(16, 22, 45, .55);
  color: var(--signature-white);
  cursor: pointer;
}

.opening-video-toggle[hidden] {
  display: none;
}

/* Le hero occupe le stage du rideau (position/overflow/isolation/height
   déjà posés par .opening-stage) ; la vidéo joue en fond derrière ce texte. */
#intro .opening-stage {
  padding: 155px 6vw 108px;
  background: var(--signature-ink);
  color: var(--signature-white);
  text-align: left;
}

.hero-content {
  position: relative;
  width: 100%;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 34px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .15em;
  text-transform: uppercase;
}

#intro h1 {
  display: block;
  margin: 0;
  max-width: 1150px;
  font-family: var(--font-display);
  font-size: clamp(38px, 4.4vw, 58px);
  font-weight: 300;
  line-height: 1.03;
  letter-spacing: .015em;
  text-transform: uppercase;
  color: var(--signature-white);
  text-align: left;
}

#intro h1 .hero-line {
  display: block;
  overflow: hidden;
}

#intro h1 .hero-line>span {
  display: block;
}

.hero-bottom-copy {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-top: 32px;
  max-width: 675px;
  flex-direction: column;
  text-align: justify;
}

.hero-bottom-copy>p {
  flex: 1 1 0;
  color: #e0e7ea;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.75;
}

.hero-bottom-copy>p:not(:last-child) {
  margin-bottom: 14px;
}

.hero-project-note {
  position: absolute;
  right: 6vw;
  bottom: 144px;
  width: 185px;
  padding-top: 17px;
  border-top: 1px solid var(--signature-white-a60);
  color: var(--signature-white);
  text-decoration: none;
}

.hero-project-note>span {
  display: block;
  font-size: 10px;
  letter-spacing: .07em;
}

.hero-project-note strong {
  display: block;
  margin: 8px 0;
  font-family: var(--font-signature);
  font-size: 18px;
  font-weight: 400;
}

.hero-project-note i {
  float: right;
  font-size: 16px;
  font-style: normal;
}

.hero-baseline {
  position: absolute;
  inset: auto 6vw 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .25);
  color: #d5dfe4;
  font-size: 10px;
  letter-spacing: .06em;
}

.hero-baseline i {
  color: var(--signature-blue);
  padding: 0 12px;
}

.hero-baseline a {
  color: var(--signature-white);
  text-decoration: none;
}

.hero-baseline a span {
  display: inline-block;
  margin-left: 14px;
}

.hero-coordinate {
  position: absolute;
  top: 160px;
  right: 25px;
  writing-mode: vertical-rl;
  font-size: 9px;
  letter-spacing: .16em;
  color: #d4e3ec;
}

.js .hero-line>span {
  animation: hero-type-in 1.2s cubic-bezier(.16, 1, .3, 1) both;
}

.hero-line:nth-child(2)>span {
  animation-delay: .1s;
}

.hero-line:nth-child(3)>span {
  animation-delay: .2s;
}

.hero-line:nth-child(4)>span {
  animation-delay: .3s;
}

@keyframes hero-type-in {
  from {
    transform: translateY(110%) rotate(2deg);
  }

  to {
    transform: translateY(0) rotate(0);
  }
}

/* Full client copy, divided into readable chapters; no text is collapsed.
   La section est coupée en deux visuellement : lecture claire (ap-story)
   puis bandeau plein cadre sombre pour les chiffres clés (ap-highlights). */
body #apropos {
  padding-top: clamp(80px, 9vw, 140px);
  padding-bottom: 0;
  background: var(--signature-paper);
  color: var(--signature-ink);
}

.ap-editorial {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: 65px;
}

/* Bandeau plein cadre : frère de .col (pas dedans), donc déjà bord à bord
   sans technique de sortie de conteneur. */
.ap-highlights {
  margin-top: clamp(64px, 7vw, 100px);
  padding-block: clamp(64px, 7vw, 100px);
  background: var(--signature-night);
  color: var(--signature-white);
}

/* The sticky column ends with the chapters, before the full-width stats. */
.ap-story {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  column-gap: clamp(50px, 8vw, 130px);
  align-items: start;
}

.ap-story>* {
  min-width: 0;
}

.ap-aside {
  position: sticky;
  top: 125px;
  align-self: start;
}

.ap-photo {
  margin-top: 40px;
  max-width: 330px;
}

.ap-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.3;
  object-fit: cover;
}

.ap-photo figcaption {
  margin-top: 10px;
  color: #5e6870;
  font-size: 10px;
}

.ap-signature {
  margin-top: 34px;
  font-family: var(--font-signature);
  font-size: clamp(30px, 3vw, 43px);
  line-height: 1.1;
  letter-spacing: -.04em;
}

.ap-signature--reading {
  margin-top: 0;
  margin-bottom: clamp(28px, 4vw, 44px);
  text-align: right;
}

.ap-signature span {
  color: var(--signature-blue);
}

.ap-chapter {
  padding: 32px 0 8px;
  border-top: 1px solid #c8cecb;
}

.ap-chapter-heading {
  display: flex;
  gap: 18px;
  align-items: baseline;
  margin-bottom: 24px;
}

.ap-chapter-heading span {
  font-size: 11px;
  color: #42758a;
}

.ap-chapter h3 {
  font-family: var(--font-signature);
  font-size: clamp(24px, 2.2vw, 31px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -.04em;
}

.ap-chapter>p {
  color: #566068;
  font-size: 14px;
  line-height: 1.9;
  font-weight: 300;
  margin-bottom: 25px;
}

.ap-chapter strong {
  color: #172a35;
  font-weight: 500;
}

body .apropos .ap-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: none;
  border: 0;
  border-block: 1px solid var(--signature-white-a22);
  border-radius: 0;
}

.apropos .ap-stat {
  padding: 32px 22px;
  border-right: 1px solid var(--signature-white-a22);
  background: none;
}

.apropos .ap-stat:first-child {
  padding-left: 0;
}

.apropos .ap-stat:last-child {
  border-right: 0;
}

.apropos .ap-stat b {
  display: block;
  font-family: var(--font-signature);
  color: var(--signature-white);
  font-weight: 450;
  font-size: clamp(30px, 3.7vw, 52px);
  line-height: 1;
  letter-spacing: -.06em;
  font-variant-numeric: tabular-nums;
}

.apropos .ap-stat span {
  display: block;
  margin-top: 14px;
  font-size: 11px;
  color: rgba(255, 255, 255, .62);
}

.ap-conclusion {
  display: grid;
  grid-template-columns: minmax(150px, .28fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(42px, 6vw, 86px);
  width: 100%;
  margin: clamp(42px, 4.5vw, 62px) 0 0;
  text-align: left;
}

.ap-conclusion-label {
  color: rgba(210, 228, 238, .68);
  font-size: 9px;
  line-height: 1;
  letter-spacing: .2em;
  text-transform: uppercase;
  transition: opacity .55s ease;
}

.ap-conclusion-label i {
  display: block;
  width: 74px;
  height: 1px;
  margin-top: 18px;
  background: var(--signature-sky);
  transform-origin: left;
  transition: transform .75s var(--ease) .06s;
}

.ap-conclusion-mark {
  display: block;
  width: clamp(90px, 12vw, 160px);
  height: auto;
  margin: auto;
}

/* .intro-texte-conclusion fixe color:var(--ink) ailleurs sur le site :
   ce texte reste blanc dans le bandeau sombre. */
.ap-conclusion .intro-texte-conclusion {
  max-width: 780px;
  margin: 0;
  color: var(--signature-white);
  font-family: var(--font-signature);
  font-size: clamp(30px, 3.2vw, 35px);
  line-height: 1.27;
  letter-spacing: -.03em;
  font-weight: 400;
  text-wrap: balance;
  transition: opacity .7s ease .1s, transform .7s var(--ease) .1s;
}

.js .ap-conclusion.reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.js .ap-conclusion.reveal:not(.in) .ap-conclusion-label,
.js .ap-conclusion.reveal:not(.in) .intro-texte-conclusion {
  opacity: 0;
}

.js .ap-conclusion.reveal:not(.in) .ap-conclusion-label i {
  transform: scaleX(0);
}

.js .ap-conclusion.reveal:not(.in) .intro-texte-conclusion {
  transform: translateY(8px);
}

.apropos .ap-values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin: clamp(44px, 5vw, 64px) 0 0;
}

.apropos .ap-values li {
  border-top: 1px solid rgba(255, 255, 255, .3);
  padding-top: 20px;
}

.apropos .ap-values h3 {
  margin-bottom: 10px;
  font-family: var(--font-signature);
  font-size: 16px;
  font-weight: 500;
}

body .apropos .ap-values p {
  font-size: 12px;
  color: rgba(255, 255, 255, .68);
  line-height: 1.8;
  font-weight: 300;
}

/* Norms: an instrument follows the reading progression. */
body #normes {
  --normes-bg: var(--signature-night);
  padding-block: 110px;
  background: var(--normes-bg);
  color: #f2f4ef;
}

.nm-layout {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: 8vw;
  align-items: start;
}

.nm-heading {
  position: sticky;
  top: 125px;
  margin: 0;
}

.nm-heading .section-kicker {
  color: #a5c5c9;
}

.nm-intro {
  margin-top: 24px;
  color: #bacbd0;
  font-size: 13px;
}

.nm-dial {
  position: relative;
  width: 220px;
  height: 220px;
  margin-top: 44px;
}

.nm-dial svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.nm-dial circle {
  fill: none;
  stroke-width: .8;
}

.nm-dial-track {
  stroke: #40606a;
}

.nm-dial .nm-dial-progress {
  stroke: var(--signature-mint);
  stroke-width: 2;
  stroke-dasharray: 1;
  stroke-dashoffset: var(--norm-offset, .75);
}

.nm-dial-value {
  position: absolute;
  left: 0;
  right: 0;
  top: 45px;
  text-align: center;
  font-family: var(--font-signature);
  font-size: 78px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.06em;
}

.nm-dial-label {
  position: absolute;
  left: 0;
  top: 140px;
  width: 100%;
  text-align: center;
  font-size: 9px;
  line-height: 1.7;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #adc6c9;
}

.nm-dial-cross {
  position: absolute;
  right: -5px;
  top: calc(50% - 14px);
  font-size: 18px;
  font-style: normal;
  background: var(--normes-bg);
  padding: 0 7px;
  color: var(--signature-mint);
}

.nm-footer {
  margin-top: 28px;
  color: #91aeb5;
  font-size: 10px;
  letter-spacing: .05em;
}

.normes .nm-grid {
  display: block;
  margin: 0;
  padding: 0;
}

body .normes .nm-grid li {
  position: relative;
  background: none;
  border: 0;
  border-top: 1px solid var(--signature-grid);
  border-radius: 0;
  box-shadow: none;
  padding: 38px 0 40px 58px;
  min-height: 220px;
  transition: border-color .4s;
}

body .normes .nm-grid li:last-child {
  border-bottom: 1px solid var(--signature-grid);
}

.nm-number {
  position: absolute;
  top: 41px;
  left: 0;
  color: #8aacb4;
  font-size: 12px;
}

.normes .nm-ico {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin: 0 0 19px;
  color: #9cbdc4;
  background: none;
  transition: color .4s, transform .4s;
}

.normes .nm-ico svg {
  width: 30px;
  height: 30px;
}

.normes .nm-grid h3 {
  margin-bottom: 12px;
  max-width: 17ch;
  font-family: var(--font-signature);
  color: #eaf1ef;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -.025em;
}

body .normes .nm-grid p {
  color: #b5c9ce;
  max-width: 41ch;
  font-weight: 300;
  font-size: 13px;
  line-height: 1.8;
}

.nm-row::after {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--signature-mint);
  transform: scaleX(var(--row-progress, 0));
  transform-origin: left;
}

.nm-row.is-active .nm-ico {
  color: var(--signature-mint);
  transform: translateY(-3px);
}

.nm-row.is-active .nm-number {
  color: var(--signature-mint);
}

/* Projets (ex-#clients, absorbée) : portfolio consultable directement
   dans la grille, sans changement de contexte. */
#projets {
  background: var(--signature-paper);
  padding-block: 100px;
}

.clients-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 36px;
  margin-bottom: 55px;
}

.clients-heading>p {
  font-size: 13px;
  line-height: 1.85;
  color: #52616b;
  padding-bottom: 7px;
}

.clients-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 70px 40px;
}

.client-card:nth-child(even) {
  margin-top: 85px;
}

.client-gallery-frame {
  position: relative;
}

.client-main {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: default;
}

.client-main {
  touch-action: pan-y;
}

.client-photo {
  position: relative;
  overflow: hidden;
  background: #ced1ca;
  aspect-ratio: 1.19;
}

.client-card:nth-child(even) .client-photo {
  aspect-ratio: 1.12;
}

.client-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: opacity .22s ease, transform .48s var(--ease), filter .45s ease;
  filter: saturate(.8);
}

.client-card:nth-child(3) .client-photo img {
  object-position: center 48%;
}

.client-card:nth-child(4) .client-photo img {
  object-fit: contain;
  background: #e9e7e0;
}

.client-photo-count {
  position: absolute;
  top: 18px;
  left: 18px;
  font-size: 8px;
  letter-spacing: .08em;
  color: var(--signature-white-a88);
  padding: 5px 8px;
  background: rgba(16, 31, 42, .48);
  backdrop-filter: blur(4px);
}

.client-main:hover .client-photo img {
  transform: scale(1.02);
  filter: saturate(1);
}

.client-gallery-frame.is-switching .client-photo img {
  opacity: .16;
  transform: translateY(4px) scale(1.015);
}

.client-thumbnails {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: clamp(64px, 7vw, 86px);
  gap: 7px;
  height: auto;
  margin-top: 8px;
  opacity: .82;
  transform: translateY(2px);
  transition: opacity .35s ease, transform .35s var(--ease);
}

.client-card:hover .client-thumbnails,
.client-card:focus-within .client-thumbnails {
  opacity: 1;
  transform: none;
}

.client-thumb {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 0;
  border-bottom: 2px solid transparent;
  background: #dce1df;
  cursor: pointer;
}

.client-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .58;
  filter: saturate(.68);
  transform: scale(1.01);
  transition: opacity .3s ease, filter .3s ease, transform .4s var(--ease);
}

.client-thumb:hover img,
.client-thumb:focus-visible img,
.client-thumb.is-active img {
  opacity: 1;
  filter: saturate(.9);
  transform: scale(1.035);
}

.client-thumb.is-active {
  border-bottom-color: var(--signature-cyan);
}

.client-thumb:focus-visible {
  outline: 2px solid var(--signature-cyan);
  outline-offset: 2px;
}

.client-caption {
  display: grid;
  grid-template-columns: 25px 1fr auto;
  align-items: baseline;
  gap: 10px;
  padding-top: 20px;
  border-bottom: 1px solid var(--signature-line);
  padding-bottom: 18px;
  width: 100%;
  color: var(--signature-ink);
  background: transparent;
  text-align: left;
}

.client-number {
  font-size: 10px;
  color: #637982;
}

.client-caption h3 {
  font-family: var(--font-signature);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -.035em;
}

.client-city {
  color: #5b6870;
  font-size: 10px;
}

.clients-contact {
  margin-top: 65px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-block: 1px solid var(--signature-line);
  padding-block: 25px;
  color: #1d3541;
  text-decoration: none;
  font-family: var(--font-signature);
  font-size: clamp(20px, 2.6vw, 34px);
  letter-spacing: -.04em;
}

.clients-contact span {
  font-size: 36px;
}

/* Process: a sticky visual and a continuous numbered story. */
#process {
  background: var(--signature-paper);
  padding-block: 110px;
}

.process-heading {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  column-gap: 70px;
  margin-bottom: 70px;
}

.process-heading .section-kicker {
  grid-column: 1/-1;
}

.process-heading>p:last-child {
  align-self: end;
  color: #586974;
  font-size: 14px;
  padding-bottom: 8px;
}

.process-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 70px;
  align-items: start;
}

.process-visual {
  position: sticky;
  top: 125px;
}

.process-images {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.03;
  background: #15323e;
}

.process-images::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 25, 33, .8), transparent 65%);
  pointer-events: none;
}

.process-images img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity .6s ease, transform 1s var(--ease);
}

.process-images img:nth-child(2) {
  object-fit: contain;
  background: #edf1ed;
}

.process-images img.is-active {
  opacity: 1;
  transform: scale(1);
}

.process-image-index {
  position: absolute;
  z-index: 1;
  bottom: 28px;
  left: 28px;
  color: var(--signature-white);
  font-family: var(--font-signature);
  font-size: 94px;
  line-height: 1;
  letter-spacing: -.06em;
}

.process-image-label {
  position: absolute;
  z-index: 1;
  right: 25px;
  bottom: 34px;
  font-size: 11px;
  color: var(--signature-white);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.process-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 16px;
  gap: 8px;
}

.process-nav a {
  display: flex;
  flex-direction: column;
  padding-top: 11px;
  border-top: 2px solid #c9d1ce;
  color: #63747c;
  text-decoration: none;
  font-size: 12px;
  transition: border-color .3s, color .3s;
}

.process-nav a span {
  margin-top: 5px;
  font-size: 9px;
}

.process-nav a[aria-current] {
  color: var(--signature-ink-deep);
  border-color: var(--signature-ink-deep);
}

#process .listeprocess {
  display: block;
  margin: 0;
  padding: 0;
  counter-reset: none;
}

#process .listeprocess li {
  display: grid;
  grid-template-columns: 65px 1fr;
  align-content: center;
  gap: 0 20px;
  position: relative;
  min-height: 360px;
  padding: 50px 0 60px;
  border: 0;
  border-top: 1px solid #c1cbc8;
  background: none;
  box-shadow: none;
  border-radius: 0;
  transform: none;
  scroll-margin-top: 115px;
}

#process .listeprocess li:last-child {
  min-height: 300px;
}

#process .listeprocess li::before {
  display: none;
}

#process .listeprocess li::after {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: #36697e;
  transform-origin: left;
  transform: scaleX(var(--step-progress, 0));
}

#process .proc-top {
  display: contents;
}

#process .proc-index {
  grid-column: 1;
  grid-row: 1/4;
  position: static;
  font-family: var(--font-signature);
  font-size: 48px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: -.07em;
  color: #859d9e;
  background: none;
  border: 0;
  width: auto;
  height: auto;
}

#process .proc-step {
  grid-column: 2;
  color: #477a8b;
  margin: 0 0 16px;
  font-size: 10px;
  letter-spacing: .16em;
}

#process .proc-titre {
  grid-column: 2;
  margin: 0 0 20px;
  font-family: var(--font-signature);
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 400;
  color: #132d38;
  letter-spacing: -.045em;
  line-height: 1.08;
  text-transform: none;
}

#process .proc-desc {
  grid-column: 2;
  max-width: 35ch;
  color: #5a6b71;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.85;
}

#process .is-active .proc-index {
  color: #295e73;
}

.four-final {
  transform: none;
  will-change: opacity;
}

.four-layer {
  transform-origin: 0 0;
}

/* The front and the completed oven share the exact same source pixels.
   Only the front is exposed while the internal parts travel into position. */
.four-layer--front {
  clip-path: inset(0 0 0 43.24%);
}

@media (min-width: 1600px) {
  #intro .opening-stage {
    padding-top: 180px;
  }
}

@media (max-width: 1190px) {
  .site-nav {
    grid-template-columns: 155px 1fr auto;
    gap: 18px;
    padding-inline: 24px;
  }

  .site-logo, .site-header.is-scrolled .site-logo {
    width: 155px;
  }

  .site-nav-links {
    gap: 17px;
  }

  .site-nav-links a {
    font-size: 11px;
  }

  .site-header .nav-phone {
    display: none;
  }

  .nav-project {
    width: 190px;
    height: 52px;
    grid-template-columns: 48px minmax(0, 1fr) 44px;
  }

  .nav-project-copy {
    padding-inline: 10px;
  }

  .nav-project-copy strong {
    font-size: 14px;
  }

  .nav-project-copy small {
    display: none;
  }

  .hero-project-note {
    width: 155px;
    bottom: 136px;
  }

  .hero-bottom-copy {
    gap: 25px;
    /* max-width: 73%; */
  }

  .hero-bottom-copy>p {
    font-size: 12px;
  }

  .ap-story {
    column-gap: 6vw;
  }

  .clients-heading {
    grid-template-columns: 1fr 1fr;
  }

  .client-caption {
    grid-template-columns: 20px 1fr;
  }

  .client-city {
    grid-column: 2;
  }

  .process-layout, .process-heading {
    gap: 45px;
  }
}

@media (max-width: 959px) {
  .site-header, .site-header.is-scrolled {
    height: 72px;
  }

  .site-nav {
    grid-template-columns: 1fr auto;
  }

  .site-header .nav-phone {
    display: flex;
    justify-content: center;
    width: 54px;
    min-width: 54px;
  }

  .site-header .nav-phone-copy {
    display: none;
  }

  .site-header.at-hero #burger {
    background: transparent;
    border-color: rgba(255, 255, 255, .4);
  }

  .site-header.at-hero #burger span {
    background: var(--signature-white);
  }

  body.menu-open .site-header {
    background: var(--signature-paper);
  }

  body.menu-open .site-header .site-logo img {
    filter: none;
  }

  body.menu-open .site-header #burger {
    background: transparent;
    border-color: var(--signature-charcoal);
  }

  body.menu-open .site-header #burger span {
    background: var(--signature-charcoal);
  }

  .nav-project {
    width: 200px;
  }

  #intro .opening-stage {
    padding-top: 145px;
  }

  .hero-bottom-copy {
    display: block;
    max-width: 60%;
  }

  .hero-baseline {
    font-size: 9px;
  }

  .hero-baseline>span:last-child {
    display: none;
  }

  .ap-editorial {
    row-gap: 45px;
  }

  .ap-story {
    grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
    column-gap: 35px;
  }

  .ap-aside {
    top: 105px;
  }

  .ap-signature {
    font-size: 29px;
  }

  .ap-chapter>p {
    font-size: 13px;
  }

  .apropos .ap-values {
    grid-template-columns: repeat(2, 1fr);
  }

  .nm-layout {
    gap: 45px;
    grid-template-columns: .9fr 1.1fr;
  }

  .normes .nm-grid h3 {
    font-size: 24px;
  }

  .clients-grid {
    gap: 45px 24px;
  }

  .client-caption h3 {
    font-size: 22px;
  }

  .process-layout {
    grid-template-columns: .85fr 1.15fr;
    gap: 32px;
  }

  #process .listeprocess li {
    grid-template-columns: 44px 1fr;
    gap: 0 15px;
    min-height: 350px;
  }

  #process .proc-index {
    font-size: 38px;
  }

  #process .proc-titre {
    font-size: 32px;
  }

  .process-image-index {
    font-size: 68px;
    left: 18px;
    bottom: 25px;
  }

  .process-image-label {
    font-size: 9px;
    right: 18px;
  }
}

@media (max-width: 640px) {
  :root {
    --col: calc(100vw - 40px);
  }

  .site-nav {
    padding-inline: 20px;
    gap: 10px;
  }

  .site-logo, .site-header.is-scrolled .site-logo {
    width: 135px;
  }

  .site-header .nav-phone {
    display: none;
  }

  .nav-project {
    display: none;
  }

  .site-nav-actions {
    gap: 8px;
  }

  .opening-scene {
    height: 170svh;
  }

  .opening-logo {
    width: 78vw;
  }

  .opening-brand {
    width: min(90vw, 560px);
  }

  .opening-brand-copy {
    margin-top: 28px;
  }

  .opening-copy-label {
    gap: 10px;
    font-size: 8px;
    letter-spacing: .19em;
  }

  .opening-copy-label::before {
    width: 22px;
  }

  .opening-copy-lead {
    margin-top: 16px;
    font-size: clamp(20px, 5.8vw, 25px);
  }

  .opening-copy-text {
    max-width: 350px;
    margin-top: 15px;
    font-size: 13px;
    line-height: 1.65;
  }

  .opening-copy-services {
    max-width: 340px;
    margin-top: 20px;
    font-size: 8px;
    line-height: 1.8;
    letter-spacing: .13em;
  }

  .opening-meta {
    inset-inline: 20px;
    grid-template-columns: 1fr auto;
    gap: 20px;
    font-size: 8px;
  }

  .opening-meta>span:first-child {
    max-width: 145px;
  }

  .opening-meta>span:last-child {
    display: none;
  }

  .opening-video-toggle {
    top: 90px;
    right: 20px;
  }

  #intro .opening-stage {
    padding: 137px 20px 108px;
  }

  .hero-eyebrow {
    font-size: 8px;
    letter-spacing: .1em;
    gap: 9px;
    margin-bottom: 28px;
  }

  .hero-bottom-copy {
    margin-top: 30px;
    max-width: 92%;
  }

  .hero-bottom-copy>p:first-of-type {
    max-width: 310px;
    font-size: 12px;
    line-height: 1.85;
  }

  .hero-project-note {
    bottom: 97px;
    right: 20px;
    width: auto;
    left: 20px;
    display: flex;
    gap: 12px;
    align-items: baseline;
    padding-top: 13px;
  }

  .hero-project-note>span:first-child {
    display: none;
  }

  .hero-project-note strong {
    margin: 0;
    font-size: 13px;
  }

  .hero-project-note>span:last-child {
    font-size: 9px;
    flex: 1;
  }

  .hero-baseline {
    inset-inline: 20px;
    bottom: 24px;
    padding-top: 17px;
    display: block;
    font-size: 8px;
  }

  .hero-baseline i {
    padding-inline: 5px;
  }

  .hero-baseline a {
    display: block;
    margin-top: 7px;
  }

  .hero-coordinate {
    display: none;
  }

  body #apropos, body #normes, #projets, #process {
    padding-block: 72px!important;
  }

  .ap-editorial {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }

  .ap-story {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }

  .ap-aside {
    position: relative;
    top: auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
  }

  .ap-aside .section-kicker, .ap-aside .section-titre {
    grid-column: 1/-1;
  }

  .ap-photo {
    margin-top: 25px;
  }

  .ap-photo figcaption {
    font-size: 8px;
  }

  .ap-signature {
    margin-top: 25px;
    align-self: center;
    font-size: 25px;
  }

  .ap-chapter-heading {
    gap: 14px;
  }

  .ap-chapter h3 {
    font-size: 25px;
  }

  .ap-chapter>p {
    font-size: 14px;
    line-height: 1.85;
  }

  body .apropos .ap-stats {
    grid-template-columns: 1fr 1fr;
  }

  .apropos .ap-stat {
    padding: 24px 14px;
    padding-left: 14px!important;
  }

  .apropos .ap-stat:nth-child(2) {
    border-right: 0;
  }

  .apropos .ap-stat:nth-child(3), .apropos .ap-stat:nth-child(4) {
    border-top: 1px solid var(--signature-white-a22);
  }

  .apropos .ap-stat:nth-child(3) {
    padding-left: 0;
  }

  .apropos .ap-stat b {
    font-size: 40px;
  }

  .apropos .ap-stat span {
    font-size: 10px;
  }

  .ap-conclusion {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 42px;
    text-align: left;
  }

  .ap-conclusion-label {
    padding-top: 0;
  }

  .ap-conclusion-label i {
    width: 56px;
    margin-top: 14px;
  }

  .ap-conclusion .intro-texte-conclusion {
    max-width: 560px;
    font-size: clamp(27px, 7.7vw, 34px);
    line-height: 1.3;
  }

  .apropos .ap-values {
    gap: 25px 20px;
  }

  .apropos .ap-values h3 {
    font-size: 15px;
  }

  body .apropos .ap-values p {
    font-size: 12px;
  }

  .nm-layout {
    display: block;
  }

  .nm-heading {
    position: relative;
    top: auto;
    display: grid;
    grid-template-columns: 1fr 100px;
    gap: 0 15px;
    margin-bottom: 40px;
  }

  .nm-heading .section-kicker, .nm-heading .section-titre {
    grid-column: 1/-1;
  }

  .nm-intro {
    align-self: center;
    font-size: 12px;
  }

  .nm-dial {
    width: 100px;
    height: 100px;
    margin-top: 24px;
  }

  .nm-dial-value {
    top: 20px;
    font-size: 42px;
  }

  .nm-dial-label {
    display: none;
  }

  .nm-dial-cross {
    font-size: 14px;
    top: 38px;
    padding: 0 4px;
  }

  .nm-footer {
    grid-column: 1/-1;
    margin-top: 10px;
  }

  body .normes .nm-grid li {
    min-height: 0;
    padding: 28px 0 32px 40px;
  }

  .nm-number {
    top: 34px;
    font-size: 10px;
  }

  .normes .nm-grid h3 {
    max-width: 100%;
    font-size: 27px;
  }

  body .normes .nm-grid p {
    font-size: 13px;
  }

  .clients-heading {
    display: block;
    margin-bottom: 36px;
  }

  .clients-heading>p {
    margin-top: 24px;
    font-size: 13px;
  }

  .clients-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .client-card:nth-child(even) {
    margin-top: 0;
  }

  .client-photo, .client-card:nth-child(even) .client-photo {
    aspect-ratio: 1.15;
  }

  .client-thumbnails {
    display: flex;
    justify-content: center;
    gap: 7px;
    height: auto;
    margin-top: 13px;
    opacity: 1;
    transform: none;
  }

  .client-thumb {
    width: clamp(30px, 10vw, 42px);
    height: 2px;
    flex: 0 0 auto;
    overflow: visible;
    border: 0;
    background: #c7ced0;
  }

  .client-thumb img {
    display: none;
  }

  .client-thumb.is-active {
    background: #4eafd9;
  }

  .client-thumb:focus-visible {
    outline-offset: 5px;
  }

  .client-caption {
    grid-template-columns: 22px 1fr auto;
    gap: 8px;
    padding-top: 15px;
  }

  .client-caption h3 {
    font-size: 22px;
  }

  .client-city {
    grid-column: 2/-1;
  }

  .clients-contact {
    margin-top: 40px;
    gap: 30px;
    font-size: 23px;
  }

  .process-heading {
    display: block;
    margin-bottom: 40px;
  }

  .process-heading>p:last-child {
    margin-top: 24px;
    font-size: 13px;
  }

  .process-layout {
    display: block;
  }

  .process-visual {
    position: relative;
    top: auto;
    margin-bottom: 30px;
  }

  .process-images {
    aspect-ratio: 1.35;
  }

  .process-image-index {
    font-size: 90px;
  }

  .process-image-label {
    font-size: 11px;
  }

  .process-nav a {
    min-height: 56px;
  }

  .process-nav a span {
    font-size: 10px;
  }

  #process .listeprocess li {
    min-height: 0;
    padding: 34px 0 40px;
    grid-template-columns: 44px 1fr;
    gap: 0 18px;
  }

  #process .listeprocess li:last-child {
    min-height: 0;
    padding-bottom: 0;
  }

  #process .proc-titre {
    font-size: 31px;
  }

  #process .proc-desc {
    font-size: 14px;
  }
}

@media (min-width: 641px) and (max-height: 760px) {
  /* Écran peu haut (mobile en paysage) : ces colonnes sont plus hautes que la fenêtre. */
  .ap-aside, .nm-heading {
    position: relative;
    top: auto;
  }
}

@media (max-width: 640px) and (min-height: 700px) and (prefers-reduced-motion: no-preference) {
  .process-visual {
    position: sticky;
    top: 84px;
    z-index: 3;
    padding-bottom: 14px;
    background: var(--signature-paper);
  }

  .process-images {
    aspect-ratio: 1.9;
  }

  #process .listeprocess li {
    scroll-margin-top: 330px;
  }
}

@media (max-width: 360px) {
  .site-nav {
    padding-inline: 14px;
  }

  .site-logo, .site-header.is-scrolled .site-logo {
    width: 119px;
  }

}

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

  .opening-scene {
    height: 100svh;
  }

  .opening-stage {
    position: relative;
  }

  .opening-curtain {
    display: none;
  }

  .js .hero-line>span {
    animation: none;
  }

  .client-photo img, .process-images img, .nm-ico {
    transition: none;
  }

  .ap-aside, .nm-heading, .process-visual {
    position: relative;
    top: auto;
  }
}

/* Priorité de cascade : les règles historiques responsive sont déclarées plus
   haut dans ce fichier ; ce verrou final garantit la composition mobile dédiée. */
@media (max-width: 768px) {
  body {
    padding-bottom: calc(62px + env(safe-area-inset-bottom));
  }

  .site-nav .nav-project, .site-nav .nav-phone {
    display: none !important;
  }

  .opening-scene {
    height: min(78svh, 720px) !important;
    min-height: 570px !important;
  }

  #intro .opening-stage {
    position: relative !important;
    height: 100% !important;
    min-height: 0 !important;
  }

  .opening-curtain, .hero-project-note, .hero-coordinate {
    display: none !important;
  }

  #intro .hero-content {
    inset: auto 20px 92px !important;
    padding: 0 !important;
  }

  #hero-title .hero-line:nth-child(n+3) {
    display: none !important;
  }

  #partenaires, #bureau-etudes, #precision {
    display: none !important;
  }

  .mobile-expertises, .mobile-projects-all, .mobile-project-gallery, .mobile-contact-bar {
    display: flex;
  }

  .mobile-expertises, .mobile-project-gallery {
    display: block;
  }

  #projets .clients-grid {
    display: block !important;
  }

  #projets .client-card {
    width: 100% !important;
    margin-bottom: 42px !important;
  }

  #projets .client-card:nth-child(n+4) {
    display: none !important;
  }

  #projets .client-card[data-client-gallery] .client-main,
  #projets .client-card[data-client-gallery] .client-thumbnails {
    display: none !important;
  }

  #expertises #process .process-layout {
    display: block !important;
  }

  #expertises #process .process-visual, #expertises #process .process-rail {
    display: none !important;
  }

  #expertises #process .process-step-mobile-image {
    display: block !important;
  }

  #secteurs .secteurs-grid {
    display: flex !important;
    grid-template-columns: none !important;
  }

  #secteurs .secteur-card {
    flex: 0 0 85% !important;
    width: 85% !important;
  }

  #sav .galerie-inner {
    display: block !important;
  }

  #bas .footer-cta, #bas .basint {
    display: none !important;
  }

  #bas .footer-practical-map iframe {
    height: 300px !important;
  }

  .mobile-contact-bar {
    display: grid !important;
  }
}

/* Bouton d’appel desktop — hexagone allongé marine / blanc. */
@media (min-width: 960px) {
  .site-header .nav-phone {
    width: clamp(232px, 17vw, 264px);
    height: 64px;
    min-height: 64px;
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr) 42px;
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    padding: 0;
    border: 0;
    border-radius: 5px;
    clip-path: polygon(5% 0, 95% 0, 100% 50%, 95% 100%, 5% 100%, 0 50%);
    background: var(--white);
    color: var(--blue-night);
    box-shadow: 0 15px 35px rgba(16, 22, 45, .12);
    filter: drop-shadow(0 10px 16px rgba(16, 22, 45, .08));
    transition: height .42s var(--ease), min-height .42s var(--ease), transform .32s var(--ease), box-shadow .32s ease, filter .32s ease;
    animation: site-phone-in .68s var(--ease) .18s both;
  }
  .site-header.at-hero .nav-phone { background: var(--white); }
  .site-header.is-scrolled .nav-phone {
    height: 54px;
    min-height: 54px;
  }
  .site-header .nav-phone-icon,
  .site-header.is-scrolled .nav-phone-icon {
    width: 68px;
    height: 100%;
    display: grid;
    place-items: center;
    align-self: stretch;
    border: 0;
    border-radius: 0;
    clip-path: polygon(18% 0, 76% 0, 100% 50%, 76% 100%, 18% 100%, 0 50%);
    background: var(--blue-night);
    color: var(--white);
    box-shadow: none;
    transition: background-color .3s ease;
  }
  .site-header .nav-phone-icon svg {
    width: 25px;
    height: 25px;
    fill: currentColor;
    stroke: none;
  }
  .site-header .nav-phone-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 0 8px 0 16px;
    text-align: left;
  }
  .site-header .nav-phone-copy strong {
    overflow: visible;
    color: var(--blue-night);
    font-size: clamp(15px, 1.05vw, 16px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    text-overflow: clip;
  }
  .site-header .nav-phone-copy small {
    display: block;
    color: var(--slate);
    font-size: clamp(11px, .78vw, 12px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: 0;
    text-transform: none;
    opacity: 1;
  }
  .site-header .nav-phone:hover {
    border-color: transparent;
    background: var(--white);
    box-shadow: 0 18px 38px rgba(16, 22, 45, .16);
    filter: drop-shadow(0 12px 18px rgba(16, 22, 45, .1));
    transform: translateY(-2px);
  }
  .site-header .nav-phone:hover .nav-phone-icon {
    background: var(--blue-night);
    transform: none;
  }
  .site-header .nav-phone:focus-visible {
    outline: 3px solid var(--blue-night);
    outline-offset: 4px;
  }
}

@media (min-width: 960px) and (max-width: 1120px) {
  .site-header .nav-phone {
    width: 210px;
    grid-template-columns: 60px minmax(0, 1fr) 34px;
  }
  .site-header .nav-phone-icon,
  .site-header.is-scrolled .nav-phone-icon { width: 60px; }
  .site-header .nav-phone-copy { padding-left: 12px; }
  .site-header .nav-phone-copy strong { font-size: 13px; }
  .site-header .nav-phone-copy small { font-size: 10px; }
}

@media (min-width: 769px) and (max-width: 959px) {
  .site-header .nav-phone,
  .site-header.is-scrolled .nav-phone {
    width: 164px;
    height: 52px;
    min-height: 52px;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    padding: 0;
    border: 0;
    border-radius: 4px;
    clip-path: polygon(6% 0, 94% 0, 100% 50%, 94% 100%, 6% 100%, 0 50%);
    background: var(--white);
    box-shadow: 0 12px 28px rgba(16, 22, 45, .11);
    color: var(--blue-night);
  }
  .site-header .nav-phone-icon,
  .site-header.is-scrolled .nav-phone-icon {
    width: 54px;
    height: 100%;
    clip-path: polygon(18% 0, 76% 0, 100% 50%, 76% 100%, 18% 100%, 0 50%);
    background: var(--blue-night);
  }
  .site-header .nav-phone-icon svg {
    width: 21px;
    height: 21px;
    fill: currentColor;
    stroke: none;
  }
  .site-header .nav-phone-copy {
    display: flex;
    justify-content: center;
    padding: 0 12px;
  }
  .site-header .nav-phone-copy strong {
    color: var(--blue-night);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
  }
  .site-header .nav-phone-copy small { display: none; }
}

/* À propos desktop — panneau visuel de terrain retravaillé. */
.apropos .ap-photo img,
.apropos .mobile-about-visual img {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

@media (min-width: 769px) {
  .apropos .ap-aside {
    position: sticky;
    top: 108px;
    padding: 0 0 8px;
  }
  .apropos .ap-aside .section-titre {
    max-width: 7.8ch;
    line-height: .96;
    letter-spacing: -.045em;
  }
  .apropos .ap-photo {
    position: relative;
    width: 100%;
    max-width: 520px;
    margin: 46px 0 0;
    padding: 11px 11px 43px;
    overflow: hidden;
    background:
      linear-gradient(90deg, var(--blue-deep) 0 34%, var(--orange-hot) 34% 67%, var(--green-eco) 67%) top / 100% 3px no-repeat,
      var(--blue-night);
    box-shadow: 0 24px 55px rgba(16, 22, 45, .16);
  }
  .apropos .ap-photo::before {
    content: "UF / TERRAIN — 01";
    position: absolute;
    z-index: 2;
    top: 24px;
    left: 24px;
    padding: 7px 9px;
    background: rgba(16, 22, 45, .76);
    color: var(--white);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: .16em;
  }

  .apropos .ap-photo img {
    width: 100%;
    height: auto;
    aspect-ratio: 1.22;
    display: block;
    object-fit: cover;
    filter: saturate(.78) contrast(1.06);
    transition: filter .45s ease, transform .7s var(--ease);
  }
  .apropos .ap-photo figcaption {
    position: absolute;
    z-index: 1;
    bottom: 14px;
    left: 17px;
    margin: 0;
    color: rgba(255, 255, 255, .76);
    font-size: 8px;
    letter-spacing: .08em;
  }
  .apropos .ap-photo--intro {
    max-width: 520px;
    padding: 0 0 30px;
    overflow: visible;
    background: transparent;
    box-shadow: none;
  }
  .apropos .ap-photo--intro::before { display: none; }
  .apropos .ap-photo--intro::after {
    right: 0;
    bottom: 5px;
    color: rgba(16, 22, 45, .46);
  }
  .apropos .ap-photo--intro img {
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    filter: drop-shadow(0 25px 32px rgba(16, 22, 45, .16));
  }
  .apropos .ap-photo--intro figcaption {
    bottom: 3px;
    left: 0;
    color: var(--slate);
  }
  .apropos .ap-signature {
    position: relative;
    max-width: 520px;
    margin: 0;
    padding: 30px 0 4px 24px;
    border-left: 1px solid rgba(8, 120, 185, .28);
    color: var(--blue-night);
    font-size: clamp(30px, 2.6vw, 42px);
  }
  .apropos .ap-signature::before {
    content: "";
    position: absolute;
    top: 0;
    left: -1px;
    width: 2px;
    height: 46px;
    background: var(--blue-deep);
  }
  .apropos .ap-signature span {
    display: block;
    color: var(--signature-blue);
  }
  .apropos .ap-signature--reading {
    max-width: none;
    padding: 0;
    border-left: 0;
    margin-bottom: clamp(28px, 4vw, 44px);
  }
  .apropos .ap-signature--reading::before {
    content: none;
  }
}

@media (min-width: 769px) and (hover: hover) and (pointer: fine) {
  .apropos .ap-photo:hover img {
    filter: saturate(.92) contrast(1.03);
    transform: scale(1.025);
  }
  .apropos .ap-photo--intro:hover img {
    filter: drop-shadow(0 29px 38px rgba(16, 22, 45, .2));
    transform: scale(1.018);
  }
}

/* Navigation mobile — panneau premium, dense et entièrement tactile. */
@media (max-width: 768px) {
  :root {
    --header-safe: 66px;
  }

  .site-header,
  .site-header.is-scrolled {
    height: 66px;
    border-bottom: 1px solid rgba(16, 22, 45, .1);
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 6px 24px rgba(7, 18, 43, .07);
  }

  .site-nav {
    grid-template-columns: 1fr auto;
    gap: 16px;
    padding-inline: 18px;
  }

  .site-logo,
  .site-header.is-scrolled .site-logo {
    width: 150px;
  }

  #burger,
  .site-header.is-scrolled #burger {
    width: 42px;
    height: 42px;
    min-height: 42px;
    gap: 4px;
    border: 1px solid var(--blue-night);
    border-radius: 0;
    background: var(--blue-night);
  }

  #burger span {
    width: 18px;
    height: 1px;
    border-radius: 0;
    background: #fff;
    transition: transform .3s var(--ease), opacity .2s ease;
  }

  body.menu-open #burger {
    background: #fff;
  }

  body.menu-open #burger span {
    background: var(--blue-night);
  }

  #menu-overlay {
    inset: 66px 0 0;
    min-height: calc(100dvh - 66px);
    justify-content: center;
    padding: 20px 20px calc(82px + env(safe-area-inset-bottom));
    background:
      linear-gradient(90deg, #0878b9 0 34%, #f47a3a 34% 67%, #65a851 67%) top / 100% 2px no-repeat,
      radial-gradient(circle at 100% 0, rgba(74, 184, 234, .14), transparent 37%),
      var(--blue-night);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    transform: translateY(-8px);
  }

  body.menu-open #menu-overlay {
    transform: none;
  }

  body.menu-open .site-header {
    border-bottom-color: rgba(16, 22, 45, .12);
    background: #fff;
    box-shadow: none;
  }

  #menu-overlay .menu-cols {
    display: block;
    width: 100%;
    max-width: 560px;
    margin-inline: auto;
  }

  #menu-overlay .menu-main {
    border-top: 1px solid rgba(255, 255, 255, .18);
  }

  #menu-overlay .menu-main li {
    border-bottom: 1px solid rgba(255, 255, 255, .14);
  }

  #menu-overlay .menu-main a {
    position: relative;
    min-height: 55px;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    padding: 0 12px 0 42px;
    text-align: left;
    color: #fff;
    font-family: var(--font-display);
    font-size: clamp(25px, 7.5vw, 32px);
    font-weight: 300;
    line-height: 1;
    letter-spacing: .035em;
  }

  #menu-overlay .menu-main em {
    position: absolute;
    left: 0;
    top: 50%;
    min-width: 22px;
    transform: translateY(-50%);
    color: var(--signature-sky);
    font-family: var(--font-signature);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: .16em;
  }

  #menu-overlay .menu-main a[aria-current="location"] {
    color: var(--signature-sky);
  }

  #menu-overlay .menu-main a[aria-current="location"]::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 5px;
    height: 5px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: var(--orange-hot);
    box-shadow: 0 0 0 4px rgba(244, 122, 58, .12);
  }

  #menu-overlay .menu-main a[aria-current="location"] em {
    display: none;
  }

  #menu-overlay .menu-side {
    display: none;
  }

  #menu-overlay .menu-call {
    min-height: 64px;
    width: 100%;
    margin-top: 20px;
    padding: 11px 10px 11px 16px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 0;
    background: rgba(255, 255, 255, .06);
    box-shadow: none;
    max-width: 560px;
    margin-inline: auto;
  }

  #menu-overlay .menu-call span {
    color: rgba(255, 255, 255, .58);
  }

  #menu-overlay .menu-call strong {
    color: #fff;
    font-size: 14px;
  }

  #menu-overlay .menu-call i {
    width: 40px;
    height: 40px;
    border-radius: 0;
    background: #8BC34A;
  }

  #menu-overlay .menu-foot {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 14px 18px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .16);
    width: 100%;
    max-width: 560px;
    margin-inline: auto;
  }

  #menu-overlay .menu-socials {
    grid-column: 1 / -1;
    gap: 22px;
  }

  #menu-overlay .menu-socials a,
  #menu-overlay .menu-mail,
  #menu-overlay .menu-tel {
    color: rgba(255, 255, 255, .68);
    font-size: 8px;
    letter-spacing: .16em;
  }

  #menu-overlay .menu-mail {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  #menu-overlay .menu-tel {
    color: #fff;
    white-space: nowrap;
  }
}

@media (max-width: 768px) and (max-height: 760px) {
  #menu-overlay {
    justify-content: flex-start;
    padding-top: 12px;
  }

  #menu-overlay .menu-main a {
    min-height: 46px;
    font-size: 24px;
  }

  #menu-overlay .menu-call {
    min-height: 56px;
    margin-top: 14px;
  }

  #menu-overlay .menu-foot {
    margin-top: 14px;
    padding-top: 14px;
  }
}

@media (max-width: 380px) {
  #menu-overlay { padding-inline: 16px; }
  #menu-overlay .menu-main a {
    min-height: 50px;
    padding-left: 38px;
    font-size: clamp(22px, 7.2vw, 27px);
  }
  #menu-overlay .menu-call { margin-top: 16px; }
  #menu-overlay .menu-foot { gap: 12px; margin-top: 16px; }
  #menu-overlay .menu-mail { max-width: 190px; }
}

@media (max-width: 768px) {
  #intro { display: none !important; }

  .mobile-contact-bar a:first-child {
    background: var(--orange-hot);
    color: #fff;
  }

  .mobile-contact-bar a + a {
    background: var(--blue-sky) !important;
    color: #fff;
  }

  .apropos .ap-conclusion,
  .apropos .ap-values {
    display: none !important;
  }

  .apropos { padding-block: 0 !important; }
  .apropos .mobile-about { display: block !important; }
  .apropos .ap-highlights {
    margin-top: 0 !important;
    padding-block: 0 !important;
  }
}

html:not(.js) .opening-scene {
  height: 100svh;
}

html:not(.js) .opening-curtain {
  display: none;
}

/* ═══════════════════════════════════════════════════════════
   EXPERTISES + MÉTHODE — chapitre narratif fusionné
   ═══════════════════════════════════════════════════════════ */
#expertises.bloc-expertises {
  position: relative;
  isolation: isolate;
  /* Un overflow contraint transforme ce parent en conteneur de défilement
     et empêche l'image de la méthode de rester sticky dans la page. */
  overflow: visible;
  padding-top: clamp(108px, 11vw, 162px);
  padding-bottom: 0;
  /* background:
    linear-gradient(rgba(120, 160, 187, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 160, 187, .025) 1px, transparent 1px),
    radial-gradient(54% 30% at 22% 13%, rgba(49, 125, 169, .13), transparent 72%),
    #10182b; */
  background-size: 78px 78px, 78px 78px, auto, auto;
  --ink: var(--signature-white);
  --ink-2: rgba(230, 239, 245, .74);
  --ink-3: rgba(198, 216, 228, .48);
  --line: var(--signature-steel-a20);
  --accent: var(--signature-sky-strong);
  --bg: #10182b;
}

#expertises>.col:first-child {
  padding-bottom: clamp(70px, 8vw, 112px);
}

#expertises>.col:first-child>.section-head {
  position: relative;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--signature-steel-a20);
}

#expertises>.col:first-child>.section-head::after {
  content: "UF / COMPÉTENCES — 03";
  position: absolute;
  right: 0;
  bottom: 12px;
  color: rgba(196, 217, 229, .38);
  font-size: 8px;
  letter-spacing: .18em;
}

#expertises #process.process-chapter {
  position: relative;
  padding: clamp(48px, 6vw, 86px) 0 clamp(110px, 10vw, 154px);
  background: transparent;
  color: var(--signature-white);
}

#expertises #process::before {
  content: "MÉTHODE / 04";
  position: absolute;
  z-index: -1;
  top: 0;
  right: max(4vw, calc((100vw - 1240px) / 2));
  color: transparent;
  font-size: clamp(68px, 10vw, 148px);
  font-weight: 500;
  line-height: .8;
  letter-spacing: -.06em;
  -webkit-text-stroke: 1px rgba(177, 207, 225, .075);
  white-space: nowrap;
  pointer-events: none;
}

#expertises #process .process-heading {
  grid-template-columns: minmax(0, 1fr) minmax(280px, .72fr);
  column-gap: clamp(50px, 8vw, 112px);
  margin-bottom: clamp(74px, 8vw, 112px);
  padding-bottom: 42px;
  border-bottom: 1px solid rgba(151, 184, 204, .22);
}

#expertises #process .process-heading .section-kicker {
  color: var(--signature-sky);
}

#expertises #process .process-heading .section-titre {
  max-width: 800px;
  color: var(--signature-white);
  font-size: clamp(38px, 4.4vw, 58px);
  line-height: 1.02;
  letter-spacing: -.045em;
  text-wrap: balance;
}

#expertises #process .process-heading>p:last-child {
  color: rgba(218, 231, 239, .62);
  font-size: 14px;
  line-height: 1.8;
}

#expertises #process .process-layout {
  grid-template-columns: minmax(330px, .96fr) 54px minmax(390px, 1.04fr);
  gap: clamp(22px, 3vw, 46px);
  align-items: start;
}

#expertises #process .process-visual {
  position: sticky;
  top: 100px;
}

#expertises #process .process-images {
  position: relative;
  aspect-ratio: .83;
  max-height: 72vh;
  border: 1px solid rgba(161, 192, 211, .3);
  border-radius: 1px;
  background: #0b1422;
  box-shadow: 0 30px 70px rgba(0, 4, 14, .3);
}

#expertises #process .process-images::before {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 10px;
  pointer-events: none;
  background:
    linear-gradient(var(--signature-sky), var(--signature-sky)) left top / 26px 1px no-repeat,
    linear-gradient(var(--signature-sky), var(--signature-sky)) left top / 1px 26px no-repeat,
    linear-gradient(var(--signature-ice-a65), var(--signature-ice-a65)) right bottom / 18px 1px no-repeat,
    linear-gradient(var(--signature-ice-a65), var(--signature-ice-a65)) right bottom / 1px 18px no-repeat;
  opacity: .62;
}

#expertises #process .process-images::after {
  z-index: 1;
  /* background:
    linear-gradient(rgba(137, 177, 202, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(137, 177, 202, .07) 1px, transparent 1px),
    linear-gradient(0deg, rgba(5, 13, 24, .88), transparent 58%);
  background-size: 54px 54px, 54px 54px, auto; */
}

#expertises #process .process-images img {
  filter: saturate(.78) contrast(1.05) brightness(.82);
  transform: scale(1.035);
  transition: opacity .68s ease, transform .78s var(--ease), filter .68s ease;
}

#expertises #process .process-images img:nth-child(2) {
  object-fit: contain;
  background: var(--signature-panel);
  filter: saturate(.65) contrast(1.03) brightness(.78);
}

#expertises #process .process-images img.is-active {
  filter: saturate(.86) contrast(1.04) brightness(.9);
  transform: scale(1);
}

#expertises #process .process-image-index {
  z-index: 4;
  bottom: 22px;
  left: 24px;
  color: var(--signature-white-a88);
  font-size: clamp(76px, 8vw, 116px);
}

#expertises #process .process-image-label {
  z-index: 4;
  right: 24px;
  bottom: 30px;
  color: var(--signature-white);
  font-size: 9px;
  letter-spacing: .2em;
}

.process-image-coordinates {
  position: absolute;
  z-index: 4;
  top: 24px;
  right: 24px;
  color: rgba(226, 238, 245, .56);
  font-size: 7px;
  letter-spacing: .16em;
}

#expertises #process .process-nav {
  gap: 0;
  margin-top: 14px;
  border-inline: 1px solid var(--signature-steel-a15);
}

#expertises #process .process-nav a {
  min-width: 0;
  min-height: 58px;
  padding: 11px 10px 8px;
  border-top: 1px solid rgba(151, 184, 204, .24);
  border-right: 1px solid var(--signature-steel-a15);
  color: rgba(202, 220, 231, .42);
  font-size: 10px;
}

#expertises #process .process-nav a:last-child {
  border-right: 0;
}

#expertises #process .process-nav a[aria-current] {
  border-top-color: var(--signature-sky-strong);
  color: var(--signature-white);
  background: rgba(90, 185, 231, .055);
}

#expertises #process .process-nav a span {
  color: inherit;
  font-size: 8px;
  letter-spacing: .08em;
}

#expertises #process .process-rail {
  position: sticky;
  top: 158px;
  display: grid;
  gap: 28px;
  padding-top: 6px;
}

#expertises #process .process-rail span {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: center;
  gap: 8px;
  color: rgba(190, 210, 222, .27);
  font-size: 8px;
  letter-spacing: .12em;
  transition: color .35s ease;
}

#expertises #process .process-rail i {
  display: block;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform-origin: left;
  transition: background-color .35s ease, transform .45s var(--ease);
}

#expertises #process .process-rail span.is-active {
  color: var(--signature-white);
}

#expertises #process .process-rail span.is-active i {
  background: var(--signature-sky-strong);
  transform: scaleX(1.28);
}

#expertises #process .listeprocess {
  display: block;
  margin: 0;
  padding: 0;
}

#expertises #process .listeprocess li {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  align-content: center;
  gap: 0 22px;
  min-height: clamp(330px, 30vh, 440px);
  padding: 52px 0;
  border: 0;
  border-top: 1px solid rgba(151, 184, 204, .18);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  scroll-margin-top: 120px;
}

#expertises #process .listeprocess li:last-child {
  min-height: clamp(310px, 41vh, 410px);
}

#expertises #process .listeprocess li::before {
  display: none;
}

#expertises #process .listeprocess li::after {
  display: block;
  right: auto;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--signature-sky-strong), rgba(90, 185, 231, .16));
  transform: scaleX(var(--step-progress, 0));
}

#expertises #process .proc-top {
  display: contents;
}

#expertises #process .proc-index {
  grid-column: 1;
  grid-row: 1 / 4;
  color: rgba(170, 196, 211, .32);
  font-size: 52px;
  transition: color .4s ease;
}

#expertises #process .proc-step {
  grid-column: 2;
  margin-bottom: 16px;
  color: #65b8df;
  font-size: 9px;
  letter-spacing: .2em;
}

#expertises #process .proc-titre {
  grid-column: 2;
  max-width: 620px;
  margin-bottom: 20px;
  color: var(--signature-white);
  font-size: clamp(34px, 3.4vw, 50px);
  line-height: 1.04;
}

#expertises #process .proc-desc {
  grid-column: 2;
  max-width: 38ch;
  color: rgba(218, 231, 239, .65);
  font-size: 14px;
  line-height: 1.8;
}

#expertises #process .process-step.is-active .proc-index {
  color: #e9f5fa;
}

.process-step-mobile-image {
  display: none;
}

#expertises #process .process-conclusion {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 40px;
  margin-top: clamp(70px, 8vw, 110px);
  padding-top: 42px;
  border-top: 1px solid rgba(151, 184, 204, .23);
}

#expertises #process .process-conclusion p {
  margin: 0;
  color: var(--signature-white);
  font-family: var(--font-signature);
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.04;
  letter-spacing: -.045em;
}

#expertises #process .process-conclusion p span {
  display: block;
  margin-bottom: 18px;
  color: #67bce3;
  font-family: var(--font-body);
  font-size: 9px;
  letter-spacing: .2em;
}

#expertises #process .process-conclusion a {
  min-width: 235px;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 16px;
  border: 1px solid rgba(165, 196, 214, .38);
  color: var(--signature-white);
  font-size: 10px;
  letter-spacing: .13em;
  text-decoration: none;
  text-transform: uppercase;
  transition: border-color .3s ease, background-color .3s ease;
}

#expertises #process .process-conclusion a i {
  font-size: 18px;
  font-style: normal;
  transition: transform .3s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  #expertises #process .process-conclusion a:hover {
    border-color: var(--signature-sky-strong);
    background: rgba(90, 185, 231, .08);
  }

  #expertises #process .process-conclusion a:hover i {
    transform: translate(3px, -3px);
  }
}

@media (max-width: 1050px) {
  #expertises #process .process-layout {
    grid-template-columns: minmax(300px, .9fr) 42px minmax(360px, 1.1fr);
    gap: 20px;
  }

  #expertises #process .listeprocess li {
    grid-template-columns: 58px 1fr;
  }

  #expertises #process .proc-index {
    font-size: 42px;
  }
}

@media (max-width: 900px) {
  #expertises #process .process-heading {
    display: block;
    margin-bottom: 58px;
  }

  #expertises #process .process-heading>p:last-child {
    margin-top: 26px;
  }

  #expertises #process .process-layout {
    display: block;
  }

  #expertises #process .process-visual,
  #expertises #process .process-rail {
    display: none;
  }

  #expertises #process .listeprocess li,
  #expertises #process .listeprocess li:last-child {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    min-height: 0;
    padding: 44px 0 50px;
    scroll-margin-top: 86px;
  }

  #expertises #process .process-step-mobile-image {
    grid-column: 1 / -1;
    display: block;
    position: relative;
    aspect-ratio: 1.55;
    margin: 0 0 38px;
    overflow: hidden;
    border: 1px solid rgba(151, 184, 204, .25);
  }

  #expertises #process .process-step-mobile-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(5, 13, 24, .45), transparent 58%);
    pointer-events: none;
  }

  #expertises #process .process-step-mobile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(.8) brightness(.86);
  }

  #expertises #process .process-step:nth-child(2) .process-step-mobile-image img {
    object-fit: contain;
    background: var(--signature-panel);
  }

  #expertises #process .proc-index {
    font-size: 40px;
  }
}

@media (max-width: 640px) {
  #expertises.bloc-expertises {
    padding-top: calc(var(--header-safe) + 48px);
    background-size: 52px 52px, 52px 52px, auto, auto;
  }

  #expertises>.col:first-child {
    padding-bottom: 48px;
  }

  #expertises>.col:first-child>.section-head::after {
    display: none;
  }

  #expertises #process.process-chapter {
    padding-top: 32px;
    padding-bottom: 82px;
  }

  #expertises #process::before {
    right: 18px;
    font-size: 56px;
  }

  #expertises #process .process-heading {
    padding-bottom: 34px;
  }

  #expertises #process .process-heading .section-titre {
    font-size: clamp(38px, 11vw, 52px);
  }

  #expertises #process .listeprocess li,
  #expertises #process .listeprocess li:last-child {
    grid-template-columns: 42px 1fr;
    padding: 36px 0 44px;
    gap: 0 14px;
  }

  #expertises #process .process-step-mobile-image {
    margin-bottom: 30px;
    aspect-ratio: 1.28;
  }

  #expertises #process .proc-index {
    font-size: 34px;
  }

  #expertises #process .proc-titre {
    font-size: clamp(29px, 9vw, 38px);
  }

  #expertises #process .proc-desc {
    font-size: 13px;
    line-height: 1.72;
  }

  #expertises #process .process-conclusion {
    display: block;
    margin-top: 58px;
  }

  #expertises #process .process-conclusion a {
    width: 100%;
    margin-top: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {

  #expertises #process .process-images img,
  #expertises #process .process-rail span,
  #expertises #process .process-rail i,
  #expertises #process .process-conclusion a,
  #expertises #process .process-conclusion a i {
    transition: none;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: calc(62px + env(safe-area-inset-bottom));
  }

  .site-nav .nav-project, .site-nav .nav-phone {
    display: none !important;
  }

  .opening-scene {
    height: min(78svh, 720px) !important;
    min-height: 570px !important;
  }

  #intro .opening-stage {
    position: relative !important;
    height: 100% !important;
    min-height: 0 !important;
  }

  .opening-curtain, .hero-project-note, .hero-coordinate {
    display: none !important;
  }

  #intro .hero-content {
    inset: auto 20px 92px !important;
    padding: 0 !important;
  }

  #hero-title .hero-line:nth-child(n+3) {
    display: none !important;
  }

  #partenaires, #bureau-etudes, #precision {
    display: none !important;
  }

  .mobile-expertises, .mobile-project-gallery {
    display: block !important;
  }

  .mobile-projects-all {
    display: flex !important;
  }

  #projets .clients-grid {
    display: block !important;
  }

  #projets .client-card {
    width: 100% !important;
    margin-bottom: 42px !important;
  }

  #projets .client-card:nth-child(n+4) {
    display: none !important;
  }

  #projets .client-card[data-client-gallery] .client-main,
  #projets .client-card[data-client-gallery] .client-thumbnails {
    display: none !important;
  }

  #expertises #process .process-layout {
    display: block !important;
  }

  #expertises #process .process-visual, #expertises #process .process-rail {
    display: none !important;
  }

  #expertises #process .process-step-mobile-image {
    display: block !important;
  }

  #secteurs .secteurs-grid {
    display: flex !important;
    grid-template-columns: none !important;
  }

  #secteurs .secteur-card {
    flex: 0 0 85% !important;
    width: 85% !important;
  }

  #sav .galerie-inner {
    display: block !important;
  }

  #bas .footer-cta, #bas .basint {
    display: none !important;
  }

  #bas .footer-practical-map iframe {
    height: 300px !important;
  }

  .mobile-contact-bar {
    display: grid !important;
  }
}

/* Zones tactiles des petits liens agrandies sur mobile, sans déplacer le texte :
   la marge intérieure verticale est compensée par une marge négative égale. */
@media (max-width: 768px) {
  .contact-coords a,
  #menu-overlay .menu-socials a,
  #menu-overlay .menu-mail,
  #menu-overlay .menu-tel {
    padding-block: 6px;
    margin-block: -6px;
  }

  .footer-practical-phone a {
    padding-block: 6px;
    margin-block: 6px -6px;
  }

  .mentions a {
    padding-block: 12px;
  }
}

/* Appel du menu : même langage que les CTA rectangulaires du site. */
@media (max-width: 959px) {
  #menu-overlay .menu-call {
    min-height: 66px;
    width: min(100%, 560px);
    margin-inline: 0;
    padding: 12px 18px 12px 24px;
    column-gap: 12px;
    border: 1px solid var(--blue-night);
    border-radius: 0;
    background: var(--blue-night);
    color: #fff;
    box-shadow: none;
    transition: background-color .25s ease, border-color .25s ease;
  }

  #menu-overlay .menu-call span {
    color: rgba(255, 255, 255, .72);
    opacity: 1;
    font-size: 10px;
    letter-spacing: .12em;
  }

  #menu-overlay .menu-call strong {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: .035em;
  }

  #menu-overlay .menu-call i {
    width: 38px;
    height: 38px;
    border: 0;
    border-left: 1px solid rgba(255, 255, 255, .35);
    border-radius: 0;
    background: transparent;
    color: #fff;
    font-size: 21px;
    transition: transform .25s ease;
  }

  #menu-overlay .menu-call:hover {
    border-color: var(--blue-deep);
    background: var(--blue-deep);
  }

  #menu-overlay .menu-call:hover i { transform: translate(2px, -2px); }
}

@media (max-width: 768px) {
  #menu-overlay .menu-call { margin-inline: auto; }
}

@media (max-width: 768px) {
  #menu-overlay .menu-call {
    border-color: #fff;
    background: #fff;
    color: var(--blue-night);
  }

  #menu-overlay .menu-call span { color: #647185; }
  #menu-overlay .menu-call strong,
  #menu-overlay .menu-call i { color: var(--blue-night); }
  #menu-overlay .menu-call i { border-left-color: rgba(16, 22, 45, .2); }
  #menu-overlay .menu-call:hover {
    border-color: #dceaf3;
    background: #dceaf3;
  }
}
