/* ==========================================================================
   Maison Aubin — exemple de réalisation
   Quatrième identité de la série. Ici c'est la STRUCTURE qui change, pas
   seulement la palette : colonne latérale fixe au lieu d'un en-tête
   horizontal, ouverture directe sur les produits au lieu d'un hero photo,
   grille asymétrique au lieu de bandes pleine largeur empilées.
   Slab serif (Zilla Slab) : ni la display grasse d'ambree.fr, ni la didone
   du Bistrot Vallier, ni la condensée de l'Atelier Brunel.
   Feuille de style autonome.
   ========================================================================== */

:root {
  --prune: #4a2338;
  --prune-clair: #6b3a52;
  --papier: #fdf8f1;
  --papier-sombre: #f2e9db;
  --beurre: #e8b14c;   /* uniquement sur fonds prune : 1,8:1 sur le papier */
  --ambre: #8a5a12;    /* équivalent lisible sur fonds clairs : 5,8:1 */
  --encre: #2a1a22;
  --encre-douce: #5d4a54;

  --titre: "Zilla Slab", Georgia, serif;
  --corps: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

body {
  background: var(--papier);
  color: var(--encre);
  font-family: var(--corps);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, dl { list-style: none; }
h1, h2, h3 { font-family: var(--titre); font-weight: 700; line-height: 1.08; }

.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border: 2px solid var(--beurre);
  border-radius: 999px;
  color: var(--beurre);
  font-family: var(--titre);
  font-size: 1rem;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease;
}
.bouton:hover { background: var(--beurre); color: var(--prune); }
.bouton-plein { background: var(--prune); border-color: var(--prune); color: var(--papier); }
.bouton-plein:hover { background: var(--prune-clair); border-color: var(--prune-clair); color: var(--papier); }

:focus-visible { outline: 3px solid var(--ambre); outline-offset: 3px; }

/* ---- Bandeau de démonstration ---- */
.demo-flag {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  background: var(--beurre);
  color: var(--encre);
  font-size: 0.82rem;
  text-align: center;
}
.demo-flag a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }

/* ==========================================================================
   Ossature : colonne fixe + contenu défilant
   ========================================================================== */

.page { display: grid; grid-template-columns: 340px 1fr; }

.colonne { background: var(--prune); color: var(--papier); }
.colonne-contenu {
  position: sticky;      /* reste à l'écran pendant tout le défilement */
  top: 0;
  padding: 44px 36px;
  max-height: 100vh;
  overflow-y: auto;
}

.marque { font-family: var(--titre); font-size: 2.3rem; line-height: 0.95; }
.marque span { color: var(--beurre); }
.marque-sous { margin-top: 14px; font-size: 0.88rem; color: var(--papier-sombre); }

.bloc-info { margin-top: 36px; }
.bloc-info h2 {
  font-family: var(--corps);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--beurre);
  margin-bottom: 12px;
}
.bloc-info dl div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 0.86rem; }
.bloc-info dt { color: var(--papier-sombre); white-space: nowrap; }
.bloc-info dd { text-align: right; }
.bloc-info p { font-size: 0.9rem; }
.colonne-tel { margin-top: 10px; font-family: var(--titre); font-size: 1.25rem; }
.colonne .bouton { margin-top: 32px; width: 100%; }

@media (max-width: 900px) {
  .page { grid-template-columns: 1fr; }
  .colonne-contenu { position: static; max-height: none; padding: 32px 24px; }
}

.contenu { padding: 0 clamp(20px, 4vw, 56px) 0; }

/* ---- Aujourd'hui ---- */
.aujourdhui { padding-top: clamp(40px, 6vw, 72px); }
.jour {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ambre);
  margin-bottom: 12px;
}
.aujourdhui h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); margin-bottom: 36px; }

/* Grille asymétrique : deux produits en colonnes hautes, un troisième
   qui court sur toute la largeur. Rompt avec les grilles régulières
   des autres exemples. */
.grille-produits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.produit-large { grid-column: 1 / -1; }

.produit { background: var(--papier-sombre); overflow: hidden; }
.produit img { width: 100%; height: 340px; object-fit: cover; }
.produit-large img { height: 260px; }
.produit-texte { padding: 22px 24px 26px; }
.produit h3 { font-size: 1.45rem; margin-bottom: 8px; }
.produit p { color: var(--encre-douce); font-size: 0.94rem; }
.prix { display: block; margin-top: 14px; font-family: var(--titre); font-size: 1.2rem; color: var(--ambre); }
.prix em { font-style: normal; font-family: var(--corps); font-size: 0.82rem; color: var(--encre-douce); }

.produit-sombre { background: var(--prune); color: var(--papier); }
.produit-sombre p { color: var(--papier-sombre); }
.produit-sombre .prix { color: var(--beurre); }
.produit-sombre .prix em { color: var(--papier-sombre); }

@media (max-width: 700px) {
  .grille-produits { grid-template-columns: 1fr; }
  .produit img { height: 260px; }
}

/* ---- Le fournil ---- */
.fournil { padding: clamp(48px, 7vw, 88px) 0; max-width: 62ch; }
.fournil h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); margin-bottom: 20px; }
.fournil p { color: var(--encre-douce); }
.fournil p + p { margin-top: 14px; }

.repères {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 2px solid var(--prune);
}
.repères strong {
  display: block;
  font-family: var(--titre);
  font-size: 2.1rem;
  color: var(--prune);
  line-height: 1;
  margin-bottom: 6px;
}
.repères li { font-size: 0.88rem; color: var(--encre-douce); }
@media (max-width: 620px) { .repères { grid-template-columns: 1fr; gap: 14px; } }

/* ---- Sur commande ---- */
.commande {
  background: var(--papier-sombre);
  margin-inline: calc(clamp(20px, 4vw, 56px) * -1);
  padding: clamp(44px, 6vw, 76px) clamp(20px, 4vw, 56px);
}
.commande h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); margin-bottom: 10px; }
.commande-intro { color: var(--encre-douce); max-width: 50ch; }
.liste-commande { margin-top: 28px; max-width: 640px; }
.liste-commande li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(74, 35, 56, 0.2);
}
.liste-commande li::after {
  content: "";
  flex: 1;
  order: 1;
  border-bottom: 1px dotted rgba(74, 35, 56, 0.35);
  transform: translateY(-4px);
}
.liste-commande em { order: 2; font-style: normal; font-family: var(--titre); color: var(--ambre); }
.commande-note { margin-top: 20px; font-size: 0.88rem; color: var(--encre-douce); max-width: 54ch; }
.commande .bouton { margin-top: 26px; }

/* ---- Marchés ---- */
.marche { padding: clamp(48px, 7vw, 88px) 0; }
.marche h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin-bottom: 26px; }
.grille-marche { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--papier-sombre); }
.grille-marche div { background: var(--papier); padding: 22px 20px; }
.grille-marche strong {
  display: block;
  font-family: var(--titre);
  font-size: 1.3rem;
  color: var(--prune);
  margin-bottom: 4px;
}
.grille-marche span { font-size: 0.9rem; color: var(--encre-douce); }
@media (max-width: 760px) { .grille-marche { grid-template-columns: 1fr; } }

/* ---- Pied ---- */
.pied {
  padding: 32px 0 44px;
  border-top: 2px solid var(--prune);
  font-size: 0.88rem;
  color: var(--encre-douce);
}
.pied-mention { margin-top: 10px; }
.pied-mention a { color: var(--ambre); text-decoration: underline; text-underline-offset: 3px; }
