@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;500;600;700&display=swap');

/*--------------------------------------------------------------
  FLOXY MADE - Custom Styles
  Identité visuelle FLOXY MADE — Institut de Beauté VIP, Abidjan
  Conçu par TECH & WEB (tech-and-web.com)

  Palette :
  Brun taupe, Beige chaud, Crème, Accents dorés
--------------------------------------------------------------*/

:root {
  --fm-taupe: #7b5d53;
  --fm-taupe-light: #a08a7e;
  --fm-taupe-outline: #c5b8a8;
  --fm-beige: #dbcfbf;
  --fm-cream: #ece8dc;
  --fm-cream-light: #f5f1e8;
  --fm-gold: #c9a96e;
  --fm-gold-light: #e0d0a8;
  --fm-white: #fff;
  --fm-text-dark: #3a2e28;
}

/* ============================
   BODY
   Original: background-color #d2b7a6
   FLOXY MADE: warm beige matching logo palette
============================ */
body.page-front,
body.page-treatment {
  background-color: var(--fm-beige) !important;
  color: var(--fm-taupe) !important;
}

html {
  overflow-x: hidden !important;
}

html body {
  overflow-x: hidden !important;
  max-width: 100% !important;
}

#page {
  overflow-x: hidden !important;
  width: 100% !important;
}

#content {
  overflow-x: hidden !important;
}

@media screen and (max-width: 1025px) {
  #content {
    width: 100% !important;
    float: none !important;
  }

  #content .content-box,
  #content .footer {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* ============================
   #WOMAN - Fixed background parallax zoom
   Image dezooms from 170% to ~100% on scroll
   Visible through transparent gaps between sections
============================ */
#woman {
  display: block !important;
  background: var(--fm-beige) url('../img/hiddden-woman.jpg') no-repeat center top;
  background-size: 100% auto;
}

/* Mobile — forcer la tête visible, neutraliser le 170% de app.min.js */
@media screen and (max-width: 1025px) {
  #woman {
    background-position: center top !important;
    background-size: 110% auto !important;
    background-position: center top !important;
    top: 82px !important;
  }
}

@media screen and (max-width: 480px) {
  #woman {
    background-position: center top !important;
    background-size: 110% auto !important;
    background-position: center top !important;
    top: 82px !important;
  }
}

/* Parallax image — scrolltop section (all screens) */
.scrolltop-parallax-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  will-change: transform;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scrolltop-parallax-img img {
  width: 80%;
  height: 80%;
  object-fit: contain;
  display: block;
  margin: -45px auto 0;
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(123, 93, 83, 0.35), 0 0 80px rgba(201, 169, 110, 0.15);
  filter: contrast(1.04) saturate(1.08);
}

/* ============================
   INTRO / HERO SECTION
   Original: solid bg + CanvasSlideshow
   FLOXY MADE: solid bg + video background
============================ */
.content-box.intro {
  background-color: var(--fm-text-dark) !important;
  position: relative;
  overflow: hidden;
}

/* Video background */
.intro-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.75;
}

/* Mobile: vidéo responsive — hauteur s'adapte au contenu */
@media screen and (max-width: 1025px) {
  .content-box.intro {
    height: auto !important;
    min-height: unset !important;
    padding: 0 !important;
  }

  .intro-video-bg {
    position: relative;
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .content-box.intro h1 {
    margin: 10px 0 5px !important;
    padding: 0 10px !important;
    font-size: 22px !important;
    line-height: 1.2 !important;
  }

  .content-box.intro .intro-subtitle {
    margin: 0 !important;
    padding-bottom: 0 !important;
  }

  .content-box.intro {
    overflow: visible !important;
  }

  /* Coller intro à la section about (suppression de l'espace entre les deux) */
  .content-box.about {
    padding-top: 0 !important;
  }

  .content-box.about .top-section {
    padding-top: 0 !important;
  }

  .content-box.about .top-section .anim-wrapper > p:first-child {
    margin-top: 0 !important;
  }

  #mouse-scroll {
    position: absolute !important;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    width: 70px;
    height: 70px;
  }

  .scroll-button.scroll-mouse {
    position: relative !important;
    top: 0 !important;
    left: auto !important;
    margin: 0 auto !important;
  }
}

.content-box.intro h1,
.content-box.intro .text-color-white {
  position: relative;
  z-index: 2;
}

#mouse-scroll {
  position: relative;
  z-index: 2;
}

/* Hero subtitle */
.intro-subtitle {
  color: var(--fm-gold-light);
  font-size: 14px;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-top: 15px;
  position: relative;
  z-index: 2;
  opacity: 0.85;
}

/* ============================
   ABOUT SECTION
   Original: background #6a3332 (brown)
   FLOXY MADE: warm taupe background
============================ */
.content-box.about {
  background-color: var(--fm-taupe) !important;
}

.content-box.about .top-section p {
  color: var(--fm-cream) !important;
}

.content-box.about .top-section p span {
  color: var(--fm-white) !important;
}

/* ============================
   ABOUT INTRO — composition premium signature
   Police manuscrite Parisienne · ornement d'or · clin d'œil féminin
============================ */
.fm-about-intro {
  position: relative;
  text-align: center;
  padding: 70px 30px 50px !important;
  max-width: 760px;
  margin: 0 auto;
}

/* Eyebrow discret en lettres espacées au-dessus */
.fm-about-eyebrow {
  display: inline-block;
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  margin-bottom: 18px;
  padding: 0 6px 6px;
  border-bottom: 1px solid rgba(243, 220, 164, 0.7);
  /* Effet domino lumineux : reflet doré qui balaie le texte en boucle */
  background: linear-gradient(
    100deg,
    #d4b67a 0%,
    #f3dca4 35%,
    #ffffff 50%,
    #f3dca4 65%,
    #d4b67a 100%
  );
  background-size: 250% 100%;
  background-position: 200% center;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  -webkit-text-fill-color: transparent;
  animation: fm-eyebrow-shimmer 3.6s ease-in-out infinite;
}

@keyframes fm-eyebrow-shimmer {
  0%   { background-position: 200% center; }
  60%  { background-position: -100% center; }
  100% { background-position: -100% center; }
}

/* Phrase manuscrite — 2 lignes script Parisienne, gradient or */
/* Cadre ornementé entourant le texte manuscrit */
.fm-about-script-frame {
  position: relative;
  display: inline-block;
  padding: 38px 52px 42px;
  margin: 12px auto 28px;
  isolation: isolate;
  /* Double cadre : bordure or + ligne interne via box-shadow inset */
  border: 1px solid rgba(243, 220, 164, 0.55);
  box-shadow:
    inset 0 0 0 1px transparent,
    inset 0 0 0 6px rgba(255, 233, 168, 0.06),
    inset 0 0 0 7px rgba(243, 220, 164, 0.35),
    0 8px 30px rgba(0, 0, 0, 0.18);
  /* Léger fond damassé radial pour profondeur */
  background:
    radial-gradient(ellipse at center, rgba(255, 233, 168, 0.06) 0%, transparent 70%),
    radial-gradient(circle at top left, rgba(243, 220, 164, 0.04) 0%, transparent 50%),
    radial-gradient(circle at bottom right, rgba(243, 220, 164, 0.04) 0%, transparent 50%);
}


/* Coins ornementaux : équerres dorées */
.fm-frame-corner {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 1.5px solid #f3dca4;
  filter: drop-shadow(0 0 4px rgba(255, 220, 140, 0.4));
}
.fm-frame-corner--tl { top: -2px; left: -2px; border-right: none; border-bottom: none; }
.fm-frame-corner--tr { top: -2px; right: -2px; border-left: none; border-bottom: none; }
.fm-frame-corner--bl { bottom: -2px; left: -2px; border-right: none; border-top: none; }
.fm-frame-corner--br { bottom: -2px; right: -2px; border-left: none; border-top: none; }

/* Cartouches centrales haut/bas — glyphe doré qui « casse » le cadre */
.fm-frame-cartouche {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: var(--fm-taupe);
  color: #f3dca4;
  font-family: 'Georgia', serif;
  font-size: 18px;
  line-height: 1;
  padding: 4px 12px;
  filter: drop-shadow(0 0 8px rgba(255, 220, 140, 0.6));
}
.fm-frame-cartouche--top { top: -10px; }
.fm-frame-cartouche--bottom { bottom: -10px; }

.fm-about-script {
  font-family: 'Parisienne', 'Dancing Script', cursive;
  font-weight: 400;
  font-size: clamp(2.1rem, 5.5vw, 3.4rem);
  line-height: 1.15;
  margin: 0 !important;
  color: var(--fm-white) !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.18);
}

.fm-about-script-line {
  display: block;
  color: var(--fm-cream) !important;
}

.fm-about-script-line--accent {
  background: linear-gradient(135deg, #ffe9a8 0%, #f5d27c 35%, #f0c46a 65%, #ffe19a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent !important;
  font-style: italic;
  padding: 0 6px;
  word-spacing: 0.45em;
  letter-spacing: 0.06em;
  margin-top: 0.25em;
  /* Faux bold pour Parisienne (police single-weight) : drop-shadows fines net, sans flou */
  filter:
    drop-shadow(0.5px 0 0 #f3dca4)
    drop-shadow(-0.5px 0 0 #f3dca4)
    drop-shadow(0 0.5px 0 #f3dca4);
}

/* Ornement central : tirets dorés + glyphe floral */
.fm-about-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 8px auto 26px;
  opacity: 1;
}

.fm-ornament-dash {
  display: inline-block;
  width: 60px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, #f3dca4 50%, transparent);
}

.fm-ornament-dot {
  font-family: 'Georgia', serif;
  color: #f3dca4;
  font-size: 20px;
  line-height: 1;
  transform: translateY(-1px);
  filter: drop-shadow(0 0 8px rgba(255, 220, 140, 0.7));
}

/* Paragraphe descriptif — typo serif élégante */
.fm-about-lead {
  font-family: 'Cormorant Garamond', 'Georgia', 'Times New Roman', serif;
  font-weight: 600;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.8;
  color: #ffffff !important;
  letter-spacing: 0.015em;
  max-width: 680px;
  margin: 0 auto !important;
}

.fm-about-lead strong {
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #f3dca4;
  text-transform: uppercase;
  font-size: 0.9em;
  padding: 0 2px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Mobile : ajustements */
@media screen and (max-width: 1025px) {
  .fm-about-intro {
    padding: 45px 22px 35px !important;
  }
  .fm-about-eyebrow {
    font-size: 10px;
    letter-spacing: 0.35em;
    margin-bottom: 14px;
  }
  .fm-about-ornament {
    gap: 10px;
    margin: 4px auto 20px;
  }
  .fm-ornament-dash {
    width: 42px;
  }
  .fm-about-lead {
    line-height: 1.75;
  }
}

@media screen and (max-width: 480px) {
  .fm-about-intro {
    padding: 38px 18px 28px !important;
  }
  .fm-about-script {
    font-size: clamp(1.85rem, 9vw, 2.5rem);
  }
  .fm-about-eyebrow {
    font-size: 9px;
    letter-spacing: 0.3em;
  }
  .fm-ornament-dash {
    width: 32px;
  }
  .fm-about-script-frame {
    padding: 28px 24px 32px;
    margin: 8px auto 22px;
  }
  .fm-frame-corner {
    width: 14px;
    height: 14px;
  }
  .fm-frame-cartouche {
    font-size: 15px;
    padding: 3px 10px;
  }
}

@media screen and (max-width: 1025px) and (min-width: 481px) {
  .fm-about-script-frame {
    padding: 32px 32px 36px;
  }
}

.content-box.about .about-info p {
  color: var(--fm-cream) !important;
}

.content-box.about .personal-info .name {
  color: #000 !important;
}

.content-box.about .personal-info .position {
  color: var(--fm-gold) !important;
}

/* Gallery */
.gallery .image-wrapper {
  border-color: rgba(123, 93, 83, 0.3) !important;
}

.gallery .image-wrapper img {
  transition: transform 0.6s ease;
}

.gallery .image-wrapper:hover img {
  transform: scale(1.03);
}

/* Mobile carousel — séparé de la galerie desktop */
.fm-carousel {
  display: none;
}

@media screen and (max-width: 1025px) {
  /* Masquer la galerie desktop sur mobile */
  .gallery-desktop {
    display: none !important;
  }

  /* Afficher le carousel mobile */
  .fm-carousel {
    display: block;
    position: relative;
    width: 100%;
    overflow: hidden;
  }

  .fm-carousel-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .fm-carousel-track::-webkit-scrollbar {
    display: none;
  }

  .fm-carousel-slide {
    flex: 0 0 100%;
    scroll-snap-align: center;
    display: flex;
    justify-content: center;
    padding: 0 8%;
    box-sizing: border-box;
  }

  .fm-carousel-slide img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    object-fit: cover;
  }

  /* Flèches domino au-dessus */
  .fm-carousel-swipe-hint {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2px;
    padding: 14px 0 8px;
  }

  .fm-arrow {
    font-size: 32px;
    font-weight: 300;
    line-height: 1;
    opacity: 0;
    transform: translateX(-6px);
    animation: fm-domino 2s ease-in-out infinite;
  }

  .fm-arrow-1 { color: var(--fm-taupe-outline); animation-delay: 0s; }
  .fm-arrow-2 { color: var(--fm-taupe-light); animation-delay: 0.15s; }
  .fm-arrow-3 { color: var(--fm-gold-light); animation-delay: 0.3s; }
  .fm-arrow-4 { color: var(--fm-gold); animation-delay: 0.45s; }
  .fm-arrow-5 { color: var(--fm-white); animation-delay: 0.6s; }

  @keyframes fm-domino {
    0% { opacity: 0; transform: translateX(-6px); }
    20% { opacity: 1; transform: translateX(0); }
    40% { opacity: 1; transform: translateX(4px); }
    60% { opacity: 0.3; transform: translateX(8px); }
    100% { opacity: 0; transform: translateX(10px); }
  }
}



/* ============================
   FOUNDER MESSAGE — carte premium féminisée
   Architecture cohérente avec .fm-about-intro (Parisienne + Cormorant + or)
============================ */
.fm-founder-card {
  position: relative;
  isolation: isolate;
  padding: 48px 44px 40px !important;
  margin: 0 auto;
  max-width: 640px;
  border: 1px solid rgba(243, 220, 164, 0.45);
  border-left: none;
  background:
    linear-gradient(180deg, rgba(255, 233, 168, 0.04) 0%, transparent 60%),
    radial-gradient(ellipse at top right, rgba(243, 220, 164, 0.06) 0%, transparent 55%);
  box-shadow:
    inset 0 0 0 6px rgba(255, 233, 168, 0.04),
    inset 0 0 0 7px rgba(243, 220, 164, 0.28),
    0 6px 24px rgba(0, 0, 0, 0.18);
}

/* Filet vertical doré décoratif sur le côté gauche */
.fm-founder-card::before {
  content: '';
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 0;
  width: 3px;
  background: linear-gradient(180deg, transparent 0%, #f3dca4 20%, #ffe9a8 50%, #f3dca4 80%, transparent 100%);
  box-shadow: 0 0 12px rgba(255, 220, 140, 0.4);
}

/* Header — eyebrow + titre script + ornement */
.fm-founder-header {
  text-align: center;
  margin-bottom: 32px;
}

.fm-founder-eyebrow {
  display: inline-block;
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: #f3dca4;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(243, 220, 164, 0.55);
  margin-bottom: 14px;
}

.fm-founder-title {
  font-family: 'Parisienne', 'Dancing Script', cursive;
  font-weight: 400;
  font-size: clamp(1.8rem, 3.8vw, 2.6rem);
  line-height: 1.1;
  margin: 0 0 14px !important;
  color: var(--fm-cream);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}

.fm-founder-title-line {
  display: block;
}

.fm-founder-title-line--accent {
  background: linear-gradient(135deg, #ffe9a8 0%, #f5d27c 35%, #f0c46a 65%, #ffe19a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent !important;
  font-style: italic;
  letter-spacing: 0.04em;
  filter:
    drop-shadow(0.5px 0 0 #f3dca4)
    drop-shadow(-0.5px 0 0 #f3dca4);
}

.fm-founder-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 4px;
}

/* Réutilise les classes .fm-ornament-dash / .fm-ornament-dot existantes */

/* Paragraphes — Cormorant italique élégante */
.fm-founder-paragraph {
  font-family: 'Cormorant Garamond', 'Georgia', 'Times New Roman', serif;
  font-weight: 600;
  font-style: italic;
  font-size: clamp(1.12rem, 1.7vw, 1.32rem);
  line-height: 1.8;
  margin: 0 0 18px !important;
  color: #ffffff !important;
  letter-spacing: 0.012em;
}

/* Lettrine sur le premier paragraphe — touche éditoriale magazine */
.fm-founder-dropcap {
  font-family: 'Parisienne', 'Dancing Script', cursive;
  font-style: normal;
  font-size: 3.2em;
  line-height: 1;
  float: left;
  margin: 0.05em 0.18em 0 0.1em;
  padding: 0 0.05em 0.15em;
  background: linear-gradient(135deg, #ffe9a8 0%, #f5d27c 60%, #ffe19a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 8px rgba(255, 220, 140, 0.35));
}

.fm-founder-paragraph--first {
  text-indent: 0;
}

/* Highlight gradient or — phrases-clés mises en valeur */
.fm-founder-message .fm-highlight {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-style: italic;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 1em;
  background: linear-gradient(135deg, #ffe9a8 0%, #f5d27c 50%, #ffe19a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent !important;
}

/* Signature — Parisienne grande comme une vraie signature */
.fm-founder-sign {
  margin-top: 28px;
  text-align: right;
  position: relative;
  padding-top: 18px;
}

.fm-founder-sign::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  width: 140px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(243, 220, 164, 0.6) 70%, transparent);
}

.fm-founder-sign-name {
  display: block;
  font-family: 'Parisienne', 'Dancing Script', cursive;
  font-size: clamp(2.2rem, 4.2vw, 2.8rem);
  line-height: 1.3;
  padding: 0.05em 0.1em 0.15em;
  background: linear-gradient(135deg, #ffe9a8 0%, #f5d27c 45%, #f0c46a 75%, #ffe19a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  filter:
    drop-shadow(0.5px 0 0 #f3dca4)
    drop-shadow(0 1px 4px rgba(0, 0, 0, 0.2));
  margin-bottom: 4px;
}

.fm-founder-sign-role {
  display: block;
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: #f3dca4;
  opacity: 0.95;
}

/* Mobile */
@media screen and (max-width: 1025px) {
  .fm-founder-card {
    padding: 36px 26px 32px !important;
    max-width: 100%;
  }
  .fm-founder-header {
    margin-bottom: 24px;
  }
  .fm-founder-eyebrow {
    font-size: 10px;
    letter-spacing: 0.32em;
  }
  .fm-founder-title {
    font-size: clamp(1.6rem, 7vw, 2.1rem);
  }
  .fm-founder-paragraph {
    line-height: 1.75;
  }
  .fm-founder-sign-name {
    font-size: clamp(2rem, 7.5vw, 2.4rem);
  }
  .fm-founder-sign-role {
    font-size: 10px;
    letter-spacing: 0.28em;
  }
}

@media screen and (max-width: 480px) {
  .fm-founder-card {
    padding: 28px 18px 26px !important;
  }
  .fm-founder-dropcap {
    font-size: 2.6em;
  }
}


/* Logo ancien dans section photo — carré sans moule */
.photo-image img {
  object-fit: contain !important;
  background: transparent !important;
  border-radius: 0 !important;
  transform: scale(1.6);
}

.photo .t,
.photo .r,
.photo .c,
.photo-image,
.photo-container .photo {
  border-radius: 12px !important;
  overflow: visible !important;
  clip-path: none !important;
  shape-outside: none !important;
  mask: none !important;
  -webkit-mask: none !important;
  background: transparent !important;
}

.photo-container {
  margin-bottom: -30px !important;
  background: rgba(255, 255, 255, 0.85) !important;
  border-radius: 12px !important;
  padding: 8px 10px !important;
  overflow: visible !important;
}

.photo-image {
  max-height: 90px !important;
  height: 90px !important;
  background: transparent !important;
}

.photo .personal-info {
  margin-top: 2px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.photo .personal-info .name,
.photo .personal-info .position {
  line-height: 1.2 !important;
  margin: 0 !important;
  padding: 0 !important;
}


/* ============================
   TREATMENTS SECTION
   Original: background #edc9bd (beige rose)
   FLOXY MADE: warm cream
============================ */
.content-box.treatments {
  background-color: var(--fm-cream) !important;
}

.content-box.treatments h2 {
  color: var(--fm-taupe) !important;
}

/* Tab menu */
.tab-js-menu span {
  color: var(--fm-taupe) !important;
}

.tab-js-menu span.active {
  border-bottom-color: var(--fm-taupe) !important;
}

/* Prestations grid 2x2 — extends tab-js-menu */
.fm-prestations-grid ul {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  margin: 47px 0 30px !important;
  padding: 0 !important;
  list-style: none !important;
}

.fm-prestations-grid ul li {
  float: none !important;
  width: auto !important;
  height: 60px !important;
  box-sizing: border-box !important;
  text-align: center !important;
}

.fm-prestations-grid ul li a {
  display: block;
  text-decoration: none;
  height: 100%;
}

.fm-prestations-grid ul li span {
  border: 1px solid rgba(123, 93, 83, 0.3) !important;
  display: block !important;
  text-transform: uppercase !important;
  color: var(--fm-taupe) !important;
  font-weight: 700 !important;
  letter-spacing: 3px !important;
  font-size: 12px !important;
  line-height: 58px !important;
  cursor: pointer !important;
  position: relative !important;
  box-sizing: border-box !important;
  transition: all 0.3s ease !important;
}

/* Bordures internes croisées */
.fm-prestations-grid ul li:nth-child(1) span { border-right: none !important; border-bottom: none !important; }
.fm-prestations-grid ul li:nth-child(2) span { border-left: none !important; border-bottom: none !important; }
.fm-prestations-grid ul li:nth-child(3) span { border-right: none !important; border-top: none !important; }
.fm-prestations-grid ul li:nth-child(4) span { border-left: none !important; border-top: none !important; }

/* Ligne verticale centrale (entre col 1 et col 2) */
.fm-prestations-grid ul li:nth-child(odd) span::after {
  content: '' !important;
  width: 1px !important;
  top: -1px !important;
  bottom: -1px !important;
  background: var(--fm-taupe) !important;
  position: absolute !important;
  right: 0 !important;
  opacity: 0.75 !important;
}

/* Ligne horizontale centrale (entre row 1 et row 2) */
.fm-prestations-grid ul li:nth-child(1) span::before,
.fm-prestations-grid ul li:nth-child(2) span::before {
  content: '' !important;
  height: 1px !important;
  left: 0 !important;
  right: 0 !important;
  bottom: -1px !important;
  background: var(--fm-taupe) !important;
  position: absolute !important;
  opacity: 0.75 !important;
  width: auto !important;
  display: block !important;
}

/* Bordures externes plus marquées pour cadrer la grille */
.fm-prestations-grid ul li span {
  border-color: rgba(123, 93, 83, 0.65) !important;
}

/* Hover */
.fm-prestations-grid ul li span:hover {
  background: rgba(201, 169, 110, 0.15) !important;
  color: var(--fm-gold) !important;
}

/* Invite pulse — sequential highlight on each tab */
.fm-prestations-grid ul li span.fm-invite {
  background: rgba(201, 169, 110, 0.12) !important;
  color: var(--fm-gold) !important;
  box-shadow: inset 0 0 0 1px rgba(201, 169, 110, 0.4);
  animation: fm-tab-invite 1.8s ease-in-out;
}

@keyframes fm-tab-invite {
  0%   { box-shadow: inset 0 0 0 1px rgba(201, 169, 110, 0); background: transparent; }
  20%  { box-shadow: inset 0 0 0 1px rgba(201, 169, 110, 0.5); background: rgba(201, 169, 110, 0.14); }
  50%  { box-shadow: inset 0 0 0 1px rgba(201, 169, 110, 0.3), 0 0 12px rgba(201, 169, 110, 0.15); }
  100% { box-shadow: inset 0 0 0 1px rgba(201, 169, 110, 0); background: transparent; }
}

@media (max-width: 480px) {
  .fm-prestations-grid ul li span {
    font-size: 10px !important;
    letter-spacing: 1.5px !important;
  }
}

/* ============================
   PRODUCTS CAROUSEL — Perruques
============================ */
.fm-products-subtitle {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-family: 'Georgia', 'Playfair Display', serif;
  font-style: italic;
  font-size: 14px;
  letter-spacing: 2px;
  margin: -5px 0 25px;
}

.fm-products-carousel {
  overflow: hidden;
  position: relative;
  padding: 10px 0;
  cursor: grab;
}

.fm-products-carousel:active {
  cursor: grabbing;
}

.fm-products-track {
  display: flex;
  gap: 20px;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding: 0 20px;
}

.fm-product-card {
  flex: 0 0 260px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.06), rgba(201, 169, 110, 0.04));
  border: 1px solid rgba(201, 169, 110, 0.18);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s ease;
  position: relative;
}

.fm-product-card:hover {
  border-color: rgba(201, 169, 110, 0.45);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25), 0 0 20px rgba(201, 169, 110, 0.1);
}

.fm-product-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
}

.fm-product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.fm-product-card:hover .fm-product-img img {
  transform: scale(1.06);
}

.fm-product-info {
  padding: 16px 18px 20px;
  text-align: center;
}

.fm-product-info h4 {
  font-family: 'Georgia', 'Playfair Display', serif;
  font-size: 16px;
  letter-spacing: 1.5px;
  color: var(--fm-cream);
  margin: 0 0 6px;
  text-transform: uppercase;
}

.fm-product-type {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 1px;
  margin: 0 0 12px;
}

.fm-product-price {
  display: block;
  font-family: 'Georgia', serif;
  font-size: 20px;
  font-weight: bold;
  color: var(--fm-gold);
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.fm-product-cta {
  display: inline-block;
  padding: 10px 28px;
  font-family: 'Georgia', serif;
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--fm-text-dark);
  background: linear-gradient(135deg, var(--fm-gold), #d4b87a);
  border-radius: 30px;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.fm-product-cta:hover {
  background: linear-gradient(135deg, #d4b87a, var(--fm-gold));
  box-shadow: 0 6px 20px rgba(201, 169, 110, 0.4);
  transform: translateY(-2px);
  color: var(--fm-text-dark);
}

/* Pagination dots */
.fm-products-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.fm-products-dots .fm-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(201, 169, 110, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.fm-products-dots .fm-dot.active {
  background: var(--fm-gold);
  border-color: var(--fm-gold);
  box-shadow: 0 0 8px rgba(201, 169, 110, 0.4);
  width: 24px;
  border-radius: 4px;
}

/* Desktop: show 3 cards */
@media (min-width: 1025px) {
  .fm-product-card {
    flex: 0 0 calc(33.333% - 14px);
  }
  .fm-products-track {
    padding: 0 40px;
  }
}

/* Tablet: show 2 cards */
@media (min-width: 600px) and (max-width: 1025px) {
  .fm-product-card {
    flex: 0 0 calc(50% - 12px);
  }
}

/* Mobile: 1 card visible */
@media (max-width: 599px) {
  .fm-product-card {
    flex: 0 0 85vw;
  }
  .fm-products-track {
    padding: 0 7.5vw;
    gap: 15px;
  }
}

/* Treatment links */
.link.treatment {
  color: var(--fm-text-dark) !important;
  border-bottom-color: rgba(123, 93, 83, 0.15) !important;
}

.link.treatment:hover {
  color: var(--fm-taupe) !important;
}

/* Link underlines */
a.link::before,
a.link::after {
  background-color: var(--fm-taupe) !important;
}

/* ============================
   FLOWERS PARALLAX
   Parallax: fixed background image separator
============================ */
.content-box.flowers-paralax {
  background-image: none !important;
  background-color: transparent !important;
}

/* ============================
   COSMETICS / PRODUCTS SECTION
   Original: background #1b4d4a (dark green)
   FLOXY MADE: dark taupe — keeps the luxury feel
============================ */
.content-box.cosmetics-sale {
  background-color: var(--fm-taupe) !important;
  padding-bottom: 45px !important;
}

@media screen and (max-width: 1025px) {
  .content-box.cosmetics-sale {
    padding-bottom: 35px !important;
  }
}

.content-box.cosmetics-sale h2 {
  color: var(--fm-white) !important;
}

.content-box.cosmetics-sale .partner-desc {
  color: rgba(255, 255, 255, 0.85) !important;
}

/* ============================
   GIFT VOUCHER / CTA SECTION
   Background: gift_bg.jpg
============================ */
.content-box.gift-voucher {
  background-image: none !important;
  background-color: var(--fm-cream-light) !important;
}

/* Gift section — image pleine largeur + texte en dessous */
.fm-gift-section {
  height: auto !important;
  padding: 0 !important;
}

.fm-gift-image {
  width: 100%;
  overflow: hidden;
}

.fm-gift-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.fm-gift-section .anim-wrapper {
  padding: 50px 110px 60px;
}

.fm-gift-section .content {
  width: 100% !important;
  max-width: 600px;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  text-align: center !important;
  display: inline-block;
}

.fm-gift-section .c {
  text-align: center !important;
}

@media screen and (max-width: 1025px) {
  .fm-gift-section .anim-wrapper {
    padding: 40px 40px 50px;
  }
}

@media screen and (max-width: 480px) {
  .fm-gift-section .anim-wrapper {
    padding: 30px 20px 40px;
  }
}

.content-box.gift-voucher h3 {
  color: var(--fm-taupe) !important;
}

.content-box.gift-voucher p {
  color: var(--fm-text-dark) !important;
}

.content-box.gift-voucher p em {
  color: var(--fm-taupe) !important;
}

.content-box.gift-voucher .link {
  color: var(--fm-taupe) !important;
}

/* ============================
   FOOTER
   Layout structure:
   - .contact-section: #fbf0ec (opaque)
   - .scrolltop-section: transparent (#woman visible!)
   - .copyright-section: #572437 (opaque)
============================ */
.footer {
  background-color: transparent !important;
}

/* Contact section — opaque */
.footer .contact-section {
  background-color: var(--fm-cream) !important;
}

.footer .contact-section .clock-wrapper {
  background-color: var(--fm-cream) !important;
}

.footer .contact-section .clock {
  background-color: var(--fm-white) !important;
  border-color: var(--fm-taupe-outline) !important;
}

.footer h2 {
  color: var(--fm-taupe) !important;
}

.footer .contact.link {
  color: var(--fm-taupe) !important;
}

.footer .phone span,
.footer .email span {
  color: var(--fm-gold) !important;
}

.footer .address .space {
  color: var(--fm-text-dark) !important;
}

.footer .map-link .map {
  color: var(--fm-taupe) !important;
}

/* Clock */
.clock .hand {
  background-color: var(--fm-taupe) !important;
}

.clock .hand.second {
  background-color: var(--fm-gold) !important;
}

.clock-line {
  background-color: rgba(123, 93, 83, 0.3) !important;
}

.clock-line.point-12,
.clock-line.point-3,
.clock-line.point-6,
.clock-line.point-9 {
  background-color: var(--fm-taupe) !important;
}

.clock::before {
  background-color: var(--fm-taupe) !important;
}

.opening-hours {
  color: var(--fm-text-dark) !important;
}

.opening-hours span {
  color: var(--fm-taupe) !important;
}

/* Scrolltop section — parallax container */
.footer .scrolltop-section {
  position: relative !important;
  overflow: hidden !important;
  background: transparent !important;
  min-height: calc(70vh + 30px);
}

.footer .scrolltop-section .scroll-button {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

/* Scrolltop section — mobile adjustments */
@media screen and (max-width: 1025px) {
  .footer .scrolltop-section {
    min-height: calc(70vh + 30px) !important;
    padding: 0 !important;
  }
}

.scroll-button.scroll-top {
  border-color: var(--fm-white) !important;
  position: relative;
  z-index: 2;
}

.scroll-button.scroll-top span {
  background: url(../img/arrows_up2.svg) no-repeat center center !important;
  width: 6px !important;
  height: 30px !important;
  margin-left: -3px !important;
  margin-top: -15px !important;
}

.scroll-button.scroll-top:hover {
  border-color: var(--fm-gold) !important;
}

/* Copyright section — opaque */
.footer .copyright-section {
  background-color: var(--fm-taupe) !important;
}

.fm-social-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin: 20px 0 10px;
}

.fm-social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(201, 169, 110, 0.15), rgba(255, 255, 255, 0.08));
  border: 1.5px solid rgba(201, 169, 110, 0.4);
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.fm-social-links a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(201, 169, 110, 0.25), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.fm-social-links a:hover::before {
  opacity: 1;
}

.fm-social-links a svg {
  width: 22px;
  height: 22px;
  fill: var(--fm-cream);
  opacity: 0.75;
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
}

.fm-social-links a:hover {
  border-color: var(--fm-gold);
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(201, 169, 110, 0.3), 0 0 15px rgba(201, 169, 110, 0.15);
}

.fm-social-links a:hover svg {
  fill: var(--fm-gold);
  opacity: 1;
  filter: drop-shadow(0 0 6px rgba(201, 169, 110, 0.5));
}

/* Domino entrance animation */
.fm-social-links a {
  opacity: 0;
  transform: translateY(30px) scale(0.7);
}

.fm-social-links.fm-domino-visible a {
  animation: socialDomino 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.fm-social-links.fm-domino-visible a:nth-child(1) { animation-delay: 0s; }
.fm-social-links.fm-domino-visible a:nth-child(2) { animation-delay: 0.18s; }
.fm-social-links.fm-domino-visible a:nth-child(3) { animation-delay: 0.36s; }
.fm-social-links.fm-domino-visible a:nth-child(4) { animation-delay: 0.54s; }

@keyframes socialDomino {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.7) rotate(-15deg);
  }
  60% {
    opacity: 1;
    transform: translateY(-6px) scale(1.12) rotate(3deg);
  }
  80% {
    transform: translateY(2px) scale(0.97) rotate(-1deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0deg);
  }
}

.social.link {
  color: var(--fm-cream) !important;
}

.followus {
  color: var(--fm-gold) !important;
}

.copyright-wrapper span {
  color: var(--fm-cream) !important;
}

.footer-link {
  color: var(--fm-gold) !important;
}

/* ============================
   HEADER
   Header: fixed left 50% on desktop, top bar on mobile
============================ */
.header {
  background-color: transparent !important;
}

.header .content-wrapper {
  border-bottom-color: rgba(123, 93, 83, 0.15) !important;
}

.header .navigation a {
  color: var(--fm-cream) !important;
}

.header .navigation a:hover {
  color: var(--fm-gold) !important;
}

/* ============================
   PREMIUM MOBILE NAV PANEL
   Transparent + écriture manuscrite féminine
============================ */
@media screen and (max-width: 1025px) {
  .navigation {
    background: rgba(58, 46, 40, 0.45) !important;
    backdrop-filter: blur(18px) saturate(1.4) !important;
    -webkit-backdrop-filter: blur(18px) saturate(1.4) !important;
    min-width: 0 !important;
    width: 75vw !important;
    max-width: 300px !important;
    padding: 110px 0 40px 0 !important;
    border-left: 1px solid rgba(201, 169, 110, 0.15) !important;
    box-shadow: -8px 0 50px rgba(0, 0, 0, 0.25) !important;
    border-radius: 0 !important;
  }

  .navigation::before,
  .navigation::after {
    display: none !important;
    content: none !important;
  }

  .navigation ul {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    width: 100% !important;
    padding: 0 !important;
  }

  .navigation ul li {
    border-bottom: none !important;
    overflow: visible !important;
    text-align: center !important;
  }

  .navigation ul li:last-child {
    border-bottom: none !important;
  }

  .navigation ul li a {
    display: block !important;
    padding: 14px 25px !important;
    font-family: 'Dancing Script', cursive !important;
    font-size: 22px !important;
    font-weight: 500 !important;
    letter-spacing: 0.5px !important;
    text-transform: none !important;
    color: rgba(255, 255, 255, 0.85) !important;
    line-height: 1.3 !important;
    transition: all 0.35s ease !important;
    position: relative !important;
    transform: translateX(0) !important;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.2) !important;
  }

  .navigation ul li a::before {
    content: '' !important;
    width: 0 !important;
    height: 1px !important;
    display: block !important;
    background: linear-gradient(90deg, transparent, var(--fm-gold), transparent) !important;
    position: absolute !important;
    left: 50% !important;
    bottom: 4px !important;
    transform: translateX(-50%) !important;
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    top: auto !important;
  }

  .navigation ul li a:hover,
  .navigation ul li a.active {
    color: var(--fm-gold) !important;
    padding-left: 25px !important;
    background: rgba(201, 169, 110, 0.08) !important;
    transform: translateX(0) !important;
    text-shadow: 0 0 15px rgba(201, 169, 110, 0.3) !important;
  }

  .navigation ul li a:hover::before,
  .navigation ul li a.active::before {
    width: 60% !important;
  }

  /* Hide reservation element completely on mobile */
  .header .reservation,
  .header .reservation::before,
  .header .reservation::after,
  #header .reservation,
  #header .reservation::before,
  #header .reservation::after {
    display: none !important;
    content: none !important;
    width: 0 !important;
    height: 0 !important;
    border: none !important;
    background: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  /* Domino entrance for nav items */
  .navigation ul li {
    opacity: 0;
    transform: translateX(30px);
  }

  .navigation.fm-nav-visible ul li {
    animation: navDomino 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  }

  .navigation.fm-nav-visible ul li:nth-child(1) { animation-delay: 0.05s; }
  .navigation.fm-nav-visible ul li:nth-child(2) { animation-delay: 0.12s; }
  .navigation.fm-nav-visible ul li:nth-child(3) { animation-delay: 0.19s; }
  .navigation.fm-nav-visible ul li:nth-child(4) { animation-delay: 0.26s; }
  .navigation.fm-nav-visible ul li:nth-child(5) { animation-delay: 0.33s; }
  .navigation.fm-nav-visible ul li:nth-child(6) { animation-delay: 0.40s; }

  /* Bouton Réservation dans le menu mobile */
  .fm-nav-rdv {
    margin-top: 15px !important;
    border-bottom: none !important;
    padding: 0 20px !important;
  }

  .fm-nav-rdv a {
    display: block !important;
    background: transparent !important;
    color: var(--fm-gold) !important;
    border: 1px solid rgba(201, 169, 110, 0.5) !important;
    border-radius: 50px !important;
    margin: 0 auto !important;
    max-width: 200px !important;
    padding: 11px 25px !important;
    text-align: center !important;
    font-family: 'Dancing Script', cursive !important;
    font-weight: 600 !important;
    font-size: 20px !important;
    letter-spacing: 0.5px !important;
    text-transform: none !important;
    text-shadow: 0 0 12px rgba(201, 169, 110, 0.25) !important;
    box-shadow: 0 0 20px rgba(201, 169, 110, 0.1), inset 0 0 20px rgba(201, 169, 110, 0.05) !important;
    transition: all 0.35s ease !important;
  }

  .fm-nav-rdv a::before {
    display: none !important;
  }

  .fm-nav-rdv a:hover {
    transform: scale(1.03) !important;
    background: rgba(201, 169, 110, 0.12) !important;
    border-color: var(--fm-gold) !important;
    box-shadow: 0 0 30px rgba(201, 169, 110, 0.25), inset 0 0 25px rgba(201, 169, 110, 0.08) !important;
    padding-left: 25px !important;
    color: var(--fm-gold) !important;
  }

  @keyframes navDomino {
    0% {
      opacity: 0;
      transform: translateX(30px);
    }
    100% {
      opacity: 1;
      transform: translateX(0);
    }
  }
}

.header .reservation {
  color: var(--fm-taupe-outline) !important;
  border-color: var(--fm-taupe-outline) !important;
}

.header .reservation:hover {
  background-color: var(--fm-taupe) !important;
  color: var(--fm-white) !important;
  border-color: var(--fm-taupe) !important;
}

/* ============================
   PREMIUM BURGER MENU (mobile)
============================ */
.mobile-burger {
  width: 36px !important;
  height: 36px !important;
  right: 20px !important;
  margin-top: -18px !important;
  background: linear-gradient(135deg, rgba(201, 169, 110, 0.12), rgba(123, 93, 83, 0.08)) !important;
  border: 1.5px solid rgba(201, 169, 110, 0.35) !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  box-shadow: 0 2px 12px rgba(201, 169, 110, 0.15);
}

.mobile-burger:active {
  transform: scale(0.9) !important;
}

.mobile-burger .lines {
  width: 18px !important;
  height: 14px !important;
  margin-top: 0 !important;
  position: relative !important;
}

.mobile-burger .line {
  background: linear-gradient(90deg, var(--fm-taupe), var(--fm-gold)) !important;
  height: 2px !important;
  border-radius: 2px !important;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.mobile-burger .line:nth-child(1) {
  width: 18px !important;
}

.mobile-burger .line:nth-child(2),
.mobile-burger .line:nth-child(3) {
  width: 13px !important;
  left: 5px !important;
}

.mobile-burger .line:nth-child(4) {
  width: 9px !important;
  left: 9px !important;
}

/* Close state — X with glow pulse */
.mobile-burger.close {
  border-color: var(--fm-gold) !important;
  box-shadow: 0 0 20px rgba(201, 169, 110, 0.3) !important;
  animation: burgerPulse 2s ease-in-out infinite;
}

.mobile-burger.close .line:nth-child(2),
.mobile-burger.close .line:nth-child(3) {
  width: 18px !important;
  left: 0 !important;
}

@keyframes burgerPulse {
  0%, 100% { box-shadow: 0 0 12px rgba(201, 169, 110, 0.2); }
  50% { box-shadow: 0 0 25px rgba(201, 169, 110, 0.45); }
}

/* Logo text */
.fm-logo-text {
  font-family: 'Georgia', 'Playfair Display', 'Times New Roman', serif;
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--fm-gold);
  display: block;
  text-align: center;
  margin-top: -10px;
  transition: color 0.3s ease;
}

/* Header scrollé — fond blanc cassé → texte et burger taupe */
#header.backgrounded {
  background-color: rgba(245, 241, 235, 0.95) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

#header.backgrounded .fm-logo-text {
  color: var(--fm-text-dark);
}

#header.backgrounded .mobile-burger {
  background: linear-gradient(135deg, rgba(123, 93, 83, 0.1), rgba(201, 169, 110, 0.08)) !important;
  border-color: rgba(123, 93, 83, 0.3) !important;
}

#header.backgrounded .mobile-burger .line {
  background: linear-gradient(90deg, var(--fm-text-dark), var(--fm-taupe)) !important;
}

/* Logo sizing */
#header .logo img {
  display: block !important;
  max-height: 150px;
  width: auto;
}

#overlay .load-container .logo img {
  max-height: 180px;
  width: auto;
}

/* Mobile header */
@media screen and (max-width: 1025px) {
  #header::before {
    display: none !important;
    content: none !important;
  }

  .header {
    background-color: rgba(245, 241, 235, 0.95) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  #header .logo {
    margin-top: -48px !important;
    left: 10px !important;
  }

  #header .logo img {
    max-height: 120px;
  }

  #header .logo {
    display: flex !important;
    align-items: center;
    gap: 8px;
    flex-direction: row !important;
  }

  .fm-logo-text {
    font-size: 24px;
    letter-spacing: 2px;
    margin-top: 0;
    white-space: nowrap;
  }

  #header .logo a {
    background: none !important;
    width: auto !important;
    height: auto !important;
  }
}

@media screen and (max-width: 480px) {
  #header .logo img {
    max-height: 95px;
  }

  #header .logo {
    margin-top: -38px !important;
    left: 5px !important;
  }
}

/* ============================
   TEXT COLOR OVERRIDES
   Original brown #6a3332 → FLOXY MADE taupe
============================ */
.text-color-brown {
  color: var(--fm-taupe) !important;
}

.text-color-white {
  color: var(--fm-white) !important;
}

/* ============================
   ART4WEB BRANDING REMOVAL
============================ */
.designed-by {
  display: none !important;
}

.since-wrapper {
  display: none !important;
}

/* ============================
   FLOXY MADE CUSTOM ADDITIONS
============================ */

/* Floating WhatsApp button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  animation: whatsapp-pulse 2s infinite;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

@keyframes whatsapp-pulse {
  0% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7); }
  100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
}

/* Overlay/Loading screen */
#overlay {
  background-color: var(--fm-cream) !important;
}

#overlay .load-container {
  width: 280px !important;
  height: 200px !important;
  margin-left: -140px !important;
  margin-top: -100px !important;
  overflow: visible !important;
}

#overlay .load-container .logo {
  display: none !important;
}

#overlay .load-container .fm-logo-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

#overlay .load-container .fm-logo-loader img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  filter: none;
  animation: fm-loader-fadein 0.5s ease-out forwards;
}

@keyframes fm-loader-fadein {
  0% { opacity: 0; transform: scale(0.92); }
  100% { opacity: 1; transform: scale(1); }
}

/* Fast preloader — CSS transitions for quick exit */
#overlay.fm-fast-exit .load-container {
  opacity: 0 !important;
  transform: scale(0.95);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

#overlay.fm-fast-exit {
  opacity: 0 !important;
  height: 0 !important;
  transition: opacity 0.3s ease 0.15s, height 0s linear 0.45s;
}

/* Map pin — override template path + use inline SVG */
#content .footer .contact-section .address .map span {
  background: none;
}
#content .footer .contact-section .address .map span:after {
  display: none;
}
#content .footer .contact-section .address .map svg {
  vertical-align: middle;
  margin-right: 4px;
}

/* ============================
   TREATMENT PAGES (service sub-pages)
============================ */
.content-box.treatment {
  background-color: var(--fm-cream) !important;
}

.content-box.treatment h1 {
  color: var(--fm-taupe) !important;
}

.content-box.treatment .treatment-info {
  color: var(--fm-text-dark) !important;
}

.content-box.treatment .treatment-info em {
  color: var(--fm-taupe) !important;
}

.content-box.treatment .treatment-price {
  color: var(--fm-taupe) !important;
  border-color: var(--fm-taupe) !important;
}

/* Treatment pages — images */
.content-box.treatment .treatment-photo img {
  max-width: 100%;
  height: auto;
}

/* Treatment + footer responsive */
@media screen and (max-width: 730px) {
  .content-box.treatment .treatment-info {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .content-box.treatment .treatment-info ul {
    padding-left: 15px;
  }

  .opening-hours {
    font-size: 10px !important;
    letter-spacing: 1.5px !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .tab-js-menu ul li span {
    font-size: 10px !important;
    letter-spacing: 1.5px !important;
    line-height: 1.4 !important;
    height: auto !important;
    padding: 12px 5px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .tab-js-content-wrapper .link.treatment span {
    font-size: 13px !important;
  }
}

@media screen and (max-width: 480px) {
  .content-box.treatment h1 {
    font-size: 22px !important;
    padding: 0 15px !important;
  }

  .content-box.treatment .treatment-info {
    font-size: 14px !important;
    line-height: 1.7 !important;
  }

  .content-box.treatment .treatment-info p {
    margin-bottom: 25px !important;
  }

  .opening-hours {
    font-size: 9px !important;
    letter-spacing: 1px !important;
    padding: 100px 10px 30px !important;
    line-height: 18px !important;
  }

  .contact-section .phone a,
  .contact-section .email a {
    font-size: 14px !important;
    letter-spacing: 1px !important;
  }

  .where-to-find h2 {
    font-size: 40px !important;
    line-height: 1.2 !important;
  }

  .address .space {
    font-size: 12px !important;
    line-height: 22px !important;
  }

  .tab-js-menu ul li span {
    font-size: 9px !important;
    letter-spacing: 1px !important;
  }
}

@media screen and (max-width: 380px) {
  .content-box.treatment h1 {
    font-size: 18px !important;
  }

  .content-box.treatment .treatment-info {
    font-size: 13px !important;
  }

  .opening-hours {
    font-size: 8px !important;
    letter-spacing: 0.8px !important;
    padding: 90px 8px 25px !important;
  }

  .tab-js-menu ul li span {
    font-size: 8px !important;
    letter-spacing: 0.8px !important;
    padding: 10px 3px !important;
  }
}

/* ============================
   SHOP LISTING PAGE — Perruques Grid
============================ */
.fm-shop-section {
  background-color: var(--fm-cream) !important;
  padding: 40px 20px !important;
}

.fm-shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.fm-shop-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: var(--fm-white);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(123, 93, 83, 0.1);
  transition: all 0.4s ease;
  position: relative;
}

.fm-shop-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(123, 93, 83, 0.15), 0 0 20px rgba(201, 169, 110, 0.08);
  border-color: rgba(201, 169, 110, 0.3);
}

.fm-shop-img {
  aspect-ratio: 3/4;
  overflow: hidden;
}

.fm-shop-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.fm-shop-card:hover .fm-shop-img img {
  transform: scale(1.06);
}

.fm-shop-info {
  padding: 18px 20px 22px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.fm-shop-info .fm-shop-price {
  margin-top: auto;
}

.fm-shop-info h3 {
  font-family: 'Georgia', 'Playfair Display', serif;
  font-size: 17px;
  letter-spacing: 1.5px;
  color: var(--fm-text-dark);
  margin: 0 0 6px;
  text-transform: uppercase;
}

.fm-shop-info p {
  font-size: 12px;
  color: var(--fm-taupe);
  letter-spacing: 1px;
  margin: 0 0 12px;
}

.fm-shop-price {
  display: block;
  font-family: 'Georgia', serif;
  font-size: 20px;
  font-weight: bold;
  color: var(--fm-gold);
  margin-bottom: 14px;
  text-align: center;
}

.fm-shop-cta {
  display: inline-block;
  padding: 10px 30px;
  font-family: 'Georgia', serif;
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--fm-white);
  background: linear-gradient(135deg, var(--fm-taupe), var(--fm-gold));
  border-radius: 30px;
  transition: all 0.35s ease;
}

.fm-shop-card:hover .fm-shop-cta {
  background: linear-gradient(135deg, var(--fm-gold), var(--fm-taupe));
  box-shadow: 0 6px 20px rgba(201, 169, 110, 0.35);
}

/* ============================
   PRODUCT DETAIL PAGE
============================ */

/* Breadcrumb bar */
.fm-breadcrumb-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-top: 0;
  padding: 0 20px;
  margin: 0;
  font-family: 'Georgia', serif;
  font-size: 11px;
  letter-spacing: 1px;
}

.fm-breadcrumb-bar a {
  color: var(--fm-taupe);
  text-decoration: none;
  transition: color 0.3s ease;
}

.fm-breadcrumb-bar a:hover {
  color: var(--fm-gold);
}

.fm-breadcrumb-bar .fm-bc-sep {
  color: var(--fm-gold);
  font-size: 10px;
}

.fm-breadcrumb-bar .fm-bc-current {
  color: var(--fm-text-dark);
  font-weight: bold;
}

@media (max-width: 480px) {
  .fm-breadcrumb-bar {
    font-size: 10px;
    letter-spacing: 0.6px;
    gap: 6px;
  }
}

.fm-product-page {
  background-color: var(--fm-cream) !important;
}

.fm-product-hero {
  display: flex;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
  align-items: flex-start;
}

.fm-product-hero-img {
  flex: 0 0 45%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(123, 93, 83, 0.2);
}

.fm-product-hero-img img {
  width: 100%;
  display: block;
}

.fm-product-hero-info {
  flex: 1;
  padding: 10px 0;
}

.fm-breadcrumb {
  display: inline-block;
  font-size: 13px;
  color: var(--fm-taupe);
  text-decoration: none;
  margin-bottom: 15px;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.fm-breadcrumb:hover {
  color: var(--fm-gold);
}

.fm-product-hero-info h1 {
  font-family: 'Georgia', 'Playfair Display', serif;
  font-size: 28px;
  letter-spacing: 2px;
  color: var(--fm-text-dark);
  margin: 0 0 8px;
  text-transform: uppercase;
}

.fm-product-hero-type {
  font-size: 13px;
  color: var(--fm-taupe);
  letter-spacing: 1.5px;
  margin: 0 0 20px;
}

.fm-product-hero-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--fm-text-dark);
  margin: 0 0 25px;
}

.fm-product-hero-price {
  font-family: 'Georgia', serif;
  font-size: 30px;
  font-weight: bold;
  color: var(--fm-gold);
  margin-bottom: 20px;
  letter-spacing: 1px;
  text-align: center;
}

/* Remove gap between hero and specs on single product pages */
.fm-product-page .top-section {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.fm-product-page + .fm-product-details-section {
  margin-top: 0 !important;
}

.fm-product-page + .fm-product-details-section .padding-container {
  padding-top: 20px !important;
}

.fm-product-hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  padding: 16px 38px;
  font-family: 'Georgia', serif;
  font-size: 13px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  color: var(--fm-white);
  background: var(--fm-gold);
  border: 1.5px solid var(--fm-gold);
  border-radius: 0;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: none;
  position: relative;
  box-sizing: border-box;
}

.fm-product-hero-cta svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  transition: transform 0.3s ease;
}

.fm-product-hero-cta:hover {
  background: transparent;
  color: var(--fm-gold);
  border-color: var(--fm-gold);
  transform: none;
  box-shadow: none;
}

.fm-product-hero-cta:hover svg {
  transform: scale(1.1);
}

.fm-product-hero-note {
  font-size: 12px;
  color: var(--fm-taupe);
  margin-top: 15px;
  letter-spacing: 0.5px;
  opacity: 0.7;
  text-align: center;
}

/* Product specs */
.fm-product-details-section {
  background-color: var(--fm-white) !important;
}

.fm-product-specs {
  max-width: 600px;
  margin: 20px auto 30px;
  list-style: none;
  padding: 0;
}

.fm-product-specs li {
  padding: 12px 0 12px 30px;
  border-bottom: 1px solid rgba(123, 93, 83, 0.08);
  color: var(--fm-text-dark);
  font-size: 14px;
  letter-spacing: 0.5px;
  position: relative;
}

.fm-product-specs li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--fm-gold), var(--fm-taupe));
}

.fm-product-guarantee {
  max-width: 600px;
  margin: 0 auto;
  padding: 25px 30px;
  background: linear-gradient(135deg, rgba(201, 169, 110, 0.08), rgba(123, 93, 83, 0.04));
  border: 1px solid rgba(201, 169, 110, 0.2);
  border-radius: 12px;
  text-align: center;
}

.fm-product-guarantee h3 {
  font-family: 'Georgia', serif;
  font-size: 16px;
  color: var(--fm-gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.fm-product-guarantee p {
  font-size: 14px;
  color: var(--fm-text-dark);
  line-height: 1.6;
  margin: 0;
}

/* Mobile product page */
@media (max-width: 768px) {
  .fm-product-hero {
    flex-direction: column;
    gap: 20px;
    padding: 15px;
  }

  .fm-product-hero-img {
    flex: none;
    width: 100%;
  }

  .fm-product-hero-info h1 {
    font-size: 22px;
    letter-spacing: 1px;
  }

  .fm-product-hero-price {
    font-size: 26px;
  }

  .fm-product-hero-desc {
    font-size: 14px;
  }

  .fm-product-hero-cta {
    max-width: 100%;
    padding: 16px 24px;
    font-size: 13px;
    letter-spacing: 1.5px;
  }

  .fm-product-hero-note {
    font-size: 11px;
  }

  .fm-shop-section {
    padding: 30px 15px !important;
  }

  .fm-shop-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .fm-shop-info {
    padding: 12px 10px 16px;
  }

  .fm-shop-info h3 {
    font-size: 13px;
    letter-spacing: 1px;
  }

  .fm-shop-info p {
    font-size: 11px;
  }

  .fm-shop-price {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .fm-shop-cta {
    font-size: 10px;
    padding: 8px 18px;
    letter-spacing: 1.5px;
  }

  .fm-product-specs li {
    font-size: 13px;
    padding: 10px 0 10px 25px;
  }

  .fm-product-guarantee {
    padding: 20px 18px;
  }

  .fm-product-guarantee h3 {
    font-size: 14px;
    letter-spacing: 1.5px;
  }

  .fm-product-guarantee p {
    font-size: 13px;
  }
}

/* Ultra-small mobile (320px-480px) */
@media (max-width: 480px) {
  .fm-product-hero {
    gap: 15px;
    padding: 10px;
  }

  .fm-product-hero-info h1 {
    font-size: 19px;
    letter-spacing: 0.5px;
  }

  .fm-product-hero-price {
    font-size: 22px;
  }

  .fm-product-hero-cta {
    max-width: 100%;
    padding: 14px 16px;
    font-size: 11px;
    letter-spacing: 1.5px;
    gap: 8px;
  }

  .fm-shop-section {
    padding: 20px 10px !important;
  }

  .fm-shop-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .fm-shop-info {
    padding: 10px 8px 14px;
  }

  .fm-shop-info h3 {
    font-size: 11px;
    letter-spacing: 0.5px;
  }

  .fm-shop-info p {
    font-size: 10px;
    margin-bottom: 8px;
  }

  .fm-shop-price {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .fm-shop-cta {
    font-size: 9px;
    padding: 7px 14px;
    letter-spacing: 1px;
  }

  .fm-product-specs {
    margin: 15px auto 20px;
  }

  .fm-product-specs li {
    font-size: 12px;
    padding: 8px 0 8px 22px;
  }

  .fm-product-guarantee {
    padding: 16px 14px;
    margin: 0 10px;
  }
}

/* ============================
   RESPONSIVE
============================ */

/* Mobile — ajuster le footer */
@media (max-width: 1025px) {
  .footer .copyright-section {
    padding: 30px 0 20px !important;
  }
}

@media (max-width: 730px) {
  .intro-subtitle {
    font-size: 11px;
    letter-spacing: 2px;
  }

  .whatsapp-float {
    width: 48px;
    height: 48px;
    bottom: 16px;
    right: 16px;
  }

  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }

  /* Footer contact — stack phone/email on mobile, reduce spacing */
  .footer .contact-section .phone,
  .footer .contact-section .email {
    margin: 10px 0 !important;
  }

  /* Footer where-to-find — stack on mobile */
  .footer .where-to-find.left,
  .footer .address.right {
    float: none !important;
    width: 100% !important;
    text-align: center !important;
  }

  .footer .where-to-find.left {
    margin-top: 15px !important;
  }

  .footer .where-to-find.left h2 {
    text-align: center !important;
  }

  /* Clock & Opening hours — scale down for tablets/small screens */
  .clock-wrapper {
    width: 170px !important;
    height: 130px !important;
  }

  .clock-wrapper .clock {
    transform: scale(0.87) !important;
    transform-origin: top center !important;
  }

  .opening-hours {
    font-size: 11px !important;
    letter-spacing: 1.5px !important;
    padding: 100px 20px 35px !important;
    margin-top: -65px !important;
    line-height: 18px !important;
  }

  /* Social links responsive */
  .fm-social-links {
    gap: 20px !important;
  }

  .fm-social-links a {
    width: 46px !important;
    height: 46px !important;
  }

  .fm-social-links a svg {
    width: 20px !important;
    height: 20px !important;
  }
}

/* Prestations grid — auto height for mid-small screens */
@media (max-width: 730px) {
  .fm-prestations-grid ul li {
    height: auto !important;
  }

  .fm-prestations-grid ul li span {
    height: auto !important;
    line-height: normal !important;
    padding: 14px 8px !important;
  }
}

/* Mid-small screens — fill gap between 730px and 480px */
@media (max-width: 600px) {
  .intro-subtitle {
    font-size: 10.5px;
    letter-spacing: 1.5px;
  }

  /* Opening hours — reduce top padding for smaller clock */
  .opening-hours {
    padding: 95px 18px 30px !important;
    line-height: 17px !important;
  }

  /* Treatment info — constrain width */
  .content-box.treatment .treatment-info ul {
    max-width: 100%;
    padding-left: 12px;
  }

  /* Product hero — tighter for smaller tablets */
  .fm-product-hero-cta {
    max-width: 100%;
    font-size: 12px;
    padding: 14px 18px;
  }

  /* SINCE animation — slightly smaller */
  .fm-since-wrapper {
    width: 100px;
    height: 100px;
    margin: 30px auto 20px;
  }

  .fm-since-wrapper .fm-since-logo {
    width: 64%;
    height: 64%;
  }
}

/* Ultra-small screens — global */
@media (max-width: 480px) {
  .intro-subtitle {
    font-size: 10px;
    letter-spacing: 1px;
  }

  .content-box.intro h1 {
    font-size: 20px !important;
  }

  /* About section text */
  .content-box.about .top-section p {
    font-size: 14px !important;
    padding: 0 10px !important;
  }

  .content-box.about .about-info p {
    font-size: 13px !important;
    line-height: 1.6 !important;
  }

  /* Prestations grid — reduce height */
  .fm-prestations-grid ul li {
    height: 50px !important;
  }

  .fm-prestations-grid ul li span {
    line-height: 48px !important;
    font-size: 9px !important;
    letter-spacing: 1px !important;
  }

  /* Products carousel — tighter */
  .fm-products-subtitle {
    font-size: 11px !important;
    letter-spacing: 1px !important;
    padding: 0 10px !important;
  }

  .fm-product-info h4 {
    font-size: 14px !important;
  }

  .fm-product-type {
    font-size: 10px !important;
  }

  .fm-product-price {
    font-size: 16px !important;
  }

  .fm-product-cta {
    font-size: 10px !important;
    padding: 8px 16px !important;
    letter-spacing: 1.5px !important;
  }

  /* Gift voucher section */
  .content-box.gift-voucher h3 {
    font-size: 18px !important;
  }

  .content-box.gift-voucher p {
    font-size: 13px !important;
    padding: 0 10px !important;
  }

  .fm-rdv-cta {
    font-size: 0.85rem;
    padding: 11px 24px;
  }

  /* Social links extra-small */
  .fm-social-links {
    gap: 16px !important;
  }

  .fm-social-links a {
    width: 42px !important;
    height: 42px !important;
  }

  .fm-social-links a svg {
    width: 18px !important;
    height: 18px !important;
  }

  /* Copyright */
  .copyright-wrapper span {
    font-size: 10px !important;
  }

  .followus {
    font-size: 11px !important;
  }

  /* Navigation — smaller text for ultra-small */
  .navigation ul li a {
    font-size: 19px !important;
    padding: 12px 20px !important;
  }

  .fm-nav-rdv a {
    font-size: 17px !important;
    padding: 10px 20px !important;
  }

  /* Clock & Opening hours — compact for ultra-small */
  .clock-wrapper {
    width: 140px !important;
    height: 105px !important;
  }

  .clock-wrapper .clock {
    transform: scale(0.7) !important;
    transform-origin: top center !important;
  }

  .opening-hours {
    font-size: 10px !important;
    letter-spacing: 1px !important;
    padding: 80px 15px 25px !important;
    margin-top: -52px !important;
    line-height: 16px !important;
  }

  /* Map link */
  .map-link .space {
    font-size: 13px !important;
  }

  /* SINCE animation — compact */
  .fm-since-wrapper {
    width: 90px;
    height: 90px;
    margin: 25px auto 15px;
  }

  .fm-since-wrapper .fm-since-logo {
    width: 62%;
    height: 62%;
  }
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--fm-beige);
}

::-webkit-scrollbar-thumb {
  background: var(--fm-taupe);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--fm-gold);
}

/* Credit concepteur */
.fm-credit {
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.4);
}

.fm-credit a {
  color: rgba(201, 169, 110, 0.6);
  text-decoration: none;
  transition: color 0.3s ease;
}

.fm-credit a:hover {
  color: var(--fm-gold);
}

/* Selection color */
::selection {
  background: var(--fm-taupe);
  color: var(--fm-white);
}

/* ============================
   RESERVATION PAGE
============================ */
.fm-reservation-page {
  background: linear-gradient(180deg, var(--fm-cream-light) 0%, var(--fm-cream) 100%);
  padding: 60px 20px 40px;
  min-height: 100vh;
}

.fm-reservation-container {
  max-width: 680px;
  margin: 0 auto;
}

.fm-reservation-header {
  text-align: center;
  margin-bottom: 35px;
}

.fm-reservation-header h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  color: var(--fm-taupe);
  margin-bottom: 10px;
  letter-spacing: 0.03em;
}

.fm-reservation-header p {
  color: var(--fm-taupe-light);
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 500px;
  margin: 0 auto;
}

/* Fieldsets */
.fm-fieldset {
  border: 1px solid var(--fm-taupe-outline);
  border-radius: 14px;
  padding: 22px 20px 18px;
  margin-bottom: 20px;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.fm-fieldset:focus-within {
  border-color: var(--fm-gold);
  box-shadow: 0 4px 20px rgba(201,169,110,0.15);
}

.fm-fieldset legend {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--fm-taupe);
  padding: 0 8px;
  letter-spacing: 0.02em;
}

.fm-fieldset legend svg {
  color: var(--fm-gold);
}

/* Form rows */
.fm-form-row {
  display: flex;
  gap: 16px;
  margin-top: 14px;
}

.fm-form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.fm-form-group.fm-form-full {
  flex: 1 1 100%;
}

.fm-form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--fm-taupe);
  margin-bottom: 5px;
  letter-spacing: 0.01em;
}

.fm-required {
  color: #c0392b;
  font-weight: 700;
}

/* Inputs */
.fm-form-group input,
.fm-form-group select,
.fm-form-group textarea {
  width: 100%;
  max-width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--fm-taupe-outline);
  border-radius: 10px;
  background: var(--fm-white);
  color: var(--fm-text-dark);
  font-size: 0.92rem;
  font-family: inherit;
  transition: border-color 0.25s, box-shadow 0.25s;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
}

.fm-form-group input:focus,
.fm-form-group select:focus,
.fm-form-group textarea:focus {
  border-color: var(--fm-gold);
  box-shadow: 0 0 0 3px rgba(201,169,110,0.18);
}

.fm-form-group input::placeholder,
.fm-form-group textarea::placeholder {
  color: #b0a898;
  font-style: italic;
}

.fm-form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%237b5d53'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 20px;
  padding-right: 36px;
  cursor: pointer;
}

.fm-form-group textarea {
  resize: vertical;
  min-height: 70px;
}

/* Hint */
.fm-form-hint {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  font-size: 0.78rem;
  color: var(--fm-taupe-light);
  font-style: italic;
}

.fm-form-hint svg {
  flex-shrink: 0;
  color: var(--fm-gold);
}

/* Submit button */
.fm-form-submit {
  text-align: center;
  margin-top: 28px;
}

.fm-form-submit button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 40px;
  border: none;
  border-radius: 50px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  font-family: inherit;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 6px 25px rgba(37,211,102,0.35);
}

.fm-form-submit button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 35px rgba(37,211,102,0.45);
}

.fm-form-submit button:active {
  transform: translateY(0) scale(0.98);
}

.fm-form-submit button svg {
  flex-shrink: 0;
}

.fm-form-secure {
  margin-top: 12px;
  font-size: 0.75rem;
  color: var(--fm-taupe-light);
  font-style: italic;
}

/* ============================
   RESERVATION CTA — Homepage
============================ */
.fm-rdv-cta-wrapper {
  text-align: center;
  margin-top: 25px;
}

.fm-rdv-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 32px;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--fm-gold) 0%, var(--fm-taupe) 100%);
  color: #fff !important;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 6px 25px rgba(201,169,110,0.35);
}

.fm-rdv-cta:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 10px 35px rgba(201,169,110,0.5);
}

.fm-rdv-cta svg {
  flex-shrink: 0;
}

/* ============================
   RESERVATION — Responsive
============================ */
.fm-form-row-3 {
  display: flex;
  gap: 12px;
}

.fm-form-row-3 .fm-form-group {
  flex: 1;
}

@media screen and (max-width: 680px) {
  .fm-reservation-page {
    padding: 50px 14px 30px;
  }

  .fm-reservation-header h1 {
    font-size: 1.6rem;
  }

  .fm-reservation-header p {
    font-size: 0.85rem;
    padding: 0 5px;
  }

  .fm-form-row {
    flex-direction: column;
    gap: 10px;
  }

  .fm-fieldset {
    padding: 16px 14px 14px;
  }

  .fm-fieldset legend {
    font-size: 0.9rem;
  }

  .fm-form-group input,
  .fm-form-group select,
  .fm-form-group textarea {
    padding: 10px 12px;
    font-size: 0.88rem;
  }

  .fm-form-submit button {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 0.95rem;
  }

  .fm-form-hint {
    font-size: 0.72rem;
  }
}

@media screen and (max-width: 560px) {
  .fm-form-row-3 {
    flex-direction: column;
    gap: 10px;
  }

  .fm-form-row-3 .fm-form-group {
    flex: 1 1 100%;
  }
}

@media screen and (max-width: 480px) {
  .fm-form-hint {
    font-size: 0.7rem;
    flex-wrap: wrap;
  }

  .fm-form-submit button {
    font-size: 0.9rem;
    padding: 13px 18px;
  }

  .fm-form-secure {
    font-size: 0.7rem;
  }
}

@media screen and (max-width: 400px) {
  .fm-reservation-page {
    padding: 45px 8px 25px;
  }

  .fm-reservation-header h1 {
    font-size: 1.3rem;
  }

  .fm-reservation-header p {
    font-size: 0.78rem;
  }

  .fm-fieldset {
    padding: 12px 10px 10px;
    border-radius: 10px;
  }

  .fm-fieldset legend {
    font-size: 0.8rem;
    gap: 5px;
  }

  .fm-form-group label {
    font-size: 0.75rem;
  }

  .fm-form-group input,
  .fm-form-group select,
  .fm-form-group textarea {
    padding: 9px 10px;
    font-size: 0.82rem;
    border-radius: 8px;
  }

  .fm-form-submit button {
    padding: 12px 14px;
    font-size: 0.85rem;
    gap: 7px;
  }
}

/* ============================
   GLOBAL RESPONSIVE FIXES
   320px–680px coverage
============================ */

/* --- 680px: founder message, prestations --- */

/* --- 480px: prestations, carousel arrows --- */
@media (max-width: 480px) {
  .fm-prestations-grid ul li span {
    height: auto !important;
    line-height: normal !important;
    padding: 12px 5px !important;
  }

  .fm-prestations-grid ul li {
    height: auto !important;
  }

  .fm-arrow {
    font-size: 26px !important;
  }
}

/* --- 400px: prestations stack, nav, founder --- */
@media (max-width: 400px) {
  /* Prestations: stack to single column */
  .fm-prestations-grid ul li {
    width: 100% !important;
    height: auto !important;
  }

  .fm-prestations-grid ul li span {
    font-size: 10px !important;
    letter-spacing: 1.2px !important;
    line-height: normal !important;
    padding: 14px 8px !important;
    border: 1px solid rgba(123, 93, 83, 0.2) !important;
  }

  /* Remove pseudo-elements for grid borders in single-col mode */
  .fm-prestations-grid ul li span::after,
  .fm-prestations-grid ul li span::before {
    display: none !important;
  }

  /* Navigation */
  .navigation ul li a {
    font-size: 17px !important;
    padding: 10px 18px !important;
  }

  .fm-nav-rdv a {
    font-size: 15px !important;
    padding: 9px 18px !important;
  }

  /* Reservation form adjustments */
  .fm-reservation-page {
    padding: 40px 12px 20px !important;
  }

  .fm-fieldset legend {
    font-size: 0.85rem !important;
  }
}

/* --- 320px: ultra-small screens (iPhone SE, old Android) --- */
@media (max-width: 320px) {
  /* Header */
  .header .logo img {
    max-width: 80px !important;
  }

  /* Navigation */
  .navigation {
    max-width: 230px !important;
  }

  .navigation ul li a {
    font-size: 16px !important;
    padding: 9px 15px !important;
  }

  .fm-nav-rdv a {
    font-size: 14px !important;
    padding: 8px 15px !important;
  }

  /* Intro subtitle */
  .intro-subtitle {
    font-size: 9px !important;
    letter-spacing: 1.5px !important;
  }

  /* Where to find — scale for 320px */
  .where-to-find h2 {
    font-size: 35px !important;
  }

  /* Prestations */
  .fm-prestations-grid ul li span {
    font-size: 9px !important;
    letter-spacing: 1px !important;
    padding: 12px 5px !important;
  }

  /* Gallery / Carousel */
  .fm-arrow {
    font-size: 20px !important;
  }

  /* About / Photo section */
  .photo-container {
    padding: 6px !important;
  }

  /* Reservation form */
  .fm-reservation-page {
    padding: 35px 8px 15px !important;
  }

  .fm-reservation-header h1 {
    font-size: 1.2rem !important;
  }

  .fm-reservation-header p {
    font-size: 0.75rem !important;
  }

  .fm-fieldset {
    padding: 10px 8px 8px !important;
    border-radius: 8px !important;
  }

  .fm-fieldset legend {
    font-size: 0.78rem !important;
  }

  .fm-form-group label {
    font-size: 0.72rem !important;
  }

  .fm-form-group input,
  .fm-form-group select,
  .fm-form-group textarea {
    padding: 8px 8px !important;
    font-size: 0.8rem !important;
    border-radius: 6px !important;
  }

  .fm-form-submit button {
    padding: 11px 12px !important;
    font-size: 0.82rem !important;
  }

  .fm-form-hint {
    font-size: 0.65rem !important;
  }

  .fm-form-secure {
    font-size: 0.65rem !important;
  }

  /* SINCE animation — smallest */
  .fm-since-wrapper {
    width: 80px;
    height: 80px;
    margin: 20px auto 12px;
  }

  .fm-since-wrapper .fm-since-logo {
    width: 60%;
    height: 60%;
  }
}

/* =============================================
   SINCE 2019 — Rotating animation
   ============================================= */
@keyframes sinceSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.fm-since-wrapper {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 40px auto 30px;
}

.fm-since-wrapper .fm-since-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  animation: sinceSpin 9s linear infinite;
}

.fm-since-wrapper .fm-since-ring img {
  width: 100%;
  height: 100%;
}

.fm-since-wrapper .fm-since-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 66%;
  height: 66%;
  object-fit: contain;
  padding: 3%;
  box-sizing: border-box;
  border-radius: 50%;
  background: radial-gradient(
    circle at center,
    var(--fm-cream-light) 0%,
    var(--fm-cream) 62%,
    rgba(236, 232, 220, 0.55) 85%,
    rgba(236, 232, 220, 0) 100%
  );
  box-shadow:
    0 0 0 1px rgba(201, 169, 110, 0.32) inset,
    0 3px 10px rgba(0, 0, 0, 0.22);
  transform: translate(-50%, -50%);
  z-index: 2;
}

/* ============================
   CTA Premium — Voir toute la collection (homepage perruques)
============================ */
.fm-perruques-cta-wrapper {
  text-align: center;
  margin: 14px 0 0;
  padding: 0 12px;
}

.fm-perruques-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border: 1px solid var(--fm-gold);
  background: transparent;
  color: var(--fm-gold) !important;
  font-family: 'Georgia', 'Playfair Display', serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none !important;
  border-radius: 50px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  white-space: nowrap;
  transition: color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
  box-shadow: 0 2px 10px rgba(201, 169, 110, 0.14);
}

.fm-perruques-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--fm-gold) 0%, #d9b87f 100%);
  transform: translateX(-101%);
  transition: transform 0.45s cubic-bezier(0.65, 0, 0.35, 1);
  z-index: -1;
}

.fm-perruques-cta:hover {
  color: #fff !important;
  border-color: #d9b87f;
  box-shadow: 0 10px 35px rgba(201, 169, 110, 0.45);
  transform: translateY(-3px);
}

.fm-perruques-cta:hover::before {
  transform: translateX(0);
}

.fm-perruques-cta svg {
  flex-shrink: 0;
  transition: transform 0.4s ease;
}

.fm-perruques-cta:hover svg {
  transform: translateX(5px);
}

@media screen and (max-width: 480px) {
  .fm-perruques-cta-wrapper {
    margin: 10px 0 0;
  }
  .fm-perruques-cta {
    padding: 5px 14px;
    font-size: 0.62rem;
    letter-spacing: 0.07em;
    gap: 6px;
  }
  .fm-perruques-cta svg {
    width: 12px;
    height: 9px;
  }
}

/* Override chemins d'images du bundle hérité art4web (/images/ -> /img/) */
.shapeshifter {
  background-image: url(../img/mouse_sprite.svg);
}
.scroll-button.scroll-top span {
  background-image: url(../img/arrows_up2.svg);
}

/* ============================
   Logo signature au pied de la section Nos Prestations
   Position absolue dans le padding-bottom existant — n'affecte pas la hauteur de la section
============================ */
.content-box.treatments {
  position: relative;
}

.fm-services-logo {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  width: 110px;
  pointer-events: none;
  opacity: 0.85;
  line-height: 0;
}

.fm-services-logo img {
  width: 100%;
  height: auto;
  display: block;
}

@media screen and (max-width: 1025px) {
  .fm-services-logo {
    bottom: 18px;
    width: 80px;
  }
}

@media screen and (max-width: 480px) {
  .fm-services-logo {
    bottom: 12px;
    width: 64px;
  }
}
