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

:root {
  --rose: #D4607A;
  --rose-light: #E07D94;
  --rose-pale: #FDE8ED;
  --rose-pale-2: #FAD4DC;
  --bg: #FFFFFF;
  --bg-2: #FBF7F8;
  --bg-3: #F5EDEF;
  --text: #1A1A1A;
  --text-2: #4A4A4A;
  --text-3: #888888;
  --border: rgba(212, 96, 122, 0.15);
  --border-soft: rgba(0,0,0,0.07);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 72px;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-soft);
  transition: background 0.3s;
}

.nav-logo {
  height: 40px;
  width: auto;
  filter: invert(1) sepia(1) saturate(3) hue-rotate(295deg) brightness(0.65);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-2);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--rose); }

.nav-cta {
  background: var(--rose) !important;
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--rose-light) !important; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text); border-radius: 2px;
}

/* ── PAGE HERO (sous-pages) ── */
.page-hero {
  padding: 140px 5% 80px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border-soft);
}

.page-hero-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 14px;
}

.page-hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--text);
}

.page-hero-sub {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-2);
  max-width: 600px;
  margin-top: 16px;
}

/* ── SECTION COMMON ── */
.section { padding: 80px 5%; }
.section-alt { background: var(--bg-2); }

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 14px;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1;
  letter-spacing: 0.03em;
  color: var(--text);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-2);
  max-width: 560px;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--rose);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  padding: 15px 30px;
  border-radius: 8px;
  transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover { background: var(--rose-light); transform: translateY(-2px); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 1.5px solid rgba(0,0,0,0.15);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 15px 30px;
  border-radius: 8px;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}
.btn-secondary:hover { border-color: var(--rose); color: var(--rose); transform: translateY(-2px); }

/* ── DIVIDER ── */
.divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--rose-pale-2), transparent);
  border: none;
  margin: 0;
}

/* ── FOOTER ── */
footer {
  background: var(--bg-3);
  border-top: 1px solid var(--border-soft);
  padding: 48px 5%;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-logo {
  height: 36px;
  width: auto;
  filter: invert(1) sepia(1) saturate(3) hue-rotate(295deg) brightness(0.65);
  opacity: 0.7;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-3);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--rose); }

.footer-copy {
  color: var(--text-3);
  font-size: 13px;
}

.footer-dev {
  font-size: 11px;
  color: var(--text-3);
  opacity: 0.55;
  letter-spacing: 0.03em;
}
.footer-dev a {
  color: var(--text-3);
  text-decoration: none;
  transition: color 0.2s, opacity 0.2s;
}
.footer-dev a:hover { color: var(--rose); opacity: 1; }

/* ── PRELOADER ── */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}
#preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }

.preloader-logo {
  height: 52px;
  width: auto;
  filter: invert(1) sepia(1) saturate(3) hue-rotate(295deg) brightness(0.65);
  animation: pl-breathe 1.8s ease-in-out infinite;
}
@keyframes pl-breathe {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.93); }
}
.preloader-track {
  width: 120px;
  height: 2px;
  background: var(--rose-pale-2);
  border-radius: 99px;
  overflow: hidden;
}
.preloader-fill {
  height: 100%;
  width: 0%;
  background: var(--rose);
  border-radius: 99px;
  animation: pl-load 1.1s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes pl-load {
  0%   { width: 0%; }
  60%  { width: 75%; }
  100% { width: 100%; }
}

/* ── SCROLL PROGRESS ── */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(to right, var(--rose), var(--rose-light));
  z-index: 200;
  border-radius: 0 2px 2px 0;
  transition: width 0.08s linear;
}

/* ── FIL D'ARIANE ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-3);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.breadcrumb a {
  color: var(--text-3);
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb a:hover { color: var(--rose); }
.breadcrumb-sep { color: var(--border-soft); font-size: 14px; line-height: 1; }
.breadcrumb-current { color: var(--rose); }

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  nav { padding: 0 20px; }
  .page-hero { padding: 120px 20px 60px; }
  .section { padding: 60px 20px; }
  footer { padding: 40px 20px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }

  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: rgba(255,255,255,0.98);
    padding: 24px 20px 32px;
    border-bottom: 1px solid var(--border-soft);
    gap: 20px;
  }
}
