*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent; /* Supprime le flash gris au clic sur mobile */
}

:root {
  --bg: #080808;
  --fg: #e8e2d9;
  --muted: #5a5550;
  --accent: #c8b89a;
  --line: rgba(200, 184, 154, 0.15);
  --highlight: #00f3ff;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Karla', sans-serif;
  font-weight: 300;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  padding: 10vh 0;
  cursor: none;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

.cursor { position: fixed; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; pointer-events: none; z-index: 9999; transform: translate(-50%, -50%); }
.cursor-ring { position: fixed; width: 28px; height: 28px; border: 1px solid rgba(200, 184, 154, 0.4); border-radius: 50%; pointer-events: none; z-index: 9998; transform: translate(-50%, -50%); transition: width 0.3s, height 0.3s, border-color 0.3s; }
.cursor-ring.hovered { width: 44px; height: 44px; border-color: var(--accent); }

.container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 400px;
  padding: 0 1.5rem;
  animation: fadeIn 1.2s ease both;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.header { margin-bottom: 3rem; }
.name { 
  font-family: 'Cormorant Garamond', serif; 
  font-size: clamp(2rem, 8vw, 2.8rem); 
  font-weight: 300; 
  line-height: 1.2;
  white-space: nowrap; 
}

.tagline { margin-top: 0.55rem; font-size: 0.72rem; color: var(--accent); letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.9; }

.divider { width: 32px; height: 1px; background: var(--accent); margin: 2rem 0; opacity: 0.3; }

.links { display: flex; flex-direction: column; border-top: 1px solid var(--line); /* Un seul trait propre en haut de la liste */ }
.link-item {
  display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 0;
  text-decoration: none; color: var(--fg); border-bottom: 1px solid var(--line); transition: color 0.3s;
}
.link-item:hover { color: var(--accent); }

.link-left { display: flex; align-items: center; gap: 1rem; }
.link-icon { width: 18px; height: 18px; opacity: 0.55; fill: currentColor; }
.link-label { font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; }
.link-handle { font-size: 0.72rem; color: var(--muted); }
.link-arrow { width: 14px; height: 14px; opacity: 0.3; transition: transform 0.3s; }
.link-item:hover .link-arrow { transform: translate(3px, -3px); opacity: 1; }

.footer-copy { margin-top: 2.5rem; font-size: 0.65rem; color: var(--muted); letter-spacing: 0.12em; text-transform: uppercase; }

/* Newsletter */
.newsletter-section { margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.newsletter-label { font-size: 0.72rem; color: var(--accent); letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 1.2rem; display: block; }
.newsletter-form { display: flex; flex-direction: column; gap: 10px; }
.newsletter-form input {
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); color: var(--fg);
  padding: 12px; font-family: 'Karla', sans-serif; font-size: 0.85rem; outline: none; border-radius: 0;
  -webkit-appearance: none; /* Évite les styles safari par défaut */
}
.newsletter-btn {
  background: var(--accent); color: var(--bg); border: none; padding: 12px;
  font-family: 'Karla', sans-serif; font-size: 0.75rem; text-transform: uppercase;
  cursor: pointer; display: flex; align-items: center; justify-content: center; transition: opacity 0.3s;
}

#newsletter-message {
  display: none;
  font-size: 0.8rem;
  color: var(--accent);
  margin-top: 1rem;
  letter-spacing: 0.05em;
  animation: fadeIn 0.5s ease;
}

/* Cacher le curseur custom sur mobile pour éviter les bugs de lag */
@media (max-width: 768px) {
  .cursor, .cursor-ring { display: none; }
  body { cursor: auto; }
}