/* La Croix Blanche — Delémont
   Feuille de style commune. Ce fichier n'est PAS modifiable via WhatsApp :
   l'agent n'édite que le contenu des pages HTML. */

:root {
  --bordeaux: #8b1a1a;
  --bordeaux-fonce: #6e1414;
  --creme: #faf7f2;
  --encre: #2b2b2b;
  --gris: #6b6b6b;
  --filet: #e3dcd2;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  background: var(--creme);
  color: var(--encre);
  line-height: 1.65;
}

/* ---------- En-tête / navigation ---------- */
header.site {
  background: var(--bordeaux);
  color: #fff;
  padding: 0.8rem 1rem;
}

header.site .barre {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

header.site .marque {
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  color: #fff;
  text-decoration: none;
}

header.site nav a {
  color: #f3dede;
  text-decoration: none;
  margin-left: 1.2rem;
  font-size: 0.95rem;
}

header.site nav a:hover,
header.site nav a[aria-current="page"] {
  color: #fff;
  border-bottom: 1px solid #fff;
}

/* ---------- Bandeau d'accueil ---------- */
.hero {
  text-align: center;
  padding: 3rem 1rem 2.2rem;
  border-bottom: 1px solid var(--filet);
}

.hero h1 {
  font-size: 2.3rem;
  font-weight: normal;
  letter-spacing: 0.06em;
  color: var(--bordeaux);
  margin: 0 0 0.4rem;
}

.hero .sous-titre {
  font-style: italic;
  color: var(--gris);
  margin: 0 0 1.4rem;
}

.bouton {
  display: inline-block;
  background: var(--bordeaux);
  color: #fff;
  text-decoration: none;
  padding: 0.55rem 1.3rem;
  border-radius: 3px;
  margin: 0.2rem 0.3rem;
}

.bouton:hover { background: var(--bordeaux-fonce); }

.bouton.secondaire {
  background: transparent;
  color: var(--bordeaux);
  border: 1px solid var(--bordeaux);
}

/* ---------- Contenu ---------- */
main {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 1rem 2rem;
}

section { margin: 2.4rem 0; }

h2 {
  font-weight: normal;
  color: var(--bordeaux);
  font-size: 1.5rem;
  border-bottom: 1px solid var(--filet);
  padding-bottom: 0.3rem;
}

h3 {
  font-weight: normal;
  font-style: italic;
  color: var(--encre);
  margin-bottom: 0.3rem;
}

/* Annonce du moment */
.annonce {
  background: #fdf2f2;
  border-left: 4px solid var(--bordeaux);
  padding: 0.9rem 1.1rem;
  margin: 1.8rem 0;
}

/* Listes de plats : libellé à gauche, prix à droite */
ul.plats {
  list-style: none;
  padding: 0;
  margin: 0.6rem 0;
}

ul.plats li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px dotted var(--filet);
}

.prix { white-space: nowrap; font-weight: bold; }

.note {
  font-size: 0.9rem;
  color: var(--gris);
  font-style: italic;
}

/* Horaires en deux colonnes sur grand écran */
.colonnes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 600px) {
  .colonnes { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.8rem; }
}

dl.horaires { margin: 0.6rem 0; }
dl.horaires dt { font-weight: bold; margin-top: 0.5rem; }
dl.horaires dd { margin: 0; color: var(--encre); }

/* ---------- Pied de page ---------- */
footer.site {
  border-top: 1px solid var(--filet);
  margin-top: 2rem;
  padding: 1.4rem 1rem 2rem;
  text-align: center;
  font-size: 0.92rem;
  color: var(--gris);
}

footer.site a { color: var(--bordeaux); }
