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

:root {
  --accent-color: #E60B65;
  --text-dark:    #1a1210;
  --white:        #ffffff;
  --bar-color:    #2a1f1f;
  --transition:   0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --drawer-width: 600px;
  --font-menu:    'Inter', sans-serif;
}

html, body {
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
  font-family: 'Cormorant Garamond', serif;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.72) saturate(0.82);
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(28, 14, 8, 0.60);
  z-index: 1;
  pointer-events: none;
  transition: background 0.5s ease;
}

.hero:hover .hero__overlay {
  background: rgba(28, 14, 8, 0.7);
}

.hero__illustration {
  position: absolute;
  left: -2%;
  bottom: 0;
  height: 100%;
  width: auto;
  max-width: none;
  z-index: 2;
  pointer-events: none;
  opacity: 0.3;
}

.hero__content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-right: 5vw;
  padding-bottom: 5vh;
  animation: heroIn 1.1s ease both;
  margin-top: auto;
}

.hero__content img {
  width: clamp(560px, 66vw, 880px);
  height: auto;
}

@keyframes heroIn {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   NAVBAR
   ============================================================ */

.navbar {
  position: fixed;
  top: 40px;
  right: 40px;
  left: 40px;
  z-index: 900;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), top var(--transition);
}

.navbar__inner {
  display: flex;
  align-items: center;
  padding: 5px;
  height: 60px;
}

.navbar__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.navbar__logo img {
  height: 35px;
  margin-left: 10px;
  width: auto;
  display: block;
}

.navbar__burger {
  position: fixed;
  top: 45px;
  right: 50px;
  z-index: 1001; /* Au-dessus de l'overlay (990) et du drawer (998) */
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  width: 50px;
  height: 50px;
  padding: 4px;
  background: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--transition);
}

.navbar__burger:hover { background: rgba(0,0,0,0.05); }

.navbar__burger-bar {
  display: block;
  width: 100%;
  height: 5px;
  background: var(--bar-color);
  border-radius: 5px;
  transform-origin: center;
  transition:
    transform  0.42s cubic-bezier(0.4, 0, 0.2, 1),
    opacity    0.28s cubic-bezier(0.4, 0, 0.2, 1),
    background 0.28s ease;
}

/* État ouvert : barres blanches formant une × */
.navbar__burger.is-open .navbar__burger-bar               { background: var(--white); }
.navbar__burger.is-open .navbar__burger-bar:nth-child(1)  { transform: translateY(13px) rotate(45deg); }
.navbar__burger.is-open .navbar__burger-bar:nth-child(2)  { opacity: 0; transform: scaleX(0); }
.navbar__burger.is-open .navbar__burger-bar:nth-child(3)  { transform: translateY(-13px) rotate(-45deg); }

/* ============================================================
   DRAWER
   ============================================================ */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 990;
  visibility: hidden;
  opacity: 0;
}

.drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--drawer-width);
  height: 100vh;
  background: var(--white);
  z-index: 998;
  padding: 200px 0 60px 60px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  clip-path: inset(0 0 0 0); /* Confine l'illustration de fond dans le drawer */
}

.drawer__bg-illustration {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: auto;
  object-fit: cover;
  object-position: left center;
  opacity: 0.12;
  z-index: -1;
  pointer-events: none;
}

/* --- Couches de cascade --- */
.sm-prelayers {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--drawer-width);
  height: 100vh;
  z-index: 997;
  pointer-events: none;
}

.sm-prelayer {
  position: absolute;
  inset: 0;
}

/* --- Navigation --- */
.drawer__nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.drawer__nav-item {
  margin-bottom: 15px;
  overflow: hidden;
  position: relative;
}

.drawer__nav-link {
  display: inline-flex;
  align-items: flex-start;
  text-decoration: none;
  color: var(--text-dark);
  font-family: var(--font-menu);
  font-size: 2.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.drawer__nav-link:hover { color: var(--accent-color); }

.nav-label {
  display: inline-block;
  will-change: transform;
}

.drawer__nav-link:hover .nav-label {
  color: var(--accent-color);
  transform: translateX(10px);
  transition: transform 0.3s ease, color 0.3s ease;
}

.drawer__nav-num {
  font-family: var(--font-menu);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--accent-color);
  margin-top: 5px;
  margin-left: 10px;
  letter-spacing: 0;
}

/* --- Logo interne --- */
.drawer__header-internal {
  position: absolute;
  top: 30px;
  right: 20px;
  z-index: 10;
}

.drawer__logo-internal { height: 40px; width: auto; }

/* --- Contact --- */
.drawer__contact-block {
  position: absolute;
  bottom: 50px;
  right: 40px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.contact-text {
  display: flex;
  flex-direction: column;
  font-family: 'Inter', sans-serif;
  line-height: 1.1;
}

.text-top {
  font-size: 1.4rem;
  font-weight: 100;
  color: var(--text-dark);
}

.text-bottom {
  font-size: 1.4rem;
  font-weight: 100;
  color: var(--accent-color);
}

.contact-icons {
  display: flex;
  gap: 15px;
}

.icon-link-phone,
.icon-link-facebook {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  border-radius: 0;
  color: var(--text-dark);
  transition: all 0.3s ease;
}

.icon-link-facebook img {
  width: 45px;
  height: 45px;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.icon-link-phone img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.icon-link-phone:hover img, .icon-link-facebook:hover img {
  transform: translateY(-3px);
  filter: brightness(0) saturate(100%) invert(7%) sepia(94%) saturate(6195%) hue-rotate(319deg) brightness(92%) contrast(103%);
}

/* ============================================================
   MOBILE
   ============================================================ */
@media (max-width: 768px) {
  :root { --drawer-width: 100%; }

  .navbar__burger {
    position: fixed;
    top: 25px;
    right: 30px;
  }

  .hero__content {
    align-items: center;
    padding-right: 0;
    padding-left: 0;
    width: 100%;
  }

  .hero__content img {
    width: 80%;
    height: auto;
  }

  .hero__illustration { left: -40px; }

  .navbar {
    top: 20px;
    right: 20px;
    left: 20px;
  }

  .drawer__logo-internal {
	margin-right: 80px;
  }

  .drawer { padding: 200px 30px 40px; }

  .navbar__burger.is-open .navbar__burger-bar {
    background: var(--text-dark);
  }

  .drawer__nav-link {
    font-size: 2rem;
  }

  .text-top {
  font-size: 1.2rem;
  font-weight: 300;
}

.text-bottom {
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--accent-color);
}


.icon-link-facebook img {
  width: 35px;
  height: 35px;
}

.icon-link-phone img {
  width: 38px;
  height: 38px;
}

.contact-icons {
  gap: 10px;
}

.drawer__contact-block {
  gap: 15px;
}
}






.hero__callback {
  z-index: 2;
  position: absolute;
  bottom: 5vh;
  left: 5vw;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 14px;
  color: var(--white);
  font-family: var(--font-ui);
  font-size: clamp(1.2rem, 1.3vw, 1.4rem);
  font-weight: 300;
  line-height: 1.45;
  max-width: 280px;
  animation: callbackFadeIn 0.8s ease 1.2s both;
}

.hero__callback strong {
  font-weight: 600;
  color: var(--white);
}

.hero__callback__dot {
  width: 10px;
  height: 10px;
  min-width: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(230, 11, 101, 0.5);
  animation: callbackPulse 2s ease-in-out infinite;
}

@keyframes callbackPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(230, 11, 101, 0.5); }
  50%       { box-shadow: 0 0 0 7px rgba(230, 11, 101, 0); }
}

@keyframes callbackFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1350px) {
  .hero__callback {
    top: 130px;
    bottom: auto;
    right: 40px;
    left: 40px;
    max-width: none;
  }
}

@media (max-width: 768px) {
  .hero__callback {
    top: 100px;
    bottom: auto;
    right: 20px;
    left: 20px;
    max-width: none;
  }
}

.hero__callback__phone {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 50px;
  height: 50px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(230, 11, 101, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero__callback__phone:hover {
  transform: scale(1.12);
  box-shadow: 0 4px 16px rgba(230, 11, 101, 0.6);
}

.hero__callback__phone img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}