@font-face {
  font-family: "Instrument Sans";
  src: url("assets/fonts/instrument-sans-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("assets/fonts/instrument-sans-medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
:root {
  color-scheme: light;
  font-family: "Instrument Sans", Arial, sans-serif;
  color: #111;
  background: #e7e3dc;
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
  --page-width: 480px;
  --content-left: 38px;
  --content-right: 24px;
}
* { box-sizing: border-box; }
html { scroll-snap-type: y mandatory; }
body, h1, h2, p, figure { margin: 0; }
img { display: block; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
button:disabled { opacity: 1; cursor: default; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid #111; outline-offset: -4px; }
button:focus-visible { outline: 3px solid currentColor; outline-offset: -4px; }
.site { width: 100%; max-width: var(--page-width); margin-inline: auto; }
.screen {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-block: 64px;
  background: #e4e0d9;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.screen-background {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}
.screen-top, .screen-bottom { width: 100%; flex: none; }
.screen-header {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgb(255 255 255 / 25%);
}
.fixed-header, .fixed-footer {
  position: fixed;
  z-index: 10;
  left: 50%;
  width: min(100%, var(--page-width));
  transform: translateX(-50%);
}
.fixed-header { top: 0; }
.fixed-footer { bottom: 0; }
.brand-mark { width: 64px; height: 64px; display: grid; place-items: center; flex: none; }
.brand-wordmark { width: 112px; height: 35px; }
.brand-wordmark-pair { width: 112px; height: 35px; }
.icon-white { display: none; }
body[data-theme="white"] .icon-black { display: none; }
body[data-theme="white"] .icon-white { display: block; }
.icon-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  width: 64px;
  height: 64px;
  flex: none;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.icon-button img { width: 64px; height: 64px; }
.content {
  padding: 28px var(--content-right) 0 var(--content-left);
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.step { font-size: 10px; line-height: 12px; font-weight: 500; letter-spacing: .2px; }
.story { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.screen-title { font-size: 32px; line-height: 40px; font-weight: 400; }
.line { display: block; }
.body-copy, .ending { font-size: 17px; line-height: 24px; font-weight: 400; overflow-wrap: break-word; }
.screen-introduction .content { padding-top: 8px; }
.screen-introduction .step { display: flex; align-items: center; height: 26px; }
.screen-introduction .story { gap: 40px; }
.screen-introduction .body-copy { font-size: 14px; line-height: 20px; }
.screen-introduction .ending { font-size: 26px; line-height: 32px; }
.screen-bottom { display: flex; flex-direction: column; gap: 16px; margin-top: auto; margin-bottom: 16px; }
.address {
  display: flex;
  height: 60px;
  align-items: center;
  justify-content: space-between;
  padding-inline: var(--content-left) var(--content-right);
}
address { font-style: normal; font-size: 14px; line-height: 20px; }
.screen-footer {
  display: flex;
  height: 64px;
  justify-content: space-between;
  align-items: center;
  background: rgb(255 255 255 / 50%);
}
.footer-left { display: flex; }
.screen-inverse { color: #fff; }
body[data-theme="white"] .screen-header, body[data-theme="white"] .screen-footer { background: rgb(0 0 0 / 25%); color: #fff; }
.screen-inverse a:focus-visible { outline-color: #fff; }
body[data-active="contact"] .footer-whatsapp { visibility: hidden; pointer-events: none; }
.screen-contact { color: #0a0a0a; }
.screen-contact .story { gap: 16px; }
.screen-contact .body-copy, .screen-contact .ending { font-size: 16px; line-height: 22px; }
.address-contact { justify-content: flex-start; }
.address-contact address { flex: 0 1 230px; min-width: 0; line-height: 19px; color: #111; }
.compass { width: 60px; height: 60px; flex: none; }
.social-links { display: flex; flex-direction: column; }
.social-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 128px;
  height: 64px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.social-link + .social-link { margin-top: -10px; }
.social-link img { width: 64px; height: 64px; flex: none; }
.plans { display: flex; gap: 24px; height: 132px; margin-left: auto; width: 216px; color: #000; }
.plan { position: relative; width: 88px; height: 132px; flex: none; }
.plan-label { height: 12px; font-size: 9px; font-weight: 500; line-height: normal; text-align: center; }
.plan-outline { position: absolute; top: 24px; left: 8px; width: 72px; height: 104px; border: 1.5px solid #141414; }
.plan-inner { position: absolute; border: 1px solid #404040; }
.plan-rdc .plan-inner { top: 40px; left: 22px; width: 42px; height: 32px; }
.plan-mezzanine .plan-inner { top: 58px; left: 16px; width: 56px; height: 48px; }
.plan-line { position: absolute; height: 1px; }
.plan-rdc .plan-line { left: 26px; width: 28px; }
.plan-rdc .line-1 { top: 81px; }
.plan-rdc .line-2 { top: 89px; }
.plan-rdc .line-3 { top: 97px; }
.plan-mezzanine .plan-line { left: 22px; width: 44px; }
.plan-mezzanine .line-1 { top: 41px; }
.plan-mezzanine .line-2 { top: 48px; }
.plan-mezzanine .line-3 { top: 55px; }
/* Le texte reste dans le flux : une section peut s'allonger si nécessaire. */
@media (max-width: 359px) {
  :root { --content-left: 26px; --content-right: 20px; }
  .screen-title { font-size: 29px; line-height: 37px; }
  .body-copy, .ending { font-size: 16px; }
  .screen-contact .body-copy, .screen-contact .ending { font-size: 15px; }
  .screen-introduction .ending { font-size: 24px; line-height: 30px; }
}
@media (max-height: 700px) {
  html { scroll-snap-type: y proximity; }
}
@media print {
  html { scroll-snap-type: none; }
  .site { width: 390px; }
  .screen { height: 844px; min-height: 844px; break-after: page; print-color-adjust: exact; }
  .fixed-header, .fixed-footer { display: none; }
}
