:root {
  /* Nouvelle palette luxueuse */
  --bg-off-white: #F9F8F6;
  --bordeaux: #5E1F22;
  --bordeaux-dark: #451619;
  --grey-light: #E8E8E8;

  --ink: #1E1E1E;
  --ink-soft: #4A4A4A;
  --white: #FFFFFF;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

/* LOCK ANTI-SCROLL HORIZONTAL */
html, body {
  font-family: 'Jost', sans-serif;
  color: var(--ink);
  background: var(--bg-off-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; /* Empêche le scroll horizontal */
  width: 100%;
  max-width: 100vw;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Dégradé adapté au Blanc cassé */
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(249, 248, 246, 0.92) 0%,
    rgba(249, 248, 246, 0.70) 28%,
    rgba(249, 248, 246, 0.25) 50%,
    rgba(249, 248, 246, 0) 65%
  );
  pointer-events: none;
}

.hero__panel {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-40%);
  z-index: 5;
  width: min(560px, 50vw);
  padding: 0 0 0 56px;
  background: none;
}

/* Logo */
.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  color: var(--bordeaux);
  line-height: 1;
}
.logo__main {
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.logo__sub {
  font-size: 9px;
  letter-spacing: 0.26em;
  margin-top: 4px;
  color: var(--bordeaux);
}

.hero__eyebrow {
  font-size: 12px;
  letter-spacing: 0.26em;
  color: var(--bordeaux);
  margin-bottom: 14px;
  font-weight: 500;
}

.hero__title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(34px, 4.2vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.005em;
  color: var(--ink);
  text-transform: uppercase;
}
.hero__title em {
  font-style: normal;
  color: var(--bordeaux);
}

.hero__rule {
  display: block;
  width: 32px;
  height: 1px;
  background: var(--bordeaux);
  margin: 18px 0 16px;
}

.hero__subtitle {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 24px;
  max-width: 420px;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bordeaux);
  color: var(--white);
  text-decoration: none;
  padding: 14px 26px;
  font-size: 11px;
  letter-spacing: 0.22em;
  font-weight: 500;
  transition: background 0.25s ease;
}
.hero__cta:hover { background: var(--bordeaux-dark); }
.hero__cta .arrow { font-size: 13px; }

/* ---------- HEADER & NAVIGATION ---------- */
.hero__header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 28px 56px;
}

.nav {
  display: flex;
  gap: 16px;
  align-items: center;
}

.nav__link {
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--white);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-weight: 500;
  transition: background 0.25s ease;
  background: var(--bordeaux);
  padding: 10px 20px;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.nav__link:hover { background: var(--bordeaux-dark); }
.caret { font-size: 10px; opacity: 0.9; }

/* Menu Déroulant */
.nav__dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 240px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  padding: 12px 0;
  margin-top: 10px;
  border-radius: 2px;
}
.nav__dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-item {
  display: block;
  padding: 12px 24px;
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  transition: background 0.2s;
}
.dropdown-item:hover {
  background: var(--bg-off-white);
  color: var(--bordeaux);
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-self: end;
  align-items: center;
}
.icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--white);
  display: inline-flex;
  padding: 4px;
  filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.55));
  transition: opacity 0.2s ease;
}
.icon-btn:hover { opacity: 0.75; }
.icon-btn svg { width: 22px; height: 22px; }

/* Langue */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: var(--white);
  margin-right: 8px;
  filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.55));
}
.lang-link { color: var(--white); text-decoration: none; opacity: 0.5; transition: opacity 0.2s; }
.lang-link.active, .lang-link:hover { opacity: 1; }
.lang-sep { opacity: 0.3; font-size: 11px; }

/* ---------- FOOTER ---------- */
.footer-grid {
  max-width: 1100px;
  margin: 0 auto 60px auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
}

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid #333;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 992px) {
  .hero__header { padding: 22px 32px; }
  .nav { gap: 10px; }
  .nav__link { font-size: 12px; padding: 8px 14px; }
  .logo__main { font-size: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  /* Le Hero s'adapte en hauteur au lieu de forcer 100vh */
  .hero { min-height: 100vh; height: auto; padding-bottom: 40px; }
  .hero__header { grid-template-columns: 1fr auto; padding: 16px 20px; }
  .nav { display: none; }
  .lang-switcher { display: none; }
  .icon-btn svg { width: 20px; height: 20px; }

  .hero__bg::after {
    background: linear-gradient(180deg, rgba(249, 248, 246, 0.55) 0%, rgba(249, 248, 246, 0) 25%, rgba(249, 248, 246, 0.95) 70%);
  }

  /* Le panneau passe en relative pour pousser le contenu vers le bas sans déborder */
  .hero__panel {
    position: relative;
    top: auto;
    bottom: auto;
    margin-top: 50vh; /* Démarre à la moitié de l'écran */
    transform: none;
    width: 100%;
    padding: 0 24px 28px;
  }

  .logo__main { font-size: 28px; }
  .hero__title { font-size: 32px; }
  .hero__subtitle { font-size: 14px; }
  .hero__cta { width: 100%; justify-content: center; }

  /* Footer sur 1 colonne */
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* Hamburger */
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 28px; height: 28px; background: none; border: none; cursor: pointer; padding: 0; }
  .menu-toggle span { display: block; width: 100%; height: 2px; background: var(--white); transition: transform 0.3s ease, opacity 0.3s ease; filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.5)); }
  .menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.active span:nth-child(2) { opacity: 0; }
  .menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .mobile-menu { position: fixed; inset: 0; background: rgba(30, 30, 30, 0.98); backdrop-filter: blur(10px); z-index: 20; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; opacity: 0; pointer-events: none; transition: opacity 0.35s ease; overflow-y: auto; padding: 40px 20px;}
  .mobile-menu.active { opacity: 1; pointer-events: auto; }
  .mobile-link { color: var(--white); text-decoration: none; font-family: 'Cormorant Garamond', serif; font-size: 28px; letter-spacing: 0.02em; transition: color 0.2s ease; text-align: center; }
  .mobile-link:hover { color: var(--grey-light); }

  .mobile-services-title { color: var(--grey-light); font-size: 14px; text-transform: uppercase; letter-spacing: 0.1em; margin-top: 10px; margin-bottom: -10px; }
  .mobile-service-link { color: var(--white); text-decoration: none; font-size: 18px; font-family: 'Jost', sans-serif; opacity: 0.8; }

  .mobile-lang { margin-top: 20px; display: flex; align-items: center; gap: 12px; font-size: 16px; letter-spacing: 0.1em; }
  .mobile-lang-link { color: var(--white); text-decoration: none; opacity: 0.4; transition: opacity 0.2s ease; }
  .mobile-lang-link.active, .mobile-lang-link:hover { opacity: 1; color: var(--bordeaux); }
  .mobile-lang-sep { opacity: 0.3; font-size: 14px; }
}