/* DJ HASSAN STUDIO — Garoua
   palette: dusk-lime · typography: condensed-display · motion: hyper-stillness
   layout: storefront-catalogue · signature: expandable-index (services) · background: plain */

:root {
  --bg: #0e1a2b;
  --bg-2: #122238;
  --surface: #16283f;
  --surface-2: #1b3050;
  --ink: #eaeef7;
  --ink-soft: #b9c4d6;
  --muted: #8e9db4;
  --accent: #ccff33;
  --accent-ink: #0e1a2b;
  --line: rgba(234, 238, 247, 0.14);
  --line-strong: rgba(234, 238, 247, 0.28);
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  --radius: 4px;
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 72px);
  --section-y: clamp(64px, 9vw, 120px);
  --font-display: 'Barlow Condensed', 'Oswald', Impact, sans-serif;
  --font-body: 'Barlow', 'Helvetica Neue', Arial, sans-serif;
}

html[data-theme='light'] {
  --bg: #f7f7f2;
  --bg-2: #efefe6;
  --surface: #ffffff;
  --surface-2: #f1f2e9;
  --ink: #101c2c;
  --ink-soft: #33465e;
  --muted: #5a6a7e;
  --accent: #4f7a00;
  --accent-ink: #ffffff;
  --line: rgba(16, 28, 44, 0.14);
  --line-strong: rgba(16, 28, 44, 0.3);
  --shadow: 0 14px 32px rgba(16, 28, 44, 0.1);
}

@media (prefers-color-scheme: light) {
  html:not([data-theme]) {
    --bg: #f7f7f2;
    --bg-2: #efefe6;
    --surface: #ffffff;
    --surface-2: #f1f2e9;
    --ink: #101c2c;
    --ink-soft: #33465e;
    --muted: #5a6a7e;
    --accent: #4f7a00;
    --accent-ink: #ffffff;
    --line: rgba(16, 28, 44, 0.14);
    --line-strong: rgba(16, 28, 44, 0.3);
    --shadow: 0 14px 32px rgba(16, 28, 44, 0.1);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 12px 18px;
  z-index: 100;
}
.skip:focus { left: 12px; top: 12px; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex: 0 0 auto;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  border-radius: 2px;
}
.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1.15rem;
  line-height: 1;
}
.brand-text em { font-style: normal; color: var(--muted); }

.nav {
  display: none;
  gap: 26px;
  margin-left: auto;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}
.nav a {
  text-decoration: none;
  color: var(--ink-soft);
  padding: 12px 2px;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--ink); border-bottom-color: var(--accent); }

.theme-toggle {
  margin-left: auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  cursor: pointer;
  font-size: 1.05rem;
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); }

@media (min-width: 860px) {
  .nav { display: flex; }
  .theme-toggle { margin-left: 0; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) brightness(0.72);
}
.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(9, 18, 31, 0.94) 8%, rgba(9, 18, 31, 0.55) 48%, rgba(9, 18, 31, 0.35) 100%);
}
html[data-theme='light'] .hero-veil {
  background: linear-gradient(to top, rgba(9, 18, 31, 0.92) 8%, rgba(9, 18, 31, 0.5) 50%, rgba(9, 18, 31, 0.3) 100%);
}
.hero-wrap {
  position: relative;
  z-index: 1;
  padding-block: clamp(48px, 9vw, 104px);
  color: #f4f7fb;
}
/* The hero is always a dark photo with a dark veil, in both themes, so the
   accent inside it must be the bright lime — never the light-mode olive. */
.hero .eyebrow,
.hero h1 .accent { color: #ccff33; }
.hero h1 .accent { background: rgba(204, 255, 51, 0.12); }
.eyebrow {
  margin: 0 0 14px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
}
.hero h1 {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(2.6rem, 8vw, 5.6rem);
  line-height: 0.94;
  letter-spacing: 0.005em;
  max-width: 16ch;
}
.hero h1 .accent {
  color: #ccff33;
  background: rgba(204, 255, 51, 0.12);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  padding-inline: 0.08em;
}
.hero-lede {
  margin: 0 0 28px;
  max-width: 56ch;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: #dbe3ef;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost {
  background: transparent;
  color: #f4f7fb;
  border-color: rgba(244, 247, 251, 0.5);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.hero-strip {
  list-style: none;
  margin: 0;
  padding: 22px 0 0;
  border-top: 1px solid rgba(244, 247, 251, 0.22);
  display: grid;
  gap: 16px;
}
.hero-strip li { display: grid; gap: 2px; }
.hero-strip strong {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  color: #f4f7fb;
}
.hero-strip span { font-size: 0.9rem; color: #b9c4d6; }
@media (min-width: 700px) {
  .hero-strip { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

/* ---------- sections ---------- */
.section { padding-block: var(--section-y); }
.section-alt {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}
.section-head { max-width: 62ch; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2,
.split-text h2,
.contact-text h2 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.9rem, 4.4vw, 3.1rem);
  line-height: 1.02;
  letter-spacing: 0.005em;
}
.lede { margin: 0; color: var(--ink-soft); max-width: 68ch; }

/* ---------- service cards ---------- */
.cards {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .cards { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 0 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card h3 {
  margin: 20px 22px 10px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1.35rem;
  font-weight: 700;
}
.card p { margin: 0 22px 12px; font-size: 0.97rem; color: var(--ink-soft); }
.card-note {
  margin-top: auto !important;
  font-size: 0.82rem !important;
  color: var(--muted) !important;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

/* ---------- products ---------- */
.products {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.product {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.product-media { aspect-ratio: 1; overflow: hidden; background: var(--surface-2); }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product h3 {
  margin: 18px 18px 8px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1.18rem;
}
.product p { margin: 0 18px 10px; font-size: 0.94rem; color: var(--ink-soft); }
.product .price {
  margin-top: auto;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  color: var(--accent);
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

/* ---------- split ---------- */
.split {
  display: grid;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1.15fr 1fr; }
}
.split-text p { color: var(--ink-soft); max-width: 62ch; }
.split-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.checklist {
  list-style: none;
  margin: 22px 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.checklist li {
  position: relative;
  padding-left: 26px;
  color: var(--ink);
  font-size: 0.98rem;
}
.checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 12px;
  height: 12px;
  background: var(--accent);
  clip-path: polygon(14% 46%, 0 60%, 40% 100%, 100% 22%, 86% 8%, 38% 70%);
}
.fineprint { font-size: 0.85rem; color: var(--muted); }

/* ---------- steps ---------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 22px;
  counter-reset: step;
}
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 26px 24px 28px;
}
.step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 12px;
}
.steps h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1.22rem;
}
.steps p { margin: 0; color: var(--ink-soft); font-size: 0.96rem; }

/* ---------- infos ---------- */
.info-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .info-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .info-grid { grid-template-columns: repeat(4, 1fr); } }
.info-block {
  border-left: 2px solid var(--accent);
  padding-left: 18px;
}
.info-block h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1rem;
  color: var(--muted);
}
.info-block p { margin: 0 0 8px; color: var(--ink); font-size: 0.98rem; }

/* ---------- contact ---------- */
.contact-wrap {
  display: grid;
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}
@media (min-width: 900px) { .contact-wrap { grid-template-columns: 1fr 1fr; } }
.contact-text p { color: var(--ink-soft); max-width: 52ch; }

.contact-form {
  display: grid;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 4vw, 32px);
}
.contact-form label {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 8px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 1rem;
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
.contact-form .btn { margin-top: 16px; justify-self: start; }
.form-status { margin: 6px 0 0; font-size: 0.92rem; min-height: 1.2em; }
.form-status.is-ok { color: var(--accent); }
.form-status.is-error { color: #ff9a8a; }
html[data-theme='light'] .form-status.is-error { color: #a3231a; }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding-block: clamp(40px, 6vw, 64px) 20px;
}
.footer-inner {
  display: grid;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 800px) {
  .footer-inner { grid-template-columns: 1.4fr 1fr; align-items: start; }
}
.footer-brand p {
  margin: 14px 0 0;
  max-width: 44ch;
  color: var(--muted);
  font-size: 0.94rem;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 0.95rem;
}
.footer-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  padding: 6px 0;
}
.footer-nav a:hover { color: var(--accent); }

.attribution {
  margin: 18px 0 0;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: right;
}
.attribution a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.attribution a:hover { color: var(--ink-soft); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
