/* =====================================================
   LE PEIGNOIR — COMPONENTS CSS
   Styles for: Announcement Bar, Navigation, Buttons,
   Mobile Menu, Footer, Mobile CTA, and shared inner-page
   banner/glassmorphism patterns
   ===================================================== */

/* ========== FEATURE: Announcement Bar ========== */
/* Description: Full-width rotating top bar with brand messages; messages rotate via JS .on class */
.ann {
  background: var(--accent);
  color: var(--charcoal);
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .5px;
  overflow: hidden;
  position: relative;
  z-index: 101;
}
.ann span {
  position: absolute;
  opacity: 0;
  transform: translateY(100%);
  transition: all .5s ease;
}
.ann span.on {
  opacity: 1;
  transform: translateY(0);
}

/* ========== FEATURE: Sticky Navigation Bar ========== */
/* Description: Sticky top nav that shrinks and blurs its background after scrolling 80px */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  height: 72px;
  display: flex;
  align-items: center;
  transition: all .3s;
  border-bottom: 1px solid rgba(0,0,0,.1);
}
.nav.scrolled {
  height: 58px;
  box-shadow: 0 2px 16px rgba(0,0,0,.08);
  backdrop-filter: blur(12px);
  background: var(--nav-bg);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ========== FEATURE: Logo ========== */
/* Description: Brand wordmark in Playfair Display serif */
.logo {
  font-family: var(--heading);
  font-size: 22px;
  font-weight: 700;
  color: #111111;
}

/* ========== FEATURE: Desktop Navigation Links ========== */
/* Description: Horizontal nav links with animated rose-gold underline on hover and active state */
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(17,17,17,.65);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width .3s;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: #111111; }
/* Personnaliser CTA pill in nav — beige bg so it’s visible without hover */
.nav-links .btn { background: #D9C7B8; color: #111111; }
html body .nav-links .btn:hover,
html body .nav-links a.btn:hover { background-color: #C9B4A3 !important; color: #111111 !important; box-shadow: 0 4px 12px rgba(0,0,0,.1) !important; }

/* ========== FEATURE: Buttons ========== */
/* Description: Primary CTA buttons with hover lift and glow, plus size and outline variants */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 15px;
  border-radius: 8px;
  padding: 12px 28px;
  background: #111111;
  color: #FFFFFF;
  border: none;
  cursor: pointer;
  transition: all .3s;
}
.btn:hover, .btn:focus,
html body .btn:hover, html body .btn:focus,
html body a.btn:hover, html body a.btn:focus {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.15) !important;
  color: #FFFFFF !important;
  text-decoration: none !important;
  background-color: #333333 !important;
}
.btn-lg { font-size: 17px; padding: 16px 40px; }
.btn-sm { font-size: 13px; padding: 9px 20px; }
.btn-outline {
  background: transparent;
  border: 2px solid #111111;
  color: #111111;
}
.btn-outline:hover { background: #111111; color: #FFFFFF; }

/* ========== FEATURE: Hamburger / Mobile Menu Toggle ========== */
/* Description: Three-line hamburger button shown on mobile screens to open the mobile menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #111111;
  border-radius: 2px;
  transition: all .3s;
}

/* ========== FEATURE: Mobile Full-Screen Menu ========== */
/* Description: Full-viewport overlay menu that slides in from the right on mobile */
.mob-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: #EDE3DA;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  transition: right .4s;
}
.mob-menu.open { right: 0; }
.mob-menu a { font-size: 20px; font-weight: 600; color: #111111; }
.mob-menu a.btn { color: #FFFFFF !important; }
.mob-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  color: #111111;
}

/* ========== FEATURE: Footer ========== */
/* Description: Dark 4-column footer with brand, navigation, help links, and contact info */
.footer {
  background: #1A1208;
  color: var(--white);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand {
  font-family: var(--heading);
  font-size: 24px;
  margin-bottom: 8px;
}
.footer-tagline {
  font-size: 14px;
  color: rgba(255,255,255,.5);
  font-style: italic;
  margin-bottom: 20px;
}
.footer-heading {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 18px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,.55);
  transition: color .3s;
}
.footer-links a:hover { color: var(--accent); }

/* ========== FEATURE: Footer Social Icons ========== */
/* Description: Circular social media icon buttons that fill with accent color on hover */
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s;
}
.footer-social a:hover { background: var(--accent); }
.footer-social svg {
  width: 16px;
  height: 16px;
  stroke: var(--white);
  fill: none;
  stroke-width: 2;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  margin-top: 56px;
  padding: 24px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,.3);
}

/* ========== FEATURE: Mobile Sticky CTA Bar ========== */
/* Description: Fixed bottom bar on mobile with a primary CTA, hidden on desktop */
.mob-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  background: #111111;
  padding: 14px 24px;
  text-align: center;
}
.mob-cta a {
  font-weight: 600;
  font-size: 15px;
  color: #FFFFFF;
  display: block;
}

/* ========== FEATURE: Inner Page Banner (Shared) ========== */
/* Description: Full radial-glow banner hero used on all inner pages (À Propos, FAQ, etc.) */
.pg-banner-lum {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 100px 20px 60px;
}
.pg-banner-lum::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(217,199,184,.5) 0%, transparent 70%), var(--bg-alt);
  pointer-events: none;
}
.pg-banner-lum-orb {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217,199,184,.45) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.pg-banner-lum-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

/* ========== FEATURE: Page Banner Eyebrow Label ========== */
/* Description: Small uppercase accent-colored label above banner heading */
.pg-eyebrow-lum {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #111111;
  margin-bottom: 20px;
  display: inline-block;
}
.pg-banner-lum h1 {
  font-family: var(--heading);
  font-size: 72px;
  line-height: 1.05;
  letter-spacing: -2px;
  color: #111111;
  margin-bottom: 20px;
}
.pg-banner-lum h1 em { font-style: italic; color: #111111; }
.pg-banner-lum p {
  font-size: 16px;
  color: rgba(17,17,17,.8);
  line-height: 1.75;
  margin-bottom: 36px;
}

/* ========== FEATURE: Breadcrumb Navigation ========== */
/* Description: Small uppercase path indicator below page banner title */
.pg-crumb {
  font-size: 11px;
  color: rgba(17,17,17,.35);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.pg-crumb a { color: rgba(17,17,17,.65); }

/* ========== FEATURE: Section Label (Lumineuse Style) ========== */
/* Description: Small uppercase accent label above section headings on inner pages */
.lum-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #111111;
  margin-bottom: 12px;
  text-align: center;
}

/* ========== FEATURE: Section Heading (Lumineuse Style) ========== */
/* Description: Large centered Playfair heading with optional italic accent em */
.lum-h2 {
  font-family: var(--heading);
  font-size: 44px;
  letter-spacing: -.5px;
  text-align: center;
  margin-bottom: 16px;
}
.lum-h2 em { font-style: italic; color: #111111; }

/* ========== FEATURE: Section Subheading (Lumineuse Style) ========== */
/* Description: Muted centered paragraph text below lum-h2 headings */
.lum-sub {
  font-size: 15px;
  color: rgba(17,17,17,.7);
  line-height: 1.75;
  text-align: center;
  max-width: 560px;
  margin: 0 auto 56px;
}

/* ========== FEATURE: Glow CTA Button ========== */
/* Description: Primary CTA button with rose-gold radial glow box-shadow */
.btn-glow {
  background: #111111;
  color: #FFFFFF;
  padding: 16px 36px;
  border-radius: var(--r);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .5px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
  transition: .3s;
  display: inline-block;
}
.btn-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,.25);
  color: #FFFFFF !important;
  text-decoration: none !important;
  background-color: #333333 !important;
}

/* ========== FEATURE: Responsive — Tablet (≤1024px) ========== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

/* ========== FEATURE: Responsive — Mobile (≤768px) ========== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer { padding-bottom: 60px; }
  .mob-cta { display: block; }
  .pg-banner-lum h1 { font-size: 48px; }
}

/* ========== FEATURE: Responsive — Small Mobile (≤480px) ========== */
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .pg-banner-lum h1 { font-size: 36px; letter-spacing: -1px; }
}
