:root {
  --primary-text: #333;
  --secondary-text: #444;
  --light-text: #666;
  --background: #fcfcfc;
  --navbar-bg: #fff;
  --shadow: 0 0 12px rgba(0, 0, 0, 0.1);
  --shadow-menu: 0 0 0px rgba(0, 0, 0, 0.01);
  --transition: color 0.3s ease, background-color 0.3s ease, text-decoration-color 0.3s ease;
  --font-primary: "Outfit", sans-serif;
  --font-secondary: "magnolia-script", cursive;
  --bio-color: #558b2f;
}

@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-regular.eot");
  src: url("../fonts/outfit-regular.eot?#iefix") format("embedded-opentype"),
       url("../fonts/outfit-regular.woff2") format("woff2"),
       url("../fonts/outfit-regular.woff") format("woff"),
       url("../fonts/outfit-regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: magnolia-script;
  src: url("../fonts/magnolia-script.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}

html {
  color: var(--primary-text);
  font-size: 1em;
  line-height: 1.4;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-weight: 400;
  margin: 0;
  background-color: var(--background);
}

* {
  box-sizing: border-box;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/* ================================
   Utilitaires
   ================================ */

.bio {
  color: var(--bio-color);
  font-weight: 400;
}

/* ================================
   Navbar
   ================================ */

#navbar {
  position: fixed;
  display: flex;
  width: 100%;
  z-index: 1000;
  background: var(--navbar-bg);
  box-shadow: var(--shadow);
}

.logo-wrapper {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 3;
  pointer-events: auto;
}

.logo {
  width: 165px;
  display: block;
  margin-left: 20px;
}

.logo-mobile {
  display: none;
}

#navbar nav {
  display: flex;
  height: 64px;
  width: 100%;
  align-items: center;
  justify-content: flex-end;
  padding: 0 20px;
  margin-left: 250px;
}

#navbar nav ul {
  display: flex;
  list-style: none;
  justify-content: flex-end;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

#navbar nav ul li {
  flex-grow: 1;
  height: 100%;
  text-align: center;
  transition: var(--transition);
}

#navbar nav ul li a {
  color: var(--primary-text);
  text-decoration: none;
  font-size: 19px;
  font-weight: 400;
  height: 100%;
  padding: 18px 16px;
  display: block;
  transition: var(--transition);
}

#navbar nav ul li:hover {
  background: var(--primary-text);
}

#navbar nav ul li:hover a {
  color: #fff;
}

#navbar nav ul li.active {
  background: var(--primary-text);
}

#navbar nav ul li.active a {
  color: #fff;
}

/* Pas de fond noir sur le li des drapeaux */
#navbar nav ul li:has(#lang-wrapper):hover {
  background: transparent;
}

#navbar nav ul li #lang-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 16px;
}

#navbar nav ul li #lang-wrapper span {
  margin: 0 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  height: 100%;
  transition: var(--transition);
}

#navbar nav ul li #lang-wrapper span:hover {
  opacity: 0.7;
}

/* Bouton menu hamburger CSS */
.menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 10;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary-text);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-icon {
  position: relative;
}

.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-icon::before {
  top: -7px;
}

.menu-icon::after {
  top: 7px;
}

/* État ouvert du hamburger → croix */
.menu-btn.open .menu-icon {
  background: transparent;
}

.menu-btn.open .menu-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-btn.open .menu-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ================================
   Responsive navbar
   ================================ */

@media (max-width: 900px) {
  #navbar nav {
    margin-left: 0;
    padding: 0 20px;
    justify-content: space-between;
  }

  .logo-wrapper, .logo {
    display: none;
  }

  .logo-mobile {
    display: block;
    width: 165px;
    height: auto;
  }

  .menu-btn {
    display: block;
  }

  #navbar nav ul {
    position: fixed;
    top: 64px;
    left: -100%;
    background: var(--navbar-bg);
    height: calc(100vh - 64px);
    width: 100%;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    transition: left .4s;
    margin: 0;
    padding: 0;
  }

  #navbar nav ul.open {
    left: 0;
  }

  #navbar nav ul li {
    width: 100%;
    padding: 0;
    height: auto;
    flex-grow: 0;
  }

  #navbar nav ul li:hover {
    background: transparent;
  }

  #navbar nav ul li.active {
    background: transparent;
  }

  #navbar nav ul li a {
    font-size: 20px;
    padding: 10px 0;
    width: 100%;
    margin: 0;
    color: var(--primary-text);
    background: transparent;
    text-decoration: none;
  }

  #navbar nav ul li a:hover {
    background: transparent;
    color: var(--primary-text);
    text-decoration: underline;
  }

  #navbar nav ul li.active a {
    background: transparent;
    color: var(--primary-text);
    text-decoration: underline;
    text-decoration-thickness: 2px;
  }

  #navbar nav ul li:has(#lang-wrapper):hover {
    background: transparent;
  }

  #navbar nav ul li #lang-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    height: 30px;
    margin: 0;
  }

  #navbar nav ul li #lang-wrapper span {
    margin: 0 15px;
    height: 100%;
    line-height: 30px;
  }
}

/* ================================
   Contenu principal
   ================================ */

.content {
  padding-top: 64px;
}

section {
  min-height: 100vh;
  padding: 0;
  color: var(--light-text);
  background: #fff;
}

article {
  width: 90%;
  max-width: 800px;
  padding: 25px 20px;
  margin: 0 auto;
}

h2 {
  font-family: var(--font-primary);
  font-weight: 400;
  text-align: center;
  margin: 10px auto 30px;
  font-size: 3em;
  color: var(--secondary-text);
}

h3 {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 2em;
  color: var(--secondary-text);
  margin: 30px 0 20px;
}

p {
  font-size: 1.2em;
  text-align: center;
  margin: 5px 0;
}

/* ================================
   Slider
   ================================ */

.slider {
  position: relative;
  width: 100%;
  height: calc(100vh - 64px);
  overflow: hidden;
  min-height: auto;
  scroll-margin-top: 64px;
}

/* Limiter le zoom : si l'écran est plus large que 16:9, on réduit la hauteur */
@media (min-aspect-ratio: 16/9) {
  .slider {
    height: 56.25vw; /* 100vw / (16/9) = hauteur pour un ratio 16:9 exact */
    max-height: calc(100vh - 64px);
  }
}

/* Mobile portrait : ne pas forcer plein écran */
@media (max-width: 768px) and (orientation: portrait) {
  .slider {
    height: 55vh;
  }
}

.slider-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.45);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease;
}

.slider-dot.active {
  background: rgba(0, 0, 0, 0.5);
}

.slider-dot:hover {
  background: rgba(0, 0, 0, 0.3);
}

/* ================================
   Section La crêperie & Infos pratiques
   ================================ */

#home {
  min-height: auto;
}

.creperie-intro {
  text-align: center;
  padding: 30px 20px 60px;
  max-width: 900px;
  margin: 0 auto;
}

.creperie-intro h2 {
  margin-bottom: 40px;
}

.creperie-photo {
  width: 100%;
  max-width: 700px;
  margin: 25px auto;
  display: block;
  border-radius: 8px;
}

/* Hermines flanquant les titres de section */
.hermine-icon {
  display: inline-block;
  vertical-align: middle;
  height: 0.7em;
  width: auto;
}

.hermine-left {
  margin-right: 15px;
}

.hermine-right {
  margin-left: 15px;
  transform: scaleX(-1);
}

.intro-text {
  max-width: 700px;
  margin: 0 auto 40px;
}

.intro-text p {
  font-size: 1.25em;
  line-height: 1.7;
  margin: 12px 0;
  color: var(--light-text);
  text-align: justify;
}

.book-phone {
  font-size: 1.3em;
  margin: 0 0 35px;
}

.book-phone a {
  color: var(--primary-text);
  text-decoration: none;
}

.book-phone a:hover {
  text-decoration: underline;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 10px;
  text-align: center;
}

.info-card {
  padding: 25px 20px;
  background: #f9f9f9;
  border-radius: 8px;
}

.info-icon {
  width: 32px;
  height: 32px;
  color: var(--secondary-text);
  margin-bottom: 12px;
}

.info-card h3 {
  font-size: 1.2em;
  margin: 0 0 18px;
  text-align: center;
}

.info-card p {
  font-size: 1.05em;
  margin: 4px 0;
  line-height: 1.5;
}

.horaires-bloc {
  margin: 12px 0;
}

.horaires-bloc p {
  margin: 2px 0;
}

.info-note {
  font-weight: bold;
  margin-top: 15px;
}

.info-tip {
  font-style: italic;
  margin-top: 8px;
  font-size: 0.95em;
}

/* Grille des moyens de paiement */
.paiement-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 5px;
}

.paiement-col {
  text-align: center;
}

.paiement-title {
  font-weight: bold;
  margin-bottom: 4px;
  font-size: 1.05em;
  color: var(--secondary-text);
}

.paiement-col p {
  margin: 1px 0;
  font-size: 0.95em;
}

/* ALTCHA widget */
altcha-widget {
  margin: 15px 0;
  display: block;
  --altcha-color-border: #ddd;
  --altcha-color-border-focus: #ddd;
  --altcha-border-width: 1px;
  --altcha-focus-ring: 0 0 0 0 transparent;
}

@media (max-width: 900px) {
  .info-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ================================
   Parallax
   ================================ */

.parallax {
  min-height: 80vh;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.pic1 {
  background-image: url("../img/05.webp");
}

.pic2 {
  background-image: url("../img/07.webp");
}

.pic3 {
  background-image: url("../img/08.png");
}

/* ================================
   Section Menu — Structure
   ================================ */

#menu {
  min-height: auto;
  scroll-margin-top: 64px;
}

.menu-wrapper {
  display: flex;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
  gap: 40px;
}

.menu-nav {
  position: sticky;
  top: 84px;
  width: 250px;
  height: fit-content;
  background: var(--navbar-bg);
  box-shadow: var(--shadow-menu);
  padding: 20px;
  flex-shrink: 0;
}

.menu-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.menu-nav li {
  margin: 15px 0;
  background: transparent;
}

.menu-nav li:hover {
  background: transparent;
}

.menu-nav li.active {
  background: transparent;
}

.menu-nav a {
  color: var(--primary-text);
  text-decoration: none;
  font-size: 18px;
  font-weight: 400;
  display: block;
  padding: 8px 0;
  transition: var(--transition);
  border-bottom: 2px solid transparent;
}

.menu-nav a:hover {
  text-decoration: underline;
  color: var(--secondary-text);
  background: transparent;
}

.menu-nav li.active a {
  text-decoration: underline;
  color: var(--secondary-text);
  text-decoration-thickness: 2px;
  background: transparent;
}

.menu-content {
  flex: 1;
  max-width: 900px;
}

/* ================================
   Section Menu — Éléments
   ================================ */

.menu-section {
  margin-bottom: 60px;
  scroll-margin-top: 84px;
}

.menu-section h3 {
  text-align: center;
  border-bottom: 2px solid var(--primary-text);
  padding-bottom: 10px;
  margin-bottom: 30px;
}

.menu-subtitle {
  text-align: center;
  font-style: italic;
  color: var(--light-text);
  font-size: 1em;
  margin: -10px 0 30px;
}

.menu-category {
  margin-bottom: 40px;
}

.menu-category h4 {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 1.3em;
  color: var(--secondary-text);
  margin: 20px 0 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 12px 0;
  padding: 8px 0;
  border-bottom: 1px dotted #ddd;
}

.menu-item-name {
  font-weight: 400;
  color: var(--primary-text);
  flex: 1;
}

.menu-item-name .vegetarian {
  color: #4CAF50;
  font-weight: bold;
  margin-left: 5px;
}

.menu-item-description {
  font-size: 0.9em;
  color: var(--light-text);
  font-style: italic;
  margin-left: 0;
  flex: 1;
}

.menu-item-price {
  font-weight: 400;
  color: var(--secondary-text);
  min-width: 70px;
  text-align: right;
  margin-left: 20px;
}

.menu-note {
  font-size: 0.95em;
  color: var(--light-text);
  font-style: italic;
  margin: 20px 0;
  padding: 15px;
  background: #f9f9f9;
  text-align: left;
}

.menu-note-anecdote {
  border-left: 3px solid #ccc;
}

/* ================================
   Section Menu — Formules
   ================================ */

.formule-box {
  background: #f9f9f9;
  padding: 25px;
  margin: 25px 0;
  text-align: center;
}

.formule-box h4 {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 2em;
  color: var(--secondary-text);
  margin: 0 0 10px;
}

.formule-price {
  font-size: 2em;
  font-weight: bold;
  color: var(--primary-text);
  margin: 10px 0;
}

.formule-details {
  display: flex;
  justify-content: space-around;
  margin: 20px 0;
  gap: 20px;
  flex-wrap: wrap;
}

.formule-column {
  flex: 1;
  min-width: 200px;
}

.formule-column h5 {
  font-weight: 400;
  font-size: 1.4em;
  color: var(--secondary-text);
  margin: 10px 0;
}

.formule-column p {
  font-size: 1.1em;
  margin: 5px 0;
}

/* ================================
   Section Menu — Carte des vins
   ================================ */

.wine-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0 0 5px;
  margin-bottom: 5px;
  border-bottom: 1px solid #ccc;
}

.wine-header span:first-child {
  flex: 1;
}

.wine-label {
  min-width: 80px;
  text-align: right;
  margin-left: 20px;
  font-size: 0.85em;
  color: var(--light-text);
  font-style: italic;
}

.wine-item .menu-item-price {
  min-width: 80px;
}

/* ================================
   Fournisseurs
   ================================ */

.suppliers-section {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 8px;
  margin-top: 40px;
}

.suppliers-section summary {
  cursor: pointer;
  list-style: none;
}

.suppliers-section summary::-webkit-details-marker {
  display: none;
}

.suppliers-section summary h4 {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 1.8em;
  padding: 0;
  color: var(--secondary-text);
  text-align: center;
  margin: 0;
}

.suppliers-content p {
  font-size: 0.95em;
  line-height: 1.8;
  text-align: left;
  margin-top: 5px;
}

.suppliers-note {
  margin-top: 15px;
  font-style: italic;
}

/* Desktop : fournisseurs toujours ouverts */
@media (min-width: 901px) {
  .suppliers-section[open] summary,
  .suppliers-section summary {
    margin-bottom: 20px;
  }
  .suppliers-section {
    /* Forcer ouvert en desktop via attribut dans HTML ou JS */
  }
}

/* ================================
   Contact
   ================================ */

#contact {
  scroll-margin-top: 64px;
}

.section-container {
  width: 90%;
  max-width: 800px;
  padding: 25px 20px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.contact {
  width: 50%;
  padding: 15px 30px;
}

.info h3 {
  font-size: 1.3em;
  text-align: center;
  margin-bottom: 10px;
}

.info a {
  color: var(--primary-text);
  text-decoration: none;
}

.info a:hover {
  text-decoration: underline;
}

.form input, .form textarea {
  width: 100%;
  border: 1px solid #ddd;
  margin: 5px 0 15px;
  padding: 10px;
  font-family: var(--font-primary);
  font-size: 16px;
}

.form input:focus, .form textarea:focus {
  outline: 2px solid var(--primary-text);
}

.form button {
  background: var(--primary-text);
  color: #fff;
  border: none;
  padding: 12px 30px;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-primary);
  font-size: 16px;
  width: 100%;
  margin-top: 10px;
}

.form button:hover {
  background: #555;
}

.form-notice {
  padding: 12px 15px;
  margin-bottom: 15px;
  border-radius: 5px;
  font-size: 1em;
  text-align: center;
}

.form-success {
  background: #e8f5e9;
  color: #2e7d32;
}

.form-error {
  background: #fbe9e7;
  color: #c62828;
}

label {
  margin: 5px 0;
  display: block;
}

/* ================================
   Carte OpenStreetMap
   ================================ */

#map-wrapper {
  width: 100%;
  margin: 0 auto;
  background: #fff;
  position: relative;
}

#map {
  border: none;
  pointer-events: none;
}

#map-wrapper.active #map {
  pointer-events: auto;
}

.map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .3);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

#map-wrapper.active .map-overlay {
  display: none;
}

.map-toggle-btn {
  background: var(--primary-text);
  color: #fff;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 16px;
  border-radius: 5px;
  transition: var(--transition);
  font-family: var(--font-primary);
}

.map-toggle-btn:hover {
  background: #555;
}

/* ================================
   Footer
   ================================ */

#footer {
  width: 100%;
  padding: 12px 0;
  background: var(--background);
  box-shadow: var(--shadow);
  text-align: center;
}

#footer p {
  font-size: 15px;
  color: var(--light-text);
  margin: 5px 0;
}

#footer a {
  color: var(--light-text);
  text-decoration: underline;
  transition: color 0.3s ease;
}

#footer a:hover {
  color: var(--primary-text);
}

/* ================================
   Lightbox Mentions légales
   ================================ */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.modal-overlay[hidden] {
  display: none;
}

.modal-content {
  background: #fff;
  max-width: 700px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 40px 35px;
  border-radius: 8px;
  position: relative;
}

.modal-content h2 {
  font-size: 2em;
  margin: 0 0 25px;
}

.modal-content h3 {
  font-size: 1.3em;
  margin: 25px 0 10px;
}

.modal-content p {
  font-size: 1em;
  text-align: left;
  line-height: 1.6;
  margin: 5px 0;
}

.modal-content a {
  color: var(--secondary-text);
  text-decoration: underline;
}

.modal-content a:hover {
  color: var(--primary-text);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 18px;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--light-text);
  cursor: pointer;
  line-height: 1;
  padding: 5px;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: var(--primary-text);
}

/* ================================
   Responsive général
   ================================ */

@media (max-width: 900px) {
  /* ---- Tailles réduites ---- */
  h2 {
    font-size: 2em;
  }

  h3 {
    font-size: 1.4em;
  }

  .hermine-icon {
    height: 0.6em;
  }

  .hermine-left {
    margin-right: 8px;
  }

  .hermine-right {
    margin-left: 8px;
  }

  .intro-text p {
    font-size: 1.1em;
  }

  .book-phone {
    font-size: 1.1em;
  }

  /* ---- Menu navigation carte : pleine largeur ---- */
  .menu-nav {
    position: sticky;
    top: 64px;
    width: calc(100% + 20px);
    margin-left: -10px;
    margin-right: -10px;
    height: auto;
    padding: 0;
    z-index: 100;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border-radius: 0;
  }

  .menu-nav::-webkit-scrollbar {
    display: none;
  }

  .menu-nav ul {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0;
    padding: 0;
    margin: 0;
    height: auto;
  }

  .menu-nav li {
    margin: 0;
    flex-shrink: 0;
  }

  .menu-nav a {
    font-size: 13px;
    padding: 10px 12px;
    white-space: nowrap;
    border-bottom: none;
    display: block;
  }

  .menu-nav li.active a {
    text-decoration-thickness: 2px;
  }

  .menu-wrapper {
    flex-direction: column;
    padding: 0 10px 20px;
    gap: 0;
  }

  .menu-section {
    scroll-margin-top: 120px;
  }

  .menu-section h3 {
    font-size: 1.3em;
  }

  /* ---- Carte : tailles réduites ---- */
  .menu-category h4 {
    font-size: 1.1em;
  }

  .menu-item-name {
    font-size: 0.95em;
  }

  .menu-item-description {
    font-size: 0.82em;
  }

  .menu-item-price {
    font-size: 0.95em;
  }

  .menu-note {
    font-size: 0.85em;
    text-align: left;
  }

  /* ---- Carte mobile : nom+prix en ligne, description en dessous ---- */
  .menu-item {
    flex-wrap: wrap;
  }

  .menu-item-name {
    order: 1;
    flex: 1;
  }

  .menu-item-price {
    order: 2;
  }

  .menu-item-description {
    order: 3;
    width: 100%;
    flex: none;
    margin-top: 2px;
    margin-left: 0;
  }

  /* ---- Formules ---- */
  .formule-box h4 {
    font-size: 1.5em;
  }

  .formule-price {
    font-size: 1.5em;
  }

  .formule-column h5 {
    font-size: 1.1em;
  }

  .formule-column p {
    font-size: 0.95em;
  }

  .formule-details {
    flex-direction: column;
  }

  /* ---- Vins mobile : nom pleine largeur, prix empilés en dessous ---- */
  .wine-header {
    display: none;
  }

  .wine-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .wine-item .menu-item-name {
    order: 1;
    width: 100%;
    flex: none;
    margin-bottom: 4px;
  }

  .wine-item .menu-item-price {
    order: 2;
    display: block;
    width: auto;
    text-align: left;
    min-width: auto;
    margin-left: 0;
    font-size: 0.9em;
  }

  .wine-item .menu-item-price:nth-child(2)::before {
    content: "Verre : ";
    font-size: 0.85em;
    color: var(--light-text);
    font-style: italic;
  }

  .wine-item .menu-item-price:nth-child(3)::before {
    content: "Bouteille : ";
    font-size: 0.85em;
    color: var(--light-text);
    font-style: italic;
  }

  /* ---- Contact ---- */
  .contact {
    width: 100%;
  }

  /* ---- Padding latéral mobile ---- */
  article,
  .section-container,
  .creperie-intro {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* ---- Fournisseurs mobile ---- */
  .suppliers-section {
    padding: 20px 15px;
  }

  .suppliers-section summary h4 {
    font-size: 1.3em;
    position: relative;
    padding-right: 25px;
  }

  .suppliers-section summary h4::after {
    content: "▸";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1em;
    transition: transform 0.3s ease;
  }

  .suppliers-section[open] summary h4::after {
    transform: translateY(-50%) rotate(90deg);
  }

  .suppliers-content p {
    font-size: 0.85em;
  }
}

/* ================================
   Scroll margins
   ================================ */

#slider, #home, #menu, #contact {
  scroll-margin-top: 64px;
}

/* ================================
   Impression
   ================================ */

@media print {
  *, ::after, ::before {
    background: #fff !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a, a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  a[href^="#"]::after, a[href^="javascript:"]::after {
    content: "";
  }

  pre, blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  tr, img {
    page-break-inside: avoid;
  }

  p, h2, h3 {
    orphans: 3;
    widows: 3;
  }

  h2, h3 {
    page-break-after: avoid;
  }
}
