/* ==========================================================================
   Le P'tit Gourmand — feuille de style unique (Bootstrap 5.3 + styles du site)
   Regroupe l'ancien custom.css et les styles qui étaient copiés dans chaque page.
   ========================================================================== */

/* ---------- Couleurs et polices ---------- */
:root {
  --sg-ardoise: #25242E;
  --sg-sable: #C1AE91;
  --sg-rose: #C84C82;
  --sg-gris: #555;
}

@font-face {
  font-family: "kgeyeswideopen";
  font-display: swap;
  src: url("../fonts/KGEyesWideOpen.835f83fca2a2.woff2") format("woff2"),
       url("../fonts/KGEyesWideOpen.b5638686f7de.ttf") format("truetype");
}

@font-face {
  font-family: "SketchetikLight";
  font-display: swap;
  src: url("../fonts/SketchetikLight.46ff036313ad.woff2") format("woff2"),
       url("../fonts/SketchetikLight.34dcb859d581.ttf") format("truetype");
}

/* ---------- Mise en page générale (pied de page « collé » en bas) ---------- */
html { position: relative; min-height: 100%; }

body {
  min-height: 100%;
  margin-bottom: 9px;
  color: #333;
  background-color: var(--sg-ardoise);
  background-image: url("../img/background.5f89e919d0ea.jpg");
  background-image: image-set(url("../img/background.915d2f982a79.webp") type("image/webp"), url("../img/background.5f89e919d0ea.jpg") type("image/jpeg"));
  background-repeat: repeat;
}

.footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 9px;
  margin: 0;
  background: url("../img/line.965b9f6e9242.jpg") repeat-x bottom;
}

.skip-link {
  position: absolute;
  top: .5rem;
  left: .5rem;
  z-index: 1000;
  padding: .5rem 1rem;
  background: #fff;
  color: var(--sg-ardoise);
}

a { color: inherit; }

/* ---------- En-tête et logo ---------- */
.logo { padding: 50px 0; width: 100%; height: auto; }

/* ---------- Navigation ---------- */
.site-nav { margin-bottom: 50px; padding: 0; background: transparent; }

.site-nav .nav-link {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 13pt;
  font-weight: bold;
  line-height: 23px;
  color: #fff;
  padding: 15px 0;
  transition: font-size .15s ease;
}

.site-nav .nav-link:hover,
.site-nav .nav-link:focus { color: #fff; font-size: 14pt; }

.site-nav .nav-link.active { color: #fff; box-shadow: inset 0 -3px 0 var(--sg-rose); }

.navbar-toggler { border: 0; padding: 15px; }
.navbar-toggler:focus { box-shadow: 0 0 0 .2rem var(--sg-sable); }

.menu_img {
  display: block;
  width: 37px;
  height: 23px;
  background-image: url("../img/menu.44afce03113e.png");
}

.logo-mobile { height: 40px; width: auto; margin: 15px 0 0 15px; }

@media (max-width: 767.98px) {
  .site-nav { margin-bottom: 0; background: var(--sg-ardoise); }
  .site-nav .navbar-collapse { border-top: 1px solid var(--sg-sable); }
  .site-nav .nav-link.active { box-shadow: inset 4px 0 0 var(--sg-rose); }
}

/* ---------- Carrousel de photos ---------- */
.carousel-inner {
  width: 100%;
  background: url("../img/line.965b9f6e9242.jpg") repeat-x;
  box-shadow: 0 3px 3px rgba(0, 0, 0, .3);
}

.carousel-item img { margin-top: 9px; width: 100%; height: auto; }

.carousel-indicators [data-bs-target] {
  width: 15px;
  height: 15px;
  margin: 0 4px;
  border: 0;
  border-radius: 50%;
  background-color: var(--sg-ardoise);
  opacity: 1;
}

.carousel-indicators .active { background-color: var(--sg-rose); }

/* ---------- Bloc de contenu (fond sable) et colonnes latérales ---------- */
.content_website { background-color: var(--sg-sable); }

.content_website h1 {
  margin-top: 0;
  padding-top: 15px;
  font-family: "kgeyeswideopen", cursive;
  font-size: 2.25rem;
  text-align: center;
}

.content_website p {
  font-family: "SketchetikLight", sans-serif;
  font-size: 15px;
  text-align: center;
  margin-bottom: 25px;
}

.no_content_website { background-color: var(--sg-ardoise); }

h1.aboutus { padding-top: 50px; }

p.aboutus {
  padding: 0 60px 40px;
  text-align: justify;
  hyphens: auto;
}

@media (max-width: 575.98px) {
  p.aboutus { padding: 0 20px 30px; text-align: left; hyphens: manual; }
}

/* ---------- Pied de page ---------- */
img#footer_logo { width: 7%; min-width: 70px; height: auto; padding: 30px 0 15px; }

.footer_text { width: 100%; text-align: center; color: #fff; padding-bottom: 10px; }
.footer_text p { margin: 0 0 6px; font-size: .95rem; }
.footer_text a { color: #fff; text-decoration: none; }
.footer_text a:hover, .footer_text a:focus { text-decoration: underline; }
.footer-coord { padding-top: 10px; }
.footer-social a { display: inline-flex; align-items: center; gap: 6px; margin: 0 10px; }
.copyright { padding-top: 4px; margin-bottom: 10px; color: #fff; }

/* ---------- Page « À la carte » ---------- */
.content_background { background-color: var(--sg-ardoise); }
.marge { padding-bottom: 30px; margin: 0; }

.suggestion {
  position: relative;
  padding-top: 9px;
  background: url("../img/line.965b9f6e9242.jpg") repeat-x;
}

.suggestion_text {
  padding: 18px 20px 10px;
  background-color: rgba(255, 255, 255, .85);
  font-family: "SketchetikLight", sans-serif;
  font-weight: bold;
  font-size: 1rem;
  line-height: 1.6;
  text-align: center;
}

.suggestion_text p { margin-bottom: .75rem; }

.btn-facebook {
  display: inline-block;
  padding: .4rem .9rem;
  background: var(--sg-rose);
  color: #fff;
  font-family: Helvetica, Arial, sans-serif;
  font-size: .9rem;
  text-decoration: none;
}

.btn-facebook:hover, .btn-facebook:focus { background: var(--sg-ardoise); color: #fff; }

/* Grand écran : le texte se superpose à la photo, sous le titre « Suggestions » */
@media (min-width: 992px) {
  .suggestion_text {
    position: absolute;
    top: 36%;
    right: 3%;
    width: 36%;
    padding: 20px;
    background-color: rgba(255, 255, 255, .55);
    font-size: 1.15rem;
  }
}

.taille_image_menu { margin-top: -2px; width: 97%; padding: 40px; height: auto; }

.categories { padding-top: 10px; }
.categories li { padding: 10px 0; text-align: center; }
.categorie { width: 90%; height: auto; transition: transform .15s ease; }
.categories a:hover .categorie,
.categories a:focus .categorie { transform: rotate(-2deg) scale(1.03); }

.categorie-texte {
  display: inline-block;
  padding: 2.5rem 1rem;
  background: #fff;
  font-family: "kgeyeswideopen", cursive;
  font-size: 1.4rem;
  color: var(--sg-ardoise);
  box-shadow: 0 3px 6px rgba(0, 0, 0, .4);
}

/* ---------- Page « Catégorie » (liste des plats) ---------- */
.line_top { padding: 25px 0 0; background: url("../img/line.965b9f6e9242.jpg") repeat-x; }

.description { color: #fff; padding: 0 10px 20px; }

.cat_name {
  font-family: "kgeyeswideopen", cursive;
  font-size: 5rem;
  font-weight: normal;
  text-align: center;
  margin: 10px 0 20px;
}

ul.leaders { max-width: 99%; padding: 0; overflow-x: hidden; list-style: none; }

ul.leaders li.second {
  font-size: 1.3125rem;
  font-weight: bold;
  text-transform: uppercase;
  text-align: left;
  margin-bottom: .35rem;
}

/* Pointillés de « menu de restaurant » derrière l'intitulé */
ul.leaders li:before {
  float: left;
  width: 0;
  white-space: nowrap;
  content: ". . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . "
           ". . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . "
           ". . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . "
           ". . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ";
}

ul.leaders span:first-child { padding-right: .33em; background: var(--sg-ardoise); }
ul.leaders span + span { float: right; padding-left: .33em; background: var(--sg-ardoise); }

.retour { margin: 20px 0 0; text-align: center; }
.retour a { color: var(--sg-sable); font-family: Helvetica, Arial, sans-serif; }

@media (max-width: 767.98px) {
  .cat_name { font-size: 2.75rem; }
  ul.leaders li.second { font-size: .95rem; }
}

/* ---------- Page « Horaire » ---------- */
.horaires {
  position: relative;
  padding: 9px 0 0;
  background: url("../img/line.965b9f6e9242.jpg") repeat-x;
  color: #fff;
  text-align: center;
}

.horaires > * { position: relative; } /* le texte passe au-dessus de la photo assombrie */

.horaires::before {
  content: "";
  position: absolute;
  inset: 9px 0 0;
  background-color: var(--sg-ardoise);
  background-image: linear-gradient(rgba(25, 24, 32, .74), rgba(25, 24, 32, .74)), url("../img/photo4.36944e624198.jpg");
  background-size: cover;
  background-position: center;
}

.horaires h1 {
  margin: 0;
  padding: 45px 0 20px;
  font-family: "kgeyeswideopen", cursive;
  font-size: 2.6rem;
  font-weight: normal;
}

.horaires-table {
  margin: 0 auto 10px;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 1.05rem;
}

.horaires-table th,
.horaires-table td { padding: 7px 14px; border-bottom: 1px solid rgba(255, 255, 255, .15); }
.horaires-table th { text-align: left; font-weight: bold; }
.horaires-table td { text-align: right; }
.horaires-table tr.aujourdhui th,
.horaires-table tr.aujourdhui td { color: #fff; background: rgba(200, 76, 130, .35); }

.badge-jour {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 8px;
  background: var(--sg-rose);
  font-size: .7rem;
  font-weight: normal;
  vertical-align: middle;
}

.horaires-note { padding: 15px 15px 45px; margin: 0; font-family: Helvetica, Arial, sans-serif; }
.horaires-note a { color: #fff; font-weight: bold; }

/* ---------- Page « Contact » ---------- */
.contact { padding: 0 25px 25px; }

.map-canvas {
  width: 100%;
  height: 300px;
  margin-bottom: 15px;
  border: 2px solid #fff;
}

.map-canvas iframe { width: 100%; height: 100%; border: 0; display: block; }

.static_information {
  margin: 0 0 15px;
  padding: 15px 20px;
  background-color: var(--sg-gris);
  color: #fff;
  letter-spacing: 1px;
  font-size: 13px;
  font-weight: bold;
}

.static_information li { line-height: 40px; text-align: left; font-size: inherit; }
.static_information a { color: #fff; text-decoration: none; }
.static_information a:hover, .static_information a:focus { text-decoration: underline; }
img.static_information_picture { margin-right: 10px; vertical-align: middle; }

hr { margin-bottom: 30px; }

hr.style-eight {
  padding: 0;
  border: none;
  border-top: medium double var(--sg-gris);
  color: var(--sg-gris);
  text-align: center;
  opacity: 1;
  overflow: visible;
}

hr.style-eight:after {
  content: "OU";
  display: inline-block;
  position: relative;
  top: -.7em;
  padding: 0 .25em;
  font-size: 1.5em;
  background: var(--sg-sable);
}

#contactform input,
#contactform textarea {
  display: block;
  width: 100%;
  margin-bottom: 14px;
  border: none;
  border-radius: 0;
  outline: none;
  letter-spacing: 2px;
  font-size: 13px;
}

#contactform input { padding-left: 15px; height: 44px; }
#contactform textarea { padding: 15px; height: 218px; }
#contactform input:focus,
#contactform textarea:focus { box-shadow: 0 0 0 2px var(--sg-rose); }

.btn-envoyer {
  width: 100%;
  height: 50px;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: var(--sg-gris);
}

.btn-envoyer:hover, .btn-envoyer:focus { color: #fff; background-color: var(--sg-ardoise); }

ul.errorlist { margin: -10px 0 14px; padding: 0; list-style: none; }

ul.errorlist li {
  padding: 5px;
  border-left: 5px solid red;
  background: rgba(255, 255, 255, .6);
  font-size: 15px;
  text-align: left;
}

.contact-success {
  padding: 20px;
  background: #fff;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 1.1rem;
  text-align: center;
}

/* Supprime les marges entre colonnes là où des images doivent se toucher */
.no-gutter > [class*="col-"] { padding-right: 0; padding-left: 0; }
