/* =========================================================
   Accord & Vins — page d'attente
   Palette : nuit #04060F / #0A0F22, ivoire #E9DEC9,
             or #C9A24B, bordeaux #7B2D3D
   ========================================================= */

:root{
  --night-1: #03050d;
  --night-2: #0b1126;
  --ivory: #ece2cd;
  --gold: #c9a24b;
  --gold-soft: #d8b878;
  --bordeaux: #7b2d3d;
}

*{ box-sizing: border-box; }

html, body{
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body{
  background: radial-gradient(circle at 50% 18%, var(--night-2) 0%, var(--night-1) 62%);
  color: var(--ivory);
  font-family: 'Cormorant Garamond', serif;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
}

.scene{
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6vh 1.5rem 3rem;
}

.glow{
  position: absolute;
  top: -10%;
  left: 50%;
  width: 60vw;
  height: 60vw;
  max-width: 700px;
  max-height: 700px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(201,162,75,0.10) 0%, rgba(201,162,75,0) 70%);
  pointer-events: none;
}

.card{
  position: relative;
  z-index: 1;
  max-width: 560px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo{
  width: clamp(140px, 24vw, 220px);
  height: auto;
  display: block;
}

.rule{
  width: 64px;
  height: 1px;
  margin: 1.6rem 0 1.8rem;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

h1{
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: clamp(1.3rem, 3.4vw, 1.9rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin: 0 0 1.1rem;
}

.lede{
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-style: italic;
  line-height: 1.6;
  color: var(--ivory);
  opacity: 0.88;
  max-width: 30em;
  margin: 0 0 2.2rem;
}

/* ---- signature : le verre qui respire ---- */

.glass-wrap{
  margin: 0.4rem 0 2.4rem;
}

.glass{
  width: 96px;
  height: auto;
  overflow: visible;
}

.liquid-clip{
  overflow: hidden;
}

.liquid{
  transform-origin: 50% 144px;
  transform-box: fill-box;
  animation: breathe 7s ease-in-out infinite;
}

.sway{
  transform-origin: 50% 212px;
  transform-box: fill-box;
  animation: tilt 9s ease-in-out infinite;
}

@keyframes breathe{
  0%, 100% { transform: scaleY(0.78) scaleX(1); }
  50%      { transform: scaleY(0.97) scaleX(1.015); }
}

@keyframes tilt{
  0%, 100% { transform: rotate(-1.4deg); }
  50%      { transform: rotate(1.4deg); }
}

.eyebrow{
  font-family: 'Jost', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.85;
  margin: 0 0 0.9rem;
}

.contact{
  font-family: 'Jost', sans-serif;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  color: var(--ivory);
  text-decoration: none;
  border: 1px solid rgba(201,162,75,0.55);
  border-radius: 999px;
  padding: 0.7rem 1.7rem;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.contact:hover,
.contact:focus-visible{
  background: var(--bordeaux);
  border-color: var(--bordeaux);
  color: var(--ivory);
}

.contact:focus-visible{
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

footer{
  position: relative;
  z-index: 1;
  margin-top: 3.2rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ivory);
  opacity: 0.4;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  padding: 0 1rem;
}

footer .dot{ opacity: 0.7; }

@media (max-width: 420px){
  footer{ flex-direction: column; gap: 0.2rem; }
}

@media (prefers-reduced-motion: reduce){
  .liquid, .sway{
    animation: none;
    transform: none;
  }
}
