/* ============================================================
   LUXENTIS DMC — CORE STYLESHEET 2026
   Palette ivory/copper/dark — unified across all pages
   ============================================================ */

/* ── VARIABLES ── */
:root {
  --ivory:        #f7f3ec;
  --ivory2:       #ede8df;
  --ivory3:       #e4ddd2;
  --text:         #1c1610;
  --muted:        #6b5e4e;
  --copper:       #b08850;
  --copper-light: #c9a26a;
  --copper-dark:  #8c6a38;
  --dark:         #1c1610;
  --border:       rgba(176,136,80,0.15);
  --border-s:     rgba(176,136,80,0.30);
  --shadow:       0 8px 32px rgba(176,136,80,0.10);
  --max:          1320px;
  --font-serif:   'Playfair Display', Georgia, serif;
  --font-sans:    'Inter', system-ui, sans-serif;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--ivory);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-size: 15px;
}
img { display: block; max-width: 100%; }
a { color: var(--copper); text-decoration: none; transition: color .25s; }
a:hover { color: var(--copper-dark); }

/* ── GOOGLE FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* ── CONTAINER ── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 40px; }
.container-narrow { max-width: 860px; margin: 0 auto; padding: 0 40px; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: rgba(247,243,236,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 4px 24px rgba(176,136,80,0.12); }

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

/* Logo */
.logo-wrap { text-decoration: none; flex-shrink: 0; }
.logo-mark {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 3px;
  text-transform: uppercase;
}
.logo-mark span { color: var(--copper); }
.logo-sub {
  font-size: 9px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 1px;
}

/* Main nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.main-nav a {
  font-size: 11px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  transition: color .25s;
}
.main-nav a:hover, .main-nav a.active { color: var(--text); }

/* Lang bar */
.lang-bar {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-shrink: 0;
}
.lang-bar a {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  padding: 4px 8px;
  border: 1px solid transparent;
  transition: all .2s;
}
.lang-bar a:hover, .lang-bar a.active {
  color: var(--copper);
  border-color: var(--border-s);
}

/* Mobile burger */
.burger-toggle { display: none; }
.burger-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.burger-btn span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text);
  transition: transform .3s, opacity .3s;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-copper {
  display: inline-block;
  padding: 13px 30px;
  background: var(--copper);
  color: white;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: background .25s, transform .2s;
  cursor: pointer;
  border: none;
  line-height: 1;
}
.btn-copper:hover { background: var(--copper-dark); transform: translateY(-2px); color: white; }

.btn-outline {
  display: inline-block;
  padding: 12px 30px;
  border: 1px solid var(--copper);
  color: var(--copper);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all .25s;
  background: transparent;
  cursor: pointer;
}
.btn-outline:hover { background: var(--copper); color: white; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 40px 80px;
  position: relative;
  background: var(--ivory2);
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--ivory) 0%, var(--ivory2) 100%);
}
.hero-content { position: relative; max-width: 900px; margin: 0 auto; }

.section-label {
  display: block;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 16px;
}
.hero-title, h1.page-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 20px;
}
.hero-title em, h1.page-title em { font-style: italic; color: var(--copper); }
.hero-sub {
  font-size: 15px;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.8;
}
.section-rule {
  width: 48px;
  height: 1px;
  background: var(--copper);
  margin: 20px auto 40px;
  opacity: .5;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 80px 0; }
.section-alt { background: var(--ivory2); }
.section-dark { background: var(--dark); color: white; }

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 400;
  text-align: center;
  color: var(--text);
  margin-bottom: 8px;
}
.section-title em { font-style: italic; color: var(--copper); }
.section-dark .section-title { color: white; }

.section-intro {
  text-align: center;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 48px;
  font-size: 15px;
  line-height: 1.8;
}

/* ============================================================
   CARDS
   ============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.card {
  background: var(--ivory);
  border: 1px solid var(--border);
  padding: 32px 28px;
  transition: border-color .3s, box-shadow .3s;
}
.card:hover { border-color: var(--border-s); box-shadow: var(--shadow); }
.card-label {
  display: inline-block;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--copper);
  border: 1px solid var(--border-s);
  padding: 4px 10px;
  margin-bottom: 14px;
}
.card h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 10px;
  color: var(--text);
}
.card p { font-size: 13px; color: var(--muted); line-height: 1.7; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-wrap { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  padding: 22px 0;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  user-select: none;
  color: var(--text);
}
.faq-icon {
  font-size: 18px;
  color: var(--copper);
  flex-shrink: 0;
  transition: transform .3s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
}
.faq-item.open .faq-answer { max-height: 300px; padding-bottom: 20px; }

/* ============================================================
   CONTACT CARDS
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.contact-card {
  background: var(--ivory);
  border: 1px solid var(--border);
  padding: 36px 28px;
  text-align: center;
}
.contact-icon { font-size: 28px; margin-bottom: 16px; }
.contact-card h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 8px;
  color: var(--text);
}
.contact-card p { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.contact-card .contact-link {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--copper);
  margin-bottom: 16px;
}

/* ============================================================
   POSITIONING BAND (dark strip)
   ============================================================ */
.position-band {
  background: var(--dark);
  padding: 72px 40px;
  text-align: center;
}
.position-band h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 400;
  color: white;
  margin-bottom: 16px;
  line-height: 1.25;
}
.position-band h2 em { color: var(--copper-light); font-style: italic; }
.position-band p { font-size: 15px; color: rgba(255,255,255,0.55); max-width: 640px; margin: 0 auto 36px; }
.position-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 40px; }
.position-tag {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1px solid rgba(176,136,80,0.3);
  color: var(--copper-light);
  padding: 7px 16px;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.55);
  padding: 64px 0 0;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px 48px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand .footer-logo {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: white;
  letter-spacing: 3px;
}
.footer-brand .footer-logo span { color: var(--copper); }
.footer-brand .footer-tagline {
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--copper-light);
  margin-bottom: 12px;
  margin-top: 2px;
}
.footer-brand p { font-size: 12px; line-height: 1.8; }
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 9px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--copper-light);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
  transition: color .2s;
}
.footer-col a:hover { color: white; }
.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.footer-bottom p { font-size: 11px; }
.footer-bottom a { color: rgba(255,255,255,0.4); }
.footer-bottom a:hover { color: white; }
.footer-langs { display: flex; gap: 16px; }
.footer-langs a { font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.35); }
.footer-langs a:hover { color: var(--copper-light); }

/* ============================================================
   SCROLL PROGRESS BAR
   ============================================================ */
.scroll-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: left;
  z-index: 9999;
}

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.text-muted { color: var(--muted); }
.mt-sm { margin-top: 16px; }
.mt-md { margin-top: 32px; }
.mt-lg { margin-top: 56px; }
.mb-sm { margin-bottom: 16px; }
.mb-md { margin-bottom: 32px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .container, .container-narrow { padding: 0 20px; }

  .header-inner { padding: 0 20px; }
  .main-nav { display: none; flex-direction: column; gap: 20px; padding: 24px 20px; }
  .main-nav.open { display: flex; }
  .lang-bar { gap: 4px; }
  .burger-btn { display: flex; }

  .hero { padding: 120px 20px 60px; min-height: auto; }
  .section { padding: 56px 0; }
  .position-band { padding: 56px 20px; }

  .footer-inner { grid-template-columns: 1fr 1fr; padding: 0 20px 40px; gap: 28px; }
  .footer-bottom { padding: 16px 20px; flex-direction: column; gap: 12px; text-align: center; }

  .cards-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-langs { flex-wrap: wrap; gap: 10px; }
}

/* ============================================================
   RTL — ARABIC
   ============================================================ */
html[lang="ar"] body { direction: rtl; text-align: right; }
html[lang="ar"] .footer-inner { direction: rtl; }
html[lang="ar"] .faq-q { flex-direction: row-reverse; }

/* ============================================================
   COMMON SCRIPTS HELPER CLASS
   ============================================================ */
.user-select-none { -webkit-user-select: none; user-select: none; }
/* ================= FIX LOGO QUI ENVAHIT LA PAGE ================= */
.header-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 1.5rem !important;
}

.logo {
    flex-shrink: 0 !important;
}

.logo-img {
    height: 56px !important;      /* ← taille parfaite pour desktop */
    width: auto !important;
    max-width: 230px !important;
    object-fit: contain !important;
    display: block !important;
}

/* Version mobile */
@media (max-width: 768px) {
    .logo-img {
        height: 45px !important;
    }
    .header-container {
        padding: 10px 0 !important;
    }
}