/* ============================================================
   CHARTE BRASSERIE PAUL — variables propres à la maison
   (seul fichier propre à la maison ; base.css reste le gabarit commun)
   Source : Chartes graphiques/CHARTE-AGENT.md + DESIGN.md
   ⚠️ Police d'attente : TC Aurellia (famille partagée du groupe) —
   la police officielle Brasserie Paul est à demander au graphiste ;
   le jour venu, seuls les @font-face et les deux variables typo changent.
   ============================================================ */

@font-face {
  font-family: "Aurellia";
  src: url("../fonts/aurellia-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Aurellia";
  src: url("../fonts/aurellia-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Filosofia OT";
  src: url("../fonts/filosofia-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Couleurs */
  --couleur-principale: #0f3b2e;   /* vert Brasserie Paul (Pantone 5535 C) */
  --couleur-accent: #a3874f;       /* laiton — filets, décor (jamais cliquable) */
  --couleur-accent-texte: #7c6537; /* laiton assombri — surtitres sur clair (AA) */
  --couleur-accent-heros: #e7d2a0; /* laiton lumineux — surtitres sur photo de héros (report correctif Toto's 30/07/2026) */
  --fond: #f5f1e8;                 /* crème nappe */
  --fond-rgb: 245, 241, 232;       /* repli rgba() pour navigateurs sans color-mix() */
  --fond-sombre: #0f3b2e;          /* bandeau, footer */
  --encre: #1d1a14;                /* texte courant */
  --encre-douce: #635b4d;          /* texte secondaire */

  /* POLICE OFFICIELLE : Filosofia OT — retrouvée le 30/07/2026 dans
     OneDrive NH « Communication/COULEURS : POLICE » et convertie en woff2.
     (Un seul poids regular : l'italique du corps est un oblique navigateur ;
     TC Aurellia reste en repli.) ⚠️ Licence webfont Emigre à vérifier
     avant mise en ligne publique, comme les autres polices. */
  --typo-titres: "Filosofia OT", Georgia, serif; /* titres : Filosofia, comme le reste du site (décision finale 30/07/2026 après essais Bodoni/Merienda) */
  --typo-intitules: "Filosofia OT", "Aurellia", "Trebuchet MS", sans-serif;
  --typo-corps: "Filosofia OT", "Aurellia", Georgia, serif;

  --style-titres: normal;
  --style-corps: italic;
}

/* Le logotype officiel est droit : neutraliser l'inclinaison du gabarit
   (sélecteurs plus spécifiques que base.css, chargé après ce fichier). */
.entete .entete__marque, .pied .pied__marque { transform: none; }
.entete .entete__marque { font-size: 1.45rem; letter-spacing: 0.04em; }

/* L'en-tête et le pied portent le logo gravé « Grande Brasserie Paul »
   (Chartes graphiques/BRASSERIE PAUL/LOGOS). Décision 30/07/2026 : le logo
   CRÈME partout, en grand — au défilement le bandeau devient VERT (fond
   sombre de la charte) pour qu'il reste lisible. Sélecteurs header./nav.
   pour l'emporter sur base.css chargé après. */
.entete .entete__marque, .pied .pied__marque { transform: none; }
.entete__marque img { height: 74px; width: auto; display: block; }
.pied__marque img { height: 84px; width: auto; display: block; }
.entete .marque--encre { display: none; }

header.entete--fond {
  background: rgba(15, 59, 46, 0.97);
  background: color-mix(in srgb, var(--fond-sombre) 97%, transparent);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--couleur-accent) 40%, transparent);
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
}
header.entete--fond .entete__marque img { height: 56px; }
header.entete--fond .nav a { color: var(--fond); }
header.entete--fond .nav a:hover,
header.entete--fond .nav a[aria-current="page"] { color: var(--couleur-accent-heros); }
header.entete--fond .nav__bascule { color: var(--fond); }
@media (max-width: 860px) {
  /* panneau déplié : fond crème -> revenir à l'encre */
  header.entete--fond .nav.ouverte a { color: var(--encre); }
}

/* Surtitre majeur (accueil) : « Grande brasserie de Rouen · Depuis 1898 »
   en grand et en gras, centré sur la photo (retour 30/07/2026) */
.heros p.surtitre--majeur {
  font-family: var(--typo-titres);
  font-size: clamp(1.3rem, 2.8vw, 2rem);
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: none;
}
/* Le grand logo gravé au cœur du héros de l'accueil */
.heros__logo {
  width: clamp(300px, 42vw, 560px);
  height: auto;
  display: block;
  margin: 0 auto 1.2rem;
  opacity: 0.82;
  filter: drop-shadow(0 2px 18px rgb(0 0 0 / 0.55));
}

/* La carte : espacements resserrés (retour 30/07/2026 « trop espacé ») */
.menu-colonnes .menu-section { margin-bottom: 1.4rem; }
.menu-colonnes .plat { margin-bottom: 0.45rem; }
.menu-colonnes .plat__description { margin: -0.35rem 0 0.55rem; }
