/* =====================================================================
   FINITIONS : animations, micro-interactions, page merci et carte.
   Chargé après style.css sur les pages publiques. Tout est coupé si le
   visiteur a demandé « réduire les animations » (réglage du téléphone/PC).
   Pour revenir en arrière : retirer finitions.css et finitions.js des pages.
   ===================================================================== */

/* ---------- Défilement doux vers les ancres, sans passer sous l'en-tête ---------- */
html { scroll-padding-top: 6rem; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* ---------- Barre de progression de lecture ---------- */
.fx-progression {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 10002;
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--primary, #ff6a3e), var(--secondary, #ffba43));
  box-shadow: 0 0 10px rgba(255, 106, 62, .45);
}

/* ---------- En-tête : ombre et léger flou une fois la page défilée ---------- */
#cs-navigation { transition: box-shadow .35s ease, background-color .35s ease; }
html.fx-defile body:not(.cs-open) #cs-navigation {
  background-color: rgba(255, 250, 246, .92);
  box-shadow: 0 12px 30px -14px rgba(26, 26, 26, .28);
  -webkit-backdrop-filter: saturate(1.5) blur(14px);
  backdrop-filter: saturate(1.5) blur(14px);
}

/* ---------- Menu burger et menu mobile ---------- */
@media only screen and (max-width: 1379px) {
  #cs-navigation .cs-toggle {
    position: relative;
    border-radius: 50%;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background-color .3s ease, transform .35s cubic-bezier(.34, 1.56, .64, 1);
  }
  #cs-navigation .cs-toggle::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid var(--primary, #ff6a3e);
    opacity: 0;
    transform: scale(.6);
    pointer-events: none;
  }
  #cs-navigation .cs-toggle:hover { background-color: rgba(255, 106, 62, .08); }
  #cs-navigation .cs-toggle:active { transform: scale(.88); }
  #cs-navigation.cs-active .cs-toggle { background-color: rgba(255, 106, 62, .12); }
  #cs-navigation.cs-active .cs-toggle::after { animation: fx-onde .6s ease-out; }

  /* Les 3 traits : ressort au passage en croix, couleur de la boutique */
  #cs-navigation .cs-line {
    transition: transform .55s cubic-bezier(.68, -.55, .27, 1.55), top .3s ease, bottom .3s ease, opacity .25s ease, width .35s cubic-bezier(.65, 0, .35, 1), background-color .3s ease;
  }
  #cs-navigation .cs-toggle:hover .cs-line2 { width: 62%; }
  #cs-navigation .cs-toggle:hover .cs-line3 { width: 82%; }
  #cs-navigation.cs-active .cs-line { background-color: var(--primary, #ff6a3e); width: 100%; }
  /* Les traits forment une croix quand le menu est ouvert (la règle d'origine ne s'appliquait jamais) */
  #cs-navigation.cs-active .cs-line1 { top: 50%; transform: translate(-50%, -50%) rotate(225deg); }
  #cs-navigation.cs-active .cs-line2 { top: 50%; transform: translate(-50%, -50%) rotate(-225deg); }
  #cs-navigation.cs-active .cs-line3 { opacity: 0; bottom: 50%; transform: translate(-50%, 50%) scaleX(0); }

  /* Fond assombri et flouté derrière le menu */
  #cs-navigation:before {
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
  }

  /* Le panneau se déroule (au lieu d'être écrasé) avec des coins arrondis */
  #cs-navigation .cs-ul-wrapper {
    transform: none;
    border-radius: 0 0 1.75rem 1.75rem;
    -webkit-clip-path: inset(0 0 100% 0);
    clip-path: inset(0 0 100% 0);
    transition: -webkit-clip-path .55s cubic-bezier(.77, 0, .18, 1), clip-path .55s cubic-bezier(.77, 0, .18, 1), opacity .3s ease;
  }
  #cs-navigation.cs-active .cs-ul-wrapper {
    transform: none;
    -webkit-clip-path: inset(0 0 0 0);
    clip-path: inset(0 0 0 0);
    transition-delay: 0s;
  }

  /* Liens : arrivent un par un, en douceur */
  #cs-navigation .cs-li {
    transform: translateY(16px);
    transition: transform .55s cubic-bezier(.2, .8, .2, 1), opacity .45s ease;
  }
  #cs-navigation.cs-active .cs-li { transform: translateY(0); }
  #cs-navigation.cs-active .cs-li:nth-of-type(1) { transition-delay: .14s; }
  #cs-navigation.cs-active .cs-li:nth-of-type(2) { transition-delay: .19s; }
  #cs-navigation.cs-active .cs-li:nth-of-type(3) { transition-delay: .24s; }
  #cs-navigation.cs-active .cs-li:nth-of-type(4) { transition-delay: .29s; }
  #cs-navigation.cs-active .cs-li:nth-of-type(5) { transition-delay: .34s; }
  #cs-navigation.cs-active .cs-li:nth-of-type(6) { transition-delay: .39s; }
  #cs-navigation.cs-active .cs-li:nth-of-type(7) { transition-delay: .44s; }
  #cs-navigation.cs-active .cs-li:nth-of-type(8) { transition-delay: .49s; }
  #cs-navigation.cs-active .cs-li:nth-of-type(9) { transition-delay: .54s; }
  #cs-navigation:not(.cs-active) .cs-li { transition-delay: 0s; transition-duration: .2s; }
}

/* Soulignement animé des liens du menu (survol et clavier) */
#cs-navigation .cs-li-link { position: relative; }
#cs-navigation .cs-li-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.3rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--primary, #ff6a3e), var(--secondary, #ffba43));
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform .35s cubic-bezier(.65, 0, .35, 1);
}
#cs-navigation .cs-li-link:hover::after,
#cs-navigation .cs-li-link:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left center;
}

/* ---------- Accueil : le texte de la bannière apparaît en cascade ---------- */
@media (prefers-reduced-motion: no-preference) {
  #hero .cs-content > * { animation: fx-monte .9s cubic-bezier(.2, .7, .2, 1) both; }
  #hero .cs-content > :nth-child(2) { animation-delay: .12s; }
  #hero .cs-content > :nth-child(3) { animation-delay: .24s; }
  #hero .cs-content > :nth-child(4) { animation-delay: .36s; }
  /* Pendant l'écran de chargement, l'animation attend */
  html.royal-wait #hero .cs-content > * { animation-play-state: paused; }
}

/* ---------- Apparition des blocs au défilement (ajoutée par finitions.js) ---------- */
html.fx-pret .fx-revele:not(.fx-visible) { opacity: 0; }
html.fx-pret .fx-revele.fx-visible { animation: fx-monte .85s cubic-bezier(.2, .7, .2, 1) both; animation-delay: var(--fx-delai, 0s); }
html.fx-pret .fx-revele.fx-zoom.fx-visible { animation-name: fx-zoom; }

/* Images chargées au fil du défilement : fondu au lieu d'une apparition brutale */
.fx-img-apparait { animation: fx-fondu .6s ease both; }

/* ---------- Boutons : reflet au survol, effet d'onde au clic ---------- */
.fx-onde-clic {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  background: rgba(255, 255, 255, .45);
  transform: scale(0);
  animation: fx-onde-clic .65s ease-out forwards;
}
.fx-hote-onde { position: relative; overflow: hidden; }
@media (hover: hover) and (pointer: fine) {
  .cs-button-solid, .cs-button-outline, .footer-newsletter__button, .cs-submit {
    transition: transform .25s cubic-bezier(.34, 1.56, .64, 1), box-shadow .25s ease, background-color .3s, color .3s;
  }
  .cs-button-solid:hover, .footer-newsletter__button:hover, .cs-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -10px rgba(255, 106, 62, .65);
  }
  .cs-button-solid:active, .footer-newsletter__button:active, .cs-submit:active { transform: translateY(0) scale(.98); }
}

/* ---------- Cartes produits : léger zoom de la photo au survol ---------- */
@media (hover: hover) and (pointer: fine) {
  .product-card .card-banner { overflow: hidden; border-radius: .75rem; }
  .product-card .default-image, .product-card .hover-image { transition: opacity .5s, transform .7s cubic-bezier(.2, .7, .2, 1); }
  .product-card:hover .default-image, .product-card:hover .hover-image { transform: scale(1.045); }
  .product-card .card-title { transition: color .3s ease; }
  .product-card:hover .card-title { color: var(--primary, #ff6a3e); }
  .slide-unite img { transition: transform .5s cubic-bezier(.34, 1.56, .64, 1); }
  .slide-unite:hover img { transform: translateY(-6px) rotate(-3deg) scale(1.04); }
  #footer .cs-social-link, #footer .cs-social-icon { transition: transform .35s cubic-bezier(.34, 1.56, .64, 1); }
  #footer .cs-social-link:hover .cs-social-icon, #footer .cs-social-icon:hover { transform: translateY(-3px) scale(1.12); }
}

/* =====================================================================
   PAGE MERCI (après une commande)
   ===================================================================== */
.merci-v2 {
  position: relative;
  overflow: hidden;
  padding: clamp(7.5rem, 14vw, 9.5rem) 1rem clamp(3.5rem, 8vw, 6rem);
  background:
    radial-gradient(900px 480px at 0% 0%, #ffe6da 0%, transparent 60%),
    radial-gradient(800px 460px at 100% 100%, #fff1cf 0%, transparent 55%),
    #fffaf6;
}
.merci-v2__decor { position: absolute; inset: 0; pointer-events: none; }
.merci-v2__decor span {
  position: absolute;
  border-radius: 50%;
  opacity: .45;
  box-shadow: inset 0 -6px 0 rgba(0, 0, 0, .06);
  animation: fx-flotte 16s ease-in-out infinite;
}
.merci-v2__decor span:nth-child(1) { width: 96px; height: 96px; left: 4%; top: 18%; background: #f7b3c8; }
.merci-v2__decor span:nth-child(2) { width: 58px; height: 58px; right: 7%; top: 14%; background: #bcdc8f; animation-delay: -5s; }
.merci-v2__decor span:nth-child(3) { width: 74px; height: 74px; right: 4%; bottom: 14%; background: #cdbdf3; animation-delay: -9s; }
.merci-v2__decor span:nth-child(4) { width: 44px; height: 44px; left: 9%; bottom: 10%; background: #ffd27a; animation-delay: -3s; }

.merci-v2__carte {
  position: relative;
  max-width: 46rem;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.25rem) clamp(1.25rem, 4vw, 3rem);
  text-align: center;
  background: #fff;
  border-radius: 1.75rem;
  box-shadow: 0 34px 80px -34px rgba(255, 106, 62, .4), 0 10px 30px rgba(26, 26, 26, .06);
  animation: fx-monte .8s cubic-bezier(.2, .8, .2, 1) both;
}
.merci-v2__carte::before {
  content: "";
  position: absolute;
  top: 0;
  left: 2rem;
  right: 2rem;
  height: 4px;
  border-radius: 0 0 6px 6px;
  background: linear-gradient(90deg, var(--primary, #ff6a3e), var(--secondary, #ffba43));
}

.merci-v2__badge {
  position: relative;
  width: 6rem;
  height: 6rem;
  margin: 0 auto 1.5rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #1f9d55;
  background: linear-gradient(135deg, #eafbf0, #cdf2da);
  animation: fx-pop .6s cubic-bezier(.34, 1.56, .64, 1) .15s both;
}
.merci-v2__badge::before, .merci-v2__badge::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(31, 157, 85, .35);
  animation: fx-anneau 2.6s ease-out 1s infinite;
}
.merci-v2__badge::after { animation-delay: 2.3s; }
.merci-v2__badge svg { width: 3.1rem; height: 3.1rem; }
.merci-v2__badge circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: fx-trait .7s cubic-bezier(.65, 0, .45, 1) .35s forwards; }
.merci-v2__badge path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: fx-trait .45s cubic-bezier(.65, 0, .45, 1) .95s forwards; }

.merci-v2__surtitre {
  margin: 0 0 .5rem;
  font-family: 'Montserrat', sans-serif;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--primary, #ff6a3e);
}
.merci-v2__titre {
  margin: 0 0 .9rem;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.7rem, 5vw, 2.6rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--headerColor, #1a1a1a);
}
.merci-v2__texte {
  max-width: 34rem;
  margin: 0 auto 2.25rem;
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--bodyTextColor, #4e4b66);
}

/* Les étapes de la commande */
.merci-v2__etapes {
  list-style: none;
  margin: 0 auto 2.25rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .5rem;
  counter-reset: etape;
}
.merci-v2__etape {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .55rem;
  font-family: 'Montserrat', sans-serif;
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.3;
  color: #6b6779;
  animation: fx-monte .6s cubic-bezier(.2, .7, .2, 1) both;
}
.merci-v2__etape:nth-child(1) { animation-delay: .5s; }
.merci-v2__etape:nth-child(2) { animation-delay: .65s; }
.merci-v2__etape:nth-child(3) { animation-delay: .8s; }
.merci-v2__etape:nth-child(4) { animation-delay: .95s; }
.merci-v2__etape::before {
  content: "";
  position: absolute;
  top: 1.35rem;
  left: calc(-50% + 1.6rem);
  right: calc(50% + 1.6rem);
  height: 3px;
  border-radius: 3px;
  background: #ece6e2;
}
.merci-v2__etape:first-child::before { display: none; }
.merci-v2__etape.fait::before, .merci-v2__etape.en-cours::before { background: linear-gradient(90deg, #1f9d55, #5ccf8b); }
.merci-v2__pastille {
  position: relative;
  z-index: 1;
  width: 2.7rem;
  height: 2.7rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #b3adb9;
  background: #f4f1ef;
}
.merci-v2__pastille svg { width: 1.25rem; height: 1.25rem; }
.merci-v2__etape.fait { color: #1f9d55; }
.merci-v2__etape.fait .merci-v2__pastille { color: #fff; background: #1f9d55; box-shadow: 0 8px 18px -8px rgba(31, 157, 85, .8); }
.merci-v2__etape.en-cours { color: var(--primary, #ff6a3e); }
.merci-v2__etape.en-cours .merci-v2__pastille { color: #fff; background: var(--primary, #ff6a3e); animation: fx-battement 1.8s ease-in-out infinite; }

/* Votre retrait + « Ajouter à mon agenda » (9 nov. 2026) */
.merci-v2__agenda { display: flex; gap: 1rem; align-items: flex-start; margin: 0 0 1.75rem; padding: 1.2rem 1.25rem; border-radius: 1.25rem; background: linear-gradient(135deg, #fff6ee, #fff0e3); border: 1.5px solid #ffd2c2; text-align: left; }
.merci-v2__agenda[hidden] { display: none; }
.merci-v2__agenda-icone { flex: none; width: 3rem; height: 3rem; display: grid; place-items: center; border-radius: .95rem; background: linear-gradient(135deg, var(--primary, #ff6a3e), #ff8a5c); color: #fff; font-size: 1.35rem; box-shadow: 0 10px 22px -12px rgba(255, 106, 62, .8); }
.merci-v2__agenda-corps { flex: 1 1 auto; min-width: 0; }
.merci-v2__agenda-sur { margin: 0 0 .15rem; font: 800 .72rem 'Montserrat', sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--primary, #ff6a3e); }
.merci-v2__agenda-date { margin: 0; font: 900 clamp(1.05rem, .95rem + .5vw, 1.3rem)/1.3 'Montserrat', sans-serif; color: var(--headerColor, #1a1a1a); }
.merci-v2__agenda-lieu { margin: .15rem 0 0; font: 400 .9rem/1.5 'Poppins', sans-serif; color: var(--bodyTextColor, #4e4b66); }
.merci-v2__agenda-caution { margin: .55rem 0 0; padding: .5rem .75rem; border-radius: .8rem; background: #fff4ec; border: 1.5px dashed #ffd2c2; font: 600 .84rem/1.45 'Poppins', sans-serif; color: #8a3a12; }
.merci-v2__agenda-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin: .9rem 0 .5rem; }
.merci-v2__agenda-actions .merci-v2__bouton { padding: .75rem 1.25rem; font-size: .88rem; }
.merci-v2__agenda-actions .merci-v2__bouton.clair { background: #fffaf6; }
.merci-v2__agenda-actions .merci-v2__bouton i { font-size: 1rem; }
.merci-v2__agenda-note { margin: 0; font: 400 .76rem/1.45 'Poppins', sans-serif; color: #6b6779; }
@media (max-width: 640px) {
  .merci-v2__agenda { flex-direction: column; align-items: stretch; gap: .7rem; }
  .merci-v2__agenda-actions .merci-v2__bouton { width: 100%; }
}

/* Infos pratiques */
.merci-v2__infos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 0 0 1.75rem;
  text-align: left;
}
.merci-v2__info {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  padding: 1.1rem 1.15rem;
  border: 1.5px solid #f1ebe7;
  border-radius: 1.1rem;
  background: #fffdfb;
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.merci-v2__info:hover { border-color: #ffd2c2; transform: translateY(-2px); box-shadow: 0 14px 28px -18px rgba(255, 106, 62, .55); }
.merci-v2__info-icone {
  flex: none;
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  border-radius: .85rem;
  color: var(--primary, #ff6a3e);
  background: #fff1ea;
}
.merci-v2__info-icone svg { width: 1.3rem; height: 1.3rem; }
.merci-v2__info h2 {
  margin: 0 0 .25rem;
  font-family: 'Montserrat', sans-serif;
  font-size: .95rem;
  font-weight: 800;
  color: var(--headerColor, #1a1a1a);
}
.merci-v2__info p {
  margin: 0 0 .4rem;
  font-family: 'Poppins', sans-serif;
  font-size: .9rem;
  line-height: 1.5;
  color: var(--bodyTextColor, #4e4b66);
}
.merci-v2__info a {
  font-family: 'Montserrat', sans-serif;
  font-size: .88rem;
  font-weight: 700;
  color: var(--primary, #ff6a3e);
  text-decoration: none;
}
.merci-v2__info a:hover { text-decoration: underline; }

/* Avis Google */
.merci-v2__avis {
  margin: 0 0 1.75rem;
  padding: 1.5rem 1.25rem;
  border-radius: 1.25rem;
  background: linear-gradient(135deg, #fff6ee, #fff0e3);
}
.merci-v2__etoiles { display: flex; justify-content: center; gap: .3rem; margin-bottom: .6rem; color: #ffb703; }
.merci-v2__etoiles svg { width: 1.6rem; height: 1.6rem; animation: fx-etoile .5s cubic-bezier(.34, 1.56, .64, 1) both; }
.merci-v2__etoiles svg:nth-child(1) { animation-delay: 1.1s; }
.merci-v2__etoiles svg:nth-child(2) { animation-delay: 1.2s; }
.merci-v2__etoiles svg:nth-child(3) { animation-delay: 1.3s; }
.merci-v2__etoiles svg:nth-child(4) { animation-delay: 1.4s; }
.merci-v2__etoiles svg:nth-child(5) { animation-delay: 1.5s; }
.merci-v2__avis p {
  max-width: 30rem;
  margin: 0 auto 1rem;
  font-family: 'Poppins', sans-serif;
  font-size: .98rem;
  line-height: 1.6;
  color: var(--bodyTextColor, #4e4b66);
}

.merci-v2__bouton {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .95rem 1.6rem;
  border-radius: 999px;
  font-family: 'Montserrat', sans-serif;
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: .02em;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, var(--primary, #ff6a3e), #ff8a5c);
  box-shadow: 0 14px 28px -12px rgba(255, 106, 62, .75);
  transition: transform .25s cubic-bezier(.34, 1.56, .64, 1), box-shadow .25s;
}
.merci-v2__bouton::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, .4) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .75s;
}
.merci-v2__bouton:hover { transform: translateY(-2px); box-shadow: 0 18px 32px -12px rgba(255, 106, 62, .8); color: #fff; }
.merci-v2__bouton:hover::after { transform: translateX(120%); }
.merci-v2__bouton svg { width: 1.15rem; height: 1.15rem; }
.merci-v2__bouton.clair { color: var(--headerColor, #1a1a1a); background: #fff; border: 1.5px solid #ece6e2; box-shadow: none; }
.merci-v2__bouton.clair:hover { color: var(--primary, #ff6a3e); border-color: var(--primary, #ff6a3e); }
.merci-v2__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }

@media (max-width: 640px) {
  .merci-v2__etapes { grid-template-columns: 1fr 1fr; row-gap: 1.25rem; }
  .merci-v2__etape:nth-child(3)::before { display: none; }
  .merci-v2__infos { grid-template-columns: 1fr; }
  .merci-v2__actions .merci-v2__bouton { width: 100%; }
}

/* =====================================================================
   CARTE DE LA BOUTIQUE (accueil) : plan illustré, Google Maps au clic
   ===================================================================== */
.map-container { padding: 0 1rem; }
.map-consent.map-v2 {
  display: grid;
  grid-template-columns: minmax(0, 22rem) minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
  max-width: 72rem;
  min-height: 0;
  margin: 1.5rem auto 0;
  padding: 0;
  text-align: left;
  background: #fff;
  border: 0;
  border-radius: 1.75rem;
  overflow: hidden;
  box-shadow: 0 30px 70px -36px rgba(26, 26, 26, .45), 0 0 0 1px rgba(26, 26, 26, .05);
}
.map-v2__infos {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .9rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: #fff;
}
.map-v2__surtitre {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--primary, #ff6a3e);
}
.map-v2__titre {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  font-weight: 900;
  line-height: 1.2;
  color: var(--headerColor, #1a1a1a);
}
.map-v2__ligne {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  margin: 0;
  font-family: 'Poppins', sans-serif;
  font-size: .98rem;
  line-height: 1.5;
  color: var(--bodyTextColor, #4e4b66);
}
.map-v2__ligne svg { flex: none; width: 1.25rem; height: 1.25rem; margin-top: .15rem; color: var(--primary, #ff6a3e); }
.map-v2__ligne a { color: inherit; text-decoration: none; font-weight: 600; }
.map-v2__ligne a:hover { color: var(--primary, #ff6a3e); }
.map-v2__boutons { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .4rem; }
.map-consent.map-v2 .map-v2__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  flex: 1 1 auto;
  padding: .85rem 1.2rem;
  border: 0;
  border-radius: 999px;
  font-family: 'Montserrat', sans-serif;
  font-size: .9rem;
  font-weight: 800;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, var(--primary, #ff6a3e), #ff8a5c);
  box-shadow: 0 12px 24px -12px rgba(255, 106, 62, .8);
  cursor: pointer;
  transition: transform .25s cubic-bezier(.34, 1.56, .64, 1), box-shadow .25s, color .25s, border-color .25s;
}
.map-consent.map-v2 .map-v2__btn:hover { transform: translateY(-2px); background: linear-gradient(135deg, #f45a2c, #ff7a48); }
.map-consent.map-v2 .map-v2__btn svg { width: 1.05rem; height: 1.05rem; }
.map-consent.map-v2 .map-v2__btn[hidden] { display: none; }
.map-consent.map-v2 .map-v2__btn.clair { color: var(--headerColor, #1a1a1a); background: #fff; border: 1.5px solid #ece6e2; box-shadow: none; }
.map-consent.map-v2 .map-v2__btn.clair:hover { color: var(--primary, #ff6a3e); border-color: var(--primary, #ff6a3e); background: #fff; }
.map-consent.map-v2 .map-v2__note {
  max-width: none;
  margin: .2rem 0 0;
  font-family: 'Poppins', sans-serif;
  font-size: .78rem;
  line-height: 1.5;
  color: #6b6779;
}

.map-v2__cadre { position: relative; min-height: 26rem; background: #f4efe8; overflow: hidden; }
.map-v2__plan { position: absolute; inset: 0; width: 100%; height: 100%; display: block; transition: transform 8s ease-out; }
.map-consent.map-v2:hover .map-v2__plan { transform: scale(1.04); }
.map-v2__repere {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4.2rem;
  height: 4.2rem;
  margin: -4.6rem 0 0 -2.1rem;
  display: grid;
  place-items: center;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--primary, #ff6a3e);
  box-shadow: 0 16px 26px -10px rgba(255, 106, 62, .9);
  animation: fx-chute .9s cubic-bezier(.34, 1.56, .64, 1) .2s both;
}
.map-v2__repere img { width: 2.9rem; height: 2.9rem; border-radius: 50%; background: #fff; transform: rotate(45deg); object-fit: contain; }
.map-v2__onde {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5rem;
  height: 1.6rem;
  margin: -.8rem 0 0 -2.5rem;
  border-radius: 50%;
  background: rgba(255, 106, 62, .35);
  animation: fx-ondes 2.4s ease-out infinite;
}
.map-v2__onde + .map-v2__onde { animation-delay: 1.2s; }
.map-v2__cadre iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; animation: fx-fondu .6s ease both; }
.map-v2.map-v2--active .map-v2__plan, .map-v2.map-v2--active .map-v2__repere, .map-v2.map-v2--active .map-v2__onde { display: none; }

.map-consent.map-v2 .map-v2__btn { white-space: nowrap; }
@media (max-width: 860px) {
  .map-consent.map-v2 { grid-template-columns: 1fr; }
  .map-v2__cadre { order: -1; min-height: 18rem; }
}
@media (max-width: 480px) {
  .map-v2__boutons { flex-direction: column; }
  .map-consent.map-v2 .map-v2__btn { width: 100%; }
}

/* =====================================================================
   ANIMATIONS
   ===================================================================== */
@keyframes fx-monte { from { opacity: 0; translate: 0 28px; } to { opacity: 1; translate: 0 0; } }
@keyframes fx-zoom { from { opacity: 0; scale: .94; } to { opacity: 1; scale: 1; } }
@keyframes fx-fondu { from { opacity: 0; } to { opacity: 1; } }
@keyframes fx-pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: scale(1); } }
@keyframes fx-trait { to { stroke-dashoffset: 0; } }
@keyframes fx-anneau { 0% { opacity: .8; transform: scale(1); } 100% { opacity: 0; transform: scale(1.7); } }
@keyframes fx-battement { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
@keyframes fx-etoile { from { opacity: 0; transform: scale(.3) rotate(-40deg); } to { opacity: 1; transform: none; } }
@keyframes fx-flotte { 0%, 100% { transform: translate(0, 0); } 33% { transform: translate(18px, -22px); } 66% { transform: translate(-14px, 14px); } }
@keyframes fx-chute { from { opacity: 0; translate: 0 -60px; } to { opacity: 1; translate: 0 0; } }
@keyframes fx-ondes { 0% { opacity: .9; transform: scale(.3); } 100% { opacity: 0; transform: scale(1.8); } }
@keyframes fx-onde { 0% { opacity: .9; transform: scale(.6); } 100% { opacity: 0; transform: scale(1.5); } }
@keyframes fx-onde-clic { to { transform: scale(2.6); opacity: 0; } }
@keyframes fx-confetti { to { transform: translate3d(var(--dx, 0), 110vh, 0) rotate(560deg); } }

.fx-confettis { position: fixed; inset: 0; z-index: 10003; pointer-events: none; overflow: hidden; }
.fx-confettis i { position: absolute; top: -24px; display: block; border-radius: 50%; animation: fx-confetti linear forwards; }

/* Accessibilité : aucune animation si le visiteur l'a demandé */
@media (prefers-reduced-motion: reduce) {
  html.fx-pret .fx-revele:not(.fx-visible) { opacity: 1; }
  .fx-progression, .fx-confettis, .merci-v2__decor, .map-v2__onde { display: none; }
  .merci-v2 *, .map-v2 *, .merci-v2__carte { animation: none !important; }
  .merci-v2__badge circle, .merci-v2__badge path { stroke-dashoffset: 0; }
}

/* Impression : tout est visible */
@media print {
  .fx-revele { opacity: 1 !important; animation: none !important; }
  .fx-progression { display: none; }
}

/* =====================================================================
   BARRE DE NAVIGATION (novembre 2026) : crème, pilules, page en cours
   Même structure HTML partout : seul l'habillage change.
   ===================================================================== */
#cs-navigation { background-color: rgba(255, 250, 246, .9); border-bottom: 1px solid rgba(241, 227, 216, .85); }
body:not(.cs-open) #cs-navigation { -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); }
body.cs-open #cs-navigation { background-color: #fffaf6; }
/* Page en cours : lien souligné en orange */
#cs-navigation .cs-li-link.fx-actif { color: var(--headerColor, #1a1a1a); font-weight: 800; }
#cs-navigation .cs-li-link.fx-actif::after { transform: scaleX(1); }
/* Langue : pilule « FR | EN » à la place du drapeau */
#changeLanguageBtn { width: auto; }
#changeLanguageBtn.fx-pret #flagIcon { display: none; }
#changeLanguageBtn .fx-langue { display: inline-flex; padding: .2rem; border-radius: 999px; background: #f6ece5; font: 800 .72rem/1 'Montserrat', sans-serif; letter-spacing: .02em; transition: background-color .25s; }
#changeLanguageBtn .fx-langue span { padding: .38rem .58rem; border-radius: 999px; color: #6b6779; transition: background-color .25s, color .25s, box-shadow .25s; }
#changeLanguageBtn:not(.fx-en) .fx-fr, #changeLanguageBtn.fx-en .fx-en { background: #fff; color: #1a1a1a; box-shadow: 0 4px 10px -6px rgba(0, 0, 0, .35); }
#changeLanguageBtn:hover .fx-langue { background: #ffe6da; }
/* « Mon compte » : pilule avec icône */
#cs-navigation .cs-client-link { flex-direction: row; align-items: center; gap: .45rem; padding: .42rem .95rem .42rem .5rem; border: 1.5px solid #eadbd0; border-radius: 999px; background: rgba(255, 250, 246, .7); font: 700 .85rem/1.2 'Montserrat', sans-serif; color: #1a1a1a; white-space: nowrap; transition: border-color .25s, color .25s, background-color .25s; }
#cs-navigation .cs-client-link .client-icon-img { width: 22px; height: 22px; margin: 0; object-fit: contain; }
#cs-navigation .cs-client-link span { margin: 0; }
#cs-navigation .cs-client-link:hover { border-color: #ffd2c2; color: var(--primary, #ff6a3e); background: #fff; }
/* Bouton « Commander » : pilule dégradée */
#cs-navigation .cs-button-solid { border-radius: 999px; background: linear-gradient(135deg, #ff6a3e, #ff8a5c); box-shadow: 0 12px 24px -12px rgba(255, 106, 62, .8); transition: transform .25s cubic-bezier(.34, 1.56, .64, 1), box-shadow .25s, background .25s; }
#cs-navigation .cs-button-solid:before { display: none; }
#cs-navigation .cs-button-solid:hover { transform: translateY(-2px); background: linear-gradient(135deg, #f25a2c, #ff7a48); box-shadow: 0 16px 28px -12px rgba(255, 106, 62, .85); }
@media only screen and (min-width: 1380px) {
  #cs-navigation .cs-li-link { font-size: .9rem; font-weight: 600; color: #3d3a48; white-space: nowrap; }
  #cs-navigation .cs-ul { gap: clamp(.9rem, 1.1vw, 1.5rem); }
  #cs-navigation .cs-button-solid { min-width: 0; padding: 0 1.35rem; white-space: nowrap; }
}
/* Écrans de 1380 à 1519 px : menu un peu plus compact pour que tout tienne sur une ligne */
@media only screen and (min-width: 1380px) and (max-width: 1519px) {
  #cs-navigation .cs-container { gap: 1rem; }
  #cs-navigation .cs-ul { gap: .8rem; }
  #cs-navigation .cs-li-link { font-size: .84rem; }
  #changeLanguageBtn .fx-langue span { padding: .36rem .48rem; }
  #cs-navigation .cs-client-link { padding: .38rem .75rem .38rem .42rem; font-size: .8rem; }
}
/* Menu ouvert sur téléphone et tablette : panneau crème, liens en liste avec flèche */
@media only screen and (max-width: 1379px) {
  #cs-navigation .cs-ul-wrapper { background-color: #fffaf6; box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .35); }
  #cs-navigation .cs-ul { align-items: stretch; gap: 0; padding: 1.2rem 1.4rem 0; }
  #cs-navigation .cs-li { text-align: left; border-bottom: 1px dashed #eadfd7; }
  #cs-navigation .cs-li-link { display: flex; justify-content: space-between; align-items: center; padding: .85rem .3rem; font-size: 1rem; font-weight: 700; color: #1a1a1a; }
  #cs-navigation .cs-li-link::after { content: "→"; position: static; width: auto; height: auto; background: none; border-radius: 0; color: var(--primary, #ff6a3e); transform: none; transition: transform .3s; }
  #cs-navigation .cs-li-link:hover::after, #cs-navigation .cs-li-link:focus-visible::after { transform: translateX(4px); }
  #cs-navigation .cs-li-link.fx-actif { color: var(--primary, #ff6a3e); }
  #cs-navigation .cs-li-link.fx-actif::after { transform: none; }
  #cs-navigation .cs-li-flag, #cs-navigation .espace-client-icon { display: flex; justify-content: center; border-bottom: 0; padding-top: 1rem; }
  #cs-navigation .espace-client-icon { padding-top: .6rem; }
}

/* Téléphone et tablette : le bas du pied de page passe au-dessus des bulles (cookies, assistant) */
@media (max-width: 900px) {
  #footer { padding-bottom: calc(clamp(3.75rem, 7.82vw, 6.25rem) + 4.5rem); }
}
