/* ==========================================================================
   Moment Déco — maquette de site vitrine (non officielle)
   Réalisée par KA Performance
   --------------------------------------------------------------------------
   Feuille de style unique, écrite « mobile d’abord » : les styles de base
   visent les petits écrans, les requêtes @media enrichissent ensuite.

   Sommaire
    1. Variables (couleurs, typographie, espacements)
    2. Base
    3. Utilitaires
    4. Bandeau de démonstration
    5. En-tête et navigation
    6. Boutons, liens, sur-titres
    7. Emplacements à compléter (photos et textes)
    8. Sections communes
    9. Accueil
   10. La boutique
   11. Nos univers
   12. Galerie
   13. Infos pratiques
   14. Contact
   15. Pied de page
   16. Apparitions au défilement
   17. Préférences d’affichage (mouvement réduit, contraste forcé, impression)
   18. Pages intérieures (univers, mentions légales) et liens entre pages
   ========================================================================== */


/* 1. Variables
   ========================================================================== */
:root {
  /* Couleurs — contrastes vérifiés (WCAG AA) :
     texte #2b2522 sur fond lin : 14,3:1 · taupe #5e544c sur fond lin : 7:1
     accent #9a3b2e sur fond lin : 6,5:1 · texte blanc sur accent : 6,9:1 */
  --c-bg: #fbf8f3;            /* lin : fond principal */
  --c-bg-alt: #f3ede4;        /* sable : fond des sections alternées */
  --c-surface: #ffffff;       /* cartes */
  --c-line: #e4dacd;          /* bordures, filets */
  --c-text: #2b2522;          /* brun encre : texte principal */
  --c-muted: #5e544c;         /* taupe : texte secondaire */
  --c-accent: #9a3b2e;        /* brique : couleur d’accent unique */
  --c-accent-dark: #7c2e23;   /* accent au survol */
  --c-accent-soft: #f4e4dd;   /* fond rosé des badges et emplacements */
  --c-ph: #ece3d7;            /* fond des emplacements photo */
  --c-dark: #2b2522;          /* pied de page, bandeau */
  --c-on-dark: #f3ede4;
  --c-on-dark-muted: #cfc4b6;

  /* Typographie (Google Fonts) */
  --f-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --f-sans: "Jost", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Espacements et formes */
  --gutter: 1.25rem;
  --container: 72rem;
  --section-y: clamp(4rem, 2.8rem + 5vw, 7.5rem);
  --radius: 1rem;
  --radius-sm: .5rem;
  --header-h: 4.5rem;
  --shadow: 0 1px 2px rgb(43 37 34 / .05), 0 18px 40px -18px rgb(43 37 34 / .22);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (min-width: 48em) {
  :root { --gutter: 2rem; }
}

@media (min-width: 56em) {
  :root { --header-h: 5rem; }
}


/* 2. Base
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

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

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--f-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (min-width: 64em) {
  body { font-size: 1.125rem; }
}

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

img {
  height: auto;
}

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

p,
ul,
ol,
dl,
dd,
address,
figure {
  margin: 0;
}

p {
  text-wrap: pretty; /* évite les mots seuls en fin de paragraphe (navigateurs récents) */
}

p + p {
  margin-top: 1em;
}

a {
  color: var(--c-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
  transition: color .2s;
}

a:hover {
  color: var(--c-accent-dark);
}

:focus-visible {
  outline: 3px solid var(--c-accent);
  outline-offset: 3px;
}

main:focus {
  outline: none;
}

address {
  font-style: normal;
}

ul[role="list"] {
  list-style: none;
  padding: 0;
}

::selection {
  background: var(--c-accent-soft);
  color: var(--c-text);
}


/* 3. Utilitaires
   ========================================================================== */
.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.nowrap {
  white-space: nowrap;
}

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

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  flex: none;
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: absolute;
  top: .75rem;
  left: .75rem;
  z-index: 100;
  padding: .75rem 1.25rem;
  border: 2px solid var(--c-text);
  border-radius: var(--radius-sm);
  background: var(--c-surface); /* pastille claire : bien visible sur le bandeau sombre */
  color: var(--c-text);
  font-weight: 500;
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform .2s;
}

.skip-link:focus {
  color: var(--c-text);
  transform: none;
}


/* 4. Bandeau de démonstration
   ========================================================================== */
.demo-banner {
  padding: .55rem var(--gutter);
  background: var(--c-dark);
  color: var(--c-on-dark);
  font-size: .8125rem;
  line-height: 1.4;
  letter-spacing: .02em;
  text-align: center;
}

.demo-banner p {
  text-wrap: balance;
}


/* 5. En-tête et navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(251 248 243 / .92);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--c-line);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header { background: var(--c-bg); }
}

.site-header__inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  min-height: var(--header-h);
  padding-block: .5rem;
}

/* Nom de la boutique (en attendant le logo).
   Tailles compactes par défaut : nom et bouton Menu tiennent sur une ligne dès 320 px. */
.brand {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--c-text);
  text-decoration: none;
}

.brand:hover {
  color: var(--c-text);
}

.brand__logo {
  display: grid;
  flex: none;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1.5px dashed var(--c-accent);
  border-radius: 50%;
  color: var(--c-accent);
  font-size: .5625rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.brand__text {
  display: flex;
  flex-direction: column;
}

.brand__name {
  font-family: var(--f-serif);
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1;
}

.brand__tagline {
  display: none;
  margin-top: .3rem;
  color: var(--c-muted);
  font-size: .6875rem;
  line-height: 1.2;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* Bouton du menu mobile (visible seulement si JavaScript est actif) */
.nav-toggle {
  display: none;
  align-items: center;
  gap: .6rem;
  min-height: 2.75rem;
  padding: .5rem .75rem;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  background: var(--c-surface);
  color: var(--c-text);
  font: 500 .9375rem/1 var(--f-sans);
  letter-spacing: .02em;
  cursor: pointer;
}

.nav-toggle:hover {
  border-color: var(--c-text);
}

.nav-toggle__icon,
.nav-toggle__icon::before,
.nav-toggle__icon::after {
  display: block;
  width: 1.125rem;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .25s var(--ease), background-color .25s;
}

.nav-toggle__icon {
  position: relative;
}

.nav-toggle__icon::before,
.nav-toggle__icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle__icon::before { top: -6px; }
.nav-toggle__icon::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__icon {
  background-color: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* À partir de 384 px : en-tête un peu plus généreux */
@media (min-width: 24em) {
  .site-header__inner { column-gap: 1rem; }
  .brand { gap: .75rem; }

  .brand__logo {
    width: 2.75rem;
    height: 2.75rem;
    font-size: .625rem;
  }

  .brand__name { font-size: 1.625rem; }
  .nav-toggle { padding-inline: 1rem; }
}

/* Navigation — sans JavaScript : liens affichés sous le nom, sur une ou deux lignes */
.site-nav {
  flex-basis: 100%;
}

.site-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.25rem;
}

.site-nav a {
  display: inline-block;
  padding: .5rem 0;
  color: var(--c-text);
  font-weight: 500;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--c-accent);
}

/* Navigation — avec JavaScript : panneau déroulant sur mobile */
.js .nav-toggle {
  display: inline-flex;
}

.js .site-nav {
  display: none;
  position: absolute;
  top: 100%;
  right: calc(-1 * var(--gutter));
  left: calc(-1 * var(--gutter));
  max-height: calc(100vh - var(--header-h) - 3.5rem);
  max-height: calc(100dvh - var(--header-h) - 3.5rem);
  overflow-y: auto;
  padding: .5rem var(--gutter) 1.25rem; /* .5rem : l’anneau de focus du premier lien n’est pas rogné */
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-line);
  box-shadow: 0 24px 32px -24px rgb(43 37 34 / .35);
}

.js .site-nav.is-open {
  display: block;
}

.js .site-nav__list {
  display: block;
}

.js .site-nav a {
  display: block;
  padding: .9rem 0;
  border-bottom: 1px solid var(--c-line);
  font-size: 1.125rem;
}

.js .site-nav li:last-child a {
  border-bottom: 0;
}

/* Navigation — grand écran : liens alignés à droite du nom */
@media (min-width: 56em) {
  .js .nav-toggle {
    display: none;
  }

  .site-nav,
  .js .site-nav {
    display: block;
    position: static;
    flex-basis: auto;
    max-height: none;
    overflow: visible;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
  }

  .site-nav__list,
  .js .site-nav__list {
    display: flex;
    gap: clamp(1.25rem, 2.5vw, 2.25rem);
  }

  .site-nav a,
  .js .site-nav a {
    position: relative;
    padding: .5rem 0;
    border: 0;
    font-size: .9375rem;
    letter-spacing: .03em;
  }

  .site-nav a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: .25rem;
    left: 0;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s var(--ease);
  }

  .site-nav a:hover::after {
    transform: scaleX(1);
  }
}

@media (min-width: 64em) {
  .brand__tagline { display: block; }
}

/* Fenêtres très basses (téléphone à l’horizontale, fort zoom) : l’en-tête ne reste pas collé */
@media (max-height: 30em) {
  html { scroll-padding-top: 1rem; }
  .site-header { position: relative; }
}


/* 6. Boutons, liens, sur-titres
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 3.125rem;
  padding: .85rem 1.75rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-family: var(--f-sans);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: .02em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .25s, border-color .25s, color .25s, transform .25s var(--ease);
}

.btn .icon {
  width: 1.125rem;
  height: 1.125rem;
}

.btn--primary {
  background: var(--c-accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--c-accent-dark);
  color: #fff;
}

.btn--ghost {
  border-color: var(--c-text);
  color: var(--c-text);
}

.btn--ghost:hover {
  background: var(--c-text);
  color: var(--c-bg);
}

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

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding-block: .35rem;
  font-weight: 500;
}

.link-arrow::after {
  content: "→";
  content: "→" / "";
  transition: transform .25s var(--ease);
}

.link-arrow:hover::after {
  transform: translateX(3px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.25rem;
  color: var(--c-accent);
  font-size: .8125rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.eyebrow::before,
.section-head--center .eyebrow::after {
  content: "";
  flex: none;
  width: 2rem;
  height: 1px;
  background: currentColor;
}


/* 7. Emplacements à compléter (photos et textes)
   Tous les éléments provisoires sont repérables : texte entre crochets,
   style pointillé. Rechercher « [ » dans index.html pour les retrouver.
   ========================================================================== */

/* Emplacement photo : illustration SVG + étiquette « [Photo à fournir] » */
.ph {
  position: relative;
  overflow: hidden;
  background: var(--c-ph);
  border-radius: var(--radius);
}

.ph > img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ph::after {
  content: "";
  position: absolute;
  top: .625rem;
  right: .625rem;
  bottom: .625rem;
  left: .625rem;
  border: 1.5px dashed rgb(124 46 35 / .35);
  border-radius: calc(var(--radius) - .375rem);
  pointer-events: none;
}

.ph__label {
  position: absolute;
  z-index: 1;
  bottom: .875rem;
  left: 50%;
  width: max-content;
  max-width: calc(100% - 2.5rem);
  padding: .3rem .8rem;
  border-radius: 999px;
  background: rgb(255 255 255 / .94);
  box-shadow: 0 2px 10px rgb(43 37 34 / .1);
  color: var(--c-accent-dark);
  font-size: .8125rem;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
  text-wrap: balance;
  transform: translateX(-50%);
}

/* Forme en arche (accueil) : demi-cercle parfait pour un ratio 4/5 */
.ph--arch {
  aspect-ratio: 4 / 5;
  border-radius: 50% 50% var(--radius) var(--radius) / 40% 40% var(--radius) var(--radius);
}

.ph--arch::after {
  border-radius: 50% 50% .625rem .625rem / 40% 40% .625rem .625rem;
}

.ph--portrait {
  aspect-ratio: 4 / 5;
}

/* Quand une vraie photo remplace l’illustration : ajouter la classe ph--photo
   à la <figure> (retire le fond beige et le cadre pointillé « provisoire »). */
.ph--photo {
  background: none;
}

.ph--photo::after {
  content: none;
}

/* Texte à compléter, dans le fil du texte */
.todo {
  padding: .08em .45em;
  border: 1px dashed currentColor;
  border-radius: .375rem;
  background: var(--c-accent-soft);
  color: var(--c-accent-dark);
  font-size: .9375em;
  font-weight: 500;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.todo--soft {
  border-color: rgb(124 46 35 / .4);
  background: transparent;
  font-weight: 400;
}

.todo--dark {
  border-color: rgb(242 211 199 / .55);
  background: rgb(244 228 221 / .1);
  color: #f2d3c7;
}

/* Longs emplacements : un seul cadre net plutôt qu’une pile de fragments */
.todo-line .todo,
.section-head .todo,
.contact__note .todo {
  display: inline-block;
  max-width: 100%;
  padding: .3em .75em;
  line-height: 1.5;
}

/* Cadres centrés : lignes équilibrées (l’espace libre se répartit des deux côtés) */
.section-head--center .todo,
.contact__note .todo {
  text-wrap: balance;
}

/* Bloc de texte à rédiger avec le commerçant */
.todo-block {
  margin-top: 1.75rem;
  padding: 1.25rem 1.5rem;
  border: 1.5px dashed var(--c-accent);
  border-radius: var(--radius);
  background: var(--c-accent-soft);
  color: var(--c-accent-dark);
}

.todo-block__title {
  margin-bottom: .4rem;
  font-weight: 500;
}

.todo-line {
  margin-top: 1.25rem;
}


/* 8. Sections communes
   ========================================================================== */
.section {
  padding-block: var(--section-y);
}

.section--alt {
  background: var(--c-bg-alt);
}

.section-head {
  max-width: 42rem;
  margin-bottom: clamp(2.25rem, 1.75rem + 2vw, 3.5rem);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-title {
  font-size: clamp(2.125rem, 1.6rem + 2.3vw, 3.25rem);
}

.section-title em,
.hero__title em {
  color: var(--c-accent);
  font-style: italic;
  font-weight: 500;
}

.section-lead {
  color: var(--c-muted);
  font-size: 1.125rem;
}


/* 9. Accueil
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  overflow: clip;
  padding-block: clamp(2.5rem, 1.5rem + 5vw, 6rem) clamp(2.5rem, 1rem + 6vw, 7rem);
}

/* Halo décoratif derrière l’arche */
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -12rem;
  right: -14rem;
  width: 38rem;
  height: 38rem;
  border-radius: 50%;
  background: radial-gradient(closest-side, #efe3d4, rgb(239 227 212 / 0));
}

.hero__grid {
  display: grid;
  align-items: center;
  gap: 3rem;
}

.hero__title {
  margin-bottom: 1.5rem;
  font-size: clamp(2.5rem, 1.5rem + 5vw, 4.75rem); /* « à Cambo-les-Bains » tient sur une ligne dès 320 px */
  line-height: 1.02;
}

.hero__title em {
  display: block;
}

.hero__lead {
  max-width: 34rem;
  margin-bottom: 2.25rem;
  color: var(--c-muted);
  font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.hero__actions .btn {
  flex: 1 1 13rem;
}

.hero__media {
  justify-self: center;
  width: 100%;
  max-width: min(26rem, 100% - 1rem);
  margin-right: 1rem; /* réserve la place de l’ombre décalée : arche + ombre restent dans la colonne */
  box-shadow: 1rem 1rem 0 0 var(--c-bg-alt);
}

@media (min-width: 40em) {
  .hero__actions .btn { flex: 0 0 auto; }
}

@media (min-width: 56em) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: clamp(3rem, 6vw, 6rem);
  }

  /* La colonne de texte est deux fois plus étroite : nouvelle progression de la taille */
  .hero__title { font-size: clamp(3.5rem, 6.8vw, 4.75rem); }

  .hero__media { justify-self: end; }
}


/* 10. La boutique
   ========================================================================== */
.split {
  display: grid;
  align-items: center;
  gap: 2.5rem;
}

.split__media {
  justify-self: center;
  width: 100%;
  max-width: 28rem;
}

@media (min-width: 48em) {
  .split {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    align-items: start;
    gap: clamp(3rem, 7vw, 6.5rem);
  }

  /* L’image s’aligne en haut du texte et reste visible pendant la lecture */
  .split__media {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
    justify-self: stretch;
    max-width: none;
  }
}

/* Fenêtres basses : l’image, plus haute que l’écran, ne reste pas collée
   (relative et non static : la figure positionne son image et sa légende) */
@media (min-width: 48em) and (max-height: 30em) {
  .split__media {
    position: relative;
    top: auto;
  }
}


/* 11. Nos univers
   ========================================================================== */
.cards {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 40em) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

@media (min-width: 64em) {
  .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
  }
}

.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
}

.card__media {
  aspect-ratio: 4 / 3;
  border-radius: 0;
}

.card__body {
  padding: 1.5rem 1.5rem 1.75rem;
}

.card__num {
  margin-bottom: .35rem;
  color: var(--c-accent);
  font-family: var(--f-serif);
  font-size: 1.125rem;
  font-style: italic;
  font-weight: 500;
}

.card__title {
  margin-bottom: .5rem;
  font-size: 1.75rem;
}

.card__text {
  color: var(--c-muted);
}


/* 12. Galerie
   ========================================================================== */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(clamp(9rem, 40vw, 14rem), auto); /* les rangées grandissent si le texte l’exige */
  gap: .75rem;
}

.gallery__item {
  position: relative;
  min-width: 0;
}

.gallery__item:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery__item:last-child {
  grid-column: span 2;
}

@media (min-width: 48em) {
  .gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: minmax(clamp(10rem, 19vw, 15rem), auto);
    gap: 1rem;
  }

  /* 8 photos sur 3 colonnes : la dernière s’étire sur 2 colonnes pour finir la rangée. */
  .gallery__item:last-child { grid-column: span 2; }
}

.gallery .ph {
  height: 100%;
}

/* Quand les vraies photos remplacent les tuiles : <img> directement dans le <li>.
   Hors du flux, la photo est recadrée sans modifier la hauteur des rangées. */
.gallery__item > img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  object-fit: cover;
}

.ph--tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: 1.25rem 1rem;
  text-align: center;
}

.ph__icon {
  width: 2rem;
  height: 2rem;
  color: var(--c-accent);
  stroke-width: 1.4;
}

.gallery__item:first-child .ph__icon {
  width: 2.75rem;
  height: 2.75rem;
}

.ph__title {
  display: block;
  color: var(--c-accent-dark);
  font-size: .9375rem;
  font-weight: 500;
}

.ph__hint {
  display: block;
  margin-top: .15rem;
  color: var(--c-muted);
  font-size: .8125rem;
  line-height: 1.4;
}

/* Variations de ton pour rythmer la grille */
.gallery__item:nth-child(1) .ph { background: #e9ded0; }
.gallery__item:nth-child(2) .ph { background: #efe6da; }
.gallery__item:nth-child(3) .ph { background: #e5d8c7; }
.gallery__item:nth-child(4) .ph { background: #ede2d3; }
.gallery__item:nth-child(5) .ph { background: #e7daca; }
.gallery__item:nth-child(6) .ph { background: #f0e8dd; }


/* 13. Infos pratiques
   ========================================================================== */
.infos {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 56em) {
  .infos {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: start;
    gap: 2rem;
  }
}

.infos__card {
  display: grid;
  align-content: start;
  gap: 2rem;
  padding: clamp(1.5rem, 1rem + 2.5vw, 2.75rem);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
}

.infos__title {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .85rem;
  font-size: 1.625rem;
}

.infos__title .icon {
  width: 1.375rem;
  height: 1.375rem;
  color: var(--c-accent);
}

.infos__address {
  font-size: 1.125rem;
  line-height: 1.55;
}

.infos__note {
  margin-top: .5rem;
  color: var(--c-muted);
  font-size: .9375rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-bottom: .85rem;
  padding: .35rem .9rem;
  border-radius: 999px;
  background: var(--c-accent-soft);
  color: var(--c-accent-dark);
  font-size: .875rem;
  font-weight: 500;
}

.badge .icon {
  width: 1rem;
  height: 1rem;
}

.hours {
  max-width: 28rem;
  margin-top: 1rem;
}

.hours__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .25rem 1rem;
  padding-block: .55rem;
  border-bottom: 1px dashed var(--c-line);
}

.hours__row:first-child {
  border-top: 1px dashed var(--c-line);
}

.hours dt {
  font-weight: 500;
}

.infos__list li + li {
  margin-top: .5rem;
}

.infos__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

.infos__map {
  position: relative;
  min-height: 22rem;
  overflow: hidden;
  background: var(--c-ph);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
}

.infos__map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Grand écran : carte de hauteur raisonnable, qui reste visible pendant la lecture des infos */
@media (min-width: 56em) {
  .infos__map {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
    min-height: 0;
    height: min(34rem, 100vh - var(--header-h) - 3rem);
  }
}


/* 14. Contact
   ========================================================================== */
.contact-cards {
  display: grid;
  gap: 1rem;
}

/* 2 colonnes (l’adresse en pleine largeur) puis 3 colonnes quand l’e-mail tient sur une ligne */
@media (min-width: 48em) {
  .contact-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .contact-card:last-child { grid-column: 1 / -1; }
}

@media (min-width: 64em) {
  .contact-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact-card:last-child { grid-column: auto; }
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  padding: 2rem 1.5rem;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  text-align: center;
}

.contact-card__icon {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: .75rem;
  border-radius: 50%;
  background: var(--c-accent-soft);
  color: var(--c-accent);
}

.contact-card__icon .icon {
  width: 1.5rem;
  height: 1.5rem;
}

.contact-card__title {
  margin: 0;
  font-size: 1.5rem;
}

.contact-card__link {
  padding: .25rem .5rem;
  color: var(--c-text);
  font-size: clamp(1.0625rem, .95rem + .5vw, 1.1875rem);
  font-weight: 500;
  text-decoration-color: rgb(154 59 46 / .45);
  overflow-wrap: anywhere;
}

.contact-card__link:hover {
  color: var(--c-accent);
  text-decoration-color: currentColor;
}

.contact-card__text {
  color: var(--c-muted);
}

.contact__note {
  margin-top: 2rem;
  text-align: center;
}


/* 15. Pied de page
   ========================================================================== */
.site-footer {
  border-top: 4px solid var(--c-accent);
  background: var(--c-dark);
  color: var(--c-on-dark-muted);
  font-size: .9375rem;
}

.site-footer a {
  color: var(--c-on-dark);
  text-decoration-color: rgb(243 237 228 / .35);
}

.site-footer a:hover {
  color: #fff;
  text-decoration-color: currentColor;
}

.site-footer :focus-visible {
  outline-color: #f2d3c7;
}

.site-footer__grid {
  display: grid;
  gap: 2.5rem;
  padding-block: clamp(3rem, 2rem + 4vw, 4.5rem);
}

@media (min-width: 48em) {
  .site-footer__grid {
    grid-template-columns: 1.3fr 1fr 1.3fr;
  }
}

.site-footer__name {
  margin-bottom: .75rem;
  color: var(--c-on-dark);
  font-family: var(--f-serif);
  font-size: 1.875rem;
  font-weight: 600;
  line-height: 1.1;
}

.site-footer__heading {
  margin-bottom: 1rem;
  color: var(--c-on-dark);
  font-family: var(--f-sans);
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.site-footer__links li + li {
  margin-top: .35rem;
}

.site-footer__links a {
  display: inline-block;
  padding-block: .2rem;
  text-decoration: none;
}

.site-footer__links a:hover {
  text-decoration: underline;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem 2rem;
  padding-block: 1.5rem;
  border-top: 1px solid rgb(243 237 228 / .15);
  font-size: .8125rem;
}

.site-footer__bottom p {
  margin: 0;
}


/* 18. Pages intérieures et liens entre pages
   (placé avant les sections 16-17 pour que leurs réglages d’accessibilité gardent le dernier mot)
   ========================================================================== */

/* Page en cours dans le menu */
.site-nav a[aria-current="page"] {
  color: var(--c-accent);
}

@media (min-width: 56em) {
  .site-nav a[aria-current="page"]::after {
    transform: scaleX(1);
  }
}

.site-footer__links a[aria-current="page"] {
  text-decoration: underline;
}

/* Liens vers la page « Nos univers » depuis l’accueil */
.card__title a {
  color: inherit;
  text-decoration: none;
}

.card__title a:hover {
  color: var(--c-accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.section-cta {
  margin-top: clamp(2rem, 1.5rem + 2vw, 3rem);
  text-align: center;
}

.split__more {
  margin-top: 1.5rem;
}

.container--narrow {
  max-width: 50rem;
}

.section--tight {
  padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem);
}

/* En-tête des pages intérieures */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  overflow: clip;
  padding-block: clamp(2rem, 1.5rem + 3vw, 4rem) clamp(2rem, 1.5rem + 3vw, 3.5rem);
  border-bottom: 1px solid var(--c-line);
}

.page-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -14rem;
  right: -12rem;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  background: radial-gradient(closest-side, #efe3d4, rgb(239 227 212 / 0));
}

.page-hero__title {
  max-width: 22ch;
  margin-bottom: 1.25rem;
  font-size: clamp(2.375rem, 1.6rem + 3.4vw, 4rem);
  line-height: 1.05;
}

.page-hero__title em {
  color: var(--c-accent);
  font-style: italic;
  font-weight: 500;
}

.page-hero--compact .page-hero__title {
  max-width: none;
}

.page-hero__lead {
  max-width: 42rem;
  color: var(--c-muted);
  font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem);
}

.page-hero__todo {
  margin-top: 1.25rem;
}

.page-hero__todo .todo {
  display: inline-block;
  max-width: 100%;
  padding: .3em .75em;
  line-height: 1.5;
}

/* Fil d’Ariane */
.breadcrumb {
  margin-bottom: 1.5rem;
  font-size: .875rem;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem .5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumb li + li::before {
  content: "›";
  content: "›" / "";
  margin-right: .5rem;
  color: var(--c-muted);
}

.breadcrumb a {
  display: inline-block;
  padding-block: .2rem;
}

.breadcrumb [aria-current="page"] {
  color: var(--c-muted);
}

/* Sommaire de la page « Nos univers » */
.toc {
  margin-top: 2rem;
}

.toc ul {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

.toc a {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: .4rem 1rem;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  background: var(--c-surface);
  color: var(--c-text);
  font-size: .9375rem;
  text-decoration: none;
  transition: border-color .2s, color .2s;
}

.toc a:hover {
  border-color: var(--c-accent);
  color: var(--c-accent);
}

/* Univers en détail : image et texte en alternance */
.features {
  display: grid;
  gap: clamp(3rem, 2rem + 4vw, 6rem);
}

.feature {
  display: grid;
  align-items: center;
  gap: 1.75rem;
}

.feature__media {
  aspect-ratio: 4 / 3;
}

.feature__num {
  margin-bottom: .35rem;
  color: var(--c-accent);
  font-family: var(--f-serif);
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 500;
}

.feature__title {
  font-size: clamp(1.875rem, 1.5rem + 1.6vw, 2.625rem);
}

.feature__body > p:not(.feature__num) + p {
  margin-top: 1rem;
}

@media (min-width: 48em) {
  .feature {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2.5rem, 5vw, 5rem);
  }

  /* Une ligne sur deux, l’image passe à droite */
  .feature:nth-child(even) .feature__media {
    order: 2;
  }
}

/* Venir à la boutique */
.visit {
  display: grid;
  align-items: center;
  gap: 2.5rem;
}

.visit__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2rem;
}

.visit .visit__facts { /* sélecteur renforcé : l’emporte sur ul[role="list"] { padding: 0 } */
  display: grid;
  gap: 1rem;
  padding: clamp(1.5rem, 1rem + 2vw, 2.25rem);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
}

.visit__facts li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
}

.visit__facts .icon {
  margin-top: .2em;
  color: var(--c-accent);
}

.visit__facts a {
  color: var(--c-text);
  overflow-wrap: anywhere;
}

@media (min-width: 56em) {
  .visit {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
    gap: 4rem;
  }
}

/* Questions fréquentes */
.faq {
  border-top: 1px solid var(--c-line);
}

.faq details {
  border-bottom: 1px solid var(--c-line);
}

.faq summary {
  position: relative;
  padding: 1.15rem 2.5rem 1.15rem 0;
  font-family: var(--f-serif);
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.25;
  list-style: none;
  cursor: pointer;
}

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

.faq summary::after {
  content: "+";
  content: "+" / "";
  position: absolute;
  top: 50%;
  right: .25rem;
  color: var(--c-accent);
  font-family: var(--f-sans);
  font-size: 1.5rem;
  font-weight: 400;
  transform: translateY(-50%);
}

.faq details[open] summary::after {
  content: "−";
  content: "−" / "";
}

.faq details p {
  padding-bottom: 1.25rem;
  color: var(--c-muted);
}

/* Texte des mentions légales */
.prose section + section {
  margin-top: 2.5rem;
}

.prose h2 {
  font-size: clamp(1.625rem, 1.4rem + 1vw, 2.125rem);
}

.prose ul {
  display: grid;
  gap: .4rem;
  margin-top: .75rem;
  padding-left: 1.2rem;
}

.prose ul + p,
.prose p + ul {
  margin-top: 1rem;
}

.prose a {
  overflow-wrap: anywhere;
}

.prose__update {
  margin-top: 2rem;
  color: var(--c-muted);
  font-size: .9375rem;
}


/* 16. Apparitions au défilement
   Les blocs ne sont masqués que si JavaScript est actif (classe .js) :
   sans JavaScript, tout le contenu reste visible.
   ========================================================================== */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.js [data-reveal].is-visible,
.js [data-reveal]:focus-within {
  opacity: 1;
  transform: none;
}

.js .cards > :nth-child(3n + 2),
.js .gallery > :nth-child(3n + 2),
.js .contact-cards > :nth-child(3n + 2) {
  transition-delay: .1s;
}

.js .cards > :nth-child(3n),
.js .gallery > :nth-child(3n),
.js .contact-cards > :nth-child(3n) {
  transition-delay: .2s;
}


/* 17. Préférences d’affichage
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media (forced-colors: active) {
  .nav-toggle__icon,
  .nav-toggle__icon::before,
  .nav-toggle__icon::after {
    forced-color-adjust: none;
    background: ButtonText;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle__icon {
    background: transparent;
  }
}

@media print {
  .site-header {
    position: static;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .skip-link,
  .nav-toggle,
  .infos__map {
    display: none;
  }

  .js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .section {
    padding-block: 2rem;
  }
}
