/* ============================================
   L'ATELIER CRÉA — STYLE GLOBAL
============================================ */

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

:root {
  --beige: #F5E9DD;
  --beige-soft: #FAF3EC;
  --vert: #2D4A3E;
  --vert-light: #3D5F51;
  --noir: #1A1A1A;
  --rose: #E3BFC0;
  --rose-deep: #C98E90;
  --blanc: #FFFFFF;
  --muted: #8A7A6D;

  --radius-lg: 32px;
  --radius-md: 20px;
  --radius-pill: 100px;

  --shadow-soft: 0 8px 30px rgba(45, 74, 63, 0.08);
  --shadow-hover: 0 16px 40px rgba(45, 74, 63, 0.14);
}

html { scroll-behavior: smooth; font-size: 20px; }

body {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  color: var(--noir);
  background: var(--beige-soft);
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, .display {
  font-family: 'Archivo Black', sans-serif;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--vert);
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
svg { display: block; }

/* ===== UTILITY ===== */
.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--rose-deep);
  font-weight: 500;
  margin-bottom: 14px;
  display: inline-block;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 40px;
}

.section { padding: 110px 0; }
.section-sm { padding: 70px 0; }

/* reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(.22,.61,.36,1), transform 0.7s cubic-bezier(.22,.61,.36,1);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { transition-delay: calc(var(--i) * 90ms); }

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 48px;
  background: rgba(250, 243, 236, 0.85);
  backdrop-filter: blur(14px);
  transition: padding 0.3s, box-shadow 0.3s;
}
.nav.scrolled { padding: 16px 48px; box-shadow: 0 4px 24px rgba(45,74,63,0.06); }
.nav-logo svg { height: 28px; width: auto; display: block; }
.nav-logo .st0 { fill: var(--vert); transition: fill 0.2s; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-shrink: 0;
}
.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--vert);
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--rose-deep);
  transition: width 0.25s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--rose-deep); }

.nav-links a.nav-cta {
  background: var(--vert);
  color: var(--beige) !important;
  padding: 14px 30px;
  border-radius: var(--radius-pill);
  font-size: 0.86rem;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-block;
  line-height: 1;
  transition: background 0.25s, transform 0.2s;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--rose-deep); transform: translateY(-2px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}
.nav-toggle span {
  width: 26px; height: 2px;
  background: var(--vert);
  border-radius: 2px;
  transition: all 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(.22,.61,.36,1), box-shadow 0.25s, background 0.25s, color 0.25s;
  border: none;
}
.btn-primary {
  background: var(--vert);
  color: var(--beige);
}
.btn-primary:hover { background: var(--noir); transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--vert);
  color: var(--vert);
}
.btn-outline:hover { background: var(--vert); color: var(--beige); transform: translateY(-3px); }
.btn-rose {
  background: var(--rose-deep);
  color: var(--blanc);
}
.btn-rose:hover { background: var(--vert); transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.btn svg { width: 16px; height: 16px; transition: transform 0.25s; }
.btn:hover svg { transform: translateX(4px); }

/* ===== CARDS ===== */
.card {
  background: var(--blanc);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s cubic-bezier(.22,.61,.36,1), box-shadow 0.35s;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }

.block-icon {
  width: 56px; height: 56px; border-radius: var(--radius-md);
  background: var(--beige); display: flex; align-items: center; justify-content: center;
  color: var(--vert); margin-bottom: 24px; flex-shrink: 0;
}
.block-icon svg { width: 26px; height: 26px; }

/* ===== FOOTER ===== */
.footer {
  background: var(--vert);
  color: var(--beige);
  padding: 70px 0 30px;
}
.footer .wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(245,233,221,0.15);
}
.footer-logo svg { height: 30px; margin-bottom: 18px; }
.footer-logo .st0 { fill: var(--beige); }
.footer-tagline { font-size: 0.88rem; color: rgba(245,233,221,0.7); max-width: 280px; }
.footer-zone { margin-top: 18px; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rose); }
.footer h4 {
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 18px;
}
.footer ul li { margin-bottom: 12px; font-size: 0.9rem; }
.footer ul li a:hover { color: var(--rose); }
.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 30px;
  font-size: 0.78rem;
  color: rgba(245,233,221,0.5);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1080px) {
  .wrap { padding: 0 24px; }
  .section { padding: 80px 0; }
  .nav { padding: 18px 24px; }
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: 78%;
    max-width: 340px;
    background: var(--beige);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 28px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(.22,.61,.36,1);
    box-shadow: -10px 0 40px rgba(0,0,0,0.08);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.1rem; }
  .nav-toggle { display: flex; }
  .footer .wrap { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}
