.carnet-refonte {
  --tmo-ink: #1d1929;
  --tmo-brand: #302678;
  --tmo-gold: #ffcb19;
  --tmo-paper: #fff;
  --tmo-muted: #514b5b;
  --tmo-edge: clamp(20px, 5vw, 88px);
  background: var(--tmo-paper);
  color: var(--tmo-ink);
}
.tmo-wrap { width: min(1280px, calc(100% - var(--tmo-edge) * 2)); margin-inline: auto; }
.tmo-block { padding-block: clamp(57px, 7.9vw, 118px); }
.tmo-hero { position: relative; isolation: isolate; overflow: clip; background: var(--tmo-paper); }
.tmo-hero-art { position: absolute; z-index: -2; inset: 0; }
.tmo-hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: right 58%; }
.tmo-hero::before {
  --tmo-hero-copy-start: max(var(--tmo-edge), calc((100% - 1280px) / 2));
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg,
    #ffffffcc 0%,
    #ffffffdf var(--tmo-hero-copy-start),
    #ffffffcf max(33%, calc(var(--tmo-hero-copy-start) + clamp(180px, 19vw, 360px))),
    #ffffff94 max(42%, calc(var(--tmo-hero-copy-start) + clamp(255px, 24vw, 440px))),
    transparent max(51%, calc(var(--tmo-hero-copy-start) + clamp(400px, 32vw, 610px)))
  );
  pointer-events: none;
}
.tmo-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding-block: 20px;
  z-index: 4;
  position: relative;
}
.tmo-brand { display: inline-flex; align-items: center; justify-self: start; gap: 10px; }
.tmo-brand img { width: 83px; height: auto; }
.tmo-brand span { font-size: 13px; font-weight: 700; color: var(--tmo-brand); line-height: 1.06; }
.tmo-nav {
  display: flex;
  align-items: center;
  gap: clamp(4px, .55vw, 11px);
  padding: 4px 9px;
  border: 1px solid #fff9;
  border-radius: 99px;
  background: #ffffffee;
  box-shadow: 0 5px 32px #28213914;
}
.tmo-nav a { padding: 9px 12px; border-radius: 99px; font-size: 13px; font-weight: 620; white-space: nowrap; }
.tmo-nav a:hover { color: var(--tmo-brand); background: #eeebf7; }
.tmo-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 13px;
  padding: 11px 18px;
  min-height: 46px;
  border-radius: 10px;
  background: var(--tmo-brand);
  color: white;
  font-size: 14px;
  font-weight: 680;
  text-align: center;
  line-height: 1.2;
  transition: background-color .2s, transform .2s;
}
.tmo-button:hover { background: #211852; transform: translateY(-2px); }
.tmo-button-gold { background: var(--tmo-gold); color: #211926; }
.tmo-button-gold:hover { background: #ffdb50; }
.tmo-header-action { justify-self: end; min-height: 42px; border-radius: 99px; padding-inline: 21px; }
.tmo-menu { display: none; }
.tmo-hero-copy { padding-block: clamp(65px, 7.3vw, 125px) clamp(45px, 5.8vw, 100px); }
.tmo-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-block-end: 15px;
  color: var(--tmo-brand);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: .11em;
}
.tmo-eyebrow i {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--tmo-gold);
}
.tmo-hero h1, .tmo-block h2, .tmo-survol h2 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -.072em;
  line-height: .99;
}
.tmo-hero h1 { font-size: clamp(60px, 6.55vw, 104px); }
.tmo-hero h1 em { color: var(--tmo-brand); font-style: normal; }
.tmo-intro { max-width: 36ch; color: var(--tmo-muted); margin-block-start: 22px; font-size: clamp(16px, 1.37vw, 20px); }
.tmo-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-block-start: 25px; }
.tmo-text-link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid #30267866;
  padding-bottom: 2px;
  color: var(--tmo-brand);
  font-size: 14px;
  line-height: 1.32;
  font-weight: 650;
}
.tmo-text-link:hover { border-color: currentColor; }
.tmo-chevron { width: 7px; height: 7px; flex: 0 0 7px; border-top: 1.6px solid; border-right: 1.6px solid; transform: rotate(45deg); }
.tmo-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, max-content));
  gap: 0;
  margin-top: clamp(30px, 4vw, 57px);
}
.tmo-facts div { padding-inline: clamp(13px, 2vw, 28px); border-left: 1px solid #3026783a; }
.tmo-facts div:first-child { padding-left: 0; border: 0; }
.tmo-facts dt { font-size: clamp(23px, 2.2vw, 33px); font-weight: 700; line-height: 1.17; letter-spacing: -.055em; }
.tmo-facts dd { margin-top: 5px; color: var(--tmo-muted); font-size: 12px; line-height: 1.3; }

.tmo-block h2, .tmo-survol h2 { font-size: clamp(40px, 4.4vw, 68px); }
.tmo-section-head { display: grid; grid-template-columns: 1.3fr .7fr; align-items: end; gap: 24px; margin-bottom: clamp(26px, 4vw, 49px); }
.tmo-section-head > p { max-width: 38ch; padding-bottom: 3px; color: var(--tmo-muted); }
.tmo-services-grid, .tmo-company-grid { display: grid; gap: clamp(13px, 1.65vw, 23px); }
.tmo-services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tmo-service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid #34294b19;
  border-radius: 18px;
  overflow: hidden;
  background: var(--tmo-paper);
  box-shadow: 0 10px 32px #3c2b2310;
}
.tmo-service-card > img { width: 100%; height: auto; aspect-ratio: 1.55; object-fit: cover; background: var(--tmo-paper); }
.tmo-service-card > div { flex: 1; display: flex; flex-direction: column; align-items: start; padding: 20px clamp(16px, 2.05vw, 28px) 25px; }
.tmo-card-label { margin-bottom: 7px; color: var(--tmo-brand); font-weight: 650; font-size: 12px; }
.tmo-service-card h3, .tmo-company h3, .tmo-territory h3, .tmo-contact-details h3 {
  color: var(--tmo-ink);
  font-size: clamp(23px, 2.2vw, 32px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -.045em;
}
.tmo-service-card h3 + p, .tmo-company h3 + p, .tmo-territory h3 + p {
  color: var(--tmo-muted);
  margin-block: 9px 18px;
}
.tmo-service-card a { margin-top: auto; }
.tmo-service-card a::after { content: ""; position: absolute; inset: 0; }
.tmo-service-card:hover, .tmo-service-card:focus-within { border-color: #30267874; }
.tmo-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.tmo-survol { padding-block: clamp(32px, 5vw, 75px); background: #eeebf3; }
.tmo-survol-inner, .tmo-territory { display: grid; align-items: center; gap: clamp(20px, 4.4vw, 70px); }
.tmo-survol-inner { grid-template-columns: minmax(0, .82fr) minmax(0, 1.56fr); }
.tmo-survol-copy > p:not(.tmo-eyebrow) { color: var(--tmo-muted); max-width: 35ch; margin-block: 18px 22px; }
.carnet-refonte .tmo-survol-scene {
  width: 100%;
  min-width: 0;
  height: clamp(350px, 38vw, 534px);
  min-height: 0;
  margin: 0;
  border-radius: 20px;
  background: #191624;
  box-shadow: 0 15px 37px #20162c25;
}
.carnet-refonte .tmo-survol-scene::before { background: linear-gradient(165deg, transparent 72%, #130e2250); }
.carnet-refonte .tmo-survol-scene .journey-art { inset: 0; }
.carnet-refonte .tmo-survol-scene .journey-controls { inset: auto 14px 14px auto; }
.carnet-refonte .tmo-survol-scene [data-message] { top: auto; bottom: calc(100% + 7px); }
.carnet-refonte .garage {
  background: radial-gradient(ellipse at 16% 10%, #392b6d 0%, #201839 48%, transparent 84%), #17102a;
}
.carnet-refonte .garage-head, .carnet-refonte .garage-viewport,
.carnet-refonte .garage-rail, .carnet-refonte .garage-credit { max-width: 1280px; }
.tmo-territory { grid-template-columns: 1.13fr .87fr; }
.tmo-territory figure { overflow: hidden; border-radius: 18px; background: var(--tmo-paper); }
.tmo-territory img { width: 100%; height: auto; aspect-ratio: 1.49; object-fit: cover; }
.tmo-map { position: relative; }
.tmo-map img { aspect-ratio: 1.5; }
.tmo-map canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.tmo-map button {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid #fff7;
  border-radius: 50%;
  background: #251b50e8;
  color: #fff;
}
.tmo-map button:focus-visible { outline-color: var(--tmo-brand); }
.tmo-map button:hover { background: var(--tmo-brand); }
.tmo-map button span { width: 9px; height: 12px; border-inline: 2px solid currentColor; }
.tmo-map button[data-paused] span { width: 0; height: 0; margin-left: 3px; border: 6px solid transparent; border-right: 0; border-left: 9px solid currentColor; }
.tmo-city { display: inline-flex; flex-wrap: wrap; gap: 7px; margin-block: 25px 18px; }
.tmo-city button { min-height: 41px; padding: 6px 14px; border: 1px solid #30267842; border-radius: 8px; background: transparent; font-size: 14px; font-weight: 620; }
.tmo-city button[aria-pressed=true] { color: white; border-color: var(--tmo-brand); background: var(--tmo-brand); }
.tmo-company { background: #efedf4; }
.tmo-company-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 28px; }
.tmo-company-grid article, .tmo-contact-details > div { padding: clamp(20px, 3.3vw, 41px); background: var(--tmo-paper); border: 1px solid #30267820; border-radius: 15px; }
.tmo-contact-banner { position: relative; isolation: isolate; overflow: hidden; padding: clamp(29px, 5.7vw, 80px); border-radius: 21px; background: #1d1234; color: #fff; }
.tmo-contact-banner > img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right 61%; }
.tmo-contact-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,#1d1234 1%,#1d1234c9 35%,#1d123429 65%,transparent); }
.tmo-contact-banner .tmo-eyebrow { color: #ffde66; }
.tmo-contact-banner h2 { color: white; }
.tmo-contact-banner h2 + p { max-width: 35ch; margin-block: 17px 21px; color: #ece5fc; }
.tmo-contact-details { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 16px; }
.tmo-contact-details address, .tmo-contact-details h3 + p { margin-block: 7px 12px; color: var(--tmo-muted); font-style: normal; }
.tmo-footer {
  padding-block: 28px 35px;
  border-top: 2px solid var(--tmo-gold);
  background: var(--tmo-brand) linear-gradient(110deg, transparent, #211952);
  color: var(--tmo-paper);
}
.tmo-footer-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 23px; }
.tmo-footer .tmo-brand img { width: 91px; padding: 4px; border-radius: 99px; background: var(--tmo-paper); }
.tmo-footer .tmo-brand span { color: inherit; }
.tmo-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; font-weight: 600; }
.tmo-footer nav a:hover { color: var(--tmo-gold); text-decoration: underline; text-underline-offset: 4px; }
.tmo-footer :focus-visible { outline-color: var(--tmo-gold); }
.tmo-footer .data-sources { margin-block: 0; padding-top: 13px; border-color: #ffffff40; color: #eee9fa; }
.tmo-footer .data-sources summary::after, .tmo-footer .data-sources a { color: var(--tmo-gold); }

@media (min-width: 1000px) {
  .tmo-hero { min-height: clamp(645px, 48vw, 850px); }
}
@media (max-width: 950px) {
  .tmo-header { gap: 13px; }
  .tmo-nav a { padding-inline: 8px; }
  .tmo-hero h1 { font-size: clamp(57px, 7.3vw, 76px); }
  .tmo-hero-art img { object-position: 70% 62%; }
  .tmo-hero::before { background: linear-gradient(90deg, #fff 0%, #fffffff7 35%, #ffffffb8 48%, #ffffff25 64%, transparent 78%); }
}
@media (max-width: 850px) {
  .tmo-header { display: flex; justify-content: space-between; padding-block: 13px; }
  .tmo-nav, .tmo-header-action { display: none; }
  .tmo-menu { display: block; position: static; }
  .tmo-menu summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 86px;
    min-height: 44px;
    padding: 8px 11px;
    border: 1px solid #30267832;
    border-radius: 9px;
    background: #fff;
    backdrop-filter: none;
    color: var(--tmo-brand);
    font-size: 14px;
    font-weight: 650;
  }
  .tmo-menu summary:hover { background: #f3f0fa; }
  .tmo-menu summary::after { content: 'Menu'; }
  .tmo-menu[open] summary::after { content: 'Fermer'; }
  .tmo-menu summary span { position: relative; width: 16px; height: 14px; }
  .tmo-menu:not([open]) summary span { background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat; }
  .tmo-menu summary span::before, .tmo-menu summary span::after {
    position: absolute;
    inset: 6px 0 auto;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    content: '';
  }
  .tmo-menu:not([open]) summary span::before { transform: translateY(-5px); }
  .tmo-menu:not([open]) summary span::after { transform: translateY(5px); }
  .tmo-menu[open] summary span::before { transform: rotate(45deg); }
  .tmo-menu[open] summary span::after { transform: rotate(-45deg); }
  .tmo-menu nav {
    position: absolute;
    inset: calc(100% - 3px) 0 auto;
    display: grid;
    gap: 4px;
    min-width: 0;
    max-height: min(70vh, 24rem);
    max-height: min(70dvh, 24rem);
    overflow: auto;
    overscroll-behavior: contain;
    padding: 8px;
    border: 1px solid #30267824;
    border-radius: 12px;
    color: var(--tmo-brand);
    background: #fff;
    box-shadow: 0 12px 32px #251d3526;
  }
  .tmo-menu:not([open]) nav { display: none; }
  .tmo-menu nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 12px;
    border-radius: 7px;
    font-weight: 650;
  }
  .tmo-menu nav a:hover, .tmo-menu nav a[aria-current="page"] { background: #eeebf7; }
  .tmo-menu nav a:last-child { margin-top: 3px; background: var(--tmo-brand); color: #fff; }
  .tmo-menu nav a:last-child:hover { background: #211852; }
  .tmo-menu nav a:focus-visible { outline-offset: -3px; }
}
@media (max-width: 700px) {
  .tmo-hero { display: flex; flex-direction: column; background: #fff; }
  .tmo-hero::before { content: none; }
  .tmo-hero-copy { padding-block: 34px 24px; }
  .tmo-hero h1 { font-size: clamp(2.125rem, 9.2vw, 3.125rem); line-height: 1.02; letter-spacing: -.055em; }
  .tmo-hero-art { position: relative; z-index: 0; order: 3; aspect-ratio: 1.33; max-height: 405px; }
  .tmo-hero-art img { object-position: 75% center; }
  .tmo-hero-art::after { position: absolute; content: ""; inset: 0; pointer-events: none; background: linear-gradient(180deg,#fff 0%, transparent 10%); }
  .tmo-actions { gap: 12px 17px; margin-top: 20px; }
  .tmo-facts { margin-top: 25px; }
  .tmo-section-head, .tmo-services-grid, .tmo-survol-inner, .tmo-territory, .tmo-company-grid, .tmo-contact-details { grid-template-columns: 1fr; }
  .tmo-section-head { gap: 14px; }
  .tmo-section-head br { display: none; }
  .tmo-service-card > img { aspect-ratio: 1.55; }
  .tmo-survol { padding-block: 36px; }
  .carnet-refonte .tmo-survol-scene { height: clamp(290px, 80vw, 430px); border-radius: 14px; }
  .tmo-territory figure { order: 2; }
  .tmo-contact-banner::before { background: linear-gradient(90deg,#1d1234f4 0%,#1d1234c2 46%,#1d12344e 100%); }
  .tmo-contact-banner { padding: 28px 20px; }
  .tmo-footer-top { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 599px) {
  .carnet :is(.tmo-block, .tmo-survol) h2 {
    font-size: clamp(1.5rem, 6.9vw, 2rem);
    line-height: 1.08;
    letter-spacing: -.045em;
  }
  .carnet .tmo-section-head br { display: revert; }
  .carnet :is(.tmo-service-card, .tmo-company, .tmo-territory, .tmo-contact-details) h3 {
    font-size: clamp(1.2rem, 4.9vw, 1.375rem);
  }
  .tmo-hero {
    display: grid;
    grid-template:
      "header"
      "label"
      "title"
      "intro"
      "photo"
      "actions"
      "facts" / minmax(0, 1fr);
  }
  .tmo-hero > .tmo-header { grid-area: header; }
  .tmo-hero-copy { display: contents; }
  .tmo-hero-copy > :is(.tmo-eyebrow, h1, .tmo-intro, .tmo-actions, .tmo-facts) {
    margin-inline: var(--tmo-edge);
    min-width: 0;
  }
  .tmo-hero-copy > .tmo-eyebrow { grid-area: label; margin-block: 26px 10px; }
  .tmo-hero-copy > h1 {
    grid-area: title;
    max-width: none;
    font-size: clamp(1.25rem, 8vw, 2.75rem);
    line-height: 1.08;
  }
  .tmo-hero-copy > h1 br { display: none; }
  .tmo-hero-copy > h1 em::before { content: ' '; }
  .tmo-hero-copy > .tmo-intro { grid-area: intro; margin-block-start: 15px; line-height: 1.55; }
  .tmo-hero > .tmo-hero-art {
    grid-area: photo;
    order: 0;
    width: 100%;
    max-height: none;
    margin-block-start: 23px;
    aspect-ratio: 1.45;
    overflow: hidden;
  }
  .tmo-hero-art::after { content: none; }
  .tmo-hero-art img { object-position: 65% center; }
  .tmo-hero-copy > .tmo-actions {
    grid-area: actions;
    flex-direction: column;
    gap: 14px;
    margin-block-start: 20px;
  }
  .tmo-hero-copy .tmo-actions .tmo-button { width: 100%; min-height: 48px; }
  .tmo-hero-copy > .tmo-facts {
    grid-area: facts;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-block: 22px 24px;
    padding-block: 15px;
    border-radius: 14px;
    background: #f3f0fa;
  }
  .tmo-hero-copy .tmo-facts div { padding-inline: clamp(8px, 2.8vw, 15px); }
  .tmo-hero-copy .tmo-facts dt { font-size: clamp(1.2rem, 5.2vw, 1.7rem); }
  .tmo-hero-copy .tmo-facts dd { font-size: .8125rem; }
}
@media (prefers-reduced-motion: reduce) {
  .tmo-button { transition: none; }
  .tmo-button:hover { transform: none; }
}
