/* ==========================================================================
   Le Fournil des Collines — démonstration de site vitrine (Atrixa)
   CSS vanilla, polices système, aucune ressource externe.
   ========================================================================== */

:root {
  --cream: #FBF6EE;
  --paper: #FFFDF8;
  --flour: #F4EADB;
  --flour-deep: #EADCC6;
  --ink: #2B1D14;
  --ink-soft: #4A3728;
  --muted: #6A5444;
  --crust: #A3441A;
  --crust-dark: #82330F;
  --accent-text: #9A4118;
  --wheat: #E2B866;
  --wheat-light: #F2C27B;
  --sage: #4F6146;
  --sage-bg: #E4EAD9;
  --dark: #35221A;
  --dark-2: #45301F;
  --on-dark: #FBF1E2;
  --on-dark-muted: #DCC8AE;
  --line: #E4D5BF;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(58, 36, 24, .06), 0 12px 32px -12px rgba(58, 36, 24, .22);
  --head-h: 118px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--head-h) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-wrap: break-word;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
  color: var(--ink);
  text-wrap: balance;
}

h2 { font-size: clamp(1.85rem, 1.3rem + 2.2vw, 2.75rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }

a { color: var(--accent-text); text-underline-offset: .18em; }
a:hover { color: var(--crust-dark); }

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

.container {
  width: min(100% - 2.5rem, 1180px);
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.nowrap { white-space: nowrap; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  background: var(--ink);
  color: var(--on-dark);
  padding: .6rem 1rem;
  border-radius: 8px;
  font-weight: 600;
}
.skip-link:focus { top: 1rem; color: var(--on-dark); outline-color: var(--wheat-light); }

main:focus { outline: none; }

/* Icônes -------------------------------------------------------------------*/
.icon { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }

/* Boutons ------------------------------------------------------------------*/
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 48px;
  padding: .7rem 1.35rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font: 600 1rem/1.2 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn--primary { background: var(--crust); color: #fff; box-shadow: 0 8px 20px -10px rgba(163, 68, 26, .8); }
.btn--primary:hover { background: var(--crust-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--on-dark); }
.btn--light { background: var(--wheat-light); color: var(--ink); }
.btn--light:hover { background: #F7D39C; color: var(--ink); }
.btn--outline-light { color: var(--on-dark); border-color: var(--on-dark-muted); }
.btn--outline-light:hover { background: var(--on-dark); color: var(--ink); }
.btn--small { min-height: 42px; padding: .5rem 1rem; font-size: .95rem; }
.btn--block { width: 100%; }

@media (prefers-reduced-motion: no-preference) {
  .btn:hover { transform: translateY(-1px); }
}

/* Bandeau démonstration + en-tête (collants en haut) ----------------------*/
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
}

.demo-bar {
  background: var(--ink);
  color: var(--on-dark);
  font-size: .875rem;
  line-height: 1.35;
}
.demo-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .35rem 1rem;
  padding-block: .5rem;
}
.demo-bar__text { margin: 0; }
.demo-bar__text strong { color: #fff; }
.demo-bar__links { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1rem; }
.demo-bar a { color: var(--on-dark); }
.demo-bar a:focus-visible { outline-color: var(--wheat-light); }
.demo-bar__cta {
  background: var(--wheat-light);
  color: var(--ink) !important;
  padding: .3rem .8rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}
.demo-bar__cta:hover { background: #F7D39C; }
.demo-bar__back:hover { color: #fff; }

@media (max-width: 599.98px) {
  .demo-bar { font-size: .8rem; }
  .demo-bar__inner { gap: .25rem .75rem; padding-block: .4rem; }
  .demo-bar__cta { padding: .2rem .65rem; }
  .site-header__inner { min-height: 62px; }
}

.site-header {
  background: rgba(251, 246, 238, .94);
  border-bottom: 1px solid var(--line);
  position: relative;
}
@supports ((-webkit-backdrop-filter: blur(8px)) or (backdrop-filter: blur(8px))) {
  .site-header { background: rgba(251, 246, 238, .86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
}
.brand:hover { color: var(--ink); }
.brand__mark { width: 42px; height: 42px; flex: none; }
.brand__text { display: flex; flex-direction: column; min-width: 0; }
.brand__name { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; line-height: 1.1; }
.brand__tag { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 44px;
  padding: .4rem .9rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: 600 .95rem var(--sans);
  cursor: pointer;
  flex: none;
}
.menu-toggle__bars { position: relative; width: 18px; height: 12px; }
.menu-toggle__bars span {
  position: absolute; left: 0; width: 100%; height: 2px;
  background: currentColor; border-radius: 2px;
  transition: transform .25s, opacity .2s, top .25s;
}
.menu-toggle__bars span:nth-child(1) { top: 0; }
.menu-toggle__bars span:nth-child(2) { top: 5px; }
.menu-toggle__bars span:nth-child(3) { top: 10px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(1) { top: 5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(3) { top: 5px; transform: rotate(-45deg); }

.site-nav__list { list-style: none; margin: 0; padding: 0; }
.site-nav a:not(.btn) {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}
.site-nav a:not(.btn):hover { color: var(--accent-text); }

/* Menu mobile */
@media (max-width: 979.98px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px -18px rgba(43, 29, 20, .35);
    padding: .5rem 1.25rem 1.25rem;
    max-height: calc(100vh - var(--head-h));
    overflow-y: auto;
  }
  .site-nav.is-open { display: block; }
  .site-nav__list a:not(.btn) {
    display: block;
    padding: .85rem .25rem;
    border-bottom: 1px solid var(--line);
    font-size: 1.1rem;
  }
  .site-nav__call { margin-top: 1rem; width: 100%; }

  /* Sans JavaScript : menu toujours visible, bouton masqué */
  html:not(.js) .menu-toggle { display: none; }
  html:not(.js) .site-header__inner { flex-wrap: wrap; padding-block: .5rem; }
  html:not(.js) .site-nav { display: block; position: static; box-shadow: none; border: 0; padding: 0; width: 100%; }
}

@media (min-width: 980px) {
  .menu-toggle { display: none; }
  .site-nav { display: flex; align-items: center; gap: 1.5rem; }
  .site-nav__list { display: flex; gap: 1.35rem; }
  .site-nav__list a:not(.btn) { position: relative; padding-block: .4rem; font-size: .98rem; }
  .site-nav__list a:not(.btn)::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
    background: var(--crust); transform: scaleX(0); transform-origin: left; transition: transform .25s;
  }
  .site-nav__list a:not(.btn):hover::after,
  .site-nav__list a[aria-current="true"]::after { transform: scaleX(1); }
}

@media (min-width: 980px) and (max-width: 1119.98px) {
  .site-nav__list { gap: 1rem; }
  .site-nav__call { font-size: 0; gap: 0; width: 44px; padding: 0; }
  .site-nav__call .icon { width: 20px; height: 20px; }
}

@media (max-width: 399.98px) {
  .brand__mark { width: 36px; height: 36px; }
  .brand__name { font-size: 1.02rem; }
  .brand__tag { font-size: .66rem; letter-spacing: .1em; }
  .menu-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .menu-toggle { padding: .4rem .7rem; min-width: 44px; justify-content: center; }
}

/* Éléments communs ---------------------------------------------------------*/
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin: 0 0 .9rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.eyebrow::before {
  content: "";
  width: 28px; height: 2px;
  background: currentColor;
  flex: none;
}
.eyebrow--light { color: var(--wheat-light); }

.section { padding-block: clamp(4rem, 3rem + 4vw, 6.5rem); }
.section--flour { background: var(--flour); }
.section--dark { background: var(--dark); color: var(--on-dark); }
.section--dark h2 { color: var(--on-dark); }
.section--dark :focus-visible { outline-color: var(--wheat-light); }

.section-head { max-width: 680px; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem); }
.section-head__lead { color: var(--muted); font-size: 1.1rem; margin-bottom: 0; }

/* Héros --------------------------------------------------------------------*/
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem) clamp(3rem, 2rem + 4vw, 5.5rem);
  background:
    radial-gradient(60% 70% at 90% 20%, rgba(242, 194, 123, .35), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, rgba(163, 68, 26, .08), transparent 70%),
    var(--cream);
}
.hero__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
.hero__title {
  font-size: clamp(2.4rem, 1.5rem + 4.2vw, 4.4rem);
  font-weight: 600;
  line-height: 1.04;
  margin-bottom: .45em;
}
.hero__title em { font-style: italic; color: var(--accent-text); }
.hero__lead { font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); color: var(--ink-soft); max-width: 36rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0 1.25rem; }
.hero__points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.25rem;
  margin: 1.5rem 0 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-weight: 500;
  font-size: .98rem;
}
.hero__points li { display: inline-flex; align-items: center; gap: .5rem; }
.hero__points li::before {
  content: "";
  width: 18px; height: 18px; flex: none;
  border-radius: 50%;
  background: var(--sage-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.2l2.6 2.6L13 6.4' fill='none' stroke='%234F6146' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}

.hero__visual { position: relative; max-width: 560px; margin-inline: auto; width: 100%; }
.hero__sticker {
  position: absolute;
  top: 6%;
  left: 2%;
  width: clamp(88px, 18vw, 118px);
  aspect-ratio: 1;
  margin: 0;
  display: grid;
  place-content: center;
  text-align: center;
  border-radius: 50%;
  background: var(--sage);
  color: #fff;
  font: italic 600 clamp(.85rem, .7rem + .5vw, 1.02rem)/1.1 var(--serif);
  transform: rotate(-10deg);
  box-shadow: var(--shadow);
}
.hero__sticker span { display: block; font-size: 1.45em; }

@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.05fr .95fr; gap: 3rem; }
}

/* Statut d'ouverture */
.open-status {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin: 0;
  padding: .4rem .9rem .4rem .75rem;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: .95rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.open-status::before {
  content: "";
  width: 10px; height: 10px; flex: none;
  border-radius: 50%;
  background: var(--wheat);
}
.open-status.is-open::before { background: #3E8E4F; box-shadow: 0 0 0 4px rgba(62, 142, 79, .18); }
.open-status.is-closed::before { background: #B5452B; box-shadow: 0 0 0 4px rgba(181, 69, 43, .15); }
.open-status--light { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); color: var(--on-dark); }
.open-status--light.is-open::before { background: #7BCB8A; }
.open-status--light.is-closed::before { background: #F29A7E; }

/* Cartes produits ----------------------------------------------------------*/
.cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
}
.card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.card__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 1.4rem 1.4rem 1.6rem; }
.card__body p { color: var(--muted); font-size: 1rem; }
.card--accent { background: #FFF6F1; border-color: #EFD2C6; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: auto 0 0; padding: 0; }
.tags li {
  font-size: .8rem; font-weight: 600;
  padding: .2rem .65rem; border-radius: 999px;
  background: var(--sage-bg); color: var(--sage);
}
.link-arrow { margin-top: auto; font-weight: 700; text-decoration: none; }
.link-arrow span { display: inline-block; transition: transform .2s; }
.link-arrow:hover { text-decoration: underline; }
@media (prefers-reduced-motion: no-preference) {
  .link-arrow:hover span { transform: translateX(4px); }
}

@media (min-width: 1100px) {
  .cards { grid-template-columns: repeat(4, 1fr); }
}

/* Histoire -----------------------------------------------------------------*/
.story {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
.story__visual img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.story__content p { color: var(--ink-soft); }
.quote {
  margin: 1.75rem 0 0;
  padding: 1.1rem 1.4rem;
  border-left: 4px solid var(--crust);
  background: var(--paper);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.quote p { margin: 0 0 .3rem; font: italic 1.3rem/1.35 var(--serif); color: var(--ink); }
.quote footer { font-size: .9rem; color: var(--muted); }

@media (min-width: 900px) {
  .story { grid-template-columns: .95fr 1.05fr; gap: 4rem; }
}

.steps {
  list-style: none;
  margin: clamp(3rem, 2rem + 3vw, 4.5rem) 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}
.step {
  position: relative;
  padding: 1.4rem 1.4rem 1.2rem;
  background: var(--paper);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}
.step h3 { font-size: 1.2rem; margin-bottom: .3rem; }
.step p { margin: 0; color: var(--muted); font-size: .97rem; }
.step__num {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  margin-bottom: .8rem;
  border-radius: 50%;
  background: var(--crust);
  color: #fff;
  font: 600 1.05rem var(--serif);
}

/* Horaires -----------------------------------------------------------------*/
.hours {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
.hours__intro > p:not(.eyebrow):not(.open-status) { color: var(--on-dark-muted); max-width: 32rem; }
.hours__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.hours__panel {
  background: var(--dark-2);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  padding: clamp(.75rem, .5rem + 1vw, 1.5rem);
}
.hours-table { width: 100%; border-collapse: separate; border-spacing: 0; }
.hours-table th, .hours-table td {
  padding: .85rem .9rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.hours-table tbody tr:last-child th, .hours-table tbody tr:last-child td { border-bottom: 0; }
.hours-table th { font-family: var(--serif); font-size: 1.12rem; font-weight: 600; white-space: nowrap; width: 1%; padding-right: 1.5rem; }
.hours-table td { color: var(--on-dark); font-variant-numeric: tabular-nums; }
.hours-table td.is-closed { color: #F2B7A3; font-weight: 600; }
.hours-table .sep { color: var(--on-dark-muted); padding-inline: .15rem; }
.hours-note { display: inline-block; font-size: .85rem; color: var(--on-dark-muted); }
.hours-table tr.is-today th, .hours-table tr.is-today td { background: var(--wheat-light); color: var(--ink); border-bottom-color: transparent; }
.hours-table tr.is-today th { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.hours-table tr.is-today td { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.hours-table tr.is-today .sep,
.hours-table tr.is-today .hours-note { color: var(--ink-soft); }
.hours-table tr.is-today td.is-closed { color: #8A2E12; }
.today-badge {
  display: block;
  width: max-content;
  margin-top: .2rem;
  padding: .05rem .5rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--wheat-light);
  font: 700 .68rem/1.6 var(--sans);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hours__foot { margin: .9rem .9rem .2rem; font-size: .88rem; color: var(--on-dark-muted); }

@media (min-width: 900px) {
  .hours { grid-template-columns: .9fr 1.1fr; gap: 4rem; }
}
@media (max-width: 479.98px) {
  .hours-table th, .hours-table td { padding: .75rem .6rem; }
  .hours-table th { padding-right: .6rem; font-size: 1.02rem; }
  .hours-table td { font-size: .97rem; }
  .hours-table .sep { display: none; }
  .hours-table td .nowrap { display: block; }
}

/* Accès --------------------------------------------------------------------*/
.access {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
.access__map { margin: 0; }
.access__map img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.access__map figcaption { margin-top: .6rem; font-size: .88rem; color: var(--muted); }
.address {
  font-style: normal;
  font-size: 1.15rem;
  line-height: 1.55;
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
  background: var(--flour);
  border-radius: var(--radius-sm);
}
.address strong { font-family: var(--serif); font-size: 1.2rem; }
.access__list { list-style: none; margin: 0 0 1.75rem; padding: 0; display: grid; gap: .85rem; }
.access__list li { display: flex; gap: .85rem; align-items: flex-start; color: var(--ink-soft); }
.access__icon {
  display: grid; place-items: center; flex: none;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--sage-bg);
  color: var(--sage);
}
.access__icon svg { width: 20px; height: 20px; fill: currentColor; }
.access__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

@media (min-width: 900px) {
  .access { grid-template-columns: 1.15fr .85fr; gap: 4rem; }
}

/* Galerie ------------------------------------------------------------------*/
.gallery {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  grid-auto-rows: 230px;
}
.gallery__item figure {
  position: relative;
  margin: 0;
  height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--flour-deep);
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery__item figcaption {
  position: absolute;
  left: .75rem;
  bottom: .75rem;
  right: .75rem;
  width: fit-content;
  max-width: calc(100% - 1.5rem);
  padding: .35rem .8rem;
  border-radius: 999px;
  background: rgba(255, 253, 248, .95);
  color: var(--ink);
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.3;
}
@media (prefers-reduced-motion: no-preference) {
  .gallery__item figure:hover img { transform: scale(1.04); }
}

@media (min-width: 600px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 210px; }
  .gallery__item--big, .gallery__item--wide { grid-column: span 2; }
  .gallery__item--big { grid-row: span 2; }
}
@media (min-width: 900px) {
  .gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 230px; }
  .gallery__item--big { grid-column: span 2; grid-row: span 2; }
  .gallery__item--wide { grid-column: auto; }
}

/* Avis ---------------------------------------------------------------------*/
.badge-demo {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: .25rem 0 0;
  padding: .45rem .95rem;
  border-radius: 999px;
  background: #FCEBD9;
  border: 1px dashed var(--crust);
  color: var(--crust-dark);
  font-weight: 700;
  font-size: .95rem;
}
.badge-demo svg { width: 18px; height: 18px; fill: currentColor; }

.reviews {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
}
.review {
  display: flex;
  flex-direction: column;
  padding: 1.6rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.review__stars { margin: 0 0 .75rem; color: #B4741A; letter-spacing: .15em; font-size: 1.1rem; }
.review blockquote { margin: 0 0 1.25rem; }
.review blockquote p { margin: 0; font: 1.12rem/1.55 var(--serif); color: var(--ink); }
.review__author { display: flex; align-items: center; gap: .75rem; margin: auto 0 0; font-weight: 600; }
.review__author small { display: block; font-weight: 500; color: var(--muted); font-size: .82rem; }
.avatar {
  display: grid; place-items: center; flex: none;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--crust); color: #fff;
  font: 600 1.1rem var(--serif);
}
.avatar--sage { background: var(--sage); }
.avatar--rose { background: #9B3F55; }

/* Contact ------------------------------------------------------------------*/
.contact {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}
.contact__intro > p { color: var(--ink-soft); }
.contact__info { list-style: none; margin: 1.5rem 0; padding: 0; display: grid; gap: .9rem; }
.contact__info li { display: grid; gap: .1rem; }
.contact__label { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact__info a { font-size: 1.15rem; font-weight: 600; }
.contact__note {
  padding: .9rem 1.1rem;
  background: var(--paper);
  border-left: 4px solid var(--sage);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: .97rem;
}

@media (min-width: 900px) {
  .contact { grid-template-columns: .85fr 1.15fr; gap: 4rem; }
  .contact__intro { position: sticky; top: calc(var(--head-h) + 2rem); }
}

.form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.25rem, .9rem + 1.5vw, 2.25rem);
}
.form__demo {
  margin: 0 0 .75rem;
  padding: .55rem .85rem;
  border-radius: var(--radius-sm);
  background: #FCEBD9;
  color: var(--crust-dark);
  font-size: .92rem;
  font-weight: 600;
}
.form__required { font-size: .9rem; color: var(--muted); margin-bottom: 1.25rem; }
.form__row { display: grid; gap: 0 1rem; }
@media (min-width: 560px) {
  .form__row { grid-template-columns: 1fr 1fr; }
}
.field { display: flex; flex-direction: column; margin-bottom: 1.1rem; min-width: 0; }
.field label { font-weight: 600; margin-bottom: .35rem; font-size: .97rem; }
.req { color: var(--accent-text); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: .7rem .9rem;
  border: 1.5px solid #B9A48C;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: 1rem/1.4 var(--sans);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: #857060; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none;
  border-color: var(--crust);
  box-shadow: 0 0 0 3px rgba(163, 68, 26, .28);
}
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: #B3261E; }
.field__help { margin: .35rem 0 0; font-size: .85rem; color: var(--muted); }
.field--check { flex-direction: row; align-items: flex-start; gap: .7rem; }
.field--check input { width: 22px; height: 22px; min-height: 0; margin: .15rem 0 0; flex: none; accent-color: var(--crust); }
.field--check label { font-weight: 500; margin: 0; }

.form__status { margin: 1rem 0 0; }
.form__status:not(:empty) {
  padding: .9rem 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--sage-bg);
  color: #33422C;
  border: 1px solid #B9C7A8;
  font-weight: 600;
}

/* Pied de page -------------------------------------------------------------*/
.site-footer {
  background: var(--ink);
  color: var(--on-dark-muted);
  padding-block: 3.5rem 1.5rem;
  font-size: .97rem;
}
.site-footer a { color: var(--on-dark); }
.site-footer a:hover { color: var(--wheat-light); }
.site-footer :focus-visible { outline-color: var(--wheat-light); }
.site-footer__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
}
.site-footer__name { font: 600 1.4rem/1.2 var(--serif); color: var(--on-dark); margin-bottom: .6rem; }
.site-footer__fictive { color: var(--wheat-light); font-weight: 600; }
.site-footer__title {
  font: 700 .8rem var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--wheat-light);
  margin-bottom: .8rem;
}
.site-footer address { font-style: normal; }
.site-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem 1.5rem;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .9rem;
}
.site-footer__bottom p { margin: 0; }

/* Page mentions légales ----------------------------------------------------*/
.legal { padding-block: clamp(3rem, 2rem + 3vw, 5rem); }
.legal__inner { max-width: 760px; }
.legal h1 { font-size: clamp(2.2rem, 1.6rem + 2.5vw, 3.2rem); }
.legal h2 { font-size: clamp(1.35rem, 1.2rem + .7vw, 1.7rem); margin-top: 2.25rem; }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { padding-left: 1.2rem; }
.legal__notice {
  margin: 1.5rem 0 2rem;
  padding: 1.1rem 1.3rem;
  background: #FCEBD9;
  border: 1px dashed var(--crust);
  border-radius: var(--radius-sm);
  color: var(--crust-dark);
}
.legal__notice p { color: var(--crust-dark); margin: 0; }
.legal__back { margin-top: 2.5rem; }

/* Apparition au défilement (légère) ----------------------------------------*/
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .6s ease, transform .6s ease;
  }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
