/* ===== VARIABLES ===== */
:root {
  --ink: #1c1a17;          /* charcoal profond */
  --ink-soft: #3a3631;
  --cream: #f6f1e7;        /* crème */
  --cream-2: #efe7d7;
  --paper: #fbf8f1;
  --gold: #b08d57;         /* accent doré / terre */
  --gold-dark: #8c6d3f;
  --line: #e3d9c6;
  --muted: #6f675c;
  --white: #ffffff;
  --maxw: 1180px;
  --radius: 14px;
  --shadow: 0 18px 50px -20px rgba(28, 26, 23, 0.25);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ===== RESET ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ===== TYPOGRAPHY HELPERS ===== */
.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
}
.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 14px;
}
.section-label.light { color: var(--gold); }
.section-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
}
.section-intro {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.08rem;
  margin-bottom: 52px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary { background: var(--ink); color: var(--cream); }
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); transform: translateY(-2px); }
.btn-lg { padding: 17px 40px; font-size: 1rem; }

/* ===== HEADER ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(251, 248, 241, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease, box-shadow .3s ease;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(0,0,0,.4); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.4rem;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: var(--ink); color: var(--cream);
  border-radius: 50%;
  letter-spacing: 0.02em;
}
.brand-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.05;
  letter-spacing: 0.01em;
}
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-size: 0.92rem; color: var(--ink-soft); font-weight: 500; transition: color .2s; }
.nav a:hover { color: var(--gold-dark); }
.nav .nav-cta {
  background: var(--ink); color: var(--cream);
  padding: 10px 22px; border-radius: 999px;
}
.nav .nav-cta:hover { background: var(--gold-dark); color: var(--cream); }
.nav-toggle { display: none; background: none; border: 0; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--ink); transition: .3s; }

/* ===== HERO ===== */
.hero {
  padding: 180px 0 110px;
  background:
    radial-gradient(1200px 500px at 70% -10%, rgba(176,141,87,0.14), transparent 60%),
    linear-gradient(180deg, var(--cream) 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
}
.hero-inner { max-width: 880px; }
.hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 22px 0 26px;
}
.hero h1 span { color: var(--gold-dark); font-style: italic; }
.hero-sub { font-size: 1.2rem; color: var(--muted); max-width: 640px; margin-bottom: 38px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 64px; }
.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  padding-top: 40px; border-top: 1px solid var(--line);
  max-width: 760px;
}
.hero-stats strong { display: block; font-family: var(--serif); font-size: 2.1rem; font-weight: 600; color: var(--ink); }
.hero-stats span { font-size: 0.92rem; color: var(--muted); }

/* ===== SECTIONS ===== */
.section { padding: 110px 0; }
.section-alt { background: var(--cream); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ===== MAISON ===== */
.maison-grid { max-width: 820px; display: flex; flex-direction: column; gap: 22px; }
.maison-grid .lead { font-family: var(--serif); font-size: 1.6rem; line-height: 1.4; color: var(--ink); font-weight: 500; }
.maison-grid p { color: var(--ink-soft); font-size: 1.05rem; }

/* ===== CARDS (OFFRE) ===== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 32px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--gold); }
.card-num {
  font-family: var(--serif);
  font-size: 1.1rem; font-weight: 700;
  color: var(--gold-dark);
  display: inline-grid; place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--gold); border-radius: 50%;
  margin-bottom: 22px;
}
.card h3 { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; margin-bottom: 18px; }
.card ul { display: flex; flex-direction: column; gap: 12px; }
.card li { position: relative; padding-left: 22px; color: var(--ink-soft); font-size: 0.98rem; }
.card li::before { content: ""; position: absolute; left: 0; top: 10px; width: 7px; height: 7px; background: var(--gold); border-radius: 50%; }

/* ===== FEATURES (ATOUTS) ===== */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.feature { background: var(--paper); padding: 36px 32px; transition: background .3s; }
.feature:hover { background: var(--white); }
.feature h4 { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; margin-bottom: 12px; }
.feature p { color: var(--muted); font-size: 0.98rem; }

/* ===== METHODE (DARK) ===== */
.section-dark { background: var(--ink); color: var(--cream); }
.section-dark .section-title { color: var(--cream); }
.section-dark .section-intro { color: rgba(246,241,231,0.7); }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; counter-reset: step; }
.steps li { position: relative; padding-top: 28px; border-top: 2px solid rgba(176,141,87,0.45); }
.step-num { font-family: var(--serif); font-size: 2rem; font-weight: 700; color: var(--gold); display: block; margin-bottom: 14px; }
.steps h4 { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; margin-bottom: 10px; color: var(--cream); }
.steps p { color: rgba(246,241,231,0.66); font-size: 0.92rem; }
.methode-foot { margin-top: 56px; text-align: center; font-family: var(--serif); font-size: 1.3rem; font-style: italic; color: var(--gold); }

/* ===== CLIENTS ===== */
.clients-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.client { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 34px; border-left: 3px solid var(--gold); transition: transform .3s, box-shadow .3s; }
.client:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.client h4 { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; margin-bottom: 12px; }
.client p { color: var(--muted); }

/* ===== ENGAGEMENT ===== */
.engagements { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.engagement { padding: 32px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); transition: border-color .3s, transform .3s; }
.engagement:hover { border-color: var(--gold); transform: translateY(-4px); }
.engagement h4 { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; margin: 18px 0 10px; }
.engagement p { color: var(--muted); font-size: 0.95rem; }

/* ===== CTA / CONTACT ===== */
.cta {
  background:
    radial-gradient(900px 400px at 50% 0%, rgba(176,141,87,0.18), transparent 60%),
    var(--ink);
  color: var(--cream);
  padding: 120px 0;
  text-align: center;
}
.cta-inner { max-width: 820px; margin: 0 auto; }
.cta h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.08; margin-bottom: 22px; }
.cta-sub { color: rgba(246,241,231,0.72); font-size: 1.1rem; max-width: 640px; margin: 0 auto 50px; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 50px; }
.contact-item { display: flex; flex-direction: column; gap: 8px; padding: 26px 20px; border: 1px solid rgba(176,141,87,0.4); border-radius: var(--radius); transition: border-color .3s, background .3s; }
a.contact-item:hover { border-color: var(--gold); background: rgba(176,141,87,0.1); }
.contact-label { font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.contact-value { font-size: 1rem; word-break: break-word; }

/* ===== FOOTER ===== */
.footer { background: #141210; color: rgba(246,241,231,0.6); padding: 56px 0; text-align: center; }
.footer-brand { color: var(--cream); display: block; font-size: 1.3rem; margin-bottom: 14px; }
.footer p { font-size: 0.92rem; }
.footer-small { margin-top: 14px; font-size: 0.82rem; color: rgba(246,241,231,0.4); }

/* ===== REVEAL ANIMATION ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
  .cards, .features, .steps { grid-template-columns: repeat(2, 1fr); }
  .engagements { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav {
    position: fixed; inset: 76px 0 auto 0;
    flex-direction: column; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 12px 0; transform: translateY(-120%); transition: transform .35s ease; align-items: stretch;
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 14px 28px; }
  .nav .nav-cta { margin: 10px 28px; text-align: center; }
  .nav-toggle { display: flex; }
  .nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { padding: 140px 0 80px; }
  .hero-stats { grid-template-columns: 1fr; gap: 20px; }
  .cards, .features, .steps, .clients-grid, .engagements { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
  .features { gap: 1px; }
}
