/* ─────────────────────────────────────────
   COMPTEJUSTE — Theme
   Accounting firm for independent workers
   Palette: Forest Green / Warm Amber / Cream
   Fonts: Fraunces (display serif) + Plus Jakarta Sans
───────────────────────────────────────── */

:root {
  --bg:        #faf8f3;
  --bg-alt:    #f0ede5;
  --green:     #1c3d2e;
  --green-lt:  #2d5a42;
  --amber:     #c9811a;
  --amber-lt:  #f0c060;
  --ink:       #1a1a18;
  --ink-muted: #5c5c52;
  --rule:      #d8d4c8;
  --card-bg:   #ffffff;
}

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

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
.nav {
  padding: 20px 40px;
  border-bottom: 1px solid var(--rule);
  background: var(--bg);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}
.nav-logo {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--green);
  letter-spacing: -0.02em;
}
.nav-tagline {
  font-size: 13px;
  color: var(--ink-muted);
  font-weight: 400;
  padding-left: 16px;
  border-left: 1px solid var(--rule);
}
.nav-links {
  margin-left: auto;
}
.nav-cta {
  background: var(--green);
  color: var(--bg);
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s;
}
.nav-cta:hover { background: var(--green-lt); }

/* ── HERO ── */
.hero {
  padding: 80px 40px 60px;
  background: var(--bg);
}
.hero-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--amber);
  font-weight: 600;
  margin-bottom: 20px;
}
.hero-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  color: var(--green);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero-lede {
  font-size: 18px;
  color: var(--ink-muted);
  line-height: 1.65;
  max-width: 480px;
}
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hero-number-block {
  background: var(--green);
  color: var(--bg);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
}
.hero-number-block::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.hero-big-text {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 72px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--amber-lt);
  margin-bottom: 12px;
}
.hero-sub-text {
  font-size: 13px;
  color: rgba(250,248,243,0.75);
  line-height: 1.5;
  display: block;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag {
  background: var(--bg-alt);
  border: 1px solid var(--rule);
  color: var(--ink-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
}
.hero-rule {
  max-width: 1100px;
  margin: 60px auto 0;
  height: 1px;
  background: var(--rule);
}

/* ── SECTION SHARED ── */
.section-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--amber);
  font-weight: 600;
  margin-bottom: 16px;
}
.section-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  color: var(--green);
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 680px;
}

/* ── OFFRE ── */
.offre {
  padding: 80px 40px;
  background: var(--bg-alt);
}
.offre .section-title {
  max-width: none;
  margin-bottom: 48px;
}
.offre-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.offre-card {
  background: var(--card-bg);
  padding: 40px 36px;
}
.offre-icon {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 28px;
  color: var(--green);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1;
}
.offre-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.offre-card p {
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.65;
}

/* ── POURQUOI ── */
.pourquoi {
  padding: 80px 40px;
  background: var(--green);
  color: var(--bg);
}
.pourquoi-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.pourquoi-text .section-label {
  color: var(--amber-lt);
}
.pourquoi-text h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  color: var(--bg);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.pourquoi-text p {
  font-size: 16px;
  color: rgba(250,248,243,0.8);
  line-height: 1.7;
  margin-bottom: 16px;
}
.pourquoi-facts {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 8px;
}
.fact-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.fact-number {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 36px;
  color: var(--amber-lt);
  line-height: 1;
  flex-shrink: 0;
  width: 48px;
}
.fact-row strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--bg);
  margin-bottom: 6px;
}
.fact-row p {
  font-size: 14px;
  color: rgba(250,248,243,0.7);
  margin: 0;
  line-height: 1.5;
}

/* ── PROTOCOLE ── */
.protocole {
  padding: 80px 40px;
  background: var(--bg);
}
.protocole .section-title {
  margin-bottom: 56px;
}
.protocole-steps {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.step {
  flex: 1;
}
.step-num {
  display: block;
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 56px;
  color: var(--rule);
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: -0.04em;
}
.step h3 {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.step p {
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.65;
}
.step-connector {
  width: 60px;
  height: 1px;
  background: var(--rule);
  margin-top: 28px;
  flex-shrink: 0;
  align-self: center;
}

/* ── CLOSING ── */
.closing {
  padding: 100px 40px;
  background: var(--bg-alt);
  border-top: 1px solid var(--rule);
}
.closing-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.closing-quote {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: clamp(24px, 3.5vw, 38px);
  color: var(--green);
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.closing-sub {
  font-size: 17px;
  color: var(--ink-muted);
  line-height: 1.7;
}

/* ── FOOTER ── */
.footer {
  padding: 40px 40px;
  background: var(--green);
  color: var(--bg);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}
.footer-logo {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--amber-lt);
  display: block;
  margin-bottom: 8px;
}
.footer-brand p {
  font-size: 14px;
  color: rgba(250,248,243,0.7);
  line-height: 1.6;
}
.footer-reg p {
  font-size: 12px;
  color: rgba(250,248,243,0.5);
  text-align: right;
  line-height: 1.5;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav { padding: 16px 24px; }
  .hero { padding: 48px 24px 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-headline { font-size: 38px; }
  .offre { padding: 56px 24px; }
  .offre-grid { grid-template-columns: 1fr; }
  .pourquoi { padding: 56px 24px; }
  .pourquoi-inner { grid-template-columns: 1fr; gap: 48px; }
  .protocole { padding: 56px 24px; }
  .protocole-steps { flex-direction: column; gap: 40px; }
  .step-connector { width: 40px; height: 1px; margin: 0; }
  .closing { padding: 64px 24px; }
  .footer { padding: 32px 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-reg p { text-align: left; }
}
@media (max-width: 480px) {
  .nav-tagline { display: none; }
  .hero-big-text { font-size: 56px; }
  .offre-card { padding: 28px 24px; }
}