:root {
  --cream: #f6f3ee;
  --cream-dark: #efe9df;
  --ink: #1b1a17;
  --ink-dark: #131415;
  --ink-soft: #4a463f;
  --gold: #a98a54;
  --line: rgba(27, 26, 23, 0.14);
  --white: #ffffff;
  --serif: 'Poppins', sans-serif;
  --sans: 'Poppins', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  font-weight: 300;
  line-height: 1.6;
}

img { display: block; max-width: 100%; }

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

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

.container.narrow { max-width: 720px; }
.container.center { text-align: center; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.kicker {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.kicker.light { color: #d9cba3; }

.lead {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 18px auto 0;
  text-align: justify;
  text-align-last: center;
}
.lead.light { color: rgba(255,255,255,0.8); }
.lead.small { max-width: 460px; margin: 24px 0 0; text-align-last: left; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 15px 30px;
  border: 1px solid currentColor;
  transition: background 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}
.btn-line { color: var(--white); }
.btn-line:hover { background: var(--white); color: var(--ink); }
.btn-outline { color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-small { padding: 11px 22px; font-size: 11px; }

/* Header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
  padding: 26px 0;
}
.site-header.scrolled {
  background: rgba(246, 243, 238, 0.96);
  box-shadow: 0 1px 0 var(--line);
  padding: 14px 0;
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo { display: flex; align-items: center; gap: 10px; color: var(--white); transition: color 0.35s ease; }
.site-header.scrolled .logo { color: var(--ink); }
.logo-mark { display: flex; }
.logo-icon {
  height: 56px;
  width: auto;
  display: block;
  transition: filter 0.35s ease;
}
.site-header.scrolled .logo-icon { filter: invert(1); }
.logo-text-group {
  display: flex;
  flex-direction: column;
}
.logo-text {
  font-family: var(--serif);
  font-size: 44px;
  letter-spacing: 0.03em;
  line-height: 1;
}
.logo-text em { font-style: normal; font-weight: inherit; }
.logo-slogan {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  text-transform: uppercase;
  color: inherit;
  opacity: 0.75;
  margin-top: 4px;
  text-align: justify;
  text-align-last: justify;
}

.main-nav {
  display: flex;
  gap: 38px;
}
.main-nav a {
  color: var(--white);
  font-size: 13px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: color 0.35s ease, opacity 0.2s ease;
}
.main-nav a:hover { opacity: 0.7; }
.site-header.scrolled .main-nav a { color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 20px; }
.site-header .btn-outline { color: var(--white); border-color: rgba(255,255,255,0.7); }
.site-header.scrolled .btn-outline { color: var(--ink); border-color: var(--ink); }
.site-header .btn-outline:hover { background: var(--white); color: var(--ink); }
.site-header.scrolled .btn-outline:hover { background: var(--ink); color: var(--white); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.burger span {
  width: 22px; height: 1px;
  background: var(--white);
  transition: background 0.35s ease;
}
.site-header.scrolled .burger span { background: var(--ink); }

/* Hero */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.25) 45%, rgba(0,0,0,0.6) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 0 24px;
}
.hero .eyebrow {
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(34px, 5.4vw, 66px);
  font-style: normal;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 34px;
  font-weight: 400;
}
/* Intro / Service */
.intro { padding: 120px 0 100px; text-align: center; }
.intro h2 { font-size: clamp(26px, 3.4vw, 40px); margin-top: 4px; }
.intro > .container.narrow + .container.narrow { margin-top: 90px; }

.reasons-list {
  margin-top: 36px;
  list-style: none;
  text-align: left;
}
.reasons-list li {
  font-size: 15.5px;
  line-height: 1.9;
  color: var(--ink-soft);
  text-align: justify;
  text-align-last: left;
}
.reasons-list li strong {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--ink);
}
.reasons-list li::before {
  content: '✓';
  display: inline-block;
  color: var(--gold);
  margin-right: 8px;
  font-weight: 600;
}

/* Split block */
.split-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--white);
}
.split-media { min-height: 560px; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-text {
  padding: 90px 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.split-text h2 { font-size: clamp(24px, 2.8vw, 34px); margin-bottom: 26px; }
.steps-text p {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  text-align: justify;
  text-align-last: left;
  margin-bottom: 14px;
}
.steps-text p:last-child { margin-bottom: 0; }
.steps-text strong {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--ink);
}

/* Methodologie */
.methodologie {
  background: var(--ink-dark);
  color: var(--white);
  padding: 120px 0;
}
.methodologie h2 { color: var(--white); font-size: clamp(26px, 3.4vw, 40px); }

.method-grid {
  margin-top: 70px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1px;
}
.method-card {
  background: var(--ink-dark);
  padding: 40px 32px;
  flex: 0 0 calc(25% - 0.75px);
  box-sizing: border-box;
}
.method-index {
  font-family: var(--serif);
  font-style: italic;
  font-size: 26px;
  color: var(--gold);
  display: block;
  margin-bottom: 18px;
}
.method-card h3 {
  color: var(--white);
  font-size: 19px;
  margin-bottom: 16px;
}
.method-card ul { list-style: none; }
.method-card li {
  font-size: 13.5px;
  color: rgba(255,255,255,0.65);
  padding-left: 16px;
  position: relative;
  margin-bottom: 10px;
  text-align: justify;
  text-align-last: left;
}
.method-card li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 1px;
  background: var(--gold);
}

/* Founders */
.founders { padding: 120px 0; text-align: center; }
.founders h2 { font-size: clamp(26px, 3.4vw, 40px); }
.founders-grid {
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}
.founder { text-align: left; }
.founder-photo {
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
  margin-bottom: 26px;
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder h3 { font-size: 22px; margin-bottom: 4px; }
.founder-role {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.founder p:last-child {
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.75;
  text-align: justify;
  text-align-last: left;
}

/* CTA band */
.cta-band {
  position: relative;
  padding: 150px 24px;
  text-align: center;
  overflow: hidden;
}
.cta-band-plain { background: var(--ink-dark); padding: 120px 24px; }
.cta-media { position: absolute; inset: 0; }
.cta-media img { width: 100%; height: 100%; object-fit: cover; }
.cta-overlay { position: absolute; inset: 0; background: rgba(15, 14, 12, 0.72); }
.cta-content { position: relative; z-index: 2; color: var(--white); max-width: 560px; margin: 0 auto; }
.cta-content h2 { color: var(--white); font-size: clamp(28px, 4vw, 44px); font-style: italic; font-weight: 400; margin: 6px 0 20px; }

.signup-form {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.signup-form input {
  flex: 1 1 200px;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  color: var(--white);
  padding: 12px 4px;
  font-family: var(--sans);
  font-size: 14px;
}
.signup-form input::placeholder, .signup-form textarea::placeholder { color: rgba(255,255,255,0.55); }
.signup-form input:focus, .signup-form textarea:focus { outline: none; border-color: var(--white); }
.signup-form textarea {
  flex: 1 1 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  color: var(--white);
  padding: 12px 4px;
  font-family: var(--sans);
  font-size: 14px;
  resize: vertical;
  min-height: 90px;
}
.signup-form .btn { flex: 1 1 100%; justify-content: center; margin-top: 14px; cursor: pointer; background: transparent; }
.form-note { margin-top: 16px; font-size: 13px; color: #d9cba3; min-height: 18px; }
.confirm-send-btn {
  display: inline-flex;
  margin-top: 16px;
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
  font-weight: 500;
  animation: confirm-pulse 1.6s ease-in-out infinite;
}
.confirm-send-btn:hover { background: transparent; color: var(--gold); }
@keyframes confirm-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(169, 138, 84, 0.55); }
  50% { box-shadow: 0 0 0 8px rgba(169, 138, 84, 0); }
}

/* Footer */
.site-footer { background: var(--white); padding: 80px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--line);
}
.footer-logo { height: 70px; width: auto; }
.footer-col h4 {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  font-weight: 500;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col a, .footer-col span { font-size: 14px; color: var(--ink-soft); }
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding: 26px 32px;
  font-size: 12px;
  color: var(--ink-soft);
  flex-wrap: wrap;
  gap: 10px;
}
.footer-legal a { margin: 0 4px; }
.footer-legal a:hover { text-decoration: underline; }

/* Legal / secondary pages */
.page-header {
  padding: 160px 0 60px;
  text-align: center;
  background: var(--cream-dark);
}
.page-header .kicker { justify-content: center; }
.page-header h1 {
  font-size: clamp(30px, 4vw, 46px);
  font-style: italic;
  font-weight: 400;
}
.page-header .breadcrumb {
  display: inline-block;
  margin-top: 18px;
  font-size: 13px;
  color: var(--ink-soft);
}
.page-header .breadcrumb a { color: var(--gold); }
.page-header .breadcrumb a:hover { text-decoration: underline; }

.legal-content {
  padding: 80px 0 120px;
  max-width: 780px;
  margin: 0 auto;
}
.legal-content h2 {
  font-size: 22px;
  margin: 48px 0 16px;
  padding-top: 4px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li {
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.legal-content ul { padding-left: 20px; }
.legal-content .justified p:not(.placeholder-block):not(.updated-note),
.legal-content .justified li {
  text-align: justify;
  text-align-last: left;
}
.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 8px;
  font-size: 14.5px;
}
.legal-content th, .legal-content td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}
.legal-content th {
  font-family: var(--sans);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 12px;
}
.legal-content .updated-note {
  font-size: 13px;
  color: var(--ink-soft);
  font-style: italic;
  margin-top: -6px;
  margin-bottom: 40px;
}

.placeholder {
  display: block;
  background: rgba(169, 138, 84, 0.09);
  border: 1px dashed var(--gold);
  border-radius: 2px;
  padding: 2px 8px;
  color: var(--gold);
  font-style: italic;
  font-size: 0.95em;
}
.placeholder-block {
  background: rgba(169, 138, 84, 0.08);
  border: 1px dashed var(--gold);
  padding: 18px 20px;
  margin: 14px 0 24px;
  font-style: italic;
  color: var(--gold);
  font-size: 14.5px;
}
.placeholder-flag {
  display: inline-block;
  font-family: var(--sans);
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--white);
  padding: 3px 8px;
  border-radius: 2px;
  margin-bottom: 10px;
}

/* PDF viewer */
.pdf-section {
  padding: 60px 0 120px;
}
.pdf-section .updated-note {
  font-size: 13px;
  color: var(--ink-soft);
  font-style: italic;
  margin-bottom: 30px;
}
.pdf-viewer {
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 12px 40px rgba(27, 26, 23, 0.08);
  overflow: hidden;
}
.pdf-viewer .pdf-page {
  display: block;
  width: 100%;
  height: auto;
}
.pdf-viewer .pdf-page + .pdf-page { border-top: 1px solid var(--line); }
.pdf-loading {
  padding: 100px 20px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 14px;
}
.pdf-actions {
  max-width: 900px;
  margin: 24px auto 0;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Espace client */
.client-section {
  padding: 160px 0 120px;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream-dark);
}
.client-card {
  background: var(--white);
  max-width: 420px;
  width: 100%;
  padding: 56px 48px;
  text-align: center;
  border: 1px solid var(--line);
}
.client-card h1 {
  font-size: 28px;
  font-style: italic;
  font-weight: 400;
  margin-bottom: 10px;
}
.client-card p.lead { font-size: 14.5px; margin-bottom: 32px; }
.client-form { display: flex; flex-direction: column; gap: 18px; text-align: left; }
.client-form label {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 6px;
  display: block;
}
.client-form input {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 10px 2px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
}
.client-form input:focus { outline: none; border-color: var(--ink); }
.client-form .btn {
  margin-top: 10px;
  justify-content: center;
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
  cursor: pointer;
}
.client-form .btn:hover { background: transparent; color: var(--ink); }
.client-card .client-note {
  margin-top: 26px;
  font-size: 12.5px;
  color: var(--ink-soft);
}

/* Responsive */
@media (max-width: 980px) {
  .main-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: var(--cream);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    padding: 0 40px;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    z-index: 99;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { color: var(--ink); font-size: 15px; }
  .burger { display: flex; z-index: 101; }
  .burger span { background: var(--white); }
  .site-header.scrolled .burger span,
  .main-nav.open ~ .header-actions .burger span { background: var(--ink); }
  .split-block { grid-template-columns: 1fr; }
  .split-media { min-height: 360px; order: -1; }
  .split-text { padding: 60px 32px; }
  .method-card { flex-basis: calc(50% - 0.5px); }
  .founders-grid { grid-template-columns: 1fr; max-width: 420px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 560px) {
  .method-card { flex-basis: 100%; }
  .header-actions .btn-small { display: none; }
}
