/* =========================================================
   Cabinet SATTI – feuille de style
   Couleurs principales : modifiez-les ici
   ========================================================= */
:root {
  --ink: #16233a;        /* bleu nuit */
  --ink-soft: #3c4a63;
  --paper: #faf8f4;      /* fond crème */
  --paper-alt: #f1ede5;
  --accent: #b5874a;     /* or / laiton */
  --accent-dark: #94692f;
  --line: #e2ddd2;
  --white: #ffffff;
  --radius: 14px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { max-width: 100%; }

.container { width: min(1100px, 100% - 48px); margin-inline: auto; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .6em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.25rem; }

.eyebrow {
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-dark); margin: 0 0 1rem;
}
.eyebrow-light { color: var(--accent); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-block; padding: .85rem 1.5rem; border-radius: 999px;
  font-weight: 600; font-size: .95rem; text-decoration: none; border: 1.5px solid transparent;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
  font-family: var(--sans);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-block { width: 100%; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 244, .92); backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.logo { display: flex; align-items: center; gap: .65rem; text-decoration: none; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: var(--accent); font-family: var(--serif); font-size: 1.25rem; font-weight: 600;
}
.logo-text { font-size: 1.05rem; letter-spacing: .02em; }
.logo-text strong { letter-spacing: .12em; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav a { text-decoration: none; font-size: .95rem; font-weight: 500; color: var(--ink-soft); }
.nav a:hover { color: var(--ink); }
.nav .nav-cta { color: var(--white); background: var(--ink); padding: .55rem 1.2rem; border-radius: 999px; }
.nav .nav-cta:hover { background: var(--accent-dark); color: var(--white); }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .25s, opacity .25s; }

/* ---------- Hero ---------- */
.hero {
  padding: clamp(4rem, 12vw, 8rem) 0 clamp(4rem, 10vw, 7rem);
  background:
    radial-gradient(circle at 85% 20%, rgba(181, 135, 74, .14), transparent 45%),
    linear-gradient(var(--paper), var(--paper));
  border-bottom: 1px solid var(--line);
}
.hero-inner h1 { max-width: 820px; }
.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 620px; margin: 0 0 2.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 9vw, 6.5rem) 0; }
.section-alt { background: var(--paper-alt); }
.section-dark { background: var(--ink); color: var(--paper); }

.two-col { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.prose p { margin: 0 0 1.1rem; color: var(--ink-soft); }
.prose strong { color: var(--ink); }

.facts { list-style: none; padding: 0; margin: 2rem 0 0; border-top: 1px solid var(--line); }
.facts li { display: flex; justify-content: space-between; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.facts span { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--accent-dark); font-weight: 600; padding-top: .15rem; }

/* ---------- Cartes missions ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2.5rem; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.75rem; transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px -18px rgba(22, 35, 58, .35); }
.card-num { font-family: var(--serif); color: var(--accent); font-size: 1rem; margin-bottom: 1rem; }
.card p { margin: 0; color: var(--ink-soft); font-size: .97rem; }

/* ---------- Étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2.5rem; position: relative; }
.step-dot {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--accent); color: var(--accent-dark);
  font-family: var(--serif); font-weight: 600; margin-bottom: 1.2rem; background: var(--paper);
}
.step p { color: var(--ink-soft); margin: 0; }

/* ---------- Contact ---------- */
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; }
.contact-list li { padding: 1rem 0; border-bottom: 1px solid rgba(250, 248, 244, .14); }
.contact-label { display: block; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: .2rem; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 3px; }

.contact-form {
  background: var(--paper); color: var(--ink); border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: .35rem; }
.optional { font-weight: 400; color: var(--ink-soft); }
.field input,
.field textarea {
  width: 100%; padding: .8rem .9rem; border: 1px solid var(--line); border-radius: 10px;
  font: inherit; font-size: 1rem; background: var(--white); color: var(--ink); resize: vertical;
}
.field input:focus,
.field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.field.invalid input,
.field.invalid textarea { border-color: #c0392b; }
.form-note { font-size: .9rem; margin: .9rem 0 0; min-height: 1.4em; color: var(--ink-soft); }

/* ---------- Pied de page ---------- */
.site-footer { background: #0f1a2c; color: rgba(250, 248, 244, .65); font-size: .88rem; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 2rem; padding: 1.6rem 0; }
.footer-inner p { margin: 0; }

/* ---------- Mentions légales ---------- */
.legal {
  max-width: 560px; width: calc(100% - 32px); border: 0; border-radius: var(--radius);
  padding: 2rem; color: var(--ink); background: var(--paper);
}
.legal::backdrop { background: rgba(15, 26, 44, .6); }
.legal p { font-size: .95rem; color: var(--ink-soft); }

/* ---------- Apparition au défilement ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav.open { max-height: 320px; }
  .nav a { padding: 1rem 24px; border-top: 1px solid var(--line); }
  .nav .nav-cta { border-radius: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .cards, .steps { grid-template-columns: 1fr; }
  .facts li { flex-direction: column; gap: .1rem; }
}
