/* ============================================================
   MUSETE Conseil — Feuille de style
   Palette : bleu nuit institutionnel + accent or (prestige)
   ============================================================ */

:root {
  --navy:        #0b2540;
  --navy-deep:   #07182b;
  --navy-soft:   #163a5f;
  --gold:        #c8a24a;
  --gold-soft:   #e4cd91;
  --ink:         #1a2330;
  --muted:       #5b6b7d;
  --line:        #e3e8ef;
  --bg:          #ffffff;
  --bg-alt:      #f6f8fb;
  --white:       #ffffff;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1140px;
  --radius: 14px;
  --shadow: 0 10px 40px rgba(11, 37, 64, 0.08);
  --shadow-lg: 0 24px 60px rgba(11, 37, 64, 0.14);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 86px; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; color: var(--navy); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.97rem;
  letter-spacing: 0.01em;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  cursor: pointer;
  border: none;
}
.btn-primary { background: var(--gold); color: var(--navy-deep); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(200,162,74,.35); }
.btn-ghost { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-block { width: 100%; }

/* ---------- En-tête / navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--navy); color: var(--gold);
  font-family: var(--serif); font-weight: 600; font-size: 1.05rem;
}
.brand-name { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--navy); letter-spacing: .02em; }
.brand-light { color: var(--gold); font-weight: 400; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-size: 0.95rem; font-weight: 500; color: var(--ink); transition: color .15s; }
.nav a:hover { color: var(--gold); }
.nav-cta {
  background: var(--navy); color: var(--white) !important;
  padding: 10px 20px; border-radius: 999px;
}
.nav-cta:hover { background: var(--navy-soft); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); transition: .25s; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(200,162,74,.16), transparent 60%),
    linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-soft) 100%);
  color: var(--white);
  padding: 100px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero-inner { position: relative; z-index: 1; }
.hero-eyebrow {
  text-transform: uppercase; letter-spacing: .18em; font-size: .8rem;
  font-weight: 600; color: var(--gold-soft); margin-bottom: 22px;
}
.hero-title { font-size: clamp(2rem, 4.6vw, 3.4rem); color: var(--white); margin-bottom: 24px; }
.hero-subtitle { max-width: 700px; font-size: 1.12rem; color: rgba(255,255,255,.85); margin-bottom: 22px; }
.hero-mission {
  max-width: 700px; font-size: 1.02rem; color: rgba(255,255,255,.78);
  border-left: 3px solid var(--gold); padding-left: 18px; margin-bottom: 38px;
}
.hero-mission strong { color: var(--gold-soft); }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-alt); }
.section-eyebrow {
  text-transform: uppercase; letter-spacing: .16em; font-size: .78rem;
  font-weight: 700; color: var(--gold); margin-bottom: 14px;
}
.section-title { font-size: clamp(1.6rem, 3vw, 2.3rem); max-width: 760px; margin-bottom: 18px; }
.section-lead { color: var(--muted); max-width: 640px; margin-bottom: 40px; font-size: 1.05rem; }

/* ---------- Texte courant (cabinet / références) ---------- */
.prose { max-width: 820px; }
.prose p { margin-bottom: 18px; color: #36475a; font-size: 1.07rem; }
.prose p:last-child { margin-bottom: 0; }
.ref-note { font-size: .95rem !important; color: var(--muted) !important; font-style: italic; }

/* ---------- Chiffres clés ---------- */
.keyfigures { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 20px; }
.kf {
  background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--gold);
  border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow);
}
.kf strong { display: block; font-family: var(--serif); font-size: 1.18rem; color: var(--navy); margin-bottom: 10px; line-height: 1.25; }
.kf p { color: var(--muted); font-size: .95rem; }

/* ---------- Notre promesse (4 questions) ---------- */
.qa-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 20px; }
.qa {
  position: relative; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 28px 28px 30px; box-shadow: var(--shadow);
}
.qa-num { font-family: var(--serif); font-size: 1.6rem; color: var(--gold); font-weight: 600; }
.qa h3 { font-size: 1.2rem; margin: 8px 0 12px; }
.qa p { color: var(--muted); font-size: .98rem; }

/* ---------- Nos principes ---------- */
.principes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 20px; }
.principe {
  background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--gold);
  border-radius: 12px; padding: 24px;
}
.principe h3 { font-size: 1.15rem; margin-bottom: 8px; }
.principe p { color: var(--muted); font-size: .96rem; }

/* ---------- Nos fondations professionnelles ---------- */
.foundations { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 20px; }
.foundation {
  background: var(--navy); color: var(--white);
  border-radius: var(--radius); padding: 30px 28px; border-top: 3px solid var(--gold);
}
.foundation h3 { color: var(--white); font-size: 1.28rem; margin-bottom: 6px; }
.foundation-sub {
  display: block; color: var(--gold-soft); font-weight: 600; font-size: .9rem;
  letter-spacing: .04em; text-transform: uppercase; margin-bottom: 14px;
}
.foundation p { color: rgba(255,255,255,.8); font-size: .98rem; margin-bottom: 12px; }
.foundation p:last-child { margin-bottom: 0; }
.foundation-note { font-style: italic; color: rgba(255,255,255,.62) !important; font-size: .92rem !important; border-top: 1px solid rgba(255,255,255,.14); padding-top: 12px; }

/* ---------- Cards (expertises / insights) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gold-soft); }
.card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .97rem; }
.section-alt .card { background: var(--white); }

.card-post .post-cat,
.post-cat {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 12px;
}

/* ---------- Secteurs ---------- */
.sectors { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.sectors li {
  background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--gold);
  border-radius: 10px; padding: 20px 22px; font-weight: 600; color: var(--navy); font-size: 1.02rem;
}

/* ---------- Missions ---------- */
.missions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.mission {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.mission-tag {
  display: inline-block; background: var(--navy); color: var(--gold-soft);
  font-size: .73rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
}
.mission p { color: #36475a; font-size: 1.04rem; }

/* ---------- Contact ---------- */
.section-contact { background: linear-gradient(160deg, var(--navy-deep), var(--navy)); color: var(--white); }
.section-contact .section-title { color: var(--white); }
.section-contact .section-eyebrow { color: var(--gold-soft); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-intro p { color: rgba(255,255,255,.8); margin-bottom: 28px; max-width: 420px; }
.contact-coords { list-style: none; }
.contact-coords li { display: flex; flex-direction: column; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.14); }
.contact-coords span { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gold-soft); margin-bottom: 4px; }
.contact-coords a { font-size: 1.05rem; color: var(--white); }
.contact-coords a:hover { color: var(--gold-soft); }

.contact-form { background: var(--white); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-lg); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .85rem; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.field input, .field textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px;
  font-family: var(--sans); font-size: .97rem; color: var(--ink); background: #fbfcfe; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,162,74,.18); }
.field textarea { resize: vertical; }
.form-status { font-size: .9rem; text-align: center; margin-top: 14px; min-height: 1em; }
.form-status--pending { color: var(--muted); }
.form-status--success { color: #1c7c4a; font-weight: 600; }
.form-status--error   { color: #c0392b; font-weight: 600; }
.form-note { font-size: .82rem; color: var(--muted); text-align: center; margin-top: 10px; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.7); padding: 44px 0; }
.footer-wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-brand .brand-name { color: var(--white); }
.footer-brand p { font-size: .88rem; margin-top: 4px; }
.footer-copy { font-size: .85rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .cards, .sectors, .principes, .keyfigures { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--line); padding: 16px 24px;
  }
  .nav.open a { width: 100%; padding: 10px 0; }
  .nav-toggle { display: flex; }
  .cards, .sectors, .principes, .keyfigures, .qa-grid, .foundations { grid-template-columns: 1fr; }
  .hero { padding: 70px 0 60px; }
  .section { padding: 64px 0; }
}
