.tmo-inner-header { position: relative; z-index: 5; background: var(--tmo-paper); }
.tmo-inner-header [aria-current="page"] { background: #eae5f5; color: var(--tmo-brand); }
.tmo-inner .tmo-footer-top { margin-bottom: 0; }
:is(.tmo-info-hero, .tmo-career-hero, .tmo-service-intro) > figure {
  mask-image: linear-gradient(to bottom, #000 72%, #000e 82%, #0009 91%, #0003 97%, transparent);
}
.tmo-inner-crumbs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 25px;
  padding-block: 21px;
  border-bottom: 1px solid #30267820;
}
.tmo-inner-crumbs > a { color: var(--tmo-brand); font-weight: 640; font-size: 14px; }
.tmo-inner-crumbs > a:hover { text-decoration: underline; }
.tmo-inner-crumbs nav { display: flex; flex-wrap: wrap; gap: 6px; }
.tmo-inner-crumbs nav a { padding: 6px 12px; border: 1px solid #30267830; border-radius: 99px; font-size: 13px; font-weight: 630; }
.tmo-inner-crumbs nav a:hover { background: #ede8f6; color: var(--tmo-brand); }
.tmo-inner-crumbs nav a[aria-current="page"] { background: var(--tmo-brand); color: #fff; border-color: var(--tmo-brand); }

.tmo-service-intro {
  display: grid;
  grid-template-columns: minmax(0,.87fr) minmax(0,1.13fr);
  align-items: center;
  gap: clamp(22px, 5vw, 80px);
  padding-block: clamp(28px, 4.9vw, 76px) clamp(34px, 6.4vw, 96px);
}
.tmo-service-copy h1, .tmo-inner main h2 { font-weight: 700; line-height: 1.02; letter-spacing: -.065em; }
.tmo-service-copy h1 { font-size: clamp(55px, 6.8vw, 104px); color: var(--tmo-brand); }
.tmo-service-copy p:not(.tmo-eyebrow) { margin-block: 20px 26px; max-width: 41ch; color: var(--tmo-muted); font-size: clamp(16px, 1.37vw, 20px); }
.tmo-service-intro figure { overflow: clip; border-radius: 22px; background: var(--tmo-paper); border: 1px solid #3026781c; }
.tmo-service-intro img { width: 100%; height: auto; aspect-ratio: 1.32; object-fit: cover; }
.tmo-inner main h2 { font-size: clamp(32px, 4vw, 54px); }
.tmo-service-details { padding-bottom: clamp(35px, 5vw, 66px); }
.tmo-use-cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 23px; }
.tmo-use-cases article {
  padding: clamp(16px, 2.3vw, 29px);
  border: 1px solid #30267820;
  border-radius: 14px;
  background: var(--tmo-paper);
}
.tmo-use-cases h3 { font-weight: 700; font-size: clamp(20px, 2.05vw, 28px); line-height: 1.18; letter-spacing: -.045em; }
.tmo-use-cases p { color: var(--tmo-muted); margin-top: 9px; }
.tmo-service-contact, .tmo-fleet-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 23px;
  flex-wrap: wrap;
  padding: clamp(23px, 4vw, 51px);
  border-radius: 17px;
  background: #211747;
  color: #fff;
}
.tmo-service-contact ul { padding-inline-start: 20px; margin-bottom: 0; }
.tmo-service-contact li + li { margin-top: 3px; }
.tmo-service-contact li::marker { color: var(--tmo-gold); }
.tmo-contact-actions { display: flex; flex-direction: column; align-items: start; gap: 12px; }
.tmo-service-contact .tmo-text-link { color: #f6eafa; border-color: #f6eafa85; }
.tmo-service-source { padding-block: 20px 30px; color: var(--tmo-muted); font-size: 13px; }
.tmo-service-source a:hover { text-decoration: underline; }
.tmo-fleet-contact { margin-block: clamp(28px, 4.5vw, 65px); }
.tmo-fleet-contact p { margin-top: 9px; color: #ebe3f4; }

@media (max-width: 720px) {
  .tmo-inner-crumbs { padding-block: 15px; gap: 10px; }
  .tmo-inner-crumbs nav a { padding-inline: 9px; font-size: 12px; }
  .tmo-service-intro { grid-template-columns: 1fr; }
  .tmo-service-copy h1 { font-size: clamp(43px, 11vw, 72px); }
  .tmo-service-intro figure { border-radius: 14px; }
  .tmo-use-cases { grid-template-columns: 1fr; gap: 9px; margin-top: 16px; }
}

/* TMO — organisation éditoriale, photographies originales et titres compacts. */
.tmo-header { grid-template-columns:auto minmax(0,1fr) auto; gap:clamp(14px,1.6vw,24px); }
.tmo-nav { justify-self:center; gap:2px; padding:4px 7px; }
.tmo-nav a { padding:9px 10px; font-size:12px; }
.tmo-nav a[aria-current="page"] { color:var(--tmo-brand); background:#eeebf7; }
.tmo-editorial-photo { overflow:hidden; border-radius:18px; background:#f0edf5; }
.tmo-editorial-photo img { width:100%; height:auto; object-fit:cover; }
.tmo-photo-finish { filter:brightness(1.025) contrast(1.035) saturate(1.025); }
.tmo-editorial-split { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); align-items:center; gap:clamp(25px,5vw,76px); }
.tmo-editorial-split p:not(.tmo-eyebrow) { color:var(--tmo-muted); margin-block:18px 23px; max-width:58ch; }
.tmo-editorial-split h2 { max-width:18ch; }
.tmo-editorial-split img { aspect-ratio:1.5; }
.tmo-number-section { background:#f2eff8; padding-block:clamp(35px,5vw,65px); }
.tmo-number-section h2 { margin-bottom:28px; }
.tmo-number-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; }
.tmo-number-grid>div { padding-left:23px; border-left:1px solid #30267832; }
.tmo-number-grid>div:first-child { padding-left:0; border:0; }
.tmo-number-grid dt { color:var(--tmo-brand); font-weight:700; font-size:clamp(32px,4vw,55px); letter-spacing:-.06em; line-height:1.1; }
.tmo-number-grid dd { color:var(--tmo-muted); margin-top:8px; font-size:14px; }
.tmo-number-grid small { font-size:.62em; }
.tmo-section-intro { max-width:66ch; color:var(--tmo-muted); margin-top:18px; }
.tmo-values-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; margin-top:28px; }
.tmo-values-grid article { border:1px solid #30267822; border-radius:15px; padding:clamp(20px,2.7vw,36px); background:#fff; }
.tmo-values-grid h3 { font-weight:700; font-size:clamp(21px,2.1vw,28px); letter-spacing:-.04em; line-height:1.15; }
.tmo-values-grid p { color:var(--tmo-muted); margin-top:12px; }
.tmo-team-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; margin-top:28px; }
.tmo-team-grid article { padding:26px; border-radius:15px; background:#f2eff8; border:1px solid #3026781c; }
.tmo-team-grid h3 { color:var(--tmo-brand); font-size:23px; font-weight:700; line-height:1.2; letter-spacing:-.04em; }
.tmo-team-grid p { color:var(--tmo-muted); margin-top:9px; }
.tmo-reference-list { display:flex; flex-wrap:wrap; gap:10px; list-style:none; padding:0; margin:25px 0 0; }
.tmo-reference-list li { padding:9px 17px; border:1px solid #30267830; border-radius:99px; background:#fff; font-weight:650; }
.tmo-timeline { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; list-style:none; margin:30px 0 0; padding:0; }
.tmo-timeline li { display:grid; grid-template-columns:70px minmax(0,1fr); gap:20px; padding:26px; border:1px solid #30267822; border-radius:15px; }
.tmo-timeline time { color:var(--tmo-brand); font-size:27px; font-weight:700; letter-spacing:-.06em; }
.tmo-timeline h3 { font-size:23px; font-weight:700; letter-spacing:-.04em; line-height:1.18; }
.tmo-timeline p { margin-top:12px; color:var(--tmo-muted); }
.tmo-timeline li:last-child { grid-column:1/-1; background:#f2eff8; }
.tmo-quote { background:#f2eff8; padding:clamp(27px,5vw,70px); border-radius:18px; margin:0; }
.tmo-quote p { font-size:clamp(23px,2.5vw,36px); line-height:1.28; letter-spacing:-.045em; max-width:36ch; color:var(--tmo-brand); }
.tmo-quote cite { display:block; margin-top:20px; font-style:normal; font-size:14px; color:var(--tmo-muted); }
.tmo-news-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; margin-top:30px; }
.tmo-news-grid .tmo-service-card>img { aspect-ratio:1.5; }
.tmo-section-links { display:flex; flex-wrap:wrap; gap:10px; padding-block:25px; border-bottom:1px solid #30267822; }
.tmo-section-links a { border:1px solid #30267830; border-radius:99px; padding:8px 16px; font-size:14px; font-weight:620; }
.tmo-section-links a:hover { background:#eeebf7; color:var(--tmo-brand); }
.tmo-contact-service-grid a { display:block; margin-top:10px; width:fit-content; color:var(--tmo-brand); overflow-wrap:anywhere; }
.tmo-faq { margin-top:27px; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; align-items:start; }
.tmo-faq details { padding:20px; border:1px solid #30267825; border-radius:12px; background:#fff; }
.tmo-faq summary { display:flex; justify-content:space-between; gap:15px; font-weight:650; color:var(--tmo-brand); line-height:1.4; }
.tmo-faq summary::after { content:'+'; font-size:22px; line-height:1; }
.tmo-faq details[open] summary::after { content:'−'; }
.tmo-faq details p { color:var(--tmo-muted); margin-top:15px; }
.tmo-editorial-spacing { padding-block:clamp(45px,6vw,85px); }
.tmo-resource-fleet { margin-bottom:45px; }
.tmo-resource-fleet .tmo-editorial-photo img { aspect-ratio:1.6; object-fit:cover; }
.tmo-career-portrait img { aspect-ratio:1.34; object-position:center 35%; }
@media(min-width:701px) {
 .carnet-refonte .tmo-hero-copy { padding-block:clamp(48px,5vw,78px) clamp(280px,27vw,410px); }
 .carnet-refonte .tmo-hero h1 { max-width:none; font-size:clamp(38px,4.5vw,65px); line-height:1.08; letter-spacing:-.06em; text-wrap:nowrap; }
 .carnet-refonte .tmo-hero h1 br { display:none; }
 .carnet-refonte .tmo-hero .tmo-intro { max-width:52ch; margin-top:19px; font-size:18px; }
 .carnet-refonte .tmo-hero-art img { object-position:center 65%; filter:brightness(1.025) contrast(1.035) saturate(1.025); }
 .carnet-refonte .tmo-hero::before { background:linear-gradient(180deg,#fffffff0 0%,#ffffffe0 12%,#ffffffb5 29%,#ffffff12 54%,transparent 70%); }
}
@media(min-width:1000px) {
 body:is(.carnet-refonte,.route,.studio) main h1 { max-width:none; font-size:var(--tmo-desktop-title-size,clamp(32px,3.7vw,54px)); line-height:1.1; letter-spacing:-.055em; text-wrap:nowrap; white-space:nowrap; }
 body:is(.carnet-refonte,.route,.studio) main h1 br { display:none; }
 .tmo-wide-photo .tmo-info-hero>div { grid-template-columns:minmax(0,1fr) auto; grid-template-areas:'label label' 'title title' 'intro actions'; align-items:center; gap:17px 40px; }
 .tmo-wide-photo .tmo-info-hero h1 { margin:0; }
 .tmo-wide-photo .tmo-info-hero .tmo-info-lead { max-width:70ch; }
 .tmo-wide-photo .tmo-info-hero .tmo-actions { justify-content:end; }
 .tmo-career-heading { grid-template-columns:minmax(0,1fr); gap:18px; }
 .tmo-career-lead { display:flex; justify-content:space-between; align-items:center; gap:30px; }
 .tmo-career-lead>p { max-width:74ch; }
 .tmo-career-lead>.tmo-button { flex-shrink:0; }
 .carnet-refonte .tmo-hero h1 { font-size:var(--tmo-desktop-title-size,clamp(38px,4.5vw,65px)); }
}
@media(min-width:1001px) and (max-width:1180px) {
 .tmo-header { grid-template-columns:1fr auto; }
 .tmo-header .tmo-nav,.tmo-header .tmo-header-action { display:none; }
 .tmo-header .tmo-menu { display:block; justify-self:end; }
 .tmo-menu summary { color:var(--tmo-brand); background:#fff; border:1px solid #30267840; border-radius:99px; min-width:78px; min-height:42px; padding:10px 17px; }
 .tmo-menu summary::before { content:'Menu'; font-size:13px; font-weight:650; }
 .tmo-menu:not([open]) nav { display:none; }
 .tmo-menu nav { min-width:250px; background:#fff; color:var(--tmo-brand); border-color:#30267830; }
}
@media(max-width:700px) {
 .carnet-refonte .tmo-hero h1 { font-size:clamp(28px,7.7vw,45px); max-width:none; line-height:1.1; }
 .carnet-refonte .tmo-hero-art { aspect-ratio:1.79; }
 .carnet-refonte .tmo-hero-art img { object-fit:cover; object-position:center; height:100%; filter:brightness(1.025) contrast(1.035) saturate(1.025); }
 .tmo-editorial-split,.tmo-values-grid,.tmo-team-grid,.tmo-news-grid,.tmo-faq,.tmo-timeline { grid-template-columns:minmax(0,1fr); }
 .tmo-editorial-split h2 { max-width:none; }
 .tmo-editorial-split { gap:25px; }
 .tmo-number-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:27px 16px; }
 .tmo-number-grid>div { padding-left:16px; }
 .tmo-number-grid>div:nth-child(odd) { padding-left:0; border:0; }
 .tmo-number-grid dt { font-size:37px; }
 .tmo-number-grid dd { font-size:13px; }
 .tmo-timeline li { padding:20px; gap:15px; grid-template-columns:58px minmax(0,1fr); }
 .tmo-timeline time { font-size:24px; }
 .tmo-timeline h3 { font-size:21px; }
 .tmo-hero-copy>.tmo-actions { margin-bottom:24px; }
 .tmo-team-grid article { padding:22px; }
}

/* Frise TMO : axe continu, étapes alternées et lecture verticale sur mobile. */
.tmo-timeline { position:relative; display:block; padding-block:4px; }
.tmo-timeline::before { content:''; position:absolute; top:20px; bottom:20px; left:50%; width:2px; transform:translateX(-50%); background:linear-gradient(#302678,#8070bb 75%,#ffcb19); }
.tmo-timeline li { position:relative; display:block; width:calc(50% - 34px); margin:0 0 25px; padding:27px; background:#fff; }
.tmo-timeline li:nth-child(even) { margin-left:calc(50% + 34px); }
.tmo-timeline li::before { content:''; position:absolute; z-index:1; top:34px; right:-43px; width:18px; height:18px; border-radius:50%; background:#302678; border:4px solid #fff; box-shadow:0 0 0 2px #302678; }
.tmo-timeline li::after { content:''; position:absolute; top:42px; right:-34px; height:1px; width:34px; background:#30267860; }
.tmo-timeline li:nth-child(even)::before { right:auto; left:-43px; }
.tmo-timeline li:nth-child(even)::after { right:auto; left:-34px; }
.tmo-timeline time { display:inline-block; padding:5px 10px; margin-bottom:15px; border-radius:7px; background:#f2eff8; color:#302678; font-size:25px; }
.tmo-timeline li:last-child { width:calc(50% - 34px); background:#f2eff8; margin-bottom:0; }
.tmo-timeline li:last-child::before { background:#ffcb19; box-shadow:0 0 0 2px #b38b00; }
.tmo-timeline li:last-child time { background:#ffcb19; color:#211747; }
@media(max-width:760px) {
 .tmo-timeline::before { left:10px; }
 .tmo-timeline li,.tmo-timeline li:nth-child(even),.tmo-timeline li:last-child { width:calc(100% - 42px); margin-left:42px; padding:22px; }
 .tmo-timeline li::before,.tmo-timeline li:nth-child(even)::before { right:auto; left:-41px; }
 .tmo-timeline li::after,.tmo-timeline li:nth-child(even)::after { right:auto; left:-32px; width:32px; }
}

.tmo-number-section h2 { font-size:clamp(30px,3.4vw,48px); font-weight:700; line-height:1.08; letter-spacing:-.055em; }
.tmo-company-grid article h3 { font-size:clamp(22px,2.1vw,30px); font-weight:700; line-height:1.15; letter-spacing:-.04em; }
.tmo-company-grid article p { color:var(--tmo-muted); margin-top:12px; }
@media(min-width:701px) { .carnet-refonte .tmo-hero::before { background:linear-gradient(180deg,#fffffff5 0%,#fffffff2 16%,#ffffffdf 41%,#ffffff26 58%,transparent 70%); } }

.carnet.carnet-refonte #services .tmo-service-card { background:#f2eff8; border-color:#30267825; }

/* Conserver les sujets des photographies dans les bandeaux larges. */
.tmo-wide-photo .tmo-info-hero>figure { mask-image:none; -webkit-mask-image:none; }
.tmo-wide-photo .tmo-info-hero>figure img { object-position:center 82%; }
.tmo-service-card img[src*="tmo-route-figma"] { object-position:78% center; }
@media(max-width:760px) {
 .tmo-wide-photo .tmo-info-hero>figure img { height:auto; aspect-ratio:auto; object-fit:contain; object-position:center; }
}

/* En-tête TMO violet et or, assorti au pied de page. */
.tmo-inner-header { background:var(--tmo-brand) linear-gradient(110deg,transparent,#211952); border-bottom:1px solid #ffffff20; }
.tmo-hero>.tmo-header { width:100%; padding-inline:max(var(--tmo-edge),calc((100% - 1280px)/2)); background:var(--tmo-brand) linear-gradient(110deg,transparent,#211952); }
.tmo-header .tmo-brand { color:var(--tmo-gold); }
.tmo-header .tmo-brand span { color:var(--tmo-gold); }
.tmo-header .tmo-brand img { width:91px; padding:4px; border-radius:99px; background:#fff; }
.tmo-header .tmo-nav { background:#ffffff08; border-color:#ffffff24; box-shadow:none; }
.tmo-header .tmo-nav a { color:var(--tmo-gold); }
.tmo-header .tmo-nav a:hover,.tmo-header .tmo-nav a[aria-current="page"] { color:var(--tmo-gold); background:#ffffff14; }
.tmo-header .tmo-header-action { background:var(--tmo-gold); color:#211747; }
.tmo-header .tmo-header-action:hover { background:#ffdb50; }
.tmo-header :focus-visible { outline-color:var(--tmo-gold); }
.tmo-header .tmo-menu summary { background:#ffffff08; border-color:#ffcb1966; color:var(--tmo-gold); }
.tmo-header .tmo-menu summary:hover { background:#ffffff15; }
.tmo-header .tmo-menu nav { background:#302678; border-color:#ffffff35; color:var(--tmo-gold); }
.tmo-header .tmo-menu nav a { color:var(--tmo-gold); }
.tmo-header .tmo-menu nav a:hover,.tmo-header .tmo-menu nav a[aria-current="page"] { background:#ffffff18; color:var(--tmo-gold); }
.tmo-header .tmo-menu nav a:last-child { background:var(--tmo-gold); color:#211747; }
/* Une page courte conserve un pied de page au bas de l’écran. */
body.carnet-refonte { min-height:100vh; min-height:100svh; display:flex; flex-direction:column; }
body.carnet-refonte>main { flex:1 0 auto; min-width:0; }
body.carnet-refonte>header,body.carnet-refonte>footer { flex-shrink:0; }
@media(max-width:760px) {
 body.carnet-refonte main p,body.carnet-refonte.tmo-inner main p { text-align:start; hyphens:none; }
 .tmo-header .tmo-brand { gap:9px; }
 .tmo-header .tmo-brand span { font-size:12px; }
 .tmo-header .tmo-menu summary { min-width:86px; min-height:44px; }
 .tmo-header .tmo-menu nav a { min-height:44px; }
 .tmo-header .tmo-menu nav { max-height:calc(100svh - 100px); max-height:calc(100dvh - 100px); }
}

/* Palette finale : violet d’origine et typographie blanche dans l’en-tête. */
.tmo-inner-header,.tmo-hero>.tmo-header { background:var(--tmo-brand); }
.tmo-header .tmo-brand,.tmo-header .tmo-brand span,.tmo-header .tmo-nav a,.tmo-header .tmo-nav a:hover,.tmo-header .tmo-nav a[aria-current="page"] { color:#fff; }
.tmo-header .tmo-menu summary,.tmo-header .tmo-menu nav,.tmo-header .tmo-menu nav a,.tmo-header .tmo-menu nav a:hover,.tmo-header .tmo-menu nav a[aria-current="page"] { color:#fff; }
.tmo-header .tmo-header-action,.tmo-header .tmo-menu nav a:last-child { background:#916700; color:#fff; border:1px solid #ffcb19; box-shadow:inset 0 1px 0 #ffdc7666; }
.tmo-header .tmo-header-action:hover,.tmo-header .tmo-menu nav a:last-child:hover { color:#fff; background:#805b00; }

/* Cartes de contenu cohérentes sur l’ensemble de la plateforme. */
body.carnet-refonte main :is(.tmo-service-card,.tmo-values-grid article,.tmo-use-cases article,.tmo-company-grid article,.tmo-contact-details>div,.tmo-info-location-cards article,.tmo-team-grid article,.tmo-timeline li,.tmo-form-card) { background:#f2eff8; border-color:#30267825; }
body.carnet-refonte main .tmo-values-grid article .tmo-card-label { color:var(--tmo-brand); }
@media(max-width:760px) {
 .tmo-values-grid,.tmo-use-cases,.tmo-services-grid,.tmo-news-grid,.tmo-info-location-cards,.tmo-company-grid,.tmo-contact-details { grid-template-columns:minmax(0,1fr); }
 .tmo-values-grid article,.tmo-use-cases article { min-width:0; }
 body.carnet-refonte main :is(p,li,address) { overflow-wrap:break-word; }
 .tmo-form-card :is(input,select,textarea) { font-size:16px; max-width:100%; }
}

/* Présentation latérale du header avec le petit utilitaire conservé à droite. */
@media(min-width:1000px) {
 .carnet-refonte .tmo-hero-art { left:23%; right:0; }
 .carnet-refonte .tmo-hero-art img { object-position:right 65%; }
 .carnet-refonte .tmo-hero::before { background:linear-gradient(90deg,#fff 0%,#fff 30%,#fffffff0 40%,#ffffff99 52%,#ffffff22 63%,transparent 73%); }
 .carnet-refonte .tmo-hero .tmo-intro { max-width:36ch; }
 .carnet-refonte .tmo-hero-copy { padding-block:clamp(55px,6vw,90px) clamp(120px,13vw,195px); }
}
@media(min-width:701px) and (max-width:999px) {
 .carnet-refonte .tmo-hero { display:flex; flex-direction:column; }
 .carnet-refonte .tmo-hero::before { content:none; }
 .carnet-refonte .tmo-hero-art { position:relative; inset:auto; z-index:0; order:3; width:100%; aspect-ratio:1.79; }
 .carnet-refonte .tmo-hero-art img { height:100%; object-fit:cover; object-position:center; }
 .carnet-refonte .tmo-hero-copy { padding-block:40px 30px; }
}

.tmo-team-count { margin-top:18px; color:var(--tmo-muted); font-size:14px; }
.tmo-team-grid { grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); align-items:stretch; }
.tmo-team-grid .tmo-person-card { padding:17px; min-width:0; text-align:center; }
.tmo-person-photo { display:block; width:100%; padding:0; margin:0 0 13px; border:1px solid #30267820; border-radius:12px; background:#e8e1f5; overflow:hidden; aspect-ratio:1.1; transition:box-shadow .2s,transform .2s; }
.tmo-person-photo:is(:hover,:focus-visible) { box-shadow:0 8px 22px #30267822; transform:translateY(-2px); }
.tmo-person-photo :is(img,svg) { width:100%; height:100%; object-fit:cover; object-position:center 40%; }
.tmo-team-grid .tmo-person-card h3 { font-size:20px; line-height:1.2; }
.tmo-person-name { padding:4px 0; min-height:44px; border:0; background:none; color:var(--tmo-brand); font:inherit; font-weight:700; line-height:1.2; }
.tmo-person-name:hover { text-decoration:underline; text-underline-offset:4px; }
.tmo-team-grid .tmo-person-card>p { font-size:13px; line-height:1.45; margin-top:5px; }
.tmo-team-extra { margin-top:23px; border:1px solid #30267828; border-radius:14px; padding:0 20px; background:#f7f4fc; }
.tmo-team-extra>summary { display:flex; justify-content:space-between; align-items:center; gap:15px; padding-block:18px; color:var(--tmo-brand); font-weight:650; }
.tmo-team-extra>summary span { display:grid; place-items:center; min-width:30px; height:30px; border-radius:50%; background:var(--tmo-brand); color:#fff; font-size:13px; }
.tmo-team-extra>summary::after { content:'+'; font-size:22px; }
.tmo-team-extra[open]>summary::after { content:'−'; }
.tmo-team-extra .tmo-team-grid { margin-top:0; padding-bottom:20px; grid-template-columns:repeat(3,minmax(0,1fr)); }
.tmo-team-extra .tmo-person-card { display:grid; grid-template-columns:82px minmax(0,1fr); gap:0 15px; align-items:center; text-align:left; padding:15px; }
.tmo-team-extra .tmo-person-photo { width:82px; aspect-ratio:1; grid-row:1/3; margin:0; }
.tmo-team-extra .tmo-person-card h3,.tmo-team-extra .tmo-person-card p { grid-column:2; }
.tmo-team-extra .tmo-person-card h3 { font-size:18px; }
.tmo-person-dialog { width:min(620px,calc(100% - 32px)); max-height:calc(100svh - 40px); max-height:calc(100dvh - 40px); padding:34px; border:1px solid #30267825; border-radius:23px; background:#fff; color:#1d1929; overflow:auto; box-shadow:0 25px 90px #160f4a45; }
.tmo-person-dialog::backdrop { background:#1e164ca8; backdrop-filter:blur(4px); }
.tmo-person-dialog[open] { animation:tmo-profile-in .2s ease-out; }
.tmo-person-close { display:grid; place-items:center; position:absolute; top:10px; right:10px; width:44px; height:44px; border:0; border-radius:50%; background:#f2eff8; color:var(--tmo-brand); font-size:29px; line-height:1; }
.tmo-person-modal-heading { display:grid; grid-template-columns:116px minmax(0,1fr); gap:23px; align-items:center; margin-top:12px; }
.tmo-person-modal-photo { width:116px; aspect-ratio:1; border-radius:15px; overflow:hidden; background:#e8e1f5; }
.tmo-person-modal-photo :is(img,svg) { width:100%; height:100%; object-fit:cover; object-position:center 40%; }
.tmo-person-dialog h2 { font-size:32px; font-weight:700; line-height:1.1; letter-spacing:-.045em; margin:0; }
.tmo-person-dialog .tmo-eyebrow { margin-bottom:9px; font-size:11px; }
.tmo-person-modal-role { margin-top:11px; color:var(--tmo-muted); font-size:15px; }
.tmo-person-message,.tmo-person-achievements { border-top:1px solid #30267825; margin-top:25px; padding-top:23px; }
.tmo-person-dialog h3 { font-size:21px; font-weight:700; margin-bottom:10px; letter-spacing:-.035em; }
.tmo-person-message p,.tmo-person-achievements li { color:var(--tmo-muted); line-height:1.65; }
.tmo-person-coming { font-style:italic; }
:root.tmo-dialog-open { overflow:hidden; }
@keyframes tmo-profile-in { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:none; } }
@media(max-width:950px) { .tmo-team-extra .tmo-team-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:599px) {
 .tmo-team-grid,.tmo-team-extra .tmo-team-grid { grid-template-columns:minmax(0,1fr); }
 .tmo-team-grid .tmo-person-card { display:grid; grid-template-columns:88px minmax(0,1fr); gap:0 16px; padding:16px; align-items:center; text-align:left; }
 .tmo-team-grid .tmo-person-photo { width:88px; margin:0; aspect-ratio:1; grid-row:1/3; }
 .tmo-team-grid .tmo-person-card h3,.tmo-team-grid .tmo-person-card p { grid-column:2; }
 .tmo-team-grid .tmo-person-card h3 { font-size:19px; }
 .tmo-team-extra { padding-inline:12px; }
 .tmo-person-dialog { padding:24px; }
 .tmo-person-modal-heading { grid-template-columns:1fr; text-align:center; gap:17px; margin-top:18px; }
 .tmo-person-modal-photo { margin-inline:auto; width:112px; }
 .tmo-person-dialog .tmo-eyebrow { justify-content:center; }
 .tmo-person-dialog h2 { font-size:27px; }
}
@media(prefers-reduced-motion:reduce) { .tmo-person-photo,.tmo-person-dialog[open] { animation:none; transition:none; } }
@media(min-width:1000px) { .carnet-refonte .tmo-hero::before { background:linear-gradient(90deg,#fffffff0 0%,#ffffffe6 25%,#ffffffa3 37%,#ffffff4d 48%,#ffffff14 59%,transparent 68%); } }

/* Espacement commun des sections, y compris les pages de recrutement. */
.carnet-refonte main>.tmo-info-section { padding-bottom:clamp(40px,5.6vw,76px); }
.carnet-refonte main .tmo-info-first { padding-top:clamp(33px,6vw,81px); }
.carnet-refonte main :is(.tmo-values-grid,.tmo-use-cases,.tmo-company-grid,.tmo-services-grid,.tmo-news-grid) p { text-align:start; hyphens:none; }
.carnet-refonte .tmo-hero .tmo-intro { text-align:start; hyphens:none; }
@media(min-width:761px) { .tmo-values-grid { grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); } }
@media(max-width:760px) { .tmo-values-grid,.tmo-use-cases { gap:18px; } }

@media(min-width:900px) {
 .tmo-career-heading { grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr); align-items:center; gap:clamp(28px,4vw,60px); }
 .tmo-career-lead { display:block; }
 .tmo-career-lead>p { max-width:none; margin:0; text-align:start; }
 .tmo-career-lead>.tmo-button { margin-top:18px; }
 .carnet-refonte.tmo-inner main .tmo-career-heading h1 { font-size:var(--tmo-desktop-title-size,clamp(32px,3.3vw,50px)); white-space:nowrap; line-height:1.1; }
}
@media(max-width:899px) {
 .tmo-career-heading { grid-template-columns:minmax(0,1fr); gap:22px; }
 .tmo-career-lead { display:block; }
 .tmo-career-lead>.tmo-button { margin-top:18px; }
}

/* En-tête clair et même doré que l’action principale. */
.tmo-inner-header,.tmo-hero>.tmo-header { background:#f2eff8; border-bottom:1px solid #30267818; }
.tmo-header .tmo-brand,.tmo-header .tmo-brand span,.tmo-header .tmo-nav a,.tmo-header .tmo-nav a:hover,.tmo-header .tmo-nav a[aria-current="page"] { color:var(--tmo-brand); }
.tmo-header .tmo-nav { background:#ffffffb3; border-color:#30267816; box-shadow:0 4px 22px #30267807; }
.tmo-header .tmo-nav a:hover,.tmo-header .tmo-nav a[aria-current="page"] { background:#e7e0f3; }
.tmo-header .tmo-menu summary { background:#ffffffb3; border-color:#30267828; color:var(--tmo-brand); }
.tmo-header .tmo-menu summary:hover { background:#fff; }
.tmo-header .tmo-menu nav { background:#f2eff8; border-color:#30267828; color:var(--tmo-brand); }
.tmo-header .tmo-menu nav a,.tmo-header .tmo-menu nav a:hover,.tmo-header .tmo-menu nav a[aria-current="page"] { color:var(--tmo-brand); }
.tmo-header .tmo-menu nav a:hover,.tmo-header .tmo-menu nav a[aria-current="page"] { background:#e7e0f3; }
.tmo-header .tmo-header-action,.tmo-header .tmo-menu nav a:last-child { background:var(--tmo-gold); color:#211926; border:1px solid transparent; box-shadow:none; }
.tmo-header .tmo-header-action:hover,.tmo-header .tmo-menu nav a:last-child:hover { background:#ffdb50; color:#211926; }
.tmo-header :focus-visible { outline-color:var(--tmo-brand); }

@media(min-width:1000px) {
 .carnet-refonte .tmo-hero-art { left:0; right:0; }
 .carnet-refonte .tmo-hero-art img { object-position:center 70%; }
 .carnet-refonte .tmo-hero::before { background:linear-gradient(90deg,#0d0b18cc 0%,#0d0b18ba 27%,#0d0b1880 44%,#0d0b1838 64%,#0d0b1812 83%,transparent 100%); }
 .carnet-refonte .tmo-hero-copy h1,.carnet-refonte .tmo-hero-copy h1 em,.carnet-refonte .tmo-hero-copy>.tmo-eyebrow { color:#fff; }
 .carnet-refonte .tmo-hero .tmo-intro { color:#f3f0f8; }
 .carnet-refonte .tmo-hero-copy>.tmo-actions>.tmo-text-link { color:#fff; border-color:#ffffff99; }
}

.tmo-team-extra { padding:0; border:0; background:none; }
.tmo-team-extra>summary { display:inline-flex; justify-content:flex-start; width:fit-content; max-width:100%; gap:10px; min-height:44px; padding:11px 16px; border:1px solid #30267825; border-radius:12px; background:#f2eff8; font-size:14px; line-height:1.4; }
.tmo-team-extra>summary span { flex:0 0 auto; min-width:24px; height:24px; font-size:12px; }
.tmo-team-extra>summary::after { flex:0 0 auto; font-size:19px; margin-left:3px; }
.tmo-team-extra[open]>.tmo-team-grid { padding-top:20px; }

.tmo-road-divider { position:relative; width:100%; height:clamp(100px,11.2vw,160px); margin-top:0; overflow:hidden; isolation:isolate; }
.tmo-road-divider>svg { display:block; width:100%; height:100%; }
.tmo-wave-toggle { position:absolute; right:var(--tmo-edge); bottom:6px; z-index:2; display:grid; place-items:center; width:36px; height:36px; padding:0; border:1px solid #30267835; border-radius:50%; background:#fffffff0; color:#302678; }
.tmo-wave-toggle span { display:block; width:9px; height:12px; border-inline:2px solid currentColor; }
.tmo-wave-toggle[aria-pressed="true"] span { width:0; height:0; border:6px solid transparent; border-right:0; border-left:9px solid currentColor; margin-left:3px; }
@media(min-width:1000px) { .carnet-refonte .tmo-hero-copy { padding-bottom:clamp(95px,10vw,145px); } }
@media(max-width:599px) {
 .carnet-refonte .tmo-hero { grid-template-areas:'header' 'label' 'title' 'intro' 'photo' 'actions' 'wave'; }
 .tmo-hero>.tmo-road-divider { grid-area:wave; }
 .tmo-wave-toggle { width:40px; height:40px; bottom:2px; }
}
@media(min-width:600px) and (max-width:999px) { .tmo-road-divider { order:4; } }
@media(prefers-reduced-motion:reduce) { .tmo-wave-toggle { display:none; } }

.tmo-road-divider { height:clamp(86px,7.8vw,112px); }
.tmo-wave-toggle { width:32px; height:32px; bottom:0; }
@media(max-width:599px) { .tmo-wave-toggle { width:40px; height:40px; bottom:0; } }

.tmo-rse-gallery { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; margin-top:28px; }
.tmo-rse-gallery figure { min-width:0; padding:14px; border:1px solid #30267825; border-radius:18px; background:#f2eff8; overflow:hidden; }
.tmo-rse-gallery img { width:100%; height:clamp(240px,25vw,350px); object-fit:contain; border-radius:11px; }
.tmo-rse-gallery figcaption { padding:16px 7px 6px; font-size:14px; line-height:1.5; color:var(--tmo-muted); }
body.carnet-refonte main :is(.tmo-faq details,.tmo-account-identity,.tmo-request-aside) { background:#f2eff8; border-color:#30267825; }
.carnet-refonte :is(.tmo-info-hero,.tmo-career-hero,.tmo-service-intro)>figure { mask-image:none; -webkit-mask-image:none; }
@media(max-width:700px) { .tmo-rse-gallery { grid-template-columns:minmax(0,1fr); } }

/* Photos réelles, fondu et travelling Ken Burns très léger. */
.carnet-refonte .tmo-hero-slides { overflow:hidden; }
.carnet-refonte .tmo-hero-slides .tmo-hero-slide { position:absolute; inset:0; width:100%; height:100%; opacity:0; object-fit:cover; transition:opacity 1.5s ease-in-out; transform-origin:65% 60%; }
.carnet-refonte .tmo-hero-slides .tmo-hero-slide.is-active { opacity:1; animation:tmo-ken-burns 11s linear both; }
.carnet-refonte .tmo-hero-slides .tmo-hero-slide:nth-child(2) { object-position:75% 70%; transform-origin:75% 65%; }
.carnet-refonte .tmo-hero-slides .tmo-hero-slide:nth-child(3) { object-position:70% center; --tmo-ken-pan:1%; }
.carnet-refonte .tmo-hero-slides.is-paused .tmo-hero-slide { animation-play-state:paused; }
.tmo-road-divider { height:clamp(56px,5vw,76px); }
.tmo-hero-slideshow-toggle { width:36px; height:36px; bottom:8px; background:#171326b3; border-color:#ffffff70; color:#fff; }
@keyframes tmo-ken-burns { from { transform:scale(1.01) translateX(0); } to { transform:scale(1.075) translateX(var(--tmo-ken-pan,-1%)); } }
@media(max-width:999px) { .carnet-refonte .tmo-hero-slides .tmo-hero-slide { object-position:center; } }
@media(max-width:599px) { .tmo-hero-slideshow-toggle { width:44px; height:44px; bottom:6px; } }
@media(prefers-reduced-motion:reduce) { .carnet-refonte .tmo-hero-slides .tmo-hero-slide { animation:none!important; transition:none; } }

body.carnet-refonte.tmo-inner main h1.tmo-compact-page-title { grid-area:label; font-size:clamp(18px,1.7vw,24px); font-weight:700; line-height:1.3; letter-spacing:.015em; text-transform:none; white-space:normal; text-wrap:wrap; margin:0 0 16px; }
@media(min-width:1000px) { .tmo-wide-photo .tmo-history-intro>div { grid-template-areas:'label label' 'intro actions'; } body.carnet-refonte.tmo-inner main h1.tmo-compact-page-title { margin:0; } }

/* En-têtes éditoriaux communs ; l’accueil conserve son propre diaporama. */
.tmo-photo-page-hero { position:relative; isolation:isolate; width:100%; overflow:hidden; background:#171321; color:#fff; margin-bottom:clamp(40px,5vw,72px); }
.tmo-photo-page-image { position:absolute; inset:0; z-index:-2; width:100%; height:100%; object-fit:cover; object-position:center 80%; }
.tmo-photo-page-hero::before { content:''; position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,#0d0b18d1 0%,#0d0b18b8 28%,#0d0b187a 47%,#0d0b1829 70%,transparent 100%); }
.tmo-photo-page-copy { min-height:clamp(360px,32vw,460px); padding-block:clamp(48px,5.1vw,74px) clamp(80px,7vw,102px); display:flex; flex-direction:column; justify-content:center; align-items:flex-start; }
body.carnet-refonte.tmo-inner main .tmo-photo-page-copy h1 { max-width:680px; margin:0; font-size:var(--tmo-desktop-title-size,clamp(28px,3vw,44px)); line-height:1.12; letter-spacing:-.045em; font-weight:700; color:#fff; text-wrap:wrap; white-space:normal; }
.tmo-photo-page-copy h1::before { content:''; display:inline-block; width:8px; height:8px; margin:0 12px 5px 0; border-radius:50%; background:var(--tmo-gold); }
.tmo-photo-page-lead { max-width:53ch; margin-top:18px; font-size:clamp(16px,1.3vw,19px); line-height:1.6; color:#f4f1f8; text-align:start; hyphens:none; }
.tmo-photo-page-copy .tmo-actions { margin-top:24px; }
.tmo-photo-page-copy .tmo-text-link { color:#fff; border-color:#ffffffa0; }
.tmo-photo-page-image.tmo-photo-route { object-position:center 82%; }
.tmo-photo-page-image.tmo-photo-fleet { object-position:center 80%; }
.tmo-photo-page-image.tmo-photo-team { object-position:center 64%; }
.tmo-photo-page-image.tmo-photo-camion { object-position:center 58%; }
.tmo-photo-page-image.tmo-photo-depot { object-position:center 82%; }
.tmo-page-header-wave { position:absolute; inset:auto 0 -1px; z-index:2; width:100%; height:clamp(46px,5vw,72px); pointer-events:none; }
@media(max-width:999px) {
 .tmo-photo-page-hero { display:flex; flex-direction:column; }
 .tmo-photo-page-hero::before { content:none; }
 .tmo-photo-page-image { position:relative; inset:auto; z-index:0; order:2; width:100%; height:auto; max-height:360px; aspect-ratio:1.79; object-fit:cover; }
 .tmo-photo-page-copy { order:1; min-height:0; padding-block:35px 32px; }
 body.carnet-refonte.tmo-inner main .tmo-photo-page-copy h1 { font-size:clamp(26px,4vw,34px); }
 .tmo-photo-page-lead { max-width:62ch; margin-top:16px; font-size:16px; }
 .tmo-photo-page-copy .tmo-actions { margin-top:21px; }
 .tmo-page-header-wave { height:50px; }
}

/* Éviter l’arrondi de bordure des deux vues historiques sur très petit écran. */
body:is(.route,.studio) { overflow-x:clip; max-width:100%; }

/* Bordures des photos fondues dans le fond violet, sans recadrage. */
.tmo-rse-gallery figure { display:flex; flex-direction:column; }
.tmo-rse-gallery img { display:block; align-self:center; width:auto; max-width:100%; height:auto; max-height:clamp(240px,25vw,350px); margin-inline:auto; border-radius:14px; -webkit-mask-image:linear-gradient(90deg,transparent,#000b 3%,#000 8%,#000 92%,#000b 97%,transparent),linear-gradient(0deg,transparent,#000b 4%,#000 10%,#000 90%,#000b 96%,transparent); mask-image:linear-gradient(90deg,transparent,#000b 3%,#000 8%,#000 92%,#000b 97%,transparent),linear-gradient(0deg,transparent,#000b 4%,#000 10%,#000 90%,#000b 96%,transparent); -webkit-mask-composite:source-in; mask-composite:intersect; }
.tmo-rse-gallery figcaption { margin-top:auto; text-align:start; hyphens:none; }

/* Une respiration discrète de la vague, sans modifier la hauteur des blocs. */
:is(.tmo-hero,.tmo-photo-page-hero).tmo-wave-ready :is(.tmo-road-divider>svg,.tmo-page-header-wave)>path { transform-box:fill-box; transform-origin:center bottom; animation:tmo-wave-drift 5.5s ease-in-out infinite alternate; }
:is(.tmo-hero,.tmo-photo-page-hero).tmo-wave-paused :is(.tmo-road-divider>svg,.tmo-page-header-wave)>path { animation-play-state:paused; }
@keyframes tmo-wave-drift { from { transform:translateX(-3%) scale(1.12,1.2); } to { transform:translateX(3%) scale(1.12,2.3); } }
@supports(d:path("M0 0H1V1Z")) {
 @keyframes tmo-wave-drift {
  from { d:path("M0 86 C160 46 320 102 500 78 S820 48 1040 80 S1300 100 1440 72 V112 H0Z"); transform:translateX(-2.5%) scaleX(1.1); }
  to { d:path("M0 66 C160 104 320 44 500 72 S820 104 1040 68 S1300 44 1440 84 V112 H0Z"); transform:translateX(2.5%) scaleX(1.1); }
 }
}
.tmo-header-motion-toggle { position:absolute; z-index:3; right:var(--tmo-edge); bottom:23px; display:grid; place-items:center; width:36px; height:36px; padding:0; border:1px solid #ffffff70; border-radius:50%; background:#171326b3; color:#fff; cursor:pointer; }
.tmo-header-motion-toggle span { display:block; width:9px; height:12px; border-inline:2px solid currentColor; }
.tmo-header-motion-toggle[aria-pressed="true"] span { width:0; height:0; border:6px solid transparent; border-right:0; border-left:9px solid currentColor; margin-left:3px; }
.tmo-header-motion-toggle:focus-visible { outline:3px solid var(--tmo-gold); outline-offset:4px; }
@media(max-width:599px) { .tmo-header-motion-toggle { width:44px; height:44px; bottom:20px; } }
@media(prefers-reduced-motion:reduce) { :is(.tmo-hero,.tmo-photo-page-hero).tmo-wave-ready :is(.tmo-road-divider>svg,.tmo-page-header-wave)>path { animation:none; transform:none; } .tmo-header-motion-toggle { display:none; } }

/* Téléphones et tablettes : même composition photo, voile noir et vague que sur ordinateur. */
@media(max-width:999px) {
 .carnet-refonte .tmo-hero { display:block; background:#171321; }
 .carnet-refonte .tmo-hero>.tmo-hero-art { position:absolute; inset:0; z-index:-2; order:0; width:100%; height:100%; max-height:none; aspect-ratio:auto; margin:0; }
 .carnet-refonte .tmo-hero-art::after { content:none; }
 .carnet-refonte .tmo-hero::before,.tmo-photo-page-hero::before { content:''; position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,#0d0b18e0 0%,#0d0b18cc 38%,#0d0b18b0 72%,#0d0b1899 100%); pointer-events:none; }
 .carnet-refonte .tmo-hero-copy { display:block; position:relative; z-index:1; min-height:460px; padding-block:45px 105px; }
 .carnet-refonte .tmo-hero-copy>:is(.tmo-eyebrow,h1,.tmo-intro,.tmo-actions) { min-width:0; margin-inline:0; }
 .carnet-refonte .tmo-hero-copy>.tmo-eyebrow { color:#fff; margin-block:0 15px; font-size:11px; letter-spacing:.08em; }
 .carnet-refonte .tmo-hero-copy h1 { max-width:none; margin:0; font-size:clamp(32px,5.5vw,46px); line-height:1.1; letter-spacing:-.05em; color:#fff; white-space:normal; text-wrap:balance; }
 .carnet-refonte .tmo-hero-copy h1 em { color:#fff; }
 .carnet-refonte .tmo-hero-copy>.tmo-intro { max-width:52ch; margin-block:18px 0; color:#f4f1f8; font-size:16px; line-height:1.6; }
 .carnet-refonte .tmo-hero-copy>.tmo-actions { margin-block:24px 0; align-items:flex-start; gap:15px 20px; }
 .carnet-refonte .tmo-hero-copy>.tmo-actions>.tmo-text-link { color:#fff; border-color:#ffffffa0; }
 .carnet-refonte .tmo-hero>.tmo-road-divider { position:absolute; inset:auto 0 -1px; z-index:2; width:100%; height:60px; margin:0; }
 .carnet-refonte .tmo-hero-slides .tmo-hero-slide { object-position:76% 70%; }
 .carnet-refonte .tmo-hero-slides .tmo-hero-slide:nth-child(2) { object-position:71% center; }
 .carnet-refonte .tmo-hero-slides .tmo-hero-slide:nth-child(3) { object-position:65% center; }
 .tmo-photo-page-hero { display:block; }
 .tmo-photo-page-image { position:absolute; inset:0; z-index:-2; order:0; width:100%; height:100%; max-height:none; aspect-ratio:auto; object-fit:cover; }
 .tmo-photo-page-copy { min-height:440px; padding-block:45px 100px; }
 body.carnet-refonte.tmo-inner main .tmo-photo-page-copy h1 { font-size:clamp(27px,4vw,38px); color:#fff; }
 .tmo-photo-page-lead { max-width:53ch; color:#f4f1f8; }
 .tmo-photo-page-copy .tmo-actions { gap:15px 20px; }
 .tmo-page-header-wave { height:60px; }
 .tmo-header-motion-toggle { bottom:23px; }
}
@media(min-width:600px) and (max-width:999px) {
 .carnet-refonte .tmo-hero::before,.tmo-photo-page-hero::before { background:linear-gradient(90deg,#0d0b18db 0%,#0d0b18c7 38%,#0d0b189e 68%,#0d0b183d 100%); }
 .carnet-refonte .tmo-hero-copy { min-height:440px; padding-block:58px 108px; }
 .carnet-refonte .tmo-hero-copy>.tmo-intro,.tmo-photo-page-lead { max-width:min(53ch,75%); font-size:17px; }
 .tmo-photo-page-copy { min-height:420px; padding-block:56px 106px; }
 .carnet-refonte .tmo-hero-copy>.tmo-actions { flex-direction:row; align-items:center; }
}
@media(max-width:599px) {
 .carnet-refonte .tmo-hero-copy h1 { font-size:clamp(32px,8.5vw,40px); }
 .carnet-refonte .tmo-hero-copy h1 em { display:block; }
 .carnet-refonte .tmo-hero-copy>.tmo-actions { flex-direction:column; align-items:flex-start; }
 .carnet-refonte .tmo-hero-copy>.tmo-actions>.tmo-button { width:auto; max-width:100%; min-height:48px; }
 .tmo-photo-page-copy .tmo-actions { align-items:flex-start; }
 .tmo-photo-page-hero .tmo-photo-fleet { object-position:75% center; }
 .tmo-photo-page-hero .tmo-photo-route { object-position:72% center; }
 .tmo-photo-page-hero .tmo-photo-team { object-position:61% center; }
 .tmo-photo-page-hero .tmo-photo-camion { object-position:63% center; }
 .tmo-photo-page-hero .tmo-photo-depot { object-position:72% center; }
}

/* Ancrage au bord inférieur, y compris en tablette paysage. */
.carnet-refonte .tmo-hero>.tmo-road-divider { position:absolute; inset:auto 0 -1px; z-index:2; width:100%; margin:0; }

/* Une seconde photographie réelle pour la présentation de l’entreprise. */
#presentation .tmo-editorial-photo img { aspect-ratio:4/3; object-position:left 65%; }
@media(max-width:599px) { #presentation .tmo-editorial-photo img { aspect-ratio:3/2; } }

/* Notifications et champs de date mobiles — novembre 2026. */
/* Complément au panneau de notifications natif du portail TMO. */
.portal-notifications-panel { max-width:calc(100vw - 32px); max-height:min(80dvh,42rem); overflow:auto; overscroll-behavior:contain; }
.portal-notifications-toolbar { display:flex; justify-content:flex-end; gap:10px; margin:0 0 12px; }
.portal-notifications-markall { min-height:44px; padding:6px 0; border:0; background:transparent; color:var(--tmo-brand,#302678); font:inherit; font-size:13px; font-weight:700; text-align:start; text-decoration:underline; text-underline-offset:3px; }
.portal-notifications-markall:disabled { opacity:.55; cursor:default; text-decoration:none; }
.portal-notification-org { color:var(--tmo-muted,#665d73); font-size:12px; }
.portal-notification-actions :is(button,a) { min-height:44px; display:inline-flex; align-items:center; }
.portal-notifications-status:empty { display:none; }
.portal-notifications-status { margin:12px 0; font-size:13px; line-height:1.5; color:var(--tmo-muted,#665d73); }
.portal-push-controls { display:grid; justify-items:start; gap:8px; padding-top:15px; margin-top:15px; border-top:1px solid #30267825; }
.portal-push-controls strong { color:var(--tmo-brand,#302678); font-size:14px; }
.portal-push-controls p { margin:0; font-size:13px; line-height:1.5; text-align:start; }
.portal-push-controls .portal-button { min-height:44px; }
.portal-notifications :is(button,a,summary):focus-visible { outline:3px solid #d1a600; outline-offset:3px; }
.portal-message:focus,.portal-job h3:focus { outline:3px solid #d1a600; outline-offset:5px; border-radius:4px; }
@media(max-width:560px) { .portal-notifications-panel { width:100%; max-width:100%; max-height:75dvh; } }

/* Champs de date : largeur et alignement identiques aux autres contrôles. */
@media (max-width: 999px) {
  .carnet-refonte main :is(.tmo-form-grid, .portal-form, .portal-proof-form, .portal-pair) {
    min-width: 0;
    max-width: 100%;
  }

  .carnet-refonte main :is(.tmo-form-grid, .portal-form, .portal-proof-form, .portal-pair) > label {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  .carnet-refonte main .portal-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .carnet-refonte main form :is(input[type="date"], input[type="datetime-local"], input[type="month"], input[type="week"], input[type="time"]) {
    display: block;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    inline-size: 100%;
    min-inline-size: 0;
    max-inline-size: 100%;
    min-height: 48px;
    margin-inline: 0;
    padding: 10px 11px;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.4;
    text-align: left;
    color-scheme: light;
    -webkit-appearance: none;
    appearance: none;
  }

  .carnet-refonte main form input::-webkit-date-and-time-value {
    min-height: 1.4em;
    text-align: left;
  }

  .carnet-refonte main form input::-webkit-datetime-edit,
  .carnet-refonte main form input::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }

  .carnet-refonte main form input::-webkit-calendar-picker-indicator {
    flex-shrink: 0;
    margin: 0;
    padding: 4px;
    cursor: pointer;
  }
}

@media (max-width: 475px) {
  .carnet-refonte main .portal-pair {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Commandes fixes, en dehors des contenus et du clavier des formulaires. */
.tmo-floating-control, body #portail-notifications { position:fixed; bottom:calc(36px + env(safe-area-inset-bottom,0px)); z-index:90; }
.tmo-floating-control { display:grid; place-items:center; width:50px; height:50px; padding:0; border:2px solid #fff; border-radius:50%; background:#302678; color:#fff; box-shadow:0 5px 20px #17102235; cursor:pointer; text-decoration:none; }
.tmo-floating-control svg { width:23px; height:23px; }
.tmo-floating-notifications,body #portail-notifications { left:max(18px,env(safe-area-inset-left,0px)); }
.tmo-back-to-top { right:max(18px,env(safe-area-inset-right,0px)); }
.tmo-floating-control:hover { background:#241b61; color:#fff; }
.tmo-floating-control:focus-visible,body #portail-notifications>summary:focus-visible { outline:3px solid #ffcb19; outline-offset:4px; }
.tmo-floating-count,body #portail-notifications .portal-notifications-count { position:absolute; top:-5px; right:-5px; min-width:22px; padding:3px 5px; border:2px solid #fff; border-radius:20px; background:#ffcb19; color:#211926; font-size:12px; font-weight:700; line-height:1.1; text-align:center; }
body:has(#portail-application:not([hidden])) #tmo-floating-notifications { display:none; }
body #portail-notifications { width:50px; height:50px; margin:0; }
body #portail-notifications[open] { z-index:110; }
body #portail-notifications>summary { position:relative; box-sizing:border-box; width:50px; height:50px; min-height:50px; min-width:50px; padding:0; gap:0; border:2px solid #fff; border-radius:50%; background:#302678; color:#fff; font-size:0; box-shadow:0 5px 20px #17102235; }
body #portail-notifications>summary:hover,body #portail-notifications[open]>summary { background:#241b61; color:#fff; }
body #portail-notifications .portal-bell { width:18px; height:18px; border-radius:10px 10px 3px 3px; margin-bottom:4px; }
body #portail-notifications .portal-notifications-panel { position:absolute; inset:auto auto calc(100% + 12px) 0; width:min(384px,calc(100vw - 36px)); max-width:calc(100vw - 36px); max-height:calc(100dvh - 132px - env(safe-area-inset-bottom,0px)); box-sizing:border-box; }
@media(max-width:599px) {
 .tmo-floating-control,body #portail-notifications { bottom:calc(36px + env(safe-area-inset-bottom,0px)); }
 .tmo-floating-notifications,body #portail-notifications { left:max(14px,env(safe-area-inset-left,0px)); }
 .tmo-back-to-top { right:max(14px,env(safe-area-inset-right,0px)); }
 body #portail-notifications .portal-notifications-panel { width:calc(100vw - 28px); max-width:calc(100vw - 28px); }
}

/* Paragraphes justifiés avec césure française sur les petits écrans. */
body main p:not(.tmo-eyebrow):not(.portal-screen-reader):not([role="status"]):not([role="alert"]) { text-align:justify!important; text-align-last:start; text-justify:inter-word; -webkit-hyphens:auto; hyphens:auto; overflow-wrap:break-word; }

@media(max-width:599px) {
 body main :is(h1,h2,h3).tmo-phone-heading-fit { font-size:var(--tmo-phone-title-size)!important; white-space:nowrap!important; text-wrap:nowrap!important; }
 body main :is(h1,h2,h3).tmo-phone-title-measuring { white-space:nowrap!important; text-wrap:nowrap!important; }
 body main :is(h1,h2,h3):is(.tmo-phone-heading-fit,.tmo-phone-title-measuring) br { display:none; }
 .carnet-refonte .tmo-hero-copy h1 em { display:inline; }
}
.tmo-header .tmo-mobile-menu-trigger { display:flex; align-items:center; justify-content:center; gap:8px; min-width:86px; min-height:44px; padding:8px 11px; border:1px solid #30267828; border-radius:9px; background:#ffffffb3; color:#302678; font:inherit; font-size:14px; font-weight:650; cursor:pointer; }
.tmo-mobile-menu-trigger::after { content:'Menu'; }
.tmo-menu[open]>.tmo-mobile-menu-trigger::after { content:'Fermer'; }
.tmo-mobile-menu-trigger>span { position:relative; width:16px; height:14px; }
.tmo-menu:not([open])>.tmo-mobile-menu-trigger>span { background:linear-gradient(currentColor,currentColor) center/100% 2px no-repeat; }
.tmo-mobile-menu-trigger>span::before,.tmo-mobile-menu-trigger>span::after { position:absolute; inset:6px 0 auto; height:2px; border-radius:2px; background:currentColor; content:''; }
.tmo-menu:not([open])>.tmo-mobile-menu-trigger>span::before { transform:translateY(-5px); }
.tmo-menu:not([open])>.tmo-mobile-menu-trigger>span::after { transform:translateY(5px); }
.tmo-menu[open]>.tmo-mobile-menu-trigger>span::before { transform:rotate(45deg); }
.tmo-menu[open]>.tmo-mobile-menu-trigger>span::after { transform:rotate(-45deg); }
.tmo-menu>nav[hidden] { display:none!important; }

/* Libellé, compteur et chevron alignés, y compris dans Safari sur Mac. */
.tmo-team-extra>summary { display:grid; grid-template-columns:minmax(0,1fr) auto auto; align-items:center; width:max-content; max-width:100%; box-sizing:border-box; gap:12px; padding:12px 16px; text-align:left; }
.tmo-team-extra>summary>.tmo-team-extra-label { display:block; min-width:0; height:auto; padding:0; border:0; border-radius:0; background:none; color:inherit; font:inherit; line-height:1.4; text-align:left; }
.tmo-team-extra>summary>.tmo-team-extra-count { display:inline-grid; place-items:center; width:26px; min-width:26px; height:26px; margin:0; padding:0; line-height:1; }
.tmo-team-extra>summary::after { display:grid; place-items:center; align-self:center; width:22px; height:26px; margin:0; line-height:1; font-size:21px; }

@media(max-width:599px) {
 body main :is(h1,h2,h3):is(.tmo-phone-heading-fit,.tmo-phone-title-measuring) { width:100%; max-width:100%!important; min-width:0; }
 .tmo-timeline li,.tmo-timeline li:nth-child(even),.tmo-timeline li:last-child { width:calc(100% - 30px); margin-left:30px; padding:16px; }
 .tmo-timeline li::before,.tmo-timeline li:nth-child(even)::before { left:-29px; top:25px; }
 .tmo-timeline li::after,.tmo-timeline li:nth-child(even)::after { left:-20px; width:20px; top:33px; }
}

@media(max-width:599px) {
 body main :is(div,article,section,header):has(>.tmo-phone-heading-fit,>.tmo-phone-title-measuring) { min-width:0; max-width:100%; }
 .tmo-section-head>*,.tmo-fleet-contact>* { min-width:0; max-width:100%; }
}

/* Partner artwork keeps its proportions on every card. */
.tmo-reference-list.tmo-partner-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(126px, 1fr));
  gap: 12px;
}
.tmo-partner-logos > li {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 82px;
  padding: 12px;
  border: 1px solid #30267825;
  border-radius: 14px;
  background: #fff;
}
.tmo-partner-logos img {
  display: block;
  width: 100%;
  max-width: 145px;
  height: 40px;
  object-fit: contain;
}
@media (max-width: 599px) {
  .tmo-reference-list.tmo-partner-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .tmo-partner-logos > li { min-height: 72px; }
}
