/* ==========================================================================
   CHOUFLEURS - Page d'accueil
   ========================================================================== */

/* --------------------------------------------------------------------------
   HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  padding: calc(var(--header-height) + var(--space-xl)) 0 var(--space-2xl);
  overflow: hidden;
  background: linear-gradient(135deg,
    var(--color-bg) 0%,
    var(--color-beige) 100%);
}

[data-theme="dark"] .hero {
  background: linear-gradient(135deg,
    var(--color-bg) 0%,
    #1A2030 100%);
}

/* Décorations animées en fond */
.hero-decor {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.hero-decor-1 {
  top: 10%;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--color-rose) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
  opacity: 0.6;
}

.hero-decor-2 {
  bottom: -50px;
  left: -100px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, var(--color-sage) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 10s ease-in-out infinite reverse;
  opacity: 0.5;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.hero-content {
  animation: fade-in-up 1s var(--ease-out);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
  box-shadow: var(--shadow-sm);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 10px #10B981;
  animation: pulse-glow 2s ease-in-out infinite;
}

/* Statut dynamique : vert si ouvert, rouge si fermé.
   La classe is-open / is-closed est ajoutée par OpenStatus.init() dans main.js. */
.hero-badge.is-open .dot {
  background: #10B981;
  box-shadow: 0 0 10px #10B981;
}

.hero-badge.is-closed .dot {
  background: #EF4444;
  box-shadow: 0 0 10px #EF4444;
}

.hero h1 {
  font-size: clamp(2.5rem, 4vw + 1rem, 5rem);
  margin-bottom: var(--space-md);
  font-weight: 600;
}

.hero h1 .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
  animation: fade-in-up 0.8s var(--ease-out) forwards;
}

.hero h1 .word:nth-child(1) { animation-delay: 0.1s; }
.hero h1 .word:nth-child(2) { animation-delay: 0.2s; }
.hero h1 .word:nth-child(3) { animation-delay: 0.3s; }
.hero h1 .word:nth-child(4) { animation-delay: 0.4s; }

.hero-subtitle {
  font-size: var(--fs-lg);
  color: var(--color-text-muted);
  max-width: 540px;
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-lg);
}

.hero-stats {
  display: flex;
  gap: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.hero-stat-label {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.25rem;
}

/* Hero Visual - Composition d'images */
.hero-visual {
  position: relative;
  height: 600px;
}

.hero-img {
  position: absolute;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform 0.6s var(--ease-out);
}

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

.hero-img-1 {
  top: 0;
  right: 0;
  width: 70%;
  height: 70%;
  z-index: 2;
  animation:
    fade-in-up 1s var(--ease-out) 0.2s both,
    hero-sway-a 5s linear 1.2s infinite;
  will-change: transform;
}

.hero-img-2 {
  bottom: 0;
  left: 0;
  width: 55%;
  height: 50%;
  z-index: 3;
  animation:
    fade-in-up 1s var(--ease-out) 0.4s both,
    hero-sway-b 6s linear 1.4s infinite;
  will-change: transform;
}

/* Les @keyframes hero-sway-a/b sont définies dans main.css (globales). */

.hero-visual:hover .hero-img-1 { transform: translate(-8px, 8px); }
.hero-visual:hover .hero-img-2 { transform: translate(8px, -8px); }

/* Badge flottant sur le hero */
.hero-floating-card {
  position: absolute;
  bottom: 30%;
  right: -20px;
  z-index: 4;
  background: var(--color-bg-card);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: float 4s ease-in-out infinite;
  border: 1px solid var(--color-border);
}

.hero-floating-card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-floating-card-text {
  font-size: var(--fs-xs);
  font-weight: 600;
}

.hero-floating-card-text strong {
  display: block;
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   SECTION INTRO
   -------------------------------------------------------------------------- */
.intro {
  padding: var(--space-3xl) 0;
  background: var(--color-bg);
  text-align: center;
}

.intro-content {
  max-width: 800px;
  margin: 0 auto;
}

.intro h2 {
  margin-bottom: var(--space-md);
}

.intro p {
  font-size: var(--fs-lg);
  color: var(--color-text-muted);
  line-height: 1.8;
}

/* --------------------------------------------------------------------------
   SECTION BOUTIQUES
   -------------------------------------------------------------------------- */
.boutiques {
  padding: var(--space-3xl) 0;
  background: var(--color-bg-alt);
}

.boutique-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: var(--space-xl);
  border: 1px solid var(--color-border);
  transition: all var(--duration-base) var(--ease-out);
}

.boutique-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.boutique-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 480px;
}

.boutique-card:nth-child(even) .boutique-grid {
  direction: rtl;
}

.boutique-card:nth-child(even) .boutique-info,
.boutique-card:nth-child(even) .boutique-map {
  direction: ltr;
}

.boutique-info {
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.boutique-name {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: var(--space-sm);
}

.boutique-name h3 {
  font-size: var(--fs-2xl);
  margin: 0;
}

.boutique-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--color-primary);
  color: white;
  font-size: var(--fs-xs);
  font-weight: 700;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.boutique-address {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
  font-size: var(--fs-base);
}

.boutique-address svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-primary);
  margin-top: 2px;
}

.boutique-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: var(--space-lg);
  transition: all var(--duration-base) ease;
}

.boutique-phone:hover {
  color: var(--color-primary-dark);
  transform: scale(1.02);
}

.boutique-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Carte Leaflet */
.boutique-map {
  position: relative;
  background: var(--color-bg-alt);
  min-height: 400px;
}

.leaflet-map {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border-radius: 0;
}

/* Override Leaflet styles for dark mode */
[data-theme="dark"] .leaflet-tile-pane {
  filter: brightness(0.7) invert(1) contrast(0.9) hue-rotate(180deg) saturate(0.5) brightness(0.8);
}

.leaflet-popup-content-wrapper {
  border-radius: var(--radius-md) !important;
  font-family: var(--font-heading) !important;
}

.leaflet-popup-content {
  margin: 0.875rem 1rem !important;
  font-size: 0.9rem !important;
}

.leaflet-popup-content strong {
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 1rem;
}

/* --------------------------------------------------------------------------
   SECTION LOCK'HEURE - Distributeur 24h/24
   -------------------------------------------------------------------------- */
.lockheure {
  padding: var(--space-3xl) 0;
  background: var(--color-bg);
  position: relative;
  overflow: hidden;
}

.lockheure-decor {
  position: absolute;
  top: 50%;
  right: -200px;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  border: 2px dashed var(--color-secondary);
  border-radius: 50%;
  opacity: 0.15;
  animation: spin-slow 60s linear infinite;
  pointer-events: none;
}

.lockheure-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.lockheure-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}

.lockheure-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.lockheure-visual:hover img {
  transform: scale(1.05);
}

.lockheure-badge-24 {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 90px;
  height: 90px;
  background: var(--color-secondary);
  color: var(--color-text);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  box-shadow: 0 8px 24px rgba(212, 145, 0, 0.4);
  animation: float 3s ease-in-out infinite;
}

.lockheure-badge-24 strong {
  font-size: 1.8rem;
  line-height: 1;
}

.lockheure-badge-24 span {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 2px;
}

.lockheure-content h2 {
  margin-bottom: var(--space-md);
}

.lockheure-content p {
  font-size: var(--fs-lg);
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

.lockheure-features {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.lockheure-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-sm);
  color: var(--color-text);
  font-weight: 500;
}

.lockheure-features svg {
  width: 18px;
  height: 18px;
  color: var(--color-secondary-dark);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   SECTION AVIS GOOGLE
   -------------------------------------------------------------------------- */
.avis {
  padding: var(--space-3xl) 0;
  background: linear-gradient(180deg,
    var(--color-bg-alt) 0%,
    var(--color-bg) 100%);
}

.avis-google-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  background: var(--color-bg-card);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--space-md);
  border: 1px solid var(--color-border);
}

.avis-google-logo {
  width: 24px;
  height: 24px;
}

.avis-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
}

.avis-rating-num {
  font-size: 1.25rem;
  color: var(--color-secondary-dark);
}

.avis-stars {
  display: flex;
  gap: 2px;
  color: var(--color-secondary);
}

.avis-stars svg { width: 16px; height: 16px; }

.avis-count {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-weight: 500;
}

.avis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.avis-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  border: 1px solid var(--color-border);
  transition: all var(--duration-base) var(--ease-out);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.avis-card::before {
  content: '"';
  position: absolute;
  top: -20px;
  right: 10px;
  font-family: var(--font-display);
  font-size: 8rem;
  color: var(--color-primary);
  opacity: 0.08;
  line-height: 1;
}

.avis-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary-light);
}

.avis-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: var(--space-sm);
}

.avis-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.avis-card:nth-child(2) .avis-avatar {
  background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-dark));
  color: var(--color-text);
}

.avis-card:nth-child(3) .avis-avatar {
  background: linear-gradient(135deg, var(--color-sage), var(--color-leaf));
}

.avis-card:nth-child(4) .avis-avatar {
  background: linear-gradient(135deg, var(--color-rose-dark), var(--color-rose));
  color: var(--color-text);
}

.avis-card:nth-child(5) .avis-avatar {
  background: linear-gradient(135deg, var(--color-leaf), var(--color-sage));
}

.avis-card:nth-child(6) .avis-avatar {
  background: linear-gradient(135deg, #8E63B5, #B58FD4);
}

.avis-author {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-base);
  color: var(--color-text);
}

.avis-date {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
}

.avis-stars-card {
  display: flex;
  gap: 2px;
  margin-bottom: 0.75rem;
  color: var(--color-secondary);
}

.avis-stars-card svg { width: 16px; height: 16px; }

.avis-text {
  font-size: var(--fs-sm);
  line-height: 1.7;
  color: var(--color-text);
  font-style: italic;
  position: relative;
  z-index: 1;
}

.avis-cta {
  text-align: center;
  margin-top: var(--space-lg);
}

/* --------------------------------------------------------------------------
   SECTION LIVRAISON
   -------------------------------------------------------------------------- */
.livraison {
  padding: var(--space-3xl) 0;
  background: var(--color-bg);
}

.livraison-card {
  background: linear-gradient(135deg,
    var(--color-primary) 0%,
    var(--color-primary-dark) 100%);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  color: white;
  position: relative;
  overflow: hidden;
}

.livraison-card::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--color-secondary) 0%, transparent 70%);
  opacity: 0.2;
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.livraison-card-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.livraison-card h2 {
  color: white;
  margin-bottom: var(--space-md);
}

.livraison-title {
  color: white;
}

.livraison-count {
  color: var(--color-secondary);
}

/* Eyebrow "Livraison à domicile" : doré sur fond gris foncé (mode clair),
   gris foncé sur fond doré (mode sombre) */
.eyebrow-on-gold {
  color: var(--color-secondary);
}

[data-theme="dark"] .eyebrow-on-gold {
  color: #2A2E2E;
}

/* Mode sombre : le fond du card devient doré (--color-primary = doré clair),
   donc on bascule le titre, le compteur et les chips en gris foncé pour
   lisibilité. Les paragraphes deviennent blanc pur (pas gris). */
[data-theme="dark"] .livraison-card {
  background: linear-gradient(135deg,
    var(--color-secondary) 0%,
    var(--color-primary) 100%);
}

/* En mode sombre, le card est doré. "Nous livrons dans" reste blanc (contraste),
   et "22 communes" passe en gris foncé pour se détacher du blanc et du fond doré. */
[data-theme="dark"] .livraison-card h2,
[data-theme="dark"] .livraison-title {
  color: #FFFFFF;
}

[data-theme="dark"] .livraison-count {
  color: #2A2E2E;
}

[data-theme="dark"] .livraison-card p {
  color: #FFFFFF;
}

[data-theme="dark"] .livraison-commune {
  background: rgba(42, 46, 46, 0.15);
  border-color: rgba(42, 46, 46, 0.55);
  color: #FFFFFF;
}

[data-theme="dark"] .livraison-commune:hover {
  background: #2A2E2E;
  color: #FFFFFF;
  border-color: #2A2E2E;
}

.livraison-card p {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--fs-lg);
  margin-bottom: var(--space-md);
  line-height: 1.7;
}

.livraison-communes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: var(--space-md);
}

.livraison-commune {
  display: inline-block;
  padding: 0.4rem 0.875rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 500;
  color: #FFFFFF;
  border: 1px solid var(--color-secondary);
  /* Changements de couleur instantanés (pas de transition) ;
     seul le transform au hover garde une légère fluidité. */
  transition: transform 0.15s var(--ease-out);
}

.livraison-commune:hover {
  background: var(--color-secondary);
  color: #FFFFFF;
  border-color: var(--color-secondary);
  transform: scale(1.05);
}

/* Variante lien cliquable (communes avec page SEO dédiée) */
a.livraison-commune-link {
  text-decoration: none;
  cursor: pointer;
}

a.livraison-commune-link:hover {
  text-decoration: none;
}

.livraison-icon-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Banner photo en haut de chaque card boutique (accueil) */
.boutique-banner-photo {
  margin: calc(var(--space-lg) * -1) calc(var(--space-lg) * -1) var(--space-lg);
  aspect-ratio: 16 / 5;
  overflow: hidden;
  position: relative;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.boutique-banner-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--ease-out);
}

.boutique-card:hover .boutique-banner-photo img {
  transform: scale(1.04);
}

.boutique-card {
  overflow: hidden;
}

@media (max-width: 768px) {
  .boutique-banner-photo { aspect-ratio: 16 / 7; }
}

/* Photo livraison (remplace l'ancien icône camion dans la section livraison) */
.livraison-photo {
  margin: 0;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22), 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: rotate(-2deg);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
  position: relative;
  z-index: 1;
}

.livraison-photo:hover {
  transform: rotate(0deg);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28), 0 8px 16px rgba(0, 0, 0, 0.10);
}

.livraison-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.livraison-icon {
  width: 280px;
  height: 280px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  border: 2px dashed rgba(255, 255, 255, 0.3);
  animation: spin-slow 30s linear infinite;
}

.livraison-icon svg {
  width: 120px;
  height: 120px;
  color: white;
  animation: spin-slow 30s linear infinite reverse;
}

/* --------------------------------------------------------------------------
   SECTION CTA - Appel à l'action final
   -------------------------------------------------------------------------- */
.cta-final {
  padding: var(--space-3xl) 0;
  background: var(--color-bg-alt);
  text-align: center;
}

.cta-final h2 {
  margin-bottom: var(--space-md);
}

.cta-final p {
  font-size: var(--fs-lg);
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .hero-visual { height: 500px; }

  .boutique-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .boutique-card:nth-child(even) .boutique-grid {
    direction: ltr;
  }

  .boutique-map { min-height: 350px; }

  .lockheure-inner {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .avis-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .livraison-card-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .livraison-card { padding: var(--space-xl); }

  .livraison-icon { width: 200px; height: 200px; }
  .livraison-icon svg { width: 80px; height: 80px; }
}

@media (max-width: 768px) {
  .hero { padding-top: calc(var(--header-height) + var(--space-md)); }

  .hero-visual { height: 400px; }

  .hero-floating-card { right: 10px; }

  .hero-stats {
    flex-wrap: wrap;
    gap: var(--space-md);
  }

  .boutique-info { padding: var(--space-lg); }

  .boutique-actions { flex-direction: column; }

  .boutique-actions .btn { width: 100%; }

  .lockheure-features {
    grid-template-columns: 1fr;
  }

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

  .lockheure-decor { display: none; }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn { width: 100%; }

  .hero-floating-card {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: var(--space-md);
    width: fit-content;
  }
}

/* ==========================================================================
   AVIS STAGGER — Carousel empilé en éventail (port vanilla)
   Cards plus grandes pour afficher l'intégralité des avis Google (>200 car.)
   ========================================================================== */
.avis-stagger {
  position: relative;
  width: 100%;
  height: 720px;
  overflow: hidden;
  background: rgba(245, 239, 230, 0.4);
  border-radius: var(--radius-lg);
  margin-top: var(--space-xl);
  --card-size: 460px;
}

[data-theme="dark"] .avis-stagger {
  background: rgba(26, 31, 46, 0.3);
}

.avis-stagger-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--card-size);
  height: var(--card-size);
  padding: 2rem;
  background: var(--color-bg-card);
  color: var(--color-text);
  border: 2px solid var(--color-border);
  cursor: pointer;
  transition: transform 0.5s var(--ease-in-out),
              box-shadow 0.5s var(--ease-in-out),
              background 0.5s var(--ease-in-out),
              border-color 0.5s var(--ease-in-out),
              color 0.5s var(--ease-in-out);
  clip-path: polygon(
    50px 0%,
    calc(100% - 50px) 0%,
    100% 50px,
    100% 100%,
    calc(100% - 50px) 100%,
    50px 100%,
    0 100%,
    0 0
  );
  z-index: 0;
  box-shadow: 0 0 0 0 transparent;
  display: flex;
  flex-direction: column;
}

.avis-stagger-card:hover {
  border-color: var(--color-primary);
}

.avis-stagger-card.is-center {
  z-index: 10;
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #FFFFFF;
  box-shadow: 0 8px 0 4px var(--color-border);
  cursor: default;
}

[data-theme="dark"] .avis-stagger-card.is-center {
  box-shadow: 0 8px 0 4px var(--color-border);
}

/* Trait jaune diagonal en haut-droite (effet "papier découpé") */
.avis-stagger-card-slash {
  position: absolute;
  right: -2px;
  top: 48px;
  width: 70.7106px;
  height: 2px;
  background: var(--color-secondary);
  transform: rotate(45deg);
  transform-origin: top right;
  display: block;
}

/* Entête : avatar polaroid + nom/date côte-à-côte */
.avis-stagger-head {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 0.75rem;
  padding-right: 60px;  /* évite que le head touche le chamfer top-right */
}

.avis-stagger-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.avis-stagger-author {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.15;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.avis-stagger-date {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-top: 3px;
}

.avis-stagger-card.is-center .avis-stagger-author { color: #FFFFFF; }
.avis-stagger-card.is-center .avis-stagger-date   { color: rgba(255, 255, 255, 0.82); }

/* Avatar polaroid */
.avis-stagger-avatar {
  width: 54px;
  height: 62px;
  flex-shrink: 0;
  background: var(--color-secondary);
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  box-shadow: 3px 3px 0 var(--color-bg);
}

.avis-stagger-card.is-center .avis-stagger-avatar {
  background: #FFFFFF;
  color: var(--color-primary);
  box-shadow: 3px 3px 0 var(--color-primary-dark);
}

/* Étoiles */
.avis-stagger-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 0.75rem;
  color: var(--color-secondary);
}

.avis-stagger-stars svg { width: 16px; height: 16px; }

/* Texte de l'avis — doit afficher l'intégralité sans coupure */
.avis-stagger-text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.005em;
  color: inherit;
  margin: 0;
  overflow: hidden;
  text-wrap: balance;
}

.avis-stagger-card.is-center .avis-stagger-text {
  font-size: 1.1rem;
  font-weight: 500;
}

/* Boutons chevrons en bas */
.avis-stagger-controls {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 20;
}

.avis-stagger-btn {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg);
  color: var(--color-text);
  border: 2px solid var(--color-border);
  cursor: pointer;
  transition: all var(--duration-fast) ease;
}

.avis-stagger-btn:hover {
  background: var(--color-primary);
  color: #FFFFFF;
  border-color: var(--color-primary);
}

.avis-stagger-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(61, 66, 66, 0.35);
}

.avis-stagger-btn svg {
  width: 24px;
  height: 24px;
}

/* Tablette : cartes intermédiaires */
@media (max-width: 1024px) {
  .avis-stagger {
    --card-size: 400px;
    height: 660px;
  }
  .avis-stagger-text { font-size: 1rem; }
}

/* Mobile : cards plus compactes */
@media (max-width: 640px) {
  .avis-stagger {
    --card-size: 320px;
    height: 600px;
  }
  .avis-stagger-card { padding: 1.5rem; }
  .avis-stagger-head { padding-right: 50px; }
  .avis-stagger-text { font-size: 0.92rem; line-height: 1.45; }
  .avis-stagger-card.is-center .avis-stagger-text { font-size: 0.95rem; }
  .avis-stagger-author { font-size: 0.95rem; }
  .avis-stagger-date { font-size: 0.75rem; }
  .avis-stagger-avatar { width: 46px; height: 54px; font-size: 1.35rem; }
}

/* --------------------------------------------------------------------------
   SOUS-SECTION : NOS DISTRIBUTEURS (page accueil, section boutiques)
   -------------------------------------------------------------------------- */
/* "Nos distributeurs" : même taille et style que "Nos boutiques" (h2) */
.section-header-sub h3 {
  font-family: var(--font-display);
  font-size: var(--fs-3xl);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-xs);
}

.distributeurs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.distributeur-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  transition: transform var(--duration-base) var(--ease-out),
              border-color var(--duration-base) ease,
              box-shadow var(--duration-base) ease;
}

.distributeur-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-secondary);
  box-shadow: 0 12px 32px var(--color-shadow);
}

.distributeur-tag {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--color-text);
}

.distributeur-address {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--color-text-muted);
  font-size: var(--fs-sm);
  line-height: 1.5;
  flex: 1;
}

.distributeur-address svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--color-secondary);
  margin-top: 2px;
}

.distributeur-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

@media (max-width: 900px) {
  .distributeurs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .distributeurs-grid {
    grid-template-columns: 1fr;
  }
}
