:root {
  --accent: #e8ff4d;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

html {
  scroll-behavior: smooth; /* défilement fluide vers les ancres (#about, #contact...) */
}

body {
  font-family: "EB Garamond", Georgia, "Times New Roman", serif;
  -webkit-font-smoothing: antialiased;
}

/* Logo en haut à gauche */
.brand {
  position: fixed;
  top: 24px;
  left: 28px;
  z-index: 10;
  display: block;
}
.brand img {
  height: 54px;
  width: auto;
  display: block;
  /* logo noir -> blanc pour rester lisible sur les panneaux sombres */
  filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

/* Deux panneaux qui remplissent tout l'écran */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100vh;
  width: 100vw;
}

.panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  background-image: linear-gradient(rgba(10, 10, 12, 0.5), rgba(10, 10, 12, 0.5)), var(--img);
  background-size: cover;
  background-position: center;
  transition: flex 0.5s ease;
  filter: saturate(0.95);
}

/* L'image zoome légèrement au survol */
.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  background-image: var(--img);
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transition: transform 0.7s ease;
  z-index: -1;
}
.panel:hover::before {
  transform: scale(1.06);
}

/* CTA centré dans chaque panneau */
.panel-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}

/* Petit label en capitales espacées, très sobre */
.panel-label {
  font-family: "EB Garamond", serif;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  color: rgba(255, 255, 255, 0.75);
}

/* Titre serif façon "old money" au-dessus du bouton */
.panel-title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: clamp(2.4rem, 4.4vw, 4rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.cta {
  font-family: "EB Garamond", serif;
  font-weight: 500;
  font-size: clamp(0.82rem, 1.1vw, 1rem);
  text-transform: uppercase;
  letter-spacing: 0.26em;
  text-indent: 0.26em;
  padding: 16px 40px;
  border-radius: 0; /* rectangle net */
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}

/* Gauche : contour fin, se remplit de rouge au survol */
.cta--red {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.7);
}
.panel:hover .cta--red {
  background: #9c1f1f;
  border-color: #9c1f1f;
}

/* Droite : contour fin, se remplit de blanc au survol */
.cta--white {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.7);
}
.panel:hover .cta--white {
  background: #fff;
  color: #111;
  border-color: #fff;
}

/* Sur mobile : l'un au-dessus de l'autre */
@media (max-width: 720px) {
  .split {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
  }
}

/* ===================================================================
   PAGES DE CONTENU (studio / publishing / contact) — thème clair
   =================================================================== */
.page {
  background: #f5f1e9;
  color: #1a1712;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Barre de navigation */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 40px;
  border-bottom: 1px solid rgba(26, 23, 18, 0.12);
}
.site-nav__brand img {
  height: 46px;
  width: auto;
  display: block;
}
.site-nav__links {
  display: flex;
  gap: 34px;
}
.site-nav__links a {
  font-family: "EB Garamond", serif;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  text-indent: 0.22em;
  font-size: 0.78rem;
  color: #4a443b;
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.site-nav__links a:hover,
.site-nav__links a.is-active {
  color: #1a1712;
  border-color: #1a1712;
}
.site-nav__search {
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid rgba(26, 23, 18, 0.28);
  padding-bottom: 3px;
}
.site-nav__search input[type="search"] {
  border: none;
  background: transparent;
  font-family: "EB Garamond", serif;
  font-size: 0.82rem;
  color: #1a1712;
  width: 140px;
  padding: 0;
}
.site-nav__search input[type="search"]:focus {
  outline: none;
}
.site-nav__search input[type="search"]::placeholder {
  color: #8a8175;
}
.site-nav__search button {
  border: none;
  background: transparent;
  color: #4a443b;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 0;
}
.site-nav__search button:hover {
  color: #1a1712;
}

/* Menu « Compte » déroulant au survol */
.nav-account {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav-account__toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.nav-account__caret {
  font-size: 0.62rem;
  transition: transform 0.2s ease;
}
.nav-account:hover .nav-account__caret {
  transform: translateY(1px) rotate(180deg);
}
.nav-account__menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 14px;
  min-width: 200px;
  background: #fbf8f2;
  border: 1px solid rgba(26, 23, 18, 0.14);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.14);
  padding: 7px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 30;
}
/* pont transparent : évite de perdre le survol entre le lien et le menu */
.nav-account__menu::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}
.nav-account:hover .nav-account__menu,
.nav-account:focus-within .nav-account__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-account__menu a {
  display: block;
  padding: 9px 20px;
  font-size: 0.9rem;
  text-transform: none;
  letter-spacing: 0.02em;
  text-indent: 0;
  border-bottom: none;
  color: #4a443b;
  white-space: nowrap;
}
.nav-account__menu a:hover {
  background: #efe7d8;
  color: #1a1712;
  border-color: transparent;
}

.page-main {
  flex: 1;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 72px 40px 96px;
}

/* Bouton retour sobre (haut à gauche du contenu) */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: -18px 0 34px;
  font-family: "EB Garamond", serif;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  text-indent: 0.2em;
  font-size: 0.74rem;
  color: #8a8175;
  text-decoration: none;
  transition: color 0.2s ease;
}
.back-link:hover {
  color: #1a1712;
}
.back-link__arrow {
  font-size: 1.15em;
  line-height: 1;
  transition: transform 0.2s ease;
}
.back-link:hover .back-link__arrow {
  transform: translateX(-3px);
}

/* En-tête de page */
.page-head {
  text-align: center;
  margin-bottom: 64px;
}
.eyebrow {
  font-family: "EB Garamond", serif;
  text-transform: uppercase;
  letter-spacing: 0.36em;
  text-indent: 0.36em;
  font-size: 0.75rem;
  color: #8a8175;
  margin-bottom: 18px;
}
.page-head h1 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  line-height: 1;
  letter-spacing: 0.01em;
}
.lede {
  max-width: 520px;
  margin: 22px auto 0;
  font-size: 1.15rem;
  line-height: 1.6;
  color: #4a443b;
}

/* Bandeau du catalogue : image à gauche, contenu à droite */
.cat-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 52px;
  align-items: stretch;
  margin-bottom: 60px;
  padding-bottom: 56px;
  border-bottom: 1px solid #d8cfbe;
}
.cat-hero__media {
  min-height: 480px;
  background: #e9e3d7 center / cover no-repeat;
}
.cat-hero__body {
  min-width: 0;
  padding-top: 4px;
}

/* Intro (colonne de droite) */
.cat-intro {
  margin-bottom: 40px;
}
.cat-intro__eyebrow {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 1.3rem;
  letter-spacing: 0.01em;
  color: #b0473a;
  margin-bottom: 12px;
}
.cat-intro__title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: 1.03;
  letter-spacing: 0.005em;
  color: #1a1712;
}
.cat-intro__subtitle {
  margin-top: 20px;
  font-size: 1.14rem;
  line-height: 1.6;
  color: #4a443b;
}
.cat-intro__subtitle strong {
  font-weight: 600;
  color: #1a1712;
}

/* Grille de services du catalogue */
.cat-services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 44px;
}
.cat-service__ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #efe7d8;
  color: #b0473a;
  margin-bottom: 16px;
}
.cat-service__ic svg {
  width: 26px;
  height: 26px;
}
.cat-service__title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: 1.85rem;
  color: #1a1712;
  margin-bottom: 10px;
}
.cat-service__text {
  font-size: 1.04rem;
  line-height: 1.6;
  color: #4a443b;
}
@media (max-width: 860px) {
  .cat-hero {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .cat-hero__media {
    min-height: 360px;
    margin-bottom: 34px;
    background-position: center 28%;
  }
}
@media (max-width: 720px) {
  .cat-services {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Catalogue */
.catalogue {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 48px 40px;
}
.book {
  text-align: center;
}
.book__cover {
  aspect-ratio: 2 / 3;
  background: #1a1712;
  color: #f5f1e9;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}
.book__cover--img {
  background-size: cover;
  background-position: center;
}
.book__cover {
  position: relative;
}
.book__badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: #9c1f1f;
  color: #fff;
  font-family: "EB Garamond", serif;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.62rem;
  padding: 6px 12px;
}
.book__initial {
  font-family: "Cormorant Garamond", serif;
  font-size: 4rem;
  font-weight: 500;
}
.book__title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.2;
}
.book {
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}
.book:hover {
  transform: translateY(-4px);
}
.book:hover .book__cover {
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
}
.book__cover {
  transition: box-shadow 0.3s ease;
}
.book__meta {
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  color: #8a8175;
  margin: 6px 0 8px;
}
.book__price {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.2rem;
  color: #1a1712;
}

/* Recherche + filtres du catalogue */
.catalogue-search {
  display: flex;
  gap: 12px;
  max-width: 620px;
  margin: 0 auto 24px;
}
.catalogue-search input[type="search"] {
  flex: 1;
  min-width: 0;
  padding: 13px 18px;
  border: 1px solid #d8cfbe;
  background: #fbf8f2;
  font-family: "EB Garamond", serif;
  font-size: 1rem;
  color: #1a1712;
}
.catalogue-search input[type="search"]:focus {
  outline: none;
  border-color: #1a1712;
}
.catalogue-search .btn-dark {
  white-space: nowrap;
}
.cat-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 44px;
}
.cat-chip {
  font-family: "EB Garamond", serif;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: #6b6355;
  text-decoration: none;
  padding: 7px 16px;
  border: 1px solid #d8cfbe;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.cat-chip:hover {
  border-color: #1a1712;
  color: #1a1712;
}
.cat-chip.is-active {
  background: #1a1712;
  border-color: #1a1712;
  color: #f5f1e9;
}
.catalogue-count {
  text-align: center;
  color: #8a8175;
  font-size: 0.95rem;
  margin-bottom: 34px;
}

/* Catalogue en rangées horizontales par catégorie */
.catalogue-rows {
  display: flex;
  flex-direction: column;
  gap: 52px;
}
.cat-section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}
.cat-section__title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: 1.9rem;
  color: #1a1712;
}
.cat-section__more {
  display: flex;
  align-items: center;
  gap: 20px;
}
.cat-section__link {
  font-family: "EB Garamond", serif;
  font-size: 1rem;
  color: #b0473a;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.cat-section__link:hover {
  border-bottom-color: currentColor;
}
.cat-nav {
  display: flex;
  gap: 10px;
}
.cat-nav__btn {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(26, 23, 18, 0.25);
  background: transparent;
  color: #1a1712;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.cat-nav__btn:hover {
  background: #1a1712;
  color: #f5f1e9;
  border-color: #1a1712;
}
.cat-track {
  display: flex;
  gap: 34px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding-bottom: 16px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(26, 23, 18, 0.35) transparent;
}
.cat-track::-webkit-scrollbar {
  height: 6px;
}
.cat-track::-webkit-scrollbar-thumb {
  background: rgba(26, 23, 18, 0.28);
  border-radius: 3px;
}
.cat-track .book {
  flex: 0 0 auto;
  width: 200px;
  scroll-snap-align: start;
}
@media (max-width: 720px) {
  .catalogue-rows {
    gap: 40px;
  }
  .cat-nav {
    display: none; /* sur mobile : défilement tactile */
  }
  .cat-section__title {
    font-size: 1.6rem;
  }
  .cat-track {
    gap: 22px;
  }
  .cat-track .book {
    width: 150px;
  }
}

/* Mes commandes (compte) */
.orders {
  max-width: 780px;
  margin: 56px auto 0;
}
.orders__title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: 1.9rem;
  text-align: center;
  margin-bottom: 28px;
}
.orders__empty {
  text-align: center;
  color: #8a8175;
  margin-bottom: 18px;
}
.orders__table {
  width: 100%;
  border-collapse: collapse;
}
.orders__table th,
.orders__table td {
  text-align: left;
  padding: 14px 12px;
  border-bottom: 1px solid #e3dccd;
  font-size: 0.98rem;
}
.orders__table th {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #8a8175;
  font-weight: 500;
}
.orders__track {
  color: #8a8175;
}

/* Auteurs — grille */
.authors {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 56px 40px;
}
.author-card {
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}
.author-card:hover {
  transform: translateY(-4px);
}
.author-card__photo {
  aspect-ratio: 3 / 4;
  background: #1a1712 center / cover no-repeat;
  color: #f5f1e9;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  transition: box-shadow 0.3s ease;
}
.author-card:hover .author-card__photo {
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
}
.author-card__initial {
  font-family: "Cormorant Garamond", serif;
  font-size: 4rem;
  font-weight: 500;
}
.author-card__name {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.2;
}
.author-card__role {
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  color: #8a8175;
  margin-top: 6px;
}

/* Auteurs — fiche détaillée */
.author-detail {
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr;
  gap: 56px;
  align-items: start;
  margin-bottom: 80px;
}
.author-detail__photo {
  aspect-ratio: 3 / 4;
  background: #1a1712 center / cover no-repeat;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}
.author-detail__name {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.05;
}
.author-detail__role {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  color: #8a8175;
  margin: 14px 0 26px;
}
.author-detail__bio p {
  line-height: 1.75;
  margin-bottom: 1.1em;
  font-size: 1.08rem;
}
.author-books-title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: 1.9rem;
  text-align: center;
  margin: 0 0 40px;
}
@media (max-width: 720px) {
  .author-detail {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Bouton foncé réutilisable */
.btn-dark {
  display: inline-block;
  font-family: "EB Garamond", serif;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  text-indent: 0.24em;
  font-size: 0.82rem;
  color: #f5f1e9;
  background: #1a1712;
  border: 1px solid #1a1712;
  padding: 15px 40px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}
.btn-dark:hover {
  background: transparent;
  color: #1a1712;
}

/* Fil d'Ariane */
.breadcrumb {
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: #8a8175;
  margin-bottom: 32px;
}
.breadcrumb a {
  color: #8a8175;
}

/* Page produit */
.product {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  align-items: start;
}
.product__media {
  margin-top: 56px; /* la couverture descend -> titre/texte apparaissent au-dessus */
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.product__cover {
  aspect-ratio: 2 / 3;
  background: #1a1712;
  color: #f5f1e9;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.22);
}
.product__cover--img {
  background-size: cover;
  background-position: center;
}
/* --- Galerie livre (style Amazon : vignettes + grande image) --- */
.product__gallery {
  margin-top: 56px; /* aligne la grande image sur le décalage habituel */
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 18px;
  align-items: start;
}
.product__thumbs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.product__thumb {
  display: block;
  width: 60px;
  aspect-ratio: 2 / 3;
  padding: 0;
  border: 1px solid #d8d0c2;
  border-radius: 3px;
  background-color: #1a1712;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.product__thumb:hover,
.product__thumb:focus-visible {
  border-color: #8a8175;
  outline: none;
}
.product__thumb.is-active {
  border-color: #1a1712;
  box-shadow: 0 0 0 1px #1a1712;
}
.product__stage .product__cover {
  transition: background-image 0.12s ease;
}
.product__subtitle {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.4rem;
  font-style: italic;
  color: #4a443b;
  margin: 2px 0 14px;
}
.product__info h1 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.05;
  margin: 4px 0 12px;
}
.product__meta {
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: #8a8175;
  margin-bottom: 22px;
}
.product__blurb {
  max-width: none;
  margin-top: 44px;
  border-top: 1px solid rgba(26, 23, 18, 0.12);
  padding-top: 30px;
}
.product__blurb p {
  font-size: 1.12rem;
  line-height: 1.75;
  color: #4a443b;
  margin-bottom: 1.1em;
}
.product__blurb p:last-child {
  margin-bottom: 0;
}
.product__price {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  margin: 24px 0 28px;
}
.product__buy {
  display: flex;
  align-items: flex-end;
  gap: 20px;
}
.product__dispatch {
  margin: 16px 0 0;
  font-size: 0.92rem;
  font-style: italic;
  color: #6b6355;
}
.summary__dispatch {
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(26, 23, 18, 0.12);
  font-size: 0.85rem;
  color: #6b6355;
  line-height: 1.5;
}
.checkout__consent {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 4px 0 22px;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #4a443b;
  cursor: pointer;
}
.check input[type="checkbox"] {
  margin-top: 3px;
  width: 17px;
  height: 17px;
  flex: none;
  accent-color: #1a1712;
  cursor: pointer;
}
.check a {
  color: #6b6355;
  text-decoration: underline;
}
.check em {
  color: #8a8175;
  font-style: italic;
}
.related {
  max-width: 980px;
  margin: 64px auto 0;
  border-top: 1px solid rgba(26, 23, 18, 0.12);
  padding-top: 40px;
}
.related__title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: 2rem;
  text-align: center;
  margin: 0 0 34px;
}
.related__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 40px 32px;
}
.qty {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.qty span {
  font-family: "EB Garamond", serif;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.72rem;
  color: #8a8175;
}
.qty input,
.cart__qty input {
  font-family: "EB Garamond", serif;
  font-size: 1.05rem;
  width: 76px;
  padding: 12px 10px;
  border: 1px solid rgba(26, 23, 18, 0.25);
  background: transparent;
  color: #1a1712;
}

/* Lien Panier dans la nav */
.site-nav__cart {
  font-weight: 500;
}

/* Panier */
.cart {
  max-width: 860px;
  margin: 0 auto;
}
.cart__empty {
  text-align: center;
  font-size: 1.2rem;
  color: #8a8175;
  margin-bottom: 26px;
}
.cart__table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}
.cart__table th {
  text-align: left;
  font-family: "EB Garamond", serif;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  color: #8a8175;
  font-weight: 500;
  padding: 0 12px 14px;
  border-bottom: 1px solid rgba(26, 23, 18, 0.15);
}
.cart__table td {
  padding: 18px 12px;
  border-bottom: 1px solid rgba(26, 23, 18, 0.1);
  font-size: 1.05rem;
  vertical-align: middle;
}
.cart__table td a {
  color: #1a1712;
  text-decoration: none;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.25rem;
}
.cart__author {
  display: block;
  font-family: "EB Garamond", serif;
  font-size: 0.85rem;
  color: #8a8175;
}
.cart__remove {
  color: #9c1f1f !important;
  font-size: 1rem !important;
}
.cart__total-label {
  text-align: right;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  color: #8a8175;
}
.cart__total {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
}
.cart__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart__actions a:first-child {
  color: #8a8175;
  text-decoration: none;
}

/* Page 404 */
.notfound {
  max-width: 560px;
  margin: 0 auto;
  padding: 8px 24px 80px;
  text-align: center;
}
.notfound__lede {
  color: #6b6355;
  line-height: 1.7;
  margin: 0 0 30px;
}
.notfound__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
}
.notfound__link {
  color: #6b6355;
  text-decoration: underline;
}

/* --- Journal / Blog --- */
.journal {
  max-width: 1080px;
  margin: 0 auto;
  padding: 8px 24px 80px;
}
.journal__empty {
  text-align: center;
  color: #8a8175;
  font-style: italic;
}
.journal__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 44px 36px;
}
.jcard {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.jcard__cover {
  aspect-ratio: 3 / 2;
  background: #e5ded1 center / cover no-repeat;
  margin-bottom: 18px;
}
.jcard__date {
  font-family: "EB Garamond", serif;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.7rem;
  color: #8a8175;
  margin: 0 0 8px;
}
.jcard__title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 1.6rem;
  line-height: 1.2;
  margin: 0 0 10px;
  transition: color 0.2s ease;
}
.jcard:hover .jcard__title {
  color: #9c1f1f;
}
.jcard__excerpt {
  color: #6b6355;
  line-height: 1.6;
  margin: 0 0 12px;
}
.jcard__more {
  font-family: "EB Garamond", serif;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  color: #1a1712;
}

/* Article */
.post {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px 80px;
}
.post__head {
  text-align: center;
  margin-bottom: 30px;
}
.post__head h1 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 2.6rem;
  line-height: 1.15;
  margin: 6px 0 12px;
}
.post__date {
  font-family: "EB Garamond", serif;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
  color: #8a8175;
  margin: 0;
}
.post__cover {
  aspect-ratio: 16 / 9;
  background: #e5ded1 center / cover no-repeat;
  margin-bottom: 36px;
}
.post__body {
  font-size: 1.12rem;
  line-height: 1.8;
  color: #33302a;
}
.post__body p {
  margin: 0 0 22px;
}
.post__back {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(26, 23, 18, 0.12);
}
.post__back a {
  color: #6b6355;
  text-decoration: none;
}
.post__back a:hover {
  color: #1a1712;
}

/* Panier sur mobile : le tableau devient des cartes empilées et lisibles. */
@media (max-width: 620px) {
  .cart__table thead {
    display: none; /* les en-têtes sont repris par les data-label */
  }
  .cart__table,
  .cart__table tbody,
  .cart__table tfoot,
  .cart__table tr,
  .cart__table td {
    display: block;
    width: 100%;
  }
  .cart__table tbody tr {
    position: relative;
    border: 1px solid rgba(26, 23, 18, 0.14);
    border-radius: 4px;
    padding: 16px 16px 8px;
    margin-bottom: 16px;
  }
  .cart__table tbody td {
    border: none;
    padding: 8px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }
  /* Libellé (data-label) à gauche de chaque valeur. */
  .cart__table tbody td[data-label]::before {
    content: attr(data-label);
    font-family: "EB Garamond", serif;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.68rem;
    color: #8a8175;
  }
  /* Le titre du livre occupe toute la largeur, sans libellé. */
  .cart__table td.cart__book {
    display: block;
    padding-right: 34px; /* place pour la croix */
    margin-bottom: 4px;
  }
  .cart__table td.cart__book::before {
    display: none;
  }
  .cart__table td.cart__book a {
    font-size: 1.2rem;
  }
  /* La croix « retirer » se place en haut à droite de la carte. */
  .cart__table td.cart__remove-cell {
    position: absolute;
    top: 12px;
    right: 14px;
    padding: 0;
  }
  .cart__qty {
    margin: 0;
  }
  /* Ligne de total en pied : une carte à part, alignée à droite. */
  .cart__table tfoot tr {
    display: flex;
    justify-content: space-between;
    padding: 14px 4px 0;
    border-top: 2px solid rgba(26, 23, 18, 0.18);
  }
  .cart__table tfoot .cart__total-label {
    text-align: left;
  }
  .cart__table tfoot td:empty {
    display: none;
  }
}

/* Checkout */
.checkout {
  max-width: 960px;
  margin: 0 auto;
}
.checkout__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: start;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.checkout__summary {
  background: #ede7db;
  padding: 30px 28px;
}
.checkout__summary h2 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: 1.7rem;
  margin-bottom: 20px;
}
.summary__line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 1rem;
  padding: 8px 0;
  color: #4a443b;
}
.summary__total {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(26, 23, 18, 0.2);
  margin-top: 12px;
  padding-top: 16px;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.4rem;
}
.checkout-done {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

/* ===================================================================
   STUDIO — thème sombre : showreel plein écran + contact noir
   =================================================================== */

/* Thème sombre appliqué à toute la page */
.page--dark {
  background: #0b0b0d;
  color: #f2f0ec;
}
.page--dark .site-nav {
  border-bottom-color: rgba(255, 255, 255, 0.14);
}
.page--dark .site-nav__brand img {
  filter: brightness(0) invert(1); /* logo en blanc */
}
.page--dark .site-nav__links a {
  color: rgba(242, 240, 236, 0.65);
}
.page--dark .site-nav__links a:hover,
.page--dark .site-nav__links a.is-active {
  color: #fff;
  border-color: #fff;
}
.page--dark .site-foot {
  border-top-color: rgba(255, 255, 255, 0.14);
  color: rgba(242, 240, 236, 0.55);
}
.page--dark .site-foot a {
  color: rgba(242, 240, 236, 0.55);
}
.page--dark .site-foot a:hover {
  color: #fff;
}
/* La page sombre gère sa propre largeur (le hero est plein écran) */
.page--dark .page-main {
  max-width: none;
  padding: 0;
}

.eyebrow--light {
  color: rgba(242, 240, 236, 0.7);
}

/* Showreel plein écran, en boucle */
.studio-hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  width: 100%;
  overflow: hidden;
}
.studio-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.studio-hero__placeholder {
  background-size: cover;
  background-position: center;
}

/* Fond YouTube qui couvre tout l'écran (l'iframe ne gère pas object-fit) */
.studio-hero__yt {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #0b0b0d;
}
.studio-hero__yt iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 56.25vw;        /* 16:9 calculé sur la largeur */
  min-width: 177.78vh;    /* 16:9 calculé sur la hauteur -> garantit la couverture */
  min-height: 100vh;
  pointer-events: none;   /* pas d'interaction : c'est un fond */
  border: 0;
}
/* Couche transparente au-dessus de l'iframe : bloque clic + survol */
.studio-hero__shield {
  position: absolute;
  inset: 0;
  z-index: 2;
}
/* léger fondu vers le noir en bas, pour la transition avec la section suivante */
.studio-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent 78%, #0b0b0d 100%);
}
.studio-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
}
.studio-hero__overlay h1 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 1;
  color: #fff;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
}
.studio-hero__scroll {
  margin-top: 26px;
  font-family: "EB Garamond", serif;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Services — 3 colonnes */
.studio-services {
  max-width: 1160px;
  margin: 0 auto;
  padding: 130px 40px 40px;
}
.studio-services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 64px;
}
.service__icon {
  color: #fff;
  margin-bottom: 34px;
}
.service__icon svg {
  width: 60px;
  height: 60px;
}
.service__title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 1.9rem;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 20px;
}
.service__text {
  font-family: "EB Garamond", serif;
  font-size: 1.08rem;
  line-height: 1.7;
  color: rgba(242, 240, 236, 0.7);
}

/* À propos — texte + image */
.studio-about {
  max-width: 1240px;
  margin: 0 auto;
  padding: 90px 40px 40px;
}
.studio-about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.studio-about__text h2 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  line-height: 1.12;
  color: #fff;
  margin-bottom: 28px;
}
.studio-about__text p {
  font-family: "EB Garamond", serif;
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(242, 240, 236, 0.72);
  margin-bottom: 32px;
}
.studio-about__link {
  font-family: "EB Garamond", serif;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  text-indent: 0.22em;
  font-size: 0.82rem;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid #fff;
  padding-bottom: 6px;
}
.studio-about__media img {
  width: 100%;
  height: 100%;
  max-height: 620px;
  object-fit: cover;
  display: block;
  filter: grayscale(1) contrast(1.02);
}

/* Section contact — fond noir, cadres/lignes blancs */
.studio-contact {
  max-width: 620px;
  margin: 0 auto;
  padding: 120px 32px 130px;
  text-align: center;
}
.studio-contact__head {
  margin-bottom: 48px;
}
.studio-contact__head h2 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  line-height: 1;
  color: #fff;
}
.studio-contact__box {
  text-align: left;
}

/* Formulaire sombre : champs transparents, bordures blanches */
.form--dark .form__field span {
  color: rgba(242, 240, 236, 0.6);
}
.form--dark input,
.form--dark textarea {
  color: #fff;
  background: transparent;
  border: 1px solid #fff;
  font-family: "EB Garamond", serif;
  font-size: 1.05rem;
  padding: 13px 15px;
  border-radius: 0;
}
.form--dark input:focus,
.form--dark textarea:focus {
  outline: none;
  border-color: #fff;
}
.form--dark input::placeholder,
.form--dark textarea::placeholder {
  color: rgba(242, 240, 236, 0.35);
}

/* Bouton clair pour fond sombre */
.btn-light {
  display: inline-block;
  font-family: "EB Garamond", serif;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  text-indent: 0.24em;
  font-size: 0.82rem;
  color: #0b0b0d;
  background: #fff;
  border: 1px solid #fff;
  padding: 15px 44px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}
.btn-light:hover {
  background: transparent;
  color: #fff;
}

/* Notices sur fond sombre */
.notice--ok-dark {
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #fff;
  padding: 16px 20px;
  margin-bottom: 26px;
}
.notice--err-dark {
  border: 1px solid #e0736f;
  color: #e0736f;
  padding: 16px 20px;
  margin-bottom: 26px;
}

/* Authentification / compte */
.auth {
  max-width: 440px;
  margin: 0 auto;
}
.auth .form {
  margin-bottom: 22px;
}
.auth__alt {
  text-align: center;
  font-size: 1rem;
  color: #8a8175;
}
.auth__alt a {
  color: #1a1712;
}
.account__card {
  border: 1px solid rgba(26, 23, 18, 0.15);
  padding: 28px 30px;
  margin-bottom: 22px;
}
.account__card p {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(26, 23, 18, 0.08);
  font-size: 1.05rem;
}
.account__card p:last-child {
  border-bottom: none;
}
.account__card span {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  color: #8a8175;
}
.pay-note {
  font-size: 0.85rem;
  color: #8a8175;
  margin-top: 12px;
}

/* ---- Espace compte : en-tête + 2ᵉ navbar (onglets) ---- */
.account-head {
  margin-bottom: 22px;
}
.account-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  border-bottom: 1px solid #d8cfbe;
  margin-bottom: 46px;
}
.account-nav__item {
  font-family: "EB Garamond", serif;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  text-indent: 0.16em;
  font-size: 0.76rem;
  color: #8a8175;
  text-decoration: none;
  padding: 12px 20px;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.account-nav__item:hover {
  color: #1a1712;
}
.account-nav__item.is-active {
  color: #1a1712;
  border-bottom-color: #1a1712;
}

.account-panel {
  max-width: 760px;
  margin: 0 auto;
}
.account-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 44px;
}
.account-stat {
  border: 1px solid #d8cfbe;
  background: #fbf8f2;
  padding: 24px 20px;
  text-align: center;
}
.account-stat__label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.7rem;
  color: #8a8175;
  margin-bottom: 12px;
}
.account-stat__value {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  line-height: 1;
  color: #1a1712;
}
.account-block__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.account-block__link {
  font-family: "EB Garamond", serif;
  font-size: 0.95rem;
  color: #b0473a;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.account-block__link:hover {
  border-bottom-color: currentColor;
}
.account-lastorder {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  border: 1px solid #d8cfbe;
  background: #fbf8f2;
  padding: 22px 26px;
}
.account-lastorder__ref {
  font-weight: 600;
  font-size: 1.1rem;
  color: #1a1712;
}
.account-lastorder__meta {
  font-size: 0.92rem;
  color: #8a8175;
  margin-top: 4px;
}
.account-lastorder__status {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pill {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border-radius: 999px;
  background: #1a1712;
  color: #f5f1e9;
  white-space: nowrap;
}
.pill--muted {
  background: transparent;
  color: #6b6355;
  border: 1px solid #d8cfbe;
}
.address-card {
  border: 1px solid #d8cfbe;
  background: #fbf8f2;
  padding: 24px 28px;
  max-width: 420px;
  font-style: normal;
  line-height: 1.75;
  font-size: 1.05rem;
}
.muted-note {
  font-size: 0.9rem;
  color: #8a8175;
  margin-top: 14px;
}
.account-form__title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: 1.6rem;
  color: #1a1712;
  margin: 0 0 18px;
}
.form + .account-form__title {
  margin-top: 42px;
}

/* Détail de commande (client) */
.order-totals {
  max-width: 320px;
  margin: 22px 0 40px auto;
}
.order-totals div {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  color: #4a443b;
}
.order-totals__grand {
  border-top: 1px solid #d8cfbe;
  margin-top: 6px;
  padding-top: 12px;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem;
  color: #1a1712;
}
.order-detail__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.orders__table a {
  color: #1a1712;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.orders__table a:hover {
  border-bottom-color: #1a1712;
}
.account-lastorder__ref a {
  color: inherit;
  text-decoration: none;
}
.account-lastorder__ref a:hover {
  text-decoration: underline;
}
@media (max-width: 620px) {
  .order-detail__cols {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 620px) {
  .account-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .product,
  .checkout__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .product__media {
    margin-top: 0; /* pas de décalage quand c'est empilé sur mobile */
  }
  /* Galerie livre : pas de décalage vertical, vignettes un peu plus étroites. */
  .product__gallery {
    margin-top: 0;
    grid-template-columns: 52px 1fr;
    gap: 14px;
  }
  .product__thumb {
    width: 52px;
  }
  .studio-services__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .studio-about__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .studio-about__media {
    order: -1; /* image au-dessus du texte sur mobile */
  }
}

/* Formulaire de contact */
.contact {
  max-width: 560px;
  margin: 0 auto;
}
.form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form__field span {
  font-family: "EB Garamond", serif;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.72rem;
  color: #8a8175;
}
.form__field input,
.form__field textarea {
  font-family: "EB Garamond", serif;
  font-size: 1.05rem;
  color: #1a1712;
  background: transparent;
  border: 1px solid rgba(26, 23, 18, 0.25);
  padding: 12px 14px;
  border-radius: 0;
  resize: vertical;
}
.form__field input:focus,
.form__field textarea:focus {
  outline: none;
  border-color: #1a1712;
}
.form__submit {
  align-self: flex-start;
  font-family: "EB Garamond", serif;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  text-indent: 0.26em;
  font-size: 0.85rem;
  color: #f5f1e9;
  background: #1a1712;
  border: 1px solid #1a1712;
  padding: 15px 44px;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}
.form__submit:hover {
  background: transparent;
  color: #1a1712;
}

/* Messages */
.notice {
  margin-bottom: 30px;
  padding: 16px 20px;
  font-size: 1rem;
  border: 1px solid;
}
.notice--ok {
  border-color: #3d6b4a;
  color: #3d6b4a;
}
.notice--err {
  border-color: #9c1f1f;
  color: #9c1f1f;
}
.notice--info {
  border-color: #b9a77d;
  color: #6b5d3e;
  background: #faf6ec;
}

/* Pied de page */
.foot-news {
  text-align: center;
  padding: 54px 24px 46px;
  border-top: 1px solid rgba(26, 23, 18, 0.12);
  background: #efe9dd;
}
.foot-news__title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.9rem;
  font-weight: 500;
  margin: 0 0 8px;
  color: #1a1712;
}
.foot-news__lede {
  margin: 0 auto 22px;
  max-width: 460px;
  font-size: 0.95rem;
  color: #6b6355;
}
.foot-news__form {
  display: flex;
  justify-content: center;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
}
.foot-news__form input[type="email"] {
  flex: 1;
  min-width: 0;
  font-family: "EB Garamond", serif;
  font-size: 1rem;
  padding: 12px 16px;
  border: 1px solid #cdc3b0;
  background: #fff;
  color: #1a1712;
}
.foot-news__form input[type="email"]:focus {
  outline: none;
  border-color: #1a1712;
}
.foot-news__form .btn-dark {
  white-space: nowrap;
}
.foot-news__flash {
  max-width: 480px;
  margin: 0 auto 16px;
  padding: 10px 16px;
  font-size: 0.92rem;
  border-radius: 3px;
}
.foot-news__flash--ok {
  background: #eaf3ea;
  border: 1px solid #cfe4cf;
  color: #2f6b3a;
}
.foot-news__flash--err {
  background: #f7e7e5;
  border: 1px solid #e4cfcf;
  color: #8a2e28;
}
.foot-news__note {
  margin: 16px auto 0;
  font-size: 0.78rem;
  color: #8a8175;
}
.foot-news__note a {
  color: #6b6355;
  text-decoration: underline;
}
@media (max-width: 560px) {
  .foot-news__form {
    flex-direction: column;
  }
}
.site-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 40px;
  border-top: 1px solid rgba(26, 23, 18, 0.12);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: #8a8175;
}
.site-foot a {
  color: #8a8175;
  text-decoration: none;
}
.site-foot a:hover {
  color: #1a1712;
}
.site-foot__links {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

/* Bannière de consentement cookies (RGPD, opt-in) */
.cookie-consent {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  width: min(920px, calc(100% - 32px));
  background: #fffdf8;
  color: #4a443b;
  border: 1px solid rgba(26, 23, 18, 0.14);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
  border-radius: 4px;
  padding: 18px 22px;
  display: flex;
  gap: 18px 26px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  z-index: 1000;
  font-size: 0.95rem;
}
.cookie-consent__text {
  margin: 0;
  flex: 1 1 320px;
  line-height: 1.5;
}
.cookie-consent__text a {
  color: #b0473a;
}
.cookie-consent__actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-shrink: 0;
}
.cookie-consent__decline {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  color: #8a8175;
  text-decoration: underline;
  padding: 8px 4px;
}
.cookie-consent__decline:hover {
  color: #1a1712;
}
@media (max-width: 560px) {
  .cookie-consent {
    left: 0;
    bottom: 0;
    width: 100%;
    transform: none;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }
}

/* Avis clients — étoiles, liste, formulaire, vitrine */
.stars { display:inline-flex; gap:2px; line-height:1; letter-spacing:1px; }
.stars__s { color:#d8d0c2; }
.stars__s.is-on { color:#c19a3e; }

.product__rating { display:flex; align-items:center; gap:10px; margin:2px 0 10px; font-size:.95rem; }
.product__rating a { color:#8a8175; text-decoration:underline; }

.reviews { max-width:820px; margin:64px auto 0; border-top:1px solid rgba(26,23,18,.12); padding-top:40px; }
.reviews__title { font-family:"Cormorant Garamond",serif; font-weight:500; font-size:2rem; margin:0 0 18px; }
.reviews__summary { display:flex; align-items:center; gap:10px; margin:0 0 26px; color:#4a443b; }
.reviews__summary .stars { font-size:1.15rem; }
.reviews__empty { color:#8a8175; font-style:italic; margin-bottom:26px; }

.review-list { list-style:none; padding:0; margin:0 0 44px; display:flex; flex-direction:column; gap:26px; }
.review { border-bottom:1px solid rgba(26,23,18,.08); padding-bottom:22px; }
.review:last-child { border-bottom:none; }
.review__head { display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin-bottom:6px; }
.review__author { font-weight:600; color:#1a1712; }
.review__badge { font-size:.7rem; letter-spacing:.08em; text-transform:uppercase; color:#2f6b3a; background:#e3efe5; border-radius:2px; padding:2px 8px; }
.review__badge--amazon { color:#8a5a12; background:#f6ecd6; }
.review__ttl { font-weight:600; margin:4px 0; }
.review__body { color:#4a443b; line-height:1.65; margin:0 0 6px; }
.review__date { color:#9a9284; font-size:.82rem; margin:0; }

.reviews__form-title { font-family:"Cormorant Garamond",serif; font-weight:500; font-size:1.5rem; margin:0 0 16px; }
.review-form__rating { margin-bottom:14px; }
.review-form__label { display:block; margin-bottom:6px; font-size:.9rem; }
.review-form em { color:#9a9284; font-style:italic; font-size:.9em; }
.review-form .muted-note { margin-top:10px; }

/* Étoiles cliquables (radios en ordre inversé + flex row-reverse) */
.star-input { display:inline-flex; flex-direction:row-reverse; justify-content:flex-end; gap:4px; font-size:1.9rem; line-height:1; }
.star-input input { position:absolute; opacity:0; width:0; height:0; }
.star-input label { color:#d8d0c2; cursor:pointer; transition:color .12s; }
.star-input input:checked ~ label,
.star-input label:hover,
.star-input label:hover ~ label { color:#c19a3e; }
.star-input input:focus-visible + label { outline:2px solid #c19a3e; outline-offset:2px; }

.testimonials { margin:72px 0 0; border-top:1px solid rgba(26,23,18,.12); padding-top:44px; }
.testimonials__title { font-family:"Cormorant Garamond",serif; font-weight:500; font-size:clamp(1.8rem,3vw,2.4rem); text-align:center; margin:0 0 34px; }
.testimonials__grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:24px; }
.testimonial { margin:0; background:#fffdf8; border:1px solid rgba(26,23,18,.1); border-radius:4px; padding:24px; display:flex; flex-direction:column; gap:10px; box-shadow:0 8px 24px rgba(0,0,0,.05); }
.testimonial .stars { font-size:1.05rem; }
.testimonial__ttl { font-weight:600; margin:2px 0 0; }
.testimonial__body { margin:0; font-style:italic; color:#4a443b; line-height:1.6; }
.testimonial__meta { display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-top:auto; padding-top:8px; font-size:.9rem; color:#8a8175; }
.testimonial__author { font-weight:600; color:#1a1712; }
.testimonial__book { color:#b0473a; text-decoration:none; margin-left:auto; }
.testimonial__book:hover { text-decoration:underline; }

/* Pages légales (CGU, CGV, confidentialité, mentions) */
.legal {
  max-width: 760px;
  margin: 0 auto;
  color: #3a352d;
  line-height: 1.75;
  font-size: 1.05rem;
}
.legal__updated {
  color: #8a8175;
  font-size: 0.9rem;
  margin-bottom: 30px;
}
.legal h2 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: 1.7rem;
  color: #1a1712;
  margin: 38px 0 12px;
}
.legal p {
  margin-bottom: 16px;
}
.legal ul {
  margin: 0 0 18px;
  padding-left: 22px;
}
.legal li {
  margin-bottom: 8px;
}
.legal a {
  color: #b0473a;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.legal a:hover {
  border-bottom-color: currentColor;
}
.legal code {
  background: #efe7d8;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.92em;
}
.legal__note {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid #d8cfbe;
  font-size: 0.9rem;
  color: #8a8175;
}

@media (max-width: 720px) {
  .site-nav {
    flex-direction: column;
    gap: 14px;
    padding: 18px 20px;
  }
  .site-nav__links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 18px;
  }
  .site-foot {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }
  .site-foot__links {
    justify-content: center;
  }
}
