/* ============================================
   Délivrez-vous (Librairie & Papeterie)
   Feuille de styles
   ============================================ */

:root {
  --orange: #EE9313;
  --orange-dark: #C77609;
  --orange-light: #FDF4E6;
  --ink: #1F1B16;
  --ink-soft: #4A4339;
  --muted: #8A8070;
  --line: #E8E2D6;
  --paper: #FBF8F3;
  --white: #FFFFFF;
  --shadow-sm: 0 1px 2px rgba(31, 27, 22, 0.05);
  --shadow: 0 4px 16px rgba(31, 27, 22, 0.08);
  --shadow-lg: 0 16px 48px rgba(31, 27, 22, 0.12);
  --radius: 10px;
  --radius-lg: 18px;
  --container: 1180px;
  --font-sans: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; overflow-x: hidden; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100vw;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-dark); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--orange); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ----- Header / Navigation ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 248, 243, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 72px;
  flex-wrap: nowrap;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--ink);
  letter-spacing: .5px;
  flex-shrink: 0;
}
.nav-brand img { height: 42px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  flex-wrap: nowrap;
}
.nav-links a {
  display: block;
  padding: 10px 12px;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.92rem;
  border-radius: 8px;
  transition: all .15s ease;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--ink); background: var(--orange-light); }
.nav-links .btn-cta {
  margin-left: 8px;
  background: var(--orange);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-links .btn-cta:hover { background: var(--orange-dark); color: var(--white); }

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 8px;
  color: var(--ink);
}
.nav-toggle svg { width: 28px; height: 28px; }

/* ----- Hero ----- */
.hero {
  padding: 80px 0 60px;
  text-align: center;
  background:
    radial-gradient(ellipse at top, var(--orange-light) 0%, transparent 60%),
    var(--paper);
}
.hero-logo {
  max-width: 320px;
  width: 70%;
  margin: 0 auto 24px;
}
.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(238, 147, 19, 0.10);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
  font-weight: 600;
}
.hero-welcome {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--orange);
  margin: 8px 0 28px;
  letter-spacing: 0.3px;
}
.hero-welcome::before,
.hero-welcome::after {
  content: "·";
  display: inline-block;
  margin: 0 12px;
  color: var(--orange);
  opacity: .6;
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.5px;
  color: var(--ink);
  margin-bottom: 16px;
}
.hero .tagline {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 auto 32px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.97rem;
  transition: all .2s ease;
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: var(--shadow);
}
.btn-primary:hover { background: var(--orange-dark); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn-outline {
  border: 1.5px solid var(--ink);
  color: var(--ink);
  background: transparent;
}
.btn-outline:hover { background: var(--ink); color: var(--white); }

/* ----- Section basics ----- */
section {
  padding: 80px 0;
  scroll-margin-top: 80px;
}
section:nth-of-type(even) { background: var(--white); }

.section-head { text-align: center; margin-bottom: 56px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 12px;
}
.section-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 500;
  color: var(--ink);
}
.section-head .intro {
  max-width: 680px;
  margin: 16px auto 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* ----- About ----- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-text p { margin-bottom: 18px; color: var(--ink-soft); font-size: 1.02rem; }
.about-text p:first-child { font-size: 1.15rem; color: var(--ink); font-family: var(--font-serif); font-style: italic; }
.about-visual {
  display: flex;
  justify-content: center;
}
.about-visual img {
  max-width: 380px;
  width: 100%;
}

/* ----- Actualités ----- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}
.news-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all .2s ease;
  box-shadow: var(--shadow-sm);
}
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.news-card .badge {
  display: inline-block;
  background: var(--orange-light);
  color: var(--orange-dark);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 14px;
}
.news-card h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--ink);
}
.news-card p { color: var(--ink-soft); font-size: 0.97rem; }
.news-card .news-link {
  color: var(--orange);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1.5px solid var(--orange-light);
  padding-bottom: 1px;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}
.news-card .news-link:hover {
  color: var(--orange-dark);
  border-bottom-color: var(--orange);
}
.news-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 16px;
}

/* Variante "mise à jour" (pour info importante du moment) */
.news-card-update {
  border-color: var(--orange);
  border-width: 2px;
  position: relative;
}
.news-card-update::before {
  content: "📌";
  position: absolute;
  top: -12px;
  right: 22px;
  background: var(--white);
  padding: 0 6px;
  font-size: 1.4rem;
}
.news-card .badge-update {
  background: var(--orange);
  color: var(--white);
}

/* ----- Substack ----- */
.substack-section { background: var(--white); }
.substack-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: stretch;
}
.substack-main {
  background: linear-gradient(135deg, #FFF5E3 0%, var(--orange-light) 100%);
  border: 1px solid rgba(238, 147, 19, 0.2);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.substack-logo {
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: 18px;
}
.substack-main h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}
.substack-author,
.substack-tagline {
  color: var(--orange-dark);
  font-style: italic;
  margin-bottom: 18px;
  font-size: 0.95rem;
}
.substack-main > p:last-of-type { color: var(--ink-soft); margin-bottom: 24px; }
.substack-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ----- Newsletter Substack (inscription rapide) ----- */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.newsletter-form {
  display: flex;
  gap: 8px;
  margin-bottom: 6px;
  max-width: 480px;
}
.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 12px 16px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.newsletter-form input[type="email"]::placeholder {
  color: var(--muted);
}
.newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-light);
}
.newsletter-form .btn {
  white-space: nowrap;
  padding-left: 22px;
  padding-right: 22px;
}
.newsletter-note {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0 0 18px;
  font-style: italic;
}
@media (max-width: 520px) {
  .newsletter-form {
    flex-direction: column;
    gap: 10px;
  }
  .newsletter-form .btn {
    width: 100%;
    text-align: center;
  }
}

.substack-articles-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
  margin-bottom: 16px;
}
.substack-feed { display: flex; flex-direction: column; gap: 16px; margin-bottom: 20px; }
.substack-article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .25s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
.substack-article:hover {
  border-color: var(--orange);
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.1);
}
.substack-article a {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0;
  color: inherit;
  text-decoration: none;
}
.substack-article a:hover { color: inherit; }
.substack-article-media {
  background: linear-gradient(135deg, var(--orange-light), var(--cream));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 140px;
  padding: 0;
}
.substack-article-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.substack-article-media--cover {
  padding: 10px;
}
.substack-article-media--cover img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.18));
}
.substack-article-media span {
  font-size: 2.4rem;
  color: var(--orange-dark);
}
.substack-article-body { padding: 16px 20px; }
.substack-skeleton { opacity: 0.7; }
.substack-date {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--orange-dark);
  font-weight: 600;
}
.substack-article h4 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  margin: 4px 0 6px;
  color: var(--ink);
  line-height: 1.3;
}
.substack-article p {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin: 0 0 8px;
  line-height: 1.5;
}
.substack-link {
  color: var(--orange-dark);
  font-weight: 600;
  font-size: 0.88rem;
}
.substack-archive-link {
  display: inline-block;
  margin-top: 6px;
  color: var(--orange-dark);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.92rem;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.substack-archive-link:hover { border-color: var(--orange-dark); }

/* ----- Événements ----- */
.events-empty {
  text-align: center;
  padding: 48px 32px;
  background: var(--white);
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  max-width: 640px;
  margin: 0 auto;
}
.events-empty .icon {
  font-size: 2.4rem;
  margin-bottom: 14px;
}
.events-empty h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 10px;
}
.events-empty p { color: var(--ink-soft); }

/* Carte événement (prochaine animation) */
.event-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 32px;
  align-items: stretch;
  max-width: 900px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.event-date {
  background: linear-gradient(160deg, var(--orange), var(--orange-dark));
  color: var(--white);
  padding: 28px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 4px;
}
.event-day {
  font-family: var(--font-serif);
  font-size: 3.4rem;
  font-weight: 600;
  line-height: 1;
}
.event-month {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.85rem;
  font-weight: 600;
}
.event-time {
  margin-top: 14px;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.event-body {
  padding: 28px 32px 30px 0;
}
.event-tag {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 10px;
}
.event-body h3 {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  color: var(--ink);
  margin-bottom: 10px;
}
.event-lead {
  color: var(--ink);
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.event-body > p { color: var(--ink-soft); margin-bottom: 18px; }

.event-books {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 22px 0 24px;
}
.event-book {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.event-book img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}
.event-book figcaption {
  font-size: 0.88rem;
  line-height: 1.4;
  color: var(--ink-soft);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.event-book figcaption strong {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1rem;
}

.event-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 6px;
  border-top: 1px dashed var(--line);
  margin-top: 8px;
  padding-top: 18px;
}
.event-rsvp {
  flex: 1;
  min-width: 240px;
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin: 0;
}
.event-rsvp a {
  color: var(--orange);
  font-weight: 600;
  border-bottom: 1px dotted var(--orange);
}
.event-rsvp a:hover {
  color: var(--orange-dark);
  border-bottom-style: solid;
}
.events-footnote {
  text-align: center;
  color: var(--muted);
  margin-top: 28px;
  font-size: 0.92rem;
  font-style: italic;
}
.events-footnote a {
  color: var(--orange);
  font-weight: 500;
}

/* Événements passés (section pliable) */
.events-past {
  margin-top: 36px;
  text-align: center;
}
.events-past-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: transparent;
  color: var(--ink-soft);
  border: 1.5px dashed var(--line);
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.events-past-toggle:hover {
  background: var(--orange-light);
  color: var(--orange-dark);
  border-color: var(--orange);
}
.events-past-toggle svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s ease;
}
.events-past-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.events-past-list {
  display: none;
  margin-top: 24px;
  text-align: left;
}
.events-past.expanded .events-past-list {
  display: block;
  animation: coupFadeIn 0.5s ease-out;
}

/* Style d'une carte d'événement passé : légèrement adouci */
.event-card-past {
  opacity: 0.92;
}
.event-card-past .event-date {
  background: linear-gradient(160deg, #b8a085, #8d7355);
}
.event-tag-past {
  color: var(--muted) !important;
  letter-spacing: 1.5px;
}

/* Responsive carte événement */
@media (max-width: 720px) {
  .event-card { grid-template-columns: 1fr; }
  .event-date {
    padding: 22px 16px;
    flex-direction: row;
    gap: 16px;
  }
  .event-day { font-size: 2.6rem; }
  .event-time { margin-top: 0; }
  .event-body { padding: 24px; }
}
@media (max-width: 480px) {
  .event-books { grid-template-columns: 1fr; max-width: 280px; margin-left: auto; margin-right: auto; }
}

/* ----- Coups de coeur ----- */
.coup-cover {
  width: 100%;
  aspect-ratio: 3 / 4;
  max-height: 320px;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 18px;
  background: linear-gradient(180deg, var(--cream), var(--orange-light));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}
.coup-cover img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform .3s ease;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,0.15));
}
.coup-card:hover .coup-cover img { transform: scale(1.04); }


.coups-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

/* Affichage limité aux 3 premiers (1 ligne), le reste se déploie via le bouton */
.coups-grid > .coup-card:nth-child(n+4) {
  display: none;
}
.coups-grid.expanded > .coup-card:nth-child(n+4) {
  display: flex;
  animation: coupFadeIn 0.5s ease-out backwards;
}
.coups-grid.expanded > .coup-card:nth-child(4) { animation-delay: 0ms; }
.coups-grid.expanded > .coup-card:nth-child(5) { animation-delay: 50ms; }
.coups-grid.expanded > .coup-card:nth-child(6) { animation-delay: 100ms; }
.coups-grid.expanded > .coup-card:nth-child(7) { animation-delay: 150ms; }
.coups-grid.expanded > .coup-card:nth-child(8) { animation-delay: 200ms; }
.coups-grid.expanded > .coup-card:nth-child(9) { animation-delay: 250ms; }
.coups-grid.expanded > .coup-card:nth-child(n+10) { animation-delay: 300ms; }

@keyframes coupFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .coups-grid.expanded > .coup-card:nth-child(n+4) {
    animation: none;
  }
}

/* Bouton "Voir tous" (coups de cœur + actualités, même style) */
.coups-more,
.news-more {
  text-align: center;
  margin-top: 28px;
}
.coups-toggle,
.news-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  background: transparent;
  color: var(--orange-dark);
  border: 2px solid var(--orange);
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.coups-toggle:hover,
.news-toggle:hover {
  background: var(--orange);
  color: var(--white);
}
.coups-toggle:active,
.news-toggle:active {
  transform: scale(0.98);
}
.coups-toggle svg,
.news-toggle svg {
  width: 18px;
  height: 18px;
  transition: transform 0.25s ease;
}
.coups-toggle[aria-expanded="true"] svg,
.news-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

/* Affichage limité aux 3 premières actualités */
.news-grid > .news-card:nth-child(n+4) {
  display: none;
}
.news-grid.expanded > .news-card:nth-child(n+4) {
  display: block;
  animation: coupFadeIn 0.5s ease-out backwards;
}
.news-grid.expanded > .news-card:nth-child(4) { animation-delay: 0ms; }
.news-grid.expanded > .news-card:nth-child(5) { animation-delay: 50ms; }
.news-grid.expanded > .news-card:nth-child(6) { animation-delay: 100ms; }
.news-grid.expanded > .news-card:nth-child(n+7) { animation-delay: 150ms; }
@media (prefers-reduced-motion: reduce) {
  .news-grid.expanded > .news-card:nth-child(n+4) { animation: none; }
}
.coup-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: all .2s ease;
}
.coup-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--orange-light); }
.coup-header { display: flex; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.coup-card .coup-icon {
  width: 32px;
  height: 32px;
  background: var(--orange-light);
  color: var(--orange);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.coup-card h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
}
.coup-author {
  color: var(--orange-dark);
  font-size: 0.92rem;
  font-weight: 500;
  margin-bottom: 14px;
  font-style: italic;
}
.coup-card p {
  color: var(--ink-soft);
  font-size: 0.96rem;
  white-space: pre-line;
}
.coup-expand {
  background: none;
  border: none;
  color: var(--orange-dark);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  text-align: left;
}
.coup-expand:hover { color: var(--orange); }
.coup-text.clamped {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Actions au pied de la carte coup de cœur */
.coup-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  flex-wrap: wrap;
}
.coup-order {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--orange);
  color: var(--white);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s, transform .15s;
  white-space: nowrap;
}
.coup-order:hover {
  background: var(--orange-dark);
  color: var(--white);
  transform: translateY(-1px);
}
.coup-order:active {
  transform: translateY(0);
}
.coup-order svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
@media (max-width: 380px) {
  .coup-order span { display: none; }
  .coup-order { padding: 8px 12px; }
}

/* ----- Seconde main ----- */
.seconde-intro {
  max-width: 780px;
  margin: 0 auto 40px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 1.05rem;
}
.seconde-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-bottom: 48px;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}
.seconde-gallery:empty { display: none; }
.seconde-photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--ink-soft);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
}
.seconde-photo:hover { transform: translateY(-4px); }
.seconde-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.seconde-photo:hover img { transform: scale(1.05); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  margin-bottom: 56px;
}
.stat {
  text-align: center;
  padding: 28px 16px;
  background: var(--orange-light);
  border-radius: var(--radius-lg);
}
.stat .num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--orange-dark);
  display: block;
  margin-bottom: 6px;
}
.stat .label {
  color: var(--ink-soft);
  font-size: 0.9rem;
}
.reprise-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}
.step {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}
.step-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--orange);
  font-weight: 600;
  line-height: 1;
  margin-bottom: 10px;
}
.step h4 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { color: var(--ink-soft); font-size: 0.93rem; }

.conditions-toggle {
  text-align: center;
  margin: 24px 0;
}
.conditions-details {
  max-width: 900px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.conditions-details[open] summary::after { transform: rotate(45deg); }
.conditions-details summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 4px 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.conditions-details summary::-webkit-details-marker { display: none; }
.conditions-details summary::after {
  content: "+";
  font-size: 1.6rem;
  color: var(--orange);
  transition: transform .2s ease;
}
.conditions-content { margin-top: 20px; }
.conditions-content h4 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin: 18px 0 8px;
  color: var(--ink);
}
.conditions-content ul { list-style: none; padding: 0; }
.conditions-content li {
  padding: 4px 0 4px 24px;
  position: relative;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.conditions-content li.ok::before { content: "✓"; position: absolute; left: 0; color: #2D8655; font-weight: 700; }
.conditions-content li.no::before { content: "✗"; position: absolute; left: 0; color: #B83A2A; font-weight: 700; }
.conditions-content li.info::before { content: "ℹ"; position: absolute; left: 0; color: var(--orange); }

.calendar-box {
  max-width: 640px;
  margin: 40px auto 0;
  text-align: center;
  padding: 32px;
  background: var(--orange-light);
  border-radius: var(--radius-lg);
}
.calendar-box h4 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  margin-bottom: 10px;
}
.calendar-box p { color: var(--ink-soft); margin-bottom: 20px; }
.calendar-box .agenda-mois {
  margin: 8px auto 24px;
  max-width: 520px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 8px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}
.calendar-box .agenda-mois img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}
.calendar-box .calendar-cta-intro {
  font-size: 0.95rem;
  margin-bottom: 14px;
}

/* ----- Commander en ligne ----- */
#commander { background: var(--white); }
.librel-hero {
  background: #2C5F8D;
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}
.librel-hero::before,
.librel-hero::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 60px;
  height: 110px;
  transform: translateY(-50%);
  background:
    linear-gradient(90deg, #E86E2A 0 12px, transparent 12px 18px, #E86E2A 18px 30px, transparent 30px 38px, #E86E2A 38px 50px);
  opacity: .85;
}
.librel-hero::before { left: 36px; }
.librel-hero::after { right: 36px; }
.librel-hero img.librel-logo {
  height: 56px;
  width: auto;
  margin: 0 auto 18px;
  filter: brightness(0) invert(1);
}
.librel-hero h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 500;
  margin-bottom: 6px;
}
.librel-hero p { opacity: .92; }
.librel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 48px;
}
.librel-text h3 {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  margin-bottom: 14px;
}
.librel-text p { color: var(--ink-soft); margin-bottom: 14px; }
.librel-text ul { margin: 14px 0 22px; padding-left: 0; list-style: none; }
.librel-text li {
  padding: 6px 0 6px 28px;
  position: relative;
  color: var(--ink-soft);
}
.librel-text li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 14px;
  height: 2px;
  background: var(--orange);
}
.librel-steps {
  background: var(--orange-light);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.librel-steps ol {
  list-style: none;
  counter-reset: step;
  padding: 0;
}
.librel-steps li {
  counter-increment: step;
  padding: 10px 0 10px 48px;
  position: relative;
  color: var(--ink-soft);
}
.librel-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 8px;
  width: 32px;
  height: 32px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 600;
}

.librel-demo {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-soft);
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}
.librel-demo-text .eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 700;
  margin-bottom: 12px;
}
.librel-demo-text h3 {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  color: var(--ink);
  margin-bottom: 14px;
  line-height: 1.2;
}
.librel-demo-text p {
  color: var(--ink-soft);
  line-height: 1.6;
}
.librel-demo-media {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 8px 28px rgba(0,0,0,0.10);
  border: 1px solid rgba(0,0,0,0.06);
  max-width: 320px;
  width: 100%;
  margin: 0 auto;
}
.librel-demo-media img {
  display: block;
  width: 100%;
  height: auto;
}

.bon-cadeau {
  margin-top: 40px;
  padding: 40px;
  background: #FFD84D;
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
}
.bon-cadeau-illustration {
  font-size: 3rem;
  line-height: 1;
}
.bon-cadeau h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: #1F3350;
  margin-bottom: 8px;
}
.bon-cadeau p { color: #1F3350; opacity: .85; }

/* ----- Infos pratiques ----- */
.infos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.infos-list { }
.infos-list h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  margin: 28px 0 10px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--orange-light);
}
.infos-list h3:first-child { margin-top: 0; }
.infos-list p, .infos-list address {
  color: var(--ink-soft);
  font-style: normal;
  line-height: 1.8;
}
.hours-table {
  width: 100%;
  border-collapse: collapse;
}
.hours-table td {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}
.hours-table td:first-child { font-weight: 500; color: var(--ink); }
.hours-table td:last-child { text-align: right; }
.hours-table tr:last-child td { border-bottom: none; }
.hours-table tr.closed td:last-child { color: var(--muted); font-style: italic; }

.map-box {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.map-box iframe { display: block; width: 100%; height: 100%; min-height: 380px; border: none; }

/* ----- Contact form ----- */
.contact-block {
  margin-top: 56px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}
.contact-intro h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  margin-bottom: 12px;
}
.contact-intro p { color: var(--ink-soft); }

.contact-form { display: block; }
.hp-field { position: absolute; left: -9999px; top: -9999px; }
.form-row { display: flex; flex-direction: column; margin-bottom: 16px; }
.form-row label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.form-row label span { color: var(--orange); }
.form-row input,
.form-row select,
.form-row textarea {
  font-family: inherit;
  font-size: 0.98rem;
  padding: 11px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(238, 147, 19, 0.15);
}
.form-row textarea { resize: vertical; min-height: 110px; }
.form-submit { flex-direction: row; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 8px; }
.form-note { color: var(--muted); font-size: 0.88rem; margin: 0; }
.form-status { margin-top: 14px; font-size: 0.95rem; color: var(--orange-dark); }
.form-status.ok { color: #2D8655; font-weight: 600; }
.form-status.err { color: #B83A2A; font-weight: 600; }

/* ----- Footer ----- */
.site-footer {
  background: var(--ink);
  color: #E8E2D6;
  padding: 56px 0 24px;
  margin-top: 0;
}

/* ----- Responsive ----- */
/* Bascule en menu hamburger à 1280px : couvre les laptops 1366×768 (viewport ~1280-1340px) */
@media (max-width: 1280px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 12px 24px 20px;
    gap: 2px;
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
  }
  .nav-links.open { max-height: 600px; }
  .nav-links a { padding: 12px 14px; }
  .nav-links .btn-cta { margin: 8px 0 0; text-align: center; }
}

@media (max-width: 1100px) {
  .about-grid, .librel-grid, .infos-grid, .contact-block, .substack-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-block { padding: 28px; }
  .substack-main { padding: 28px; }
  .about-visual { order: -1; }
  .about-visual img { max-width: 260px; }
  section { padding: 60px 0; }
  .hero { padding: 48px 0 40px; }
  .bon-cadeau {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 28px;
  }
  .librel-hero { padding: 36px 24px; }
  .librel-hero::before, .librel-hero::after { display: none; }
  .librel-demo { grid-template-columns: 1fr; gap: 24px; padding: 28px; }
  .librel-demo-media { order: -1; }
}
@media (max-width: 480px) {
  .hero-cta { flex-direction: column; align-items: stretch; padding: 0 20px; }
  .btn { justify-content: center; }
  .partners-logos { gap: 24px; }
}

.map-box {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 420px;
  background: var(--ink-soft);
}
.map-box iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  display: block;
}

/* ----- Formulaire de contact ----- */
.contact-block {
  margin-top: 56px;
  padding: 48px;
  background: var(--cream);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}
.contact-intro h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--ink);
  margin-bottom: 14px;
}
.contact-intro p {
  color: var(--ink-soft);
  line-height: 1.7;
}
.contact-intro p a { color: var(--orange-dark); text-decoration: underline; }

.contact-form { display: grid; gap: 16px; }
.contact-form .hp-field { display: none !important; }
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.form-row label span {
  color: var(--orange-dark);
  font-weight: 400;
}
}
.form-row input,
.form-row select,
.form-row textarea {
  font-family: var(--font-sans);
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(238, 147, 19, 0.15);
}
.form-row textarea { resize: vertical; min-height: 120px; }
.form-submit {
  flex-direction: row;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.form-note { font-size: 0.85rem; color: var(--ink-soft); margin: 0; }
.form-note a { color: var(--orange-dark); text-decoration: underline; }
.form-status { padding: 12px 16px; border-radius: var(--radius-sm); font-size: 0.95rem; display: none; }
.form-status.ok { display: block; background: #E8F5E9; color: #1B5E20; border: 1px solid #A5D6A7; }
.form-status.err { display: block; background: #FDECEA; color: #8B1A10; border: 1px solid #F5B7B1; }
.form-status.err a { color: #8B1A10; text-decoration: underline; }

/* ----- Footer ----- */
.site-footer {
  background: var(--ink);
  color: var(--white);
  padding: 64px 0 32px;
  margin-top: 80px;
}
.footer-partners { text-align: center; margin-bottom: 48px; }
.footer-partners .label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 20px;
}
.partners-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 32px;
}
.partners-logos img {
  max-height: 72px;
  max-width: 180px;
  width: auto;
  background: var(--white);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  opacity: 1;
  filter: none;
  object-fit: contain;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: opacity 0.2s, transform 0.2s;
}
.partners-logos img:hover { opacity: 1; transform: scale(1.04); }
.footer-social { text-align: center; margin-bottom: 40px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.1); }
.footer-social .label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 20px;
}
.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  color: var(--white);
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.social-links a:hover {
  background: var(--orange);
  border-color: var(--orange);
  transform: translateY(-2px);
}
.social-links svg { flex-shrink: 0; }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}
.footer-bottom a { color: var(--orange-light); text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }

/* ----- Bandeau réseaux sociaux (milieu de page) ----- */
section.social-strip {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: var(--white);
  padding: 48px 0 64px;
}
/* Resserrer la section Événements (peu de contenu, évite un grand vide avant la bande réseaux) */
#evenements { padding-bottom: 48px; }
.social-strip-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 36px;
}
.social-strip-head h2 {
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 2.2rem;
  margin: 0 0 12px;
}
.social-strip-head p {
  color: rgba(255,255,255,0.92);
  font-size: 1.05rem;
  margin: 0;
}
.social-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.social-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  border-radius: var(--radius-lg);
  color: var(--white);
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(0,0,0,0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}
.social-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 34px rgba(0,0,0,0.28);
  filter: brightness(1.08);
  color: var(--white);
}
.social-facebook {
  background: linear-gradient(135deg, #1877F2 0%, #0d5cb8 100%);
}
.social-instagram {
  background: linear-gradient(135deg, #515BD4 0%, #8134AF 30%, #DD2A7B 60%, #FEDA77 100%);
}
.social-card-icon {
  width: 60px;
  height: 60px;
  min-width: 60px;
  border-radius: 16px;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}
.social-card-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.social-card-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.92;
  color: var(--white);
}
.social-card-handle {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ----- Papeterie / Beaux-arts / Maroquinerie ----- */
.papeterie-section {
  background: linear-gradient(180deg, var(--cream), var(--paper));
}
.papeterie-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
}
.papeterie-text .eyebrow {
  color: var(--orange-dark);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 12px;
  display: inline-block;
  padding: 6px 14px;
  background: var(--orange-light);
  border-radius: 999px;
}
.papeterie-text h2 {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  margin: 0 0 20px;
  color: var(--ink);
  line-height: 1.15;
}
.papeterie-text .intro-lead {
  font-size: 1.2rem;
  color: var(--ink);
  font-weight: 500;
  margin: 0 0 16px;
  font-family: var(--font-serif);
  font-style: italic;
}
.papeterie-text p {
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.7;
  margin: 0 0 24px;
}
.papeterie-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.papeterie-tags li {
  padding: 8px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.92rem;
  color: var(--ink);
  font-weight: 500;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
.papeterie-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  aspect-ratio: 1 / 1;
  max-height: 540px;
}
.papeterie-photo {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--ink-soft);
  transition: transform 0.3s ease;
}
.papeterie-photo:hover { transform: translateY(-4px); }
.papeterie-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.papeterie-photo:hover img { transform: scale(1.05); }
.papeterie-photo-main {
  grid-row: span 2;
}


/* ----- Coworking ----- */
.coworking-section { background: var(--cream); }
.coworking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 40px;
}
.coworking-photos {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
}
.coworking-photo {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
  background: var(--ink-soft);
}
.coworking-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.coworking-photo:hover img { transform: scale(1.03); }

.coworking-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 22px;
}
.coworking-list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: start;
  background: var(--white);
  padding: 20px 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.coworking-list li:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.coworking-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--orange-light);
  font-size: 1.5rem;
  flex-shrink: 0;
}
.coworking-list h4 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--ink);
  margin: 0 0 6px;
}
.coworking-list p {
  color: var(--ink-soft);
  font-size: 0.96rem;
  margin: 0;
  line-height: 1.55;
}

.coworking-info {
  margin-top: 36px;
  padding: 22px 28px;
  background: var(--orange-light);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.coworking-info-tag {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
}
.coworking-info p {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
}

/* ----- Ambiance / intérieur ----- */
.ambiance-section { background: var(--cream); }
.ambiance-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 1fr;
  gap: 12px;
  margin-top: 32px;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}
.ambiance-item {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--ink-soft);
  aspect-ratio: 4 / 3;
  display: block;
  position: relative;
}
.ambiance-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.ambiance-item:hover img { transform: scale(1.04); }
.ambiance-grid:has(.ambiance-item:only-child) { grid-template-columns: 1fr; max-width: 720px; margin-left: auto; margin-right: auto; }

/* ============ RESPONSIVE (additionnel) ============ */
@media (max-width: 1280px) {
  .nav-toggle { display: inline-flex; }
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-visual { order: -1; max-width: 300px; margin: 0 auto; }
  .substack-grid { grid-template-columns: 1fr; gap: 32px; }
  .news-grid { grid-template-columns: 1fr; }
  .coups-grid { grid-template-columns: 1fr 1fr; }
  .librel-grid { grid-template-columns: 1fr; gap: 32px; }
  .infos-grid { grid-template-columns: 1fr; gap: 32px; }
  .ambiance-grid { grid-template-columns: 1fr; gap: 16px; }
  .ambiance-item { aspect-ratio: 4/3; }
  .coworking-grid { grid-template-columns: 1fr; gap: 32px; }
  .coworking-photos { grid-template-rows: auto auto; }
  .papeterie-grid { grid-template-columns: 1fr; gap: 32px; }
  .papeterie-mosaic { max-height: 420px; }
  .papeterie-text h2 { font-size: 2rem; }
  .social-strip-grid { grid-template-columns: 1fr 1fr; }
  .social-strip-head h2 { font-size: 1.8rem; }
  .map-box { min-height: 320px; }
  .map-box iframe { min-height: 320px; }
  .contact-block { grid-template-columns: 1fr; gap: 28px; padding: 32px 24px; }
  .bon-cadeau { grid-template-columns: 1fr; text-align: center; gap: 20px; }
  .bon-cadeau-illustration { margin: 0 auto; }
  .reprise-steps { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .seconde-gallery { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  .hero { padding: 80px 0 60px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .coups-grid { grid-template-columns: 1fr; }
  .reprise-steps { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .seconde-gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .papeterie-mosaic { aspect-ratio: auto; max-height: none; grid-template-columns: 1fr 1fr; grid-template-rows: 200px 200px; }
  .papeterie-photo-main { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16/9; }
  .papeterie-text h2 { font-size: 1.7rem; }
  .papeterie-text .intro-lead { font-size: 1.05rem; }
  .social-strip-grid { grid-template-columns: 1fr; }
  .social-strip { padding: 48px 0; }
  .social-strip-head h2 { font-size: 1.6rem; }
  .contact-block { padding: 24px 18px; }
  .partners-logos { gap: 18px; }
  .partners-logos img { max-height: 42px; }
  section { padding: 56px 0; }
  .form-submit { flex-direction: column; align-items: stretch; gap: 12px; }
  .form-submit .btn { width: 100%; }
}

/* ----- Frise chronologique (Canva embed) ----- */
.frise-section {
  background: linear-gradient(180deg, var(--cream), var(--paper));
}
.frise-embed {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 56.2225%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(60, 40, 20, 0.18);
  background: var(--white);
}
.frise-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.frise-credit {
  text-align: center;
  margin: 22px auto 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.frise-credit a {
  color: var(--orange);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px dotted var(--orange);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}
.frise-credit a:hover {
  color: var(--orange-dark);
  border-bottom-style: solid;
}

/* Ajustement responsive : sur mobile, le ratio 16:9 devient un peu écrasé,
   on garde le même ratio mais on encourage le plein écran */
@media (max-width: 600px) {
  .frise-embed {
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(60, 40, 20, 0.18);
  }
  .frise-credit {
    font-size: 0.88rem;
  }
}

/* ----- Bouton "Retour en haut" ----- */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(31, 27, 22, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease, background .2s ease;
  z-index: 999;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(31, 27, 22, 0.24);
}
.back-to-top:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}
.back-to-top svg {
  width: 22px;
  height: 22px;
}
@media (max-width: 600px) {
  .back-to-top {
    bottom: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
  }
}

/* ----- Barre d'appel sticky (mobile uniquement) ----- */
.mobile-call-bar {
  display: none; /* masquée par défaut, activée sur mobile via media query */
}

@media (max-width: 768px) {
  .mobile-call-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 14px 18px;
    background: var(--orange);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.98rem;
    border-radius: 999px;
    box-shadow: 0 6px 20px rgba(31, 27, 22, 0.22);
    z-index: 998;
    transition: background .2s, transform .15s;
  }
  .mobile-call-bar:hover,
  .mobile-call-bar:focus-visible {
    background: var(--orange-dark);
    color: var(--white);
  }
  .mobile-call-bar:active {
    transform: scale(0.98);
  }
  .mobile-call-bar svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
  }
  /* Le bouton "Retour en haut" remonte au-dessus de la barre d'appel sur mobile */
  .back-to-top {
    bottom: 78px;
  }
  /* Réserver de l'espace en bas de page pour ne pas cacher le footer */
  body {
    padding-bottom: 70px;
  }
}

/* Sur très petits écrans, raccourcir le texte du bouton d'appel */
@media (max-width: 380px) {
  .mobile-call-bar {
    font-size: 0.92rem;
    padding: 13px 14px;
  }
}

/* ----- Note Google (section Contact) ----- */
.google-rating {
  max-width: 620px;
  margin: 40px auto 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.google-rating-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  text-align: left;
}
.google-rating-logo {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}
.google-rating-stars {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 6px;
  font-size: 1.4rem;
  line-height: 1;
}
.google-rating-stars .star {
  color: #F5B400;
}
.google-rating-stars .star.half {
  background: linear-gradient(to right, #F5B400 50%, rgba(0,0,0,0.16) 50%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.google-rating-score {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--ink);
  margin-left: 10px;
  font-weight: 600;
}
.google-rating-meta {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin: 0;
  max-width: 380px;
}
.google-rating-cta {
  margin-top: 22px;
  display: inline-block;
}

@media (max-width: 520px) {
  .google-rating {
    padding: 22px 20px;
  }
  .google-rating-head {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  .google-rating-stars {
    justify-content: center;
  }
}

/* ----- Animations subtiles au scroll (Intersection Observer) ----- */
/* La classe .reveal est appliquée par JS, donc sans JS tout s'affiche normalement */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Éléments avec un hover qui modifie le transform (news, coups, social) : on évite le conflit */
.news-card.reveal,
.coup-card.reveal,
.social-card.reveal,
.substack-article.reveal {
  transform: none;
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Respect des préférences utilisateur (accessibilité) */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.is-visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
