/* ═══════════════════════════════════════════════════════
   Séjour Traditions Marocaines – Feuille de style principale
   Palette : Rouge #B41414 · Or #F08C14 · Sable #F5EDD8 · Noir #1A0A00
   ═══════════════════════════════════════════════════════ */

/* ─── VARIABLES ─── */
:root {
  --rouge:   #B41414;
  --rouge-f: #8C0F0F;
  --or:      #F08C14;
  --or-f:    #D47A0A;
  --peche:   #F0DCC8;
  --sable:   #F5EDD8;
  --sable-f: #EDE0C4;
  --bg:      #FAF3EB;
  --blanc:   #FFFAF5;
  --noir:    #1A0A00;
  --texte-s: #B8A890;
  --ombre:   0 4px 28px rgba(180,20,20,0.12);
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Lato", sans-serif;
  background: var(--bg);
  color: var(--noir);
}

/* ─── TYPOGRAPHIE ─── */
h1, h2, h3, h4 { font-family: "Playfair Display", serif; }

/* ─── BOUTONS ─── */
.btn-rouge {
  display: inline-block;
  background: var(--rouge); color: #fff;
  font-family: "Lato", sans-serif; font-weight: 700;
  font-size: 0.88rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.9rem 2.6rem; border-radius: 2px; border: none;
  cursor: pointer; text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 20px rgba(180,20,20,0.4);
}
.btn-rouge:hover { background: var(--rouge-f); transform: translateY(-2px); }

.btn-or {
  display: inline-block;
  background: var(--or); color: var(--noir);
  font-family: "Lato", sans-serif; font-weight: 700;
  font-size: 0.88rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.9rem 2.6rem; border-radius: 2px; border: none;
  cursor: pointer; text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 20px rgba(240,140,20,0.35);
}
.btn-or:hover { background: var(--or-f); transform: translateY(-2px); }

.nav-links { display: flex; align-items: center; gap: 0.5rem; }
.nav-link {
  color: rgba(240,220,200,0.75); text-decoration: none;
  font-family: "Lato", sans-serif; font-weight: 700;
  font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.5rem 1rem; border-radius: 2px;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover, .nav-link.active {
  color: var(--or); background: rgba(240,140,20,0.1);
}

/* ─── NAVIGATION ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 800;
  background: rgba(26,10,0,0.96);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.6rem 2rem;
  border-bottom: 2px solid var(--rouge);
}
.nav-logo { display: flex; align-items: center; gap: 0.8rem; text-decoration: none; }
.nav-logo img { height: 46px; width: auto; }
.nav-logo span {
  font-family: "Playfair Display", serif;
  color: var(--peche); font-size: 1rem; line-height: 1.2; max-width: 180px;
}
.nav-cta {
  background: var(--rouge); color: #fff;
  border: none; border-radius: 2px;
  padding: 0.55rem 1.4rem;
  font-family: "Lato", sans-serif; font-weight: 700;
  font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase;
  cursor: pointer; text-decoration: none;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--rouge-f); }

/* ─── HÉRO ─── */
.hero {
  min-height: 100vh;
  background: url('../images_accueil/Agadir_Oufela.webp') center center / cover no-repeat;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; text-align: center;
  padding: 6rem 2rem 4rem;
}
.hero-bg {
  display: none;
}
.hero-medallion {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none; opacity: 0.06;
}
.hero-medallion svg { width: 70vmin; height: 70vmin; }
.hero-content { position: relative; z-index: 2; max-width: 780px; }
.hero-logo {
  width: clamp(130px, 14vw, 190px); height: auto; margin-bottom: 1.8rem;
  filter: drop-shadow(0 0 24px rgba(240,140,20,0.5));
}
.hero-eyebrow {
  font-size: 0.95rem; font-weight: 700; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--noir); margin-bottom: 1.2rem;
  text-shadow: 0 1px 3px rgba(255,255,255,0.85), 0 0 14px rgba(255,255,255,0.6);
}
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.6rem); font-weight: 700;
  color: var(--noir); line-height: 1.15; margin-bottom: 1.2rem;
  text-shadow: 0 1px 3px rgba(255,255,255,0.85), 0 0 14px rgba(255,255,255,0.6);
}
.hero h1 em { color: var(--rouge); font-style: italic; }
.hero p {
  font-size: 1.35rem; font-weight: 700; color: var(--noir);
  max-width: 620px; margin: 0 auto 2.4rem; line-height: 1.7;
  text-shadow: 0 1px 3px rgba(255,255,255,0.85), 0 0 14px rgba(255,255,255,0.6);
}

/* ─── SECTION HEADER ─── */
.section-header { text-align: center; padding: 4rem 1rem 2rem; }
.section-header .eyebrow {
  font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--rouge); margin-bottom: 0.7rem;
}
.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem); color: var(--noir);
}
.divider {
  width: 64px; height: 3px;
  background: linear-gradient(90deg, var(--rouge), var(--or));
  margin: 1rem auto 0; border-radius: 2px;
}

.section-back {
  display: inline-block; margin-top: 1rem;
  font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--rouge); text-decoration: none;
  transition: color 0.2s;
}
.section-back:hover { color: var(--or); }

/* ─── CARROUSEL ─── */
.carousel-wrap {
  position: relative; padding: 1.5rem 0 3.5rem; overflow-x: hidden; overflow-y: visible;
}
.carousel-track-outer { overflow-x: hidden; overflow-y: visible; padding: 2.5rem 0; }
.carousel-track {
  display: flex; gap: 1.6rem;
  transition: transform 0.42s cubic-bezier(.4,0,.2,1);
  will-change: transform;
  padding: 0 2rem;
}
/* Glisser-réorganiser les fiches (admin uniquement) — repris à l'identique
   du mécanisme de bien-etre.php (drag natif HTML5) */
.card-draggable { cursor: grab; transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s; }
.card-draggable:active { cursor: grabbing; }
.card-draggable.dragging { opacity: 0.35; }
.card-draggable.card-drop-over {
  box-shadow: 0 0 0 3px var(--or), 0 4px 20px rgba(180,20,20,0.1);
  transform: scale(0.98);
}
.card-img { -webkit-user-drag: none; user-drag: none; }

/* ─── FICHE ACTIVITÉ ─── */
.card {
  flex: 0 0 620px; max-width: 620px;
  height: 840px;
  cursor: pointer;
  transition: transform 0.22s;
  position: relative;
  display: flex; flex-direction: column;
}
.card:hover {
  transform: translateY(-7px);
  z-index: 30;
}
.card-frame {
  width: 100%; flex: 1 1 auto;
  background: var(--noir);
  border-radius: 3px;
  box-shadow: var(--ombre);
  overflow: hidden;
  transition: box-shadow 0.22s, overflow 0s;
  position: relative;
}
.card:hover .card-frame {
  box-shadow: 0 16px 40px rgba(180,20,20,0.25);
  overflow: visible;
}
.card-img-box {
  width: 100%; height: 100%;
  position: absolute; inset: 0;
  overflow: visible;
}
.card-img {
  width: 100%; height: 100%;
  object-fit: contain; object-position: center;
  display: block;
  transition: transform 0.5s ease;
}
.card:hover .card-img {
  transform: scale(1.4);
}
.card-hover-overlay {
  display: none; /* cadre sombre "Réservez maintenant !" supprimé partout (desktop + mobile) : rendait la lecture difficile */
}
.card:hover .card-hover-overlay {
  opacity: 1;
}
.card-hover-text {
  color: #fff;
  font-family: "Playfair Display", serif;
  font-size: 1.3rem; font-style: italic;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
  text-align: center;
  background: var(--rouge);
  border: 2px solid #fff;
  padding: 0.7rem 1.8rem;
  border-radius: 2px;
  box-shadow: 0 4px 20px rgba(180,20,20,0.6);
}
.card-badge { display: none; }

.card-download-btn {
  position: static; flex: 0 0 auto; z-index: 6;
  width: 100%; border: none; cursor: pointer;
  background: var(--rouge); color: #fff;
  font-family: "Lato", sans-serif; font-size: 0.92rem; font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.9rem 1rem;
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  border-radius: 3px 3px 0 0;
  margin-bottom: 2px;
  box-shadow: var(--ombre);
  transition: background 0.2s;
}
.card-download-btn:hover { background: var(--rouge-f); }

/* Menu de partage */
.share-menu {
  display: none; position: fixed; top: 4.5rem; right: 2rem; z-index: 1200;
  background: var(--blanc); border-radius: 4px; overflow: hidden;
  box-shadow: 0 12px 36px rgba(26,10,0,0.25); min-width: 220px;
}
.share-menu.open { display: flex; flex-direction: column; }
.share-menu a, .share-menu button {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.9rem 1.2rem; font-family: 'Lato', sans-serif; font-size: 0.9rem;
  color: var(--noir); text-decoration: none; background: none; border: none;
  text-align: left; cursor: pointer; width: 100%;
  border-bottom: 1px solid var(--sable);
}
.share-menu a:last-child, .share-menu button:last-child { border-bottom: none; }
.share-menu a:hover, .share-menu button:hover { background: var(--sable); }
@media (max-width: 600px) {
  .share-menu { right: 1rem; left: 1rem; min-width: unset; }
}

/* Titre permanent en bas de l'image */
.card-title-overlay {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  padding: 2.5rem 1.2rem 1rem;
  background: linear-gradient(to top, rgba(26,10,0,0.88) 0%, transparent 100%);
  transition: opacity 0.35s ease;
}
.card:hover .card-title-overlay { opacity: 1; }
.card-title-overlay h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem; color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

/* ─── BOUTONS CARROUSEL ─── */
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: var(--rouge); color: #fff;
  border: none; border-radius: 50%;
  width: 48px; height: 48px; font-size: 1.3rem;
  cursor: pointer; z-index: 10;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(180,20,20,0.35);
  transition: background 0.2s, transform 0.15s;
}
.carousel-btn:hover { background: var(--rouge-f); transform: translateY(-50%) scale(1.08); }
.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }
.carousel-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1.6rem; }
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #ccc; cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.dot.active { background: var(--rouge); transform: scale(1.3); }

/* ─── MODAL RÉSERVATION ─── */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(26,10,0,0.75); z-index: 1000;
  align-items: center; justify-content: center; padding: 1rem;
  backdrop-filter: blur(4px);
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--blanc); border-radius: 3px;
  max-width: 580px; width: 100%;
  max-height: 92vh; overflow-y: auto;
  box-shadow: 0 24px 72px rgba(26,10,0,0.4);
  animation: modalIn 0.28s ease;
  border-top: 4px solid var(--rouge);
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.modal-header {
  background: var(--noir); color: var(--blanc);
  padding: 1.6rem 2rem 1.4rem;
  display: flex; align-items: flex-start; justify-content: space-between;
}
.modal-header h3 { font-size: 1.35rem; }
.modal-header .act-name { color: var(--or); font-size: 0.88rem; margin-top: 0.3rem; }
.modal-close {
  background: none; border: none; color: rgba(240,220,200,0.6);
  font-size: 1.5rem; cursor: pointer; padding: 0 0 0 1rem;
}
.modal-close:hover { color: var(--or); }
.modal-body { padding: 1.8rem 2rem; }

/* ─── FORMULAIRE ─── */
.form-section-title {
  font-family: "Playfair Display", serif; font-size: 0.98rem;
  color: var(--rouge); margin: 1.5rem 0 0.9rem;
  padding-bottom: 0.4rem; border-bottom: 1.5px solid var(--peche);
}
.form-section-title:first-child { margin-top: 0; }
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--texte-s); margin-bottom: 0.38rem;
}
.form-group input,
.form-group select {
  width: 100%; padding: 0.7rem 0.9rem;
  border: none; border-radius: 2px;
  font-family: "Lato", sans-serif; font-size: 0.94rem; color: var(--noir);
  background: var(--sable); transition: box-shadow 0.2s;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(180,20,20,0.14);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* Quantité participants */
.qty-label {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--texte-s); margin-bottom: 0.25rem;
}
.qty-row { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.45rem; }
.qty-btn {
  width: 34px; height: 34px; background: var(--rouge); color: #fff;
  border: none; border-radius: 2px; font-size: 1.2rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.qty-btn:hover { background: var(--rouge-f); }
.qty-val { font-size: 1.1rem; font-weight: 700; min-width: 32px; text-align: center; }

/* Monture */
.monture-opts { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.monture-opt {
  flex: 1; min-width: 120px;
  display: flex; align-items: center; gap: 0.55rem;
  background: var(--sable);
  border-radius: 2px; padding: 0.7rem 1rem;
  cursor: pointer; font-weight: 700; font-size: 0.88rem;
  transition: background 0.2s, box-shadow 0.2s;
}
.monture-opt:has(input:checked) {
  background: rgba(180,20,20,0.08);
  box-shadow: 0 0 0 2px var(--rouge) inset;
}
.monture-opt input[type=radio] { accent-color: var(--rouge); }

/* Total */
.total-box {
  background: var(--noir); color: var(--blanc);
  border-radius: 2px; padding: 1rem 1.4rem; margin: 1.6rem 0;
  display: flex; justify-content: space-between; align-items: center;
}
.total-box .t-label {
  font-size: 0.8rem; opacity: 0.65;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.total-box .t-val { font-size: 1.45rem; color: var(--or); font-weight: 700; }

/* Bouton envoi */
.btn-submit {
  width: 100%; background: var(--rouge); color: #fff;
  border: none; border-radius: 2px; padding: 1rem;
  font-family: "Lato", sans-serif; font-size: 1rem;
  font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  cursor: pointer; transition: background 0.2s;
  box-shadow: 0 4px 16px rgba(180,20,20,0.35);
}
.btn-submit:hover { background: var(--rouge-f); }
.btn-add-activity {
  width: 100%; background: var(--atlas, #2E5C4F); color: #fff;
  border: none; border-radius: 2px; padding: 0.85rem;
  font-family: "Lato", sans-serif; font-size: 0.95rem;
  font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  cursor: pointer; margin-top: 0.8rem;
  background: #2E5C4F;
  transition: background 0.2s;
}
.btn-add-activity:hover { background: #235048; }

.btn-validate-selection-full {
  width: 100%; border: none; border-radius: 2px; padding: 0.8rem;
  margin-top: 0.8rem;
  font-family: "Lato", sans-serif; font-size: 0.88rem;
  font-weight: 700; letter-spacing: 0.04em;
  cursor: pointer; transition: background 0.2s, color 0.2s;
  background: rgba(46,92,46,0.12); color: #2E5C2E;
  border: 1.5px solid rgba(46,92,46,0.35);
}
.btn-validate-selection-full:hover { background: #2E5C2E; color: #fff; }

 font-size: 0.76rem; color: var(--texte-s); text-align: center; margin-top: 0.8rem; }

/* ─── TOAST ─── */
.toast {
  position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%);
  padding: 1rem 2rem; border-radius: 2px; font-weight: 700;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2); z-index: 2000;
  opacity: 0; transition: opacity 0.3s; pointer-events: none; font-size: 0.92rem;
}
.toast.show { opacity: 1; }
.toast.ok  { background: #2E5C2E; color: #fff; }
.toast.err { background: var(--rouge); color: #fff; }

/* ═══════════════════════════════════════════════════════
   PANIER FLOTTANT — "Ma commande" (client)
   ═══════════════════════════════════════════════════════ */
.cart-toggle {
  position: fixed; bottom: 1.5rem; left: 1.5rem; z-index: 900;
  background: var(--rouge); color: #fff; border: none; border-radius: 30px;
  padding: 0.8rem 1.4rem; font-family: "Lato", sans-serif; font-weight: 700;
  font-size: 0.9rem; cursor: pointer; align-items: center; gap: 0.5rem;
  box-shadow: 0 4px 18px rgba(180,20,20,0.4);
  transition: background 0.2s, transform 0.15s;
}
.cart-toggle:hover { background: var(--rouge-f); transform: translateY(-2px); }
.cart-panel {
  display: none; position: fixed; bottom: 5.2rem; left: 1.5rem; z-index: 901;
  width: min(360px, calc(100vw - 3rem)); max-height: 70vh; overflow-y: auto;
  background: var(--blanc); border-radius: 4px; box-shadow: 0 16px 44px rgba(26,10,0,0.3);
  border-top: 4px solid var(--rouge);
}
.cart-panel.open { display: block; }
.cart-panel-hdr {
  background: var(--noir); color: var(--blanc);
  padding: 0.9rem 1.1rem; display: flex; justify-content: space-between; align-items: center;
  font-weight: 700; font-size: 0.92rem;
}
.cart-panel-hdr button { background: none; border: none; color: rgba(240,220,200,0.6); font-size: 1.2rem; cursor: pointer; }
.cart-panel-hdr button:hover { color: var(--or); }

/* ─── BOUTON ADMIN ─── */
.admin-toggle {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 900;
  background: var(--noir); color: var(--or);
  border: 2px solid var(--or); border-radius: 50%;
  width: 52px; height: 52px; font-size: 1.3rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 18px rgba(0,0,0,0.28);
  transition: background 0.2s;
}
.admin-toggle:hover { background: #2a1000; }

/* ─── FOOTER ─── */
footer {
  background: var(--noir); color: rgba(240,220,200,0.55);
  text-align: center; padding: 3rem 1rem 2.5rem;
  font-size: 0.87rem; margin-top: 3rem;
  border-top: 2px solid var(--rouge);
}
footer .f-logo {
  display: flex; align-items: center; justify-content: center;
  gap: 0.8rem; margin-bottom: 1rem;
}
footer .f-logo img { height: 52px; filter: drop-shadow(0 0 12px rgba(240,140,20,0.4)); }
footer .f-name {
  font-family: "Playfair Display", serif;
  color: var(--peche); font-size: 1.1rem;
}
footer a { color: var(--or); text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer p { margin-top: 0.5rem; }

/* ═══════════════════════════════════════════════════════
   PÊLEMÊLE PHOTOS SOUVENIRS
   ═══════════════════════════════════════════════════════ */
.pelemele-section {
  background: var(--sable);
  padding: 4.5rem 2rem 5.5rem;
  position: relative;
  overflow: hidden;
}
.pelemele-header { text-align: center; margin-bottom: 3rem; }
.pelemele-header .eyebrow {
  font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--rouge); margin-bottom: 0.7rem;
}
.pelemele-header h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--noir); }
.pelemele-header .divider {
  width: 64px; height: 3px;
  background: linear-gradient(90deg, var(--rouge), var(--or));
  margin: 1rem auto 0; border-radius: 2px;
}

.pelemele-wrap {
  max-width: 1200px; margin: 0 auto;
  display: flex; flex-wrap: wrap;
  justify-content: center; align-items: flex-start;
  gap: 0 -0.5rem;
}

.pele-photo {
  position: relative;
  margin: 0.8rem -0.6rem;
  background: #fff;
  box-shadow: 0 10px 26px rgba(26,10,0,0.28);
  transition: transform 0.3s ease, box-shadow 0.3s ease, z-index 0s;
  cursor: default;
}
.pele-photo:hover {
  transform: scale(1.09) rotate(0deg) !important;
  box-shadow: 0 18px 40px rgba(26,10,0,0.4);
  z-index: 50 !important;
}
.pele-photo img {
  display: block; width: 100%; height: 100%;
  object-fit: cover;
}

/* Tailles / formats variés */
.pele-s   { width: 190px; height: 240px; }
.pele-m   { width: 230px; height: 230px; }
.pele-l   { width: 260px; height: 195px; }
.pele-xl  { width: 280px; height: 340px; }
.pele-w   { width: 300px; height: 210px; }

/* Rotations variées (effet posé en vrac) */
.pele-r1 { transform: rotate(-7deg); z-index: 2; }
.pele-r2 { transform: rotate(5deg);  z-index: 4; }
.pele-r3 { transform: rotate(-4deg); z-index: 1; }
.pele-r4 { transform: rotate(8deg);  z-index: 5; }
.pele-r5 { transform: rotate(-9deg); z-index: 3; }
.pele-r6 { transform: rotate(3deg);  z-index: 6; }
.pele-r7 { transform: rotate(-3deg); z-index: 2; }
.pele-r8 { transform: rotate(6deg);  z-index: 4; }
.pele-r9 { transform: rotate(-5deg); z-index: 1; }

/* Style 1 : cadre dentelé (bords en zigzag façon ciseaux cranteurs) */
.frame-dentele {
  padding: 10px;
  clip-path: polygon(0.00% 0.00%, 7.14% 3.20%, 14.29% 0.00%, 21.43% 3.20%, 28.57% 0.00%, 35.71% 3.20%, 42.86% 0.00%, 50.00% 3.20%, 57.14% 0.00%, 64.29% 3.20%, 71.43% 0.00%, 78.57% 3.20%, 85.71% 0.00%, 92.86% 3.20%, 100.00% 0.00%, 96.80% 10.00%, 100.00% 20.00%, 96.80% 30.00%, 100.00% 40.00%, 96.80% 50.00%, 100.00% 60.00%, 96.80% 70.00%, 100.00% 80.00%, 96.80% 90.00%, 100.00% 100.00%, 92.86% 96.80%, 85.71% 100.00%, 78.57% 96.80%, 71.43% 100.00%, 64.29% 96.80%, 57.14% 100.00%, 50.00% 96.80%, 42.86% 100.00%, 35.71% 96.80%, 28.57% 100.00%, 21.43% 96.80%, 14.29% 100.00%, 7.14% 96.80%, 0.00% 100.00%, 3.20% 90.00%, 0.00% 80.00%, 3.20% 70.00%, 0.00% 60.00%, 3.20% 50.00%, 0.00% 40.00%, 3.20% 30.00%, 0.00% 20.00%, 3.20% 10.00%);
}
.frame-dentele img { clip-path: inherit; }

/* Style 2 : vieille photo (bordure blanche épaisse + sépia + coin légèrement corné) */
.frame-vintage {
  padding: 10px 10px 34px;
  border-radius: 1px;
  filter: sepia(0.35) contrast(1.03) brightness(1.02);
}
.frame-vintage::after {
  content: '';
  position: absolute; bottom: 10px; left: 10px; right: 10px; height: 1px;
  background: rgba(26,10,0,0.08);
}

@media (max-width: 700px) {
  .pele-photo { transform: scale(0.72) !important; margin: 0.2rem -1.6rem; }
  .pele-photo:hover { transform: scale(0.8) !important; }
}

/* ═══════════════════════════════════════════════════════
   PHOTOS DISPERSÉES DANS LE HÉRO
   ═══════════════════════════════════════════════════════ */
.hero-scatter {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.hero-photo {
  position: absolute;
  margin: 0;
  pointer-events: auto;
  opacity: 0.92;
}
.hero-photo:hover {
  transform: scale(1.1) rotate(0deg) !important;
  opacity: 1;
  z-index: 50 !important;
}

.hp-1 { top: 9%;  left: 4%;   transform: rotate(-8deg); }
.hp-2 { top: 7%;  right: 5%;  transform: rotate(7deg); }
.hp-3 { top: 42%; left: 2%;   transform: rotate(5deg); }
.hp-4 { top: 40%; right: 3%;  transform: rotate(-6deg); }
.hp-5 { top: 70%; left: 6%;   transform: rotate(-4deg); }
.hp-6 { top: 68%; right: 7%;  transform: rotate(6deg); }
.hp-7 { bottom: 5%; left: 20%; transform: rotate(4deg); }
.hp-8 { bottom: 6%; right: 19%; transform: rotate(-5deg); }
.hp-9 { top: 22%; left: 15%; transform: rotate(9deg); }
.hp-10 { top: 18%; right: 20%; transform: rotate(-6deg); }
.hp-11 { top: 55%; left: 20%; transform: rotate(8deg); }
.hp-12 { top: 52%; right: 22%; transform: rotate(-9deg); }
.hp-13 { bottom: 20%; right: 4%; transform: rotate(5deg); }
.hp-14 { top: 85%; left: 15%; transform: rotate(-4deg); }
.hp-15 { top: 88%; right: 12%; transform: rotate(7deg); }
.hp-16 { top: 3%;  left: 24%; transform: rotate(-9deg); }

@media (max-width: 1150px) {
  .hero-scatter { display: none; }
}

/* ═══════════════════════════════════════════════════════
   BANNIÈRE PROMO — REMISE MULTI-ACTIVITÉS (bandeau défilant)
   ═══════════════════════════════════════════════════════ */
.promo-remise {
  background: linear-gradient(90deg, var(--rouge) 0%, var(--rouge-f) 100%);
  padding: 0.7rem 0;
  border-top: 3px solid var(--or);
  border-bottom: 3px solid var(--or);
  box-shadow: 0 4px 24px rgba(180,20,20,0.35);
  overflow: hidden;
  white-space: nowrap;
}
.promo-remise-track {
  display: inline-flex;
  width: max-content;
  animation: promo-remise-scroll 24s linear infinite;
}
.promo-remise:hover .promo-remise-track { animation-play-state: paused; }
.promo-remise-item {
  display: inline-flex; align-items: center;
  font-weight: 700; color: #fff;
  font-size: clamp(0.92rem, 1.6vw, 1.05rem);
  text-shadow: 0 1px 5px rgba(0,0,0,0.3);
  padding-right: 4rem;
  white-space: nowrap;
}
.promo-remise-item b {
  color: var(--or);
  font-size: 1.25em;
  margin: 0 0.15em;
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}
.promo-remise-item .promo-pct-exceptionnelle {
  color: #fff;
  text-shadow: 0 0 14px rgba(255,255,255,0.7), 0 2px 6px rgba(0,0,0,0.4);
}
@keyframes promo-remise-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
/* ═══════════════════════════════════════════════════════
   DÉSACTIVATION DES EFFETS "SURVOL" SUR TACTILE
   Sur mobile/tablette il n'y a pas de vrai :hover — le navigateur
   simule le survol au tap, ce qui déclenche les zooms (photo/fiche)
   et donne un effet "loupe" indésirable au doigt. On neutralise
   ces transformations quand aucun pointeur fin (souris) n'est détecté.
   ═══════════════════════════════════════════════════════ */
@media (hover: none), (pointer: coarse) {
  .card:hover .card-img { transform: none; }
  .card:hover .card-hover-overlay { opacity: 0; }
  .card:hover .card-title-overlay { opacity: 1; }
  .card:hover { transform: none; box-shadow: var(--ombre); overflow: hidden; z-index: auto; }

  .pele-photo:hover,
  .hero-photo:hover {
    transform: none !important;
    opacity: 0.92;
    z-index: auto !important;
  }
}


/* ═══════════════════════════════════════════════════════
   BOUTON TOGGLE DU MENU MOBILE ("Choisissez votre programme")
   Caché sur desktop, visible uniquement sous 600px (voir media query)
   ═══════════════════════════════════════════════════════ */
.nav-toggle {
  display: none;
  align-items: center; gap: 0.5rem;
  background: none; border: none; cursor: pointer;
  color: var(--peche);
  font-family: "Lato", sans-serif; font-weight: 700;
  font-size: 0.78rem; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 0.5rem 0.3rem;
}
.nav-toggle-icon { display: flex; align-items: center; transition: transform 0.25s ease; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon { transform: rotate(180deg); }

@media (max-width: 600px) {
  nav { padding: 0.5rem 1rem; position: relative; }
  .nav-logo { flex-shrink: 0; }
  .nav-logo span { display: none; }

  .nav-toggle { display: flex; }

  /* Panneau déroulant vertical, masqué par défaut, affiché sous la nav au clic */
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(26,10,0,0.98);
    border-bottom: 2px solid var(--rouge);
    max-height: 75vh; overflow-y: auto;
    box-shadow: 0 12px 28px rgba(0,0,0,0.35);
  }
  .nav-links.nav-open { display: flex; }
  .nav-link {
    width: 100%; text-align: left;
    padding: 1rem 1.4rem; border-radius: 0;
    border-bottom: 1px solid rgba(240,220,200,0.08);
  }
  .nav-cta { flex-shrink: 0; }

  /* Fiches activités : plein écran sur mobile (au lieu de 280px de large
     avec la hauteur desktop 840px conservée, ce qui créait un énorme
     "letterboxing" vide en haut/bas et coupait la fiche) */
  .carousel-wrap { padding: 0.5rem 0 1.5rem; }
  .carousel-track-outer { padding: 0; }
  .carousel-track { padding: 0; gap: 0; }
  .card {
    flex: 0 0 100vw;
    width: 100vw;
    max-width: 100vw;
    height: calc(100vh - 64px); /* 64px ≈ hauteur de la nav fixe en mobile */
    border-radius: 0;
  }
  /* Renfort (en plus de la règle @media (hover:none)) : le cadre sombre
     "Réservez maintenant !" ne doit jamais s'afficher sur mobile, il rend
     la fiche illisible au doigt. Le titre en bas (card-title-overlay)
     reste affiché en permanence à la place. */
  .card-hover-overlay { display: none; }
  .card-title-overlay { opacity: 1; }
  .form-row { grid-template-columns: 1fr; }
  .modal-body { padding: 1.2rem; }
}
