/* Reset */
*{ margin:0; padding:0; box-sizing:border-box; }

/* Thème AUTONET (cohérent pages avis/contact/rdv/presentation) */
:root{
  --bg-1:#FAE6B1;
  --bg-2:#31525B;

  --text:#0C1416;
  --text-dim: rgba(12,20,22,.70);

  --accent-1:#000000;
  --accent-2:#000000;
  --accent-3:#22C55E;

  --stroke: rgba(49,82,91,.22);
  --shadow: 0 18px 60px rgba(0,0,0,.16);
  --radius: 20px;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;

  background:
    radial-gradient(800px 500px at 15% 20%, rgba(179, 222, 229, 0.28), transparent 60%),
    radial-gradient(700px 450px at 85% 25%, rgba(255, 161, 1, 0.18), transparent 55%),
    radial-gradient(900px 700px at 50% 90%, rgba(34, 197, 94, 0.10), transparent 60%);

  z-index: 0;
}


body {
  font-family: 'Urbanist', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  /* Base claire et neutre */
  background:
    linear-gradient(
      160deg,
      #FAE6B1 0%,
      #F6E3B0 35%,
      #31525B 100%
    );

  color: var(--text);
  overflow: hidden;
}


/* Grain léger */
body::before{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events:none;
  opacity: .10;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* Écran d’accueil */
.intro-screen{
  width:100%;
  height:100vh;
  display:flex;
  justify-content:center;
  align-items:center;
  gap: 18px;
  padding: 22px;
  position: relative;
}

/* Plateau glass clair (comme les cards des pages) */
.intro-screen::after{
  
  position:absolute;
  inset: 18px;
  border-radius: 28px;

  background: linear-gradient(180deg, rgba(255,255,255,0.70), rgba(255,255,255,0.52));
  border: 1px solid rgba(49,82,91,0.18);
  box-shadow: var(--shadow);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 0;
}

/* Items menu */
.menu-item{
  position: relative;
  z-index: 1;

  font-weight: 800;
  font-size: clamp(1.4rem, 2.6vw, 2.2rem);
  letter-spacing: -0.02em;

  cursor: pointer;
  user-select: none;

  padding: 18px 22px;
  border-radius: var(--radius);

  /* card style clair */
  background: rgba(255,255,255,0.55);
  border: 1px solid var(--stroke);
  box-shadow: 0 12px 35px rgba(0,0,0,0.10);

  /* texte premium */
  color: rgba(12,20,22,0.92);

  /* animation arrivée (tes valeurs) */
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity .6s ease,
    transform .6s ease,
    box-shadow .25s ease,
    border-color .25s ease,
    background-color .25s ease;
}

/* Accent line */
.menu-item::after{
  content:"";
  position:absolute;
  left: 16px;
  right: 16px;
  bottom: 10px;
  height: 3px;
  border-radius: 99px;

  background: linear-gradient(90deg, var(--accent-2), var(--accent-1));
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .25s ease, transform .25s ease;
}

/* Apparition */
.menu-item.show{
  opacity: 1;
  transform: translateY(0);
}

/* Hover desktop */
@media (hover:hover) and (pointer:fine){
  .menu-item:hover{
    transform: translateY(-6px);
    background: rgba(255,255,255,0.72);
    border-color: rgba(49,82,91,0.30);
    box-shadow: 0 22px 70px rgba(0,0,0,0.18);
  }
  .menu-item:hover::after{
    opacity: 1;
    transform: translateY(0);
  }
}

/* Focus clavier */
.menu-item:focus-visible{
  outline: none;
  border-color: rgba(255,161,1,0.55);
  box-shadow: 0 0 0 4px rgba(255,161,1,0.18), var(--shadow);
}

/* Responsive */
@media (max-width: 820px){
  body{ overflow:auto; }
  .intro-screen{
    flex-direction: column;
    gap: 14px;
    padding: 18px;
  }
  .intro-screen::after{ inset: 12px; }
  .menu-item{
    width: min(560px, 92vw);
    text-align:center;
    font-size: clamp(1.5rem, 6vw, 2.0rem);
    padding: 18px 16px;
  }
}

/* Animations click (tes classes conservées) */
.menu-item.slide-out{
  transform: translateX(220px);
  opacity: 0;
  transition: transform .5s ease, opacity .5s ease;
}
.menu-item.fade-out{
  opacity: 0;
  transition: opacity .4s ease;
}