/* ============================================================
   STENE PROD — global.css
   ============================================================ */

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

:root {
  /* ── Palette officielle ────────────────────────────────── */
  --orange:       #FF4C29; /* orange officiel charte */
  --orange-light: #FF6B4A; /* orange hover */
  --orange-glow:  rgba(255,76,41,0.13);
  --violet:       #5B48D9; /* violet officiel charte */
  --violet-light: #7B6EE8; /* violet hover / accent */
  --violet-glow:  rgba(91,72,217,0.13);

  /* Fonds */
  --bg-dark:    #5B48D9;
  --bg-black:   #000000; /* noir officiel charte */

  /* Fonds clairs — beige officiel charte uniquement */
  --bg-light:   #F6F2EC;
  --bg-alt:     #F6F2EC;
  --bg-warm:    #F6F2EC;

  /* Aliases de compatibilité */
  --bg-beige:       #F6F2EC;
  --bg-grey:        #F6F2EC;
  --bg-lavande:     #F6F2EC;
  --bg-violet-tint: #F6F2EC;
  --cream:          #F6F2EC;
  --cream-dark:     #E2DDD4; /* bordures / séparateurs */

  --text-dark:    #000000;
  --text-mid:     #5A5248;
  --text-light:   #5A5248; /* texte secondaire sur fond clair */
  --text-on-dark: #F6F2EC; /* texte sur fond sombre */
  --nav-height:   76px;
  --font-title:   'Playfair Display', serif;
  --font-body:    'Inter', sans-serif;
  --sp:           72px;   /* espacement vertical entre sections */
  --sp-h:         80px;   /* espacement horizontal (gouttières) */
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text-dark);
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }

/* ===== BOUTONS GLOBAUX ===== */
.btn-orange {
  font-family: var(--font-body); font-size:13px; font-weight:600;
  color: var(--orange); background: transparent;
  border: 1.5px solid var(--orange); border-radius: 999px; padding: 10px 22px;
  cursor: pointer; text-decoration: none; display: inline-block;
  transition: background .22s, color .22s, transform .15s;
  white-space: nowrap; letter-spacing: .01em;
}
.btn-orange:hover { background: var(--orange); color: #fff; transform: translateY(-1px); }
.btn-violet {
  font-family: var(--font-body); font-size:13px; font-weight:600;
  color: var(--violet); background: transparent;
  border: 1.5px solid var(--violet); border-radius: 999px; padding: 10px 22px;
  cursor: pointer; text-decoration: none; display: inline-block;
  transition: background .22s, color .22s, transform .15s;
  white-space: nowrap; letter-spacing: .01em;
}
.btn-violet:hover { background: var(--violet); color: #fff; transform: translateY(-1px); }

/* ===== NAVBAR ===== */
:root { --nav-height: 72px; }

.navbar {
  position: fixed; top: 12px; left: 28px; right: 28px;
  height: 48px;
  background: #000000;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 8px 28px rgba(0,0,0,.22), 0 2px 6px rgba(0,0,0,.14);
  z-index: 1000; display: flex; align-items: center;
  padding: 0 16px; justify-content: space-between;
}

/* Logo — à gauche, aligné avec le padding */
.nav-left { display:flex; align-items:center; flex-shrink:0; }
.nav-logo { display:flex; align-items:center; }
.nav-logo img {
  height: 22px; width: auto;
}

/* Liens — centrés absolument */
.nav-links {
  display:flex; align-items:center; gap:4px;
  position:absolute; left:50%; transform:translateX(-50%);
}

.nav-sep { display:none; }
.nav-socials { display:none; }
.social-icon { display:none; }

.nav-link {
  position:relative; text-decoration:none; font-family:var(--font-body);
  font-size:13px; font-weight:500; color:rgba(255,255,255,0.55);
  padding:6px 11px; border-radius:999px; transition:color .2s;
  letter-spacing:.02em; white-space:nowrap;
}
.navbar { --nav-accent: var(--orange); }
.nav-link:hover { color: var(--nav-accent); }
.nav-link.active { color: var(--nav-accent); }
.nav-link .indicator {
  position:absolute; bottom:2px; left:50%; transform:translateX(-50%);
  width:0; height:2px; background:var(--nav-accent); border-radius:999px;
  transition:width .3s cubic-bezier(0.34,1.56,0.64,1);
}
.nav-link:hover .indicator { width:calc(100% - 20px); background:var(--nav-accent); }
.nav-link.active .indicator { width:calc(100% - 20px); background:var(--nav-accent); }

/* Logo réactif à l'accent */
.nav-logo img { transition: opacity .2s ease; }

/* CTA — à droite, même padding que le logo à gauche */
.nav-right { display:flex; align-items:center; gap:10px; flex-shrink:0; }
.nav-right .btn-orange {
  font-size:12px; padding:6px 15px; min-width: 128px;
  color: #fff;
  background: var(--nav-accent);
  border-color: var(--nav-accent);
  transition: background .35s ease, border-color .35s ease, color .22s, transform .15s;
}
.nav-right .btn-orange:hover {
  background: var(--nav-accent);
  border-color: var(--nav-accent);
  opacity: .85; transform: translateY(-1px);
}

/* Burger — fond sombre */
.burger {
  display:none; align-items:center; justify-content:center; flex-direction:column;
  gap:5px; width:36px; height:36px; cursor:pointer; background:none;
  border:1.5px solid rgba(255,255,255,0.18); border-radius:8px;
  transition:border-color .2s, background .2s; z-index:1100; flex-shrink:0;
}
.burger:hover { border-color:var(--nav-accent); }
/* Burger follows nav accent color (orange or violet) */
.navbar[data-accent="violet"] .burger { border-color:rgba(91,72,217,.35); }
.navbar[data-accent="violet"] .burger:hover { border-color:var(--violet); }
.navbar[data-accent="violet"] .burger.open { border-color:var(--violet); background:rgba(91,72,217,0.15); }
.navbar[data-accent="violet"] .burger.open span { background:var(--violet); }
.burger span {
  display:block; height:1.5px; background:#fff; border-radius:999px;
  transition:all .32s cubic-bezier(0.34,1.56,0.64,1); transform-origin:center;
}
.burger span:nth-child(1) { width:16px; }
.burger span:nth-child(2) { width:12px; }
.burger span:nth-child(3) { width:16px; }
.burger.open { border-color:var(--orange); background:rgba(255,76,41,0.15); }
.burger.open span { background:var(--orange); }
.burger.open span:nth-child(1) { transform:translateY(6.5px) rotate(45deg); width:16px; }
.burger.open span:nth-child(2) { opacity:0; transform:scaleX(0); }
.burger.open span:nth-child(3) { transform:translateY(-6.5px) rotate(-45deg); width:16px; }

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

/* Tablette : masquer les liens, garder le CTA */
@media (max-width: 900px) {
  .nav-links { display:none; }
  .nav-right .btn-orange { display:none; }
  .burger { display:flex; }
}

/* Mobile : logo légèrement plus petit */
@media (max-width: 480px) {
  .navbar { left: 12px; right: 12px; padding: 0 14px; }
  .nav-logo img { height: 18px; }
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  position:fixed; inset:0; background:#000; z-index:999;
  overflow-y:auto; opacity:0; pointer-events:none; transition:opacity .3s ease;
  display:flex; flex-direction:column;
}
.mobile-menu.open { opacity:1; pointer-events:all; }
.mobile-menu-inner {
  padding:calc(var(--nav-height) + clamp(12px,3vh,28px)) 28px clamp(16px,3vh,28px);
  display:flex; flex-direction:column; min-height:100%;
}
.mobile-menu-label { display:none; }
.mobile-nav-links { display:flex; flex-direction:column; margin-bottom:0; }
.mobile-nav-link {
  font-family:var(--font-body); font-size:17px; font-weight:600; color:rgba(255,255,255,.55);
  text-decoration:none; padding:10px 0; border-bottom:1px solid rgba(255,255,255,.07);
  display:flex; align-items:center; justify-content:space-between; letter-spacing:.01em;
  opacity:0; transform:translateY(16px);
  transition:color .2s, padding-left .2s, opacity .4s ease, transform .4s ease;
}
.mobile-nav-link:first-child { border-top:1px solid rgba(255,255,255,.07); }
.mobile-nav-link .arrow { font-size:16px; color:rgba(255,255,255,.2); transition:opacity .2s,transform .2s,color .2s; }
.mobile-nav-link:hover { color:#fff; padding-left:6px; }
.mobile-nav-link:hover .arrow { color:var(--orange); transform:translateX(4px); }
.mobile-nav-link.active { color:#fff; }
.mobile-nav-link.active .arrow { color:var(--orange); }
.mobile-menu.open .mobile-nav-link { opacity:1; transform:translateY(0); }
.mobile-menu.open .mobile-nav-link:nth-child(1) { transition-delay:.05s; }
.mobile-menu.open .mobile-nav-link:nth-child(2) { transition-delay:.11s; }
.mobile-menu.open .mobile-nav-link:nth-child(3) { transition-delay:.17s; }
.mobile-menu.open .mobile-nav-link:nth-child(4) { transition-delay:.23s; }
.mobile-menu.open .mobile-nav-link:nth-child(5) { transition-delay:.29s; }
.mobile-cta {
  flex:1; display:flex; flex-direction:column; justify-content:center; gap:8px; margin-bottom:0;
  opacity:0; transform:translateY(12px);
  transition:opacity .4s ease .36s, transform .4s ease .36s;
}
.mobile-menu.open .mobile-cta { opacity:1; transform:translateY(0); }
.mobile-cta .btn-orange, .mobile-cta .btn-violet { width:100%; text-align:center; font-size:13px; padding:11px 22px; }
.mobile-socials-wrap {
  display:flex; flex-direction:column; align-items:center; gap:10px;
  border-top:1px solid rgba(255,255,255,.07); padding-top:clamp(10px,2vh,20px);
  margin-top:0;
  opacity:0; transform:translateY(12px);
  transition:opacity .4s ease .44s, transform .4s ease .44s;
}
.mobile-menu.open .mobile-socials-wrap { opacity:1; transform:translateY(0); }
.mobile-footer-legal {
  display:flex; gap:14px; flex-wrap:wrap; justify-content:center; margin-top:8px;
}
.mobile-footer-legal a {
  font-family:var(--font-body); font-size:11px; color:rgba(255,255,255,.25);
  text-decoration:none; transition:color .2s; letter-spacing:.02em;
}
.mobile-footer-legal a:hover { color:rgba(255,255,255,.65); }
.mobile-socials-label { display:none; }
.mobile-socials { display:flex; align-items:center; justify-content:center; gap:10px; }
/* Footer dans le menu mobile — compact */
.mobile-socials-wrap .footer-sub { margin-bottom: 6px; }
.mobile-socials-wrap .footer-sub .footer-profession { display:none; }
.mobile-socials-wrap .footer-sub .footer-cities { text-align:center; }
.mobile-socials-wrap .footer-divider { margin-bottom: 6px; }
.mobile-social-icon {
  display:flex; align-items:center; justify-content:center;
  width:30px; height:30px; border-radius:7px; border:1px solid rgba(255,255,255,.12);
  color:rgba(255,255,255,.45); transition:color .2s,border-color .2s,background .2s; text-decoration:none;
}
.mobile-social-icon:hover { color:var(--orange); border-color:var(--orange); background:rgba(255,76,41,.08); }
.mobile-social-icon svg { width:15px; height:15px; fill:currentColor; }

/* ===== FOOTER ===== */
.footer {
  background: #000000;
  color: #fff;
  border-top: 1px solid rgba(255,255,255,0.10);
}

.footer-inner {
  padding: 56px 40px 44px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}

.footer-sub {
  font-family: var(--font-body);
  color: rgba(255,255,255,.35); margin-bottom: 28px;
  line-height: 1.8;
}
.footer-sub .footer-profession {
  display: block; font-size: 11px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.footer-sub .footer-cities {
  display: block; font-size: 11px; font-weight: 400;
  letter-spacing: .06em; color: rgba(255,255,255,.28);
}

.footer-divider {
  width: 44px; height: 2px; background: var(--orange);
  margin-bottom: 28px;
}

.footer-socials {
  display: flex; gap: 10px; margin-bottom: 24px;
}
.footer-social-icon {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.45);
  transition: color .2s, border-color .2s, background .2s;
  text-decoration: none;
}
.footer-social-icon:hover { color: var(--orange); border-color: var(--orange); background: var(--orange-glow); }
.footer-social-icon svg { width: 15px; height: 15px; fill: currentColor; }

.footer-contact {
  display: flex; align-items: center; gap: 8px;
}
.footer-contact-sep {
  color: rgba(255,255,255,.2); font-size: 13px;
}
.footer-phone {
  font-family: var(--font-body); font-size: 13px;
  color: rgba(255,255,255,.4);
}
.footer-phone a { color: inherit; text-decoration: none; transition: color .2s; }
.footer-phone a:hover { color: #fff; }

/* Bottom bar */
.footer-bottom {
  padding: 16px 40px 20px;
  border-top: 1px solid rgba(255,255,255,.07);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px;
}
.footer-bottom p {
  font-family: var(--font-body); font-size: 11px;
  color: rgba(255,255,255,.2); letter-spacing: .04em;
}
.footer-legal-links { display: flex; gap: 18px; }
.footer-legal-links a {
  font-family: var(--font-body); font-size: 11px;
  color: rgba(255,255,255,.25); text-decoration: none;
  transition: color .2s; letter-spacing: .02em;
}
.footer-legal-links a:hover { color: rgba(255,255,255,.65); }

/* ===== RESPONSIVE ===== */
@media (max-width:600px) {
  .footer-inner { padding: 44px 24px 36px; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; padding: 16px 24px 20px; }
  .footer-legal-links { justify-content: center; flex-wrap: wrap; gap: 12px; }
  .footer-contact { flex-direction: row; gap: 8px; flex-wrap: wrap; justify-content: center; }
}

