/* ============================================================
   BUUR Digital — main.css v2 PREMIUM
   Design system global, reset, typographie, composants
   ============================================================ */

:root {
  --orange:        #ea5b13;
  --orange-light:  #f6ab7a;
  --orange-dark:   #c44a0e;
  --blue:          #243a85;
  --blue-light:    #3a56b8;
  --black:         #080810;
  --surface:       #0d0d18;
  --surface-2:     #13131e;
  --border:        rgba(255,255,255,0.07);
  --border-strong: rgba(255,255,255,0.14);
  --white:         #f5f4f0;
  --grey-100:      #e5e5e5;
  --grey-400:      #888888;
  --grey-600:      #555555;

  /* Georgia pour tout le site */
  --font-sans: Georgia, 'Times New Roman', serif;
  --font-mono: Georgia, 'Times New Roman', serif;

  --container-max: 1240px;
  --container-pad: clamp(1.25rem, 5vw, 3rem);
  --nav-h: 72px;

  --radius-sm:   4px;
  --radius-md:   10px;
  --radius-lg:   18px;
  --radius-full: 9999px;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring:   cubic-bezier(0.34, 1.56, 0.64, 1);

  --shadow-orange: 0 0 48px rgba(234,91,19,0.25);
  --shadow-card:   0 2px 24px rgba(0,0,0,0.5);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--white);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
svg { display: inline-block; flex-shrink: 0; }

/* ── Layout ── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* ── Typographie commune ── */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.1rem;
}
.section-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--orange);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 1.5rem;
}

/* ── Boutons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  background: var(--orange);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-full);
  border: 2px solid var(--orange);
  transition: background 250ms, transform 200ms var(--ease-spring), box-shadow 250ms;
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-orange);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  background: transparent;
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-full);
  border: 2px solid rgba(255,255,255,0.25);
  transition: border-color 250ms, background 250ms, transform 200ms var(--ease-spring);
  white-space: nowrap;
}
.btn-outline:hover {
  border-color: var(--orange);
  background: rgba(234,91,19,0.08);
  transform: translateY(-2px);
}

.btn-lg { padding: 1.1rem 2.2rem; font-size: 1rem; }

.btn-card {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.2rem;
  background: transparent;
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 600;
  border: 1.5px solid rgba(234,91,19,0.4);
  border-radius: var(--radius-md);
  transition: background 200ms, border-color 200ms, color 200ms;
}
.btn-card:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

/* ── Navbar ── */
.buur-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 900;
  background: rgba(8,8,16,0.0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition: background 400ms, backdrop-filter 400ms, border-color 400ms;
}
.buur-nav.scrolled {
  background: rgba(8,8,16,0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom-color: var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}
.nav-logo { display: flex; align-items: center; }
.site-logo-text {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.logo-buur    { color: var(--orange); }
.logo-digital { color: var(--white); font-size: 0.92rem; opacity: 0.75; }
.site-logo-img { height: 40px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(245,244,240,0.65);
  position: relative;
  transition: color 200ms;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--orange);
  transition: width 300ms var(--ease-out-expo);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px; height: 36px;
  padding: 6px;
}
.nav-burger span {
  display: block;
  width: 100%; height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 300ms var(--ease-out-expo), opacity 300ms;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem var(--container-pad);
  background: rgba(8,8,16,0.97);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(24px);
}
.nav-mobile.is-open { display: flex; }
.nav-mobile ul { display: flex; flex-direction: column; gap: 0.75rem; }
.nav-mobile a { font-size: 1.1rem; font-weight: 500; color: var(--grey-100); }
.mobile-cta { display: flex; flex-direction: column; gap: 0.75rem; padding-top: 1rem; border-top: 1px solid var(--border); margin-top: 0.5rem; }
.mobile-cta .btn-primary, .mobile-cta .btn-outline { justify-content: center; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta   { display: none; }
  .nav-burger { display: flex; }
}

/* ── Révélation au scroll ── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.32s; }
.reveal-delay-4 { transition-delay: 0.44s; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 2px; }

/* ── Section divider ── */
.section-divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  border: none;
  margin: 0;
}
