/* La Terraza — styles communs */
:root {
  --noir: #000000;
  --rouge: #BF3922;       /* couleur du logo, proche RAL 2002 */
  --texte-doux: #D9D2C7;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
*, *::before, *::after { box-sizing: inherit; }
html, body { margin: 0; min-height: 100%; background: var(--noir); }
body {
  font-family: "Manrope", "Helvetica Neue", Arial, sans-serif;
  color: var(--rouge);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--rouge); outline-offset: 4px; }
img { max-width: 100%; }

/* ---------- Page d'accueil ---------- */
.accueil {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 40px 20px 56px;
  overflow: hidden;
}
.fond {
  position: fixed;
  inset: 0;
  background-color: var(--noir);
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}
.fond.visible { opacity: 1; }
.fond::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0.35); }
.fond-terraza    { background-image: url("../images/fond-la-terraza.jpg"); }
.fond-petite     { background-image: url("../images/fond-la-petite-terraza.jpg"); }
.fond-experience { background-image: url("../images/fond-la-terraza-experience.jpg"); }

.lieu {
  position: relative;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0;
}
.cartes {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.carte {
  width: 230px;
  height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  border: 2px solid var(--rouge);
  border-radius: 20px;
  background: rgba(0,0,0,0.55);
  text-decoration: none;
  text-align: center;
}
.carte img { height: 108px; width: auto; display: block; }
.carte span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.legal {
  position: absolute;
  bottom: 16px;
  left: 0; right: 0;
  text-align: center;
  font-size: 11px;
  opacity: 0.6;
}
.legal a { text-decoration: none; }
.legal a:hover { text-decoration: underline; }

@media (min-width: 820px) {
  .cartes { flex-direction: row; gap: 24px; }
  .carte { width: 240px; height: 240px; }
  .carte img { height: 168px; }
}

/* ---------- Pages intérieures ---------- */
.page {
  max-width: 640px;
  margin: 0 auto;
  padding: 40px 24px 64px;
  line-height: 1.6;
}
.page .retour { display: inline-block; margin-bottom: 32px; font-size: 14px; font-weight: 600; }
.page .logo { display: block; width: 200px; height: auto; margin: 0 auto 24px; }
.page h1 { font-size: 22px; text-align: center; margin: 0 0 8px; }
.page h2 { font-size: 16px; margin: 32px 0 8px; }
.page p, .page li { color: var(--texte-doux); font-size: 15px; }
.page .intro { text-align: center; }
.page .a-completer { color: var(--rouge); font-weight: 700; }

@media (prefers-reduced-motion: reduce) {
  .fond { transition: none; }
}

.page .bientot {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  color: var(--rouge);
  margin: 24px 0 8px;
}
