/* =====================================================================
   Kanp — vitrine. Design clair, sobre, haut de gamme. Sans emoji.
   ===================================================================== */
:root {
  --bg:        #ffffff;
  --bg-soft:   #f6f6f3;   /* sections alternées, crème très clair */
  --bg-dark:   #14181f;   /* footer, citation */
  --ink:       #14181f;   /* texte principal */
  --ink-soft:  #5b6470;   /* texte secondaire */
  --ink-faint: #8b94a1;
  --line:      #e7e7e2;
  --line-soft: #f0f0ec;
  --accent:    #1f4ed8;   /* bleu encre sobre */
  --accent-ink:#16307f;
  --on-dark:   #eef0f3;
  --on-dark-mut:#9aa3b1;
  --radius:    14px;
  --radius-sm: 8px;
  --maxw:      1160px;
  --shadow:    0 24px 60px -28px rgba(20,24,31,.22);
  --shadow-sm: 0 12px 32px -18px rgba(20,24,31,.16);
  --font:      'Inter', system-ui, -apple-system, sans-serif;
  --font-head: 'Fraunces', Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.12; letter-spacing: -.01em; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.accent { color: var(--accent); }

.eyebrow {
  font-size: .78rem; text-transform: uppercase; letter-spacing: .18em;
  font-weight: 600; color: var(--accent); margin-bottom: 18px;
}
.lead { font-size: 1.08rem; color: var(--ink-soft); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font); font-weight: 600; font-size: .95rem;
  padding: 13px 26px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .2s;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-ink); transform: translateY(-1px); }
.btn-ghost { border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-1px); }
.btn-sm { padding: 9px 18px; font-size: .9rem; }
.btn-lg { padding: 15px 30px; font-size: 1rem; }
.btn-block { width: 100%; }

/* ---------- En-tête ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; padding: 20px 0;
  transition: background .3s, padding .3s, box-shadow .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(255,255,255,.88); backdrop-filter: blur(12px);
  padding: 13px 0; border-bottom-color: var(--line);
}
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.logo { font-family: var(--font-head); font-weight: 600; font-size: 1.5rem; letter-spacing: -.02em; color: var(--ink); justify-self: start; }
.logo-dot { color: var(--accent); }
.logo-light { color: #fff; }
.nav { display: flex; align-items: center; justify-content: center; gap: 34px; grid-column: 2; }
.nav-toggle { justify-self: end; grid-column: 3; }
.nav a { font-size: .95rem; font-weight: 500; color: var(--ink-soft); transition: color .2s; }
.nav a:hover { color: var(--ink); }
.nav a.btn-primary { color: #fff; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }

/* ---------- Hero ---------- */
.hero { padding: 190px 0 110px; position: relative; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 78% 8%, #1f4ed80a, transparent 70%),
    linear-gradient(180deg, #fafafa, #ffffff 60%);
}
.hero-inner { max-width: 900px; }
.hero-title { font-size: clamp(2.6rem, 6.2vw, 4.6rem); font-weight: 600; margin-bottom: 26px; }
.hero-lede { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--ink-soft); max-width: 640px; margin-bottom: 36px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Bandeau confiance ---------- */
.trustbar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.trustbar-inner { display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap; padding: 22px 28px; color: var(--ink-soft); font-size: .92rem; font-weight: 500; }
.trustbar .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-faint); }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-title { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 600; margin-bottom: 16px; }
.section-lede { font-size: 1.08rem; color: var(--ink-soft); max-width: 600px; }

/* ---------- Approche ---------- */
.section-approche { background: var(--bg-soft); }
.approche-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: center; }
.approche-text .section-title { margin-bottom: 22px; }
.approche-text .lead { margin-bottom: 18px; }
.approche-text p { color: var(--ink-soft); }
.approche-side { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-sm); }
.checklist { list-style: none; }
.checklist li { position: relative; padding: 14px 0 14px 36px; border-bottom: 1px solid var(--line-soft); font-weight: 500; color: var(--ink); }
.checklist li:last-child { border-bottom: 0; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 18px; width: 18px; height: 18px;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f4ed8' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
}

/* ---------- Services (cartes) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; transition: border-color .25s, transform .25s, box-shadow .25s; }
.card:hover { border-color: #cfd4dc; transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.card-ico { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 11px; background: #1f4ed80f; color: var(--accent); margin-bottom: 20px; }
.card-ico svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: .97rem; }

/* ---------- Méthode (étapes) ---------- */
.section-methode { background: var(--bg-soft); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 56px; max-width: 920px; }
.steps li { display: flex; gap: 22px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.step-num { font-family: var(--font-head); font-size: 1.6rem; font-weight: 600; color: var(--accent); flex: 0 0 auto; line-height: 1; padding-top: 2px; }
.steps h3 { font-size: 1.2rem; margin-bottom: 6px; }
.steps p { color: var(--ink-soft); font-size: .96rem; }

/* ---------- Formules ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 38px 30px; display: flex; flex-direction: column; position: relative; transition: transform .25s, box-shadow .25s; }
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.plan-featured { border: 1.5px solid var(--accent); box-shadow: var(--shadow-sm); }
.plan-badge { position: absolute; top: -13px; left: 30px; background: var(--accent); color: #fff; font-family: var(--font); font-weight: 600; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; }
.plan-name { font-size: 1.4rem; margin-bottom: 8px; }
.plan-desc { color: var(--ink-soft); margin-bottom: 26px; font-size: .98rem; }
.plan-feats { list-style: none; margin-bottom: 30px; flex: 1; }
.plan-feats li { position: relative; padding: 11px 0 11px 28px; border-bottom: 1px solid var(--line-soft); font-size: .96rem; color: var(--ink); }
.plan-feats li:first-child { color: var(--ink-soft); font-weight: 600; }
.plan-feats li::before {
  content: ""; position: absolute; left: 0; top: 15px; width: 16px; height: 16px;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f4ed8' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
}

/* ---------- Réalisations (showcase) ---------- */
.showcase { display: block; max-width: 920px; margin: 0 auto; }
.showcase-window { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s; background: var(--bg); }
.showcase:hover .showcase-window { transform: translateY(-5px); box-shadow: 0 34px 70px -30px rgba(20,24,31,.3); }
.showcase-bar { display: flex; align-items: center; gap: 7px; padding: 13px 18px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.showcase-bar span { width: 11px; height: 11px; border-radius: 50%; background: #d9d9d2; }
.showcase-bar em { margin-left: 12px; font-style: normal; color: var(--ink-faint); font-size: .85rem; }
.showcase-body { padding: 64px 40px; background: radial-gradient(70% 90% at 50% 0%, #1f4ed808, transparent), var(--bg); text-align: center; }
.showcase-meta h3 { font-size: 1.6rem; margin-bottom: 12px; }
.showcase-meta p { color: var(--ink-soft); max-width: 460px; margin: 0 auto 22px; }
.showcase-link { color: var(--accent); font-weight: 600; font-size: .98rem; }

/* ---------- Citation ---------- */
.section-quote { background: var(--bg-dark); padding: 96px 0; }
.section-quote blockquote { font-family: var(--font-head); font-weight: 500; font-size: clamp(1.5rem, 3.4vw, 2.3rem); line-height: 1.4; color: var(--on-dark); max-width: 920px; margin: 0 auto; text-align: center; }

/* ---------- Contact ---------- */
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-text .lead { margin-bottom: 30px; }
.contact-list { list-style: none; }
.contact-list li { padding: 14px 0; border-top: 1px solid var(--line); }
.contact-label { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-faint); margin-bottom: 4px; }
.contact-list a { font-size: 1.1rem; font-weight: 500; }
.contact-list a:hover { color: var(--accent); }
.contact-form { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .86rem; font-weight: 500; color: var(--ink-soft); }
.contact-form input, .contact-form textarea { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; font-family: var(--font); font-size: .98rem; color: var(--ink); transition: border-color .2s; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); }
.req { color: var(--accent); }
.consent { display: flex; align-items: flex-start; gap: 10px; font-size: .86rem; color: var(--ink-soft); }
.consent input { margin-top: 4px; }
.form-note { font-size: .92rem; padding: 11px 14px; border-radius: var(--radius-sm); }
.form-note.ok { background: #1f4ed812; color: var(--accent-ink); }
.form-note.err { background: #d92d2010; color: #b3261e; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-dark); color: var(--on-dark); padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 44px; }
.footer-brand p { color: var(--on-dark-mut); font-size: .92rem; margin-top: 16px; max-width: 280px; }
.footer-col h4 { font-family: var(--font); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--on-dark-mut); margin-bottom: 16px; font-weight: 600; }
.footer-col a { display: block; padding: 6px 0; color: var(--on-dark); font-size: .95rem; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid #2a2f38; color: var(--on-dark-mut); font-size: .86rem; }

/* ---------- Lien texte ---------- */
.text-link { display: inline-block; margin-top: 24px; color: var(--accent); font-weight: 600; font-size: .98rem; transition: gap .2s; }
.text-link:hover { color: var(--accent-ink); }

/* ---------- Nav active ---------- */
.nav a.is-active { color: var(--ink); font-weight: 600; }

/* ---------- Hero de page (sous-pages) ---------- */
.page-hero { padding: 180px 0 60px; background: linear-gradient(180deg, #fafafa, #fff); border-bottom: 1px solid var(--line); }
.page-title { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 600; margin-bottom: 20px; max-width: 800px; }
.page-lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 660px; }

/* ---------- À propos (page approche) ---------- */
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: center; }
.about-text .lead { margin-bottom: 18px; }
.about-text p { color: var(--ink-soft); }
.about-aside { }
.about-stat { background: var(--bg); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.about-stat-label { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); font-weight: 600; margin-bottom: 12px; }
.about-stat p { color: var(--ink); font-size: 1.05rem; line-height: 1.6; }

/* ---------- CTA final ---------- */
.section-cta { background: var(--bg); border-top: 1px solid var(--line); }
.cta-inner { text-align: center; max-width: 640px; margin: 0 auto; }
.cta-inner .section-title { margin-bottom: 16px; }
.cta-inner .section-lede { margin: 0 auto 30px; }

/* ---------- Page contact ---------- */
.section-contact-page { padding-top: 80px; }
.contact-h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 18px; }

/* ---------- Reveal (animations sobres) ---------- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal:nth-child(2) { transition-delay: .07s; }
.js .reveal:nth-child(3) { transition-delay: .14s; }
.js .reveal:nth-child(4) { transition-delay: .21s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .approche-grid { grid-template-columns: 1fr; gap: 36px; }
  .cards, .plans { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .contact-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav { position: fixed; inset: 0 0 0 auto; width: min(82vw, 320px); flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 6px; padding: 100px 30px; background: var(--bg); border-left: 1px solid var(--line); transform: translateX(100%); transition: transform .3s ease; box-shadow: var(--shadow); }
  .nav.open { transform: none; }
  .nav a { padding: 12px 0; width: 100%; font-size: 1.05rem; }
  .nav-toggle { display: flex; z-index: 101; }
  body.nav-open .nav-toggle span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2){ opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }
  .section { padding: 76px 0; }
  .hero { padding: 150px 0 80px; }
  .cards, .plans, .footer-grid { grid-template-columns: 1fr; }
  .section-head { margin-bottom: 40px; }
}
