/* ============================================================
   style.css — Page "Site en construction"
   Restaurant local
   ============================================================ */

/* --- Variables -------------------------------------------- */
:root {
  --bg:        #1a1410;
  --surface:   #231c16;
  --gold:      #c8a96e;
  --gold-pale: #e8d5a8;
  --cream:     #f5ede0;
  --muted:     #7a6a55;
  --radius:    4px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Lato', sans-serif;
}

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

html, body {
  height: 100%;
}

body {
  background-color: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  overflow: hidden;
  position: relative;
}

/* --- Grain texture overlay --------------------------------- */
.bg-texture {
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.07'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

/* --- Layout ----------------------------------------------- */
.container {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  animation: fadeIn 1.2s ease both;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --- Decorative lines ------------------------------------- */
.decorative-line {
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  position: relative;
}

.decorative-line::before,
.decorative-line::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  transform: translateY(-50%);
}
.decorative-line::before { left: 0; }
.decorative-line::after  { right: 0; }

/* --- Label & title ---------------------------------------- */
.label {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
}

.title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.6rem, 5vw, 2.8rem);
  font-weight: 400;
  color: var(--gold-pale);
  line-height: 1.2;
}

/* --- Countdown -------------------------------------------- */
.countdown {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 90px;
}

.number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 5.5rem);
  font-weight: 700;
  color: var(--cream);
  line-height: 1;
  letter-spacing: -0.02em;
  transition: color 0.3s;
}

.number.tick {
  color: var(--gold);
}

.legend {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.5rem;
}

.separator {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 400;
  color: var(--gold);
  line-height: 1.05;
  opacity: 0.6;
  user-select: none;
}

/* --- Opening date ------------------------------------------ */
.opening-date {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--muted);
  letter-spacing: 0.1em;
}

.opening-date sup {
  font-size: 0.6em;
  vertical-align: super;
}

/* --- Responsive -------------------------------------------- */
@media (max-width: 480px) {
  .unit { min-width: 64px; }
  .separator { font-size: 2rem; }
}

/* --- Footer ----------------------------------------------- */
.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
  padding: 1rem;
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  z-index: 10;
}

.footer a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer a:hover {
  color: var(--gold);
}

.footer-sep {
  margin: 0 0.75rem;
  opacity: 0.4;
}