/* ==========================================================================
   L'AUBERGE DU GRAND JET — Design system
   Loaded LAST (after tailwind) so it owns the look.
   Univers : végétal · campagne · chaleureux · élégant · moderne.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Fonts
   Titres  : Cormorant (serif élégant, esprit Times)
   Corps   : Minion (serif chaleureux)
   Sur-titres : Courgette (conservé, uniquement pour ça)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Cormorant";
  src: url("../fonts/Cormorant-VariableFont_wght.ttf") format("truetype");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Minion";
  src: url("../fonts/Minion-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Courgette";
  src: url("../fonts/Courgette-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   2. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Palette */
  --au-green: #6d8c62; /* ancre végétale (= primary) */
  --au-green-deep: #4f6a48; /* texte/hover foncé */
  --au-green-soft: #8ca682;
  --au-green-veil: rgba(109, 140, 98, 0.1);
  --au-salmon: #dd9d84; /* secondaire chaleureux */
  --au-salmon-deep: #c9805f;
  --au-salmon-soft: #f0cdbd;
  --au-orange: #e07a3f; /* accent cartes / menu */
  --au-orange-deep: #c15f28;
  --au-cream: #f6f4f2; /* fond principal */
  --au-cream-warm: #efe8df;
  --au-ink: #2b2a26; /* noir chaud */
  --au-ink-soft: #5c5a52;
  --au-white: #ffffff;
  --au-line: rgba(43, 42, 38, 0.14);
  --au-line-light: rgba(255, 255, 255, 0.28);

  /* Typographies */
  --au-font-title: "Cormorant", "Times New Roman", serif;
  --au-font-body: "Minion", "Cormorant", Georgia, serif;
  --au-font-surtitle: "Courgette", cursive;

  /* Échelle typographique (harmonisée — une seule série) */
  --fs-surtitle: clamp(1rem, 0.9rem + 0.5vw, 1.3rem);
  --fs-display: clamp(2.9rem, 1.6rem + 5.2vw, 6rem); /* hero */
  --fs-h1: clamp(2.4rem, 1.6rem + 3vw, 4rem);
  --fs-h2: clamp(2rem, 1.45rem + 2.2vw, 3.35rem); /* titre de section */
  --fs-h3: clamp(1.4rem, 1.15rem + 1vw, 1.9rem);
  --fs-body: clamp(1rem, 0.96rem + 0.2vw, 1.15rem);
  --fs-small: 0.82rem;

  /* Rythme & formes */
  --au-radius: 3px;
  --au-radius-lg: 6px;
  --au-shadow: 0 18px 50px -24px rgba(43, 42, 38, 0.45);
  --au-shadow-soft: 0 12px 40px -28px rgba(43, 42, 38, 0.4);
  --au-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --au-section-y: clamp(4.5rem, 8vw, 9rem);
  --au-container: 1280px;
  --au-container-narrow: 940px;
}

/* --------------------------------------------------------------------------
   3. Base
   -------------------------------------------------------------------------- */
body {
  font-family: var(--au-font-body);
  color: var(--au-ink);
  background-color: var(--au-white);
  font-size: var(--fs-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body p {
  margin-bottom: 1rem;
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-display {
  font-family: var(--au-font-title);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0.005em;
  color: var(--au-ink);
}

::selection {
  background: var(--au-salmon);
  color: var(--au-white);
}

a {
  transition: color 0.35s var(--au-ease);
}

img {
  max-width: 100%;
}

/* Jolie barre de défilement */
* {
  scrollbar-color: var(--au-green) var(--au-cream);
}
*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
*::-webkit-scrollbar-track {
  background: var(--au-cream);
}
*::-webkit-scrollbar-thumb {
  background: var(--au-green-soft);
  border-radius: 20px;
}

/* --------------------------------------------------------------------------
   4. Primitives réutilisables
   -------------------------------------------------------------------------- */
.au-container {
  width: min(var(--au-container), 92vw);
  margin-inline: auto;
}
.au-container--narrow {
  width: min(var(--au-container-narrow), 90vw);
}

.au-section {
  padding-block: var(--au-section-y);
}
.au-section--cream {
  background-color: var(--au-cream);
}
.au-section--warm {
  background-color: var(--au-cream-warm);
}
.au-section--green {
  background-color: var(--au-green);
  color: var(--au-cream);
}

/* Sur-titre Courgette */
.au-surtitle {
  font-family: var(--au-font-surtitle);
  font-size: var(--fs-surtitle);
  color: var(--au-salmon-deep);
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  margin-bottom: 0.6rem;
}
.au-surtitle--center {
  justify-content: center;
}
.au-section--green .au-surtitle {
  color: var(--au-salmon-soft);
}

/* Titres de section — taille unique partout */
.au-title {
  font-size: var(--fs-h2);
}
.au-title--display {
  font-size: var(--fs-display);
}
.au-section--green .au-title {
  color: var(--au-cream);
}

/* Chapô / intro */
.au-lead {
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem);
  color: var(--au-ink-soft);
  line-height: 1.75;
}

/* En-tête de bloc centré */
.au-head {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.au-head .au-title {
  margin-top: 0.3rem;
}

/* --------------------------------------------------------------------------
   5. Boutons — UN SEUL style (pleine couleur), partout
   -------------------------------------------------------------------------- */
.au-btn,
#contactForm .submitButton,
.buttonWoo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65em;
  font-family: var(--au-font-body);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1;
  padding: 1.05em 2.3em;
  color: var(--au-cream);
  background-color: var(--au-green);
  border: 1px solid var(--au-green);
  border-radius: var(--au-radius);
  cursor: pointer;
  text-align: center;
  transition:
    background-color 0.4s var(--au-ease),
    border-color 0.4s var(--au-ease),
    color 0.4s var(--au-ease),
    transform 0.4s var(--au-ease),
    box-shadow 0.4s var(--au-ease);
}
.au-btn:hover,
#contactForm .submitButton:hover,
.buttonWoo:hover {
  background-color: var(--au-salmon);
  border-color: var(--au-salmon);
  color: var(--au-white);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px -16px rgba(221, 157, 132, 0.9);
}
.au-btn svg {
  width: 1.1em;
  height: 1.1em;
  fill: currentColor;
}

/* Variante sur fond foncé/photo : mêmes proportions, couleur inversée */
.au-btn--light {
  background-color: var(--au-cream);
  border-color: var(--au-cream);
  color: var(--au-green-deep);
}
.au-btn--light:hover {
  background-color: var(--au-salmon);
  border-color: var(--au-salmon);
  color: var(--au-white);
}

/* Petit lien fléché (usage éditorial, pas un “2e style de bouton”) */
.au-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--au-font-body);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--au-green-deep);
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.35em;
}
.au-link:hover {
  color: var(--au-salmon-deep);
}

/* --------------------------------------------------------------------------
   6. Animations d'apparition maison (complètent AOS déjà présent)
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .au-reveal {
    opacity: 0;
    transform: translateY(26px);
    transition:
      opacity 1s var(--au-ease),
      transform 1s var(--au-ease);
    will-change: opacity, transform;
  }
  .au-reveal.is-in {
    opacity: 1;
    transform: none;
  }
  .au-reveal[data-delay="1"] {
    transition-delay: 0.12s;
  }
  .au-reveal[data-delay="2"] {
    transition-delay: 0.24s;
  }
  .au-reveal[data-delay="3"] {
    transition-delay: 0.36s;
  }

  /* Zoom lent des images de fond au survol */
  .au-kenburns {
    overflow: hidden;
  }
  .au-kenburns > img,
  .au-kenburns > .au-bg {
    transition: transform 6s var(--au-ease);
  }
  .au-kenburns:hover > img,
  .au-kenburns:hover > .au-bg {
    transform: scale(1.06);
  }
}

/* Image de fond utilitaire */
.au-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.au-overlay-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(43, 42, 38, 0.15) 0%,
    rgba(43, 42, 38, 0.55) 100%
  );
}

/* Corps de texte riche (WYSIWYG) harmonisé */
.au-prose {
  color: var(--au-ink-soft);
  line-height: 1.8;
}
.au-prose h2,
.au-prose h3,
.au-prose h4 {
  color: var(--au-ink);
  margin: 1.6rem 0 0.6rem;
}
.au-prose a {
  color: var(--au-green-deep);
  border-bottom: 1px solid var(--au-salmon);
}
.au-prose a:hover {
  color: var(--au-salmon-deep);
}
.au-prose ul {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0;
}
.au-prose ul li {
  position: relative;
  padding-left: 1.7rem;
  margin-bottom: 0.6rem;
}
.au-prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--au-salmon);
}
.au-prose ol {
  padding-left: 1.2rem;
}

/* --------------------------------------------------------------------------
   7. En-tête + menu overlay (burger à tous les écrans)
   -------------------------------------------------------------------------- */
.au-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 300;
  transition:
    background-color 0.5s var(--au-ease),
    box-shadow 0.5s var(--au-ease);
}
.au-header::before {
  /* scrim de lisibilité au-dessus des visuels */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26, 25, 22, 0.42),
    rgba(26, 25, 22, 0)
  );
  opacity: 1;
  transition: opacity 0.5s var(--au-ease);
  pointer-events: none;
}
.au-header.is-scrolled {
  background-color: var(--au-cream);
  box-shadow: 0 10px 40px -30px rgba(43, 42, 38, 0.7);
}
.au-header.is-scrolled::before {
  opacity: 0;
}

.au-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 92px;
  position: relative;
}
.au-header__logo {
  display: inline-flex;
  align-items: center;
}
.au-header__logo img {
  height: 58px;
  width: auto;
  object-fit: contain;
  transition: height 0.5s var(--au-ease);
}
.au-header.is-scrolled .au-header__logo img {
  height: 48px;
}
.au-header__wordmark {
  font-family: var(--au-font-title);
  font-size: 1.7rem;
  color: var(--au-white);
  letter-spacing: 0.02em;
  transition: color 0.5s var(--au-ease);
}
.au-header.is-scrolled .au-header__wordmark {
  color: var(--au-ink);
}

.au-header__actions {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}
.au-header__cta {
  padding: 0.85em 1.8em;
}
/* Le bouton "Réserver" reste VISIBLE sur mobile (il devient juste compact) */
@media (max-width: 640px) {
  .au-header__inner {
    min-height: 76px;
    gap: 0.6rem;
  }
  .au-header__actions {
    gap: 0.6rem;
  }
  .au-header__cta {
    padding: 0.7em 1em;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
  }
  .au-header__logo img {
    height: 44px;
  }
  .au-header.is-scrolled .au-header__logo img {
    height: 40px;
  }
}
@media (max-width: 380px) {
  .au-header__cta {
    padding: 0.65em 0.8em;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
  }
  .au-header__logo img {
    height: 38px;
  }
}

/* Burger */
.au-burger {
  --bar: var(--au-white);
  position: relative;
  width: 46px;
  height: 34px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  z-index: 2;
}
.au-header.is-scrolled .au-burger {
  --bar: var(--au-ink);
}
.au-burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--bar);
  transition:
    width 0.45s var(--au-ease),
    transform 0.45s var(--au-ease),
    opacity 0.3s var(--au-ease),
    background-color 0.5s var(--au-ease);
  transform-origin: center;
}
.au-burger span:nth-child(2) {
  width: 72%;
  margin-left: auto;
}
.au-burger:hover span:nth-child(2) {
  width: 100%;
}

/* Overlay */
.au-nav {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  transition:
    opacity 0.6s var(--au-ease),
    visibility 0s linear 0.6s;
}
.au-nav.is-open {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.6s var(--au-ease);
}
.au-nav__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  transition: transform 1.2s var(--au-ease);
}
.au-nav.is-open .au-nav__bg {
  transform: scale(1);
}
.au-nav__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      90% 70% at 82% 8%,
      rgba(140, 166, 130, 0.45),
      transparent 55%
    ),
    radial-gradient(
      80% 80% at 12% 100%,
      rgba(221, 157, 132, 0.2),
      transparent 55%
    ),
    linear-gradient(155deg, #2f3d29 0%, #34432c 45%, #232f1f 100%);
}
/* Léger grain végétal pour éviter un aplat trop plat */
.au-nav__veil::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image: radial-gradient(
    rgba(246, 244, 242, 0.05) 1px,
    transparent 1px
  );
  background-size: 26px 26px;
  pointer-events: none;
}
.au-nav__close {
  position: absolute;
  top: 26px;
  right: max(4vw, 26px);
  width: 54px;
  height: 54px;
  border: 1px solid var(--au-line-light);
  border-radius: 50%;
  background: transparent;
  color: var(--au-cream);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition:
    background-color 0.4s var(--au-ease),
    transform 0.5s var(--au-ease);
}
.au-nav__close:hover {
  background: var(--au-salmon);
  border-color: var(--au-salmon);
  transform: rotate(90deg);
}
/* Croix fine dessinée en CSS (plus élégante que l'icône du sprite) */
.au-nav__close::before,
.au-nav__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
}
.au-nav__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.au-nav__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.au-nav__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: clamp(6rem, 12vh, 9rem);
  padding-inline: clamp(1.5rem, 7vw, 8rem);
}
.au-nav__surtitle {
  color: var(--au-salmon-soft);
  margin-bottom: 2rem;
}

.au-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
.au-menu > li {
  opacity: 0;
  transform: translateY(24px);
}
.au-nav.is-open .au-menu > li {
  animation: auMenuIn 0.7s var(--au-ease) forwards;
}
.au-nav.is-open .au-menu > li:nth-child(1) {
  animation-delay: 0.12s;
}
.au-nav.is-open .au-menu > li:nth-child(2) {
  animation-delay: 0.18s;
}
.au-nav.is-open .au-menu > li:nth-child(3) {
  animation-delay: 0.24s;
}
.au-nav.is-open .au-menu > li:nth-child(4) {
  animation-delay: 0.3s;
}
.au-nav.is-open .au-menu > li:nth-child(5) {
  animation-delay: 0.36s;
}
.au-nav.is-open .au-menu > li:nth-child(6) {
  animation-delay: 0.42s;
}
.au-nav.is-open .au-menu > li:nth-child(7) {
  animation-delay: 0.48s;
}
.au-nav.is-open .au-menu > li:nth-child(8) {
  animation-delay: 0.54s;
}
.au-nav.is-open .au-menu > li:nth-child(9) {
  animation-delay: 0.6s;
}
@keyframes auMenuIn {
  to {
    opacity: 1;
    transform: none;
  }
}

.au-menu a {
  font-family: var(--au-font-title);
  font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.4rem);
  line-height: 1.18;
  color: var(--au-cream);
  display: inline-block;
  position: relative;
  padding: 0.06em 0;
  text-decoration: none;
}
.au-menu > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.12em;
  width: 0;
  height: 1px;
  background: var(--au-salmon);
  transition: width 0.45s var(--au-ease);
}
.au-menu > li > a:hover,
.au-menu > li.current-menu-item > a {
  color: var(--au-salmon-soft);
}
.au-menu > li > a:hover::after,
.au-menu > li.current-menu-item > a::after {
  width: 100%;
}

/* Sous-menus : liste indentée, plus discrète */
.au-menu .sub-menu {
  list-style: none;
  margin: 0.4rem 0 0.8rem;
  padding: 0 0 0 1.4rem;
  border-left: 1px solid var(--au-line-light);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.6rem;
}
.au-menu .sub-menu a {
  font-size: clamp(1rem, 0.9rem + 0.4vw, 1.25rem);
  color: rgba(246, 244, 242, 0.75);
}
.au-menu .sub-menu a:hover {
  color: var(--au-salmon-soft);
}

.au-nav__foot {
  margin-top: clamp(2.5rem, 6vh, 4rem);
  padding-top: 2rem;
  border-top: 1px solid var(--au-line-light);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.au-nav__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.2rem;
}
.au-nav__contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  color: var(--au-cream);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}
.au-nav__contact-link:hover {
  color: var(--au-salmon-soft);
}
.au-nav__contact-link svg {
  width: 18px;
  height: 18px;
  fill: var(--au-salmon);
}
.au-nav__social {
  display: flex;
  gap: 0.6rem;
}

/* Verrou de défilement quand le menu est ouvert */
html.au-nav-open,
body.au-nav-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .au-nav__foot {
    flex-direction: column;
    align-items: flex-start;
  }
  .au-menu .sub-menu {
    flex-direction: column;
    gap: 0.3rem;
  }
}

/* Réseaux sociaux dans l'overlay (surcharge du partial socialmedia) */
.au-nav__social a {
  width: 46px;
  height: 46px;
  padding: 0 !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  color: var(--au-cream) !important;
  background: transparent !important;
  border: 1px solid var(--au-line-light);
  border-radius: 50%;
  box-shadow: none !important;
  transition:
    background-color 0.4s var(--au-ease),
    color 0.4s var(--au-ease),
    transform 0.4s var(--au-ease);
}
.au-nav__social a:hover {
  background: var(--au-salmon) !important;
  color: var(--au-white) !important;
  transform: translateY(-3px);
}
.au-nav__social a svg {
  width: 18px;
  height: 18px;
}

/* --------------------------------------------------------------------------
   8. Hero immersif (home-slider-2)
   -------------------------------------------------------------------------- */
.au-hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--au-ink);
}
.au-hero__carousel,
.au-hero .flickity-viewport {
  position: absolute !important;
  inset: 0;
  height: 100% !important;
  width: 100%;
}
.au-hero__cell {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}
/* Léger zoom continu de l'image active */
@media (prefers-reduced-motion: no-preference) {
  .au-hero .flickity-slider > .is-selected.au-hero__cell {
    animation: auHeroZoom 7s ease-out forwards;
  }
}
@keyframes auHeroZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}

.au-hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(
      120% 90% at 50% 12%,
      rgba(26, 25, 22, 0.1),
      transparent 55%
    ),
    linear-gradient(
      180deg,
      rgba(26, 25, 22, 0.35) 0%,
      rgba(26, 25, 22, 0.25) 45%,
      rgba(26, 25, 22, 0.72) 100%
    );
}
.au-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--au-cream);
  padding-top: 90px;
}
.au-hero__surtitle {
  color: var(--au-salmon-soft);
}
.au-hero__title {
  color: var(--au-cream);
  max-width: 16ch;
  margin: 0.4rem auto 0;
  text-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}
.au-hero__actions {
  margin-top: 2.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.au-hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  color: var(--au-cream);
  font-family: var(--au-font-body);
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.au-hero__scroll-line {
  width: 1px;
  height: 54px;
  background: linear-gradient(to bottom, var(--au-cream), transparent);
  position: relative;
  overflow: hidden;
}
.au-hero__scroll-line::after {
  content: "";
  position: absolute;
  top: -40%;
  left: 0;
  width: 100%;
  height: 40%;
  background: var(--au-salmon);
  animation: auScroll 2.1s var(--au-ease) infinite;
}
@keyframes auScroll {
  to {
    top: 100%;
  }
}
@media (max-width: 640px) {
  .au-hero__scroll span:first-child {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   9. Bannière de page (page-title-2)
   -------------------------------------------------------------------------- */
.au-pagebanner {
  position: relative;
  min-height: clamp(360px, 62vh, 620px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--au-ink);
}
.au-pagebanner__bg {
  transform: scale(1.06);
  animation: auHeroZoom 9s ease-out forwards;
}
.au-pagebanner__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      120% 110% at 50% 0%,
      rgba(109, 140, 98, 0.35),
      transparent 55%
    ),
    linear-gradient(
      180deg,
      rgba(26, 25, 22, 0.4) 0%,
      rgba(26, 25, 22, 0.65) 100%
    );
}
.au-pagebanner__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--au-cream);
  padding-top: 110px;
  padding-bottom: 2.5rem;
}
.au-pagebanner__surtitle {
  color: var(--au-salmon-soft);
}
.au-pagebanner__title {
  color: var(--au-cream);
  font-size: var(--fs-h1);
  max-width: 20ch;
  margin: 0.3rem auto 0;
  text-shadow: 0 10px 34px rgba(0, 0, 0, 0.35);
}
.au-pagebanner__actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   10. Bloc texte + photo (text-photo-2)
   -------------------------------------------------------------------------- */
.au-textphoto__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}
/* Par défaut : photo à DROITE, texte à gauche.
   grid-row:1 explicite sur les deux → placement définitif, sinon l'algorithme
   de grille renvoie le texte (col 1, après une figure en col 2) à la ligne. */
.au-textphoto__body {
  grid-column: 1;
  grid-row: 1;
}
.au-textphoto__media {
  grid-column: 2;
  grid-row: 1;
}
/* photo_position = "left" : photo à GAUCHE, texte à droite */
.au-textphoto--media-left .au-textphoto__body {
  grid-column: 2;
  grid-row: 1;
}
.au-textphoto--media-left .au-textphoto__media {
  grid-column: 1;
  grid-row: 1;
}
.au-textphoto__media {
  position: relative;
  border-radius: var(--au-radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--au-shadow);
}
.au-textphoto__media .au-bg {
  border-radius: inherit;
}
.au-textphoto__media::after {
  /* filet végétal décoratif */
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 3px;
  pointer-events: none;
}
.au-textphoto__title {
  margin: 0.4rem 0 1.4rem;
}
.au-textphoto__btn {
  margin-top: 1.8rem;
}

@media (max-width: 900px) {
  .au-textphoto__grid {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }
  .au-textphoto__body,
  .au-textphoto__media,
  .au-textphoto--media-left .au-textphoto__body,
  .au-textphoto--media-left .au-textphoto__media {
    grid-column: 1;
    grid-row: auto;
  }
  .au-textphoto__media {
    order: -1;
  } /* photo au-dessus du texte */
  .au-textphoto__media {
    aspect-ratio: 3 / 2;
    max-height: 460px;
  }
}

/* --------------------------------------------------------------------------
   11. Bloc typo (typo-2)
   -------------------------------------------------------------------------- */
.au-typo__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.au-typo__head {
  position: sticky;
  top: 120px;
}
.au-typo__title {
  margin-top: 0.4rem;
}
.au-typo__btn {
  margin-top: 1.8rem;
}
@media (max-width: 900px) {
  .au-typo__grid {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }
  .au-typo__head {
    position: static;
  }
}

/* --------------------------------------------------------------------------
   12. Bloc CTA immersif (cta-2)
   -------------------------------------------------------------------------- */
.au-cta {
  position: relative;
  min-height: clamp(460px, 82vh, 760px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}
.au-cta__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* parallax */
}
.au-cta__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      120% 120% at 50% 30%,
      rgba(109, 140, 98, 0.4),
      transparent 60%
    ),
    linear-gradient(180deg, rgba(26, 25, 22, 0.55), rgba(26, 25, 22, 0.68));
}
.au-cta__inner {
  position: relative;
  z-index: 2;
  color: var(--au-cream);
  padding-block: 3rem;
}
.au-cta__mark {
  display: inline-flex;
  width: 46px;
  height: 46px;
  margin-bottom: 1.4rem;
  color: var(--au-salmon-soft);
}
.au-cta__mark svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}
.au-cta__title {
  color: var(--au-cream);
  max-width: 18ch;
  margin-inline: auto;
}
.au-cta__accent {
  color: var(--au-salmon-soft);
  display: block;
}
.au-cta__actions {
  margin-top: 2.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
@media (max-width: 900px) {
  .au-cta__bg {
    background-attachment: scroll;
  }
}

/* --------------------------------------------------------------------------
   13. Carte du restaurant (composant carte)
   -------------------------------------------------------------------------- */
.au-carte__intro {
  max-width: 58ch;
  margin-inline: auto;
}

/* Visuels qui défilent */
.au-carte__gallery {
  position: relative;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.au-carte__viewport {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 20px;
  padding: 6px;
  scrollbar-width: none;
  cursor: grab;
}
.au-carte__viewport::-webkit-scrollbar {
  display: none;
}
.au-carte__viewport.is-grabbing {
  cursor: grabbing;
}
.au-carte__track {
  display: contents;
}
.au-carte__slide {
  flex: 0 0 clamp(260px, 42%, 460px);
  aspect-ratio: 3 / 4;
  margin: 0;
  border-radius: var(--au-radius-lg);
  overflow: hidden;
  scroll-snap-align: center;
  box-shadow: var(--au-shadow);
  background: var(--au-cream-warm);
}
.au-carte__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.au-carte__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 0;
  background: var(--au-white);
  color: var(--au-green-deep);
  box-shadow: var(--au-shadow-soft);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition:
    background-color 0.35s var(--au-ease),
    color 0.35s var(--au-ease);
}
.au-carte__nav:hover {
  background: var(--au-green);
  color: var(--au-cream);
}
.au-carte__nav svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
.au-carte__nav--prev {
  left: -10px;
}
.au-carte__nav--prev svg {
  transform: rotate(-90deg);
}
.au-carte__nav--next {
  right: -10px;
}
.au-carte__nav--next svg {
  transform: rotate(90deg);
}
@media (max-width: 640px) {
  .au-carte__nav--prev {
    left: 4px;
  }
  .au-carte__nav--next {
    right: 4px;
  }
  .au-carte__slide {
    flex-basis: 78%;
  }
}

/* Tableau menu / vins */
.au-carte__board {
  background: var(--au-white);
  border: 1px solid var(--au-line);
  border-radius: var(--au-radius-lg);
  padding: clamp(1.6rem, 4vw, 3.4rem);
  box-shadow: var(--au-shadow-soft);
}
.au-carte__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  justify-content: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--au-line);
}
.au-carte__tab {
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--au-font-title);
  font-size: clamp(1.3rem, 1rem + 1.1vw, 1.9rem);
  color: var(--au-ink-soft);
  padding: 0 0 1rem;
  position: relative;
  transition: color 0.35s var(--au-ease);
}
.au-carte__tab::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: var(--au-salmon);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.4s var(--au-ease);
}
.au-carte__tab:hover {
  color: var(--au-ink);
}
.au-carte__tab.is-active {
  color: var(--au-green-deep);
}
.au-carte__tab.is-active::after {
  transform: scaleX(1);
}

.au-carte__panel {
  display: none;
}
.au-carte__panel.is-active {
  display: block;
  animation: auFadeIn 0.6s var(--au-ease);
}
@keyframes auFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.au-carte__cats {
  columns: 2;
  column-gap: clamp(2rem, 5vw, 4.5rem);
}
.au-carte__cat {
  break-inside: avoid;
  margin-bottom: 2.6rem;
}
.au-carte__cat-head {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  margin-bottom: 1.1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--au-line);
}
.au-carte__cat-title {
  font-size: var(--fs-h3);
  color: var(--au-green-deep);
}
.au-carte__cat-note {
  font-family: var(--au-font-surtitle);
  font-size: 0.95rem;
  color: var(--au-salmon-deep);
}
.au-carte__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.au-dish {
  margin-bottom: 1.15rem;
}
.au-dish__row {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}
.au-dish__name {
  font-family: var(--au-font-title);
  font-size: 1.28rem;
  color: var(--au-ink);
  font-weight: 500;
}
.au-dish__dots {
  flex: 1;
  border-bottom: 1px dotted var(--au-line);
  transform: translateY(-3px);
}
.au-dish__price {
  font-family: var(--au-font-title);
  font-size: 1.2rem;
  color: var(--au-salmon-deep);
  white-space: nowrap;
}
.au-dish__desc {
  margin: 0.25rem 0 0;
  font-size: 0.98rem;
  color: var(--au-ink-soft);
  line-height: 1.5;
  max-width: 46ch;
}
.au-carte__pdf {
  text-align: center;
  margin-top: 2.4rem;
}

@media (max-width: 720px) {
  .au-carte__cats {
    columns: 1;
  }
}

/* --------------------------------------------------------------------------
   14. Galerie (gallery-2)
   -------------------------------------------------------------------------- */
.au-gallery__grid {
  columns: 3;
  column-gap: 18px;
}
.au-gallery__item {
  display: block;
  width: 100%;
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  border-radius: var(--au-radius-lg);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  break-inside: avoid;
  box-shadow: var(--au-shadow-soft);
  background: var(--au-cream-warm);
}
.au-gallery__item img {
  width: 100%;
  display: block;
}
.au-gallery__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(109, 140, 98, 0) 40%,
    rgba(79, 106, 72, 0.55)
  );
  opacity: 0;
  transition: opacity 0.45s var(--au-ease);
}
.au-gallery__plus {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 52px;
  height: 52px;
  border: 1px solid var(--au-cream);
  border-radius: 50%;
  transform: translate(-50%, -46%) scale(0.8);
  opacity: 0;
  transition:
    opacity 0.45s var(--au-ease),
    transform 0.45s var(--au-ease);
}
.au-gallery__plus::before,
.au-gallery__plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--au-cream);
  transform: translate(-50%, -50%);
}
.au-gallery__plus::before {
  width: 18px;
  height: 1px;
}
.au-gallery__plus::after {
  width: 1px;
  height: 18px;
}
.au-gallery__item:hover .au-gallery__veil {
  opacity: 1;
}
.au-gallery__item:hover .au-gallery__plus {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
@media (max-width: 1000px) {
  .au-gallery__grid {
    columns: 2;
  }
}
@media (max-width: 560px) {
  .au-gallery__grid {
    columns: 1;
  }
}

/* --------------------------------------------------------------------------
   15. Listing prestations (prestations-listing-2)
   -------------------------------------------------------------------------- */
.au-presta__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(1.2rem, 2.5vw, 2rem);
}
.au-presta__grid--single {
  grid-template-columns: minmax(0, 720px);
  justify-content: center;
}
.au-presta__card {
  display: block;
  color: inherit;
}
.au-presta__media {
  position: relative;
  height: clamp(24rem, 44vw, 34rem);
  border-radius: var(--au-radius-lg);
  overflow: hidden;
  box-shadow: var(--au-shadow);
}
.au-presta__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.au-presta__grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 25, 22, 0) 35%,
    rgba(26, 25, 22, 0.72)
  );
}
.au-presta__name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.6rem;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0 1.4rem;
  text-align: center;
  color: var(--au-cream);
  font-size: var(--fs-h3);
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
}
.au-presta__icon {
  height: 42px;
  width: 42px;
  object-fit: contain;
}
.au-presta__cue {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(246, 244, 242, 0.16);
  border: 1px solid var(--au-line-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.4s var(--au-ease),
    transform 0.4s var(--au-ease),
    background-color 0.4s var(--au-ease);
}
.au-presta__cue svg {
  width: 18px;
  height: 18px;
  fill: var(--au-cream);
  transform: rotate(45deg);
}
.au-presta__card--link:hover .au-presta__cue {
  opacity: 1;
  transform: none;
  background: var(--au-salmon);
}
.au-presta__desc {
  text-align: center;
  padding-top: 1.2rem;
}

/* --------------------------------------------------------------------------
   16. Partenaires (partners)
   -------------------------------------------------------------------------- */
.au-partners__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}
.au-partners__item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.5rem;
}
.au-partners__item img {
  height: clamp(70px, 9vw, 120px);
  width: auto;
  max-width: 220px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.6;
  transition:
    filter 0.45s var(--au-ease),
    opacity 0.45s var(--au-ease),
    transform 0.45s var(--au-ease);
}
.au-partners__item:hover img {
  filter: grayscale(0);
  opacity: 1;
  transform: translateY(-4px);
}

/* --------------------------------------------------------------------------
   17. Équipe (teams)
   -------------------------------------------------------------------------- */
.au-team__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(1.4rem, 3vw, 2.5rem);
  max-width: 1100px;
  margin-inline: auto;
}
.au-team__card {
  margin: 0;
  text-align: center;
  background: var(--au-white);
  border: 1px solid var(--au-line);
  border-radius: var(--au-radius-lg);
  padding: 2rem 1.4rem 1.8rem;
  transition:
    transform 0.5s var(--au-ease),
    box-shadow 0.5s var(--au-ease);
}
.au-team__card:hover {
  transform: translateY(-8px);
  box-shadow: var(--au-shadow);
}
.au-team__photo {
  width: 160px;
  height: 160px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--au-cream-warm);
  box-shadow: 0 0 0 1px var(--au-line);
}
.au-team__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.au-team__name {
  font-size: var(--fs-h3);
  color: var(--au-green-deep);
}
.au-team__role {
  display: block;
  margin-top: 0.2rem;
  font-family: var(--au-font-surtitle);
  color: var(--au-salmon-deep);
  font-size: 1rem;
}

/* --------------------------------------------------------------------------
   18. Carte Leaflet (map)
   -------------------------------------------------------------------------- */
.au-map__intro {
  max-width: 60ch;
  margin-inline: auto;
}
.au-map__frame {
  width: min(1400px, 96vw);
  margin: clamp(2rem, 4vw, 3rem) auto 0;
  border-radius: var(--au-radius-lg);
  overflow: hidden;
  box-shadow: var(--au-shadow);
  border: 1px solid var(--au-line);
}
.au-map__canvas {
  width: 100%;
  height: clamp(380px, 55vh, 560px);
}
.au-map__canvas .leaflet-container {
  font-family: var(--au-font-body);
}

/* --------------------------------------------------------------------------
   19. Bloc contact / formulaire (form)
   -------------------------------------------------------------------------- */
.au-form__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.6fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.au-form__aside-title {
  margin: 0.3rem 0 1.8rem;
}
.au-form__coords {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.4rem;
}
.au-form__coord {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 1.05rem;
  color: var(--au-ink-soft);
  line-height: 1.5;
}
.au-form__coord a {
  color: var(--au-ink);
}
.au-form__coord a:hover {
  color: var(--au-salmon-deep);
}
.au-form__coord-ico {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--au-green-veil);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.au-form__coord-ico svg {
  width: 20px;
  height: 20px;
  fill: var(--au-green);
}

.au-form__main {
  background: var(--au-white);
  border: 1px solid var(--au-line);
  border-radius: var(--au-radius-lg);
  padding: clamp(1.6rem, 3.5vw, 3rem);
  box-shadow: var(--au-shadow-soft);
}
.au-form__title {
  margin-bottom: 1.8rem;
  text-align: left;
}

/* Champs (générés par FormBuilder — on garde .form-field) */
#contactForm {
  width: 100%;
}
#contactForm fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}
#contactForm label {
  font-family: var(--au-font-surtitle);
  font-size: 0.95rem;
  color: var(--au-green-deep);
  margin-bottom: 0.5rem;
}
#contactForm .form-field {
  width: 100%;
  font-family: var(--au-font-body);
  font-size: 1rem;
  color: var(--au-ink);
  background: var(--au-cream);
  border: 1px solid var(--au-line);
  border-radius: var(--au-radius);
  padding: 0.85rem 1rem;
  transition:
    border-color 0.35s var(--au-ease),
    box-shadow 0.35s var(--au-ease),
    background-color 0.35s var(--au-ease);
}
#contactForm .form-field:focus {
  outline: none;
  border-color: var(--au-green);
  background: var(--au-white);
  box-shadow: 0 0 0 3px var(--au-green-veil);
}
#contactForm textarea.form-field {
  min-height: 160px;
  resize: vertical;
}
#contactForm fieldset.error .form-field {
  border-color: var(--au-orange-deep);
}
#contactForm fieldset.success .form-field {
  border-color: var(--au-green);
}
.au-form__submit-wrap {
  margin-top: 2rem;
  display: flex;
  justify-content: flex-start;
}
#contactForm .submitButton[disabled] {
  opacity: 0.6;
  cursor: wait;
}

.au-form__visual {
  border-radius: var(--au-radius-lg);
  overflow: hidden;
  box-shadow: var(--au-shadow);
}
.au-form__visual img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  max-height: 640px;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .au-form__grid {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }
  .au-form__title {
    text-align: center;
  }
  .au-form__submit-wrap {
    justify-content: center;
  }
}

/* --------------------------------------------------------------------------
   20. Pied de page (footer.php) — la section copyright n'est pas touchée
   -------------------------------------------------------------------------- */
.au-footer {
  --footer-bg: #3b4c34; /* vert forêt profond */
  background-color: var(--footer-bg) !important;
  color: var(--au-cream);
  position: relative;
  overflow: hidden;
}
.au-footer::before {
  /* halo végétal discret */
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 520px;
  height: 520px;
  background: radial-gradient(
    circle,
    rgba(140, 166, 130, 0.28),
    transparent 65%
  );
  pointer-events: none;
}
.au-footer__brand {
  position: relative;
  text-align: center;
  padding-top: clamp(3.5rem, 7vw, 6rem);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.au-footer__wordmark {
  font-family: var(--au-font-title);
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3.4rem);
  color: var(--au-cream);
  line-height: 1;
}
.au-footer__wordmark:hover {
  color: var(--au-salmon-soft);
}
.au-footer__leaf {
  display: block;
  width: 60px;
  height: 1px;
  margin-top: 1.4rem;
  background: var(--au-salmon-soft);
  position: relative;
}
.au-footer__leaf::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--au-salmon);
  transform: translate(-50%, -50%);
}
.au-footer__body {
  position: relative;
}

/* Réseaux sociaux (partial socialmedia isFooter → .socialFooter) */
.au-footer .social {
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  padding-top: 2rem !important;
  margin-bottom: 2.5rem !important;
}
.au-footer .socialFooter {
  width: 48px;
  height: 48px;
  padding: 0 !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(246, 244, 242, 0.1) !important;
  border: 1px solid var(--au-line-light);
  color: var(--au-cream) !important;
  box-shadow: none !important;
  transition:
    background-color 0.4s var(--au-ease),
    transform 0.4s var(--au-ease);
}
.au-footer .socialFooter svg {
  width: 19px;
  height: 19px;
  fill: var(--au-cream) !important;
}
.au-footer .socialFooter:hover {
  background: var(--au-salmon) !important;
  transform: translateY(-3px);
}
.au-footer .socialFooter:hover svg {
  fill: var(--au-white) !important;
}

/* Grille de coordonnées */
.au-footer .grid {
  position: relative;
}
.au-footer i[class*="flaticon-"] {
  font-size: 2rem !important;
  color: var(--au-salmon) !important;
}
.au-footer .txtCustom {
  color: var(--au-cream);
  font-family: var(--au-font-title);
  letter-spacing: 0.02em;
}
.au-footer .txtCustom a {
  color: var(--au-cream);
}
.au-footer .txtCustom:hover a,
.au-footer .txtCustom a:hover {
  color: var(--au-salmon-soft);
}
.au-footer h6 {
  color: var(--au-cream);
}

/* --------------------------------------------------------------------------
   21. Blog — listing (blog + archive)
   -------------------------------------------------------------------------- */
.au-blog__layout {
  display: block;
}
.au-blog__layout--sidebar {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
.au-blog__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: clamp(1.6rem, 3vw, 2.6rem);
}
.au-blog__card {
  background: var(--au-white);
  border: 1px solid var(--au-line);
  border-radius: var(--au-radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.5s var(--au-ease),
    box-shadow 0.5s var(--au-ease);
}
.au-blog__card:hover {
  transform: translateY(-8px);
  box-shadow: var(--au-shadow);
}
.au-blog__media {
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--au-cream-warm);
}
.au-blog__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.au-blog__media-empty {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    var(--au-green-soft),
    var(--au-cream-warm)
  );
}
.au-blog__body {
  padding: 1.6rem 1.7rem 1.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}
.au-blog__date {
  font-family: var(--au-font-surtitle);
  font-size: 0.9rem;
  color: var(--au-salmon-deep);
}
.au-blog__title {
  font-size: 1.5rem;
  line-height: 1.2;
}
.au-blog__title a {
  color: var(--au-ink);
}
.au-blog__title a:hover {
  color: var(--au-green-deep);
}
.au-blog__excerpt {
  color: var(--au-ink-soft);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}
.au-blog__body .au-link {
  margin-top: auto;
  align-self: flex-start;
}
.au-blog__empty {
  text-align: center;
  color: var(--au-ink-soft);
  grid-column: 1 / -1;
}
@media (max-width: 820px) {
  .au-blog__layout--sidebar {
    grid-template-columns: 1fr;
  }
}

/* Pagination */
.au-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.au-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 0.6rem;
  border: 1px solid var(--au-line);
  border-radius: var(--au-radius);
  font-family: var(--au-font-title);
  font-size: 1.15rem;
  color: var(--au-ink);
  transition:
    background-color 0.35s var(--au-ease),
    color 0.35s var(--au-ease),
    border-color 0.35s var(--au-ease);
}
.au-pagination .page-numbers:hover {
  border-color: var(--au-green);
  color: var(--au-green-deep);
}
.au-pagination .page-numbers.current {
  background: var(--au-green);
  border-color: var(--au-green);
  color: var(--au-cream);
}
.au-pagination .nav-links {
  display: flex;
  gap: 0.5rem;
}

/* --------------------------------------------------------------------------
   22. Article seul (content.php / single)
   -------------------------------------------------------------------------- */
.au-single {
  padding-top: clamp(120px, 14vh, 170px);
  padding-bottom: var(--au-section-y);
}
.au-article {
  margin-inline: auto;
}
.au-article__cover {
  width: 100%;
  aspect-ratio: 16 / 8;
  max-height: 520px;
  border-radius: var(--au-radius-lg);
  overflow: hidden;
  margin-bottom: clamp(2rem, 4vw, 3.2rem);
  box-shadow: var(--au-shadow);
}
.au-article__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.au-article__inner {
  max-width: 760px;
  margin-inline: auto;
}
.au-article__head {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.au-article__title {
  margin-top: 0.4rem;
}
.au-article__title a {
  color: inherit;
}
.au-article__title a:hover {
  color: var(--au-green-deep);
}
.au-article__content {
  font-size: 1.12rem;
}
.au-article__content img {
  border-radius: var(--au-radius-lg);
  margin: 1.5rem 0;
}

/* Navigation article précédent/suivant */
.post-navigation {
  max-width: 760px;
  margin: clamp(2.5rem, 5vw, 4rem) auto 0;
  padding-top: 2rem;
  border-top: 1px solid var(--au-line);
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
}
.post-navigation .nav-subtitle {
  display: block;
  font-family: var(--au-font-surtitle);
  color: var(--au-salmon-deep);
  font-size: 0.85rem;
}
.post-navigation .nav-title {
  font-family: var(--au-font-title);
  font-size: 1.25rem;
  color: var(--au-ink);
}
.post-navigation a:hover .nav-title {
  color: var(--au-green-deep);
}
.posts-navigation .nav-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

/* --------------------------------------------------------------------------
   23. Ajustements globaux
   -------------------------------------------------------------------------- */
/* Le rythme vertical est géré par les .au-section : on neutralise le spacer injecté */
.spacer {
  height: 0 !important;
  min-height: 0 !important;
}

/* Défilement doux (ancre "Découvrir") */
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Focus accessible cohérent */
a:focus-visible,
button:focus-visible,
.au-btn:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--au-salmon);
  outline-offset: 3px;
}

/* Deux .au-section de même fond qui se suivent : on évite le double padding */
.au-section + .au-section.au-section--cream,
.au-section--cream + .au-section--cream {
  padding-top: 0;
}

/* Lightbox galerie (#modal défini dans footer.php) — léger raffinement */
#modal {
  backdrop-filter: blur(6px);
}
#modal img {
  border-radius: var(--au-radius-lg);
  box-shadow: var(--au-shadow);
}

/* --------------------------------------------------------------------------
   25. Constructeur d'article (CPT publication — template-parts/article-builder)
   -------------------------------------------------------------------------- */
.au-article__builder {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 3.4rem);
}
.au-article__block {
  margin: 0;
}
.au-article__block--titre .au-title {
  margin: 0;
}
.au-article__block-title {
  margin: 0 0 1rem;
  font-size: var(--fs-h3);
}
.au-article__block .au-prose {
  font-size: 1.12rem;
}

/* Texte + photo en contexte article : un peu plus compact que la version pleine section */
.au-article__textphoto .au-textphoto__grid {
  gap: clamp(1.5rem, 3vw, 3rem);
}
.au-article__textphoto .au-textphoto__media {
  aspect-ratio: 4 / 3;
}
.au-article__textphoto .au-prose {
  font-size: 1.05rem;
}

/* Image seule */
.au-article__figure {
  margin: 0;
}
.au-article__figure img {
  width: 100%;
  height: auto;
  border-radius: var(--au-radius-lg);
  box-shadow: var(--au-shadow-soft);
  display: block;
}
.au-article__caption {
  margin-top: 0.7rem;
  text-align: center;
  font-family: var(--au-font-surtitle);
  font-size: 0.95rem;
  color: var(--au-salmon-deep);
}

/* --------------------------------------------------------------------------
   26. Bloc Bon cadeau (boutique ZenChef intégrée)
   -------------------------------------------------------------------------- */
.au-voucher__intro {
  max-width: 60ch;
  margin-inline: auto;
}
.au-voucher__frame {
  background: var(--au-white);
  border: 1px solid var(--au-line);
  border-radius: var(--au-radius-lg);
  box-shadow: var(--au-shadow-soft);
  overflow: hidden;
}
.au-voucher__frame iframe {
  display: block;
  width: 100%;
  border: 0;
  min-height: 520px;
}
.au-voucher__fallback {
  text-align: center;
  margin-top: 2rem;
}

/* --------------------------------------------------------------------------
   27. Visionneuse PDF « page qui tourne » (cartes menu + vins)
   -------------------------------------------------------------------------- */
.au-pdfbook {
  margin-top: 2.5rem;
  outline: none;
}
.au-pdfbook__stage {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.5rem, 2vw, 1.5rem);
}
.au-pdfbook__page {
  position: relative;
  flex: 1 1 auto;
  max-width: 720px;
  min-height: 260px;
  background: var(--au-white);
  border: 1px solid var(--au-line);
  border-radius: var(--au-radius-lg);
  box-shadow: var(--au-shadow);
  overflow: hidden;
  transform-origin: left center;
  perspective: 1600px;
}
.au-pdfbook__canvas {
  display: block;
  width: 100%;
  height: auto;
}
.au-pdfbook__loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
  color: var(--au-ink-soft);
  font-family: var(--au-font-surtitle);
}
.au-pdfbook.is-error .au-pdfbook__loader {
  color: var(--au-orange-deep);
}
.au-pdfbook.is-error .au-pdfbook__stage .au-pdfbook__arrow {
  display: none;
}

/* Effet « page qui tourne » */
@media (prefers-reduced-motion: no-preference) {
  .au-pdfbook.is-turn-next .au-pdfbook__canvas {
    animation: auTurnNext 0.5s var(--au-ease);
  }
  .au-pdfbook.is-turn-prev .au-pdfbook__canvas {
    animation: auTurnPrev 0.5s var(--au-ease);
  }
}
@keyframes auTurnNext {
  0% {
    transform: rotateY(0deg);
    opacity: 1;
    transform-origin: left center;
  }
  45% {
    transform: rotateY(-22deg);
    opacity: 0.35;
    transform-origin: left center;
  }
  55% {
    transform: rotateY(18deg);
    opacity: 0.35;
    transform-origin: left center;
  }
  100% {
    transform: rotateY(0deg);
    opacity: 1;
    transform-origin: left center;
  }
}
@keyframes auTurnPrev {
  0% {
    transform: rotateY(0deg);
    opacity: 1;
    transform-origin: right center;
  }
  45% {
    transform: rotateY(22deg);
    opacity: 0.35;
    transform-origin: right center;
  }
  55% {
    transform: rotateY(-18deg);
    opacity: 0.35;
    transform-origin: right center;
  }
  100% {
    transform: rotateY(0deg);
    opacity: 1;
    transform-origin: right center;
  }
}

/* Flèches */
.au-pdfbook__arrow {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid var(--au-line);
  background: var(--au-white);
  color: var(--au-green-deep);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--au-shadow-soft);
  transition:
    background-color 0.35s var(--au-ease),
    color 0.35s var(--au-ease),
    opacity 0.35s var(--au-ease);
}
.au-pdfbook__arrow svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
.au-pdfbook__arrow--prev svg {
  transform: rotate(-90deg);
}
.au-pdfbook__arrow--next svg {
  transform: rotate(90deg);
}
.au-pdfbook__arrow:hover:not(:disabled) {
  background: var(--au-green);
  color: var(--au-cream);
}
.au-pdfbook__arrow:disabled {
  opacity: 0.3;
  cursor: default;
}

/* Barre du bas : compteur + téléchargement */
.au-pdfbook__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 1.6rem;
}
.au-pdfbook__counter {
  font-family: var(--au-font-title);
  font-size: 1.15rem;
  color: var(--au-ink-soft);
  letter-spacing: 0.05em;
}

@media (max-width: 640px) {
  .au-pdfbook__arrow {
    width: 44px;
    height: 44px;
  }
  .au-pdfbook__stage {
    gap: 0.4rem;
  }
}

/* Mention légère dans le corps du footer (ex. animaux non acceptés) */
.au-footer__note {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  padding: 1.6rem 1.5rem 0;
  text-align: center;
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.6;
  color: rgba(246, 244, 242, 0.72);
  border-top: 1px solid var(--au-line-light);
}
