/* Transfert Lyon — shared styles for every page.
   Layout and colours live inline in the pages, as authored in the design.
   This file holds the page base and the switch between the two layouts. */

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

body { margin: 0; background: #F1F0EB; }
a { color: inherit; }
a:hover { color: #6B5200; }

/* Phone layout (from the "mobile" artboards) is hidden on wide screens. */
.m-only { display: none !important; }

@media (max-width: 640px) {
  /* Desktop header, title, badges and call card give way to the phone layout. */
  .d-only { display: none !important; }
  .m-only { display: flex !important; }
  .hero { padding-top: 4px !important; }
}
