/* ==========================================================================
   La Cour — feuille de style
   1. Charte originale du groupe (v2)  2. Ajouts v3  3. Version 4
   ========================================================================== */

/* ---------- 1. Charte originale (v2) ---------- */
:root {
  --cream: #EDE6D8;
  --green: #2C4A3B;
  --stone: #D8CBB0;
  --wine: #7B2333;
  --ink: #0F0F0F;
  --gray: #9C9C94
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 17px/1.7 Lora, Georgia, serif
}

a {
  color: inherit;
  text-decoration: none
}

button,
input,
select,
textarea {
  font: inherit
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--wine);
  outline-offset: 4px
}

h1,
h2,
h3,
.button,
nav,
.eyebrow,
.dish-type,
.price,
.footer-bottom,
.hero-foot,
label,
.small-note,
.demo-note {
  font-family: Montserrat, Arial, sans-serif
}

h1,
h2,
h3 {
  color: var(--green);
  line-height: 1.08;
  letter-spacing: -.045em;
  margin: 0;
  font-weight: 700
}

h1 {
  font-size: clamp(44px, 5.2vw, 80px);
  font-weight: 800
}

h2 {
  font-size: clamp(34px, 3.6vw, 54px)
}

h3 {
  font-size: 25px;
  letter-spacing: -.03em
}

h1 span,
h2 span {
  color: var(--wine)
}

p {
  margin: 0 0 22px
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px 5%;
  border-bottom: 1px solid var(--stone)
}

.logo {
  display: block;
  width: 150px;
  flex-shrink: 0;
  padding: 12px
}

.logo img {
  width: 100%;
  height: auto;
  display: block
}

nav {
  display: flex;
  gap: 30px;
  font-weight: 500;
  font-size: 12px
}

nav a {
  padding: 12px 0;
  border-bottom: 1px solid transparent
}

nav a:hover,
nav a[aria-current=page] {
  border-color: var(--wine);
  color: var(--wine)
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  background: var(--green);
  color: var(--cream);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .025em;
  padding: 18px 25px;
  border: 1px solid var(--green);
  cursor: pointer;
  transition: background .2s
}

.button:hover {
  background: var(--wine);
  border-color: var(--wine)
}

.compact {
  padding: 13px 20px
}

.light {
  background: var(--cream);
  color: var(--green);
  border-color: var(--cream)
}

.light:hover {
  background: var(--stone);
  color: var(--green)
}

.eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .12em;
  line-height: 1.6;
  margin-bottom: 26px;
  color: var(--green)
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 650px
}

.hero-copy {
  padding: 65px 10% 28px;
  display: flex;
  align-items: flex-start;
  flex-direction: column
}

.intro {
  font-size: 18px;
  max-width: 420px;
  margin: 28px 0;
  line-height: 1.8
}

.actions {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap
}

.text-link {
  font-family: Montserrat, sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--wine);
  border-bottom: 1px solid var(--wine);
  padding-bottom: 5px
}

.hero-foot {
  margin-top: auto;
  padding-top: 45px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9px;
  letter-spacing: .09em;
  color: var(--green)
}

.hero-foot a {
  font-size: 28px
}

.hero-image {
  margin: 0;
  position: relative;
  min-height: 100%;
  overflow: hidden
}

.hero-image>img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.72) sepia(.12)
}

figcaption {
  position: absolute;
  bottom: 28px;
  left: 28px;
  right: 28px;
  background: var(--cream);
  color: var(--green);
  padding: 18px 24px;
  font-size: 20px
}

figcaption small {
  display: block;
  font-family: Montserrat, sans-serif;
  font-size: 9px;
  letter-spacing: .035em;
  margin-top: 3px
}

.section {
  padding: 90px 7%
}

.manifesto {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 9%;
  border-bottom: 1px solid var(--stone)
}

.manifesto>.eyebrow {
  grid-column: 1/-1;
  margin-bottom: 12px
}

.manifesto>div {
  padding-top: 8px;
  max-width: 490px
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  align-items: flex-end;
  margin-bottom: 45px
}

.section-heading>p {
  max-width: 340px;
  margin: 0
}

.dishes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--gray);
  border-bottom: 1px solid var(--gray)
}

.dishes article {
  padding: 30px 30px 30px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start
}

.dishes article+article {
  border-left: 1px solid var(--gray);
  padding-left: 30px
}

.dish-type {
  font-size: 10px;
  color: var(--wine);
  letter-spacing: .07em;
  margin-bottom: 32px
}

.dishes h3 {
  margin-bottom: 20px
}

.dishes p {
  font-size: 15px
}

.price {
  font-size: 15px;
  color: var(--green);
  font-weight: 700;
  margin-top: auto
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--stone)
}

.split>img {
  width: 100%;
  height: 580px;
  object-fit: cover;
  filter: saturate(.7) sepia(.12)
}

.split>div {
  padding: 65px 12%;
  align-self: center
}

.split h2 {
  margin-bottom: 25px
}

.event-teaser {
  background: var(--green);
  color: var(--cream);
  text-align: center
}

.event-teaser .eyebrow,
.event-teaser h2,
.event-teaser h2 span {
  color: var(--cream)
}

.event-teaser p:not(.eyebrow) {
  max-width: 600px;
  margin: 28px auto
}

.event-hero {
  min-height: 650px
}

.planning {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10%;
  background: var(--stone)
}

.planning h2 {
  margin-bottom: 25px
}

.details article {
  display: flex;
  gap: 20px;
  border-top: 1px solid var(--gray);
  padding: 22px 0
}

.details article>span {
  color: var(--wine);
  font: 500 12px Montserrat
}

.details h3 {
  font-size: 19px;
  margin-bottom: 12px
}

.details p {
  font-size: 15px;
  margin: 0
}

.booking {
  max-width: 950px;
  margin: auto
}

.booking h1,
.legal h1 {
  font-size: clamp(44px, 5vw, 68px)
}

.demo-note {
  background: var(--stone);
  padding: 16px 20px;
  font-size: 12px;
  line-height: 1.7;
  margin: 25px 0
}

form {
  max-width: 680px;
  margin-top: 35px
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 22px
}

label {
  font-size: 12px;
  font-weight: 700;
  color: var(--green)
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--gray);
  background: transparent;
  color: var(--ink);
  padding: 13px;
  border-radius: 0;
  font-size: 16px
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px
}

.small-note {
  font-size: 11px;
  margin-top: 15px
}

.result {
  border: 1px solid var(--green);
  padding: 22px;
  margin-top: 25px
}

.legal {
  max-width: 1000px;
  margin: auto
}

.legal section {
  margin-top: 55px
}

.legal h2 {
  font-size: 30px;
  margin-bottom: 20px
}

footer {
  background: var(--green);
  color: var(--cream);
  border-top: 1px solid var(--gray);
  padding: 35px 5% 20px
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 35px
}

.footer-top p {
  font-size: 20px;
  margin: 0
}

.footer-top .eyebrow {
  color: var(--cream);
  display: block;
  margin-bottom: 10px
}

.footer-top>div>a {
  font-size: 14px
}

.footer-bottom {
  border-top: 1px solid var(--gray);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 10px
}

.footer-bottom>div {
  display: flex;
  gap: 20px;
  flex-wrap: wrap
}

.footer-bottom a:hover {
  text-decoration: underline
}

.skip {
  position: absolute;
  top: -100px;
  left: 15px;
  background: var(--cream);
  padding: 15px;
  z-index: 10
}

.skip:focus {
  top: 10px
}

[hidden] {
  display: none !important
}

@media(min-width:1500px) {
  body {
    max-width: 1700px;
    margin: auto
  }

  .hero {
    min-height: 790px
  }
}

@media(max-width:1000px) {
  nav {
    gap: 16px
  }

  header {
    gap: 16px;
    padding: 12px 4%
  }

  .hero-copy {
    padding: 45px 8% 25px
  }

  .hero {
    min-height: 620px
  }

  .section {
    padding: 65px 6%
  }

  .actions {
    gap: 18px
  }

  .split>div {
    padding: 40px 9%
  }

  .logo {
    width: 145px
  }

  .planning {
    gap: 6%
  }
}

@media(max-width:720px) {
  header {
    flex-wrap: wrap;
    gap: 0;
    padding: 8px 5%
  }

  .logo {
    width: 144px
  }

  header nav {
    order: 3;
    justify-content: space-between;
    width: 100%;
    gap: 8px;
    padding-top: 5px;
    font-size: 10px
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0
  }

  .hero-copy {
    padding: 38px 7% 30px
  }

  h1 {
    font-size: 49px
  }

  .hero-image {
    min-height: 440px
  }

  .hero-image>img {
    object-position: center 58%
  }

  .hero-foot {
    padding-top: 25px
  }

  .section {
    padding: 55px 7%
  }

  .manifesto,
  .planning {
    grid-template-columns: 1fr;
    gap: 25px
  }

  .manifesto>.eyebrow {
    margin: 0
  }

  .section-heading {
    display: block
  }

  .section-heading>p {
    margin-top: 25px
  }

  .dishes {
    grid-template-columns: 1fr
  }

  .dishes article,
  .dishes article+article {
    padding: 26px 0;
    border-left: 0
  }

  .dishes article+article {
    border-top: 1px solid var(--gray)
  }

  .dish-type {
    margin-bottom: 18px
  }

  .split {
    grid-template-columns: 1fr
  }

  .split>img {
    height: 390px
  }

  .split>div {
    padding: 45px 7%
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px
  }

  .footer-bottom {
    flex-direction: column
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0
  }

  .booking h1 {
    font-size: 46px
  }

  .button {
    max-width: 100%;
    text-align: center
  }

  .footer-top .logo {
    padding-left: 0
  }

  .intro {
    font-size: 17px
  }

  figcaption {
    left: 20px;
    right: 20px;
    bottom: 20px;
    font-size: 18px
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }

  * {
    transition: none !important
  }
}

/* Harmonisation charte v2 : octobre 2026 */
.eyebrow,
.dish-type,
.hero-foot,
label,
figcaption,
figcaption small {
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 500;
  letter-spacing: .08em
}

.eyebrow,
.dish-type,
.hero-foot,
figcaption small,
.small-note,
.footer-bottom {
  font-size: 12px
}

label {
  font-size: 14px
}

.demo-note {
  font-family: Lora, Georgia, serif;
  font-size: 16px
}

nav {
  font-size: 14px
}

.button,
.text-link {
  font-size: 14px
}

figcaption {
  font-size: 16px;
  line-height: 1.6
}

figcaption small {
  margin-top: 8px
}

.dishes p,
.details p {
  font-size: 16px
}

nav a[aria-current=page] {
  color: var(--green);
  border-color: var(--green)
}

.nav-house {
  position: relative;
  align-self: center
}

.nav-house summary {
  cursor: pointer;
  padding: 12px 0;
  color: var(--green)
}

.nav-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 195px;
  padding: 12px 18px;
  background: var(--cream);
  border: 1px solid var(--stone);
  z-index: 20
}

.nav-submenu a {
  display: block
}

.story {
  max-width: 900px;
  margin: auto
}

.story h1 {
  margin-bottom: 32px
}

.story .intro {
  max-width: 650px
}

.story-copy {
  max-width: 650px
}

.story-copy p {
  margin-bottom: 24px
}

@media(max-width:720px) {
  header nav {
    font-size: 13px;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 4px 20px
  }

  .hero-foot {
    gap: 20px
  }

  .hero-foot span {
    max-width: 80%
  }

  .footer-bottom {
    font-size: 12px
  }

  .nav-submenu {
    position: absolute
  }

  .button {
    font-size: 14px
  }
}

header {
  flex-wrap: wrap
}

header nav {
  flex-wrap: wrap;
  gap: 12px 22px;
  align-items: center
}

.collect-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green)
}

.offer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin: 35px 0
}

.offer-card {
  padding: 28px;
  background: var(--stone)
}

.offer-card h2 {
  font-size: 30px;
  margin-bottom: 20px
}

.offer-card ul {
  padding-left: 20px
}

.offer-price {
  font-family: Montserrat, sans-serif;
  color: var(--green);
  font-size: 24px;
  font-weight: 700
}

.offer-card li {
  margin: 10px 0
}

@media(max-width:720px) {
  .offer-grid {
    grid-template-columns: 1fr
  }

  header nav {
    gap: 2px 16px
  }

  .offer-card {
    padding: 22px
  }
}

.full-menu {
  max-width: 1120px;
  margin: auto
}

.menu-jumps {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 30px 0 50px
}

.menu-jumps a {
  color: var(--green);
  border-bottom: 1px solid var(--green);
  padding: 8px 0
}

.menu-category {
  margin: 50px 0;
  scroll-margin-top: 25px
}

.menu-category h2 {
  margin-bottom: 24px
}

.menu-items {
  border-top: 1px solid var(--gray)
}

.menu-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--stone)
}

.menu-item-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px
}

.menu-item h3 {
  font-size: 21px;
  line-height: 1.4;
  letter-spacing: -.02em
}

.menu-item .price {
  white-space: nowrap;
  font-size: 17px;
  flex-shrink: 0
}

.menu-item p {
  max-width: 780px;
  margin: 10px 0 0;
  font-size: 16px
}

.drink-list {
  list-style: none;
  padding: 0
}

.drink-list li {
  padding: 15px 0;
  border-bottom: 1px solid var(--stone)
}

.drink-list li:before {
  content: '— ';
  color: var(--wine)
}

@media(max-width:720px) {
  .menu-item h3 {
    font-size: 18px
  }

  .menu-item-heading {
    gap: 15px
  }

  .menu-jumps {
    gap: 18px
  }

  .menu-item .price {
    font-size: 16px
  }
}

.home-dishes .dish-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1312/1200;
  object-fit: contain;
  margin-bottom: 25px
}

.home-dishes h3 {
  font-size: 23px;
  line-height: 1.25
}

.home-dishes .dish-type {
  margin-bottom: 18px
}

@media(max-width:720px) {
  .home-dishes .dish-photo {
    margin-bottom: 22px
  }
}

/* ---------- 2. Ajouts v3 : commande, engagements, RGPD ---------- */
/* v3 : améliorations (navigation, commande, engagements, RGPD) */
.nav-house summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 8px
}

.nav-house summary::-webkit-details-marker {
  display: none
}

.nav-house summary::after {
  content: '';
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
  transition: transform .2s
}

.nav-house[open] summary::after {
  transform: translateY(1px) rotate(-135deg)
}

.footer-bottom .cookie-manage {
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  cursor: pointer
}

.footer-bottom .cookie-manage:hover {
  text-decoration: underline
}

.footer-social {
  display: flex;
  gap: 18px;
  margin-top: 14px
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 500 12px Montserrat, Arial, sans-serif;
  letter-spacing: .08em
}

.footer-social a:hover {
  text-decoration: underline
}

.engagements {
  border-bottom: 1px solid var(--stone)
}

.engagements .dishes {
  grid-template-columns: repeat(4, 1fr)
}

.engagements .dishes h3 {
  font-size: 21px;
  line-height: 1.25;
  margin-bottom: 14px
}

.engagements .dish-type {
  margin-bottom: 22px
}

@media(max-width:1000px) {
  .engagements .dishes {
    grid-template-columns: 1fr 1fr
  }

  .engagements .dishes article:nth-child(3) {
    border-left: 0;
    padding-left: 0
  }

  .engagements .dishes article:nth-child(n+3) {
    border-top: 1px solid var(--gray)
  }
}

.order-hint {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
  background: var(--stone);
  padding: 20px 24px;
  margin: 0 0 10px
}

.order-hint p {
  margin: 0;
  flex: 1 1 320px;
  font-size: 16px
}

.item-foot {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  flex-wrap: wrap
}

.tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap
}

.tag {
  font: 500 11px/1 Montserrat, Arial, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green);
  border: 1px solid var(--green);
  padding: 6px 9px
}

.add-btn {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 1px solid var(--green);
  color: var(--green);
  font: 700 13px Montserrat, Arial, sans-serif;
  padding: 9px 14px;
  cursor: pointer;
  transition: background .2s, color .2s
}

.add-btn:hover,
.add-btn.in-cart {
  background: var(--green);
  color: var(--cream)
}

.cart-bar {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  width: min(760px, calc(100% - 32px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--green);
  color: var(--cream);
  padding: 12px 12px 12px 24px;
  z-index: 30;
  box-shadow: 0 12px 32px rgba(15, 15, 15, .2);
  font: 600 14px Montserrat, Arial, sans-serif
}

.cart-bar .button {
  padding: 13px 18px
}

body:has(.cart-bar:not([hidden])) footer {
  padding-bottom: 110px
}

.order-wrap {
  max-width: 1120px;
  margin: auto;
  padding-top: 0
}

.order {
  border-top: 1px solid var(--gray);
  padding-top: 55px
}

.order-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 60px;
  align-items: start
}

.order h2 {
  font-size: 36px;
  margin-bottom: 24px
}

.cart-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--stone)
}

.cart-row strong {
  font: 600 16px/1.4 Montserrat, Arial, sans-serif;
  color: var(--green)
}

.cart-row .line {
  font: 700 15px Montserrat, Arial, sans-serif;
  color: var(--green);
  min-width: 52px;
  text-align: right
}

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--gray)
}

.qty button {
  width: 34px;
  height: 34px;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--green);
  font: 700 17px Montserrat, Arial, sans-serif
}

.qty button:hover {
  background: var(--stone)
}

.qty span {
  min-width: 26px;
  text-align: center;
  font: 600 14px Montserrat, Arial, sans-serif
}

.cart-total {
  display: flex;
  justify-content: space-between;
  padding: 20px 0 6px;
  font: 700 19px Montserrat, Arial, sans-serif;
  color: var(--green)
}

.cart-empty {
  padding: 18px 0 10px
}

.quick-add {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px
}

.quick-add button {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  background: transparent;
  border: 1px solid var(--gray);
  padding: 13px 16px;
  cursor: pointer;
  font: 500 14px Montserrat, Arial, sans-serif;
  color: var(--green);
  text-align: left
}

.quick-add button:hover {
  border-color: var(--green);
  background: var(--stone)
}

fieldset.mode {
  border: 0;
  padding: 0;
  margin: 0 0 22px;
  min-width: 0
}

.mode legend {
  font: 700 14px Montserrat, Arial, sans-serif;
  color: var(--green);
  margin-bottom: 10px;
  padding: 0
}

.mode-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px
}

.mode-option {
  position: relative;
  display: block;
  border: 1px solid var(--gray);
  padding: 16px 18px;
  cursor: pointer
}

.mode-option input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px
}

.mode-option:has(input:checked) {
  border-color: var(--green);
  background: var(--stone);
  box-shadow: inset 0 0 0 1px var(--green)
}

.mode-option:has(input:focus-visible) {
  outline: 3px solid var(--wine);
  outline-offset: 3px
}

.mode-option span {
  display: block;
  margin-bottom: 4px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0
}

.mode-option small {
  display: block;
  letter-spacing: 0;
  font: 400 14px/1.5 Lora, Georgia, serif;
  color: var(--ink)
}

.check {
  letter-spacing: 0;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font: 400 15px/1.6 Lora, Georgia, serif;
  color: var(--ink);
  margin-bottom: 14px;
  cursor: pointer
}

.check input {
  width: 18px;
  height: 18px;
  margin: 4px 0 0;
  padding: 0;
  flex-shrink: 0;
  accent-color: var(--green)
}

.check a {
  color: var(--wine);
  border-bottom: 1px solid var(--wine)
}

.field label span {
  font-weight: 400
}

form input:not([type=checkbox]):not([type=radio]),
form select {
  height: 54px
}

.form-row.three {
  grid-template-columns: 1.2fr 1fr .8fr
}

.secure-pay {
  display: flex;
  gap: 16px;
  border: 1px solid var(--green);
  padding: 20px;
  margin: 24px 0
}

.secure-pay svg {
  flex-shrink: 0;
  color: var(--green);
  margin-top: 2px
}

.secure-pay strong {
  display: block;
  font: 700 15px Montserrat, Arial, sans-serif;
  color: var(--green);
  margin-bottom: 6px
}

.secure-pay p {
  font-size: 15px;
  margin: 0 0 8px
}

.pay-methods {
  font: 500 12px Montserrat, Arial, sans-serif;
  letter-spacing: .08em;
  color: var(--green)
}

.button[disabled] {
  opacity: .45;
  cursor: not-allowed
}

.button[disabled]:hover {
  background: var(--green);
  border-color: var(--green)
}

.story-copy h2 {
  margin: 56px 0 22px
}

.priv-note {
  font-size: 15px;
  color: var(--green)
}

@media(max-width:900px) {
  .order-grid {
    grid-template-columns: 1fr;
    gap: 40px
  }
}

@media(max-width:720px) {

  .mode-options,
  .form-row.three {
    grid-template-columns: 1fr;
    gap: 0
  }

  .mode-options {
    gap: 12px
  }

  .cart-bar {
    bottom: 12px;
    padding: 10px 10px 10px 16px;
    font-size: 13px
  }

  .cart-bar .button {
    padding: 11px 13px;
    font-size: 13px
  }

  .add-btn {
    margin-left: 0
  }

  .order h2 {
    font-size: 30px
  }

  .story-copy h2 {
    margin-top: 40px
  }
}

/* Bandeau cookies */
.cc {
  position: fixed;
  left: 24px;
  bottom: 24px;
  width: min(560px, calc(100% - 32px));
  background: #2C4A3B;
  color: #EDE6D8;
  padding: 24px 24px 20px;
  z-index: 50;
  border: 1px solid rgba(237, 230, 216, .45);
  box-shadow: 0 16px 40px rgba(15, 15, 15, .28);
  font: 15px/1.6 Lora, Georgia, serif
}

.cc[hidden] {
  display: none
}

.cc-title {
  font: 700 20px/1.2 Montserrat, Arial, sans-serif;
  letter-spacing: -.02em;
  margin: 0 0 10px
}

.cc p {
  margin: 0 0 12px
}

.cc a {
  color: inherit;
  border-bottom: 1px solid currentColor
}

.cc-prefs {
  border-top: 1px solid rgba(237, 230, 216, .3);
  margin: 6px 0 12px;
  padding-top: 6px
}

.cc-prefs[hidden] {
  display: none
}

.cc-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 9px 0;
  cursor: pointer
}

.cc-row input {
  width: 18px;
  height: 18px;
  margin: 4px 0 0;
  accent-color: #D8CBB0;
  flex-shrink: 0
}

.cc-row strong {
  display: block;
  font: 700 14px Montserrat, Arial, sans-serif
}

.cc-row span {
  font-size: 14px
}

.cc-demo {
  font: 500 11px Montserrat, Arial, sans-serif;
  letter-spacing: .06em;
  opacity: .8
}

.cc-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 6px
}

.cc-actions button {
  background: transparent;
  color: #EDE6D8;
  border: 1px solid #EDE6D8;
  padding: 12px 10px;
  font: 700 13px Montserrat, Arial, sans-serif;
  cursor: pointer
}

.cc-actions button:hover {
  background: #EDE6D8;
  color: #2C4A3B
}

.cc button:focus-visible,
.cc input:focus-visible,
.cc a:focus-visible {
  outline: 3px solid #D8CBB0;
  outline-offset: 3px
}

@media(max-width:560px) {
  .cc {
    left: 12px;
    bottom: 12px;
    padding: 20px 18px 16px
  }

  .cc-actions {
    grid-template-columns: 1fr
  }
}

/* ==========================================================================
   3. Version 4 : mise en page, profondeur et animations
   Motif : l'arche, comme la verrière de la cour et l'arche du logo.
   ========================================================================== */

:root {
  --gold: #D3AF3A;
  --green-deep: #233B2F;
  --header-h: 84px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow-soft: 0 1px 0 rgba(44, 74, 59, .06), 0 24px 48px -28px rgba(44, 74, 59, .45);
}

/* Texture papier : enlève l'aspect « à plat » du crème */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: .22;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .17 0 0 0 0 .2 0 0 0 0 .16 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--green); color: var(--cream); }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  flex-wrap: nowrap;
  padding: 12px 5%;
  background: rgba(237, 230, 216, .9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: transform .5s var(--ease), border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-color: var(--stone); box-shadow: 0 14px 30px -26px rgba(44, 74, 59, .6); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header .logo { width: 128px; padding: 4px 0; transition: width .35s var(--ease); }
.site-header.is-scrolled .logo { width: 108px; }

.main-nav { flex-wrap: nowrap; gap: 30px; }
.main-nav > a,
.main-nav summary { position: relative; border-bottom: 0; }
.main-nav > a::after,
.main-nav summary::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease);
}
.main-nav summary::before { right: 14px; }
.main-nav > a:hover::after,
.main-nav summary:hover::before,
.main-nav > a[aria-current=page]::after { transform: scaleX(1); transform-origin: left; }
.main-nav > a,
.main-nav a:hover { color: var(--green); }

.nav-submenu {
  top: calc(100% + 10px);
  left: -18px;
  min-width: 230px;
  padding: 10px 0;
  border: 1px solid var(--stone);
  box-shadow: var(--shadow-soft);
}
.nav-submenu a { padding: 10px 20px; border: 0; transition: background .2s, padding .3s var(--ease); }
.nav-submenu a:hover,
.nav-submenu a[aria-current=page] { background: var(--stone); padding-left: 26px; }
.nav-house[open] .nav-submenu { animation: drop .35s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }

.header-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.cart-link {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--green);
  border: 1px solid transparent;
  transition: border-color .25s;
}
.cart-link:hover { border-color: var(--green); }
.cart-count {
  position: absolute;
  top: 3px;
  right: 1px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 10px;
  background: var(--wine);
  color: var(--cream);
  font: 700 11px/20px Montserrat, Arial, sans-serif;
  text-align: center;
}
.cart-count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.45); } }

.burger {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--green);
  background: transparent;
  cursor: pointer;
  place-items: center;
}
.burger span { display: block; width: 20px; height: 1.5px; background: var(--green); margin: 3px auto; transition: transform .3s var(--ease); }
.burger:hover span:first-child { transform: translateX(3px); }
.burger:hover span:last-child { transform: translateX(-3px); }

/* Menu mobile plein écran */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  padding: 24px 8% 40px;
  overflow-y: auto;
  background: var(--green);
  color: var(--cream);
  visibility: hidden;
  clip-path: circle(0 at calc(100% - 48px) 44px);
  transition: clip-path .6s var(--ease), visibility 0s .6s;
}
.mobile-menu.is-open { visibility: visible; clip-path: circle(150% at calc(100% - 48px) 44px); transition: clip-path .75s var(--ease); }
.mobile-menu-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.mobile-menu-top .logo { width: 116px; padding: 0; }
.menu-close {
  width: 46px;
  height: 46px;
  border: 1px solid var(--cream);
  background: transparent;
  color: var(--cream);
  font-size: 22px;
  cursor: pointer;
}
.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; font-size: inherit; }
.mobile-menu nav > a,
.mobile-menu .mm-group > span {
  font: 700 clamp(30px, 8vw, 44px)/1.15 Montserrat, Arial, sans-serif;
  letter-spacing: -.035em;
  padding: 6px 0;
  border: 0;
}
.mobile-menu .mm-group { display: flex; flex-direction: column; padding: 6px 0; }
.mobile-menu .mm-group a { font: 500 19px/1.3 Lora, Georgia, serif; padding: 7px 0 7px 18px; border-left: 1px solid rgba(237, 230, 216, .4); }
.mobile-menu a[aria-current=page] { color: var(--stone); }
.mobile-menu nav > *,
.mobile-menu .mm-cta { opacity: 0; transform: translateY(18px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.mobile-menu.is-open nav > *,
.mobile-menu.is-open .mm-cta { opacity: 1; transform: none; transition-delay: calc(.18s + var(--i, 0) * 60ms); }
.mm-cta { display: grid; gap: 12px; margin-top: auto; padding-top: 40px; }
.mm-cta .button { width: 100%; }

/* Barre d'actions mobile */
.mobile-cta { display: none; }

/* ---------- Boutons ---------- */
.button { position: relative; isolation: isolate; overflow: hidden; transition: color .35s, border-color .35s; }
.button::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--wine);
  transform: translateY(101%);
  transition: transform .5s var(--ease);
}
.button:hover { background: var(--green); border-color: var(--wine); }
.button:hover::before { transform: none; }
.button.light::before { background: var(--stone); }
.button.light:hover { background: var(--cream); color: var(--green); border-color: var(--stone); }
.button[disabled]::before { display: none; }
.arr { display: inline-block; transition: transform .4s var(--ease); }
a:hover .arr,
button:hover .arr { transform: translate(3px, -3px); }
.text-link { background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat; transition: background-size .45s var(--ease); }
.text-link:hover { background-size: 100% 1px; }

/* ---------- L'arche ---------- */
.arch { position: relative; overflow: hidden; border-radius: 50% 50% 0 0 / 26% 26% 0 0; background: var(--stone); }
.arch > img { display: block; width: 100%; height: 100%; object-fit: cover; }

.hero { min-height: min(760px, calc(100svh - var(--header-h))); }
.hero-image { padding: 26px 5% 0 0; overflow: visible; }
.hero-image .arch { position: absolute; inset: 26px 5% 0 0; border-radius: 50% 50% 0 0 / 30% 30% 0 0; box-shadow: var(--shadow-soft); }
.hero-image .arch > img { position: absolute; inset: 0; filter: saturate(.78) sepia(.1); }
.hero figcaption {
  left: -36px;
  right: auto;
  bottom: 44px;
  max-width: 330px;
  padding: 20px 26px;
  box-shadow: var(--shadow-soft);
  border-left: 3px solid var(--gold);
}

.home-dishes .arch { aspect-ratio: 1312 / 1200; margin-bottom: 26px; border-radius: 50% 50% 0 0 / 24% 24% 0 0; }
.home-dishes .arch .dish-photo { margin: 0; aspect-ratio: auto; object-fit: cover; transition: transform 1.4s var(--ease); }
.home-dishes article:hover .dish-photo { transform: scale(1.05); }

.carte-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 46px 0 38px; }
.carte-photos .arch { aspect-ratio: 4 / 5; border-radius: 50% 50% 0 0 / 22% 22% 0 0; }

.story-figure { margin: 46px 0 56px; }
.story-figure .arch { aspect-ratio: 16 / 9; border-radius: 50% 50% 0 0 / 34% 34% 0 0; }
.story-figure figcaption { letter-spacing: 0; position: static; background: none; padding: 14px 0 0; font: italic 16px/1.6 Lora, Georgia, serif; color: var(--green); }

/* Images pleine largeur : zoom lent au survol */
.split { overflow: hidden; }
.split > img { transition: transform 1.6s var(--ease); }
.split:hover > img { transform: scale(1.03); }

/* ---------- La carte ---------- */
.menu-jumps {
  position: sticky;
  top: 0;
  z-index: 20;
  gap: 8px;
  margin: 0 0 40px;
  padding: 12px 0;
  background: rgba(237, 230, 216, .94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--stone);
  transition: top .5s var(--ease);
}
.header-visible .menu-jumps { top: var(--header-h); }
.menu-jumps a { padding: 9px 16px; border: 1px solid transparent; font: 600 14px Montserrat, Arial, sans-serif; transition: background .25s, color .25s, border-color .25s; }
.menu-jumps a:hover { border-color: var(--green); }
.menu-jumps a.is-active { background: var(--green); color: var(--cream); border-color: var(--green); }
.menu-category { scroll-margin-top: 150px; }

.menu-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 48px;
  align-items: start;
  padding: 26px 0;
  transition: background .3s;
}
.menu-item h3 { font-size: 21px; }
.mi-text p { margin: 8px 0 0; }
.mi-text .tags { margin-top: 14px; }
.mi-side { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; padding-top: 2px; }
.mi-side .price { font-size: 18px; }
.add-btn { margin: 0; white-space: nowrap; }
.add-btn .plus { display: inline-block; transition: transform .35s var(--ease); }
.add-btn:hover .plus { transform: rotate(90deg); }
.add-btn.just-added { animation: added .45s var(--ease); }
@keyframes added { 40% { transform: scale(.94); } }

.cart-bar { animation: slideUp .5s var(--ease); }
@keyframes slideUp { from { transform: translate(-50%, 140%); } }

/* Notification « ajouté » */
.toast {
  position: fixed;
  top: calc(var(--header-h) + 16px);
  right: 24px;
  z-index: 55;
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: min(420px, calc(100% - 32px));
  padding: 16px 18px 16px 20px;
  background: var(--cream);
  border: 1px solid var(--green);
  box-shadow: var(--shadow-soft);
  font: 500 14px/1.4 Montserrat, Arial, sans-serif;
  color: var(--green);
  transform: translateX(calc(100% + 40px));
  transition: transform .55s var(--ease);
}
.toast.is-visible { transform: none; }
.toast a { flex-shrink: 0; font-weight: 700; color: var(--wine); border-bottom: 1px solid var(--wine); }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--green-deep); border-top: 0; padding: 0 5% 22px; }
.footer-cta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  padding: 90px 0 64px;
  border-bottom: 1px solid rgba(237, 230, 216, .22);
}
.footer-cta h2 { color: var(--cream); font-size: clamp(38px, 4.6vw, 68px); }
.footer-cta h2 span { color: var(--gold); }
.footer-cta .actions { flex-shrink: 0; }
.footer-cta .text-link { color: var(--cream); border-color: var(--cream); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.4fr; gap: 48px; padding: 56px 0 50px; }
.footer-grid .logo { width: 140px; padding: 0; margin-bottom: 22px; }
.footer-grid h3 { color: var(--stone); font: 600 13px Montserrat, Arial, sans-serif; letter-spacing: .08em; margin-bottom: 18px; }
.footer-grid p { font-size: 16px; margin: 0 0 10px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin: 0 0 10px; font-size: 16px; }
.footer-grid li a { background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat; transition: background-size .4s var(--ease); }
.footer-grid li a:hover { background-size: 100% 1px; }
.footer-social { margin-top: 18px; }
.newsletter form { display: flex; max-width: none; margin: 16px 0 10px; }
.newsletter input { height: 50px; border-color: rgba(237, 230, 216, .55); color: var(--cream); font-size: 15px; }
.newsletter input::placeholder { color: rgba(237, 230, 216, .65); }
.newsletter .button { flex-shrink: 0; padding: 0 18px; height: 50px; }
.newsletter .small-note { color: rgba(237, 230, 216, .75); }
.newsletter-msg { font-size: 14px; margin-top: 10px; }
.site-footer .footer-bottom { border-color: rgba(237, 230, 216, .22); }

/* ---------- Bandeau cookies ---------- */
.cc { position: fixed; z-index: 70; left: auto; right: 24px; animation: slideIn .7s var(--ease) .6s both; }
@keyframes slideIn { from { opacity: 0; transform: translateY(30px); } }

/* ---------- Apparitions au défilement (discrètes) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .js .reveal-stagger > * { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform 1s var(--ease); }
  .js .reveal-stagger.is-in > * { opacity: 1; transform: none; }
  .js .reveal-stagger.is-in > :nth-child(2) { transition-delay: .1s; }
  .js .reveal-stagger.is-in > :nth-child(3) { transition-delay: .2s; }
  .js .reveal-stagger.is-in > :nth-child(4) { transition-delay: .3s; }

  /* Le moment d'ouverture : l'arche s'ouvre sur la cour */
  .js .hero-image .arch { animation: archOpen 1.7s var(--ease) .15s both; }
  .js .hero-image .arch > img { animation: archZoom 2.6s var(--ease) both; }
  .js .hero-copy > * { animation: rise 1s var(--ease) both; }
  .js .hero-copy > :nth-child(1) { animation-delay: .3s; }
  .js .hero-copy > :nth-child(2) { animation-delay: .42s; }
  .js .hero-copy > :nth-child(3) { animation-delay: .58s; }
  .js .hero-copy > :nth-child(4) { animation-delay: .7s; }
  .js .hero-copy > :nth-child(5) { animation-delay: .82s; }
  .js .hero figcaption { animation: rise 1s var(--ease) 1.25s both; }
  .js .story > .eyebrow, .js .story > h1, .js .story > .intro,
  .js .booking > .eyebrow, .js .booking > h1, .js .booking > .intro,
  .js .full-menu > .eyebrow, .js .full-menu > h1, .js .full-menu > .intro,
  .js .legal > .eyebrow, .js .legal > h1 { animation: rise 1s var(--ease) both; }
  .js .story > h1, .js .booking > h1, .js .full-menu > h1, .js .legal > h1 { animation-delay: .12s; }
  .js .story > .intro, .js .booking > .intro, .js .full-menu > .intro { animation-delay: .24s; }
}
@keyframes archOpen { from { clip-path: inset(34% 20% 0 20% round 999px 999px 0 0); } to { clip-path: inset(0 0 0 0 round 0); } }
@keyframes archZoom { from { transform: scale(1.2); } to { transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

@view-transition { navigation: auto; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .main-nav { gap: 20px; }
  .header-actions .button { padding: 13px 16px; }
}

@media (max-width: 960px) {
  .main-nav { display: none; }
  .burger { display: inline-grid; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-cta { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 720px) {
  :root { --header-h: 70px; }
  .cc { right: 12px; left: 12px; width: auto; }
  .site-header { padding: 10px 5%; }
  .site-header .logo, .site-header.is-scrolled .logo { width: 100px; }
  .header-actions { gap: 8px; }
  .header-actions .button { display: none; }

  .hero { min-height: 0; }
  .hero-image { padding: 0 5%; min-height: 470px; }
  .hero-image .arch { inset: 0 5%; }
  .hero figcaption { left: 9%; right: 9%; bottom: 22px; max-width: none; }

  .carte-photos { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin: 32px -7% 30px; padding: 0 7%; scrollbar-width: none; }
  .carte-photos .arch { flex: 0 0 62%; scroll-snap-align: start; }
  .menu-jumps { margin: 0 -7% 30px; padding: 10px 7%; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .menu-jumps a { flex-shrink: 0; }
  .menu-item { gap: 8px 20px; }
  .mi-side .add-btn .add-label { display: none; }
  .mi-side .add-btn.in-cart .add-label { display: inline; }
  .add-btn { padding: 9px 12px; }

  .mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 35;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(237, 230, 216, .96);
    border-top: 1px solid var(--stone);
    transform: translateY(110%);
    transition: transform .45s var(--ease);
  }
  .mobile-cta.is-visible { transform: none; }
  .mobile-cta .button { padding: 15px 10px; }
  body.has-mobile-cta .site-footer { padding-bottom: 96px; }

  .toast { top: auto; bottom: 90px; right: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-cta { padding: 64px 0 46px; }
  .newsletter form { flex-direction: column; gap: 10px; }
  .newsletter .button { width: 100%; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* La lumière de la verrière : calque WebGL posé sur la photo de la cour */
.verriere-light {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mix-blend-mode: overlay;
  opacity: 0;
  transition: opacity 2.6s var(--ease);
}
.verriere-light.is-on { opacity: 1; }


/* ==========================================================================
   4. Version 5 : l'olivier de La Cour (page d'accueil)
   Le contenu est posé sur des « feuilles de papier » translucides ; derrière,
   la scène WebGL (assets/js/olivier.js) descend le long de l'arbre.
   ========================================================================== */

#olivier {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
}
.tree-main,
.tree-page .site-footer,
.tree-page .mobile-cta { position: relative; z-index: 1; }
.tree-page .mobile-cta { position: fixed; }

/* L'en-tête : le texte à gauche, la cime de l'olivier à droite */
.tree-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: calc(100svh - var(--header-h)); }
.has-olivier .tree-hero .hero-copy { background: linear-gradient(90deg, rgba(237, 230, 216, .92) 55%, rgba(237, 230, 216, 0)); }
.tree-hero-side { display: flex; align-items: flex-end; justify-content: flex-end; padding: 0 5% 52px; }
.tree-cue {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 14px 20px;
  background: rgba(237, 230, 216, .86);
  border-left: 3px solid var(--gold);
  box-shadow: var(--shadow-soft);
  font: italic 17px/1.5 Lora, Georgia, serif;
  color: var(--green);
}
.tree-cue span { display: inline-block; font-style: normal; animation: bob 2.4s var(--ease) infinite; }
@keyframes bob { 50% { transform: translateY(6px); } }

/* Rangées : une photo dans son arche et une carte, de part et d'autre du tronc */
.tree-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 14%;
  padding: 16vh 7%;
}
.tree-photo { position: relative; width: 100%; max-width: 440px; margin: 0; }
.tree-photo .arch { aspect-ratio: 4 / 5; box-shadow: var(--shadow-soft); }
.tree-photo figcaption {
  left: -28px;
  right: auto;
  bottom: 36px;
  max-width: 300px;
  padding: 18px 22px;
  border-left: 3px solid var(--gold);
  box-shadow: var(--shadow-soft);
}
.tree-row-rev .tree-photo { order: 2; justify-self: end; }
.tree-row-rev .tree-photo figcaption { left: auto; right: -28px; }

.tree-card {
  justify-self: end;
  width: 100%;
  max-width: 560px;
  padding: 54px 56px;
  background: rgba(237, 230, 216, .74);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
  backdrop-filter: blur(10px) saturate(1.1);
  box-shadow: var(--shadow-soft);
}
.tree-row-rev .tree-card { justify-self: start; }
.tree-card h2 { margin-bottom: 26px; }
.tree-card p:last-of-type { margin-bottom: 30px; }
.tree-card.green { background: rgba(44, 74, 59, .93); color: var(--cream); }
.tree-card.green .eyebrow,
.tree-card.green h2 { color: var(--cream); }
.tree-card.green h2 span { color: var(--gold); }

/* Bandes pleine largeur : le tronc passe derrière, flouté */
.tree-band {
  margin: 8vh 0;
  background: rgba(237, 230, 216, .82);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
  backdrop-filter: blur(12px) saturate(1.1);
  border-top: 1px solid rgba(216, 203, 176, .9);
  border-bottom: 1px solid rgba(216, 203, 176, .9);
}
.tree-band .dishes { border-color: rgba(156, 156, 148, .6); }
.tree-roots { margin-bottom: 0; }
.tree-ground { height: 46vh; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 40px; }
.tree-ground p {
  margin: 0;
  padding: 10px 18px;
  background: rgba(237, 230, 216, .86);
  font: italic 16px Lora, Georgia, serif;
  color: var(--green);
}

/* Sans WebGL : la page reste lisible, fonds pleins */
.no-webgl .tree-card,
.no-webgl .tree-band { background: var(--cream); }
.no-webgl .tree-ground { display: none; }

@media (max-width: 900px) {
  .tree-hero { grid-template-columns: 1fr; }
  .has-olivier .tree-hero .hero-copy { background: linear-gradient(180deg, rgba(237, 230, 216, .9) 70%, rgba(237, 230, 216, 0)); }
  .tree-hero-side { min-height: 46vh; justify-content: flex-start; padding: 0 7% 36px; }
  .tree-row { grid-template-columns: 1fr; gap: 44px; padding: 12vh 6%; }
  .tree-row-rev .tree-photo { order: 0; justify-self: start; }
  .tree-card,
  .tree-row-rev .tree-card { justify-self: stretch; max-width: none; padding: 38px 28px; }
  .tree-photo { max-width: 360px; }
  .tree-photo figcaption { left: 16px; right: 16px; max-width: none; }
  .tree-row-rev .tree-photo figcaption { left: 16px; right: 16px; }
  .tree-spacer { display: none; }
}

@media (max-width: 720px) {
  .engagements .dishes { grid-template-columns: 1fr; }
  .engagements .dishes article:nth-child(n) { border-left: 0; padding-left: 0; }
  .engagements .dishes article + article { border-top: 1px solid var(--gray); }
}

/* Cartes suspendues aux branches : deux cordes de jute, longueur mise à jour par olivier.js */
.is-hung { position: relative; overflow: visible; }
.cord {
  position: absolute;
  bottom: 100%;
  left: 0;
  width: 2px;
  height: 0;
  margin-left: -1px;
  opacity: 0;
  pointer-events: none;
  background: repeating-linear-gradient(180deg, #8a7650 0 4px, #6f5e3e 4px 7px);
  box-shadow: 1px 0 0 rgba(255, 245, 220, .35);
  transition: opacity .6s;
}
.cord::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -3px;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  background: #6f5e3e;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .2);
}
.tree-band.is-hung .cord { bottom: calc(100% - 1px); }

/* Mobile : de la place pour la branche entre la photo et la carte suspendue */
@media (max-width: 900px) {
  .tree-row { gap: 150px; }
  .tree-row-rev { gap: 0; }
  .tree-row-rev .tree-photo { order: 2; margin-top: 60px; }
  .tree-row-rev .tree-card { margin-top: 110px; }
  .tree-band { margin-top: 18vh; }
}

/* ==========================================================================
   5. Accueil sans l'olivier 3D (thème WordPress v5.1)
   Les rangées gardent leur mise en page, sur fonds pleins.
   ========================================================================== */
.tree-card,
.tree-band { background: var(--cream); -webkit-backdrop-filter: none; backdrop-filter: none; }
.tree-card.green { background: var(--green); }
.tree-row { padding: 11vh 7%; }
.tree-band { margin: 0; }
.tree-row > .tree-card:only-child { grid-column: 1 / -1; justify-self: center; max-width: 760px; text-align: center; }
.tree-row > .tree-card:only-child .button { margin-inline: auto; }
@media (max-width: 900px) { .tree-row { padding: 8vh 6%; } }

/* ==========================================================================
   6. Boutons sans flèche (thème WordPress v5.4)
   Forme de pilule qui adoucit les angles (écho discret à l'arche),
   libellé en capitales espacées, léger soulèvement au survol.
   ========================================================================== */
.button {
  gap: 0;
  padding: 17px 34px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: color .35s, border-color .35s, transform .35s var(--ease), box-shadow .35s var(--ease);
}
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -14px rgba(44, 74, 59, .6); }
.button:active { transform: none; box-shadow: none; }
.button[disabled]:hover { transform: none; box-shadow: none; }
.compact { padding: 13px 26px; }
.arr { display: none; }

/* ==========================================================================
   7. Légendes des photos en pilule (thème WordPress v5.5)
   Même arrondi que les boutons ; le filet doré passe en contour fin.
   ========================================================================== */
figure:not(.story-figure) figcaption {
  border: 1px solid color-mix(in srgb, var(--gold) 55%, transparent);
  border-radius: 999px;
  padding: 14px 30px;
}

/* ==========================================================================
   8. Réseaux sociaux du pied de page : icônes seules (thème WordPress v5.6)
   ========================================================================== */
.footer-social { gap: 10px; margin-top: 18px; margin-left: -10px; }
.footer-social a { width: 48px; height: 48px; justify-content: center; gap: 0; transition: color .3s, transform .35s var(--ease); }
.footer-social a svg { width: 28px; height: 28px; }
.footer-social a:hover { text-decoration: none; color: var(--gold); transform: translateY(-2px); }

/* ==========================================================================
   9. Lettre de saison : champ et bouton harmonisés (thème WordPress v5.7)
   Deux pilules de même hauteur et de même largeur, l'une sous l'autre.
   ========================================================================== */
.newsletter form { flex-direction: column; align-items: stretch; gap: 10px; }
.newsletter form input[type=email],
.newsletter .button { box-sizing: border-box; width: 100%; height: 50px; margin: 0; border-radius: 999px; }
.newsletter input { padding: 0 24px; background: transparent; border: 1px solid rgba(237, 230, 216, .55); }
.newsletter input:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 30%, transparent); }
.newsletter .button { padding: 0 24px; }

/* ==========================================================================
   10. Accueil : les trois photos d'assiettes à la même taille (v5.10)
   La 1re colonne n'a pas de filet ni de marge à gauche : sa photo était
   plus large. On l'aligne sur les deux autres (même ratio 1312 × 1200).
   ========================================================================== */
@media (min-width: 721px) {
  .home-dishes article:first-child .arch { width: calc(100% - 31px); }
}


/* ---------- Adresse et carte (pied de page) ---------- */
.footer-address {
  font-style: normal
}
.footer-address a {
  text-decoration: underline;
  text-underline-offset: 3px
}
.footer-map {
  position: relative;
  height: 280px;
  margin: 8px 0 32px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(237, 230, 216, .25);
  background: rgba(237, 230, 216, .06)
}
.footer-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(.75) sepia(.12)
}
.footer-map.is-loaded .footer-map-consent {
  display: none
}
.footer-map-consent {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px;
  text-align: center
}
.footer-map-consent strong {
  display: block;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 6px
}
.footer-map-consent .actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 6px
}
@media (max-width: 700px) {
  .footer-map {
    height: 240px;
    border-radius: 18px
  }
}


/* Navigation : Click & collect + Livraison */
.main-nav > a,
.main-nav summary { white-space: nowrap; }
@media (max-width: 1240px) { .main-nav { gap: 20px; } }


/* ==========================================================================
   11. CSS additionnel du groupe (ajouté dans WordPress > Personnaliser)
   ========================================================================== */
/* Filtre photo : rendu légèrement terne, couleurs adoucies (logos exclus) */
img:not(.avatar):not([src*="logo"]):not([src$=".svg"]) {
  filter: saturate(0.7) contrast(0.82) brightness(1.1);
}

/* Bandeau vert du pied de page : titre plus compact pour laisser la place aux deux boutons */
.footer-cta h2 { font-size: clamp(34px, 3.6vw, 56px); }
.footer-cta .actions { flex-wrap: wrap; }

/* ==========================================================================
   12. SEO : l'expression clé de chaque page dans le H1
   La petite ligne au-dessus du titre fait partie du H1 (lue par Google),
   avec exactement l'apparence de l'ancien « eyebrow ».
   ========================================================================== */
h1 .h1-kicker {
  display: block;
  margin-bottom: 26px;
  color: var(--green);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  line-height: 1.6;
  text-transform: uppercase
}
