/* =========================================
   PALETTE "PÊCHE & DARK GLASS" (RESTREINTE)
   ========================================= */
:root { 
  --or-champagne: #D9A0A0; 
  --fond-peche: linear-gradient(135deg, #fff5e9 0%, #ffcae4b5 100%);
  --text-fonce-fond: #3A2E2B; 
  --text-clair: #F4F4F5; 
  --text-mute: #B0B0B8; 
  --glass-bg-dark: rgba(22, 24, 28, 0.75); 
  --glass-border: #D9A0A0; 
  --shadow-douce: 0 15px 35px rgba(0, 0, 0, 0.15), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.25), inset 0 0 0 1px rgba(217, 160, 160, 0.2);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { 
  scroll-behavior: smooth; 
  width: 100%; 
}

/* FOND DE LA PAGE */
body { 
  font-family: 'Montserrat', sans-serif; 
  background: var(--fond-peche); 
  color: var(--text-fonce-fond); 
  overflow-x: hidden; /* Sécurité doublée */
  width: 100%;
  position: relative;
}
body.no-scroll { overflow: hidden; }

/* Typographie globale */
h1, h2, h3, h4, .mini, .who { font-family: 'Playfair Display', serif; font-weight: 400; }
.section-title { font-size: 2.5rem; text-align: center; margin-bottom: 2rem; color: var(--text-fonce-fond); }

/* Couper les animations fantômes au chargement */
body.no-anim, body.no-anim * {
  transition: none !important;
}

/* =========================================
   1. HERO - ÉCRAN DE BIENVENUE
   ========================================= */
body.index-page:not(.revealed) { 
  overflow: hidden !important; 
  height: 100vh !important; 
}
/* On cache TOTALEMENT le contenu pour éviter qu'il crée du vide en bas */
body.index-page:not(.revealed) main,
body.index-page:not(.revealed) .site-footer { 
  display: none !important; 
}

body.index-page #hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("https://i.postimg.cc/JzDks0Nr/Design-sans-titre-6.jpg");
  background-size: cover;
  background-position: center;
  transition: all 0.8s ease;
  z-index: 1000;
}

body.index-page .overlay-sombre { position: absolute; inset: 0; background: rgba(15, 15, 18, 0.4); transition: opacity 0.8s ease; }
body.index-page .hero { position: relative; z-index: 2; text-align: center; max-width: 900px; padding: 0 20px; width: 100%; }

/* La fameuse boîte en verre sombre de l'accueil */
body.index-page:not(.revealed) .hero-content {
  background: var(--glass-bg-dark); 
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  border: 1px solid var(--glass-border);
  padding: 50px 40px;
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  margin: 0 auto;
  transition: all 0.5s ease;
}

body.index-page.revealed .hero-content, 
body.secondary-page .hero-content {
  display: flex !important; justify-content: space-between !important; align-items: center !important;
  width: 100% !important; gap: 40px; margin: 0 !important;
  background: transparent !important; border: none !important; padding: 0 !important; box-shadow: none !important;
  backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
  transition: background 0s, border 0s, padding 0s !important; /* Disparition immédiate de la boîte interne */
}

.sur-titre { font-size: 0.85rem; letter-spacing: 4px; color: var(--or-champagne); margin-bottom: 20px; font-weight: 600; text-transform: uppercase; }
#homeTitle { font-size: clamp(36px, 6vw, 64px); line-height: 1.1; color: var(--text-clair); margin-bottom: 24px; text-shadow: 0 4px 15px rgba(0,0,0,0.4); transition: font-size 0.4s ease;}

.sous-titre { 
  font-size: 1.1rem; 
  font-weight: 300; 
  color: var(--text-mute); 
  
  /* L'ASTUCE POUR UN TEXTE PARFAITEMENT ÉQUILIBRÉ */
  max-width: 600px;         /* Empêche le texte de s'étirer à l'infini sur grand écran */
  margin: 0 auto 40px auto; /* Le "auto" permet de centrer parfaitement ce bloc */
  line-height: 1.6;         /* Aère un peu l'espace entre les deux lignes */
  text-wrap: balance;       /* Magie CSS : équilibre les mots pour éviter un mot tout seul en bas */
}

.cta-btn {
  background: transparent; color: var(--or-champagne); border: 1px solid var(--or-champagne);
  padding: 16px 40px; border-radius: 50px; font-family: 'Montserrat', sans-serif; font-size: 0.9rem;
  letter-spacing: 2px; text-transform: uppercase; cursor: pointer; transition: all 0.4s ease;
}
.cta-btn:hover { background: var(--or-champagne); color: #121316; box-shadow: 0 10px 25px rgba(217, 160, 160, 0.4); transform: translateY(-3px); }

/* On cache le burger au lancement */
#mobileMenuBtn { display: none; }
body.index-page:not(.revealed) #mainNav { display: none; }


/* =========================================
   2. LE NOUVEAU MENU : LE "FLOATING DOCK"
   ========================================= */
body.index-page.revealed #hero, 
body.secondary-page #hero { 
  position: fixed !important; 
  top: 30px !important; 
  left: 50% !important; 
  transform: translateX(-50%) !important; 
  width: auto !important; 
  min-width: 300px;
  max-width: 90% !important;
  height: 65px; 
  min-height: 65px;
  background: var(--glass-bg-dark) !important; 
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  z-index: 2000; 
  border: 1px solid var(--glass-border) !important; 
  border-radius: 50px !important; 
  display: flex; align-items: center; justify-content: center;
  padding: 0 35px !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.05) !important;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

body.index-page.revealed #hero:hover, 
body.secondary-page #hero:hover {
  transform: translateX(-50%) translateY(-3px) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(217, 160, 160, 0.5) !important;
}

body.index-page.revealed .hero, 
body.secondary-page .hero,
body.index-page.revealed .hero-panel, 
body.secondary-page .hero-panel {
  width: 100% !important; 
  padding: 0 !important; 
  margin: 0 !important;
}

body.index-page.revealed .hero-content, 
body.secondary-page .hero-content {
  display: flex !important; justify-content: space-between !important; align-items: center !important;
  width: 100% !important; gap: 40px; margin: 0 !important;
  background: transparent !important; border: none !important; padding: 0 !important; box-shadow: none !important;
  backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
}

body.index-page.revealed #homeTitle, 
body.secondary-page #homeTitle {
  font-size: 1.2rem !important; margin: 0 !important; display: flex !important; gap: 6px !important;
  color: var(--text-clair) !important; text-shadow: none !important; cursor: pointer;
  white-space: nowrap !important; align-items: center;
}
body.index-page.revealed #homeTitle .t1, body.secondary-page #homeTitle .t1 { color: var(--text-clair) !important; }
body.index-page.revealed #homeTitle .t2, body.secondary-page #homeTitle .t2 { color: var(--or-champagne) !important; }

body.index-page.revealed .sur-titre, body.index-page.revealed .sous-titre, body.index-page.revealed .cta-btn.hero-enter, body.index-page.revealed .overlay-sombre,
body.secondary-page .sur-titre, body.secondary-page .sous-titre, body.secondary-page .cta-btn.hero-enter, body.secondary-page .overlay-sombre {
  display: none !important;
}

body.index-page.revealed #mainNav, body.secondary-page #mainNav { display: block; }
body.index-page.revealed #mainNav ul, body.secondary-page #mainNav ul { list-style: none; display: flex; gap: 25px; margin: 0; padding: 0; }

body.index-page.revealed #mainNav a, body.secondary-page #mainNav a { 
  text-decoration: none; color: var(--text-clair); font-weight: 500; 
  font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; transition: color 0.3s; 
  white-space: nowrap; /* Empêche le texte de s'écraser sur 2 lignes */
}
body.index-page.revealed #mainNav a:hover, body.secondary-page #mainNav a:hover { color: var(--or-champagne); }

@media (max-width: 768px) {
  body.index-page.revealed #hero, body.secondary-page #hero {
    padding: 0 20px !important; width: 92% !important; top: 20px !important;
  }
  body.index-page.revealed .hero-content, body.secondary-page .hero-content { gap: 15px !important; }

  body.index-page.revealed #mobileMenuBtn, body.secondary-page #mobileMenuBtn { 
    display: block !important; background: none; border: none; cursor: pointer; color: var(--or-champagne); 
  }
  
  body.index-page.revealed #mainNav, body.secondary-page #mainNav {
    position: absolute; top: 85px; left: 0; width: 100%;
    background: rgba(22, 24, 28, 0.95) !important; backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border); border-radius: 20px;
    visibility: hidden; opacity: 0; transform: translateY(-10px); transition: all 0.3s ease;
  }

  body.index-page.revealed #mainNav.open, body.secondary-page #mainNav.open { visibility: visible; opacity: 1; transform: translateY(0); }
  body.index-page.revealed #mainNav ul, body.secondary-page #mainNav ul { flex-direction: column; gap: 0; padding: 10px 0; }
  body.index-page.revealed #mainNav a, body.secondary-page #mainNav a { 
    color: var(--or-champagne); padding: 20px; display: block; text-align: center; border-bottom: 1px solid rgba(217, 160, 160, 0.25); 
  }
  body.index-page.revealed #mainNav li:last-child a, body.secondary-page #mainNav li:last-child a { border-bottom: none; }
}

/* =========================================
   4. CONTENU PRINCIPAL (Index)
   ========================================= */
body.index-page main { opacity: 0; transform: none; transition: opacity 0.8s ease 0.2s; padding: 80px 20px; flex-grow: 1; }
body.index-page.revealed main { opacity: 1; }

.intro { max-width: 800px; margin: 0 auto 60px; padding-top: 40px; text-align: center; line-height: 1.8; font-weight: 400; color: #5A4A45; }
.intro h2 { color: var(--text-fonce-fond); }

.intro-logo { 
  width: 90%;            /* Laisse 5% de vide à gauche et 5% à droite sur mobile */
  max-width: 320px;      /* Ta taille géante parfaite pour l'ordinateur */
  height: auto; 
  margin: 30px auto 40px auto; /* Le "auto" force le centrage parfait */
  display: block; 
  opacity: 0.9; 
}

.pill, .offer, .rev-card {
  background: var(--glass-bg-dark); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border); border-radius: 20px; box-shadow: var(--shadow-douce);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); color: var(--text-clair);
}
.pill:hover, .offer:hover, .rev-card:hover, .offer:focus-within {
  transform: translateY(-8px); box-shadow: var(--shadow-hover); border-color: rgba(217, 160, 160, 0.5); z-index: 50; 
}

.pre { max-width: 1100px; margin: 0 auto 60px auto; }
.pillz { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.pill { padding: 35px 20px; text-align: center; }
.pill svg { stroke: var(--or-champagne) !important; filter: drop-shadow(0 0 5px rgba(217, 160, 160, 0.2)); }
.pill h3 { font-size: 1.1rem; margin: 15px 0 5px; color: var(--text-clair); }
.pill p { font-size: 0.85rem; color: var(--text-mute); font-weight: 300; }
.pre-note { text-align: center; margin-top: 20px; font-size: 0.9rem; font-style: italic; color: #7A6A65; }
@media (max-width: 900px) { .pillz { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .pillz { grid-template-columns: 1fr; } }

.offers { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; max-width: 1100px; margin: 0 auto 80px; }
.offer { padding: 40px 30px; text-align: center; flex: 1 1 300px; max-width: 340px; position: relative; }
.offer .mini { font-size: 1.8rem; margin-bottom: 15px; color: var(--text-clair); }
.offer .mini::after { content: ""; display: block; width: 40px; height: 2px; background: var(--or-champagne); border-radius: 2px; margin: 15px auto 0; }
.offer .meta { font-size: 0.9rem; color: var(--text-mute); margin-bottom: 25px; }
.offer .peek { background: transparent; border: none; border-bottom: 1px solid var(--text-mute); color: var(--text-mute); padding-bottom: 3px; font-family: 'Montserrat', sans-serif; cursor: pointer; transition: color 0.3s; }
.offer .peek:hover { color: var(--or-champagne); border-color: var(--or-champagne); }

.pop { 
  position: absolute; left: 50%; top: 100%; transform: translate(-50%, -10px); width: 95%; 
  background: rgba(22, 24, 28, 0.95); backdrop-filter: blur(20px); border: 1px solid var(--glass-border); 
  border-top: 2px solid var(--or-champagne); padding: 25px; border-radius: 16px; opacity: 0; visibility: hidden; 
  transition: all 0.3s ease; text-align: left; z-index: 100; box-shadow: 0 20px 50px rgba(0,0,0,0.5); 
}
.offer:hover .pop, .offer:focus-within .pop { opacity: 1; visibility: visible; transform: translate(-50%, 15px); }
.pop h4 { color: var(--or-champagne); margin-bottom: 15px; font-size: 1.2rem; }
.pop ul { padding-left: 20px; line-height: 1.8; font-size: 0.85rem; font-weight: 300; color: var(--text-mute); }
.pop .price { margin: 15px 0; font-family: 'Playfair Display', serif; font-size: 1.2rem; color: var(--text-clair); }
.choose { background: var(--or-champagne); border: none; color: #121316; padding: 12px; border-radius: 50px; width: 100%; font-family: 'Montserrat', sans-serif; font-weight: 600; text-transform: uppercase; cursor: pointer; transition: all 0.3s; }
.choose:hover { background: var(--text-clair); box-shadow: 0 5px 15px rgba(255,255,255,0.1); }

body.promo-page {
  min-height: 100vh;
  padding: 36px 16px 56px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
body.promo-page .promo-sheet {
  max-height: none;
  margin: 0 auto;
}
body.promo-page .promo-back {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--or-champagne);
  text-decoration: none;
  font-size: 0.9rem;
}
body.promo-page .promo-back:hover { text-decoration: underline; }
body.promo-page .actions { justify-content: stretch; }
body.promo-page .actions .btn.primary { width: 100%; }

.reviews { max-width: 1100px; margin: 80px auto; }
.rev-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.rev-card { padding: 30px; text-align: center; }
.stars { color: var(--or-champagne); letter-spacing: 2px; margin-bottom: 15px; font-size: 1.2rem; }
.rev-text { font-style: italic; font-weight: 300; color: var(--text-mute); line-height: 1.6; margin-bottom: 15px; }
.who { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--text-clair); }
.rev-meta { font-size: 0.8rem; color: #777; text-transform: uppercase; letter-spacing: 1px; }

.modal-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.5); backdrop-filter: blur(10px); display: none; align-items: center; justify-content: center; z-index: 999; }
.modal { background: var(--glass-bg-dark); width: min(94vw, 720px); max-height: 90vh; overflow: auto; padding: 32px 28px; border-radius: 24px; box-shadow: 0 30px 60px rgba(0,0,0,0.5); border: 1px solid var(--glass-border); backdrop-filter: blur(16px); }
.modal h3 { font-size: 1.8rem; margin-bottom: 10px; color: var(--or-champagne); }
.modal .meta { font-size: 0.85rem; color: var(--text-mute); margin-bottom: 18px; }
.modal-lab { display: block; color: var(--text-clair); font-size: 0.85rem; margin-bottom: 8px; font-weight: 300; }
.modal-est { margin: 0; color: var(--or-champagne); font-size: 0.95rem; }
.modal-opts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 14px;
  margin-bottom: 4px;
  align-items: start;
}
.modal-opts .opt-qty { grid-column: 1 / -1; margin-bottom: 8px; }
.modal-opts label {
  display: flex !important;
  align-items: center;
  gap: 8px;
  margin: 0 !important;
  font-size: 0.82rem;
  color: var(--text-clair);
  font-weight: 300;
}
.modal-opts input[type="number"] {
  width: 3.2rem !important;
  max-width: 3.2rem;
  padding: 6px 8px !important;
  flex: 0 0 3.2rem;
}
.modal input[type="checkbox"],
.modal input[type="radio"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--or-champagne);
}
@media (max-width: 640px) { .modal-opts { grid-template-columns: 1fr; } }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.grid .full { grid-column: 1/-1; }
.modal label { color: var(--text-clair); font-size: 0.85rem; display: block; margin-bottom: 8px; font-weight: 300; }
.modal input, .modal select, .modal textarea { width: 100%; padding: 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.15); font-family: 'Montserrat', sans-serif; background: rgba(255, 255, 255, 0.05); color: var(--text-clair); transition: all 0.3s; }
.modal input:focus, .modal select:focus, .modal textarea:focus { outline: none; border-color: var(--or-champagne); background: rgba(255, 255, 255, 0.1); }
.modal option, .modal optgroup {
  background-color: #ffffff;
  color: #1A1A1A;
}
.modal textarea { min-height: 100px; resize: vertical; }
.modal-opts label.is-locked {
  cursor: default;
  pointer-events: none;
  opacity: 1;
}
.modal-opts input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
  border: 2px solid var(--or-champagne);
  border-radius: 4px;
  background: transparent !important;
  opacity: 1;
  filter: none;
  cursor: pointer;
}
.modal-opts label.is-locked input[type="checkbox"] {
  cursor: default;
}
.modal-opts input[type="checkbox"]:checked {
  background: var(--or-champagne) !important;
  border-color: var(--or-champagne);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23121316' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5l3 3 6-6'/%3E%3C/svg%3E") !important;
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}
.actions { display: flex; justify-content: flex-end; gap: 15px; margin-top: 25px; }
.btn { padding: 14px 28px; border-radius: 50px; border: 1px solid var(--text-mute); background: transparent; color: var(--text-clair); cursor: pointer; font-family: 'Montserrat', sans-serif; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1px; transition: all 0.3s; }
.btn:hover { border-color: var(--text-clair); background: rgba(255,255,255,0.05); }
.btn.primary { background: var(--or-champagne); color: #121316; border: none; font-weight: 600; }
.btn.primary:hover { background: var(--text-clair); box-shadow: 0 5px 15px rgba(255,255,255,0.1); transform: translateY(-2px); }

.messenger-float { position: fixed; bottom: 20px; right: 20px; background: linear-gradient(45deg, #00B2FF, #006AFF); color: white; border-radius: 50%; width: 60px; height: 60px; display: flex; justify-content: center; align-items: center; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2); z-index: 1000; transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1); }
.messenger-float:hover { transform: scale(1.1) translateY(-5px); }

/* =========================================
   5. FOOTER UNIVERSEL
   ========================================= */
.site-footer {
    background-color: #18191b; color: #f3e1e1; padding: 60px 20px 20px 20px; margin-top: 80px; margin-bottom: 0 !important; font-family: 'Poppins', sans-serif;
    
    /* FINI LE DÉBORDEMENT MOBILE */
    width: 100% !important; max-width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; box-sizing: border-box !important;
}
.footer-content { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; align-items: start; text-align: center; }
.footer-brand .footer-logo { font-family: 'Playfair Display', serif; font-size: 1.8rem; color: #e5b2b2; margin: 0 0 15px 0; }
.footer-contact h3, .footer-links h3, .footer-social h3 { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: #ffffff; margin: 0 0 20px 0; font-weight: normal; }
.footer-desc { font-size: 0.95rem; line-height: 1.6; opacity: 0.8; }
.footer-contact ul, .footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer-contact ul li, .footer-links ul li { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 15px; font-size: 0.95rem; }
.footer-contact ul li svg { width: 20px; height: 20px; fill: none; stroke: #e5b2b2; flex-shrink: 0; }
.footer-contact a, .footer-links a { color: #f3e1e1; text-decoration: none; transition: color 0.3s ease; }
.footer-contact a:hover, .footer-links a:hover { color: #ffffff; }
.perso-line {
  display: block;
  width: 100%;
  max-width: 260px;
  margin: 6px auto 0;
  padding: 10px 0 8px;
  background: none;
  border: none;
  border-bottom: 1px solid #e5b2b2;
  color: #f3e1e1;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  line-height: 1.3;
}
.perso-line:hover { color: #ffffff; border-bottom-color: #ffffff; }
.modal.perso-modal { width: min(94vw, 480px); }
.social-icons { display: flex; justify-content: center; gap: 15px; }
.social-icons a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid #e5b2b2; border-radius: 50%; color: #e5b2b2; transition: all 0.3s ease; }
.social-icons a svg { width: 20px; height: 20px; }
.social-icons a:hover { background-color: #e5b2b2; color: #18191b; transform: translateY(-3px); }
.footer-bottom { margin-top: 60px; padding-top: 20px; border-top: 1px solid rgba(243, 225, 225, 0.1); text-align: center; font-size: 0.85rem; opacity: 0.7; }
.footer-bottom a { color: #e5b2b2; text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }

@media (max-width: 768px) {
    .site-footer { padding: 50px 20px 20px 20px; }
    .footer-content { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 40px; }
    .footer-contact ul li, .social-icons { justify-content: center; }
    .footer-bottom { margin-top: 40px; padding: 20px 15px; display: flex; flex-direction: column; gap: 8px; font-size: 0.8rem; line-height: 1.4; }
    .footer-bottom p { margin: 0; display: inline-block; }
    .footer-bottom a { display: inline-block; padding: 5px 0; }
}

/* =========================================
   SECTION SHOWCASE (LA BORNE VINTAGE)
   ========================================= */
.showcase-borne {
  max-width: 1100px;
  margin: 0 auto 80px auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.showcase-text {
  flex: 1 1 400px;
  color: var(--text-fonce-fond);
}

.showcase-text p {
  line-height: 1.8;
  margin-bottom: 25px;
  font-size: 1.05rem;
}

.showcase-text ul {
  list-style: none;
  padding: 0;
}

.showcase-text ul li {
  margin-bottom: 15px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Cadre : liseret champagne, sans fond gris — la borne se détache sur la page */
.showcase-image-wrapper {
  flex: 1 1 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  border: 1px solid var(--or-champagne);
  border-radius: 24px;
  padding: 20px;
  box-shadow: none;
  transition: all 0.4s ease;
}

.showcase-image-wrapper:hover {
  transform: translateY(-8px);
  border-color: #c48e8e;
  box-shadow: 0 18px 40px rgba(196, 142, 142, 0.18);
}

.borne-img {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 0;
  object-fit: contain;
  filter: drop-shadow(0 16px 28px rgba(58, 46, 42, 0.28));
}

/* Adaptation pour les téléphones */
@media (max-width: 768px) {
  .showcase-borne {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }
  
  .showcase-text .section-title {
    text-align: center !important;
  }
  
  .showcase-text p {
    padding: 0 10px; /* Donne un peu d'air au texte principal */
  }

  .showcase-text ul li {
    flex-direction: column; /* Empile le titre et la description sur mobile */
    gap: 6px;               /* Petit espace entre le titre et le texte */
    margin-bottom: 25px;    /* Aère l'espace entre chaque puce */
    justify-content: center;
  }
}

/* =========================================
   STYLE SPÉCIFIQUE - PAGE FAQ
   ========================================= */

/* Le panneau principal qui contient la FAQ */
.faq-panel {
  background: var(--glass-bg-dark);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 40px;
  width: 90%; /* S'adapte mieux sur mobile */
  max-width: 850px;
  box-shadow: var(--shadow-douce);
  color: var(--text-clair);
  
  /* L'ESPACE MAGIQUE : 120px en haut pour passer sous le menu, centré au milieu, 80px d'air en bas avant le footer */
  margin: 120px auto 80px auto;
  
  flex: 1; /* Pousse le footer tout en bas si la page est courte */
  display: flex;
  flex-direction: column;
}

.faq-panel h1 { 
  font-family: 'Playfair Display', serif; 
  color: var(--or-champagne); 
  text-align: center; 
  font-size: 2.2rem; 
  margin-bottom: 10px; 
}

.intro-text { 
  text-align: center; 
  color: var(--text-mute); 
  margin-bottom: 40px; 
  font-weight: 300; 
}

.faq-container h2 {
  font-size: 1.1rem;
  color: var(--or-champagne);
  margin: 30px 0 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- LES ACCORDÉONS (Questions / Réponses) --- */
details {
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s;
}

summary {
  padding: 15px 20px;
  cursor: pointer;
  font-weight: 400;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* L'icône "+" à droite */
summary::after {
  content: '+';
  color: var(--or-champagne);
  font-size: 1.2rem;
}

/* L'icône "-" quand c'est ouvert */
details[open] summary::after { content: '-'; }
details[open] { 
  border-color: var(--or-champagne); 
  background: rgba(255, 255, 255, 0.08); 
}

details p {
  padding: 0 20px 20px;
  color: var(--text-mute);
  font-size: 0.9rem;
  line-height: 1.6;
  font-weight: 300;
  margin: 0;
}
/* =========================================
   STYLE SPÉCIFIQUE - PAGE CGV
   ========================================= */

.cgv-panel {
  background: var(--glass-bg-dark);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  
  /* Alignement du padding avec la FAQ (40px) */
  padding: 40px; 
  
  width: 90%;
  max-width: 900px;
  box-shadow: var(--shadow-douce);
  color: var(--text-clair);
  
  /* L'ESPACE MAGIQUE : Aligné avec Galerie et FAQ */
  margin: 120px auto 80px auto !important;
  
  flex: 1; 
  display: flex;
  flex-direction: column;
}

.cgv-panel h1 {
  font-family: 'Playfair Display', serif;
  color: var(--or-champagne);
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.2rem;
  
  /* SUPPRESSION DE LA MARGE FANTÔME POUR L'ALIGNEMENT */
  margin-top: 0 !important; 
}

.cgv-panel h2 {
  font-size: 1.2rem;
  color: var(--text-clair);
  margin-top: 40px;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 5px;
}

.cgv-panel p, .cgv-panel li {
  font-weight: 300;
  color: var(--text-mute);
  line-height: 1.8;
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.cgv-panel ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

/* Grille des options en bas de page */
.options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 10px;
  margin-top: 15px;
}

.option-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 10px 15px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  color: var(--text-mute);
  font-size: 0.9rem;
}

.option-item span:last-child {
  color: var(--or-champagne);
  font-weight: 600;
}

/* Bouton retour optionnel */
.btn-retour {
  display: block;
  margin-top: 50px;
  padding: 15px 30px;
  background: var(--or-champagne);
  color: #111;
  text-decoration: none;
  border-radius: 50px;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1px;
  transition: all 0.3s;
  text-align: center;
}

.btn-retour:hover {
  background: var(--text-clair);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255,255,255,0.1);
}

/* =========================================
   STYLE SPÉCIFIQUE - GALERIE
   (scopé pour ne pas écraser les CGV)
   ========================================= */

body.galerie-page .cgv-panel {
  background: var(--glass-bg-dark);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border); 
  border-radius: 24px;
  padding: 60px 30px; 
  width: 90%; 
  max-width: 1100px; 
  box-shadow: var(--shadow-douce); 
  color: var(--text-clair); 
  text-align: center;
  
  flex: 1;
  display: flex;
  flex-direction: column;
  
  margin: 120px auto 80px auto !important; 
}

body.galerie-page .cgv-panel h1 { 
  font-family: 'Playfair Display', serif; 
  color: var(--or-champagne); 
  margin-top: 0 !important; 
  margin-bottom: 10px; 
  font-size: 2.5rem; 
}

body.galerie-page .cgv-panel p { 
  font-weight: 300; 
  color: var(--text-mute); 
  margin-bottom: 40px; 
}

body.galerie-page .gallery-grid {
  display: block; 
  margin-top: 20px;
  width: 100%;
}

body.galerie-page .fake-gal {
  display: block; 
  background: rgba(255, 255, 255, 0.05); 
  border: 1px solid var(--glass-border);
  border-radius: 12px; 
  padding: 30px 20px; 
  color: var(--text-clair);
  text-decoration: none;
  transition: all 0.3s ease; 
  cursor: pointer;
  margin-bottom: 15px;
}

body.galerie-page .fake-gal:last-child {
  margin-bottom: 0;
}

body.galerie-page .fake-gal:hover { 
  background: rgba(255, 255, 255, 0.1); 
  transform: translateY(-3px); 
  border-color: var(--or-champagne); 
}

body.galerie-page .fake-gal strong { 
  display: block; 
  font-family: 'Playfair Display', serif; 
  font-size: 1.15rem; 
  margin-bottom: 8px;
}

body.galerie-page .fake-gal span { 
  font-size: 0.75rem; 
  color: var(--or-champagne); 
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

body.galerie-page #photoGrid { 
  display: grid; 
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); 
  gap: 15px; 
  margin-top: 20px; 
}

body.galerie-page #photoGrid img { 
  width: 100%; height: 200px; object-fit: cover; border-radius: 12px; 
  box-shadow: 0 4px 10px rgba(0,0,0,0.3); cursor: pointer; transition: transform 0.3s; 
}

body.galerie-page .loader { 
  border: 4px solid rgba(255,255,255,0.1); border-top: 4px solid var(--or-champagne); 
  border-radius: 50%; width: 40px; height: 40px; animation: spin 1s linear infinite; margin: 0 auto 15px auto; 
}

@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

body.galerie-page .btn-retour { 
  display: inline-block; margin-top: 50px; padding: 14px 35px; 
  border: 1px solid var(--or-champagne); color: var(--or-champagne); 
  text-decoration: none; border-radius: 50px; text-transform: uppercase; 
  font-size: 0.8rem; letter-spacing: 2px; transition: all 0.3s; 
}
body.galerie-page .btn-retour:hover { background: var(--or-champagne); color: #111; }

/* =========================================
   STUDIO (scopé — ne touche pas les autres pages)
   ========================================= */
body.studio-page {
/* =========================================
   STYLE DU STUDIO (EFFET iPHONE / GLASS)
   ========================================= */

/* On force simplement le menu flottant à être au-dessus du mot de passe */
#hero {
    z-index: 999999 !important; 
}

/* --- ÉCRAN MOT DE PASSE (On le met juste ici pour gérer la profondeur) --- */
.password-overlay {
    position: fixed;
    top: 0; left: 0; 
    width: 100vw; height: 100vh;
    background: rgba(250, 240, 240, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 99990; /* Juste en dessous du #hero */
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-box { text-align: center; max-width: 500px; width: 90%; padding: 40px !important; box-sizing: border-box; }
#studioPassword { font-size: 1.2rem; padding: 15px; margin: 15px 0 20px; text-align: center; letter-spacing: 3px; }

.studio-wrapper {
    padding: 0 20px 40px;
    max-width: 1400px;
    margin: 0 auto;
    min-height: auto;
}

.studio-grid {
    display: grid;
    grid-template-columns: 300px 1fr 300px;
    gap: 30px;
    align-items: start;
    margin-bottom: 20px;
}

/* --- EFFET VERRE DÉPOLI (GLASSMORPHISM) --- */
.glass-panel {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(25px) saturate(150%);
    -webkit-backdrop-filter: blur(25px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    padding: 25px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.2);
    color: #3A2E2B;
}

.glass-panel h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #3A2E2B;
    margin-top: 0;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(217, 160, 160, 0.3);
    padding-bottom: 10px;
}

.tool-section { margin-bottom: 20px; }
.tool-section label { display: block; font-weight: 600; font-size: 0.85rem; margin-bottom: 8px; color: #3A2E2B; text-transform: uppercase; letter-spacing: 1px; }
.micro-text { font-size: 0.75rem; color: #666; margin-top: -5px; margin-bottom: 10px; line-height: 1.4; }

/* Inputs & Selects "Glass" */
input[type="text"], input[type="email"], input[type="date"], select, textarea, input[type="file"] {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    font-family: 'Montserrat', sans-serif;
    color: #3A2E2B;
    margin-bottom: 10px;
    transition: all 0.3s;
    box-sizing: border-box;
}

input[type="color"] {
    width: 100%; height: 40px; border: none; border-radius: 12px; cursor: pointer; background: transparent; padding: 0;
}

.flex-row { display: flex; gap: 10px; }
.flex-row > * { flex: 1; }

/* Boutons */
.btn-glass {
    width: 100%; background: rgba(255, 255, 255, 0.4); border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 12px; border-radius: 12px; font-weight: 600; color: #3A2E2B; cursor: pointer; transition: all 0.3s;
}
.btn-glass:hover { background: rgba(255, 255, 255, 0.8); transform: translateY(-2px); }

.btn-icon { background: rgba(255,255,255,0.4); border: 1px solid rgba(255,255,255,0.6); border-radius: 12px; padding: 10px; cursor: pointer; transition: 0.3s; font-size: 1.2rem; }
.btn-icon:hover { background: #fff; transform: scale(1.05); }
.btn-icon.danger:hover { background: #ffebeb; border-color: #ffb3b3; }

.btn-primary-glass {
    width: 100%; background: #C48E8E; border: none; color: #fff; padding: 15px; border-radius: 50px;
    font-family: 'Montserrat', sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: 1px;
    cursor: pointer; box-shadow: 0 10px 20px rgba(196, 142, 142, 0.4); transition: all 0.3s; margin-top: 10px;
}
.btn-primary-glass:hover { background: #3A2E2B; color: #C48E8E; transform: translateY(-3px); box-shadow: 0 15px 25px rgba(0,0,0,0.2); }

/* --- ZONE CANEVAS --- */
.canvas-panel { display: flex; flex-direction: column; align-items: center; justify-content: center; }

.canvas-container-glass {
    background: #E5E5E5;
    padding: 10px; 
    border-radius: 8px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    margin-bottom: 20px;
    /* --- AJOUTS POUR BLOQUER LE CADRE --- */
    max-width: 100%;
    box-sizing: border-box;
}

.canvas-container { margin: 0 auto; }

/* --- SECTION TUTO --- */
.studio-tuto {
    max-width: 1200px;
    margin: 120px auto 40px; /* On baisse un peu plus pour laisser respirer le header */
    padding: 0 20px;
    position: relative;
    z-index: 1; /* On le garde bas pour ne pas gêner le menu */
}
.tuto-container { display: flex; justify-content: space-around; gap: 20px; padding: 25px !important; text-align: center; background: rgba(255, 255, 255, 0.4) !important; }
.tuto-step { flex: 1; display: flex; flex-direction: column; align-items: center; }
.tuto-number { background: #C48E8E; color: white; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; margin-bottom: 10px; }

/* --- SECTION INSPIRATION --- */
.studio-inspiration { max-width: 1200px; margin: 0 auto 50px; padding: 0 20px; }
.inspi-container { text-align: center; border: 1px solid rgba(196, 142, 142, 0.4) !important; }

.inspi-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 25px;
    width: 100%;
}

.btn-inspi {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid #C48E8E;
    color: #3A2E2B;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap; 
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
}

.btn-inspi:hover {
    background: #C48E8E;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(196, 142, 142, 0.3);
}

/* =========================================
   ADAPTATION MOBILE (GSM) - CORRECTIFS
   ========================================= */

@media (max-width: 1000px) {
    .studio-grid {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100%;
        padding: 0 10px;
    }

    .tools-panel, .form-panel, .canvas-panel {
        width: 100% !important;
        max-width: 500px !important;
        margin: 0 auto !important;
    }

    .inspi-links {
        flex-direction: column !important;
        gap: 15px !important;
    }

    .btn-inspi {
        width: 100% !important;
        max-width: 320px;
    }

    .tuto-container {
        flex-direction: column;
        align-items: center;
    }

    .tuto-step { margin-bottom: 20px; }
    
    .studio-tuto { 
        margin-top: 150px !important; /* Laisse l'espace pour le menu qui s'ouvre */
    }
}
    
    /* =========================================
   CORRECTION RESPONSIVE UNIVERSELLE FABRIC.JS 
   (S'adapte sur PC, Tablette et Mobile sans déborder)
   ========================================= */
.canvas-container {
    margin: 0 auto !important;
    max-width: 100% !important;
    height: auto !important;
    
    /* Hachures zébrées pour les trous */
    background: repeating-linear-gradient(
        -45deg,
        #e5e5e5,
        #e5e5e5 10px,
        #ffffff 10px,
        #ffffff 20px
    );
    
    /* --- LA CORRECTION DU DÉBORDEMENT EST ICI --- */
    line-height: 0 !important; /* Supprime l'espace fantôme */
    font-size: 0 !important;
    border-radius: 4px; /* Optionnel : Adoucit les angles du fond rayé */
    overflow: hidden; /* Coupe tout ce qui essaie de dépasser */
}

.canvas-container .lower-canvas {
    position: relative !important;
    max-width: 100% !important;
    width: auto !important; 
    height: auto !important;
    display: block !important; /* Force le canvas à se comporter comme un bloc solide */
}

.canvas-container .upper-canvas {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    height: 100% !important;
    display: block !important;
}

/* --- GRILLE DES BOUTONS D'ACTION (STUDIO) --- */
.actions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 colonnes de largeur égale */
    gap: 8px; /* Espace entre les boutons */
    margin-top: 10px;
}

.btn-action {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(217, 160, 160, 0.3);
    border-radius: 8px;
    padding: 8px 2px;
    font-size: 0.75rem; 
    font-weight: 600;
    color: #3A2E2B;
    cursor: pointer;
    display: flex;
    flex-direction: column; /* Icône au dessus, texte en dessous */
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: all 0.2s ease;
}

.btn-action:hover {
    background: #ffffff;
    border-color: #C48E8E;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.btn-action.danger:hover {
    border-color: #e74c3c;
    color: #e74c3c;
}

.action-icon {
    font-size: 1.1rem; /* Taille de l'émoji */
}

/* --- ALERTE PLACEMENT DÉCO (SOUS LE CANEVAS) --- */
.alert-placement {
    max-width: 100%;
    width: 400px; /* Aligné avec la largeur du canevas vertical */
    margin: 20px auto 0 auto;
    padding: 15px 20px;
    text-align: left;
    border-left: 5px solid #C48E8E;
    background: rgba(255, 255, 255, 0.4);
}

.alert-placement h4 {
    font-family: 'Montserrat', sans-serif;
    color: #3A2E2B;
    font-size: 0.95rem;
    margin-bottom: 8px;
    margin-top: 0;
    border-bottom: none;
    padding-bottom: 0;
    text-transform: none;
}

.alert-placement p {
    font-size: 0.8rem;
    color: #3A2E2B;
    line-height: 1.5;
    margin: 8px 0;
}

.alert-placement .warning-text {
    color: #c0392b;
    font-weight: 600;
    background: rgba(231, 76, 60, 0.1);
    padding: 10px;
    border-radius: 8px;
    margin-top: 12px;
}

/* --- STYLE DE LA PHOTO D'EXEMPLE --- */
.image-modal-overlay {
    display: none; /* Caché par défaut */
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85); /* Fond noir transparent */
    backdrop-filter: blur(10px);
    z-index: 1000000; /* Au-dessus de tout */
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}

.image-modal-container {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    text-align: center;
    cursor: default;
}

.image-modal-container img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.image-modal-close {
    position: absolute;
    top: -45px; right: 0;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s;
}

.image-modal-close:hover {
    transform: scale(1.2);
    color: #C48E8E;
}

} /* fin body.studio-page */

/* Menus déroulants Windows : fond clair + texte sombre (le fond sombre est ignoré) */
select option,
select optgroup {
  background-color: #ffffff;
  color: #1A1A1A;
}

/* =========================================
   PAIEMENT / MERCI (scopé)
   ========================================= */
body.paiement-page {
  font-family: 'Montserrat', sans-serif;
  background: var(--fond-peche);
  color: var(--text-clair);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;

.wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  width: 100%;
  max-width: 450px;
}

/* --- LE LOGO EN HAUT --- */
.brand-header { 
  text-align: center; 
}

.logo { 
  font-family: 'Playfair Display', serif; 
  font-size: 2.5rem; 
  letter-spacing: 1px; 
}
.logo .t1 { color: var(--text-fonce-fond); }
.logo .t2 { color: var(--or-champagne); }

/* --- LE PANNEAU DE PAIEMENT (Effet Dark Glass) --- */
.card.glass-panel {
  width: 100%;
  background: var(--glass-bg-dark);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 40px 30px;
  box-shadow: var(--shadow-douce);
  text-align: center;
}

.card h2 {
  font-family: 'Playfair Display', serif;
  color: var(--or-champagne);
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.montant-box {
  font-size: 1.1rem;
  color: var(--text-clair);
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(217, 160, 160, 0.2);
}

.montant-box strong {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--or-champagne);
  margin-left: 8px;
}

.infos-paiement p {
  font-size: 0.95rem;
  color: var(--text-mute);
  line-height: 1.5;
  margin-bottom: 20px;
}

/* --- LA BULLE D'INFORMATION --- */
.info-bulle {
  background: rgba(217, 160, 160, 0.1);
  border: 1px solid rgba(217, 160, 160, 0.3);
  padding: 15px;
  border-radius: 12px;
  font-size: 0.85rem;
  color: var(--text-clair);
  text-align: left;
  line-height: 1.4;
  margin-bottom: 25px;
}

.btn-container { 
  margin-top: 15px; 
  width: 100%; 
}
}

/* =========================================
   DESIGN CLIENT (scopé)
   ========================================= */
body.design-page {
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  justify-content: center;
  min-height: 100vh; 
  padding: 120px 20px 60px; 
  overflow-y: auto !important;

.design-panel {
  background: var(--glass-bg-dark);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 50px;
  width: 100%;
  max-width: 800px;
  box-shadow: var(--shadow-douce);
  color: var(--text-clair);
  margin: auto; /* Aide au centrage avec le flex du body */
}

.design-panel h1 { 
  font-family: 'Playfair Display', serif; 
  color: var(--or-champagne); 
  text-align: center; 
  margin-bottom: 10px; 
  font-size: 2.2rem; 
}

.design-panel p.sub { 
  text-align: center; 
  color: var(--text-mute); 
  margin-bottom: 40px; 
  font-weight: 300; 
}

.form-group { margin-bottom: 25px; }

label { 
  display: block; 
  margin-bottom: 8px; 
  font-size: 0.85rem; 
  color: var(--text-clair); 
  font-weight: 300; 
  text-transform: uppercase; 
  letter-spacing: 1px; 
}

input, select, textarea {
  width: 100%; 
  padding: 14px; 
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-clair);
  font-family: 'Montserrat', sans-serif;
  transition: all 0.3s;
}

input:focus, select:focus, textarea:focus { 
  outline: none; 
  border-color: var(--or-champagne); 
  background: rgba(255, 255, 255, 0.1); 
}

.btn-submit { 
  background: var(--or-champagne); 
  color: #121316; 
  border: none; 
  padding: 16px 40px; 
  border-radius: 50px; 
  font-weight: 600; 
  text-transform: uppercase; 
  cursor: pointer; 
  width: 100%; 
  font-family: 'Montserrat', sans-serif; 
  letter-spacing: 2px; 
  transition: all 0.3s; 
  margin-top: 10px; 
}

.btn-submit:hover { 
  background: var(--text-clair); 
  box-shadow: 0 5px 15px rgba(255,255,255,0.1); 
  transform: translateY(-2px); 
}

.note { 
  font-size: 0.8rem; 
  color: #888; 
  font-style: italic; 
  margin-top: 5px; 
  display: block; 
  text-transform: none; 
  letter-spacing: normal; 
}

.btn-retour:hover {
  text-decoration: underline !important;
}

select option,
select optgroup {
  background-color: #ffffff;
  color: #1A1A1A;
}
}

/* =========================================
   BILAN PRIVÉ
   ========================================= */
body.bilan-page {
  min-height: 100vh;
  padding: 30px 16px 60px;
  color: var(--text-fonce-fond);
}

body.bilan-page .password-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(250, 240, 240, 0.7);
  backdrop-filter: blur(15px);
  z-index: 99990;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.bilan-page .password-box {
  text-align: center;
  max-width: 500px;
  width: 90%;
  padding: 40px;
}

body.bilan-page .glass-panel {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(25px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 24px;
  padding: 25px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

body.bilan-page .btn-primary-glass {
  width: 100%;
  background: #C48E8E;
  border: none;
  color: #fff;
  padding: 15px;
  border-radius: 50px;
  font-family: Montserrat, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
}

body.bilan-page .btn-glass {
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 12px;
  border-radius: 12px;
  font-weight: 600;
  color: #3A2E2B;
  cursor: pointer;
}

body.bilan-page .bilan-card.glass-panel {
  background: var(--glass-bg-dark);
  border: 1px solid var(--glass-border);
  color: var(--text-clair);
}

body.bilan-page .bilan-card .btn-primary-glass { width: auto; min-width: 220px; }

body.bilan-page #pinInput {
  font-size: 1.2rem;
  padding: 15px;
  margin: 15px 0 20px;
  text-align: center;
  letter-spacing: 3px;
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.5);
}

body.bilan-page .micro-text {
  font-size: 0.8rem;
  color: var(--text-mute);
  line-height: 1.5;
  margin-bottom: 12px;
}

body.bilan-page .bilan-error {
  color: #e74c3c;
  font-size: 0.85rem;
  display: none;
  margin-top: 10px;
}

body.bilan-page .atelier-nav { margin: 0 0 10px; }
body.bilan-page .atelier-nav a {
  color: #C48E8E;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}

body.bilan-page .bilan-top {
  max-width: 1100px;
  margin: 0 auto 24px;
  text-align: center;
}

body.bilan-page .bilan-top h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: #3A2E2B;
}

body.bilan-page .bilan-brand {
  color: var(--or-champagne);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 600;
}

body.bilan-page .bilan-back {
  background: none;
  border: none;
  color: #3A2E2B;
  cursor: pointer;
  margin-bottom: 10px;
  font-family: Montserrat, sans-serif;
}

body.bilan-page .bilan-wrap { max-width: 1100px; margin: 0 auto; }

body.bilan-page .bilan-years {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

body.bilan-page .bilan-year-card {
  background: var(--glass-bg-dark);
  border: 1px solid var(--glass-border);
  color: var(--text-clair);
  border-radius: 20px;
  padding: 28px 16px;
  cursor: pointer;
  font-family: Montserrat, sans-serif;
}

body.bilan-page .bilan-year-card strong {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  color: var(--or-champagne);
}

body.bilan-page .bilan-new-year,
body.bilan-page .bilan-inline-form,
body.bilan-page .bilan-presta-form,
body.bilan-page .bilan-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  align-items: end;
  margin: 16px 0;
}

body.bilan-page .bilan-card {
  margin-bottom: 22px;
  background: var(--glass-bg-dark);
  color: var(--text-clair);
}

body.bilan-page .bilan-card h2 {
  font-family: "Playfair Display", serif;
  color: var(--or-champagne);
  font-size: 1.4rem;
  margin-bottom: 8px;
}

body.bilan-page .bilan-card label,
body.bilan-page .bilan-new-year label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.75rem;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--text-mute);
}

body.bilan-page .bilan-card input,
body.bilan-page .bilan-new-year input {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
  color: var(--text-clair);
  font-family: Montserrat, sans-serif;
}

body.bilan-page .full { grid-column: 1 / -1; }

body.bilan-page .bilan-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

body.bilan-page .bilan-kpi {
  background: var(--glass-bg-dark);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 16px;
  color: var(--text-clair);
}

body.bilan-page .bilan-kpi span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-mute);
  margin-bottom: 6px;
}

body.bilan-page .bilan-kpi strong {
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
  color: var(--or-champagne);
}

body.bilan-page .bilan-table-wrap { overflow-x: auto; }

body.bilan-page .bilan-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

body.bilan-page .bilan-table th,
body.bilan-page .bilan-table td {
  padding: 8px 6px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  text-align: left;
  white-space: nowrap;
}

body.bilan-page .bilan-table th { color: var(--or-champagne); font-weight: 600; }

body.bilan-page .bilan-table tr.bilan-avg td,
body.bilan-page .bilan-table tr.bilan-total td {
  border-top: 1px solid var(--or-champagne);
  color: var(--or-champagne);
  font-weight: 600;
  padding-top: 12px;
}

body.bilan-page .bilan-table tr.bilan-total td {
  border-top: none;
  padding-bottom: 12px;
}

body.bilan-page .bilan-months {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 16px;
}

body.bilan-page .bilan-chip {
  border: 1px solid var(--glass-border);
  background: transparent;
  color: var(--text-clair);
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
  font-size: 0.75rem;
}

body.bilan-page .bilan-chip.on {
  background: var(--or-champagne);
  color: #121316;
}

body.bilan-page .bilan-del,
body.bilan-page .bilan-edit {
  background: none;
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--text-clair);
  border-radius: 8px;
  padding: 4px 8px;
  cursor: pointer;
  margin-right: 4px;
}

body.bilan-page .bilan-steps {
  color: var(--text-mute);
  line-height: 1.8;
  padding-left: 20px;
}

body.bilan-page .bilan-steps a { color: var(--or-champagne); }
body.bilan-page .bilan-form-actions { grid-column: 1 / -1; display: flex; gap: 10px; flex-wrap: wrap; }

@media (max-width: 700px) {
  body.bilan-page {
    padding: 16px 12px 40px;
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
  }
  body.bilan-page .bilan-form-grid,
  body.bilan-page .bilan-presta-form,
  body.bilan-page .bilan-inline-form,
  body.bilan-page .bilan-new-year,
  body.bilan-page .bilan-kpis {
    grid-template-columns: 1fr;
  }
  body.bilan-page .bilan-card .btn-primary-glass {
    width: 100%;
    min-width: 0;
  }
}

/* =========================================
   DATES 2026 (lecture seule)
   ========================================= */
body.dates206-page {
  min-height: 100vh;
  padding: 40px 16px 70px;
  color: var(--text-fonce-fond);
}

body.dates206-page .password-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(250, 240, 240, 0.7);
  backdrop-filter: blur(15px);
  z-index: 99990;
}

body.dates206-page .password-box {
  text-align: center;
  max-width: 500px;
  width: 90%;
  padding: 40px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 24px;
}

body.dates206-page .password-box h2 {
  font-family: "Playfair Display", serif;
  color: #3A2E2B;
}

body.dates206-page .micro-text {
  font-size: 0.8rem;
  color: #666;
  margin: 10px 0 0;
}

body.dates206-page #pinInput {
  width: 100%;
  font-size: 1.2rem;
  padding: 15px;
  margin: 15px 0 20px;
  text-align: center;
  letter-spacing: 3px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.5);
}

body.dates206-page .btn-primary-glass {
  width: 100%;
  background: #C48E8E;
  border: none;
  color: #fff;
  padding: 15px;
  border-radius: 50px;
  font-family: Montserrat, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
}

body.dates206-page .dates206-error {
  color: #e74c3c;
  font-size: 0.85rem;
  display: none;
  margin-top: 10px;
}

body.dates206-page .dates206-top {
  max-width: 720px;
  margin: 0 auto 36px;
  text-align: center;
}

body.dates206-page .dates206-brand {
  color: var(--or-champagne);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 10px;
}

body.dates206-page .dates206-top h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 8px;
}

body.dates206-page .dates206-sub {
  color: #7A6A65;
  font-weight: 300;
}

body.dates206-page .dates206-wrap {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

body.dates206-page .dates206-month {
  background: var(--glass-bg-dark);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 22px 22px 10px;
  box-shadow: var(--shadow-douce);
}

body.dates206-page .dates206-month h2 {
  font-family: "Playfair Display", serif;
  color: var(--or-champagne);
  font-size: 1.4rem;
  margin-bottom: 14px;
}

body.dates206-page .dates206-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

body.dates206-page .dates206-list li {
  display: grid;
  grid-template-columns: 110px 7.5rem 7.5rem 1fr;
  align-items: baseline;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-clair);
}

body.dates206-page .dates206-day {
  color: var(--text-mute);
  font-size: 0.85rem;
}

body.dates206-page .dates206-list strong {
  font-family: "Playfair Display", serif;
  font-size: 1.15rem;
  color: var(--text-clair);
}

body.dates206-page .dates206-time {
  color: var(--or-champagne);
  font-size: 0.85rem;
}

body.dates206-page .dates206-ville {
  text-align: right;
  color: var(--text-clair);
  font-size: 0.9rem;
}

@media (max-width: 640px) {
  body.dates206-page .dates206-list li {
    grid-template-columns: 1fr 1fr;
    gap: 6px 12px;
  }
  body.dates206-page .dates206-ville { text-align: left; grid-column: 1 / -1; }
}

/* =========================================
   ATELIER PRIVÉ (hub devis + bilan)
   ========================================= */
body.atelier-page {
  min-height: 100dvh;
  min-height: 100vh;
  padding: 20px 16px 40px;
  padding-left: max(16px, env(safe-area-inset-left));
  padding-right: max(16px, env(safe-area-inset-right));
  overflow-x: hidden;
}

body.atelier-page:not(.atelier-unlocked) #atelierHub {
  display: none !important;
}

body.atelier-page .password-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(250, 240, 240, 0.7);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 99990;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
}

body.atelier-page .password-box {
  text-align: center;
  width: min(420px, 100%);
  max-width: 100%;
  padding: 28px 22px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 24px;
  box-shadow: 0 16px 36px rgba(58, 46, 42, 0.12);
}

body.atelier-page .atelier-pin-lab {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7A6A65;
  margin: 16px 0 0;
}

body.atelier-page #pinInput {
  font-size: 1.2rem;
  padding: 15px;
  margin: 15px 0 20px;
  text-align: center;
  letter-spacing: 3px;
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.5);
}

body.atelier-page .btn-primary-glass {
  width: 100%;
  background: #C48E8E;
  border: none;
  color: #fff;
  padding: 15px;
  border-radius: 50px;
  font-family: Montserrat, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
}

body.atelier-page .atelier-error {
  color: #e74c3c;
  font-size: 0.85rem;
  display: none;
  margin-top: 10px;
}

body.atelier-page.atelier-unlocked .password-overlay {
  display: none !important;
  pointer-events: none;
}

body.atelier-page .atelier-hub {
  max-width: 760px;
  margin: 8vh auto 0;
  text-align: center;
}

body.atelier-page .atelier-logo {
  display: block;
  width: 140px;
  height: auto;
  margin: 0 auto 16px;
}

body.atelier-page .atelier-hub .atelier-logo {
  width: 180px;
  margin-bottom: 20px;
}

body.atelier-page .atelier-hub h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 12px;
}

body.atelier-page .atelier-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

body.atelier-page .atelier-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
  color: #3A2E2B;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 24px;
  padding: 28px 22px;
  box-shadow: 0 16px 36px rgba(58, 46, 42, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.atelier-page .atelier-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(58, 46, 42, 0.16);
}

body.atelier-page .atelier-ico { font-size: 2rem; }
body.atelier-page .atelier-card strong {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
}
body.atelier-page .atelier-card span:last-child {
  font-size: 0.9rem;
  color: #7A6A65;
  line-height: 1.4;
}

@media (max-width: 700px) {
  body.atelier-page {
    padding: 12px 14px 28px;
  }
  body.atelier-page .password-overlay {
    align-items: flex-start;
    padding-top: max(20px, env(safe-area-inset-top));
  }
  body.atelier-page .password-box {
    padding: 22px 16px;
    margin: 8px auto 24px;
  }
  body.atelier-page .atelier-logo { width: 104px; }
  body.atelier-page .atelier-hub {
    margin: 8px auto 0;
  }
  body.atelier-page .atelier-hub .atelier-logo {
    width: 120px;
    margin-bottom: 10px;
  }
  body.atelier-page .atelier-hub h1 {
    font-size: 1.7rem;
    margin-bottom: 18px;
  }
  body.atelier-page .atelier-cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  body.atelier-page .atelier-card {
    padding: 18px 16px;
  }
  body.atelier-page .atelier-card strong { font-size: 1.28rem; }
}
