:root {
  --primary: #353534;
  --primary-d: #1f1f1e;
  --accent: #91002c;
  --accent-d: #6e0022;
  --accent-soft: rgba(145, 0, 44, 0.08);
  --ink: #2a2a29;
  --ink-soft: #4a4a48;
  --muted: #7a7a78;
  --bg: #ffffff;
  --bg-soft: #f4f4f2;
  --line: #e6e1d8;
  --white: #ffffff;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 24px 60px rgba(20, 18, 18, 0.16);
  --shadow-sm: 0 8px 26px rgba(20, 18, 18, 0.08);
  --maxw: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }

body {
  font-family: 'Lato', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.12;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.01em;
}

h1 em, h2 em, h3 em {
  font-style: italic;
  font-weight: 700;
  color: var(--accent);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: min(var(--maxw), 92%); margin-inline: auto; }

/* Reveal robuste : visible par défaut, masqué seulement quand JS est prêt */
.reveal { opacity: 1; transform: none; }
html.js-ready .reveal { opacity: 0; transform: translateY(26px); transition: opacity .75s cubic-bezier(.2,.7,.2,1), transform .75s cubic-bezier(.2,.7,.2,1); }
html.js-ready .reveal.in { opacity: 1; transform: translateY(0); }

/* Eyebrow à tiret-liseret */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .74rem; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 16px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--accent);
}
.eyebrow.light { color: #e8e6e3; }
.eyebrow.light::before { background: var(--accent); }

.sec-head { max-width: 780px; margin: 0 auto 56px; text-align: center; }
.sec-head h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
.sec-head p { color: var(--ink-soft); margin-top: 18px; font-size: 1.08rem; }

.section { padding: 100px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--primary); color: #e8e6e3; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: 'Lato', sans-serif; font-weight: 700; font-size: .96rem;
  padding: 15px 30px; border-radius: 999px; cursor: pointer; border: none;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 12px 28px rgba(145,0,44,.28); }
.btn-accent:hover { background: var(--accent-d); transform: translateY(-2px); }
.btn-dark { background: var(--primary); color: #fff; }
.btn-dark:hover { background: var(--primary-d); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.55); }
.btn-outline-light:hover { background: #fff; color: var(--primary); border-color: #fff; }
.btn-lg { padding: 17px 36px; font-size: 1.02rem; }
.btn-sm { padding: 11px 22px; font-size: .88rem; }

/* Top bar */
.topbar { background: var(--primary-d); color: #cfc9c4; font-size: .82rem; }
.topbar-inner { display: flex; justify-content: center; flex-wrap: wrap; padding: 10px 0; }
.topbar-inner span { display: inline-flex; align-items: center; gap: 8px; padding: 0 22px; border-right: 1px solid rgba(255,255,255,.12); }
.topbar-inner span:last-child { border-right: none; }
.topbar-inner svg { width: 15px; height: 15px; color: var(--accent); flex-shrink: 0; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 100; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 0; }
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 46px; width: auto; }
.nav-logo-img { height: 44px; width: auto; }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { color: var(--ink-soft); font-weight: 700; font-size: .9rem; letter-spacing: .03em; transition: color .15s; }
.nav-links a:hover { color: var(--accent); }
.nav-cta { display: flex; gap: 12px; align-items: center; }
.nav-cta-mobile { display: none; }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.burger span { width: 26px; height: 2px; background: var(--primary); border-radius: 2px; }

/* Hero */
.hero { position: relative; min-height: 92vh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--primary-d); }
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  background: url("assets/logo.webp") center/cover no-repeat;
}
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(31,31,30,.62) 0%, rgba(31,31,30,.35) 45%, rgba(31,31,30,.84) 100%); }
.hero-inner { position: relative; z-index: 2; padding: 0 0 92px; width: min(var(--maxw), 92%); margin-inline: auto; }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 6vw, 4.8rem); max-width: 17ch; line-height: 1.05; }
.hero h1 em { color: var(--accent); font-style: italic; }
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: #e6e0db; margin: 26px 0 38px; max-width: 54ch; font-weight: 300; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-proof { display: flex; gap: 40px; margin-top: 54px; flex-wrap: wrap; }
.hero-proof .p { border-left: 2px solid var(--accent); padding-left: 18px; }
.hero-proof .p b { display: block; font-family: 'Playfair Display', serif; font-size: 2.1rem; color: #fff; line-height: 1; }
.hero-proof .p span { font-size: .76rem; color: #cfc9c4; letter-spacing: .12em; text-transform: uppercase; }

/* Trust bar agréments */
.trust { background: var(--primary-d); border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); }
.trust-inner { display: flex; align-items: center; justify-content: center; gap: 56px; flex-wrap: wrap; padding: 34px 0; }
.trust-inner img { height: 44px; width: auto; filter: brightness(0) invert(1); opacity: .9; }
.trust-label { width: 100%; text-align: center; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: #8e8e8e; margin-bottom: 18px; }

/* Cartes services */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 28px; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s, border-color .25s; height: 100%; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 30%, var(--line)); }
.card .ico { width: 58px; height: 58px; border-radius: 14px; background: var(--accent-soft); display: grid; place-items: center; margin-bottom: 18px; flex-shrink: 0; }
.card .ico svg { width: 28px; height: 28px; color: var(--accent); }
.card h3 { font-size: 1.25rem; margin-bottom: 12px; min-height: 2.6em; display: flex; align-items: flex-start; }
.card p { color: var(--ink-soft); font-size: .96rem; flex-grow: 1; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

/* Pain points */
.pain { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pain-item { padding: 26px 22px; border-top: 2px solid var(--accent); background: var(--white); border-radius: 0 0 var(--radius) var(--radius); }
.pain-item .ico { width: 44px; height: 44px; color: var(--accent); margin-bottom: 14px; }
.pain-item h4 { font-size: 1.05rem; margin-bottom: 8px; font-family: 'Lato', sans-serif; font-weight: 700; }
.pain-item p { font-size: .9rem; color: var(--muted); }

/* À propos */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: center; }
.about-visual { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/5; background: var(--primary-d); display: grid; place-items: center; padding: 36px; }
.about-visual::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 30%, rgba(145,0,44,.45) 0%, transparent 50%), radial-gradient(circle at 80% 80%, rgba(255,255,255,.05) 0%, transparent 45%); }
.about-visual-inner { position: relative; z-index: 2; text-align: center; color: #fff; }
.about-visual-symbol { font-family: 'Playfair Display', serif; font-size: 5rem; font-weight: 700; color: var(--accent); line-height: 1; margin-bottom: 22px; }
.about-visual-stat { background: var(--accent); padding: 22px 30px; border-radius: var(--radius-sm); display: inline-block; }
.about-visual-stat b { font-family: 'Playfair Display', serif; font-size: 3.4rem; display: block; line-height: 1; }
.about-visual-stat span { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; display: block; margin-top: 6px; }
.about-visual-caption { margin-top: 24px; font-size: .9rem; letter-spacing: .16em; text-transform: uppercase; color: #cfc9c4; }
.about-text ul { list-style: none; margin: 26px 0 32px; display: grid; gap: 14px; }
.about-text li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); }
.about-text li svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }

/* Statband sombre */
.statband { background: var(--primary-d); padding: 84px 0; }
.statband-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.stat { border-left: 2px solid var(--accent); padding-left: 22px; }
.stat strong { font-family: 'Playfair Display', serif; font-size: clamp(2.2rem, 4vw, 3.2rem); display: block; color: #fff; line-height: 1; }
.stat span { font-size: .74rem; color: #b5afa9; letter-spacing: .14em; text-transform: uppercase; display: block; margin-top: 10px; }

/* Méthode */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.step { position: relative; padding: 36px 28px 30px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.step .n { font-family: 'Playfair Display', serif; font-style: italic; font-size: 3rem; color: var(--accent); opacity: .25; line-height: 1; margin-bottom: 8px; }
.step h4 { font-size: 1.15rem; margin-bottom: 10px; }
.step p { color: var(--ink-soft); font-size: .95rem; }

/* Parallax citation */
.parallax { position: relative; padding: 130px 0; background-color: var(--primary); background-attachment: fixed; background-size: cover; background-position: center; color: #fff; text-align: center; overflow: hidden; }
.parallax::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(31,31,30,.78) 0%, rgba(31,31,30,.9) 100%); z-index: 1; }
.parallax-inner { position: relative; z-index: 2; width: min(var(--maxw), 92%); margin-inline: auto; }
.parallax blockquote { font-family: 'Playfair Display', serif; font-style: italic; font-size: clamp(1.6rem, 3.4vw, 2.6rem); max-width: 26ch; margin: 0 auto; line-height: 1.32; }
.parallax blockquote::before { content: "«"; display: block; font-size: 4rem; color: var(--accent); line-height: 1; margin-bottom: 8px; }
.parallax cite { display: block; margin-top: 26px; font-style: normal; letter-spacing: .14em; text-transform: uppercase; font-size: .76rem; color: #cfc9c4; }
.parallax cite .accent { color: var(--accent); }

/* Équipe */
.team { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.team-card { text-align: center; }
.team-card .ph { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; margin-bottom: 18px; background: var(--bg-soft); box-shadow: var(--shadow-sm); }
.team-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.team-card:hover .ph img { transform: scale(1.05); }
.team-card h4 { font-size: 1.05rem; margin-bottom: 4px; font-family: 'Lato', sans-serif; font-weight: 700; }
.team-card p { font-size: .82rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: start; }
.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 38px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: block; font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 7px; }
.form input, .form textarea, .form select { width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); font-family: 'Lato', sans-serif; font-size: .96rem; background: var(--bg-soft); transition: border-color .15s; color: var(--ink); }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--accent); background: var(--bg); }
.form textarea { min-height: 130px; resize: vertical; }
.form-success { display: none; padding: 18px; border-radius: var(--radius-sm); background: rgba(145,0,44,.08); color: var(--accent-d); font-weight: 700; margin-bottom: 18px; }
.form-success.visible { display: block; }
.contact-info { display: grid; gap: 28px; }
.contact-block h4 { font-family: 'Lato', sans-serif; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; font-weight: 700; }
.contact-block p, .contact-block a { color: var(--ink-soft); font-size: 1.02rem; line-height: 1.6; }
.contact-block a { display: block; transition: color .15s; }
.contact-block a:hover { color: var(--accent); }
.contact-block .line { display: flex; gap: 12px; align-items: flex-start; }
.contact-block .line svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; margin-top: 4px; }

.cta-band { background: var(--accent); color: #fff; padding: 80px 0; text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(2rem, 4vw, 3.2rem); max-width: 24ch; margin: 0 auto 18px; }
.cta-band p { color: rgba(255,255,255,.85); font-size: 1.1rem; max-width: 52ch; margin: 0 auto 30px; }

/* Footer */
.footer { background: var(--primary-d); color: #b5afa9; padding: 72px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 46px; }
.footer-brand img.flogo { height: 54px; margin-bottom: 18px; filter: grayscale(1) brightness(0) invert(1); }
.footer-brand p { font-size: .95rem; line-height: 1.7; max-width: 32ch; }
.footer h5 { color: #fff; font-weight: 700; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.footer a { display: block; padding: 5px 0; font-size: .92rem; color: #b5afa9; transition: color .15s; }
.footer a:hover { color: var(--accent); }
.footer address { font-style: normal; font-size: .92rem; line-height: 1.8; color: #b5afa9; }
.footer .socials { display: flex; gap: 14px; margin-top: 16px; }
.footer .socials a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); color: #cfc9c4; transition: background .2s, color .2s, border-color .2s; }
.footer .socials a:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.footer .socials svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 54px; padding-top: 24px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .82rem; color: #8e8e8e; }

/* Responsive */
@media (max-width: 1040px) {
  .section { padding: 80px 0; }
  .grid-3, .pain, .steps { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-img { max-width: 480px; margin: 0 auto; }
  .team { grid-template-columns: repeat(3, 1fr); }
  .statband-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); flex-direction: column; gap: 0; padding: 0 6%; max-height: 0; overflow: hidden; transition: max-height .35s; box-shadow: var(--shadow-sm); border-bottom: 1px solid var(--line); }
  .nav-links.open { max-height: 420px; padding: 12px 6%; }
  .nav-links a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav-cta .btn:not(.burger) { display: none; }
  .nav-cta-mobile { display: block; color: var(--accent); font-weight: 700; margin-top: 8px; }
  .burger { display: flex; }
  .grid-3, .pain, .steps { grid-template-columns: 1fr; }
  .team { grid-template-columns: repeat(2, 1fr); }
  .statband-grid { grid-template-columns: 1fr; }
  .statband { padding: 64px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-proof { gap: 22px; }
  .parallax { background-attachment: scroll; }
  .form-row { grid-template-columns: 1fr; }
  .hero-inner { padding-bottom: 64px; }
}
