/* page CSS: only what sits inside a visual and the kit lacks */
.nav__logo img { height: 28px; }
#machines .tile__media { --tile-ratio: 16 / 10; background: transparent; }
#machines .tile__media > img { object-fit: contain; }
#etapes .panel { --p-h: 300px; }

#atouts .frame { --ratio: 75%; align-self: start; }
.tile__name { font: 500 var(--t-card)/1.3 var(--font-text); letter-spacing: -0.01em; }
@media (min-width: 1024px) { #etapes .grid > .card { grid-column: span 4; } }
@media (min-width: 640px) and (max-width: 1023px) {
  #etapes { --h: 2; }
  #atouts { --h: 2; }
  #equipe .tile--portrait { --tile-ratio: 1 / 1; }
  #machines .tile__media { --tile-ratio: 4 / 5; }
  #atouts .frame { --ratio: 100%; }
}
@media (max-width: 639px) {
  #machines .section-head--row .link { display: flex; width: 100%; justify-content: space-between; }
  #machines .tile__media { --tile-ratio: 4 / 5; }
  #machines .grid { grid-template-columns: 1fr 1fr; }
  #machines .grid > .tile { grid-column: auto; }
  #etapes { --hm: 2; }
  #etapes .panel { --p-h: 220px; }
  #questions .section-head p, #questions .link, #questions .faq__item:nth-child(2), #questions .faq__item:nth-child(5) { display: none; }
  #rapidite .mo-gt__type { font-size: 15vw; }
  #atouts .frame { --ratio: 165%; }
}

@media (max-width: 359px) { .nav__actions .btn { display: none; } }

/* inner pages */
.machine-frame { background: #c8c5ba; --ratio: 80%; }
.machine-frame > .frame__img { object-fit: contain; }
.spec { width: 100%; border-collapse: collapse; font-size: var(--t-body); line-height: 1.5; }
.spec th, .spec td { text-align: left; vertical-align: top; padding: var(--s-3) var(--s-5) var(--s-3) 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.spec thead th { font-weight: 500; }
.spec tbody th { color: var(--muted); width: 26%; }
.spec td { width: 37%; }
.form-panel { background: var(--surface); border-radius: var(--r-lg); padding: var(--s-7); align-self: start; }
.contact-address { font-style: normal; margin-top: var(--s-6); color: var(--muted); }
@media (max-width: 1023px) {
  .inner main > section.section { height: auto; min-height: 100lvh; }
  .inner main > section.hero { height: auto; min-height: 100svh; }
  .form-panel { padding: var(--s-5); }
}

/* language switch (FR | EN): in the bar from 1024, at the foot of the phone sheet below */
html.i18n-wait body { visibility: hidden; }
.lang-switch { display: inline-flex; align-items: center; gap: 2px; font: 500 13px/1 var(--font-text); letter-spacing: 0.04em; color: var(--muted); }
.lang-switch > span { opacity: 0.5; }
.lang-switch a { display: inline-grid; place-items: center; min-width: 32px; height: 36px; padding: 0 var(--s-1); border-radius: var(--r-sm); color: var(--muted); transition: color var(--dur) var(--ease); }
.lang-switch a:hover, .lang-switch a[aria-current] { color: var(--ink); }
@media (max-width: 1023px) {
  .nav.is-open .nav__actions .lang-switch { order: 2; justify-self: center; font-size: var(--t-small); }
  .nav.is-open .nav__actions .lang-switch a { min-width: 44px; height: 44px; }
}
