/* =========================================
   PALETTE "PÊCHE & DARK GLASS" (RESTREÉE)
   ========================================= */
: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); }

.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(90vw, 600px); padding: 40px; 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: 25px; }
.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 textarea { min-height: 100px; resize: vertical; }
.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; }
.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; }
}