/* ==========================================================================
   Kukuka — maquette de démonstration réalisée par KA Performance
   Feuille de style commune à index.html et la-boutique.html

   Mobile d'abord : les règles de base visent le téléphone, les blocs
   @media (min-width: …) enrichissent la mise en page sur tablette et ordinateur.

   Sommaire
   1. Variables          6. En-tête et menu        11. Univers (cartes)
   2. Base               7. Boutons et liens       12. Infos pratiques
   3. Utilitaires        8. Sections               13. Contact
   4. Repères « à        9. Bannière d'accueil     14. Page « La boutique »
      compléter »       10. Présentation           15. Pied de page
   5. Bandeau démo                                 16. Animations
   ========================================================================== */


/* --------------------------------------------------------------------------
   1. Variables — palette tirée des photos de la boutique
   -------------------------------------------------------------------------- */
:root {
  color-scheme: light;

  --c-chaux: #faf7f2;          /* fond principal : murs enduits */
  --c-lin: #f1ebe2;            /* fond alterné : enseigne beige */
  --c-blanc: #ffffff;
  --c-encre: #2b2925;          /* texte : menuiseries anthracite */
  --c-taupe: #5f574d;          /* texte secondaire */
  --c-raphia: #c9a57a;         /* filets, décor (jamais pour du texte sur fond clair) */
  --c-terre: #9a4c2a;          /* sur-titres : jarres en terre cuite */
  --c-sauge: #7e8c72;          /* accent décoratif : lettres de l'enseigne et du logo */
  --c-sauge-profond: #4b5b43;  /* accent lisible : boutons, liens */
  --c-sauge-nuit: #36432f;     /* sections foncées */
  --c-ligne: #e3d8c9;          /* traits fins */

  /* Repères « à compléter » : volontairement visibles, à retirer une fois remplis */
  --c-todo-fond: #fcf0da;
  --c-todo-texte: #6b3f12;
  --c-todo-bord: #b07535;

  --f-titre: "Fraunces", Georgia, "Times New Roman", serif;
  --f-texte: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --conteneur: 72rem;
  --gouttiere: clamp(1.25rem, 4vw, 2.5rem);
  --espace-section: clamp(4rem, 2.75rem + 5vw, 7.5rem);
  --rayon: 0.875rem;
  --arche: 999px 999px var(--rayon) var(--rayon);
  --ombre: 0 1px 2px rgb(43 41 37 / 0.06), 0 22px 44px -22px rgb(43 41 37 / 0.35);
  --hauteur-entete: 4.5rem;
  --courbe: cubic-bezier(0.2, 0.7, 0.2, 1);
}


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

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

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

body {
  margin: 0;
  background: var(--c-chaux);
  color: var(--c-encre);
  font-family: var(--f-texte);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

img {
  height: auto;
  font-style: italic; /* texte alternatif lisible si l'image ne charge pas */
}

picture {
  display: block;
}

h1,
h2,
h3 {
  margin: 0 0 0.5em;
  font-family: var(--f-titre);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.5rem, 1.55rem + 4.2vw, 4.75rem);
  line-height: 1.03;
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(2rem, 1.45rem + 2.4vw, 3.25rem);
}

h3 {
  font-size: clamp(1.3rem, 1.15rem + 0.55vw, 1.6rem);
  line-height: 1.2;
}

h1 em,
h2 em {
  font-style: italic;
  color: var(--c-sauge-profond);
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--c-sauge-profond);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--c-sauge-nuit);
}

address {
  font-style: normal;
}

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

/* Les ancres ne passent pas sous l'en-tête collant */
[id] {
  scroll-margin-top: calc(var(--hauteur-entete) + 1rem);
}

::selection {
  background: var(--c-sauge-profond);
  color: var(--c-blanc);
}


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

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 100;
  padding: 0.75rem 1.1rem;
  border-radius: 0.5rem;
  background: var(--c-encre);
  color: var(--c-chaux);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
  color: var(--c-chaux);
}

.icon {
  flex: none;
  width: 1.15em;
  height: 1.15em;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.1rem;
  color: var(--c-terre);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  flex: none;
  width: 2rem;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.lead {
  max-width: 36rem;
  color: var(--c-taupe);
  font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
  line-height: 1.6;
}


/* --------------------------------------------------------------------------
   4. Repères « à compléter »
   Tout ce qui est inconnu apparaît ainsi. Rechercher class="todo" dans le
   HTML pour tous les retrouver (liste complète dans le README).
   -------------------------------------------------------------------------- */
.todo {
  padding: 0.08em 0.45em;
  border: 1px dashed var(--c-todo-bord);
  border-radius: 0.375rem;
  background: var(--c-todo-fond);
  color: var(--c-todo-texte);
  font-family: var(--f-texte);
  font-size: 0.92em;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.photo-todo {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.5rem;
  width: 100%;
  height: 100%;
  padding: 0.75rem;
  border: 1px dashed var(--c-todo-bord);
  border-radius: inherit;
  background: var(--c-lin);
  color: var(--c-todo-texte);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
}

.photo-todo .icon {
  width: 1.75rem;
  height: 1.75rem;
  opacity: 0.8;
}


/* --------------------------------------------------------------------------
   5. Bandeau « maquette de démonstration »
   -------------------------------------------------------------------------- */
.demo-banner {
  padding: 0.5rem var(--gouttiere);
  background: var(--c-sauge-nuit);
  color: var(--c-chaux);
  font-size: 0.8125rem;
  line-height: 1.45;
  text-align: center;
}

.demo-banner p {
  margin: 0;
}


/* --------------------------------------------------------------------------
   6. En-tête et menu
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--c-ligne);
  background: rgb(250 247 242 / 0.94);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
}

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  min-height: var(--hauteur-entete);
  padding-block: 0.5rem;
}

.brand {
  display: inline-block;
  border-radius: 0.25rem;
}

.brand img {
  width: auto;
  height: 3rem;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  position: relative;
  display: inline-block;
  padding: 0.5rem 0.1rem;
  color: var(--c-encre);
  font-weight: 500;
  text-decoration: none;
}

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

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.site-nav a[aria-current="page"] {
  color: var(--c-sauge-profond);
}

/* Bouton du menu mobile (visible seulement si JavaScript est actif) */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.75rem;
  padding: 0.5rem 1rem;
  border: 1px solid rgb(43 41 37 / 0.2);
  border-radius: 999px;
  background: transparent;
  color: var(--c-encre);
  font: 500 0.9375rem/1 var(--f-texte);
  cursor: pointer;
}

.nav-toggle__icon {
  position: relative;
  width: 1.1rem;
  height: 0.8rem;
}

.nav-toggle__icon::before,
.nav-toggle__icon::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  border-radius: 1px;
  background: currentColor;
  transition: transform 0.3s var(--courbe), top 0.3s var(--courbe);
}

.nav-toggle__icon::before {
  top: 0.1rem;
}

.nav-toggle__icon::after {
  top: 0.6rem;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon::before {
  top: 0.35rem;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon::after {
  top: 0.35rem;
  transform: rotate(-45deg);
}

@media (max-width: 55.99em) {
  .js .nav-toggle {
    display: inline-flex;
  }

  .js .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    padding: 0.25rem var(--gouttiere) 1.75rem;
    border-bottom: 1px solid var(--c-ligne);
    background: var(--c-chaux);
    box-shadow: 0 28px 40px -28px rgb(43 41 37 / 0.35);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-0.5rem);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
  }

  .js .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s;
  }

  .js .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .js .site-nav a {
    display: block;
    padding: 1rem 0;
    border-bottom: 1px solid var(--c-ligne);
    font-family: var(--f-titre);
    font-size: 1.5rem;
    font-weight: 400;
  }

  .js .site-nav a::after {
    display: none;
  }
}

@media (min-width: 56em) {
  .brand img {
    height: 3.5rem;
  }

  .site-nav ul {
    gap: 2rem;
  }

  .site-nav .site-nav__cta {
    padding: 0.55rem 1.25rem;
    border: 1px solid var(--c-sauge-profond);
    border-radius: 999px;
    color: var(--c-sauge-profond);
    transition: background-color 0.25s ease, color 0.25s ease;
  }

  .site-nav .site-nav__cta::after {
    display: none;
  }

  .site-nav .site-nav__cta:hover {
    background: var(--c-sauge-profond);
    color: var(--c-blanc);
  }
}


/* --------------------------------------------------------------------------
   7. Boutons et liens
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0.8rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 600 0.975rem/1.2 var(--f-texte);
  letter-spacing: 0.01em;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s var(--courbe);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--c-sauge-profond);
  color: var(--c-blanc);
}

.btn--primary:hover {
  background: var(--c-sauge-nuit);
  color: var(--c-blanc);
}

.btn--ghost {
  border-color: rgb(43 41 37 / 0.25);
  color: var(--c-encre);
}

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

.btn--light {
  background: var(--c-chaux);
  color: var(--c-sauge-nuit);
}

.btn--light:hover {
  background: var(--c-blanc);
  color: var(--c-sauge-nuit);
}

.btn--outline-light {
  border-color: rgb(250 247 242 / 0.45);
  color: var(--c-chaux);
}

.btn--outline-light:hover {
  border-color: var(--c-chaux);
  background: rgb(250 247 242 / 0.08);
  color: var(--c-chaux);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid currentColor;
  color: var(--c-sauge-profond);
  font-weight: 600;
  text-decoration: none;
}

.link-arrow span {
  transition: transform 0.3s var(--courbe);
}

.link-arrow:hover span {
  transform: translateX(4px);
}


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

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

.section--dark {
  background: var(--c-sauge-nuit);
  color: var(--c-chaux);
}

.section--dark h2 {
  color: var(--c-chaux);
}

.section--dark h2 em {
  color: var(--c-raphia);
}

.section--dark .eyebrow {
  color: var(--c-raphia);
}

.section--dark :focus-visible {
  outline-color: var(--c-chaux);
}

.section-head {
  max-width: 42rem;
  margin-bottom: clamp(2.25rem, 1.5rem + 2.5vw, 3.75rem);
}

.section-head > p:not(.eyebrow) {
  color: var(--c-taupe);
}

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

.section-head--center .eyebrow {
  justify-content: center;
}

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

.section-foot {
  margin: clamp(2.25rem, 1.5rem + 2vw, 3.5rem) 0 0;
}


/* --------------------------------------------------------------------------
   9. Bannière d'accueil
   -------------------------------------------------------------------------- */
.hero {
  overflow-x: clip;
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem) clamp(4rem, 2.75rem + 4.5vw, 7rem);
}

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

.hero h1 {
  margin-bottom: 1.5rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero__media {
  position: relative;
  isolation: isolate;
  width: calc(100% - 1rem);
  max-width: 30rem;
  margin-inline: auto;
}

/* Arche décorative décalée, en filet raphia (rappelle les niches voûtées de la boutique) */
.hero__media::before {
  content: "";
  position: absolute;
  inset: 1rem -1rem -1rem 1rem;
  z-index: -1;
  border: 1px solid var(--c-raphia);
  border-radius: var(--arche);
}

.hero__arch {
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: var(--arche);
  background: var(--c-lin);
  box-shadow: var(--ombre);
}

.hero__arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__badge {
  position: absolute;
  bottom: 2rem;
  left: -0.5rem;
  display: grid;
  place-content: center;
  width: 7rem;
  height: 7rem;
  margin: 0;
  border-radius: 50%;
  background: var(--c-sauge-profond);
  box-shadow: var(--ombre);
  color: var(--c-chaux);
  font-size: 0.75rem;
  line-height: 1.25;
  text-align: center;
  transform: rotate(-8deg);
}

.hero__badge strong {
  display: block;
  font-family: var(--f-titre);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.1;
}

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

  .hero__badge {
    left: -2.5rem;
    width: 8rem;
    height: 8rem;
    font-size: 0.8125rem;
  }

  .hero__badge strong {
    font-size: 1.5rem;
  }
}


/* --------------------------------------------------------------------------
   10. Présentation (accueil)
   -------------------------------------------------------------------------- */
.intro__grid {
  display: grid;
  align-items: center;
  gap: 2.5rem;
}

.intro__media {
  margin: 0;
}

.intro__media img {
  width: 100%;
  border-radius: var(--rayon);
  box-shadow: var(--ombre);
}

.intro__media figcaption {
  margin-top: 0.85rem;
  color: var(--c-taupe);
  font-size: 0.875rem;
}

.merchant-note {
  margin-top: 2rem;
  padding: 1.5rem 1.5rem 1.6rem;
  border-left: 3px solid var(--c-sauge);
  border-radius: 0 var(--rayon) var(--rayon) 0;
  background: var(--c-chaux);
}

.merchant-note__label {
  margin-bottom: 0.6rem;
  color: var(--c-taupe);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.merchant-note__sign {
  margin-top: 0.9rem;
  font-family: var(--f-titre);
  font-style: italic;
}

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


/* --------------------------------------------------------------------------
   11. Univers : cartes de l'accueil
   -------------------------------------------------------------------------- */
.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.card {
  position: relative;
  border-radius: var(--arche);
}

.card__media {
  overflow: hidden;
  aspect-ratio: 3 / 4;
  margin-bottom: 1rem;
  border-radius: var(--arche);
  background: var(--c-chaux);
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--courbe);
}

.card:hover .card__media img {
  transform: scale(1.045);
}

.card h3 {
  margin-bottom: 0.35rem;
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem);
}

.card h3 a {
  color: var(--c-encre);
  text-decoration: none;
}

/* Toute la carte est cliquable, le lien reste le titre */
.card h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}

.card h3 a:focus-visible {
  outline: none;
}

.card:has(a:focus-visible) {
  outline: 2px solid var(--c-sauge-profond);
  outline-offset: 6px;
}

.card p {
  margin-bottom: 0.5rem;
  color: var(--c-taupe);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--c-sauge-profond);
  font-size: 0.875rem;
  font-weight: 600;
}

.card__more span {
  transition: transform 0.3s var(--courbe);
}

.card:hover .card__more span {
  transform: translateX(4px);
}

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


/* --------------------------------------------------------------------------
   12. Infos pratiques
   -------------------------------------------------------------------------- */
.infos__grid {
  display: grid;
  gap: 2.5rem;
}

.info-block + .info-block {
  margin-top: 2.25rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--c-ligne);
}

.info-block h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.9rem;
  font-size: 1.35rem;
}

.info-block h3 .icon {
  color: var(--c-sauge);
}

.info-block address {
  margin-bottom: 1.25rem;
  font-size: 1.125rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgb(75 91 67 / 0.1);
  color: var(--c-sauge-profond);
  font-size: 0.875rem;
  font-weight: 600;
}

.pill::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: currentColor;
}

.hours {
  max-width: 30rem;
  margin: 0;
}

.hours div {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px dashed var(--c-ligne);
}

.hours dt {
  font-weight: 500;
}

.hours dd {
  margin: 0;
  text-align: right;
}

.hours .is-closed dt,
.hours .is-closed dd {
  color: var(--c-terre);
}

.hours .is-closed dd {
  font-weight: 600;
}

.map {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--c-ligne);
  border-radius: var(--rayon);
  background: var(--c-lin);
}

.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 0.9rem 0 0;
  font-size: 0.9375rem;
}

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

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

  .map {
    flex: 1;
    aspect-ratio: auto;
    min-height: 26rem;
  }
}


/* --------------------------------------------------------------------------
   13. Contact (accueil)
   -------------------------------------------------------------------------- */
.contact__inner {
  display: grid;
  align-items: center;
  gap: 2.5rem;
}

.contact__text p:not(.eyebrow) {
  max-width: 30rem;
  color: rgb(250 247 242 / 0.85);
}

.contact__actions {
  display: grid;
  gap: 1rem;
}

.contact-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: 1rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid rgb(250 247 242 / 0.22);
  border-radius: 1rem;
  color: var(--c-chaux);
  text-decoration: none;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.contact-card:hover {
  border-color: rgb(250 247 242 / 0.55);
  background: rgb(250 247 242 / 0.06);
  color: var(--c-chaux);
}

.contact-card__icon {
  display: grid;
  grid-row: span 2;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--c-chaux);
  color: var(--c-sauge-nuit);
}

.contact-card__label {
  color: var(--c-raphia);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-card__value {
  font-family: var(--f-titre);
  font-size: clamp(1.15rem, 1rem + 1vw, 1.6rem);
  line-height: 1.25;
  overflow-wrap: anywhere;
}

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

  .contact-card {
    padding: 1.4rem 1.6rem;
  }

  .contact-card__icon {
    width: 3.25rem;
    height: 3.25rem;
  }
}


/* --------------------------------------------------------------------------
   14. Page « La boutique »
   -------------------------------------------------------------------------- */

/* En-tête de page */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 5.5rem) clamp(3rem, 2rem + 3.5vw, 5rem);
  background: var(--c-lin);
}

/* Arches décoratives en filet raphia : seulement sur grand écran,
   là où elles ne passent jamais derrière le texte */
.page-hero::before,
.page-hero::after {
  content: none;
  position: absolute;
  bottom: -2px;
  width: 22rem;
  height: 30rem;
  border: 1px solid var(--c-raphia);
  border-radius: 999px 999px 0 0;
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  max-width: 13ch;
  margin-bottom: 1.25rem;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.75rem;
  padding: 0;
  color: var(--c-taupe);
  font-size: 0.875rem;
  list-style: none;
}

.breadcrumb li + li::before {
  content: "/";
  content: "/" / ""; /* séparateur ignoré par les lecteurs d'écran */
  margin-right: 0.5rem;
  color: var(--c-terre);
}

.chips ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.chips a {
  display: inline-block;
  padding: 0.5rem 1rem;
  border: 1px solid rgb(43 41 37 / 0.18);
  border-radius: 999px;
  background: var(--c-chaux);
  color: var(--c-encre);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.chips a:hover {
  border-color: var(--c-sauge-profond);
  color: var(--c-sauge-profond);
}

@media (min-width: 72em) {
  .page-hero::before,
  .page-hero::after {
    content: "";
  }

  .page-hero::before {
    right: 4rem;
    opacity: 0.55;
  }

  .page-hero::after {
    right: 9rem;
    opacity: 0.35;
  }
}

/* Univers : fiches « catalogue » numérotées */
.catalog {
  display: grid;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--c-ligne);
  list-style: none;
}

.catalog__item {
  display: grid;
  grid-template-columns: clamp(6rem, 30vw, 8rem) minmax(0, 1fr);
  align-items: center;
  gap: 1.25rem;
  padding-block: 1.5rem;
  border-bottom: 1px solid var(--c-ligne);
}

.catalog__media {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: var(--rayon);
  background: var(--c-lin);
}

.catalog__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--courbe);
}

.catalog__item:hover .catalog__media img {
  transform: scale(1.04);
}

.catalog__num {
  margin: 0 0 0.3rem;
  color: var(--c-terre);
  font-family: var(--f-titre);
  font-size: 1rem;
  font-style: italic;
}

.catalog__body h3 {
  margin-bottom: 0.4rem;
}

.catalog__body p:not(.catalog__num) {
  max-width: 30rem;
  color: var(--c-taupe);
}

@media (min-width: 48em) {
  .catalog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(2rem, 4vw, 4rem);
  }

  .catalog__item {
    grid-template-columns: 9.5rem minmax(0, 1fr);
    gap: 1.75rem;
    padding-block: 2rem;
  }

  /* Le dernier univers, seul sur sa ligne, prend toute la largeur */
  .catalog__item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

@media (min-width: 64em) {
  .catalog__item {
    grid-template-columns: 11.5rem minmax(0, 1fr);
  }
}

/* Du vintage au moderne */
.esprit__grid {
  display: grid;
  gap: 1.5rem;
}

.esprit__title {
  font-size: clamp(2.75rem, 1.6rem + 5vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.esprit__text {
  max-width: 34rem;
}

.esprit__text p:first-child {
  font-family: var(--f-titre);
  font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.6rem);
  line-height: 1.4;
}

.esprit__text p {
  margin-bottom: 1.25em;
}

@media (min-width: 56em) {
  .esprit__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: end;
    gap: clamp(3rem, 6vw, 6rem);
  }
}

/* Artisans locaux */
.artisans__inner {
  display: grid;
  gap: 2rem;
}

.brands {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.brands li {
  display: flex;
  align-items: center;
  min-height: 4.5rem;
  padding: 1rem 1.5rem;
  border: 1px solid var(--c-ligne);
  border-radius: var(--rayon);
  background: var(--c-blanc);
  font-family: var(--f-titre);
  font-size: clamp(1.35rem, 1.2rem + 0.7vw, 1.75rem);
  line-height: 1.2;
}

.brands li.brands__todo {
  border-style: dashed;
  border-color: var(--c-todo-bord);
  background: transparent;
  font-size: 1rem;
}

@media (min-width: 56em) {
  .artisans__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(3rem, 6vw, 6rem);
  }
}

/* Galerie */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gallery__item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: var(--rayon);
  background: var(--c-chaux);
}

.gallery__item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--courbe);
}

.gallery__item:hover img {
  transform: scale(1.04);
}

@media (min-width: 48em) {
  .gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    max-width: 62rem;
    margin-inline: auto;
  }

  /* La photo de l'intérieur occupe 2 colonnes x 2 rangées : grille 3 x 3 complète */
  .gallery__item--feature {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
  }
}

/* Venez nous rendre visite */
.visit__grid {
  display: grid;
  align-items: center;
  gap: 2.5rem;
}

.visit__media {
  margin: 0;
}

.visit__media img {
  width: 100%;
  border-radius: var(--rayon);
}

.visit__address {
  margin-bottom: 1rem;
  font-family: var(--f-titre);
  font-size: clamp(1.35rem, 1.15rem + 1vw, 1.9rem);
  line-height: 1.3;
}

.visit__text p:not(.eyebrow) {
  color: rgb(250 247 242 / 0.85);
}

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

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


/* --------------------------------------------------------------------------
   15. Pied de page
   -------------------------------------------------------------------------- */
.site-footer {
  padding-block: clamp(3rem, 2.5rem + 2vw, 4.5rem) 2rem;
  background: var(--c-lin);
  font-size: 0.9375rem;
}

.site-footer__grid {
  display: grid;
  gap: 2rem;
}

.site-footer__brand img {
  width: auto;
  height: 3.5rem;
  margin-bottom: 1rem;
}

.site-footer__brand p {
  max-width: 20rem;
  color: var(--c-taupe);
}

.site-footer h2 {
  margin-bottom: 0.75rem;
  color: var(--c-terre);
  font-family: var(--f-texte);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li + li {
  margin-top: 0.35rem;
}

.site-footer a {
  color: var(--c-encre);
}

.site-footer a:hover {
  color: var(--c-sauge-profond);
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--c-ligne);
  color: var(--c-taupe);
  font-size: 0.875rem;
}

.site-footer__bottom p {
  margin: 0;
}

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

@media (min-width: 64em) {
  .site-footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 3rem;
  }
}


/* --------------------------------------------------------------------------
   16. Animations (légères, désactivées si l'utilisateur réduit les animations)
   -------------------------------------------------------------------------- */

/* Apparition au défilement : la classe .js est posée dans le <head>,
   main.js ajoute .is-visible quand l'élément entre à l'écran. */
.js .reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.8s var(--courbe), transform 0.8s var(--courbe);
  transition-delay: calc(var(--d, 0) * 90ms);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Haut de page : animation d'arrivée en CSS pur (ne dépend pas du JavaScript) */
@media (prefers-reduced-motion: no-preference) {
  .hero__text > *,
  .page-hero .container > * {
    animation: monter 0.9s var(--courbe) both;
  }

  .hero__text > :nth-child(2),
  .page-hero .container > :nth-child(2) { animation-delay: 0.08s; }
  .hero__text > :nth-child(3),
  .page-hero .container > :nth-child(3) { animation-delay: 0.16s; }
  .hero__text > :nth-child(4),
  .page-hero .container > :nth-child(4) { animation-delay: 0.24s; }

  .hero__arch {
    animation: poser 1.2s var(--courbe) both;
  }
}

@keyframes monter {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes poser {
  from {
    transform: translateY(1.25rem) scale(0.98);
  }
  to {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
