/* VECTIS — page d'attente responsive */
:root {
  color-scheme: dark;
  --background: #500f0f;
  --white: #fffaf8;
  --shape: rgba(255, 255, 255, 0.075);
  --header-height: 103px;
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  margin: 0;
  background: var(--background);
  color: var(--white);
  font-family: "Hero", "Montserrat", Arial, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }

.page-shell {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
}

.site-header {
  height: var(--header-height);
  flex: 0 0 var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.2%;
  border-bottom: 1px solid rgba(255, 250, 248, .9);
  position: relative;
  z-index: 2;
}

.brand-header {
  display: inline-flex;
  align-items: center;
  width: clamp(150px, 13.2vw, 190px);
}

.brand-header img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.contact-button {
  min-width: 201px;
  min-height: 50px;
  padding: 15px 24px;
  border: 1px solid rgba(255, 250, 248, .95);
  border-radius: 999px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: clamp(15px, 1.3vw, 19px);
  font-weight: 400;
  transition: background-color .25s ease, color .25s ease, transform .25s ease;
}

.contact-button:hover,
.contact-button:focus-visible {
  background: var(--white);
  color: var(--background);
}

.contact-button:active { transform: scale(.98); }
a:focus-visible { outline: 2px solid #d0ae69; outline-offset: 5px; }

.hero {
  position: relative;
  flex: 1 0 auto;
  min-height: 600px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 60px 24px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transform: translateY(-3px);
}

.hero h1 {
  margin: 0 0 72px;
  font-size: clamp(25px, 2.35vw, 35px);
  line-height: 1.3;
  letter-spacing: -.035em;
  font-weight: 400;
}

.brand-main {
  display: block;
  width: clamp(270px, 27vw, 390px);
  max-width: min(72vw, 390px);
  height: auto;
  object-fit: contain;
}

.background-shape {
  position: absolute;
  z-index: 0;
  width: clamp(145px, 19vw, 275px);
  height: clamp(590px, 69vw, 990px);
  border-radius: 999px;
  background: var(--shape);
  pointer-events: none;
  will-change: transform;
}

.shape-left {
  left: -2.5%;
  top: 1%;
  transform: rotate(48deg) translate3d(0, 0, 0);
  transform-origin: center;
  animation: drift-left 9s ease-in-out infinite alternate;
}

.shape-right {
  right: -3.5%;
  top: -17%;
  transform: rotate(48deg) translate3d(0, 0, 0);
  transform-origin: center;
  animation: drift-right 12s ease-in-out infinite alternate;
}

.site-footer {
  position: relative;
  z-index: 1;
  min-height: 60px;
  padding: 16px 20px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 400;
}

.site-footer nav { margin: 0; }
.site-footer p { margin: 0; }
.site-footer a { transition: opacity .2s ease; }
.site-footer a:hover { opacity: .72; }

@keyframes drift-left {
  0% { transform: rotate(48deg) translate3d(-20%, 20%, 0); }
  100% { transform: rotate(48deg) translate3d(7%, -2.5%, 0); }
}
@keyframes drift-right {
  0% { transform: rotate(48deg) translate3d(-20%, -30%, 0); }
  100% { transform: rotate(48deg) translate3d(-5%, 2%, 0); }
}

@media (min-width: 1500px) {
  .hero { min-height: 700px; }
  .hero-content { transform: translateY(-2px); }
}

@media (max-width: 760px) {
  :root { --header-height: 82px; }
  .site-header { padding: 0 5%; }
  .brand-header { width: clamp(132px, 36vw, 170px); }
  .contact-button {
    min-width: 0;
    min-height: 45px;
    padding: 10px 17px;
    font-size: 13px;
  }
  .hero { min-height: 500px; }
  .hero-content { padding: 42px 20px 30px; }
  .hero h1 {
    max-width: 520px;
    margin-bottom: 54px;
    font-size: clamp(23px, 5vw, 30px);
    letter-spacing: -.03em;
  }
  .brand-main { width: clamp(240px, 62vw, 330px); }
  .background-shape {
    width: 155px;
    height: 620px;
  }
  .shape-left { left: -30%; top: 1%; }
  .shape-right { right: -32%; top: 20%; }
  .site-footer { min-height: 82px; font-size: 13px; padding-bottom: 17px; }
}

@media (max-width: 390px) {
  :root { --header-height: 74px; }
  .brand-header { width: 122px; }
  .contact-button { padding: 9px 12px; font-size: 12px; }
  .hero { min-height: 460px; }
  .hero h1 { font-size: 22px; margin-bottom: 46px; }
  .brand-main { width: 230px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
