/* =============================================
   JAELLE.HAIR — CSS GLOBAL
   Palette : #3D1F52 | #E8A8D8 | #FDF7FF
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Jost:wght@300;400;500;600&display=swap');

:root {
  --violet:     #3D1F52;
  --violet-mid: #6B3A8A;
  --violet-light: #9B6DB5;
  --rose:       #E8A8D8;
  --rose-light: #F5D5ED;
  --rose-pale:  #FBF0F8;
  --ivoire:     #FDF7FF;
  --blanc:      #FFFFFF;
  --texte:      #2A1A3A;
  --texte-doux: #7A5A8A;
  --border:     rgba(61,31,82,0.12);

  --font-titre: 'Cormorant Garamond', Georgia, serif;
  --font-body:  'Jost', sans-serif;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  24px;
  --radius-xl:  40px;

  --shadow-sm:  0 2px 16px rgba(61,31,82,0.08);
  --shadow-md:  0 6px 32px rgba(61,31,82,0.14);
  --shadow-lg:  0 16px 64px rgba(61,31,82,0.18);

  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}




        html {
            scroll-behavior: smooth;
            overflow-x: hidden;   /* ← bloque le scroll horizontal sur html */
            max-width: 100%;
        }
        body {
            font-family: var(--font-body);
            color: var(--text);
            background: var(--white);
            overflow-x: hidden;   /* ← bloque le scroll horizontal sur body */
            max-width: 100%;
            position: relative;
        }

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--texte);
  background: var(--ivoire);
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  line-height: 1.7;
  position: relative;
}

/* ── TYPOGRAPHIE ── */
h1, h2, h3, h4 {
  font-family: var(--font-titre);
  font-weight: 400;
  line-height: 1.2;
  color: var(--violet);
}
h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); }

p { font-size: 1rem; line-height: 1.8; color: var(--texte-doux); }
a { text-decoration: none; color: inherit; }

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 72px;
  background: rgba(253,247,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(253,247,255,0.98);
  box-shadow: var(--shadow-sm);
}

.nav-logo {
  font-family: var(--font-titre);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--violet);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.nav-logo span {
  color: var(--rose);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--texte-doux);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--rose);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--violet); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--violet);
  color: var(--blanc) !important;
  padding: 10px 22px;
  border-radius: var(--radius-xl);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: var(--transition);
  white-space: nowrap;
}
.nav-cta:hover {
  background: var(--violet-mid);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

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

/* menu mobile */
.mobile-menu {
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: var(--ivoire);
  border-bottom: 1px solid var(--border);
  padding: 24px 32px;
  z-index: 999;
  display: none;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--shadow-md);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--texte-doux);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu .nav-cta {
  margin-top: 8px;
  text-align: center;
  justify-content: center;
}

/* ── BOUTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--violet);
  color: var(--blanc);
  padding: 14px 32px;
  border-radius: var(--radius-xl);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.btn-primary:hover {
  background: var(--violet-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--blanc);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--violet);
  padding: 13px 30px;
  border-radius: var(--radius-xl);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1.5px solid var(--violet);
  cursor: pointer;
  transition: var(--transition);
}
.btn-outline:hover {
  background: var(--violet);
  color: var(--blanc);
  transform: translateY(-2px);
}

.btn-rose {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--rose);
  color: var(--violet);
  padding: 14px 32px;
  border-radius: var(--radius-xl);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.btn-rose:hover {
  background: var(--rose-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(232,168,216,0.4);
}

/* ── SECTION LAYOUT ── */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--violet-light);
  background: var(--rose-pale);
  padding: 6px 18px;
  border-radius: var(--radius-xl);
  margin-bottom: 16px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p { max-width: 520px; margin: 0 auto; }

/* ── DIVIDER DÉCO ── */
.divider-rose {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 auto 48px;
  width: fit-content;
}
.divider-rose::before,
.divider-rose::after {
  content: '';
  width: 60px; height: 1px;
  background: var(--rose);
}
.divider-rose span {
  color: var(--rose);
  font-size: 1.2rem;
}

/* ── FOOTER ── */
footer {
  background: var(--violet);
  color: var(--blanc);
  padding: 64px 48px 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo {
  font-family: var(--font-titre);
  font-size: 2rem;
  font-weight: 600;
  color: var(--rose);
  margin-bottom: 16px;
}
.footer-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  margin-bottom: 24px;
}
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--rose);
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--rose);
  color: var(--violet);
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 20px;
}
.footer-col p,
.footer-col a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  line-height: 2;
  display: block;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--rose); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

/* ── SCROLL TOP ── */
#scrollTop {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--violet);
  color: var(--blanc);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  z-index: 500;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-md);
}
#scrollTop.visible {
  opacity: 1;
  pointer-events: auto;
}
#scrollTop:hover { background: var(--violet-mid); transform: translateY(-3px); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .navbar { padding: 0 24px; }
  .nav-links { gap: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  footer { padding: 48px 24px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
