/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

/* ---------- Mise en page de l'accueil ----------
   Astra range le contenu dans une boîte .ast-container en "display: flex"
   (les blocs se mettent côte à côte) et limitée à 1200px de large.
   Sur la page d'accueil, on l'annule : les sections s'empilent les unes sous
   les autres et prennent toute la largeur de l'écran.
   La classe "faraja" est ajoutée au <body> de l'accueil par functions.php. */
/* Police par défaut de tout le site (celle de la charte) */
body,
button,
input,
select,
textarea {
  font-family: "Montserrat", system-ui, Arial, sans-serif;
}

.faraja .site-content > .ast-container {
  display: block;
  max-width: none;
  padding: 0;
}

/* =========================================================================
   HAUT DE PAGE (grande photo de la salle) — même rendu que la copie
   Les polices Cinzel et Montserrat sont déclarées plus bas (@font-face) :
   ça marche quand même, le navigateur lit tout le fichier avant d'afficher.
   ========================================================================= */

/* La zone : photo de la salle avec un voile brun, texte centré */
.header-accueil {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: max(640px, calc(100vh - 80px));   /* tout l'écran sous l'en-tête (80px) : on est "dans" la salle */
  padding: 100px 20px;
  text-align: center;
  color: #f1e8da;
  font-family: "Montserrat", system-ui, Arial, sans-serif;
  overflow: hidden;
  background:
    linear-gradient(rgba(122, 52, 24, 0.62), rgba(122, 52, 24, 0.62)),
    url("images/hero.jpg") center 12% / cover no-repeat;   /* cover = remplit tout ; calée vers le haut : on garde les suspensions */
}

/* Le grand titre : police Cinzel, taille qui s'adapte à l'écran
   (Astra donne sa propre couleur et police aux titres : on les vise directement) */
.header-accueil h1 {
  font-family: "Cinzel Decorative", Georgia, serif;
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 4rem);   /* entre 2.4rem (téléphone) et 4rem (grand écran) */
  line-height: 1.2;
  color: #f1e8da;
  max-width: 700px;                       /* le titre passe sur 2 lignes, comme dans la copie */
  margin: 0 0 1.6em;
}

/* La phrase sous le titre : Montserrat, sur une colonne étroite */
.header-accueil h2 {
  font-family: "Montserrat", system-ui, Arial, sans-serif;
  font-weight: 300;               /* un peu moins fine que l'ExtraLight : reste lisible sur la photo */
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.7;
  color: #f1e8da;
  max-width: 560px;
  margin: 0 auto 50px;
}

/* Bouton "Découvrir la carte" : fond crème, texte brun */
.header-accueil a,
.header-accueil a:visited {
  display: inline-flex;
  align-items: center;
  padding: 12px 34px;
  border-radius: 2px;
  background: #f1e8da;
  color: #6b3a22;
  font-weight: 400;
  text-decoration: none;
  transition: background 0.2s;   /* changement de couleur en douceur */
}
.header-accueil a:hover,
.header-accueil a:focus {
  background: #ffffff;
  color: #6b3a22;
}

/* =========================================================================
   À PROPOS (Notre histoire) — même rendu que la copie
   ========================================================================= */

/* Polices (fichiers dans le dossier fonts/ du thème) */
@font-face {
  font-family: "Cinzel Decorative";
  src: url("fonts/cinzeldecorative-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
/* Montserrat : police des textes (charte graphique : Montserrat ExtraLight).
   Un seul fichier contient toutes les graisses, de 100 (très fine) à 900 (très grasse). */
@font-face {
  font-family: "Montserrat";
  src: url("fonts/montserrat.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

/* La section : fond brun, texte crème, police Montserrat fine */
.a_propos {
  background: #7a3418;
  color: #f1e8da;
  padding: 60px 20px;
  font-family: "Montserrat", system-ui, Arial, sans-serif;
  font-weight: 200;               /* ExtraLight (charte) */
}

/* "A propos" : grand titre centré
   (Astra donne sa propre couleur et police aux titres : on les vise directement) */
.a_propos h2 {
  font-family: "Cinzel Decorative", Georgia, serif;
  font-weight: 700;
  color: #f1e8da;
  text-align: center;
  margin: 0 0 50px;
}

/* Deux colonnes de même largeur : photo à gauche, texte à droite,
   dans une boîte centrée de 1060px maximum */
.a_propos-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1060px;
  margin: 0 auto;
}

/* La photo : format portrait 4/5, recadrée sans être déformée */
.a_propos-container img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* "Notre histoire" et les paragraphes de droite */
.a_propos-texte h3 {
  font-family: "Cinzel Decorative", Georgia, serif;
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.2;
  color: #f1e8da;
  margin: 0 0 1.5em;
}
.a_propos-texte p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0 0 1em;
}

/* Les 3 chiffres, séparés du texte par un trait fin */
.compteurs {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin: 35px 0 10px;
  padding-top: 25px;
  border-top: 1px solid rgba(241, 232, 218, 0.3);
}
.compteur {
  display: flex;
  flex-direction: column;     /* le chiffre au-dessus, le mot en dessous */
}
.compteur-nombre {
  font-family: "Cinzel Decorative", Georgia, serif;
  font-weight: 700;
  font-size: 2.6rem;
  line-height: 1;
}
.compteur-texte {
  font-size: 0.85rem;
  margin-top: 6px;
  opacity: 0.85;
}

/* Lien "En savoir plus" : souligné seulement au survol */
.a_propos-texte a,
.a_propos-texte a:visited {
  display: inline-block;
  margin-top: 30px;
  color: #f1e8da;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.a_propos-texte a:hover,
.a_propos-texte a:focus {
  color: #f1e8da;
  border-bottom-color: #f1e8da;
}

/* Téléphone et tablette : la photo passe au-dessus du texte */
@media (max-width: 800px) {
  .a_propos-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .a_propos-container img {
    aspect-ratio: 4 / 3;      /* photo moins haute */
  }
}


/* =========================================================================
   LE FARAJA, DU MIDI AU SOIR (les 3 cartes) — version compacte
   ========================================================================= */

/* La section : fond crème, texte brun */
.les_cartes_journees {
  background: #f1e8da;
  color: #6b3a22;
  padding: 60px 20px 90px;
  font-family: "Montserrat", system-ui, Arial, sans-serif;
  font-weight: 200;               /* ExtraLight (charte) */
}

/* Tout le contenu dans une boîte centrée de 1060px maximum */
.les_cartes_journees > * {
  max-width: 1060px;
  margin-left: auto;
  margin-right: auto;
}

/* Titre et phrase d'intro, centrés
   (Astra donne sa propre couleur et police aux titres : on les vise directement) */
.les_cartes_journees h2 {
  font-family: "Cinzel Decorative", Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  line-height: 1.2;
  color: #6b3a22;
  text-align: center;
  margin-top: 0;
  margin-bottom: 0.6em;
}
.les_cartes_journees > p {
  max-width: 640px;
  text-align: center;
  line-height: 1.7;
  margin-bottom: 60px;
}

/* Les 3 cartes : fond blanc, bordure fine, ombre douce */
.carte_midi,
.carte_afterwork,
.carte_soir {
  background: #ffffff;
  border: 1px solid #d9c4b0;
  padding: 28px 32px;
  margin-bottom: 60px;
  box-shadow: 0 10px 30px rgba(59, 31, 26, 0.07);

  /* Cartes empilées : chaque carte reste collée en haut de l'écran pendant
     le scroll, et la suivante vient se poser dessus.
     "top" augmente de 20px à chaque carte : on voit le bord des précédentes. */
  position: sticky;
  top: 110px;
}
.carte_afterwork { top: 130px; }
.carte_soir      { top: 150px; margin-bottom: 0; }

/* Titres des cartes : "Carte du midi", "After work", "Le soir" */
.carte_midi h3,
.carte_afterwork h3,
.carte_soir h3 {
  font-family: "Cinzel Decorative", Georgia, serif;
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.2;
  color: #6b3a22;
  margin: 0 0 16px;
}

/* Textes des cartes : brun plus clair */
.carte_midi p,
.carte_soir p {
  color: #a0705a;
  line-height: 1.7;
  margin: 0 0 1em;
}
.carte_midi p { margin: 0; }   /* les 2 lignes du midi collées, comme dans la copie */

/* Lien "Voir la carte du midi" : brun, souligné finement */
.carte_midi a,
.carte_midi a:visited {
  display: inline-block;
  margin-top: 12px;
  color: #7a3418;
  font-weight: 400;
  text-decoration: none;
  border-bottom: 1px solid #c65a28;
  transition: color 0.2s;
}
.carte_midi a:hover,
.carte_midi a:focus {
  color: #c65a28;
}

/* After work : le titre sur toute la largeur, puis les 3 mini-cartes côte à côte */
.carte_afterwork {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 20px;
}
.carte_afterwork h3 {
  grid-column: 1 / -1;   /* le titre prend les 3 colonnes */
}

/* Les 3 mini-cartes : fond crème très clair, texte centré */
.first_cart,
.second_cart,
.third_card {
  display: flex;
  flex-direction: column;
  align-items: center;      /* l'icône, le titre et le texte centrés */
  background: #faf6ef;
  border: 1px solid #d9c4b0;
  padding: 20px 16px;
  text-align: center;
}

/* Icône dans un rond, au-dessus du titre (comme dans la copie).
   ::before = dessiné en CSS : pas besoin de l'écrire dans le HTML.
   L'icône est un petit dessin SVG écrit directement dans l'adresse (url("data:...")). */
.first_cart::before,
.second_cart::before,
.third_card::before {
  content: "";
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  border: 1px solid #d9c4b0;
  border-radius: 50%;
  background: no-repeat center / 20px;
}
/* Couverts */
.first_cart::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b3a22' stroke-width='1.5'%3E%3Cpath d='M7 3v6a2 2 0 0 0 4 0V3M9 3v18M17 3c-2.5 2-2.5 7 0 9v9'/%3E%3C/svg%3E");
}
/* Verre à cocktail */
.second_cart::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b3a22' stroke-width='1.5'%3E%3Cpath d='M5 4h14l-7 8zM12 12v8M8 20h8'/%3E%3C/svg%3E");
}
/* Verre */
.third_card::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b3a22' stroke-width='1.5'%3E%3Cpath d='M7 3h10l-1.5 17a1 1 0 0 1-1 1h-5a1 1 0 0 1-1-1zM7.5 9h9'/%3E%3C/svg%3E");
}

/* Horaires avec une petite horloge, à côté du titre de chaque carte.
   Pour changer une heure : modifie le texte dans "content" ci-dessous. */
.carte_midi h3::after,
.carte_afterwork h3::after,
.carte_soir h3::after {
  margin-left: 25px;
  padding-left: 28px;       /* place pour l'horloge */
  font-family: "Montserrat", system-ui, Arial, sans-serif;
  font-weight: 400;
  font-size: 0.95rem;
  white-space: nowrap;
  vertical-align: middle;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b3a22' stroke-width='1.5'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") no-repeat left center / 18px;
}
.carte_midi h3::after      { content: "Lun. – ven. · 11h45 – 14h00"; }
.carte_afterwork h3::after { content: "Jeu. & ven. · dès 17h30"; }
.carte_soir h3::after      { content: "Jeu. – sam. · jusqu'à 1h"; }

/* Téléphone : si l'horaire ne tient pas à côté du titre, il passe en dessous
   (au lieu de couper le titre en deux) */
@media (max-width: 800px) {
  .carte_midi h3,
  .carte_afterwork h3,
  .carte_soir h3 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 20px;
  }
  .carte_soir h3 {
    justify-content: center;   /* la carte du soir est centrée */
  }
  .carte_midi h3::after,
  .carte_afterwork h3::after,
  .carte_soir h3::after {
    margin-left: 0;
  }
}
.first_cart h4,
.second_cart h4,
.third_card h4 {
  font-family: "Cinzel Decorative", Georgia, serif;
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.2;
  color: #6b3a22;
  margin: 0 0 8px;
}
.first_cart p,
.second_cart p,
.third_card p {
  font-size: 0.8rem;
  line-height: 1.6;
  color: #a0705a;
  margin: 0;
}

/* Le soir : tout est centré */
.carte_soir {
  text-align: center;
}

/* Bouton "Réserver une table" */
.carte_soir a,
.carte_soir a:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 28px;
  border-radius: 2px;
  background: #7a3418;
  color: #f1e8da;
  font-family: "Montserrat", system-ui, Arial, sans-serif;
  font-weight: 400;
  text-decoration: none;
  transition: background 0.2s;   /* changement de couleur en douceur */
}
.carte_soir a:hover,
.carte_soir a:focus {
  background: #5e2610;
  color: #f1e8da;
}

/* Téléphone et tablette */
@media (max-width: 800px) {
  .carte_midi,
  .carte_afterwork,
  .carte_soir {
    position: static;      /* pas d'empilement : les cartes sont trop hautes */
    padding: 24px 20px;
  }
  .carte_afterwork {
    grid-template-columns: 1fr;   /* mini-cartes les unes sous les autres */
    row-gap: 16px;
  }
  .carte_afterwork h3 {
    margin-bottom: 0;      /* l'espace vient déjà du row-gap */
  }
}


/* =========================================================================
   LE MENU : 2 rangées de photos qui défilent — même rendu que la copie
   ========================================================================= */

/* La section : fond brun, texte crème */
.menu-photos {
  background: #7a3418;
  color: #f1e8da;
  padding: 60px 0 30px;
  font-family: "Montserrat", system-ui, Arial, sans-serif;
  font-weight: 200;               /* ExtraLight (charte) */
}

/* "Le menu" : grand titre centré, comme "A propos" */
.menu-photos h2 {
  font-family: "Cinzel Decorative", Georgia, serif;
  font-weight: 700;
  color: #f1e8da;
  text-align: center;
  margin: 0 0 50px;
}

/* Zone qui contient les 2 rangées + le bouton "Menu" posé au milieu */
.carrousels {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 40px;                     /* espace entre la rangée du haut et celle du bas */
}

/* Une rangée : on cache ce qui dépasse à gauche et à droite */
.defile {
  overflow: hidden;
}

/* La bande de photos qui bouge. Elle contient 2 fois les mêmes photos :
   quand la 1re moitié est sortie de l'écran, l'animation recommence
   sans que ça se voie (défilement infini). */
.defile-piste {
  display: flex;
  width: max-content;
  animation: defile-gauche 45s linear infinite;
}
/* 2e rangée : même animation mais dans l'autre sens */
.defile--inverse .defile-piste {
  animation-name: defile-droite;
}
/* Le défilement s'arrête quand la souris passe dessus */
.carrousels:hover .defile-piste {
  animation-play-state: paused;
}

@keyframes defile-gauche {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes defile-droite {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

/* Une photo du carrousel */
.vignette {
  width: 240px;
  height: auto;
  aspect-ratio: 3 / 4;
  margin-right: 12px;            /* marge plutôt que "gap" : la boucle reste parfaite */
  flex-shrink: 0;
  object-fit: cover;             /* remplit le cadre sans déformer la photo */
  background: #5e2610;           /* couleur affichée pendant le chargement */
  transition: transform 0.6s ease;
}
/* Léger zoom au survol */
.vignette:hover {
  transform: scale(1.04);
}

/* Bouton "Menu" au centre, entre les 2 rangées */
.bouton-menu,
.bouton-menu:visited {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);   /* centré pile sur son milieu */
  z-index: 2;                         /* au-dessus des photos */
  padding: 12px 70px;
  border: 1px solid #f1e8da;
  background: rgba(122, 52, 24, 0.85);
  color: #f1e8da;
  font-weight: 400;
  text-decoration: none;
  transition: background 0.2s;
}
.bouton-menu:hover,
.bouton-menu:focus {
  background: #f1e8da;
  color: #6b3a22;
}

/* Téléphone et tablette : photos plus petites */
@media (max-width: 800px) {
  .vignette { width: 150px; }
}

/* Le visiteur a demandé "moins d'animations" : pas de défilement ni de zoom */
@media (prefers-reduced-motion: reduce) {
  .defile-piste { animation: none; }
  .vignette:hover { transform: none; }
}


/* Photos des catégories (envoyées dans la médiathèque WordPress).
   Adresse sans "http://..." au début : elle marche aussi une fois le site en ligne. */
.categorie-plat {
  background-image: url("/wp-content/uploads/2026/11/Repas.jpg");
}
.categorie-dessert {
  background-image: url("/wp-content/uploads/2026/11/Dessert.jpg");
}
.categorie-cocktail {
  background-image: url("/wp-content/uploads/2026/11/Cocktail.jpg");
}

/* =========================================================================
   CATÉGORIES (Plats, Desserts, Cocktails) : 3 grandes photos côte à côte
   — même rendu que la copie
   ========================================================================= */

/* La section : fond brun (suite du menu), texte crème */
.categorie {
  background: #7a3418;
  color: #f1e8da;
  padding-top: 60px;
}

/* "Salé, sucré, à siroter" : grand titre centré, comme les autres sections */
.categorie h2 {
  font-family: "Cinzel Decorative", Georgia, serif;
  font-weight: 700;
  color: #f1e8da;
  text-align: center;
  margin: 0 0 50px;
  padding: 0 20px;
}

/* Les 3 photos côte à côte, collées, sur toute la largeur de l'écran */
.categorie-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

/* Une photo : le nom de la catégorie est centré dessus */
.categorie-plat,
.categorie-dessert,
.categorie-cocktail {
  position: relative;
  height: clamp(300px, 50vw, 640px);   /* hauteur qui s'adapte à l'écran : entre 300 et 640px */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #2a1610;           /* couleur affichée pendant le chargement */
  background-size: cover;              /* la photo remplit le cadre sans être déformée */
  background-position: center;
}

/* Le "filtre" : voile brun foncé, plus sombre en bas, pour que le titre se lise bien.
   ::before = un calque dessiné en CSS, posé par-dessus la photo */
.categorie-plat::before,
.categorie-dessert::before,
.categorie-cocktail::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(42, 22, 16, 0.8) 0%, rgba(42, 22, 16, 0.35) 55%, rgba(42, 22, 16, 0.2) 100%);
}

/* Nom de la catégorie, avec un fin trait dessous */
.categorie-container h3 {
  position: relative;                  /* passe au-dessus du filtre */
  z-index: 1;
  font-family: "Cinzel Decorative", Georgia, serif;
  font-weight: 700;
  font-size: clamp(1rem, 3vw, 2.4rem);
  color: #f1e8da;
  letter-spacing: 0.04em;
  margin: 0;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(241, 232, 218, 0.6);
  transition: letter-spacing 0.4s ease, border-color 0.4s ease;
}
/* Survol de la photo : les lettres s'écartent un peu et le trait s'éclaircit */
.categorie-container > div:hover h3 {
  letter-spacing: 0.1em;
  border-bottom-color: #f1e8da;
}

/* Téléphone : les 3 photos les unes sous les autres, en bandes moins hautes */
@media (max-width: 600px) {
  .categorie-container {
    grid-template-columns: 1fr;
  }
  .categorie-plat,
  .categorie-dessert,
  .categorie-cocktail {
    height: 260px;
  }
  .categorie-container h3 {
    font-size: 1.6rem;
  }
}

/* Les noms des catégories sont des liens vers la carte : même couleur que le titre */
.categorie-container h3 a {
  color: inherit;
  text-decoration: none;
}


/* =========================================================================
   LA CARTE (liste des plats et prix) — même rendu que la copie
   ========================================================================= */

/* La section : fond crème, texte brun */
.carte {
  background: #f1e8da;
  color: #6b3a22;
  padding: 90px 20px;
  font-family: "Montserrat", system-ui, Arial, sans-serif;
  font-weight: 200;               /* ExtraLight (charte) */
}

/* Tout le contenu dans une boîte centrée de 1060px maximum */
.carte > * {
  max-width: 1060px;
  margin-left: auto;
  margin-right: auto;
}

/* Titre et phrase d'intro, centrés */
.carte h2 {
  font-family: "Cinzel Decorative", Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  line-height: 1.2;
  color: #6b3a22;
  text-align: center;
  margin-top: 0;
  margin-bottom: 0.6em;
}
.carte > p {
  max-width: 640px;
  text-align: center;
  line-height: 1.7;
  margin-bottom: 60px;
}

/* Boutons Tapas / Cocktails / ... : ils descendent jusqu'à la catégorie */
.carte-onglets {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;          /* passent à la ligne sur petit écran */
  gap: 15px;
  margin-bottom: 70px;
}
.carte-onglets a,
.carte-onglets a:visited {
  padding: 10px 30px;
  border: 1px solid #d9c4b0;
  color: #6b3a22;
  font-weight: 400;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.carte-onglets a:hover,
.carte-onglets a:focus {
  background: #7a3418;
  border-color: #7a3418;
  color: #f1e8da;
}

/* Une carte entière : midi, soir ou bar */
.carte-moment {
  margin-bottom: 120px;
  scroll-margin-top: 100px;   /* en arrivant par un bouton, le titre n'est pas caché sous l'en-tête */
}
.carte-moment:last-child {
  margin-bottom: 0;
}

/* Titre de la carte, centré entre deux traits, avec l'horaire dessous */
.carte-moment-titre {
  text-align: center;
  margin-bottom: 60px;
}
.carte-moment-titre h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-family: "Cinzel Decorative", Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  line-height: 1.2;
  color: #7a3418;
  margin: 0 0 10px;
}
/* ::before et ::after = les deux traits, dessinés en CSS */
.carte-moment-titre h3::before,
.carte-moment-titre h3::after {
  content: "";
  width: 60px;
  height: 1px;
  background: currentColor;   /* même couleur que le titre */
  opacity: 0.5;
}
.carte-moment-titre p {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.1em;      /* lettres un peu espacées */
  text-transform: uppercase;
  color: #a0705a;
}

/* Une catégorie */
.carte-categorie {
  margin-bottom: 70px;
  scroll-margin-top: 100px;   /* en arrivant par un lien, le titre n'est pas caché sous l'en-tête */
}
.carte-categorie:last-child {
  margin-bottom: 0;
}

/* Titre de catégorie avec un trait orange dessous */
.carte-categorie h4 {
  width: fit-content;         /* le trait fait la largeur du mot */
  font-family: "Cinzel Decorative", Georgia, serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: #6b3a22;
  padding: 0 10px 14px 0;
  margin: 0 0 20px;
  border-bottom: 3px solid #c65a28;
}

/* La liste des plats, sans puces */
.carte-categorie ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Une ligne : nom ........ prix
   Le trait du milieu est dessiné par ::after, placé entre les deux textes grâce à "order" */
.carte-categorie li {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 18px 0;
  font-size: 0.95rem;
}
.carte-categorie li::after {
  content: "";
  order: 1;                   /* après le nom... */
  flex: 1;                    /* ...prend toute la place libre */
  border-bottom: 1px solid #d9c4b0;
  transition: border-color 0.35s ease;
}
.carte-categorie li span:first-child {
  max-width: 60%;
}
/* Petite description sous le nom du plat (le trait et le prix restent alignés sur le nom) */
.carte-categorie li small {
  display: block;
  margin-top: 4px;
  font-size: 0.8rem;
  line-height: 1.5;
  color: #a0705a;
}
.carte-categorie li span:last-child {
  order: 2;                   /* le prix passe après le trait */
  font-weight: 400;
  white-space: nowrap;        /* "16 €" ne se coupe jamais */
  transition: transform 0.35s ease, color 0.35s ease;
}

/* Survol d'une ligne : le trait se colore et le prix glisse un peu */
.carte-categorie li:hover::after {
  border-color: #c65a28;
}
.carte-categorie li:hover span:last-child {
  transform: translateX(-6px);
  color: #7a3418;
}

/* Téléphone : nom plus large */
@media (max-width: 800px) {
  .carte-categorie li span:first-child {
    max-width: 70%;
  }
}


/* =========================================================================
   PIED DE PAGE (sur toutes les pages, voir footer.php)
   ========================================================================= */

.pied {
  background: #2a1610;          /* chocolat */
  color: #e8d9c7;
  font-family: "Montserrat", system-ui, Arial, sans-serif;
  font-weight: 200;               /* ExtraLight (charte) */
  font-size: 0.9rem;
  padding: 60px 20px 25px;
}

/* 4 colonnes sur ordinateur ; elles passent à la ligne toutes seules sur petit écran */
.pied-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  max-width: 1060px;
  margin: 0 auto;
}

.pied p {
  line-height: 1.6;
  margin: 0 0 1em;
}

/* Logo du footer */
.pied .pied-logo {
  width: 180px;
  height: auto;
}

.pied h4 {
  font-family: "Cinzel Decorative", Georgia, serif;
  font-weight: 700;
  font-size: 1rem;
  color: #f1e8da;
  margin: 0 0 20px;
}

.pied a,
.pied a:visited {
  color: #f1e8da;
  text-decoration: none;
}
.pied a:hover,
.pied a:focus {
  color: #f1e8da;
  text-decoration: underline;
}

/* Ligne du bas : copyright */
.pied .pied-bas {
  max-width: 1060px;
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(241, 232, 218, 0.3);
  text-align: center;
  font-size: 0.8rem;
}


/* =========================================================================
   PAGES LÉGALES (Mentions légales, Politique de confidentialité)
   Mêmes couleurs et polices que le reste du site, texte sur une colonne lisible.
   ========================================================================= */

.page-legale {
  width: 100%;                  /* Astra range la page dans une boîte en flex : on prend toute la place */
  max-width: 760px;             /* ligne de texte pas trop longue : plus facile à lire */
  margin: 0 auto;
  padding: 60px 0 80px;
  color: #6b3a22;
  font-family: "Montserrat", system-ui, Arial, sans-serif;
  font-weight: 200;               /* ExtraLight (charte) */
  line-height: 1.7;
}

/* Titre de la page */
.page-legale h1 {
  font-family: "Cinzel Decorative", Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  line-height: 1.2;
  color: #7a3418;
  margin: 0 0 8px;
}
.page-legale .page-legale-date {
  font-size: 0.85rem;
  color: #a0705a;
  margin-bottom: 40px;
}

/* Titres de section, avec le petit trait orange de la carte */
.page-legale h2 {
  width: fit-content;
  font-family: "Cinzel Decorative", Georgia, serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #6b3a22;
  margin: 45px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #c65a28;
}

.page-legale p,
.page-legale ul {
  margin: 0 0 1em;
}
.page-legale ul {
  padding-left: 20px;
}

.page-legale a,
.page-legale a:visited {
  color: #7a3418;
  font-weight: 400;
  text-decoration: underline;
}
.page-legale a:hover,
.page-legale a:focus {
  color: #c65a28;
}

/* Champs à compléter : surlignés pour qu'on ne les oublie pas */
.page-legale .a-completer {
  background: #f8dfd6;
  color: #8e3315;
  font-weight: 500;
  padding: 2px 6px;
  border-radius: 3px;
}

.page-legale .page-legale-retour {
  margin-top: 50px;
}

/* Téléphone : un peu moins d'espace en haut */
@media (max-width: 640px) {
  .page-legale {
    padding: 40px 0 60px;
  }
}


/* =========================================================================
   MENU MOBILE (quand on touche l'icône ☰ sur téléphone et tablette)
   Astra met ses propres couleurs (bleu, blanc) : on les remplace par la charte.
   "#ast-mobile-header" devant : nécessaire pour passer devant les règles d'Astra.
   ========================================================================= */

/* Le panneau qui s'ouvre : fond crème, fin trait en haut */
#ast-mobile-header .ast-mobile-header-content {
  background: #f1e8da;
  border-top: 1px solid #d9c4b0;
}
#ast-mobile-header .ast-mobile-header-content .main-header-menu,
#ast-mobile-header .ast-mobile-header-content .main-header-menu .menu-item {
  background: transparent;
}

/* Les liens : brun, Montserrat, séparés par un trait fin */
#ast-mobile-header .ast-mobile-header-content .main-header-menu .menu-item > .menu-link {
  background: transparent;
  color: #6b3a22;
  font-family: "Montserrat", system-ui, Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0.05em;
  line-height: 1.4;
  padding: 16px 20px;
  border-bottom: 1px solid #d9c4b0;
}
/* Les liens pointent tous vers l'accueil : Astra les croit "page en cours"
   et les colore. On les garde en brun. */
#ast-mobile-header .ast-mobile-header-content .main-header-menu .current-menu-item > .menu-link {
  color: #6b3a22;
}
/* Au toucher : terracotta */
#ast-mobile-header .ast-mobile-header-content .main-header-menu .menu-item > .menu-link:hover,
#ast-mobile-header .ast-mobile-header-content .main-header-menu .menu-item > .menu-link:active {
  background: transparent;
  color: #c65a28;
}

/* Le bouton "Réserver" en bas du panneau : sur toute la largeur, centré */
#ast-mobile-header .ast-mobile-header-content .ast-builder-layout-element {
  padding: 24px 20px 28px;
  background: transparent;
}
#ast-mobile-header .ast-mobile-header-content .ast-builder-button-wrap,
#ast-mobile-header .ast-mobile-header-content .ast-custom-button-link {
  width: 100%;
}
#ast-mobile-header .ast-mobile-header-content .ast-custom-button {
  width: 100%;
  text-align: center;
  padding: 16px 20px;
}
