@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap');

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

:root {
  --color-bg: #ffffff;
  --color-text: #0f0f0f;
  --color-muted: rgba(15,15,15,0.5);
  --color-accent: #8b6f47;
  --color-border: rgba(0,0,0,0.08);

  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  min-height: 100vh;
  overflow-x: hidden;
}

img, video, svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(139,111,71,0.3);
  transition: border-color 0.2s ease, color 0.2s ease;
}

a:hover {
  color: #6b4f2a;
  border-color: rgba(139,111,71,0.8);
}

/* =====================
   GEAR
   ===================== */
#gear-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 64px;
  animation: fadeUp 0.8s ease both;
}

.gear {
  animation: spin 8s linear infinite;
  fill: none;
  stroke: #0f0f0f;
  stroke-width: 1.2;
  opacity: 0.5;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* =====================
   CONTENU
   ===================== */
.accueil {
  position: relative;
  z-index: 1;
  margin: 64px auto;
  max-width: 560px;
  padding: 0 2rem;
  animation: fadeUp 0.8s 0.15s ease both;
}

#text-wrapper {
  position: relative;
  transition: transform 0.2s ease;
}

#text-wrapper::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--color-accent);
  margin-bottom: 2rem;
  opacity: 0.5;
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: 1.5rem;
}

p {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--color-muted);
  letter-spacing: 0.01em;
}

/* =====================
   LOGO
   ===================== */
#logo {
  width: 130px;
  display: block;
  margin: 20px auto 60px;
  position: relative;
  z-index: 2;
  transition: transform 0.2s ease;
  opacity: 0.85;

}

#logo:hover {
  opacity: 1;
}

/* =====================
   BULLE LIQUID
   ===================== */


/* =====================
   ANIMATION ENTRÉE
   ===================== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeOpacity {
  from { opacity: 0; }
  to   { opacity: 0.85; }
}