/* Page « en construction » de noabimedia.ca, en attendant la mise en ligne du site complet. */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/poppins-regular.woff") format("woff"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/poppins-semibold.woff") format("woff"); }

:root {
  --noir: #0B0B0B;
  --or: #D4A574;
  --beige: #F3E7D9;
  --beige-doux: #A39B92;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { height: 100%; background: var(--noir); }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  background:
    radial-gradient(ellipse 70% 55% at 50% 40%, rgba(212, 165, 116, .09), transparent 70%),
    var(--noir);
  color: var(--beige);
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

main {
  align-self: center;
  justify-self: center;
  width: 100%;
  max-width: 640px;
  padding: 56px 16px 32px;
  text-align: center;
}

.marque {
  position: relative;
  width: min(76vw, 420px);
  margin: 0 auto;
  animation: arrivee 1.4s cubic-bezier(.2, .7, .2, 1) both;
}

.logo { display: block; width: 100%; height: auto; }

/* Lueur sur l'étoile dorée du logo (coin supérieur droit). */
.marque::after {
  content: "";
  position: absolute;
  left: 91.3%;
  top: 19.9%;
  width: 34%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(212, 165, 116, .38), rgba(212, 165, 116, 0) 62%);
  pointer-events: none;
  animation: lueur 4.5s ease-in-out 1.4s infinite;
  opacity: .25;
}

.trait {
  width: 132px;
  height: 1px;
  margin: 44px auto 34px;
  background: linear-gradient(90deg, transparent 0%, rgba(212, 165, 116, .25) 30%, var(--or) 50%, rgba(212, 165, 116, .25) 70%, transparent 100%);
  background-size: 260% 100%;
  animation: arrivee 1.4s cubic-bezier(.2, .7, .2, 1) .25s both, balayage 3.6s ease-in-out 1.6s infinite;
}

h1 {
  margin: 0;
  font-weight: 600;
  font-size: clamp(1.3rem, 1.05rem + 1.1vw, 1.8rem);
  line-height: 1.3;
  letter-spacing: .02em;
  animation: arrivee 1.4s cubic-bezier(.2, .7, .2, 1) .4s both;
}

h1 .en {
  display: block;
  margin-top: .55em;
  font-weight: 400;
  font-size: .68em;
  letter-spacing: .05em;
  color: var(--beige-doux);
}

.contact {
  margin: 44px 0 0;
  font-size: .95rem;
  animation: arrivee 1.4s cubic-bezier(.2, .7, .2, 1) .55s both;
}

.contact a {
  color: var(--or);
  text-decoration: none;
  padding: 6px 2px;
  border-bottom: 1px solid rgba(212, 165, 116, .35);
  transition: border-color .2s, color .2s;
}

.contact a:hover { color: var(--beige); border-bottom-color: var(--or); }
.contact a:focus-visible { outline: 2px solid var(--or); outline-offset: 4px; border-radius: 2px; }

footer {
  padding: 24px 16px calc(24px + env(safe-area-inset-bottom));
  text-align: center;
  font-size: .78rem;
  letter-spacing: .03em;
  color: var(--beige-doux);
}

@keyframes arrivee {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

@keyframes lueur {
  0%, 100% { opacity: .25; transform: translate(-50%, -50%) scale(.85); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.12); }
}

@keyframes balayage {
  0% { background-position: 100% 0; }
  50% { background-position: 0% 0; }
  100% { background-position: 100% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .marque, .marque::after, .trait, h1, .contact { animation: none; }
  .marque::after { opacity: .6; }
}
