/* CyberChezLou — vitrine v1
   Static stylesheet: no external resources, no imports, no web fonts. */

:root {
  --color-background: #080808;
  --color-orange: #FF9E22;
  --color-blue: #27D9FF;
  --color-green: #A5EF32;
  --color-pink: #FF008D;
  --color-text: #F2F2F2;
  --color-text-muted: #C8C8C8;
  --layout-width: 64rem;
  --content-width: 46rem;
  --separator: linear-gradient(90deg, var(--color-orange), var(--color-pink));
  --font-stack: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Sticky footer: the footer stays at the bottom of short pages
   and simply follows the content on long pages (never overlaps it). */
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--color-background);
  color: var(--color-text);
  font-family: var(--font-stack);
  font-size: 1.125rem;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Links and keyboard focus */
a {
  color: var(--color-blue);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--color-green);
}

a:focus-visible {
  outline: 3px solid var(--color-blue);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Brand name, shared by header and footer */
.brand__name {
  font-weight: 800;
  letter-spacing: -0.01em;
}

.brand__cyber { color: var(--color-blue); }
.brand__chez  { color: var(--color-green); }
.brand__lou   { color: var(--color-pink); }

/* ===== Header ===== */
.site-header {
  flex: 0 0 auto;
  border-bottom: 2px solid transparent;
  border-image: var(--separator) 1;
}

.site-header__inner {
  max-width: var(--layout-width);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-size: 1.35rem;
  line-height: 1.2;
}

.brand:hover .brand__name {
  text-decoration: underline;
  text-decoration-color: var(--color-text-muted);
}

.brand__logo {
  width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 auto;
}

/* Navigation list: new items can be added as <li> without layout changes */
.site-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}

.site-nav__link {
  display: inline-block;
  padding: 0.5rem 0.25rem;
  color: var(--color-text);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.site-nav__link:hover {
  color: var(--color-green);
  border-bottom-color: var(--color-green);
}

.site-nav__link[aria-current="page"] {
  border-bottom-color: var(--color-orange);
}

/* ===== Main content ===== */
.content {
  flex: 1 0 auto;
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: clamp(1.75rem, 5vw, 3rem) 1.25rem clamp(2.5rem, 6vw, 4rem);
  text-align: center;
}

.hero-logo {
  display: block;
  width: clamp(10rem, 40vw, 15rem);
  margin: 0 auto 1.75rem;
}

.title {
  margin: 0 0 1rem;
  font-size: clamp(1.9rem, 4.5vw + 0.8rem, 3.25rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.slogan {
  margin: 0 0 1.75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 0.75rem;
  font-size: clamp(1.2rem, 2vw + 0.8rem, 1.6rem);
  font-weight: 700;
}

.slogan__word--orange { color: var(--color-orange); }
.slogan__word--blue   { color: var(--color-blue); }
.slogan__word--green  { color: var(--color-green); }

.intro {
  margin: 0 auto 2.5rem;
  max-width: 38rem;
  color: var(--color-text-muted);
}

.announcement {
  margin: 0 auto;
  max-width: 34rem;
  padding: 1.5rem 1.25rem;
  border: 2px solid transparent;
  border-radius: 1rem;
  background:
    linear-gradient(var(--color-background), var(--color-background)) padding-box,
    var(--separator) border-box;
}

.announcement__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.25rem, 1.5vw + 1rem, 1.6rem);
  line-height: 1.3;
}

.announcement__text {
  margin: 0;
  font-size: 1.15rem;
}

.announcement__hub {
  color: var(--color-pink);
}

/* Legal and error pages */
.legal {
  flex: 1 0 auto;
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: clamp(1.75rem, 5vw, 3rem) 1.25rem;
}

.legal h1 {
  margin-top: 0;
  font-size: clamp(1.75rem, 3vw + 1rem, 2.5rem);
  line-height: 1.2;
}

.legal h2 {
  margin-top: 2rem;
  font-size: 1.3rem;
  color: var(--color-orange);
}

.legal h3 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.1rem;
}

.legal__list {
  padding-left: 1.25rem;
}

.legal__list li + li {
  margin-top: 0.35rem;
}

/* Long addresses shown as plain text must wrap instead of overflowing. */
.legal__url {
  overflow-wrap: anywhere;
}

.placeholder {
  color: var(--color-green);
  font-style: italic;
}

/* ===== Footer ===== */
.site-footer {
  flex: 0 0 auto;
  border-top: 2px solid transparent;
  border-image: var(--separator) 1;
  font-size: 1rem;
}

.site-footer__inner {
  max-width: var(--layout-width);
  margin: 0 auto;
  padding: 2rem 1.25rem 1rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

.site-footer__title {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  line-height: 1.3;
}

.site-footer__slogan {
  margin: 0 0 0.75rem;
  color: var(--color-text-muted);
}

.site-footer__legal {
  margin: 0;
}

.social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

/* Touch target of at least 44 px high */
.social__link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  padding: 0.25rem 0;
  color: var(--color-text);
  font-weight: 600;
}

.social__link:hover {
  color: var(--color-green);
}

.social__icon {
  width: 1.5rem;
  height: 1.5rem;
  flex: 0 0 auto;
}

.site-footer__copyright {
  max-width: var(--layout-width);
  margin: 0 auto;
  padding: 1rem 1.25rem 1.5rem;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  text-align: center;
}

/* Tablet and larger: two footer areas side by side */
@media (min-width: 40rem) {
  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

/* No animation is used; this guard keeps it that way for future changes. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
