/* ============================================================
   reviews-carousel.css — Carrousel des avis Google (accueil + carte cadeau)
   Balisage : _reviews-carousel.php · comportement : reviews-carousel.js
   Variantes : .rv--wide (3 cartes, page carte cadeau) · .rv--column (1 carte, colonne Google de l'accueil)
   ============================================================ */
.rv { --rv-bark: #5C3D2E; --rv-text: #6D523B; --rv-sage: #577A5A; --rv-sage-soft: #EEF3EC; --rv-paper: #FBF6EE; --rv-line: #E3D6C4;
  position: relative; min-width: 0; }
.rv-track {
  list-style: none; display: flex; gap: 1rem; margin: 0; padding: .3rem .15rem .9rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain;
  scrollbar-width: thin; scrollbar-color: var(--rv-line) transparent; -webkit-overflow-scrolling: touch;
}
.rv-track:focus-visible { outline: 2px solid var(--rv-sage); outline-offset: 2px; border-radius: 10px; }
.rv-card {
  flex: 0 0 calc((100% - 2rem) / 3); scroll-snap-align: start; box-sizing: border-box;
  background: var(--rv-paper); border: 1px solid var(--rv-line); border-radius: 14px; padding: 1.15rem 1.25rem 1.1rem;
}
.rv-card figure { margin: 0; display: flex; flex-direction: column; height: 100%; }
.rv-stars { color: #C9A24E; letter-spacing: .12em; }
.rv-off { color: var(--rv-line); }
.rv-card blockquote { margin: .55rem 0 .9rem; flex: 1; }
.rv-card blockquote p { margin: 0; font-size: .94rem; line-height: 1.65; color: var(--rv-text); text-align: left; }
.rv-card figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .6rem; font-weight: 600; font-size: .92rem; color: var(--rv-bark); }
.rv .rv-card figcaption a { display: inline; margin: 0; font-size: inherit; font-weight: inherit; color: inherit; text-decoration: none; }
.rv .rv-card figcaption a:hover { text-decoration: underline; }
.rv-when { font-weight: 400; font-size: .82rem; color: #8a7862; }
.rv-btn {
  position: absolute; z-index: 2; width: 2.5rem; height: 2.5rem; padding: 0; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.6rem; line-height: 1; cursor: pointer;
  background: #fff; color: var(--rv-bark); border: 1px solid var(--rv-line); box-shadow: 0 2px 8px rgba(92, 61, 46, .15);
}
.rv-btn:hover:not(:disabled) { background: var(--rv-sage-soft); }
.rv-btn:focus-visible { outline: 2px solid var(--rv-sage); outline-offset: 2px; }
.rv-btn:disabled { opacity: .35; cursor: default; }

/* Large : flèches sur les côtés */
.rv--wide .rv-btn { top: calc(50% - 1.1rem); }
.rv--wide .rv-prev { left: -1.1rem; }
.rv--wide .rv-next { right: -1.1rem; }
@media (max-width: 1160px) { .rv--wide .rv-prev { left: -.4rem; } .rv--wide .rv-next { right: -.4rem; } }
@media (max-width: 880px) { .rv--wide .rv-card { flex-basis: calc((100% - 1rem) / 2); } }
@media (max-width: 560px) { .rv--wide .rv-card { flex-basis: 86%; } .rv--wide .rv-btn { width: 2.2rem; height: 2.2rem; font-size: 1.4rem; } }

/* Colonne : une carte à la fois, flèches sous l'avis */
.rv--column { padding-bottom: 2.9rem; margin-top: .4rem; }
.rv--column .rv-track { gap: 0; padding: 0 0 .2rem; }
.rv--column .rv-card { flex-basis: 100%; border: 0; background: transparent; padding: 0; border-radius: 0; }
.rv--column .rv-card blockquote { margin: .2rem 0 .7rem; }
.rv--column .rv-card blockquote p { max-height: 11rem; overflow-y: auto; padding-right: .5em; scrollbar-width: thin; scrollbar-color: #B8AB9C transparent; }
.rv--column .rv-stars { color: #f4b400; letter-spacing: 0; font-size: 1.1em; }
.rv--column .rv-btn { bottom: 0; width: 2.3rem; height: 2.3rem; font-size: 1.4rem; }
.rv--column .rv-prev { left: calc(50% - 2.6rem); }
.rv--column .rv-next { left: calc(50% + .3rem); }

@media (prefers-reduced-motion: reduce) { .rv-track { scroll-behavior: auto; } }
@media print { .rv-btn { display: none; } }

/* Note globale dans la colonne Google de l'accueil */
.avis-note { margin: .2rem 0 .3rem; font-size: .9rem; color: #444; }
