/* Enrichissements visuels de la version de travail. */
.botanical,
.footer-branch {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 14px 18px rgba(31, 43, 27, .18));
}

.botanical-hero-left {
  left: -28px;
  top: 86px;
  width: clamp(82px, 9vw, 138px);
  opacity: .78;
  transform: rotate(5deg);
}

.botanical-hero-right {
  top: -86px;
  right: -112px;
  width: clamp(380px, 42vw, 680px);
  opacity: .48;
  transform: rotate(-4deg);
}

.about-section,
.services-section,
.gallery-section {
  position: relative;
}

.about-section > *:not(.botanical),
.services-section > *:not(.botanical),
.gallery-section > *:not(.botanical) {
  position: relative;
  z-index: 2;
}

.botanical-about {
  right: -42px;
  bottom: -38px;
  width: clamp(118px, 14vw, 210px);
  opacity: .42;
  transform: rotate(13deg);
}

.visual-accent.fern {
  left: auto;
  right: -30px;
  bottom: 4%;
  width: min(170px, 25%);
  opacity: .5;
  transform: rotate(18deg);
  filter: drop-shadow(0 12px 18px rgba(47, 33, 22, .12));
}

.botanical-services {
  top: 22px;
  right: max(10px, calc((100vw - var(--max)) / 2));
  width: clamp(190px, 23vw, 330px);
  opacity: .22;
  transform: rotate(5deg);
}

.recent-moments-heading {
  max-width: 720px;
  margin: 18px 0 26px;
}

.recent-moments-heading h3 {
  margin: 0;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.02;
}

.recent-photo-grid {
  grid-auto-rows: clamp(240px, 28vw, 360px);
}

.recent-photo-grid figure {
  border: 7px solid rgba(255, 250, 241, .88);
  box-shadow: 0 18px 48px rgba(47, 33, 22, .13);
}

.recent-photo-grid img {
  transition: transform .55s ease, filter .55s ease;
}

.recent-photo-grid figure:hover img {
  transform: scale(1.045);
  filter: saturate(1.1) contrast(1.04);
}

.contact-photo img {
  object-position: center 38%;
}

.site-footer {
  position: relative;
  overflow: hidden;
}

.site-footer > *:not(.footer-branch) {
  position: relative;
  z-index: 2;
}

.footer-branch {
  right: -22px;
  bottom: -28px;
  width: clamp(220px, 30vw, 420px);
  opacity: .24;
  transform: rotate(-6deg);
}

.testimonials-section {
  position: relative;
  padding-top: 0;
}

.testimonials-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 34px;
}

.testimonials-heading > div:first-child {
  max-width: 820px;
}

.google-rating {
  flex: 0 0 auto;
  display: grid;
  justify-items: center;
  min-width: 174px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 241, .86);
  box-shadow: 0 14px 38px rgba(47, 33, 22, .08);
}

.google-rating strong {
  font-family: Fraunces, Georgia, serif;
  font-size: 2.7rem;
  line-height: 1;
}

.google-rating span,
.testimonial-card > div {
  color: #bd7b37;
  letter-spacing: .11em;
}

.google-rating small {
  margin-top: 5px;
  color: var(--muted);
  font-weight: 750;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.testimonial-card {
  min-height: 280px;
  display: grid;
  align-content: space-between;
  gap: 20px;
  margin: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 241, .88);
  box-shadow: 0 16px 44px rgba(47, 33, 22, .09);
}

.testimonial-card p {
  margin: 0;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.42rem, 2.2vw, 2rem);
  line-height: 1.22;
}

.testimonial-card footer {
  color: var(--ink);
  font-weight: 850;
}

.testimonial-card footer span {
  color: var(--muted);
  font-weight: 650;
}

.testimonial-card.featured {
  color: var(--cream);
  border-color: rgba(255, 250, 241, .12);
  background:
    linear-gradient(135deg, rgba(47, 65, 43, .97), rgba(34, 54, 31, .95)),
    url("../backgrounds/bg-brique-lierre.png.webp") center / cover;
}

.testimonial-card.featured footer,
.testimonial-card.featured footer span {
  color: var(--cream);
}

.reviews-link {
  width: fit-content;
  margin-top: 22px;
  color: var(--cream);
  background: var(--sage-dark);
}

.contact-section {
  margin-bottom: clamp(54px, 7vw, 82px);
}

.contact-details a,
.faq-list a {
  color: var(--sage-dark);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-section {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(480px, 1.28fr);
  gap: clamp(34px, 6vw, 86px);
  padding-top: 0;
}

.faq-heading {
  position: sticky;
  top: 118px;
  align-self: start;
}

.faq-heading p:last-child {
  color: var(--muted);
  line-height: 1.7;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 241, .86);
  box-shadow: 0 12px 36px rgba(47, 33, 22, .06);
}

.faq-list summary {
  position: relative;
  padding: 22px 64px 22px 24px;
  cursor: pointer;
  list-style: none;
  color: var(--ink);
  font-weight: 850;
}

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

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--cream);
  background: var(--sage-dark);
  transform: translateY(-50%);
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list details p {
  margin: 0;
  padding: 0 24px 24px;
  color: var(--muted);
  line-height: 1.7;
}

/* Notification douce sur la carte des nouvelles. */
.service-card.news-card {
  position: relative;
  overflow: hidden;
}

.service-notification {
  position: absolute;
  z-index: 3;
  top: 18px;
  right: 18px;
  display: grid;
  grid-template-columns: 34px 1fr 24px;
  align-items: center;
  gap: 9px;
  max-width: 218px;
  padding: 10px 11px;
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 16px;
  color: var(--ink);
  background: rgba(255, 250, 241, .94);
  box-shadow: 0 16px 38px rgba(47, 33, 22, .18);
  opacity: 0;
  transform: translate3d(24px, -14px, 0) scale(.72) rotate(4deg);
  pointer-events: none;
  backdrop-filter: blur(12px);
}

.service-notification i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #ce6f64;
  font-size: 1rem;
  font-style: normal;
  box-shadow: 0 6px 16px rgba(206, 111, 100, .35);
}

.service-notification div {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.service-notification strong {
  font-size: .72rem;
  line-height: 1.1;
  white-space: nowrap;
}

.service-notification small {
  overflow: hidden;
  color: var(--muted);
  font-size: .61rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.service-notification em {
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--sage-dark);
  font-size: .66rem;
  font-style: normal;
  font-weight: 900;
}

.news-card.is-visible .service-notification {
  animation:
    notification-in .86s cubic-bezier(.18, 1.45, .42, 1) .62s both,
    notification-float 3.4s ease-in-out 1.55s infinite;
}

@keyframes notification-in {
  0% { opacity: 0; transform: translate3d(24px, -14px, 0) scale(.72) rotate(4deg); }
  62% { opacity: 1; transform: translate3d(-3px, 2px, 0) scale(1.04) rotate(-1deg); }
  100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1) rotate(0); }
}

@keyframes notification-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* Une vidéothèque extensible : chaque nouvelle vignette reste dans le même flux. */
.modern-stories-stage {
  grid-template-columns: minmax(340px, 470px) minmax(260px, 420px);
  align-items: center;
}

.story-deck {
  min-height: 680px;
}

.story-library-toggle {
  position: absolute;
  z-index: 8;
  bottom: 0;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  padding: 8px 14px 8px 8px;
  border-radius: 999px;
  color: var(--cream);
  background: rgba(255, 250, 241, .12);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .22);
  transform: translateX(-50%);
  white-space: nowrap;
  backdrop-filter: blur(14px);
  transition: background .25s ease, transform .25s ease;
}

.story-library-toggle > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--cream);
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1;
  transition: transform .45s cubic-bezier(.2, .8, .2, 1), color .25s ease, background .25s ease;
}

.story-library-toggle > strong {
  font-size: .76rem;
  letter-spacing: .01em;
}

.story-library-toggle[aria-expanded="true"] > span {
  color: var(--cream);
  background: var(--gold);
  transform: rotate(45deg);
}

.story-library-wrap {
  grid-column: 1 / -1;
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(255, 250, 241, .16);
  border-radius: 26px;
  background: rgba(255, 250, 241, .07);
  backdrop-filter: blur(14px);
  transform-origin: 50% 0;
  will-change: transform, opacity, clip-path;
}

.story-library-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.story-library-heading > div:first-child {
  display: grid;
  gap: 3px;
}

.story-library-heading strong {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.25rem;
}

.story-library-heading span {
  color: rgba(255, 250, 241, .58);
  font-size: .82rem;
  font-weight: 700;
}

.story-library-controls {
  display: flex;
  gap: 8px;
}

.story-library-controls button {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 250, 241, .2);
  border-radius: 50%;
  color: var(--cream);
  background: rgba(255, 250, 241, .08);
  font-size: 1.05rem;
  transition: transform .22s ease, color .22s ease, background .22s ease;
}

.story-library {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 2px 12px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-color: rgba(255, 250, 241, .28) transparent;
  scrollbar-width: thin;
}

.story-clip {
  position: relative;
  flex: 0 0 142px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 19px;
  padding: 0;
  color: var(--cream);
  background: #182017;
  scroll-snap-align: start;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .22);
  opacity: 0;
  transform: translateY(22px) scale(.94);
  transition: transform .32s ease, border-color .32s ease, filter .32s ease, opacity .45s ease;
}

.is-visible .story-clip {
  opacity: .72;
  transform: translateY(0) scale(1);
  transition-delay: calc(var(--clip-order) * 70ms + 280ms);
}

.story-clip::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 34%, rgba(16, 20, 14, .86));
}

.story-clip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .48s cubic-bezier(.2, .8, .2, 1), filter .35s ease;
}

.story-clip span {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 10px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 250, 241, .9);
  font-size: .7rem;
  font-weight: 900;
}

.story-clip > strong {
  position: absolute;
  z-index: 2;
  right: 10px;
  bottom: 12px;
  left: 10px;
  font-size: .78rem;
  line-height: 1.2;
  text-align: left;
}

.story-clip.is-active {
  border-color: var(--gold);
  opacity: 1;
  filter: saturate(1.08);
}

/* Survols supplémentaires, uniquement sur les appareils qui en disposent. */
@media (hover: hover) {
  .service-card,
  .testimonial-card,
  .google-rating,
  .recent-photo-grid figure,
  .faq-list details,
  .story-panel {
    transition: transform .32s cubic-bezier(.2, .8, .2, 1), box-shadow .32s ease, border-color .32s ease;
  }

  .service-card:hover { transform: translateY(-9px) rotate(-.35deg); box-shadow: 0 24px 62px rgba(47, 33, 22, .14); }
  .service-card:nth-child(even):hover { transform: translateY(-9px) rotate(.35deg); }
  .testimonial-card:hover { transform: translateY(-8px) rotate(-.3deg); box-shadow: 0 26px 62px rgba(47, 33, 22, .15); }
  .testimonial-card:nth-child(even):hover { transform: translateY(-8px) rotate(.3deg); }
  .google-rating:hover { transform: translateY(-6px) scale(1.02); box-shadow: 0 22px 48px rgba(47, 33, 22, .14); }
  .recent-photo-grid figure:hover { transform: translateY(-7px) rotate(-.25deg); box-shadow: 0 26px 64px rgba(47, 33, 22, .19); }
  .recent-photo-grid figure:nth-child(even):hover { transform: translateY(-7px) rotate(.25deg); }
  .faq-list details:hover { transform: translateX(7px); border-color: rgba(47, 65, 43, .35); box-shadow: 0 18px 44px rgba(47, 33, 22, .1); }
  .story-panel:hover { transform: translateY(-6px); border-color: rgba(255, 250, 241, .34); }
  .story-library-controls button:hover { color: var(--ink); background: var(--cream); transform: scale(1.08); }
  .story-library-toggle:hover { background: rgba(255, 250, 241, .2); transform: translateX(-50%) translateY(-4px); }
  .story-library-toggle:hover > span { transform: rotate(90deg) scale(1.06); }
  .story-library-toggle[aria-expanded="true"]:hover > span { transform: rotate(135deg) scale(1.06); }
  .story-clip:hover { opacity: 1; transform: translateY(-7px) scale(1.02); border-color: rgba(255, 250, 241, .48); }
  .story-clip:hover img { transform: scale(1.08); filter: saturate(1.1); }
}

@media (max-width: 1060px) {
  .botanical-hero-right {
    right: -190px;
    opacity: .34;
  }

  .botanical-services {
    opacity: .14;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    min-height: 230px;
  }

  .faq-section {
    grid-template-columns: 1fr;
  }

  .faq-heading {
    position: static;
  }

  .modern-stories-stage {
    grid-template-columns: minmax(280px, 360px) 1fr;
  }
}

@media (max-width: 720px) {
  .botanical-hero-left {
    top: 78px;
    left: -42px;
    opacity: .5;
  }

  .botanical-hero-right {
    top: -52px;
    right: -178px;
    width: 430px;
    opacity: .28;
  }

  .botanical-about,
  .visual-accent.fern,
  .botanical-services {
    display: none;
  }

  .recent-photo-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 290px;
  }

  .recent-photo-grid figure.wide {
    grid-column: auto;
  }

  .footer-branch {
    width: 250px;
    opacity: .16;
  }

  .testimonials-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .google-rating {
    justify-items: start;
  }

  .testimonial-card {
    min-height: 0;
  }

  .faq-list summary {
    padding: 19px 58px 19px 19px;
  }

  .faq-list details p {
    padding: 0 19px 20px;
  }

  .modern-stories-stage {
    grid-template-columns: 1fr;
  }

  .story-deck {
    min-height: 590px;
  }

  .story-library-wrap {
    padding: 15px;
  }

  .story-clip {
    flex-basis: 126px;
  }

  .service-notification {
    top: 13px;
    right: 13px;
    transform-origin: top right;
  }
}

@media (prefers-reduced-motion: reduce) {
  .news-card.is-visible .service-notification {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .story-library,
  .story-clip,
  .story-clip img,
  .service-card,
  .testimonial-card,
  .recent-photo-grid figure,
  .faq-list details {
    scroll-behavior: auto;
    transition: none;
  }

  .is-visible .story-clip {
    opacity: 1;
    transform: none;
  }
}
