/* ==========================================================================
   L'atelier cuisine ton caz — feuille de style du site public
   Maquette de référence : 1a « Organique » (1280 px), adaptée au mobile.
   ========================================================================== */

:root {
  --green: #0B5E3C;
  --green-dark: #08432B;
  --green-soft: #4F7A60;
  --text: #2F4A3A;
  --bullet: #6CC36A;
  --cream: #FBF8EF;
  --card: #F3EEE0;
  --blob: #EDE5CF;
  --line: #E4DCC6;
  --field: #FFFDF8;
  --field-border: #DCD3BA;
  --danger: #B42318;

  --serif: 'Young Serif', Georgia, serif;
  --alegreya: 'Alegreya', Georgia, serif;
  --sans: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --gutter: clamp(20px, 4.4vw, 56px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow-photo: 0 20px 50px rgba(20, 40, 25, .22);
  --shadow-card: 0 30px 80px rgba(20, 40, 25, .2);
  --shadow-hero: 0 30px 60px rgba(11, 94, 60, .18);
  --shadow-hover: 0 24px 50px rgba(11, 94, 60, .16);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--green);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img { max-width: 100%; display: block; }

a { color: var(--green); text-decoration: none; transition: color .2s; }
a:hover { color: var(--green-dark); }

p { margin: 0; }

h1, h2, h3 { margin: 0; font-weight: 400; }

:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }

.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;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--green); color: var(--cream); padding: 10px 16px; border-radius: 999px;
}
.skip-link:focus { top: 12px; color: var(--cream); }

/* ---------- Boutons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--green); color: var(--cream);
  padding: 12px 22px; border-radius: 999px; border: 1.5px solid var(--green);
  font-family: var(--sans); font-weight: 600; font-size: 15px; line-height: 1.2;
  cursor: pointer; text-align: center;
  transition: background .25s, color .25s, border-color .25s;
}
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); color: var(--cream); }
.btn-lg { padding: 14px 24px; }
.btn-block { display: flex; width: 100%; }
.btn-outline { background: transparent; color: var(--green); }
.btn-outline:hover { background: var(--green); border-color: var(--green); color: var(--cream); }

.icon { width: 20px; height: 20px; flex: none; }

/* ---------- Sur-titres & titres communs ---------- */

.kicker {
  font-size: 14px; letter-spacing: .2em; text-transform: uppercase;
  font-weight: 600; color: var(--green-soft);
}

.section-title {
  font-family: var(--serif); font-size: clamp(32px, 4vw, 48px); line-height: 1.1;
  text-wrap: balance;
}

.card-number { font-family: var(--alegreya); font-style: italic; font-size: 20px; color: var(--green-soft); }
.card-summary { font-size: 16px; line-height: 1.55; color: var(--text); }
.card-link { margin-top: 8px; font-weight: 600; font-size: 15px; }

/* ---------- Bandeau événement & aperçu ---------- */

.event-bar {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 12px;
  background: var(--green); color: var(--cream);
  padding: 10px var(--gutter); font-size: 15px; text-align: center; line-height: 1.35;
}
.event-bar:hover { color: var(--cream); background: var(--green-dark); }
.event-bar-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--bullet); flex: none; }
.event-bar-more { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
@media (max-width: 600px) {
  .event-bar { display: block; font-size: 14px; padding: 9px 16px; }
  .event-bar-dot { display: inline-block; margin-right: 8px; vertical-align: 1px; }
  .event-bar-more { margin-left: 6px; }
}

.preview-bar {
  position: sticky; top: 0; z-index: 60;
  background: #FFF1C2; color: #5A4500; text-align: center;
  padding: 10px var(--gutter); font-size: 14px;
}
.preview-bar a { color: #5A4500; font-weight: 600; text-decoration: underline; }

/* ---------- En-tête ---------- */

.site-header {
  position: relative; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 28px var(--gutter);
}

.logo { display: flex; flex-direction: column; gap: 4px; flex: none; }
.logo-name { font-family: var(--alegreya); font-size: 28px; line-height: 1; }
.logo-by { font-family: var(--alegreya); font-style: italic; font-size: 16px; line-height: 1.1; color: var(--green-soft); }

.main-nav ul {
  display: flex; gap: 34px; list-style: none; margin: 0; padding: 0;
  font-size: 16px; font-weight: 500;
}
.main-nav li a {
  display: inline-flex; align-items: center; gap: 8px;
  padding-bottom: 6px; border-bottom: 2px solid transparent; white-space: nowrap;
}
.main-nav li a[aria-current="page"] { border-bottom-color: var(--green); }
.nav-event-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--bullet); flex: none; }
.nav-mobile-extra { display: none; }

.header-cta { flex: none; }

.burger {
  display: none; position: relative; z-index: 60;
  width: 48px; height: 48px; margin-right: -8px;
  background: none; border: 0; border-radius: 50%; cursor: pointer; color: var(--green);
}
.burger-lines { position: absolute; left: 13px; top: 16px; width: 22px; height: 16px; }
.burger-lines span {
  position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .3s var(--ease), opacity .2s;
}
.burger-lines span:nth-child(1) { top: 0; }
.burger-lines span:nth-child(2) { top: 7px; }
.burger-lines span:nth-child(3) { top: 14px; }
.nav-open .burger-lines span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .burger-lines span:nth-child(2) { opacity: 0; }
.nav-open .burger-lines span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menu un peu plus compact quand l'onglet « Événements » s'ajoute, ou sur petit écran. */
@media (max-width: 1400px) {
  .main-nav.has-event ul { gap: 22px; font-size: 15px; }
}
@media (max-width: 1240px) {
  .main-nav ul { gap: 22px; font-size: 15px; }
  .logo-name { font-size: 25px; }
  .logo-by { font-size: 15px; }
}

@media (max-width: 1080px) {
  .site-header {
    position: sticky; top: 0;
    padding: 12px var(--gutter);
    /* Fond opaque, sans backdrop-filter (qui casserait le menu en position: fixed). */
    background: var(--cream);
    border-bottom: 1px solid transparent;
    transition: border-color .3s;
  }
  .is-scrolled .site-header { border-bottom-color: var(--line); }
  .logo-name { font-size: 23px; }
  .logo-by { font-size: 14px; }
  .header-cta { display: none; }
  .burger { display: block; }

  /* Le menu s'ouvre juste sous l'en-tête (--nav-top est calculé en JS à l'ouverture). */
  .main-nav {
    position: fixed; top: var(--nav-top, 72px); left: 0; right: 0; bottom: 0; z-index: 50;
    display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
    padding: 8px var(--gutter) calc(32px + env(safe-area-inset-bottom));
    background: var(--cream);
    border-top: 1px solid var(--line);
    overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
  }
  .nav-open .main-nav {
    opacity: 1; visibility: visible; transform: none;
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s;
  }
  .main-nav ul { flex-direction: column; gap: 0; font-size: 16px; }
  .main-nav li { border-bottom: 1px solid var(--line); }
  .main-nav li a {
    display: flex; padding: 16px 0; border: 0;
    font-family: var(--serif); font-size: clamp(24px, 6.4vw, 30px); line-height: 1.15; font-weight: 400;
    white-space: normal;
  }
  .main-nav li a[aria-current="page"] { color: var(--green-soft); }
  .main-nav li a[aria-current="page"]::after {
    content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--bullet); margin-left: 4px; align-self: center;
  }
  .nav-mobile-extra { display: flex; flex-direction: column; gap: 18px; }
  .nav-mobile-extra .btn { padding: 16px 24px; font-size: 16px; }
  .nav-mobile-contact { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; color: var(--green-soft); }
  .nav-open { overflow: hidden; }
}

/* ---------- Accueil : hero ---------- */

.hero {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 40px var(--gutter) 100px;
}
.hero > *:not(.blob) { position: relative; }

.blob { position: absolute; background: var(--blob); pointer-events: none; }
.blob-left {
  left: -120px; top: 260px; width: 420px; height: 520px;
  border-radius: 62% 38% 55% 45% / 45% 60% 40% 55%; transform: rotate(-18deg);
}
.blob-right {
  right: -100px; top: 40px; width: 360px; height: 440px;
  border-radius: 40% 60% 35% 65% / 60% 40% 60% 40%; transform: rotate(22deg);
}

.hero-title { display: flex; flex-direction: column; align-items: center; margin-top: 18px; }
.hero-title-main { font-family: var(--serif); font-size: clamp(56px, 8.2vw, 104px); line-height: 1; }
.hero-title-sub { font-family: var(--alegreya); font-style: italic; font-size: clamp(36px, 5vw, 64px); line-height: 1.1; color: var(--green-soft); }
.hero-tagline { margin-top: 18px; font-size: clamp(17px, 1.6vw, 20px); font-weight: 500; color: var(--text); }

.hero-photo {
  margin-top: 48px; width: min(900px, 100%);
  border-radius: 44px; overflow: hidden; box-shadow: var(--shadow-hero);
  background: var(--card);
}
.hero-photo img { width: 100%; height: auto; max-height: 82vh; object-fit: cover; }

@media (max-width: 900px) {
  .hero { padding: 24px var(--gutter) 64px; }
  .hero-photo { margin-top: 32px; border-radius: 28px; }
  .blob-left { left: -170px; top: 220px; width: 300px; height: 380px; }
  .blob-right { right: -150px; top: 10px; width: 260px; height: 320px; }
}
@media (max-width: 520px) {
  .kicker { font-size: 12.5px; letter-spacing: .16em; }
  .hero-photo { border-radius: 22px; }
}

/* ---------- Accueil : « En ce moment » ---------- */

.now { padding: 0 var(--gutter) 96px; }
.now .kicker { text-align: center; margin-bottom: 20px; }
.now-list { display: grid; gap: 24px; max-width: 1100px; margin: 0 auto; }

.now-card {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  background: var(--card); border-radius: 24px; overflow: hidden;
  box-shadow: 0 0 0 1.5px var(--bullet) inset;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.now-card.no-photo { grid-template-columns: 1fr; }
.now-card-photo { position: relative; min-height: 300px; overflow: hidden; }
.now-card-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.now-card-body { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 36px 44px; }
.now-card-title { font-family: var(--serif); font-size: clamp(28px, 3vw, 38px); line-height: 1.1; }
.now-card-date { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: var(--green-soft); }

@media (hover: hover) {
  .now-card:hover { transform: translateY(-6px); box-shadow: 0 0 0 1.5px var(--bullet) inset, var(--shadow-hover); color: var(--green); }
  .now-card:hover .now-card-photo img { transform: scale(1.08); }
}
@media (max-width: 760px) {
  .now { padding-bottom: 64px; }
  .now-card { grid-template-columns: 1fr; }
  .now-card-photo { min-height: 0; aspect-ratio: 16 / 10; }
  .now-card-body { padding: 24px 24px 28px; }
}

/* ---------- Accueil : démarche ---------- */

.about {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px;
  padding: 96px var(--gutter); border-top: 1px solid var(--line);
}
.about-head { display: flex; flex-direction: column; gap: 18px; }
.about-title { font-family: var(--serif); font-size: clamp(34px, 4vw, 48px); line-height: 1.1; text-wrap: balance; }
.about-text { display: flex; flex-direction: column; gap: 20px; font-size: 19px; line-height: 1.65; color: var(--text); text-wrap: pretty; }

@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; gap: 24px; padding: 64px var(--gutter); }
  .about-head { gap: 14px; }
  .about-text { font-size: 17px; gap: 16px; }
}

/* ---------- Accueil : cartes des offres ---------- */

.offers { padding: 0 var(--gutter) 96px; }
.offers-kicker { margin-bottom: 24px; }
.offers-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }

.offer-tile {
  display: flex; flex-direction: column;
  background: var(--card); border-radius: 24px; overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.offer-tile-photo { position: relative; height: 260px; overflow: hidden; background: var(--blob); flex: none; }
.offer-tile-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.offer-tile-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 26px 28px 30px; }
.offer-tile-title { font-family: var(--serif); font-size: 28px; line-height: 1.15; text-wrap: balance; }
.offer-tile .card-link { margin-top: auto; padding-top: 8px; }

@media (hover: hover) {
  .offer-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); color: var(--green); }
  .offer-tile:hover .offer-tile-photo img { transform: scale(1.08); }
}

@media (max-width: 900px) {
  .offers { padding-bottom: 72px; }
  .offers-grid { grid-template-columns: 1fr; gap: 20px; }
}
@media (min-width: 600px) and (max-width: 900px) {
  .offer-tile { flex-direction: row; }
  .offer-tile-photo { width: 42%; height: auto; min-height: 240px; }
}
@media (max-width: 599px) {
  .offer-tile-photo { height: auto; aspect-ratio: 4 / 3; }
  .offer-tile-body { padding: 22px 22px 26px; }
  .offer-tile-title { font-size: 26px; }
}

/* ---------- Pages d'offre : méli-mélo (bureau) ---------- */

/* Trois colonnes : photos | carte de texte | photos. Les photos touchent la carte sans s'y cacher. */
.collage {
  --card-w: clamp(460px, 37vw, 520px);
  display: grid; grid-template-columns: minmax(0, 1fr) var(--card-w) minmax(0, 1fr);
  grid-template-rows: auto 1fr; align-items: start;
  max-width: 1360px; margin: 0 auto; padding: 36px 24px 80px;
}
.collage-rail { position: relative; aspect-ratio: 330 / 740; grid-row: 1 / span 2; }
.collage-left { grid-column: 1; }
.collage-right { grid-column: 3; }
.collage > .offer-card { grid-column: 2; grid-row: 1; }
.collage-photo {
  position: absolute;
  left: calc(var(--x) * 1%);
  top: calc(var(--y) * 1%);
  width: calc(var(--w) * 1%);
  aspect-ratio: var(--ar);
  transform: rotate(var(--r));
  padding: 0; border: 0; background: var(--card); cursor: zoom-in;
  border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-photo);
}
.collage-photo img { width: 100%; height: 100%; object-fit: cover; }
/* 7ᵉ et 8ᵉ photos : nichées juste sous la carte, qu'elles touchent à peine. */
.collage-below { grid-column: 2; grid-row: 2; display: flex; justify-content: center; gap: 5%; margin-top: -22px; padding: 0 3%; }
.collage-photo.is-inline { position: relative; left: auto; top: auto; width: 46%; }
.collage-photo.is-inline:nth-child(even) { translate: 0 22px; }
.collage.is-empty { grid-template-columns: minmax(0, 1fr); }
.collage.is-empty > .offer-card { grid-column: 1; }

.offer-card {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; gap: 16px;
  width: 100%; margin: 34px auto 0;
  background: var(--cream); border-radius: 32px; padding: 44px 48px;
  box-shadow: var(--shadow-card);
}
.collage.is-empty .offer-card { max-width: 620px; margin-top: 24px; }
.offer-kicker { font-family: var(--alegreya); font-style: italic; font-size: 22px; color: var(--green-soft); }
.offer-title { font-family: var(--serif); font-size: 44px; line-height: 1.08; text-wrap: balance; }
.offer-text { font-size: 17px; line-height: 1.65; color: var(--text); text-wrap: pretty; }
.offer-points { display: flex; flex-direction: column; gap: 10px; margin: 6px 0 0; padding: 0; list-style: none; }
.offer-points li { display: flex; gap: 12px; align-items: baseline; font-size: 16px; font-weight: 500; line-height: 1.4; }
.offer-points li::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--bullet); flex: none;
  transform: translateY(-1px);
}
.offer-card > .btn { align-self: flex-start; margin-top: 12px; }

.event-dates { display: flex; flex-direction: column; gap: 8px; margin: 4px 0 0; padding: 14px 16px; list-style: none; background: var(--card); border-radius: 14px; }
.event-dates li { display: flex; gap: 10px; align-items: center; font-size: 15px; color: var(--text); }
.event-dates .icon { color: var(--green-soft); }
.event-dates strong { color: var(--green); font-weight: 600; }

/* ---------- Pages d'offre : version mobile & tablette ---------- */

.m-offer { display: none; }

@media (max-width: 1099px) {
  .collage { display: none; }
  .m-offer { display: block; padding: 8px var(--gutter) 48px; }

  .m-duo { position: relative; max-width: 560px; margin: 0 auto; aspect-ratio: 10 / 8.4; }
  .m-duo-photo {
    position: absolute; padding: 0; border: 0; background: var(--card); cursor: zoom-in;
    aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-photo);
  }
  .m-duo-photo:nth-child(1) { left: 2%; top: 2%; width: 56%; transform: rotate(-5deg); z-index: 1; }
  .m-duo-photo:nth-child(2) { right: 2%; top: 12%; width: 50%; transform: rotate(5deg); }
  .m-duo.is-single .m-duo-photo { left: 50%; top: 4%; width: 70%; transform: translateX(-50%) rotate(-3deg); }
  .m-duo.is-single { aspect-ratio: 10 / 9; }
  .m-duo-photo img { width: 100%; height: 100%; object-fit: cover; }

  .m-offer .offer-card { width: 100%; max-width: 620px; margin: -20px auto 0; padding: 32px 28px; border-radius: 28px; gap: 14px; }
  .m-offer .offer-card:first-child { margin-top: 16px; }
  .m-offer .offer-title { font-size: clamp(32px, 8vw, 40px); }
  .m-offer .offer-kicker { font-size: 20px; }
  .m-offer .offer-text { font-size: 16.5px; }
  .m-offer .offer-card > .btn { align-self: stretch; padding: 16px 24px; font-size: 16px; }

  .m-strip {
    display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter);
    margin: 0 calc(var(--gutter) * -1); padding: 36px var(--gutter) 30px;
    scrollbar-width: none;
  }
  .m-strip::-webkit-scrollbar { display: none; }
  .m-strip-photo {
    flex: 0 0 min(72%, 340px); aspect-ratio: 4 / 5; scroll-snap-align: start;
    padding: 0; border: 0; background: var(--card); cursor: zoom-in;
    border-radius: 18px; overflow: hidden; box-shadow: 0 14px 30px rgba(20, 40, 25, .16);
  }
  .m-strip-photo img { width: 100%; height: 100%; object-fit: cover; }
  .m-strip-hint { text-align: center; font-size: 14px; color: var(--green-soft); }
}
@media (min-width: 700px) and (max-width: 1099px) {
  .m-strip-photo { flex-basis: 300px; }
}

/* ---------- Bandeau « engagement » ---------- */

.promise { padding: 72px var(--gutter); background: var(--card); text-align: center; }
.promise p {
  max-width: 820px; margin: 0 auto;
  font-family: var(--alegreya); font-style: italic; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.4; color: var(--green);
  text-wrap: balance;
}
.promise p::before {
  content: ''; display: block; width: 48px; height: 2px; margin: 0 auto 24px; background: var(--bullet); border-radius: 2px;
}
@media (max-width: 900px) { .promise { padding: 56px var(--gutter); } }

/* ---------- Événements : menus ---------- */

.menus { padding: 24px var(--gutter) 96px; }
.menus-head { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; margin-bottom: 36px; }
.menus-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px;
  max-width: 1160px; margin: 0 auto;
}
.menus-grid.is-single { max-width: 540px; }
.menu-card {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: 40px 32px 36px; text-align: center;
  background: var(--field); border: 1px solid var(--line); border-radius: 28px;
  box-shadow: 0 18px 40px rgba(20, 40, 25, .06);
}
.menu-name { font-family: var(--serif); font-size: 30px; line-height: 1.1; text-wrap: balance; }
.menu-price { font-family: var(--alegreya); font-style: italic; font-size: 26px; color: var(--green-soft); }
.menu-items { list-style: none; margin: 6px 0 0; padding: 0; width: 100%; }
.menu-items li { font-size: 16.5px; line-height: 1.45; color: var(--text); text-wrap: balance; }
.menu-items li:not(:last-child)::after {
  content: ''; display: block; width: 6px; height: 6px; margin: 12px auto; border-radius: 50%; background: var(--bullet);
}
.menu-note { font-size: 14px; font-style: italic; color: var(--green-soft); }
.menu-card .btn { margin-top: auto; }
.menu-card .menu-items + .btn, .menu-card .menu-note + .btn { margin-top: 12px; }
@media (max-width: 600px) {
  .menus { padding-bottom: 64px; }
  .menu-card { padding: 32px 22px 28px; }
  .menu-card .btn { align-self: stretch; }
}

/* ---------- Pages simples (mentions, 404, événements) ---------- */

.page-intro { max-width: 800px; margin: 0 auto; padding: 56px var(--gutter) 96px; display: flex; flex-direction: column; gap: 18px; }
.page-title { font-family: var(--serif); font-size: clamp(36px, 5vw, 56px); line-height: 1.08; text-wrap: balance; }
.page-lead { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.65; color: var(--text); }
.page-lead a { text-decoration: underline; text-underline-offset: 3px; }
.page-events .offers { padding-top: 0; }

.legal h2 { font-family: var(--serif); font-size: 24px; margin-top: 22px; }
.legal p, .legal li { font-size: 16.5px; line-height: 1.65; color: var(--text); }
.legal ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.legal strong { color: var(--green); font-weight: 600; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Contact ---------- */

.contact {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: start;
  max-width: 1240px; margin: 0 auto; padding: 40px var(--gutter) 96px;
}
.contact-intro { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 24px; }
.contact-quick { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.quick {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 16px 12px 12px; border-radius: 18px; background: var(--card);
  transition: background .2s;
}
.quick .icon { width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: var(--cream); color: var(--green); }
.quick span { display: flex; flex-direction: column; min-width: 0; }
.quick strong { font-weight: 600; font-size: 15.5px; overflow-wrap: anywhere; }
.quick small { font-size: 13.5px; color: var(--green-soft); }
.quick:hover { background: var(--blob); }
.quick-wa { background: var(--green); color: var(--cream); }
.quick-wa small { color: rgba(251, 248, 239, .8); }
.quick-wa .icon { background: rgba(251, 248, 239, .14); color: var(--cream); }
.quick-wa:hover { background: var(--green-dark); color: var(--cream); }

.contact-form, .form-success {
  background: var(--card); border-radius: 28px; padding: 36px 40px;
  display: flex; flex-direction: column; gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { font-size: 14px; font-weight: 600; color: var(--green); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--text);
  padding: 13px 16px; border: 1px solid var(--field-border); border-radius: 14px; background: var(--field);
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%230B5E3C' stroke-width='1.8' d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px;
}
.field input[type="date"] { min-height: 50px; }
.field textarea { resize: vertical; min-height: 130px; line-height: 1.55; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(11, 94, 60, .14);
}
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-error { font-size: 13.5px; color: var(--danger); margin-top: -8px; }
.field .field-error { margin-top: 0; }
.form-error-box { background: #FDECEA; color: #8A1C12; border-radius: 12px; padding: 12px 16px; font-size: 15px; }
.form-note { font-size: 13px; color: var(--green-soft); text-align: center; }
.form-note a { text-decoration: underline; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-success { align-items: flex-start; gap: 14px; }
.form-success-title { font-family: var(--serif); font-size: 28px; line-height: 1.15; }
.form-success p { color: var(--text); font-size: 16.5px; line-height: 1.6; }

@media (max-width: 900px) {
  .contact { grid-template-columns: 1fr; gap: 32px; padding: 24px var(--gutter) 64px; }
  .contact-intro { position: static; }
  .contact-quick { display: grid; grid-template-columns: 1fr 1fr; }
  .contact-quick .quick-wa { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .contact-quick { grid-template-columns: 1fr; }
  .contact-form, .form-success { padding: 26px 20px; border-radius: 24px; margin: 0 calc(var(--gutter) * -.4); }
  .field-row { grid-template-columns: 1fr; gap: 18px; }
}

/* ---------- Pied de page ---------- */

.site-footer { background: var(--green); color: var(--cream); padding: 44px var(--gutter) 28px; }
.site-footer a { color: var(--cream); }
.site-footer a:hover { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }
.footer-main { display: flex; justify-content: space-between; align-items: center; gap: 24px 48px; flex-wrap: wrap; }
.footer-title { font-family: var(--serif); font-size: 30px; line-height: 1.15; }
.footer-contact { display: flex; flex-wrap: wrap; gap: 12px 36px; margin: 0; padding: 0; list-style: none; font-size: 16px; }
.footer-legal {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px;
  margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(251, 248, 239, .18);
  font-size: 14px; color: rgba(251, 248, 239, .75);
}
.footer-legal a { color: rgba(251, 248, 239, .75); }

@media (max-width: 900px) {
  .site-footer { text-align: center; padding-top: 48px; }
  .footer-main { flex-direction: column; }
  .footer-title { font-size: 26px; }
  .footer-contact { flex-direction: column; align-items: center; gap: 10px; }
  .footer-legal { justify-content: center; }
}

/* ---------- Barre d'action mobile ---------- */

.action-bar { display: none; }

@media (max-width: 900px) {
  .action-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    display: flex; gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(251, 248, 239, .96);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px rgba(20, 40, 25, .08);
    transition: transform .3s var(--ease);
  }
  .action-bar a {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 50px; padding: 0 18px; border-radius: 999px;
    font-weight: 600; font-size: 15.5px;
  }
  .action-bar-wa { flex: none; border: 1.5px solid var(--green); color: var(--green); }
  .action-bar-cta { flex: 1; background: var(--green); color: var(--cream); }
  .action-bar-cta:hover { color: var(--cream); }
  .nav-open .action-bar { transform: translateY(110%); }
  body:has(.action-bar) .site-footer { padding-bottom: calc(28px + 74px + env(safe-area-inset-bottom)); }
}
@media (max-width: 360px) {
  .action-bar-wa span { display: none; }
}

/* ---------- Visionneuse photo ---------- */

.lightbox {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  background: rgba(12, 28, 20, .94);
  padding: 56px 12px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1400px, 100%); max-height: 100%; width: auto; height: auto; border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, .4); }
.lightbox button {
  position: absolute; width: 48px; height: 48px; border: 0; border-radius: 50%;
  background: rgba(251, 248, 239, .14); color: var(--cream);
  font-size: 30px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.lightbox button:hover { background: rgba(251, 248, 239, .26); }
.lightbox-close { top: 14px; right: 14px; }
.lightbox-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lightbox.is-single .lightbox-prev, .lightbox.is-single .lightbox-next { display: none; }
@media (max-width: 700px) {
  .lightbox-prev, .lightbox-next { top: auto; bottom: 18px; transform: none; }
  .lightbox-prev { left: calc(50% - 60px); }
  .lightbox-next { right: calc(50% - 60px); }
}

/* ---------- Accessibilité : mouvements réduits ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .offer-tile:hover, .now-card:hover { transform: none; }
  .offer-tile:hover .offer-tile-photo img, .now-card:hover .now-card-photo img { transform: none; }
}
